The post title
This is the body of the post.
This is the body of the post.
Nice:
11. Bonus
Most readable fizzbuzz version you’ll ever see:
"#{if i%3 is 0 then 'fizz' else ''}#{if i%5 is 0 then 'buzz' else ''}" or i for i in [1..100]
If only this was available in Mono / Unity:
Consider the following c# code, which downloads my Foursquare profile:
WebClient webClient = new WebClient(); dynamic result = JsonValue.Parse(webClient.DownloadString("https://api.foursquare.com/v2/users/self?oauth_token=XXXXXXX")); Console.WriteLine(result.response.user.firstName);
Awesome quote:
The Hole Hawg is dangerous because it does exactly what you tell it to. It is not bound by the physical limitations that are inherent in a cheap drill, and neither is it limited by safety interlocks that might be built into a homeowner’s product by a liability-conscious manufacturer. The danger lies not in the machine itself but in the user’s failure to envision the full consequences of the instructions he gives to it.
A smaller tool is dangerous too, but for a completely different reason: it tries to do what you tell it to, and fails in some way that is unpredictable and almost always undesirable. But the Hole Hawg is like the genie of the ancient fairy tales, who carries out his master’s instructions literally and precisely and with unlimited power, often with disastrous, unforeseen consequences.
Interesting review of Google’s recruiting process:
I’m not posting the full reply, but essentially he..
- Asked me to rate my skills in a list of 14 programming languages.
- Asked me to point my fields of expertise from a list of 30 skills.
I do code a lot of Ruby, serious JavaScript and CSS, but I replied marking everything as “I’m a product designer”, hoping they would ask about that.
Interesting war story from one indie developer looking into how to combat piracy of his apps:
I won’t go into the technical details of how I measured the number of pirated apps in use, but after a two month period I can say with high confidence that 83% of my users were running one of my apps with a fake serial number. Let that sink in.