Monkey-patching a sample() method in Rails
It’s useful while debugging to choose a random sample. Thus you can include something like this in application.rb or an initializer.
It’s useful while debugging to choose a random sample. Thus you can include something like this in application.rb or an initializer.
Google announced a slew of identity and social updates today, most excitingly, the ability to browse users’ social paths. This happens after similar services recently blocking some folks from doing so, which tells you Google gave it due consideration and...
Google Glass rolls out later this year. The commonly discussed applications have focused on receiving timely notifications and recording video from first-person, but in the hands of developers, many more ideas will emerge. One possibility I haven’t encountered is surrogates....
Disclaimer: Largely waffle.
I’ve come to love significant whitespace since using it in CoffeeScript. (I’d dismissed it due to generally not getting on with Python, but really that’s for other reasons.) By eliminating the need for { }, code is more to the...