Archive for the 'Geeky Stuff' Category

Argh! Programmer Stupidity!

So, I’ve been trying to run down a problem with a web app I’m working on since about 2 p.m. today. Since then I’ve probably put about five hours into finding the “problem.”

This particular app stores its data in an XML database. I thought that the app wasn’t saving part of the data, because every time I updated the data on my local copy and checked the XML file, the file didn’t reflect the changes I’d made.

I just discovered the problem. Although I was testing the app locally, I was checking the XML data from the development VPS at the datacenter. Kind of hard for my local copy to update the database at the datacenter.

I think this means it’s time for a break …

Caps Lock Disabled!

Yay! I found a program (DoubleCommand) for OS X that allows the user to, among other things, disable the caps lock key! It’s now been installed on my computer, so that I don’t accidentally activate the blasted thing. Now if we could just have it installed on all computers by default, or just remove it from the keyboard. The caps lock key is most certainly one of the most foul inventions to have been foisted upon humanity in the last few hundred years.

IE8 Beta 1 Hits the Streets

Last night I downloaded the IE8 Beta 1 release and started playing with it. I cloned one of my XP Pro virtual machines and installed it on that so that I still had machines for IE6 & IE7.

ie8beta1.png

For the love of all things good, why haven’t you guys fixed that gawdawfuluglyhorrendous interface?

At least you’re making strides towards being seriously standards compliant.

Five Happy Observations from Mac Intel/Leopard Land

I’ve now had my new Macbook Pro for a little over a week. This is my first experience with a) an Intel Mac and b) OS X 10.5 (Leopard), so I thought I’d share some things I think really rock with my new setup:

  1. Spaces (OS X’s virtual desktops implementation) - I tried a few third-party virtual desktop programs in the past, but they generally were buggy … and none of them are as slick as Apple’s implementation. I’ve gotten really comfortable with the setup in the last few days.
  2. Time Machine (OS X’s new backup utility) - I plugged in my Western Digital MyBook 500gb drive and it immediately asked if I wanted to use it to back stuff up on. Well, now that you mention it … sure! And, it does this automatically when the drive is set up. I’d like the ability to tell it when not to do backups since a little extra disk usage during the day when I’m chugging away at the drive with other processes isn’t welcome, but other than that it’s slick.
  3. Unity Mode in VMware Fusion - It’s creepy to see a Vista window on my OS X desktop, but it’s much nicer than running the OS in a window. Being able to switch back and forth between OS X and Windows apps rocks. Yeah, I know Parallels does it too, but I’m declaring my allegiance to Fusion since it runs the virtual machines I’ve made in VMware Server and Workstation. That’s just way too valuable.
  4. iCal - Looks much better than it used to look. That is all.
  5. System Preferences - Whoa! They made the network preferences logical! Yeah, I was confused the first time I went looking for Internet Connect to connect to my office VPN, but once I figured out where it was, I was happy. Oh, and the new icon is sexy too!

Now … when I can come up with the spare cash to upgrade to Adobe CS3 in the next month or so, I think all the apps I depend on for most of my work will be Universal Binaries. That reminds me … I have to give some props to Apple for handling the PowerPC => Intel transition so well. Yeah, there were some hiccups with the early machines (which I studiously avoided by being a cheapskate and sticking with my Powerbook for nearly four years) but overall it went really well.

Methinks I Have Spotted an OS X Bug …

Notice anything unusual about the amount of memory Java is supposedly using according to Activity Monitor? Here’s a hint … my disk drive is only 160 gigs …

activity_monitor.png

I *LOVE* VMware Fusion

I’ve looked forward to getting an Intel Mac for some time now, if for no other reason than because I could run a Windows virtual machine significantly faster since there wouldn’t be any need to do “translation” between Intel and PPC instruction sets. Even on my pretty healthy 1.5 GHz Powerbook G4 with 2 GB RAM, XP was glacially slow … and that was after I disabled nearly every non-essential Windows service and ran it at 800×600.

Then VMware introduced their Fusion product, which uses (basically) the same virtual machine format used by VMware Player, Workstation and Server. I’ve got all three products in use at work. I build VPS machines in Workstation, use them in Player, and have a number of Server VPS machines running on host machines at the datacenter. Running Fusion would mean that I could move the VPS machines to my Mac and test them, which would just be cool. Several times in the past, I’ve duplicated a running VPS from the datacenter and tested upgrades … and it’s saved my bacon.

In the last couple of weeks, while I’ve been without my Powerbook after its logic board failure, I created a CentOS5 VPS to use to test things on while I was using the Vista laptop. Yeah, I know I can install XAMPP, but I just don’t trust it for my development work. Of course when I got the Macbook yesterday, I went ahead and installed Fusion on it and copied over the VPS, and had it up and running with a minimal amount of hassle.

And today … just a few minutes ago, I discovered that they have an application that will convert Virtual PC 7 machines to the VMware format. I ran it on my IE7 XP virtual machine, and it worked like a charm. I’ve already ordered a copy of Vista to run as a virtual machine too (just because it’s different enough from XP that I want to be able to test on it without having to use another machine), but I probably won’t get it and be able to set it up until mid-week. Having the XP machine means I can test stuff in IE 7 right now. Yay for VMware!

17″ Macbook Pro is Here!

Well, actually it’s been here since this morning. I’m working on getting it configured properly now. One of the main things left is to move the virtual machine I created in VMware Workstation on the Vista machine to test my sites and scripts on over to this machine. So far, for some reason, the larger files just don’t want to copy over the network. I may have to copy them to a USB drive and then copy them from the drive to here … we will see.

This machine is massive (or at least looks like it is) compared to the old 15″ Powerbook. The extra screen real estate is wonderful. With the old machine, when I was at my desk, I was using a 19″ LCD as my primary monitor, and the Powerbook display as my secondary display. I’ve reversed the setup here … the LCD is my secondary display. Right now I’m not really using it for much of anything … but I know I will in the future … referring to documentation, etc.

I’m glad I stepped up to the 17″ model. It’s well worth the added cost, especially given how often I end up working out of the office with my laptop.

Now that I’m back on my Mac again, I’ll (hopefully) get back on track with posting blog articles and such …

My Macbook Pro is in Louisville …

It’ll be here tomorrow. This is like Christmas as a kid. I might not sleep. I’ve been without a functioning Mac for too long now …

Getting a New Mac

My attempt at fixing my old, trusty Powerbook didn’t work out so well. I did indeed get the drive swapped in, and the machine is faster … but now it either goes to sleep or shuts down randomly.

So, I made the decision to replace her.

I just signed lease documents for a 17″ Macbook Pro. I’ll be overnighting the documents back to Apple tomorrow, and then (I think) the Macbook Pro should ship on Thursday, and I’ll get it on Friday.

I guess it’s about time I moved into the Macintosh Intel era …

Powerbook Back in Action

I’ve got my new hard drive installed in the Powerbook (I upgraded from the factory 5400RPM to a 7200RPM drive, which makes things a bit snappier), a fresh install of OS X on the machine, and I’m starting to get things back to normal again. It’ll probably take me a week or so at the least. It’s nice to be blogging using MarsEdit again instead of the lame editor in WordPress …