An aggregation of our Blog Roll, made up of acmqueue authors.   more

All Postings, Greg Lehey:  (2,816 posts)

Source blog: Greg's diary


More GPS fun

Posted By Greg Lehey

For no particular reason, dragged out my old Garmin GPS II device today, put some batteries in, and left it to find where it was. It took nearly an hour! And yes, it works. But what use is a GPS receiver without navigational aids? And navigators are now so cheap that it's just not worth thinking about. Today Yvonne bought a new navigator at ALDI for $59. I've been buying every one they have on offer, about twice a year, in the hope that the maps will some day improve. Today might be the day: finally they've discovered Kleins Road, where I live.

Mon, 10 Oct 2016 00:40:28 UTC

Still more MythTV agony

Posted By Greg Lehey

What happened to this mornings Deutsche Welle news? For some reason, it didn't get recorded. Usually that's an indication that something much more important has come up, like a football game in Uraguay. But no, today it was broadcast, it just didn't get recorded. And when I tried to schedule another recording, the system just hung. OK, rebootafter all, Ubuntu emulates Microsoftand then the recordings were already scheduled. But what went wrong? That's a problem I've never had before. But that reminded me that I was still planning to retry a Mythbuntu installation on /dev/sda1. The intention was to set the IP address and system name as it was supposed to remain.

Wed, 05 Oct 2016 22:49:48 UTC

Next day of MythTV pain

Posted By Greg Lehey

My current status is that MythTV is running on a machine called greg-GA-MA785GT-UD3H, and I can record up to four programmes at a time. Done? Hardly: Clearly the system name (and DHCP served IP address) is Just Plain Stupid. It should be called, which has a public IP address. To use NFS, my personal user ID should be the same as the IDs on other systems in the network.

Tue, 04 Oct 2016 23:03:22 UTC

MythTV: First success

Posted By Greg Lehey

So yesterday's issue with MythTV was a MySQL configuration issue? Dug through the bug report, which offered at least two alternative solutions, and chose the correct one: --- /etc/mysql/conf.d/mythtv.cnf~       2016-10-03 16:56:56.682980378 +1100 +++ /etc/mysql/conf.d/mythtv.cnf        2016-10-04 13:49:21.424379549 +1100 @@ -1,3 +1,4 @@  [mysqld]  #bind-address=::  max_connections=100 +sql_mode=NO_ENGINE_SUBSTITUTION After that, oh wonder, MythWeb worked! Done! After only 9 days! Well, not quite. I still need: Finish configuring the system, including system name, IP address, file systems and my user ID.

Tue, 04 Oct 2016 01:17:17 UTC

Lost: Emacs bindings

Posted By Greg Lehey

Decades ago, my first experience with firefox was anything but positive. Since then I've learnt to live with it, but it seems to continually try to annoy me. On the very first occasion, I discovered that it had replaced the standard X key bindings with, as I said at the time, something Microsoft-like. At the time I found a way round the problem, but after today's upgrade it stopped working. What's wrong this time? Sometimes I despair. Twenty years of web browsers, twelve years of multimedia software, and they continually conspire to make life hard. But this time I found a firefox addon to do the job for me, firemacs.

Mon, 03 Oct 2016 23:45:00 UTC

MythTV pain, the fourth

Posted By Greg Lehey

I've been trying for a week to install a new version of MythTV, so far without success: On 26 September I installed LinHES. It proved difficult to find a version of shepherd to match, the machine seemed to be continually accessing the disk, and I had difficulties with MythWeb that seemed to depend on how I accessed it.

Mon, 03 Oct 2016 01:40:19 UTC

Package upgrade: the pain

Posted By Greg Lehey

So I am finally forced to upgrade firefox on eureka. I've been reluctant; the package system is much better now, but there seems to be a maze of twisty little interdependencies, all different. Every time I have tried to upgrade firefox, it has tried to remove Emacs. Not an option. So how about rebuilding from source? Started thatnot for the first timeand not for the first time and into endless pain: all the packages that needed removal before I could build the new version. The worst seems to be rust, which bills itself as an open-source systems programming language that runs blazingly fast....

Mon, 03 Oct 2016 01:38:22 UTC

External editor for firefox

Posted By Greg Lehey

A week or so ago the It's All Text addon to firefox stopped working. Why? It seems that the developer uploaded a corrupt version to the web site. Why should that stop the locally installed version working? Because. My best guess is that automatic updates are so clever that they first remove the old version, then check if the new one works.. I waited a while, sent a message to the developer, which remains unanswered, and went out looking for an alternative. What I want is a way to get a sane editor (Emacs) to edit text fields in firefox. Surprisingly, there are very few.

Mon, 03 Oct 2016 01:16:55 UTC

Identifying motherboards

Posted By Greg Lehey

Yesterday I commented on the strange system name that Ubuntu thought out for my new ceeveear system, apparently the model number of the motherboard. Peter Jeremy also came out with an explanation of how to find the number: it seems that the BIOS provides it. With FreeBSD I can get it with: === grog@eureka (/dev/pts/8) ~ 44 -> kenv | grep smbios.planar smbios.planar.maker="ASRock" smbios.planar.product="Z87 Pro4" smbios.planar.serial="E80-37011700126" smbios.planar.version="                      " That was on eureka, and it looks like some kind of sysctl, but it isn't.

Sat, 01 Oct 2016 23:05:59 UTC

Ubuntu system names

Posted By Greg Lehey

I had puzzled over the strange default system name that Ubuntu gave to my computer: greg-GA-MA785GT-UD. Peter Jeremy came out with an explanation: it appears to include the model number of the motherboard! Apart from the question about how it found the name, what earthly use is that? It would make (marginally) more sense to describe the appearance of the box. I never cease to be amazed. ACM only downloads articles once.

Sat, 01 Oct 2016 02:55:34 UTC

Next day of MythTV pain

Posted By Greg Lehey

On rather half-heartedly with my Ubuntu installation today. Over the course of time I discovered that the base Ubuntu installation is missing a lot more than just MythTV. Here's a first cut at what needs to be done to get the thing working: apt install emacs nfs-server rwho rwhod openssh-server mailutils mutt On the positive side, Emacs on Mythbuntu used the clipboard for the top of the kill ring, which greatly irritated me.

Fri, 30 Sep 2016 00:00:06 UTC

Another day of multimedia pain

Posted By Greg Lehey

Yesterday's installation of Mythbuntu was a complete letdown, and by the end of the day I still had what is almost certainly like a downright bug in Mythweb. The code in question is:     $Settings['database'] = array('name'    => t('Database'),                                   'choices' => array('settings' => t('Database Health'),                                                     ),                                   'default' => 'settings',                                  ); Clearly t() is a function to translate messages, but it wasn't ...

Thu, 29 Sep 2016 01:55:07 UTC


Posted By Greg Lehey

I like things to be comfortable. I'm sure that goes for most of us, but other people seem to be able to put up with more discomfort than I do. How else can you explain the proliferation of painful interfaces to computers? Ildikó spent a lot of her time here peering into her (normal-sized) mobile telephone. At Dan Murphy's (We beat all competitors' prices) today I tried to get the online price for the beer I bought, and told the sales person that I had received a better price in an email. His answer can you show me your phone?. And in the afternoon my pain with Mythbuntu was compounded by the sitting position.

Wed, 28 Sep 2016 23:15:47 UTC

MythTV: 8 years, no improvement

Posted By Greg Lehey

As planned, started installing Mythbuntu today. I wasn't prepared for what happened. One thing was clear: I had dedicated the entire disk to LinHES, so that had to go. But once the install DVD had finished an almost interminable boot process with completely blank screen, it came with an option to install Ubuntu alongside it: What on earth does that mean? Which divider? And what does that mean? Tried selecting the dotted line at the bottom, but all I got was a broken window: It wasn't until I processed the photos that I saw a dotted line between the two sections: ...

Tue, 27 Sep 2016 23:07:27 UTC

Your web site has a broken link

Posted By Greg Lehey

Message from Skye MacInnes, a web designer who is responsible for Rays Outdoors: it seems that they have completely redesigned the web site, and a link I put to there 7 years ago is now broken. Full marks to Skye for follow-up. (S)he also gave me a replacement URL, ending in a 7 digit number which sounds like it's predestined to die in due course. But looking at the situation, there are a number of things wrong: There is a second broken URL,'s, which also doesn't resolve.

Tue, 27 Sep 2016 21:59:19 UTC

Why LinHES?

Posted By Greg Lehey

More playing around with LinHES today. Blew the cobwebs out of ceeveear and put it in the correct place, connected to the TV antenna, and tried setup. It started up with an amazing amount of disk activity, and I couldn't start an xtermapparently I was too impatient, and gave up after only one minute. I get the impression it was emulating Microsoft activity after startup. And I couldn't put an xterm on tiwi: xterm: Xt error: Can't open display: tiwi It turns out that the network configuration wasn't complete.

Tue, 27 Sep 2016 21:46:28 UTC

More TV recording pain

Posted By Greg Lehey

Yesterday I established that my TV could record programmes to a USB stick. This morning I still didn't have ceeveear up and running, so I recorded the German News on the USB stick. And how about that, directly behind that, at 11:00, came the first debate between Hillary Clinton and Donald Trump. That seemed worthwhile looking at it, so I let the recording continue (helped by the fact that I don't know how to stop it). Some time later, while it was still recording, but after the end of the programme, I started watching it.

Tue, 27 Sep 2016 00:01:38 UTC

Goodbye KnoppMyth, hello LinHES

Posted By Greg Lehey

Finally I had time to recover the disk on cvr2. Found a new, larger disk, inserted it and an old FreeBSD disk into the machine, and booted FreeBSD. First removed the partition table with gpart, and then I was then able to copy the disk with dd. All over, including 250 GB of data transfer, in under 90 minutes. Booting wasn't so easy: after booting from the new disk, mounting the root file system failed. That's quite common under these circumstances, but the message (preceded by a trace) was new: Failed to recover EFIs on filesystem: sda1 That's from XFS, something I don't really know too well, but it appears to be some log corruption.

Sun, 25 Sep 2016 01:05:04 UTC

cvr2 dead

Posted By Greg Lehey

Recoding a recording on today, and in the middle got an error message: I/O error. What's that? Disk full? df told me nothing: it hung. So did everything else. It looked like a disk error. Connected a keyboard, but couldn't switch to the console, so I had to reboot. Nothing in /var/log/messages, apart from some silly --- MARK --- messages. Nothing in /var/log/syslog apart from some misspelt messages from cron. OK, it seemed to be working again. But only for an hour or so. This time I took a look at the console. Nothing. Why is Linux so lacking in error reporting?

Sat, 24 Sep 2016 00:50:34 UTC

Full Google Maps, an easier way

Posted By Greg Lehey

A couple of months ago I found a way to trick Google Maps into switching to Full mode, even though I wasn't using its anointed hardware and software. But it was somewhat clumsy, and in general I didn't bother. But today, also by chance, I found a much easier way, at least for firefox: Display something in Street View. Close the tab or window. Select History/Recently closed Tabs. Presto! Select YES.

Wed, 21 Sep 2016 22:59:55 UTC

Making friends with kdenlive

Posted By Greg Lehey

I had a video clip from 17 April 1969 which I wanted to put into the diary for the day. My last experience with kdenlive didn't get me very far, but I had to do something. Today I tried again. Once again it asked me for setup details, which I thought were for the first time only. But for whatever reason it asks for them every time, with a series of 6 windows with Next buttons in different positions, clearly designed to irritate. Then I read the documentation again. Thank God it's there! It wouldn't have made any sense at all without it.

Mon, 19 Sep 2016 01:04:02 UTC

Ports upgrade

Posted By Greg Lehey

Encouraged (for some reason) by the installation of kdenlive, it occurred to me that it was probably time to upgrade other ports, notably the browsers that had just crashed. Started off with chromium: === root@eureka (/dev/pts/10) ~ 137 -> pkg upgrade chromium The following 55 package(s) will be affected (of 0 checked): Installed packages to be REMOVED:         vips-8.2.2         cups-image-2.0.3_2         cups-client-2.0.3_2         inkscape-0.91_6         nip2-8.2 New packages to be INSTALLED:         cups: 2.1.4 Installed packages to be UPGRADED:         chromium: 48.0.2564.97 -> 52.0.2743.116 ...

Mon, 19 Sep 2016 00:54:12 UTC

Understanding kdenlive

Posted By Greg Lehey

After finally installing kdenlive, time to run it. And sure enough, it popped up an introduction window: Followed that and got: Sigh. Maybe not the current version? Off to the web site to find out, but it's one of those sites that don't even tell you what it is, let alone what the latest version. At there's a section History. Well, a heading; there's no content.

Mon, 19 Sep 2016 00:10:18 UTC

Video editing revisited

Posted By Greg Lehey

I have a large number of old 8 mm ciné films that my father took between 1956 and about 1980, now copied onto VHS tape, where suddenly there were only two E-180 tapes, both not full. Some time ago I copied one of them to DVD, and it looks like a good time to dissect the individual clips, which are very short: the old Standard 8 mm film only lasted 4 minutes, and it was very expensive. So a video editor. But which one? I've been here before. Once again I tried Project X, and once again I couldn't work out how to use it.

Sat, 17 Sep 2016 00:40:28 UTC

Hugin bugs

Posted By Greg Lehey

Michael Havens has sent several messages to the Hugin mailing list recently describing the problems that he has had with Hugin, and I've tried answering some of them. His most recent message: I got 34 images and when I first load the images everything seems cool but when I click align I get an error <below>. Then I click continue and it says that none of my images have control points and that I need to put them in manually. Any ideas as to what's wrong? ASSERT INFO: /usr/include/wx-3.0/wx/strvararg.h(451): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier ...

Fri, 16 Sep 2016 23:55:11 UTC

Increase speed limits!

Posted By Greg Lehey

Bill Tilley, a Victorian MLA of whom I had never heard, has started a survey (really a vote) on speed limits on Victorian freeways (only). Clearly a thing of which I am in favour, and I replied accordingly: See Speed limits have been imposed for the primary intention of reducing traffic accidents. As official documents quoted there indicate, this intention has not been met: depsite lower traffic volumes, road accidents in Victoria are higher than in Germany, where there is no general speed limit. Clearly the underlying assumption is to blame.

Fri, 16 Sep 2016 00:40:49 UTC

Slow day

Posted By Greg Lehey

Another slow day with nothing much to report. I suppose as I get older there will be more of them. I had intended to take my monthly garden photos, but the weather wasn't up to it. Spent some time watching the Marc Levoy videos, in the process noting that teevee can't render WebM sound correctly, while eureka has no trouble. What's the issue there? ACM only downloads articles once.

Wed, 14 Sep 2016 00:46:38 UTC


Posted By Greg Lehey

Spam is a way of life, of course, and a reasonable amount comes from people who want to improve my web site, even if it isn't mine. This particular one strikes me for a number of reasons: From: Oliver Hodges | Page Port Pty Ltd <> To: Subject: My name is Oliver and I am-Digital-Marketing-Manager. I recently browsed through your business-website-and wanted to highlight some key points for consideration. I am sure I can help your-website-rank on-Search-Engines-a lot easier. I have compiled a-website-audit-which lists all the areas that your-website- needs improvement in.

Sun, 11 Sep 2016 23:37:45 UTC

Levoy's depth of field explained

Posted By Greg Lehey

I'm continuing with Marc Levoy's photography course. It's interesting, but the production is still an issue, and by lecture 4 (which has other sound quality issues) he's only just getting round to repeating questions posed (inaudibly) during the lecture. The course so far (currently handling lenses) is really quite technical, and I'm learning quite a bit. But he has come back to depth of field, an issue that had occupied me a couple of days ago, and it seems that he's making some quick and dirty assumptions, notably that the conjugate of the circle of confusion is small relative to the aperture: The size of the cognate is proportional to the magnification.

Sat, 10 Sep 2016 23:41:21 UTC

Thou shalt not KILL

Posted By Greg Lehey

Came across this on IRC today: ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sat, 10 Sep 2016 00:13:24 UTC

Old Kuala Lumpur, Facebook style

Posted By Greg Lehey

The photos that I licensed to Telekom Malaysia have now been published on Facebook, as part of a photo montage: It almost looks as if they took the versions I supplied before fixing them up. But maybe that's part of the impression they want to make. ACM only downloads articles once.

Thu, 08 Sep 2016 00:46:30 UTC

Marc Levoy's depth of field calculation

Posted By Greg Lehey

I'm continuing watching Marc Levoy's photo course, and as I suspected the tone issues were much improved in the second lecture. For the fun of it, put his formula into my depth of field program for comparison. Parts of it are excellent. In most cases it comes out with as good as exactly the same values. But sometimes it doesn't. For example, for a 35 mm lens at f/11 and a focus distance of 12 m, using a circle of confusion of 8 ¼m, my program gives: Subject        Focal plane     Magnification  Exposure       Near        Far         Depth of distance (m)   distance (mm)                    comp  (EV)   limit (m)   limit (m)  field (m)   12.00           ...

Tue, 06 Sep 2016 00:14:39 UTC

GPS navigation accuracy

Posted By Greg Lehey

I've ranted in the past about the accuracy of my GPS maps. In particular there's a good route home from the west of Ballarat, via Bowens Road. Even Google Maps gets it almost correct. Here's the relevant part of the journey. Coming south there's a turn south-east into Bells Road, then back south west into Sebastopol-Smythesdale Road and almost immediately south into Bowens Road: Google Maps doesn't like Bowens Road, so it takes me to the next parallel road, Tom Jones Road, adding about 700 m to the journey. But compared to its normal inaccuracy, that's almost acceptable.

Sun, 04 Sep 2016 23:44:14 UTC

More photo software

Posted By Greg Lehey

I'm still looking for a photo software package that I can use to recover my slides. Today I came across Lightzone and installed it. Like all software, it requires getting used to, and it has a less than average awareness of directory structures, but there seem to be a number of knobs that I can use, and possibly it's worthwhile. ACM only downloads articles once.

Sun, 04 Sep 2016 01:41:58 UTC

Fixing HDR4 Projects gaudiness

Posted By Greg Lehey

I still haven't found a way to persuade HDR Projects 4 to produce images that aren't ridiculously gaudy. I can alter each individual image, but the whole idea is to batch process the images, and the save preset function doesn't seem to include the corrections. Today I tried a different approach: I first convert the raw images to TIFF with DxO Optics Pro. Today I set saturation down by 30 points (whatever that may mean in absolute terms) and processed that. It seems to be an improvement, though it's not that obvious looking at direct comparisons. I'll have to keep an eye on the matter.

Sun, 04 Sep 2016 00:41:58 UTC

The right language for the job

Posted By Greg Lehey

My recent work on old photos makes it clear that I need to have images that aren't listed on the pages. For example, the image 19650803/small/Norm-1.jpeg has moved to 19650804/small/Norm-1.jpeg, and I've renamed 19640828/small/KL-8.jpeg to the more descriptive 19640828/small/Bank-Negara-Malaysia.jpeg. But I can't just remove the old names, because search engines keep looking for them. On the other hand, I don't want these names to show up on the page. Each page has an associated file photolist.php (for hysterical raisins, since they're just a list of the file names and dimensions) which I use to build the page. My current idea is to add a further data column to flag those images that shouldn't be displayed.

Fri, 02 Sep 2016 01:13:45 UTC

The advantage of laptops over tablets

Posted By Greg Lehey

I've been ranting for years about the disadvantages of mobile phones and tablets compared to laptops (or are they notebooks now): the biggest is clearly the lack of a usable keyboard. But it seems that Lenovo has leveled the playing field: they've introduced a new laptop with versatile touch panel keyboard. What an idea! It seems that young users, clearly uneducated, are used to touch screens, so this is a natural. This article sums it up: Officially its called the Halo Keyboard, and if youve ever tried to quickly type on a tablets software keyboard than youll be familiar with the experience.

Thu, 01 Sep 2016 23:38:02 UTC

Still more photo recovery

Posted By Greg Lehey

I'm not making much headway with my photo recovery, though I'm learning a lot as I go. Spent a lot of time today trying to make sense of these two photos: They're still not good. There seems to be no green at all in the first image, and nothing that I could do would help. The green slider on various software had no effect. It really seems as if all green is missing from the image.

Thu, 01 Sep 2016 00:28:21 UTC

More slide scanning pain

Posted By Greg Lehey

On with my slide scanning today, though I'm not sure it's a good idea. Spent most of the day looking at the slides taken on 28 April 1967, in the Bay of Bengal near the Nicobar Islands. I'm really not happy with the results: The colours are all wrong! I noticed this a couple of days ago with the images taken on 19 June 1983, but here I couldn't find any way to improve them.

Wed, 31 Aug 2016 00:29:27 UTC

More photo processing stuff

Posted By Greg Lehey

Lots more image scans today, in the process improving my EXIF creation script. I've let myself in for a lot of work. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sun, 28 Aug 2016 00:15:03 UTC

Factors: enough!

Posted By Greg Lehey

A month ago I started doing some factorizations of large numbers. The last number I tried was 1235443534534543534435425454254254554254325542543254325524524543254325425243543, and it kept the machine busy for quite some time. In fact, today, after a month, it was still going strong: USER  PID  %CPU  %MEM     VSZ     RSS TT  STAT STARTED  TIME        COMMAND grog        2282 100.0  0.0   16484    3680 38  R+   27Jul16  44835:12.87 /usr/games/factor 123544353... That's 44835 minutes of CPU time (1868 hours, or 31 days). That's enough, and I pulled the plug.

Sat, 27 Aug 2016 23:25:58 UTC

Getting to the bottom of scanning

Posted By Greg Lehey

Did some more playing with the crop rectangles on the Home mode previews, and was able to move them around or diminish them, but not to enlarge them: Reading the reference guide, however, was illuminating. It seems that there is a way to remove the crop: just click on the Delete Marquee button. And sure enough, it's gone, and I can scan the entire area of the slide (which it recognizes correctly). Only: this only works in toy Home mode, which of course is far too simple to understand 16 (48) bit pixel depths.

Sat, 27 Aug 2016 00:12:14 UTC

Still more photo processing

Posted By Greg Lehey

Gradually I'm coming to terms with scanning the old photos, and about the only issue I still have is the excessive cropping, which I haven't been able to fix. Found a reference guide for both the scanner and the software, conveniently in multi-page, hard to navigate HTML, but at least it contains some information. Not, unfortunately, information on how to change the crop. About the only thing I discovered is that while the Home settings display the crop (and confirm that it's too small), I can't change it: It did, however, tell me that some of the buttons in the Adjustments section create additional windows that modify the function.

Fri, 26 Aug 2016 02:36:52 UTC

EXIF creation script: done?

Posted By Greg Lehey

More playing around with my script for entering EXIF data into the scanned photos today, and got something relatively useful. Clearly there's material for much more playing around here. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Thu, 25 Aug 2016 23:39:51 UTC

Still more scanning and processing

Posted By Greg Lehey

Why does my scanner no longer show thumbnails in professional mode? If it's a setting, maybe the old Microsoft reinstall trick will work. And maybe it won't. And maybe I'll just lose all scanner functionality. A safer bet would be to try it on a second machine. Did a bit of digging and found the disc for, the predecessor of dischord, running Microsoft Windows Vista. And how about that, it worked normally. So it seems most likely that the problem was some interference from SilverFast. I'll leave it the way it is for the time being, until I decide whether I want to use SilverFast or not.

Mon, 22 Aug 2016 02:13:32 UTC

Breakfasts of the world

Posted By Greg Lehey

Quora is a strange site. People ask questions, anybody can answer them, including myself. But many questions are just plain silly, and there are very qualified people who answer many of them, so I seldom bother. Recently there was a question on the Zika virus. A good answer came from a certain Hillary Clinton (slamming the Republican party for not doing more). And another asked what kind of vice-president Tim Kaine would make. Answer came from Tim Kaine. So clearly it's not completely irrelevant. But by coincidence I found, a while back, a breakfasts of the world post. There's some interesting stuff in there, and of course some stuff that I'd never think of touching (typically overly sweet and processed US food), but a surprising number of suggestions of the kind I've been looking for for some time.

Sun, 21 Aug 2016 02:11:47 UTC

Goodbye Android

Posted By Greg Lehey

My Android tablet is not even 3 years old, but it has become almost impossible to charge it: both power inputs make such poor contact that it's hard to tell whether it's charging or not, not in the slightest helped by the fact that the device takes about 20 seconds to show any reaction when a charger is connected. Over the past few days it seems to be suffering from a further issue, possibly dead battery: while connected to the charger it would intermittently display the logo (the first thing it does when starting to charge), and then turn off again. Today I moved it from my desk to my battery charge area on the other wall, and tried to turn it on.

Wed, 17 Aug 2016 23:54:25 UTC

Failed panorama

Posted By Greg Lehey

I had to take photos of yesterday's picture hanging, of course. The first idea was a panorama taken from the middle of the (circular) table in the middle of the room. How do you mount the camera? It has to be placed on top of the table, of course. But with the panorama bracket my real tripod is about 85 cm high, probably too high for the view I wanted. So I mounted it on a toy tripod I bought years ago. There's a carousel (lazy Susan) in the middle of the table, so I used that as a rotator. The results were underwhelming: Yes, of course I can crop the table surface, and I did: ...

Sun, 14 Aug 2016 01:19:36 UTC

File upload: no go

Posted By Greg Lehey

My file upload web page works, sort of, at least for me. Today we tried it in earnest, and one limitation became evident immediately: only one file at a time. Possibly there's a solution for that, but there was worse to come: it just failed silently. Select a file, press submit, and no response, not even the debug output that should have appeared. How do you debug that? One thing is clear: not during the presentation. Paul suggested using Dropbox instead, which sounded like complete overkill to move relatively large quantities of data 10 metres across the local network. But he signed me up anyway, and we waited for a confirmation message.

Sun, 14 Aug 2016 00:07:59 UTC

Camera Crew meeting

Posted By Greg Lehey

The monthly Dereel Camera Crew meeting took place this afternoon at my place, where I presented my raw processing presentation. It's not a big group, but I was expecting more than the two people who came (Carol Ann Moyse and Paul Shire). Paul, a professional photographer, was particularly interested, as he should be, and had lots of questions. How well did I address things? I'm not sure. It seems that the illustrations of how pixels work really was worthwhile. as were the underexposure examples. But Paul knew how to fix the underexposed image with PhotoshopIt'll only take me 10 seconds. Five minutes later he came up with an image which really did lighten up the shade area and keep the skies from burning out.

Fri, 12 Aug 2016 04:28:10 UTC

Uploading data via web site

Posted By Greg Lehey

On Saturday the Dereel Camera Crew are coming to learn about raw image processing. I'm asking them to bring some sample images with them. And how do we upload them? Loading photos from cameras using commodity operating systems is such a pain that I don't want to get started. So I'll ask them to bring a laptop and upload the images themselves. And how? CIFS? NFS? FTP? The modern way is to use a web page. How do you do that? Simpler than it seems, apparently. This page on W3schools popped up first, but it's clearly based on this page.

Fri, 12 Aug 2016 04:19:48 UTC

More census crash background

Posted By Greg Lehey

It's becoming clearer and clearer that the Census crash had nothing to do with FreeBSD. And it's not becoming much clearer what the real reasons were. But this tweet (a screenshot, of course, because you can't say anything useful on Twitter) seems to offer a plausible description. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Fri, 12 Aug 2016 04:09:12 UTC

More unintelligible error messages

Posted By Greg Lehey

While working on the server overload issue, discovered a number of these messages: pid 63711 (httpd), uid 80, was killed: out of swap space pid 63932 (httpd), uid 80, was killed: out of swap space swap zone ok swap zone exhausted, increase kern.maxswzone I've never seen that before. I wasn't out of swap spaceI was only using about 35%. Took a look and found: === root@www (/dev/pts/0) /usr/local/etc/apache24 89 -> sysctl kern.maxswzone kern.maxswzone: 0 That looks like a default value, the same as I have on my other machines.

Fri, 12 Aug 2016 03:25:29 UTC

Server overload

Posted By Greg Lehey

For some reason I forget, I wanted to look at something on the external server today. And once again, as a couple of weeks ago, the system was swapping its little heart out. This time things looked different, though: there were up to 100 httpd processes running, apparently all doing something useful. But this machine only has 1 GB of memory, and the swapping just completely overloaded it. OK, there are parameters to limit the number of concurrent servers. What are they again? Once I had a good understanding of Apache, but that was decades ago. Looking in http.conf, found: # Limit on total number of servers running, ...

Thu, 11 Aug 2016 00:02:38 UTC

Census web site down, but no data corruption

Posted By Greg Lehey

Yesterday was census day in Australia, and it seems the majority of the population chose to perform it on line. And then came the catastrophe: Hackers! They had to close down the site, and as of a day later, it's still down. Typical Microsoft vulnerabilities, right? Went off to find details and gloat. But I wasn't prepared for what I saw: FreeBSD? Is that our fault? Sent off a message to the developers to discuss it, and in the meantime tried to find more details.

Sat, 06 Aug 2016 23:31:03 UTC

25 years of web sites

Posted By Greg Lehey

Coincidentally with the 71st anniversary of Little Boy, and almost coincidentally with the 50th anniversary of my acquisition of my oldest camera, it seems that today was also the 25th anniversary of the first web site. How time flies! ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sat, 06 Aug 2016 00:41:40 UTC

New radio

Posted By Greg Lehey

The radio that I ordered at the end of June has finally arrivedwasn't posted until 13 July. It must have the distinction of being the only device I have with both instructions and inscriptions only in Chinese. I worked out how to use it as a radio, but there are other functions that will take time to decipher. At least I can use it for the original purpose, to trace faults in the electric fence. ACM only downloads articles once.

Fri, 05 Aug 2016 07:03:18 UTC

HDR fun, yet again

Posted By Greg Lehey

On Tuesday I finally managed to get a better image from HDR Projects 4, and to save the profile. That related to images with extreme dynamic range. How would that work with the relatively simple scenario of my house photos? Started with that profile and played around a while. And how about that, finally something better! Here are the results for last weekend, first the out-of-box HDR Projects results, then those with enblend, and finally today's results:     Today's do look the best, though arguably they're still too gaudy.

Fri, 05 Aug 2016 00:32:40 UTC

Full Google Maps!

Posted By Greg Lehey

Since Google Maps has downgraded to the New Look, it has refused to give me Full Google Maps. Why? It's not saying; the link just gives generics, not specifics to my installation. Sometimes I wonder if it's worth it: it seems so much worse than it used to be that I'm wondering if it's not deliberate. Today, however, the unexpected happened. Looking for contact numbers on the PPT web site, I found an embedded map with an incorrect location: OK, follow the link at the bottom, and I got an unexpected message: OK, nothing I'd like better (well, within context).

Wed, 03 Aug 2016 23:55:46 UTC

Factor: a week and counting

Posted By Greg Lehey

Last week I started running /usr/games/factor on a 78 digit number. It got as far as the first four factors (3 19 83 4259) and then got stuck in a loop looking for the next. It's still going a week later: USER  PID  %CPU %MEM   VSZ  RSS TT  STAT STARTED        TIME COMMAND grog 2282 100.0  0.0 16484 3680 38  R+   27Jul16 10117:06.11 /usr/games/factor 123544353453454353443542545425425455425 Interestingly, the time 10117 minutes corresponds to 7.026 days, almost exactly the time it has been running.

Wed, 03 Aug 2016 01:26:17 UTC

Understanding HDR, yet again

Posted By Greg Lehey

I'm writing a presentation about raw imaging processing for the Dereel Camera Crew. That's not really necessary: a demonstration would be good enough. But I have a desire to express things as well as possible, and as usual it's a lot of work. Where do you start? Not with raw images, that's for sure. First you need to understand the background, and that's where I'm (currently) starting: the presentation has been through several restructures, and I'm probably not done yet. Clearly the one area where raw images beat the hell out of JPEGs is recovering underexposed images. Here's an image which was roughly 4 EV underexposed: And here it is recovered from JPEG and from raw: ...

Tue, 02 Aug 2016 02:00:43 UTC

More focus stacking

Posted By Greg Lehey

Our Schlumbergera is flowering, another pretty flower with enough third dimension to challenge macro lenses. Took a few photos, both with in-camera processing (focus stacking) and postprocessing stacking (focus bracketing). The results weren't too bad: But there are still issues with the external software, Focus Projects 3 professional, which I used for the first image. Enlarging the image shows considerable bleed: I haven't seen that with the in-camera processing, like the second image.

Tue, 02 Aug 2016 02:00:23 UTC

CJ's software problems

Posted By Greg Lehey

Call from CJ Ellis today: his Google Chrome no longer worked. How do you diagnose that? In the end he came over with the box and I plugged it in here. Boot up: Windows did not shut down properly. OK, boot up and recover, holding a lecture on proper shutdown techniques while I was at it. And then fired up Chrome, which worked as well as could be expected under the circumstances. All a matter of performance and patience, the lack of which was probably the cause of the problem in the first place. When I shut the machine down again, CJ complained that it took such a long time.

Tue, 02 Aug 2016 01:58:05 UTC

New DxO

Posted By Greg Lehey

Another update to DxO Optics Pro today, requiring a reboot to remind me that this is the Microsoft space. After restarting, I got an apparently benign error message: EntityMemberChanged or EntityComplexMemberChanged was called without first calling EntityMemberChanging or  EntityComplexMemberChanging on the same change tracker with the same property name.  For information about properly reporting changes, see the Entity Framework documentation. Now isn't that an interesting and intuitive message to the end user? Looks like a debug message that broke out. What does it mean? Race condition? I suppose I should send in a bug report and watch them mishandle it.

Sun, 31 Jul 2016 23:47:46 UTC

Photos: camera or smart phone?

Posted By Greg Lehey

Photos from smart phones can be very good, and Chris Bahlo has pretty much stopped using her real camera in favour of photos from her phone. Yesterday she brought me a USB stick with the photos she took two weeks ago, while I was trying to get distorted photos of sleeping dogs: The first problem with the USB stick was that I couldn't read it. fdisk showed: Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 114 (0x72),(unknown)     start 778135908, size 1141509631 (557377 Meg), flag 6f The data for partition 2 is: sysid 101 (0x65),(Novell Netware/386 3.xx)     start 168689522, size 1936028240 (945326 Meg), flag 69 The data for partition 3 ...

Sun, 31 Jul 2016 23:36:58 UTC

Factorizing, continued

Posted By Greg Lehey

My factor program is still running, since Wednesday. USER  PID  %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND grog  2282  99.0 0.0 16484 3680 38  R+   Wed01pm 5576:56.10 /usr/games/factor 123544353453454353443542545 I suppose this is the kind of thing that the supercomputers of the 1970's just couldn't run: they wouldn't stay up long enough. ACM only downloads articles once.

Sun, 31 Jul 2016 01:17:57 UTC

Factorizing, continued

Posted By Greg Lehey

The factorizing that I started on Wednesday continues: grog        2282 100.0  0.0   16484    4084 38  R+   Wed01pm   4152:10.37 /usr/games/factor 123544353453454353443542545 I should be able to estimate how long it will take, but I can't be bothered. I'll just observe. ACM only downloads articles once.

Sun, 31 Jul 2016 00:22:48 UTC

Still more HDR issues

Posted By Greg Lehey

House photo day today, and I still haven't got my routine settled since I started using HDR Projects 4. Today I decided to use TIFF intermediate images, but things didn't turn out as well as I had hoped. Here a comparison between the HDR Projects version and my normal processing, first HDR Projects: Apart from the brighter colours, the shadow detail is all but gone in the Projects version.

Sat, 30 Jul 2016 00:01:46 UTC

Web server down!

Posted By Greg Lehey

Into the office this morning and tried to sync something to our external web server. Timeout. Strange: my periodic pings got through with no difficulty. But when I pressed Return on one of the ssh windows connected to the server, nothing happenedfor a minute or so, after which it reacted. Time to finally connect the VNC console. That showed the machine swapping heavily. Wouldn't it be nice to know what was causing that? But named was at the top of the top list, and it seemed somewhat bloated: === root@www (/dev/pts/0) ~ 11 -> ps up2395 USER  PID %CPU %MEM    VSZ   RSS TT  STAT STARTED      TIME COMMAND root 2395  0.0  2.9 103124 14544  -  SLs  28May15 347:48.17 named It had been running for 14 months, probably time to relieve it.

Thu, 28 Jul 2016 00:15:03 UTC

factor performance

Posted By Greg Lehey

Half a century ago I get a new 28 mm wide-angle lens, with the serial number 1364964, which I factorized to 16².7².8². Unfortunately, I was wrong. In those days, I would have done the calculation by hand. Now we have computers, and it's easy to see: === grog@eureka (/dev/pts/28) ~ 22 -> /usr/games/factor 1364964 1364964: 2 2 3 17 6691 My original calculation would have taken at least a minute or two, but this was instantaneous (in fact, time(1) reported about 1 ms, the limit of its resolution).

Wed, 27 Jul 2016 01:13:59 UTC

The limits of Hugin

Posted By Greg Lehey

Message from Paul Christopher Greene on the Hugin mailing list today: Hugin looks amazing but we've had a lot of trouble getting it to run / use it properly. We have a simple 2 image warp we need done (one image to match the other) so we can composite them together manually in Photoshop. OK, sounds just like what I wrote up here. Contacted him and got two images that really weren't ideal for aligning: taken from two different places, with different focal lengths.

Tue, 26 Jul 2016 01:29:38 UTC

Bang! You're dead!

Posted By Greg Lehey

Last week in a discussion on the TUHS mailing list, Norman Wilson bewailed the demise of bang paths. What? I was so happy to be rid of UUCP and all that went with it. Norman said that he had last used them in 1990. I was sure that I had used them more recently than that, and indeed the last message was sent to!grog on 4 July 1995. A discussion with Jerry Dunham, who wrote: Yes, it appears to be for real, but perhaps (if you'd believe Micro- soft) a bit overstated.

Sun, 24 Jul 2016 23:16:28 UTC

BSD is dead

Posted By Greg Lehey

For the first time in at least a month, Pedro Guffini broke out of the underlying spam noise on the FreeBSD-chat mailing list with a post about Larry McVoy and BitKeeper. Digging up ancient (and not very pleasant) history? No, he had a more philosophical question, which I missed. What I saw was a quote from Github that seemed wrong: The BitKeeper history needs to be written up but the short version is that it happened because Larry wanted to help Linux not turn into a bunch of splintered factions like 386BSD, FreeBSD, NetBSD, OpenBSD, DragonFlyBSD, etc.

Sun, 24 Jul 2016 01:44:13 UTC

House photos with TIFF

Posted By Greg Lehey

I still haven't completely come to terms with my new house photo methodology using HDR Projects 4. Today it occurred to me that I should really be doing all this processing with TIFF intermediates, and not JPEG. That was more difficult than I thought, mainly due to assumptions made in my scripts. But one thing didn't work as expected: the images had no EXIF data. After a lot of looking around, I couldn't find a way to get HDR Projects to put the EXIF data into the output filesneither with TIFF nor with JPEG. And my diary entries show that I had noted this problem in the past, but not a solution.

Sun, 24 Jul 2016 01:23:53 UTC

Hugin on Fedora, revisited

Posted By Greg Lehey

Finally got round to loading the latest beta of Hugin from the Fedora site. Their firefox is set up to automatically start their graphical software installer, whatever it's called, and it seemed to start nicely. But when I tried to install the package I had downloaded, I got a modern, small, unresizeable window that told me that I was missing a dependency, hugin-base. This seems to be Bruno Postle's choice: for some reason he had split the distribution into two packages, hugin-base-2016.2.0-0.0.20160719hg.fc24.x86_64.rpm and hugin-2016.2.0-0.0.20160719hg.fc24.x86_64.rpm. Both are almost identical in size, and both appear to be needed to use the package. OK, installed -base.

Thu, 21 Jul 2016 00:03:42 UTC

Debugging the Hugin/Linux problem

Posted By Greg Lehey

Gathered up my courage today and made another attempt at getting Hugin to work with Linux. Yesterday I had established that the images I took on Saturday didn't align at all. Hugin had decided that each was taken with a different lens. Those specific images had been assembled to HDR tone-mapped images by HDR Projects 4, with which I have still not come to terms. How about the alternatives merged with enblend? It worked! So what's different about the HDR Projects images? They're gaudier, of course, but that shouldn't interest the control point detector. EXIF issues? Ran exiftool against them and compared the output.

Wed, 20 Jul 2016 00:16:37 UTC

Hugin under Linux

Posted By Greg Lehey

Finally got round to running Hugin under Linux (Fedora 24). That, too, is irritating. First I needed to mount the NFS file systems, of course; at least Fedora, unlike Ubuntu, supplies NFS support out of the box. But of course the user IDs were different, and grog on twister (the name that the machine assigned itself before discarding my IP specifications and reverting to DHCP) proved to be benno on eureka. And of course my clever scripts didn't work because various programs were missing. But finally I got it: It doesn't take a trained eye to see that something is seriously wrong here.

Wed, 20 Jul 2016 00:16:03 UTC

Whose computer is it?

Posted By Greg Lehey

Yesterday I gave up on trying Hugin on Linux (Fedora 24) because it was too irritating. Came back today and found the machine telling me that I had lots of software updates, and would I like to reboot? Huh? First I need to download the updates. Ah, no, the system thought of that and did it for me, without asking. That's really irritating. OK, now I have more free traffic than I know what to do with, but it hasn't always been like that, and even today many people have separate allowances for on and off peak, and this is an obvious choice for off-peak traffic.

Tue, 19 Jul 2016 00:48:54 UTC

Don't make me uncomfortable!

Posted By Greg Lehey

I've been using Unix and X on the desktop for over 25 years now. It took me several years to get my system set up the way I wanted it, but since about 1995over 20 yearsI've had essentially the same environment, despite well-meaning marketeers who know that I would like it better their way. Why? Yes, of course, if you change the user interface, you may be able to sell more hardware and software. But it seems that things are getting more and more restrictive. In particular, running X applications over the network is becoming painful, and changing programs around make life unnecessarily difficult.

Tue, 19 Jul 2016 00:28:58 UTC

Hugin regression and Linux

Posted By Greg Lehey

I sent a message about my errors with Hugin rc1 to the Hugin forum yesterday, but didn't get any reply. OK, how do I check whether the errors only occur on FreeBSD? I can't build on Microsoft, I don't have a real Linux box, and running Hugin on a VM is more pain than I can imagine. OK, let's install Linux on a real machine. Bruno Postle posted that he had built packages for Fedora, so it seemed a good start. Installing Fedora was interesting. It's not exactly the first time, but it seems that Linux distributors try to emulate Microsoft by making the user interface different for every release.

Sun, 17 Jul 2016 00:45:46 UTC

Hugin 2016.2.0-rc1

Posted By Greg Lehey

While doing my photo processing, decided to install the latest version of Hugin, 2016.2.0-rc1. It built nicely, but there were strangenesses, and at first I thought the strange colour rendering was one of them. But it certainly complains a lot when starting up: (hugin:99873): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 0 and height -28 (hugin:99873): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 18 (hugin:99873): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed (hugin:99873): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed (hugin:99873): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed (hugin:99873): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 146 and height -28 (hugin:99873): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 370 and height -28 (hugin:99873): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed (hugin:99873): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to ...

Sat, 16 Jul 2016 01:55:38 UTC

Understanding font rendering

Posted By Greg Lehey

Yesterday I took some photos of a display on the TV screen where black text was interspersed with lighter pixels: This gave rise to some discussion on IRC. Why wasn't it black? X server? Graphics card? TV monitor? Tried again again on the same hardware and server today, and came up with these images: The first is from an xterm, the second a link on firefox, and the third a recovery text from firefox.

Sat, 16 Jul 2016 00:32:32 UTC

Raw processing software

Posted By Greg Lehey

Somehow I'm finding RawTherapee to be a steep learning curve. And surely the camera manufacturers all provide their own software. Everybody else in the Camera Crew uses either Nikon or Canon, so went for them. Yes, it seems that the software comes with the camera in each case. Nikon has a program called ViewNI-i, which looks quite straightforward. Canon has a product called Digital Photo Professional, and they make you jump through hoops to get it. First you need to choose a camera model. That would imply that if you had multiple Canon cameras, you would need a separate installation for each camera, though of course that's incorrect.

Thu, 14 Jul 2016 23:11:26 UTC

New motherboard for tiwi

Posted By Greg Lehey, my TV display computer, has the slowest processor of all my computers, an AMD Sempron 145 with a CPUmark of 802. It's struggling with the newer, more bloated web browsers. And I have a motherboard lying around with an Athlon X2 II 4450e, rated at 1865. All I needed was to change the motherboard. And somehow that took me a long while to do. What if something goes wrong? I'll be without a TV. But how hard can it be? About the only real issue was that I didn't have the manual for the motherboard (which proved to be virtually identical to the old one).

Thu, 14 Jul 2016 22:50:28 UTC

Raw image processing

Posted By Greg Lehey

Spent much of the day working on my presentation of raw image processing, which is looking more and more like an image optimization presentation. Raw images are only part of the equation, and they're not even really necessary. The biggest question is: which software? I use DxO Optics Pro, but it's not without its faults, and it costs money. RawTherapee is free, and the results look good, but so far I have had trouble getting it to do exactly what I want it to do. Yes, there's a manual, and I've been working my way through it, but it's a lot of work.

Thu, 14 Jul 2016 00:19:02 UTC

Computer music and CSIRAC

Posted By Greg Lehey

Chris Bahlo sent me a URL from which I was able to extract this video: I'm not sure I believe that this equipment is really creating the music, but it gave me the opportunity to look for something better. Clearly we really want classical music, something like this: At least the sound quality suggests that this is really generated by the printer. And in the process I discovered an interesting video about CSIRAC: This may have the distinction of being the first machine to ever have generated music.

Mon, 11 Jul 2016 23:55:27 UTC

More lens profile investigations

Posted By Greg Lehey

Yesterday I found lens profiles for some of my lenses via the Lens Profile Downloader. But there's a second source, via the Adobe DNG converter. Are they the same? Fought my way through the mess that is the Microsoft directory hierarchy and found nearly 300 MB of profiles, over 1520 individual ones. And none of them were for Olympus lenses! There were a total of 49 profiles for third-party lenses to fit Olympus, but none at all for Olympus' own lenses. That reminded me of something: I've been there before while considering Lightroom, and it was one of several reasons I decided against Lightroom.

Mon, 11 Jul 2016 23:25:13 UTC

ALDI mobile pain

Posted By Greg Lehey

While in town, tried to ring Yvonne. But I had a message on my phone: my credit has run out. Why wasn't I told? Maybe they were too polite. Back home, I went to the web site and tried to log in. According to my notes, the login was really my 6 digit account number, and the password was BrokenSite. But the login screen wanted a Mobile Number, presumably meaning the calling number of the mobile phone. Didn't work. Put in the account number instead. Still didn't work. How do I fix it? Tried to call them up, once I found the well-hidden phone number.

Mon, 11 Jul 2016 04:04:08 UTC

Clear error messages

Posted By Greg Lehey

As if I didn't have enough fun with browsers, Chrom* also died on me. When I tried to restart it, I got: === grog@eureka (/dev/pts/18) /Photos/Tools 27 -> chrome [27830:440427520:0710/] Failed to create socket directory. [27830:440427520:0710/] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption. It was repeatable. What does that mean? Didn't have time to look for it then, so fired up a firefox instead.

Mon, 11 Jul 2016 03:46:18 UTC

Clear error messages

Posted By Greg Lehey

As if I didn't have enough fun with browsers, Chrom* also died on me. When I tried to restart it, I got: === grog@eureka (/dev/pts/18) /Photos/Tools 27 -> chrome [27830:440427520:0710/] Failed to create socket directory. [27830:440427520:0710/] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption. It was repeatable. What does that mean? Didn't have time to look for it then, so fired up a firefox instead.

Mon, 11 Jul 2016 03:43:04 UTC

Browser update: sting in the tail

Posted By Greg Lehey

One of the things I did while trying to recover the browser configuration on tiwi was to rename the ~/.mozilla directory and restart firefox. It didn't help. But by accident I first renamed the corresponding directory on eureka, where I had four browser instances running. No worries, quickly rename it back before I do anything with those browsers. It didn't help. They all crashed, and when I restarted, the new instance overwrote everything that they had ever known. Complete restore of the directory from backups needed. Yes, it was my fault. But somehow the error recovery was not very appropriate. ACM only downloads articles once.

Mon, 11 Jul 2016 03:34:18 UTC

Politicians and private mail servers

Posted By Greg Lehey

Nobody can have missed the fuss that people in the USA are making about Hillary Clinton's private mail server. But what does it really mean? Why should a private mail server be a security threat in itself? What is the approved network topography for sending classified emails? Are they encrypted? Who has the keys? Are they allowed to use mobile devices to send the mail, for example? Are they allowed to keep private copies on their servers PC's? Who has access to the official mail servers? Edward Snowden's successors perhaps? There are so many questions that need to be answered before we can have any idea how much of a security breach it might have been.

Sun, 10 Jul 2016 01:05:28 UTC

tiwi upgrade: still not done

Posted By Greg Lehey

In the evening, sat down to watch the (recorded) news on tiwi. /usr/local/lib/ Undefined symbol "_nv016glcore" Damn! I had just fixed that yesterday. Why was it back? Nothing had changed. More messing around, not in the best of moods, and in the end reinstated the current version of libGL. And how about that, everything worked! I still have no idea what happened, but it seems that the problem was not directly related to my hacked version of mplayer, nor to the version of libGL. But what was it? And is it now gone? ACM only downloads articles once.

Sun, 10 Jul 2016 00:22:00 UTC

Formatting SD cards with Microsoft

Posted By Greg Lehey

Paul Shires had asked us to bring the photos we took last time with us for our meeting today. OK, put them on an SD card. I had one lying around, but it was formatted with NTFS, and photo cards should be FAT. Reformat. mformat wouldn't do it because it wanted to know cylinders, tracks and things. And Microsoft Windows wouldn't do it; the only options were NTFS and exFAT, whatever that may be. I tried it but ended up with a non-FAT format. Did I do something wrong, or can Microsoft no longer format vanilla FAT file systems? ACM only downloads articles once.

Sat, 09 Jul 2016 02:48:31 UTC

Web browser woes

Posted By Greg Lehey

The problem with mplayer wasn't the only issue I had with tiwi. Trying to watch Al Jazeera News and discovered I couldn't set full screen. Why not? YouTube had some helpful hints. For firefox I need to go to about:permissions. But that doesn't work. What about Chrom*? It has instructions for that too. And again they fail early. I finally found a page that told me that the permissions could be set, but they no longer have any effect. What's Google for? Off to search, and found many suggestions and videos, all either wrong or not applicable. I couldn't find out how to fix it.

Sat, 09 Jul 2016 02:38:01 UTC

Port upgrade: the sting in the tail

Posted By Greg Lehey

Yesterday's package upgrade on stable went well, so today while Yvonne was away, I upgraded her machine lagoon and our TV computer tiwi. Yvonne had no problems, but it was a different matter with tiwi. I have a special version of mplayer which got overwritten. OK, no worries, copy the version from eureka. But that has old, worn-out libraries. So I had to build it on tiwi. But how? Last time I had lots of fun, and I wrote down quite a bit of detail. But not enough. As a result, I ran into many of the same traps. Here's how I ended up, though the method could do with improvement: In /home/grog/src/ports/mplayer-export-2015-12-19/, run genpatch.

Sat, 09 Jul 2016 02:03:43 UTC

Spamassassin: past use-by date?

Posted By Greg Lehey

Six years ago I noted that SpamAssassin was not really up to date any more. But I fixed that problem, and left it as the third step in my spam filtration system. First I reject certain domains, then I filter it through Gmail, and then I filter it again locally with SpamAssassin. I'm expecting a message from Karl Schaefer, but it hasn't arrived. It wasn't in the the spamassassin folder either. And neither was there any spam that I could see. Some spam still does get through, but SpamAssassin didn't catch it. Instead it filters about 3 or 4 false positives per day, including this one: From: Subject: State Library card renewal notice (Final Notice) Date: Tue, 14 Jun 2016 01:00:13 +1000 X-Spam-Flag: YES Content preview:  Dear Greg, Thank you for being a registered card holder with    the State ...

Fri, 08 Jul 2016 00:43:43 UTC

Package upgrade

Posted By Greg Lehey

The new FreeBSD pkgng system is getting much better, but it's still not perfect. As a result, my packages are getting more and more behind. Upgrading isn't difficult: === root@stable (/dev/pts/4) /home/grog 1 -> mailme pkg upgrade The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED:         pkg: 1.7.2 -> 1.8.7 2 MiB to be downloaded. Proceed with this action? [y/N]: y It seems that every time I do an upgrade, I first have to upgrade pkg. This time I have clearly missed no fewer than 7 intermediate updates.

Wed, 06 Jul 2016 00:26:46 UTC

Why I hate Android, revisited

Posted By Greg Lehey

It's been over four years since I bought my first Android tablet. It was a great disappointment, and I returned it to ALDI. A year later I tried again, particularly since it was becoming apparent that I could use one to control the camera that I was going to buy. But I still couldn't make friends with it. I've ranted about this repeatedly in the past, and after six months I came up with a summary of my problems, and six months later I compared it with the Microsoft offeringto Microsoft's advantage! In the meantime I hardly use it at all.

Fri, 01 Jul 2016 04:31:27 UTC

Backup: finished!

Posted By Greg Lehey

After about 3½ days, the first run of my backup is finally finished. In the meantime, of course, more data has been added, and so I needed to run a normal backup again. To my surprise, it ran in about normal time. Maybe things aren't that bad after all. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Fri, 01 Jul 2016 03:50:40 UTC

Microsoft Windows 10, continued pain

Posted By Greg Lehey

Into the office this morning. My remote desktop session with despair, the machine I was upgrading to Microsoft Windows 10, had closed. On investigation it seems that it had finally completed the upgrade, and without so much as a by your leave, had rebooted. It was now asking me to accept default settings for things I've never heard of and which it didn't volunteer. About the only thing that struck me was the formatting of the page: Clearly a modern operating system.

Thu, 30 Jun 2016 02:27:36 UTC

Upgrading to Windows 10, try 3

Posted By Greg Lehey

Sooner or later I'm going to have to upgrade my Microsoft boxes from the current Windows 7, and it seems that the free upgrade (and hopefully the irritating reminders) will run out at the end of next month. So dragged out the old disk for, which I haven't used in 6 months, and started an upgrade. Not only did it take foreverall afternoon, without being finishedbut it maxed out one CPU while doing that, and the percentage complete display incremented more and more slowly. By evening it had reached 99% and been there for an hour or so. ACM only downloads articles once.

Tue, 28 Jun 2016 22:58:50 UTC

Backup: progress?

Posted By Greg Lehey

Into the office this morning to see how the backup of my /Photos disk was progressing. Not as bad as I had feared: after 16 hours of backing up, the disk contained about 910 GB of data, an average speed of round 16 MB/s. Not spectacular, but acceptable. In a couple of days' time it should be finished. Then I'll have to see how long the incremental backups take. ACM only downloads articles once.

Tue, 28 Jun 2016 00:24:11 UTC

Backup disk hell

Posted By Greg Lehey

So what to do about a new backup disk? Clearly I need more capacity. My current /Photos file system (and thus my backup disk) are at 3.2 TB in size, and it's clear that in some months we'll pass the 4 TB mark. eBay shows that there are disks with up to 8 TB on the market, and starting at $360 the prices are actually (marginally) cheaper per TB than the 4 TB drives. But is eBay the best choice? Checked with Staticice and found, to my surprise, that Harvey Norman offered the same drive for $348, and that they were in stock in Ballarat.

Mon, 27 Jun 2016 03:24:36 UTC

Disk problems

Posted By Greg Lehey

I keep two backups of my photo disk on USB-attached disks, using rsync. One is always at Chris Bahlo's place, and the other usually here. Today I started a backup before breakfast to give to Yvonne to take to Chris and exchange with the other. But after breakfast things weren't nearly finished. Normally it takes 15 to 20 minutes, but over half an hour had elapsed, and it was still only part way through. Disk problems? No error messages in the log files. ps showed three rsync processes, two of them waiting on select, the third on biord (Block I/O read).

Sun, 26 Jun 2016 00:10:08 UTC

Taming HDR Projects

Posted By Greg Lehey

House photo day again today. I've been using the following work flow to make HDR images and stitch them into panoramas: Take three images of each view at 3 EV intervals. Convert them to JPEG and give them names that reflect their relationship to the panorama. For this I run two scripts via make. The first, mkmakejpeg.php, converts a file multishot into another format, Makehouse, which is the same as the Makejpeg file that I use for normal photos.

Fri, 17 Jun 2016 23:52:37 UTC

Ashampoo Snap deciphered

Posted By Greg Lehey

Ashampoo support have responded as I expected to my problems with Ashampoo Snap 8: not at all. So off looking for an alternative, and came up with FreeOCR. Despite appearances, it runs on Microsoft, and I haven't found a FreeBSD version. The good news: it works. The less good news: it really has difficulties with my text, even after I told it that it was in German. Callum Gibson also commented on my problems with Snap 8 and suggested that I try copy-and-paste. Yes, I had tried that, and it didn't work: after all, the instructions do say that it copies the output to the clipboard.

Fri, 17 Jun 2016 03:28:18 UTC

Ashampoo OCR: how?

Posted By Greg Lehey

Some months ago I bought another Ashampoo product, Snap 8, a glorified screen shot recorder with OCR functionality. The price, normally round $60, had been reduced to $10 ($9.99), so I bought it for the OCR functionality, despite the extreme complexity of operation. Today, for the first time, I tried using it to convert the text from Das Gesicht des Krieges. With a bit of fiddling around I got it to recognize the text surprisingly well, better than most OCR programs I've seen. But how do I save the text? I still don't know. I'm continually amazed by the complexity of user friendly software.

Thu, 16 Jun 2016 00:17:59 UTC

Identity theft on Facebook

Posted By Greg Lehey

Facebook friend request in the mail today from Randall Stewart, a member of the FreeBSD project. OK, no problem (except that I barely use Facebook), but I checked anyway. Only three mutual friends? OK, I don't know him well, so maybe. And almost immediately he tried to message me. I only noticed because the text on the browser icon changed. Maybe I should have replied and invited him to our IRC channel, but I had other things to do. Then he posted on Facebook: So I just was notified by friends that someone has copied my photo and is pretending to be me.

Wed, 15 Jun 2016 23:49:55 UTC

More DxO support pain

Posted By Greg Lehey

So now I have two support requests out with DxO. True to my past experience, they're not making much progress. The first came back with: This could be the way your wife's account is configured. There may be a setting that is interfering with the program. Or, it could be another program or process running in your wife's account. Guilty as charged! Yvonne had another process running! And I was logged in at the same time! All these funny Microsoft ideas that can only cause trouble!

Wed, 15 Jun 2016 00:32:54 UTC

Another DxO crash

Posted By Greg Lehey

While processing the Wotan photos: What's that? Time for another bug report, though the last one hasn't had an answer after over a week. Is it worth it? ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Tue, 14 Jun 2016 01:20:32 UTC


Posted By Greg Lehey

Message from Google today. Somebody had just logged in as me! Hi Greg, Your Google Account ???? was just used to sign in from Firefox . Details: Monday, June 13, 2016 10:48 AM (Australian Eastern Standard Time) Ballarat VIC, Australia* Firefox*Don't recognize this activity?* Review your recently used devices <URL> now. Somebody in Ballarat! That's just down the road. Why didn't they give me any details with which I could catch the perpetrator? IP address would be good. Or maybe the kind of device he was using. In fact, this well-intended message is as good as useless. All I have is a vague location (Ballarat has a population of about 100,000).

Mon, 13 Jun 2016 02:10:01 UTC

Understanding DNS

Posted By Greg Lehey

Margaret Swan has purchased a domain name with the handy, easy-to-type name, and of course Chris Bahlo is creating the web site. But what about the name servers? Clearly will be one server, but the others I use are personal favours from friends, and I don't want to ask them to host DNS for commercial sites. On the other hand, the domain registrar offers DNS hosting, if I could only find out how. Ideally you'd want them to be a slave server, but how do you tell them that? In fact, how do you hand it a zone file?

Mon, 13 Jun 2016 01:49:50 UTC

Memory use of photo software

Posted By Greg Lehey

I don't usually shut down dischord, my Microsoft box; long years of a horror of rebooting are behind that. Instead I hibernate it. Today I woke it up after yesterday's work and took a look at the Task Manager. 11.3 GB resident memory. OK, we have 16 GB, but in FreeBSD that would at least be marked as inactive. Where did it come from? Shut down one program after another and saw: Action       Program       Memory             11.3 ...

Sun, 12 Jun 2016 01:31:42 UTC

Focus stacking perfected?

Posted By Greg Lehey

My Hibiscus rosa-sinensis has produced another flower, time to make another attempt at focus stacking. Last time I had unsharp areas, notably the stamens, which I attributed to the relatively large focus step (5). This time I chose 1, the smallest, along with 40 increments. On the way, ran into some other problems. The first time round I had forgotten to turn off exposure bracketing, and somehow the camera didn't notice that I had two different, conflicting bracketing modes set. HDR won, and I ended up with three images with which I can't do anything. After turning HDR bracketing off, it still didn't work.

Sat, 11 Jun 2016 23:28:51 UTC

HDR Projects 4 elements: more insights

Posted By Greg Lehey

House photo day again today, a good opportunity to compare the results of my current HDR scripts and HDR Projects 4 elements. In the meantime, I received a reply from FRANZIS support to my request to Ashampoo support, not answering my question about how to access the files in \c\Program Files (x86)\Franzis\HDR projects 4 elements\translations, nor how to modify the automatic selection of the files, only pointing to the broken link to the manual that I had discovered yesterday. That's all the more interesting because I had written the request in German, and the reply was in German, but the documentation link pointed at a file called HDR_projects_4_elements_english.pdf.

Sat, 11 Jun 2016 01:31:55 UTC

YouTube errors interpreted

Posted By Greg Lehey

Last month I commented about silly error messages from YouTube: Today I found out what it meant: We can't play the commercials before this video, so we'll do our best to confuse you. My youtube() PHP function bypasses the commercial (their feature, not mine), so I can use that instead. Now to write a generic page around it. ACM only downloads articles once.

Fri, 10 Jun 2016 23:24:14 UTC

More HDR software

Posted By Greg Lehey

Gradually I'm using more proprietary photo software. Focus Projects 3 professional from FRANZIS Verlag produces far superior results than my attempts with enfuse. So now I use DxO Optics Pro, Ashampoo® Photo Optimizer 6 and in some cases Focus Projects. They're not the only ones I've looked at, though. Today I got a special offer for HDR Projects 4 elements, for only $19.99. A few months ago I had tried HDR Projects 4 Pro and ultimately didn't continue with it because of the baroque interface. But that's pretty much the same interface that I'm getting to know for Focus Projects 3 professional, and the price for this version is much lower.

Fri, 10 Jun 2016 23:09:07 UTC


Posted By Greg Lehey

For yesterday's diary entry I needed a couple of cropped images that matched as much as possible. For this sort of thing I usually use xv, which is small, fast, older than some people in the FreeBSD project, and relatively lacking in features. In this case I decided it wouldn't do quite what I wanted, in particular there's no easy way to specify the exact size of the crop rectangle (300×225, to match my web page displays). So I chose GIMP, which is big, bloated and overloaded with features. Still, cropping was fairly straightforwarduntil I tried to save the file. It suggested the file name Hibiscus-1.xcf.

Fri, 10 Jun 2016 00:44:04 UTC

DxO 11: faster after all

Posted By Greg Lehey

I took all the Hibiscus photos without flash, mainly out of concern that the flowers might move during a nearly 3 minute exposure (40 images × 4 seconds recharge time for flash). And as a result I ended up taking the images at 29°/640 ISO, enough to warrant PRIME noise reduction. And how about that, it managed the 43 images in 23 minutes, 32 seconds, about 33 seconds per image. That is, indeed, faster than before (a little over 60 seconds per image). I'm sure there's more optimization to be done. On the other hand, finally got a reply from DxO Support about Yvonne's problems running the new version.

Fri, 10 Jun 2016 00:07:26 UTC

More focus stacking

Posted By Greg Lehey

Yesterday's focus stacking experiments showed progress, but also that my stack wasn't complete: no image had a sharp representation of the furthest parts of the flower. OK, we can do more than 20 steps. 40, maybe? It would be really nice to be able to calculate the number of images needed. As it was, it proved that I was far off the mark: I had set step increment 5, and with about 20 images it had reached infinity. Merging them could have been better. Here the complete stack of the second try, and then those images needed to get the flower alone sharp: It's interesting to note that the image shape is marginally different.

Thu, 09 Jun 2016 00:35:46 UTC

Live panoramas, retried

Posted By Greg Lehey

Until I upgraded eureka, I used SaladoPlayer to produce animated panoramas like these, but after the upgrade it no longer worked. And it seems that the site has gone away (want the domain name? Bring money). What's the alternative? Asked on the Hugin mailing list and got a couple of suggestions: Panellum, Pano2VR (only 99 ¬) and Marzipano. Took a brief look at Panellum, watched my eyes go funny. Looked at Marzipano. Eyes went funny again. But then I saw a reference to the Marzipano Tool, which does all the hard work for you. And sure enough, it produced a usable browseable panorama quite quickly.

Wed, 08 Jun 2016 23:57:36 UTC

Focus stacking try two.

Posted By Greg Lehey

Now that I have more memory in dischord, I can get back and look at the focus stacking work I started last month. On that occasion I had to stop because of memory concerns. Now I have the memory, and looking at the Task Manager shows that I did the right thing by buying 16 GB instead of 8 GB: it immediately used up 10 GB of memory, making it one of the most memory-hungry programs I have ever seen. And the results? Here are two images. On the left the original, on the right the results from Focus Projects Professional: ...

Wed, 08 Jun 2016 23:17:01 UTC

New RAM for old

Posted By Greg Lehey

Yvonne back from shopping today with 80 GB of memory: 16 GB of DIMMs for dischord and a 64 GB microSDHC card, which must bring the weight of data down to a new low. It weighs 160 mg, so 1 byte would weigh 2.5 pg. And clearly Andy Tanenbaum's old adage is out of date. Assuming a load of 480 kg (3 million cards or 192 PB), Yvonne could reach a bandwidth of 4 Pb/s driving her station wagon to Chris Bahlo's round the corner, conveniently exactly 384 seconds away. I'm impressed. The DIMMs look genuine: I even managed to find a data sheet for the parts, containing the information: ...

Tue, 07 Jun 2016 23:40:59 UTC

DxO Viewer Pro 11

Posted By Greg Lehey

DxO finally got round to informing me of the new release of DxO Optics Pro on Saturday, but it got classified as spam. Why? Who knows? Gmail does, maybe, but they're not telling. And yes, the current price is a special valid until the end of the month. Should I upgrade? Probably, but not because of the claimed improvements. The claim is that their noise reduction system (PRIME) is now a new version of PRIME that is better and faster than ever. In version 10, on dischord (an Intel Core i5-2400, CPUMark 5827) it takes about one minute to process a single image.

Mon, 06 Jun 2016 02:43:45 UTC

Hugin 2016.2.0 beta

Posted By Greg Lehey

Hugin 2016.2.0 beta has been released. Today tried upgrading the FreeBSD port. Not as simple as it seems: .../hugin-2016.2.0/src/hugin1/ptbatcher/FindPanoDialog.cpp:444:25: error: cannot initialize a variable of type 'int' with an rvalue of type 'void'                     int newItem = m_list_pano->Insert(m_panos[selectedPano + 1]->GetItemString(m_start_dir), selectedPano + 1); How I hate messages like that! It's clearly telling me that m_list_pano->Insert() returns void. But what type is it? m_list_pano isn't even defined in that file! Where is it? Where's my TAGS file? Ah, need to build it.

Sat, 04 Jun 2016 23:55:59 UTC

How old are you?

Posted By Greg Lehey

Preparing for dinner tonight, Yvonne sent me a link to a recipe on Buzzfeed. I hardly bother with recipes on the web; so few of them seem worthwhile. This one wasn't too bad, but not what I was looking for. But in the noise around the recipe I saw a link Can We Guess Your Exact Age With These Food Questions?. That's so stupid that I had to try it. Basically it was a test of my (almost non-existent) fast food preferences. Which pizza? Which burrito? Which doughnut (no option to say I don't like doughnuts, and no plain doughnut)? Only one sane choice: how do you like your steak cooked?.

Sat, 04 Jun 2016 02:41:13 UTC

DxO up to date?

Posted By Greg Lehey

Lately I've been subscribing to the RSS feed of 43rumors, mainly to keep up to date with new photographic equipment. But today I got another article claiming that DxO had released a new version of DxO Optics Pro. If that were the case, I should have heard about it from DxO. Still, there's an easy enough way to checkjust ask the running program: That's clear and straightforward enough. And wrong. Going to my customer account, sure enough, there's a new version, and I can get it for a reasonable price.

Fri, 03 Jun 2016 02:28:34 UTC

DDR3 compatibility, day 4

Posted By Greg Lehey

Three days on and I still haven't made up my mind about new memory for dischord. Got an email from Tim Bishop, who pointed me at this site selling DRAM specifically for my machine. I suppose that's some kind of guarantee, but the site has a big problem: no 8 GB modules. More reading brought me to this page, really relating to MSI products. But this got me thinking: High density RAM is usually very slow anyway and are typically lower Binned chips too hence they are slow and tend to have a very bad compatibility rate!

Thu, 02 Jun 2016 00:42:25 UTC

DDR3 compatibility, day 3

Posted By Greg Lehey

Mail from Adam Kranzel today about DDR3 RAM compatibility. He pointed at this page, which describes high density and low density RAM configurations. I had found many more. This one explains the difference: All low density 1GB modules are made with 16 chips (8 chips on each side) using 64Mx8 device. All high density 1GB modules are made with 16 chips (8 chips on each side) using 128Mx4 device. 1 GB? Who uses 1 GB DIMMs any more? And there's the clue.

Thu, 02 Jun 2016 00:27:05 UTC

Buying software: Fritz fliegt wieder

Posted By Greg Lehey

Finally decided to buy the photo stacking software that I discussed a couple of days ago. The good news: since I'm not in Europe, I don't pay German Value-added tax (currently 19%) so instead of 69 ¬ I only had to pay 57,98 ¬. And while paying I saw this: That should be translated as After confirming your order, you will be transferred to a protected web site, where you can enter your credit card details. But there's a typo in the text: protected is geschützt, and not geschätzt, which means valued.

Tue, 31 May 2016 23:49:49 UTC

DDR3 RAM compatibility

Posted By Greg Lehey

So does dischord require special RAM? All the cheap offers on eBay are AMD Only, and dischord runs Intel. But what's the difference? Spent some time investigating. dischord is a Lenovo Thinkcentre M71E 3132A8M, and there's a support page for it with numerous links, including to manuals. It took a while to discover that nearly all the links are dead, pointing back to the page itself. No mention of any RAM compatibility issues. Still, a good basis for further investigation. ACM only downloads articles once.

Tue, 31 May 2016 00:56:26 UTC

Upgrading dischord

Posted By Greg Lehey

Clearly dischord needs more memory. It's also been a while since I last did a software update on it. So tried again today and was offered: If I do nothing, it installs Windows 10 on the machine and leaves me dead in the water. What an insult! For some reason didn't continue then. When I came back and tried again, it spent several hours checking for updates. Why does it take so long? It finally came back with a list shortly before dinner.

Tue, 31 May 2016 00:17:00 UTC

More focus stacking software

Posted By Greg Lehey

Special offer from FRANZIS Verlag today: photo stacking software for only half of the normally surprisingly high price, 69 ¬ instead of 129 ¬. Of course, the price outside Europe is $129 US, corresponding to 116 ¬. With considerable difficulty (their web site seemed to have gone to sleep) found a test version and downloaded it. Somehow I have difficulty coming to terms with graphical interface software, even where, like here, it makes sense. The web site points to two demonstration video clips: But it was very small, and I couldn't full-screen it.

Wed, 25 May 2016 23:01:07 UTC

The next mass murderer?

Posted By Greg Lehey

We're used to the occasional flame that still goes through the FreeBSD mailing lists, but today I saw one that really worried me. Here a couple of excerpts: You could pay for me to visit you. If you are right, then there is no reason for you to worry. If you are wrong, then you will have no idea what I may or may not do to you. You are not bullet proof nor are you stab proof. I am excellent with crossbows and bows and arrows.

Tue, 24 May 2016 23:17:04 UTC

NBN satellite: doesn't pass muster

Posted By Greg Lehey

Phone call from Barbara Hammond in Fairhaven today. She had read my Why you don't want NBN satellite page, which was really intended for people in Dereel. It seems that she is currently connected to the net via ADSL, and she has now been informed by the National Broadband Network that the Sky Muster" satellite is available. Most of Fairhaven is earmarked for FTTN, but it seems that her location is just outside the limits. And now she's concerned that she will lose her ADSL. Should she be concerned? Yes, most definitely. She uses a lot of data. She doesn't know exactly, but it looks as if she is paying TPG $80 a month, which would match the 300 GB Off-Net package.

Tue, 24 May 2016 22:46:07 UTC


Posted By Greg Lehey

Seen on IRC this morning: <callum> Hmm, I'm getting no response from <chuzz> Isn't it ;) <pez> not working for me That can't be right. www is my external web server, and it's a model of stability. But it was. ping worked fine, but the ssh I had to the system didn't respond. Neither did a page load attempt. How do I access the console on the machine? I've almost never needed to, and it took me quite a while to find out how.

Mon, 23 May 2016 22:49:54 UTC

Revisiting OpenBSD and NetBSD

Posted By Greg Lehey

Glenn Mawby was asking some questions regarding proxies on IRC today. He's running OpenBSD, which could differ from FreeBSD in that respect. But I don't have an OpenBSD box any morein fact, it has been over 6 years. Now I have virtual machines, so it's trivial to create one and run OpenBSD on it. Downloaded the install CD and set it up. It asked all the right questions about the network, and then set up to partition the disk. 9 partitions! What a way to improve your chances of filling one up. Tried the (bare-bones) partition editor to create a single root file system, which appeared to work, but for some reason I ended up with an unbootable system.

Mon, 23 May 2016 00:38:40 UTC

More notwork pain

Posted By Greg Lehey

More hung network switches today, this time with the added fun of a hung NFS connection on cvr2, which meant that I couldn't access it from outside: the ssh hung, and in the end it seemed easier to reboot. So what's causing the problems? One thing I didn't consider yesterday was the switch in my office. Played around with that, mainly to verify the model, and sure enough, I lost some network connectivity. Loose connection? That might explain why the problems occurred when I was in the office, and why it affected multiple systems. It doesn't explain why the problem went away after power cycling the other switches.

Sun, 22 May 2016 04:02:17 UTC

... with worn-out tools

Posted By Greg Lehey

Rudyard Kipling's If is a poem that has always impressed me. Now that I'm getting older, one of the line pairs that particularly impress me is: Or watch the things you gave your life to, broken, And stoop and build em up with worn-out tools: Somehow I'm reminded of that while trying to debug MythTV. Decades ago I wrote documentation about how to use gdb to debug normal programs and kernel problems. They came across very well. But they have atrophied.

Sun, 22 May 2016 03:52:28 UTC

Remembering svn chcekout

Posted By Greg Lehey

There are a number of open PRs on calendar(1) in the FreeBSD bug database, and also in my inbox. Time to finally do something about them before the first one turns 5 years old. Checked the how to repeat for PR 168785. I couldn't repeat it. Fixed? Check the log for /usr/src/usr.bin/calendar/calendar.c. This file is not under version control. Huh? Further investigation showed that once again the svn metadata were corrupt. This is happening far too often, though this time it could be due to the crash I had yesterday. How do I check out a working copy? It's in the Committer's Guide, which for some reason is difficult to find on the FreeBSD web site.

Sun, 22 May 2016 03:18:58 UTC

Local Network Problems

Posted By Greg Lehey

I was hardly out of bed and into the office this morning when Yvonne came and asked me if we had network problems. No, I didn't, but it seemed that she did: no communication from lagoon to eureka, on the other side of the house. What's the cause? No obvious problems on either lagoon or eureka. Switch? For some reason, switches seem to hang relatively frequently. Power cycled it, and it worked again. While wondering whether it was worth replacing the switch, discovered I couldn't communicate with teevee. But that's on another switch. My house wiring has a total of four switches: Main switch, in the pantry: 8 port 1000 Mb/s HP ProCurve 1800-8G, connecting to each of the rooms in ...

Fri, 20 May 2016 23:57:08 UTC

More MythTV debugging

Posted By Greg Lehey

So what's the cause of the problems I've been seeing with MythTV? I had assumed that it was related to the spurious DiSEqCDevTree warning, but after Tuesday's debug session that seems to be a red herring. So what would be an appropriate way to catch it? There are long delays before it comes back pretending there hasn't been a failure. Doesn't ktrace have an option to look at the times? No. It's in kdump, and there are two of them: elapsed time (-E) and relative time (-R). Chose the latter. After running the card detect function, I had a dump file about 180 MB in size!

Thu, 19 May 2016 23:03:14 UTC

Power fail recovery

Posted By Greg Lehey

I'm still running UFS with conventional soft updates. That seems to be a good choice for a system with reliable power: the system itself almost never crashes, and recovery, though slow, is infrequent. But since my RCD problems started, I have had to run fsck far more often than expected. I've adapted: even if the power fails in the middle of the night, reboot immediately so that the system will be up and running by the time I wake up. And my photo file system, nearly 4 TB in size, doesn't get mounted automatically. Thus it was today, but things still didn't work out.

Wed, 18 May 2016 23:04:04 UTC

The bikeshed that just growed

Posted By Greg Lehey

One of my morning activities is to check mail and spam. Gmail does quite a good job of detecting spambetter than I've been able to do myselfbut it's not perfect, and in particular messages to the FreeBSD mailing lists frequently get classified as spam. Today I had one, sent to the freebsd-current mailing list by Greg Quinlan. Why? Why is this message in Spam? It has a from address in but has failed's required tests for authentication. Learn more By gmail standards that's clear. So I replied to him and told him so.

Wed, 18 May 2016 01:42:47 UTC

NBN installation, for real

Posted By Greg Lehey

Over to Chris Rogers today to see how the National Broadband Network installation went. In fact, I didn't need to: they quickly established that he had adequate signal (-91 dB, comfortably above the -97 dB cutoff limit). But I wanted to talk to the installers about other similar cases. That proved to be useful. The installers were Mike and Jordan, who had been here last December to replace the hardware. Got a few new pointers: The term for the link, or maybe the antenna on the tower, is PCIno idea what that stands for.

Wed, 18 May 2016 01:00:51 UTC

Firefox: can't display plain text

Posted By Greg Lehey

Playing around with some old web pages today, I discovered: What? Since when do you need a helper application for plain text? firefox is a behemoth process over 2 GB in size, and it wants help displaying text, and that from another program at least as big as itself? It didn't even give me the option to display it directly.   PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND 47180 grog           61  20    0  2111M  1564M uwait   3  86:18   4.79% firefox Further investigation, with the help of a number of people on IRC, showed a number of strangenesses.

Wed, 18 May 2016 00:17:19 UTC

Debugging MythTV

Posted By Greg Lehey

Finally got round to looking at the problems with MythTV today. It's really painful. Started by looking for the origin of the message that had been produced: 2016-05-17 14:23:36.228780 W  DiSEqCDevTree: No device tree for cardid 4 That proved to be in mythtv-ad97d24/mythtv/libs/libmythtv/diseqc.cpp. Set a breakpoint on it and got a 35 level stack backtrace: #0  DiSEqCDevTree::Load (this=0x7fffffffb388, cardid=32767) at diseqc.cpp:328 #1  0x00000008027c7294 in DVBConfigurationGroup::Load (this=0x818ef4f00) at videosource.cpp:3859 #2  0x00000008027c7485 in non-virtual thunk to DVBConfigurationGroup::Load() (this=0x818ef4f50) at videosource.cpp:3866 #3  0x00000008046fbee3 in ConfigurationGroup::Load (this=0x81c3c0400) at mythconfiggroups.cpp:91 ...

Mon, 16 May 2016 23:47:00 UTC

NBN installation again

Posted By Greg Lehey

Phone call from Chris Rogers, who had got my number from Carolyn Everett. He's planning to have National Broadband Network fixed wireless installed tomorrow, and he's on the edge of the coverage maps between Dereel and Corindhap. He was concerned that he might be told he had no coverage, and asked me to come along in case there were any issues. ACM only downloads articles once.

Sun, 15 May 2016 00:34:00 UTC

Finally! Debug MythTV

Posted By Greg Lehey

I've spent most of the week fighting the Ports Collection trying to build a debug version of MythTV. I had the idea of installing the dependencies by first the package and then removing it again, but it didn't work. There were still large ports missing (can you spell Qt?) , and I ended up having to install the packages individually. And at least one port wouldn't build. This is all too fragile. But finally I got it built, and was able to run mythtv-setup with a debugger. All I needed was time to go through the sources, and today wasn't the day for that.

Thu, 12 May 2016 23:46:49 UTC

More MythTV fun

Posted By Greg Lehey

On somewhat half-heartedly with my MythTV build today. There must be a way to install all the dependencies as packages, rather than building them. But I didn't find an easy way. One Perl module included no less than 96 other dependencies, and that was the easy part. In the end I simply installed the MythTV package and then removed it again. And forgot to continue. ACM only downloads articles once.

Wed, 11 May 2016 23:36:49 UTC

Evil Google revisited

Posted By Greg Lehey

Peter Jeremy took me to task for my comments on Google: I have no problems cutting/copying from with normal mouse operations. I suspect whatever browser you accessed the documentation from is busted. But no, it happens on multiple browsers, at least firefox, Chromium and Opera. With Chromium, when I press Ctrl-C, I get: Sorry, that's unpardonable. X provides the functionality out of the box.

Wed, 11 May 2016 23:09:03 UTC

More MythTV pain

Posted By Greg Lehey

On with my mythbuntu experiments today. Back to remembering how to install NFS and ssh on Linux. Surprise, surprise! They were already there. All I needed was to mount /eureka/home and copy my ssh stuff. Then I was able to move the machine to the lounge room, connect the tuner and run mythtv-setup. Somehow things didn't work right. Following the instructions, I should have selected Scan for channels in the Input connect... menu.

Wed, 11 May 2016 00:26:37 UTC

Google: don't be evil!

Posted By Greg Lehey

The mythbuntu documentation isn't their own; it's on It's conveniently set up to break X conventions. I can't copy text! I can mark it, but it doesn't get copied. When I right-click on the selection, I get: What braindeath is that? Microsoft, of course. And it doesn't work! Presumably Google is relying on their assumptions about the underlying window manager functionality. And for some reason it captures Ctrl-W too, so I can't close the window with the mouse. One more annoyance with Google.

Tue, 10 May 2016 23:35:49 UTC

Mythbuntu revisited

Posted By Greg Lehey

Why is MythTV pretending that my DVB-T tuner is a satellite tuner? One way to find out is to risk all kinds of physical and mental pain. Another would be to try a standard, out-of-the-box installation such as Mythbuntu (now mythbuntu, it seems) or KnoppMyth. My previous experiences with them were painful, too, but who knows what they're like now? Oh. No KnoppMyth any more. Now it's LinHES, an abbreviation that is intuitively recognizable. Which do I try? Last time round I settled on Mythbuntu, so that's what I tried first. First impressions: it looks a lot smoother. And the installation instructions point to this page about installing from a USB stick.

Tue, 10 May 2016 01:12:48 UTC

More free bandwidth!

Posted By Greg Lehey

Mail from Aussie Broadband today. Because I'm a loyal customer (how do you define that?) , they're giving me more traffic for the same price, 500 GB instead of 300 GB. That won't cost them anything: I'm not using my current allowance. I'm paying $60 a month, so this represents a price of $0.12 per GB. How things have changed since I got my first Internet connection in March 1992! Then I was paying 0.45 DM ($0.356 at today's exchange rate) per kilobyte! That corresponds to $356,000 per GB. So since then the data cost has gone down by 99.99996623%. So: how much traffic do I get for the next step down?

Sun, 08 May 2016 23:22:05 UTC

ENIAC circuitry

Posted By Greg Lehey

Yesterday Diomidis Spinellis published a blog entry relating to a book he has been reading, ENIAC in Action. In particular, he had tracked down one of the valves used in the circuitry, a 7AK7 pentode. Somehow that designation looks Just Plain Wrong. One of the most common ways of naming valves of those days was, as here, a number, letters and number. The first number was the heater voltage, the letters were used for differentiation from other similar valves, and the second number was the number of external connections. So this valve should have a heater voltage of 7 V and also have 7 connections (heater, cathode, 3 grids and anode; the heater has two connections).

Sun, 08 May 2016 00:37:07 UTC

X crashes hard

Posted By Greg Lehey

One of the alternatives for Al Jazeera is their own streaming service. By comparison, it has a number of disadvantages. By far the biggest is that there's no way to position the stream, though you can pause it. But that means starting at exactly the right time and waiting through things like weather forecasts for the Americas. By contrast, the YouTube version can be positioned back up to 2 hours. Today I was watching anyway when something happened that I have never seen before. First, the browser display froze. Then the X display went blankonly the one on which the browser was running (:0.1).

Sat, 07 May 2016 23:57:19 UTC

Streaming multimedia issues

Posted By Greg Lehey

Some months ago, SBS stopped daily broadcasts of news from Al Jazeera. That's a pity, because it's the only English-language news service that isn't tied to the viewpoint of a particular Western country. But I found a streaming service on YouTube: It's designated BETA, and for good reason. There seem to be significant issues with streaming, including various repeatable image reproduction problems such as image becoming unsharp and tearing. I can backspace and find exactly the same problem in the same place, so it doesn't seem to be related to my connection.

Sat, 07 May 2016 01:12:54 UTC

Men's shed computer

Posted By Greg Lehey

Doug Braddy came by this afternoon to pick up his computer. Clearly he wasn't in a hurryit's been nearly a month. Over with him to the Men's shed and connected it up. They already have an Internet connection (National Broadband Network with Aussie Broadband), and they had taken the preconfigured router option, so I really didn't have much more to do than to plug the machine in, confirm that it couldn't recover from power failure during hibernation, and that the mouse was completely lame. Fortunately they had a new wireless mouse, and that, too, worked out of the box. Most of the time was spent waiting for Doug to find a power strip.

Sat, 07 May 2016 00:12:54 UTC

Men's shed computer

Posted By Greg Lehey

Doug Braddy came by this afternoon to pick up his computer. Clearly he wasn't in a hurryit's been nearly a month. Over with him to the Men's shed and connected it up. They already have an Internet connection (National Broadband Network with Aussie Broadband), and they had taken the preconfigured router option, so I really didn't have much more to do than to plug the machine in, confirm that it couldn't recover from power failure during hibernation, and that the mouse was completely lame. Fortunately they had a new wireless mouse, and that, too, worked out of the box. Most of the time was spent waiting for Doug to find a power strip.

Wed, 04 May 2016 00:15:48 UTC

Auspost but no email

Posted By Greg Lehey

When I took my camera to the post office yesterday, they promised me that it would be in Sydney by this morning, and that I would receive email. Given that it took them nearly a week last time, I wasn't convinced. No email this morning. OK, where is it? Tracking number into the online tracker: Warning: fopen(/home/grog/ failed to open stream: No such file or directory in /usr/home/grog/ on line 1155 Can't open /home/grog/ Delivered! And then awaiting collection! How can that be? The wonders of reverse chronological listing! But where was my email?

Mon, 02 May 2016 23:41:50 UTC

NBN Satellite: Salvation!

Posted By Greg Lehey

Julie Donaghy posted a reference to this article on Facebook today: The National Broadband Networks new Sky Muster satellite is now operational. So? It seems that there are enough people waiting for it, not understanding the issues. The alternative would be to put a fixed wireless antenna on a tower. That would cost money, of course, but satellite connections are more expensive, so it could make itself paid. Time for an explanation page. ACM only downloads articles once.

Fri, 29 Apr 2016 23:17:16 UTC

Disabling DiSEqC

Posted By Greg Lehey

More investigation of the DiSEqC on tiwi today. There's really nothing to explain why MythTV should want to apply a satellite protocol to a DVB-T tuner. Looking in the database brought some enlightenment: the capturecard table includes a field dvb_diseqc. And in my database, there were two entries for the single capture card. The difference? Only the dvb_diseqc field. In one record it was set to NULL, in the other to 0. OK, I can play around with that.

Fri, 29 Apr 2016 00:36:38 UTC

MythTV pain, next installment

Posted By Greg Lehey

Yesterday Hans Petter suggested using w_scan to check the functionality of the tuner. I've tried it before, with no useful results. But it seems that it really is better now: the (now obligatory) -c option specifies the country. It went off and spent 10 minutes producing copious output: === root@tiwi (/dev/pts/4) ~ 8 -> w_scan -c au w_scan version 20120415 (compiled for DVB API 5.10) using settings for AUSTRALIA DVB aerial DVB-T AU ... 571500: (time: 02:28) (time: 02:30) signal ok:         QAM_AUTO f = 571500 kHz I999B7C999D999T999G999Y999         new transponder:            (QAM_64   f = 184500 kHz I999B7C23D0T8G8Y0) 0x405A 571625: (time: 02:44) (time: 02:45) signal ok:         QAM_AUTO f = 571625 kHz I999B7C999D999T999G999Y999 ...

Fri, 29 Apr 2016 00:00:26 UTC

GPS navigator breakage

Posted By Greg Lehey

Yesterday I complained about the inaccuracies of Google Maps when searching for the nursing homes. Today I used my GPS navigator. It found the address without difficulties, and it didn't do silly things like going via Buninyong. But the route details! It took us on a zig-zag path round East Ballarat, and a few hundred metres before arrival wanted us to turn left into private property. OK, we were only a few hundred metres from Victoria Street, so continued there. It decided to take us down the frontage roadthe wrong direction down a one-way street. Ignored that too and turned right onto Victoria Street, so that Kenny St was on the right.

Wed, 27 Apr 2016 23:41:14 UTC

Google Maps: from bad to worse

Posted By Greg Lehey

So I've agreed with Kath Philips to meet at the Geoffrey Cutter Centre tomorrow at 13:00. Where's that? The Web tells me Kenny Street, Windsor Gardens, East Ballarat. But when I put that into Google Maps, it takes me to the Eureka Village Hostel in Balmoral Drive. Why? By not quite complete coincidence, that was the last place I looked at before I searched for the Geoffrey Cutter Centre, and it looked for all the world like it hadn't accepted the new input. With the aid of people on IRC, investigated the issue. It seems that Google Maps doesn't know about Windsor Gardens.

Wed, 27 Apr 2016 23:28:40 UTC

MythTV: Next experiment

Posted By Greg Lehey

I really need to get MythTV working on tiwi, but it's like pulling teeth. It's a good thing I keep notes. First step was to connect the USB tuner to the antenna, which was about 2 m away from the computer. OK, I must have a USB extension cable somewhere. And I did, but the one I found was 5 m long, on the borderline of the acceptable. Found two more 4.5 m long, so tried one of them: Apr 27 12:22:30 tiwi kernel: usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) Apr 27 12:22:31 tiwi kernel: usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR I suppose ignoring fatal errors is modern, but was this ...

Mon, 25 Apr 2016 06:47:16 UTC

Everybody loves Facebook

Posted By Greg Lehey

Vanda talked about communication during one of her presentations, noting particularly the Facebook page. But then she said that she didn't respond to PMs (whatever that may be), and that to communicate with her we should send email. No arguments from me, modulo the fact that she uses Microsoft Outlook, which confuses the hell out of users when it sees a digital signature. But Vanda has found out about that, and will no longer be confused. What surprised me, though, was that the other participants all said they didn't like Facebook either! More an unpleasant utility than something they enjoyed. Once again I'm left wondering how social media will evolve.

Sun, 24 Apr 2016 22:23:45 UTC

Goodbye MSY?

Posted By Greg Lehey

Vanda did her presentations using a laptop, with corresponding sound quality. She expressed an intention to buy external speakers. As it happened, we were just round the corner from MSY, a cheap computer components supplier I used to use until they completely blocked a valid return, though availability of advertised components was also an issue. Round to take a look during the tea break. Shut. OK, that's not that unusual on a Sunday. But they're shut all day Saturday too! They're only open from 10:30 to 17:30 on weekdays. I suppose other people have also decided that they're not worth the trouble.

Fri, 22 Apr 2016 00:36:37 UTC

Big Pond bug: Worked around

Posted By Greg Lehey

While lying awake in bed last night, I thought over some of the links to the BigPond mail issue. This one contains the information: A client suddenly can no longer send emails to any Bigpond addresses (anyone else is fine - have checked that they are not blacklisted anywhere). After investigation, we found that if we removed their web site url from their signature, it will send to Bigpond just fine. So BigPond is deliberately blocking texts if suspect (for them) URLs are present in the mail.

Tue, 19 Apr 2016 22:56:29 UTC

BigPond: what I have learnt

Posted By Greg Lehey

The encounter with BigPond technical support has something Daliesque about it. But during the over four hours I tried to resolve the problem, I have come up with some hypotheses about what their terminology really means: Corporate email: one that doesn't have a well-known commercial domain name such as or Thus and would be corporate emails. ISP: The entity that runs the originating MTA.

Tue, 19 Apr 2016 22:44:35 UTC

BigPond breakage: enough is enough!

Posted By Greg Lehey

More rejected mail from BigPond today: This is the mail system at host I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. <>: host[] said: 552     5.2.0 jeSz1s00h1sUVRc01eT0gw Suspected spam message rejected. IB704 (in     reply to end of DATA command) I've seen this before, and I've tried repeatedly to find a human on their so-called technical support line, all in vain. The last time was 9 months ago. Time to try again?

Fri, 15 Apr 2016 22:11:28 UTC

Still more Hugin port pain

Posted By Greg Lehey

More investigation of the Hugin port again today. Checked everything, and all seemed well, but pkg still doesn't want to install all the dependencies. About the only thing that showed up was the message: pkg: hugin has a missing dependency: autopano-sift-C New packages to be INSTALLED:         hugin: 2016.0.0_2         p5-Image-ExifTool: 10.10         vigra: 1.11.0         hdf5: 1.8.15_1         fftw3-float: 3.3.3_2 Why is that? The Makefile already contains the definition: AUTOPANOSIFTC_RUN_DEPENDS= autopano:graphics/autopano-sift-c Ah, but that's with a small C.

Wed, 13 Apr 2016 22:36:55 UTC

More HTML5 pain

Posted By Greg Lehey

I've complained in the past about problems using HTML5 to display videos, and I've found ways to revert to flash. But I forgot to document them! My latest install on eureka uses HTML5 because it has the power to do so. But there are still downsides in using HTML5, notably the lack of nagivability. How do I get back to flash again? Once, it seems, it was enough to go to about:config and set media.webm.enabled to false, as this (unnecessary) video shows. The instructions are in the comments. Unfortunately, that no longer works. The real solution appears to be this firefox addon.

Wed, 13 Apr 2016 01:00:02 UTC

Preventing Windows hibernation

Posted By Greg Lehey

Mail from Daniel Nebdal today: As a short workaround to windows 7 hibernating when you least want it to: If you press Win/Meta + X , the "mobility center" should pop up. From memory, the rightmost item on the lower row is "presentation mode". Turn that on, and it won't even suspend the monitor until you disable it again. I think it's meant for really long presentations, but as long as it works etc. In fact I had simply turned off hibernation in the Control Panel, but it's good to remember tricks like this one.

Tue, 12 Apr 2016 00:42:27 UTC

Hugin dependencies: still not working

Posted By Greg Lehey

So now the FreeBSD ports system has had time to build a new Hugin package, so tried reinstalling it. Sure enough, the package at is now portrevision 2. And it still doesn't install the dependencies. It looks like this still could be my problem, but clear error checking from pkg would help immensely. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Mon, 11 Apr 2016 23:11:05 UTC

Microsoft pain: over

Posted By Greg Lehey

Came into the office this morning to find that the Men's Shed computer hadn't finished installing updates: How did that happen? All that was running was the Task Manager and the Windows Update. Stopped that and wasn't able to install the updates: an update was in progress. How do I get past that? Not only did rebooting not help, it wasn't possible: shutdown hung trying to install those updates that had been downloaded. And I couldn't power down either, because the power button was set to Sleep.

Sun, 10 Apr 2016 23:21:12 UTC

More fun with Microsoft

Posted By Greg Lehey

Spent some time looking at Doug Braddy's computer today. To my surprise, found an original Microsoft disk for Windows 7 Home Premium (is that a prize or a price?) , so installed that. Why is Microsoft so slow, and why is there so much disk activity at startup? In this case, it seems that 2 GB memory is pretty minimal for Windows 7, and it was swapping its little heart out. But the most interesting thing was Internet Explorer's reaction to my attempt to download firefox: That's amazing.

Sun, 10 Apr 2016 02:38:58 UTC

Computer for the Men's shed

Posted By Greg Lehey

While I was at the photo meeting, Doug Braddy from the Dereel Men's Shed came over and asked me to come and visit him afterwards. It's the first time I've been in the new shed, but for some reason I didn't take any photos. What he wanted was: the shed had received a donation of a ThinkCentre with a 2.13 GHz Core 2 6400 (Passmark 1299), 2 GB memory and Microsoft Windows XP. No keyboard, no mouse. And he wanted a more modern Windows on it. OK, modulo license key I can do that, though when I took it with me, it wasn't clear what the configuration was, nor whether it could handle Windows 7 in a timely manner.

Sat, 09 Apr 2016 01:07:14 UTC

Fixing Hugin package

Posted By Greg Lehey

My mail to the ports mailing list about the Hugin port bore some fruit. Don Lewis discovered, with the help of Yet Another Makefile target (check-plist) that the pkg-plist file contained errors. How could that be? I used some other recommended method to build it. But he had also verified that, at least for him, that after rectifying this problem and building a new package, it installed all the dependencies. So at least pkg was not behaving correctly. First let's see if the package does now work. ACM only downloads articles once.

Thu, 07 Apr 2016 23:43:04 UTC

More ports pain

Posted By Greg Lehey

A couple of days ago I received mail from Carlos Cartola Carvalho telling me that the Hugin package was missing dependencies. Of course I had checked that long ago (partially after tripping over my own missing dependencies). But I had built from source, and Cartola had installed the binary package. So I tried it, and how about that, he's right: it didn't install the dependencies. I had discussed the matter with Edwin Groothuis, who told me of a make target I hadn't heard of: === root@stable (/dev/pts/1) /usr/ports/graphics/hugin 6 -> make run-depends-list /eureka/home/src/FreeBSD/svn/ports/accessibility/atk /eureka/home/src/FreeBSD/svn/ports/databases/sqlite3 /eureka/home/src/FreeBSD/svn/ports/devel/boost-libs /eureka/home/src/FreeBSD/svn/ports/devel/desktop-file-utils /eureka/home/src/FreeBSD/svn/ports/devel/gettext-runtime /eureka/home/src/FreeBSD/svn/ports/devel/glib20 /eureka/home/src/FreeBSD/svn/ports/devel/gmake /eureka/home/src/FreeBSD/svn/ports/graphics/OpenEXR /eureka/home/src/FreeBSD/svn/ports/graphics/autopano-sift-c /eureka/home/src/FreeBSD/svn/ports/graphics/enblend /eureka/home/src/FreeBSD/svn/ports/graphics/exiv2 /eureka/home/src/FreeBSD/svn/ports/graphics/freeglut /eureka/home/src/FreeBSD/svn/ports/graphics/gdk-pixbuf2 /eureka/home/src/FreeBSD/svn/ports/graphics/glew /eureka/home/src/FreeBSD/svn/ports/graphics/gtk-update-icon-cache /eureka/home/src/FreeBSD/svn/ports/graphics/ilmbase /eureka/home/src/FreeBSD/svn/ports/graphics/jpeg-turbo /eureka/home/src/FreeBSD/svn/ports/graphics/lcms2 /eureka/home/src/FreeBSD/svn/ports/graphics/libpano13 /eureka/home/src/FreeBSD/svn/ports/graphics/p5-Image-ExifTool /eureka/home/src/FreeBSD/svn/ports/graphics/panomatic /eureka/home/src/FreeBSD/svn/ports/graphics/png /eureka/home/src/FreeBSD/svn/ports/graphics/tiff /eureka/home/src/FreeBSD/svn/ports/graphics/vigra /eureka/home/src/FreeBSD/svn/ports/lang/python27 /eureka/home/src/FreeBSD/svn/ports/math/fftw3 /eureka/home/src/FreeBSD/svn/ports/misc/shared-mime-info /eureka/home/src/FreeBSD/svn/ports/x11-toolkits/pango /eureka/home/src/FreeBSD/svn/ports/x11-toolkits/wxgtk28 And those include the ones that are missing.

Thu, 07 Apr 2016 23:38:11 UTC

Still more subversion problems

Posted By Greg Lehey

Rainer Hurling has trouble with Vigra since I tried to update it to the latest version (1.11.0). Time to try for myself. But now I have VMs, it's time to migrate stable to a VM. That's simple enough: follow the HOWTO. And then build a new world, now that FreeBSD 10.3 has been released. The buildworld failed with missing definitions. I've seen that before: corrupted working copy of the Subversion repository. Another checkout? Simple. And yes, exactly the same kind of corruption that I had seen before, including files that had been updated before the branch point for stable/10: -__FBSDID("$FreeBSD: stable/10/sys/fs/cd9660/cd9660_iconv.c 120492 2003-09-26 20:26:25Z fjoe $"); +__FBSDID("$FreeBSD: stable/10/sys/fs/cd9660/cd9660_iconv.c 166639 2007-02-11 13:54:25Z rodrigc $"); How can that happen?

Sat, 02 Apr 2016 23:11:23 UTC

Another Jim Lannen event

Posted By Greg Lehey

Woke up at blank this morning. No power. Another bloody power failure? No, another bloody Jim Lannen event: RCD tripped, UPS drained. And that in the middle of my monthly complete backup, which takes 10 hours! I also lost the last half of a TV recording. What a pain it is to keep power up in this household! That gave me a chance to repeat the backup, of course. Just backing up my own home directory showed me how much CPU goes into compression: That wasn't the end of the backup.

Fri, 01 Apr 2016 23:54:01 UTC

Still more Microsoft pain

Posted By Greg Lehey

On with my attempts to mount remote CIFS file systems on damnation, my Microsoft Windows 10 VM, today. I hardly made any headway. What I did learn: It's not a file system, it's a share. Yes, I knew that, I just think it another silly term. You can start a shell by hitting Window key-R and entering CMD, the new name of COMMAND.COM COMMAND.EXE. Well, Window key-R is the new, simpler way to call up the run windowif you don't have any other programs with names starting with R.

Fri, 01 Apr 2016 01:47:08 UTC

Daily ports pain

Posted By Greg Lehey

I've now managed to build Vigra on current, my FreeBSD-CURRENT box. Time to commit? What can it break? Decided to build Hugin first. More dependencies, more build failures: configure: error: in `/eureka/home/src/FreeBSD/svn/ports/science/hdf5/work/hdf5-1.8.15-patch1': configure: error: C++ preprocessor "/lib/cpp" fails sanity check Somehow things are all far too difficult. ACM only downloads articles once.

Fri, 01 Apr 2016 00:36:43 UTC

More Microsoft pain

Posted By Greg Lehey

So yesterday my attempt to activate Microsoft Windows 10 failed with an activation service that was down. I tried again today. Same result. And while fighting my way through the maze of twisty little menus, all different, I found: How did that happen? And how can I track what license key I used? I'm not exactly a big Microsoft user, but I have a number of different activation keys which I can (apparently) use again to activate Microsoft on new machines. What happens if I choose the wrong one?

Fri, 01 Apr 2016 00:08:19 UTC

Phantom logins

Posted By Greg Lehey

Strange messages in the daily security mail from this morning: login failures: Mar 30 00:00:33 stable-amd64 sshd[61196]: Invalid user backup from Mar 30 00:00:33 stable-amd64 sshd[61196]: input_userauth_request: invalid user backup [preauth] ... Mar 30 02:47:16 stable-amd64 login: 1 LOGIN FAILURE FROM In all there were over 2,800 messages! But how could this happen? stable-amd64 was a test box whose name I retired on 7 January 2015: revision 1.129 date: 2015/01/06 23:11:45;  author: grog;  state: Exp;  lines: +3 -3 Rename stable-amd64 to stable.

Wed, 30 Mar 2016 23:42:55 UTC

And now for something completely different

Posted By Greg Lehey

Enough Vigra frustration for one day. How about Microsoft Windows 10 to round it off? I had installed it on a VM somewhere, and contrary to my expectations it still wanted me to activate it. How do you do that on a VM? Finally found an old, retired activation key and typed it in: Can't they do anything right? ACM only downloads articles once.

Wed, 30 Mar 2016 23:39:24 UTC

More ports pain

Posted By Greg Lehey

A while back Rainer Hurling sent me mail with some issues relating to the Vigra port. I sent him some patches, but didn't hear back from him, so time to try building it again on FreeBSD -CURRENT. It was like pulling teeth. I did this on my VM, which I have deliberately kept as bare-bones as possible. That meant building all the dependencies first. But many of them wouldn't build because they were missing dependencies! cmake failed for reasons I forget. When I tried to install the package, that failed too: # pkg install cmake ...

Wed, 30 Mar 2016 23:39:22 UTC

More ports pain

Posted By Greg Lehey

A while back Rainer Hurling sent me mail with some issues relating to the Vigra port. I sent him some patches, but didn't hear back from him, so time to try building it again on FreeBSD -CURRENT. It was like pulling teeth. I did this on my VM, which I have deliberately kept as bare-bones as possible. That meant building all the dependencies first. But many of them wouldn't build because they were missing dependencies! cmake failed for reasons I forget. When I tried to install the package, that failed too: # pkg install cmake ...

Sat, 26 Mar 2016 22:49:55 UTC

Subversion subverted?

Posted By Greg Lehey

More investigation of my build failures today. Simply recreating all files didn't help. How about a complete new working copy? Tried that and was amazed: there were dozens of differences. Why? svn info showed nothing of interest. In particular, the repository root and UUID were the same. And the contents? 60 MB of differences! === grog@eureka (/dev/pts/19) /src/FreeBSD/svn 79 -> diff -wur head-2 head 2>&1 > svn-diffs === grog@eureka (/dev/pts/19) /src/FreeBSD/svn 80 -> l svn-diffs -rw-r--r--  1 grog  lemis  60,039,508 26 Mar 10:42 svn-diffs Strangely some of them seem to be positively ancient. Here head is the new checkout, while head-2 is the old one: --- head-2/sys/boot/sparc64/boot1/_start.s 2016-03-26 08:42:17.953474000 +1100 +++ head/sys/boot/sparc64/boot1/_start.s 2016-03-26 09:42:42.604479000 +1100 @@ -1,4 +1,4 @@ -/* $FreeBSD: head/sys/boot/sparc64/boot1/_start.s 125717 2004-02-11 21:17:04Z ru $ */ +/* $FreeBSD: head/sys/boot/sparc64/boot1/_start.s 93311 2002-03-28 02:41:52Z obrien $ */ ...

Fri, 25 Mar 2016 23:56:03 UTC

Upgrading test boxes

Posted By Greg Lehey

Now that I have resolved my difficulties with VirtualBox, the next step was to upgrade current to the present day. Not an issue: I may not have been keeping a FreeBSD CURRENT system up to date, but I do have a cron job which keeps an up-to-date copy of the source repository. So all I needed was: # cd /usr/src # make buildworld But it failed, repeatedly: /eureka/home/src/FreeBSD/svn/head/lib/clang/libllvmmipsdesc/../../../contrib/llvm/../../lib/clang/include/llvm/IR/Intrinsics.gen:2:10: fatal error: '' file not found Problems with the repository or problems with the snapshot?

Thu, 24 Mar 2016 22:12:05 UTC

VirtualBox again

Posted By Greg Lehey

Why am I going to all this trouble to set up physical test boxes? Because I've had difficulties with VirtualBox, mainly. But that should be soluble, and so I had another attempt today. This diary helps, and I noted that it was less than 2 months since my last attempt. But I didn't read it as carefully as I should have: Off to find out from Google, but I couldn't access the Internet: the link wasn't working. Nothing obvious: the interface looked right, routing looked right, but there was no traffic.

Thu, 24 Mar 2016 22:10:26 UTC

Making dental appointments

Posted By Greg Lehey

After my dental appointment, I needed make an appointment for a checkup in about 6 months' time. No worries, they'll send me an SMS. Sorry, don't do SMS. OK, they'll send dead tree mail. And Email? Already dead? ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Wed, 23 Mar 2016 22:55:25 UTC

More ports pain

Posted By Greg Lehey

I have now committed the latest version of Hugin to the FreeBSD ports tree. And again I've run into problems: new dependencies that I should have known, and for some reason it doesn't build on FreeBSD 9.3: cd /wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src/tools && /usr/local/bin/g++48   -DGLEW_STATIC -DHUGIN_HSI -I/wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src -I/wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src/hugin_base-I/wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src/celeste -I/usr/local/include -I/usr/local/include/OpenEXR -I/wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src/foreign -I/usr/local/include/python2.7 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing-Wl,-rpath=/usr/local/lib/gcc48 --std=c++11 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc48   -fopenmp -o CMakeFiles/pto_var.dir/ParseExp.cpp.o -c /wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src/tools/ParseExp.cpp/wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src/tools/ParseExp.cpp: In function 'bool Parser::ConvertToRPN(const string&, const ConstantMap&, std::queue<Parser::RPNTokens::TokenBase*>&)': /wrkdirs/usr/ports/graphics/hugin-2016/work/hugin-2016.0.0/src/tools/ParseExp.cpp:371:23: error: 'stod' is not a member of 'std'                  val = std::stod(expression.substr(pos), &index); How I hate C++!

Wed, 23 Mar 2016 21:51:05 UTC

Power interruptions: enough is enough

Posted By Greg Lehey

Round 14:50 this afternoon the office UPS started beeping. Out into the garage, and sure enough (thanks, Jim Lannen) the RCD had tripped, the sixth time this year. Turned it on and all was well. Well, almost. My ATA showed an error indication. No worries, that's why I have a spare. Connected it up. It worked, but I discovered that I hadn't configured it as well as I had thought. So: ATA or power supply? Connected the old ATA to the new power supply, and sure enough, it worked. So the power supply died round the time of the power issue.

Mon, 21 Mar 2016 22:26:04 UTC

Shopping in the Internet era

Posted By Greg Lehey

Two years ago I wrote an essay on The Internet in 2034. Surprise, surprise, 10% of the time has gone by already. There I wrote: Most purchases will occur on-line, and the few remaining shops will mainly exist to order and supply goods available on the Internet. The exceptions will be fresh goods such as food and some services where a view of the items in advance is desired, such as some clothes. This will also have a profound effect on the economy: many companies, notably shops and mall owners, will go bankrupt.

Sun, 20 Mar 2016 23:13:07 UTC

Ports install hell

Posted By Greg Lehey

So tiwi's MySQL installation is broken, possibly beyond repair. Since I don't need any of the data in the database, it seemed easier to remove and reinstall it. Tried that today: === root@tiwi (/dev/pts/6) /var/db 21 -> pkg install mysql57-server The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED:         mysql57-server: 5.7.10_3         mysql57-client: 5.7.10_4         mysql56-client: 5.6.27 Huh? Those numbers are a representation of the version number (5.6 or 5.7). Why should the server version 5.7 install two different clients, one for a different release?

Sat, 19 Mar 2016 00:54:58 UTC

tiwi installation, continued

Posted By Greg Lehey

Yesterday's attempt to install the tuner in tiwi ended with database issues. Before attending to them, considered the cheap and easy approach described on the webcamd page: # # The following command will display webcam contents from /dev/video0 # by default. # pwcview OK, tried that: === grog@tiwi (/dev/pts/2) ~ 1 -> pwcview Failed to access webcam: No such file or directory *********************************************************** Make sure you have connected your webcam to the root hub or to a USB 1.1 hub, also check your dmesg for any errors.

Fri, 18 Mar 2016 23:59:21 UTC

Old file systems

Posted By Greg Lehey

Warren Toomey sent out a message to the Unix heritage society today asking for examples of file systems in the late 1960s. I knew one: the Master File Directory of the Univac 1108. The last time I used it was some time in September 1974, and I don't recall very much about it. But the Programmers Reference Manual is available online, and it contains a description of the MFD, starting on page 333 of the scanunfortunately from such a completely different perspective that it's hard to compare. But Warren's question was whether it was customary to keep the file names separate from other file metadata (inodes in Unix parlance), and it seems that that wasn't the case.

Fri, 18 Mar 2016 23:32:29 UTC

Power failure recovery

Posted By Greg Lehey

Recovering from power failures is getting easier now that I have so much practice. When I came in this morning, eureka was mainly up and running. But I couldn't access my local web cache. Once again it turned out that this was a DHCP issue: after a power outage, dhclient overwrites /etc/resolv.conf with data from the remote DHCP server, not what I want, and in this case it resulted in the external view of my DNS, not the same as the local view served by the local name server. To fix it I needed to check out my local version again and restart squid.

Fri, 18 Mar 2016 00:08:04 UTC

Finally! The tuner!

Posted By Greg Lehey

I've been waiting for a USB tuner for tiwi since the beginning of the year. The first one I ordered never materialized, and I ordered a second one on 12 February. It has taken until now for it to arrive! Off to Napoleons to pick it up. Surprise, surprise! Wrong connector! When I ordered the original tuner, I went to some lengths to ensure it had a 75© antenna connector. But when I ordered the replacement, I forgot, and it has an MCX connector. That's not the end of the world, but it means Yet Another Delay while I get the adapter.

Mon, 14 Mar 2016 23:56:38 UTC

Towards understanding Olympus Maker Notes

Posted By Greg Lehey

Somehow software has become so complicated nowadays that you can't just hack away and incrementally create something: first you need a library a stack of twisty little libraries, all different, and you have to learn how to use them. My experience with libexif a couple of days ago didn't exactly fill me with confidence. How does it relate to yesterday's view of the structures? What I really want is something that doesn't try to understand and interpret too much of the data, just present it in vaguely dissected form. Enter my up-and-coming program exifdump, not exactly the only program of that name.

Mon, 14 Mar 2016 23:41:35 UTC

Tracing the exiftime bug

Posted By Greg Lehey

What caused the error messages from my exiftime script that I saw a couple of days ago? Today Yvonne borrowed my camera (after over 5 weeks her own camera still isn't back from repairs), and I put a couple of debug lines in the script. But it ran without problems. Later I took my own photos and the problem occurred again. Why? Does exiftime hate me? Ran wh, another little script that extends which to show all possible executables, and found: === grog@eureka (/dev/pts/27) ~/Photos/20160314 1078 -> wh exiftime  263011 -r-xr-xr-x  1 root  wheel  47824  6 Mar 10:33 /usr/local/bin/exiftime 1910037 -r-xr-xr-x  1 grog  lemis    448  7 Jul  2012 /Photos/Tools/exiftime Clearly the second one is my script.

Sun, 13 Mar 2016 23:26:31 UTC

EXIF data: finally an overview

Posted By Greg Lehey

Further searching for the format of EXIF data has finally paid off, probably because it wasn't what I was looking for. I was looking for a description of TIFF format and came up with this page, which contains this illustration: And that's exactly the kind of diagram I'm looking for. Further investigation shows that there's also a similar page for JPEG, and that mentioned APP0 but not APP1. OK, we're making progress, so went looking for jpeg app1 file format and came up with this page, which looks like it will finally give the overview I've been looking for.

Sat, 12 Mar 2016 23:19:24 UTC

EXIF: where's the Big Picture?

Posted By Greg Lehey

Spent a lot more time looking at processing EXIF data. There's lots of documentation of the individual components, though not all details (for example, what are the other components of the entries I looked at yesterday?) . But given a file, how do I dissect the structure? Wikipedia tells me that JPEG images store the data in APP1, segment marker 0xffe1, and TIFF images store it in a sub-IFD with the TIFF Private Tag 0x8825.

Sat, 12 Mar 2016 22:41:02 UTC

Strange exifcopy bug

Posted By Greg Lehey

As if I didn't have real problems understanding EXIF, today I got these messages when copying photos from the camera: mcopy -pm C:/dcim/100OLYMP/P3126248.ORF /photowork/P3126248.ORF exiftime: doesn't appear to be a JPEG file; searching for start of image exiftime: skipped spurious bytes in JPEG exiftime: start of image not found The first line is the command to copy the file from the camera, and exiftime is a script that sets the timestamps for the files once they have been read in.

Sat, 12 Mar 2016 01:13:02 UTC

Analysing Olympus MakerNotes

Posted By Greg Lehey

Spent a little time analysing the Olympus MakerNotes for one of my Hibiscus photos. exiftool renders the parts of interest like this: 0x0300 Zoom Step Count                 : 0 0x0301 Focus Step Count                : 9481 0x0303 Focus Step Infinity             : 1348 0x0304 Focus Step Near                 : 18597 0x0305 Focus Distance                  : 0.285 m 0x0308 AF Point                        : Left (or n/a) And that's all in the range 0x300 to 0x3ff.

Thu, 10 Mar 2016 20:59:53 UTC

More EXIF investigations

Posted By Greg Lehey

Before I can do much more with my investigation of Olympus focus stacking, I need to establish if I can get more accurate focus information from the EXIF Maker Notes. First step was to look through the many alternatives to exiftool to see if they do any better. Tried exif, exiv2 and exiftags, all of which produced very little output and nothing at all about focus distance. My guess is that they don't analyse the Maker Notes. exifprobe does show some of the Maker Notes, but there's no mention of focus distance there either. OK, how difficult can it be to go through the EXIF data manually?

Wed, 09 Mar 2016 22:37:21 UTC

Still more focus stacking

Posted By Greg Lehey

Still more playing around with focus stacking today. Peter Jeremy asked why I took the photos from such a distance; that's clearly because they're big flowers, the lens has a ridiculously long focal length, and I want to get the whole flowers in the image. But clearly I can take photos of parts of the flower too. To do that, I needed flash, and fortunately the camera is prepared to wait for the flash to recharge (with the rather strange sequence 1, 2 or 4 seconds and more, but not the 3 I really need): Once again there seems to be little difference between these two images, though one was taken with a step size of 3, the other with a step ...

Tue, 08 Mar 2016 22:56:40 UTC

Focus stacking, continued

Posted By Greg Lehey

Yesterday's experiments with focus stacking left a number of questions open. The first one was the influence of focus step setting. But when I turned on the camera and fought my way down the menus, it showed a step setting of 3, not 1. After a bit of messing around (and taking unintended single shots), I discovered that the menu system really requires me to press the OK button after making a setting. Otherwise the displayed value just goes away again. And that meant that my comparisons yesterday were in fact taken with the same focus step setting. So I took two sets of the same image, one at f/4 and the other at f/8, both with step size 10: Yes, ...

Mon, 07 Mar 2016 22:41:42 UTC

Desired program #16 not found in PAT: solved

Posted By Greg Lehey

Yesterday I discovered duplicate channel number entries in my table, and suspected that, along with a bug in MythTV, might explain my inability to record certain programmes. Today took another look. Sure enough, there were many: mysql> SELECT chanid, channum, sourceid, name, finetune, recpriority, visible, useonairguide, mplexid, serviceid        FROM channel where mplexid = 1        ORDER BY channum; +--------+---------+----------+--------------------+----------+---------+---------------+---------+-----------+ | chanid | channum | sourceid | name               | finetune | visible | useonairguide | mplexid | serviceid | +--------+---------+----------+--------------------+----------+---------+---------------+---------+-----------+ |   2008 | 8       |        2 | WIN Western Vic    |        1 |       0 |             1 |       1 |         1 | | ...

Sun, 06 Mar 2016 23:03:58 UTC

Chasing down TV reception issues

Posted By Greg Lehey

So what's wrong with cvr2 that it can't receive GEM any more? It can't be the tuner or the frequency, because there are five programmes that I am interested in (visible = 1) on this specific frequency (mplexid, i.e. multiplexer ID): mysql> SELECT chanid, channum, callsign, serviceid        FROM channel        WHERE mplexid = 1 AND visible = 1        ORDER BY channum; +--------+---------+--------------------+-----------+ | chanid | channum | callsign           | serviceid | +--------+---------+--------------------+-----------+ |   2203 | 80      | WIN Western Vic HD |      1938 | |   2081 | 81      | WIN Western Vic    |      1924 | |   2204 | 82      | GEM Western Vic    |      1926 | |   2083 | 83 ...

Sun, 06 Mar 2016 00:23:30 UTC

More MythTV pain

Posted By Greg Lehey

There has been another reshuffle of the terrestial TV channels, with the result that a number of programmes didn't record. Time to run another mythtv-setup. But this time it didn't work: there were no error messages, but the window didn't display. More X breakage? No --listen-tcp, maybe? No, it's not that simple, but the only way I could get it to display was to connect cvr2 (the MythTV machine) to the TV and display it on its own X server, made more complicated by things like GNOME. And when I did, I couldn't navigate the screens properly. Finally I got my rescan done, but the old channel numbers were still there, and the only way I could tell them apart was because mythtv-setup is too polite to set the finetune attribute, so the new ones all had it set to NULL.

Sun, 06 Mar 2016 00:03:47 UTC

More Microsoft strangenesses

Posted By Greg Lehey

When firing up dischord to check the iview issues, it was, as so often, flat out doing something with the disk. Looking at the Task Manager showed some surprises: No, the representation 1,075... is no surprise. That's modern. But what's this MATLAB stuff? I don't use it, though it seems I have something of that nature on the machine. But it appears to only be an installer. So why is this thing messing around there? And what's ZPSAutoUpdate.exe? How I wish I understood this mess.

Sat, 05 Mar 2016 23:48:57 UTC

Using iview

Posted By Greg Lehey

Discussion on IRC yesterday: it seems there's a new series of The Doctor Blake Mysteries on ABC TV. It's set in Ballarat, and 3 years ago I tried to watch it, hampered at the time by abysmal TV reception. So I tried it with iview, ABC's web service. At the time I was refused because iview knows that I'm not in Australia. Yesterday I tried again: Now isn't that helpful? I sent a comment to ABC, and was surprised to get a response.

Thu, 03 Mar 2016 23:09:02 UTC

New port: no issues?

Posted By Greg Lehey

Finally got round to committing a new FreeBSD port, graphics/hugin-2016, with the latest release candidate for Hugin. Went without a hitch. I was just saying (on IRC) I wonder what will go wrong now when I got a mail message, sent fully 2 minutes after the commit message: Looks like it was not repocopied, may I ask why? Well, the answer is that I didn't know it should have been. There's nothing about it in the Porter's Handbook. No, it seems, I should have been looking in the Committer's Guide, a document that I didn't even know existed, and which isn't referenced in the Porter's Handbook.

Sat, 27 Feb 2016 00:16:37 UTC

eBay studio flash puzzles

Posted By Greg Lehey

Somehow product searches on eBay are non-deterministic. A couple of days ago I found a 150 J studio flash for about $65. Then yesterday I couldn't find it any more. Today I went looking and found it againnot a new one, but the same one I saw 2 days ago. And now, writing up this article, I can't find it again. Then, of course, there's the pricing, which seems completely random. The seller estores_au offers two Godox units: a 160 J Mini Pioneer for $89.99, or a 120 J Mini Pioneer for $90.88. What's the difference? If you look at the photos they provide, nothing.

Thu, 25 Feb 2016 21:28:34 UTC

Spam: Blödmann!

Posted By Greg Lehey

More malicious spam today, with a twist: From: Fermin Lynn <> To: bloedmann <> Subject: Invoice 26885012 Dear bloedmann, Please review theattached copy of your Invoice (number: IN26885012) for an amount of $549.42. [-- Attachment #2: --] [-- Type: application/zip, Encoding: base64, Size: 3.0K --] Blödmann is a German term of abuse which translates as buffoon, imbecile, goon, twerp, wally, dimwit, git, dweeb or dumbass. How did I get it? My choice of email address. In my virtual file I find: #  I don't recall why I used that particular name, but it probably reflects on the company web site.

Wed, 24 Feb 2016 22:15:12 UTC

More rechargeable battery issues

Posted By Greg Lehey

The batteries in Yvonne's mouse are discharged, as indicated by a warning light (!) . No problem. That's why we have rechargeables (NiMH). But lately, mainly out of interest, I've been measuring the voltages after discharge. In this case it was 2 AAA batteries. One was down to 1.062 V, which was really low. But the other was reading -0.062V! OK, it's clear that unbalanced batteries can cause the weakest to fail, but a negative voltage? In addition, these were almost new. But you can't return rechargeable batteries, even if they don't meet ALDI's stringent quality standards. More generally, though, my measurements show that a battery pair never discharges equally.

Wed, 24 Feb 2016 21:59:15 UTC

20 years of CFBSD

Posted By Greg Lehey

Diary entry for today: Feb 24  "Installing and running FreeBSD" submitted for publication, 1996 That was the first edition of what was to become The Complete FreeBSD. Twenty years! Time flies when you're having fun. I tried to find a machine-readable version, but it seems that it's gone. I have everything in RCS, but the build system was baroque and fragile, and the likelihood of being able to build it now is pretty remote. ACM only downloads articles once.

Mon, 22 Feb 2016 00:19:41 UTC

What price an IP address?

Posted By Greg Lehey

IPv6 has been around for nearly 20 years, and in the early days we thought that it would quickly displace IPv4. But it hasn't. Most ISPs still don't support it, and though I could use it in my house network, I don't, mainly because of an overly pedantic concern about efficiency (IPv6 headers are considerably larger than IPv4 headers). Now that the IPv4 address space is depleted, a market has arisen for IP addresses. Today I received a mail message offering to buy my excess IP addresses for the princely sum of $3 each, independent of quantity. I'm not interested, but it got me thinking: how much is an IPv4 address worth?

Sat, 20 Feb 2016 23:56:10 UTC

Build problems

Posted By Greg Lehey

Ran a fairly normal system build on stable today. Or at least, I thought so. And then things began to hang, repeatedly. Looking at the ps output on a repeat attempt, I saw: === grog@stable (/dev/pts/2) ~ 20 -> ps wlt1  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN   STAT TT     TIME COMMAND    0 55691 36392   0  20  0 12368  1944 piperd   I+    1  0:00.10 tee -a Make.log    0 55694 55690   0  26  0 12372  1948 wait     I+    1  0:00.00 /usr/bin/time -l make kernel -DNOCLEAN    0 55695 55694   0  52  0  9116   888 wait     I+    1  0:00.00 make kernel -DNOCLEAN    0 55700 55695   0  52  0  9116  1468 wait     I+    1  0:00.01 make -m ...

Mon, 15 Feb 2016 23:25:33 UTC

Understanding XCompose

Posted By Greg Lehey

One of the lesser-known features of X is the Compose key. Press it and then enter specific key combinations, and it will generate characters not directly available on the keyboard. For example, with my US-style keyboard I can generate the Greek letter › with the combination *L, or ¦ with the combination X06a7. In general all UTF-8 characters can be generated by entering X and the 4 digit hex code, though clearly the other method is easierif you know the combination. But how do I know the combinations? Five years ago, a certain Pmarin sent me details, along with a link to a table which proved to be not completely accurate.

Mon, 15 Feb 2016 22:44:19 UTC

Bushfire, day 3

Posted By Greg Lehey

Mail from Daniel Nebdal today, pointing out that there is an explanation for the symbols on the emergency services web site. What I saw was only the tip of the iceberg: there are a total of 50 of them! Some, like Aircraft Accident, Animal Plague and Plant Health, are unlikely, but Advice and All Clear are notand they use the same symbol for both: height="41" width="50" />, which I had thought meant Information. And what's an animal plague, anyway? There's already a separate symbol for Animal Health.

Sun, 14 Feb 2016 23:13:15 UTC

Bushfire, day 2

Posted By Greg Lehey

The bushfire may have been relatively harmless, but it took the crews a long time to contain it. How long? That depends. 24 hours after the fire was reported, the CFA and the Department of Environment, Land, Water & Planning still had different views of what was going on: None of the details match! Not even whether the fire is under control or not! The status was like that for most of the day.

Sun, 14 Feb 2016 01:46:08 UTC

Another bushfire

Posted By Greg Lehey

Another bushfire reported this afternoon, about 5 km ESE of here. The good news: nobody in Dereel was in danger. How did I find out? From Facebook, of course. If I had a SIM in my tablet and mobile phone coverage, I could run an App on the tablet. But what a way to communicate! The emergency services explicitly do not offer an email notification service. OK, we know the URL for the bushfire web site. It's or maybe, and I ranted about it 7 years ago. Oh. No. It's gone, and it's clearly not important enough for them to include a redirect.

Sat, 13 Feb 2016 23:55:20 UTC

Windows 93%

Posted By Greg Lehey

Andy Farkas posted this link. Somehow it addresses some of my prejudices. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Thu, 11 Feb 2016 23:44:01 UTC

Air conditioner bugs

Posted By Greg Lehey

Our air conditioner works relatively well, especially compared to our last installation. In particular, the temperature regulation is good. But the control unit has a number of strangenesses that lead to the conclusion that the programmers didn't really consider all possibilities: You can set the temperature in up to 8 zones (effectively rooms), each with its own control unit. We have installed all 8. But the temperature setting range is limited to 4°.

Thu, 11 Feb 2016 23:18:49 UTC

HTML authentication revisited

Posted By Greg Lehey

Discussion on IRC today about yesterday's HTML authentication system. Andy Snow commented: selective htaccess probably wouldn't have been any more lines of code, but probably would have needd more reading of docs :) Well, yes, guilty as charged. I shouldn't be reinventing the wheel. So I (later) read the documentation. As I feared, it doesn't really address my issue. I want to allow access to multiple images without authentication; I only want to enable access to the others for certain people, and I don't want to advertise the fact.

Thu, 11 Feb 2016 00:23:47 UTC

Hacking security

Posted By Greg Lehey

Over the years I have written my own scripts to display my photos on the web. Compared to commercially available scripts, they have the advantage that I can modify them to suit my tastes, including displaying with more images and less clutter. They also allow me to include photos on other web pages, such as this diary, using the same interface. But now Yvonne had a dilemma: she has been training a horse who shall be not only nameless, but also invisible. And of course she has taken a lot of photos, which she wants to share with Chris Bahlo and the owner, but nobody else.

Wed, 10 Feb 2016 23:39:57 UTC

Tracing the ATA issue

Posted By Greg Lehey

My traces of the communication between ATA and eureka showed perfectly normal traffic followed by a reboot. But that was based on the IP address, and the reboot reason was specified was Using last good known IP and reboot after 30 minutes, that might not be enough. The dropouts continued, so I started another trace, this time looking for traffic related to the MAC address. And sure enough, that showed more information: 08:55:53.018742 bc:5f:f4:c9:9b:bf (oui Unknown) > 00:25:9b:6e:34:36 (oui Unknown), ethertype IPv4 (0x0800), length 495: > SIP, length: 453 08:55:53.046585 bc:5f:f4:c9:9b:bf (oui Unknown) > 00:25:9b:6e:34:36 (oui Unknown), ethertype IPv4 (0x0800), length 495: > SIP, length: 453 08:56:04.211877 00:25:9b:6e:34:36 (oui Unknown) > Broadcast, ethertype IPv4 (0x0800), length 342: > BOOTP/DHCP, Request from 00:25:9b:6e:34:36 (oui Unknown), length 300 (9 more omitted) 09:00:10.489436 00:25:9b:6e:34:36 (oui Unknown) > Broadcast, ...

Tue, 09 Feb 2016 23:40:27 UTC

Fixing the audio issues

Posted By Greg Lehey

Another problem with tiwi's audio today, this time playing a video. Again the message Audio device got stuck!, and couldn't get rid of it. Did a bit of googling and found this page, which suggests: === root@tiwi (/dev/pts/5) /home/grog 6 -> sysctl dev.hdac.0.polling=1 dev.hdac.0.polling: 0 -> 1 That works. But it's not a solution. It's a workaround, and the real issue seems to be that the device stops interrupting. Why? Do I care? ACM only downloads articles once.

Tue, 09 Feb 2016 23:13:27 UTC

NBN reception towers

Posted By Greg Lehey

Had a chat with Kevin of Aussie Broadband today about erecting towers to connect to the National Broadband Network wireless service. He wasn't able to do anything himself, but he had a couple of good idea. It seems that the NBN will accept a tower, but to get to the people who handle that you need some persistence. The big issue remains the height of the tower, of course. Make it 300 m high and you won't have a problem, except with the cost and the appearance. Clearly you don't want it any higher than necessary, and to find out what's necessary you need to measure signal strength.

Tue, 09 Feb 2016 01:19:20 UTC

More multimedia pain

Posted By Greg Lehey

In the evening, listening to radio on tiwi, with the screen powered down, when suddenly there was a loud hum and then nothing. Turned the screen on and saw: Audio device got stuck! Audio device got stuck! Audio device got stuck! Exit before end: file position -1 MPlayer interrupted by signal 11 in module: key_events ... I've seen the crash before, but what's the Audio device got stuck!? In particular, it stayed stuck. Didn't have time to investigate then, and simply rebooted the machine, after which it worked again. But why are all these problems occurring now?

Tue, 09 Feb 2016 01:19:10 UTC

Yet another hardware failure

Posted By Greg Lehey

When I went to Ballarat I took my Android tablet with me to try once again to get a sensible navigation application. In vain: the choice of route is still terrible. Going north along Peel St to the destination a few hundred metres ahead, it turned me right along Curtis St, past Bakery Hill, left into Humffray St and left again into Mair St: And of course I can no longer link to a Google Map, because my software isn't leet enough for them.

Tue, 09 Feb 2016 00:58:31 UTC

More hardware failure?

Posted By Greg Lehey

While preparing Yvonne's camera for shipment, noted a couple of LEDs that were out when they should be on: Line 1 and Line 2 on my ATA. Discovered I couldn't communicate with it at all: it seemed to have failed. They're not expensiveunder $30but where do I get an ATA in a hurry? Most are supplied, at elevated prices, by VoIP providers. MyNetFone offers an SPA122 for $69.95 and another $12.95 for postage, for example. And they seem to be remarkably unreliable. So quickly ordered another PAP2T. Power cycled the box, started a trace and found, after a lot of failed ARP requests: 10:30:21.839411 ARP, Request who-has tell, length 28 10:30:22.841399 ARP, Request who-has tell, length 28 10:32:37.089384 ARP, Request who-has tell, length 46 10:32:37.340780 ARP, Request who-has tell, length 46 10:32:37.343440 ARP, ...

Mon, 08 Feb 2016 01:49:48 UTC

NBN for the depressed

Posted By Greg Lehey

Anita Maynard asked on Facebook today about getting NBN in her location, which is in a depression. Ended up going over to take a look there, and discovered that her husband Ken is the bloke who bought our pizza oven last year. Fortunately he's happy with it. It seems that the National Broadband Network has been there a couple of times and established that he could get a signal if they found a way to mount the antenna about 10 m higher. Not really an issue, especially since Ken is good at that sort of thing, so he would build his own tower.

Mon, 08 Feb 2016 01:26:12 UTC

Still more TV pain

Posted By Greg Lehey

Checking last night's recordings, discovered that cvr2 hung again. It was recording at the time, so I have an exact time when it happened: 2016-02-06 21:14:23.703343663. Unfortunately I don't have as good a time for the say before, but it was also some time after 21:00. About the only thing in /var/log/messages at least gives me a rough idea: Feb  5 20:58:57 cvr2 -- MARK -- Feb  5 21:18:57 cvr2 -- MARK -- Feb  6 10:12:31 cvr2 syslogd 1.5.0#2ubuntu6: restart. So it must have been some time between 21:18 and 21;29. What's causing it?

Sat, 06 Feb 2016 22:16:00 UTC

TV computer issues

Posted By Greg Lehey

Checking on yesterday's TV recording, discovered that cvr2, the recording machine, was down. It seems that it just hung some time after 21:00. And it seems that Linux machines are particularly laconic when it comes to logging. Why did it die? No idea. It came back up again with no difficulties. Hopefully a one-off occurrence. As if that wasn't enough, had more trouble with tiwi. X came up in 1024×768 mode again. Why? An examination of the Xorg.0.log file was interesting: it didn't find any EDID data at all.

Sat, 06 Feb 2016 02:21:19 UTC

Intel graphics: not the solution

Posted By Greg Lehey

Left tiwi running overnight, mainly by accident. And today the display of a firefox browser was corrupted, apparently a font issue that I couldn't fix by changing tabs back and forth. Somehow the on-chip graphics just aren't up to an HD display. Maybe I should put the disk back in the old teevee machine until I can sort things out. ACM only downloads articles once.

Sat, 06 Feb 2016 02:21:09 UTC

Configuring aspell

Posted By Greg Lehey

Since a recent upgrade to Emacs my spell corrector hasn't been working, claiming that no dictionary was selected. If I tried to select one (ispell-change-directory), it claimed that the selected dictionary (british) didn't exist. Googling didn't help: this otherwise helpful article told me to do exactly what I was doing. Exceptionally, the normal documentation didn't go into intimate details of installation. Why couldn't I select a dictionary? Finally I tried pkg: === grog@eureka (/dev/pts/27) ~ 165 -> pkg info | grep spell aspell-              Spelling checker with better suggestion logic than ispell de-aspell-20030222.1_1         Aspell German dictionary hunspell-1.3.3                 Improved spell-checker for Hungarian and other languages ispell-3.3.02_5                An interactive spelling checker for multiple languages ...

Thu, 04 Feb 2016 22:27:27 UTC

tiwi: done!

Posted By Greg Lehey

More work on tiwi today. Yesterday it was mainly working, but I had to check audio, ensure that it boots up cleanly, and move it to the lounge room. And clearly I needed to move the videos on teevee across to tiwi. Nothing very complicated, but lots of non-obvious details. Syncing the videos was the most time-consuming. I had already done so last month, but since then new videos have arrived, of course. I used rsync last time, but didn't mention it in my diary. That's a mistake: every time I use rsync for something like this, I have a couple of false starts while I sort out options and whether path names should end in a /.

Wed, 03 Feb 2016 23:27:34 UTC

mplayer: Finally!

Posted By Greg Lehey

I finished yesterday with the recognition that my issues with mplayer were related either to specific hardware or specific software. Which? Today I started by putting the disk from stable into the new tiwi machine and trying in that configuration. It worked. So it's not the hardware. Which software? I guessed something in /usr/local. The base systems are the same, so after replacing the original disks in their machines, I copied the entire /usr hierarchy from stable to tiwi (as /spool/usr), then rebooted and symlinked /spool/usr to /usr. And sure enough, that worked too. So all I needed was to put the hierarchy in the correct place and I was done.

Wed, 03 Feb 2016 00:33:40 UTC

More fun with telemarketeers

Posted By Greg Lehey

Eighteen months ago I described a trick to upset telemarketeers. What I've heard since then is that it had an immediate reaction from telemarketeer management. The drones have been instructed to never, never change the configuration of their phones on instruction over the phone. Today I heard of another hack: a robot that recognizes spam calls and automatically handles them. This story in particular amused me. How do you recognize spam calls in advance? The caller ID may give some clue, as the link describes. That's applicable to the USA, but here we get different things. Today I got a call from 0380801590, which, however, appears to be a valid number.

Tue, 02 Feb 2016 23:18:15 UTC

Fixing video issues

Posted By Greg Lehey

By the end of yesterday I had at least three remaining issues with tiwi: display resolution, lack of video with mplayer, and lack of lirc support. Spent today addressing them. The resolution issue was straightforward enough, just a mode line in the xorg.conf file. But the lack of display kept me going all day. First question: is this a problem with mplayer or X? That's easy to check: display the output of a known good mplayer on tiwi:0, and display the output of my new mplayer, running on tiwi, on a display on eureka. But the first part didn't work. The X server wasn't listening on TCP port x11.

Mon, 01 Feb 2016 22:59:24 UTC

Finishing the mplayer mods

Posted By Greg Lehey

I've been procrastinating in applying my patches to mplayer, but it's gradually time to do something. And once I had found what looked like the most recent patches, actually applying them wasn't that bad. And it worked! About the only modification I needed to make was to remove a rather unsuccessful attempt to measure time in files captured from an MPEG Transport Stream: /*  * grog, 2008/10/16 07:15:42  * Calculate the elapsed time for a file.  We need this if we have  * copied transport streams with nonsensical elapsed time values.  */ double demuxer_calc_elapsed_time (demuxer_t *demuxer) {   double get_time_ans;   sh_video_t *sh_video = demuxer->video->sh;   sh_audio_t *sh_audio = demuxer->audio->sh;   if (sh_video && sh_video->i_bps)     get_time_ans = (double) (demuxer->filepos - demuxer->movi_start) / sh_video->i_bps;   else if (sh_audio && sh_audio->i_bps)     get_time_ans = (double) (demuxer->filepos - demuxer->movi_start) / sh_audio->i_bps;   else     get_time_ans=0;   return get_time_ans; } ...

Mon, 01 Feb 2016 22:37:10 UTC

Online concert bookings

Posted By Greg Lehey

So we've decided to go to the Kammerphilarmonie Köln concert on Friday. How do we get tickets? There are plenty of sites that sell them at different prices, or I can call up Her Majesty's Theatre and book them over the phone. The price is the same as on their web site. My prejudices against broken web sites suggest that the phone is the better choice. But that's chickening out, so I braved the web site. My prejudices were confirmed. I had to register with the site with full address, email and password, and it didn't want to acccept my address: If these sites insist on checking the address, they should at least have the most up-to-date list of addresses.

Sun, 31 Jan 2016 22:31:18 UTC

Upgrading ports: the pitfalls

Posted By Greg Lehey

The new pkg system for FreeBSD is finally usable, and I've been upgrading my ports like that for some time. But there are still issues: it installs pre-built packages, so it can't respect individual options. After upgrading eureka recently I've had a number of issues. First, my xterms have grown icons again. It's been less than two months since I found out how to hack the source to get rid of them, but the update put them back. Next, mutt developed black spots. That's a bug feature of mutt when compiled the default way using ncurses: it's obviously intended to display in reverse video (white on black), and some of the arrows have a black background no matter what the correct background colour is.

Sun, 31 Jan 2016 00:09:29 UTC

Firefox: new record?

Posted By Greg Lehey

I've already commented on the extreme power hunger of firefox. At the time I considered my machine to be about 60 times the speed of a CDC 7600 supercomputer from the 1970s. Since then I have replaced my machine with one 4 times as fast, so when I look at this I'm looking at the equivalent of 250,000 odd minutes of CDC 7600 CPU time.   PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND 12236 grog           76  22    0 20950M  1949M uwait   1  18.2H  19.24% firefox That's about 6 months, probably longer than any 7600 ever stayed upthe average uptime was less than a day.

Sat, 30 Jan 2016 23:54:45 UTC

More VirtualBox issues

Posted By Greg Lehey

Why does Virtualbox kill my network? My previous assumption was that it was interfering with DHCP, but today I ran traceroute and confirmed that the external network link was still runningonly the traffic wasn't getting through. Firewall? Somehow, yes. If I allowed all traffic across the link, the problem didn't occur, though others did, since the firewall rules also handle NAT. Spent quite some time trying to get my head around it, without success. In particular, the exact sequence was not repeatable. Sometimes I just needed to stop the virtual machine to get normal connectivity back. In other cases it didn't happen until I stopped the VirtualBox process, and in others it didn't happen until some time later.

Fri, 29 Jan 2016 23:25:00 UTC

Panoramas over the years

Posted By Greg Lehey

Yesterday I committed enblend version 4.1.3. And almost immediately got an automated response telling me that 4.1.4 was available. Coincidence? No. I had made the changes to the port months ago, and was overtaken by other things. In the meantime 4.1.4 was released, some months ago. Reading the release notes shows that this change was significant in a number of ways. The notes go back all the way to 2004 in reverse chronological sequence, and they got me thinking. How much better is enblend now than when I started using it? That proved to be 7½ years ago, and the results I got at the time really didn't look good: A bit of playing around with my current system looks a lot better: ...

Fri, 29 Jan 2016 00:04:50 UTC

Local modifications to ports

Posted By Greg Lehey

I've been hacking on mplayer for over 10 years now, and I'm currently having fun merging the patches to the current version. Last month I made a start, but soon ran into trouble. Made more progress today: it compiled and ran, but my changes didn't work. More searching, and I discovered I had a multitude of versions there, including at least one complete set of patches. For the one file cfg-mplayer.h I had 14 copies and 9 RCS control files. Which is the correct one? They're dated from 3 July 2005 to 22 August 2011. The best guess would be the last, but I'm still not convinced.

Thu, 28 Jan 2016 23:54:15 UTC

VirtualBox progress

Posted By Greg Lehey

More playing around with VirtualBox today. Downloaded and installed a FreeBSD image, which worked out of the box. With that I was able to confirm that host-only networking works, but of course it requires its own network. And bridged mode networking does work after all; presumably my previous issues were due to the lack of the vboxnet0 interface on the host. So I was able to fire up echuca (the Ubuntu box) and install the virtualbox-guest-dkms package. Rebooted as instructed, tried to change the resolution and... nothing. No change. Where do I go from here? I have other irons in the fire, so I tended to them.

Wed, 27 Jan 2016 22:20:16 UTC

VirtualBox revisited

Posted By Greg Lehey

I'm having difficulties with Hugin 2016.0.0 Beta 1 on FreeBSD. Who's to blame? My port, or Hugin? To find out I need to fire up a Linux version, but I don't have a spare machine. Time to reinstate my VirtualBox installation, which I haven't used for two years, since installing a new kernel on the new eureka. How do you do that again? Found lots of old diary entries, of course, but they're more a blow-by-blow description. Time for a HOWTO. Started up as root, probably a bad idea. And it didn't find my old VMs. How did that go again? Climbed through the menus and found the VM path: /root/Virtualbox VMs.

Tue, 26 Jan 2016 23:03:20 UTC

Hugin 2016 beta

Posted By Greg Lehey

More work on the new Hugin beta today. First I had to fix the current port, for which a bug report is outstanding. And before I did that, I had to unbreak the enblend port. Surprisingly, all went very smoothly. After fixing the conflicts, both enblend and Hugin Just Ran. On to look at the beta version. First, where's the tarball? According to the announcement: It can be downloaded at sourceforge: OK, how does that compare with the old one? Not much similarity. After a number of failed attempts, discovered that this URL was only for downloading via a web browser, and that the real URL was the /download component.

Sun, 24 Jan 2016 23:47:15 UTC

Getting lircd running

Posted By Greg Lehey

Back to setting up lirc today. I've already established that the location of the configuration files has changed. Put the correct file in there, started lircd, and... nothing. The daemon didn't even complain when I disconnected the (USB) receiver. It did read the configuration file, though, so it must have been something else. Looking on teevee, discovered that I started the daemon manually with undocumented parameters: /usr/local/sbin/lircd -n --driver=dvico --device=/dev/uhid0 That (finally) worked. OK, the --driver and --device parameters are there, but not dvico, nor any other driver name.

Sun, 24 Jan 2016 23:26:09 UTC

Google Translate: better than dissociated-press

Posted By Greg Lehey

There's a game for Emacs called dissociated-press. It takes a text region and rearranges the words. It's marginally amusing, but it wears off quickly. But the idea of putting the text through the same mill over and over is interesting, so I tried the same technique with Google Translate, using the diary entry I ranted about on Friday, translating back and forth until I got equilibrium: But then there is the text itself: Finally, the package that was sent from Perth in the past week in dignity came Napoleon.

Sun, 24 Jan 2016 23:18:12 UTC

Updating the Hugin port

Posted By Greg Lehey

Hugin 2016.0.0 beta has been released (what does the second .0 mean? I've never seen any other value). Time to start adapting the FreeBSD port. First run make clean on the old port. But it failed while cleaning the enblend dependency. It seems I had a conflict in the Makefile. How did that happen? I maintain enblend too, and I can't recall breaking it. Further investigation showed that the MAINTAINER line in the Makefile, once sacred, is now meaningless. Since I last made any changes, there have been no fewer than 21 commits by other people, many of them sweeping through multiple ports, and none of whom informed me.

Sat, 23 Jan 2016 01:39:07 UTC

Google Translate improvements

Posted By Greg Lehey

I have a link Translate this page at the head of all my diaries. By default it translates into French for people I know who find even Google Translate's results useful. But today I tried it in German.. The results are amazing! This is a calendar, but Mar has been translated as Beschädigen (damage), and May has been translated as Kann (can). It's barely possible to understand the lack of context that could lead to this kind of translation. But this one boggles belief: Donnerstag, 21.

Fri, 22 Jan 2016 00:26:36 UTC

HDR Projects 4 Pro

Posted By Greg Lehey

Special offer in the mail today: HDR Projects 4 Pro for a price that I can't refuse. Or can I? I do a lot of HDR processing with align_image_stack and enfuse. It has the advantage that it's fast, and that everything is done automatically. It has the disadvantage that everything is done automatically. HDR Projects is a Microsoft space program, of course, but it offers some interesting features, as this video shows: There's also a German version here, made with a less grating voice.

Wed, 20 Jan 2016 23:53:57 UTC

Retiring old PRs

Posted By Greg Lehey

The FreeBSD problem reporting system has been around forever. Some years back we moved from GNATS to bugzilla, but we've ensured that all old reports are kept for posterity (or just for resolution). One of the latter was one I entered 10 years ago. The FreeBSD web site had become modern and rendered terribly. Things have improved since then, so it was time to put this PR to bed. ACM only downloads articles once.

Wed, 20 Jan 2016 23:41:15 UTC

tiwi setup: lircd

Posted By Greg Lehey

Instead, took a look at lircd. That had started last time round and shown no reaction to the remote control. Back to look at what I did last time round, which was inconclusive. But clearly I needed the files /etc/lircd.conf and /etc/lircrc, so copied them from teevee. Start again. No error indication, no function. It didn't even notice when I disconnected the (USB) receiver. And when I restarted lircd, it didn't access /etc/lircd.conf. OK, RTFM time: FILES        The config file for lircd is located in /etc/lirc/lircd.conf. Isn't that nice, moving the files elsewhere?

Wed, 20 Jan 2016 23:22:32 UTC

tiwi setup: MythWeb

Posted By Greg Lehey

Spent some time trying to configure MythWeb today. First that required getting Apache24 up and running. These version numbers in file names are getting more and more on my nerves. The only real change I needed to make to the configuration file was: -DocumentRoot "/usr/local/www/apache24/data" -<Directory "/usr/local/www/apache24/data"> +DocumentRoot "/usr/local/www/data" +<Directory "/usr/local/www/data"> Then looking at /usr/local/www/mythweb/INSTALL: =========== 3.0 Experts =========== If you are not an expert, please skip to section 4.0.  Experts, the following commands should be enough for you to figure out what's going on:     cp -r mythweb/* /var/www/html/ Clearly the port has forgotten to change the path name, which appears to be a Linuxism.

Tue, 19 Jan 2016 22:47:42 UTC

More tiwi installation?

Posted By Greg Lehey

My work on installing MythTV on tiwi has stalled waiting for a tuner. What can I do in the meantime? At least MythWeb, which is one of the best arguments in favour of MythTV. It's been nearly 9 years since I first installed it, and of course things have changed. Do I have copies on eureka? === grog@eureka (/dev/pts/9) ~ 213 -> locate -i /mythweb|less /home/OLD-STUFF/ports/www/mythweb /home/OLD-STUFF/ports/www/mythweb/CVS ... /home/src/CVS/FreeBSD/ncvs/ports/www/mythweb /home/src/CVS/FreeBSD/ncvs/ports/www/mythweb/Attic /home/src/CVS/FreeBSD/ncvs/ports/www/mythweb/Attic/Makefile,v That's the old CVS based ports tree, one really old, and the other old, but between the two the port was deleted (put in the attic).

Mon, 18 Jan 2016 00:44:03 UTC

Daily Microsoft pain

Posted By Greg Lehey

Yvonne took 187 photos today, and the processing showed the typical Microsoft slowdown (memory leaks?) . Time for a reboot. And, of course, when the system came back up, she had the dreaded read-only photo file system. More cursing, but the biggest discovery seems to be that the symptoms are non-deterministic. When I tried to select Properties for the file system, it took me to the Control Panel / System page. Only after I disconnected and reconnected the file system did it take me to the correct page, where it still couldn't do anything useful. As if that wasn't enough, the keyboard went haywire.

Sun, 17 Jan 2016 01:06:15 UTC

Investigating vlc

Posted By Greg Lehey

I had too many other things to do today to worry about MythTV, but some time ago I had promised Jürgen Lock that I would try vlc. Did that today. And? It's hard to say. No multimedia software is well documented, and vlc appears to be no exception. But it worked out of the box, something that other stuff doesn't do. The question that I have is whether it can do everything I want. I haven't found a way to save the position in a stream, something that's very important to me. But maybe the save playlist function does just that.

Sat, 16 Jan 2016 22:40:30 UTC

Keyboard evolution

Posted By Greg Lehey

Somehow I'm still not happy with keyboards. For nearly 25 years I used the same Northgate Omnikey keyboard: I've since replaced it with a Sun 7 keyboard, but I'm still having difficulties. How do you position your right hand? Conventional (in other words typewriter age) wisdom is that you place your fingers above the J, K, L and ; keys, and cover the H key with your forefinger. But that leaves a large number of keys to the right. OK, move one space to the key next to ;, whatever that may be, but on the Sun that still leaves two keys unaccounted for, including Return.

Sat, 16 Jan 2016 22:39:44 UTC

dischord pain

Posted By Greg Lehey

So why can't Yvonne write to her CIFS file system from dischord any more? Spent a lot of time investigating today. Clearly the first step is to check what the real permissions are, as this post suggests. But all is well there: === grog@eureka (/dev/pts/9) ~ 89 -> getfacl /Photos # file: /Photos # owner: grog # group: wheel user::rwx group::rwx other::rwx === grog@eureka (/dev/pts/9) ~ 90 -> ls -ld /Photos/ drwxrwxrwx  29 grog  wheel  1,024 16 Jan 09:03 /Photos/ Clearly it has something to do with Yvonneagainso tried connecting with my credentials.

Fri, 15 Jan 2016 23:47:20 UTC

More Microsoft pain

Posted By Greg Lehey

So finally I have my CIFS file systems so that they don't require re-entry of passwords every time I boot dischord. And then Yvonne came to me and said she couldn't process her photos. Further investigation showed that she didn't have write access to the file system. Why not? I still have no idea. Lots of messing around showed that from the FreeBSD/Samba side all was OK, but somehow Microsoft (which reports the remote file system as NTFS) didn't want to know. How I hate Microsoft! ACM only downloads articles once.

Thu, 14 Jan 2016 23:47:07 UTC

More tiwi pain

Posted By Greg Lehey

On with my software installation for tiwi, the new multimedia machine. Yesterday I stopped with not being able to run mythtv-setup. Tried it today. It didn't fail: it told me that it couldn't access the database that I created yesterday. Further investigation showed that the port had removed MySQL client and server version 5.5, but I didn't notice that it only installed the client for 5.6. On the other hand, it didn't stop mysqld_safe, so I was able to create the database. After this morning's outage, of course, it was no longer present. That's particularly strange when you look into /usr/ports/multimedia/mythtv/Makefile and read: MYSQL_RUN_DEPENDS= mysqld_safe:${PORTSDIR}/databases/mysql${MYSQL_VER}-server But that's another day's head-scratching.

Thu, 14 Jan 2016 23:32:23 UTC

Power failure recovery

Posted By Greg Lehey

Rebooting eureka had some strange side effects. Yvonne came in in the afternoon telling me that she could no longer access the network. She meant firefox, of course, and sure enough, it hung trying to access the home page, and then claimed that it couldn't access I recognize that address: it used to be the address of my external interface to the world while at Kleins Road. What's looking for that? Tried other browsers. Worked. Works from my machine. External sites were accessible from Yvonne's firefox. Wrong proxy settings?, port 8080. cache is a CNAME for eureka, so that's not an issue, and anyway, it only affected the home page.

Thu, 14 Jan 2016 23:32:20 UTC

Power failure recovery

Posted By Greg Lehey

Rebooting eureka had some strange side effects. Yvonne came in in the afternoon telling me that she could no longer access the network. She meant firefox, of course, and sure enough, it hung trying to access the home page, and then claimed that it couldn't access I recognize that address: it used to be the address of my external interface to the world while at Kleins Road. What's looking for that? Tried other browsers. Worked. Works from my machine. External sites were accessible from Yvonne's firefox. Wrong proxy settings?, port 8080. cache is a CNAME for eureka, so that's not an issue, and anyway, it only affected the home page.

Wed, 13 Jan 2016 22:55:05 UTC

Hello tiwi

Posted By Greg Lehey

The new disk has arrived, so started on what I fear will be a slow, painful path to replacing teevee (FreeBSD display machine) and cvr2 (Linux recording machine) with a single machine that I've decided to call tiwi (pronounced as German). Every time I've tried something like this in the past, it has been really painful: On 18 September 2004 I made my first attempts, still with analogue tuners. This was the first teevee. It took me until 4 June 2005 to get the tuner working, using xawtv running on FreeBSD.

Wed, 13 Jan 2016 00:46:14 UTC

Fixing Ashampoo

Posted By Greg Lehey

I've had a lot of issues with Ashampoo® Photo Optimizer 6, and I've complained rather vehemently about the lack of support. But in the last week that has changed. It's still not clear what the problem was, but messing around with administrator privilege drove it into hiding. But there's still more, and now I have a total of four different tickets. I'm also getting mail from the same person about the same issue (I think) both in English and German. How do I sort that mess out? ACM only downloads articles once.

Tue, 12 Jan 2016 00:02:39 UTC

Spider: found

Posted By Greg Lehey

I suspected that the Huntsman I found a few days ago was on his last legs (though they were all still there). Today I found what might be his remains: I hope his demise is not a comment on the reading material. ACM only downloads articles once.

Mon, 11 Jan 2016 23:50:24 UTC

Olympus focus stacking

Posted By Greg Lehey

I've had the firmware release 4 for my Olympus OM-D E-M1 for over a month now, and with one exception I haven't tried out the focus stacking feature. Since I'm considering buying the only macro lens that supports it properly, it's high time to investigate. The stacking is somewhat primitive, and of course the documentation is almost non-existent. There are two options. In each case you take multiple images, starting at the closest position, and changing focus by a specific increment for each subsequent image. The images are taken with the new electronic shutter feature, which (undocumented) has a total exposure time of 1/13 s, like a very slow focal plane shutter.

Mon, 11 Jan 2016 23:19:42 UTC

Olympus Viewer 3 revisited

Posted By Greg Lehey

I've tried Olympus Viewer several times over the years, and I've never found it to be much use. About the only use I can find is to correct for distortion for lenses that DxO Optics Pro doesn't support. Over two years ago I used it to correct the distortion of the Olympus Zuiko Digital 18-180mm f/3.5-6.3 that I had at the time. It took me another 6 weeks to find out how to save 16 bit TIFF. It offered the choice of EXIF TIFF (8 bit only) or TIFF (8 or 16 bit, with choice of EXIF data if you want it).

Mon, 11 Jan 2016 22:20:20 UTC

Zoner Photo Stud...

Posted By Greg Lehey

Spent most of the day playing around with photographic software and techniques. It's tiring. First up was a free copy of what may be called Zoner Photo Studio 17, but the windows can't be bothered to say so, and it's too much of a mouthful for Microsoft, which calls it Zoner Photo Stud.... It's the previous release, thus presumably the fact that I didn't have to pay for it. What can it do? It's hard to say, since it doesn't say. Firing it up brings up a series of windows that remind me considerably of DxO Optics Pro, and they're relatively intuitive to navigate.

Sun, 10 Jan 2016 22:03:02 UTC

Old computers for sale

Posted By Greg Lehey

Andy Farkas is having trouble with an old MSCP disk in his VAXstation. Well, I can't help there, and if the disk is really toast, it could be difficult to replace. But I do have a MicroVAX II, and it has two disks: Not that I want to use it, but it seems a shame to scrap it. So Andy will take it, he says. He lives near Bundaberg, only 2000 odd km away.

Sun, 10 Jan 2016 02:04:17 UTC

Ashampoo: Fixed!

Posted By Greg Lehey

Another message from Ashampoo support today: maybe a problem with access right's - If you do a right mouse click on the programs icon > Run as Administrator, does it work that way? Interesting idea. Both the users for which it worked had administrator privileges. OK, let's first give Yvonne administrator privileges and see what happens. Crash. But only once, and after that it worked. I've seen that before, too. So what was the issue? Buggy software, of course. You don't crash on a permissions issue, you report the problem. And why should she need admin privileges anyway?

Sun, 10 Jan 2016 00:36:49 UTC

GPS navigator evolution

Posted By Greg Lehey

Over the years I've done a lot of ranting about the quality of GPS navigators. But today I saw one that put things in perspective. It's built in to Melinda's Toyota Land Cruiser, and it is appallingly bad. The car isn't that old, but it makes it clear how quickly navigators age. Probably the biggest pain is that it has an ABC keyboard. Given that everybody uses computers nowadays, this was a poor choice. And though I complain about the user interface of modern navigation software, I've got to admit that, up to a point, it has improved. It took us 15 minutes to input the route back home.

Sat, 09 Jan 2016 01:00:29 UTC

Debugging, Microsoft style

Posted By Greg Lehey

Finally I have a response from Ashampoo support about the crashes in Ashampoo® Photo Optimizer 6. Edit the registry: [HKEY_CURRENT_USER\SOFTWARE\Ashampoo\Ashampoo Photo Optimizer] Why should that help? I had already established that the registry had been cleaned a couple of weeks ago, and I had reported that to Ashampoo. Took another look. Yes, after reinstallation the entries had been added, and there were a number, including the one that this patch was supposed to install: Applied the patch anyway, and of course it made no difference.

Thu, 07 Jan 2016 23:37:22 UTC

No change?

Posted By Greg Lehey

A while back I was asked to sign a petition about the National Broadband Network on To do so I had to sign up, but since then I've been bombarded with requests to sign up for all sorts of hair-brained schemes. Time to unsubscribe. But how? There are no links. After much searching I found an explanation. With a link? Of course not, just an explanation of where to go. Went there, and it didn't look anything like the description. I got the distinct impression that they didn't want me to unsubscribe. OK, if that's the way they want it, I have a simpler option.

Wed, 06 Jan 2016 22:29:16 UTC

More graphics investigation

Posted By Greg Lehey

Why is X support for Intel graphics chips so bad? Why, is X support for Intel graphics chips so bad? I recall it being so in the past, and my current experience (nothing over 1024×768) is in accordance, but the same chips work well under Microsoft. Went looking in /var/log/Xorg.0.log and found no mention of the monitor That rang a bell: this monitor is on the el-cheapo USB KVM that I bought a couple of months ago. I had already established that it doesn't communicate EDID information. But for exactly that reason I have a copy of the EDID on file, and that's what I use for eureka, which also accesses the monitor by the KVM.

Tue, 05 Jan 2016 23:30:11 UTC

Display cards for new teevee

Posted By Greg Lehey

Gradually I'm getting the pieces together for the new teevee. I have the box, and disk and tuners are on the way. But the on-board graphics chip is from Intel, and for some reason X can't drive it with the required 1920×1080 resolution. And even if it could, there's no suitable acceleration. I had expected this, and I've been planning to install a cheap nVidia card. But choosing graphics cards is a pain, and I've been dragging my feet. Finally today I got round to looking for one. What criteria? The only one I really had was that there should be no fan.

Sun, 03 Jan 2016 23:49:40 UTC

Working around Ashampoo breakage

Posted By Greg Lehey

It's been nearly 2 weeks since I reported problems with Ashampoo® Photo Optimizer 6, and so far I've had no response. To be fair, it is over the Christmas break, but I need to run it for Yvonne. I've established that it somehow depends on the user, so one option would be to delete user yvonne and start all over again. Another would be to get her to run it as a different user. That's easy enough to kludge: --- photoopt 2015/11/20 02:17:12 1.29 +++ photoopt 2016/01/03 21:48:41 @@ -19,6 +19,9 @@  if [ "$OPTDIR" = "" ]; then    OPTDIR=/Photos/Ashampoo-`whoami`  fi +if [ `whoami` = "yvonne" ]; then +  rdesktop -u root -p Braindeath -a 16 -T "rdesktop dischord" -g 1870x1030+0 dischord & +fi  OLDDIR=`pwd`           # current (source) directory Why not just delete ...

Sun, 03 Jan 2016 23:20:53 UTC

Codes of conduct

Posted By Greg Lehey

It's no secret that I don't like the concept of a code of conduct. With the current noise about Randi Harper leaving the project, there are renewed calls to do something about the state of the FreeBSD Code of Conduct, which is perceived as being out of date. This clearly implies that good behaviour evolves. Maybe it does to a certain point, but that just makes it all the more silly to enshrine it in a document. Summarizing (originally on IRC), I see two reasons that speak against a code of conduct: They're mechanical.

Sat, 02 Jan 2016 01:25:53 UTC

Preparing for teeveeNG

Posted By Greg Lehey

I've been planning to replace both teevee (TV display machine) and cvr2 (recording machine, running MythTV on Linux) with a single machine running FreeBSD. I have the machine, a new disk is on the way. Now I need a tuner. What's wrong with the old ones? Not supported, and they're full-height PCI. But nowadays USB tuners are a dime a dozen. Well, maybe not quite, but they're cheap. The question is, will they work with FreeBSD? One of them suggests that it will: 13. Support all systems(up to WIN8.1) except MAC, LINUX The most important thing is the tuner chipset, and many people don't bother to specify that.

Sat, 02 Jan 2016 01:04:17 UTC

Suspend and resume with FreeBSD

Posted By Greg Lehey

Somehow it grates that I can suspend the state of my Microsoft boxes to RAM and then wake them up with a magic package over the net, but I can't do that with my FreeBSD boxen. It used to work, in the Good Old Days before ACPIon many occasions I was able suspend my laptop, fly intercontinentally and resume. On a couple of occasions the joy was lessened by the discovery that I had a file system at the other end of the world mounted via NFS. But with the advent of ACPI, I couldn't get it to work any more.

Sat, 02 Jan 2016 00:17:09 UTC

FreeBSD core team problems

Posted By Greg Lehey

I really don't like Facebook, but from time to time people refer to me, and then I get an informative mail message with a link. This seems to be the only way to I know get a reference to a Facebook post. In this case, Josh Paetzel referred to something that I apparently said to him decades ago: Greg Lehey told me two decades ago I was a part of the "second generation of BSD users" who wanted to get things done with BSD, not hack on BSD. Documentation was written for the latter group.

Sat, 02 Jan 2016 00:15:03 UTC

Perspective conversion with Hugin

Posted By Greg Lehey

I take a lot of photos with my fisheye lens, mainly for stitching with Hugin. As discussed yesterday, the results aren't fisheye projections. But how do I convert a projection? Hugin does this easily enough if it's handling a panorama. But the Assistant refuses to stitch if there's only one image. But you don't have to use the Assistant to stitch; the Stitcher doesn't care how many images there are, so you can use the assistant to display the image, manipulate it, and then go to the Stitcher to produce the result. Just pay attention to the size. In this example, the original image has a resolution of 4608×3456, and the converted trans mercator image has only 768×462: ...

Thu, 31 Dec 2015 23:54:52 UTC

Shame on PayPal!

Posted By Greg Lehey

In the past I've complainedwith justificationabout ANZ Bank's non-existent amazingly lax online security practices. But it seems that they're not the only offenders: this story shows that PayPal can do just as well. ANZ wants to know secrets like date of birth and address, while PayPal, being in the USA, wants the last 4 digits of the social security number and a random credit card account. And in either case, you can ring up and say that you have forgotten your password, and they'll reset it for you. What help high-tech protection when it's not the line of least resistance? ACM only downloads articles once.

Tue, 29 Dec 2015 23:37:04 UTC

Security, Microsoft style

Posted By Greg Lehey

After creating the user root on dischord, went to give him a passwword. No, wait, don't do that, says Microsoft: You are creating a password for root. If you do this, root will lose all EFS-encrypted files, personal certificates and stored passwords for web sites or notwork resources. To avoid losing data in the future, ask root to make a password reset floppy disk. Floppy disk! I'm amazed! For reference, this is Microsoft Windows 7 Ultimate (or, as the Germans would say, das Letzte).

Tue, 29 Dec 2015 23:14:06 UTC

Ashampoo, next try

Posted By Greg Lehey

So yesterday Ashampoo's Photo Optimizer 6 and UnInstallu were not able to recover whatever the problem was. But there are other deinstallers around there, including Revo Uninstaller Pro, which I had used, ultimately with a measure of success, last September. Tried again, and how about that, it found a reference deep in the registry: Removed that, and a couple of other odds and ends, but still not the short cut on the task bar. This time, however, it didn't start the program. So far, so good.

Mon, 28 Dec 2015 23:37:20 UTC

Removing Ashampoo

Posted By Greg Lehey

Yvonne has been processing her photos with essentially the same tools as I use. The only exception has been the optimize step, where I work around the limitations of Ashampoo® Photo Optimizer 6 to (generally) improve the images. But my last attempt to set it up for her ended in disaster: the program crashed at start, presumably due to hidden configuration information that weathers a deinstall/reinstall cycle. My support request ended in the usual /dev/null. OK, how about removing it manually? But despite claims by relatively sane software such as Emacs and cygwin, I don't have access to directories like C:\Users\yvonne\AppData\Local\Appliction Data, where I suspect the data.

Sun, 27 Dec 2015 23:31:49 UTC

Origin of the term shell

Posted By Greg Lehey

Warren Toomey recently asked on the mailing list of the Unix Heritage Society: So what is the etymology of the word "shell"? I see that Multics has a shell. What the user interface in CTSS also called a shell? Interesting question. I have sources of a kind of CTSS (they're really listings), so I went looking. Difficult to find anything in unfamiliar (IBM 7090) assembler code, but the answer seemed to be no. And the Oxford English Dictionary states that it came from Multics.

Sat, 26 Dec 2015 04:48:40 UTC

Dumb search engines

Posted By Greg Lehey

Since moving to Stones Road, I haven't unpacked my CDs. When I do, I intend to copy them to disk so that I can access things more easily. But first I need to find a way to organize them. But today I wanted to play Bach's Christmas Oratorio. Simple: get it from the Naxos music library (free via the State Library of Victoria). So I typed in Bach Christmas Oratorio. The helpful engine: did you mean Beach Christmas Oratorio?. Surely these things can be tuned to be more context-sensitive. ACM only downloads articles once.

Fri, 25 Dec 2015 23:49:33 UTC

Firefox hang

Posted By Greg Lehey

Yvonne called me in to her office today to tell me that she couldn't start firefox: it claimed still to be running. We've seen that many times in the past, but not for a while. But sure enough, a process was still there, and kill -9 wouldn't get rid of it. ps -l showed it to be in T (stopped) state. What happened there? Puzzled a bit and, since Yvonne wasn't there, went off to do something else. Some time later I got the nightly cleanup mail from lagoon, Yvonne's computerabout 15 hours late. And then it twigged: yesterday I had mounted two teevee file systems on lagoon, and I had forgotten to umount them when I shut down teevee.

Wed, 23 Dec 2015 23:58:01 UTC

What does cron mean?

Posted By Greg Lehey

Everybody knows cron, of course, unless they're using Linux, when they might spell it anachron. But what does it mean? I had always assumed that it was related to the Ancient Greek word ÇÁ̽¿Â (chronos), but it seems that people have at various times expanded it to be an abbreviation of Command Run On Notice or Commands Run Over Night, both of which suggest that the authors have no idea of Ancient Greek. Both of these claims have found their way into Wikipedia. Doug McIlroy agreed, checked with Ken Thompson via Brian Kernighan, and updated the page. But it was private communication, so he didn't have a published reference, and the change was backed out within 11 minutes.

Wed, 23 Dec 2015 22:57:41 UTC

Upgrading mpayer

Posted By Greg Lehey

Nearly 9 years ago I hacked mplayer to do a number of things I wanted: better on-screen display, display times for Program Streams better, and save position on exit. And I've been using that version ever since. mplayer has evolved, of course, and now it's time to apply the changes. I kept the changes under RCS at the time, but I seem to have made a real mess of the matter. In particular, the base release doesn't seem to be related to the version that I patched. In addition, the original main file mplayer.c has spawned a number of header files, including (relevant to me) mp_osd.h and mp_core.h.

Wed, 23 Dec 2015 22:48:50 UTC

Ping times revisited

Posted By Greg Lehey

Why did I get such unreliable ping times the other day, even though I'm not experiencing other network problems? Clearly something to investigate further. Tried it with mtr and discovered: Worst case time 2.855 s! And best was 43 ms to the final destination. It would be nice to blame it on I'm too lame for reverse DNS, but even my own National Broadband Network link showed a worst time of 428 ms, and it had a higher average time than any of the intermediate hops.

Tue, 22 Dec 2015 23:23:36 UTC

A shampoo for Yvonne

Posted By Greg Lehey

Yvonne processes her photos basically the same way that I do. One exception is optimization with Ashampoo® Photo Optimizer 6, and it shows. So today I showed her how to use it. Not a complete success: the subsequent comparison scripts couldn't find any evidence of the old images. That's because they were stored on local disk, where the script couldn't find them. You can fix that. Well, I fixed it for myself in the past. When I tried today, this horrible interface wouldn't accept the location. In the end it crashed. But then, what do you expect from a Microsoft-space product?

Tue, 22 Dec 2015 02:11:32 UTC

Network ping times

Posted By Greg Lehey

For reasons I didn't really understand, some people on IRC today were comparing ping times to Google's name server, IPv4 address OK, I can do that too: === grog@eureka (/dev/pts/14) ~ 28 -> ping -c20 ... round-trip min/avg/max/stddev = 38.503/51.678/62.721/5.839 ms That's reasonable. But they wanted it with full-size (1400 octet) packets. That looked very different: round-trip min/avg/max/stddev = 40.133/185.440/437.621/117.997 ms round-trip min/avg/max/stddev = 35.029/161.284/402.501/127.614 ms Why is that so slow?

Tue, 22 Dec 2015 02:11:21 UTC

Understanding processors

Posted By Greg Lehey

Over the past year or so I've noted that teevee, our (still) current TV display computer, and the old lagoon (Yvonne's computer) both had the same processor, a slower-than-molasses AMD Sempron 145 with a CPUmark of 800. Saw a request on Freecycle yesterday: somebody looking for an ATX power supply, with or without case. OK, I have old, mouldy but functional stuff lying around, so why not give him a complete computer? The person in question was Chris (surname still unknown), who was here earlier in the year. Checked and found that it was the old laogon. Fired it up mainly to check how much memory was in it (only 1 GB).

Tue, 22 Dec 2015 01:30:35 UTC

More Android pain

Posted By Greg Lehey

Time for our yearly Christmas letter, which kept me busy much of the day. Part of it, of course, is getting a photo with as many animals as possible. And that requires remote control. Once upon a time that was easy: my first two Olympus cameras had an infrared remote control (well, I had to buy the control, but they understood it). That was small and unobtrusive enough that I could use it and it was barely visible, like here in the 2012 letter: But then I got the new, modern Olympus OM-D E-M1, and clearly infrared is too old-fashioned for that.

Mon, 21 Dec 2015 07:21:51 UTC

Activate your Windows

Posted By Greg Lehey

Also on Thursday I was surprised when the disk from dischord (containing Microsoft Windows 7 Ultimate) cleanly migrated to a new machine. No comments or anything. But today I got a message: You must register your Windows today. OK, how do you do that? It seems that any time you have a question about Microsoft, you ask Google. The results contain a surprising amount of superstition and guesswork, but if you can weather that, it's generally easier than Microsoft's help. Of course, it only works if you really need to do it. If I recall correctly, it's Control Panel / Action Centre to find the message, then click on Activate online (or some such), and it's done!

Mon, 21 Dec 2015 06:28:56 UTC

Checking the teleconverter

Posted By Greg Lehey

Somehow I'm not convinced by the new EC-20 2× teleconverter. The photos taken with it don't give the impression of exceptional sharpness. One reason might be DxO Optics Pro: it happily converts photos taken with it and the Zuiko Digital ED 70-300mm F4.0-5.6as long as the total focal length is not greater than 300 mm. Beyond that, it claims not to have any suitable correction modules. That suggests that the software may be ignoring the teleconverter and not converting optimally as a result. But first I need a way of comparing things. The tele lens isn't that long, but the combination is long enough that I really need a (missing) tripod mount for the lens.

Fri, 18 Dec 2015 23:33:48 UTC

Yet another power failure!

Posted By Greg Lehey

Woke up at 5:15 this morning and looked at the clock. Nothing. Another bloody power failure! Damn Powercor! Then I looked at the door. Air conditioner was on, showing this irritating blue LED. No power failure. Into the garage. Yes, the RCD had tripped for no apparent reason. Damn Jim! The circuitry that's supposed to ensure that we don't have any interruptions has interrupted us again. Recovering wasn't overly difficult. I need to set eureka's BIOS so that it powers on immediately when power is restored; as it was, it waited for me to get up. Getting eureka up and running after a power failure is always a tricky business.

Fri, 18 Dec 2015 00:08:27 UTC

Hello damnation

Posted By Greg Lehey

To Napoleons to pick up my new computer, a ThinkCentre with an Intel Core i5-2400 CPU and Microsoft Windows 10. This was my first exposure to Windows 10, and it wasn't pleasant. I'm left with the feeling that they've gone and moved the paradigms even further from what makes sense, and replaced the familiar user interface with an unfamiliar one, at least skin deep. Underneath, if you know how to find them, things seem to be much the same, though they've gone and rearranged some things so that you can't find them any more. The paper clip is back: I'm Cortana.

Wed, 16 Dec 2015 02:30:32 UTC

Preparing for multimedia upgrade

Posted By Greg Lehey

I've bought Yet Another Microsoft box, also a used Lenovo ThinkCentre. It has an Intel Core i5-2400 CPU, running at 3.1 GHz, and currently rated with a CPU Mark of 5827, more than half the speed of eureka. Now I have: Machine       Processor       Clock       CPUmark eureka       Intel Core i7-4771       3.50 GHz ...

Wed, 16 Dec 2015 01:44:53 UTC

Another net outage!

Posted By Greg Lehey

Since changing all the hardware for my National Broadband Network service, I haven't had a further outageuntil today. But to make up for it, it was nearly 1½ hours: Start time End time  Duration   Badness        from                    to                      (seconds) 1450098184 1450103337   5153  0.006 # 15 December 2015 00:03:04 15 December 2015 01:28:57 That's not the symptom of the outages I have been having, which are typically in the order of 60 seconds.

Wed, 16 Dec 2015 01:18:08 UTC

More sprinkler fun

Posted By Greg Lehey

One of the things that I hadn't expected was that I would be woken at 4:00 every morning when the sprinklers outside my bedroom window start. Still, that's not a big deal, and I should get used to it. But this morning I was woken again at 5:30 when they started again! Why? My guess is a software bug. The device has two programmes, each of which is launched at a certain time of the day. Or are they? Each sprinkler has an entry in each programme, but I have to specify the start times individually, which seems to be a funny way to do it.

Mon, 14 Dec 2015 00:25:47 UTC

RIP Jürgen Lock

Posted By Greg Lehey

One of the more frequent visitors to our IRC channel was Jürgen Lock, a FreeBSD committer whom I have known for nearly 20 years. In July he was diagnosed with advanced seminoma and was operated. He popped up on IRC shortly after that, but since 4 August we haven't heard anything more of him. Peter Jeremy asked on an internal FreeBSD list, but didn't get any reply. Jürgen was in many ways a very private person. We have a map of the locations of the participants on IRC, but Jürgen didn't want to have his location known. Instead, we put him on a tour of Germany, and currently he's in the Händel-Haus in Halle an der Saale.

Mon, 14 Dec 2015 00:03:07 UTC

Fixing Salado problems

Posted By Greg Lehey

Spent some time today trying to get SaladoPlayer to work on the new eureka, ultimately without success. The obvious first step was to check if there's a new version. No, I didn't find one. In fact, just about every link I tried failed. There's a page on GitHub with a lot of links, all of them broken. The download page is on, which returns 404 for all pages. Then there are linkes to, which doesn't have any DNS. Spent some time looking for alternatives, but given the pain I went through getting SaladoPlayer to work the way I wanted, I'd rather fix that than change.

Sun, 13 Dec 2015 00:21:22 UTC

Browser redux

Posted By Greg Lehey

Over the last couple of weeks I've run into an amazing number of problems with web browsers. It's all the more amazing when you consider that the web browser has become the central piece of software for most people. Admittedly, I'm much more fussy than the average user, but silly things like text size must get on everybody's nerves. Chromium in particular seems to have regressed. There seems to be only one setting for text size, and it gives me smaller fixed-width than standard fonts, meaning that I can no longer display pages like this diary with usable font sizes. In addition, by default it displays images larger than their original size.

Sun, 13 Dec 2015 00:01:14 UTC

Java pain

Posted By Greg Lehey

For some years I've been using SaladoPlayer, a Java application, to animate panoramas. Lately I haven't had any to do, and today was the first time since I upgraded eureka. It didn't work. How I love these silly programs that produce their output in their own tiny window. In this case, it set off, displayed something, and then shut the window before I could read what it had had to say. How do I recover that? It's a log, but it's not a file. Ran ktrace to catch the output, but of course it was several megabytes, and I didn't know what to look for.

Fri, 11 Dec 2015 23:50:34 UTC

Why ld?

Posted By Greg Lehey

Modern programming toolchains have two main components: a translator (assembler or compiler), which produces object modules, and what is generally called a linker, linkage editor or similar. It joins them together to produce an executable program that can then be loaded into memory, a page at a time when required, by the kernel. But in UNIX, the linkage editor is called ld, which stands for load. How come? People have been discussing that on the Unix Heritage Society mailing list for the last few days. From my understanding, the name comes from historical evolution. In the early days the main tool was the compiler, which ran much faster than modern compilers in terms of processor instructions: it had to in order to complete in an acceptable time.

Wed, 09 Dec 2015 23:28:40 UTC

imake and modern compilers

Posted By Greg Lehey

I still haven't got Keith Packard's kgames working on FreeBSD. It was coming on nicely until I upgraded from release 9 to release 10. And then I got error messages like: === grog@eureka (/dev/pts/33) /home/ports/x11/kgames/kgames-1.0 88 -> xmkmf mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config In file included from Imakefile.c:15: In file included from /usr/local/lib/X11/config/Imake.tmpl:316: /usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty character constant [-Winvalid-pp-token]         for flag in ${MAKEFLAGS} '; do \                               @@\ What went wrong there?

Wed, 09 Dec 2015 23:21:08 UTC

Who finds this diary interesting?

Posted By Greg Lehey

The RSS feed of my diary is syndicated on the ACM queue blog roll. Sometimes I think it doesn't fit there; the diary (and specifically not a blog) is primarily for my own use, but I share. And the topics are sometimes boring enough that I explicitly exclude from from acmqueue. But today I heard from Kirk McKusick, who is on the ACM board. It seems that one of my articles is the all-time most popular posting, with 20,000 views per year. Considering it's nearly 3 years old, that surprises me. ACM only downloads articles once.

Tue, 08 Dec 2015 22:11:07 UTC

More mutt and firefox problems

Posted By Greg Lehey

Somehow my interface between mutt and firefox is still not right. To get it to work at all reliably, I needed to hack the mutt source. And then today, instead of the normal broken HTML display, I got: XML Parsing Error: not well-formed Location: file:///home/grog/mutt-eureka-yTle9kDR Line Number 152, Column 76:                            style="background-color:#eaf2f1; width: 10px;">FFFF</td> </td> ---------------------------------------------------------------------------^ The FFFF was in fact two 0xff bytes, but I can't put them in a web page without triggering the same error again.

Tue, 08 Dec 2015 04:39:32 UTC

NBN site visit

Posted By Greg Lehey

Mick and Jordan from some National Broadband Network contractor company arrived this afternoon for the planned site inspection. They were as puzzled as I had been, but we agreed that it probably helps to do the simple things first. So they replaced the NTD, the power supply and the ODU (outdoor unit, i.e. antenna). In the process I discover that they also refer to the NTD as IDU (indoor unit). Replacing the NTD requires registering the new NTD with Ericsson, presumably the part that actually manages the wireless network. That didn't go as smoothly as planned: they had apparently connected it to the wrong cell (antenna) on the tower, resulting in an error indication of red ODU lamp alternating with orange in the two leftmost signal strength indicators.

Mon, 07 Dec 2015 03:37:31 UTC

CJ's new computer

Posted By Greg Lehey

CJ has a new computer. He bought one last year, but it didn't have a printer. Recently he was given an old Dell machine with printer, and he wanted to know how to connect to the Internet, and how to move his files across. I asked him to bring the computers when he came, and I would see what I could do. So he showed up with only the new computer. It has a Pentium IV processor! And only 1 GB of memory. By contrast, his old computer has 2 GB of memory and a processor faster than mine. Mine (stable) is Intel Core 2 Duo E6550 with a CPUmark specification of (currently) 1501.

Mon, 07 Dec 2015 02:29:13 UTC

Selling lenses again

Posted By Greg Lehey

Christmas is on its way, a potentially good time to sell some of the camera lenses I've collected and then decided against over the past two years: the Olympus M.Zuiko Digital 14-42mm f3.5-5.6 II R that came with Yvonne's Olympus E-PM2, the Olympus BCL-1580 15 mm f/8 Body Cap Lens and the M.Zuiko Digital 17mm F2.8 Pancake: It took nearly 2 hours, first taking the photos, then putting them up on eBay.

Sat, 05 Dec 2015 23:36:05 UTC

Still more mutt pain

Posted By Greg Lehey

More investigation of my mutt issues today, without gaining much more understanding. In the end solved the missing file problem the easy way: --- handler.c~  2015-12-04 14:39:52.352712000 +1100 +++ handler.c   2015-12-05 13:44:48.648690000 +1100 @@ -1419,8 +1419,8 @@      if (piped)        safe_fclose (&fpin); -    else -      mutt_unlink (tempfile); +/*    else +      mutt_unlink (tempfile); XXX */ But I still have the issue that the OED word of the day displays incorrectly. That's mainly their fault: they supply the message only in HTML (don't get me started), and it's invalid: it doesn't specify the character encoding, which in fact is UTF-8.

Fri, 04 Dec 2015 23:48:37 UTC

Debugging mutt

Posted By Greg Lehey

With some messing around I managed to get urlview to work with mutt. But I still can't display HTML attachments correctly: it just shows me the plain HTML text. Couldn't find anything about that in the documentation, so ran some ktraces, which showed that mutt didn't even try to access mime.types or mailcap. Why not? According to the manual: In order to handle various MIME types that Mutt can not handle internally, Mutt parses a series of external configuration files to find an external handler. The default search string for these files is a colon delimited list set to ${HOME}/.mailcap:/usr/local/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap where $HOME is your home directory.

Thu, 03 Dec 2015 22:55:18 UTC

User-friendly error messages

Posted By Greg Lehey

Seen in Chromium today, after I entered an incorrect URL: This web page is not available DNS_PROBE_FINISHED_NXDOMAIN Isn't that amazing? It's been decades since web browsers did that. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Thu, 03 Dec 2015 01:09:13 UTC

xterm icons: finally!

Posted By Greg Lehey

These funny xterm icons with truncated texts irritate me more than I expected. More investigation today, with something like a solution. In misc.c there's the code (abridged):  */ void xtermLoadIcon(XtermWidget xw) { #ifdef HAVE_LIBXPM     Display *dpy = XtDisplay(xw); ... #else     (void) xw; #endif } Was it that HAVE_LIBXPM? Mutilated the name and tried again. Success! The image above with the truncated text is the old icon, and the text below is the new one. That's produced by the x11/xtset program. If I run the cursor over the graphical icon, it displays the entire text, but that doesn't help much.

Thu, 03 Dec 2015 00:59:51 UTC

Civil disobedience or malware?

Posted By Greg Lehey

A week or two ago I found a site that offered noise as a service to help reduce the effectiveness of data retention programmes. The idea is simple: in each page you add this line: <script src="//"></script> According to the page, Deploying this code will cause your web site visitors to make a single request to a random IP address, for every request that you serve with the script tag, in order to add noise to the logs being kept by Australian ISPs.

Thu, 03 Dec 2015 00:54:23 UTC

NBN error recovery

Posted By Greg Lehey

Call from Will at Aussie Broadband this afternoon. The National Broadband Network can't correlate my outage data with their logs, so they think it's a site issue. They want to come and investigate. OK, why not? I think it's a lack of monitoring on their part, but I could be wrong, and at least they're doing something. We made an appointment for Monday 13:00. I'll be interested to see what happens. In the meantime, the dropouts continue: Date        Outages   Duration  Availability    Date                       (seconds) 1449028336 1449028393     57  0.026 #  2 December 2015 14:52:16  2 December 2015 14:53:13 1449035540 1449035597     57  0.504 #  2 December 2015 16:52:20  2 December 2015 16:53:17 1449044086 1449044121     35  0.424 #  2 December 2015 19:14:46  2 December 2015 19:15:21 1449044692 1449044738 ...

Thu, 03 Dec 2015 00:39:15 UTC

New SDHC card

Posted By Greg Lehey

My new SDHC card for my camera has arrived. After spending quite a bit of time determining whether it was genuine, it seemed a good idea to investigate it more closely. The package looked just like in the advertisement. Only read speed specified: But hidden on the back side was an indication of the write speed: Why do they go to such lengths to hide it?

Tue, 01 Dec 2015 21:41:53 UTC

Removing xterm icons

Posted By Greg Lehey

Woke up with the realization that if the xterm icons include the BSD daemon, it must have been added in the port. Off to take a look, and sure enough, the Makefile contained: DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src1 \ bsd-xterm-icons-${ICONVERSION}${EXTRACT_SUFX}:src2 There was also a post-extract target that moved the files into place. Fine, remove the post-extract and try again. The BSD icons was gone, of course. But replaced by a generic X icon. I'm still no closer to being able to read the icon texts. ACM only downloads articles once.

Tue, 01 Dec 2015 21:40:53 UTC

Samba problems

Posted By Greg Lehey

Into the office this morning to quickly process yesterday's photos. No do: all of eureka's file systems were no longer accessible (via samba) from despair. Why? How can you tell? The only clue was that really nothing had changed since the last access except for having despair hibernate. Or maybe this entry in the log files: Dec  1 07:56:39 eureka smbd[99525]: [2015/12/01 07:56:39.274663,  0] ../source3/lib/messages.c:346(messaging_reinit) Dec  1 07:56:39 eureka smbd[99525]:   messaging_dgm_init failed: Permission denied Dec  1 07:56:39 eureka smbd[99525]: [2015/12/01 07:56:39.281132,  0] ../source3/lib/util.c:480(reinit_after_fork) Dec  1 07:56:39 eureka smbd[99525]:   messaging_reinit() failed: NT_STATUS_ACCESS_DENIED Dec  1 07:57:06 eureka smbd[99539]: [2015/12/01 07:57:06.728100,  0] ../lib/util/pidfile.c:153(pidfile_unlink) Dec  1 07:57:06 eureka smbd[99539]:   Failed to delete pidfile /var/run/samba4/

Tue, 01 Dec 2015 00:40:37 UTC

Unacceptable network performance

Posted By Greg Lehey

I've complained in the past about the reliability of my National Broadband Network connection. Since I started keeping logs 21 months ago we have had 205 outages! Today alone there were 9, and since 26 November 2015 there have been 16: Date        Outages   Duration  Availability    Date                       (seconds) 1448476513 1448476526     13  0.009 # 26 November 2015 05:35:13 26 November 2015 05:35:26 1448498696 1448498752     56  0.162 # 26 November 2015 11:44:56 26 November 2015 11:45:52 1448587783 1448587822     39  0.040 # 27 November 2015 12:29:43 27 November 2015 12:30:22 1448595997 1448596022     25  0.440 # 27 November 2015 14:46:37 27 November 2015 14:47:02 1448599962 1448600008     46  0.914 # 27 November 2015 15:52:42 27 November 2015 15:53:28 1448712959 1448712972     13  0.032 # 28 November 2015 23:15:59 ...

Mon, 30 Nov 2015 22:37:01 UTC

The daily upgrade issues

Posted By Greg Lehey

I'm still far from comfortable with my new FreeBSD installation. Addressed a few of the issues today, some with success. The first was this horrible highlight colour that now seems to be the Emacs default: There are lots of customization menus that have appeared in the past few decades, and I found one that seemed to imply highlighting the region (with the appropriate default). After running through a maze of twisty little menus, all different, found one that offered to change colours of the highlighted region.

Sun, 29 Nov 2015 23:23:55 UTC

SDHC Cards again

Posted By Greg Lehey

More investigation of SDHC cards for my camera. People really don't make it easy. The comparison page mentioned cards that I couldn't find, and the one that looked gooda SanDisk Extreme 90 MB/s card, doesn't appear on their card list. Google helped, though, and found this page on their site, apparently orphaned. Why do people make such a mess of their web sites? The card claims to do 40 MB/s writes, comfortably more than the 33 MB/s that the camera can manage, so I bought one of them. ACM only downloads articles once.

Sun, 29 Nov 2015 22:38:03 UTC

Migrating my database applications

Posted By Greg Lehey

One of the things that still didn't work were the database applications using MySQL Edit table. As I suspected, that was a matter of installing the php56-session and php56-mysql packages. I did that for Joomla! a couple of weeks ago, and complained at the time that the package didn't update /usr/local/etc/php/extensions.ini. So after installation, off to update that file. But this time the entries were there! The package hasn't been updated in the intervening time. What changed? After that, my applications workedsort of: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/grog/public_html/php/MySQL_table_edit_0.3/mte/mte.php on line 174 I deprecate deprecation!

Sun, 29 Nov 2015 03:08:51 UTC

Aw, Snap!

Posted By Greg Lehey

Another message from Bartosz Fabianowski about Chrome. It seems that these Aw, Snap! messages are Chrome's way of saying SIGSEGV in renderer. And I should be able to go to chrome://crashes and see what happened. But all I get is: Crash reporting is disabled. Crash reporting is not available in Chromium. Still, running the browser from a shell shows that it's quite verbose on stdout (or is that stderr?) :   Received signal 11 SEGV_MAPERR 000000000000   #0 0x0000008f798a <unknown>   #1 0x000809d6db57 <unknown>   #2 0x000809d6d24c <unknown>   [end of stack trace] With a few symbols it might even give some useful output.

Sun, 29 Nov 2015 01:06:49 UTC

Which SD card?

Posted By Greg Lehey

One of the consequences of this new functionality on the Olympus OM-D E-M1 is that I need a faster SDHC card for the camera. But how much faster? The current card is a Sandisk Ultra class 10, marked 30 MB/s. There are others out there rated as fast as 95 MB/s. When does the camera become the limiting factor? Even 30 MB/s is a lot faster than the camera writes to the card. Further investigation revealed that the cards have speeds up to the rated limit. One issue is the camera, of course. But it seems that the write speed (important to me) is usually slower than read speed, sometimes much slower.

Sun, 29 Nov 2015 00:34:25 UTC

Mutt changes

Posted By Greg Lehey

Mutt doesn't seem to have changed much. It still writes lines with many trailing spaces. But === grog@eureka (/dev/pts/21) ~ 37 -> mutt Error in /home/grog/.muttrc, line 6: alternates: unknown variable source: errors in /home/grog/.muttrc Did some investigation and found this page, which explains that I need to make this change: -set alternates="greg.lehey@|gr... +alternates "greg.lehey@|gr... That's straightforward enough, though it's not clear why it was necessary. But what got me was the date of the message: 1 February 2004, nearly 12 years ago!

Sun, 29 Nov 2015 00:27:53 UTC

More X configuration

Posted By Greg Lehey

More playing around with my X configuration today. One of the remaining issues was that Hugin would not display the fast panorama preview on screen 1 of server 1 (which spreads a single display across all four screens). Tried again today. It still doesn't. But this time I looked in the log file: [240548.886] (WW) NVIDIA(1): The GPU driving screen 1 is incompatible with the rest of the [240548.886] (WW) NVIDIA(1):     GPUs composing the desktop.  OpenGL rendering will be [240548.886] (WW) NVIDIA(1):     disabled on screen 1. OK, that's understandable.

Sat, 28 Nov 2015 01:53:45 UTC

Fixing chrome

Posted By Greg Lehey

Message from Bartosz Fabianowski, from whom I have already had input about the city centre of München. It seems that the Apps bookmark on the Chrome bookmarks bar can be disabled, but it's done via the context menu of the bar. Why did they do that? ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sat, 28 Nov 2015 00:43:42 UTC

System upgrade, day 3

Posted By Greg Lehey

Gradually eureka is settling down, though there's still work to be done, interrupted by the Real World. So far I've been highlighting difficulties, but there are some definite advantages as well. So far I haven't seen any of the USB issues that plagued me with the old version of eureka, though it's possible they're just hiding. And the X hangs on server 1 haven't reoccurred. And the other issues? Peter Jeremy tells me that you can suppress the enormous xterm icons with the option xterm -ai, or by setting activeIcon to false in the .Xdefaults file. And sure enough, that workedsort of.

Sat, 28 Nov 2015 00:38:58 UTC

Understanding python

Posted By Greg Lehey

I've had some exposure to python, but it still confuses me. It proves that Monday's fix for Hugin only works for python release 2; with release 3 I get: === grog@eureka (/dev/pts/30) ~ 12 -> python2 -c "import string; from distutils.sysconfig import get_python_lib; print(s tring.replace (get_python_lib(1), \"/usr/local/\", \"\"))" lib/python2.7/site-packages === grog@eureka (/dev/pts/30) ~ 13 -> python3.2 -c "import string; from distutils.sysconfig import get_python_lib; print(string.replace (get_python_lib(1), \"/usr/local/\", \"\"))" Traceback (most recent call last):   File "", line 1, in AttributeError: 'module' object has no attribute 'replace' It seems that they have replaced the obvious function string.replace() with a different module with sexier syntax, and I now need to write === grog@eureka (/dev/pts/30) ~ 14 -> python3.2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1).replace(\"/usr/local/\", \"\"))" lib/python3.4/site-packages ...

Sat, 28 Nov 2015 00:37:53 UTC

Ternary PIDs

Posted By Greg Lehey

Seen by coincidence today: === grog@teevee (/dev/pts/2) /spool/Videos 1 -> ps au|grep mpla grog 3111  0.0  3.0 259648  62064  3  S+    5:41pm  0:32.06 /usr/local/bin/mplayer-old -a grog 3112  0.0  2.6 236432  52764  3  S+    5:41pm  0:03.97 /usr/local/bin/mplayer-old -a grog 3211  0.0  1.8 187872  36160  4  S+    6:41pm  0:16.13 mplayer -quiet http://stream. grog 3212  0.0  1.6 183776  32556  4  S+    6:41pm  0:00.49 mplayer -quiet http://stream. ACM only downloads articles once.

Thu, 26 Nov 2015 22:57:15 UTC

More Radiation Tower angst

Posted By Greg Lehey

Peter Jeremy pointed me at another victim of the radiation tower conspiracy today. It's interesting to see how they report this stuff: no mention of relative radiation exposure. I assume that, like Wendy McClelland, they use mobile phones. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Thu, 26 Nov 2015 22:37:10 UTC

System upgrade, day 2

Posted By Greg Lehey

On with the upgrade of eureka today, partially overtaken by other activities. First to the Samba configuration, which proved to be relatively straightforward: just followed the instructions in the network server chapter The Complete FreeBSD. It's nearly 20 years old, but it contains exactly what I need. In this case, in particular, I think I wrote it that way. Apart from that, various minor issues. Writing my diary gave me an error message for inserting a paragraph markup: incorrect number of parameters. It seems that somebody had created a function with the same name as the one I used: insert-section is a compiled Lisp function in `mule-diag.el'.

Thu, 26 Nov 2015 02:10:59 UTC

Upgrade: summary

Posted By Greg Lehey

So at the end of the day things were up and vaguely running. At least Yvonne saw no problems. But there's still a lot to be done: Complete the X configuration, including checking whether server 1 (single display over 4 screens) still works. Fix fvwm2 window moving. Reinstate Internet domain connections to X. Get rid of these enormous icons. Fix Emacs markup colours. Fix the BIND configuration. Get squid to work. Get urlview and mutt display of web pages on firefox to work.

Thu, 26 Nov 2015 01:39:16 UTC

Minor irritations

Posted By Greg Lehey

Apart from that, there are less important issues. I still need to get Keith Packard's card games to work, and I suppose it's time to rewrite the version of xearth that I wrote 20 years ago, and for which I have lost the source. In addition it seems that fortune has gone away. I recall some discussion on the mailing lists over the last few years. Some people felt that the fortunes were offensive to people of various religious convictions, so they were relegated to the ports. Or were they? I can't find fortune in the ports, though there are various data files for them, including: fortune-mod-bible-1.0_1        King James V Bible in fortune file format fortune-mod-epictetus-0.2      Quotes from Epictetus fortune-mod-psalms-1.0         Psalms from the Douai Bible in fortune file format ...

Thu, 26 Nov 2015 01:34:32 UTC


Posted By Greg Lehey

Gradually things had become bearable on eureka. And with a bit of NFS trickery I got the other FreeBSD machines happy with the new environment. despair, my main Microsoft machine, was another matter. Can't connect. Why not? Error 0xdeadbeef or some such. Looking at the samba configuration, I discovered that the new version has a new configuration file, /usr/local/etc/smb4.conf. How does it differ? I didn't bother to check, just hung the share definitions from /usr/local/etc/smb.conf at the bottom. And it seemed to work, but I still couldn't access the file systems. Password? What was the password? In the end chose a new one, but things still didn't work right.

Thu, 26 Nov 2015 01:16:34 UTC


Posted By Greg Lehey

Next was mail. Tried a fetchmail, as a precaution with the -a -k flags (get all, don't remove from upstream server). Yes, they came along, were piped into procmail, and disappeared, never to be seen again. Not even an error message in procmaillog. OK, no worries, we haven't really lost anything. Discovered that the options for starting postfix have changed. For years (decades?) the entry in /etc/rc.conf was: sendmail_enable="YES" Yes, that makes no sense, but that's the way it is. Now it's: procmail_enable="YES" And of course I needed all my old kludges; but the configuration files seem to have worked unchanged.

Thu, 26 Nov 2015 00:43:49 UTC

Web services

Posted By Greg Lehey

And of course httpd didn't start: httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/ into server: Cannot open "/usr/local/libexec/apache22/" Sigh. When will people recognize the difference between syntax and semantics? But why did I have Apache 2.2 in the first place? Installed version 2.4, along with the latest and greatest PHP, with relatively little difficulty; last week's Joomla installation was good practice. But nothing worked! Of course, it had installed a new configuration file, and I had to manually modify things to get back to where I had been before.

Thu, 26 Nov 2015 00:28:04 UTC

Emacs changes

Posted By Greg Lehey

I've been using Emacs in various forms for 35 years, and it has become like an extension of my fingers. Every change feels wrong. But when I fired it up, I got an error message: Warning (initialization): An error occurred while loading `/home/grog/.emacs': Invalid read syntax: ] To ensure normal operation, you should investigate and remove the cause of the error in your initialization file.  Start Emacs with the `--debug-init' option to view a complete error backtrace. OK, let's try debug-init: Debugger entered--Lisp error: (invalid-read-syntax "&#93;")   eval-buffer(#<buffer  *load*> nil "/home/grog/.emacs" nil t)  ; Reading at buffer position 3128   load-with-code-conversion("/home/grog/.emacs" "/home/grog/.emacs" t t) Now isn't that handy to give a buffer position?

Thu, 26 Nov 2015 00:20:01 UTC

In a bind

Posted By Greg Lehey

I couldn't access the network! Well, I couldn't find anything on the local network, because named wasn't running: it's no longer part of the base system. On the other hand, dhcpd insisted on creating an /etc/resolv.conf, which I have to prevent by making it read-only. But in this case it was an advantage. I went looking: === root@eureka (/dev/pts/5) /usr/local/etc 78 -> pkg search named p5-Class-Accessor-Named-0.009_1 Better profiling output for Class::Accessor p5-Class-NamedParms-1.06_1     Lightweight named parameter handling system ... Nothing! Try again: === root@eureka (/dev/pts/5) /usr/local/etc 79 -> pkg search bind bind-tools-9.10.3_1            Command line tools from BIND: delv, dig, host, nslookup...

Wed, 25 Nov 2015 23:42:29 UTC

X configuration

Posted By Greg Lehey

X was my main concern. But we can always be optimistic. Booted the machine, logged in and entered === grog@eureka (/dev/vty0) ~ 4 -> startx It started! But only on one monitor, leaving 4 competing window managers to fight over it. In Xorg.0.log I found: VGA arbiter: cannot open kernel arbiter, no multi-card support What's that? Web searches were inconclusive. But then I was expecting problems. Run X -configure with more than the usual success, but it still only found two displays.

Wed, 25 Nov 2015 23:26:54 UTC

Upgrading eureka, finally

Posted By Greg Lehey

Much of the installation of eureka, my main computer, dates back to 7 years ago, though I upgraded the kernel when I changed the hardware barely 2 years ago. And since then I've been paving the way to hell with good intentions. Today I finally ran out of excuses. After all, everything had been tested, I had a new disk, so I could fall back to the old one if something went wrong. About the only issue was the X configuration, which has always been a problem. Things happened completely differently. I'll split this story up into individual subsystems, rather than make it chronological.

Tue, 24 Nov 2015 23:10:20 UTC

Google: Don't be evil!

Posted By Greg Lehey

Remember the browser wars? The late 1990s or so, when Netscape and Internet Exploder deliberately introduced incompatible features to lock their customers in? They're over, right? Not if you believe the Wikipedia page. In passing, it's interesting to note this web browser timeline: Today Peter Jeremy posted a URL. Why? Just some Star Wars Google search. But it seems I was using the wrong browser. With Chrome it showed an animation, though in no longer does. Google, your motto was don't be evil. So don't! It's bad enough that I can no longer use many features of Google Maps because my browser isn't leet enough.

Mon, 23 Nov 2015 23:14:41 UTC

Tackling cmake

Posted By Greg Lehey

So how do I fix the src/hugin_script_interface/CMakeLists.txt so that it doesn't create absolute path names for the Python files? Despite my aversion, went looking for the cmake documentation. What a disaster! It's just a list of man pages. From the invocation in the file, it's clear that it has some text editing capabilities:     EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))"                       OUTPUT_VARIABLE pyinstalldir                       OUTPUT_STRIP_TRAILING_WHITESPACE) Clearly OUTPUT_STRIP_TRAILING_WHITESPACE is an editing feature.

Sun, 22 Nov 2015 23:45:38 UTC

More stuff from Kleins Road

Posted By Greg Lehey

It's only a little over a week until we settle the Kleins Road house, and there's still a lot of junk there that we need to get. Over today to pick up the last three computers: the Control Data 910, a microVax II, and an old MIPS R2000. They'll be offered on eBay for a ridiculously low price. But they're heavy. I got the Control Data into the car with no trouble, and the microVax is on wheels, so that wasn't an issue, but we couldn't lift it into the car.

Sun, 22 Nov 2015 23:13:53 UTC

The daily hugin build breakage

Posted By Greg Lehey

Still more Hugin build breakage! I'm really surpassing myself lately. Hugin depends on Vigra, but somehow the dependency wasn't in the Makefile. That's a little puzzling, since it's been there since long before my recent work; in fact, for nearly 11 years: r124104 | edwin | 2004-12-15 23:36:25 +1100 (Wed, 15 Dec 2004) | 14 lines New port: graphics/vigra - another program to mount panoramic images - also a dependency of hugin So why wasn't the dependency there?

Sun, 22 Nov 2015 00:10:17 UTC


Posted By Greg Lehey

For decades (well, about 16 years), I've used the same old passive KVM. It still works for VGA, but the mouse and keyboard connectors are obsolete: So I use it for VGA, and on those occasions where I need direct keyboard or mouse contact, I plug one in to the appropriate computer. But why? Active KVMs don't cost anything any more. Went out looking on eBay and found a likely looking one for $12.07 including postage.

Sun, 22 Nov 2015 00:10:16 UTC

Shells and POLA

Posted By Greg Lehey

Strange problems with shell scripts today. I set a variable, changed directory, and the variable changed! It took a while to find out what was going on: === root@stable (/dev/pts/0) /etc-eureka/RCS 180 -> j=* === root@stable (/dev/pts/0) /etc-eureka/RCS 181 -> echo $j XF86Config,v aliases,v crontab,v devd.conf,v devfs.conf,v dumpdates,v ethers,v exports,v fstab,v group,v hosts,v inetd.conf,v ... === root@stable (/dev/pts/0) /etc-eureka/RCS 182 -> cd .. === root@stable (/dev/pts/0) /etc-eureka 183 -> echo $j #rc.conf# RCS XF86Config aliases aliases.db apmd.conf auth.conf bluetooth crontab csh.cshrc csh.login csh.logout defaults ... Clearly the value of j is *, not the expansion of *.

Sat, 21 Nov 2015 23:31:32 UTC

Porting hugin: disaster

Posted By Greg Lehey

As planned, I committed the latest version of Hugin yesterday evening. Of course I had done all my normal tests, and all worked well. This morning I had a bug report from Stari Karp and a couple of automated build failures. Looking more carefully, I discovered that I had messed up my patch files: there were three old patches that were no longer needed, and they referenced files that no longer existed. OK, svn remove them and commit again. Another message from Stari Karp: now he got an error message that I've seen before: /usr/ports/graphics/hugin/work/hugin-2015.0.0/src/tools/align_image_stack.cpp:196:38: error: reference to 'lock' is ambiguous             hugin_omp::ScopedLock sl(lock); But I fixed that last month!

Thu, 19 Nov 2015 23:25:50 UTC

Back to ports again

Posted By Greg Lehey

Finally got round to committing my updated ports (graphics/libpano13 and graphics/hugin. It seems to have been two years since I last did anything. To be on the safe side, only committed libpano13 today; if nothing blows up, I can commit hugin tomorrow. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Wed, 18 Nov 2015 00:00:25 UTC

Understanding sensor dynamics

Posted By Greg Lehey

One of the biggest issues I have with digital photography is the limited dynamic range of the sensors. Current sensors have a pixel depth of 12 or 14 bits. The Olympus OM-D E-M1 only has 12 bits. Since they're linear, that corresponds roughly to 12 EV. The many photos I take bracketed 3 EV either way increase this to 18 EV, but it's not ideal. A lot of postprocesssing is required, and there's the danger of ghosting. So when I read this article about a new sensor with higher dynamic range, I was very interested. It has an increased dynamic range of 88 dB!

Tue, 17 Nov 2015 01:29:07 UTC

Repairing AVI files: the limits

Posted By Greg Lehey

My AVI file fix seemed to work. But the video ended early. It seems that it only works if the audio and video are OK. Otherwise I get things like: MEncoder SVN-r35933-snapshot-3.2 (C) 2000-2013 MPlayer Team success: format: 0  data: 0x0 - 0x6c08a536 libavformat version 54.63.104 (internal) AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 AVI: ODML: Building ODML index (2 superindexchunks). AVI: ODML: Broken (incomplete?) file detected. Will use traditional index. Generating Index:   1 % AVI: Generated index table for 5071 chunks! VIDEO:  [XVID]  720x542  24bpp  29.970 fps  2335.2 kbps (285.1 kbyte/s) [V] filefmt:3  fourcc:0x44495658  size:720x542  fps:29.970  ftime:=0.0334 videocodec: framecopy (720x542 24bpp fourcc=44495658) audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 B/s=40000 sample-1) Writing header...

Tue, 17 Nov 2015 00:21:28 UTC

Gmail rejection

Posted By Greg Lehey

Strange message today: <> (expanded from <root>): host[] said: 550-5.7.1 [     12] Our system has detected that this message is 550-5.7.1 likely     unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1     this message has been blocked. Please visit 550 5.7.1 for more information.     i9si47983327bpq.207 - gsmtp (in reply to end of DATA command) The link didn't give me any opportunity to do something about the matter: it just told me the errors of my ways.

Mon, 16 Nov 2015 23:10:50 UTC

Joomla!: Done

Posted By Greg Lehey

More discussion of Joomla! on IRC today. As expected, it was a PHP issue. Jamie Fraser suggested adding this line to /usr/local/etc/php/extensions.ini (in this case creating it): Sure enough, I no longer got that error message. Instead I got: Fatal error: Call to undefined function simplexml_load_file() in /usr/local/www/joomla3/installation/application/web.php on line 262 OK, simplexml is another of the modules mentioned in /usr/ports/www/joomla3/Makefile. But what's the module called? No information in /usr/ports/www/simplexml/Makefile.

Sun, 15 Nov 2015 22:28:59 UTC

Joomla!: the pain

Posted By Greg Lehey

Today I had the task of getting MySQL and Joomla! to work on our web site. The first step was to gain access to the MySQL subsystem. I can't recall configuring itmaybe Chris did. One way or another, we don't have the root password. How do you get that back? Even Paul DuBois' books didn't help (contact your administrator). After a search found this page in the official documentationapparently only for Microsoft! But the instructions are fairly easy to translate: === root@www (/dev/pts/0) ~ 98 -> cat > /tmp/temppassword set password for 'root'@'localhost' = password ('Not the real password'); ^D === root@www (/dev/pts/0) ~ 99 -> mysqld --init-file=/tmp/tmppassword In the process came across this page, entitled Installing MySQL on FreeBSD.

Sun, 15 Nov 2015 00:07:35 UTC

Joomla!: How?

Posted By Greg Lehey

Chris Bahlo has had the idea of installing Joomla! on our external web server. Talking about it tonight: I had said use the package, that's what the Ports Collection is for. Some discussion. The package installs an amazing number of files, mainly in the /usr/local hierarchy: === grog@www (/dev/pts/2) /usr/ports/www/joomla3 4 -> wc -l pkg-plist     7650 pkg-plist And according to the official instructions, which are anything but clear (Move the downloaded Joomla! installation package to the server. Use a FTP Client to transfer the Joomla!

Sat, 14 Nov 2015 00:13:43 UTC

Migrating subversion

Posted By Greg Lehey

I have a cron job that updates my local FreeBSD repositories every night. Well, almost every night: ====== Fri 13 Nov 2015 03:52:12 EST: Getting svn updates: /src/FreeBSD/svn/head ^[]1;Updating /src/FreeBSD/svn/head^G^[]2;Updating /src/FreeBSD/svn/head^GUpdating '.' : svn: E210002: Unable to connect to a repository at URL 'svn+ssh://' svn: E210002: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file. svn: E210002: Network connection closed unexpectedly That's not the first time. Asked on IRC if other people were having problems, and got a completely different answer: change the repository.

Wed, 11 Nov 2015 22:42:42 UTC

Olympus firmware upgrade

Posted By Greg Lehey

Olympus has announced a firmware upgrade for the E-M1 long in advance of release. In the past I've had lots of difficulties with the updates. I suspect that their silly updater has some sensitivity to computer configuration, and it's not helped by just plain incorrect error messages. There's also a firmware update waiting for Yvonne's E-PM2 and the new M.Zuiko Digital ED 14-42mm f3.5-5.6 EZ lens, so I did a trial run with that. Experienced an issue that doesn't apply to many components: the firmware update extends and retracts the lens. I had the camera lens down, so this was particularly obvious.

Wed, 11 Nov 2015 22:08:21 UTC

Language evolution

Posted By Greg Lehey

Spent some time trawling web sites today for new amplifiers. It seems that the traditional HiFi setup no longer exists: amplifier at the centre, with tuners and media players as inputs, recording devices as inputs and outputs, and loudspeakers as outputs. JB HiFi is a typical Australian retailer, with a typically horrible web site. There I looked for loudspeaker: Hey, based on 'loudspeaker' we couldnt find exactly what you were searching for. Check out some suggested results below, or type in another search. It did find 7 hits: 4 Speakers (in the current political climate one would wonder whether they're selling Bronwyn Bishop cheaply), two PA Speakers, and a Wireless Audio, whatever that may be.

Wed, 11 Nov 2015 00:47:42 UTC

rsync problems again

Posted By Greg Lehey

A year ago I had issues with rsync to my external web site. For reasons that I still don't understand, the initial handshake (via ssh) would fail. I suspected a network issue, and was still trying to understand it when the system crashed due to hardware issues. And then the problem was gone. Until today. It's back! It must be something to do with sshd itself. Should I just restart it or try to debug the issue? ACM only downloads articles once.

Wed, 11 Nov 2015 00:03:40 UTC

More ANZ stupidity

Posted By Greg Lehey

Yvonne wanted to pay a bill this morning using ANZ's web (Internet) banking, and made the mistake of trying to add a payee who was already on the list. So it asked a security question, in this case What was the first street you lived on?. The correct answer was It's all in my diary, but she didn't know that, and made the mistake of trying to guess (and whose? Hers or mine?) . So the account was locked. Rang up and had to identify myself by a simple password.

Mon, 09 Nov 2015 22:46:18 UTC

Humanity's victories

Posted By Greg Lehey

The German Olympus forum has got rid of its old, functioning web site and replaced it with something running Drupal, offering lots of opportunities for overlapping text and bleeding boxes: I was reminded of an xkcd cartoon, and spent a whole lot of time looking for it before I finally found this, not on xkcd at all: ACM only downloads articles once.

Mon, 09 Nov 2015 00:04:17 UTC

technology, multimedia

Posted By Greg Lehey

More fun with multimedia today. After recording programmes from TV, I first recode them to convert them to and MPEG Program Stream, in the process discovering the quality of the recording. But today things ground to a halt round 47% of a specific recording: 2015-11-08 12:41:36.533 46.0% complete 2015-11-08 12:41:41.825 46.6% complete 2015-11-08 12:41:46.827 47.0% complete 2015-11-08 13:03:13.206 47.4% complete ^C^C What caused that? It was repeatable, and I've been having strange issues with recordings slowing down. I had thought it might be a problem with the disk on teevee, but smartctl had not revealed anything.

Sat, 07 Nov 2015 22:42:55 UTC

Fixing broken avi files

Posted By Greg Lehey

Recently I received a video in AVI format. I could play it with no problems, but I couldn't position. Broken index? Did some searching and found this page, a wonderful example of how to obfuscate computer code. Why do people enclose computer code in too-small (particularly too-narrow) boxes? It boils down to: pass it through mencoder with the -idx option and it will rebuild the index for you. Here's the function I use: # Rebuild avi index. # Usage: rebuild-index filename # filename will be replaced on success rebuild-index () {   if mencoder -idx $1 -ovc copy -oac copy -o foo$$; then     mv foo$$ $1   fi } ACM only downloads articles once.

Sat, 07 Nov 2015 00:52:25 UTC

teevee: grinding to a halt?

Posted By Greg Lehey

Somehow I still have performance problems with teevee, my TV display machine. Yes, it's not the fastest, but lately when I'm copying data across the net, it seems hardly to react at all. It only has a 100 Mb/s interfacethe last of our real machines not to have a gigabit interfaceso big file copies are limited to about 11 MB/s. But today I saw the speed dropping as low as 3 MB/s. cvr2, the source machine, showed that the copy stalled several times. What's the problem? pings showed that there were big differences in the response time, between about 140 ¼s and 6 ms.

Sat, 07 Nov 2015 00:37:15 UTC

Hugin under Linux

Posted By Greg Lehey

So finally I had a chance to run Hugin on a well-supported platform. It didn't crash. But the other issues were the same as on FreeBSD: the alignment of my test panorama was still wavy. But this time I tried the Straighten button of the Move tab. And it worked. The other is a now you see me, now you don't issue. After alignment, the fast preview window comes up with a text bleeding into the top right of the image: It's really ugly, but others seem to like it.

Fri, 06 Nov 2015 23:55:15 UTC

A new Linux machine

Posted By Greg Lehey

I still don't know how many of the anomalies I have found with the latest version of Hugin are due to my FreeBSD port. The attempts with Microsoft show that it's in much worse shape than my port, at least for me (mutual revulsion?) . So where does it run well? I've continually heard that the Apple port has its issues too. Linux is the way. But which distro? Asked on IRC, expecting to hear Debian or Red Hat or Ubuntu. But no, all four replies I got said Lubuntu. What's that? I've never heard of it? Seems it's a Lightweight Ubuntu.

Wed, 04 Nov 2015 22:40:49 UTC

Hugin on Microsoft: give up

Posted By Greg Lehey

Spent some more time trying to understand my problems running Hugin on Microsoft, without much success. It seems that the problems selecting files related to a setting in the Folders tab of the Control Panel: I have it set to select items with a single click. Hugin is the first program I know that has a problem with that. Most of the other problems remain, though. Hugin has always had two different interfaces, the Assistant and the individual steps. Since 2013.0.0 the Assistant has been part of the fast panorama preview window, which I suspect has had some kind of race condition for a long time.

Wed, 04 Nov 2015 00:57:14 UTC

Hugin fisheye problems: understood?

Posted By Greg Lehey

What's the difference between how Hugin handles fisheye images now (version 2015.0.0) and how it handled them in the past (version 2012.0.0)? It seems that there are two changes: Hugin now stores lens information in a database. In particular, this means that it stores the kind of lens and its own idea of the focal length of the lens. In the case of my Olympus Zuiko Digital ED 8 mm f/3.5 fisheye lens, this is roughly 7.7 mm.

Tue, 03 Nov 2015 23:13:36 UTC

Loss of Integrity

Posted By Greg Lehey

In 1989 Tandem Computers announced its first real Unix machine, named Integrity S2, a name that had such a resonance that Hewlett Packard still use it for their mission-critical servers. I was involved in the leadup to the announcement, and as a result received a tombstone, something of which our Micro Products Division in NonStop Drive, Austin TX was particularly fond: We (European Unix Technical Support, of which I was the manager) received one of the very first machines in late 1989. There's some mention in my ersatz diary for November 1989.

Tue, 03 Nov 2015 05:58:08 UTC

X clipboard

Posted By Greg Lehey

What's this clipboard nonsense? Some Microsoft invention? No, it seems that X has had it forever, but you need a special program (xclipboard) to access it. Looking at the appearance of the program (Athena widgets), it must be over 25 years old. And it Just Works. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Tue, 03 Nov 2015 05:25:17 UTC

Hugin: the next hurdle

Posted By Greg Lehey

More playing around with Hugin today. First question: how do I get it to reenable the fast panorama preview under Microsoft? Thomas Modes said hold down the control key and start Hugin. But how? There are at least four different ways: Click on the image on the root window (is that what Microsoft calls desktop?) . With Crtl pressed, nothing at all happened. Start from a COMMAND.EXE window. This doesn't work either: when Ctrl is pressed, Return doesn't work.

Sun, 01 Nov 2015 22:26:19 UTC

More Hugin pain

Posted By Greg Lehey

More playing around with Hugin today. I had a number of issues: It seems that Hugin has a log facility: in the General tab in preferences, you can select Copy log messages to clipboard. What's a clipboard? I thought it was something Microsoft, but Hugin is predominantly Unix (Linux) oriented. That means X, and all X has is a cut buffer. And nothing arrived there. I later discovered that X does, indeed, have a clipboard facility.

Sun, 01 Nov 2015 00:29:11 UTC

Hosting an NBN fixed wireless tower

Posted By Greg Lehey

Call from somebody today who was in negotiation with the National Broadband Network to have a fixed wireless tower put on her property. It looks like a good idea for her: they pay $10,000 per year, and the area where it would go isn't much use for anything else. She has already given the contract to her solicitor to look at, but she's concerned about liability insurance. Surely the NBN would handle that? I'm puzzled. I think her biggest issue might be community backlash: she says that all the community is against the tower. But that doesn't make sense: why would the NBN want to erect a tower where nobody's interested?

Sat, 31 Oct 2015 23:08:39 UTC

New Hugin: first experiences

Posted By Greg Lehey

OK, Hugin has changed a lot in 3 years, not all for the better. I've already noted that the highlighting of individual images in the fast panorama preview went away, and that's one of the main reasons I'm still running an old version of Hugin. But today I had issues that I hadn't expected: I couldn't stitch at all. The interface has changed soeewhat, but the principle is the same. Use the Assistant tab, load the images, and let it align. But this time it didn't work: OK, go to the Control Points tab.

Sat, 31 Oct 2015 23:03:16 UTC

Finishing the Hugin port

Posted By Greg Lehey

More work on the Hugin port today, and finally got it finished. Well, almost. ===>   Registering installation for hugin-2015.0.0_1 And it hung. Not network efficient, maybe? Came back some time later and it was still running: USER   PID %CPU %MEM   VSZ  RSS TT  STAT STARTED     TIME COMMAND root 58647 99.3  0.1 13448 5360  0  R+   12:26pm 18:27.89 /usr/local/sbin/pkg-static register -i /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/stage -m /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/.metadir -f /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/.PLIST.mktmp It shouldn't take that long. Set a ktrace on it and found it looping:  58647 pkg-static RET   read -1 errno 21 Is a directory  58647 pkg-static CALL  read(0x4,0x7fffffff9b10,0x2000)  58647 pkg-static RET   read -1 errno 21 Is a directory  58647 pkg-static CALL  read(0x4,0x7fffffff9b10,0x2000) ...

Fri, 30 Oct 2015 22:57:03 UTC

Darktable revisited

Posted By Greg Lehey

I suspect Andy Snow is planning some photographic activity. Today he asked me on IRC about darktable. Yes, I've tried it in the past, but never got very far with it. The concept of film rolls and other silliness put me off. Time to try it again? Why not? === root@stable (/dev/pts/0) ~ 7 -> pkg install darktable Installed packages to be REMOVED:         hugin-2013.0.0_7 New packages to be INSTALLED:         darktable: 1.6.8_1         flickcurl: 1.26 Huh? Why does it want to remove Hugin? Tried building it from source, and that worked.

Fri, 30 Oct 2015 01:32:51 UTC

Subversion subverted

Posted By Greg Lehey

I maintain a couple of copies of the FreeBSD source tree (CURRENT and STABLE) on eureka. Every morning I run svn update to bring them up to date. Lately, however, I've been having build failures with STABLE. That can happen, of course, though it's not supposed to, but this had been continuing for several days, and nobody had complained on the mailing lists. Where's the problem? Tried building on another machine (lagoon instead of stable), but the problem remained. Finally I checked out a complete new STABLE tree and tried that. It built. So do I have a corrupt source tree? That's what svn up is supposed to avoid, isn't it?

Fri, 30 Oct 2015 01:32:39 UTC pain

Posted By Greg Lehey

A message in the mail today: Date: Thu, 29 Oct 2015 12:09:33 +1100 From:<> To: <> Subject: New Centrelink letter available online Reply-To: Please DO NOT REPLY by email as this mailbox is not monitored. OK, I have a account. But what a pain it is to use! I've been there before and came to the conclusion that the service wasn't worth the ether it was printed on. On that occasion I was unable to turn off email because of technical problems (broken DNS lookup). Today the DNS lookup worked, but other technical problems stopped me: there's no provision for removing yourself.

Fri, 30 Oct 2015 01:32:30 UTC

Understanding C++

Posted By Greg Lehey

So I have this problem with Hugin where I run into ambiguous templates: [ 45%] Building CXX object src/tools/CMakeFiles/autooptimiser.dir/autooptimiser.cpp.o /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/tools/align_image_stack.cpp:196:38: error: reference to 'lock' is ambiguous             hugin_omp::ScopedLock sl(lock);                                      ^ /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/tools/align_image_stack.cpp:124:24: note: candidate found by name lookup is 'lock' static hugin_omp::Lock lock;                        ^ /usr/include/c++/v1/mutex:424:1: note: candidate found by name lookup is 'std::__1::lock' lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3& ...__l3) ^ /usr/include/c++/v1/mutex:350:1: note: candidate found by name lookup is 'std::__1::lock' lock(_L0& __l0, _L1& __l1) ^ I've already established that the candidates are templates, and v1/mutex is unconditionally included with fstream.

Tue, 27 Oct 2015 22:57:21 UTC

Another NBN outage!

Posted By Greg Lehey

Most of my network outages seem to happen in the middle of the night, to a point where I often wonder if they're just unannounced maintenance. But lately they've been happening in the daytime: 15 October 2015 10:36:43, 18 October 2015 13:14:34, and now today at 13:39:40. In each case, I was able to observe that the ODU LED on the NTD was red. Last week I suspected that my actions had no effect. Today I had the time to confirm that: we were off the net for over three hours, and of course power cycling had no effect on the ODU LED.

Mon, 26 Oct 2015 22:51:02 UTC

The limits of wrapper scripts

Posted By Greg Lehey

Completed the transition to the new /home disk today with no problems beyond being off the air for an hour while I ran a last rsync. The next step is to bring the backup system stable up to date. Started a buildworld, which died almost immediately with an invalid .depend filewhich it had just created! It took quite a while to discover that the culprit was my compiler wrapper script, which echoed the invocation to stdout, in this case the .depend file. So while it's a useful trick to work around deficiencies in cmake, it's not completely transparent. ACM only downloads articles once.

Sun, 25 Oct 2015 23:17:20 UTC

Time for a disk replacement

Posted By Greg Lehey

I bought the current hardware for eureka nearly 2 years ago, but I still haven't upgrade the operating system. Most recently, compilation problems with Hugin have deferred the issue. But there are other pressures. Lately I've been getting: Oct 25 13:00:49 eureka kernel: (ada2:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 e2 9e d8 40 e6 00 00 01 00 00 Oct 25 13:00:49 eureka kernel: (ada2:ahcich2:0:0:0): CAM status: ATA Status Error Oct 25 13:00:49 eureka kernel: (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 40 (UNC ) Oct 25 13:00:49 eureka kernel: (ada2:ahcich2:0:0:0): RES: 41 40 f0 9e d8 00 e6 00 00 00 01 Oct 25 13:00:49 eureka kernel: (ada2:ahcich2:0:0:0): Error 5, Retries exhausted Oct 25 13:00:49 eureka kernel: g_vfs_done():ada2p1[READ(offset=1982953521152, length=131072)]error = 5 It seems to be only local, and so far it means lack of access ...

Sat, 24 Oct 2015 00:09:52 UTC

We don't need no complete texts

Posted By Greg Lehey

For some reason my message to the Hugin forum didn't arrive. More attachment stupidity? But it's run by the Google behemoth, so it should be able to accept mail from Gmail. What a pain Gmail is! It's good for filtering spam, but the user interface! After I enlarged the tiny window, I got: WHY do people have to truncate things like that? It's reaching epidemic proportions. ACM only downloads articles once.

Fri, 23 Oct 2015 00:09:52 UTC

Tandem/16 control panel

Posted By Greg Lehey

For my first home-made computer I built a console or control panel with which I could single-step the machine and monitor its activity. Older computers had these as a matter of course, but I don't know of any other for a Z80: During my time with Tandem Computers we had some reason to examine the Tandem/16 processor in more detail. By that time, production had stopped, and I was given one of the three control panels that manufacturing had built for the three factories (Cupertino CA, Reston VA, and Neufahrn BY).

Thu, 22 Oct 2015 23:49:17 UTC

C++ namespace hell

Posted By Greg Lehey

Spent a bit more time trying to understand the Hugin compilation problems. Finally got my wrapper scripts to output useful invocation lines, which, as I expected, were long: c++ -DHUGIN_HSI -O2 -pipe -fstack-protector -fno-strict-aliasing --std=c++11 -O2 -pipe -fstack-protector -fno-strict-aliasing -I/eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src -I/eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin_base -I/eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/celeste -I/usr/local/include -I/usr/local/include/OpenEXR -I/eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/foreign -I/usr/local/include/python2.7 -c /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/tools/align_image_stack.cpp Add a C -dD -E to that and I got the preprocessor outputall 10 MB of it: === root@stable (/dev/pts/1) /usr/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/tools 233 -> l cppout.cpp -rw-r--r--  1 root  wheel  10,727,532 22 Oct 13:29 cppout.cpp === root@stable (/dev/pts/1) /usr/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/tools 234 -> wc -l cppout.cpp   282590 cppout.cpp How do you fight your way through that?

Thu, 22 Oct 2015 00:22:56 UTC

Programming language complexity

Posted By Greg Lehey

At university I discovered this wonderful new language, Algol. It was so much better than FORTRAN, and it was so easy to program. And then I discovered that the version we were using was Algol 60, codified (in the pre-Y2K days) in 1960. There was also an Algol 68, and although this was in 1970, no compiler was available for it for our university computer (an ICL System 4/50, a Spectra 70 copy). Why? Over the years I investigated the language, and looked for compilers for the computers with which I worked. None came. The language was too complicated. How times have changed!

Thu, 22 Oct 2015 00:18:49 UTC

Programming language complexity

Posted By Greg Lehey

25 years ago I wrote a B-tree storage system called Monkey in C++. At the time I saw it as being the logical development of C, as long as you ignored some of the more bizarre features. Since then I have returned to programming in C, mainly because that's what the environment required. 11 years ago I was required to backport Monkey to C. In the process I discovered that C++ had become even more bizarre, and the backporting brought insights that were hidden when I wrote in C++. The C version was slightly more verbose, but much clearer in intention.

Wed, 21 Oct 2015 23:54:40 UTC

Understanding convoluted error messages

Posted By Greg Lehey

While trying to port Hugin this morning, was presented with this error message: /usr/bin/sed -i.bak 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/hugin/CMakeFiles/hugin.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/hugin/CMakeFiles/hugin.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/nona_gui/CMakeFiles/nona_gui.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/nona_gui/CMakeFiles/nona_gui.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcher.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcher.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/stitch_project/CMakeFiles/hugin_stitch_project.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/stitch_project/CMakeFiles/hugin_stitch_project.dir/link.txt sed: /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/nona_gui/CMakeFiles/nona_gui.dir/flags.make: No such file or directory The original looks even worse, of course, with no line breaks whatsoever. What does that mean? Isn't it so much easier to replace the spaces with newline characters? /usr/bin/sed -i.bak 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/hugin/CMakeFiles/hugin.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/hugin/CMakeFiles/hugin.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/nona_gui/CMakeFiles/nona_gui.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/nona_gui/CMakeFiles/nona_gui.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcher.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcher.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/flags.make /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/link.txt /eureka/home/src/FreeBSD/svn/ports/graphics/hugin-2015.0.0/work/hugin-2015.0.0/src/hugin1/stitch_project/CMakeFi

Wed, 21 Oct 2015 23:44:55 UTC

Sourceforge: blast from the past

Posted By Greg Lehey

Went to the Hugin web site today. The response I got wasn't quite what I thought: Error 503 Service Unavailable Guru Meditation: XID: 223985111 Varnish cache server Where did that come from? As the code (Service Unavailable) suggests, it was transient. But the text takes me back decades. ACM only downloads articles once.

Wed, 21 Oct 2015 23:15:42 UTC

Sourceforge: blast from the past

Posted By Greg Lehey

Went to the Hugin web site today. The response I got wasn't quite what I thought: Error 503 Service Unavailable Guru Meditation: XID: 223985111 Varnish cache server Where did that come from? As the code (Service Unavailable) suggests, it was transient. But the text takes me back decades. ACM only downloads articles once.

Wed, 21 Oct 2015 00:34:23 UTC

Strange error message

Posted By Greg Lehey

In the afternoon Yvonne told me that her system had hung. In to find the X server displaying only a small white square on a black background. What's that? On the console these messages: What an incomprehensible mess. Instead of ###!!! and lots of square brackets, how about something that a script can parse easily, and information that tells you what produced it? Stopped and restarted the X server and things worked again. Looking through the web, it seems to be related to Adobe flash.

Wed, 21 Oct 2015 00:02:26 UTC

More porting

Posted By Greg Lehey

Why am I trying to resurrect Keith Packard's games? There are alternatives, such as xpat2. A much more important issue is to ensure that Hugin will still work when I update the system. OK, I have the latest port installed on stable. Tried it out. It ran, but the result of the alignment stage showed almost complete lack of alignment. What went wrong there? Further investigation showed that the problem only occurs with my fisheye lens, the Olympus Zuiko Digital ED 8 mm f/3.5. With the Zuiko Digital ED 9-18mm F4.0-5.6 things worked normally.

Mon, 19 Oct 2015 22:36:13 UTC

kgames revisited

Posted By Greg Lehey

After my porting attempts on Thursday, Callum Gibson reminded me that there are multiple ways to invoke imake. I've been there before, but it was 20 years ago: You don't normally run imake directly, since it needs a couple of pathname parameters: instead you have two possibilities: Run xmkmf, which is a one-line script that supplies the parameters to imake. Run make Makefile. This assumes that some kind of functional Makefile is already present in the package.

Sun, 18 Oct 2015 23:30:46 UTC

Off net again

Posted By Greg Lehey

My network reliability with the National Broadband Network is still not what you'd expect of a modern network. Another short dropout today while I was in the office, so I was able to confirm that the ODU LED was red. That's supposed to mean something wrong with the Outdoor Unit (NBNese for antenna), but in the cases I've seen it had nothing to do with the antenna. Power cycled the NTD, taking the opportunity to connect it to the office UPS, and watched it gradually come up again. When all status lights were OK, tried a ping to the world. Nothing.

Sun, 18 Oct 2015 23:28:18 UTC

Things that go beep in the night

Posted By Greg Lehey

My UPS issues continue. There's increasing evidence that the UPS in my office is reacting to something on its input; on one occasion the lights in the hallway dimmed slightly when it beeped. Hopefully it's not the upstream UPS. Time to install some monitoring software, something that I haven't needed in over 20 years of using UPSs. ACM only downloads articles once.

Sun, 18 Oct 2015 22:18:50 UTC

Phone or camera?

Posted By Greg Lehey

Juha (or is that Matti?) Kupiainen went for a motorbike ride today with his mate Glenn. What does that have to do with me? He took some photos and published themas a directory with the original images. To look at them, you need to select each image separately. OK, this isn't Juha's fault: he can do it like that, which simply requires linking the directory into the web server, or he can put them on Flickr, like he did 8 years ago. But that requires lots of mouse-pushing, and you still don't have much control over the display format. So for the fun of it I created a quick and dirty web page that would display all the images.

Sun, 18 Oct 2015 01:17:43 UTC

UPS irritation

Posted By Greg Lehey

I have two UPSs in series. The big one (3 kVA) is in the shed. It runs all the low-power stuff in the house, mainly electronics and lighting. It also feeds the small one (1 kVA), which is there only for eureka, my main machine. I have never got round to installing any monitoring software: if the power fails for any length of time, there's currently not much we can do about it. Today, however, the second UPS was not feeling happy. On several occasions it beeped once and then stopped again. Why? Nothing else had any issues. The display went on, but it's on the floor, and by the time I looked down there was nothing to be seen.

Sun, 18 Oct 2015 00:16:29 UTC

Unexpected spam

Posted By Greg Lehey

Only a couple of days ago I commented on the number of languages in which I get spam. But today there was a new one: Indeed, I can't recall having received a message in Azerbaijani before. But this one wasn't one either: it an invoice from Citylink, the operator of Melbourne's tollways (which they call freeways, presumably because the term road toll has a completely different meaning here.

Thu, 15 Oct 2015 22:49:28 UTC

Porting again

Posted By Greg Lehey

Gradually I'm running out of excuses not to upgrade eureka to the latest and greatest FreeBSD. But there's still one: kgames, some card games that Keith Packard wrote decades ago. The code seems to have rotted, and I can't find any version that will build in a modern environment. OK, that's a question of porting, and when it comes to porting, I wrote the book. But the kind of porting described there is almost as old as the code. Still, got off to a start. First I need a Makefile. That's easy: run imake: === grog@eureka (/dev/pts/6) /home/ports/x11/kgames/kgames-1.0 264 -> imake Imakefile.c:16: error: Imake.tmpl: No such file or directory imake: Exit code 1.

Thu, 15 Oct 2015 22:35:47 UTC

I blame it on Microsoft

Posted By Greg Lehey

Today I had to do something with despair, my Microsoft Windows 7 box. A popup: software updates installed, rebooting in 3 minutes. Why that? I had explicitly told it not to install anything by itself. But now I had a problem. Yes, remind me later buys me time, but it seems not much. And currently I didn't have a display on despair, nor even a cable to connect it to the KVM. Out into the shed to look for a cable. I really needed a second one for swamp, one of my test boxes. For some reason, I have hundreds of Ethernet cables, even AUI, but after much searching and reshuffling moving cartons, I only found one VGA cable.

Thu, 15 Oct 2015 01:40:45 UTC

20 years of The Complete FreeBSD

Posted By Greg Lehey

20 years ago today I had a visit from Jack Velte and friends of Walnut Creek CDROM. After dinner we did a bit of quick hacking and came up with what was to become The Complete FreeBSD. The book went through 5 editions, but it's completely out of date now. How times have changed! And how many things haven't! ACM only downloads articles once.

Tue, 13 Oct 2015 22:38:31 UTC

More phone problems

Posted By Greg Lehey

CJ Ellis has trouble with his phone again! Once again he can make calls out, but calls in get automatically diverted to voice mail. He asked me for help. I confirmed the behaviour, and suggested that he got MyNetFone to contact me for problem resolution, since he has difficulty understanding the people. Sometimes I do too: they asked him what kind of modem he had. Modem? What's that in a National Broadband Network system? All he has is an ATA. Sure enough, within minutes I got a call from Akbar of MyNetFone support, asking what the problem was with my phone (to which he referred as landline).

Thu, 08 Oct 2015 22:36:52 UTC

Flaky software: don't do that, then

Posted By Greg Lehey

Yvonne spent most of another day processing her photos from last week. In the process she managed to trip over many misfeatures of my processing system that I had never seen before. Some of it has to do with the change of user, but mainly with the change of approach. It brings home how important it is to get other people to test the software that you write. I blame it all on her German-layout keyboard, which I can barely use. ACM only downloads articles once.

Wed, 07 Oct 2015 23:23:09 UTC

A day's work wasted

Posted By Greg Lehey

Yvonne has been working on her photo processing all week. Today she finished the work on the photos for 28 September, all 618 of them. Then she threw them away. Why? Not deliberately, of course. It's a misfeature in one of my scripts. I use two scripts to make life more bearable with DxO Optics Pro and Microsoft. The first, fordxo, links the images I want to process into a static directory, /Photos/00-grog or /Photos/00-yvonne. When processing is done, I use another script to move those images back that haven't already been processed. Why 00-<name>? It gets displayed at the top of the directory tree, so it's easier to find.

Wed, 07 Oct 2015 01:09:20 UTC

Revisiting X configurations

Posted By Greg Lehey

One of the results of Yvonne photo orgy is an incredible amount of processing. I store the photos on disk on eureka, and Yvonne accesses them by NFS. That's not ideal: some things, like making contact prints of video clips, require a lot of I/O, and over the net it's particularly slow. So why not log in oneureka? The simple answer is because my X configuration doesn't do it right. The fvwm2 menus look like this: + "eureka" Exec ssh -A eureka /usr/local/bin/xterm -name "xterm"  -bg BlanchedAlmond -s -sl 2048 -sb -ls -j -rw -display lagoon:0.0 -geometry 100x65+53+0 -fn 9x15 -e /usr/local/bin/bash & That's an ssh started from the window manager, so it needs an ssh key to be loaded.

Tue, 06 Oct 2015 02:04:47 UTC

Raw conversion revisited

Posted By Greg Lehey

It's been over 4 years since I last compared raw image converters. I've learnt a lot since then, and on the whole I'm happy with DxO Optics Pro. But 3 days ago I had reason to examine things, and it took a while. I have now read the documentation for Raw Therapee. The first discovery was that it doesn't use lensfun, but instead profiles from Adobe Camera Raw, and you have to install them manually. In addition, the Adobe page states that only preliminary support is available for the Olympus OM-D E-M1, and newer models aren't mentioned at all. In general, the list looks about 2 years out of date.

Tue, 06 Oct 2015 00:32:09 UTC

Facebook: how can we best annoy you?

Posted By Greg Lehey

On one of my rare excursions into Facebook-land I was asked to participate in a survey. Opinionated as I am, I accepted. But all I got was a collection of postings, most as unrelated as these two: One's in Malay, though I can't understand enough to be sure of the topic: the Malays use a jargon that I can't decipher; neither can Google Translate. The other is in German about the cost of data retention. Do you prefer a fish or a bicycle?

Tue, 06 Oct 2015 00:29:09 UTC

Microsoft logoff

Posted By Greg Lehey

We've established that putting a Microsoft login session on ice isn't enough to free up the memory, so I'm currently logging off. Microsoft doesn't make it easy: It hangs there for something like 30 seconds. You'd think Microsoft's own products would behave. ACM only downloads articles once.

Mon, 05 Oct 2015 04:55:41 UTC

Olympus in-camera HDR revisited

Posted By Greg Lehey

We've had a bit of a discussion on the German Olympus forum about the likely benefits of focus stacking on the Olympus OM-D E-M1. This was before I wrote yesterday's article on the subject. My concerns about the usability of the out-of-camera focus stacking were based on my experience with the out-of-camera HDR functionality of the camera, which was really not very useful. But then Martin Wieprecht came up with an example, apparently from his book Die Große Reise ans andere Ende der Welt, that really did look good: So I tried again, looking through and out of my office.

Sun, 04 Oct 2015 23:45:01 UTC

Another FreeBSD VPS

Posted By Greg Lehey

While searching something completely unrelated, the following advertisement cropped up on my screen: As it says, it's from ARP Networks. The offer doesn't look bad, though nothing to entice me away from RootBSD, but it's nice to see other companies offering FreeBSD VPS. ACM only downloads articles once.

Sun, 04 Oct 2015 23:30:21 UTC

Photo processing and Microsoft memory management

Posted By Greg Lehey

More playing around with my PHP processing scripts today, and I think I have fixed all the bugs. Yvonne is still backed up to 26 September, and it looks like it will take her the rest of the week to process her thousands of photos and videos. And of course she's complaining about DxO Optics Pro Pushing the limits of your patience camera. In the past I have noticed big differences in processing speed, and sure enough, it was slow today too. It looked as if there were lots of hard page faults (which I presume means causing disk I/O). That's not so surprising given the relatively small memory of the machine.

Sun, 04 Oct 2015 01:11:23 UTC


Posted By Greg Lehey

A few weeks back ALDI had a quadcopter (a camera drone) on special offer. I bought one and had intended to test it, but either I'm incapable or it is. According to the packaging (an important part of the documentation; it's the only place where they mention the resolution of the camera) it comes with propeller guards: But they're not there (the replacement propellers are). It contains a tiny camera on the underside: The remote control is one of the most amazing toys I've seen: ...

Sun, 04 Oct 2015 00:57:16 UTC

Still more S-100 boards

Posted By Greg Lehey

While unpacking cartons, found a couple more S-100 memory boards. One is the fourth Econoram board, similar to the ones I had already photographed, but I'm surprised that I hadn't missed the other one last time round, in particular because of the modifications on it: What's that for? Do I still have the circuit diagrams somewhere?

Sun, 04 Oct 2015 00:53:56 UTC

Fixing the contact print processing

Posted By Greg Lehey

One of the side effects of Yvonne's photo spree of the last few days is that my contact print scripts can't handle the sheer number of images. They're written as PHP web pages, and we were getting: Request-URI Too Large The requested URL's length exceeds the capacity limit for this server. Took a look at the code, and discovered: function docontacts ($desc, $dirdate, $imagelist) {   $method = "get";                              /* transfer method.

Sat, 03 Oct 2015 00:49:17 UTC

Returning the lens cap

Posted By Greg Lehey

Clearly the new lens cap is useless. Time to initiate a return. To make it easier, it makes sense to send a couple of photos, roughly like the ones above. Fought my way through this emetic eBay form, climbed down the directory trees, and tried to upload the first image. No go: OK, try again, as they suggest. Well, a change of language helps, doesn't it? Additional retries alternated between English and German, and there was no way to break out of the loop.

Thu, 01 Oct 2015 23:32:57 UTC

Yet Another New Disk

Posted By Greg Lehey

The new disk for lagoon arrived today. I suppose it's a sign of the times that a 1 TB disk is now pretty much the lower size limit, and this one was only half the thickness of the one it replaced. What partitions? I've been recommending a two file system approach since the first edition of Installing and Running FreeBSD in nearly 20 years ago. In 2003, I changed from / and /usr to / and /home, implicitly leaving /usr in the root file system. That makes a lot of sense: despite the name, /usr now contains mainly system files, while user files are in /home.

Thu, 01 Oct 2015 00:57:11 UTC


Posted By Greg Lehey

For the past two months almost I've been trying to review The Practice of Cloud System Administration, by Thomas A. Limoncelli, Strata R. Chalup and Christina J. Hogan, for the The FreeBSD Journal. It hasn't been easy. Today was the deadline, and I'm glad I finally got something useful together. What's a cloud, anyway? A nebulous term. But the authors have addressed that in advance: you get a choice of two titles, and Designing and operating large distributed systems suits me far better. The difficulties don't reflect on the quality of the book, but because it comes from a perspective so different from my own.

Wed, 30 Sep 2015 00:02:39 UTC

Processing ridiculous numbers of photos

Posted By Greg Lehey

How do you process 600 raw images taken in low light? Using DxO Optics Pro, the answer is undoubtedly slowly. At ISO ratings up to 36°/3,200, you need the slower PRIME processing. Until a month or two back it took 4 minutes for dischord to process a single image, or 15 per hour. At that rate, it would take 40 hours to process the 600. And that's without the manual work, notably cropping. Since then, though, we have a newer, somewhat faster version of DxO, and a newer, somewhat faster machine, and now it only takes about 1S minutes per image, or only about 13 hours.

Tue, 29 Sep 2015 23:49:53 UTC

Where did my space go?

Posted By Greg Lehey

Yvonne continues to take lots of photos, and I've been processing them generically while she goes and takes more. Today there were 425 shots, making a total since Saturday of 1,638. Doubtless she'll make the 2,000 mark by the time the clinic ends tomorrow. How much space does that take up? Looking at the 16 GB memory card, it looks like almost all of it: === grog@stable (/dev/pts/0) /eureka/home/grog 3 -> mdir -s a: ...       425 files       5 539 585 350 bytes                         376 274 944 bytes free But wait.

Mon, 28 Sep 2015 00:09:53 UTC

YouTube lost

Posted By Greg Lehey

I took a few short video clips of the Borzoi family reunion on Friday, but didn't get round to uploading them to YouTube until today. And suddenly all my old videos were gone! It seems that, without telling me, YouTube has changed my name. I logged in via my Google account, and should have had the nick grOOgle, but instead it logged me with my own name. That in itself is not a big deal, but it means I can no longer modify my old videos.

Sun, 27 Sep 2015 23:47:38 UTC

YouTube regained

Posted By Greg Lehey

The main reason for the computer rearrangement was so that Yvonne could watch YouTube again. Tried it. Didn't work. But I had played around with this YouTube flash plugin. How do I disable it? It seems that about:addons (care, one :, not two) takes you to the Add-ons manager. I've never seen that before. From there you select Plugins and you have the opportunity to activate or deactivate the plugins. Why not just go straight to about::plugins? That's a purely informative view, and you can't change anything there. After deactivating the YouTube flash plugin, I was able to view YouTube with normal HTML5.

Sun, 27 Sep 2015 23:00:48 UTC

Three days of despair

Posted By Greg Lehey

There were still a few things I needed to complete the basic installation on despair, notably printer and scanner. As warned in the HOWTO, Microsoft fails on both counts. Installing the scanner was interesting. After downloading the driver, I got this meaningless message: How can I know what this is? Only because there's only the one possibility. But in fact it turned out to be wrong. After installation, the system complained that the driver still wasn't installed.

Sat, 26 Sep 2015 23:34:57 UTC

More despair

Posted By Greg Lehey

Yesterday's installation of despair went relatively smoothly, at least partially because I don't run many programs on it. But how do I copy the configurations, notably of DxO Optics Pro? I've had pain with that in the past, and I didn't want to go through it all over again. More investigation: apart from the Presets that I looked at last year, there are also Modules, descriptions of corrections for camera/lens pairs, and Workspaces, the contents of which aren't quite clear, so I tarred up the entire directory /Users/grog/AppData/Local/DxO_Labs/DxO OpticsPro 10 on dischord and copied those directories to despair. That was almost enough: there's also a file user.config in a directory with a name like Users/grog/AppData/Local/DxO_Labs/DXOOpticsPro.exe_StrongName_ukk25szwn2bgpjt3ra3fcszlyidqqavr/, which suggests security through obscurity.

Sat, 26 Sep 2015 00:02:23 UTC

Chrome revisited

Posted By Greg Lehey

Comment from Peter Jeremy today: it is possible to get chromium to play nice with X window managers. My experiments yesterday omitted an important, undocumented detail: the settings won't completely take hold until you restart the browser. And they, yes, there's a normal window frame. In passing it's interesting to note that so many Microsoft-space windows don't have a title. You have to guess what they are based on other characteristics. And so many have their own decorations. Does that come from a time when Microsoft didn't provide window manager functionality? All in all, I'm amazed how primitive the windowing environment appears.

Fri, 25 Sep 2015 22:56:03 UTC

Confronting despair

Posted By Greg Lehey

As expected, the new computer arrived today, so in to Napoleons to pick it up. It's pretty much exactly what I expected, and looks very similar to swamp: That's despair on top. Inside the box, though, the difference in age is clear more by the specs than the appearance. Both boxen can be taken apart to a great extent without tools, though I have the feeling that the new one is flimsier.

Thu, 24 Sep 2015 23:50:23 UTC

Still more browser stuff

Posted By Greg Lehey

In principle, I've done what investigation I can of web browsers, but there are still a few things to follow up. Message from Rodolfo Gouveia pointing out that chromium has a settings option Use system title bar and borders. OK, ignoring the fact that it's confusing system with window manager, let's try it: And how about that, most of chromium's own decorations go away. Here's before and after: But it doesn't deliver.

Thu, 24 Sep 2015 01:18:38 UTC

Browser woes continued

Posted By Greg Lehey

I established a number of things about my browser issues yesterday, few of them pleasant. But there's another angle: until recently, there was no problem playing YouTube videos on this box. What has changed? I had noticed that we were no longer running npviewer.bin and guessed that it was displaying the clips with HTML5. Is that right? Is there a way to change it? Went searching and found this YouTube video, which I was able to view on eureka: It pointed me at a special plugin to use flash for YouTube (doesn't that say something about compatibility?)

Thu, 24 Sep 2015 00:10:26 UTC


Posted By Greg Lehey

As planned yesterday, got round to ordering a new machine for photo processing today. There are a lot of machines on eBay with similar specifications: Intel Core 2 processor, 4 GB memory, enough disk for it not to be an issue. But how fast are the processors? Compared a number of items and found: Item       Processor       CPUMark       Memory       Price 171852222019       Core 2 Quad Q9400 ...

Tue, 22 Sep 2015 23:25:59 UTC

Browser agony

Posted By Greg Lehey

Mail from Didier Legrand today, pointing me at this article on the FreeBSD forums. But it wasn't easy to look at: What's that? Went looking everywhere before I discovered that the problem was specific to this instance of firefox. chromium and other versions of firefox didn't have that problem, even though they all go through the same proxy. Another bug, it would seem, but this time with an old version. The article discussed firefox performance problems at length, and some people traced it to a compilation issue with audio/alsa-plugins.

Tue, 22 Sep 2015 00:26:06 UTC

Microsoft backup fail

Posted By Greg Lehey

I do a backup of dischord, my Microsoft box, every Sunday evening. Well, almost: I suppose that backups don't fit into the Microsoft mentality, but that is really bare-bones. Even the 32 bit hex error number (didn't they go out round 40 years ago?) , which you only get if you click show details, doesn't help. This page suggests it's due to misconfigured system files. If that's the case, why doesn't it say so? But searching for microsoft error code 0x8007013D brings only discussions, nothing at all from

Mon, 21 Sep 2015 00:28:56 UTC

Guess your nationality, Facebook style

Posted By Greg Lehey

Somebody posted this URL on Facebook today. 15 questions or so, mainly technical or historical, and all very easy. Two of them were obviously US-centric: when the declaration of independence was signed (which declaration of independence?) , and in which hand the Statue of Liberty holds her torch. That was the only one I couldn't answer off the top of my head, and I assume that I got all the answers right. The result? Why Japanese? None of the other questions showed any national bias at all. And the original poster thought that the questionnaire itself came from Sweden. But then it wouldn't take for granted that some things are US American.

Mon, 21 Sep 2015 00:23:04 UTC

Browser pain revisited

Posted By Greg Lehey

Now that I have X running on stable, I can compare browser performance. Went to the same YouTube video that caused lagoon to hang. It didn't hang. But it used an inordinate amount of CPU time:   PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND  2361 grog           64  20    0   829M   355M uwait   0  10:16 150.00% firefox  2323 root            1   4    0   131M 51104K RUN     1   1:10  13.87% Xorg And it stayed there, bouncing a bit between 120% and 150% CPU.

Sun, 20 Sep 2015 23:41:00 UTC

pkg: not there yet

Posted By Greg Lehey

While getting X running on stable, discovered that xearth wasn't installed. OK, that's trivial: === root@stable (/dev/pts/0) /etc/X11 14 -> pkg install xearth ... New packages to be INSTALLED:         xearth: 1.2         jpeg-turbo: 1.4.1 Installed packages to be UPGRADED:         wx28-gtk2: 2.8.12_5 -> 2.8.12_6 Proceed with this action? [y/N]: y Fetching xearth-1.2.txz: 100%  111 KiB 113.5kB/s    00:01 Fetching jpeg-turbo-1.4.1.txz: 100%  270 KiB 276.5kB/s    00:01 Fetching wx28-gtk2-2.8.12_6.txz: 100%    2 MiB 312.8kB/s    00:07 Conflicts with the existing packages have been found. The following 5 package(s) will be affected (of 0 checked): Installed packages to be REMOVED:         gnuplot-4.6.6_1         hugin-2013.0.0_6         audacity-2.1.0_4         xchm-1.23_2 New packages to be INSTALLED:         xearth: 1.2 Proceed with this action?

Sun, 20 Sep 2015 23:33:51 UTC

X on stable

Posted By Greg Lehey

Why couldn't I run X on stable? In principle X should now start without any configuration file at all. Removed the badly designed configuration file, and there was no change: I had an old /etc/xorg.conf, and coincidentally it contained a 2 head configuration. Removed that, and X started with no problems. Did X -config get confused by it? Unfortunately, the problems aren't over. Switching to a different virtual terminal freezes the display. But at least I now have a way to compare the browser problems on lagoon. ACM only downloads articles once.

Sun, 20 Sep 2015 23:26:55 UTC

Understanding PHP error messages

Posted By Greg Lehey

The source of this diary includes a liberal spreading of PHP calls, like this present one:       <?php pubdate ("2015-09-20T23:26:55+00:00"); ?>       <?php texttopic ("co", "Understanding PHP error messages"); ?>       <p>         The source of this diary includes a liberal spreading of <?php href ("",         "PHP"); ?> calls, like this present one:       </p>       <?php endtopic (); ?> So it's clear that there's a good possibility of getting errors, and the parser is always good for cryptic messages unrelated to the user's view of the syntax.

Sun, 20 Sep 2015 23:12:24 UTC

Revisiting OI.Share

Posted By Greg Lehey

Yesterday's selfies were greatly hampered by the lack of viewfinder. But there's a solution to that: use a smart phone or tablet and OI.Share. Tried that again today. What a pain these Android devices are! Tried to connect to the camera, and it failed. Why? It's far too sensitive of my feelings to upset me with the truth, so it said nothing. But the camera has been repaired since the last time I used it, so it seems reasonable to guess that the password has changed. How do you update the stored password? After 15 minutes messing around with the damn thing, I still couldn't find a way.

Sun, 20 Sep 2015 02:26:14 UTC

Configuring X

Posted By Greg Lehey

Another alternative for Yvonne is to give her stable, the machine that I use for software upgrades. But I've never run X on it: I just access it from eureka. Ran X -config and tried to run the resultant configuration file. It crashed. Further examination showed that it didn't recognize the (Intel) chip set, and it created a multi-headed configuration for a single-head chip and a single monitor. People, I've really been running X for over a quarter of a century, since April 1990. When I started using BSD not quite 24 years ago, I had some difficulties, which in those days didn't surprise me.

Sun, 20 Sep 2015 02:02:45 UTC

No Youtube!

Posted By Greg Lehey

Yvonne recently told me that she can no longer view YouTube on her machine. And it's been like that for a while, so I don't even know what could have caused it. Checked and confirmed that it didn't work. firefox started off using 400% CPU (quite a feat on a single processor machine), and apparently the system didn't have enough power to run it. Now I've seen this before, but it ran until recently. There was some talk on IRC a while back about firefox problems, but I was able to repeat the problem with chromium and Opera. Problems with npviewer.bin?

Fri, 18 Sep 2015 01:02:06 UTC

Blast from the past

Posted By Greg Lehey

Round 20 years ago, Microsoft discovered the Internet and embarked on a campaign to bend it to its own ideas. One of the innovations was the graphical mailer, preferably in HTML. We were young and foolish in those days and thought that we could teach people the errors of their ways. Thus I wrote a number of pages explaining to people how to configure and use their MUAs. They're completely out of date now, but I've left them there for historical interest. And today I got an error message: missing image in (written in February 2000 by Wes Peters). I've fixed that, but reading the old documentation shows me how little has changed: just the names of the products.

Thu, 17 Sep 2015 00:20:25 UTC

Measuring air speeds

Posted By Greg Lehey

I still have a number of issues with JG King, including the extremely poor throughput of the range hood. The service people didn't even try to measure the throughput: they only checked whether it could hold A4 paper against the filter (result: 1 out of 3 filters managed it, and that was good enough for them). At the beginning of last month I ordered an anemometer on eBay, and it didn't arrive until yesterday evening. OK, let's measure the throughput. As discussed last month, the air flow through the air conditioner filter should be 2.5 m/s. Clearly it won't be even across the whole surface, so I divided each panel into 9 sections and measured the throughput at the centre of each section.

Tue, 15 Sep 2015 00:46:20 UTC

DxO memory leak?

Posted By Greg Lehey

DxO Optics Pro seems to get slower the longer you use it. I don't really understand Microsoft, but at least the Windows Task Manager produces some useful output. Today I took a look at memory usage: This starts when DxO was running but idle, and system memory use was round 6 GB. I stopped it (big step downwards, to about 3 GB), and then restarted it and allowed it to become idle again (4.4 GB). So has it really leaked 1.6 GB of memory?

Sun, 13 Sep 2015 01:02:38 UTC

Anatomy of a snipe

Posted By Greg Lehey

I'm looking for a new lens for Yvonne again. The standard 14-42 mm lens on her Olympus E-PM2 makes the camera too big to fit into a jacket pocket. I had previously rejected the M.ZUIKO DIGITAL ED 14-42mm f3.5-5.6 EZ because it had electric zoom. Instead, in succession I bought a 15 mm body cap lens with particularly bad optical properties, and later a M.Zuiko Digital 17mm F2.8 Pancake lens. They're both much smaller, but the 17 mm is of course not a zoom, and it still has the issue of the particularly fiddly lens cap. The 14-42 EZ comes with an optional automatic lens cap.

Wed, 09 Sep 2015 00:58:23 UTC

iTunes again?

Posted By Greg Lehey

My investigations of CD databases established what I knew years ago: the CDDB database format is poorly adapted to classical music. But I can't access Gracenote because it's commercial. On the other hand, programs like iTunes do have access, and I have an old, mouldy Apple PowerMac G4 lying around, and it has iTunes, of course. Spent some time connecting it upit seems it's been about 9 months since it was last powered onand rediscovered some of the nice, intuitive Apple features that I had happily forgotten. The display driver seems to ignore EDID, and the highest resolution I could get out of it was 1280×1024this on a 1920×1080 display, so the aspect ratio was terrible.

Tue, 08 Sep 2015 00:21:14 UTC

Updating ports, a year later

Posted By Greg Lehey

FreeBSD's new pkg facility has gradually settled down, and I can keep my ports up to date with minimum impact. But today we had a different issue: Chris Bahlo wanted to install sudo on Why? Real BSD users don't use sudo. But it's trivial to install: pkg install sudo. Well, that's what I thought. The ports on www date back to January 2014. It first wanted to modify 116 packages, including removing Emacs and Apacheand not reinstalling them! Exactly what you want for a web server machine. OK, let's upgrade the Ports Tree. How do you do that? With subversion, of course. Not installed.

Mon, 07 Sep 2015 23:15:20 UTC

More ripping fun

Posted By Greg Lehey

Ripping CDs with ripperX is relatively straightforward. There are two main issues, one serious, the other less so. The less serious one is that handling is less than completely smooth: CDs aren't recognized immediately, and I still need to tell it to look up the tracks (two mouse clicks). And when the CD is finished, it doesn't eject automatically. grip can do all thatif it works at all. Tried building it from the ports collection. Bingo! It workedsort of. For some reason, after recognizing a CD, the display cycled continuously through all tracks. It didn't stop it working, but it was irritating.

Sun, 06 Sep 2015 23:08:01 UTC

Ripping CDs, revisited

Posted By Greg Lehey

Some years ago I played with copying my CDs to disk for easier access. The results were not encouraging. My first attempts were with iTunes, and they drove me to distraction. It wasn't all iTunes' fault: the CD database (in this case Gracenote) made it almost impossible to understand the output. Later I tried grip, though the only mention of it in my diary was of failure. Tried it again today. It couldn't find the CD device, because my config file contained /dev/acd0 instead of /dev/cd0. OK, fix that. But it didn't seem to care. On the other hand, it offers a whole lot of configuration tabs in its interfacebut not a way to save the configuration!

Sun, 06 Sep 2015 00:12:59 UTC

Fixing the RSS feed

Posted By Greg Lehey

More information from Rodolfo Gouveia today, mail forwarded from the developer of his RSS reading app. When reading an RSS feed with a smart phone, there's a question of storage usage, which is why his app stops after 30 items. That got me thinking: my strategy is to assume that some people will only read my diary infrequently, so just feeding the last two days could result in items getting lost. Instead, my feed comes from the monthly diary, and for good measure it includes the last week of the previous month. That can result in files of over 100 kB in size.

Wed, 02 Sep 2015 00:38:54 UTC

RSS reader problems

Posted By Greg Lehey

Mail from Rodolfo Gouveia today. He's been reading this diaryfor 10 years!via the RSS feed, and his RSS app (apparently on iOS) displays my feed (and apparently only my feed) in chronological order. That's particularly bad for him, because the feed has dozens of items, and the app only displays the first 30. I write the diary in chronological order, of course: it's a chronology, and I have a horror of reverse chronological documents. But RSS should go by publication date. I tried it with NewsFox, and it worked as expected. Bad app? Maybe. The developer of the app suggested using Feedly, which at least suggests that it's not a configuration issue.

Tue, 01 Sep 2015 01:29:59 UTC

GPS: Use Google Maps

Posted By Greg Lehey

Considerable commentary on IRC today about my last rant on GPS navigation. Andy Snow said that Google Maps on Android was the answer to all my issues. That hasn't been my experience in the past, but it was worth trying again. Tried the route from here to Steve Zuideveld in Warrandyte. It gave me a nice, clean map of the start of the journey, with directions on the left, just like I know from Google maps on a real computer: But how do I show the whole itinerary?

Sat, 29 Aug 2015 23:30:12 UTC

GPS navigators: violation of POLA

Posted By Greg Lehey

It's been over five years since I bought my first GPS navigator. Since then I have bought two more, not counting the Android tablet that can also run GPS navigation apps. After that time, I still have serious issues with them. What do I want from a navigator? Here's a start: At the very least, I need a substitute for paper maps, for whatever purpose I want to use them. I want to be able to plan trips. Start here, go there.

Sat, 29 Aug 2015 03:10:39 UTC

More GPS navigator fun

Posted By Greg Lehey

How do you get from Dereel to Warrandyte? Let me count the ways. Warrandyte is on the other side of Melbourne from Dereel, and we have the choice of fighting our way through the west of the city (thanks, State Government, for spending hundreds of millions of dollars to cancel the freeway extension that would have made it bearable), or drive round to the north-east end of the ring road and then fight our way across country for another excruciating 20 km from Watsonia North to Warrandyte. Today we travelled via Watsonia North with two different GPS navigators, each of which wanted to go a different way once we left the freeway.

Tue, 25 Aug 2015 23:14:04 UTC

NBN charter and reality

Posted By Greg Lehey

A surprising number of people in Dereel can't get NBN access. Some, like Stewart Summersby, are in a dip and have no adequate visibility (line of sight) to the tower. But it seems that a large proportion of the problems are due to trees, which are up to 25 m high. But wait. Before building the tower, people came out here and took a look. They saw the trees. They saw the lie of the land. And they decided on a location for the tower, along with a coverage map, which currently looks like this: The map keeps changing, and is wildly inaccurate, as I've commented in the past, but the updates don't show the reality of the areas with demonstrated lack of coverage.

Tue, 25 Aug 2015 00:13:52 UTC

Old computers, the third

Posted By Greg Lehey

I built my third computer in 1980. It was also an S-100 bus machine, this time with an Intel 8086 processor. This was very much cutting-edge technology at the time, and there wasn't even an operating system for it. For whatever reason, Gary Kildall of Digital Research wasn't overly keen on releasing CP/M-86, and so the offer I had, from a small company called Seattle Computer Products, was a two board set with their own operating system called 86-DOS. I was a little dubious about that, and some time round October 1980 I called the company and spoke with Tim Paterson.

Mon, 24 Aug 2015 00:30:45 UTC

Old computers: Number 2

Posted By Greg Lehey

As I mentioned yesterday, it proved impractical to expand my Kontron kit computer, I only had 1.25 kB of memory, and expanding it would have been really expensive. Then I saw an advertisement in Byte: 32 kB of memory on four boards for only $790! The problem was that it was for the S-100 bus. But that was so much cheaper that I decided to migrate. It wasn't all progress: in those days the S-100 bus was so flaky that it was difficult to run a Z80 faster than 2 MHzand that where my Kontron CPU managed 4 MHz! But in the course of time I built up a reasonable system.

Mon, 24 Aug 2015 00:13:36 UTC

Don't invent email addresses!

Posted By Greg Lehey

A few years back I had a rather interesting exchange of views with Mark Teel, the author of the wview weather station software. It was remarkable enough that I published the mail exchange. Of course, I changed the email addresses. Mine is easy:, which also serves as a honeypot. But I changed his to a fictive gmail address. Bad idea. It wasn't that fictive after all, and the real owner contacted me today, justifiably complaining about the fact that he was made to look like an idiot, but also that he was getting spammed as a result. Why did I do that?

Sun, 23 Aug 2015 00:42:15 UTC

1970s personal computers

Posted By Greg Lehey

Unpacking the removal cartons in the music room (or should we call it library?) is progressing, and in the process I keep finding old stuff. Today there was a collection of old computer boards representing most of my first three computers. I must have got the first machine some time in April 1977. It was made by Kontron and designated kit. It was a 4 MHz Z-80 based single board computer with 256 bytes each of RAM and ROM, and also serial and parallel interfaces, all on a Eurocard board 10×16 cm in size: The CPU and ROM are missing on this board.

Mon, 17 Aug 2015 20:41:24 UTC

What protocol?

Posted By Greg Lehey

Peter Jeremy is currently messing around with arcane net configurations. I haven't been following carefully, but he mentioned that he is happy that his ISP doesn't block IP protocol 41. That's a leading question, of course. What's protocol 41? Took a look in /etc/protocols and discovered that it's IPV6. OK, why not? But then something else caught my eye: # $FreeBSD: src/etc/protocols,v 1.22 2007/05/20 03:55:22 grog Exp $ That's my login. I can't recall ever having done anything with /etc/protocols. OK, we have a date. What did I do on 20 May 2007?

Sun, 16 Aug 2015 00:31:30 UTC

Unix-based mallet

Posted By Greg Lehey

One of the weirder entries in the BSD calendar files regards yesterday: Aug 14  First Unix-based mallet created, 1954 We've puzzled about it in the past. The FreeBSD project has a member called Juli Mallett, but she was born over 30 years later, and she doesn't understand the entry either. But Google keeps growing, and finally I found this page, reaped by, via this page. Finally the mystery has been uncovered, but like so many, the result is less than exciting. ACM only downloads articles once.

Wed, 12 Aug 2015 22:48:41 UTC

More VoIP debugging

Posted By Greg Lehey

A call from Farnaz of MyNetFone this afternoon, wanting to speak to CJ regarding his fault. I explained that he wasn't here, so she wanted his phone number. I explained that his phone didn't accept incoming calls, so she read the ticket (finally) and told me that the reason he couldn't make any calls was because his ATA wasn't registered. I asked her to read the rest of the ticket and note that he can place outgoing phone calls. Finally she agreed to send him email and get him to call them. About the only sensible thing she said was that my suspicion that the change of port from sip to sip-tls was not the cause of the problem.

Mon, 10 Aug 2015 22:53:31 UTC

More VoIP debugging

Posted By Greg Lehey

CJ Ellis has a strange problem with his VoIP connection: it works normally for outgoing calls, but incoming calls are rejected. I took a look at his ATA and found nothing wrong. So called up MyNetFone support, who told me that the line wasn't registered. That's clearly wrong, since CJ can call out with it. My guess at this stage is a misconfiguration at the server end, possibly related to the port number: he had been receiving spam calls on port sip (5060), so he had changed to 5061 (ostensibly sip-tls, but without TLS). It's almost exactly a year since he got the service; is that a coincidence?

Sun, 09 Aug 2015 23:54:49 UTC

Porting again

Posted By Greg Lehey

The current version of Hugin in the FreeBSD Ports Collection is 2013.0.0, two years old. It's always a pain to update the port, because of the dependencies. Tried today and discovered that it didn't like the current version of libpano13. OK, no worries, let's update it. ===>   An older version of png is already installed (png-1.6.17)        You may wish to ``make deinstall' and install this port again        by ``make reinstall' to upgrade it properly.        If you really wish to overwrite the old port of png        without deleting it first, set the variable "FORCE_PKG_REGISTER"        in your environment or the "make install" command line.

Sun, 09 Aug 2015 23:38:27 UTC

Arranging events via Facebook

Posted By Greg Lehey

Chris Bahlo arranged a seminar on (horse) saddles and saddle fitting for today. Margaret Swan (who lives about 450 km away) is here this weekend, and Nele Kömle also braved the over 100 km from Garvoc to attend. In addition, Chris had advertised on Facebook and had a further 8 registrations from people round here. Who came? Margaret and Nele. Not a single local person showed up. No apologies, just no show. Is this typical of the Facebook mentality? ACM only downloads articles once.

Fri, 07 Aug 2015 02:26:58 UTC

CAV complaints: the pain

Posted By Greg Lehey

So it's time to file formal complaints about JG King's lack of problem resolution. Went to the CAV Building disputes, defects and delays page, where they asked me to fill out a Domestic building complaintin Microsoft Word format! OK, I have a Microsoft box now, so loaded it there. What did I get? That's what Microsoft does with its own formats! Not only that, but it seems that it then corrupted the file, so I couldn't process it with other programs either. In the end I downloaded it to eureka and processed it with OpenOffice. That's still painful, and for some reason the form insists on mutilating my correct dates: 20 July 2014 gets truncated to 20/07/14, although the former is the preferred format for use by Australian Government Agencies.

Thu, 06 Aug 2015 00:20:01 UTC

Spam traps

Posted By Greg Lehey

In this diary, I change my real mail addresses to On my home page I mention the mail address Both, of course, don't exist. And how about that, my caution was warranted: Aug  5 04:31:35 www postfix/smtpd[62315]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Aug  5 04:33:16 www postfix/smtpd[62360]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Aug  5 04:37:37 www postfix/smtpd[62315]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=SMTP helo=<hn.kd.ny.adsl> Aug  5 05:29:58 www postfix/smtpd[63373]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Aug  5 06:27:46 www postfix/smtpd[64083]: NOQUEUE: reject: RCPT from unknown[]: 450 ...

Thu, 06 Aug 2015 00:14:35 UTC

Spam traps

Posted By Greg Lehey

In this diary, I change my real mail addresses to On my home page I mention the mail address Both, of course, don't exist. And how about that, my caution was warranted: Aug  5 04:31:35 www postfix/smtpd[62315]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Aug  5 04:33:16 www postfix/smtpd[62360]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Aug  5 04:37:37 www postfix/smtpd[62315]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=SMTP helo=<hn.kd.ny.adsl> Aug  5 05:29:58 www postfix/smtpd[63373]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Aug  5 06:27:46 www postfix/smtpd[64083]: NOQUEUE: reject: RCPT from unknown[]: 450 ...

Thu, 06 Aug 2015 00:11:07 UTC

More AusPost online fun

Posted By Greg Lehey

I've already noted that Australia Post has an option to send you tracking information on parcels. A couple of weeks ago I tried it with some parcels I had send. No response. Today I got one, though: a parcel delivered to me. So it seems that this tracking information only works for parcels sent to me. What good is it to tell me I have received a parcel? ACM only downloads articles once.

Wed, 05 Aug 2015 23:14:14 UTC

Communication, Government style

Posted By Greg Lehey

A message in my inbox this morning. It's worth including the entire text: To: <> From:<> Reply-To: Subject: New Centrelink letter available online Date: Wed, 5 Aug 2015 13:13:49 +1000 Please DO NOT REPLY by email as this mailbox is not monitored. This is a message from the Department of Human Services. You have a new Centrelink letter available online. You should view your letter as soon as possible. You may view your letter by going to: -    the Inbox in your myGov account. If you do not have a myGov account, you will need to create one first by going to the myGov website and then linking it to Centrelink -   one of our Express Plus mobile apps.

Tue, 04 Aug 2015 00:32:42 UTC

Off the net again!

Posted By Greg Lehey

Zhivago wasn't the only problem this morning. After we had looked at him, Yvonne told me we were off the net. Again! How do I even contact Aussie Broadband to tell them? It proved that I did have adequate mobile phone coverage in the garden (out towards Wendy's house), and I left a message. Of course network connectivity came back before anybody seemed to have looked at it again, but it was still nearly 70 minutes without coverage. What was the cause? I've had (a very few) cases where the NTD status indicators showed some connectivity problem with the tower, but here there were no problems.

Sat, 01 Aug 2015 01:37:15 UTC

Connecting the fire-fighting tank

Posted By Greg Lehey

Craig Mayor along today and connected up the fire-fighting tank. Now the high-pressure side of the irrigation system is complete, so we started filling it up. The bore produces quite a bit of water, 0.5 l/s, or 1800 l/h. But the tank holds 10,000 l, so it took over 5 hours to fill up. One of the questions I had was: was there a float valve inside? It's sealed, so the only way to find out was to fill it up and see what happened. There is either no float valve, or it's incorrectly adjusted: OK, I was expecting that.

Wed, 29 Jul 2015 01:00:23 UTC

Change of address, bureaucratic style

Posted By Greg Lehey

Since moving house, there are hundreds of people I need to inform about our change of address. It's not overly urgent: mail will be forwarded until the end of May 2016, but gradually we should do something about it. Today we received no less than 4 letters from Centrelink, probably a good candidate to start with. Based on my prior experience with their web site, I asked Google instead. And that took me to this page, explaining that I should go to instead and update addresses with multiple agencies with one fell swoop. It went into extreme detail about what could go wrong and what to do if it did.

Mon, 27 Jul 2015 22:49:45 UTC

Retail sales in the Internet age

Posted By Greg Lehey

To Masters today to pick up an eBay purchase. Huh? Masters is a normal Home Improvement shop, part of the Woolworths conglomerate. What do they have to do with eBay? They have a shop on eBay where they sell things that aren't in their normal catalogue, and they'll either send it to you normally, at a normal price, or you can opt to save money and pick them up at a shop of your choice. That's what I did today: I had bought a sprinkler controller for $55, while the closest comparable one in their catalogue cost $108. I suspect that mine is last year's model, but that's OK; that applies to a number of things on eBay.

Sun, 26 Jul 2015 23:43:31 UTC

Getting information from Microsoft

Posted By Greg Lehey

People discussed yesterday's Microsoft adventures on IRC. Jamie Fraser came up with some information that I'll keep for next time: <fwaggle> grog needs pci ids under windows? i solved this problem ages ago. C+P from my  notes: right-click My Computer and choose properties. Then, go to the Hardware  tab, and pick Device Manager.  Navigate to your unknown device, double-click it  and then pick the Details tab. Find the Hardware Ids entry, and look for the  most detailed entry. My shitty SiS network adaptors is PCI\VEN_1039&DEV_0900. ACM only downloads articles once.

Sun, 26 Jul 2015 00:03:38 UTC

Installing Microsoft again

Posted By Greg Lehey

After yesterday's fun came the immense fun of installing Microsoft again. It started off badly: when it got to choosing the disk, once again it claimed that there were no disks. But I discovered that it works better if you plug it in, and after that it went off and did its installation. And of course I had to enter this license key thing. As instructed on the OEM box, the sticker was to be removed and attached to the computer somewhere, in this case on top of the case. How do you read that? It was in the shade, on its side, and in a small enough font (about 6 pt) that not only old fogeys like myself can't read it, especially when the font makes it difficult to distinguish between B and 8: ...

Sat, 25 Jul 2015 01:45:11 UTC

Recovering the Microsoft box

Posted By Greg Lehey

As Juha Kupiainen had suggested, took a look at Shaun O'Connor's computer today to see if it understood RAID. Yes! But as I had feared, that was just the first half of the problem: How do I bring the member back online? The menu offers Recovery Volume Options, but that just gives the option to create a backup. Once it's down, there seems to be nothing in the BIOS that can recover it.

Thu, 23 Jul 2015 23:05:03 UTC

BigPond: Go away!

Posted By Greg Lehey

Got a message from Warren Ure today, reporting discrepancies in traffic measurement between his mother and her (unspecified) ISP. Not surprisingly, the ISP claimed more traffic. I thought it might be something like my experience last year, where the router was compromised and used to relay traffic. But no, it seems not: she's on satellite, and the traffic is measured even when the modem is turned off. That doesn't make sense. Neither does the response of the ISP, claiming that there can still be traffic. Sent him a reply. <>: host[] said: 552     5.2.0 vj8v1q02L1sUVRc01j8wYc Suspected spam message rejected.

Thu, 23 Jul 2015 08:26:18 UTC

Understanding bad language

Posted By Greg Lehey

It's nothing new that Microsoft has obfuscated understanding file systems by referring to directories as folders, but today, while trying to find out how to work around Microsoft blockages and move a file from one directory to another, I got the message: Leave the file in the destination directory? Surely they mean the source directory. Have they reversed normal meaning, or is it typical of the quality of their messages?

Thu, 23 Jul 2015 08:20:32 UTC

Understanding the boot problems

Posted By Greg Lehey

While looking at the information I had about Shaun O'Connor's computer, I checked about the disks he had. WD1002FAEX. And they're 1 TB disks. So why did the fdisk output show 2 TB? Did Shaun accidentally overwrite the partition table? Juha Kupiainen came up with the most likely answer: the two disks are combined as RAID-0. That explains a lot of things, in particular why he couldn't boot after resetting the BIOS to default values (and yes, it does offer some kind of RAID). Of course, for every complex problem there's a solution which is simple, elegant and wrong. I didn't have time today, and I won't have time tomorrow, but hopefully we'll see a result on Friday.

Wed, 22 Jul 2015 01:14:57 UTC

Neighbourhood computer help

Posted By Greg Lehey

Shaun O'Connor, whom I don't know, sent out a request on Facebook today, looking for a PC repairman. Not quite my line of business, but in the interests of neighbourly help, I offered to take a look. He had had error messages relating to the first disk, which he couldn't interpret, and somebody online had suggested that he reset the BIOS to default values. That made a big difference: he could no longer boot at all: Can't load operating system; doesn't that help pinpoint things? The machine wasn't your run-of-the-mill system: big tower, 4 nVidia video cards (more than I have!)

Mon, 20 Jul 2015 23:33:30 UTC

Air conditioners in sub-zero environments

Posted By Greg Lehey

We normally turn the air conditioner (heating) off at night. But yesterday morning it took several hours for the house to get warm. Last night we left it running overnight, and that was just as well. The temperature dropped to a measured -2.3°, only 0.1° warmer than the previous night, and the air conditioner had difficulty keeping the temperature. One clear reason is that it took forever to de-ice. De-icing is essential for air conditioners heating: ice collects on the coil and needs to be removed again by reversing the coolant flow and passing hot coolant through the coil. In my experience, it takes a few seconds to melt the ice, and a little while to blow the resulting water off the coil.

Sun, 19 Jul 2015 23:50:04 UTC

Fully tested toner

Posted By Greg Lehey

My cheap (premium) toner cartridge for my laser printer has arrived: Good that it's 100% tested, but does that mean that it's now empty? I'm reminded of a Monty Python (I think) sketch from about 1972, taking off the fuel economy TV advertisements of the time (how far can I drive with 1 gallon of petrol?). In this case, the car carried on for 110,000 miles. Great enthusiasm on the part of the petrol company, but the driver said But look at my car!

Fri, 17 Jul 2015 00:44:41 UTC

FreeBSD code of conduct

Posted By Greg Lehey

Recently the current FreeBSD core team announced a (new?) code of conduct. On the one hand, it's good to make it clear that people are expected to behave, and the wording is mildly amusing: We do not believe anyone should be treated any differently based on who they are, where they are from, where their ancestors were from, what they look like, what gender they identify as, who they choose to sleep with, how old they are, their physical capabilities or what sort of religious beliefs they may hold.

Tue, 14 Jul 2015 00:30:55 UTC

Tidying the garage

Posted By Greg Lehey

Continued working on the garage in Kleins Road today, and got close to finishing it. At least we have the skip full, so the immediate pressure is off. It's still immensely painful throwing all this stuff out. I salvaged the Tandem LXN some time back, but I still have a Microvax II, a MIPS-2000 and a Control Data Cyber 910 (really a rebadged SGI IRIS). Here are the first two: As computers, any smart phone would run rings round them.

Mon, 13 Jul 2015 00:23:17 UTC

Web browsing with FreeBSD

Posted By Greg Lehey

Since upgrading her system, Yvonne has been complaining that Facebook videos don't work. Finally they've ventured to say that the flash plugin needed upgrading. It was wrong, of course: none was installed. OK, we've been through that before. But now we have PKGng to do it all for us. Simply: === root@lagoon (/dev/pts/2) ~ 2 -> pkg search flash dummyflash-1.0_5 ems-flasher-0.03_3 flash-0.9.5 flasher-1.3 flashrom-0.9.7_2 get_flash_videos-1.24.20120610 kipi-plugin-flashexport-4.2.0 py27-WebFlash-0.1a9_1 vrflash-0.20 xpi-flashblock-1.5.18 xpi-flashgot-1.3.7 Which of those is the flash plugin? None of them! For some reason, pkg doesn't supply it, and you have to install it the old way, from the Ports Collection.

Sun, 12 Jul 2015 00:05:45 UTC

Understanding DxO bugs

Posted By Greg Lehey

House photo day today, and lots of photos to process. One of them had an error while reading it in from the camera (why does this happen so often?) : only 2 MB of 18 MB got read. Not surprisingly, DxO Optics Pro complained. But I couldn't get it to forget, even after reading the correct image again. Finally something persuaded itmaybe it was just a timeout. And when I started processing, I got the message: Huh? Nothing obvious in the directory. Let it run, and at the end found: But there were only 69 images!

Sat, 11 Jul 2015 00:21:03 UTC

Avoid BigPond mail!

Posted By Greg Lehey

I've had several mail messages bounce recently, with messages like: <>: host[] said:     552 5.2.0 qWBp1q02u1sUVRc01WBr8n Suspected spam message rejected. IB704 (in     reply to end of DATA command) Why suspected spam? I've seen this before: their mail filters are so stupid that they don't recognize digital signatures when they see them. Their customers are typical non-technical, so they don't even give them the chance to choose for themselves. What advantage is the service? They would be much better off using gmail. More rants here.

Wed, 08 Jul 2015 23:32:21 UTC

eBay: your postage charges or ours?

Posted By Greg Lehey

My camera is sold again, for the third time, this time to a legitimate buyer in Australia. But he didn't pay immediately, so I decided to send him an invoice. And that offered only some express option for about $27. I had offered standard shipping, which eBay calculated at $16.20. Yes, I could change the shipping option, but it didn't get applied. Went through the maze of twisty little menus and found another page, print postage label, which also offered a comparison of postage charges. But they didn't match the Australia Post prices. Some were higher, some were lower. And then I found an indication that the buyer had specified express shipping.

Mon, 06 Jul 2015 23:38:31 UTC

Copying sparse files

Posted By Greg Lehey

I made the probably incorrect decision to copy my /home file system across the net, using a combination of tar to move large quantities of data and rsync to fill in the gaps. Speed was not a significant issue with tarI got up to 50 MB/sbut it was an issue with rsync, where speeds were closer to 3 MB/s. But it seems that rsync filled in the gaps too well: this morning I came in and found that the copied file system was 20% larger than the original. How could that happen? I have a number of files that are being loaded at a trickle by the BitTorrent protocol, which copies blocks at random.

Sat, 04 Jul 2015 00:37:06 UTC

Default UFS parameters

Posted By Greg Lehey

Every time I create a new UFS file system, I go through lots of RTFM. What are the optimal parameters? UFS is now over 30 years old. When it was written, a big disk was 300 MB in size. Now a small disk is about 1 TB. But the default inode count bases on the assumption that the average file is 4 fragmentsin this case, 16 kB. And there are these two parameters which seem to duplicate each other: -g avgfilesize specifies the average file size.

Fri, 03 Jul 2015 23:25:00 UTC

System upgrade: success

Posted By Greg Lehey

I've been meaning to upgrade our main systems for a year and a half. In that time I've maintained a development system, stable, that has been getting closer to its name as time went on. Today I finally finished preparing the new disk for lagoon, Yvonne's system. The steps were: Create a new disk on stable with five partitions: boot, two root file systems (each 40 GB in size), swap, and the rest as the /home file system.

Thu, 02 Jul 2015 23:36:33 UTC

More upgrade woes

Posted By Greg Lehey

I've been dragging my heelsagainwith updating Yvonne's computer, but it has to be done. I now have a disk I can put in there, containing a not quite up to date version of her /home file system, but it needs a system on it. Problem: the partition with the system I want to copy is on stable, which only has connections for one disk. I've been building the other disk images on swamp, but I can't easily copy partition contents from one system to another. OK, I have a SATA to USB adapterin fact, the one that came with the disk.

Mon, 29 Jun 2015 04:48:49 UTC

More Bluetooth fun

Posted By Greg Lehey

Try as I might, I can't adjust the volume of either of my Bluetooth headsets when connected to my Telstra 12850 phone. There are volume controls both on the phone and on the headsets, but they seem to be disabled when connected. And apart from that, the cheaper headset (BH-20) powers down when charging. Isn't modern technology wonderful? ACM only downloads articles once.

Mon, 29 Jun 2015 03:14:40 UTC

Another dying disk

Posted By Greg Lehey

Into the office this morning to find some admin mails with less pleasant content: (ada2:ahcich2:0:0:0): READ_FPDMA_QUEUED. ACB: 60 00 e2 9e d8 40 e6 00 00 01 00 00 (ada2:ahcich2:0:0:0): CAM status: ATA Status Error (ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 40 (UNC ) (ada2:ahcich2:0:0:0): RES: 41 40 f0 9e d8 00 e6 00 00 00 01 (ada2:ahcich2:0:0:0): Error 5, Retries exhausted g_vfs_done():ada2p1[READ(offset=1982953521152, length=131072)]error = 5 What's that? It's the disk with eureka's /home file system, about the worst thing that could go wrong. The only bright side is that it seems to be confined to a few sectors with information that isn't that important: it can easily be downloaded again.

Sun, 28 Jun 2015 03:20:14 UTC

Bluetooth headsets: solved?

Posted By Greg Lehey

Yvonne back from town today with a surprisingly expensive Bluetooth headset from ALDI. I already have one headset, but I couldn't get it to pair with my new telephone. Tried it with the new one: power on, search. Nothing. RTFM time. Ah, obvious: ensure that the headset is powered off. Hold down the power button for 3 whole seconds. The unit powers on and says so in this grating American female voice that seems so popular with this kind of device. And the well-hidden LED flashes blue, once, and then red at about 1 second intervals. But wait, we're not done.

Sat, 27 Jun 2015 00:59:45 UTC

Replacing Yvonne's disk

Posted By Greg Lehey

The 1 TB disk that Chris Bahlo brought back last night was the cheapest I could find, but it's not what I would typically associate with cheap disks: 2½", in an external case with USB 3 connection. Can I use that as a system disk? In principle it should work, so I built a file system on it and tried it out. Mess with BIOS to find how it wanted me to set the boot order, and off it wentat a snail's pace. The twirling baton reminded me of CD-ROM boot; even DVD boots are faster. But it loaded the kernel, and then tried to mount the root file system.

Fri, 26 Jun 2015 02:02:22 UTC

Disk crash, again

Posted By Greg Lehey

One thing that I didn't expect while installing Yvonne's office furniture was a disk crash on her system lagoon. The system came up again, but with lots of disk errors (which for some reason once again manifested themselves as Out of inodes). I've had this before, but managed to get it to go away by connecting the disk to a different controller, and thought so little about it that I didn't even bother to mention it. Today it wouldn't go away: the disk is toast. Why didn't I buy a new disk when it happened last time? Managed to resurrect an older incarnation of lagoon and restore her personal files, so she can work again.

Thu, 25 Jun 2015 00:19:50 UTC

Bluteooth pain

Posted By Greg Lehey

Some weeks ago I bought a new phone, specifically because of its Bluetooth connectivity. Problem: I had mislaid my Bluetooth headset. Today I found it, charged it, and tried to pair. Nothing. Tried with my Android tablet. No problem. I've heard of issues pairing with Bluetooth, but it's particularly difficult to debug when both devices are so primitive. Hopefully I'll find a different headset that works with the phone. ACM only downloads articles once.

Tue, 23 Jun 2015 02:39:52 UTC

eBay fraud, helped by toy mail

Posted By Greg Lehey

On Wednesday I sold my camera again. But the new buyer still hasn't paid for it. Sent him a couple of invoices, and got a familiar looking message, here nicely formatted by Gmail: Account restored? I've seen that before. And somehow the headers are so minimal that I didn't look at them. On a real MUA they look more interesting (trimmed here, of course): From  Sun Jun 21 16:05:07 2015 ... Received: from ( [])         by (Postfix) with ESMTP id 49AB91B72848         for <>; Sun, 21 Jun 2015 06:00:34 +0000 (UTC) Received: by wicgi11 with SMTP id gi11so48713899wic.0         for <>; Sat, 20 Jun 2015 23:00:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;    ...

Mon, 22 Jun 2015 03:05:29 UTC

LED brightness revisited

Posted By Greg Lehey

It's been nearly a month since I compared the brightness of a number of different lighting sources. Now all we have is (mainly) LED and fluoro globes. But it's clear that LED is taking over. This weekend ALDI had LEDs on special again, so I got a few more. They're all rated at 880 Lumen/10 W. Yesterday I had put one in an old reading lamp in replacement for the fluoro lamp that was in there. Big difference; the old one is probably one of the old IKEA lamps that I had already found so dim. Today I wanted to replace the lamps in the pantry, which also seemed dim.

Sun, 21 Jun 2015 00:14:19 UTC

Understanding the DxO problem

Posted By Greg Lehey

My response from DxO support today wasn't very helpful: he had closed the ticket, and no longer understood what the problem was. Still, weekend, so time to describe things. But first an experiment: try the conversion with the standard conversion settings. And how about that, it worked! Back to my custom settings, and once again it didn't work. But the dimensions were also not the same as they had been before: the images with the different sizes (now clearly 2 pixels higher than the others) were different. OK, we can send in the custom settings. I wonder if they'll fix it.

Sat, 20 Jun 2015 00:54:13 UTC

DxO problem resolution

Posted By Greg Lehey

Got a reply to my three tickets for DxO Optics Pro today. Two of them were closed! The only one left open was the can't install update one. Suggested resolution: remove the old version completely from my system, then download a specific file and try to install it. And if it doesn't work? I have no photo processing software any more. Tried the download and installed without first removing the old version; fortunately it worked. But the other two problems are still there. And of course the ticket with the sample files has been closed. I hope they can still access them.

Fri, 19 Jun 2015 01:19:59 UTC

DxO pain

Posted By Greg Lehey

I've taken a macro focus stack of a eucalyptus flower. First step in merging the images is align_image_stack. But the result wasn't quite what I expected: === grog@eureka (/dev/pts/14) ~/Photos/20150616 71 -> align_image_stack -m -a FOO C/Eucalyptus-flower-* Assertion failed: (nextImgInfo.size() == firstImgInfo.size()), function main2, file /src/FreeBSD/svn/ports/graphics/hugin/work/hugin-2012.0.0/src/tools/align_image_stack.cpp, line 569. Abort trap: 6 (core dumped) Further investigation showed that the images really differed in size: === grog@eureka (/dev/pts/14) ~/Photos/20150616 72 -> identify orig/*jpg orig/P6161378.jpg JPEG 4608x3456 4608x3456+0+0 8-bit DirectClass 3.397MB 0.000u 0:00.000 orig/P6161379.jpg[1] JPEG 4608x3458 4608x3458+0+0 8-bit DirectClass 3.452MB 0.000u 0:00.000 (etc) Another bug in DxO Optics Pro!

Thu, 18 Jun 2015 23:51:22 UTC

vigra problems, Yet Again

Posted By Greg Lehey

I maintain the FreeBSD port of enblend, not the easiest port to maintain. Recently, after an update to the dependent port vigra, the configuration failed: checking for Vigra import/export-library... no configure: error: libvigraimpex is required to compile Enblend. ===>  Script "configure" failed unexpectedly. Huh? The vigra had been installed. The real information was in the log file: configure:5539: checking for Vigra import/export-library configure:5553: c++ -o conftest -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wno-c++11-extensions -I/usr/local/include  -fstack-protector conftest.cpp -lvigraimpex -llcms2 -ltiff -lpng -ljpeg -lz -lgsl -lgslcblas -lm -L/usr/local/lib -lboost_system >&5 /usr/local/lib/ undefined reference to `std::__1::basic_ios<char, std::__1::char_traits<char> >::widen(char) const' c++: error: linker command failed with exit code 1 (use -v to see invocation) So it was just a simple test program intended to detect whether vigra was installed, and the config ...

Thu, 18 Jun 2015 00:24:46 UTC

Hardware problems in the Good Old Days

Posted By Greg Lehey

There's a fair amount of activity on the Unix Heritage Society mailing lists at the moment. I've been able to get rid of my old 4.4BSD and X manuals several times over. And somebody posted this link to an article by Brian Kernighan about the woes that he, Joe Condon and Ken Thompson had with a digital phototypesetter 35 years ago. The original paper makes good reading, especially since it shows how things in the Good Old Days weren't always as good as we recall. In passing, it's also interesting to see that they referred to Ken as KLT in those days.

Thu, 18 Jun 2015 00:21:12 UTC

eBay debugging

Posted By Greg Lehey

My support request to eBay, sent on Sunday, has timed out. Fought my way through their help system, which doesn't give me the opportunity to say what my problem is (if we can't anticipate your problem, it doesn't exist), so said that I needed help with first-time listing. And for that they were prepared to call me back (which they don't do for just any problem). Got a call back fairly soon, and spoke to Mark, who told me what I already suspected: that it was related to the fact that my account was registered in the USA. It seems that Australian accounts have only been in existence for about 4 years, and nobody thought to notify existing customers that they should change their registration.

Wed, 17 Jun 2015 23:53:32 UTC

Selling on eBay, day 4

Posted By Greg Lehey

eBay selling never ceases to amaze me. Now I've sold my camera again with Buy it now, this time to somebody across the river from Mildura. But I also received three identical messages (modulo formatting) from Howard Johnson, the first buyer, saying that eBay had messed up, but things were alright now, and I should have received a message from them. Looking in my eBay messages, there was nothing. But then I saw: 2324     15-06-2015 eBay Restored                        (2166)     Re: Restoration Of The eBay Auction Listing Purchase The text went something like this: eBay International AG sent this message to you.Your registered name is included to show this message originated from eBay.

Tue, 16 Jun 2015 23:00:43 UTC

Selling on eBay, day 3

Posted By Greg Lehey

Into the office this morning expecting to hear from the buyer of my camera. Instead I had a message from eBay: We had to cancel bids and purchases on the following item(s) for the buyer, , because they were made without the account owner's permission: 271901200336 - Olympus E-30 12 MP digital SLR body Please note that we're working with the account owner to prevent any additional unauthorized activity. Curiouser and curiouser. My investigation yesterday suggested that it was kosher.

Tue, 16 Jun 2015 03:43:56 UTC

Australia Post helps again

Posted By Greg Lehey

So contrary to expectations, I sold my camera internationally. How do I calculate postage to the USA? Australia Post has a handy calculator which gives you an estimated price for postage. The easiest way to find it is from Google. If you go to and run the cursor over the menu item Parcels & mail, you'll see a large choice: Unfortunately, none of the items in the section Sending overseas tell you what it costs. For that you have to go to the bottom of the next column, Postage calculator.

Sun, 14 Jun 2015 23:37:24 UTC

Selling on eBay: the pain

Posted By Greg Lehey

It's been over a year since I tried to sell my Olympus E-30. Despite contacting eBay's help centre, I failed: You can't sell internationally at this time. That can't be typical. Thousands people with less computer skills than I sell on eBay every day. What is it? My aura? My computer environment? The latter (old FreeBSD with out-of-date browsers) seems to be a possibility. But now that I have an up-to-date system, it's high time that I tried again. And sure enough, I didn't run into most of the problems that I had last year. But the big one remained: You can't sell internationally at this time. It's not a browser or system issue: I tried four different browsers on three different systems, including Microsoft.

Thu, 11 Jun 2015 23:44:53 UTC

OED returns

Posted By Greg Lehey

Call from Andrew at the State Library of Victoria this morning to tell me that the Oxford English Dictionary was back online. I had already discovered that, but he also told me that the outage had apparently affected all the world's libraries. It's amazing that I was the first to report it to two important Australian libraries (and possibly the first at all, since most libraries in the world were closed at the time). ACM only downloads articles once.

Thu, 11 Jun 2015 00:45:35 UTC

ACMA endorses Microsoft

Posted By Greg Lehey

Andy Snow pointed me at this page from the ACMA. It contained this markup: More information will be available at <a href="file:///C:/Users/shirca/AppData/Local/Microsoft/Windows/Temporary%20Internet%20Files/Content.Outlook/6CSKETL4/"></a> soon. Doesn't that make you feel that people know what they're doing? I put in a comment, which they chose not to publish, but they did fix the link. ACM only downloads articles once.

Thu, 11 Jun 2015 00:40:09 UTC

OED offline!

Posted By Greg Lehey

I put a typo in my diary yesterday: instead of too leet I wrote to leet, and of course somebody (Peter Jeremy) caught it. But what's the chance that to leet is a known English word? Off to look at the Oxford English Dictionary, not for the first time today. I have access as part of my membership of the State Library of Victoria, but it wouldn't accept the login. Called up SLV, where nothing was known of the problem, but they looked into it and discovered that yes, they had the same problem. We confirmed that I was still in the SLV domain (specifically, but it didn't show the SLV logo at the bottom.

Tue, 09 Jun 2015 23:51:03 UTC

ATA configuration for Australia, continued

Posted By Greg Lehey

My ATA is still not generating correct ring tones (cadences, apparently). MyNetFone support is trying to be helpful with all sorts of unlikely suggestions, such as changing the dial plan. But there's a section in the Regional tab: Distinctive Ring/CWT Pattern Names. What does that mean? Potentially it could be related, and names like Bellcore-r1 suggest that they're currently American. So off to do some more searching. This page seems to relate to Australia, and potentially it has other useful settings, but it doesn't mention this section. This page at least explains the syntax of the entries. But this (PDF) document contains specifications.

Thu, 04 Jun 2015 01:14:26 UTC

Fighting spam with gmail

Posted By Greg Lehey

I've been running my own mail system for decades now, since March 1992 at the latest. I dedicated two chapters of The Complete FreeBSD to the topic, and I've rather looked down my nose at what the industry has come up with. But times change. Keeping track of spam, and avoiding it, is a serious and time-consuming business. Big commercial providers have the resources to do it, but I don't, and it seems that tools like SpamAssassin no longer work well enough. So how about filtering my mail through gmail? I receive my mail on the external server as before, but instead of downloading it directly from there, I can send it on to Gmail and download it from there.

Thu, 04 Jun 2015 00:44:53 UTC

AusPost helps change address

Posted By Greg Lehey

Part of moving house involved setting up a (snail) mail redirection service to the new house. Today I received written confirmation and the offer to inform a number of companies with whom I do business about the change of address. I could either fill out a paper form, or do it online at the unlikely address mail. I didn't trust that, and found a completely different address via Google, but it seems that they really do have a page with such a silly address. So what do I need to fill it out? I have a reference number, which should be enough, but no, I needed to create an account with AusPost.

Sun, 31 May 2015 01:17:27 UTC

Ports upgrade, yet again

Posted By Greg Lehey

Now that my office is relatively tidy, it's time to finally upgrade eureka, my main system. That is staged via stable, which has been tracking the FreeBSD STABLE branch for over a year now. Bringing the base system up to date was no problem, modulo a panic on startup: panic: ncpus is 0 with non-zero map. That proved to be due to a mismatch between the kernel and the VirtualBox module. Arguably it should refuse to load; something to look at, maybe. Updating ports is still an adventure. Today I got: upgrade rule: upgrade local libreoffice-4.3.6_1 to remote libreoffice-4.3.7 cannot install package libreoffice, remove it from request?

Sun, 31 May 2015 01:12:59 UTC

Programming? Or just coding?

Posted By Greg Lehey

One thing about the parliamentary fiasco about teaching coding wasn't subject to disagreement: the term itself. Clearly they're talking about programming, but that's an old-fashioned and maybe slightly scary term. So now they separate the coding step from the much more important design step. But that's not their fault: in June 2013 the OED added a draft update to the word Coding: intr. Computing. To write or edit the code of a computer program. Cf. programme v. 5b. Somehow I don't like the word. It suggests hacking away without any thought.

Sat, 30 May 2015 23:34:41 UTC

Coding: not kid's stuff

Posted By Greg Lehey

The current Australian government would be good for many laughs if it weren't such a serious matter. Today's was from Tony Abbott, who, in response to a question from Bill Shorten, claimed that coding was not appropriate Let's just understand exactly what the Leader of the Opposition has asked, the Prime Minister said. He said that he wants primary school kids to be taught coding so they can get the jobs of the future. Does he want to send them all out to work at the age of 11? Is that what he wants to do?

Sat, 30 May 2015 23:27:13 UTC

rsync failures gone?

Posted By Greg Lehey

For some time I've been having problems with copying files to the external web server with rsync: at random, initial authentication fails: +++ rsync -lKzavP --delete-after --copy-unsafe-links --exclude=weather /home/grog/public_html/ ssh_exchange_identification: Connection closed by remote host rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9] That's the only time there's an issue: if I get beyond the initial exchange, it always works. I've puzzled over it for a long time, and in the end I changed my scripts to retry the error.

Sat, 30 May 2015 01:01:26 UTC

www off the net

Posted By Greg Lehey

Into the office this morning to discover that my IRC session had closed unexpectedly. OK, that happens for a number of reasons. Tried to restart and got a can't connect error. What, was I off the net? No, it quickly became apparent that was off the net. How do I fix that? I have some backdoor to access the system console (/dev/ttyv0), but I've used it so seldom that I had to look it up. And sure enough, the machine was upbut had only been so for 2 hours! And I couldn't access it because I didn't have a default route.

Fri, 29 May 2015 00:29:20 UTC

eBay: action

Posted By Greg Lehey

I clearly made the wrong choice of seller for the 4 TB disk that I ordered over two weeks ago. She had promised to send it by express post, which usually corresponds to overnight, but by the end of last week it still hadn't arrived. In the meantime I found my backup disks, so I didn't really need it, so I contacted her and asked for money back. eBay gave her until today to respond. She didn't, so I asked eBay to close the case. Based on my previous experience, I wasn't holding my breath, but in fact I got a refund in under an hour.

Wed, 27 May 2015 22:55:02 UTC

eBay and the Turing test

Posted By Greg Lehey

A couple of days ago I received an eBay item in damaged condition. Contacted seller, who offered to refund the money. Simple, right? So I tried to respond. But how? There's no Reply button! Why not? I tried Forward, but that just sent me a copy of the message to my real mail. Browser problem? Seems unlikely, but then eBay has some really leet programmers. Tried other browsers. Same thing. Help? When is eBay help helpful? And of course, it's just designed to answer FAQs, and this, it seems, wasn't one. But then there's the possibility of telephone contact. With 10 minutes wait.

Mon, 25 May 2015 23:30:01 UTC

Measuring light globe brightness

Posted By Greg Lehey

I've already tried some measurements of relative light output of various globes, but only using my camera exposre meter, which has a resolution of 0.1 EV, or about 7%. I have a better tool for this job: a light meter with 3.5 digit resolution. In the meantime I also have more globes, so today I tried a number of measurements. Here the raw data: Globe       Type       W       Lumen       Lux IKEA       ...

Mon, 25 May 2015 22:55:12 UTC

VoIP ring tones

Posted By Greg Lehey

We still haven't resolved the issues with VoIP ring tones. Today I got a call from Donu from MyNetFone, who went through the whole thing Yet Again, starting with confirming that the other two people didn't report the problem correctly. She had her problems too: for her, the American ring tone was correct. More to the point, though, where is it coming from? The fact that normal calls ring correctly suggests that it's MyNetFone's problem. But Donu came up with one issue: which codec? And sure enough, there was a difference. Connections to the outside world used G.729a, while the internal connections used G.711a.

Mon, 25 May 2015 22:32:47 UTC

Another power failure!

Posted By Greg Lehey

I had hoped to be completely free of power failures on moving to Stones Road, but it hasn't started well. Today we had a failure of a completely novel kind: CJ connected an extension cord to a power point in the shed, and for some inexplicable reason turned the main UPS output switch off and on again. Bang! Was I happy, especially when eureka didn't detect its monitors the first time round. Fortunately it did after I had power cycled it. ACM only downloads articles once.

Sat, 23 May 2015 03:02:33 UTC

VoIP strangenesses

Posted By Greg Lehey

Call on the phone today. I answered it, and was immediately disconnected. That happened three times. But then I saw the calling number: CJ Ellis. So I called him back and discovered that he had been confused by the ringing tone. Tried calling from the other line. An American (single) ring tone, not the Australian (double) tone. Why did that happen? Called up MynEtfOne and spoke to Epi (that's how he spelt it), who took me through the typical rigmarole of telling me that it wasn't so, and that I shouldn't be calling the internal number (starting with 09), because that wouldn't work and I wouldn't get a connection.

Thu, 21 May 2015 00:20:22 UTC

More NBN outages

Posted By Greg Lehey

No less than three short network outages today, all in very quick succession: Start time End time Duration Badness from to (seconds) 1432086570 1432086605 35 0.012 # 20 May 2015 11:49:30 20 May 2015 11:50:05 1432086867 1432086913 46 13.740 # 20 May 2015 11:54:27 20 May 2015 11:55:13 1432087675 1432087689 14 4.724 # 20 May 2015 12:07:55 20 May 2015 12:08:09 What caused that?

Wed, 20 May 2015 01:28:57 UTC

Faster networking

Posted By Greg Lehey

The National Broadband Network is planning a new speed rating for fixed wireless: 50 Mb/s down, 20 Mb/s up, best effort. We're getting a trial at no additional cost. Yesterday, before the transition, I tested my speed for the first time ever since moving to Aussie Broadband. It didn't look bad: nominal 25/5, actual 23.7/4.9. You can't complain about that. Today I tried again, and got 40 Mb/s down, but only 4.97 Mb/s up. OK, it's best effort, but I'd expect a small increase in the upstream bandwidth. Still, it's early days yet. ACM only downloads articles once.

Sun, 17 May 2015 02:59:42 UTC

No toilet paper

Posted By Greg Lehey

We've gradually unpacked most things except for a large proportion of the books. Today we needed toilet paper. OK, we know where that is: it's marked on the carton. Opened it up. No toilet paper. Just the backup disks that I've been missing for the last 9 days! It makes sense: I had not written anything on the carton because it was to come out immediately at the other end. And it was an old carton, so it already had the description on it from 8 years ago. Thank God for that! The whole matter was seriously getting me down, and it took several hours for the relief to set in.

Sat, 16 May 2015 23:24:00 UTC

Spammers: adding insult to injury

Posted By Greg Lehey

While looking through spam headers today, found this: Received: from ( []) Apart from being an abuse of my domain name, does this actually make things any easier for them? Clearly my Postfix configuration doesn't catch it, but it should do so, so there's no advantage to the spammer to do this. It looks as if they're just giving me the finger. ACM only downloads articles once.

Sat, 16 May 2015 00:14:40 UTC

A new phone

Posted By Greg Lehey

We have to leave the old Binatone answering machine in Kleins Road for the moment, so that it can give people the new number. The phones are pretty much worn out anywaythe displays are all missing segmentsso it's finally time for a set of new portable phones. I want one that is compatible with a Bluetooth headset. There are plenty of phones that offer Bluetooth functionality, but almost all of them seem to pair to mobile phones, something that seems of limited utilitywhy exchange one handset for another? After much searching, found that a number of Telstra portable phones have this feature.

Fri, 15 May 2015 23:59:18 UTC

Spam explosion

Posted By Greg Lehey

Is it just me, or has there been an explosion of spam lately? I suppose part of the issue is my old, worn-out tools, but although I reject a lot of spam before it gets near the server, and filter more out before it hits my inbox, I'm finding more serious spam, advertising dubious products. Things have changed: it seems that everybody who wanted a penis enlargement now has it, so that kind of spam has declined, but I'm bombarded with beautiful garage floors, medical miracles, walk-in bathtubs, lotto wins, even bulk mail delivery. One day I might get round to installing more up-to-date spam rejection software, but will it help?

Thu, 14 May 2015 00:08:51 UTC

More unpacking

Posted By Greg Lehey

Another day spent mainly unpacking things. This loss of my backup disks really hurts. Yvonne went shopping as usual on a Wednesday, and came back with a 2 TB disk for my normal backups, complete with useless backup software. But it's software, so before blowing it away, I tried to back up the backup software from the backup disk. I wasn't completely successful: somehow all the Microsoft copy programs don't do what I want. In particular XCOPYnow, it seems, obsoletedidn't copy subdirectories when I asked it to. In the end I ended up with this: === root@eureka (/dev/pts/5) /home/grog 26 -> l -R /src/Seagate-backup-software/ total 281 -rwxr--r--  1 grog  wheel  131,685,492 11 Apr  2014 Seagate Dashboard Installer.dmg -rwxr--r--  1 grog  wheel  159,169,664  1 May  2014 Seagate Dashboard Installer.exe -rwxr--r--  1 grog  wheel          308  3 Sep  2014 SerialNumber.xml ...

Wed, 13 May 2015 02:47:24 UTC

LED and fluoro lights compared

Posted By Greg Lehey

I've already puzzled about the difference in brightness between my 700 lumen fluorescent globes and the 800 lumen LED globes: the latter seem nearly double as bright than the former. Today I finally got out a light meter and measured them. The existing fluoro globes gave a reading of EV 5.5, and the LED globes gave a reading of 6.0 under the same conditions. Both readings were consistent. Half an EV is 2, close enough to 1.4 for this level of accuracy. So if the LEDs are 800 lumens, the fluoros can't be more than 570 lumens. Another return in the offing.

Wed, 13 May 2015 02:32:23 UTC

SBS reception quality

Posted By Greg Lehey

In general our TV reception quality is much better than it used to be, but I've still had issues with SBS. Another look today. The dtv_multiplex table looked interesting: mysql> select mplexid, transportid, frequency from dtv_multiplex order by frequency; +---------+-------------+-----------+ | mplexid | transportid | frequency | +---------+-------------+-----------+ |       4 |         880 | 571625000 | |       3 |         563 | 578500000 | |       5 |        2461 | 585500000 | |       1 |       12922 | 592500000 | |       2 |        2050 | 599500000 | +---------+-------------+-----------+ That's exactly as it was last October.

Wed, 13 May 2015 01:56:38 UTC

Unpacking my office

Posted By Greg Lehey

I hadn't really intended to unpack all my old books yet, since there are more pressing things to do. But one of those was to find my backup disks, and there was no obvious place left, so I unpacked everything. What a lot of old rubbish! In particular, a lot of O'Reilly books that I picked up in Sebastopol in December 1996, mainly because they were free. I've never looked at some of them, but in Computer Security Basics, referring to the Morris worm, I read: ... the Internet, a government-funded network ... Clearly our perspective (and the facts) have changed significantly since then.

Sun, 10 May 2015 23:57:27 UTC

Reporting accuracy, Facebook style

Posted By Greg Lehey

We had 18.2 mm rain overnight, quite a bit for round here. Our water tanks are full. In the afternoon I found a post on Facebook: Does anybody have a rain gauge reading for past 24 hours? Several useful replies, none with sub-millimetre resolution, but suggesting that further south in the middle of Dereel the rainfall was between 21 and 25 mm. But which one got a like? We have had a lot of rain, during the night it was quite heavy and this morning Now doesn't that say a lot to people who live here?

Sun, 10 May 2015 23:55:25 UTC


Posted By Greg Lehey

Another night in the new house, a little more restful than the previous. The cats are still unhappy, and I've established what the motor noise is: a freezer in the laundry, also just a couple of metres from my head. We may need to move that. Spent the day installing more of the electronics infrastructure. My main Ethernet switch, a D-Link DGS-1008D, is flaky: it kept going into what looked like a self-test sequence with alternately all Link LEDs and then the speed LED for port 8 lighting, something that is, of course, not mentioned in the manual.

Sun, 10 May 2015 01:47:05 UTC

Comparing LED and fluoro globes

Posted By Greg Lehey

I've already puzzled about the difference in light output between fluorescent and LED light globes. Now I have started replacing the fluoros with LED, I'm even more puzzled. Yes, the LEDs are brighter (rated at 800 instead of 700 lumens), but they seem to be nearly double the brightness. Time to do some light measurements. ACM only downloads articles once.

Sun, 10 May 2015 01:35:32 UTC

Bringing up the network

Posted By Greg Lehey

For the first time we have a gigabit network to almost every room in the house, including the shed. Only the laundry is missing. We haven't provided for a connection in the pantry, but that's where the central switch is, so effectively we have a network there too: Put lagoon, Yvonne's computer in with relatively little difficulty, though it's clear that the name is no longer appropriate. Also reinstalled dischord, the Microsoft box I use for photo processing. Somehow this looks wrong: === grog@eureka (/dev/pts/6) ~/Photos/20150507 3 -> ruptime dischord                   up   4+07:53,     0 users,  load 0.99, 0.19, 0.06 eureka                     up   ...

Sun, 10 May 2015 00:13:36 UTC

Reviving eureka

Posted By Greg Lehey

I over to the new house to bring up eureka. I hadn't expected a smooth ride, and I was right. Even cabling things up is non-trivial with a four monitor system. but when I finally did it with as little mess as possible, I had firewall hell again. The biggest issue was the change of the gateway address, but after everything I did, I still can't ping any local interface apart from lo0. And for obviously completely unrelated reasons, the mouse became much more sensitive. All this is in unchanged configuration files. Why does that happen? On a more positive note, when connecting monitor 4 (the one connected by HDMI), it was recognized immediately.

Sat, 09 May 2015 08:29:24 UTC

Moving house, day 2

Posted By Greg Lehey

The day started with improvised breakfast: The red saucer dates from early 1968, when Kaufhof opened its first store in Hamburg, in the Mönckebergstraße. Apart from a second saucer, all has broken, and the saucers are chipped, and they're just there because I hate to throw anything out. The mug is some amazingly poor quality gift from some hotel in Kuala Lumpur, only about 20 years ago. The movers had promised to be here earlier today, and to a certain extent they were.

Sat, 09 May 2015 08:26:53 UTC

Understanding computers

Posted By Greg Lehey

What's an appropriate caption to this one? I'd go for Don't give up, Joe, newcomers always have difficulties learning to use computers. You'll make it. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Mon, 04 May 2015 00:28:31 UTC

Recovering monitor 4

Posted By Greg Lehey

So was the failure of monitor 4 due to the fact that it wasn't powered on when I booted eureka? The only way to find out was toshudderreboot. Did that, and for some reason the system decided that one of the disks needed an hour-long fsck. Why? It was a demonstrably clean shutdown. In any case, after it came back up, sure enough, monitor 4 functioned normally. I wonder if there's a way to re-probe the connection without having to reboot. ACM only downloads articles once.

Sun, 03 May 2015 04:45:06 UTC

Powercor: going-away present

Posted By Greg Lehey

Power failure at 17:50 this evening. Thank God that will soon be a thing of the past. Saturday is also our good food evening, so the failure was at the worst possible time. Still, we have a generator, so why not keep things running? Dragged it out, fired it up, pulled a cable the length of the house to my computer UPS, and by the time I had done it the generator had stopped again. That's the first time ever. Further investigation showed that they last person (one of the builders) who used the generator hadn't turned off the petrol tap, so I had instead.

Sun, 03 May 2015 04:38:25 UTC

Lighting in the 21st century

Posted By Greg Lehey

Once upon a time electric lighting was simple: you bought a globe, either bayonet or Edison screw, and you chose the wattage to match the amount of light you wanted. But that's so 20th century. In the last couple of weeks we have bought lamps with three different technologies, none of them traditional incandescent, and it seems that even the equivalences we have come to take for granted are incorrect. And what do the manufacturers do? They relate them all to obsolete incandescent wattages. And two weeks ago I established that 11 W fluorescent globes (equivalent to 60 W) produce 700 lumen, whereas a traditional 60 W incandescent globe produces about 960 lumens.

Tue, 28 Apr 2015 00:09:04 UTC

Story maps

Posted By Greg Lehey

The course Maps and the Geospatial Revolution includes an assignment: make a story map. What's that? The name suggests a number of possibilities, but in fact it's relatively constrainedArcGIS has a framework for creating them. It's an interesting idea, but digging deeper I find that I can't do quite what I want with them (sound familiar?) . After some consideration, I decided to document a journey by car that I started 48 years ago, nominally from Singapore to London. I had a number of problems: the annotations for the journey are multimedia (in other words, photos or videos). I have photos, but not very many good ones.

Sun, 26 Apr 2015 23:42:44 UTC

Upgrading ports, again

Posted By Greg Lehey

I've been putting off my FreeBSD port upgrades for over a year now, but gradually my web browsers are getting so out of date that clever software refuses to run on them. So Yet Another attempt to get stable up to date. The OS upgrade ran without any problem, but once again pkg didn't do what I expected. After downloading a gigabyte of tarballs, I got: Fetching llvm35-3.5.2.txz... done Checking integrity... done (5 conflicting) pkg: Cannot solve problem using SAT solver: dependency rule: package akonadi(r) depends on: qt4-mysql-plugin(r)qt4-mysql-plugin(l) dependency rule: package akonadi(l) depends on: qt4-mysql-plugin(r)qt4-mysql-plugin(l) upgrade rule: upgrade local qt4-mysql-plugin-4.8.6 to remote qt4-mysql-plugin-4.8.6 cannot install package qt4-mysql-plugin, remove it from request?

Sat, 25 Apr 2015 01:35:16 UTC

CJ's computer

Posted By Greg Lehey

CJ Ellis along in the afternoon to pick up his computer, which I had rather reluctantly rid of resource-hungry anti-virus software. Demonstrated to him how much faster it was now. The Demonstration effect hit home: it was almost as slow as before, with the disk maxed out. What's causing that? I wish I understood Microsoft. He left the computer with me while I scratched my head over the issue. The Task Manager shows nothing obvious. How I wish I had nothing to do with Microsoft! ACM only downloads articles once.

Thu, 23 Apr 2015 04:39:44 UTC

Poor technology kills!

Posted By Greg Lehey

Interesting news item on the radio this morning: Privacy laws mean emails about patients [sic] medical history have to be encrypted, but only a few hospitals have the technology to do that Dr Levick said in one instance a patient died because their GP was not told about their blood thinning medication, which required daily monitoring. It's bad enough that the industry had dumbed down to Microsoft level, but surely they could find a way to encrypt their messages.

Thu, 23 Apr 2015 04:29:05 UTC

More Microsoft space experiences

Posted By Greg Lehey

CJ Ellis has a new monitor, one made in this century: an HP L1706 that he picked up for free on Freecycle. He brought it and his computer along this afternoon for me to perform any adjustments. There were few: change the text size, and that was about it. But his brother had installed lots of software on his machine for him, virus scanners, software updaters and who knows whatI don't. But it spent half an hour running some kind of scan (I think), and during that time the machine was almost completely non-responsive. I couldn't find any way to tell the thing to only run on request, so spent over an hour removing all this software.

Thu, 23 Apr 2015 03:57:29 UTC

Light globe equivalence

Posted By Greg Lehey

We've been using modern compact fluorescent lamps for about 10 years now, and gradually they're getting better. When we bought them today, we went with the conventional that an 11W flouro corresponds to 60 W conventional incandescent, and so on, though I recall seeing a chart which showed a non-linear relationship. And sure enough, there was a chart on the wall showing those relationships. But when I look at the packaging, what did I see? 11 W fluoro corresponds to 40 W incandescentfully S less output. And 18 W corresponds to 75 W. Why? I had already established that 11 W corresponds to 55 W, not 60, but now we're down to 40efficiency gain down from 80% to 72.5% or 76% respectively.

Wed, 22 Apr 2015 23:21:08 UTC

Polarization: generations meet

Posted By Greg Lehey

While in town, picked up my new prescription Polaroid sunglasses. Decades ago I wore (non-prescription) Polaroid sunglasses, but since then they seem to have become difficult to find. They work as well as ever, but I was in for a surprise: the LCD display on my GPS navigator is polarized at a 45° angle, making the display artificially dim. Time to investigate how other displays are polarized. ACM only downloads articles once.

Mon, 20 Apr 2015 01:49:15 UTC

Word order video

Posted By Greg Lehey

One of the Coursera courses I'm currently doing is Miracles of Human Language: An Introduction to Linguistics. Rather to my surprise, I discovered there was an assignment due on Monday, and it involves creating a video for YouTube. Find a native speaker of a language other than English, Basque, Mandarin Chinese, Abruzzese, Turkish, Tarifit Berber or Gungbe and get them to speak 16 sample sentences from which others will deduce the word order of the language. OK, where's my native speaker? English is my native language, so I can't do it myself. But there's Yvonne, who is French, so of course her native language is German, and I got her to record them for me: But getting there wasn't easy.

Sun, 19 Apr 2015 00:46:48 UTC

EPUB on Android

Posted By Greg Lehey

A few days ago i was offered some cheap photograpic books in EPUB format. My research suggested that it was worthwhile, so yesterday I bought them online and downloaded them, 500 MB at a snail's pace. Today they were finally there, and I unpacked the ZIP archive to find: === grog@eureka (/dev/pts/31) ~/Documentation/Photography/Franzis 183 -> unzip -l ~/Downloads/ Archive:  /home/grog/Downloads/   Length      Date    Time    Name ---------  ---------- -----   ----  12492350  05-13-2013 16:07   4460-2_Digitale_Fotoschule_Panoramafotografie.pdf  68098180  12-21-2012 11:46   20022-6-Fotoschule_Reisefotografie.pdf  70629967  05-08-2013 13:01   20038-2_Beautyretusche_mit_Photoshop.pdf ... It's all in PDF!

Sat, 18 Apr 2015 01:09:16 UTC

Microsoft software update

Posted By Greg Lehey

One thing I have to admit about Microsoft is that the software updates go more smoothly than FreeBSD updates do. Another round today, and one of the optional updates was Skype. It's unlikely, but not impossible, that I'll use it, but it's also not much of an issue to install itI thought. The install hung: It took me some time to discover the tiny icon at the bottom of the screen: That was Skype, too shy to ask a question until I prodded it: ...

Fri, 17 Apr 2015 00:05:15 UTC

Working around the dead phone problem

Posted By Greg Lehey

Yesterday one of our cordless phones failed. It was clearly the base station, since the problem occurred with multiple handsets. But then it occurred to me: we needed four handsets, but the only way to do that was to buy two sets with two handsets each. So we had a spare base station which we hadn't been using. And sure enough, once I found the instructions, that worked. A little more time to investigate what to replace them with. ACM only downloads articles once.

Thu, 16 Apr 2015 23:23:18 UTC

Blocking unwanted ssh connections

Posted By Greg Lehey

The network traffic I observed a couple of days ago doesn't represent any security threat, but it's a lot of traffic. As I mentioned at the time, it's non-trivial to block it. Today I got a message from Harald Arnesen pointing me at sshguard. It does the work for you, firewalling repeat offenders. That sounds like an excellent idea when I look at the mail log on my external server: Apr 14 04:39:43 www postfix/smtpd[97364]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Apr 14 04:39:43 www postfix/smtpd[97364]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Apr 14 04:39:44 www postfix/smtpd[97434]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP ...

Thu, 16 Apr 2015 22:54:07 UTC

Fake Ethernets

Posted By Greg Lehey

Not surprisingly, my network connection at the new property is on the same /24 as the one in the old property. Here the configuration on each system (look carefully at the system names, which are a little too close): === grog@eureka (/dev/pts/38) ~ 4 -> ifconfig xl0 xl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500         ether 00:50:da:cf:07:35         inet netmask 0xffffff00 broadcast         media: Ethernet autoselect (100baseTX <full-duplex>)         status: active === root@eucla (/dev/pts/1) ~ 10 -> ifconfig bfe0 bfe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500         ether 00:0b:db:98:eb:28         inet netmask 0xffffff00 broadcast         media: Ethernet autoselect (100baseTX <full-duplex>)         status: active The connection to the National Broadband Network is via Ethernet.

Thu, 16 Apr 2015 01:44:39 UTC

Another dead telephone

Posted By Greg Lehey

Call from somebody in the afternoon. Yvonne answered it, and the line went dead. Whoever it was (probably CJ) tried again. Same thing. A bit more trying showed that the (cordless) phone was doing it. Changed the phone with an old-fashioned POTS phone, and it works. OK, the phone was slated for replacement anyway, but I still had research to do about Bluetooth compatibility. This has forced my hand. ACM only downloads articles once.

Thu, 16 Apr 2015 00:01:23 UTC

Grog from the past

Posted By Greg Lehey

Mail from Sanjeev Gupta today, wanting to link on LinkedIn. I get an amazing number of link requests from people I don't know, but my memory isn't always accurate, so I ask people who want to link with me to remind me who they are. Almost nobody does. So far the only one has been Ahmad bin Mahmuddin in Kuala Lumpur, and now Sanjeev in Singapore, though I have no difficulty recalling him. He even sent a photo I haven't seen before, which I think must have been taken about 14 years ago: How times change.

Wed, 15 Apr 2015 22:31:13 UTC

Stones Road off the net

Posted By Greg Lehey

It's rather fun to be able to access the Stones Road house via the Internet. But when I tried today, there was no connection. Over to take a look, and discovered that the RCD for normal mains power had tripped. The UPS was stillbarelyholding out, but I had connected the laptop to an unprotected power point. Re-enabling the RCD worked, and for the rest of the day it continued that way. But why did we trip? The only load on the mains circuit is the UPS. Does it lose that much current? ACM only downloads articles once.

Tue, 14 Apr 2015 22:55:43 UTC

Networking in Stones Road

Posted By Greg Lehey

We've had a network connection in Stones Road for months. Now that we also have electricity, I can actually use it, at least to monitor the DHCP traffic. So I put that in place yesterday, and took a look today. The first thing that hit me was the traffic: Date            Upload    Download 14-04-2015      47.98 MB  30.91 MB Nearly 80 MB of traffic before 11 am! What's that? Another tcpdump showed: 10:41:58.819145 IP > Flags [P.]

Tue, 14 Apr 2015 01:03:49 UTC

Android space WYSIWYG

Posted By Greg Lehey

Yesterday's rant about Android included screen shots. I use AirDroid to download the files, since there seems to be no way to use NFS in Android. It presents a web server with lots of icons, tree-climbing, and truncated file names: in short, a real Android app: The only thing it does right is to sort the files in chronological order (probably because the date is encoded in the file name), but of course the distinction of the individual file names goes beyond the attention span of the display.

Sun, 12 Apr 2015 23:41:27 UTC

The legendary beard

Posted By Greg Lehey

Eleven years ago I sold my beard on eBay: The buyer was Christopher Yeoh, now sadly deceased. On the OzLabs mailing list, people were collecting memontos of Chris' life, and came up with a series of photos of him cutting Tridge's hair for him (which I can't currently show until I have permission). Also a recent photo of what happened to my beard: It seems that a legend has developed about the sanitary condition of the beard, probably from the disclaimer in the eBay auction: While the item is in clean condition and free of ...

Sun, 12 Apr 2015 22:55:04 UTC

More Android pain

Posted By Greg Lehey

I've been offered some cheap books in EPUB format, not something I've used before. How do I read them? Presumably the modern way is with a tablet or (shudder) a mobile phone. Is that even going to work for me? At the very least I should try things out before investing in even a small amount of money. Spent some time investigating what readers were available. Google have their own reader, so tried installing that. Choice of installation medium: Browser (inbuilt) or Chrome. I've had difficulties with Chromemissing functionality, which surprised me. So I chose Browser and was greeted with the message: What?

Fri, 10 Apr 2015 00:19:30 UTC

Map software with photos

Posted By Greg Lehey

One of the Coursera courses I'm doing is Maps and the Geospatial Revolution. I'm just getting in to it now; it's not quite the format of the normal Coursera course, and I'm still not convinced I like it. But it has shown some interesting stuff, including ArcGIS, which offers free interactive mapping services. Yes, Google Maps does that too, but this one looks like it could be much more flexible. In particular, it offers easy ways of adding images to maps. One of the exercises for the week including creating a sample map, starting with somewhere in the USA. I suspect I have created the only map connecting Bastrop, TX with Jerusalem (look for the green pin).

Wed, 08 Apr 2015 00:26:56 UTC

Batteries for cordless drills

Posted By Greg Lehey

One of the things that I could give to the Men's shed is any number of old cordless drills. They probably all work, but the batteries have died. Doug tells me that he can't find a replacement battery pack for under $90. That seemed excessive, so took apart one of the packs: The batteries are Nickel-Cadmium, 1.2 V, in this case 12 of them. The form factor is something I haven't seen before, Sub-C, and they're rated at only 1 Ah.

Tue, 07 Apr 2015 00:14:24 UTC

More network problems

Posted By Greg Lehey

I've been keeping records of DHCP traffic for weeks now. They all show the same thing: there's about a 10% chance that a DHCPREQUEST will get a reply. But with the exception of a 25 minute outage a couple of weeks ago, things still worked. All I'm doing is collecting lots of similar data. So today I pulled the plug. And in the evening, we were suddenly off the net. Why? Who knows? I was browsing the web at the time, so it became immediately apparent. Restarting dhclient got us back on the net. I should investigate the exact protocol, and whether I shouldn't modify dhclient to simply issue a DHCPDISCOVER after, say, 2 failed DHCPREQUESTs.

Sun, 05 Apr 2015 00:07:50 UTC

Moible phones for geriatrics

Posted By Greg Lehey

A quarter of a century ago I made two choices unusual at the time: I installed a computer with a 20" high-resolution display (1024×768), running Unix and X of course, while my colleagues used text-based Microsoft machines with 14" 640×480 displays. And I bought a mobile phone. I was one of the first people I know to use a mobile phone, and others considered me a little strange for it. How times have changed! Microsoft users have discovered (and destroyed) graphics, and everybody and his dog has a (smart) mobile phone. And I hardly use mobile phones any more. Still, I can't get by completely without one.

Sat, 04 Apr 2015 00:55:32 UTC

Nickel Zinc batteries: summary

Posted By Greg Lehey

I've been using Nickel-Zinc batteries for 3½ years, and I've been keeping records of charge voltages for over two years. Time to sum things up? Firstly, keeping these records is a pain. Clearly I didn't know what I was looking for when I started, but at any rate I now have a better understanding. What I have found is that a set of batteries seldom discharges evenly. Today, for example, the ring flash ran out of power. 3 batteries almost completely charged, the fourth had only round 1 V. On the face of it, that's a reason enough to throw away that battery.

Thu, 02 Apr 2015 22:50:29 UTC

We want our /24 back

Posted By Greg Lehey

Decades ago I was allocated a Class C network by unido, the University of Dortmund (this was before the opening up of the Internet and the advent of ISPs): inetnum: - descr:          LEMIS Lehey Microcomputer Systems descr:          D-W-6324 Feldatal descr:          Germany changed:        ar@deins.Informatik.Uni-Dortmund.DE 19920521 changed: 19950723 changed: 19951010 changed: 19990706 changed: 20000225 changed: 20030625 changed: 20120524 changed: 20140616 Today I got a message from Tranquil Hosting, who run the RootBSD server that is

Wed, 01 Apr 2015 00:13:01 UTC

Toner cartridges revisited

Posted By Greg Lehey

Last week I bought an after-market toner cartridge for my Brother HL-3170CDW laser printer, and established that it was only part of what I had expected: only half the unit, and 20% of the capacity. Complained about the former to the supplier, who sent a description of what to do: press the green button on the left, and the cartridge detaches from the drum. Press drum onto new cartridge, and you're away. And sure enough, it works fine. But what about the differences original and aftermarket cartridges? Checking again, I found that the instructions I had read were for my old HL-2700CN printerand they disagreed with themselves, claiming 10,000 pages in one place and 12,000 elsewhere.

Mon, 30 Mar 2015 23:56:20 UTC

Commodore diagnostics

Posted By Greg Lehey

To Ballarat Central Auto Electrics with the Commodore to see if they could find any diagnostic information from the ECU. Yes, indeed: two coils failed. And that will cost us round $700! Tony, the bloke who did the test, also has a VZ Commodore, and has just changed his coils: it seems to be a common problem with them. And it was with our old the VT Commodore. So why do they make it so difficult to change them, and why are they so expensive? And, of course, it means that my ELM327 clone is useless. What a waste of $5.99!

Sat, 28 Mar 2015 02:08:08 UTC

DPI's ugly head

Posted By Greg Lehey

Talking with Chris Bahlo this evening about the fun day she had had at work today. They have a new coworker, and she managed to pessimize a web site by putting in overly large images. How large? 300 dpi. What does that mean on a web page? Should it scale to the monitor resolution? No, it seems that people still can't get used to the fact that image resolutions are measured in pixels (these images were apparently 1200×900 or so, clearly too large). Admittedly pixel dimensions aren't ideal either, but what earthly use are dpi specifications? ACM only downloads articles once.

Sat, 28 Mar 2015 02:01:05 UTC

Diagnosing Yvonne's car problems

Posted By Greg Lehey

Another attempt with the ELM327 clone today to find out what's wrong with Yvonne's car. Once again it claimed that there was no error code stored. Tried to speak to Paul Sperber of Ballarat Automotive, but was blocked by his wife, who went in, discussed something with him, and said that they weren't interested in doing the work, and that I should go to Ballarat Central Auto Electrics. Called them, and eventually spoke to Wayne, who confirmed that it would be difficult to diagnose if the problem wasn't presenting itself, but that they'd try. Otherwise he suspects coils, which isn't out of the question, but I'd like some certainty before spending $600 on the off chance.

Wed, 25 Mar 2015 01:21:20 UTC

More GPS navigator fun

Posted By Greg Lehey

Today was the first time I used the new GPS navigator in the city. Of course it tried to take me through places that didn't exist, but the most surprising thing was what happened when I tried to find alternative ways from the city to Surrey Hills: it kept changing its mind, wanting to take me north of Victoria Street (probably correctly) and south of Victoria Street (very definitely wrong). And when we changed our minds to go to Springvale, Victoria instead, it tried to take me straight through the middle of town instead of the designated way to the freeway.

Wed, 25 Mar 2015 01:20:20 UTC

A new low in user interfaces

Posted By Greg Lehey

Parking at the Victoria market was made no easier by the parking meters. They're modern and electronic, of course, with a low-contrast, reflective LCD display: Today was overcast, so the display was marginally legible. On a sunny day I would have been facing into the sun, so things would have been much worse. Even so, to read the display you need either to be about 1.50 m tall or kneel down in front of it.

Mon, 23 Mar 2015 04:32:57 UTC

Cheap toner: the truth

Posted By Greg Lehey

As planned earlier this week, I bought some cheap toner for my laser printer. How do you install it? Easy, in principle. But there's a little problem. Here are the new cartridge on the top (still with protective cover) and the old one below: Half the cartridge is missing! Am I supposed to re-use the old one? If so, the least they could have done was to tell me how to do it. The other difference showed up when I read the printer instructions.

Mon, 23 Mar 2015 04:21:11 UTC

Y2K catches up

Posted By Greg Lehey

Last night's pepper steak required a little stock powder. We really don't use much, and the jars I have are long past their use-by date: It's interesting that they changed date format between the two jars. I had half expected them to have changed back, but it seems they haven't. The older jar has got so hard that I couldn't get anything out of it. I don't suppose it's too soon to throw it out. ACM only downloads articles once.

Sun, 22 Mar 2015 00:27:13 UTC

Understanding Google Plus

Posted By Greg Lehey

Some months ago, when I was complaining about Facebook, Peter Jeremy (a Google employee) suggested that I use Google Plus instead. I signed up, took a look, and found it confusing. It also didn't address the issue that I don't like the concept anyway. So I forgot about it again. Then today Peter was analysing the display of my web pages on mobile devices. I asked him for screen shots, and got the reply: <groggyhimself> Can you send me a screen shot? <peter> groggyhimself: I've shared them with you. <groggyhimself> ? <peter> groggyhimself: Look in Google+.

Sat, 21 Mar 2015 23:40:17 UTC

Still more network problems

Posted By Greg Lehey

I was out of the office most of the morning, but when I got back I found: Start time End time Duration Badness from to (seconds) 1426893625 1426895771 2146 0.005 # 21 March 2015 10:20:25 21 March 2015 10:56:11 1424453814 1424645964 192150 0.026 # 21 February 2015 04:36:54 23 February 2015 09:59:24 1425657732 1425657839 107 0.004 # 7 March 2015 03:02:12 7 March 2015 03:03:59 1426077275 1426077511 236 0.009 # 11 March 2015 23:34:35 11 March 2015 23:38:31 1426081952 1426083273 1321 0.811 # 12 March 2015 00:52:32 12 March 2015 01:14:33 1426083535 1426084719 1184 13.740 # 12 March 2015 01:18:55 12 March 2015 01:38:39 1426084979 1426085070 91 13.846 # 12 March 2015 01:42:59 12 March 2015 01:44:30 1426086004 1426086758 ...

Fri, 20 Mar 2015 01:13:31 UTC

Out of date, part 2

Posted By Greg Lehey

Mail from Google (really!) today: Date: Wed, 18 Mar 2015 18:29:15 -0700 (PDT) From: Google Webmaster Tools Team <> Subject: Fix mobile usability issues found on Google systems have tested 3,000 pages from your site and found that 100% of them have critical mobile usability errors. The errors on these 3,000 pages severely affect how mobile users are able to experience your website. These pages will not be seen as mobile-friendly by Google Search, and will therefore be displayed and ranked appropriately for smartphone users. What's that? There are lots of links, of course.

Fri, 20 Mar 2015 00:42:56 UTC

SpamAssassin: past use-by date?

Posted By Greg Lehey

I've been finding that SpamAssassin has flagged more and more legitimate mail as spam lately. The reason is always the same:  2.7 DNS_FROM_AHBL_RHSBL    RBL: Envelope sender listed in Lately, though, I've noticed that even well-known senders are getting flagged like this. That's serious because I have set my maximum score to 3, so just about anything else will cause it to be classified as spam. It really hit home when my system classified local mail as spam. Clearly time to weaken the score. Went looking and found, in /usr/local/share/spamassassin/ score DNS_FROM_AHBL_RHSBL 0 0.306 0 0.231 Huh?

Tue, 17 Mar 2015 23:34:30 UTC

Toner prices

Posted By Greg Lehey

The black toner for our Brother HL-3170CDW laser printer is running low. aI've had it for 8 months, so it was to be expected. Took a look on eBay and found the toner cartridge (TN-251) for $25.30, including free postage. While in town, dropped in at Officeworks. Yes, they had it in stockfor $129! That's ridiculous. OK, the cartridges on eBay are almost certainly replacements, but they have the chips, and there can't be that much difference in quality. The printer cost $249, so this single cartridge costs more than half the purchase price. A complete set of 4 would cost more than double the purchase price.

Tue, 17 Mar 2015 04:30:26 UTC

Microsoft error reporting

Posted By Greg Lehey

Earthworks invoice from Warwick Pitcher today. Needs to be scanned and sent to CVI. All went wellbut where was the image? Tried again, and again it didn't appear. This is Epson software under Microsoft. Had it decided to store the image somewhere else? Spent some time looking for the configuration menu which specifies where the document should go. Where is it? It proved to be this meaningless icon: Selected that and got another confusing menu: Only three choices of location: My Documents, My Pictures, or anything else.

Sat, 14 Mar 2015 23:09:39 UTC

More network investigations

Posted By Greg Lehey

More work on my network status page today, without making it really pretty. One thing of interest is the TCP speed plot, in blue: This shows the reciprocal of the time it takes to load a small document from the other end of the world. It's surprisingly constant. But for some reason the value increased round 10 March. Looking at the raw log data shows: 1425966865 0.70 # Tue 10 Mar 2015 16:54:26 EST 1425966926 0.71 # Tue 10 Mar 2015 16:55:27 EST 1425966987 0.72 # Tue 10 Mar 2015 16:56:28 EST 1425967049 0.71 # Tue 10 Mar 2015 16:57:29 EST 1425967110 0.55 # Tue 10 Mar 2015 16:58:30 EST 1425967171 0.57 # Tue 10 Mar 2015 16:59:32 EST 1425967232 0.55 # Tue 10 ...

Fri, 13 Mar 2015 23:16:32 UTC

Analysing yesterday's disaster

Posted By Greg Lehey

Network connectivity came back this morning at almost exactly midnight. I had traced the network since about 8:30 yesterday, but of course by the time I stopped it, we had about 200,000 packets and a 235 MB trace file. All that interested me was the time up to the restoration of service. How do I do that? With Edwin Groothuis' help discovered the wireshark export function. You can specify a packet range, in my case 1-8212. And sure enough, it saved a file with just those packets. Tried to read it back in again. The file "/home/grog/public_html/Day/20150313/offnet.trace" isn't a capture file in a format Wireshark understands.

Fri, 13 Mar 2015 02:14:31 UTC

Internode: Why PPPoE?

Posted By Greg Lehey

Time to change my ISP, I'm afraid. Whom should I choose? Internode has the best reputation. They offer a similar product as Aussie Broadband: 300 GB per month for $75 compared to 250 GB per month for $60. The price difference is real: I never use 250 GB, so the additional 50 GB from Internode are of no interest. Called them up and got the usual message, that I had a wait of between 5 and 9 minutes before I could speak to anybody. Accepted the offer of a call back when somebody was available. And the call back came almost immediately, followed by a 6 minute wait before I was connected to Alex.

Thu, 12 Mar 2015 22:29:49 UTC

NBN reliability: worse than satellite?

Posted By Greg Lehey

Yvonne dragged me out of bed this morning to tell me that we were off the net. It took me a while to understand, but in to the office, and sure enough, we had been off the net for hours. The usual thing: DHCPDISCOVER going out, no reply. Called up Aussie Broadband support, spoke to Kylie, who relatively quickly connected me to Jerom, who is (ahem!) 3rd level support. He confirmed that they were receiving the DHCPDISCOVER and replying correctly with a DHCPOFFER. But that reply never made it back here. Shades of last month? In any case, it's not acceptable. Got him to transfer me to Kevin, the manager, who told me that it was part of a more general outage, that the problem was within the National Broadband Network, with whom a ticket had been raised, and that hopefully things would soon come back to normal.

Tue, 10 Mar 2015 00:29:19 UTC

Touch screens and other obscenities

Posted By Greg Lehey

Yvonne's photos of the ride didn't come out quite as she had intended. Here's one of them: This should be Broken-image-8.jpeg. Is it missing?

Mon, 09 Mar 2015 02:12:01 UTC

Tektronix 555: Final photos?

Posted By Greg Lehey

Taking the photos of the Tektronix 555 oscilloscope has been surprisingly painful. But enough is enough. Tried again today with flash and the long telephoto lens, this time concentrating on the mainframe. Moving the lens further away also allowed me to put the flash units closer together, with good results. Here my five tries of the CA plug-in: The first was just with studio flash.

Sun, 08 Mar 2015 02:45:37 UTC

Telstra and bandwidth cost

Posted By Greg Lehey

On IRC today, Jürgen Lock pointed us at this comparison of network costs around the world. He's in Germany, but the take-home message, at least for me, was: Telstra .... charges some of the highest transit pricing in the world  20x the benchmark ($200/Mbps). So why hasn't the National Broadband Network changed that? I had thought that the geography was part of the problem, but the same article also says: Given that Australia is one large land mass with relatively concentrated population centers, it's difficult to justify the pricing based on anything other than Telstra's market power.

Wed, 04 Mar 2015 00:12:27 UTC

BigPond email: We don't need no steenking security

Posted By Greg Lehey

Sent a mail message to Gary Murray today. It didn't go through: <>: host[] said: 552 5.2.0 yrRW1p01Q1sUVRc01rRYpC Suspected spam message rejected. IB704 (in reply to end of DATA command) I've seen this before. BigPond is too stupid to distinguish digital signatures from spam. So they reject messages on the mere suspicion of spam. Is this in their users' interests? A good reason for any BigPond user to choose a competent mail service provider. I'm still amazed how incompetent everything to do with Telstra is.

Mon, 02 Mar 2015 22:40:04 UTC

Understanding NBN

Posted By Greg Lehey

Call today from Kevin, the support manager of Aussie Broadband, addressing last weekend's outage. He wasn't able to help; despite the claims on the web site, they really don't have any real support at weekends, at least not for residential customers. Apparently they do for business customers. Does that makes sense? A two day outage will annoy any VoIP user, whether business or residential. But Kevin promised to get somebody from the business team to contact me to talk about pricing. That's good, because they don't have anything about National Broadband Network for business customers on their web site. He also promised to bring it up at the next management meeting.

Sun, 01 Mar 2015 23:20:32 UTC

Understanding programming language syntax

Posted By Greg Lehey

Somebody posted this today: Amusing, yes. But it does beg the question about the use of the punctuation at the right. It's not until you run into weird bugs that you realize that they're on your side. One of the issues that (not only) I still have with Python ACM only downloads articles once.

Sun, 01 Mar 2015 23:04:14 UTC

Chasing the photo data corruption

Posted By Greg Lehey

A couple of days ago I discovered that there was a discrepancy between a photo file on my photo disk and on a backup disk. What was wrong? Today was time to make backups to the other disk, so clearly it was time to investigate before overwriting the good version. A good thing I did, too: most of the contents of the file on my primary disk was replaced by binary zeroes, exactly the scenario that I suggested a couple of days ago. === grog@eureka (/dev/pts/10) ~/Photos/20100717/orig 193 -> md5 P7178579*F MD5 (P7178579-archived.ORF) = 56fef8f95e9fdc9caad4c4fc8049feed MD5 (P7178579.ORF) = eae72bccd667956bedcfb5273de6dd69 === grog@eureka (/dev/pts/10) ~/Photos/20100717/orig 194 -> cmp P7178579*F P7178579-archived.ORF P7178579.ORF differ: char 6617089, line 31915 6617089 is not a number that immediately jumps out and grabs you.

Sat, 28 Feb 2015 00:47:20 UTC

Photo backup: complete!

Posted By Greg Lehey

As a result of the problems I had with photo backups recently, decided to make a backup using rsync's checksum feature. Normally it goes through directory trees and updates files with a different modification timestamp or EOF; that can be done from the inode and doesn't require accessing the file itself. But that clearly doesn't help if the file in the backup file is corrupt (contains a zero block, for example). The checksum feature creates and compares checksums of all files, which is at least an order of magnitude more work. And it shows. Here the summary information for my last two backups: Sun 22 Feb 2015 17:03:16 EST Disk 6 Sun 22 Feb 2015 17:13:26 EST Photo backup ended Wed 25 Feb 2015 16:46:21 EST Photo backup started Thu 26 Feb 2015 21:58:49 EST Photo backup ended ...

Fri, 27 Feb 2015 00:33:45 UTC

House construction waste

Posted By Greg Lehey

While looking round the house, found this, not far from the front door: It's a Cat6 cable, of course, one that I had left in the room that will become the office. Why did they throw it out? It looks OK, though. ACM only downloads articles once.

Mon, 23 Feb 2015 22:05:36 UTC

Getting back on the net

Posted By Greg Lehey

At 9:00 this morning we were still off the net, so called up Aussie Broadband support and spoke to John. Asked to be connected to Will or Ricky, the people I had spoken to on Friday. Will would not be in until the afternoon, and Ricky was on another call. I asked him to inform Ricky of the urgency of the matter and then connect me to company management. He didn't understand, and I had to repeat. Sorry, the whole company management had been at a fair over the weekend, and they had the day off. Technical support manager was on leave.

Sun, 22 Feb 2015 21:56:14 UTC

Out of inodes again!

Posted By Greg Lehey

My photo backup failed again today with an out of inodes message. I had that only a week ago, and it proved to be incorrect. How could it happen again? It has nothing to do with the disk: this is a different disk. And once again the message was incorrect: === grog@eureka (/dev/pts/11) ~ 42 -> df -i /photobackup/ Filesystem 1048576-blocks      Used     Avail Capacity iused     ifree %iused  Mounted on /dev/da1p1      3,814,654 2,449,390 1,327,117    65% 814,196 1,352,586   38%   /photobackup So I umounted it and remounted it, and this time got a console message: Feb 22 15:25:46 eureka kernel: WARNING: /photobackup was not properly dismounted How did that happen?

Sat, 21 Feb 2015 22:46:12 UTC

Barbecue at the O'Deas

Posted By Greg Lehey

Over to the O'Deas in Enfield this afternoon for a barbecue and to let the dogs run together: It's interesting to note how Leonid and Nikolai (¾ brothers) look so different, and Zhivago and Bindy (father and daughter) also look so different. On the other hand, Nikolai and Bindy look so similar that we sometimes mistake them for each other, despite the significant difference in size, and Zhivago and Leonid also bear a significant resemblance to each other.

Sat, 21 Feb 2015 22:29:34 UTC

Off the net!

Posted By Greg Lehey

Into the office this morning to discover that we had been off the net since 4:34. As always, Damn! No indication of any fault on the NTD. Had they decided to implement yesterday's change to a static IP address without telling me? Tried stopping dhcpd and setting the IP address manually. No go. Called up Aussie Broadband support and spoke to Aaron, who told me that he was only level 1 support, and that the level 2 people (including Will and Ricky, who had been looking at my DHCP issues) didn't work on weekends. Neither do the network people. It seems that I'll be off the net until Monday!

Fri, 20 Feb 2015 23:33:06 UTC

NBN DHCP issues: insights

Posted By Greg Lehey

Long phone call with Will of Aussie Broadband support today. We investigated a DHCP handshake from both ends. Here a summary, seen from my end:   13:36:08.117371 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35, length 300      DHCPREQUEST on xl0 to port 67      Other end: receive two packets             send two ACKs.      Neither arrived here.   13:36:15.118323 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35, length 300      DHCPREQUEST on xl0 to port 67      Other end: receive two packets             send two ACKs.

Fri, 20 Feb 2015 00:52:22 UTC

Another NBN outage

Posted By Greg Lehey

Another National Broadband Network outage today, from 13:38 until 14:04: 1424313521 27.3112 5    # Thu 19 Feb 2015 13:38:41 EST 36.615 ms 1424313662 0 0 hub www         # Thu 19 Feb 2015 13:41:02 EST ... 1424315071 0 0 hub www         # Thu 19 Feb 2015 14:04:31 EST 1424315092 0 5  # Thu 19 Feb 2015 14:04:52 EST 1424315153 27.2985 5    # Thu 19 Feb 2015 14:05:53 EST 36.632 ms Clearly a communication issue: the ODU (Outdoor unit, i.e.

Fri, 20 Feb 2015 00:13:46 UTC

eBay: Losing the edge?

Posted By Greg Lehey

I've been buying and selling things on eBay for over 15 years, and it's still one of my main sources of many kinds of item. But note that still: you'd think that they're going out of their way to annoy you. Last June I had such problems trying to sell a camera that I gave up, especially as they have now restricted sales to Australia onlywhy? I also receive daily messages with custom search results. Once upon a time they were legible. Now they're modern, so when looking for Olympus lenses I get a display like this: What is that lens?

Tue, 17 Feb 2015 23:14:38 UTC

Debugging photo processing scripts

Posted By Greg Lehey

My photo processing includes a number of kludgy scripts, mainly Bourne Shell. It makes things a lot easier than using Microsoft-space user-friendly GUIs, but of course there's room for bugs. Lately I've found that when I run the mkcompare script, which creates a web page comparing before and after running through an automatic optimizer, it presented comparisons with photos I had taken a couple of days before: a blast from the past. How can that happen? Simple, of course: I don't need the comparison page for more than a few minutes, so I create it in a fixed directory. But I had forgotten to clean out the directory before doing the image conversions, and since I use make, it didn't replace any images which were already there.

Mon, 16 Feb 2015 23:29:42 UTC

Apple: Monitor plug and play

Posted By Greg Lehey

Just before breakfast this morning, heard some growling from Chris Bahlo's direction. She had connected her Apple laptop to a Dell monitor, and the monitor didn't want to know. After breakfast we took another look, and by a process of elimination came to the conclusion that it was the operating system, which wasn't producing any output to the display. With some experimentation, she got it to drive the monitor (native resolution 1920×1080) at 800×600, but not higher. And the only resolutions it offered were 4:3 aspect ratio. Why? I'm not an Apple man, so I asked some of the renegades on the (BSD) IRC channel.

Sun, 15 Feb 2015 23:32:27 UTC

Spurious out of inodes

Posted By Greg Lehey

Ran photo backup this afternoon. The results weren't what I expected. I got so many out of inodes messages that the email message exceeded the maximum message size, so I couldn't find out how it started. How did I run out of inodes? Yes, I had specified far fewer inodes than standard for the disk. The standard assumes an average file size of 4 frags, or 8 kB. The average photo file (including thumbnails and other smaller images) is still closer to 1 MB. What did I see? === grog@eureka (/dev/pts/21) ~ 46 -> df -i /photobackup/ Filesystem 1048576-blocks      Used     Avail Capacity iused     ifree %iused  Mounted on /dev/da1p1      3,814,621 2,449,845 1,326,629    65% 812,391 1,354,391   37%   /photobackup 37% used?

Sat, 14 Feb 2015 23:27:46 UTC

Disposing of old computer stuff

Posted By Greg Lehey

In preparation for moving house, I've already disposed of a lot of my old computer stuff, but some remains. Yesterday I found a Chris (surname unknown) on Freecycle looking for components, so I suggested he come along and help himself. To my surprise, he was really keen on having a lot of my old junk. Also gave him the laser printer that I bought 5 years ago. It still works, but it will soon need new toner. And then he looked longingly at my old HP field service oscilloscope. No, sorry, that's staying. After all, I only have 3 oscilloscopes. And when did I power the last one on?

Wed, 11 Feb 2015 22:34:31 UTC

More OBD fun

Posted By Greg Lehey

Yesterday I didn't get very far with my OBD apps: Torque only worked in the Commodore, and OBD Car Doctor PRO didn't work at all, but was too polite to say so. But there are other apps to try. How do you start? The toyshop doesn't give you the opportunity to list them by popularity or price. On a real web browser, you can eliminate payware and apps with less than 4 stars, but they're still not sorted. The browser on the tablet doesn't even offer that, and appears to display fewer stars than the computer browser does. So I had to use two browsers and try to find correlations between the display of both of them.

Tue, 10 Feb 2015 21:07:36 UTC

Diagnosing the car

Posted By Greg Lehey

My ELM327 clone arrived today. It's a modern device, so of course there's no documentation whatsoevernot even information on the PIN I need to connect it (which, after some searching, proves to be 1234; why do they bother with PINs if they're all the same?) . So: what do I do with it? It's a Bluetooth connect, so went looking in the toyshop for appropriate apps. That's a lost cause, of course; I've never found a good Android app, and today was no exception. A Commodore forum suggested Torque, which comes, of course, with no documentation whatsoever. Found the OBD connector on the car (directly above the driver's legs, just forward of where the underside of dashboard ends) and plugged it in.

Wed, 04 Feb 2015 23:55:34 UTC

DxO and TIFF

Posted By Greg Lehey

From time to time I've chosen TIFF images instead of JPEG for the intermediate stages of my photo processing. That makes perfect sense, but it's not easy. Some of the issues seem to be related to DxO Optics Pro. Some years ago I discovered that TIFF images produced by DxO don't align as well as JPEG copies of the same image. Why? Then a little over a year later I tried again and got many error messages. They're still there. If I take an output TIFF from DxO and try to convert it, I get a large number of relatively harmless warnings: === grog@eureka (/dev/pts/7) ~/Photos/20150204/orig 209 -> convert P2021583.tiff foo.jpeg orig: Unknown field with tag 50341 (0xc4a5) encountered.

Wed, 04 Feb 2015 00:01:46 UTC

New switches

Posted By Greg Lehey

A present in the mail today: Those are three 8 port gigabyte Ethernet switches, donated by David, surname unknown, but with surnom Carneous. That's very generous of him. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Mon, 02 Feb 2015 22:55:39 UTC

Dead backup disk

Posted By Greg Lehey

My nightly backup failed last night: mount: /dev/da0s1d: R/W mount of /backups denied. Filesystem is not clean - run fsck.: Operation not permitted How did that happen? Ran fsck and found out: THE FOLLOWING DISK SECTORS COULD NOT BE READ: 1953267040, 1953267041, 1953267042, 1953267043, What caused that? Trawling through the logs found no bad sector messages, only: Jan 31 21:04:08 eureka kernel: Device da0s1d went missing before all of the data could be written to it; expect data loss.

Sun, 01 Feb 2015 23:30:40 UTC

Second-guessing car diagnostics

Posted By Greg Lehey

It's now been a week since my car problems, and since the following day we've had no indication whatsoever of problems with the car. We'll find out when my diagnostic interface arriveshopefully. In the meantime, I've been trying to guess what I might find. Looking back at the facts, we have: The car's electronics display the very unspecific message Check Powertrain. What does that mean? I'm reminded of the quote: Ken Thompson has an automobile which he helped design.

Sat, 31 Jan 2015 23:00:17 UTC

House photos in TIFF again

Posted By Greg Lehey

My weekly house photos require a lot of processing. To make a panorama I take multiple views of a scene and stitch them together. To get the requisite dynamic range I take multiple images of each view, with exposure bracketed in intervals of 3 EV. First I use align_image_stack and enfuse. to create blended photos, and then I use Hugin to create a panorama from the views. That's a lot of processing, and I'm still producing JPEG intermediate results. Why? I have the space, and I have the processing power. So today I tried using TIFF intermediate files. That's not for the first time, but last time I didn't have very good results, at least because of the performance of the machines I had at the time.

Wed, 28 Jan 2015 00:08:30 UTC

Dumb phones: not dumb enough?

Posted By Greg Lehey

Three weeks ago I bought a very cheap dumb phone, one that runs neither Android nor iOS, but which has a real keyboard. It was attractive enough that Yvonne bought one too to get away from the pain of scraping glass to do anything useful. But it's still a relatively modern device, with an illuminated colour display. And there's the problem: in bright sunshine it's illegible, while old-fashioned unilluminated displays have no difficulty. So we're thinking of returning them. While in town today, went to Dick We can't be bothered to serve you Smiths and JB HiFi to see what they had. Nothing as cheap as the $18 that we paid, of course, but also nothing that could be demonstrated.

Tue, 27 Jan 2015 23:53:10 UTC

Holden Commodore diagnostics

Posted By Greg Lehey

I have already established that our Holden VZ Commodore can display error codes on the dashboard. Here's what I found at the time: But now we have a real live error condition. What do they display now? The same! I have no idea what they're there for, but they don't help with out Check Powertrain condition. So there's nothing for it but to call up Ballarat Central Auto Electrics and get them to read the information out, for which they charge the princely (or is that knightly?)

Mon, 26 Jan 2015 00:42:46 UTC

Comparing GPS navigators

Posted By Greg Lehey

At least for the first 1½ hours I had both GPS navigators running to compare them. One thing's clear: the new one is so much easier to read. We were in bright sunshine, and the display of the old one was almost unrecognizable. So if I can get used to the interface of the new one, it might be worth keeping. ACM only downloads articles once.

Thu, 22 Jan 2015 00:42:05 UTC

GPS navigator woes

Posted By Greg Lehey

I've been bitching and moaning about GPS navigators since I first got one, and somehow the problem isn't going away. When I went into Ballarat today, I took my old one and my new one with me. I still can't work out how to do some simple things with the new one, like muting the sound. But then the display on the new navigator went crazy, like an old analogue TV with bad horizontal sync. And I couldn't turn it off. In the end, I had to reset it. OK, I still have the old navigator. But it wouldn't charge. Are the batteries that bad?

Sun, 18 Jan 2015 01:17:47 UTC

Network transfer rates

Posted By Greg Lehey

My Internet link has an uplink speed of 5 Mb/s, so theoretically I should be able to upload data at about 600 kB/s. In practice, window size and latency limit it to about 125 kB/s. Yes, of course I could increase the window size, but that requires rebooting, and I'm an uptime fanatic. So I put up with only 125 kB/s. But today I got much worse transfer rates, over an extended period of time: 20150117/big/Canna-3.jpeg      2469245 100%   28.23kB/s    0:01:25 (xfer#103, to-check=281/394) 20150117/big/Cistus.jpeg      3522116 100%   24.99kB/s    0:02:17 (xfer#104, to-check=280/394) 20150117/big/Cockatoos-1.jpeg      3101098 100%   26.08kB/s    0:01:56 (xfer#105, to-check=279/394) That's only 20% of the normal rate.

Fri, 16 Jan 2015 23:51:31 UTC

Tablet photos

Posted By Greg Lehey

I didn't think to bring my camera to the Emergency Room yesterday, but of course I had my Android tablet, which I use as a glorified eBook reader. And it has a camera, so I used it to take some photos of my hand. Today I moved them to eureka for processing. This is a pure Linux base, right, no Microsoft in sight. So why do I get this? -r----x--x  1 grog  lemis   1,279,950 15 Jan 11:33 IMG_20150115_113355.jpg -r----x--x  1 grog  lemis   1,194,553 15 Jan 11:34 IMG_20150115_113405.jpg Apart from that, of course, the photos confirm my prejudices against smart phone and tablet cameras.

Fri, 16 Jan 2015 00:33:34 UTC

Images of Tektronix 555

Posted By Greg Lehey

Mail from David Casler today, wanting to use a photo of my Tektronix 555 oscilloscope that I took 13 years ago: That was taken with a Nikon “Coolpix” 880, with 3 only megapixels, not really enough for him. But I still have the scope (and it's up for grabs!) . Now I have a decent camera, so why not take new photos? Along with the wound to my hand, this is why: They'll have to come out soon, but David needs the images by tomorrow, and there's no way that's going to ...

Thu, 15 Jan 2015 03:27:07 UTC

New GPS navigator, old problems

Posted By Greg Lehey

I've bought a new GPS navigator, not because the old one is more defective than it was when I bought it, but because the battery is as good as dead, and the maps are out of date. I had looked at some expensive models three months ago, and come to the conclusion that they weren't worth the additional price. So in the end I bought an el-cheapo one, 7" for only $69.96 (isn't that an inaccurate way of saying $70?) . I couldn't replace the battery and the maps for that. It arrived today. Yes, it uses iGO software, with which I'm familiar.

Sun, 11 Jan 2015 22:58:41 UTC

More throwaways

Posted By Greg Lehey

It looks as if Craig is so upset about what Michael did to his ute that he won't even communicate with us, and Leah didn't come to clean the house today either. That's sad. And it means that I have to do more work myself, which is even sadder. Out today to the shed to throw away some stuff. I'm getting better: threw away a whole lot of old floppy disks, mainly with old Microsoft-based software. But then there are other things I can't throw away, like my home-made Z-80-based CP/M machine, old listings, and a number of ancient copies of AUUGN.

Sat, 10 Jan 2015 23:38:43 UTC


Posted By Greg Lehey

At some time in the past I must have joined the FreeBSD forum site, though it's not really my thing. But what's the password? No worries, I can get it reset. But first I had to go through a CAPTCHA like I've never seen before: Yes, of course I knew the answer. But does every forum participant? ACM only downloads articles once.

Sat, 10 Jan 2015 00:52:46 UTC

FreeBSD Package update, try 2

Posted By Greg Lehey

So I've been getting this message from attempts to update FreeBSD packages on stable, my test machine: Fetching zsh-5.0.7_1.txz... done pkg: cached package zsh-5.0.7_1: size mismatch, cannot continue What does that imply? Does Google know? Of course. This page discusses the matter, and SirDice comes up with a suggestion: pkg clean                       # cleans /var/cache/pkg/ rm -rf /var/cache/pkg/*         # just remove it all pkg update -f                   # forces update  of repository catalog rm /var/db/pkg/repo-*.sqlite    # removes all remote repository catalogs pkg bootstrap -f                # forces reinstall of pkg ...

Thu, 08 Jan 2015 23:22:10 UTC

User interface pain

Posted By Greg Lehey

Yvonne uses a smart phone. That in itself isn't an issue, but she has real problems using it. I have a tablet with phone function, along with Bluetooth headphones, but I use it so seldom that I still have issues. In particular, the user interface is really bad. I've been using touch screens for years now, and I still find them one of the most obnoxious developments I've had the displeasure to experience. Answer a phone? Not so long ago you used to pull it out of your pocket, feel for the Talk button, and press it. Now you pull it out of your pocket, look at it to locate the green flashing area on the screen, and swipe it to one side (why?)

Thu, 08 Jan 2015 00:05:23 UTC

FreeBSD package upgrade: still not there

Posted By Greg Lehey

As I feared, updating my packages wasn't all plain sailing. In fact, it was almost impossible. Started on my stable machine (that's the name) with the disk cloned from lagoon. Away it ran, then: The process will require 210 MB more space. 2 GB to be downloaded. Proceed with this action? [y/N]: y Fetching zziplib-0.13.62_2.txz... done Fetching zsh-5.0.7_1.txz... done pkg: cached package zsh-5.0.7_1: size mismatch, fetching from remote Fetching zsh-5.0.7_1.txz... done pkg: cached package zsh-5.0.7_1: size mismatch, cannot continue What went wrong there? The cached package information is not very relevant, since the package had just been downloaded from the net, twice.

Tue, 06 Jan 2015 23:59:06 UTC

Finally updating my machines?

Posted By Greg Lehey

When I first started using computers at home, it was normal that it was difficult. In the course of time, though, things have generally got better. 16 years ago I gave a whole day tutorial on installing FreeBSD at the AUUG 1998 conference. I didn't finish. In the meantime, things have got easier. I can do the same installation in about 30 minutes. But what do I have? A base system. How do I configure it? How do I install useful programs (ports)? How do I keep it up to date? Commercial systems like Microsoft and Apple have solved that problem long ago.

Sun, 04 Jan 2015 01:56:05 UTC

Restarting eureka

Posted By Greg Lehey

The power came back after about 2¼ hours, and that's about the time I needed to get eureka back up and running again. I really must save my config files and check that the machine can start up without so much manual intervention. But then, that's part of the plan for the new machine. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sun, 04 Jan 2015 01:31:27 UTC

Monitor pain

Posted By Greg Lehey

It's high time I got round to upgrading eureka, my main machine. It's still running FreeBSD 9.2, and I've been meaning to upgrade it for nearly a year. Today I got as far as connecting my spare BenQ monitor to two test machines. It wasn't easy. BenQ monitors say No cable connected when in fact they mean no signal. But there was a signal, as other monitors confirmed. Was the thing set up to only accept input from one source? The menu would tell me that. But the menu didn't display. After much cursing and monitor swapping, discovered that it was set for HDMI input, and that for some reason the menu wouldn't display under these circumstances.

Fri, 02 Jan 2015 23:52:41 UTC

Tracing the ssh issues

Posted By Greg Lehey

So it's fairly clear where the blame lies with my DHCP problems, though I still need to trace the other connection. I'll do that when the temperature has cooled down a bit. But there's another issue, and potentially it's related: from time to time ssh setup fails. More tracing, with very little to show for it: No.     Time            Source                Source     Destination           Destination Protocol Length Info      45 10:52:04.502503   00:19:07:77:9e:00         00:16:3e:06:34:53 SSHv2    113    Client Protocol: SSH-2.0-OpenSSH_6.2_hpn13v11 FreeBSD-20130515 Frame 45: 113 bytes on wire (904 bits), 113 bytes captured (904 bits) Ethernet II, Src: Cisco_77:9e:00 (00:19:07:77:9e:00), Dst: Xensourc_06:34:53 (00:16:3e:06:34:53) Internet Protocol Version 4, Src: (, Dst: ( Transmission Control Protocol, ...

Wed, 31 Dec 2014 23:13:44 UTC

More traces, no insights

Posted By Greg Lehey

More DHCP traces today, both bootp and ICMP. Got some extreme examples of the problem: 18:21:25.932442 IP > BOOTP/DHCP, Reply, length 300   Last successful renewal 18:51:25.917433 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 ... 46 more unanswered requests 19:13:36.067439 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 give up, send request to broadcast address 19:14:27.068420 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 ... 12 more unanswered requests 19:21:17.080421 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 Issue a DHCPDISCOVER 19:21:26.099194 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 Two replies in less than 300 ms 19:21:26.392024 IP > BOOTP/DHCP, Reply, length 300 19:21:26.396913 IP > BOOTP/DHCP, Reply, length 300 And this one?

Tue, 30 Dec 2014 23:27:16 UTC

Tracing the DHCP issues

Posted By Greg Lehey

Why is my DHCP not renewing its leases cleanly? Started running a wireshark trace on bootpc and discovered that the DHCP server only responds when it feels like it: 10:04:36.806443 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:04:40.807439 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:04:50.808421 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:04:57.809439 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:05:12.810434 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:05:35.811432 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:06:15.812437 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:07:24.813424 IP > BOOTP/DHCP, Request from 00:50:da:cf:07:35 (oui Unknown), length 300 10:07:24.860089 IP > BOOTP/DHCP, Reply, length 300 ...

Tue, 30 Dec 2014 23:14:59 UTC

Bushfires and house sites

Posted By Greg Lehey

We've had another bushfire in Dereel. Nothing overly serious, fortunately. 22 ha burnt, but no particular damage, no injuries. This morning Dan from the CFA came by to collect a donation we've been trying to make, and told me that it had started from an overheated compost heap in Leigh Court, and quickly jumped the BallaratColac road: Not overly interesting until you consider that this is next to a property we investigated last year. At the time it was clear that last year's bushfire had stopped at the east end of the property.

Tue, 30 Dec 2014 03:59:28 UTC

Another dhcp failure!

Posted By Greg Lehey

This evening it was Chris who told me that we were off the net. Same problem as yesterday. Time to do some tracing. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sun, 28 Dec 2014 23:38:12 UTC

NBN problems again?

Posted By Greg Lehey

Watching TV this evening, wanted to check on something on the web. No connection. Further checks showed that we were off the net again! What's wrong with the National Broadband Network? OK, go through the motions. First restart dhcpd. That was it! Immediate connection. So what went wrong? We went offline at 20:45, and all I see in /var/log/messages is: Dec 28 20:15:26 eureka dhclient[18871]: unknown dhcp option value 0x52 Dec 28 20:45:26 eureka dhclient[18871]: unknown dhcp option value 0x52 Dec 28 21:07:44 eureka ntpd[948]: sendto( (fd=25): No route to host Dec 28 21:08:41 eureka ntpd[948]: sendto( (fd=25): No route to host Dec 28 21:12:23 eureka ntpd[948]: sendto( (fd=25): No route to host Dec 28 21:15:26 eureka dhclient[18871]: send_packet: No route to host Dec 28 21:15:40 eureka last message repeated 3 times Dec 28 21:16:04 eureka dhclient[60636]: unknown dhcp option value ...

Tue, 23 Dec 2014 00:04:10 UTC

Merry Christmas!

Posted By Greg Lehey

I've finally finished my Christmas Card. In past years I've sent it out just as a URL, like here. But that's not really much use to somebody out of range of high speed networking. So I printed the page as a PDF document and appended it to the message. The HTML version is interactive, so it's preferable, but why not offer the PDF too? I've had trouble sending this letter in past years, mainly finger trouble, so I checked the logs on my mail server: Dec 22 01:58:41 www postfix/cleanup[94666]: 0117B1B72843: message-id=<> Dec 22 01:58:41 www postfix/cleanup[94666]: 0117B1B72843: resent-message-id=<> Dec 22 01:58:53 www postfix/smtpd[94675]: connect from unknown[] Dec 22 01:58:54 www postfix/smtpd[94675]: NOQUEUE: reject: RCPT from unknown[]: 450 4.7.1 Client host rejected: cannot find your hostname, []; from=<> to=<> proto=ESMTP helo=<> Dec 22 01:58:54 www postfix/smtpd[94675]: disconnect from unknown[] Dec 22 ...

Fri, 19 Dec 2014 22:14:33 UTC

OI.Share revisited

Posted By Greg Lehey

It's coming up for Christmas, time for our annual Christmas letter to our friends. Last year we wrote that we expected to be in the new house by now, so we thought it appropriate to take this year's photo there: Somehow we didn't look as happy as last year: This wasn't the only photo we took, but none of them were better. Why? This year we had to get three dogs to stand still instead of only one year, but a big issue was controlling the camera: The camera no longer has an infrared remote control: ...

Sat, 13 Dec 2014 01:34:33 UTC

A year of NBN

Posted By Greg Lehey

A year ago today my network problems were solved with the installation of National Broadband Network fixed wireless. What a relief it was. It still is, and that's why we had the second installation done in Stones Road last week. Why so early? I don't trust the current government not to kill off new installations on the NBN. With good reason, it seems, if this article is to be believed. That's from The Register, not exactly the most neutral of publications. What's behind it? Should a country nationalize Internet topology? Australia has a particular problem because, although it's a highly developed country, the population density is very low, which makes providing fair network access to people outside the towns.

Sun, 07 Dec 2014 23:23:32 UTC

Luigi Rizzo visits

Posted By Greg Lehey

Another dreary, moist day, and somehow got nothing done. About the only thing of interest was when Luigi Rizzo and his friend Valeria came for dinner. Spent some time showing them some kangaroos which had obligingly appeared in the north paddock, then Yvonne and Margaret Swann returned from Warrnambool, where the weather had been better. Had dinner, and Luigi and Valeria were off again. ACM only downloads articles once.

Thu, 04 Dec 2014 23:47:04 UTC

An ATA for Stones Road

Posted By Greg Lehey

Now that we have a network connection, the obvious thing to do is to set up VoIP to make up for the appalling mobile coverage in the area (thanks, Wendy). All I need is an ATA. After last month's damage, I only have one, with the other on order. But what's wrong with the defective one? No power indication. Is it possible that there's a fuse in there somewhere? Took it apart and examined the board: Sure enough, there's a surface mount fuse just next to the power connector at top left.

Thu, 04 Dec 2014 23:05:06 UTC


Posted By Greg Lehey

Over to the building site this morning to meet with Duncan and discuss the bleak situation finding builders prepared to work over Christmas and the summer holidays. He was happy enough about the relocation of the gas supply, so that's one less problem. Jim Lannen was there too with his apprentice, and they got as far as putting in the Cat 6 cable. But still no power! Discussed with Jim and Duncan, who both agreed that a call to John Willowhite of Powercor was in order. But as I was leaving, I discovered an extension cable in front of the house, and sure enough: We have power!

Thu, 04 Dec 2014 01:12:29 UTC

NBN installation?

Posted By Greg Lehey

Call from Walter Bonilla of the National Broadband Network today, reminding me of the network installation for Stones Road tomorrow. I had to remind him that we had already spoken, that there was no wall to attach the NTD, and that he was supposed to get the techies to call me. He volunteered the information that the installer was called Adam, and yes, he would call me before they came out. Somehow this organization sounds just as bureaucratic as all the others I have to deal with. ACM only downloads articles once.

Fri, 28 Nov 2014 00:23:29 UTC

NBN next week

Posted By Greg Lehey

Also heard from Aussie Broadband that my National Broadband Network antenna would be installed next week. Do the installers know what will await them? On the one hand it's the correct time to install the cabling, but we won't have any walls to attach the NTD to. Asked Aussie to confirm with the installers, but no, they have no contact with the installers, who work for NBN. But then I got a call from a Walter Bonilla from the NBN, who told me what they needed and explained that they had exact instructions on what to do, and they weren't allowed to diverge from them at all.

Fri, 28 Nov 2014 00:09:47 UTC

rsync problems

Posted By Greg Lehey

Lately I've had difficulty syncing my diary and photos to the external web server: === grog@eureka (/dev/pts/9) ~/public_html 5 -> syncgrog Thu 27 Nov 2014 12:54:54 EST +++ Transferring grog to +++ rsync -lKzavP --delete-after --copy-unsafe-links --exclude=weather /home/grog/public_html/ ssh_exchange_identification: Connection closed by remote host rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9] === grog@eureka (/dev/pts/9) ~/public_html 6 -> syncgrog (again) === grog@eureka (/dev/pts/9) ~/public_html 7 -> syncgrog Thu 27 Nov 2014 12:55:01 EST +++ Transferring grog to +++ rsync -lKzavP --delete-after --copy-unsafe-links --exclude=weather /home/grog/public_html/ building file list ...

Thu, 27 Nov 2014 01:22:18 UTC

GPU hang workaround

Posted By Greg Lehey

The GPU hang messages that I had earlier this month are back. They had caused me to restart X, and were thus particularly irritating. But the seemed to come from Google Chrome, so tried shooting it down. Success! Another X session saved. And probably another indication that it's high time to upgrade my system software. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Wed, 26 Nov 2014 01:59:52 UTC

Fibre: Yes? No?

Posted By Greg Lehey

Also finishing the specs for the electrical wiring of the house. At one point I thought that it was trivial to find cheap glass fibre. The more I look, the more it seems to be a can of worms. The only reason to put in fibre now is to save on installation expenses later, if I ever need it. But it's not clear that I ever will, and Cat 6A will be enough for 10 Gb/s, so I think I'll just take the easy way out and forget it for the time being. ACM only downloads articles once.

Wed, 26 Nov 2014 01:51:24 UTC

More lightning damage

Posted By Greg Lehey

Call from Tom of Bushmans todayfor about 5 seconds. Then the connection was dropped. That wouldn't be that unusual, except that it happened twice yesterday to other callers. Was there something wrong with my other ATA? Tried using a straight telephone without ATA, and it worked fine. Checked later: Daniel O'Connor called me on the Telstra line (passthrough through the Netcomm V210P) and on VoIP via the same ATA. Yes, it's repeatable: the VoIP circuits work well, but the PSTN connection repeatedly gets dropped after 5 seconds. That clarifies a number of things: first, it supports the hypothesis that the damage came in through the phone line.

Mon, 24 Nov 2014 23:53:45 UTC

Flash! Bang!

Posted By Greg Lehey

The bad weather was accompanied by lots of thunder and lightning. At one point I heard a spark right in front of meit sounded as if a monitor had arced. But a second later there was a clap of thunder, so it must have been a lightning strike. Surprisingly, nothing was obviously damaged. And then an hour later two of my monitors died. It took me a while to realize that the rest of the system was running on UPS, and that something had tripped the circuit breaker in the switchboard. In the afternoon, wanted to make a phone call. Phone was dead.

Mon, 24 Nov 2014 23:37:51 UTC

State of the art

Posted By Greg Lehey

Somebody on IRC found this on imgur today: I wonder who put it there? It's a JPEG image, but it doesn't have any EXIF information. How do you find the copyright holder? ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Mon, 24 Nov 2014 00:38:05 UTC

New monitor

Posted By Greg Lehey

A few days ago I bought a spare monitor, in case one failed. But presumably it would be of better quality than my older monitors, so swapped out my oldest monitor for the new one. I can use the old one for machines that have previously been headless. That wasn't as simple as it sounded: yes, they have the same resolution and pretty much the same dimensions, but the old one was connected by HDMI, and the new one doesn't have an HDMI connection. So I ended up having to move monitors around, and since the other monitor with HDMI had a different resolution, I had to restart (but not reconfigure) X.

Fri, 21 Nov 2014 00:17:05 UTC

Worst web site: new contender

Posted By Greg Lehey

Yvonne decided to go to Melbourne tomorrow to visit Equitana. We had really wanted to plan it with an overnight visit, but somehow that didn't happen, so Yvonne decided to go just for the day. Under those circumstances it probably doesn't make sense to go by car. 270 km at 10 l/100 km is 27 litres of petrol, or about $40. Then there's the pain of navigating through Melbourne and the probably horrendous parking fees. Wouldn't it be simpler to go by train? What does it cost? After fighting for 15 minutes, I still didn't know. I was able to establish the timetable, sort of, but nothing I could do divulged the fares.

Tue, 18 Nov 2014 23:30:36 UTC

Where's my network?

Posted By Greg Lehey

I've been trying since Friday to get an National Broadband Network connection for Stones Road. Called up Aussie Broadband and spoke to Fabien, who told me that the trouble is the lack of a location ID. It seems that NBN has assigned location IDs to all houses, but since we don't have one (yet), they don't have a location ID. Why is it taking so long to assign one? NBN can be slow. Called up the NBN and spoke to Jane, who asked me for the geographical coordinatesgood thing I had themand told me that it could take up to a week, but would probably be here by the end of the week.

Tue, 18 Nov 2014 23:26:28 UTC

New monitor?

Posted By Greg Lehey

Into town this morning to pick up a new monitor for Yvonne, and while I was at it picked up a second cheaper one$129 for a 21| 1920×1080 monitorto be prepared for the next failure. My Tandem background must be showing. Later did some searching about the causes of monitor failures. Things aren't quite as clear-cut as I thought, but articles like this one suggest that power supply failure is one of the leading causes. ACM only downloads articles once.

Tue, 18 Nov 2014 02:05:29 UTC

Dead monitor

Posted By Greg Lehey

Yvonne's monitor died today. Not the first monitor that has died on us, but since moving to LCD screens, there seems to be only one failure mode: the power supply dies. Why? We've had switching power supplies for decades, and while they have certainly evolved, you'd think it was well understood technology. LCD digital displays, on the other hand, are only now receding from the bleeding edge. You'd really expect them to be more likely to die than the power supply. The other obvious thing is that it's hardly worth getting somebody to repair it. A replacement costs $129 at Officeworks, and repair technicians can easily take that even for a simple repair.

Fri, 14 Nov 2014 22:55:51 UTC

Interpreting exposure meter output

Posted By Greg Lehey

The raw output from the exposure meter tests wasn't very helpful. Here the readings for the MK-300: 1 11:3 1/2 11:2 1/4 8:9 1/8 8:1 1/16 5.6:5 1/32 4:5 1/64 2.8:0 1/128 1:9 The first column is the power level, and the second column is the exposure meter reading, in aperture and tenths. That's really difficult to interpret.

Thu, 13 Nov 2014 23:40:27 UTC

More chrome pain

Posted By Greg Lehey

It's been a few days since I last had the dreaded GP process hung message. Maybe a web page that I have since removed from the browser state? But today I got another message, not once but dozens of times: [] glDrawEleemnts framebuffer incomplete (check) Google confirms that this, too, comes from chrome. Unlike the other message, though, it wasn't associated with an X hang. It seemed related to some issues I had mounting an SDHC card; the message output came in bursts related to inserting and removing the card.

Wed, 12 Nov 2014 00:15:09 UTC

Next DxO bug

Posted By Greg Lehey

Processing today's photos with DxO Optics Pro showed an interesting issue: I couldn't load presets. Why? Here I have tried to set a black and white preset (as the most obvious kind), and the image remains in colour. But the two smaller previews are black and white: Is this the result of my manually editing the preset files?

Mon, 10 Nov 2014 01:04:41 UTC

The way we were, 1982

Posted By Greg Lehey

This video is just going round the Unix Heritage Society mailing list: How times have changed in less than a third of a century. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Mon, 10 Nov 2014 00:49:23 UTC

Ignoring image problems

Posted By Greg Lehey

Yvonne went out riding with Chris today, and for some reason used Chris' camera rather than her own. Back home it was up to me to read in the card, for which I didn't have a cable. And at least 3 images didn't get read: Nov  9 13:48:31 eureka kernel: (da4:umass-sim2:2:0:2): READ(10). CDB: 28 40 00 00 22 00 00 00 10 00 Nov  9 13:48:31 eureka kernel: (da4:umass-sim2:2:0:2): CAM status: SCSI Status Error Nov  9 13:48:31 eureka kernel: (da4:umass-sim2:2:0:2): SCSI status: Check Condition Nov  9 13:48:31 eureka kernel: (da4:umass-sim2:2:0:2): SCSI sense: HARDWARE FAILURE asc:0,0 (No additional sense information) Nov  9 13:48:31 eureka kernel: (da4:umass-sim2:2:0:2): Retrying command (per sense data) Nov  9 13:48:32 eureka kernel: (da4:umass-sim2:2:0:2): READ(10).

Sun, 09 Nov 2014 23:54:51 UTC

GPU hang cornered?

Posted By Greg Lehey

Another GPU hang this morning! This time I had left X server 1 active, but once again it was server 0 that was affected. Something to do with the clients? Ran ps and got hundreds of processes, including 300 zombie ssh-agents, to be inspected later. But that's not the way you solve a problem nowadays. Google is your friend. And, as it proved, also the enemy. This article describes a (perhaps only marginally) different issue, but it makes it clear that the problem is associated with Google chrome. That may mean that it's sufficient to shoot down chrome, and not the X server, if it happens again.

Sun, 09 Nov 2014 00:54:38 UTC

Another GPU hang

Posted By Greg Lehey

Yet another GPU hang this morning! It's frustrating that it only appears on the console. I had hoped that the numbers at the beginning of the line would give some indication, but they don't make much sense. The first could conceivably be the PID; the second is the same as last time. On IRC, the opinion was that it was a hardware issue, maybe overheating. But the fact point elsewhere: I have an xearth process complaining about a missing marker file every 5 minutes. And the hang message is always at the bottom, so it must appear round the time I power on the monitors.

Sat, 08 Nov 2014 01:01:28 UTC

Configuring DxO

Posted By Greg Lehey

The new version of DxO Optics Pro has a number of improvements over the previous version: it can now display properly on medium resolution (2560×1440) screens, and hopefully also on 3840×2160 screens. It has reinstated the old image comparison function (original/modified), which they had previously put on the Ctrl-D key. But that repeats, so I ended up with a quick alternation of the two. Now there's a button you can hold down with the mouse. Best, though, they have finally found a (cumbersome) way of telling the crop function not to enforce aspect ratio, at least for the elite version: you can save the information with a preset.

Thu, 06 Nov 2014 00:30:12 UTC

More lagoon migration

Posted By Greg Lehey

Yvonne wanted to print a document today, something she does so seldom that she needed my help. And in the process discovered that I hadn't configured the printers since last month's system upgrade, five weeks ago. Note to self: check /etc/printcap and that the spool directories exist. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Tue, 04 Nov 2014 01:37:51 UTC

Another GPU hang

Posted By Greg Lehey

Another GPU hang today! What's causing it? This system has been running unchanged since February, and it's been up for 139 days. The hang only affects one of the two X servers, so it doesn't seem to be hardware. It's not logged anywhere except on the console, not helped by whining flash plugins: When I first saw the problem, the error message was still on the screen, but later it had long been flushed by these useless error messages. The resultant image is strange.

Tue, 04 Nov 2014 01:30:51 UTC

Web sites and ACID

Posted By Greg Lehey

I've finally decided on an exposure meter. After some backwarding and forwarding, decided on the Sekonic L-308S after all. The cheapest offer was from eGlobaL [sic] Digital Cameras, only AU $184 with postage. The cheapest price I could find on eBay was US $167.90, which corresponds to AU $198.40, and reputable US sellers are offering it for round US $235 plus postage. So I went ahead and fought my way through Yet Another Broken Website to finalize the purchase. Most web sites are too leet to accept phone numbers in standard formats (like (03) 5346 1730 in Australia). Instead they want all punctuation removed, like 0353461730.

Sun, 02 Nov 2014 21:40:18 UTC

X hang

Posted By Greg Lehey

Into the office this morning and found all my X windows empty, just with the background colour. Looking at the console showed: What's that? Nothing in /var/log/messages. The other X server was still running, but server 0 was using lots of CPU time and was otherwise unresponsive: === grog@eureka (/dev/pts/19) ~ 53 -> ps au|grep X root 16471 82.9  1.5 3840764  500208 v0  R     7Sep14 1439:46.34 /usr/local/bin/X :0 -config xorg-0.conf -logverbose 6 grog 16470  0.0  0.0   19612    1816 v0  I+    7Sep14    0:00.00 xinit /home/grog/.xinitrc -- /usr/local/bin/X :0 -conf grog 69613  0.0  0.0   19612       0 v4  IW+ ...

Fri, 31 Oct 2014 23:50:34 UTC

New DxO version

Posted By Greg Lehey

During a discussion on the German Olympus forum, discovered that there's a new version of DxO Optics Pro. Downloaded and tried to start it: We've seen things like that before, so I tried installing on Chris Bahlo's laptop, not helped by the fact that the thing didn't want to know that our DNS has changed since last time I used it. Same thing, so it's not the same as the problem I had last month. Another support request. To my immense surprise, got a response in a little over two hours.

Thu, 30 Oct 2014 00:05:52 UTC

Another NBN outage

Posted By Greg Lehey

Into the office this morning to find us off the net again. And this time it had been for over 9 hours. The NTD showed the same display as last time: the ODU LED was red. So I power cycled it, which got rid of the red LED, but I still didn't get any traffic. Called Aussie Broadband support and spoke to Abraham. No outage known, ticket taken. And I had just hung up when the connection came up again, at 09:19:40, an outage of almost exactly 10 hours. Called again, got connected to Vincent, who must be new. He took considerably longer to log the fact that the net was up again than Abraham did to log the fault in the first place.

Wed, 29 Oct 2014 00:03:36 UTC

More DxO pain

Posted By Greg Lehey

Yesterday's sausage photos required processing to square up the trays. DxO Optics Pro didn't make it easy. The first step is to use the rectangle tool to straighten up the sides: The right-hand image shows the original above and the corrected image below. But it has truncated the top! Went back and tried againand it refused to show me the original image, just the truncated version that I wanted to get rid of.

Wed, 29 Oct 2014 00:01:32 UTC

Preparing ›šŸ—› for return

Posted By Greg Lehey

It has been clear for a while that the ›šŸ—› laptop/tablet wasn't for me, though it also showed that Microsoft can still offer tablet operating systems a run for their money. So time to return it. And my private data? Daniel O'Connor found the solution for me. It's relatively easy to reset a modern Microsoft box to its factory defaults, though cleaning the disk took a couple of hours. But now I'm confident that none of my personal data remains. ACM only downloads articles once.

Thu, 23 Oct 2014 00:18:53 UTC

Zoom lenses and extension tubes

Posted By Greg Lehey

I've located some automatic extension tubes for my Olympus OM-D E-M1. I've had extension tubes for my Pentax for decades, but they're useless for Olympus lenses, because the lenses don't have a manual diaphragm: it has to be set electrically. And that's what these new tubes promise. One problem is that there are only two tubes, 10 mm and 16 mm. My old Pentax tubes were a set of 3, 11 mm, 20 mm and 30 mm, double as much as the new tubes, and with them you can get a 1:1 magnification with a 50 mm lens set on .

Sun, 19 Oct 2014 23:18:09 UTC

Watching videos the easy way

Posted By Greg Lehey

The last issue of Heise's Digitale Fotografie included a DVD with some videos on that I thought would be worth watching. OK, found the DVD, tried to put it in the DVD drive in eureka. Wouldn't open. Why not? Nothing mounted, but before I had to power cycle the machine, decided to put it in lagoon instead. === root@lagoon (/dev/pts/3) ~ 400 -> mount /cdrom mount_cd9660: /dev/cd0: Invalid argument What's wrong there? Tried in dischord, my Microsoft box, and it mounted with no difficulties. And it showed that it was a UDF file system. That might at least explain the problems with lagoon.

Sat, 18 Oct 2014 02:08:40 UTC

Computers anonymous

Posted By Greg Lehey

The lens wasn't the only thing I picked up at Napoleons. There was also a saddle blanket and a small box, also from Queensland. What was it? I wasn't expecting anything like that, and the description on the box just said A GIFT!: Opening it was even more confusing: a Raspberry Pi B+, the latest version, in a plastic enclosure. There was also an SD card with NOOBS on it. And that was all. The only documentation pointed me at, a community site.

Fri, 17 Oct 2014 01:07:37 UTC

Using Ashampoo optimizer

Posted By Greg Lehey

Since Ashampoo have broken the optimization function of their Photo Commander version 11, and they haven't responded to my error report, it looks like I'll have to move to Photo Optimizer, which has the same functionality, currently not broken. But it works completely differently. The most amazing thing is the display while it's processing photos: The only thing in focus is a completely useless image suggesting printed photos scattered at random on a cork pinboard.

Wed, 15 Oct 2014 00:31:49 UTC

Google image search: improvement needed

Posted By Greg Lehey

What are my mystery flowers? I still have some that I can't identify. But Google images have an image search function. How well does it work? Let's look for this relatively recognizable image: It comes up with no less than 5 direct hits, all of them in this diary or my daily photos page. That's reasonable. But apart from that, none of the images it found looks in the least bit like the original. At least for flowers, it's useless. ACM only downloads articles once.

Wed, 15 Oct 2014 00:14:56 UTC

NBN is here!

Posted By Greg Lehey

A flyer in the dead tree mail today with good news: the National Broadband Network is finally available in Dereel! That's more than 10 months since my service was activated. At first I thought it was Telstra, who so far have been the slowest to report, but no, this is a company called Infinity NBN. What do they have to offer to make up for their tardiness? Nothing obvious. They're more expensive than Aussie Broadband, and it seems you have to commit for at least 12 months. Still, I like their concept of how we live and work in the bush.

Tue, 14 Oct 2014 23:31:10 UTC

Multiple network pain

Posted By Greg Lehey

Lately I've been having dropouts with communication between here and my external web server in Raleigh, NC. Occasionally there'll be a few minutes disconnection, but more often it's just high packet loss. traceroute points at Telstra's net infrastructure on the US West Coast: === grog@eureka (/dev/pts/22) ~ 66 -> traceroute www traceroute to (, 64 hops max, 52 byte packets  1 (  33.162 ms  29.931 ms  30.013 ms  2 (  30.991 ms  39.812 ms  29.972 ms  3 (  29.015 ms  29.766 ms  30.009 ms  4 (  31.008 ms  28.842 ms  39.937 ms  5 (  41.012 ms  43.785 ms  39.967 ms  6 (  40.974 ms  39.787 ms  41.014 ms  7 (  38.980 ms  39.800 ms  40.060 ms  8 (  43.898 ms  36.946 ms  52.957 ms  9 (  46.029 ms (  198.774 ...

Tue, 14 Oct 2014 23:24:32 UTC

Ashampoo bug discovered

Posted By Greg Lehey

Yesterday's problems with Ashampoo Photo Commander were clearly worth entering a bug report, so did so today. One of the things they wanted was the build version, sensibly enough. And that was interesting: version 11.1.8 of 10 September 2014. Clearly something they need to fix quickly. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Tue, 14 Oct 2014 02:54:23 UTC

Investigating GPS navigators

Posted By Greg Lehey

I've given up hope of finding a usable Android GPS navigation app, so I'll probably buy a new GPS navigator. But why stick with the el cheapo navigators? I can afford a Big Name one. Spent some time looking around the web, and found that Garmin has some that don't look bad. But how easy are they to use? Watched a number of eBay clips, none of which really answered my questions. The biggest is: how accurate are the maps? While I was at JB HiFi, looked for their GPS navigators. Mounted vertically on a column. Yes, there's power to them, and you can try them out if you don't mind kneeling in the aisle to do so.

Sun, 12 Oct 2014 23:52:48 UTC

Ashampoo problems

Posted By Greg Lehey

I've been postprocessing my photos with Ashampoo Photo Optimizer on a regular basis for over 6 years, and it's good enough that I actually bought another package from them, Photo Commander, which does other stuff as well. Only in the course of time did I discover that the other stuff isn't worth it, and that the GUI makes normal optimization more difficult. But now it seems to be suffering from bit rot. Lately all the optimized images have had a distinctly brown tinge to them. Here before and after. How did that happen? To investigate, downloaded a trial version of the current Optimizer and tried again.

Sun, 12 Oct 2014 00:46:23 UTC

Where's my mail?

Posted By Greg Lehey

Yvonne told me today that various people have complained (on Facebook, of course), that they haven't received mail from her. On checking, yes, indeed: after upgrading lagoon I had forgotten to configure postfix, and she had mail backed up for days. Why didn't she notice earlier? And are there other misconfigurations lurking somewhere? ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Fri, 10 Oct 2014 01:42:25 UTC

Photo processing problems

Posted By Greg Lehey

Yvonne came to me with a problem processing her photos. The contact print page showed the image names, but not the images themselves. Looking at her screen, I saw: === yvonne@lagoon (/dev/pts/1) ~/Photos/20141004 10 -> make contacts Converting PA042709.jpg to /home/yvonne/public_html/localtmp/contacts/20141004/PA042709.jpg /Photos/Tools/mkcontacts: line 179: [: : integer expression expected Converting PA042710.jpg to /home/yvonne/public_html/localtmp/contacts/20141004/PA042710.jpg /Photos/Tools/mkcontacts: line 179: [: : integer expression expected OK, a bug in my mkcontacts script? Took a look, added some debugging echos, and finally discovered that identify (another of these namespace-polluting programs that come with ImageMagick) was dying with an illegal instruction exception and not even mentioning it on the screen.

Fri, 10 Oct 2014 00:12:01 UTC

Android: Give up?

Posted By Greg Lehey

On IRC today, Peter Jeremy mentioned Google Drive. What's that? To quote: <peter> groggy: It's also the green/gold/blue triangle on your Android tablet. OK, I'll bite. Where? I suppose some Android tablets do display them, but if mine does, it's very discreet about it. Looking around, though, I found a tulip at top left: That proved to be a microphone symbol. Touched it and got a voice non-recognition service that competes with the best of them.

Thu, 09 Oct 2014 23:53:56 UTC

Android GPS: Give up?

Posted By Greg Lehey

My old GPS navigator (only three years old) has worn-out batteries. How do I repair it? No idea. But then, I don't need a dedicated navigator, right? My Android tablet can do that too. Well, it could, and better, if I could find a useful app to do it. Tried again with GPS Navgiation & Maps - light, which is apparently a trial version of GPS Navgiation & Maps, which costs $1. Once again an app that seems to be completely useless. Like OsnAnd, it's based on OpenStreetMap, which is completely inadequate in our area. And once again the functionality appears to be minimal.

Wed, 08 Oct 2014 00:24:50 UTC

Completing the move to Victoria

Posted By Greg Lehey

Seven years ago I moved from South Australia to Victoria, and currently I'm planning the next move. But as Jürgen Lock pointed out, I haven't completely finished the move here: === grog@eureka (/dev/pts/1) ~ 3 -> finger Login: grog                             Name: Greg Lehey Directory: /home/grog                   Shell: /usr/local/bin/bash Office: Echunga South Australia         Office Phone: +61-8-8388-8286 Home Phone: +61-8-8388-8250 Why does finger still show the old address and phone number?

Mon, 06 Oct 2014 23:08:07 UTC

Reinstalling SML

Posted By Greg Lehey

A few days ago I reinstalled smlnj on lagoon, my (finally!) up-to-date FreeBSD box, for a programming language course I'm doing. And that went much more smoothly than before. But that's not all the software I needed. For Emacs I needed the sml-mode package. That wasn't as smooth: === root@eureka (/dev/pts/15) /usr/ports/lang/sml-mode.el 156 -> make install ===>  sml-mode-3.9.5_5 is marked as broken: Not staged.. *** [install] Error code 1 Stop in /home/src/FreeBSD/svn/ports/lang/sml-mode.el.

Sat, 04 Oct 2014 00:32:55 UTC

Use our software!

Posted By Greg Lehey

Participating in an online survey today, was rejected for a strange reason: OK, I'll bite. If it's not a PC, a Mac, a tablet, a smart phone or a netbook, what is it that they think I'm running? Restarted running Microsoft, and that seemed to be OK, but the survey software was so broken that I had to give up in the end. ACM only downloads articles once.

Sat, 04 Oct 2014 00:32:55 UTC

More tablet thoughts

Posted By Greg Lehey

Somehow I've opened a can of worms with this Medion ›šŸ¥› tablet. It's getting me thinking about issues that hadn't previously interested me. But the more I look at it, the more problems crop up. Andy Snow read my article comparing Microsoft and Android, and came up with a couple of comments. Firstly, he pointed out that I wasn't comparing Microsoft and Android at all, just the specific tablets I had. Correct, and I've changed the article to make that clearer. More interestingly, though, he showed me a way to stop an Android process without going through the force stop procedure: click on the double rectangle icon, which displays all apps except the current one, and swipe the icon to one side.

Fri, 03 Oct 2014 02:11:13 UTC

Upgrading lagoon, day 2

Posted By Greg Lehey

Upgrading lagoon, Yvonne's computer, had the usual hiccups, but things haven't been too bad. The good news is: === root@lagoon (/dev/pts/3) ~ 60 -> pkg install smlnj Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. The following 1 packages will be affected (of 0 checked): New packages to be INSTALLED:         smlnj: 110.76_1 The process will require 34 MB more space. 7 MB to be downloaded. Proceed with this action? [y/N]: y Fetching smlnj-110.76_1.txz: 100%    7 MB 692.2k/s    00:11 Checking integrity... done (0 conflicting) [1/1] Installing smlnj-110.76_1: 100% === root@lagoon (/dev/pts/3) ~ 61 -> sml Standard ML of New Jersey v110.76 [built: Wed Sep 10 09:31:40 2014] - ^D === root@lagoon (/dev/pts/3) ~ 62 -> That seems normal enough, but this time last year I had ...

Fri, 03 Oct 2014 01:01:15 UTC

Microsoft tablet experience

Posted By Greg Lehey

One of the last things for which I still found Android useful was playing streaming audio from the web. As I have discovered, Android apps can do this, but badly. How about Microsoft? Select in firefox, and it Just Works. Of course, without a connection to my Bluetooth adapter, it plays on the internal tinny loudspeakers (which, however, aren't quite as tinny as on my Android tablet). Still, the thing has Bluetooth support. Just associate it and we should be OK, right? Ah, but this is Microsoft. Go to Control Panel and select Add a device. Off it goes, finds the device, and starts installing a driver.

Thu, 02 Oct 2014 02:00:29 UTC

Microsoft tablet

Posted By Greg Lehey

Yvonne came back from shopping with a Medion ›šŸ¥› tablet (or is that a laptop?) running Microsoft Windows 8.1, that was on special at ALDI today. Physically it's a very big tablet (11.6") with a docking station. That's rather like what I mused about three years ago. But what do I want with a Windows device? I was driven to it by Android. At least with Microsoft you have access to normal software, even if the implementation is dubious. But with Android you don't. I went through the first year's experience with Android a month ago. Here's how things compare: Normal computer functionality, including word processing, web browsing, social networking and all those things you used to need a computer for.

Thu, 02 Oct 2014 00:47:01 UTC

System upgrade: doing it

Posted By Greg Lehey

It's been nearly 10 months since I bought new hardware for eureka and started my upgrade to FreeBSD release 10. And it's still not done! Part of the problem was the migration to pkgng, which was somewhat rocky, but which now seems to work. And then there's my fear of painting myself into a corner and not having a machine to work with. But I'm coming up to my second time round the Coursera course on programming languages, and I need to run smlnj. And I could no longer find that on eureka. eureka is running 9.2-STABLE, and it's impractical to upgrade anything on it any more.

Tue, 30 Sep 2014 02:28:22 UTC

Microsoft resource hog caught

Posted By Greg Lehey

After all my updates on Chris' Microsoft laptop, it still spends between 10 and 15 minutes of saturated disk activity after each boot or resume. Spent some more time looking at (and learning) the task manager, and found the problem: a process called SanService.exe was performing up to 10 MB/s of consistent disk access during the whole time. And how about that, Google found it for me: it's part of Sophos Anti-Virus. That's something I know nothing about. Is it necessary to scan at startup time? I'll have to do some more learning. ACM only downloads articles once.

Tue, 30 Sep 2014 00:43:44 UTC

Olympus Capture

Posted By Greg Lehey

Olympus has introduced a new feature for the OM-D E-M1: Tethered shooting, implemented with OLYMPUS Capture. Tried it out today. Finding the instructions is difficult, and so far I can only get them through the application itself, conveniently set up so that you need several mouse clicks to move from one page to the next. But by comparison it looks a lot better than other Olympus documentation. When I connected my camera, Capture didn't detect it. Olympus Viewer did, and wanted to download images. It seems that Olympus has introduced a new USB access mode. It doesn't have a name, only an image, which I call hookah: height="45" width="59" />, and that's the one that you need to select.

Tue, 30 Sep 2014 00:26:17 UTC

DxO problem: solved?

Posted By Greg Lehey

My ongoing problem with DxO Optics Pro seems to be looping. On 5 September 2014 Marion asked me to replace a file: Could you please delete the file caflist90.db in the following folder: C:\Users\ user_name \AppData\Local\DxO_Labs\DxO Optics Pro 9 The file was in fact called CAFList90.db, but who cares? At the time I removed it, and it was immediately replaced by an identical copy. I reported this, and they looked elsewhere. Then I got another message a couple of days ago:     Could you please go to the following page:     Once you have entered your equipment details, you'll be given the option to download the CAFList90.db file.

Mon, 29 Sep 2014 02:19:18 UTC

More Microsoft updates

Posted By Greg Lehey

Part of the problem chasing the DxO Optics Pro bug is that I have to use Chris Bahlo's laptop to process photos taken with Four Thirds lenses. And for some reason after boot or resume from hibernation, it takes 15 minutes or so of heavy disk activity before it's usable. Why? Clearly the things to do are defragmentation and software update. Defragging takes forever! And software Windows update had even more surprises for me. It established that 57 important updates were needed, of which it installed none: And another unknown 32 bit hex code!

Sun, 28 Sep 2014 02:51:37 UTC

We don't need no steenking uptime

Posted By Greg Lehey

DxO still haven't fixed the problem with DxO Optics Pro. In fact, they're looping: Once you have entered your equipment details, you'll be given the option to download the CAFList90.db file. Please download and copy this file to: C:\Users\ user_name \AppData\Local\DxO_Labs\DxO Optics Pro 9 Then, restart Optics Pro. You should then be able to download your modules. The only problem is, that's exactly what they said a couple of weeks ago, and I reported that the version I had was identical to the one I downloaded. It also doesn't address the fact that it still doesn't work after removing as much as I could and then reinstalling, including this file.

Sat, 27 Sep 2014 03:16:59 UTC

Fixing shellshock, the FreeBSD way

Posted By Greg Lehey

Why hasn't the FreeBSD project issued a security advisory for Shellshock? Simple, it has nothing to do with FreeBSD. It's a GNU problem. Can you compromise a FreeBSD system with it? Sure. But that's not the project's problem. Read your CERT Advisories. OK, I don't want to finger-point. I want to get rid of the problem, which seems to exist on all my systems. eureka is way out of date (and also completely inaccessible, but that's no reason for complacency). Go to the port and rebuild it: === root@eureka (/dev/pts/15) /usr/ports/shells/bash 95 -> cd /usr/ports/shells/bash You have new mail in /var/mail/grog === root@eureka (/dev/pts/15) /usr/ports/shells/bash 96 -> make ===>  License GPLv3 accepted by the user ===>  Found saved configuration for bash-4.3.25_1 ===>   bash-4.3.25_1 depends on file: /usr/local/sbin/pkg - not found ===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg You are ...

Fri, 26 Sep 2014 01:31:45 UTC

Shell shock

Posted By Greg Lehey

Another serious security bug in Open Source software! Once upon a time I was convinced that security bugs were the province of the Microsoft Spaceand that despite the RTM Worm. But now I discover I've been living with a bug in my shell for the last 25 years! And sure enough, it's still there: === grog@eureka (/dev/pts/11) ~ 429 -> env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable this is a test ACM only downloads articles once.

Thu, 25 Sep 2014 00:50:54 UTC

How much uptime?

Posted By Greg Lehey

It's been over a year since my longest ever computer uptime came to an end: 1,812 days terminated by a hardware fault. But today on Facebook somebody asked me if the machine was still up. Sadly, no. But then Ollivier Robert piped in: his machine was booted a few months before mine, and it didn't fail. Now he has: 2:17AM up 2279 days, 5:42, 19 users, load averages: 0.01, 0.02, 0.00 I'm green with envy. ACM only downloads articles once.

Sat, 20 Sep 2014 03:40:33 UTC

Voice mail problems: identified!

Posted By Greg Lehey

Over the last couple of days I've tried various things to work out why voice mail doesn't work with my MyNetFone VoIP service. And then something occurred to me, something you'd normally never notice: when the exact message Your call cannot be taken at the moment, and you cannot leave a message, so please call later is produced, I heard it too, from the base station of the wireless phone system. That can't be MyNetFone. Tried disconnecting the wireless phone, and sure enough, voice mail worked normally! What's wrong with this picture? A surprising number of things: This can't be the first time that local phone equipment causes problems.

Thu, 18 Sep 2014 01:32:16 UTC

Cygwin revisited

Posted By Greg Lehey

It's been decades since I first tried Cygwin. At the time I wasn't very impressed, and when I had to try it again I was no more impressed. But Edwin Groothuis suggested that it might be a way to find my modified files for the DxO Optics Pro problem, so I installed it again. My view hasn't changed. In particular, it still bends the directory hierarchies to suit a Unix-like view of the world. But there's a way to access the bare Microsoft drives. To quote Edwin: <MavvieRVBD> But you can still access the various disk via c: d: etc But that doesn't work for me.

Thu, 18 Sep 2014 01:28:02 UTC

DxO workaround, try 3

Posted By Greg Lehey

More playing around trying to find the DxO Optics Pro bug, ultimately without success. There's clearly something, whether a file or a registry entry, that is preventing newer versions of DxO from working correctly. But what? I've removed all files and entries that I can find, but the problem remains the same. Sent off a ticket update to DxO. I can see this, too, taking a long time. ACM only downloads articles once.

Thu, 18 Sep 2014 01:02:28 UTC

MyNetFone voice mail

Posted By Greg Lehey

What's happened to my voice mail? When I tried today I couldn't even get a connection to the voice mail number (121): silence for 60 seconds, then a disconnect signal. There's clearly something seriously wrong here. Called up MyNetFone and spoke to Naomi (again), who told me that the matter had been escalated to 2nd level, and that I'd get a call back. That happened from Mino (if I have the name right) at 14:35. Over half an hour she proved that she could leave voice mail for me, both calling from a Telstra line and from their own lines. That's better than nothing, but when I tried the same thing from my other VoIP line, I got the same old message: The phone is unattended, and you cannot leave a message.

Wed, 17 Sep 2014 02:16:33 UTC

Reinstalling DxO

Posted By Greg Lehey

As I said yesterday, what is Microsoft for find / -mtime -1? It seems that the closest I can come is with Windows explorer, which explores file systems, not windows. I can specify a time range, so selected yesterday, and found these files that Revo Uninstaller Pro had left behind: Directory of C:\ProgramData\DxO Labs\Licenses 21 Nov 2013  09:43    <DIR>          . 21 Nov 2013  09:43    <DIR>          .. 09 Jan 2013  15:38               253 dxoopticspro8demo_8.0_20130109_053828.lic 10 Feb 2013  13:18               273 dxoopticspro8_8.0_20130210_031835.lic 04 Nov 2013  13:53               250 dxoopticspro9demo_9.0_20131104_035353.lic 21 Nov 2013  09:43               275 dxoopticspro9_9.0_20131120_234351.lic     4 File(s)          1,051 bytes   ...

Tue, 16 Sep 2014 01:21:38 UTC

Catching the DxO bug

Posted By Greg Lehey

So far any attempt to get DxO Optics Pro to recognize the new modules has failed. Borrowed Chris' laptop, which has never had DxO installed on it, and tried there. It worked! So somewhere DxO have been too clever for themselves and left junk behind after deinstallation that prevents a clean reinstallation. What do I do? They want a TeamViewer session to mess around themselves. And strangely their help desk doesn't open until 8:00 UTC (well, currently 10:00 MET), which is after I stop working for the day. If it were a matter of a couple of minutes, I wouldn't be so concerned, but given that they can't just issue a fix, there's a good chance that they'll play around for hours before declaring (preliminary) defeat.

Sat, 13 Sep 2014 03:25:12 UTC

Totally removing Microsoft programs, try 2

Posted By Greg Lehey

Why can't I remove all trace of a Microsoft program, in this case DxO Optics Pro, from my computer? Somehow I find it offensive that the system retains a memory of what I have been doing. But lots of people use Microsoft; went looking for methods to remove the remains. This page promised to do just that, but in the end just removed stuff from the registry, leaving a large number of files behind. And then there are things like Revo Uninstaller Pro, which was available for a 30 day trial, so I tried it out. Sure enough, it removed all the files too.

Thu, 11 Sep 2014 01:14:26 UTC

Fixing DxO

Posted By Greg Lehey

I've had a couple of exchanges with DxO support since last week, and finally they explained (and demonstrated) to me that yes, they can load Four Thirds modules for Micro Four Thirds bodies. So why doesn't it work here? Broken update seems the most obvious cause. OK, that's simple: completely remove the old installation and start again. To be on the safe side, tried it out on dxo, my old Microsoft Vista machine, after first confirming that yes, the problem existed there too. But after removing two different versions, there were still files left in AppData. Tried various methods of removing them without success.

Fri, 05 Sep 2014 02:41:40 UTC

Phantom calls resolved

Posted By Greg Lehey

Did some research on VoIP phantom calls today. This discussion throws some light on the matter: it's a form of spam, where phone spammers scan the net for open sip ports. Why don't they say anything when you answer? Because they're oversubscribed. So if you run your SIP connection on a non-standard port, they (probably) won't get you. Met CJ today, and he confirmed that his phantom calls have stopped. So why doesn't this happen to me? Because I don't have a SIP port open to the net; it's behind my NAT setup. But this sounds like a traditional application for a firewall: allow connections only from trusted IP addresses.

Fri, 05 Sep 2014 00:39:38 UTC

Support Hell: DxO

Posted By Greg Lehey

So yesterday I sent a support request to DxO. I've had grief from them in the past, but this time the problem was obvious: they advertise that they support certain combinations of camera and lens, but the program doesn't know that. The easiest way to check is to get the program to show what modules it thinks are available: That's only partial, and of course the window can't be resized, but any Zuiko FT lenses should have been there, and scrolling shows that they're not available at all.

Thu, 04 Sep 2014 01:44:42 UTC

DxO supports more Olympus?

Posted By Greg Lehey

I have a love-hate relationship with DxO Optics Pro. It's buggy, glacially slow, and has a number of really irritating issues, like insisting on resetting crop to preserve aspect ratio. But it produces good results. About my biggest issue now is that they don't support Four Thirds lenses on Micro Four Thirds bodies. But they do! Or at least, that's what their supported equipment page says: So I tried it out.

Thu, 04 Sep 2014 01:22:26 UTC

Support Hell: MyNetFone

Posted By Greg Lehey

CJ is still having no luck with phantom calls on his VoIP installation with MyNetFone, and the support people don't seem to be able to help him. He can't even set up voice mail. He asked me to call them up, so we set up another TeamViewer session, I confirmed that it worked, and then I called up support and asked them to connect and fix the problem. Spoke to Zack, who is clearly not German. He didn't understand the issuelast week Harriet had planned to change a port number, but he didn't understand that. In fact, he didn't even know how to set up a Team Viewer connection, which is really surprisingly simple.

Sat, 30 Aug 2014 02:55:14 UTC

CJ's next problems

Posted By Greg Lehey

CJ Ellis along today with computer and VoIP problems. He couldn't find how to send a message with Gmail, so he had deleted all the important messages he had instead. And he is getting continuous calls on his phone. How is that happening? Called up MyNetFone and spoke to Harriette, with whom I had spoken a couple of weeks ago. This time she was more intelligible and wanted to configure the ATA to reject the calls. On enquiry, it seems that she was going to set a different port to listen on, though that might just be my interpretation. In any case, that means that CJ needs to be there at home, so who knows how that will pan out.

Fri, 29 Aug 2014 00:31:47 UTC

MTM: A new TLA

Posted By Greg Lehey

Discussing the National Broadband Network on IRC today, Andy Farkas came up with a new TLA: MTM. What's that? We had a number of guesses. It seems that he meant multi-technology mix, but it can also be expanded to Malcolm Turnbull's Mess. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Thu, 28 Aug 2014 02:17:40 UTC

zerofile for Microsoft

Posted By Greg Lehey

Comment from Andy Snow on IRC today: it seems that a program like my zerofile is available from Microsoft as sdelete.exe. It seems that the main purpose of the program is to obliterate the content of an existign file and then delete it, but the -z option (and yes, really -z and not /z) performs the function of zerofile. ACM only downloads articles once.

Wed, 27 Aug 2014 00:30:06 UTC

Finishing CJ's computer

Posted By Greg Lehey

Finally the backup was done, so I put the disk back into CJ's computer and booted. Your computer was unable to start\nStartup Repair is checking. My fault. When I had put the disk in the test machine, it started booting from it instead of from the FreeBSD disk. I had powered down immediately, but this suggest that it wasn't quite immediately enough. So I left Startup Repair running. What does it do? Looks like an fsck, and it took about the same time. At the end: Startup Repair cannot repair this computer automatically. What does that mean? Followed various links, but there was nothing sensible there.

Tue, 26 Aug 2014 01:13:46 UTC

CJ's installation and random Microsoft pain

Posted By Greg Lehey

So basically CJ's computer is ready, and I had planned to give it to him today. But how is he going to back it up? The way Microsoft people always do, I suppose: not at all. The least I could do was to make a copy of the disk image. And to ensure it compresses well, it makes sense to zero out all the unused file space, in this case about 90% of the total. With real computers I do this with a little program called zerofile, which creates a file and writes binary zeros to it until the file system is full.

Sun, 24 Aug 2014 01:38:42 UTC

Setting up Microsoft, again

Posted By Greg Lehey

Into the office this morning to find that CJ's computer had finished its upgrades and rebooted. And, of course, there were upgrades waiting. Tried installing them and got not one, but two of typical Microsoft 8 digit hex error numbers, 0x80070490 and 0x800f020b. I now know better than to try to decipher them, and tried again. Sure enough, this time only one error, 0x800f020bwith a difference. I followed the Get help with this error link and got no less than 8 hitsnone of which referenced the error number: Clearly they thought that they were close enough.

Sun, 24 Aug 2014 01:36:42 UTC

Firefox stupidity

Posted By Greg Lehey

While rsyncing my web pages this morning, saw something surprising: js/ js/Ge-29490ge2.html        17482 100%   14.58kB/s    0:00:01 (xfer#4, to-check=5234/11363) js/Ge-29490ge2_files/ js/Ge-29490ge2_files/ca-pub-5294144413784354.js          108 100%    0.09kB/s    0:00:01 (xfer#5, to-check=5222/11363) ... Had somebody broken in and placed a Javascript exploit? Took a look at the stuff and discovered that it was a web page saved by firefox. Yet Another Example of its complete misunderstanding of file system hierarchies. ACM only downloads articles once.

Sat, 23 Aug 2014 02:46:51 UTC

VoIP ATA configuration

Posted By Greg Lehey

So now I have two VoIP connections, one via a NetComm V210P and the other via a Linksys PAP2T. Theoretically I could run both services via the Linksys, but it doesn't have a POTS input. But it does have the advantage of relatively complete syslog facility, so it seemed good to use it for the VoIP input line so that I could log callers' phone numbers. Reconfigured it and discovered that, although I could call it, the phone didn't ring. What's wrong there? Spent a lot of time examining all the myriad configuration details of the ATA. It's a US model.

Sat, 23 Aug 2014 02:05:49 UTC

Browser memory usage

Posted By Greg Lehey

Lately firefox has been hanging frequently, and this morning I had to restart it several times in rapid succession. It seems that one of the unselected pages in Restore session was the problem. While doing that, shot down all my browsers and npviewer.bin. Shooting down Chrome was a surprise: I regained 10 GB of RAM! As I said on IRC a couple of days ago, if EMACS once stood for Eight Megabytes And Continually Swapping, they should introduce the term EGACS for web browsers. ACM only downloads articles once.

Sat, 23 Aug 2014 01:23:13 UTC

Getting CJ's computer

Posted By Greg Lehey

Yesterday TNT tried to deliver CJ's new computer. Given where he lives, that's quite impressive, but why don't they try to confirm that somebody will be there to receive the parcel before driving an estimated 50 km to deliver it? CJ is very deaf, so he asked me to call them. Did so and got Yet Another Emetic Voice Non-Recognition Disservice. Finally got through to a human by the name of TracyStacey, who told me that she would put in a request for pickup from the depot in Ballarat and call me back. Given that I was about to leave, that didn't help much.

Fri, 22 Aug 2014 01:09:54 UTC

A year of Android

Posted By Greg Lehey

It's been a year since I bought an Android tablet for real use. I had tried one a year before that, but had not persevered. Now I have been using a tablet for a year. What good is it? The attraction of the tablet is flexibility. It promises: Normal computer functionality, including word processing, web browsing, social networking and all those things you used to need a computer for.

Fri, 22 Aug 2014 01:09:51 UTC

A year of Android

Posted By Greg Lehey

It's been a year since I bought an Android tablet for real use. I had tried one a year before that, but had not persevered. Now I have been using a tablet for a year. What good is it? The attraction of the tablet is flexibility. It promises: Normal computer functionality, including word processing, web browsing, social networking and all those things you used to need a computer for.

Tue, 19 Aug 2014 02:04:58 UTC

A computer for CJ

Posted By Greg Lehey

CJ Ellis showed up here today, apparently because he had wanted to do some work on our site, but got caught by the rain. Took the opportunity to help him transfer his home phone line to VoIP, which proved more difficult than I had expected. First, of course, I had to set up access for him. CJ's not stupid, but he's 75 years old and has never really learnt anything about computers. For him nothing is intuitive. No point in trying to teach him the fine points of FreeBSD. First, he needs a computer. There's a mob called Computers for Seniors that offers cheap computers for concession card holders.

Sat, 16 Aug 2014 00:50:24 UTC

ATA: finally

Posted By Greg Lehey

Over to CJ's place this evening to connect up the ATA. It worked, fortunately. Now he's going to have to learn to live with another paradigm. Hopefully it won't involve me in too much work. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sat, 16 Aug 2014 00:39:34 UTC

Telstra: super up-to-date

Posted By Greg Lehey

Advertising from Telstra today to inform us that the National Broadband Network is now availableless than nine months after the event. But that's nothing. Look at the address: Cliff Taylor sold me the house in July 2007, and he hasn't been seen here since. And they've misspelt Kleins Road as Kliens Road. I'm a Telstra customer, for pity's sake! What incredible corruption do they have in their databases? Admittedly, it's not even the second time, but at least the third.

Fri, 15 Aug 2014 02:15:02 UTC

Configuring CJ's ATA

Posted By Greg Lehey

Called MyNetFone about CJ's unconfigured ATA. This time I spoke to somebody who told me he wanted to start a remote desktop on my PC. That's interesting simply because not all versions of Microsoft support it. But no, it wasn't really a remote desktop, that's just what he called it. Instead he wanted to use TeamViewer. Problem: I don't want people messing around on my computers, and while TeamViewer is probably relatively safe, I always run it on pain, my XP laptop. And I had left that with CJ. Reluctantly fired up dxo, the Vista box, and installed TeamViewer on that.

Thu, 14 Aug 2014 01:54:58 UTC

VoIP ATA hell

Posted By Greg Lehey

CJ's ATA, a Mitron MNFMV1, has arrived, and I promised to install it for him. Basically that means plugging it in. And sure enough, it came online and an IP address to the laptop (pain) that I had plugged into the LAN port. All plug and play. But the SIP light didn't light up. How do you diagnose that with a black box? Fortunately pain (now eucla, running FreeBSD) knew the device address, since it's the Internet gateway. So: point a browser at it? Sure, and it wants a user name and password, which MyNetFone didn't supply. admin/admin? Yup! And how about that, the thing hadn't been configured.

Sun, 10 Aug 2014 01:30:15 UTC

New ammunition against telemarketeers

Posted By Greg Lehey

On IRC today found this post from Chris Blasko (and not Chris Bahlo) about how to get your own back on telemarketeers: convince them that you're from their IT department and there's something wrong with their phone. Offer to fix it for them and get them to reset their phone to factory defaults. The more I think of this, the more fun it seems. In the example the perpetrator was connected to the marketeer, not the more usual other way round. But that doesn't make as much difference as I thought. Hypothetical conversation: TM       (Silence, sound of nose-picking) Helllo, how are you today?

Thu, 07 Aug 2014 03:45:29 UTC

Next planning permit amendment

Posted By Greg Lehey

Spent quite some time trying to fill out a form to amend my application for a planning permit. Filling out the form should be simple, but I was hindered by various software issues. The form is in editable PDF format, and I have already filled one, so it made sense to amend that form to fit the new data. But no, for some reason I couldn't change it, only the original. Make a copy? That didn't work either, though I confirmed that the content of the copy was identical. Permissions, maybe? This is using Acrobat reader on Microsoft against a file mounted via Samba on a UFS file system.

Tue, 05 Aug 2014 01:53:44 UTC

More sloppy error reporting

Posted By Greg Lehey

Copied a video file to teevee tonight. I had difficulty watching it: === grog@teevee (/dev/pts/0) /spool/Videos 10 -> mplayer Careful-He-Might-Hear-You.1983 MPlayer SVN-r35933-snapshot-3.2 (C) 2000-2013 MPlayer Team Playing Careful-He-Might-Hear-You.1983. File not found: 'Careful-He-Might-Hear-You.1983' Failed to open Careful-He-Might-Hear-You.1983. OK, that's not so surprising in itself, but I didn't type in the name: I started it and let the shell complete the file name. And ls(1) showed that the file was there. After a bit of head-scratching, found: === grog@teevee (/dev/pts/0) /spool/Videos 12 -> file Careful-He-Might-Hear-You.1983 Careful-He-Might-Hear-You.1983: regular file, no read permission It seems that cp(1) sets the permissions to --------- while copying.

Sun, 03 Aug 2014 01:22:54 UTC

Why I don't use Facebook

Posted By Greg Lehey

In the evening, discussed with Chris Bahlo how we find things on the web. I go to some trouble to correlate my own content, and for others Google is the clear favourite. But we know that Facebook also keeps things forever. But for whom? The NSA? It's not easy for normal users to find things there. A case in point: a couple of months ago Jordan Hubbard put names to some photos on a photo, including mine. Most of them were deliberate falsifications, but that was part of the fun. The issue was: how to find the posting? A Google search for hubbard lehey mckusick facebook brings up a number of hits (23,300, if you want to believe it), including several of this diary (one claiming a date of April 7, nearly two months before the event), but nothing from Facebook.

Fri, 01 Aug 2014 00:47:57 UTC

Internet for CJ

Posted By Greg Lehey

CJ Ellis along this afternoon to get help connecting to the Internet. His real concern is not so much Internet connectivity as telephony: with MyNetFone he saves so much money compared to Telstra that it covers the price of the Internet connection as well. It'll all get connected next Friday. Now where can we find somebody to teach CJ about computers? ACM only downloads articles once.

Wed, 30 Jul 2014 05:18:09 UTC


Posted By Greg Lehey

This morning at 9:38 we went off the net again! I was having breakfast and didn't find out until about 10:15. Called up Aussie Broadband support and was just describing the problem when the connection came back again. Only 40 minutes outage. But that was premature. It failed again after 8 minutes, and stayed down. Called Aussie again and got confirmation that others had had the same problem. But they still needed to treat it as an isolated fault, because the National Broadband Network hadn't reported any failure. Why not? The NTD was showing normal status, so it makes sense to guess that the problem was in the link between Dereel and Ballarat.

Wed, 30 Jul 2014 04:55:37 UTC

Where's my new VoIP account?

Posted By Greg Lehey

One of the advantages of my new MyNetFone VoIP account is that I can call in on the numbers as well. I can either transfer an existing number or be allocated a suitable one. Just go to the web site and start searching... And searching. And searching. All I found was my existing account. Finally called up MyNetFone technical support and spoke to somebody who mumbled her name as Nutella. She didn't seem to understand the issue, and I had to explain things to her several times. Then she decided to reset my login password, occasioning further delay, and in the end decided that she couldn't fix it, so she opened a ticket and told me I'd hear back from them.

Tue, 29 Jul 2014 01:09:44 UTC

New VoIP connections

Posted By Greg Lehey

Gradually we're making more phone calls, and from time to time we both need to call at once, or we get an incoming call on the landline while we're making an outgoing call on VoIP. In addition, the cost of the calls is increasing. It's still almost nothing by comparison with landline calls, but particularly the $0.24 per minute for calls to mobile phones adds up. I'm with MyNetFone, and they have other tariffs: in fact, the tariff I'm on (no rental, pay only per call) is no longer being offered. But the calls are more expensive, and they have a tariff for $9.95 a month (or $99 a year) that includes 200 landline calls, more than I'd ever use.

Thu, 24 Jul 2014 01:07:15 UTC

Intuition and documentation

Posted By Greg Lehey

It's been nearly 25 years since I got my first mobile phone, a Motorola Brick. I was one of the first people I knew to use mobiles. But times have changed: the cost differential between mobile and fixed lines has increased, VoIP has lowered the costs of fixed telephony, and now that I'm not as mobile any more myself, there seems to be no need. Well, almost. We do move around a little, and it's good to have a phone with you. But now it has to be a smart phone. Yvonne has one from Chris Bahlo, and last week I got a call on it.

Wed, 23 Jul 2014 04:47:21 UTC

Computer problems: hat trick

Posted By Greg Lehey

I've found a course on animal welfare on Coursera. That's something close to Yvonne's heart, so I suggested she go to the Coursera web site and take a look. The connection hung. Why? I still don't know. What I've established so far is that it only happens from lagoon, her machine, and only when accessing Coursera. It all goes via an instance of squid running on eureka, so you'd expect there to be no difference between individual machines. It's also not the browser: I tried both firefox and Chrome, and the results were the same. The squid logs aren't very helpful: 1405999219.104  68641 TCP_MISS/200 11922 CONNECT - DIRECT/ - is lagoon.

Wed, 23 Jul 2014 04:26:50 UTC

Linux error reporting

Posted By Greg Lehey

For some reason my MPEG recodings on cvr2, my Ubuntu Linux computer video recorder, ground to a halt today. No obvious reason, but mythtranscode ran at a snail's pace. No error messages, just very slow. Anything in /var/log/messages? No, there never is, just: Jul 22 13:16:10 cvr2 -- MARK -- Jul 22 13:36:10 cvr2 -- MARK -- Jul 22 13:56:10 cvr2 -- MARK -- I don't know why it bothers. cvr2 is Linux, not Microsoft, but since there was nothing obvious, I tried rebooting. And mythbackend didn't come back for a long time.

Wed, 23 Jul 2014 04:18:33 UTC

Swap space needs

Posted By Greg Lehey

Yvonne came to me this morning to tell me that the photo processing software had hung itself up again. That's normal enough for the Microsoft-based products, but this was FreeBSD, and she was just running make. ps(1) showed that the X server was no longer running. And /var/log/messages? ... Jul 22 11:29:03 lagoon kernel: swap_pager_getswapspace(8): failed Jul 22 11:29:03 lagoon kernel: swap_pager_getswapspace(9): failed Jul 22 11:29:03 lagoon kernel: swap_pager_getswapspace(16): failed Jul 22 11:29:04 lagoon kernel: pid 67064 (Xorg), uid 0, was killed: out of swap space Decades ago I ran computers with 8 and 16 MB of memory.

Tue, 22 Jul 2014 03:39:39 UTC

ATA internals

Posted By Greg Lehey

I'm storing more quick dial numbers in my NetComm V210P ATA, not something that is normally of very much interest. I'm putting different categories on different pages (really just web pages), and I've chosen page 3 for numbers related to house construction. So: entry 20, code 020# was JG King. 21 was Tom Tyler. But I entered the number as 021 just to see what would happen. Nothing appeared. OK, bug. Then I went back to page 2. There was an entry for Tom, entry 17. How did that get there? It took me about 15 seconds to realize how. And as Peter Jeremy suggested, 0xe also created an entry 14.

Mon, 21 Jul 2014 01:04:59 UTC

New FreeBSD books?

Posted By Greg Lehey

Mail from Mohsen Mostafa Jokar today. He wants to translate a FreeBSD book into Farsi. Problem: which book? The Complete FreeBSD is now over 10 years out of date. Michael Lucas has written Absolute FreeBSD, but that, too, is nearly 7 years out of date. Is there nothing newer? I'm half inclined to bring The Complete FreeBSD up to date, but I don't know if I have the energy any more. Maybe we should get a group of people to pitch in. ACM only downloads articles once.

Sun, 20 Jul 2014 22:39:18 UTC

Configuring Android storage

Posted By Greg Lehey

I've had my Android tablet now for nearly a year. In that time I haven't exactly made friends with it, but there are some things that aren't too painful. It has a 16 GB SD card, but it kept telling me that storage was full. When I look at the output of df(1), I saw: Filesysterm           Size    Used    Free    Blksize /storage/sdcard0     1952M    1952M     0M    4096 /storage/sdcard1    14983M      710M  14272M  4096 Why are there two partitions on the SD card?

Sun, 20 Jul 2014 01:10:08 UTC

Colour printers: 10 years of progress

Posted By Greg Lehey

Ten years ago I bought my first colour laser printer, a Brother HL-2700CN. It didn't last very long: on 6 December 2005, while I was flying back from Europe, a power surge killed it, though I didn't discover that for nearly a week. I replaced it with the same model because I had the consumables and also the duplex unit. That printer is now 8½ years old and showing its age. It prints unevenly and makes particularly worrying grinding noises while doing so.

Wed, 16 Jul 2014 00:49:56 UTC

Programming VoIP adapters

Posted By Greg Lehey

One of the minor irritations I have with VoIP via my NetComm V210P ATA is that I still have to use the phone keypad to make calls. Wouldn't it be so much easier to click on a number on the screen and have the ATA dial it? Of course it would. And as far as I know, nobody has ever implemented such an obviously good idea. But then, the ATA can store frequently called numbers and call them up via an abbreviation. Can't I store the number in one of those registers via a web application? It turns out that the answer is yes, sort of.

Fri, 04 Jul 2014 01:32:24 UTC

BigPond support from the outside

Posted By Greg Lehey

Sent a message to Ron Frolley today. It didn't get delivered: <>: host[] said: 552 5.2.0     Mexs1o00h1sUVRc01extSj Suspected spam message rejected. IB703 (in reply to     end of DATA command) Suspected spam? What's that? Against my better judgement, called up BigPond support on 13 39 33, fought their stupid voice non-recognition system, and was connected relatively quickly with a Matteo who sounded distinctly Indian. He was out of his depth from the outset. He asked for my account number, and when I told him I didn't have an account with Telstra, he asked for my birth date.

Tue, 01 Jul 2014 03:38:40 UTC

Android networking: there can only be one

Posted By Greg Lehey

One thing that really puzzles me about Microsoft networking is that every network interface has a default gateway associated with it. What does that mean? I just can't see how it can work, nor what the implementers were thinking when they did it that way. But the poison is spreading: today I rebooted flachmann, my Android tablet, and for some reason a program started itself: Android's based on Linux!

Tue, 01 Jul 2014 03:25:46 UTC

Fixing the TV reception issues

Posted By Greg Lehey

It's been over two weeks since I tried to improve my TV reception.

Tue, 01 Jul 2014 03:04:05 UTC

Microsoft Windows: 30 years and no window management

Posted By Greg Lehey

In December 1983, while in hospital recovering from an appendicectomy, Yvonne brought me a copy of Byte magazine describing Microsoft's new Windows display manager. I was excited: we had seen this before with Apple's Lisa computer, but this would run on commodity hardware. By the time it actually appeared, it was less attractive, and gradually I wandered away from the Microsoft world. When I finally got a graphical desktop environment, it was X, not Microsoft, and I managed to stay out of the Microsoft space almost completely until I had to use it for my photographic software a couple of years ago.

Sun, 29 Jun 2014 00:57:24 UTC

Android and USB

Posted By Greg Lehey

Discussion on IRC about keyboards for Android devices today. Jashank Jeremy opined that Bluetooth keyboards were no good. I've already been there, done that, and came to the conclusion that there wasn't much point attaching a keyboard to an Android. But Jashank had a different problem: the key spacing is too small, at least on the keyboards he tried. But a couple of weeks ago, for a completely different reason, I blew $1 on a normal USB to micro USB adapter, which allows me to connect normal USB devices to the tablet. Would it work with a keyboard? Most people thought not.

Thu, 26 Jun 2014 01:10:27 UTC

digitalmailbox revisited

Posted By Greg Lehey

Further discussion of Austraila Post's MyPost on IRC today. It seems that this isn't Australia Post's first attempt at something like this: they already have, which seems to do exactly the same thing. And Jürgen Lock came up with Qualsys SSL labs, which gave results for that were less than stellar: A-. Still, that's better than and, both of which get a B, So maybe they do offer bank-level security. By comparison,, and all get A. There's still a long way to go before you can trust any online financial institution, it seems. ACM only downloads articles once.

Thu, 26 Jun 2014 00:55:00 UTC

Reading Microsoft Word documents

Posted By Greg Lehey

Mark Richardson sent me a Microsoft Word document yesterday. How do I look at that? That's what a Microsoft box is for, right, and now I have one. Tried to open it, and discovered: Windows can't open this file. Why not? Sure, I don't have Word, but even Apple's base utilities can approximate to reading it. OK, off to search the web, which came up with FreeFileViewer. Installing that involved running the gauntlet of a whole lot of spamware: I got by without installing any, but I still had a registry checker that told me I had over 200 registry errors: ...

Wed, 25 Jun 2014 01:01:33 UTC

Australia Post goes electronic

Posted By Greg Lehey

Interesting paper mail from Australia Post today: they're going electronic. Instructions on how to set up an electronic mailbox, with the comforting URL, showing instantly that it's related to Australia Post. As an aside, why are people creating such long domain names lately? Not only do most people not type well, but the toys they use to access the web make it even more difficult. Still, it was worth trying. Setup was easy modulo the stupid password rules. It seems that A2z is an acceptable password, but Don't break in isn't. And the confirmation email I got was typical of modern systems: Content analysis details:   (4.0 points, 3.0 required)  pts rule name              description ---- ---------------------- --------------------------------------------------  1.0 HTML_FONT_FACE_BAD     BODY: HTML font face is not a word  3.0 MIME_HTML_ONLY         ...

Tue, 24 Jun 2014 00:50:20 UTC

DxO PRIME: Worth the trouble?

Posted By Greg Lehey

DxO Optics Pro is one of the slowest programs I've ever used. Even on a relatively fast machine it takes about a minute of CPU time per image. But clearly that's not slow enough: the latest version includes a noise reduction algorithm that slows it down to about 15 minutes of CPU time on my machine. Is it worth it? I've been taking photos of the dogs with the camera sensitivity set to 33° ISO (1600 linear), and there's some noise to be seen. Today I tried the effect of PRIME. It's hard to see: It's not until you magnify the detail images to their original 600×450 crop and run ...

Sun, 22 Jun 2014 02:41:41 UTC

More TV reception problems

Posted By Greg Lehey

Somehow my fix to the MythTV configuration didn't do the job. I'm still getting really bad reception on tuner 2. About the only thing I have eliminated is the cabling: tuner 2 is the first tuner in the daisy chain, and it's the one with the problems. It looks like I'll have to try to recover the old tuner database and see if there's something obvious about the differences. That's not the only problem. Recently just about every new programme has simply not been recorded. Looking in the log file, I find things like: 014-06-20 16:04:25.698 DB Error (change_program): Query was: UPDATE program SET starttime = '2014-06-21T22:32:44',     endtime   = '2014-06-21T23:28:51' WHERE chanid    = 2002 AND       starttime = '2014-06-21T22:32:34' Driver error was [2/1062]: QMYSQL3: Unable to execute query Database error was: Duplicate entry '2002-2014-06-21 22:32:44-0' ...

Wed, 18 Jun 2014 02:34:54 UTC

USB catastrophe

Posted By Greg Lehey

I know that FreeBSD release 9 has issues with USB, particularlyfor some reasonon eureka, my main machine. So when I connect cameras or backup disks to it, I first switch to /dev/ttyv0 to avoid this strange X bug that causes the mouse to hang. But today that didn't work. The display hung, and I couldn't get any response even after disconnecting and reconnecting keyboard, mouse and other things. I had to reboot. How I hate rebooting! My troubles weren't over, though. I had no networking! After some cursing and investigation, discovered that natd wasn't working: although it was configured, I had put in my own firewall rules, and natd only gets started if I use the standard firewall configuration.

Sun, 15 Jun 2014 00:47:59 UTC

New mouse

Posted By Greg Lehey

While in town yesterday, I picked up a new 6 button wireless mouse from OfficeWorks. It represents a new low in documentation: And that's really everything. The fun started when the receiver wasn't detected when I plugged it in to the keyboard hub. Only when I put it in a port on the motherboard did I get: Jun 14 08:28:18 eureka kernel: ugen1.9: <MOSART Semi.> at usbus1 Jun 14 08:28:18 eureka kernel: ukbd2: <MOSART Semi.

Thu, 12 Jun 2014 23:35:07 UTC

TV reception problems, next step

Posted By Greg Lehey

I've had TV reception problems for years, and I've been keeping notes in my diary. Why didn't I look there earlier? It seems that almost exactly three years ago I had the same problem: fine-tuning was disabled. And so it was again today. Set the flag; now to see if it helps. It wasn't helped by random variations in each direction. I seem to recall some issues with frequency, but so far I haven't been able to find them. ACM only downloads articles once.

Thu, 12 Jun 2014 03:39:33 UTC

Parting from my old computers

Posted By Greg Lehey

What do I do with all the old computers, books and listings in the shipping container? I haven't looked at them in years, and we don't want to take the container with us when we move. Chris Bahlo wants to buy it, and we should move it before the winter sets in and the ground gets too soft. So today Stewart and Craig came by and picked up many of the old computers, and also my old brewing fridges, to be scrapped: I couldn't bear to look.

Wed, 11 Jun 2014 04:27:51 UTC

More recording problems

Posted By Greg Lehey

I've been keeping an eye on my TV reception quality for nearly 3 years now, and I still don't understand why sometimes things are normal, and sometimes the image quality is completely unacceptable, to the point where no data at all are recorded. I've eliminated most things, including the tuners and cabling. But since my reconfiguration of the system over the weekend, things are different. Recordings on tuner 1 are consistently fine, and recordings on tuner 2 are consistently unusable. Why? I didn't do anything with the hardware. It looks as if it must be something to do with the configuration itself, which is certainly confused: it had lost the names of the tuners, for example.

Mon, 09 Jun 2014 01:37:19 UTC

The weekly eBay pain

Posted By Greg Lehey

Last week I tried to sell my old camera on eBay Australia. The problems I ran into were clearly bugs. Somewhat to my surprise I got a well-thought out answer to my bug report a few days later, offering workarounds for the bugs. But I didn't want to list it on a Wednesday. I have a hypothesis that from the seller's perspective the best time for an auction to finish is on a Sunday afternoon, when lots of people can watch it run to completion. It also seems reasonable to have a 7 day auctionanything longer tends to get forgotten. So that meant putting it up on a Sunday afternoon.

Mon, 09 Jun 2014 01:06:04 UTC

MythTV: the agony

Posted By Greg Lehey

So what do I do with my MythTV problems? I have at least three alternatives: address the immediate problem by modifying or updating the grabber software, install the latest version of MythTV, or install something else altogether. Fixing the problem in the current release has two significant disadvantages: it's probably only a matter of time before a new shepherd update will break it againafter all, I had the same issue 18 months ago. And it also requires me to learn more PERL than I want. Installing a new version of MythTV makes more sense, but how much work will it be?

Sun, 08 Jun 2014 01:42:30 UTC

More MythTV pain

Posted By Greg Lehey

Spent some more time reluctantly looking at my MythTV problems today. Once again, I see the value of keeping a diary: I got an almost identical error message 18 months ago. And it looks as if once again a shepherd update broke things. Unfortunately, the solution isn't the same. I'm going to have to accept the fact that my MythTV installation, installed over 5 years ago, is too old. Can I bear reinstalling it? ACM only downloads articles once.

Sat, 07 Jun 2014 01:56:18 UTC

Failure after failure

Posted By Greg Lehey

Woken up at 0:57 by the UPSs beeping: another power failure. That's so common here that I don't do more than confirm the fact. But it wasn't the only failure. My nightly mythfilldatabase run failed. Why? This stuff is so opaque that I really don't know. Tried re-running shepherd, which seemed to have forgotten everything it ever knew, and at the end it could no longer communicate with mythtv: 2014-06-06 14:46:45.044 XMLTV config file is: /home/mythtv/.mythtv/.xmltv 2014-06-06 14:46:49.110 Error in 1:1: unexpected end of file Huh?

Thu, 05 Jun 2014 02:10:38 UTC

eBay workaround

Posted By Greg Lehey

It took a while, but finally I have an answer from eBay about my listing problems. In fact, the support person (later identified as Jehan) went to a lot of trouble and just about listed the item for me. The problem? Who knows? He suggested clearing all cookies, which might have made a difference, but a lot of those cookies are unrelated to eBay, and any script that is so confused by them is clearly badly written. I wonder if this has been reported to the software development people. I suspect not, since they didn't ask me for any more details.

Tue, 03 Jun 2014 02:03:08 UTC

Network outage: aftermath

Posted By Greg Lehey

Updated my Facebook post about Saturday's network outage. Yes, at least one person affected wasn't using Aussie Broadband, so it looks like an National Broadband Network issue. When I have time I'll chase that one down. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Tue, 03 Jun 2014 01:59:00 UTC

Online activations: failed

Posted By Greg Lehey

We've been waiting for the activation of a SIM card from ALDI mobile and two debit cards from ANZ bank. It's not clear than any of them have worked. The last thing I heard from ALDI mobile was:         Transferring your number can take from 4 to 48 business hours to complete, and we appreciate your patience.         Whilst you are waiting for your transfer to complete, you can track the progress of your order by logging in to your account using your account number (instead of your mobile number).

Mon, 02 Jun 2014 00:35:00 UTC

Selling cameras on eBay

Posted By Greg Lehey

It's time to get rid of my old Olympus E-30. eBay's the place to do that, of course, so collected my photos and set off to list it. Things have changed at eBay, not only the massive breach of security they had a few weeks back, and which they didn't report to their users until much laterI heard about it on the radio news. But they've also changed their listing policies since I last sold something, so it was a little slow. But that wasn't all. After filling out all the fields, I got a message: OK, what policy?

Mon, 02 Jun 2014 00:22:05 UTC

Network outage!

Posted By Greg Lehey

Since the advent of the National Broadband Network, our network troubles are overaren't they? Today I discovered that I had lost connection round 16:10. Called up Aussie Broadband support and went through the usual debugging steps. At least he didn't ask me to reboot my computer, but he did ask if I had a spare router lying around. I did, and it also got no connection. How do you debug this kind of problem? The NTD is pretty much a black box. We know that it's an Ethernet bridge, but how exactly does it work? What do these constantly flashing LEDs mean?

Fri, 30 May 2014 03:40:39 UTC

More NiZn insights

Posted By Greg Lehey

The NiZn batteries in my mouse were discharged and needed changing today. There are two, and they're in parallel. On removal the voltages were 0.387 V and 0.630 V. That's surprising for two reasons: firstly, being in parallel the voltages should have been very close. Secondly, they're far too low: a discharged NiZn battery has about 1.55 V. But until yesterday evening the mouse worked normally. What happened? One issue with batteries in parallel is that they need to discharge at the same rate. That implies very consistent characteristics. The fact that the two batteries had such markedly different voltages after discharge shows that that's not the case here.

Thu, 29 May 2014 03:56:04 UTC

Facebook tracks me!

Posted By Greg Lehey

BSDCan is over, but not forgotten. David Maxwell posted a photo of a whole lot of us, including not only me, but also Jordan Hubbard, Kirk McKusick and Randi Harper. Problem: none of us were there. Jordan and Randi confirmed it,and I can't see Kirk there. In fact, I haven't been out of Australia for 8 years, coincidentally after returning from BSDCan 2006. Why did David claim we were there? Why, did David claim we were there? No. It seems that Facebook decided that it recognized us there. It's clearly not very clever: as far as I can see, all the people in the photo are male, but it seems that Tamara Colby (whom I don't know) is female, and so is Randi.

Fri, 23 May 2014 03:03:17 UTC

Mail address harvesters

Posted By Greg Lehey

Spam's a fact of life, of course, but occasionally I see things that are a little unusual:  740 N   21-05-2014 PlatinumPfizer       To bloedmann    (  12) N   Mr. bloedmann, Ready For 71% OFF?  743 N F 21-05-2014 To freebeer          To freebeer     (  12) N F Mr. freebeer, Ready For 71% OFF?  745 N + 22-05-2014 PlatinumPfizer       To brewer       (  12)   + Mr. brewer, Ready For 71% OFF?  747 N   21-05-2014 PlatinumPfizer       To daemon       (  12) N   Mr.

Thu, 22 May 2014 00:14:40 UTC

Monitor damage?

Posted By Greg Lehey

I've been quite happy with the Matrix NEO 270WQ 2560×1440 monitor monitor that I bought 18 months ago. The price was right, and it works wellmost of the time. About one time out of 10, when I turn it on, the display is scrambled, just a lot of vertical lines. I've found that switching to a different vty or X server gets rid of that. When I came into the office this morning, it happened again. But this time I was so engrossed in an IRC topic on monitor 3 that I didn't notice for several minutes. And when I did the switch, there were residual vertical lines on the display.

Sun, 18 May 2014 01:56:50 UTC

Sudden traffic increase

Posted By Greg Lehey

I don't monitor my external web site traffic very frequently, but RootBSD supply some useful tools. Today I took a look and discovered that I had used about 280 GB since the beginning of the month. That's a little more than average for the whole month. Looking at the graphs showed that most of it had occurred in the past two days. Time to look at the log files: - - [13/May/2014:12:41:18 -0400] "GET /grog/diary-aug2010.php?dirdate=20100409&imagesizes=1111111111111111111121111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 HTTP/1.0" 200 521410 "-" "Riddler (" - - [13/May/2014:12:43:08 -0400] "GET /grog/diary-nov2009.php?dirdate=20091111&imagesizes=111111111111111111111111111111111111111111111111112111111111111111111111111111111111111111111111111111111111111111111111111111 HTTP/1.0" 200 509842 "-" "Riddler (" - - [13/May/2014:12:43:52 -0400] "GET /grog/diary-nov2009.php?dirdate=20091113&imagesizes=111111111111111111111111111111111111111111111111111111111111 HTTP/1.0" 200 501004 "-" "Riddler (" - - [13/May/2014:12:44:03 -0400] "GET /grog/diary-aug2011.php?dirdate=20110822&imagesizes=111111111111111111111111111111111111111111111111111111111211111111111111111111111 HTTP/1.0" 200 502215 "-" "Riddler (" On the face of it, that's not a particularly high hit rate, but each ...

Thu, 15 May 2014 01:02:39 UTC

Ports upgrade: proof of the pudding

Posted By Greg Lehey

So yesterday I finally got my FreeBSD ports up to date. Today I checked: ==== Wed 14 May 2014 09:33:17 EST on pkg upgrade Updating repository catalogue Nothing to do Finally! === root@stable-amd64 (/dev/pts/3) /usr/ports 5 -> hugin Shared object "" not found, required by "hugin" What caused that? Yes, like so many other ports, Hugin was installed from the Ports Collection, not from a package. But the information was stored in the same database. Clearly there's something wrong here.

Wed, 14 May 2014 00:55:32 UTC

FreeBSD ports: finally up to date

Posted By Greg Lehey

Continued with the port upgrade on my build machine today. 551 fatal warnings to remove. In fact, it wasn't quite that bad: === grog@eureka (/dev/pts/12) /src/Music/audiostream 15 -> grep WARN /usr/ports/Log.log.0 |sed 's:conflict.*::'|sort -u Checking integrity...pkg: WARNING: locally installed cups-image-1.5.4_1 Checking integrity...pkg: WARNING: locally installed py27-setuptools-2.0.1 Proceed with installing packages [y/N]: Checking integrity...pkg: WARNING: locally installed cups-image-1.5.4_1 pkg: WARNING: locally installed docbook-4.2 pkg: WARNING: locally installed docbook-4.3 pkg: WARNING: locally installed docbook-sk-4.1.2_4 pkg: WARNING: locally installed docbook-xml-4.3 pkg: WARNING: locally installed docbook-xml44-4.4_1 pkg: WARNING: locally installed docbook-xml45-4.5 pkg: WARNING: locally installed docbook440-4.4_2 pkg: WARNING: locally installed docbook450-4.5_2 pkg: WARNING: locally installed docbook500-5.0_1 pkg: WARNING: locally installed hdf5-1.8.10 pkg: WARNING: locally installed py27-setuptools-2.0.1 So basically it was only 4 ports, though DocBook accounted for many of them, includingit seemsmultiple versions.

Tue, 13 May 2014 01:15:11 UTC

RawTherapee: first impressions

Posted By Greg Lehey

RawTherapee seems to have a lot of features. What it doesn't have is a manual. Still, photo software is photo software, right, and it should be easy enough to understand. So I fired it up and got a barely legible screen: How can you read that? Spent 10 minutes looking for the settings tab (it's at bottom left) and came up with a better looking screen (GTK default): But that's as far as I got.

Tue, 13 May 2014 00:48:24 UTC

Fatal pkg warnings

Posted By Greg Lehey

I still haven't got round to upgrading to FreeBSD release 10. My last attempt, nearly 2 weeks ago, ended with the system hanging on shutdown. But that could have been due to the old machine I was running it on. I needed to try it in my current build machine. And to get at that I had to tidy away the mess on the desk. Got that done today, put in the disk, and sure enough, it works fine. So the next step was to bring the software up to date. Build world, build kernel, install kernel, upgrade packages. 1 GB of packages to download!

Tue, 13 May 2014 00:34:11 UTC

Security and cameras

Posted By Greg Lehey

I've grumbled about the network connectivity of my Olympus OM-D E-M1 in the past, but it seems that there are cameras that have more functionality. The Samsung NX300 looks like a competitor to the E-M1, but it seems to have better functionality, well hidden in the documentation. It seems that it even has an X server. But Georg Lukas did some investigations and came up with some amazing security issues. 802.11 with no passwords, no encryption. It reminds me of the bad old days of war chalking. I suppose it's a sign of the changes in wireless network security that is for sale.

Tue, 06 May 2014 03:24:00 UTC

Indian Doctor: Easter egg or coincidence

Posted By Greg Lehey

We're watching the third episode of The Indian Doctor at the moment. One thing in the current episode jumped out at me: the registration of what I think is an Austin A30: Is that an Easter egg or coincidence? ACM only downloads articles once.

Tue, 06 May 2014 00:58:32 UTC

Toshiba FlashAir: first impressions

Posted By Greg Lehey

Today I received the Toyota FlashAir" card that I ordered a while back, along with a manual (a single large sheet of paper with pages reduced in size by a factor of about 12). Fortunately I had already located the manuals page, so used that instead. and sure enough, it worked as well as can be expected with my android tablet (signal strength: excellent\ntransfer rate: 1 mb/s). but that's not what i wanted to use it for. How about connecting it to a real computer? The problem there is that, like so many network adapters in the photography space, it behaves as an access point.

Mon, 05 May 2014 00:44:55 UTC

More network mysteries

Posted By Greg Lehey

Why do I get protracted network outages after a power failure? There are many reasons, but finding it is easier if the NTD is on a UPS. Did that today, watched the bizarre LED sequences as it rebooted (the power light doesn't come on immediately, for example), and then saw: May  4 15:26:55 eureka kernel: xl0: link state changed to UP May  4 15:28:11 eureka dhclient: New IP Address (xl0): May  4 15:28:11 eureka dhclient: New Subnet Mask (xl0): May  4 15:28:11 eureka dhclient: New Broadcast Address (xl0): May  4 15:28:11 eureka dhclient: New Routers (xl0): May  4 15:28:12 eureka dhclient: New Routers (xl0): That suggests that the boot time is 1 minute, 16 seconds, which seems to be about normal for a modern device with the processing power of ...

Sun, 04 May 2014 00:19:13 UTC

Power and net failures

Posted By Greg Lehey

Another short power failure this morning at 3:42. Nothing unusual, but when I got into the office, I discovered that we had been off the net from then until 6:30. Why did that happen? Yes, I still don't have my NTD on a UPS, so the initial failure is understandable. But why so long? As (bad) luck would have it, I had the opportunity to compare in the evening, when the next failure occurred. This time we were off the net from 23:02 to 23:40, only 38 minutes. But even a slow reestablishment of the link should be complete in 5 minutes.

Tue, 29 Apr 2014 02:13:34 UTC

System migration, one small step

Posted By Greg Lehey

I've been gradually upgrading systems for several months now. Yvonne's machine is particularly down-rev: FreeBSD 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Mon May 31 16:22:12 CST 2010  i386 One of the reasons I'm dragging my feet is because I don't want to find myself in a position on eureka where there's some show-stopper and I can't go back. So it makes sense to try upgrading Yvonne's machine first. OK, that's easy enough. Put a spare disk into my development machine, partition it, copy the root file system (which in my way of doing things includes /usr), then sync her /home directory across the net.

Sat, 26 Apr 2014 01:14:15 UTC

Photo processing for Yvonne, 10 years on

Posted By Greg Lehey

Yvonne's new camera also opens opportunities for better processing, including distortion correction with DxO Optics Pro. But how do I explain it to her? Document it, of course. I've had a document on line for what proves to be well over 10 years, and times have changed. Surprisingly, it didn't take very long to write it, and Yvonne managed to use it without too many problems. The biggest issue I found was Microsoft: since it doesn't really understand the concept of users, files created on CIFS file systems belong to the user who mounted them (me) even when Yvonne is logged in, and so back in the Real World she can't modify the files.

Mon, 21 Apr 2014 01:09:13 UTC

Networking cameras

Posted By Greg Lehey

I've ranted in the past about the appalling quality of network support for my Olympus OM-D E-M1. But to be fair to the designers, it appears that they didn't originate this nonsense: they appear to have copied others. I've seen reviews of other cameras with the same fettered (or is that tethered?) view of networks. Yvonne's new camera has remarkably similar specifications to mine, but it doesn't have any networking capability. For that Olympus suggests the PENPAL PP1. This is a really professional unit: When OLYMPUS PENPAL is connected to the Accessory Port 2*1 on back of the OLYMPUS PEN E-PL2 camera, resized JPEG images (sizes: 640 x 480 (default), 1280 x 960 or 1920 x 1440 pixels) can be transferred easily to a Bluetooth device such as a smart phone, or to another camera with OLYMPUS PENPAL installed.

Tue, 15 Apr 2014 01:10:08 UTC

SBS on demand: only in emergencies

Posted By Greg Lehey

SBS TV is currently running an interesting series, Putin, Russia and the West, which their terminally broken web site can't find. I started watching the second episode a couple of days ago, but couldn't recall finishing it. Still, never mind, that's what SBS on demand is for: watch recent episodes via the web. So I tried that. What a catastrophe! First I had to log in, and the web page blocked automatic filling in of the user name and password. Finally I had found the information, but after it played some particularly emetic, non-skippable commercials, I get the message this program is currently not available.

Sat, 12 Apr 2014 03:28:29 UTC

FreeBSD fixes OpenSSL bugtwice

Posted By Greg Lehey

Yesterday's forced upgrade of my OpenSSL installation also solved the Heartbleed issues. But that was the port security/openssl. There's also a version of OpenSSL in the base system. How do you know which you're using? The base program is /usr/bin/openssl, and the port is /usr/lcal/bin/openssl. Which do you execute? Depends only on the sequence of directories in your PATH environment variable. In my case, it's /usr/local/bin/openssl. You can check the version like this: === grog@eureka (/dev/pts/29) ~ 1 -> /usr/bin/openssl version OpenSSL 0.9.8y 5 Feb 2013 === grog@eureka (/dev/pts/29) ~ 2 -> /usr/local/bin/openssl version OpenSSL 1.0.1g 7 Apr 2014 But this is on my old, down-rev system, as the first output shows.

Fri, 11 Apr 2014 00:09:54 UTC

OpenSSL: Upgrade!

Posted By Greg Lehey

OpenSSL is certainly the the topic of the month, but that topic doesn't address my problem: why can I not access qpopper on my new server, while anybody else can (but not login, of course), and I can access qpopper on the old server with the same software? It wasn't a FreeBSD issue: I also tried with Linux both from my network (failed) and externally (worked). Asked on IRC, and most people confirmed that they could access it. Only Jamie Fraser had the same problems as I did. At least that took the emphasis off the network connection. In the meantime, I bitched and moaned about the fact that I had to have a certificate in the first place and have the choice of a paid signature or an untrusted certificate.

Wed, 09 Apr 2014 23:56:17 UTC

Another OpenSSL issue

Posted By Greg Lehey

Today was the day that the Heartbleed bug was announced. Did I care? I had my own OpenSSL issues. Mainly for Chris Bahlo's sake we run qpopper on our external server, and today I had to migrate it. I failed. I suppose part of the issue is my aversion to the entire thing. It requires certificates, and you have the choice of paying money to somebody to sing the certificates, or be our own certificate authority. Since this is only for our personal use, we're more than happy to take the second choice, and that's what we've been doing for nearly 5 years.

Wed, 09 Apr 2014 01:57:19 UTC

Migrating external servers

Posted By Greg Lehey

I had intended to take my time migrating my web server to the new platform. RootBSD have given me a month, and so far it has only been a week. But then I heard from Stephen Rothwell that he's migrating to a new platform tomorrow. That will involveoh horror!one hour's downtime, and it will also require a change in IP address, which is a bit of work in itself. So: what do I need to do to get the new platform up and running? Web server, mail server (for web-generated error messages) and DNS. The web server's already running, but without PHP.

Tue, 08 Apr 2014 00:05:35 UTC

Firmware update, Nikon style

Posted By Greg Lehey

One of my main objections to Olympus' Digital Camera Updater is that it exists. I know from the existence of the Canon Hack Development Kit that Canon/business/imaging.html does it via the memory card. What about Nikon? Checked, and yes, they do it that way too. But in the process I discovered a firmware update for my old CoolPix L1. OK, that's worth trying for comparison's sake, even though the update doesn't reallly mean anything to me: With a PictBridge connection to certain printers, images with a file size greater than 1 MB - those captured at higher quality settings such as 6M* High (2816*) - began printing irregularly part way through the printing process.

Mon, 07 Apr 2014 22:41:25 UTC

A day wasted with Olympus firmware updates

Posted By Greg Lehey

Yesterday I managed to upgrade the firmware for my Olympus Zuiko Digital ED 70-300mm telephoto using the Olympus E-30 and Microsoft Vista, but by then the day was over, so I didn't get round to upgrading the firmware for the E-M1. That should be pretty straightforward with Vista, but I wanted to understand why it didn't work with Windows 7. Called up Olympus support on 1300 659 678 and spoke to Vivian, who told me that it was a Windows error, and that they couldn't help.

Mon, 07 Apr 2014 02:34:59 UTC

Updating firmware, Olympus style

Posted By Greg Lehey

Olympus has released new firmware for the E-M1, so today I tried to install it. What a catastrophe! Other vendors do it correctly and supply a downloadable file that can then be copied to the camera via USB. But Olympus has a special program to do this, and of course it only runs on certain softwareand hardware, it seems. From their system requirements: This software requires a computer with a pre-installed operating system. Operation is not guaranteed when using a home-built PC or upgraded operating system. It's a good thing Olympus doesn't make computers, or they might restrict its use to their own computers.

Sun, 06 Apr 2014 02:03:36 UTC

How to fill 32 GB memory

Posted By Greg Lehey

While processing my photos this morning, I discovered that I was using 70% (7 GB) of swap. How could that happen? I have 32 GB of memory in this box. Further investigation showed that I had left a wireshark process running, and it had collected in the order of 32 million packetsand stored them all in memory!   PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND 14334 root            1  21    0 24819M 20095M select  7  22:26  5.27% wireshark A good reason to keep an eye on these things.

Sun, 06 Apr 2014 00:23:56 UTC

Microsoft space programs: why so slow?

Posted By Greg Lehey

I've been grumblingwith good reasonabout the speed of my Microsoft-based programs for some time. I used to think that DxO Optics Pro was particularly slow, but the other ones I'm using aren't noticeably faster, and Olympus Viewer is significantly slower. In particular, display refreshing is a matter of chance, and some things are orders of magnitude slower than on FreeBSD. Part of this is the insistence on showing unrecognizable images of each file. Today I measured the time it took DxO to start up and get as far as being able to do anything useful: Time       Elapsed       Status ...

Thu, 03 Apr 2014 23:50:30 UTC

... and stoop to build 'em up with worn-out tools

Posted By Greg Lehey

It's been over a day since I got a patch to ls(1) from Kirk McKusick. Why didn't I commit it? First I needed to bring my FreeBSD -CURRENT system up to date. Then I discovered that the disk was PATA and thus no longer fitted into my test box. Still, I had an older box lying around, the remains of my teevee computer after Yet Another Power Surge killed the USB bus and the Ethernet interface, so put the disk into it and started bringing -CURRENT up to date. And that took 24 hours! On rebooting, I didn't have any Ethernet devices!

Tue, 01 Apr 2014 22:43:17 UTC

ls: our grandfathers' cruft

Posted By Greg Lehey

Mail from Kirk McKusick today enclosing a patch to ls from Igor Sobrado of the OpenBSD project. It seems that FreeBSD ls (and maybe ls from some other BSDs) doesn't conform to the standard. The -f (don't sort) flag must imply the -a (show entries starting with a dot) flag: -f List the entries in directory operands in the order they appear in the directory. The behavior for non-directory operands is unspecified. This option shall turn on -a. When -f is specified, any occurrences of the -r, -S, and -t options shall be ignored and any occurrences of the -A, [XSI] -g, -l, -n, [XSI] -o, and -s options may be ignored.

Tue, 01 Apr 2014 22:33:10 UTC

New machine

Posted By Greg Lehey

Chris Bahlo and I have had a virtual server with RootBSD for nearly 6 years. Although my professional life was very much related to high availability, this one beat everything I have experienced. It's sad that hardware failure took it down just 2 weeks before the 5 year anniversary, but that's still 1,733 days uptime, nothing to sneeze at. The down side, of course, is that the operating system is 6 years down-rev. In addition, the disk space is minusculeonly 10 GBso I've been hosting my many photos with my friends at Ozlabs. But their conditions are changing, and one of the problems is that I am generating half their traffic.

Tue, 01 Apr 2014 00:46:15 UTC

Wireless camera access: new hardware

Posted By Greg Lehey

On 21 February 2014 I bought a USB wireless LAN adapter on eBay: After a month, there was still no sign of it, so I asked for and got a refund, then purchased a new one. Today the first one arrived: it hadn't been posted until 15 March 2014, over three weeks after purchase and only a couple of days before the refund. No wonder it didn't arrive on time. And how does it work? Mar 31 14:48:32 stable-amd64 root: Unknown USB device: vendor 0x148f product 0x5370 bus uhub3 Still, that's enough to google for, and the first hit related to FreeBSD.

Mon, 31 Mar 2014 04:40:38 UTC

System upgrade, next step

Posted By Greg Lehey

My network connection via stable-amd64 has been working well for a couple of days, and I haven't had any of these timeouts that were irritating me earlier in the week. Time to move the connection to its final location, on eureka. Put in another network interface, and while I was at it looked for the speaker connector, which I hadn't set up when I built the machine. With good reason: this high-quality enclosure doesn't have a speaker! Not a big issue, since they almost never fail, and I had dozens of old machines from which I could cannibalize a speaker. But why didn't they include one?

Mon, 31 Mar 2014 04:11:27 UTC

Another day of photo processing

Posted By Greg Lehey

Continued with my photo processing today. Processing TIFF is even slower than processing JPEG, and it's not helped by the tools. Although I saved time by not using DxO Optics Pro, things took much longer. In particular, enblend ran literally for hours: grog       44082 100.0 17.6 13336228 5888976 ??  RN   11:43am   101:33.71 enblend --compression=LZW --  ---m 10000 -w -f15080 Looking at those large numbers is easier with top:   PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND 44082 grog            1 108    5  7128M  3017M CPU4    4  14:34 100.00% enblend But why so little memory?

Sun, 30 Mar 2014 02:06:14 UTC

Patching Leo's notes

Posted By Greg Lehey

Mail from Harald Arnesen and also IRC comments from Jashank Jeremy today. Both have patched most of the problems in The Lions Book. But incorporating the means messing with TeX again, and I voiced my opinion about that years ago in Porting UNIX Software: I have been using TeX frequently for years, and I still find it the most frustrating program I have ever seen. In the process, discovered mail from Liu Yubao, about 4 years ago, addressing some rendering issues. I can see I'm going to have to do something Real Soon Now.

Sat, 29 Mar 2014 00:31:44 UTC

Reviewing the DHCP issue

Posted By Greg Lehey

I've been tracing DHCP traffic since yesterday, and it shows what I expect: cases where the DHCP server doesn't respond. And at the same time various connection resets. Apart from yesterday's example with IRC, discovered that my problems with streaming radio are also related: each time I have a hiccup like that, the radio drops out and requires 30 seconds to pull itself together again. Clearly a nuisance. But is this a problem with the DHCP server? Maybe that's just another symptom. One thing that's not only related to DHCP is the DHCP discover request: it's a broadcast, so potentially it can get through where other things can't, maybe because it has lost the ARP information.

Fri, 28 Mar 2014 01:58:53 UTC

Router breakin: more analysis

Posted By Greg Lehey

Mail from Michael Hughes today. He obviously has even more time on his hands than I do, and looked at the data that my intruder was copying on Tuesday: I got to looking at the long echo line you have in your diary and the first part of it is an ELF head for a binary. It looks like they are trying to create an executable through echos. So some kind of breakin program? I'm not sure that I care that much, but it's interesting to note.

Fri, 28 Mar 2014 01:29:07 UTC

Leo's notes updated

Posted By Greg Lehey

Some time in May 1994, nearly 20 years ago, I came into my office in the morning, took a look into alt.folklore.computers, as you do, and found a large uuencoded document with the subject Leo's notes. Could it be? Passed it through uudecode, and sure enough: TeX sources for the Lions' Commentary on UNIX 6th Edition, with Source Code! I was ecstatic. Somehow I have lost that original post. So, it seems, has alt.folklore.computers. But I kept the files and published them. And now I get a message from Brian Foley with errata for the text, which had been scanned in by a friend I only met several years later.

Thu, 27 Mar 2014 23:47:03 UTC

Understanding DHCP

Posted By Greg Lehey

My network connection is still flaky. In particular, the IRC connections continue to drop. Traced both DHCP and IRC and came up with some interesting details. To save space, the trace shows the IP addresses in numeric form. is my router, is the other end of the link, and is, my external server. First the router issues three DHCP requests and gets no reply: After 15 seconds it issues a DHCP Discover and gets immediate (47 ms) replies from the previously unresponsive DHCP server: So I was back and had the same IP address, so most TCP connections remained.

Thu, 27 Mar 2014 00:46:57 UTC

Tracking the network problems

Posted By Greg Lehey

Spent much of the day waiting for my sporadic network problems to crop up again. They happened, but on analysis I found that I had two different DHCP servers on the same network: one from the router and one from the machine with which I was monitoring the net. Killed the latter dhclient and let things trace again. No problems any more (apart from the 60% drop in download speed caused by the old hub). But a lack of problem doesn't mean it's gone, so left it run. ACM only downloads articles once.

Tue, 25 Mar 2014 21:32:25 UTC

Goldweb GW-WR401N exploit

Posted By Greg Lehey

So who is abusing my router? Found a power supply for the 10 Mb/s Ethernet hub and put it between the router and the NTD and sniffed. A lot of false positives, but then: localhost login: root Password: root BusyBox v1.6.1 (2011-11-18 17:55:13 CST) Built-in shell (ash) Enter 'help' for a list of built-in commands. # echo -e \x5A Z # mkdir -p /var/run/.zollard/ # cd /var/run/.zollard/ # rm -rf armeabi # echo -n > armeabi # chmod +x armeabi && echo -e \x5A # echo -ne \x7F\x45\x4C\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x02\x00\x28\x00\x01\x00\x00\x00\xC4\x85\x00\x00\x34\x00\x00\x00\xB4\x00 \x02\x00\x02\x00\x00\x05\x34\x00\x20\x00\x04\x00\x28\x00\x0E\x00\x0D\x00 \x01\x00\x00\x70\x14\xFD\x01\x00\x14\x7D\x02\x00\x14\x7D\x02\x00\x08\x00 \x00\x00\x08\x00\x00\x00\x04\x00\x00\x00\x04\x00\x00\x00\x01\x00\x00\x00 \x00\x00\x00\x00\x00\x80\x00\x00\x00\x80 >> armeabi This box (a Goldweb GW-WR401N) is wide open!

Mon, 24 Mar 2014 22:27:49 UTC

Compromising a BSD network

Posted By Greg Lehey

When I got up this morning, Yvonne's first words were We're off the web. How can I get her to distinguish between net and web? She was right, of course, and the logs suggested that something happened at midnight: 1395579442 2.02739 5    # Sun 23 Mar 2014 23:57:22 EST 246.622 ms 1395579508 0.539084 5   # Sun 23 Mar 2014 23:58:28 EST 927.500 ms 1395579571 1.35849 5    # Sun 23 Mar 2014 23:59:31 EST 368.057 ms 1395579716 0 0 hub w3         # Mon 24 Mar 2014 00:01:56 EST 1395579806 0 0 hub w3         # Mon 24 Mar 2014 00:03:26 EST Connectivity dropped to 0 (3rd column) pretty much exactly at midnight.

Sat, 22 Mar 2014 00:43:49 UTC

GPS collar for the dogs

Posted By Greg Lehey

While in town, took a look at what ALDI had to offer. Just what I was looking for! A Cocoon GT42395 GPS tracker, advertised as being usefulamongst other thingsfor tracking (presumably runaway) dogs. It cost $80, and I've since found it advertised on eBay for $250. Brought it home and took a look: How do I unpack it? That's not a package, it's a protective case, and it's screwed down, something they didn't think necessary to mention in the instruction manual.

Fri, 21 Mar 2014 00:34:15 UTC

Stitching the Apostles, continued

Posted By Greg Lehey

I've continued trying to get the exposure consistent for my panorama of the Twelve Apostles. I sent a message to the Hugin forum a couple of days ago and got a couple of different suggestions: Terry Duell pointed me at this tutorial and noted that he had had good results with it; basically select Exposure fused from any arrangement in the stitcher tab. Yes, that made some improvement, but not as much as I wanted. Dave H (yes, that's all the name I have) had a different approach: lighten in GIMP before stitching. Fine, but that's exactly what I did, modulo program.

Wed, 19 Mar 2014 01:20:11 UTC

More panorama strangenesses

Posted By Greg Lehey

Apart from the fact that yesterday's panoramas at the Twelve Apostles weren't overly interesting, there were a couple of other issues: firstly, I made the mistake of not getting the stretches of waves in any one image (something that I learnt not to do last year in Apollo Bay. That's obviously my own fault. But what about the exposure? The right-hand side of this image is far too dark: But that's not what the image said: Clearly I need to look more at exposure compensation.

Sun, 16 Mar 2014 02:27:51 UTC

Strange shutdown behaviour

Posted By Greg Lehey

Shutting down the TV this evening was surprising: What went wrong there? It looks as if it was a lot of npviewer.bin processes core dumping, leaving a single dump file: -rw-------     1 grog  wheel    427,184,128 15 Mar 22:19 npviewer.bin.core Surprisingly, given the lack of the final 4 seconds with no buffers dirty, the system did shut down clean. ACM only downloads articles once.

Sat, 15 Mar 2014 00:43:29 UTC

Enblend fixed!

Posted By Greg Lehey

Message from Rusmir Dusko on IRC this morning, asking me to close the bug reports against the enblend build failures. Sure enough, it seems that it has been fixed, or more likely, the vigra has. Took me several hours to bring my ports tree up to dateSubversion has had Yet Another Incompatible Updatebut at the end of it I finally had a working enblend on FreeBSD 10-RELEASE. Thank God for that! Now I can complete migrating eureka to release 10. ACM only downloads articles once.

Tue, 11 Mar 2014 00:00:34 UTC

Android: do I need it?

Posted By Greg Lehey

Just a couple of days ago I had more or less come to the conclusion that Android tablets were worth the trouble. And now I run into other problems: the battery of my tablet, just over 6 months old and always carefully looked after, is dying. What do I do? It's under warranty. Well, maybe they exclude the battery, but there are ways around that (OK, then change it, and I'll pay for the new battery. Sorry, sir, we don't repair these things. OK, replace the tablet or I'll contact Consumer Affairs), but do I want another of these tablets? In all likelihood it's a design fault that causes the battery to be overcharged.

Thu, 06 Mar 2014 23:51:49 UTC

Android and smart phones: change of opinion?

Posted By Greg Lehey

For years I've been saying that smart phones are not worth the trouble. And now I have had an Android tablet for over 6 months. Have I changed my opinions? The first mention was a suggestion from Tom Maynard to take a smart phone to my greenhouse for identification purposes. My objections at the time were price, network coverage and display resolution. I suspect I was wrong in assuming that it would have to be a mobile network; I specifically mentioned the availability of an 802.11 network, but implicitly discounted it. And since then my assumption of a price of $800 has dropped to below $200, and the resolution of my current tablet is towards the low end at 1280×800.

Thu, 06 Mar 2014 23:05:42 UTC

Internet in 20 years?

Posted By Greg Lehey

I'm currently doing Charles Severance's course Internet History, Technology, and Security. Although I've been living in networks for decades, it's interesting, and it fills in a few gaps. One of the assignments is: Write an essay that imagines how the Internet will be different 20 years from now. That's an interesting thought, and so I wrote more than the 1000 word limit. There's nothing surprising there. I don't really see any killer app coming: it's more a social issue now. I think network speeds will stagnate somewhere between 100 Mb/s and 1 Gb/s, unless the unexpected killer app shows up. No more paper newspapers, few books, no more radio-frequency radio or TV broadcasts, few physical shops.

Thu, 06 Mar 2014 22:55:42 UTC

Internet in 20 years?

Posted By Greg Lehey

I'm currently doing Charles Severance's course Internet History, Technology, and Security. Although I've been living in networks for decades, it's interesting, and it fills in a few gaps. One of the assignments is: Write an essay that imagines how the Internet will be different 20 years from now. That's an interesting thought, and so I wrote more than the 1000 word limit. There's nothing surprising there. I don't really see any killer app coming: it's more a social issue now. I think network speeds will stagnate somewhere between 100 Mb/s and 1 Gb/s, unless the unexpected killer app shows up. No more paper newspapers, few books, no more radio-frequency radio or TV broadcasts, few physical shops.

Thu, 06 Mar 2014 04:21:59 UTC

Microsoft: no strerror ()

Posted By Greg Lehey

It seems that Microsoft space programs don't like to scare users with error messages, and when they do, they try to be as vague about it as possible. But a couple of days ago I got a different error message while trying to update dischord, my Microsoft Windows machine, something like: Can't install update: error 0x80072f78 The use of Unix-like 0x to represent a hex number shows that this isn't typical Microsoft. But what does the code mean? Why don't they have an error string, like strerror () returns?

Tue, 04 Mar 2014 23:33:26 UTC

4K monitors on the way?

Posted By Greg Lehey

For years I've been waiting for high-definition monitors to show up. 14 years ago I had two Hitachi SuperScan 813 monitors with a resolution of 2048×1536 (3 MP). That was the highest I had for over 12 years, until September 2012, when I got my 2560×1440 monitor, but I still don't have a monitor with a vertical resolution as high as that of the Hitachis. Now, finally, 4K TVs with a resolution of 3840×2160 pixels are coming on the market at prices people can afford to pay. Andy Snow and others on IRC pointed me at this page, describing the 39" Seiki SE39UY04.

Mon, 03 Mar 2014 21:45:51 UTC

A shampoo for Yvonne

Posted By Greg Lehey

Yvonne is also taking a large number of photos nowadays. Up until yesterday she had taken 8,523 photos or videos in less than 3 years with her Canon IXY 200F. Up to now she has been processing them with xv, which offers a relatively limited range of processing options. In particular, in view of my success with Ashampoo Photo Commander 11, I thought that I could migrate her to that as well. That required a number of things. It runs on dischord, my Microsoft box, so I had to set up a user for her and enable remote access. Here Microsoft's limitations are particularly apparent.

Mon, 03 Mar 2014 04:53:11 UTC

A use for Ashampoo

Posted By Greg Lehey

Last night I took more silly photos of Chris Bahlo with the dogs. And I've found a disadvantage in my new Meike flash unit: though it recharges relatively quickly (about 4 s with NiZn batteries after a full discharge), the lower capacity means that the full discharge happens more often. In addition, lack of full charge doesn't stop my camera from taking photos when not enough charge is available. I need to check whether that's a camera setting, or whether there's something wrong. In any case, the result were some seriously underexposed photos. How well can I compensate for that with the processing?

Sat, 01 Mar 2014 23:27:40 UTC

Microsoft space strangenesses

Posted By Greg Lehey

House photo day today, the extended set on the first Saturday of a month. And lately I've been doing more and more of my processing on a Microsoft platform. The software may perform the required operations, but I never cease to marvel how difficult it is to interact with all of this software. Never mind that Olympus Viewer can't remember its settings from one minute to the next, or that DxO Optics Pro is slower than molasses and sometimes can't read directories: they all seem to have problems just hanging, and the lack of a window manager in Microsoft means that they can get in your way.

Fri, 28 Feb 2014 00:20:26 UTC

Honest CPU cycles

Posted By Greg Lehey

Decades ago at Tandem, our CEO Jimmy Treybig told us that we should find ways to use CPU cycles honestly. What he meant, of course, was to find applications that justifiably used lots of CPU time and thus sold processors. He would have been proud of modern web browsers:   PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND   400 grog            1 103    0   197M 60304K CPU7    7  19.9H 100.00% chrome   387 grog            1 103    0   197M 60304K CPU6    6  19.9H 100.00% chrome 16418 grog           35  20    0  1188M   815M uwait   3 138:43 100.00% firefox-bin It's difficult to compare the speed of ...

Fri, 28 Feb 2014 00:15:26 UTC

Yet Another Broken Photography Package

Posted By Greg Lehey

C't digitale Fotographie arrived today, along with a DVD with various things on it. One was Studioline Photo Classic SE 3, which promises lots of useful base functions: Professional photographic processing and photo database with hierarchical categories and evaluation system. Allows importing raw photos and can read and process IPTC and EXIF data. Maybe that reference to databases and import should have warned me. But I installed it, and found at least voluminous documentation: 305 pages of it. That's almost too much.

Thu, 27 Feb 2014 23:54:48 UTC

Watching H.264

Posted By Greg Lehey

Yesterday's download of Downton Abbey had one problem: it's 1080p in MPEG-4/H.264 coding, and my TV computer couldn't handle it. Discussing the matter, though, Jürgen Lock mentioned VDPAU. Yes, of course I'm using it. Look... Oh. Modified the baroque script I use to launch mplayer and all was well: CPU usage down from 70% to 3%. === grog@teevee (/dev/pts/4) /spool/Images 6 -> mmp Downton-Abbey-4-1 /usr/local/bin/mplayer-old -alang en -cache 16384 -osdlevel 3 -subfont-osd-scale 1 -vo vdpau -vc ffh264vdpau -calctime -savetime Downton-Abbey-4-1 -framedrop -fs -really-quiet 2> /var/tmp/mmp-errors And in passing it's interesting to note that the definition of this recording is really much better than what we see on TV.

Thu, 27 Feb 2014 23:41:26 UTC

Improving signal to noise ratio

Posted By Greg Lehey

This diary has always been my personal diary, though I share. But much of I write must be deathly boring to most people. In particular, for the past 5 years it has been aggregated into the ACM queue web site. Early on I introduced categories so that ACM could select only computer-related topics. But as time goes on, I'm writing more and more, and little of it can be interesting to the average ACMQ reader. This month, out of a total of 132 entries in ACMQ, I wrote 53. Yes, they're all somehow related to computers, but that doesn't make them interesting to anybody except myself.

Mon, 24 Feb 2014 22:52:31 UTC

More E-M1 network experiences

Posted By Greg Lehey

So how do I download photos from my camera to a computer without the help of OI.Share? Yes, I have a web page, but I need the individual images. Maybe it's as simple as appending the image name, like Tried that with a browser on my Android, and it seems that it might be right; only of course the browser doesn't know what to do with the image. Tried a JPEG image with OI.Share, and sure enough, it downloaded it. Almost. It changed the name to hide the origin, and seems to have done some kind of reformatting: -r----x--x  1 grog  lemis   2,903,504 24 Feb 11:22 OI000001.jpg -rw-rw-r--  2 grog  lemis   2,887,042 23 Feb 12:12 P2234068.JPG That's the same image, firstly downloaded via OI.Share and then directly from the card.

Mon, 24 Feb 2014 22:33:01 UTC

Understanding Android, next attempt

Posted By Greg Lehey

When I came into the lounge room this morning, my Android tablet had the display illuminated, and it didn't respond correctly to swiping. Some software hang? Found the reset hole and reset the thing, which didn't seem to improve matters greatly. Not until another reboot did it respond normally. Why? It was trying, with apparent lack of success, to update the Zoiper app. Running out of space? For some obscure reason, the tablet has divided its 16 GB SD card into a 1.9 GB partition and a 14 GB partition, and it only uses the former, now nearly full. Will it overflow into the second?

Mon, 24 Feb 2014 00:06:36 UTC

How to scan QR codes

Posted By Greg Lehey

My discussion about the Olympus OM-D E-M1 wireless link support continues. It seems that there are two users, User and Admin. But the documentation speaks, probably more correctly, of a private and a one-time connection. The documented difference is that in the latter case the password changes every time you set up a connection. In fact, not even that is correct: you get the chance to change it every time you set up a connection. The undocumented difference is that you can only control the camera in private mode. And that's what Reinhard was talking about. In fact, the one-time connection mode makes sense in many scenarios.

Mon, 24 Feb 2014 00:02:06 UTC

More computer pain

Posted By Greg Lehey

Spent much of the day processing photos, not helped by various X bugs that came to bite me. Got server 1 stuck in a loop again, and this time on restarting I was back to this strange behaviour where I had to move the cursor after input. And then I got the dreaded mouse jump hang not once, but twice. No doubt about it: it's related to USB. Now if I could only get enblend to work on release 10, I'd finally be able to upgrade. ACM only downloads articles once.

Sun, 23 Feb 2014 00:20:03 UTC

More E-M1 networking

Posted By Greg Lehey

More investigation of the Olympus OM-D E-M1 wireless networking today. Reinhard Wagner had told me that there are two different users defined in the camera: one could control the camera, the other just access the images. By chance I had got hold of a second Android tablet, a Bauhn (i.e. ALDI) AT-HK97. Under the circumstances it proved to be a poor choice: OI.Share doesn't support it. But I was able to connect to the camera using the standard settings page: the camera shows up as an access point, and it allows setup with WPS, just like a normal access point. Unfortunately, I was not able to connect a second tablet.

Sat, 22 Feb 2014 05:51:24 UTC

Completing XP SP3 install

Posted By Greg Lehey

Into the office this morning to find pain, my Microsoft XP box, telling me that it couldn't install Service Pack 3 because there wasn't enough space. OK, that can be fixed. But then I couldn't find the download! Internet Explorer had put it somewhere that I couldn't find, and it doesn't seem to have a downloads page. Fortunately I had the name of the file from yesterday's security issues, and was able to search for it with a recursive DIR invocation. It was in C:\WINDOWS\SoftwareDistribution\Download\2bc0b3c55e0c166e04844934d1c7c342\WindowsXP-KB936929-SP3-x86-ENU.exe. Clearly they didn't want me to find it. Installation ran for hours! But it succeeded. And when it did, of course, I was waiting for many more software updates, but it still wanted to install updates for SP2.

Fri, 21 Feb 2014 00:25:04 UTC

Installing Windows XP Service Pack 3

Posted By Greg Lehey

Installing Windows XP service pack 3 sounded like a good idea. My old Dell Inspiron 5100 has only 512 MB of memory (or, as I said at the time Microsoft must be getting really memory hungry if a laptop can use that much memory), so there's no point in trying to upgrade to a newer version of Microsoft. And since support for XP is about to cease, it looked like time to install the latest version. How do you do that? The control panel, which hasn't really changed since those days, doesn't have a Windows Update function. It seems that you must use Internet Explorer to do that.

Fri, 21 Feb 2014 00:04:31 UTC

Networking an E-M1

Posted By Greg Lehey

Yesterday's revelations about the nature of the network support of the Olympus OM-D E-M1 got me thinking. Can't I do that too? The problem is that the camera has its own SSID and generates its own password. Those are basically access point functions. The thing doesn't know its place in the network. So I need a device that can associate with it. I have one, of course: my Android tablet. But that means disconnecting from any other network. Apart from that, I don't use wireless networking. But I do have an old PCMCIA wireless card, one of the many that Rasmus bought for us over 12 years ago.

Wed, 19 Feb 2014 23:57:52 UTC

Olympus E-M1 networking

Posted By Greg Lehey

One of the big disappointments about my new Olympus OM-D E-M1 is the abysmal networking support. According to the instructions, it can only interface to a tablet or smart phone, and to do so the device must completely disconnect from any other network. Network indeed! It's a point-to-point connection. There was a discussion of the matter on the German Olympus Forum today, in the course of which Oliver Musch pointed me at this thread in another forum, where somebody had actually managed to talk to the camera from a PC. He describes it here: the problem is that the camera generates its own SSID, of the form E-M1-P<serial-number>; it's as if it wants to be its own access point.

Wed, 19 Feb 2014 23:47:43 UTC

Microsoft hibernation, next pain

Posted By Greg Lehey

I still haven't found a way to get dischord, my Microsoft 7 box, to hibernate correctly. What I'm trying now is to power cycle it after hibernation. It then will still react to a magic packet across the network, so the only real issue is the physical access to power cycle it. But today, though it came up, I couldn't access it via rdesktop. Why not? Took at look with tcpdump and discovered dischord trying to access the Internet via sky-gw, the now-removed gateway to the SkyMesh network. That needed fixing, of course. And for some reason, Microsoft decided that I was now on a new network, Network 3.

Wed, 19 Feb 2014 23:33:15 UTC

Net download speeds revisited

Posted By Greg Lehey

A couple of days ago I had significant problems downloading videos from Coursera, getting under 100 kB/s aggregate. That appeared to be at least in part because I was using a different download server. Today I had more videos to download from the same server. This time, though, things were fine: That's an aggregate speed of 3.221 MB/s, or 25.678 Mb/s payload. You certainly can't complain about that. ACM only downloads articles once.

Tue, 18 Feb 2014 23:54:08 UTC

Continued enblend pain

Posted By Greg Lehey

Another attempt at compiling enblend with clang. It's like pulling teeth. At Jürgen Lock's suggestion, tried telling it to use different C++ standards. That made a difference: things died in different places. I'm reminded of Andy Tanenbaum's quote: The nice thing about standards is that you have so many to choose from. More seriously, this whole thing is a catastrophe. I have two large, not-very-well written packages that are so compiler-sensitive that I can't find a way through the jungle. Is this what C++ was meant to be? In the end, I put it back on the too hard queue, at least for the time being.

Tue, 18 Feb 2014 00:44:59 UTC

Enblend port, next try

Posted By Greg Lehey

Finally got round to looking at the enblend port, which has been broken for months since changing compilers. Applied all the patches that people have sent to me, but it still fails with undefined references like this one:[_ZN5vigra6detail11exportImageIN9vigra_ext28ConstCachedFileImageIteratorINS_8RGBValueIhLj0ELj1ELj2EEEEENS_11RGBAccessorIS5_EEEEvT_S9_T0_RKNS_15ImageExportInfoENS_14VigraFalseTypeE]+0x116): undefined reference to `vigra::isBandNumberSupported(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)' What's causing that? Both enblend and vigra are unduly sensitive to the compiler in use, and the change to clang has completely broken them.

Tue, 18 Feb 2014 00:24:20 UTC

Goodbye SkyMesh

Posted By Greg Lehey

My two month trial with SkyMesh started either on 19 December, when I got the equipment, or on 21 December, when they finally sorted out their configuration. Time to give notice of termination. Sent a message to Paul Rees, summarizing the reasons: Parts of it were excellent. Good things: Reliable connection.

Tue, 18 Feb 2014 00:17:10 UTC

Aussie Broadband support

Posted By Greg Lehey

Another round of Coursera videos today, 184 MB of them. Not a worry any more since my connection to the National Broadband Network: that corresponds to a download time of a little over a minute. But today that didn't happen; instead of the expected 2.5 MB/s download speeds, I ended up with about 20 kB/s. What went wrong? Tried again from my external server in Maryland. 8 MB/s. Even copying from there came over with 450 kB/s. So what was wrong?

Sun, 16 Feb 2014 01:33:18 UTC

MySQL table editor: finished!

Posted By Greg Lehey

More work on MySQL Edit Table today. Now it works, I think. I can add, modify and delete records, and search for them. For the time being it's enough. There are still many rough edges and other things I'd like to do, but since I have (re)written much of the code, I'm in a better position to do that kind of thing. ACM only downloads articles once.

Sun, 16 Feb 2014 01:13:56 UTC

Still more backup disk isssues

Posted By Greg Lehey

My issues with the backup disk are still not over. Even after reading data from the disk, mount claims that the device is not configured: === root@eureka (/dev/pts/26) /var/log 202 -> dd if=/dev/da0s1d of=/dev/null count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.000490 secs (1045004 bytes/sec) === root@eureka (/dev/pts/26) /var/log 203 -> mount /dev/da0s1d /backups mount: /backups: Device not configured What now? It almost looks like a kernel debugging session, but first I'll complete my migration to FreeBSD release 10. ACM only downloads articles once.

Sun, 16 Feb 2014 00:13:06 UTC

X pain

Posted By Greg Lehey

Since moving to my new computer, I've had more strange problems with X: server 1, which had previously never given me any trouble, started hanging. Today I managed to provoke it again, but after restarting I couldn't get my mouse to respond. I've had that issue before. In fact, every time I start server 0, the first time round the mouse is dead. I have to immediately stop it and restart it. But that no longer worked. Time to look in the log files. In /var/log/Xorg.1.log I found: (WW) product 0x05d8: No Device specified, looking for one...

Sun, 16 Feb 2014 00:10:14 UTC

Network speed comparisons

Posted By Greg Lehey

I was very impressed by my 26 ms ping time to yesterday. But today things weren't nearly as good. Ran mtr for a while and discovered that the bottleneck was at the other end, in the TransACT network, and that in fact my link is capable of very fast speeds, down as low as 17 ms. I'm impressed. ACM only downloads articles once.

Sat, 15 Feb 2014 02:50:57 UTC

More database editor pain

Posted By Greg Lehey

I'm making progress on fixing MySQL Edit Table, but it's slow. The lack of comments and the emetic HTML output make it very difficult to understand, and today I spent much of my time reformatting the HTML output so that I could understand it. I hate ugly indentation at the best of times, but now is not the best of times: it was absolutely necessary to get anything done. Finally I had the Add record functionality almost working. But it seems the code makes assumptions about the primary key:         if (!$edit && $key == $this->primary_key)           $field = "<input type='hidden' name='$key' value='>[auto increment]"; And no, there's no check to see if that's the case or not.

Sat, 15 Feb 2014 01:46:39 UTC

Networking: faster?

Posted By Greg Lehey

Still no technical message from Aussie Broadband today, but I did receive an invoice, which also indicated that I would get double the data allowance (in other words, 100 GB) for the first 6 months. That's not on their web site, but it was on the advertising I got a few months ago. So: I'm on the net. How is it? Ran some speed tests and got some quite good results: latency (ping) of 36 ms, downlink 26.2 Mb/s, uplink 4.2 Mb/s. That's about as good as I've had.

Fri, 14 Feb 2014 01:08:21 UTC

Still more USB pain

Posted By Greg Lehey

Somehow the USB connection for my new system is more than a slight problem: Feb 13 02:05:19 eureka kernel: (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 01 61 1f 00 00 04 00 Feb 13 02:05:19 eureka kernel: (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error Feb 13 02:05:19 eureka kernel: (da0:umass-sim0:0:0:0): SCSI status: Check Condition Feb 13 02:05:19 eureka kernel: (da0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) Feb 13 02:05:19 eureka kernel: (da0:umass-sim0:0:0:0): Retrying command (per sense data) Feb 13 02:05:25 eureka kernel: g_vfs_done():da0s1d[READ(offset=806802456576, length=16384)]error = 6 ...

Fri, 14 Feb 2014 00:51:57 UTC

Electric fence equipment

Posted By Greg Lehey

We've provisionally fenced our property in Stones Road so that we can put horses on it. Problem: no power yet. So we bought a solar-powered electric fence actuator, which should deliver 8 kV and a charge of 0.3 J. Not according to our voltmeter: Who's right? Is it possible that the voltmeter is wrong? We've seen relatively low voltages from our main electric fence too. More checking needed. ACM only downloads articles once.

Thu, 13 Feb 2014 23:46:53 UTC

Where's my network?

Posted By Greg Lehey

It's been two days since I signed up for a National Broadband Network service with Aussie Broadband. I've received documentation including user name and password that looked surprisingly like I had created themand discovered that I had. I was with Aussie until nearly 4 years ago, and they still have my details on file. But that's all I've heard of them, and after 2 days the link still hasn't been provisioned. The documentation suggested that I should have received contact details, but I haven't had any email from them whatsoever. Called up (why do they, as a VoIP supplier, only have a more-expensive number 1 300 880 905?

Wed, 12 Feb 2014 23:42:21 UTC

My first network contact

Posted By Greg Lehey

I'm participating in the Coursera course Internet History, Technology, and Security, mainly, it seems, because I read only History. So far there have been two weeks of seven, in which we have covered practically all of Internet history up to the opening up to the general public. And now I have an assignment: Write an essay about how your first encountered the Internet or an earlier networking technology. [sic] I suspect that my history is a little atypical, so I'll keep it online as well. Like Unix, my first encounter with the Internet was relatively late.

Tue, 11 Feb 2014 22:46:49 UTC

Next table editor: MySQL table edit

Posted By Greg Lehey

Continued looking at table editors today. The next on the list was MySQL Edit Table (or MySQL table edit, depending on where you look: the author doesn't seem to have decided). Yesterday I noted that MySQL Ajax Table Editor had very brief installation instructions. You can't say that about MySQL table edit. It has none whatsoever, just UTSL. Once again you have to edit an example and bend it to your table. So I did thatno easier or more difficult than with MySQL Ajax Table Editorand found a screen full of error messages about undefined variables.

Tue, 11 Feb 2014 22:40:49 UTC

More new system problems

Posted By Greg Lehey

Somehow my issues with the system upgrade aren't over. As I feared, yesterday's fixworkaround for Microsoft's hibernation issues didn't work. In fact, it didn't make any difference at all, and once again I had a dirty reboot. Why can't Microsoft get it right, or at least report the errors in a sensible way? FreeBSD is a completely different matter, of course. It's been years since I had any suspend working. But I have other issues there too: I discovered that the nightly backup jobs had been failing, and I hadn't noticed for over a week: mount: /dev/da0s1d: Device not configured That looks like one of these issues I've been contending with for years.

Tue, 11 Feb 2014 00:09:11 UTC

MySQL table editors

Posted By Greg Lehey

One of the software packages that has atrophied over the course of time is phpMyEdit, which we (mainly Yvonne) use for maintaining tables like household expenditure and the contents of the deep freeze. But two years ago the maintainers of PHP, in their infinite wisdom, brokedeprecated the interfaces it relies on, and the only solution I could find was to run a separate web server in a virtual machine with the old version. That's seriously suboptimal, of course, and now that VirtualBox no longer runs (until I rebuild the port), did some consideration about what I could replace it with.

Mon, 10 Feb 2014 23:46:50 UTC

Power line Ethernet throughput

Posted By Greg Lehey

I've been complaining about the poor throughput of my power line Ethernet adapters since I got them. But recent thoughts about network throughput led me to the thought that maybe once again we're running into TCP window issues. And sure enough, teevee had the sysctl net.inet.tcp.rfc1323 set to 0, which in particular turns off window scaling. Why? I didn't change anything, and the default should be 1. But after setting it to 1 and setting big buffer sizes, things sped up considerably.

Mon, 10 Feb 2014 23:22:07 UTC

Hello ISP

Posted By Greg Lehey

As planned, called up Aussie Broadband and signed up for a 50 GB service. First spoke to Will in technical support, who apparently thought I was signing up for fibre and told me that I could expect effectively the full 100 Mb/s download speed. Once again, I'm not sure if he understood the term TCP, but we'll see. The service is direct Ethernet with DHCP, and he was surprised to hear that Exetel still use PPPoE. But he wasn't much help with more technical details, like link configuration; clearly they have other people for that.

Mon, 10 Feb 2014 23:11:44 UTC

Goodbye ISP

Posted By Greg Lehey

Call early this morning from Angelo Senaratne of Exetel, the Level 1 Support Engineer who sent me the we won't fix message last week. No, they hadn't reconsidered, though he rejected my claim that they were not prepared to offer the same level of service as Internode. But he made it abundantly clear that he didn't know what TCP isinstead he talked of client/server relationships, which of course are normally TCP. So maybe they just don't understand that their performance is sub-par.

Sun, 09 Feb 2014 23:55:42 UTC

Fixing Microsoft hibernation problem

Posted By Greg Lehey

One great thing about Microsoft is that almost everybody uses it, so if I run into a problem, the web will have an answerwon't it? This search led me to a number of things, including this thread with an answer from a Microsoft engineer that almost worked, though clearly it's a workaround, not a fix. Now I need to see how well it recovers, but given the time it takes, I'll postpone until I need it. ACM only downloads articles once.

Sun, 09 Feb 2014 23:22:19 UTC

Stitching a huge panorama

Posted By Greg Lehey

Nine months ago I took a set of photos of the verandah in autumn, this time at 24 mm focal length. Processing the image proved to be impossible with the hardware I had at the time. But now I have a machine that is 4 times as fast, and more importantly with 4 times the memory, so set to to reprocess the images. It workedeventually. Last May I spent over a day waiting for the machine to swap its way through the files before finally giving up. Today it was much faster. cpfind ran for 150 CPU minutes (a little under 20 minutes elapsed time) and used 3.2 GB memory.

Sun, 09 Feb 2014 01:14:34 UTC

Looking for an ISP again

Posted By Greg Lehey

So after Exetel's refusal to address their throughput problems, I'm in the market for a new ISP. Whom should I take? Internode sound like an obvious choice, especially since I've been a customer for years, but their accounting department greatly get on my nerves with things like undocumented deduction of two months' fees in advance, non-responsiveness to my email, and a completely unjustified further deduction of 2 months' fees on the day I terminated my last service. As of the moment they owe me about 3 months' fees, assuming that they didn't do something similar years ago with my ADSL service.

Sat, 08 Feb 2014 23:40:31 UTC

Photo processing strangenesses

Posted By Greg Lehey

Got my house photos done today before heading in to Ballarat for dog training. Managed to get the first level of processing started so that it could run while I was away. To my surprise, when I got back it was still running. But that didn't matter: when it was finished I discovered I had converted the raw images into JPEG instead of TIFF, so I had to start all over again. This time I put the intermediate TIFF images on local (Microsoft) disk instead of the net, in the hope that things might run faster. I was disappointed. The whole processing was marred by irritating problems: I have set up dischord to connect to my leftmost monitor, and for some reason during the changeover to the new machine I changed the connection to DVI; for reasons related to the hardware configuration on eureka, that monitor is normally connected by ...

Sat, 08 Feb 2014 03:44:01 UTC

Exetel: good enough for us

Posted By Greg Lehey

Sent a message to Exetel this morning, essentially repeating the contents of yesterday's article, and suggesting running packet traces on their mirror, on the leaf node interfacing to the National Broadband Network, and on my system. I got a somewhat unexpected reply: Date: Fri, 07 Feb 2014 17:22:41 +1100 From: Exetel Residential Support  <> Subject: Re: [Exetel Residential Support  #7460458] Poor throughput on NBN  fixed wireless 0301244975      NBN As the speed tests are providing results within specification we will no longer be able to carry out further investigations on the matter.

Sat, 08 Feb 2014 02:46:07 UTC

Trying Lightroom

Posted By Greg Lehey

So in the end I did download the Lightroom free trial. Typically enough, it's for 30 days. The first impression is that it looks just like DxO Optics Pro, which obviously says more about DxO than about Lightroom. The second look was less positive: We want to take over your life, or, as they put it, please create a catalog, and then import the images. To quote the manual: You must import photos into the Lightroom catalog to begin working with them. Importing tells Lightroom what photos are in the catalog, and whether they are imported directly from a camera, hard drive, memory card reader, or other storage device.

Fri, 07 Feb 2014 00:41:48 UTC

NBN network speeds

Posted By Greg Lehey

My network speed tests are now looking quite good. ftp access isn't: I'm still getting a maximum of round 800 kB/s to 1 MB/s. Sent a message to Scott Weston, who confirmed the speeds he gets from activ8me and Internode. In summary, with Exetel and SkyMesh for comparison. The files in question are and ISP       Internode file       dodo file       (kB/s)       (kB/s) activ8me       ...

Fri, 07 Feb 2014 00:37:36 UTC

NBN problems, or Powercor?

Posted By Greg Lehey

Message on the DEREEL OUTPOST Facebook page today: Carol Moyse had difficulties with her National Broadband Network connection. As a neighbourly gesture, over to take a look. It seems they had a power outage last night, and it killed the ADSL2 modem that they had specially bought to run as a wireless AP and router. That's Powercor's responsibility, of course, but it brought home to me how little help normal users get in setting up their networks. ACM only downloads articles once.

Fri, 07 Feb 2014 00:17:21 UTC

ALDI video camera

Posted By Greg Lehey

Yesterday Yvonne brought back a special buy from ALDI: a set of HD action camera glasses, basically sunglasses with a video camera between the eyes. That sounded like fun, so I tried it out, after fighting my way through the excuse for instructions: this one really did consist of more than 50% safety and warranty information. It recorded normally, but when I tried to read the data into a computer, it refused: Feb  6 09:08:02 eureka kernel: da2 at umass-sim2 bus 2 scbus6 target 0 lun 0 Feb  6 09:08:02 eureka kernel: da2: <Anyka SD card 1.00> Removable Direct Access SCSI-2 device Feb  6 09:08:02 eureka kernel: da2: Serial Number USBDEVICE Feb  6 09:08:02 eureka kernel: da2: 40.000MB/s transfers Feb  6 09:08:02 eureka kernel: da2: Attempt to query device size failed: NOT READY, Medium not present ...

Thu, 06 Feb 2014 23:07:59 UTC

Lightroom after all?

Posted By Greg Lehey

Jamie Fraser's wife Sabriena uses Lightroom for photo processing. Why don't I? It's not as if I haven't looked at these products before. I rejected them for various reasons, including difficulty of use, price and lack of features. But since then I've been forced to lower my standards to match what's on the market. After all, Ashampoo Photo Commander 11 doesn't really have very much to recommend it, but at least it was cheap. So, back to looking at Lightroom. Lens profiles? Yes or no? Yes, or no. It does have lens profiles, and this page explains how they work. They look quite similar to what DxO Optics Pro does.

Wed, 05 Feb 2014 23:53:12 UTC

Which photos processing software?

Posted By Greg Lehey

Talking with Jamie Fraser on IRC about photo processing software today. He's thinking of buying Lightroom, which I had rejected because of its limited correction for lens distortion and chromatic aberration. I got him to send me a sample image and processed it myself. Here the comparisons. From left to right, the original JPEG from the camera, image as processed by Lightroom, image as processed by DxO with default settings, and image as processed by DxO with Artistic HDR profile. These images are best compared in enlargements (click on the image). The HTML version of this page shows direct comparisons. It's clear that the Lightroom processing made no changes to the shape of the image.

Wed, 05 Feb 2014 23:30:25 UTC

Microsoft: problems

Posted By Greg Lehey

My recent experience with Microsoft software hasn't been as bad as it used to be. In particular, reliability seems to have improved over the years, and in general things have worked. But since my installation on the old eureka, many problems have occurred. In particular, wakeup from sleep/hibernate seems to be very unreliable. On occasion the disk light goes on and stays on for several minutes, during which not even the NumLock light on the keyboard responds to the key. On one occasion it came back without the network interface. Why? This is the same version that I ran on the old dxo with few issues.

Wed, 05 Feb 2014 00:14:38 UTC

Reinstalling Microsoft, yet again

Posted By Greg Lehey

So now I have installed Microsoft Windows 7 Once Again, and I had to apply all the fixes all over again. Time to write things down to make it easier next time. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Mon, 03 Feb 2014 23:55:48 UTC

Upgrading Microsoft

Posted By Greg Lehey

Now that I have the new eureka, the old machine is available for other purposes. I had planned to use it to replace the relatively weak machine on which I run Microsoft. Is it as simple as FreeBSD, just move the disk to the new machine? I got off to a bad start. I thought I had shut down the old machine, but the gyroscopic effect when moving the disk showed me that I had removed it while spinning. Fortunately it didn't do any harm, as replacing it in the machine showed. Putting it in the new machine was a completely different matter.

Mon, 03 Feb 2014 23:43:14 UTC

First photo processing with new machine

Posted By Greg Lehey

So now I have a fast machine with lots of memory, just what I needed for my panorama photography processing. And yesterday was the day of the month where I took the most photos, a total of 366 of them. I had started initial processing on Microsoft yesterday, but it still took another 3½ hours this morning. Moving to FreeBSD and eureka was completely different. The first thing to do was the HDR processing, which I do in parallel. Previously it was 5 images in parallel, really too much for the memory of the system, and it took forever. Now I'm doing 12 at a time, and it really races through.

Mon, 03 Feb 2014 00:30:03 UTC

New computer, next attempt

Posted By Greg Lehey

I've got lots of things to do at the moment. As I said on IRC yesterday, gr0Ogle: I think I'll proceed in the following manner: gr0Ogle: 1.  Take house photos tomorrow morning. gr0Ogle: 2.  Complete Bushfire Management Statement. gr0Ogle: 3.  Complete application for Planning Permit. gr0Ogle: 4.  Go to Bannockburn and hand it in. gr0Ogle: 5.  Move current eureka disk to stable-amd64 and get X running. gr0Ogle: 6.  Try to fix enblend breakage and other riddles. jashank: For some reason, I expect 1, 2, 3, 4 to take as much time as 5.

Sun, 02 Feb 2014 00:26:41 UTC

Bad language explained

Posted By Greg Lehey

Talking to Chris Bahlo after dinner. Like many, she doesn't understand my strong aversion to the use of the word folder to mean directory. The real issue is the all-too-common use of misleading words in computer terminology, and folder is misleading for a number of reasons. The results are a lessened understanding of the concepts. In addition, in this particular case, there are linguistic subtleties that make the terms hard to translateeven between American and other English. Looking at the linguistic issues first: apart from the term folder, there's also the term file. In American usage it seems that there's also the even more confusing term file folder.

Sun, 02 Feb 2014 00:16:41 UTC

Connecting Garry to the NBN

Posted By Greg Lehey

Garry Marriott, our neighbour-to-be in Stones Road, came over today to take a look at the National Broadband Network installation. While I was showing him the equipment, the NTD lights started flashing red, something I have never seen before. Closer examination showed that it was the signal strength lights: they alternated between all three green and the two left red, in about half-second intervals. No idea what that means; I didn't lose connection, though there was some packet loss: 986 packets transmitted, 977 packets received, 0.9% packet loss round-trip min/avg/max/stddev = 40.514/85.363/381.775/45.183 ms I'll have to follow up during the week.

Sat, 01 Feb 2014 03:50:57 UTC

Disk space wastage: where?

Posted By Greg Lehey

A few days ago I built a file system on my new 4 TB photo drive and copied the old one to it. The results weren't quite what I expected: Filesystem     1048576-blocks      Used     Avail Capacity  Mounted on eureka:/Photos      1,907,196 1,851,986    36,137    98%    /Photos /dev/ada1p1         3,814,654 1,925,782 1,850,725    51%    /mnt That's nearly 75 GB difference in used space. Where did it go? Compared the output of dumpfs -m and found: # newfs command for /Photos/ (/dev/ada1p1) newfs -L Photos -O 2 -U -a 64 -b 16384 -d 16384 -e 2048 -f 2048 -g 2097152 -h 64 -m 1 -o space -s 3907029100 /dev/ada1p1 # newfs command for /dev/ada1p1 (/dev/ada1p1) newfs ...

Sat, 01 Feb 2014 03:28:26 UTC

Photo processing with the new machine

Posted By Greg Lehey

One of the main reasons I upgraded my machine was to process my photos better. So that was pretty much the first thing I tried. Tried with last week's verandah panorama. The control point detector crashed! That was autopano-sift-C, which I don't use, so set panomatic instead. I don't have much in the way of comparison timing, but it seemed to run much faster. The first part of stitching is running nona, which is single-threaded. On an 8 CPU machine it barely made a difference, and there were noticeable periods where it was idle, apparently transferring to disk. But the disk was the photo disk /dev/ada1, not the SSD /dev/ada0.

Sat, 01 Feb 2014 03:20:33 UTC


Posted By Greg Lehey

Call on the phone today from Max somebody, who was calling because I had downloaded the free DraftSight CAD program from Dassault Systèmes last week. It's not clear what he wanted: as he confirmed, it's free. Maybe he just wanted to help, but I didn't have time, and asked him to send mail. I received none. ACM only downloads articles once. It's possible that this article has changed since being downloaded, but the only way you can find out is by looking at the original article.

Sat, 01 Feb 2014 02:22:58 UTC

New computer, finally

Posted By Greg Lehey

Spent much of the morning putting together my new computer. The CPU is an Intel Core" i7-4771, my first Intel machine for nearly 14 years. It has 32 GB of aggressive Corsair memory. I'm using an SSD (128 GB) for the first time, and after some consideration decided to partition it with a 35 GB root file system, 16 GB of swap, and the remaining 68 GB (don't you love storage systems manufacturers' arithmetic?) will be scratch space for photo processing: many of the panoramas I do have up to 90 components, each of which can expand to a TIFF image of 70 MB or so.

Fri, 31 Jan 2014 02:17:56 UTC

Exetel tuning

Posted By Greg Lehey

Exetel has been investigating alternatives to traffic shaping on my National Broadband Network connection. Today Eroshan called and asked me to run Yet Another speed test.

Fri, 31 Jan 2014 01:46:13 UTC

Into town again

Posted By Greg Lehey

Phone call early in the morning, from Sue at Paper Freight to tell me that my package had finally arrived in Ballarat. In principle I had asked Chris Bahlo to pick it up for me, but based on the problems I've had so far, decided to go in and pick it up myself. My way took me directly past the CFA headquarters, so stopped in and asked for a Bushfire Management Statement form. Blank stare. They spent some time discussing where I could find it, and in the meantime I went to pick up my parcel. Picking up the parcel was interesting.

Wed, 29 Jan 2014 21:55:18 UTC

Exetel performance issues rectified?

Posted By Greg Lehey

Yet Another support session with Exetel this afternoon. For testing purposes they gave me a /30 direct Ethernet connection, which made absolutely no difference to the performance. And once again they wanted to run tests with axel, which once again produced the same results. About the only difference was that I got up to 1 MB/s with ftp. As I pointed out, the real application that requires good bandwidth is streaming video, and that generally doesn't use multiple TCP connections. Some discussion on packet tracing: it seems they don't know what that means! They were talking in terms of traceroute and mtr, and I had to explain to them what tcpdump and wireshark were, and how they worked.

Wed, 29 Jan 2014 21:49:14 UTC

Fastway couriers: inappropriately named

Posted By Greg Lehey

The remaining components for my new computer were sent from Brisbane by Fastway a week ago. They should have been here yesterday at the latest. Where are they? Your parcel is currently in transit between our 'Geelong' and 'Geelong' depots. What does that mean? And why was it misdirected? Called up the Geelong franchise and spoke to Bob, who explained that the package had been sent to Ballarat by accident, and since Ballarat is not manned, the tracking information shows Your parcel is currently in transit between our 'Geelong' and 'Geelong' depots. And the next item?

Wed, 29 Jan 2014 02:23:22 UTC

More cvr2 pain

Posted By Greg Lehey

Once again cvr2 Just Shut Down. Is this a thermal issue? It was very hot again today, even over 30° inside, but the operating system (Linux) didn't say. But then, it seems that it only ever marks time. Possibly it's just the defaults that are so laconic, but the comparison with FreeBSD is particularly noticeable. In any case, once again it wouldn't come up. Took the opportunity to blow the dust out of the CPU cooler, and tried powering on again. Still nothing. Disconnect disk. Still nothing. Replace power supply. Still nothing. Remove tuners. Powers on. Replace tuners. Powers on. So what's going on?

Mon, 27 Jan 2014 23:22:59 UTC

Ports pain: end in sight?

Posted By Greg Lehey

Into the office this morning to see how my ports build was getting on. Not well: ./Source/JavaScriptCore/wtf/Vector.h:58: error: invalid use of incomplete type 'struct WebCore::ScriptSourceCode' ./Source/WebCore/bindings/js/ScriptController.h:53: error: forward declaration of 'struct WebCore::ScriptSourceCode' gmake[1]: *** [Source/WebCore/page/libWebCore_la-Frame.lo] Error 1 Stop in /src/FreeBSD/svn/ports/www/webkit-gtk2.     19666.67 real      3425.40 user      1269.94 sys WebCore had built before. Why not now? Presumably because I had dug the perl installation out from under it and replaced it with something else. That's not the correct way to do it, of course, but given the time it has taken, it seemed a reasonable attempt.

Mon, 27 Jan 2014 01:03:29 UTC

Time for more HDR investigation

Posted By Greg Lehey

Yesterday it was windy, and the Bureau of Meteorology promised only light winds today, so I put off my house photos until today. They lied: it was quite windy. High time to find a better HDR solution. I'll start keeping thoughts on this page, though it'll be a while before it's finished. I intend to take this photo as an example: It shows significant ghosting on the yellow (Yellow King Umbert) cannas. There are various ways to address that, including masking that area from a suitably exposed component image, but it'll be interesting to see what the commercial products do.

Sun, 26 Jan 2014 23:28:09 UTC

Ports pain continues

Posted By Greg Lehey

After resolving yesterday's perl problem, things carried on building. GIMP started building last night at 19:20, and was still going this morning. The processor is an AMD Athlon 64 3500+, with 525 CPU marks roughly 5% the speed of my new machine. But part of the slowness is probably due to my decision to copy my photo disk across the Ethernet, and the test machine only has a 100 Mb/s interface. That also affected photo processing, presumably because of contention for the disk. Finally it finished: ===>  Installing for webkit-gtk2-1.8.3_2 ===>  Checking if www/webkit-gtk2 already installed pkg_add: could not find package perl5-5.16.3_6 !

Sun, 26 Jan 2014 02:29:14 UTC

New photo backup disk

Posted By Greg Lehey

One of the things I got with my latest shipment of components was a new disk for my photos; the old one with a 2 TB file system is filling up, so this one has 4 TB. Hopefully disk capacity growth will outstrip my ability to produce images. Set it up as before, but things didn't quite work: === root@stable-amd64 (/dev/pts/0) /home/grog 19 -> gpart destroy -F ada1 ada1 destroyed === root@stable-amd64 (/dev/pts/0) /home/grog 21 -> gpart create -s GPT ada1 ada1 created === root@stable-amd64 (/dev/pts/0) /home/grog 25 -> gpart add -t freebsd-ufs ada1 ada1p1 added === root@stable-amd64 (/dev/pts/0) /home/grog 26 -> gpart show ada1 =>        34  7814037101  ada1  GPT  (3.7T)           34           6        - free -  (3.0k)           40  7814037088     1 ...

Sun, 26 Jan 2014 02:29:14 UTC

New photo backup disk

Posted By Greg Lehey

One of the things I got with my latest shipment of components was a new disk for my photos; the old one with a 2 TB file system is filling up, so this one has 4 TB. Hopefully disk capacity growth will outstrip my ability to produce images. Set it up as before, but things didn't quite work: === root@stable-amd64 (/dev/pts/0) /home/grog 19 -> gpart destroy -F ada1 ada1 destroyed === root@stable-amd64 (/dev/pts/0) /home/grog 21 -> gpart create -s GPT ada1 ada1 created === root@stable-amd64 (/dev/pts/0) /home/grog 25 -> gpart add -t freebsd-ufs ada1 ada1p1 added === root@stable-amd64 (/dev/pts/0) /home/grog 26 -> gpart show ada1 =>        34  7814037101  ada1  GPT  (3.7T)           34           6        - free -  (3.0k)           40  7814037088     1 ...

Sun, 26 Jan 2014 02:05:49 UTC

Ports pain, yet again

Posted By Greg Lehey

On with building ports today. My ports-try target completed, and I went back to look for the stragglers. Some I don't know about at all. What's mozplugger? According to /usr/ports/www/mozplugger/pkg-descr it's a small general purpose Mozilla plugin that displays various types of media formats found on the Internet in your browser. And it doesn't fetch, and the web site doesn't respond. Who cares? Maybe I do, but it's not exactly on the critical path. Then there's kdenlive, another package that I didn't recognize, though it seems to be a video editor. It died with a broken dependency: XML::Parser...

Sun, 26 Jan 2014 02:05:49 UTC

Ports pain, yet again

Posted By Greg Lehey

On with building ports today. My ports-try target completed, and I went back to look for the stragglers. Some I don't know about at all. What's mozplugger? According to /usr/ports/www/mozplugger/pkg-descr it's a small general purpose Mozilla plugin that displays various types of media formats found on the Internet in your browser. And it doesn't fetch, and the web site doesn't respond. Who cares? Maybe I do, but it's not exactly on the critical path. Then there's kdenlive, another package that I didn't recognize, though it seems to be a video editor. It died with a broken dependency: XML::Parser...

Sat, 25 Jan 2014 02:12:15 UTC

Tracing the Exetel connection

Posted By Greg Lehey

It's now been over three weeks since I submitted my ticket to Exetel. Yesterday's tracing gave us some new information, but they still don't seem to have done the obvious thing and trace the connection. Instead a got a call from Exetel (Eroshan Jayaweera, if I got the name right) asking questions that I had answered several time in my speed test page.

Fri, 24 Jan 2014 02:08:44 UTC

New computer arrivesalmost

Posted By Greg Lehey

Phone call from TNT this afternoon: they had attempted in vain to deliver my new computer, because the driver couldn't find the address in his GPS navigator. That's understandableI've ranted enough about the poor quality of the maps round herebut why didn't he call me? In any case, that proved not to be a problem, because Yvonne was just about to go into town, so she picked it up. But it's still missing memory, SSD and power supply. Maybe, if we're lucky, that will arrive tomorrow. ACM only downloads articles once.

Fri, 24 Jan 2014 01:36:49 UTC

Exetel problem, next chapter

Posted By Greg Lehey

Call from Exetel support today: they wanted access to a BSD machine. Why? They couldn't tell me. But after some discussion on IRC, where in particular Edwin Groothuis was very much in favour, set up an account on stable-amd64, the machine that I'm still in the process of building. How do you give access to somebody from outside when connected via NAT? The simplest solution, it seems, was not to do so. Instead set up PPPoE on the box and connected directly. That worked relatively well, and the tech (Glen) basically repeated Yet Again all the things that I had done before.