January 2011
26 posts
2 tags
tip: python
use coo_matrix as scipy substitute for matlab’s accumarray, e.g. for confusion matrices http://bit.ly/fZZwQ0
2 tags
tip: shell
use newgrp to change the default group under which new files are created http://bit.ly/fGtlMl
2 tags
tip: php
big-o notation for various php operations http://bit.ly/eEk34O
It’s not going to replace your database, but your database isn’t likely to...
– What Factors Justify the Use of Apache Hadoop? – tecosystems
2 tags
tip: hadoop
use -inputformat WholeFileInputFormat to process full files as records http://bit.ly/dHFWBm
Graham's number →
bestofwikipedia:
Graham’s number is unimaginably larger than other well-known large numbers such as a googol, googolplex, and even larger than Skewes’ number and Moser’s number. Indeed, the observable universe is far too small to contain an ordinary digital representation of Graham’s number, assuming that each digit occupies at least one Planck volume. (via Rob Strong)
2 tags
tip: javascript
compute set differences using filter and indexOf A.filter(function(x) { return B.indexOf(x)
2 tags
tip: javascript
compute set differences using filter and indexOf A.filter(function(x) { return B.indexOf(x)
So for the next couple years, a good recipe for startups will be to look around...
– Tablets
The Geomblog: The 5+5 Commandments of a Ph.D. →
Here’s our pragmatic view of the conditions that need to be met for a Ph.D. to make sense
2 tags
tip: macosx
edit SearchViewSettings in com.apple.finder.plist to enable view/sort by size in spotlight http://bit.ly/gJRFVS
2 tags
tip: macosx
to remove incorrect autosuggest in mail.app, edit “previous receipients” from the window menu
Fair warning: we’re about to objectify women, big-time.
– The Mathematics Of Beauty « OkTrends
2 tags
tip: rstats
use expand.grid to create a dataframe w/ all combinations of given vectors and factors http://bit.ly/dOeFUV
She holds all the world records for her sport, wins many of her races by half an...
– Chrissie Wellington interview: The iron lady | Sport | The Observer
The best climbers do not suffer less … they just suffer faster
– Bike Rides: Toughest Stretches Of Road In The US - bicycling.com
2 tags
tip: latex
use \usebackgroundtemplate{\includegraphics{…}} to incorporate full screen image slides in beamer http://bit.ly/efZkLw
2 tags
tip: shell
use command > >(tee stdout.log) 2> >(tee stderr.log >&2) send copies of stdout and stderr to log files http://bit.ly/gtMXog
During one 30 hour period around December 18th, Pinboard received over 7 million...
– An interview with Maciej Ceglowski of Pinboard « Thuktun (Message)
Grumpy old geeks never write code they don’t have to.
– Old Geeks Never Die, They Just Get Grumpier | blog@CACM | Communications of the ACM