January 2012
2 posts
My SOPA letter
We are against piracy, but the way the bill is written now is far too broad and would stifle innovation and freedom of speech across the internet. As far as we can see, no competent technical expertise was consulted when writing the bill, and because of that, if passed into law, it will be very likely used in broad and over-reaching ways. It is easy to pass laws restricting freedom, but...
Jan 19th
Jan 12th
December 2011
1 post
Dec 20th
October 2011
1 post
Dealing with cyrillic comments in your code with...
So you inherit some code from a russian predecessor who was coding in Windows. Predictably, the comments are in russian, and the encoding is CP-1251 (or koi-8, who knows). Here’s what you do: mkdir conv find . -type f -name '*.php' -exec bash -c 'iconv -f windows-1251 -t utf-8 "{}" > ./conv/"{}"' \; view gist then just copy the files from the new ./conv/ directory into their proper...
Oct 6th
September 2011
1 post
Sep 26th
August 2011
2 posts
“love is a spring at which crazy they drink who’ve climbed steeper than...”
– e. e. cummings - XXIII
Aug 13th
Easily Embarrassed – Tales Of The Coin Spinner →
New Easily Embarrassed album is out. Free download!
Aug 12th
June 2011
1 post
Jun 8th
91 notes
May 2011
1 post
Soundcloud -> iPhone app -> airplay speakers. This changes everything!
May 6th
March 2011
1 post
“Birds are Aves, which is part of the clade Theropoda, which is in Saurischia,...”
– xkcd: Herpetology
Mar 2nd
January 2011
1 post
Jan 18th
December 2010
2 posts
Dec 24th
zsh goodies, oh my →
Excellent zsh config repository with a bunch of predefined plugins and themes
Dec 7th
September 2010
2 posts
WatchWatch
HPO The Snowbird (by U of T Engineering)
Sep 23rd
Bali
Intense rich colors, scents, the language like pealing and tinkling bells. Tegalalang, Denpasar, Mount Agung, Jalal Hanuman, the names echo and ring. The taste of Bali is the taste of unripe mango, sweet and tart. Mopeds swarm through the streets, flowing around cars, buzzing like a great drone of bees. It is customary to honk when approaching a sharp turn, in case there is someone coming from...
Sep 14th
July 2010
1 post
git - ignore local changes to tracked files
If you want to prevent committing (therefore also pushing) these local config files, you could use git update-index --assume-unchanged. Files marked with this flag will be assumed to never change (until you reset the flag with --no-assume-unchanged)
Jul 30th
June 2010
1 post
Pcutmp3 →
The best lossless cue-splitter for mp3’s.
Jun 18th
May 2010
7 posts
May 28th
Anjuna To Assam is shamelessly fun and dancy modern goa/psytrance. Original and catchy; I’ve listened to it from start to end on repeat several times, which doesn’t happen often for me. Download it at Ektoplazm
May 28th
May 17th
WatchWatch
Iceland, Eyjafjallajökull - May 1st and 2nd, 2010 (by Sean Stiegemeier)
May 17th
rediscovering e e cummings
some poems and some russian translations
May 10th
May 9th
Font Squirrel | Create Your Own @font-face Kits →
Awesome. Upload your font, specify your settings, and you’re good to go.
May 7th
March 2010
4 posts
2 tags
Rails and midgets on unicycles
So let’s say you have a custom primary key for a table - a hash_id. It’s only ever populated externally, not by your rails application, so you figure you don’t really need to specify the custom primary key in the model, since it’s only ever read-only. class Subscriber < ActiveRecord::Base belongs_to :midget set_primary_key :hash_id end Well, think again. First...
Mar 6th
3 tags
ruby templating and css frameworks
Pure CSS: Blueprint CSS 960.gs More powerful: Compass - comes with support for Blueprint, and YUI css frameworks out of the box, written using Ruby SASS DSL. compass-960 - compass support for 960 Less - another DSL, also very very cool. 960.less - 960.gs stylesheet rewritten in Less 960 gist - 960.gs stylesheet rewritten and simplified in Less HTML templating: ERB - old and busted ...
Mar 2nd
1 tag
Mar 2nd
2 tags
The Ruby Toolbox →
excellent resource for ruby and rails projects and plugins
Mar 2nd
January 2010
5 posts
1 tag
Yonderboi and Messer für Frau Müller are pretty close. Yonderboi’s more ambient/meditative though, while MFFM are a bit more playful/experimental. but both have a lot of resampling of old records, a nostalgia for the vinyl of the soviet era.
Jan 20th
2 tags
rubyamp →
RubyAMP is a TextMate bundle that makes you more productive in editing, navigating, and debugging Ruby code. Now you can easily: auto-complete from all open tabs jump to a method, class, or fixture named under the cursor start the debugger on a series of RSpec examples and break at the current line inspect by highlighting to evaluate to tooltip or clipboard fire up a Merb/Rails server or...
Jan 20th
2 tags
bash arg expansion
$_ expands to last argument in previous command. ie cp a.txt /some/long/path/and/some_other_name.txt vim $_ will open the just-moved file without retyping the whole damn thing. so useful.
Jan 15th
libmad in snow leopard
If you run into the following error: version.c:1: error: CPU you selected does not support x86-64 instruction set run the following export CFLAGS="-arch i686" then, configure, make, sudo make install as normal.
Jan 8th
Two Gentlemen of Lebowski →
The Big Lebowski, by William Shakespeare
Jan 8th
December 2009
1 post
fix itunes arrow links
Change them to go to your library, instead of the apple store: defaults write com.apple.iTunes invertStoreLinks -bool YES Hide them altogether defaults write com.apple.iTunes show-store-arrow-links -bool FALSE
Dec 23rd
October 2009
2 posts
2 tags
answer to the universe
Sat 24 Oct – Answer to the Universe was quite excellent. Couple of videos…
Oct 27th
And Also the Trees reminds me simultaneously of The Alan Parsons Project and The Nits. Just a note, if you like one of them, you might like the other two.
Oct 6th
August 2009
11 posts
Site Templates - FlashDen →
Pretty, and reasonably priced flash templates.
Aug 27th
Pro Git - distributed version control book →
using git now. woot.
Aug 20th
gotoandlearn.com - flash tutorials →
excellent tutorials for flash
Aug 20th
Chinese Fonts (Institute of Chinese Studies,... →
a few more calligraphic or stylized fonts than default ones
Aug 20th
De MonsterDebugger - Open Source Flash, Flex and... →
super-useful
Aug 20th
Xray ( The AdminTool ) Open Source Flash Debugger →
useful
Aug 20th
Aug 12th
5 notes
4 tags
http://fuelyourcoding.com/in-field-labels/ →
Just so I don’t forget if I need this later… nice in-field labels for forms.
Aug 6th
beautiful html5+canvas animation →
Aug 6th
ListenJikkenteki - A Bowl Gruel World (from Flights of...
Aug 5th
Aug 1st
Aug 1st
July 2009
8 posts
Every time I play go against myself, I lose. The only consolation is every time I also win. But usually the side I’m secretly against wins.
Jul 22nd
I was rooting for white..
Jul 22nd