Happy Turkey Day

Posted on November 23, 2007

Hey. I want to say something. Happy Thanksgiving. This is a great holiday. This year, it was a lot better than last, when I ate turkey sandwiches in my lonely apartment in Maine. Don’t blame my poor parents — it was my fault. Anyways, this year was great! Was with the Loomis Family (aka the Loominati) and it was swell.

Refactoring

Posted on November 21, 2007

Except from RailsSpace:

It may seem like we’re cheating a bit here; after all, the refactored function is so much more compact only because we brushed the code complexity dust under an abstraction layer rug. This practice doesn’t necessarily result in less total code, so does it really do us any good? Absolutely — even when they don’t save us any lines of code, abstraction layers reduce the mental overhead of programming by allowing us to ignore irrelevant details and focus on higher-level constructs. Of course, by eliminating or preventing code duplication, abstraction layers nearly always result in fewer lines of code as well.

The Dreaded ‘Next’ Button

Posted on November 17, 2007

Here’s a simple design issue that I see done wrong again and again. You know what I’m talking about: picture galleries and the ‘next’ buttons. So you’re looking photos of something cool. Like this one. You don’t want to spend so much time on each one, and you’d like to be able to maximize the number that you see in hopes of seeing one that catches your eye. Sure, it’s rapid-fire, but don’t blame me. I like clicking things.

But if the pictures are variable-sized, and the ‘next’ button is at the bottom of the image, then clicking through the gallery is hard. I have to move my mouse. Why do I have to move my mouse? Is it to better appreciate each photo? No, it isn’t, because the time spent is just wasted on moving my mouse, not on the photo. Putting the ‘next’ button on top of the image (or both ends) is so logical: no moving the mouse. Just clicking.

Messages from friends after waiting 3 1/2 years to join facebook

Posted on November 07, 2007

“Seabass on the facebook. Oh how the mighty have fallen.”

“Holy s**t…Seabass, you have truly hit rock bottom.”

“facebook aye? thats so emo.”

“I feel like I don’t even know you anymore. What next- you like Romney for president?”

“A Facebook account? Is this a cry for help or something?”

Facebook

Posted on November 04, 2007

So last night it finally happened; I joined the 50 million+ (200,000+ a day) network behemoth facebook (which, by the way Mom, you can join too). I can’t say it was my idea; it was mainly Mark (Hendrickson) and Kate’s, with the help of Rock (Mark M.). Beer played a part. But my real weak-willed-ness came from not from intoxication or peer cajoling, but from sheer curiosity. Facebook is the thing on the web right now, its hottest property, and now calling myself a startup dude, I’ve been feeling the need to check it out. Not only is facebook the hottest thing, but the buzz in the valley that developing for the network, aka creating a facebook ‘app’, is what’s lucrative and promising these days. I mean, 200 thousand people a day are joining facebook; why not join the craze?

Regardless, the transition has not come smoothly. Initially, I wanted to join with my still functioning bowdoin.edu address. Not that it’ll stay active for very long, but registering with my bowdoin address gives me full stalker access to every student, current and past, who once shared a room in one of the Bowdoin bricks. In other words, I can visit their ‘profiles’ without being their ‘friends’. Pretty fun.

Sadly, there is a hiccup. While I can still access my account, and all other email still forwards to me from bowdoin, for some reason the facebook emails will not go through. George, a nBiter who works at IT, says it has something to do with ‘UTF-7′ and gmail. And more unfortunately, when Bowdoin switched to a new email system, email forwarding no longer saves a local copy on Bowdoin’s servers; it just deletes it (wtf?).

In sum; I have facebook. I have no updated information (save what Mark put in for me), a few friends (NZ’ers mainly!), and I don’t even have a picture up yet. Once I get this bowdoin thing sorted, I’m fully ready to assimilate into the social network I should have joined three years ago. Such is the internet. You’re always finding things that everyone else found a long time ago. Just to think that somewhere out there someone is just discovering the star wars kid.

Twitter

Posted on November 01, 2007

Does anyone else twitter? Let me know.

Fun Evenings

Posted on October 30, 2007

My definition of a nice night is to spend it on instantdomainsearch.com looking up domains that it would be cool to have. Here are some I found tonight:

swillr.com (as well as swilld.com)
boir.com (a four-letter domain name!)
ltimate.com (so you can do u.ltimate.com)
asdfasdfasdfasdfasdfasdfasdf.com (seriously, asdfasdfasdfasdfasdfasdf.com is taken)

YAY: I’ve got IMAP on GMail on iPhone

Posted on October 26, 2007

So, I finally have IMAP. And it’s on the iPhone. This is so huge. Pop through the iPhone sucked (apparently, according to Mark, just using the m.gmail site is the way to go).

Here’s the only rub: it’s not clear on the iPhone that some mail has been pre-filtered. So, I have to choose which folder I want a message to go into instead of just clicking ‘archive’. Plus, from the main inbox screen, I can’t archive — I have to look at the message (which takes long load time, sometimes on EDGE).

Still, good stuff.

More RoR

Posted on October 20, 2007

In case anyone else has recently frozen up to the latest rails edge and gets this ‘config.breakpoint_server’ notice:

I actually found the solution to this at http://dev.rubyonrails.org/browser/trun … v=7183#L56 if anyone else is interested. Just remove the ‘config.breakpoint_server = true’ on line 12 of environments\development.rb and the deprecated error is no longer displayed when you migrate, run WEBrick, etc.

Model.find(:last)

Posted on October 15, 2007

This took me a while to figure out tonight, but it may be old hay for other Rails hackers, so here it is: if you want to find out the ‘last’ id in a table, use this:

Model.find(:first, :o rder => ‘id desc’)

Pretty easy. Too bad Model.find(:last) doesn’t work.