udev broke, server broke, router broke

I attempted to get a webcam going on our home server. So, I plug it in, and since I’ve done this before I ran a script I made to grab an image from the webcam. Which didn’t work. So, after checking out why (/dev/video0 node was missing), I noticed that the kernel no longer had support built in. After going through the kernel options, I realized they changed the v4l and webcam support options around and since I just upgrade using “-silentoldconfig” (the bad way to do upgrades), it broke whenever I upgraded to 3.

OS X? Unimpressive.

I’ve been working with a MacBook Pro and OS X 10.8.2, and I have to say I’m not impressed. Coming from a background that consisted almost entirely of Windows and Linux, it isn’t all it’s cracked up to be. It’s still another OS with it’s own set of problems. That said, the user interface is more consistent and usable, in a lot of cases, than Windows and especially Linux desktop environments.


I’ve been working on a small Arduino project to datalog my commute. I’m using an Arduino Uno with SK Pang’s CAN Bus Shield. I also have added the optional GPS and LCD to the mix. There is an micro-SD card slot for storage. The aim of the project is just to collect data. As much as I can put into the SD card. I plan on calculating driving efficiency using somewhat arbitrary measures like throttle modulation, temperature, etc.

BBC’s Top Gear > Top Gear USA

BBC’s Top Gear resumes today! I can’t wait to watch it. It’s been a while since they left off, and I’ve been watchin TG:USA in the meantime during my lunch breaks. TG:USA, will it really work? It just feels so scripted. I know, BBC’s Top Gear had a rough start too, like many shows. But, I’m watching season 2 right now, and the chemistry just hasn’t happened. I like Tanner, he actually has lines that seem natural.

Home server is back online

I’ve pulled power and cable from the attic and just powered up the home server again. It’s been asleep for 5 months until now. I’ve just done an emerge -sync, and it took about 10 minutes to complete. However, it went up without any problems, which is good. Considering I turned it off in a working state. I was tempted to backup all my config files and start fresh with, say, Arch Linux, but that would take all weekend.

Refactoring with regular expressions

I’m re-learning JavaScript, and I noticed I was refactoring functions a lot on some old code. I’m putting some useful stuff here for reference: aFunc(blah) → this.aFunc = function(blah) Find: function (\w+)( Replace with: this.\1 = function(   To go the other way: Find: \t(\w+)\s=\sfunction( Replace with: \tfunction \1(   Change aFunc(blah) to SOME.qualifier.aFunc(blah) Find: \t(\w+() Replace with: \tSOME.qualifier.\1

Gentoo on a mid-2012 MacBook Pro

If your sick of your brand new MacBook just working (more or less), and you just feel like modifying your kernel’s source to get your computer to work right, you’ve come to the right place. I (finally) managed to get Gentoo booting on a new MacBook Pro (15”, Core i7, mid-2012) alongside OS X 10.8.2. I suppose it actually wasn’t that bad, it could have been much worse. I only had to reinstall OS X once after a wonky partition editor….

This PC loves Adobe

So much, that it installed multiple copies of the same Flash updates: Actually, it appears to be a registry glitch rather than multiple copies. As much as I don’t like Adobe’s updating/installation practices (opted-in toolbars, programs), they do have a relatively easy to find and use Flash removal application.  

The Other End of UXD

What do you do, as a software maker, to discourage someone from uninstalling your software? Make it take a lot of clicking: Excellent job, WildTangent. Now, I thought I would be clever and just focus onto the listbox and press the space bar and down arrow key multiple… multiple times. Well, it would seem they thought of that scenario and made the Cancel button the object that receives focus right after the listbox.

QEMU on Windows

After fumbling around with various downloads and patches, I was able to find a working QEMU build for windows. I am running Windows 7 64-bit, and I wanted to run an ARM system (specifically, to develop for a Stratus plug computer). Before this, I was running a virtualized Ubuntu using VirtualBox and then running QEMU within that. Performance was not noticeably bad. However, I had problems bridging the QEMU to the Ubuntu host, which was bridged itself.