December 2009
67 posts
She Gave Me The Green Light
4 tags
Ever since I dropped out of college and started making beaucoup money…
– Brandon Fletcher. Once again, college is for peons.
See you after xmas. Have a good one. P.S. Happy...
7 tags
Ruby Idioms & Shortcuts: Or Equals
I was recently looking for a Ruby authorization solution for the Platform app I’m developing. I had already settled on using Authlogic for authentication and session management, and wanted something that would play nice with what I had so far. Lockdown was one of the authorization libraries that I considered, but unfortunately it was unsuitable for my requirements.
For those interested in...
Nah! The BBC have brought back Rumpole on Radio...
Wow! Sarah Palin Is An Idiot →
McCain-Palin really was the WORST ticket ever.
You’re very photogenic. I don’t think you realise…
– Possibly the most embarrassing thing one man can say to another.
4 tags
Seeing Metaclasses Clearly. By _why →
I was going to do another Ruby idioms post on the whole class « self; self; end thing. However _why already did it a long time ago, and did a very good job of it too. _why was a valuable member of the Ruby community. It’s a shame that he disappeared.
JESUS TAKE THE WHEEL!!!
– Jay Wilson
After my mom shut that down I started a lemonade stand…
– The insanely industrious Brandon Fletcher on his next move after his mum shut down his bootleg CD outfit at the tender age of 15.
5 tags
Ruby Idioms & Shortcuts: Symbol#to_proc
Say you have a collection of names in lowercase, names are proper nouns, so it’s proper grammar for them to be capitalised. How might one go about doing that in Ruby?
irb(main):001:0> %w(john paul ringo george).map { |p| p.capitalize } => ["John", "Paul", "Ringo", "George"]
Calling a method on each member of a collection is a very frequently performed operation, and passing a block to...
'Early Musik' via archive.org →
brandonthegreat:
This is the first website/”business” I ever created. I started this when I was 15. The idea was to sell ‘bootleg’ albums to people before they were released (via illegally downloading and burning to CD). Just from that, you can tell how delusional I was. So crazy looking back on this.
Funny thing is that I made some money from this. I remember my mom being freaked out because...
From Geek to Freak: How I Gained 34 lbs. of Muscle... →
This was achieved with 2 hours of gym time(!) Muscular hypertrophy FTW!
Motherf***er I'm ill… Literally. I woke up feeling...
How to Create a Global Phenomenon for Less Than $10,000
Tim Ferriss, author of NYTimes best seller The Four Hour Work Week.
This is the second ill keynote from Le Web.
brandonthegreat:
Meet the New York Post’s new advice columnist - Ashley Dupre.
This is so bad and inappropriate that I can’t even construct a meaningful sentence that conveys my feelings.
Here are some words instead: terrible, insane, sensationalist, plebeian, horrible, LMFAO, low, level.
I cannot believe Spitzer paid cash to jump this… SMH
I'm obsessed with one liners. Ruby one liners.
Thanks
http://cassieverse.org, http://www.theprophetblog.net/, and http://ryanleslieweb.net/: thanks for the traffic guys! x
2 tags
Ruby Idioms & Shortcuts: Parallel Assignment
I’m going to do a quick series of posts about useful techniques that allow me to write, clear, concise, expressive code everyday with Ruby. Quite a few will be idiomatic to Ruby. You may or may not know them, but enjoy them nonetheless.
First in the series… an easy one:
Parallel Assignment
Instead of laboriously assigning variables, one per line like this:
one = "uno"
two =...
Just checked Google Analytics for the first time...
Stay in the loop…
Testicular Fortitude
– Pete Michaud
My Amazon Wishlist. 'Tis The Season. Please Do Go... →
Nerd humour in pub after the December LRUG meeting
Me: Well it was down to me to interface with these people.
Attila: Ha! You said interface! You're such a nerd!
Me: LOL
Attila: It's OK, he only has three public methods!
Group: LOL!
gary:
My Le Web Keynote ( please note some dirty Language so please dont play around children ) and My question, what do you think about the Customer Service expectations I talk about here?