Entries from August 2007

August 30, 2007

Google

I opened my inbox last night and had an email titled “Greetings from Google!”. Ah! nice try, spammers! Ok, I’ll just open it to laugh at what they came up with this time. But I’ve never seen any spam coming from @google.com before, strange.
Oh.
Haha looks like a job offer.
WHAT ?
That’s righty-dly-doo! I got a job [...]

August 27, 2007

But it’s faster this way …

As a guy who have studied in software engineering, for most of my family members and friends I’m the guy to call when anything breaks on your computer, even though I’m clueless about computer hardware. So one day someone asked me to come by and see what didn’t worked right on his machine. A website [...]

August 26, 2007

This week in our world

Here are a couple of things I’ve found interesting while browsing in the last week. All this content is aggregated from my sideblog. Please, let me know what you think about this! Or share something you’ve found!
Content aware image resizing

Ruby self-explanatory truthy / falsey

api.connect(true)


using self-explanatory truthy / falsey values instead

api.connect(:auto_retry) # [...]

August 21, 2007

Incremental Perfectionism : 5 ways to write perfect code

If you’ve ever done a couple of interviews, you’ve probably got the “I’m a perfectionist” candidate. When asked about its flaws he says with a fake-hidden smile: “I’m a lil’ bit of a perfectionist”, thinking deep in their mind this is more of a good thing then a bad one. Perfectionist, those people that only [...]

August 17, 2007

DemoCampMontreal4 Follow-up

Once again DemoCampMontreal was fun, entertaining, energizing, cool, refreshing, techy, geeky, branché, nice, brilliant, awesome, instructive, pleasant, crowded, webish, tendance, crowded and tonight.
BrainCuts
First presentation was by a company called Categorical Design Solutions. I’m sorry to say things started pretty bad when they showed slides claiming they’re creating the web 3.0… Plus on their site there’s [...]

August 17, 2007

This week in our world

Here are a couple of things I’ve found interesting while browsing in the last week. All this content is aggregated from my sideblog. Please, let me know what you think about this! Or share something you’ve found!
Ze Frank
One of the funniest presentation I’ve watched in a while!

Amazing list of videos by [...]

August 10, 2007

Colorize code in your blog posts (with Ruby of course)

A couple of people asked me how I highlighted my code in a previous post.
Well, at first I though I’d tell the truth and say that I took the code and added colours manually in span and div. Then I though, hum, maybe I should print my code on a piece of paper and colorize [...]

August 8, 2007

How was Montreal on Rails ?

Montreal on Rails was a big success yesterday. I think my presentation went well too, I got lots of good feedback, thank you all! You can get the famous slides here, the code here and the plugin here.
Carl presentation on HAML was uber cool, I’ll give it a shot soon no doubt, the outputted HTML [...]

August 6, 2007

Montreal on Rails tomorrow

The most amazing event to ever occur in the Montreal Rails community’s history is about to happen tomorrow!
And I think there’s ONE place left (maybe more on eBay, haven’t checked)!
http://upcoming.yahoo.com/event/219916/
Where were you Tuesday, August 7, 2007 ?
Also checkout this cool video of Fred interviewing superstars at Silicon Valley!

(via soj blog)
Wow! I [...]

August 5, 2007

DRY-ing your Rails controller with filters

Ever noticed how all CRUD methods on each controller starts with the same line: @item = Model.find(params[:id]) ?
Hey! why not use filter so we don’t repeat ourselves ?

class PostsController < ApplicationController
before_filter :find_post, nly => [:show, :edit, :update, :destroy]

def index
@posts = Post.find(:all)
end

def [...]