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
Jan 27th
2 tags
tip: shell
use newgrp to change the default group under which new files are created http://bit.ly/fGtlMl
Jan 27th
2 tags
tip: php
big-o notation for various php operations http://bit.ly/eEk34O
Jan 25th
6 notes
Jan 21st
3 notes
“It’s not going to replace your database, but your database isn’t likely to...”
– What Factors Justify the Use of Apache Hadoop? – tecosystems
Jan 17th
Jan 17th
2 tags
tip: hadoop
use -inputformat WholeFileInputFormat to process full files as records http://bit.ly/dHFWBm
Jan 15th
3 notes
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)
Jan 13th
37 notes
2 tags
tip: javascript
compute set differences using filter and indexOf A.filter(function(x) { return B.indexOf(x)
Jan 13th
2 tags
tip: javascript
compute set differences using filter and indexOf A.filter(function(x) { return B.indexOf(x)
Jan 13th
“So for the next couple years, a good recipe for startups will be to look around...”
– Tablets
Jan 13th
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
Jan 12th
1 note
2 tags
tip: macosx
edit SearchViewSettings in com.apple.finder.plist to enable view/sort by size in spotlight http://bit.ly/gJRFVS
Jan 12th
2 tags
tip: macosx
to remove incorrect autosuggest in mail.app, edit “previous receipients” from the window menu
Jan 11th
“Fair warning: we’re about to objectify women, big-time.”
– The Mathematics Of Beauty « OkTrends
Jan 11th
1 note
2 tags
tip: rstats
use expand.grid to create a dataframe w/ all combinations of given vectors and factors http://bit.ly/dOeFUV
Jan 11th
“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
Jan 7th
“The best climbers do not suffer less … they just suffer faster”
– Bike Rides: Toughest Stretches Of Road In The US - bicycling.com
Jan 7th
Jan 6th
2 tags
tip: latex
use \usebackgroundtemplate{\includegraphics{…}} to incorporate full screen image slides in beamer http://bit.ly/efZkLw
Jan 5th
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
Jan 4th
“During one 30 hour period around December 18th, Pinboard received over 7 million...”
– An interview with Maciej Ceglowski of Pinboard « Thuktun (Message)
Jan 4th
Jan 3rd
“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
Jan 3rd
Jan 3rd
Jan 1st