July 2010
4 posts
“XML is like violence — if it doesn’t solve your problems, you are not using...”
– http://nokogiri.org/
Jul 28th
32GB Vertex Raid0 vs 60GB Vertex2 Raid0
Yes they are faster. Yes I can “feel” a difference. To be frank, things were stupid fast before, now it’s just ridiculous. claire:~# echo 3 > /proc/sys/vm/drop_caches ;time dd of=/dev/null if=/var/lib/mysql/ibdata1 count=2000 bs=512k 2000+0 records in 2000+0 records out 1048576000 bytes (1.0 GB) copied, 2.05422 s, 510 MB/s real 0m2.063s user 0m0.001s sys ...
Jul 21st
eats →
Jul 20th
precision in statistics →
Jul 20th
June 2010
1 post
“I wonder what memcached is up to…” ngrep -W none -T -d any "^(get|set|delete|END|STORED|VALUE|DELETED)" port 11211 | awk '{print $1 " " $2}' “Thanks ngrep!”
Jun 22nd
May 2010
4 posts
That old copier still holds a picture of your... →
May 19th
Chromium in Debian Unstable/Testing
If you’re unsatisfied with how fast your current browser eats up all your memory, you should probably be running Mr. Leaky himself, chromium-browser. Luckily, he’s fast enough to make us forget about all that wasted memory. But what about profiles and storing our cache in ram? Read on! First off, let’s install this bad boy: echo "" >> /etc/apt/sources.list echo...
May 18th
“When you don’t create things, you become defined by your tastes rather than...”
–  Why the Lucky Stiff
May 16th
Installing redshift with vidmode enabled in debian
Why? Cause the packages in testing don’t have vidmode enabled by default. (You only care about this if you don’t have RandR support.) No, really, why? Cause I want to stop going to bed so late. I’d also prefer not to die from cancer. Maybe this will help… apt-get source gtk-redshift cd redshift-1.2/ dpkg-buildpackage -rfakeroot -uc -b cd .. dpkg -i...
May 7th
Pot, meet kettle: a response to Steve Jobs' letter... →
May 1st
April 2010
3 posts
The Last Psychiatrist: Why Is There So Much... →
Apr 28th
Auto-appendectomy in the Antarctic: case report --... →
Apr 10th
March 2010
3 posts
Administrative Debris →
Mar 30th
PaNu - PāNu Blog - “Cardio” Causes Heart Disease. →
Mar 24th
Canadians Also Win Gold For Synchronized Peeing... →
Mar 9th
February 2010
3 posts
WatchWatch
Feb 12th
Feb 12th
227 notes
Rise in solar activity all but certain to mess... →
Feb 10th
January 2010
2 posts
“The life of a designer is a life of fight. Fight against the ugliness. Just like...”
– Massimo Vignelli - Helvetica
Jan 26th
Offline book lending costing us bazillions... →
Jan 20th
December 2009
9 posts
The meaning of open →
Dec 24th
Dec 23rd
Rails STI
I recently started using Single Table Inheritance in a Rails project. It works pretty well for the most part, until you start trying to reference the type attribute in the parent class. >> o.type warning: Object#type is deprecated; use Object#class This will probably cause you all type of madness until you track it down. You can work around by calling o[‘type’] or o[:type]...
Dec 17th
The End of Chiropractic →
Dec 13th
Sprint fed customer GPS data to cops over 8... →
Dec 5th
Dec 2nd
Scientists Create Artificial Meat →
Dec 1st
djmount is cool
/me swoons # apt-get install djmount # djmount -o allow_other /mnt/upnp/ $ vlc /mnt/upnp/PlayOn (carmen)/Hulu/TV Episodes/A/Arrested Development/s1e02: Top Banana.mpg awesome!
Dec 1st
Dec 1st
November 2009
16 posts
Nov 23rd
Nov 20th
absolute beast →
Nov 19th
1 tag
irb/console not saving in ruby 1.8.7
In case you don’t read Japanese. Index: lib/irb/ext/save-history.rb =================================================================== --- lib/irb/ext/save-history.rb (revision 23644) +++ lib/irb/ext/save-history.rb (working copy) @@ -51,7 +51,7 @@ include Readline def HistorySavingAbility.create_finalizer - proc do + at_exit do if num = IRB.conf[:SAVE_HISTORY] and...
Nov 19th
Nov 18th
Nov 17th
Birds! →
Nov 16th
Nov 13th
Nov 13th
Nov 12th
ode to my wife
yum
Nov 12th
3 tags
Information Porn (aka I think I'm in love...) →
Beautiful charts and thorough analysis. Make sure you check out the gallery and the animations.
Nov 12th
Nov 11th
When you just can't take seeing another "kernel:...
and nothing else seems to work. You’ve already tried: http://ericmason.net/2008/09/amazon-ec2-and-4gb-seg-fixup/ http://groups.google.com/group/emm-ruby/browse_thread/thread/1b9beffe8fa694a7 etc… mv /usr/bin/gcc /usr/bin/gcc.orig mv /usr/bin/g++ /usr/bin/g++.orig echo '#!/bin/sh' > /usr/bin/gcc echo '#!/bin/sh' > /usr/bin/g++ echo 'exec gcc.orig -mno-tls-direct-seg-refs $@'...
Nov 11th
4 tags
Install Ubuntu Version of rdiff-backup on your...
Find the right version (rdiff-backup_1.2.7-1ubuntu2 in our case) wget http://archive.ubuntu.com/ubuntu/pool/universe/r/rdiff-backup/rdiff-backup_1.2.7-1ubuntu2.dsc wget http://archive.ubuntu.com/ubuntu/pool/universe/r/rdiff-backup/rdiff-backup_1.2.7.orig.tar.gz wget http://archive.ubuntu.com/ubuntu/pool/universe/r/rdiff-backup/rdiff-backup_1.2.7-1ubuntu2.diff.gz Unpack and patch unp...
Nov 11th
Nov 10th