Greg
animals language
brewing multimedia
cooking music
fiction opinion
gardening photography
general technology
history
Greg's diary
September 2009
Translate this page
Select day:
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Select month in 2009:
Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec
Today's diary entry
Diary index
About this diary
Previous month
Next month
Greg's home page
Greg's photos
Network link stats
Greg's other links
Copyright information
    
Groogle
This view of the diary is limited to these topics: technology. There may be lack of continuity in the text, and some days may be completely missing. In case of doubt, please enable the complete display.

Tuesday, 1 September 2009 Dereel Images for 1 September 2009
Top of page
next day
last day

Topic: technology, music, opinion Link here

The real issue is knowing what is being played. Like iTunes, it displays the concepts Artist, Album and Track (interestingly not song), and with the help of Gracenote I get displays with values Artist “Trevor Pinnock”, Album “SC 1” and Track “Allegro”. It's not easy to deduce that this is the third movement in a Brandenburg Concerto—the first movement has identical information, as does the first movement of the second concerto. The “track numbers” don't help either—they're allocated sequentially from the beginning of the card, so this was “track” 113.

The real problem I'm seeing now is that the concepts that the industry uses are just not appropriate for the kind of music I'm looking at:

Things aren't made any easier by the truncation which seems to be a way of life in modern GUI software. I thought that “Franz Joseph Ha...” might be easy enough to recognize, but you need to know your classical composers. Haydn? Händel? Hatzenbacher?

So what's needed?

I can complain about this all I want; it won't change anything. But I still need to work out how to organize my own collection. I see a number of alternatives: I can try one of the other software packages available on the web. I have so little confidence in this approach that I'm not even going to try. Alternatively, I can do everything manually. At the moment I'm creating a separate directory hierarchy organized by composer and work:

=== grog@dereel (/dev/ttyp9) /home/Music/MP3 220 -> l Bach-JS/
drwxr-xr-x  2 grog  wheel  1024 Sep  1 13:01 BWV140-Harnoncourt
drwxr-xr-x  2 grog  wheel  1536 Aug 31 12:16 BWV147-Harnoncourt
drwxr-xr-x  2 grog  wheel  1536 Aug 30 16:05 BWV147-Rifkin
drwxr-xr-x  2 grog  wheel  2048 Aug 30 15:54 BWV232
drwxr-xr-x  2 grog  wheel  1024 Aug 30 16:07 BWV80-Herreweghe
drwxr-xr-x  2 grog  wheel  1024 Aug 30 16:06 BWV80-Rifkin
drwxr-xr-x  2 grog  wheel  2048 Aug 30 16:09 Brandenburgs
drwxr-xr-x  2 grog  wheel  1024 Aug 30 16:07 Magnificat
drwxr-xr-x  2 grog  wheel  1024 Sep  1 17:05 Orchestral-suite-1
drwxr-xr-x  2 grog  wheel  1024 Aug 31 17:53 Orchestral-suite-2
drwxr-xr-x  2 grog  wheel   512 Aug 31 17:54 Orchestral-suite-3
drwxr-xr-x  2 grog  wheel   512 Aug 31 17:54 Orchestral-suite-4

I suspect that this is a better approach, but still not sufficient. At the very least I need a further level with performance (so I'd have BVW147/Harnoncourt and BVW147/Rifkin).

Even this isn't enough, though: the MP3 players only seem to understand a single level of subdirectories. So I need to map them again to a local copy where these directories are in the top level. Maybe I should just give the files numbers and store information in an SQL database.


Wednesday, 2 September 2009 Dereel
Top of page
previous day
next day
last day

Topic: brewing, technology Link here

Finally got around to brewing beer again today. It's been over 3 months since the last brew, an indication of how much I hate it. It takes up the whole day, and my current scheme is so far from convenient that I'm always worrying that something catastrophic will happen. Today it almost seemed so: on powering up brewer.lemis.com, my fermentation temperature control machine, it didn't come online. I used this computer almost as a joke: it's about 18 years old, it's running a development version of FreeBSD 5.0 dating back to December 2000, and it's in pretty poor shape:


  This should be brewer.jpeg.  Is it missing?
Image title: brewer          Dimensions:          3024 x 4032, 1008 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Thursday, 3 September 2009, thumbnails          All images taken on Thursday, 3 September 2009, small
Diary entry for Thursday, 3 September 2009 Complete exposure details

 

In particular, the display card no longer works, so all I have to go on is the noises, disk accesses and LED status that happen during boot. On this occasion it seemed to be performing lots of disk accesses. Pressed the Big Red Button, and it came back normally enough. I need to plan to replace this machine.

Apart from that everything went smoothly enough, but it still took all day.


Topic: technology, gardening Link here

More work on porting wview to NetBSD, and finally finished. I never realised what a pain it is that NetBSD stores packages in /usr/pkg and not the more usual /usr/local. Many packages, including parts of radlib, hard code the path name in various configuration files, and I had to go out and fix them. Now I have a complete standard installation of wview; the next part is to incorporate Steve Woodford's patches for my Fine Offset WH1081 weather station.


Thursday, 3 September 2009 Dereel Images for 3 September 2009
Top of page
previous day
next day
last day

Topic: photography, technology Link here

Autopano 2: first impressions

Issue 19 of c't, which arrived yesterday, contains a test of various panorama software. One package stands out: Autopano Pro 2.0 (and though there's no “normal” Autopano, there is an “Autopano Giga”). It gets much higher marks than any of the others, including hugin and Panorama Maker 5 Pro. Decided to try it out. It doesn't run on PPC Apples, but it is advertised to run on Linux, so downloaded the image and installed it on cvr2.

And then? How do I run it? There are no instructions (it's clearly a “modern” program), but there is a Wiki. And it doesn't tell you how to run the program.

Went looking in /usr/local, but there was nothing there. Finally—find(1) is your friend—found an executable /usr/bin/AutopanoPro and ran it:

=== grog@cvr2 (/dev/pts/3) ~ 1 -> AutopanoPro
QGLContext::makeCurrent(): Cannot make invalid context current.
/usr/bin/AutopanoPro: line 3:  9233 Segmentation fault      /usr/lib/AutopanoPro/AutopanoPro

Checked for help, but all I got was a contact form with these horrible CAPTCHA, so sent off a message, and then downloaded it and installed it on Microsoft.

That was strange, too. They're a French company, and I've seen a couple of cases on the web site where I'm transferred from English into French. This time the installation was in German, most of the time, at least partially due to my difficulties to get Microsoft to stay in one language.

This version was easy enough to start, but of course I had to spent minutes changing directory. The photos are on dereel, and it insisted on reading the entire Photos directory, over 1600 entries, before coming back to life again. Then it went off and did the “autorecognition” thing which c't had found so reliable:

 
This should be autopano-6.gif.  Is it missing?
Image title: autopano 6
Dimensions: 341 x 263, 54 kB
Dimensions of original: 341 x 263, 54 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Thursday, 3 September 2009:
thumbnails    small images    diary entry

This directory already contains three panoramas of this collection, which it happily included in the collection.

Off to try to convert things, not helped by the strange icons. Clearly this is not software that you can just use: you need to read the manual first. After a long time waiting for the conversion to finish—not helped by the fact that both the button “Render” (well, “Rendern”) and “Cancel” (“Abbrechen”) were selectable, and no progress bar was present, checked the specified “output” directory, C:/Documents and Settings/groggy/Desktop (that's right, with slashes instead of backslashes), but nothing was there. Gave up for the day and decided to wait until I had time to read the documentation.


Friday, 4 September 2009 Dereel
Top of page
previous day
next day
last day

Topic: photography, technology Link here

Autopano: more investigation

Reply about my problems with Autopano Pro 2.0 today. I had asked:

I have just downloaded the trial version of Autopano 2.0 for Linux and installed it. Then I went looking for how to run it. You seem to have missed this point in the documentation. Please tell me how to run the program.

The reply:

Under linux, it depends on the installer you use. If you use .deb, the software will be available in the main menu under graphical tool.

The error you have is caused by the fact that you don't have openGL on your linux. The v2 of autopano needs an opengl 2.0 graphic card with proprietary drivers installed.

Clearly you need more than OpenGL; you need their idea of what kind of window manager to use too. None of this is mentioned on the web site. Went off and played around and confirmed that yes, the executable is called /usr/bin/AutopanoPro (something that wasn't addressed in the reply), and it works on :0 on cvr2 (using UNIX domain sockets), so I suspected that it might be related to TCP. And of course this system (default Ubuntu installation) has gdm installed, with the option -nolisten-tcp, so had to go off looking for how to fix that. The answer is in /etc/gdm/gdm.conf:

--- /etc/gdm/gdm.conf~  2008-10-15 20:56:25.000000000 +1100
+++ /etc/gdm/gdm.conf   2009-09-04 12:09:54.321148593 +1000
@@ -263,7 +263,7 @@
 # Note: Anytime we find a -query or -indirect on the command line we do not add
 # a "-nolisten tcp", as then the query just wouldn't work, so this setting only
 # affects truly attached sessions.
-DisallowTCP=true
+DisallowTCP=false
 # By default never place cookies if we "detect" NFS.  We detect NFS by
 # detecting "root-squashing".  It seems bad practice to place cookies on things
 # that go over the network by default and thus we do not do it by default.

And yes, it worked fine. So is it really a driver issue, as they claim? I don't want to have to reconfigure my whole fragile X setup for a program that wants something special.

Gave up on that and tried with the Microsoft version—what a letdown! Yesterday's attempts showed that you need instructions to understand Autopano Pro 2.0, so off to look for them. As far as I can tell, there are none! The available documentation is still for release 1.4! Instead, followed the Autopano example workflow document, which had the horrifying recommendation:

In Explorer (or Finder, on MacOSX), locate the images you want to stitch into a panorama. Select them, making sure you're including only images belonging to a single panorama.

Drag and drop the selected images onto the Main Window of APP. A new Image Group will be created. You can repeat steps 2 and 3 as many times you want, creating multiple Image Groups. Each group should contain a single panorama.

Doesn't anybody know how to manipulate file names any more? In a directory with multiple files, all looking similar, this is a Real Pain. What's wrong with specifying the wild card verandah-*? I could scream. And yet all this broken software does this sort of thing, so I can't blame Autopano beyond saying that good software should (and easily can) offer something better.

One alternative is what I found yesterday: let Autopano go and look for all photos. It can handle Olympus raw format, so if I let it loose in my orig subdirectory, it happily includes each photo twice, once as raw and once as JPEG. And with only a few hundred mouse clicks and lots of careful comparison (look at those file names; why have verandah-* when you can have P8081353.JPG P8081353.ORF P8081354.JPG P8081354.ORF P8081355.JPG P8081355.ORF P8081356.JPG P8081356.ORF P8081357.JPG P8081357.ORF?) you can remove the files you don't want.

For a first attempt, that was too much, so I went and removed the superfluous files from yesterday's selections, notably the existing panoramas, which had caused the spectacular mess of the verandah panorama yesterday. Also discovered why the “rendering” window had both buttons selected: there were multiple windows, one per panorama, and they all wanted to be selected. When they were, they went off and did their thing, storing the results in files with particularly emetic names, like [Group 16]-verandah-1_verandah-5-5 images.jpg, which even Microsoft's file name couldn't handle: it put a spurious [ at the beginning.

And the result? Good, better than the others, but not perfect. Here the results from Arcsoft Panorama Maker 5 Pro, hugin and Autopano Pro 2.0 for 22 August 2009:


  This should be verandah-panorama-arcsoft-1.jpeg.  Is it missing?
Image title: verandah panorama arcsoft 1          Dimensions:          872 x 1587, 448 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Saturday, 22 August 2009, thumbnails          All images taken on Saturday, 22 August 2009, small
Diary entry for Saturday, 22 August 2009 Complete exposure details

 

  This should be verandah-panorama.jpeg.  Is it missing?
Image title: verandah panorama          Dimensions:          6911 x 2225, 3360 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Saturday, 22 August 2009, thumbnails          All images taken on Saturday, 22 August 2009, small
Diary entry for Saturday, 22 August 2009 Complete exposure details

 

  This should be verandah-panorama-kolor.jpeg.  Is it missing?
Image title: verandah panorama kolor          Dimensions:          4976 x 1580, 1904 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Saturday, 22 August 2009, thumbnails          All images taken on Saturday, 22 August 2009, small
Diary entry for Saturday, 22 August 2009 Complete exposure details

 

These are all “automatic” renderings, and apart from the dramatic failure on the part of Panorama Maker 5 Pro they show that Autopano 2.0 Pro is a little bit ahead of hugin. The edges of the swing are rendered better, but not perfectly (first hugin, then Autopano):

 
This should be verandah-panorama-detail.jpeg.  Is it missing?
Image title: verandah panorama detail
Complete exposure details
Dimensions: 676 x 389, 84 kB
Dimensions of original: 676 x 389, 84 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Saturday, 22 August 2009:
thumbnails    small images    diary entry
 
This should be verandah-panorama-kolor-detail.jpeg.  Is it missing?
Image title: verandah panorama kolor detail
Complete exposure details
Dimensions: 441 x 324, 68 kB
Dimensions of original: 441 x 324, 68 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Saturday, 22 August 2009:
thumbnails    small images    diary entry

For some reason my browser renders the Autopano panorama very badly at full size, but that seems to be a browser incompatibility; as the image details show, the image itself is smooth enough. But clearly this panorama requires manual intervention, no matter what software I use to create it. The rendering speed was nothing breathtaking, though the disk activity light on pain, the Microsoft box, suggests that this is because it only has 512 MB of memory, while Autopano suggest 2 GB. It's interesting that it displays the progress as it renders, gradually bending things into shape.


Saturday, 5 September 2009 Dereel Images for 5 September 2009
Top of page
previous day
next day
last day

Topic: technology, photography Link here

Photo day again today, not helped by the rapidly changing weather. Finally got it to stay moderately overcast long enough to get my photos.

Autopano Pro: more investigation

Spent some more time with Autopano Pro 2.0, this time making duplicates of all my weekly panoramas with it. This still isn't a real report on the software—I'm planning that—but more observations:


Sunday, 6 September 2009 Dereel Images for 6 September 2009
Top of page
previous day
next day
last day

Topic: technology Link here

Spent some time today looking at the software for the Fine Offset WH-1081 weather station that Steve Woodford sent me a while back. It was a patch for Wview release 4.0.1, and the current release is 5.5.3. Spent a fair amount of time adapting that, not helped by the fact that I don't know (and really don't want to know) about autoconf. Something went wrong generating the Makefiles, but by that time I was too frustrated and decided to put it off. Maybe I should first install release 4.0.1 to ensure that things work at all.

I installed the NetBSD installation on kimchi from a downloaded ISO, and it didn't give me the option to install X. Went looking for a package, but found none. Went over the web site looking for documentation. Plenty on how to use X, but nothing on how to get it onto the system. Finally found a document and followed that, but ended up with only a base installation—not even xterm was there. And then it occurred to me that this isn't even the standard NetBSD version of X (should be XFree86). This really could do with much better documentation.


Monday, 7 September 2009 Dereel
Top of page
previous day
next day
last day

Topic: technology, general Link here

More work on Wview release 4.0.1 today, and got it to work, not without kludges: it depends on sqlite3, but there's nothing in the configuration to include the libraries. How can that work? Tried handing it in via LIBS, but that caused the configuration to fail (“configure:2904: error: C compiler cannot create executables”) because it couldn't find the library at link time.

configure:2857: gcc    conftest.c -lsqlite3 >&5
ld: cannot find -lsqlite3
configure:2860: $? = 1
configure:2898: result:
configure: failed program was:
...
configure:2904: error: C compiler cannot create executables

Probably there's another variable to tweak, but why should I have to? In the end, just put it in manually. Why is this so difficult?

Still, wview looks quite good, and I now have a Dereel weather web site. Spent some time playing around to make things more readable, and got some understanding of what it can do, but it looks as if I should probably postpone most such stuff until I've installed the latest version. I should also port it to FreeBSD: at the moment it's running on kimchi, my test machine, which means that I can't use it for anything else, and I also can't turn it off.


Topic: technology, music Link here

Also finished copying my CDs to MP3. I now have about 9 GB, enough to require some trimming. Spent some time looking for something off the shelf to organize them, without much success. c't has some articles on it, conveniently stored on DVD in page image format, but indexed, it seems, with an application that only runs on Microsoft “Internet Explorer”. More checking required; hopefully I'm wrong on that one.


Tuesday, 8 September 2009 Dereel Images for 8 September 2009
Top of page
previous day
next day
last day

Topic: technology, opinion Link here

Came into my office this morning to find an eBay login screen on one of my displays. But it looked completely different:


  This should be ebay-signin-1.gif.  Is it missing?
Image title: ebay signin 1          Dimensions:          1206 x 1199, 74 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Tuesday, 8 September 2009, thumbnails          All images taken on Tuesday, 8 September 2009, small
Diary entry for Tuesday, 8 September 2009

 
  This should be ebay-signin-2.gif.  Is it missing?
Image title: ebay signin 2          Dimensions:          1206 x 1199, 88 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Tuesday, 8 September 2009, thumbnails          All images taken on Tuesday, 8 September 2009, small
Diary entry for Tuesday, 8 September 2009

 

The one on the right is what I'm used to, and the browser fills in the names automatically. The other one had a different layout, and it hadn't been filled in. Spent some time pondering the cause, and unfortunately closed the first window before looking at the source. On the face of it, it's legitimate, but it brings back to me how difficult it is to detect bogus signin screens. Somehow there should be some way of getting the warm fuzzies that you're really talking to the correct site; public key cryptography maybe?


Wednesday, 9 September 2009 Dereel Images for 9 September 2009
Top of page
previous day
next day
last day

Topic: technology, opinion Link here

GUIs: The fast food of the computer industry

We were discussing Apple again today. Somebody mentioned the fact that you could find files with “Finder”. Well, some of them. If you're looking for MP3s, forget it:


  This should be dotdotdot.gif.  Is it missing?
Image title: dotdotdot          Dimensions:          1162 x 894, 144 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Wednesday, 9 September 2009, thumbnails          All images taken on Wednesday, 9 September 2009, small
Diary entry for Wednesday, 9 September 2009

 

This is straightforward enough stuff—or is it? The “modern” attitude seems to be that you don't need to understand the directory hierarchies, and yet here they're presented with no less than five levels of hierarchy, far beyond what you want. And to do so, the file names are truncated to a point where you can barely recognize them. Yes, you can go and change the view and see just the contents of the directory:


  This should be dotdotdot-2.gif.  Is it missing?
Image title: dotdotdot 2          Dimensions:          1153 x 366, 50 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Wednesday, 9 September 2009, thumbnails          All images taken on Wednesday, 9 September 2009, small
Diary entry for Wednesday, 9 September 2009

 

And it's still mutilated. Why? There's plenty of space on the right to stretch it out, but it doesn't use it. Is this really easier to understand than the method we've had for decades? Consider:

=== grog@dereel (/dev/ttypf) /home/Music/iTunes/iTunes-Music/Christopher Hogwood_ Academy Of Ancient Music 7 -> ls -l
total 1
-rw-r--r--   1 grog  wheel  6148 Sep 10 10:29 .DS_Store
drwxr-xr-x   2 grog  wheel  1536 Sep  2 15:29 Beethoven_ Symphonies # 1 & 2
drwxr-xr-x   2 grog  wheel  1536 Sep  2 15:30 Beethoven_ Symphonies #4 & 5
drwxr-xr-x   2 grog  wheel  1536 Sep  2 15:30 Beethoven_ Symphonies #7 & 8
drwxr-xr-x   2 grog  wheel  1024 Sep  2 15:30 Beethoven_ Symphony #3
drwxr-xr-x   2 grog  wheel  1024 Sep  2 15:31 Beethoven_ Symphony #9

With the help of the prompt, this shows exactly where you are in the directory hierarchy. But then there are so many other things you can do: ls on FreeBSD has no less than 38 options controlling the way things are displayed. “Finder” has only three viewing options (the third is icons, to waste even more space). Why do the GUIs restrict you to so few views? And why can't they use the available space? I'm left with the feeling that the product managers want to supply as little functionality as they possibly can.

Is this an Apple issue? Partially. Microsoft can at least work out how wide to make the columns, but apart from that it's pretty much the same:


  This should be microsoft.gif.  Is it missing?
Image title: microsoft          Dimensions:          994 x 892, 66 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Wednesday, 9 September 2009, thumbnails          All images taken on Wednesday, 9 September 2009, small
Diary entry for Wednesday, 9 September 2009

 
Topic: technology, general Link here

After yesterday's problems with wview, spent some time porting it to FreeBSD. That proved simpler than I had feared: the USB code compiled cleanly, but when I tried to run it, I got a flood of error messages:

Sep  9 12:13:47 dereel wviewd[58709]: <1252462427952> : wh1080Init: reading first sensor packets ...
Sep  9 12:13:47 dereel wviewd[58709]: <1252462427955> : wh1080UsbRead: failed read (error reading from interrupt endpoint /dev/ugen0.1: Resource temporarily unavailable)!

That's EAGAIN, of course, and it was returned from a call to usb_interrupt_read (). Why is it returning that? Did some tracing and discovered that it was getting valid input, so the EAGAIN was benign beyond the error messages. Ignoring them worked, but the wviewd process used something like 35% processor time. Put in a little code to delay a bit (10 ms) and retry if it hit that error. That works, but it sounds like a bug in the USB implementation to return EAGAIN on a blocking read. Still, I now have wview working the way I want it, sort of, and I can turn to getting 5.5.3 running.


Thursday, 10 September 2009 Dereel Images for 10 September 2009
Top of page
previous day
next day
last day

Topic: technology, general Link here

Into the office this morning to find dereel's /home file system full. I know it's getting full—I've added about 60 GB of photos and 10 GB of MP3s in the last few months—but it shouldn't have been quite full yet. Further investigation showed that it was a ktrace.out file, which I promptly removed—and it made no difference. Clearly it was still running—and running kdump against the file would have told me what the file was, but I had just deleted it! Fortunately Peter Jeremy explained to me what the -C option did. I thought it stopped tracing for a specific process, but in fact it's for all processes for which the user can stop it.

My suspicion was that it was the weather software, of course, and checking /var/log/messages confirmed it: it had stopped functioning in the middle of the night, and attempts to restart it were unsuccessful:

Sep 10 08:51:15 dereel wviewd[87517]: <1252536675910> : wh1080UsbRead: failed read (error setting timeout: Input/output error)!
Sep 10 08:51:15 dereel wviewd[87517]: <1252536675910> : readPage(7456): page read failed
Sep 10 08:51:15 dereel wviewd[87517]: <1252536675910> : wh1080UsbWrite: failed write (error setting timeout: Input/output error)!
Sep 10 08:51:15 dereel wviewd[87517]: <1252536675910> : readPage(7456): msg write failed

That continued despite restarts until I disconnected and reconnected the USB cable. Is this a problem in the FreeBSD USB stack? To be monitored.

Spent some time trying to sign up for various weather reporting systems, notably Wunderground and CWOP, both of which have very difficult to understand instructions. In particular, Wunderground mentions a password, but doesn't give the opportunity to set one. Signed up anyway, got no confirmation, and read instructions telling me that it would take at least a day, that various things could go wrong, and in each case the result would be that nothing happened. Wonderful. And I can't even check until tomorrow.

Wunderground is very specific about the location of the weather stations, though. When setting the location of the station, it specifies the latitude to 13 places of decimals, and the longitude to 14 places:

 
This should be accurate-location.gif.  Is it missing?
Image title: accurate location
Dimensions: 359 x 387, 64 kB
Dimensions of original: 359 x 387, 64 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Thursday, 10 September 2009:
thumbnails    small images    diary entry

That corresponds to a resolution of 1-8 mm latitude and about 0.8 × 1-9 mm longitude. I wonder what they're thinking.


Friday, 11 September 2009 Dereel Images for 11 September 2009
Top of page
previous day
next day
last day

Topic: technology, general Link here

Into the office this morning to discover that the weather station software had hung again in the middle of the night, and that the /home file system was full again.

The full file system was for the same reason as before: a ktrace.out file had filled it up. And again I removed it without checking what was generating it. But it seemed to be related to the weather software, and sure enough, found that I had included a ktrace of the wviewd process in the startup file. So hopefully that's over and done with now.

The hang was different, and from the log messages it was clear that it had happened long after the file system filled up—at about the same time as yesterday, but the flood of log messages had already flushed the previous day's messages. This time I had:

Sep 11 02:13:51 dereel wviewd[3904]: <1252599231078> : readPage(0): page read failed
Sep 11 02:13:51 dereel wviewd[3904]: <1252599231122> : readStationData: bad magic in page0
Sep 11 02:13:51 dereel wviewd[3904]: <1252599231166> : readStationData: bad magic in page0
...

That's really helpful, of course. But yesterday it seemed to have happened a little after 02:00 as well. Is there something in the nightly cron jobs that trips over the USB stack at this time of the morning?

Getting things started again wasn't easy. Various components wouldn't stop, and starting things manually is greatly hampered by the presence of PID files that don't get ignored if the process has died.


Topic: technology, general Link here

More investigation why I didn't show up in Wunderground. It turned out that my guess was right, that it wanted my own password. But that contained a character that wview didn't accept, so it just truncated the password to that point. Tried another one, all letters with a verylongcommentaboutthiskindofstupidity, only to discover that Wunderground won't accept more than 10 characters in a password. sigh.

After adapting to these quirks, things worked, and I appeared in the map. Spent some more time looking at other reporting systems, and set up reporting for CWOP. That seemed even easier, but when I tried to restart wview, things went to hell:

Sep 11 18:12:33 dereel radmrouted[71069]: <1252656753594> : started on radlib system 1, workdir /usr/local/var/wview
Sep 11 18:12:34 dereel wviewd[71073]: <1252656754650> : radCfOpen: could not allocate memory
Sep 11 18:12:35 dereel htmlgend[71077]: <1252656755724> : radCfOpen: could not allocate memory
Sep 11 18:12:35 dereel wvcwopd[71081]: <1252656755738> : radCfOpen: could not allocate memory
Sep 11 18:12:35 dereel wvhttpd[71084]: <1252656755758> : radCfOpen: could not allocate memory
...

What's that? There's plenty of memory available. Built a debug version of wviewd and tried it out, and established that radCfOpen (did I get the studly caps right?) is part of radlib, and it's designed to read in the configuration file. It got the config file name right (something that it didn't bother to report), and somewhere inside it ran into trouble with the “memory allocation”. It then stopped without any further message and with a 0 completion code. ktrace showed that it read in the configuration file, then:

 71911 wviewd   RET   read 2844/0xb1c
 71911 wviewd   CALL  semop(0x40001,0xbfbfdf7e,0x1)
 71911 wviewd   RET   semop 0
... (many times)
 71911 wviewd   RET   semop 0
 71911 wviewd   CALL  gettimeofday(0xbfbfdd70,0)
 71911 wviewd   RET   gettimeofday 0
 71911 wviewd   CALL  gettimeofday(0xbfbfd088,0)
 71911 wviewd   RET   gettimeofday 0
 71911 wviewd   CALL  getpid
 71911 wviewd   RET   getpid 71911/0x118e7
 71911 wviewd   CALL  sendto(0,0xbfbfd0ce,0x58,0,0,0)
 71911 wviewd   GIO   fd 0 wrote 88 bytes
       "<9>Sep 11 18:04:08 wviewd[71911]: <1252721048520> : radCfOpen: could not allocate memory"

There were lots of these semops, but all with return value 0 (successful). What's all this about? Is it really a semaphore issue, or is it really trying to allocate ridiculous quantities of memory? And if so, why not report how much? About the only thing that I can conclude is that a library that can report this kind of message is that they're not worth having. Reading a configuration file shouldn't require lots of semaphore operations.

The obvious conclusion was that the problem was due to a configuration change. But after reverting the changes (RCS is your friend), it didn't change anything. Spent about an hour trying to work out what went wrong, and in the end reverted to the NetBSD installation, which happily accepted the same configuration files once I fixed the path names.

So, what's the problem? One is clearly a badly documented and rickety framework (the only documentation I can find for radlib is a API reference). The other is the Tower of Babel attitude to software design. It's probably not worth trying to debug it; I need to migrate to wview release 5.5.3, which doubtless is waiting with other pain, such as configuration files stored in a database. But maybe some of the problems I've seen so far will go away.


Saturday, 12 September 2009 Dereel Images for 12 September 2009
Top of page
previous day
next day
last day

Topic: technology, general Link here

For a change, no full file system this morning, and the wview software (on NetBSD) hadn't hung either. But the problems running wviewd on FreeBSD continued.


Topic: technology, general Link here

One thing that the power failure “fixed” was the “memory allocation failure” that I was having with wviewd. I strongly suspected that it was something to do with left-over System V semaphores—how I hate the three ugly sisters! This tends to confirm the suspicion. On IRC, Peter Jeremy pointed me to ipcrm, where, apart from a way to remove dead semaphores, I read:

AUTHORS
     The original author was Adam Glass.  The wiping of all System V IPC
     objects was thought up by Callum Gibson and extended and implemented by
     Edwin Groothuis.

Callum and Edwin are both on the IRC channel as well. And that was at a time when I was mentor for Edwin, so I should have known all about it. Checked the commit logs and found:

revision 1.13
date: 2007/12/25 00:52:24;  author: edwin;  state: Exp;  lines: +133 -18
Add the ability to clean up all shared memory segments which are
unused in one go.

...
Submitted by:   Callum Gibson <callumgibson@fakedemailaddress.com>
Approved by:    grog@

My mind must be failing me.


Sunday, 13 September 2009 Dereel Images for 13 September 2009
Top of page
previous day
next day
last day

Topic: technology, opinion, music Link here

I still haven't found an off-the-shelf solution for keeping track of my MP3 collection, and spent some time looking for possibilities today. Most, of course, are the kind that make iTunes look good, and so I returned to look at the article in c't magazine that I had already found by chance last week. This time I wasn't so lucky, and spent a lot of time looking for it. The index is now only available as an application that only runs on Microsoft “Internet Explorer”. Went looking with Acrobat Reader which was doomed to failure: I found hundreds of hits for “MP3”, and just sifting through them was more pain than I could stand. It would have been easier to look through the paper copies. But in the process, saw yet another example of this “modern” gratuitous truncation of text:

 
This should be hideit.gif.  Is it missing?
Image title: hideit
Dimensions: 461 x 144, 6 kB
Dimensions of original: 461 x 144, 6 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Sunday, 13 September 2009:
thumbnails    small images    diary entry

Look at that path name! It's only half as wide as what looks like a progress bar below (it isn't—the bar just swings back and forward), and it truncates the path name with something that is barely shorter (in fact, the ... are one character more than the om they replace). Sometimes I despair. And yes, I still haven't found the article.


Topic: technology Link here

More work on porting wview to FreeBSD, and now have a clean build of release 5.5.3. Now I need to test it without disrupting the reporting too much. It looks as if it was a good choice to migrate to the latest version rather than search for the bugs in the old one: the area where the bug occurred (reading the configuration) has now changed completely, though not obviously for the better: instead of storing it in (multiple) text files, which I can maintain with RCS, it's now in a database. We'll see.

Phantom Persians

While she was there, she mentioned that David is currently in Batam, not a place I know, though I see it's just off Singapore. I asked if it was really called Batang, the Malay/Indonesian word for “rod”. And then Chris asked if it was related to French baton, which means the same thing.

How do you find that out? I have a book by M. B. Lewis on “Malay Script”, also called Jawi, a modified Farsi script that is no longer in general use; what little I know about Arabic and related scripts comes from that book, which I must have bought 45 years ago. It's interesting in this context because it contains a glossary with some etymological information. Dragged it out, but it had no information on the etymology of batang.

Chris took a look, however, and found some pencilled-in notes in a section on Arabic loan-words. Not my writing, and clearly written by somebody who understood Farsi: the comments are about the corresponding meaning in Farsi. For example, janazah means “royal hearse” in Malay and “dead body” in Farsi. Most underlined words have the same meaning, however.

But who wrote it? And when? I'm sure I was present, but I've had the book for ever. Could it have been Shahram Akhavan? Or Ali Madanipour? I can't find a way to find out. I'm sure they wouldn't remember either.

End deselected topic h -->
Monday, 14 September 2009 Dereel Images for 14 September 2009
Top of page
previous day
next day
last day

Topic: technology Link here

Part of my weather software is a script that copies the web pages to the external server every 15 minutes. It uses an ssh tunnel to do so, and I found it littering the system with old ssh-agent processes. With a bit of advice, found a couple of environment variables that allowed me to do trap the process on exit:

# The > /dev/null and the display causes ssh-agent to bypass
# interactive prompting and get the passphrase from $SSH_ASKPASS.
export DISPLAY=:0
eval `ssh-agent` >/dev/null
# Stop the ssh-agent when we stop
trap "kill $SSH_AGENT_PID" 0 1 3 15

ssh-add < /dev/null

The trick is knowing about the environment variables; there's also a SSH_AUTH_SOCK which can be of use under some circumstances. I should probably use it to not start any additional ssh-agent processes, but this works for now.


Tuesday, 15 September 2009 Dereel Images for 15 September 2009
Top of page
previous day
next day
last day

Topic: technology Link here

More work on the weather station software today, and found out why the build was so clean: I had included all the code, but I had omitted most of it from the configuration information, so it hadn't been compiled. Normal enough problems once I reattached it, with the exception of the dependencies. Any normal build system has a depend target in the Makefile, but this thing uses GNU autoconf, something about which I have never heard much good. Even 15 years ago, in Porting UNIX software, I pointed out weaknesses; nowadays I'm reminded of a Dijkstra quotation:

If Fortran has been called an infantile disorder, PL/I must be classified as a fatal disease.

Finally found the problem—it seems that the dependencies are built by the configure script, and they base on the variable AC_CONFIG_FILES in configure.in, at least in this case.


Topic: technology, general Link here

eBay: The pain continues

Of course nothing had happened with annulling my eBay transaction yesterday. Tried again and got the same results. Connected with live help and was told to clear my browser cache, which greatly annoyed me. But of course I suppose they have to go by the book, since they really don't understand what they're doing. And of course it didn't make any difference, and they told me it had been reported and that I should try again tomorrow. They wouldn't give me a case reference number and just promised to send me email, which they didn't, so all I have is the session ID (2232708).


Wednesday, 16 September 2009 Dereel Images for 16 September 2009
Top of page
previous day
next day
last day

Topic: technology Link here

More work on wview today. Made some progress, but it's painful. I've had the idea of storing configuration information in a database before, with the Black Box project a couple of years ago. But that was in conjunction with web pages to update it, and of course it used MySQL. This software uses sqlite3, which I don't know, and which is different enough from MySQL that I can't just jump in; instead I need to learn Yet Another Dialect of SQL. And the configuration scripts are still just that, scripts, and not very clever at that. Maybe the intention is to create a web-based configuration system, but the current status seems to have the worst of both methods, and it can also easily lead to the system using two different database systems: there's a provision for storing weather data in a database (MySQL or PostgreSQL, but not sqlite3), but the configuration must be stored in an sqlite3 database. I'm left wondering how much work I want to do on this software.


Topic: technology, general Link here

As I expected, and contrary to promises, I didn't receive any feedback from eBay about cancelling my transaction, and a further attempt met with the same fate. Tried live help again and finally the consultant did the work for me, successfully. Still no explanation why it didn't work for me: “We did not receive any report from the Technical Department that we have current issue on the site.”


Friday, 18 September 2009 Dereel Images for 18 September 2009
Top of page
previous day
next day
last day

Topic: technology, music Link here

Back to copying data to the SDHC card for my car radio. How painful this is! I've already deferred the long-term goal of a database of the works I have: there really must be something like that already. Surely I'm not the only person who can see a need for it. But there are still other issues: how do I get the data on the card in a form that the MP3 player will play in sequence? And how do I create a list of stuff so that I don't need to search all 1300 tracks (sorry, songs) to find them?

None of that should be difficult. A couple of shell scripts should do it: one to copy, the other to list the contents of the card in the sequence which the player will play them.

But there's one problem: these HORRIBLE file names full of spaces. They completely break normal conventions of shell scripts and other UNIX tools. The only way I can find to get a list of the files in directory order is with ls -f. Normally you'd write something like:

for file in `ls -f`; do
  process $file
done

But for uses spaces as a delimiter, so that doesn't work if there are spaces in the file name: it attempts to use every part of the file name as a separate name. The shell does provide some support for this kind of breakage with the construct "$@" instead of the more normal $*, but I can't see any way of applying this to the `ls -f` construct.

In this case, I found a workaround: use sed:

ls -f $DIR | sed "s:^:cp -p \"$DIR/:; s:$:\" $CARD/$DIR:" | sh

But what a pain! And then I came to the next case, where I wanted to put a track number next to each file name. How do you do that? Normally, you'd write something like:

for file in `ls -f`; do
  echo "$SEQ    $file"
  SEQ=`expr SEQ + 1`
done

But how do you do this with file names with spaces in them? I've already mentioned that this approach doesn't work; but neither does the workaround I found for copying, because I have a sequence number to process. Spent all afternoon trying, getting more and more frustrated in the process. Daniel O'Connor tells me that I'm using the wrong tools; but he's missing the point. The whole idea of UNIX is that the tools fit together. There are some conventions required for that, and one is that some characters are special, and you don't use them in file names. Daniel also didn't find a way (appropriate tools?) to solve this problem. People suggested that my workaround was insufficient if people put other special characters in file names, like " or a carriage return character (\n).

You'd think that I would gradually come to terms with the fact that people want to put spaces into file names. On the contrary: the more I have to do with them, the more they annoy me.


Topic: technology Link here

As if that wasn't enough frustration, my keyboard once again generated a c-a-bs key combination, the one that X servers traditionally use to shut down. I have already disabled this combination. Did the X server care? No: it shut down anyway. I've checked the key maps, and they definitely show no server shutdown; but I also checked the combination, and yes, it shuts down the server anyway. I'm not sure what to do about that. I suppose I should go in and fix the server, but why should that all be necessary?


Saturday, 19 September 2009 Dereel Images for 19 September 2009
Top of page
previous day
next day
last day

Topic: technology, music Link here

More work on the scripts for copying MP3s today. I'm using ls -f and ls -t to list the file names in the sequence I want them, something that I can't do with find (which has options to handle file names with spaces in them). But ls has an option or two (-b and -B in the BSD versions) to handle unprintable characters. GNU ls only has -b, which seems to be the same as -B in BSD. Both of these options have nothing to do with spaces; but the idea sounded good, and I started off thinking of printing something that would escape delimiter characters as well. But how? It would be nice to be able to convert back again too, so things the octal escapes used in the -[bB] options or like HTML escapes weren't appropriate. In the end decided on printing the names in hexadecimal. That worked straightforwardly enough, but strangely there's no standard program that converts back again, so wrote one of those too. The resultant code for listing the files looks like:

for DIR in `ls -f`; do              # This, at any rate, doesn't have spaces in it
  echo === Track $SEQ: $DIR
  for FILE in `ls -fX $DIR`; do
    printf "%4d: " $SEQ
    
hex2ascii $FILE
    echo
    SEQ=`expr $SEQ + 1`
  done
done

That works, but it's still not very satisfying. Is the -X option interesting enough to put in the already overloaded list of options to ls? I still need to think about that one.


Sunday, 20 September 2009 Dereel Images for 20 September 2009
Top of page
previous day
next day
last day

Topic: technology, music Link here

A few messages today, from Mads Martin Jørgensen, Patrick Hess and Michael Hughes, all pointing out that I can modify the treatment of output of programs in backquotes (``) with the aid of the shell IFS variable, which describes which characters delimit arguments. By default the characters are space, tab (\t) and newline (\n). By setting the value just to \n, you can work around spaces in file names—if the program in question returns \n between arguments. Fortunately, that's the case with ls. Here an example of when it works and when it doesn't:

$ ls -l
-rw-r--r--  1 grog  wheel  0 Sep 21 10:00 Another lossy name
-rw-r--r--  1 grog  wheel  0 Sep 21 10:00 Lossy name
# This is my problem
$ for FILE in `ls -rt`; do
++    echo $FILE
++ done
Lossy
name
Another
lossy
name
# And here it works
$ IFS="
++ "
++ for FILE in *; do
++    echo $FILE
++ done
Another lossy name
Lossy name
# But this doesn't work
$ for FILE in `echo *`; do
++    echo $FILE
++ done
Another lossy name Lossy name

So it only works if the program returns values separated by \n. echo doesn't, with the result that all the text gets lumped together as one parameter—the opposite of the previous problem. Still, it solved my particular problem (that one, anyway), for which I'm grateful.

Unfortunately, the problem didn't stop there. As I've mentioned, the naming of the tracks is so variable that it's very difficult to get them back into the original sequence—if that's even what I want. A couple of examples:


Topic: brewing, technology Link here

brewer.lemis.com is no more. It went down yesterday and wouldn't come back up again. I suspect the disk has had it, but it's difficult to say without a display. In any case, it's seen better days:


  This should be brewer-1.jpeg.  Is it missing?
Image title: brewer 1          Dimensions:          1804 x 3912, 592 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Monday, 21 September 2009, thumbnails          All images taken on Monday, 21 September 2009, small
Diary entry for Monday, 21 September 2009 Complete exposure details

 
  This should be brewer-2.jpeg.  Is it missing?
Image title: brewer 2          Dimensions:          1696 x 3928, 544 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Monday, 21 September 2009, thumbnails          All images taken on Monday, 21 September 2009, small
Diary entry for Monday, 21 September 2009 Complete exposure details

 

From recollection the components must date to about 1991, and it's only a 16 MB Intel 80486 (50 MHz, I think). The real issue is that I can't find any disks to repair it with, and I'd need an ISA display card as well. So time to start building a new one; and that will be somewhat hampered by the fact that I'm currently using an ISA adapter with a 802.11 card to connect to the network, something that you don't easily find on more recent machines.


Topic: technology, general Link here

If I were to believe my weather station today, we're having pretty extreme weather: it reported a low temperature of -1840.3 °C, enough to cause the HTML generator to crash. Clearly more work needed. Took a look at the code, but without better documentation it's really not clear what the best solution is. There are clearly two issues: one is ridiculous temperatures like this one, and the other is sudden changes. How quickly can temperature change? On 7 February 2009 the temperature dropped 15° in 30 minutes; that's presumably about as fast as you'd ever see it.

I joined up the wview mailing list a couple of days ago, and, after finding a way which Google groups didn't reject, replied to a thread about access to the repository (there is no access). As I've already observed, lack of access to the revision history has made things complicated, and I said so. The response (to a message sent with texts completely out of order)?

Date: Sun, 20 Sep 2009 01:17:26 -0500
From: "Mark S. Teel" <mteel2005@gmail.com>
To: wview@googlegroups.com
Subject: [wview-group] Re: Git/svn repository

Please do not resequence - top-down blows.

Greg 'groggy' Lehey wrote:

And that was all. No mention of my concern about access to the revision history. This confirms my opinion about people who can't read beyond the first couple of lines, and one of the reasons I hate reverse chronological documents.

Mark Teel is the principal author of wview, and also the first person I've ever seen to ask me to write messages upside-down. Clearly this is not a list in which I will participate. Still, maybe this is not such a bad thing; there are so many details I don't like about wview that the lack of requirement to feed back my data might turn out to be a relief.


Monday, 21 September 2009 Dereel Images for 21 September 2009
Top of page
previous day
next day
last day

Topic: technology, brewing Link here

More thinking about brewing computers today. Put together a much newer machine, only about 4 years old, and found a FreeBSD disk to go with it. And now? I had included the special hardware in the case of the computer, but it seems to make more sense to have a separate box. I now have a few dead UPSs that have power connectors on the back, which makes them a good choice. Now to find enough energy to gut the cases and put in the hardware.

Also started working out the network cabling to the garage. I put some in quite a long time ago, and there is a switch in Yvonne's office cupboard—6 cables and 5 ports. Found an 8 port switch and put that in there; all I need to do now is put a connector on the cable in the garage.


Tuesday, 22 September 2009 Dereel Images for 22 September 2009
Top of page
previous day
next day
last day

Topic: brewing, technology Link here

A little more work on converting the UPS housing to a housing for the temperature control hardware. It has three power sockets on the back which I can use for connecting hardware. I only need two, but the third could come in handy, especially as I have a total of 8 relays. It's interesting to note the “surge protection” on the back:


  This should be Surge-protection-2.jpeg.  Is it missing?
Image title: Surge protection 2          Dimensions:          3024 x 4032, 1744 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Tuesday, 22 September 2009, thumbnails          All images taken on Tuesday, 22 September 2009, small
Diary entry for Tuesday, 22 September 2009 Complete exposure details

 
  This should be Surge-protection-1.jpeg.  Is it missing?
Image title: Surge protection 1          Dimensions:          3024 x 4032, 880 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Tuesday, 22 September 2009, thumbnails          All images taken on Tuesday, 22 September 2009, small
Diary entry for Tuesday, 22 September 2009 Complete exposure details

 
  This should be Surge-protection-3.jpeg.  Is it missing?
Image title: Surge protection 3          Dimensions:          3024 x 4032, 1424 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Tuesday, 22 September 2009, thumbnails          All images taken on Tuesday, 22 September 2009, small
Diary entry for Tuesday, 22 September 2009 Complete exposure details

 

If there's any “surge protection” at all for the left hand socket, it must be the fuse. But now I'm left wondering how to connect things to the box. There's much more space there than I need, but where do I put the connectors? There's not much external surface except for the cover. More thought required.


Topic: technology Link here

In the afternoon Yvonne called me in to tell me that her machine had hung. It hadn't: it had paniced, with a double fault. While I was looking at the dump, it happened again, and a further investigation showed that it had happened in the morning and—somehow—Yvonne hadn't noticed.

The kernel was ancient, and I had neither sources nor a debug kernel, so started building a new kernel. That failed with the message “I/O error writing to Make.log”. Make.log is where I write the output of the build, and like the source tree, it was NFS mounted. So is Yvonne's mail inbox folder, and the last two panics occurred while she was writing back to it. And yesterday I changed the switch connecting the two machines. Are we getting some kind of data corruption? First I need a kernel, and building that took the rest of the day.

How not to communicate, part 11.3

Peter Jeremy reminded me of the typical example of the stupidity of “top posting”:

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting frowned upon?

Wednesday, 23 September 2009 Dereel
Top of page
previous day
next day
last day

Topic: technology Link here

Last night I had rebooted Yvonne's computer with the new kernel, but hadn't done the installworld yet. Came in this morning to find it not running properly; the root file system was full, and the network was down.

OK, I had just built a new kernel, and I had collected a few dumps during the day, so moved the objects to the /home file system, after which I had barely enough space. The network issue was more interesting: the name of the interface has changed, from nve0 to nfe0! I don't know why BSD needs to have different names for each interface; I think this is one area where Linux does better. What I saw in the dmesg output was (before, then after):

Sep 18 14:39:07 lagoon kernel: nve0: <NVIDIA nForce MCP2 Networking Adapter> port 0xd400-0xd407 mem 0xe7001000-0xe7001fff irq 20 at device 4.0 on pci0
Sep 18 14:39:07 lagoon kernel: nve0: Ethernet address 00:0c:76:93:7a:fb

Sep 23 09:29:41 lagoon kernel: nfe0: <NVIDIA nForce2 MCP2 Networking Adapter> port 0xd400-0xd407 mem 0xe7001000-0xe7001fff irq 20 at device 4.0 on pci0
Sep 23 09:29:41 lagoon kernel: miibus0: <MII bus> on nfe0
Sep 23 09:29:41 lagoon kernel: icsphy0: <ICS1893 10/100 media interface> PHY 1 on miibus0
Sep 23 09:29:41 lagoon kernel: icsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Sep 23 09:29:41 lagoon kernel: nfe0: Ethernet address: 00:0c:76:93:7a:fb

That's easy enough to fix, but it needs fixing. And that explained the real reason why the root file system was full: the nightly dump, which goes via NFS, had written itself to the root file system. What a pain.

While tidying up, came across another strangeness:

=== root@lagoon (/dev/ttyp2) /var/crash 3 -> l
...
-rw-------  1 root  wheel  1073287168 Jun 14 18:00 vmcore.0
-rw-------  1 root  wheel  1073287168 Jul 11 12:06 vmcore.1
-rw-------  1 root  wheel  1073287168 Jul 19 09:05 vmcore.2
-rw-------  1 root  wheel  1073287168 Sep 22 11:00 vmcore.3
-rw-------  1 root  wheel  1073287168 Sep 22 15:45 vmcore.4
-rw-------  1 root  wheel  1073287168 Sep 22 16:05 vmcore.5
=== root@lagoon (/dev/ttyp2) /var/crash 4 -> rm vmcore.* info.*
=== root@lagoon (/dev/ttyp2) /var/crash 5 -> df .
Filesystem  1048576-blocks Used Avail Capacity  Mounted on
/dev/ad0s1d           9916 4898  4223    54%    /

So I had removed 6 GB of dumps from a file system that wasn't quite full, and at the end I had only 4223 MB free? How did that happen? It occurs to me that I should have looked to see whether there were any symbolic links there, but locate didn't find anything else. Strange. Are we writing dumps with holes in them nowadays?

AUUG dies: end of an era

Another recent occurrence may be the result of the recent bad weather: on Monday the Internode data centre in Adelaide had a power outage, and the old AUUG web server didn't come back up. Today David Newall got in contact with them to find out what had happened: the (only) disk had failed. Stephen Rothwell intends to put up a replacement machine soon, but currently it's off the net. So not only is AUUG dead, the web server is too. It's something like the end of an era.

More mail non-sequiturs

Peter Jeremy is finding some nice silly mail exchanges. Here's another:

Because it fouls the order in which people normally read text.
> Why is top-posting such a bad thing?
>> Top-posting.
>>> What is the most annoying thing on usenet and in e-mail?

The reference to USENET shows how things have changed since we were all able to communicate with each other.


Monday, 28 September 2009 Dereel Images for 28 September 2009
Top of page
previous day
next day
last day

Topic: technology, opinion Link here

A few months ago I signed up for Twitter, for reasons that didn't even make sense at the time, and only a couple of weeks later they changed the password rules, so that when I tried to log in, I was told that my password—previously accepted—was invalid, and I had to change it.

I didn't use Twitter again, though I note with amusement that the announcers on ABC Classic FM now refer to the users as “Twits”. Today I got a message with the subject line “Deporte6am wants to keep up with you on Twitter”. That shouldn't be difficult, given the speed with which I use it. Still, tried to log in again, and this time I didn't get the message that my password was wrong or invalid. I just got a new login screen, repeatedly.

Doubtless this is an adaptation to the preferred clientele, but clearly it means “your password was not accepted”. Sent off a message to reset my password, and didn't get the promised mail message: it had been eaten by SpamAssassin:

Content analysis details:   (3.8 points, 3.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 1.0 HTML_MESSAGE           BODY: HTML included in message
 1.8 HTML_IMAGE_ONLY_32     BODY: HTML: images with 2800-3200 bytes of words
 1.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
                            [score: 0.4998]

Reset my password again, and got the message:

 
This should be twits.gif.  Is it missing?
Image title: twits
Dimensions: 519 x 345, 24 kB
Dimensions of original: 519 x 345, 24 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Monday, 28 September 2009:
thumbnails    small images    diary entry

Clearly the message is wrong: the password did contain spaces, but they don't accept it. So they're continually weakening their passwords. Never mind; I haven't found anything of interest on Twitter, so I'll leave it the way it is. No idea who Deporte6am is, but it wouldn't help anyway.


Top of page Previous month Greg's home page Today's diary entry Next month Greg's photos Copyright information

Valid XHTML 1.0!

$Id: diary-sep2009.php,v 1.57 2011/12/23 00:07:10 grog Exp $