life: deer hunting with an Acura

What is it with deer? You would think that they are used to being chased by predators and are careful to avoid getting hurt and watch where they are going, except whenever there is a car involved in which case they go kamikaze.

Friday evening I’m driving home from work. It’s dark, rainy, and I’m going about 50 mph down a 4 lane divided road. Then I hear a big thunk. That was not a pothole. I didn’t see anything before it happened. It felt like it came from the left side of the car, so I immediately look to the left. I see just on the other side of the window a close-up of a deer head, a doe. My brain says, “ok, you just hit a deer”. I look in the rearview mirror as I slow down and I see the deer get up off the ground and run off the road into the woods.

There isn’t anywhere to stop on the road I’m on, so I pull of onto the first side street into an apartment complex. First step is to take a look at the damage. I try to open the driver’s side door to get out, but it won’t open more than a little bit. So I crawl across to get out the passenger’s side door and walk around. It’s just bent sheet metal, and the side mirror is hanging down. The door has a good-sized bend, there is a couple dents in the fender. Sigh, first damage to this car.

IMG_5143I call the police, it turns out that a police report isn’t needed. I took it in to a body shop for an estimate. They will replace the fender, the outer shell of the door, and the side mirror. The insurance company has been really good to work with, they are covering it under my comprehensive coverage instead of the collision coverage, which for me has no deductible so it won’t cost me anything out of pocket. My friends say “oh no, this is your favorite call that you blogged about? We’re so sorry!” Yes, the car was in basic pristine condition prior to this. But I’m OK with it, although it is a pain it won’t cost me anything and it will be put back in pristine condition. So I take a deep breath and just deal with it.

Another week and it should be all fixed.

So as I’m looking at the damage waiting for the police to arrive, I’m thinking that if I had been a couple hundreths of a second later I would have hit the deer head on and it would have been a much more unpleasant outcome. So I do have things to be grateful for.

cool stuff that doesn't cost much &life tips marcelk 22 Nov 2009 1 Comment

fun: quotes

Last night we stopped for food as a burger and shake joint, the kind where there is no seating, so we were standing outside the order window waiting for them to bring out the trays of our food. Next to us is a couple trash bins, the tall ones with the the big flap. While waiting, I turn to look at my 5 year old daughter who has her head through the flap inside the trash can. Before I can yell at her to get her head out she says, “daddy, it smells good in here.”

I tell her that it will smell better when it is our own fresh food.

life tips marcelk 03 Oct 2009 No Comments

tech: BSOD with ati2dvag

I received a new laptop recently. I was bothered when it would show a Windows blue-screen-of-death (BSOD) about once a day with a message about ati2dvag. This was a Lenovo Thinkpad W500, which has an ATI Mobility FireGL V5700 driver. And it seemed to occur when I was doing scrolling or window resizing.

ati2dvag

Unfortunately, updating the video driver from Lenovo didn’t fix it. Even reloading the OS from a factory image didn’t fix it. As was pointed out by a friend, here is what to do: open the Catalyst Control Center program, go to the PowerPlay tab and disable PowerPlay. That’s it. It hasn’t had a BSOD since. Thank you Mike!

tech tips marcelk 17 Sep 2009 1 Comment

tech: getting subversion to work in IBM RAD 7.5

IBM Rational Application Developer (RAD) is an Eclipse-based IDE. I love using Eclipse and its derivatives. I recently got a new laptop, installed RAD 7.5 (I had been using RAD 7.0), and wanted to connect to our team’s svn repository. But RAD doesn’t have a native svn client. But not to worry, it’s Eclipse-based, we can get something working.

I settled on Subclipse, as it is relatively easy to get working. It would be nice if an svn client was natively included, but we can work around that.

First, versioning. From what I can tell by looking at the plugin version numbers, it appears that RAD 7.5 is based on Eclipse 3.4 which maps to the Eclipse version name Ganymede. So when you are looking at the subclipse web site, get the version of subclipse that can work in the Ganymede (3.4) version of Eclipse.

First, start up RAD and go to the menu “Help” -> “Software Updates” and click on the “Available Software” tab. Then click on the “Manage Sites” button. If you scroll towards the bottom of the list, you should see one titled “http://subclipse.tigris.org/update_1.2.x”. As of this writing, subclipse has version 1.6, which is what I use, check the subclipse site for more info. There isn’t a way to edit the 1.2 software site URL to make it a later version, so you’ll need to click “Add” to make a new one. Use the URL for the update site for the latest version of subclipse that runs on Eclipse 3.4, which as of this writing is “http://subclipse.tigris.org/update_1.6.x”. After you’ve added this URL to the list, check the box on its left, then click OK to get back to the “Available Software” dialog.

Now click on the plus sign next to the subclipse 1.6 entry and after a moment of “Pending” it should show you some entries. I got 3 and selected all 3 checkboxes. Then I clicked the “Install” button on the top right corner of the dialog. The screen capture below shows the plugins that those 3 selections installed. Give it a few minutes to install and restart.

List of plugins installed

Our svn server has only an ssh interface, so I have to use a repository URL in the form of “svn+ssh://”.

Martin Woodward provided some good help. What got me working the rest of the way was the following: go to the menu “Window” -> “Preferences” -> “Team” -> “SVN” and set the SVN interface client to “SVNKit (Pure Java)”. I didn’t need to install TortoiseSVN and set the environment variable for tortoisePlink as Martin describes, but TortoiseSVN is good to have around anyway.

Now go to the menu “File” -> “New” -> “Other” -> “SVN” -> “Checkout Projects from SVN” and enter your repository URL (mine is in the “svn+ssh://” format). If you don’t want to set up ssh keys, you will be prompted for your ssh password and that can be saved in RAD so you don’t need to enter it each time. And compared to the setup on my old laptop, I didn’t get a popup MS-DOS window for each svn transaction.

I originally had been using JavaHL instead of SVNKit as the interface client, and had been getting errors such as “Folder ” does not exist” and “can’t create tunnel”, which went away when I started using SVNKit. Perhaps if I used tortoisePlink with JavaHL it would work, but I didn’t try that. As always, it’s a community of us that helps us work through all of it.

Here is the IBM statement on software supported with RAD. Scroll down to the bottom to “Source Configuration Management”.

tech tips marcelk 17 Sep 2009 7 Comments

life: technology and happiness

A friend showed me the following video, and I was laughing and nodding my head. Perhaps it’s because I’m in my 40′s and have seen change, and sometime find myself with the same whacked expectations that he talks about while forgetting what life used to be like. I hope you’ll laugh too.

My take on this is let’s not forget where we came from, not be self-centered, step back more to realize what an amazing world we live in, and recognize technology as an enabler and not as an end in itself. Lastly, let’s not make technology a requisite to make us happy. We can find happiness no matter where we are.

life tips &tech tips marcelk 11 Sep 2009 No Comments

tech: gmail + Thunderbird

Call me old school, but I like having a thick client for my email. Thunderbird is a great email client, I prefer it to a web browser. I also like being able to work while offline.

I also like being independent of my ISP for email services: should I ever change ISP I’d like to keep my email address. And gmail is a reliable (enough) service with tons of storage at the right cost (free). My ISP rejects my attempt to send email while traveling on a different network, but gmail doesn’t.

So how to put these things together? IMAP.

IMAP is a protocol for leaving your mail messages on the server, but still access those messages from your client as if they were downloaded locally. It’s a much richer protocol than POP3. And it can handle folders. Make a change on the client and it is immediately stored on the server. So I can use Thunderbird but everything is handled on the gmail servers.

I’m not sure how popular the IMAP service is on gmail, but I think it is pretty cool. My own ISP offers only a web interface and POP3.

Here’s how to enable it: Login to the gmail web interface. Select “Settings” then “Forwarding and POP/IMAP” and click “Enable IMAP”. It is disabled by default, but so easy to turn on. Don’t forget to click the “Save Changes” button. Now you need to configure Thunderbird to connect to the gmail servers for both receiving new mail (IMAP server) and sending outgoing mail (SMTP server). Here are the instructions for Thunderbird, or just click on the “Configuration Instructions” link in the “Forwarding and POP/IMAP” tab. Make sure that in Thunderbird’s “Security Settings” for the IMAP server that you select “SSL” so traffic flows encrypted on port 993. And in the “Security and Authentication” settings for the SMTP server make sure that you select “Use name and password” and “TLS”. This will enable all your Thunderbird traffic to be secure for when you are in the hotel or conference center or coffee shop, both incoming and outgoing mail.

But what if I want to access my email from multiple computers? The nature of configuring multiple clients to hit the same IMAP account is that a change made via one client immediately appears on all the other clients. So IMAP is the perfect way to do this. As an added benefit, I can still use the gmail web interface and see the same inbox and folders: I just got another client for free.

Are address books handled via IMAP? No. But there is a Thunderbird plugin, AddressBooks Synchronizer, to handle that. It can sync your Thunderbird address books across multiple Thunderbird instances using your IMAP account. This is how I keep my Thunderbird address book synch’d across all my clients. It doesn’t make my Thunderbird address book available in the gmail web interface, but someone is working on a Thunderbird plugin to do that too.

Maybe someday I’ll give up my old ways and use a pure browser-based email client. But in the meantime this is how I do it.

tech tips marcelk 08 Sep 2009 No Comments

tech + fun: hack your Canon digital camera

I have a Canon PowerShot pocket camera. I’m not a fancy photographer, but it works for me. I saw mention of a way to load a firmware addition in the camera that opens up all kinds of new features. This works on lots of different Canon models. Take a look at the features to see if they are interesting.

The net is that you download a file, unzip it to your SD card, put the card in the camera, press a special button sequence, and there it is. If you don’t like it, just power cycle your camera and don’t do the special button sequence, as it needs to be loaded each time. I think this is pretty cool. Just having a decent battery meter is a big help.

It’s called CHDK, and it’s free. Take a look if you have a Canon camera.

cool stuff that doesn't cost much &tech tips marcelk 07 Sep 2009 No Comments

things I wish I knew before working in the I/T industry: the bullet version

I’m continuing to write about each one of the lessons I’ve learned. However, the list is long and I’m not writing as frequently as I’d like. So for those of you who are impatient and just want to see the bullets, here is a PDF of the PowerPoint slides.

I’ll continue writing about each bullet in detail here, just click on the things I wish I knew before working category or the sitemap.

things i wish i knew before working marcelk 25 Aug 2009 No Comments

tech: don’t leave your gmail unsecure

After helping multiple people set up a gmail account, I noticed that SSL is disabled by default for the gmail web interface. The login is encrypted, but the rest of the browser traffic including your email data isn’t. Why Google did that makes no sense, I recall seeing something about them saying it will slow down users’ computers. I think this is one of the few stupid things that Google is doing. I say I don’t mind a minor slow down (frankly, I don’t think the slowdown is noticeable anyway) to secure my email traffic. Do you mind your email flowing between your browser and the gmail servers in the clear on a hotel or conference center or coffee shop wifi network? Not only could others read what you are reading, but they could also copy your session cookie and hijack your login session without knowing your password. Of course you don’t mind an unnoticeable slowdown to encrypt your email traffic. Duh!

Fortunately, this is really easy to fix. In gmail web interface, go to “Settings” and then go to the “General” tab. At the bottom select the radio button “Always use https”. Don’t forget to click “Save Changes”. There, fixed. Now all your web traffic to the gmail servers will be encrypted.

Google, there really is no excuse for avoiding SSL as the default. Yes, it will put a bit more load on your servers, but security is our friend.

[Note: this applies only to the web interface, not the IMAP or POP interface.]

tech tips marcelk 22 Aug 2009 1 Comment

tech: Shuttle SG31G2v2

This is a review of version 2 of the SG31G2 platform. I’m not sure how it differs from version 1, other than version 1 was no longer available from my vendor. [Update from Jerry: the difference between v1 and v2 includes updated rev of ethernet controller, different IEEE1394 controller, removed floppy interface and cable, one less USB header, added 2 serial port headers, added 4-pin Molex-to-SATA power converter.] I found the tech specs on the Shuttle site a little lacking. Since I was building it entirely from mail-order parts, I didn’t want to be short a cable or similar. So for anyone else doing it, here are the details.

I didn’t have a wrist grounding strap. So I touched any anti-static wrapper I had to the metal frame of the case before opening the wrapper, touched the inside of the wrapper to the case after opening it, and didn’t move myself until the part was installed. I wanted to take special care with the CPU and memory.

With Newegg, be aware of the return policies for the case, CPU, memory, and Windows OS, they are not the standard return policies. Once you’ve opened the box, no changing your mind. I suspect other retailers aren’t much different.

The SG31G2v2 includes the case, power supply, motherboard, cables, drivers, and other miscellaneous parts. What you need to add is a CPU, memory, and hard disk. And any other accessories you want, such as keyboard, mouse, monitor, card reader, DVD drive, etc.

I really like the small form factor of the Shuttle case. That’s why I paid a bit extra for the case, versus a full-size desktop.

It has an LGA775 CPU socket. I chose to install an Intel E7400 CPU, which is a Core 2 Duo running at 2.8GHz. I didn’t want to pay significantly more money for a slightly higher clock speed, the price/benefit ratio for that falls out of whack. I think the performance constraint is going to be with the disk I/O anyway. Align the triangles and very carefully place it in the socket. The pins are in the socket instead of the CPU die. The E7400 comes with an Intel CPU fan, you won’t need it because the Shuttle has a built-in cooler named ICE2 than runs a liquid-filled coil across the CPU and into the chassis fan. The benefit of that is only 1 fan in the case but still having CPU-specific cooling. The Shuttle also comes with thermal paste to seal the cooler to the CPU, the Intel CPU does not come with thermal paste.

There are 2 DIMM slots for a 2GB module in each, for a max total of 4GB. It’s best to remove the drive bay to reach the DIMM slots. The DIMMs just pop right in as you would expect. At 4GB for $50, it’s a no-brainer to put in as much memory as possible. I selected G.Skill 240-pin DDR2 800. I’m amazed at how far the RAM prices have dropped over the last couple years. Some of the RAM gets used by the video, so I really get 3.24GB of usable RAM in Windows.

Drive TrayThere is a removable drive bay which can take a total of 3 drives: an internal 3.5 inch, another 3.5 inch with optional external faceplate (such as a floppy drive, another internal hard disk, or in my case a multi-function card reader), and a 5.25 inch slot with optional external faceplate (such as a DVD drive).

Internal hard drive: I selected a Western Digital WD1001FALS Caviar Black 1TB 7200RPM SATA drive. The price is right, the capacity is great, and it is basically silent even during high use. There are 3 internal SATA data connectors on the motherboard, and the case comes with 1 SATA data cable (locking). So if you are using an OEM hard drive that didn’t come with a SATA data cable, you are set. Shuttle even provides 2 sets of screws for the drives. One set can be used for the 3.5 inch hard disk, and the other for the DVD drive. Shuttle provides a power cable with two SATA power connectors, so no Molex-to-SATA converter is needed for up to 2 SATA drives. Even if such a converter is needed, Shuttle provides one in the accessory box, so you could run a total of 3 SATA devices using the included parts. I used the SATA data cable provided by Shuttle for the hard drive.

Card reader: I selected a Rosewill RCR-IC001 which is the size of a floppy drive. It exposes the front of the reader right below the DVD drive. It connects to the motherboard via USB for both data and power. It uses a USB header connection which is different than the usual external USB A/B connector. The Shuttle has 1 USB header port on the motherboard. The reader has a USB header cable permanently attached to it, and it plugged right in to the header connection on the motherboard. The power to this reader is supplied by USB, so no separate power connection is required. Since this is a retail package instead of an OEM package, Rosewill provided screws to secure the reader to the drive bay. It’s a little weird that SD cards go in the reader upside down, but that’s not a big issue.

DVD drive: I selected a Samsung SH-S223L dual-layer SATA DVD burner with LightScribe. I wanted this PC to be legacy-free, so I chose SATA instead of IDE. If your hard disk is SATA, you will need to acquire another SATA data cable (such as this one) for a SATA optical drive, Shuttle provides only one. An 18 inch SATA data is the perfect length. Luckily, Shuttle provides not 1 but 2 SATA power native connectors. So you can run 1 power connector to your SATA hard drive, and the other power connector to your SATA optical drive. Thank you Shuttle! Even though this DVD drive comes in OEM packaging (as opposed to retail, meaning there is no screws, cables, manuals, or box, it’s just a raw drive wrapped in bubble wrap), it does come with a CD that contains Nero burning software and firmware updates. Be careful when installing Nero, it will try to own just about every possible file extension for audio and video files. Yuck! I clicked “Deselect All” in the Nero installer so that those file extensions will continue to be owned by Windows Media Player and iTunes.

There also is an IDE bus on the motherboard, and the case is wired with an IDE cable that can connect 2 devices (master and slave). Although there are 3 SATA data connectors on the motherboard, the middle SATA data connector is a bit hard to reach when the IDE cable is present at the same time. The IDE cable collapses from a full-width ribbon to a layered reduced-width cable right there near the connector, so it is crowded. Since I don’t have any IDE devices, I removed the IDE cable from the case. This definitely helped it be less crowded. If you want to use an IDE optical drive, there are a total of three 4-pin Molex power connectors. And there is an audio-out cable for the optical drive, in case you want that. I don’t bother with that since I rip my old audio CDs to MP3. The SATA DVD drive didn’t have an analog audio-out interface anyway.

I don’t have any PCI or PCI Express cards. Just using the built-in video. I’m not a gamer.

So after I was done, there was 1 SATA data port, 1 IDE data bus (that could run both a master and slave device), and three 4-pin Molex power connectors unused. The Molex-to-SATA power converter provided by Shuttle also went unused. All the drive bays were full. The PCI and PCIe slots were unused. I had all the screws I needed, and ordered just a single SATA data cable.

For the OS, yes, I picked Windows. But XP. I wish I could run Linux, but the family has applications that are Windows only. I don’t like sending money to Redmond. No need for Vista, XP Home works fine, and I already have all the peripheral drivers I need. I got the system builders version. It does come with media and a license sticker for your case. Just boot the CD and follow the on-screen wizard. It did take about 3 hours to do a full format of my hard drive.

Since I wanted to let the family use this computer, and I’ll take over the old one, we now have 2 computers in a small space. No room for a 2nd monitor/keyboard/mouse. I wanted a KVM switch to reuse the monitor in our small desk space. I got a Startech SV215MICUSBA. I like the wired remote control that I can put next to the monitor to switch between the 2 PCs, no need for a keyboard sequence. And I like that it includes audio out for speakers and mic in that connects to both computers. It expects a USB keyboard and mouse, and analog VGA video output and monitor. When you switch from one computer to the other, the keyboard and mouse get disconnected from the non-selected computer: you hear the audio cue that Windows is disconnecting USB devices. And the selected computer sounds about finding new USB devices. But it all seems to work fine.

The original keyboard I had was PS2 connected, I wanted to replace it with a USB one. I found a Saitek PZ30AU Black USB Standard Eclipse keyboard that had lots of recommendations. I like that the keys are backlit (in blue), as the desk is in a room that doesn’t have much natural light. The backlight has 3 settings (bright, dim, off) that are controlled from a small button on the keyboard. Even with the backlight novelty, I think the keys move OK. I also like the built in wrist rest.

And during installation, Windows hardware detection would hang until I discovered that my existing USB mouse was flaky. It wouldn’t hang if I disconnected the mouse. It had been acting a bit weird on the old computer. I replaced it with a simple Logitech SBF-96. You can’t get much more simple than that.

Total parts list:

Shuttle barebones SG31G2v2 $200
Intel E7400 CPU $118
G.Skill DDR2-800 4GB RAM $50
Western Digital 1TB SATA hard disk $100
Samsung SH-S223L DVD drive $29
SATA data cable $3
Rosewill card reader $17
Windows XP Home $90
Keyboard $45
Mouse $10
Total $662

Shipping costs for everything was $39 extra.

It is fast and quiet. Niiiiice.

There is a blue power LED on the front of the Shuttle case. It is really bright. So bright that at night it bathes the room in a blue glow. I need to close the doors of the computer desk at night.

I tried a Microsoft Comfort Curve keyboard, and eventually decided that for the Curve to really work you have to consistently use that keyboard. I spend most of my computer time on a regular laptop keyboard, so the Curve keyboard would be the exception. For the little bit of time I used this one I had to look at where I was typing, which I don’t typically do. I gave up on it and went with the Saitek keyboard.

For a while, I was rather displeased with the video quality from the analog VGA connection. It looked blurry, and the contrast appeared too low and the saturation too high. I spent a bunch of time fiddling with the color correction settings on the card via Windows Display properties. When I finally remembered that my LCD monitor had its own settings, I selected the monitor’s “auto config” and it’s much better. Just a teeny bit less clear than my old computer, but now it is OK.

The Shuttle web site says it has 7.1 surround sound. Be aware that there are several 1/8″ headphone-style connectors for analog, not a single S/PDIF optical or coaxial digital output.

It’s kind of amazing to do a “dir c:\” and see only 3 entries: “Windows”, “Documents and Settings”, and “Program Files”. No junk installed by the manufacturer.

Overall I’m really pleased with how it turned out. I was basically quite surprised at how well everything came together. Part of that credit should go to Shuttle, they did a nice job. I had been looking at a pre-built system from a well-known manufacturer for about the same amount of money, but they had a smaller disk drive but included an LCD monitor. Between 5 iPod users and 3 camera owners sharing this PC, we need the disk space. Even though the specs looked similar, I think I ended up with a higher quality system. I understand that in the razor-thin-margins of the PC industry, finding the cheapest components is what it is about. And as in most places, you get what you pay for. I think I ended up with a good balance of price and quality/performance. I’d do it again.

tech tips marcelk 30 Jul 2009 5 Comments

« Previous PageNext Page »