Archive for the ‘Geekery’ Category

Online RAID Level Migration

Tuesday, March 2nd, 2010

I recently decided to shell out for a somewhat pricey RAID card for my home NAS. It wasn’t an easy decision, but I really wanted a card that supported Online RAID Level Migration (ORLM) and Online Capacity Expansion (OCE) at the hardware level.

Do I really need this at home? It turns out that I do. I am currently migrating my original two-disk RAID 1 array to a three-disk RAID 5 array, which will non-destructively double my usable space.

I don’t really have anything else to say about this; I just think it’s really cool. Good lord, I’m a geek.

Perl Advent

Tuesday, December 8th, 2009

As a happy Perl coder it feels like I’ve been looking forward to Perl 6 forever. This latest version of Perl has been in development for a very long time, and some pessimistic folks have suggested that it will never be done.

But progress is being made. Check out the Perl 6 Advent Calendar for daily updates between now and Christmas time. There are some really good practical examples on that site, including simple directions to download and build Rakudo, the most well-known (and probably most complete) implementation of Perl 6.

Kubuntu

Tuesday, November 3rd, 2009

I’ve been seeding the latest Ubuntu release since it came out last Thursday, and I’ve noticed something interesting: I’ve uploaded almost twice as much Kubuntu as Ubuntu.

This isn’t a scientific test by any stretch, and may not be significant, but I do find it interesting. A year ago I think the results may have been very different.

I’d be interested to know if these results are typical.

ZFS now supports synchronous block-level deduplication

Monday, November 2nd, 2009

This post has a great write-up.

So awesome.

VPS hosting

Tuesday, October 27th, 2009

I’ve been wanting to try Virtual Private Server (VPS) hosting for a while now and I finally found some time this past weekend to get going.

After looking into my options (and there are lots of them) I decided to go with Linode. It has a good balance of features and cost, and there are a number of very positive reviews online. The biggest drawback is that you have to take care of your own backups, but I can deal with that. I suspect that automated backups are coming since several customers have requested this feature.

I’m on a month-to-month plan for now so I can test it out. If I like what I see I’ll think about migrating all of my shared hosting from A2 to Linode.

Terminal colours

Wednesday, September 16th, 2009

The default dark colours in most terminal emulators (e.g. gnome-terminal, konsole, PuTTY) don’t work so well for me. In particular I find it hard to read their blue-on-black.

I have found a palette that I like; I think these colours originally came from xterm, but I can’t remember for sure. All I know is that every time I set up a new box I have to dig up a small piece of paper where I’ve written these numbers down (or find a backed up configuration file from an existing machine).

No longer! I’m posting them here so I can easily find them in the future. Maybe they’ll be useful to you too. Without further ado:

  1. 000000 (0, 0, 0)
  2. CD0000 (205, 0, 0)
  3. 00CD00 (0, 205, 0)
  4. CDCD00 (205, 205, 0)
  5. 1E90FF (30, 144, 205)
  6. CD00CD (205, 0, 205)
  7. 00CDCD (0, 205, 205)
  8. E5E5E5 (229, 229, 229)
  9. 4C4C4C (76, 76, 76)
  10. FF0000 (255, 0, 0)
  11. 00FF00 (0, 255, 0)
  12. FFFF00 (255, 255, 0)
  13. 4682B4 (70, 130, 180)
  14. FF00FF (255, 0, 255)
  15. 00FFFF (0, 255, 255)
  16. FFFFFF (255, 255, 255)

Enjoy!

Return of the night of the living dead BS lawsuit

Monday, August 31st, 2009

Apparently SCO isn’t quite dead yet. This is like a really bad horror movie.

Notebook or netbook

Tuesday, July 28th, 2009

My beloved ASUS W7J is dying. It’s been dying a slow death for a while now, but more and more I’m wondering if it’s time to put it out to pasture.

The GigE NIC has only connected at 100 meg for about a year. It’s running a lot hotter than it used to. The webcam never worked, but that’s a driver issue. Suspend and resume don’t work reliably anymore, and the DVD writer makes coaster after coaster at anything faster than its lowest speed.

As a result I’m in the market to replace it.

This past weekend Lenovo, makers of the legendary ThinkPad, had a sale. I spec’d out a sweet little number that would probably be my ideal notebook: an X200 with 12″ widescreen at 1280×800, Core 2 Duo at 2.4 GHz, 4 GB of RAM, Bluetooth, 802.11b/g/n draft wireless, GigE wired ethernet, a webcam, 160 GB 7200 RPM hard disk, 5-in-1 card reader, 9-cell battery.

Really, really nice.

Even with a $500 discount it came in at $1750 before taxes, and it doesn’t have an optical drive. If this was a business purchase I’d get it without thinking twice, but as a super-portable personal machine it seems a bit much.

I’ve been keeping an eye on the so-called netbook market ever since ASUS introduced their original Eee PC. Some of these machines are getting pretty beefy, and a 10″ screen might just be big enough.

I’m test-driving an ASUS Eee PC 1000HE from Staples (they accept returns on laptops for 14 days). For $450 I got an Atom processor at 1.6 GHz, 1 GB of memory, a 160 GB hard disk, 802.11a/b/g/draft n wireless, Bluetooth, a 1.3 megapixel webcam and an SD/MMC card reader. At 10″ and 3 lbs and change it’s smaller than the ThinkPad, but maybe a little bit heavier.

It claims 9.5 hours of battery life. I’m sure that’s an exaggeration, but even 5 hours would be twice what I get with my current laptop.

So far it’s a really nice little machine. The screen resolution is very low (1024×600) but I knew that going in. I think I can live with it. The big surprise so far is that the wireless card doesn’t work very well under Ubuntu 9.04. Everything else that I’ve tested appears to work just fine, including the webcam.

If I decide to keep it I’ll upgrade the memory to 2 GB and buy an external USB DVD writer from NCIX. These two upgrades will cost less than $100. I’d be giving up the Core 2 Duo CPU, half the memory, a better screen, the GigE ethernet and the ThinkPad case badge, but I’d be paying a third as much as Lenovo’s sale price. I’d also be getting the external DVD writer and wicked-long battery life.

Sounds like a pretty good compromise.

In search of a tiling window manager

Friday, July 24th, 2009

I’ve been interested in tiling window managers for some time.

I find this type of interface to be great for programming. It helps me focus by keeping everything that’s important in front of me while making efficient use of my screen. There’s nothing extraneous to distract me, and being able to do everything via the keyboard can be a huge time-saver. (Think about how much time you waste each time you reach for the mouse, move it around a little to find your pointer, click around, and then find your way back to home row.)

While writing code I normally have an Emacs window and a few terminals open, and I periodically launch, close, or or refer to other windows (e.g. PDF viewer, web browser). I like to have Emacs take up the full height of the left half of my screen, and to divide my terminals and stuff up vertically on the right half.

I’ve used GNU Screen at the console (or even in a full-screen terminal emulator) for this in the past, but Screen only splits vertically and it only supports text-based applications.

I’ve used Emacs itself for this in the past, too, but there are some tasks to which Emacs is not suited, despite what the folks at the Free Software Foundation might want you to believe. Emacs is not a window manager, and whatever external applications I may be using are not subject to Emacs splits.

To have proper tiling I really need to find a good tiling window manager. But what makes a particular tiling window manager good?

For me to use it, any tiling window manager must

  • be somewhat lightweight (this is deliberately vague),
  • provide efficient tiling,
  • be stable, and
  • run on Linux.

My ideal window manager would also

  • be able to temporarily fullscreen any window and then revert back to the previous layout,
  • support floating windows, because I occasionally use programs that don’t behave very well in a tiled configuration (e.g. the GIMP, Skype),
  • provide a system tray, because some useful programs like to hang out there (e.g. Skype again, Klipper),
  • be reasonably configurable, and
  • be easily hackable.

The contenders

Tiling window managers are actually quite common. The idea has been around for a long time (the first window managers only supported tiling) and many people have implemented their own version.

I am mostly interested in the new tiling window managers that are starting to appear. They still implement the tiling window paradigm, but they tend to offer support for modern desktop features (e.g. D-Bus, multiple desktops, multiple displays) as well. Also, many of them are being actively developed which is always a bonus.

At the very least, I’m planning to play with

I’ll post details about each one as I try it out.

The dark ages

Saturday, July 18th, 2009

My father has always been a bit of a tech geek. That’s a big part of the reason that I got into computers in the first place—I grew up with an computer in the house. I have early memories of playing Rampage, Choplifter and Lode Runner on my dad’s Apple IIc. When I got older I used that same machine to write reports for school, and I used The Print Shop to make cards for every birthday party that I attended.

As I grew up so did our computers. Each one had a little bit more processing power, a little bit more memory. I got to use newer software and play newer games. I’m not sure exactly when I first logged onto the Internet, but I’m pretty sure that it was before any of my friends did.

As soon as broadband was available in our neighbourhood my dad got on board. By this time everybody was connected, but while all of my friends had to wait endless hours for pages to load via their dialup connections, I was busy exploring the web. I’ve gotten used to this type of performance, and since cable or DSL is available everywhere these days I never have to worry about load times.

At least, it’s available almost everywhere. Laura and I are currently house- and cat-sitting for some friends, and their house is a little bit out of town. Around here, broadband either isn’t available or is ludicrously overpriced.

It’s 2009 and I’m writing a blog post over a 48 Kbps dialup connection.

It’s slow, but not nearly as bad as I expected. Like many modern online applications, WordPress makes heavy use of JavaScript. The fact that so much work can be done client-side makes for a half-decent responsiveness within the UI, at least after the initial page load. This, coupled with a modern browser that lets me read one page while loading others in background tabs, makes me feel amost at home.

Maybe dialup isn’t so bad.