31 October 2005

New toy

Well, such a deal! For my birthday, my lovely wife got me an iPod. Black, 30G, the new one that does video. It's really cool! Yeah, I know I'm pretty late to this particular party, but I've invested a lot into some good stereo gear over the years, so I tend to listen to music at home and in the car, not *everywhere* that I go. Oh sure, I've wished I'd had something I could listen to while mowing the lawn and stuff, but not so often that I've ever actually gone out and purchased something.

I've been watching the iPod Phenomenon, as I'm sure all geeks have, and I've been really amazed at the speed and depth of its penetration. I get the occasional overpriviliged Yuppie catalog, and they're all loaded with iPod accessories -- FM transmitters to play your tunes in the car, docks and speakers and holsters and armbands and cases and lanyards and on and on. I usually don't glance much at these, but yesterday I saw that Klipsch makes an iPod dock, and now I want one. It's too expensive, but it looks like a nice rig, and if it really is made to Klipsch standards, then it could be pretty sweet.

Oddly enough, this is really our second iPod. I actually got one (a pink Mini) for my wife the last time we were going on vacation, but she opined that she wouldn't use it that much, and that we could do something better with the money. Yesterday, after playing with mine, she admitted that she kind of regrets sending it back. Her birthday's coming up in a month or so, I wonder...

24 October 2005

Ruby on Rails: Um, yeah, maybe

Well, I was going to plunk down some hard-earned study time to finally get my hands dirty and learn about Spring when I got sidetracked. A lot of the Java news sites were carrying stories about this new technology Ruby on Rails. I remember looking at Ruby a few years ago and thinking it looked like a neat language, but I never really spent any time with it. Now it's got this new Active Record concept and people are claiming impressive productivity gains, so I thought I'd bite and check it out in earnest.

So. I get my box all set up (build & install Ruby 1.8.3, build & install PostgreSQL 8.0.4 [in 2m15s!], download RubyGems so I can download Rails, download Rails). Now to find a quick tutorial that will get me up and running....

Well, given that I'm on a Solaris box now, there's no Quicktime for me, so the on-line "learn Ruby in 15 min" video is out. I got a copy of the Ruby LRM, which is pretty good, but it's not the quick tutorial I was looking for. And as far as I can tell, there isn't one. What I had in mind was something like the Struts sample: copy it to the Tomcat webapp directory, let it deploy, then browse it and its source code. I can't even find an example of a web page with Ruby embedded in it! Maybe I just don't know where to look, but it shouldn't be that hard. Oh, and mod_ruby refuses to build for me (something about "gcc: unknows flag -Xa, unknown language idlfull", something like that). I'm building for Apache 2, so maybe that build wasn't tested. I only tried the latest version, so maybe I should drop back one or two (I was using something like 1.2.4, which just came out, it didn't look like much had changed in the last couple of versions). When I find the time, yeah, maybe....

26 September 2005

Now It Can Be Told

Well, after much wailing and gnashing of teeth (why does useradd(1) try to create home directories under /home if Solaris reserves that for mount points?), I now have my shiny new Ultra 20 up and running. I got a user account added so I don't have to run as root, and I've at least looked at the included software (Java Studio Enterprise and Java Studio Creator). Haven't actually had enough time to create a project yet, but I think I've got everything else squared away enough so I can focus on Java develoment. The box comes pre-loaded with JDK 1.5.0, which is nice. I'm not sure if it's the 64-bit or 32-bit version, though.

Interestingly, the box seems to get faster as I use it. When I first started playing with it, it seemed to take forever for a new terminal window to pop up. Now it's (subjectively) quicker. The CDE seemed definitely quicker than GNOME, but that's not too surprising given that it's been out longer (I remember using it HP workstations back in the mid-90s). The GNOME environment is no slouch, though. I first used GNOME back with it first came out, when I was running RH5.2 with (I think) the 2.0.36 kernel. It was usable, but I eventually switched to Enlightenment. Then I dropped Linux for good and went over to NetBSD and never looked back. I hope Solaris works out.

I got Apache started, but I think I'm going to see what the Sun application server has to offer before I go much farther down the infrastructure setup route. I'll probably wind up installing all kinds of stuff (Tomcat, JBoss, Resin, Jetty) before I'm done, but I'm going to start out with the Sun suite and see what the creators of Java have managed to do. I have a feeling I'm going to be downloading Eclipse sooner rather than later, though. It's like vi -- my fingers know it too well to leave it behind for long.

22 September 2005

Open mouth, insert bullet, close

Well, I can't take it anymore. I ordered a 19" LCD monitor from the Dell Outlet for $318 (+ $36 s/h), then found one with almost identical specs at the local Sam's Club for $349. Works out to be a little more expensive with tax, but I don't have to wait a week and a half for it to be delivered. I forgot, this is the reason I went with a Gateway 7330GZ from Best Buy instead of the Dell Inspiron: I needed a laptop quickly for a trip, and Dell couldn't ship fast enough. I dunno, this build-to-order, just-in-time inventory thing seems to be working for Dell, but they're not getting me as a customer because of it. Nothing against them, they just can't cater to the instant-gratification crowd. Oh well, they do seem to handle order cancellations well.

One thing I am happy about, though -- it's time to fill the Honda again, and I finally broke 50mpg average for a tank. This tank, I've averaged 51.4mpg; not bad, considering when I was commuting to Omaha every day (70 miles at 75mph each way) I was lucky to keep it above 40. The sweet spot seems to be around 55mph, where it indicates ~80mpg, but it seems to get 60 or so at the 30-40mph I spend most of my commute at.

21 September 2005

Be Careful What You Wish For

Well, synchronicity makes its typical play again. The same day I whinge about my lost-in-limbo Ultra 20 workstation, it shows up on my doorstep. So I drag it inside and unpack it. The keyboard's kind of cheap (I use a Unicomp Classic at work, and an Avant Stellar at home), but it's usable. The documentation's pretty skimpy, but all I have to do is plug in the keyboard, mouse and monitor and add the power and network cables and I'm good to go, right? Well, in an alternate, reasonable reality this might have been so, but this is my life so what comes next is not unexpected: The machine roars (and I mean ROARS) to life, then quickly quiets down as the CPU temperature sensor throttles back the fan on the heat sink. The little system status light turns green, indicating that the POST went successfully. All's good, except I have no video. I should point out that I got the "medium-sized" Ultra 20, which includes 1GB of memory and an Opteron 148 CPU. It also includes an nVidia NVS280 accellerated graphics card, which supports up to two DVI monitors. I don't have a DVI monitor (yet), so I plugged my VGA monitor into the on-board video (an ATI Rage XL chipset). Apparently there's no monitor sensing or anything, video goes somewhere by default and of course, in my case, goes Somewhere Else.

So, in short, I'd like to be terribly impressed by the Ultra 20, but that hasn't happened yet. Right now Plan A is to take the whole thing down to the basement and hook it up to the TV (which has a DVI input), but I still need a cable which I probably will only use once. Plan B is to get a DVI monitor, but I don't have the cash ready for a nice one and I'd hate to get a cheap one and then have to fight to justify replacing it in a few months when I have some cash together. What to do, what to do....

20 September 2005

What I Want

All I want is a kind word, a warm bed, and unlimited power. -- Ashleigh Brilliant
Power corrupts. Absolute power is kind of neat. -- John Lehman,
Secretary of the Navy, 1981-1987

Money, power, fame & fortune. All of the power and none of the responsibility. The same things that everyone wants -- well, if you're an angsty teenager, anyway. For those of us in our post-formative years, this seems excessive and short-sighted. Again, perfect if you're an angsty teen.

Right now, I'll settle for delivery of my Sun Ultra 20 workstation. I ordered it back in June (June! It's the middle of September! Where is the...expletives fail me...thing?). I'm actually on rev 8 of my angry letter to Sun regarding order fulfillment and customer communication, I'll probably put a little polish on it as soon as my workstation finally gets here (how many "t"s in "wretched", anyway?) and send it off with a note to "share and enjoy". I mean, seriously, I understand about pre-selling, and I understand that Sun probably isn't used to dealing with one-off, low-margin customers, but come on! I was never notified when the systems became available, I was never notified when my system shipped, and there was a mysterious hold on my order that was never explained to me. Is this any way to do business? All I have to say is, I have a 90-day return policy, and if this system doesn't rank right up there with sliced bread and shared libraries, it's going right back in the box.