Ubuntu package of the day: sl

Love it when you find packages with a sense of humor. 🙂

Package: sl
Priority: optional
Section: universe/games
Installed-Size: 132
Maintainer: Kenshi Muto
Architecture: i386
Version: 3.03-14
Depends: libc6 (>= 2.3.2.ds1-4), libncurses5 (>= 5.4-1)
Filename: pool/universe/s/sl/sl_3.03-14_i386.deb
Size: 15976
MD5sum: de03e0be86e8d7b0c7c3b3b2cbf246ef
SHA1: 25fbec4a67ec2875852439be948704d456a557bb
SHA256: 4a7a4cf5cdbe5756226590219c4ef2ff7dce04ca9e096f5be86e8a555d83bc6c
Description: Correct you if you type `sl' by mistake
.
Sl is a program that can display animations aimed to correct you
if you type 'sl' by mistake.
Bugs: mailto:ubuntu-users@lists.ubuntu.com
Origin: Ubuntu

apt-get install sl to get it, and see what it does. I think I’m going to leave it installed just to amuse myself when I type too fast.

Switching to Ubuntu

In the last month I decided to switch my primary Linux distro from Mandriva to Ubuntu. It will take me until the end of the year to fully switch over, mostly because my work laptop can’t really afford the downtime, and it is scheduled for replacement come November anyway. There were reasons for leaving Mandriva, such as:

  • Stuff doesn’t “just work” on Mandriva any more. Recently I was doing some work where I wanted to reevaluate IDEs. The monodevelop and eclipse packages that I could get for the distro fell over sideways immediately. 😦 Even f-spot doesn’t work out of the box.
  • The perpetual issue that it took a month after release for the package install mirrors to sort themselves out, and the club urpmi repository has broken ssl certs, so curl won’t work with them.
  • 2007.1 breaks 3D on my laptop, so I can’t upgrade. Even though it is only basic 3D, it is enough to run the test apps I need for my work. In the current rev of Mandriva, I’m SOL.

There were also plenty of really good reasons to go to Ubuntu:

  • Being familiar with what I’m handing out. 12 months ago Ubuntu became the clear winner in the “Hey new person at our LUG, if you want to try Linux you should start with this“. Canonical sends me a bag of CDs whenever I ask for them, and they make good give aways at the LUG. I’d say better than 50% of our LUG is now on Ubuntu.
  • Easy for schools. I started doing some work with public schools in getting free / open software into them. Ubuntu / Edubuntu is definitely a good place to start. Again, being able to help support these folks with what they are using is a good thing.
  • Mono Integration. Ubuntu has been staying on top of the bleeding edge of Mono, as they use it for a lot of their featured desktop aps. Mono/C# is now part of my day job, so having the latest and greatest is a good thing.
  • Mark Shuttleworth.
  • Launchpad. Unlike all the rest of the distros the Canonical folks are actually spending time on their own support infrastructure, which is really good. While I wish they would support hg in addition to bzr for source management, it is a quite good start.
  • Polish. Ubuntu installations only start from a Live CD, so you can know that your system works with Ubuntu before trying to install. This means your risks of having a multiday failed install are drastically lowered.
  • Mark Shuttleworth. Seriously, go read his blog. He is an incredibly inspiring guy, and has really provided a vision of Linux hackers / users as human beings instead of IT trolls snapping at users.
  • Raw numbers. The number of Ubuntu users are on the rise, quickly. For instance, nomachine offers Ubuntu packages for their NX software. This has the side effect that I’ll be able to create less custom packages, as many more folks are packaging for the platform.

I’m sure I’ll think of more reasons, and rationale as I progress down this new road. I’ll also post on various bits about Ubuntu I’ve found either good or bad in the process. Other than the lack of a service command (which I’m just going to build my own package for, as muscle memory on tab completing that is too hard to break), the transition has been very smooth. My home desktop was migrated last weekend, and the media server just a couple of hours ago. Once I get back from vacation, I’ll start hitting some of the boxes at work that I maintain.

Nagios revisited, the debian way

I have to give the debian/ubuntu folks some credit for their packaging of nagios. While the mandriva configuration was pretty straight forward, you had to normalize things a lot yourself, otherwise you were adding 20 new lines for each service and/or host.

The configuration that is default in ubuntu uses hostgroups very effectively, so you setup a host group for every type of service. If you want to monitor a webserver on a host, you just add it to http_servers. In about an hour I had completely rebuilt my monitoring setup for home and offsite servers, and was getting alert emails again when things go funny.

Nicely done folks, nicely done.

Big Ideas

These days my car stereo functionally has three modes: WAMC (our local NPR station), XM 84 (Electronica), AUX in for Drunk & Retired podcast (I’ve gotten into the 40s on the backlog of episodes). Usually when I have other people in the car, I have it on WAMC or XM 84, but turned down, so it’s not that audible.

Yesterday, I drove for lunch. One the way back, while sitting at a light, I heard the following very quietly through the radio.

I love Linux!
I love Open Source!

Well that’s an odd thing to hear on NPR, so I turned it up. The speaker then started talking about virtual worlds, which is also not the kind of thing you tend to hear randomly on NPR. We had to make a quick stop, so once I was back in the office I looked up the program.

What I was listening to was Word for Word’s broadcast of the Big Ideas Conference from Aspen. If you pull these week’s podcast, and jump to 03:00 in, you’ll hear the same bit. It’s only 5 minutes long, as they had 10 speakers in an hour, but it is an interesting perspective on the power of virtual worlds for a less tech savy audience.

The end of “the space”

For those that had not previously heard, NYCCCP (aka “the space”) is coming to an end. The space was the idea of Porkchop and Mike, based on hacker spaces that existed in Boston and Phili. The idea is relatively simple. Rent a reasonable sized (in our case 50′ x 20′) location, set up desks for all people that are interested in joining. Build a server room, and get a pretty decent synchronous DSL line in. Cost for the space is distributed among it’s members, all of whom pay a monthly membership fee to keep the place running. I wasn’t originally part of the space, but did join up a year later, and it was a good place to host some Xen test servers.

The space has been running for 3 years, but over the last year people were going there less often, and interest had definitely waned a bit. A few members were lost as they moved a bit further away. Two weeks ago, the overall financials went from self sustaining, to dropping at a relatively sharp pace. In 3 years, the dynamics of the group changed. A lot of us met through the LUG, but became friends outside of it. Originally we only had computers in common, and the space was a good gathering point. But now we do scifi night every week at my house, see each other for lunch a couple days a week, and do plenty of things on the weekends (like biking and hiking).

So, Mike, Porkchop, and I agreed it was time to call the space a grand experiment, that was a good thing, but whose time had passed. The space will shutdown the end of September, and we’re in process of getting everything/one sorted out there and out of the building (there are a bunch of other folks with servers there that will need to move as well).

It’s a sad thing to see go, but times do change.

Fun with visualization

In an effort to wrap my head around some of the code for OpenSim, I took a detour and started adding C# support to autodia. Autodia was originally written as something to create dia UML diagrams from perl code, but extended from there to support many languages, and many output formats. Unfortunately, C# is not yet one of those, yet.

Right now I’ve got class and attribute parsing pretty well under control (except for generics). Autodia definitely evolved on less object oriented languages than C#, as one of the things I’m most interested in knowing is the contains relationships in the codebase, which isn’t supported in the current version (though I know know how to add it, just need a couple of hours). One of the things I’m trying to expose is one of the gotchas of object design: the inbreeding that can come from having parents and members all be the same base class. I’m sure there is some good banjo joke in there, but I’m a cup of coffee short of finding it.

The results, are quite pretty:

Once the work is in a more finished state, I’ll be pushing it back upstream, so others can benefit as well.