home

Archive for April, 2006

welcome to the macbook pro club

Monday, April 24th, 2006

I have to welcome two new members to the elusive MacBook Pro club. My buddy (and Meople cohort), Tung Chan, couldn’t let me have the best computer for too long. He let me have the honors for about a week before he forked out and got an even better one than mine. Thanks a lot Tung, thanks a lot.

Also, my good pal Derek Haynes of Highgroove Studios, founder of an amazing AJAX and Ruby on Rails Development and Consulting company, just joined the elusive MacBook Pro club. I’m actually a little nervous about this one. I thought Derek was incredibly productive before with his old laptop with 256MB RAM — but now, with the MacBook Pro in his hands, we’re about to see some crazy, crazy stuff. It’s like an anime cartoon/movie where the super-hero gets the ultimate power sword weapon, and all of a sudden the foreground stops, and the background goes crazy scrolling as he leaps into the air and charges up, charges up, charges up….. then…. a commercial break.

Welcome to the club, fellas.

hanging out with colin, jennifer, alana, and craig

Sunday, April 23rd, 2006

Jodi and I had dinner with our good friends Colin and Jennifer, at their new house. Unfortunately, Alana and Craig showed up too. This is just my excuse to post some pictures on my site, really.

Everybody Dinner is served

prognostication?

Friday, April 14th, 2006

Every other night, in the parking deck across from our condo, around the hours of 11:00pm or 12:00am (or sometimes later), a guy in a jacked up jeep wrangler goes racing through the parking lot, squealing tires at every turn, before he gets out on the road and runs the stop-signs in front of our building before accelerating off into the night.

Well, he won’t be doing that any more. At least not in that jeep.

Tonight, it exploded, into fiery flames.

And while I didn’t catch the explosion, I saw the last of the flames and the blackened, smothering remains being put out by the two firetrucks. If I had only had my digital camera.

Lucky for you, I took these shots using my iSight, they’re blurry, dark, and you can’t see much. And if you squint, you can see the glee in my face in the reflection of the glass.

Smoothinger remains of jeep

rails dont like long names

Friday, April 14th, 2006

My database migration kept failing, and I couldn’t figure out why:

== WhoIsTheWiseAssWhoMadeTypeForTableAnIntegerInsteadofAStringEh: migrating ==
– change_column(:memails, :type, :string) -> 0.0138s rake aborted!
negative argument

Turns out, that name was too long.  Maybe I shouldn’t try to be so funny in my code.

This table was a Single Table Inheritance in Rails, with a type column incorrectly set to int instead of a string.

p.s. the wise ass was me.

my first rails app went live

Friday, April 14th, 2006

Yes, I’m a dork. Our wedding invitations (btw, Jodi and I are getting married), have a link to RSVP to a Ruby on Rails app I wrote in about 8 hours total time. That includes getting it up as an apache proxy to lighttpd (2 fcgi instances).

I still like Rails. A lot.

Mac OS X Boot Camp Installation

Friday, April 7th, 2006

I finally got Mac OS X’s Boot Camp installed and running. I ran into a few snafus, but overall, it was a relatively easy process. Here’s how I did it.

Obtaining Valid Licensed Copy of Windows XP

I own several computers at home, two that I’ve built off parts from Newegg. I bought valid copies of Windows XP (SP 1a OEM versions) for both of these boxen. However, about a year or two ago, I reformatted both those boxen and have been running linux on them both (one is my main mythtv server and the other is a diskless mythtv-client that boots over PXE). I chalked these purchases up to just a loss, since I did run Windows on them for a short time. I had activated both of them long ago, and was under the impression that they were tied to the CPU forever. I finally called Microsoft yesterday to get the real scoop, and was told that it is possible to transfer a license to another computer, as long as that computer doesn’t have windows XP anymore.  I qualify for sure.
However, since Boot Camp requires a Windows XP SP2 CD, though (not SP1a), and you cannot install SP1a and then update afterwards, I thought I’d go ahead and purchase a new OEM/Retail XP CD.  After a little research, I found out about slipstreaming a Windows XP install CD. This means you can burn your own copy of the XP CD, with the updated SP2 (and any drivers you want). After evaluating whether it was worth about $140 worth of my time to pursue (you can buy an SP2 CD for $140 as an OEM purchase), I decided to give it a whirl. I followed the instructions, burnt my new SP2 CD, and I was ready to go.

Boot Camp Install

I fired up Boot Camp, and after resizing my partition, got an error about the drive not being able to verified:

Error Verifying Drives

I needed the Mac OS X CD to repair, and that was at home, so after another day of waiting, I was able to boot up and repair the drive.  I simply booted the OS X CD and chose to verify and repair the drive.  See Using Disk Utility and fsck to resolve startup issues or perform for more information.

I then started the Boot Camp installation, and after about an hour of installing, was good to go!

Installing the Mac Hardware Drivers

After booting into XP, I couldn’t figure out how to Eject the disk (I had heard you could use the button, but perhaps not yet). I finally had to click on the drive and do File -> Eject to eject the disk.

The drivers installed fine — very cool, very slick. Once it restarted, the resolution was fantastic!

Lo and behold the first thing I did was click on that USB Video device, and the blue screen of death grabbed a hold of me.  p.s. I remembered why I switched.  ;-)

Other than that, it’s been going fabulous.  It is a smokin’ machine!

the holy grail

Thursday, April 6th, 2006

MacBook Pro with 2 GB RAM

Tiger OS X optimized for Intel x86

Virtualized (Parallels) Windows XP SP2 (slipstreamed image)

BootCamp Beta from Apple

x11 VNC and normal VNCserver to Fedora Box at home
VMWare running VMWare image of RH4

The screenshot:

MAC OS X virtualized

Getting Past: “It Doesn’t Scale”

Wednesday, April 5th, 2006

A presentation by Highgroove Studios at the Atlanta Ruby Users Group on April 4, 2006.

This Presentation was a group discussion on common detractors to the adoption of Ruby and Rails in the corporate world. We discucssed how to “convince” management to adopt Ruby and the Rails framework in an objective way.

The discussion was great — many Rubyists responded positively to detractors like “it’s too young,” “it doesn’t scale,” “J2EE / PHP / ASP is good enough,” “it’s all hype,” and “we’re a windows shop….”

For more information on the next meeting and more resources, visit the Atlanta Ruby Users Group.

Download: Getting Past: It Doesn’t Scale (PowerPoint Presentation)

VMware on Linux running WinXP, VNCed on Mac OS X

Tuesday, April 4th, 2006

cooooool….

VMware over VNC on Mac OS X

Ruby User Group Meeting

Monday, April 3rd, 2006

Next Meeting—Tuesday, April 4, 2006

Date/Time
Tuesday, Apr. 4 @ 6:30 PM

Agenda

Topic Leader Length
Community Topic: Getting Past “It Doesn’t Scale” Charles Brian Quinn of Highgroove Studios 30 Minutes w/Discusion
Technical Topic: Ruby Java Script (RJS) Templates and Patterns Josh of besquared.net 30 minutes

Location.

Cox Communications
Pavilion D
5775 Peachtree-Dunwoody Rd NE Atlanta, GA 30342

Campus Directions.

Pavilion D is the bldg nearest Lake Hearn. If you enter from Peachtree-Dunwoody it’s the last bldg on the left.

The doors lock at around 6:30PM so call Mark @ 404-456-7775 if you’re late and can’t get in the building. There’s also an intercom by the door for security if you don’t have signal.

Food.

Pizza and Drinks

(optional $5-10 donation is appreciated)

Map.

http://rubyurl.com/1EC

See http://www.atlrug.org/ for more details! See ya there!