Matthew Read

Ontario, Canada

Age: 27

I'm a Software Engineering graduate of the University of Waterloo, currently working at BlackBerry on the BlackBerry 10 Simulator.

StackOverflow Careers * LinkedIn

7h
comment Disable or lock Google Play on my android phone
Please don't use URL shorteners here. As well, if the link goes down this answer is useless -- please summarize the relevant information in your answer.
7h
revised Disable or lock Google Play on my android phone
added 58 characters in body
7h
comment Can we have the name of a person who has upvoted or downvoted
Lack of anonymity enables bullying and crusades. Hunting someone down and interrogating them over a button click is something a lot worse than "cowardly".
16h
awarded Enlightened
17h
awarded Nice Answer
18h
awarded Yearling
19h
awarded Yearling
20h
awarded Critic
20h
comment Improved pointer handle
It appears that some of your code has lost its indentation.
20h
comment Testing for "bouncy" numbers
@dotancohen The only thing being accomplished is counting "bouncy" and "patterned" numbers; I think you'll find my second example does that very clearly. If the intent is to do something other than that, then the magic numbers and separation might make sense, but the code would be wrong. As-is, the code is tracking things that it doesn't use and needlessly separating things that get the same treatment.
21h
revised Testing for "bouncy" numbers
reversing statements to match (and reduce average # of comparisons, not that it's likely to matter for performance)
21h
revised Testing for "bouncy" numbers
explaining rather than just showing
21h
awarded Editor
21h
awarded Teacher
21h
revised Testing for "bouncy" numbers
added 430 characters in body
21h
answered Testing for "bouncy" numbers
21h
awarded Citizen Patrol
22h
awarded Supporter
22h
awarded Supporter
22h
comment Interplanetary commerce: how do you compare currencies?
How would 2 almost separate economies decide on a fair exchange rate? They wouldn't, and if they did then the banks/citizens would not honor it. People with no ability to use a currency do not want that currency. There would need to be a more substantial amount of trade; "almost separate" might as well be separate. The rare visitor would need to bring goods/services with him to sell/barter in order to obtain any local goods/services.
1 2 3 4 5