January 2009
40 posts
2 tags
tip: shell
tset and reset will (re)initialize terminall settings, including columns, lines, etc.
Jan 30th
2 tags
tip: macosx
boxee will take control of apple remote by default, but settings->hardware and system will modify this
Jan 30th
Jan 29th
“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
Jan 29th
“Today we’re starting to roll out an experimental feature in Gmail Labs...”
– Official Gmail Blog: New in Labs: Offline Gmail
Jan 28th
2 tags
tip: shell
use ls -e to see access control lists (ACLs) and chmod -N to remove them
Jan 28th
2 tags
tip: bash
to prevent shell history from being saved to .bash_history, unset HISTFILE before logging out
Jan 28th
“what appears to be authentic posts to the thread by a number of ex-Googlers”
– Why Google Employees Quit
Jan 28th
Jan 28th
Jan 22nd
1 note
2 tags
tip: firefox
to manage profiles in firefox, use the —profilemanager switch from the command line
Jan 22nd
“tweetnews.appspot.com “boosts Yahoo’s freshest news search results …...”
– Twitter + BOSS = Real Time Search « zooie’s blog
Jan 21st
Photosynth from the Inaugural Stands on MSNBC |... →
reconstruction of inauguration from first-hand photographs
Jan 21st
Analyzing Obama’s Inaugural Speech - Interactive... →
Jan 21st
Jan 21st
Jan 21st
2 tags
tip: python
to force print to display to stdout now, use sys.stdout.flush()
Jan 20th
2 tags
tip: python
to print without a newline or space, use sys.stdout.write()
Jan 20th
Jan 18th
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.)
Jan 13th
Runnin' With The Songsmith | MeFi Music →
david lee roth’s + songsmith = amazing.
Jan 13th
“Diaconis himself has trained his thumb to flip a coin and make it come up heads...”
– Lifelong debunker takes on arbiter of neutral choices
Jan 13th
2 tags
tip: python
another test for NaN: type(x) is float and x != x
Jan 12th
2 tags
tip: python
to check if a float is not-a-number (NaN) use float(x) == “nan”
Jan 12th
“On slide 9 he quotes a Fortune 500 CEO who said that “Search on the Internet is...”
– Google and Search Relevance « NP-Harder
Jan 12th
“Free online tool that matches people going the same way at the same time”
– Ride Amigos — Save up to 75% on cab fare.
Jan 12th
Jan 11th
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
Jan 11th
Jan 9th
Jan 8th
2 tags
tip: python
when looping over a large array, use the iterator xrange instead of range to save memory
Jan 8th
2 tags
tip: python
to print without a newline add a comma, e.g., print x,
Jan 8th
Bacon - Nuff' Said... →
from kevin to chocolate-covered to bras
Jan 8th
2 tags
tip: python
in ipython, use %run to run a script and load data into an interactive namespace
Jan 8th
2 tags
tip: python
in ipython, type object_name? to get information about that object
Jan 8th
2 tags
tip: firefox
to change the default handler for rss feeds, change web feeds in application preferences
Jan 7th
2 tags
tip: windows
to turn off automatic login, start->run, type control userpasswords2, click ok
Jan 6th
2 tags
tip: python
beautifulsoup does not like empty attributes, such as td nowrap, which produces a TypeError; remove empty attributes to avoid this
Jan 5th
“Look around anywhere in the world and you’ll find lecture halls filled...”
– EDUCATION: Farewell, Lecture? — Mazur 323 (5910): 50 — Science
Jan 5th
2 tags
tip: python
to read delimited files in numpy, use loadtxt/savetxt
Jan 3rd