Archive for December, 2008

Happy new year 2009

December 31st 2008

I’m sure there’s already a million “Happy New Year” type posts up but I figured I’d throw in my two cents as well (since I’m actually here for this New Year’s Day).

While I’m at it I’ll pass along some things I managed to accomplish over the past week:

  • Have some troubleshooting that you need to do that requires you to have a small partition? (In my case, troubleshooting for bug 118594). You don’t need to re-format your hard drive. Instead (at least on Linux) just create a partition on a file:
    1. Create a small-ish file (for instance, using dd if=/dev/zero of=file-name-here bs=1M count=size-in-megabytes).
    2. From there, you need to create a filesystem on it. I used plain ext2. If you’re not running as root you may need to manually run /sbin/mke2fs file-name-here. (since /sbin is normally only in the PATH for root). mke2fs should complain about the file not being a special block device but you can tell it to proceed. Please note that mke2fs is a horribly horribly destructive thing to do on a live filesystem. Make sure to take the extra second to get the filename right, and don’t run mke2fs as root.
    3. From there you can mount the file using the loop device. I had to do the following: mkdir test-dir # Create directory to mount filesystem to
      sudo mount -o loop ./file-name-here ./test-dir/
      .
      On my system root permission is required to run mount even for a single-user mount like this, it may be different on yours.
    4. Now use your new filesystem normally. Any changes that you make to the test-dir/ folder actually affect the file you created for that purpose. This is handy for testing out-of-disk-space problems in your app.
  • If you use Gentoo you will want to start shifting over to split ebuilds if you haven’t already. Their KDE-style modules were stopped (for the most part) at KDE 3.5.9, which was fine with me until every emerge world I tried to run started complaining about blocked packages at the various kdelibs requirements started to get inconsistent. I’ve decided to take this opportunity to simply get rid of the majority of the system KDE 3 and upgrade to KDE 4.1.3 instead. So far my wife hasn’t complained about it at all (and she really likes KSudoku as well) so as soon as I’m convinced I haven’t forgotten to install a KDE 4 program I’ll need I’m going to uninstall KDE 3 with the exception of the libraries and a few apps.
  • World of Goo is definitely worthy of play. A Linux version is in beta but the Windows demo ran fine for me in WINE. Well, it crashed WINE on shutdown before the video mode had been restored but I suppose that’s good enough nowadays. :)

Posted by mpyne under Computing Troubles & KDE & Personal & Useful Tricks | 1 Comment »

Back again part 5

December 23rd 2008

So I returned a few days ago from our latest deployment. As far as SSBN patrols go it was pretty successful.

Anyways, since there’s no better way to celebrate a return to port than spending time with family, I’ve been doing a lot of that. My wife is pregnant with our second kid so we went out to get her a recliner since the littlest one has been hurting her back.

Another good way to celebrate return to port is to start fixing bugs! In that spirit I fixed bug 178425 in kdelibs yesterday. Hopefully the File Open/File Save standard dialogs will sort more intelligently for you now.

I also did the normal upgrades and cursory review of the last couple of weeks of messages that I missed. I noticed that Paul Adams had a post up about code contributions to KDE. It looks just how I’d expect for myself:

In other news someone was nice enough to mail my wife some KDE swag and a cheer-up note for the holidays, which is much appreciated! :) So now I have a KDE ballcap to wear around when I’m out and about.

I’ve still got a lot to do around the house so I’ll probably not be online too much but I just wanted to let everyone know I’m back.

Posted by mpyne under KDE & Navy & Personal | 1 Comment »