January 2009
40 posts
2 tags
tip: shell
tset and reset will (re)initialize terminall settings, including columns, lines, etc.
2 tags
tip: macosx
boxee will take control of apple remote by default, but settings->hardware and system will modify this
As for Kennedy’s 1961 rhetorical triumph, his chief speechwriter, Ted...
– Jonathan Raban: How did Obama’s inaugural speech shape up? | World news | The Guardian
Today we’re starting to roll out an experimental feature in Gmail Labs...
– Official Gmail Blog: New in Labs: Offline Gmail
2 tags
tip: shell
use ls -e to see access control lists (ACLs) and chmod -N to remove them
2 tags
tip: bash
to prevent shell history from being saved to .bash_history, unset HISTFILE before logging out
what appears to be authentic posts to the thread by a number of ex-Googlers
– Why Google Employees Quit
2 tags
tip: firefox
to manage profiles in firefox, use the —profilemanager switch from the command line
tweetnews.appspot.com “boosts Yahoo’s freshest news search results …...
– Twitter + BOSS = Real Time Search « zooie’s blog
Photosynth from the Inaugural Stands on MSNBC |... →
reconstruction of inauguration from first-hand photographs
Analyzing Obama’s Inaugural Speech - Interactive... →
2 tags
tip: python
to force print to display to stdout now, use sys.stdout.flush()
2 tags
tip: python
to print without a newline or space, use sys.stdout.write()
Ubuntu and Its Leader Set Sights on the Mainstream... →
“Try as they might, however, Linux zealots have failed in their quest to make Linux mainstream on desktop and notebook computers. The often quirky software remains in the realm of geeks, not grandmothers.” — with the notable exception of my grandma who does, indeed, use ubuntu. (okay, xubuntu, to be honest.)
Runnin' With The Songsmith | MeFi Music →
david lee roth’s + songsmith = amazing.
Diaconis himself has trained his thumb to flip a coin and make it come up heads...
– Lifelong debunker takes on arbiter of neutral choices
2 tags
tip: python
another test for NaN: type(x) is float and x != x
2 tags
tip: python
to check if a float is not-a-number (NaN) use float(x) == “nan”
On slide 9 he quotes a Fortune 500 CEO who said that “Search on the Internet is...
– Google and Search Relevance « NP-Harder
Free online tool that matches people going the same way at the same time
– Ride Amigos — Save up to 75% on cab fare.
2 tags
tip: shell
use */ in a crontab to specify a repeating range, e.g. */5 * * * * /path/to/script to run a script every 5 minutes
2 tags
tip: python
when looping over a large array, use the iterator xrange instead of range to save memory
2 tags
tip: python
to print without a newline add a comma, e.g., print x,
Bacon - Nuff' Said... →
from kevin to chocolate-covered to bras
2 tags
tip: python
in ipython, use %run to run a script and load data into an interactive namespace
2 tags
tip: python
in ipython, type object_name? to get information about that object
2 tags
tip: firefox
to change the default handler for rss feeds, change web feeds in application preferences
2 tags
tip: windows
to turn off automatic login, start->run, type control userpasswords2, click ok
2 tags
tip: python
beautifulsoup does not like empty attributes, such as td nowrap, which produces a TypeError; remove empty attributes to avoid this
Look around anywhere in the world and you’ll find lecture halls filled...
– EDUCATION: Farewell, Lecture? — Mazur 323 (5910): 50 — Science
2 tags
tip: python
to read delimited files in numpy, use loadtxt/savetxt