31 December 2003

Share

Apt (debian) cheat sheet

So here’s the same thing I did for RPM, but for the Debian apt stuff:

  apt-get
     -s        simulate
     install   install the named package
     (apt.conf defines commonly used options)

  apt-setup    sets up /etc/apt/sources.list

  dselect      select packages to install
  apt-get dselect-upgrade
               actually install those packages

  dpkg-reconfigure
     --all     make sure all packages have been configured

  dpkg
     -s        get status of a package
     -L        list files from a package
     -S        who owns this file?
     -i        install this .deb file
Share

30 December 2003

Share

Hmmmmmmmmmmm

One of those days when it’s hard to motivate myself. Three coffees for breakfast haven’t helped. I guess I’ll just plod along. It didn’t stop me from getting things done though — I finished my review of Just for fun for instance. You’ll have to wait for the next AUUGN to see what I think though.

RPM cheat sheet:

Cause I am bored…

  -i          install
  -U          upgrade (or install it not currently installed)
  -e          erase
  -v          verbose
  -h          display progress hash marks
  -V          verify an installed package
  -q          query for installed packages matching the specified search term
     -i          display lots of information about an installed package
     -p          display lots of information about a raw RPM file
     -l          list files owned by the packed
        -c          configuration files
        -d          documentation files
     -a          list all installed packages
     -f          who owns this file

  --force     force an installation
  --nodeps    don't care about dependancies when installing
  --checksig  check package integrity (uses GPG, you might need to import a public key)
Share

28 December 2003

Share

Nice vs renice

So, I’m paging through a bunch of LPI study material, and it strikes me that the nice and renice man pages disagree on what the meaning of process priorities is. This could mean that the commands do different things with the number, or that the documentation needs love. Anyone out there got a suggestion?

I’ve put it on my todo list to look at the code, but that will take a while to get around to. I don’t want to get to distracted.

Share

23 December 2003

Share

Bad compiler error messages suck

This one is from visual studio:

C:\home\mikal\webservice-statepersistance-xmlmagic\wwwroot\Service1.asmx.cs(329): ) expected

The problem?

[WebMethod]
public string RecordSave(string	instate)
{
	// TODO
}

Should have read:

[WebMethod]
public string RecordSave(string	instate)
{
	// TODO
	return "";
}

A more helpful error message would have saved me some significant time looking for orphan brackets.

Share

22 December 2003

Share

Distracted

I’ve been distracted by Andrew’s chicken pox (which is well and truely on the mend now), so I haven’t been doing much else in the last week or so now. It was a little exciting for a bit there — he even had a chicken pock on his eye. Apparently that could have been a blindness thing, but he got lucky and it missed by a couple of millimeters. Perhaps $DEITY is looking out for him…

Now we just have to wait and see if Matthew gets the chicken pox. It would be lovely (sarcasm), we’ve already cancelled most of Christmas anyways.

Another article about ImageMagick

So, I’m thinking about another article about ImageMagick, to answer some of the questions raised by people who read the first article. Here’s your big chance — what would you like to know about ImageMagick?

Share

18 December 2003

Share

New work machine

An interesting little box. For a start, it has two serial discs, which is the first time I had had to deal with SATA before. Also, the ethernet on the motherboard was gigabit.

Booting with an unsupported network card on the Debian install: The secret here is to build a module, hit the virtual console of Alt-F2 during the install, mount the floppy disc, and then insmod the module yourself. You are of course going to be building a custom kernel once the box is built anyways.

Interrupt problems with SATA: I got lots of the following with Debian stable (2.4.18):

Dec 17 10:01:06 homebrew kernel: ide2: unexpected interrupt, status=0xd0, count=634
Dec 17 10:01:08 homebrew kernel: ide2: unexpected interrupt, status=0xd0, count=675
Dec 17 10:01:12 homebrew kernel: ide2: unexpected interrupt, status=0xd0, count=707
Dec 17 10:01:18 homebrew kernel: ide3: unexpected interrupt, status=0xd0, count=759
Dec 17 10:01:23 homebrew kernel: ide2: unexpected interrupt, status=0xd0, count=778
Dec 16 23:01:28 homebrew kernel: ide3: unexpected interrupt, status=0xd0, count=800
Dec 16 23:01:32 homebrew kernel: ide2: unexpected interrupt, status=0xd0, count=827
Dec 16 23:01:38 homebrew kernel: ide3: unexpected interrupt, status=0xd0, count=909

It turns out that was fixed by building the latest 2.4 kernel (2.4.23).

Share

16 December 2003

Share

CLUG Christmas BBQ

So, it appears that the CLUG Christmas BBQ is going to be at my house this year… Luckily, there’s not much organisation to be entered into, because everyone brings their own stuff. The BBQ is plumbed into the household natural gas, so I don’t even need to get things filled up.

Still chasing a CVS integration for Visual Studio which doesn’t suck

Part of the problem is that Visual Studio only supports one source control system at a time, which makes the change over period a little painful.

An initial Google didn’t inspire confidence… http://www.codeproject.com/macro/cvs_with_vsnet.asp is a very introductory tutorial and didn’t really help much. http://titanium.dstc.edu.au/version-control/cvs-gui-howto.shtml#igloo does nothing to inspire confidence.

Share