Don’t try to gently glide your bike over MUNI tracks, because one time you will mess up and be allowed the pleasure of typing one handed (see picture). Perpendicular is the way to go.
bad :
| === -/:^)\- | /__:^(_.,’== | |
| ..crash.. |
good :
| || | || | |||
| || | -/:^)\- | -/:^)\- | || | |
| || | ..no problem.. | || | ||
I’m also hoping for the universal health care here in SF for all us uninsured earth passengers.
:^) is better than : ) .. and when necessary use the clown hat because Cartman did <@:^)
Lastly .. rails performance boosts. Moral of the story is use :select so your objects aren’t bloated, avoid functions that filter records in a has_many relationship, and don’t be shy about selecting out things from joins to avoid code like page.owner.name which will do an extra query to grab the entire user record just for a name.
We had some code like user_page.invitations.yes_replies. Nice and clean, but all invitations are pulled, memory is gobbled away, and then filtered down to the yes replies. Fine for parties with 50 guests, but 1000 guests and monit starts doing more bouncing than we like to see.

Shitballs. Wrecked my ankle last october. A long, slow slog. Take it easy.
Comment by mct — December 15, 2007 @ 8:43 am
Thanks! At least the cast is nice and a warm :^)
Comment by Russell — December 15, 2007 @ 5:26 pm
Hey russel, it was good to meet you. . . here is that query trace thingy from pivotal.
http://pivots.pivotallabs.com/users/alex/blog/articles/300-rake-query-trace
Comment by matt — January 11, 2008 @ 10:36 pm
Sweet! I’ll play around with it when we start another round of optimizations.
Comment by Russell — January 11, 2008 @ 11:25 pm
Somehow i missed the point. Probably lost in translation
Anyway … nice blog to visit.
cheers, Supernumerary!!
Comment by Supernumerary — June 19, 2008 @ 2:35 pm