Thursday, August 25, 2005
H.264 encoding a 40 minute video at 720x480 resolution and medium quality from iMovie on my 1 Ghz PowerBooks is taking close to 30 hours! I have single-pass encoding turned on; it's normally meant for draft and live encodings. Is this normal? How can QuickTime Broadcaster possibly stream this codec live? Am I missing something? I wish Quicktime supported distributed encoding so I could team up with some Mac weilding co-workers and utilize their idle cycles. Maybe I could throw something together. After all this waiting, I hope it turns out okay.
According to a story on ZDNet, the MPAA has started mining logs from web sites known to host copyrighted movies (movies which happen to be downloaded using Bittorrent), and it plans to sue file swappers. Frankly, the quality of those movies sucks and is not analogous to the quality of MP3s. I wish the movie industry (or Apple) would hurry up and release a legitimate alternative a la iTunes. We obviously have the technology. I hate theatres, parking fees, and not being able to pause the movie when I have to pee, not to mention it's difficult to make it to the theatre with a newborn. I would gladly pay as much as I pay at the theatre (or even more) to download a newly released movie and watch it in the comfort of my own home.
I've been managing my crazybob.org email from my Gmail account for some time. I was always able to set the reply-to field to crazybob at crazybob.org, but my emails still said they were from my Gmail account. Not anymore. Gmail now allows you to change your from address. Click "Settings" and then "Accounts" to add new addresses. The best part is you can have multiple from addresses. When you compose an email, you can choose a from address from a dropdown list. I've needed this desperately for some time. In the past, I used to create custom email addresses each time I signed up for something. Though gmail already supported additional addresses (for example crazyboblee+foo at gmail.com) my emails would still say they were from my gmail address and people would still know what my real email address is (just drop the +foo). No more. Now I can create custom addresses (for example foo at crazybob.org) and still send to mailing lists.
Wednesday, August 24, 2005
Monday, August 22, 2005
Born 9 lbs, 1 oz, about 5 minutes ago. Update: Change of plans. When it came time to sign the birth certificate, we decided to go with Dagny. I think my mom put it best:
I think your heart told you it's different for girls. There are so many set ideas for women. Your daughter needed a name that refused to be dismissed. Bobbi is cute. For a little girl. Roberta was fine for a woman. But what you gave her with Dagny is a leg up. Before she appears, her name will tell everyone who matters that she is serious. Her parents were intellectuals. She comes from a place where ideas are paramount, and part of everyday life. She will be a force. And when she shows up with a great bod and your quirky sense of humor, those qualities will be all the more attractive because of their incongruity. She may hate you through grade school, but I don't believe so. You will teach her to be proud and confident. She will have the cool name because you tell her it is so. And, whenever you think of her, or call her name, you (and everyone else) will remember how important she is. Aren't you glad you didn't have to make that circumcision choice?I still get to call her "Bobkat" though. ;)
Sunday, August 21, 2005
Friday, August 19, 2005
Krista and I will get induced tomorrow morning. Well, Krista will get induced--I'll just provide moral support and record the event. I guess having a beautiful baby girl will make up for missing Foo Camp. ;) In a few short hours, the World will meet a future female president of the United States, China or the United Federation of Planets depending on how the next 45 years play out. I'll try to pop in to camp and say, "hi," tonight. I'd promise to post some video of tomorrow's event, but Krista erases the camera every time I turn by back.
Tuesday, August 16, 2005
Krista and I could have a baby girl at any moment. If she comes soon or late enough, I can go to Foo Camp. If she decides to come late Friday or Saturday, I obviously can't. At first I accepted the fact that I wouldn't be able to go, but Krista insists I can't miss Foo Camp if at all possible. Krista pointed out that Cam spoke at TSSS when his wife was 40 weeks pregnant. Whereas Cam was 3 time zones away, Sebastapol is only about 50 miles from our apartment. Krista's mom can hold down the fort for an hour. Does Krista rock or what? If I do make it (cross my fingers, knock on wood, rub Krista's belly), I'm looking forward to brainstorming what WebWork and even Java as a whole can learn from Ruby on Rails. Pat Lightbody, Pat Niemeyer and I have gone back and forth on some pretty sweet ideas the past couple weeks, and Lightbody even has some working code. In any case, thanks, O'Reilly, for the invite!
Tuesday, August 09, 2005
I'm trying to decide on a name for my daughter (any day now), and I'm reading Atlas Shrugged. Ayn Rand named her protagonist Dagny. Dagny means, "day, brightness, new day, Dane's joy." I love the character and I appreciate the name's uniqueness. Any idea how to pronounce it?
The author of the Salted Hash Login Generator just emailed me to say that someone has posted a fix for my problem to the bottom of the wiki page. I can't wait to try it. Perfect timing. In the mean time, does anyone know how to configure the SMTP server in OS X 10.3 so I can send mail from my Rails application?
Sunday, August 07, 2005
I have a small, one man project for a friend that I don't want to spend much time or hosting money on. I dove head first into Rails (and Ruby) yesterday. I'm running Ruby 1.8.2 and Rails 0.13.1 on OS X 10.3. I've known Java cold for some time, so I can't say I'm enjoying the fish out of water feeling. Naturally, I ran into two obscure errors which burned almost an entire day out of my weekend. First, I tried to use the Salted Hash Login Generator. After running the generator, I get the following exception when I try to run the unit tests: I contacted the author, but only one other person has encountered this problem, and he couldn't explain it. He even copied the other person's code over to his machine and everything worked fine. This particular exception occurs because the required cattr_accessor method has not been introduced yet. The Rails code introduces this method, but I have no idea why it's not happening; probably an ordering issue. I tried modifying the mock class to not call this method, but I just ran into another exception (and so on until I gave up). Maybe it has something to do with my Ruby build. The exception occurs in the environment.rb file. Doesn't the server load this as well? That seems to work. I abandoned the Salted Hash Login Generator for the simpler but much less functional Login Generator and got back to the task at hand. Next, I thought I'd take scaffold for a spin. I generated scaffolds for a domain class named Request. The unit tests passed and the list view came up fine, but the new Request view blew up. It couldn't find some obscure field in the Request class. It took me a while to figure out that my Request class was completely replacing the HTTP Request class. Aren't they in different packages? How could Rails allow this? In any case, I renamed my domain class and everything worked as expected. Now that I'm up and running, I can see some of the appeal, but Rails has been over hyped. I'm starting to think some Java developers subject themselves to a lot of pain with badly designed development evironments. Of course they feel better when they move to Rails; it has a pretty decent build by default. You can't blame lousy builds and slow server deployments on Java. Also, Java code certainly looks more verbose (type checking requires more code), but if you know how to take advantage of an IDE, you don't actually manually write much more code. Exploring Rails for the first time, I definitely miss type checking and my IDE. I really like the idea of scaffold. It obviously can't generate production worthy code, but it definitely gives you a good starting point. Staring at a blank text editor can be daunting for a new user in any language. Scaffold builds an end to end working foundation. I think this appeals to slightly better than cut and paste coders (such as myself at the moment).