February 2012
1 post
December 2011
9 posts
November 2011
3 posts
February 2011
1 post
Apple's Three Laws of Developers
yourhead:
A developer may not injure Apple or, through inaction, allow Apple to come to harm.
A developer must obey any orders given to it by Apple, except where such orders would conflict with the First Law.
A developer must protect its own existence as long as such protection does not conflict with the First or Second Law.
— I. Developer
January 2011
1 post
September 2010
2 posts
Doy.
July 2010
3 posts
4 tags
June 2010
2 posts
There seems to be a kind of person who, after waiting in line for 5 hours at the Apple store needs to slowly walk from the beginning of the line to the end, video taping everyones face as they notice some smug asshole pointing an iPhone 4 at them. (full disclosure: I am currently in line.)
2 tags
EAGLE FLIES WITH THE DOVE: Liveblogging special... →
7:44 Oh no she has actually dropped this cake into a deep pot of grease. She is deep frying an 8” round cake. This will get America attacked again.
May 2010
3 posts
Visualizing System Latency →
maraby:
at ACM Queue
1 tag
April 2010
15 posts
2 tags
SSD on MacBook w/ MacOS X 10.6 Snow Leopard
mount with noatime, disable hibernation, use a ramdisk: instructions
Disable sudden motion sensor: instructions
System Preferences > Energy Saver > Uncheck “Put the hard disk to sleep when possible”
Mounting with noatime can speed up unit tests on conventional spinning disks, too. Be careful if you use something like tmpreaper or mutt, since these rely on up-to-date atimes.
...
3 tags
3 tags
1 tag
Beetle →
maraby:
High Availability AMQP Messaging with Redundant Queues
4 tags
Use RVM to fix Mac OS X 10.6.3's Ruby 1.8.7-p173...
Install RVM:
add rvm_make_flags=”-j 3” to your .rvmrc
mkdir -p ~/.rvm/src/ && cd ~/.rvm/src && rm -rf ./rvm/ && git clone —depth 1 git://github.com/wayneeseguin/rvm.git && cd rvm && ./install
close/open terminal
Install ruby 1.8.7
rvm install ruby-1.8.7
Make it your default
rvm —default 1.8.7
You will have to reinstall all of...
7 tags
Ruby on Mac OS X: openssl_missing.h:119: error:...
This has something to do with slightly stricter type checking in a new version of GCC or somesuch. I forget where I heard about that.
comment out these two lines in ruby-1.8.6-p111/ext/openssl/openssl_missing.h
120: // int BN_rand_range(BIGNUM *r, BIGNUM *range);
121: // int BN_pseudo_rand_range(BIGNUM *r, BIGNUM *range);
And then try rvm install ruby-1.8.6-p111 again
Best Writing Advice for Engineers I've Ever Seen.... →
maraby:
OK, that’s a bit extreme, and I don’t necessarily agree with it. BUT, it is really, really good advice.
3 tags
Trouble installing proj4rb on Mac OS X 10.6 (Snow...
If it fails with a confusing error message, try compiling it as 64-bit:
env ARCHFLAGS="-arch x86_64" gem install proj4rb
4 tags
OSX 10.6.3 installs new Ruby with faulty... →
If you’ve already installed 10.6.3 and you do math in Ruby, try rvm.
February 2010
2 posts
Obesity is the number-one killer in developed countries. In this TED Talk, Jamie Oliver shares practical, inexpensive solutions to combat obesity that he developed while working in W. Virginia.
2 tags
January 2010
3 posts
2 tags
POST form parameters with HTTParty
Do You want to POST form parameters with HTTParty? use the :body key in the options hash:
options = { :body => { :name => “Sam” }, :query => { :url_api_key => 123456 } }
Foo.class.post(“/your/url/here”, options)
2 tags
Grep/Search Git Repository History
Searches every revision for the search term:
git log -g -Ssearch_for_this
2 tags
…I suspect that in 5-10 years, photography will largely involve pointing...
– Kottke, Moving photography
December 2009
19 posts
3 tags
2 tags
3 tags
There are three questions you have when you’re hiring a programmer (or anyone,...
– How I Hire Programmers by Aaron Swartz