Ruby

http://s.erious.ly

Author Archive

Shifting to the client again

This is my take on the current shift to rich, in-browser JavaScript apps. Looking back over a few decades, this is the progression of how applications have been built: mainframes and dumb terminals minicomputers and smart terminals networked worksta...

Shifting to the client again

This is my take on the current shift to rich, in-browser JavaScript apps. Looking back over a few decades, this is the progression of how applications have been built: mainframes and dumb terminals minicomputers and smart terminals networked worksta...

Modularized Association Methods in Rails 3.2

Happy Friday! It's Rails 3.2 day! The official release announcement mentions a few of the big changes, but I'd like to take a moment to highlight a relatively small change I was responsible for, one that I hope may make your life a little easier. From...

Yak Shaving

As coders, most of us are not only familiar with the term yak shaving, but spend many of our days doing nothing but. I often struggle to explain to non-technical folks what I actually spend my time doing when I'm working and what it feels like. This is...

I heard you liked files

I was going to try and be clever and do a funny riff on this whole subject, but I just can't manage it. Here's the thing. Makefile was a dumb name for a file when Stuart Feldman wrote the make utility in 1977, but you have to forgive him because file s...

Refactoring: be eager, not reckless

The illustrious Chris Eppstein recently tweeted: If some code should be refactored, stop what you are doing and refactor it. I was about to respond, but realized I had more to say than would fit in a tweet. (Waiting for someone to fix that prob...

Refactoring: be eager, not reckless

The illustrious Chris Eppstein recently tweeted: If some code should be refactored, stop what you are doing and refactor it. I was about to respond, but realized I had more to say than would fit in a tweet. (Waiting for someone to fix that prob...

Fifteen Protips for Conference Speakers

Do you dream of someday speaking at a technical conference? Have you spoken at a conference but felt like your journey to the podium wasn't as smooth as it might have been? Well here are a couple tips to make things go smoothly and endear you to your conference organizers.

I'm writing this from the perspective...

just a thought

We live our modern, high-tech lives immersed in a sea of devices and systems powered at least in part by open source software. It's amazing how much of our lifestyle we owe to the generosity of geeks. I wonder how many non-technical folks appreciate that.

Slightly more readable Ruby

A simple coding style for slightly more readable Ruby: symbols as flag arguments. Use a symbol with a meaningful name instead of true. This makes it clear what you're doing and is just as terse. For example: def run(log_it = false) log_action if lo...

GoGaRuCo 2011 CFP

And now for some Golden Gate RubyConf news. Yes, we are hard at work getting ready for GoGaRuCo 2011. If you haven't heard yet, the dates are September 16-17, and we'll be back in the same wonderful venue we had last year, UCSF Mission Bay. One of the ...

GoGaRuCo 2011 CFP

And now for some Golden Gate RubyConf news. Yes, we are hard at work getting ready for GoGaRuCo 2011. If you haven't heard yet, the dates are September 16-17, and we'll be back in the same wonderful venue we had last year, UCSF Mission Bay. One of the ...