Wednesday, September 26, 2007

Tax-Free Guice

I'm speechless. Thanks, Eric.

Tuesday, September 18, 2007

Silicon Valley JUG @ Google Tonight

Swing by, and say hello.

Topic: Improving your Code with Objects and Aspects
Speaker: Chris Richardson
Agenda: Snacking and mingling from 6:30 to 7, presentation from 7 to 8:30
Location: Google Inc., Tunis Conference Room (Bldg. 43)

Gavin King on ActiveRecord

Referring to this ActiveRecord example:

class Person < ActiveRecord::Base  
   belongs_to :company  
end

class Company < ActiveRecord::Base  
   has_many :people  
end

Gavin says:

At this point, most developers are thinking um, ok, so how the hell am I supposed to know what attributes a Company has by looking at my code? And how can my IDE auto-complete them? Of course, the Rails folks have a quick answer to this question Oh, just fire up your database client and look in the database!. Then, assuming that you know ActiveRecord's automagic capitalization and pluralization rules perfectly, you will be able to guess the names of the attributes of your own Company class, and type them in manually.

Somehow, excitement about the Ruby language has warped their perceptions to such an extent that these people actually believe that this is a good thing!

Couldn't have said it better myself.

Friday, September 14, 2007

Treader Supports del.icio.us

After installing Treader, you could already post to Twitter directly from Google Reader by hitting Shift+T. Now, you can hit Shift+D to bookmark an entry in del.icio.us, too.

Why reinvent the wheel?

Why indeed? I'm not a big fan of the question, "Why reinvent the wheel?" It's what you call an Appeal to Tradition, "a fallacy that occurs when it is assumed that something is better or correct simply because it is older, traditional, or 'always has been done.'"

Depending on the context, you can almost always replace "Why reinvent the wheel?" with "Please don't compete with me," or "Please don't make me learn something new." Either way, the opponent doesn't have a real argument against building something newer and better, but they also don't want to admit their unhealthy motivations for trying to stop you.

More seeds, more blooms, I say. Don't build houses on kitchen sinks. Reinvent away. Most of our current technology sucks, and even if it didn't, who am I to try and stop you?

Thursday, September 13, 2007

Roof of The Royal Orleans

My mom just sent me this picture of my brother and me from when we were kids. We used to go to New Orleans every year, and the Easter bunny always managed to find us. Notice who's looking through the right end.

Royal Orleans

Tuesday, September 11, 2007

Treader: Twitter directly from Google Reader

I love my Google Reader shared items, but when I want to add a little commentary, I post a link to Twitter. I created a Greasemonkey script named Treader to streamline the process.

In Google Reader, I select the entry I want to twitter and then hit Shift+T. Treader pops up a prompt pre-filled with the entry name and link.

I just edit the twitter to my liking, and hit OK. Treader posts it in the background using Twitter's API. I never have to leave Google Reader.

To try it for yourself:

  1. Install Greasemonkey if you haven't already. Greasemonkey requires Firefox.
  2. Install Treader.
  3. Reload Google Reader, select an entry you want to share, and then hit Shift+T. It will ask you to log into Twitter the first time through.

Thanks to Mihai for helping me work out the kinks.

Thursday, September 06, 2007

Temporary Twitters

Twitter is still down for upgrades. It was only supposed to be down for 2.5 hours at midnight.

OMFG! Reader has search!

With well over 400 feeds, keeping up with Google Reader could literally be a full time job.

The iPod Touch looks fun, but I think the new iPod Nano fits us best.

Finally making headway on Guice's introspection API. Get ready for some awesome tools.

Is TechCrunch turning into Valleywag?

I rewrote the Guice home page.

Can't wait to see what Twitter has in store for us.