February 2010
64 posts
Feb 28th
Feb 27th
Feb 27th
Feb 26th
Feb 26th
4 notes
http://uk.linkedin.com/in/sjtgraham →
Feb 25th
4 tags
Feb 25th
Listencoryheywood: Stevie Wonder - She’s A Bad Mamma...
Feb 24th
Ideas are cheap, work is hard.
Feb 24th
WatchWatch
Traits Of An Indispensable Person CEO of Acumen Fund, Jacqueline Novogratz breaks it down on how to spot indispensable people. via Seth Godin & Guy Kawasaki
Feb 23rd
1 tag
Feb 22nd
Feb 22nd
ListenAmy Winehouse - I Heard Love Is Blind via KB x
Feb 21st
Feb 21st
Feb 21st
The TinyMCE editor that Tumblr uses for blog posts...
Feb 21st
Feb 20th
ListenAmy Winehouse - Wake Up Alone
Feb 20th
Currency Arbitrage In 100 Lines of Ruby →
LOL is Ruby even fast enough for something as super real time as currency arbitrage?
Feb 19th
5 tags
Feb 19th
Feb 19th
Feb 19th
Feb 18th
Procrastination Vs. Incubation: Why Some "Lazy"... →
Feb 18th
ListenRyan Leslie - You’re Not My Girl (Jesse...
Feb 17th
Feb 17th
Feb 16th
8 tags
Rake Stats Isn't Very Smart
I noticed something at work today. rake stats is dumb when it reports test LOC. This is something to bear in mind when evaluating test coverage mertics, as good test coverage is one thing indicative of the code base. If you’re anything like me you like to deploy a little metaprogramming to make your tests as DRY as possible. So you might have something like this: %w[first_name last_name...
Feb 16th
Autodidatic polymath dropout making beaucoup... →
Feb 16th
polar r=(sin(t)*sqrt(abs(cos(t))))/(sin(t) + 7/5)... →
Feb 15th
Enemy + Admirer = ?
Holy shiiiiiieeettt! I love Brandon’s musings. brandonthegreat: Ever since I can remember I’ve sporadically been a magnet to people who were my enemies and admirers at the same time. Enemies because they’re actively opposed to the thought of my existence, and admirers because they are secretly obsessed with my thoughts and ideas. If you’re familiar with psychology, then you would...
Feb 15th
Feb 14th
Feb 14th
Feb 14th
Why did Tumblr just spew a load of posts from my...
Feb 12th
Feb 12th
5 tags
Model Layer Attribute Level Access Control
I have this interesting problem at work on this web app. The requirements mandate super fine-grained access control on model objects. It’s not enough to restrict access to CRUD actions, my boss wants different roles to be able to access specific attributes and not others. i.e. normal users can access name but not salary etc. I came up with a DSL for this. This is what it looks like: let...
Feb 12th
Feb 11th
mattonrails asked: Recommended you for the Tech directory. It's not showing up yet.

FUHHHHHHHHHHHH
Feb 11th
1 note
Feb 11th
1,114 notes
1 tag
MongoDB is way fast →
Feb 11th
Feb 9th
JILFS: The Rise of the Hot Jewish Girl →
Feb 9th
4 tags
Version Control FTW (via AIM)
Tiffani: version control is probably the best thing that's ever happened to me as a developer (especially during the early years of using it) nothing like rolling back off code you wrote when you were sleepy and/or drunk (don't ask lol)
Me: HAHA
Tiffani: I think they should teach it to freshmen in college and call it a day tried to get my compSci department chair to do that...they hold off until an upperlevel class though. huge mistake. SVN or Git or whatever would have saved my ass so many times freshman year and before that really.
Me: lol
Tiffani: seriously
Me: soooo coding drunk? lol. i couldn't resist!
Tiffani: there are photos.
Me: please do elaborate
Tiffani: *untagged* on Facebook
Me: lol smh
Tiffani: it was kind of a test, sobriety test lol. unfortunately, I could tell the next day I failed. you don't want to get drunk with a bunch of nerds...this is what ends up happening
Me: lol insanely funny
Tiffani: I started sobering up and thinking I could pontificate on OOP and all kinds of ish, then I sat down and started coding. FAAAAAIL. I don't know why I didn't just go to sleep
Me: "I started sobering up and thinking I could pontificate on OOP and all kinds of ish" - OMG *DEAD* LAMAOMASAOSMAO
Tiffani: nothing serious happened..it was just exceptionally bad code
Me: lmao
Tiffani: I know I know lol
Feb 8th
Funny world... Funny people...
aniyasblog: Referring to me, my opinions, experiences or thoughts as “ignorant” is only the easiest way to show off your very own ignorance… The End. non-sequitur.
Feb 7th
1 note
Feb 6th
3,354 notes
4 tags
Project Euler in Ruby: Problem #3
Problem The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143? Solution require 'mathn' class Integer def largest_prime_factor number = self prime = Prime.new divisor = prime.succ while divisor < number number /= divisor if number % divisor == 0 divisor = prime.succ end divisor end end puts...
Feb 6th
Insanely delayed reaction.
Feb 5th
Feb 5th
10 tags
Haml & Sass: Pointless abstraction?
I remain unconvinced on the utility of Haml and Sass. I definitely am convinced it’s not commensurate with the airtime they get online and in dev circles. Hand coding semantic, well-formed HTML is so trivial every professional developer should be able to do it. It’s not uncommon to have 10+ years HTML experience. People have literally grown up with it. Textmate HTML bundle tab...
Feb 5th