I moved

Stop reading here, it is no longer my hangout. All future posts are being made on TrotterCashion.com. It’s ruby, nginx, and more fun. Enjoy.


RailsconfEurope 2007

I’m a little late in mentioning this, but I recently spoke at RailsconfEurope about Rails Refactoring. It was a tutorial talk, and I thought that it went very well. I think the presentation is up on O’Reilly somewhere; I’ll link if I can find it.

Overall, the conference was really good. Berlin is an amazing city and the majority of the talks were really good. Of special note were the ones by Dr. Nic, Topfunky, and Evan Phoenix. Their talks about ruby magic, css generation, and rubinius were really well done.



The speaker list has been announced for Gotham Ruby Conference (GoRuCo), and I’m happy to inform you that I’m one of the speakers. I’ll be filling your brains with all sorts of information related to context, mocks, and stubs. The rest of the lineup is very strong; this looks like it will be an awesome conference.


Nyc.rb turns 3!

Well, last Tuesday nyc.rb turned three years old. Of course, we were not content with just turning three, so we decided to start taping our presentations also (By we, I mean me, because I have a video camera and turned it on). Francis gave a testing clinic, while yours truly gave a talk on refactoring. Both talks are available on Motionbox (the Rails video site at which I work) at this playlist.

To make things easier for you, I’ve also embeded the videos after the jump. Francis’s video is first with mine second. Sorry for the occasional fuzzy video quality, I’m still not good at filming presentations.

Read the rest of this entry »


CRUD Presentation

The slides from my CRUD Presentation to nyc.rb are now up. Lee Nussbaum snagged the audio, so I’ll sync that up over the next few days and post that too. If you’ve seen DHH’s presentation, this one is pretty much the same thing. In fact, many of the slides look fairly similar. I hope you don’t mind, DHH :-).

Comments (4)

Grr… Mac OS X and ctags

Another day, another software problem. This time, I’m taking the advice of Zed Shaw and attempting to use gvim for my text editing. I’m currently using Textmate, but I change my editor about as often as I workout (aka every two months). Enough rambling, gvim has support for this cool thing called ctags. I haven’t investigated it enough yet, but it’s apparently used to allow you to jump to the definition of a function, class, or what-have-you very easliy. Sounds cool right?

Unfortunately, the version of ctags that ships with Mac OS X is a piece of crap. Looking at the man page it’s only version 3.0 from 1993. That’s 13 years ago for those of you not into math. Anyway, the fix is simple (that’s in bold for those of you from google). Just install Darwin Port and then enter

sudo port install ctags

That’ll get you up and good with a modern version.

P.S. – If you really want to install this by source and do not know how, let me know. I can easily do another write up on how that’s done.

Comments (3)

How to Make Pound And SSL Play Nice With OS X

Though building sites with ssl is cool and gives your users a sense of security, configuring a webserver with ssl can be a royal pain. Thankfully, there’s pound. Pound is a “is a reverse proxy, load balancer and HTTPS front-end for Web server(s).”

Pound is dead simple to setup and configure. Unfortunately, the darwin port for pound is old and does not work. So this guide will help you build pound on your own. Besides, everyone feels cooler after compiling that hot fire. Click on for the steps.

    Read the rest of this entry »

Comments (5)


Well, this is basic css, but I’ll throw it up here for those of you that don’t know or have forgotten (I managed to forget the other day). If you have an element with ‘float: left’ or ‘float: right’ inside a div, the div will not be tall enough to hold the floated element. Look:

I am crazy floating text. Watch out for me because I am so crazy. I will kill any and all layouts near me. Hear me roar!

I am the cool words to the right.

I am broken! I should be below the text that is to my left.

As you can see, the code above is definitely broken. To fix this problem, we need only insert a <br style="clear:both;" /> at the bottom of the div. Look now:

I am crazy floating text. Watch out for me because I am so crazy. I will kill any and all layouts near me. Hear me roar!

I am the cool words to the right.

I am fixed! The crazy floating text plagues me no more.

Comments (1)

« Previous entries Next Page » Next Page »