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

All Postings, Greg Lehey:  (2,654 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.

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.

Thu, 23 Jan 2014 01:07:19 UTC

Raw images: Not with Ashampoo Commander

Posted By Greg Lehey

Since getting my new Olympus OM-D E-M1 my photo processing hasn't got any easier. I used to use DxO Optics Pro to convert the raw images and enhance them a little, then pass the images through Ashampoo photo optimizer. Now DxO no longer understands my combination of camera and lens, so I have to use Olympus Viewer to convert the images to JPEG. And now I have the new Photo Commander 11 to do the optimization for me. But Commander can also process raw images. In the cases where distortion correction isn't important, why not just use it as a one-stop conversion program?

Wed, 22 Jan 2014 23:57:33 UTC

FreeBSD 10.0: Not ready for prime time

Posted By Greg Lehey

Once again I've spent some considerable time installing the latest and greatest version of FreeBSD on a new disk in preparation for the new machine that is on its way. Coincidentally the FreeBSD project announced 10.0-RELEASE today, though I have been tracking it for some time. Yesterday I started a ports-try target, which tries to install every port in my list of ports. It doesn't have to succeed: if not, it just goes on and builds the next one. Then I can come back and look at the ports that fail to build. Why should a port fail to build? Hasn't it been tested?

Wed, 22 Jan 2014 00:26:29 UTC

Preparing for the new machine

Posted By Greg Lehey

Another phone call to Umart today about my new machine. They promised to find an ETA for the still-missing components and get back to me with details. They were about the best I could expect: things have been shipped. In preparation, started building those ports that wouldn't install from the PKGng repository. First was just configuring the packages, which took an hour of pressing Return. How many packages did I configure? Hard to say, since all that information is stored in a database that doesn't easily (to me, anyway) show what packages it belongs to. But it must have been several hundred.

Tue, 21 Jan 2014 23:57:47 UTC

Coursera in the age of NBN

Posted By Greg Lehey

A few months ago I participated in a few courses from Coursera. Getting the videos was difficult, and it took me several hours each week to download them. They were taking up too much time, so I stopped for a while, but now there are a couple that are quite interesting: Programming Mobile Applications for Android Handheld Systems and Human Evolution: Past and Future. The second will presumably not take up too much time, and the first sounds interesting enough to expend some time on it if necessary. Today both courses started, and I loaded the videos. What a difference! All were done within a couple of minutes.

Tue, 21 Jan 2014 01:24:30 UTC

Ports pain all over again

Posted By Greg Lehey

The hardware for my new machine should arrive some time this week, so it's high time to have a system to put on it. I've already installed those packages that I could find in the FreeBSD repository, but that was a while back. PKGng has an upgrade command: type pkg upgrade and it should upgrade all installed packages. That's the theory. What I got was: pkg: Error while trying to install/upgrade packages, as there are unresolved dependencies: x11-drivers/xf86-input-keyboard: x11-servers/xorg-server Further investigation showed that xorg-server had failed to build on the build machine and had thus been removed from the repository.

Tue, 21 Jan 2014 00:47:46 UTC

Ashampoo Photo Commander

Posted By Greg Lehey

Last week I was considering buying Ashampoo Photo Commander 11, and gradually came to the conclusion that it wasn't worth it. But I bought it anyway. They had a special offer, and along with Movie Studio (explicitly not Pro) it cost me $20. Was it worth it? One problem is clear: in the documentation they claim to have exceptional customer service, but so far neither of my questions about the products have been answered. One thing that it can definitely do is optimize photos. I've been using an old version of their Optimizer program for some time, but it occasionally goes crazy and messes up photos, and it can't handle the size of images I've been generating lately.

Tue, 21 Jan 2014 00:33:22 UTC

Playing with DraftSight

Posted By Greg Lehey

Tom Tyler's email included an attachment with the name Not used for HTML emails.dwg. Apart from the silly name, what's that? Jürgen Lock came out with the discovery that it's an AutoCAD file format, and Jashank Jeremy was able to decode it: it's the site plan above. He also came up with the information that there's a free compatible CAD package called DraftSight that can process them. Installed that and took a bit of a look: yes, it seems to be relatively powerful. Now I just need the time to learn how to use it. ACM only downloads articles once.

Sat, 18 Jan 2014 23:18:00 UTC

Time for better HDR software?

Posted By Greg Lehey

House photo day again today, and again I've tried making HDR images of all of them. And again things were less than perfect, with lots of ghosting: How do I fix that? Other software seems to be about the only way. Currently I'm using align_image_stack (part of Hugin) and enblend to merge the images. Here's the core of my HDR script: nice align_image_stack -a $TMP $* nice enfuse -o $RESULT $TMP* That works well for static images, but it has no provision at all for avoiding ghosting.

Sat, 18 Jan 2014 01:42:57 UTC

Domestic network woes

Posted By Greg Lehey

There's something funny in my domestic network infrastructure as well. I've reported various problems which seem to be related to the switch in Yvonne's office, and so far the only one I have identified beyond reasonable doubt are the two cables that Tanya chewed through. Today I tried to read in some photos from my camera. I do that on lagoon, Yvonne's machine because of the USB issues on my own (current) machine. And they get copied via NFS to my machine. The network topology involves a cable to a switch in the cupboard in Yvonne's office, then a cable under the house to my office, and thence into the main switch.

Sat, 18 Jan 2014 01:41:56 UTC

Tracking down the Exetel problems

Posted By Greg Lehey

Call from Theje of Exetel today to address the ongoing network problems. He claimed that they had changed the routing. I had expected something like this, and had already saved a traceroute output of what I currently had: === root@eureka (/dev/pts/5) /home/grog 5 -> traceroute traceroute to (, 64 hops max, 52 byte packets  1  air-gw-2 (  0.722 ms  0.406 ms  0.402 ms  2 (  30.126 ms  26.398 ms  17.908 ms  3 (  27.108 ms  29.601 ms  34.935 ms ... (leaves Exetel network) So it was relatively easy to compare the new routing: === grog@eureka (/dev/pts/14) ~/Photos/20140114 4 -> traceroute traceroute to (, 64 hops max, 52 byte packets  1  air-gw-2 (  1.231 ms  0.418 ms  0.410 ms  2 ...

Sat, 18 Jan 2014 01:09:01 UTC

Reception problems: insights?

Posted By Greg Lehey

I've been puzzling about TV reception quality for years now, without coming to any obvious conclusions. Radio has also been very variable as well, and from time to time I've wondered if the issues are related. But today I had a surprise: just out of the shower, there was a power surge or similar, not enough to cause any devices to power cycle, but enough to make at least one UPS scream. And the radio reception went to hell! All I could hear was noise. So: is this a (or more than one) rogue UPS? Chasing that one down could be fun.

Fri, 17 Jan 2014 02:16:04 UTC

Still more network problems

Posted By Greg Lehey

I had put an Ethernet cable over the floor last week after Tanya had chewed through the other one. Somehow I wasn't expecting her to do it again, and to a certain extent I was right: Despite the appearance, it still works. But clearly we'll have to find an alternative. For the time being I have cut the old cable into 2 m lengths and spread them round the house; if she (or Niko) starts chewing on them, we're more likely to catch them and make it clear that it's not allowed.

Wed, 15 Jan 2014 01:34:43 UTC

NBN: An NSA plot

Posted By Greg Lehey

For some reason Edwin Groothuis wanted to know about physical access to the Radiation Tower tower today, in particular whether there was a sign on the gate. No: But he meant the access to the immediate compound, and that's not accessible to the public. I had, however, taken a photo of the entrance to the Enfield tower last year: NSA?

Wed, 15 Jan 2014 00:16:26 UTC

Exetel: on the way out?

Posted By Greg Lehey

Exetel have still done nothing to fix my network throughput problems. Though they appear friendly and cooperative, they also appear to have no understanding of the issues or how to address them. On Sunday I gave them until the end of the week to fix the problem. So far they have done nothing. So I called up sales to tell them that I was about to terminate my contract because of breach of contract. Spoke to Paula, who didn't seem to understand the issue and told me I'd have to pay $100 early termination fee. Finally she suggested that it was a matter for support, and promised to connect me with a support manager.

Tue, 14 Jan 2014 23:59:41 UTC

USB says: time for a new system

Posted By Greg Lehey

Into the office this morning to find the keyboard and mouse dead again. Disconnecting and reconnecting didn't help: Jan 14 07:55:53 eureka kernel: usb_alloc_device: set address 4 failed (USB_ERR_STALLED, ignored) Jan 14 07:55:53 eureka kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED Jan 14 07:55:54 eureka kernel: usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_STALLED, ignored) Jan 14 07:55:54 eureka kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED Jan 14 07:55:55 eureka kernel: usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_STALLED, ignored) Jan 14 07:55:55 eureka kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_STALLED Jan 14 07:55:55 eureka kernel: ugen6.4: <Unknown> at usbus6 (disconnected) Jan 14 07:55:55 eureka kernel: uhub_reattach_port: could not allocate new device Finally, after removing everything and reconnecting it, I got things to work.

Mon, 13 Jan 2014 23:34:06 UTC

Bluetooth audio

Posted By Greg Lehey

I've been listening to Radio Swiss Classic via the web for some time now. That meant moving the Android tablet to the fridge, where the mini-Hi-Fi system is located, and connecting it with a cable. It also meant that I couldn't do much else with the tablet while it was playing music. Clearly a case for a Bluetooth audio adapter. Do they exist? Yes, and they cost next to nothing, $6.50 including postage. I ordered one from eBay last week, and today it arrived. There's almost nothing to it: a USB connector at one end, for power, an audio jack at the other end, and very little in between: It even comes with a far-too-short cable, but no instructions.

Mon, 13 Jan 2014 02:03:57 UTC

Exetel througput problems: install new Windows!

Posted By Greg Lehey

So now I have demonstrated to Exetel beyond any reasonable doubt that they have a througput problem somewhere in their network. I've sent them comparisons with SkyMesh, they've tried their toy torrents personally, so there's really no doubt where the problem lies. So what's the next step? Please be informed that we have tested couple of services affected as yours and we were able to reach the correct speed according to their fibre plan. Therefore, we suggest you to test the service with a Windows 7 or 8 PC and check if the speeds are still failing. Do let us know if the issue is persisting.

Mon, 13 Jan 2014 01:47:07 UTC

Specifying the new system

Posted By Greg Lehey

I've been investigating components for my new computer for a week now, and it's been tough. Finally I'm getting there, mainly by eliminating possibilities that seem too hard. The big issues remain the motherboard and the memory. An article in c't suggests that the Asrock motherboards are a good choice, and that's what Jürgen Lock recently chose. It works for him, so there seems little reason to compare the others. And memory? There seem to be relatively few manufacturers to choose from: G.Skill, Corsair and Kingston. And almost all memory is dressed up for kiddies and has particularly violent names: Ripjaws, Sniper, Vengeance, Dominator.

Mon, 13 Jan 2014 01:27:50 UTC

Processing photos, continued

Posted By Greg Lehey

On with my photo processing today. The verandah panorama took all morning, over 2 hours for the normal panorama and 3½ hours for the interactive flash version. What's the cause? Clearly it was worth finding out before spending days converting the remaining images, so processed the images the way I have been doing previously: first convert the image to TIFF with Olympus Viewer 3, and then use DxO Optics Pro to convert the TIFF to JPEG. Externally there wasn't much to be seen. Here's one of the 20 input images for the panorama; the others are similar: === grog@eureka (/dev/pts/7) ~/Photos/20140111 11 -> l C*/verandah-centre-0.jpeg -rw-r--r--  1 grog  lemis  2,904,174 11 Jan 08:26 C-oly/verandah-centre-0.jpeg -rw-r--r--  1 grog  lemis  3,324,648 11 Jan 08:26 C/verandah-centre-0.jpeg === grog@eureka (/dev/pts/7) ~/Photos/20140111 12 -> identify C*/verandah-centre-0.jpeg C-oly/verandah-centre-0.jpeg JPEG 3456x4608 3456x4608+0+0 8-bit DirectClass 2.904MB 0.000u 0:00.000 C/verandah-centre-0.jpeg[1] ...

Sat, 11 Jan 2014 23:49:23 UTC

Fixing the enblend port

Posted By Greg Lehey

Some months ago a change to the FreeBSD port of vigra broke the build of anblen, which I maintain. When loading the final image, it produces voluminous can't find error messages, terminating in:[void vigra::detail::exportImage<vigra_ext::ConstCachedFileImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >,vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > >(vigra_ext::ConstCachedFileImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >, vigra_ext::ConstCachedFileImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >, vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >,vigra::ImageExportInfo const&, vigra::VigraFalseType)]+0x118): undefined reference to `vigra::isBandNumberSupported(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' enblend-enblend.o: In function `main': undefined reference to `vigra::ImageExportInfo::setICCProfile(vigra::ArrayVector<unsigned char, std::allocator<unsigned char> > const&)' I must admit to being a little upset: this is not of my doing, and to fix it I need to look at the internals of vigra, which has given me pain in the past.

Sat, 11 Jan 2014 23:32:23 UTC

Photo processing at a snail's pace

Posted By Greg Lehey

House photo day again today. I've now migrated my Microsoft box dxo (Windows Vista 32 bit) to Windows 7 64 bit, and at Daniel O'Connor's suggestion I've renamed it dischord. Fired up the newly installed Olympus Viewer 3 and got a completely different view of the world. Suddenly I couldn't just select photos any more, I had to import them. Started doing that. I had 258 images, and after 5 minutes it had imported (copied across the network?) 20 of them. I can't handle that kind of pain, and decided to go back to the old dxo disk. But the system had more pain in store: Please do not power off or unplug your machine.

Fri, 10 Jan 2014 23:29:13 UTC

More installation fun

Posted By Greg Lehey

On with my installation of FreeBSD 10 today, making a little progress. There are still rough edges and bits missing, though the result is still much better than things were 15 years ago, where I held installation workshops at conferences. But that's not enough. It's now lagging behind the competition. Hopefully Jordan Hubbard's return to the BSD fold will help there. Just to add to the fun, installed the new copy of Microsoft Windows 7 that I received today. A completely different experience. And on the whole it went well, but then that's just a base installation. I only really use Microsoft to run photographic processing software, and most of the problems I have are the fault of that software, not of Microsoft.

Fri, 10 Jan 2014 00:48:33 UTC

System upgrade pain

Posted By Greg Lehey

So it's time once again to upgrade my system. When it comes to installing FreeBSD, I wrote the book, but there's a vast difference between installing an operating system for the first time and migrating a large installation to a newer version. I've been working on this forever, and I thought that maybe the PKGng would make things easier. Maybe it will, too, but it won't make them easy. Spent most of the day, and at the end had some semblance of installation, but first I need to fix my scripts to install the packages that I don't have. ACM only downloads articles once.

Wed, 08 Jan 2014 22:45:57 UTC

More network interruptions

Posted By Greg Lehey

Somehow I've had lots of trouble with the network connection to cvr2 lately. Only a couple of weeks ago I had to replace the network cable, but this morning it was off the net again. After a lot of searching, found this: Clearly Tanya has developed a taste for network cables. Surprisingly, I was able to find another cable and connect it to the switch in Yvonne's officeand it wouldn't work. Connected it to a switch in my office, and all was well.

Wed, 08 Jan 2014 22:40:57 UTC

Exetel addreses performance issues

Posted By Greg Lehey

Exetel was due to call me this morning to address the network performance issues, so I first checked the status quo. That was interesting: 32.22 Mb/s downlinkand that on a 25 Mb/s connection. Had they fixed things? Tried testing via SkyMesh and got 33.62 Mb/s. Is that possible? My first conclusion was that speedtest was broken. But of course this is an LTE connection, and it's capable of much more than that; it's just limited to 25 Mb/s, and if something goes wrong there, it could exceed the limit. More to the point, though: file transfer. There, too, things looked better than before.

Wed, 08 Jan 2014 00:07:55 UTC

Ugly violent hardware

Posted By Greg Lehey

I'm in the process of choosing hardware for my next machine. It's not easy. Once upon a time you had a choice of two or three different processors, maybe different speeds, and any old motherboard. Now the choice of processor, motherboard and RAM is an order of magnitude more varied, and thus difficult. I've more or less settled on a Core i7 4771, the first Intel processor in over 20 years, and probably the Z87 chip set. But in the process of investigating the products, I came across a really ugly trend: violent names. So far I have seen Vengeance, Fatal1ty, Sniper, Killer, DOMINATOR and Ripjaws.

Tue, 07 Jan 2014 23:35:23 UTC

No Exetel

Posted By Greg Lehey

For reasons I still don't understand, Exetel support asked me to make a PC (read: running Microsoft) available to them for remote maintenance today, so I installed their software on an old laptop and agreed to a call some time after 10:30. The call came really quite some time after 10:30, in fact at 18:30 as we were preparing dinner. So we had to postpone it until tomorrow. At least it gave me the chance to say to the engineer that the issue was not at my end. We'll see what happens tomorrow. ACM only downloads articles once.

Mon, 06 Jan 2014 22:16:18 UTC

Mouse crash

Posted By Greg Lehey

Nearly a year ago I bought a new mouse, a Logitech m705. I haven't been overly happy with it: of course, being modern, it doesn't have a middle button, and the side buttons don't fit well to my hand. I've assigned button 2 to one of them, and from time to time it vomits over my screen. The good news: it works. Or at least, it worked. Today I accidentally ran out of desk while moving it, and it fell onto the carpeted floor, from a height of about 70 cm. That shouldn't be an issue, but it bent the right button, really a long strip of plastic, so that it fouled the left button.

Mon, 06 Jan 2014 22:13:51 UTC

Eliminating Ashampoo

Posted By Greg Lehey

More investigation of Ashampoo Photo Commander 11 today. My fears are confirmed: it can't do perspective correction. And the real issue, clever automatic exposure adjustments, also seems to be inadequate. In fact, it doesn't do anything that GIMP can't do, costs money, and requires Microsoft to run. So, once again, it has nothing useful to offer. Maybe I should try to make friends with GIMP again, but it's such a pain to use. ACM only downloads articles once.

Sun, 05 Jan 2014 22:08:48 UTC

Another Ashampoo

Posted By Greg Lehey

I should be trying out the various photo processing packages that I have downloaded, but somehow I couldn't face it. In the process, I asked myself what functions I really needed. It's not much: mainly perspective adjustment and cropping. Even xv can do the latter. But wait. There's something more basic: automatic exposure correction. I've been using Ashampoo photo optimizer on most photos for years now, and it tends to improve the overall appearance of the images. What else do they have to offer? Took a look and came up with Photo Commander 11 (and not even Pro). It offers all the usual useless functions like backup and restore, and it's not even clear whether it can do perspective correction, but it seemed worth investigating.

Sun, 05 Jan 2014 21:46:17 UTC

More Viewer insights

Posted By Greg Lehey

One of the disappointments about the new Olympus Viewer 3 is that, although it saves the EXIF data, it appears not to save it all. In particular, the crop factor information that Hugin wants is not there, so once again I have to enter it manually in every panorama. But it has a function I hadn't noticed before: import photos from a camera. I have never connected an Olympus camera to that machine, but today I took a memory card from Yvonne's camera and put it in there. Up pops a Viewer screen and offers to do things with the images.

Sun, 05 Jan 2014 21:44:05 UTC

cvr2 crash

Posted By Greg Lehey

In mid-afternoon discovered that my recording of the news had failed: cvr2, the recording computer, had powered down. And it wouldn't come up. Dragged it into the office, where it powered up normally. And it did so again when I put it back in its cupboard. What caused that? No idea. Hopefully it was a one-off. For some reason, I've had more trouble with that machine (or the machine with that function) than with most of the others. ACM only downloads articles once.

Sat, 04 Jan 2014 23:38:52 UTC

Running out of resources

Posted By Greg Lehey

Photo processing was interesting for other reasons. Everything was so slow! Viewer 3 took nearly a minute to process each image, speeds that I've only seen with DxO Optics Pro. And when I processed the output with DxO, it was also only half speed! I've seen inexplicable (to me, anyway) differences in Microsoft processing speed in the past, but with 300 photos to process, this was worth more investigation. What really surprised me was that the Viewer batch module was using 50% of CPU timewhen it should be idle. Once I stopped Viewer, DxO carried on at its normal speed, about 25 seconds per TIFF image.

Sat, 04 Jan 2014 00:11:46 UTC

Goodbye Capture One, hello ACDSee

Posted By Greg Lehey

A little more playing around with Capture One Pro today, but not much. Like all such software, it seems to insist on looking at everything in a directory, whether I've told it to do so or not. In my test directory I had 302 images (from last week's house photos), and it had to go and make thumbnails of every one, using another 900 GB of disk and taking 8 minutes to do so. But this is release 6, and the current version has been release 7 for some time.

Fri, 03 Jan 2014 00:11:14 UTC

More CaptureOne pain

Posted By Greg Lehey

Spent some more time looking at Capture One Pro today. It's really hard to understand, and the documentation is nowhere near as good as that of DxO Optics Pro. By the end of the day I still didn't know how to process (sorry, export) an image. What I did find was that it creates enormous quantities of files in a subdirectory: === grog@eureka (/dev/pts/30) /Photos/00-Oly 3 -> l -R CaptureOne/ total 1 drwxr-xr-x  3 grog  lemis    512  2 Jan 18:26 Cache drwxr-xr-x  2 grog  lemis  1,024  2 Jan 18:30 Settings50 CaptureOne/Cache: total 1 drwxr-xr-x  2 grog  lemis  16,896  2 Jan 18:32 Proxies CaptureOne/Cache/Proxies: total 771 -rwxr--r--  1 grog  lemis      9,144  2 Jan 18:29 P1021059.tif.cof -rwxr--r--  1 grog  lemis  2,999,818  2 Jan 18:29 ...

Thu, 02 Jan 2014 23:22:37 UTC

More network throughput investigations

Posted By Greg Lehey

Talking about my network throughput issues on IRC today, and I went to prove some point with axel. To my surprise, I got good throughput: 2.2 MB/s, or about 17.6 Mb/s. That was with SkyMesh, so I tried it with Exetel. 1.1 MB/s. Clearly this difference has nothing to do with the National Broadband Network. It also implies that SkyMesh also has throughput issues, just that they weren't showing very much today. Sent off a ticket to Exetel, and got a reply asking for some strange tests: Please go through the test below and forward us the screen capture for further investigation.

Thu, 02 Jan 2014 01:28:03 UTC

Network speeds revisited

Posted By Greg Lehey

I've been dragging my feet with network speed measurements, mainly because of the pain of analysing network traces. Tried setting some tuning parameters described in this file, in the process ignoring the warning: # IMPORTANT NOTE - that must be done BEFORE setting the values below, # otherwise You will run out of mbufs! But kern.ipc.nmbclusters was already set to 25600, so there didn't seem to be much danger, and of course it didn't cause any problems. So I applied it to my external server as well. Throughput not improved. Then Yvonne reported problems: her mail wasn't going out.

Thu, 02 Jan 2014 00:59:11 UTC

Capture One revisited

Posted By Greg Lehey

It's becoming increasingly clear that I made a mistake buying the latest version of DxO Optics Pro, since it no longer supports my camera hardware, and it doesn't look as if it ever will. Thus the interest in Olympus Viewer. But that's only part of the picture. Yes, Viewer can convert raw images to TIFF or JPEG and correct for lens distortion (but not for Chromatic aberration). At the moment I'm using DxO to process the output, and it's not well suited. Agreed, it's a little faster than processing the raw images, but not much. I tried Capture One Pro a year ago and basically came to the conclusion that, though it had some advantages, it wasn't much use because it couldn't correct for lens distortion.

Wed, 01 Jan 2014 22:30:13 UTC

Olympus Viewer revisited

Posted By Greg Lehey

So was yesterday's upgrade to Olympus Viewer 3 worth the effort? Reading the release notes (1 line to a paragraph, of course, and requiring reformatting even under Microsoft before they can be read) suggest that there's nothing much new. In fact, most of the document is boilerplate, including a prohibition of reproduction in whole or in parta rather silly restriction for something that's freely available on the web. But it says hardly anything about the changes, just what's on the web site. Punctuation is original, but I've fixed the markup to validate: OLYMPUS Viewer 3 ...

Tue, 31 Dec 2013 23:25:01 UTC

Olympus Viewer upgrade

Posted By Greg Lehey

Olympus have brought out an update to Viewer 3, their aptly named image processing software. Version 1.3, they say. Or maybe 1.2, depending on where you look. I've had trouble with Viewer in the past, so I took my time installing it, first saving the complete directory hierarchy of the previous installation, including the all-important help file (in German). Then I tried the automatic update from Viewer itself: Not the first time I've seen that incorrect claim. So I went to the web site and downloaded it again.

Tue, 31 Dec 2013 00:00:34 UTC

pkgNG in practice

Posted By Greg Lehey

One of the new things in FreeBSD 10 is the new package system. You should be able to just install all packages from a central repository. That was a long time coming after a security scare some time ago, but it's supposed to be there now, so I tried it out. The first thing is that the base system comes with a dummy program pkg(8), which was just clever enough to locate the current version of pkg on the web and install it. After that, tried installing bash, which first installed a repository based on the information in /etc/pkg/FreeBSD.conf, and then the shell.

Mon, 30 Dec 2013 23:45:17 UTC

How not to install FreeBSD

Posted By Greg Lehey

Once again, I've been dragging my heels updating my machine. And now FreeBSD release 10 is well on its way. So I installed it on a VM a few days ago, and today I finally got round to installing it on a real machine. How do you do that? I did it by copying the disk image from the VM to a file on eureka, starting a test box with the destination system disk as a second disk, repartitioning the disk and copying the image across. In the process, I changed the partitioning scheme from MBR to GPT. Finished copy, started the new system, and I got the old release 9.1 image!

Sat, 28 Dec 2013 00:28:01 UTC

Telstra: we never forget

Posted By Greg Lehey

I rant about Telstra so often that it's getting boring. But finally they've got round to informing me that the National Broadband Network is available in my area. Or have they? Not quite: Clifford Taylor? In Kliens Road? Yes, we bought the house from Cliff Taylor. But that was over 6½ years ago. How can they make such a mess of their data? It's not the first case: five years ago they revived not the previous owner, but the one before that, who had left the house in 1996.

Fri, 27 Dec 2013 04:04:40 UTC

House design software, try 1

Posted By Greg Lehey

It would be nice to have some way of simulating the appearance of our new house in software. Nearly 15 years ago I bought some software for this sort of thing: 3D Home Architect by Brøderbund, for Microsoft of course and with dimensions firmly anchored in the non-metric past. Still, it wasn't bad and ran acceptably on the hardware of the day. But clearly time has moved on, and there should be better stuff available now. But what? Found an online design program that camedon't they allwith no documentation, and with a menu system that I can't interpret. About the only documentation appears to be a selection of video clips, something that I can't make friends with.

Fri, 27 Dec 2013 03:48:46 UTC

Monitoring network traffic

Posted By Greg Lehey

Now that I'm connected to the National Broadband Network, life should be so simple. But that assumes that I'm so simple. Firstly I still haven't got my head around the finer details of TCP flow control, in particular configuring it for FreeBSD, and secondly I no longer have a program that shows me how much traffic is going across the link. With HSPA I used a heavily hacked version of Edwin Groothuis' e169-stats, to be found on FreeBSD boxen at /usr/ports/net/. It keeps track of the traffic over an HSPA link. And what is there for real networks? Lots of different programs, of course, so many that it makes your head smoke.

Wed, 25 Dec 2013 02:11:00 UTC

BUGS Christmas dinner

Posted By Greg Lehey

It's been nearly 4 years since the last BUGS barbecue. On that occasion, along with many others, we had five other active members of the #bugs IRC channel: Sue Blake (unixhag), Callum Gibson (callum), Edwin Groothuis (Mavvie) and Jashank (jashank) and Peter (AlephNull) Jeremy. Today we had 2: Chris Bahlo (fenix, present at the last, but as observer) and Jari Kirma (kirma). And then Jamie Fraser (fwaggle) announced an interest in meeting Jari, so off he set at 18:00 for an 80 km drive to arrive at 19:00and made it only a couple of minutes late. So in the end we had four BUGS people for dinner: It was also interesting because it's the first time any of us had met fwaggle, though you could be excused for getting the impression that ...

Wed, 25 Dec 2013 01:11:52 UTC

DHCP configuration isses

Posted By Greg Lehey

The first thing Jari needed was a connection to the Internet, of course. Since the National Broadband Network that's not a general problem, and I had already configured and SIGHUPped my DHCP server. But he had problems connecting, from my view not helped by the fact that his laptop runs MacOS X rather than FreeBSD. After a lot of messing around, discovered the cause: Dec 24 12:27:14 eureka dhcpd: DHCPDISCOVER from b8:f6:b1:18:2c:c9 via re0: network no free leases But there was only one lease, and I had configured dozens of addresses.

Mon, 23 Dec 2013 23:02:21 UTC

Tracking flights

Posted By Greg Lehey

Now that I have a reasonable network connection, I can use services like flightradar24 without timeouts. Today was the perfect opportunity: Jari Kirma, whom I met in Helsinki 8 years ago, decided on Saturday to come to Australia for 5 days over Christmas (in addition to 2½ days in the air). Tracking was interesting: we could see him taking off on the last leg from Hong Kong, but then he disappeared over the South China Sea. He popped up a couple of times, over the Phillipines and the North of Australia, but disappeared somewhere in the Back of Bourke. Clearly this is indicative of radar coverage, but the site itself gave no explanation.

Sun, 22 Dec 2013 23:08:43 UTC

Scaling Windows

Posted By Greg Lehey

My TCP traces across the National Broadband Network show that window scaling doesn't occur. Why not? A check of my system showed that the sysctl net.inet.tcp.rfc1323 was set to 0 (disable). But even after I enabled it, it didn't scale. More investigation needed, but I didn't have time 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.

Sun, 22 Dec 2013 00:04:03 UTC

SkyMesh network speed

Posted By Greg Lehey

So now I finally have two functional connections via the National Broadband Network. How do they compare in speed? I haven't been overly happy with Exetel's performance, so this was of particular interest.

Sat, 21 Dec 2013 23:36:20 UTC

SkyMesh outage, day 3

Posted By Greg Lehey

For the past couple of days I've been running a couple of tcpdump processes on my laptop eucla, connected directly to the SkyMesh port of the National Broadband Network NTD. One traced all traffic, while another traced traffic that didn't relate to the local interface. I checked from time to time: the former showed dhclient try repeatedly to get an address, and no reply arriving. And then, round 11:09, I got a call from Kear of SkyMesh technical support. He suddenly found life in the link: 11:11:49.837739 IP > BOOTP/DHCP, Request from 48:f8:b3:b5:04:7b (oui Unknown), length 300 11:11:50.571587 IP > BOOTP/DHCP, Reply, length 300 11:11:52.580733 IP > BOOTP/DHCP, Request from 48:f8:b3:b5:04:7b (oui Unknown), length 300 11:11:52.726601 IP > BOOTP/DHCP, Reply, length 300 11:11:52.731440 ARP, Request who-has tell, length 46 11:11:52.790918 ARP, ...

Sat, 21 Dec 2013 02:09:22 UTC

Still more network pain!

Posted By Greg Lehey

Somehow networks just don't like me at the moment. Today cvr2 fell off the LAN again. More searching and finally found the problem: the cable between cvr2 and the switch in Yvonne's office. It goes under the house, and years ago I put it in and terminated it myself, apparently badly. The correct solution would be to try again, but I don't know if I ever want to put a CAT-5 cable together again. The new house will have Ethernet and fibre connections in every room. In the meantime, I put Yet Another cable over the floor. ACM only downloads articles once.

Sat, 21 Dec 2013 00:53:45 UTC

Olympus networking in practice

Posted By Greg Lehey

I'm in the process of finalizing our web Christmas card for this year, and once again I've taken a photo of Yvonne, myself and as many animals as we can fit in the picture. Last year I took the photos using the infrared remote control, which has the disadvantage that it's hard to hide: Now I have this 802.11 link between the camera and a tablet (but not a network: it refuses to connect with any other networking equipment except a phone), and OI.Share, the app that connects with the camera.

Sat, 21 Dec 2013 00:06:59 UTC

Looking for SkyMesh support

Posted By Greg Lehey

As promised, got a call from Dean at SkyMesh support today to do Level 1 fault analysis. Basically this required showing the IP addresses of the interfaces and the contents of the ARP cache. I explained to him that there was no traffic whatsoever, and that the only MAC addresses were of my own interface, but he didn't seem to understand. But that was all the information he wanted, and he hadn't even bothered to report that I was receiving no traffic at all, which clearly made his other questions meaningless. Another waste of time. And so far a 24 out of 24 hour outage.

Thu, 19 Dec 2013 23:24:21 UTC

SkyMesh: All your networks are belong to us

Posted By Greg Lehey

I signed up with SkyMesh a couple of days ago, and they had promised to send me details of how to connect to their National Broadband Network service. But nothing came. Then today the hardware arrived: a CiscoLinksys EA2700 router and SPA112 ATA. Also a welcome sheet giving me user names and passwords for the router, and network name and password for the 802.11 wireless network, and a second sheet with a picture of a fibre NTD, which looks quite different from a fixed wireless NTD, and instructions how to interconnect things: And that's all!

Thu, 19 Dec 2013 23:05:21 UTC

Exetel: support? What's that?

Posted By Greg Lehey

Now that the National Broadband Network connection is up and running, it's time to terminate my contract with Internode and update my private web pages with ISP contact information. I had most of the information for Exetel, but not the email address for technical support. Finally stumbled across this page, which offered to answer my questions. Clearly not one that it expected: Later I found out that they do, in fact, have a help desk page where you can log faults. But that wasn't visible from my search.

Thu, 19 Dec 2013 00:10:28 UTC

Network problems, part 2

Posted By Greg Lehey

The National Broadband Network connection wasn't the only network problem I've been having recently. A couple of times recently I have lost connections to cvr2, my TV recording computer. That almost certainly relates to a dubious switch in Yvonne's office, so I changed that. Then I tried to move a recording from cvr2 to teevee, the TV computer in the lounge room. The transfer rates were terrible! In fact, they were slower than the NBN connection, only round 480 kB/s. Now my network topology has just growed, and it's somewhat baroque. From cvr2 the data goes to the switch I had just replaced, and then to the 100 Mb/s switch in my office, thence into a power line adapter to the lounge room, and then through an 802.11 access point to teevee.

Wed, 18 Dec 2013 23:08:43 UTC

Network problems, part 1

Posted By Greg Lehey

I'm still wondering where the problems are with my network throughput. My Speedtest results are not quite consistentof coursebut they're always far short of the 25 Mb/s downlink speed that I'm paying for. On IRC, Andy Snow suggested using axel to test download speeds. Why? Because TCP has throughput limitations, depending on the window size. OK, possibly that's an issue, so I tried it, downloading a 100 MB file. Here the results ( is Andy's domain): === grog@eureka (/dev/pts/11) /var/tmp 27 -> axel -n 10 -a Downloaded 99.3 megabytes in 1:56 seconds.

Wed, 18 Dec 2013 00:41:35 UTC

Telstra: we can do worse!

Posted By Greg Lehey

Over the years I've developed a healthy hatred of Telstra in all things networking, as I've documented here and here. But what I've seen in connection with the National Broadband Network installation in Dereel blows my mind. I commented on the first one, assuming that it was a contract issue. But no, the phone they cut off was supplied by a competitor! That sounds like it should be a criminal act. And as far as I can see, after 4 days, the phone is still cut off. And then Yvonne received a message from a friend: Updated to the NBN today and it will be installed on the 13/01/14.

Wed, 18 Dec 2013 00:39:21 UTC

Debugging Android networking

Posted By Greg Lehey

While in town, tried again to use my Android tablet on the phone network. Yes, I got a message saying that the phone was on the (which?) network, and my Access Point Name was correct. But, it seems, no Internet connection. What really annoys me is that there seems to be no way to debug these things. ACM only downloads articles once.

Tue, 17 Dec 2013 23:56:08 UTC

Network speed: what should I expect?

Posted By Greg Lehey

More playing around with Speedtest today. Clearly it's an approximate test at best, and for some reason it has decided that I'm in Cairns, nearly 3,000 km away, and so it appears to choose servers in Papua New Guinea, though I suppose they're really in northern Queensland. But even when I correct that and select local servers, the best downlink speed I have ever had was 14.73 Mb/s, and normally it's round 10 Mb/s. I've started to keep a statistics page to monitor the speeds. When SkyMesh provisions the connection, it'll be very interesting to see the difference. ACM only downloads articles once.

Tue, 17 Dec 2013 05:18:55 UTC

More Android networking

Posted By Greg Lehey

So why did my Android tablet not connect yesterday? How do I even configure it? Asked on IRC and got the startling instructions to go to settings/WIRELESS & NETWORKS/More.../Mobile network settings/Access Point Names. Access point names? What do access points have to do with mobile phones? Anyway, selected new APN, clearly an undocumented abbreviation meaning Access Point Name, and was asked for a whole lot of information. How to fill it out? Ask Internode support, I suppose. There I found a general setting page which hardly overlapped at all with the display on the Android: ...

Tue, 17 Dec 2013 04:57:11 UTC

Back with SkyMesh again?

Posted By Greg Lehey

It's been three years since SkyMesh terminated my satellite connection, thereby doing me a favour. And today, somewhat later than others, I got an offer from them to connect me to the NBN. More waste paper basket fodder? It's interesting enough to read what people offer, and this one was particularly interesting: no prices. In fact, I couldn't find their prices for NBN fixed wireless anywhere on their site. It seems they only got put up after my search: now they're here.

Tue, 17 Dec 2013 03:59:14 UTC

NBN connect via FreeBSD

Posted By Greg Lehey

I've had difficulties connecting to the NBN with FreeBSD: the FreeBSD PPPoE implementation violates RFC 2516. Took at look at the code (/usr/src/sys/netgraph/ng_pppoe.c), which didn't show any obvious bug. Here round line 1462, where we're building the PADR:          insert_tag(sp, utag);           /* Host Unique */          if ((tag = get_tag(ph, PTT_AC_COOKIE)))                  insert_tag(sp, tag);    /* return cookie */          if ((tag = get_tag(ph, PTT_AC_NAME))) {                  insert_tag(sp, tag);    /* return it */                  send_acname(sp, tag);          }          insert_tag(sp, ...

Tue, 17 Dec 2013 03:29:28 UTC

MyNetFone: only one connection after all

Posted By Greg Lehey

I had been rather surprised yesterday to discover that I could register my Android tablet with MyNetFone while my ATA was still registered. Today I discovered the truth: yes, the SIP LED was still lit on the ATA, but nobody was home. I had to stop the VoIP application on the tablet, and also power cycle the ATA, before I could use it again. This isn't a bug, of course: it's only one line. But it is a feature. Now when I go anywhere I can turn off the ATA and take my home phone number with me. No need for two phone numbers, no need for redirection.

Mon, 16 Dec 2013 01:48:46 UTC

VoIP over Android

Posted By Greg Lehey

Finally VoIP is working at home. Why shouldn't it work on an Android tablet as well? Did some looking round and came up with Zoiper, which installed. And the service provider? In principle MyNetFone SuperSaver is free but for the calls, so it would make sense to sign up for a second account. But they wanted $20 for bring your own hardware. Not something I want to do for a test. Tried registering with the same account number, and to my surprise it worked, and the VoIP adapter still showed that it was registered too. That's strange. Anyway, it worked, so when we were in Ballarat, I tried it with the Internode SIM card.

Sun, 15 Dec 2013 01:57:46 UTC

Photo processing software changes

Posted By Greg Lehey

The new Olympus OM-D E-M1 also requires changes to my photo processing. Since DxO Optics Pro no longer supports my lens combinations, I have to use Olympus Viewer to convert the raw images to TIFF. I then (currently) use DxO to apply other corrections, but it's clear that once I don't have lens corrections, DxO doesn't have much to offer. Viewer is a pain! It seems to continually reset the options I have set, including the paths to where I want to save the image. I think I'll have to give up and make its choice of path a symlink to where I really want the images.

Sun, 15 Dec 2013 00:18:21 UTC

Debugging the PPPoE connection

Posted By Greg Lehey

Finally got round to looking at the PPPoE connection problems from a couple of days ago. Not a good advertisement for FreeBSD: it is in violation of RFC 2516. Here the view from wireshark: The session starts with eureka sending out a PADI broadcast. Interestingly, it gets two PADOs in reply. That's explicitly allowed by the RFC, but I hadn't expected it. It then sends a PADR to the first one, and gets a confirmatory PADS. That's all that PPPoE needs, and the rest goes on with the PPP LCP.

Sat, 14 Dec 2013 04:40:26 UTC

Streaming Internet video

Posted By Greg Lehey

So now we have a real Internet connection, we can get films and other TV programmes off the web, right? Well, yes, but how? Looking at YouTube, the films on offer are old and boring. And today to start things off, I wanted to find something as a surprise for Yvonne: Et la Tendresse... Bordel !, a reminder of her days in France. No difficulty finding it: as usual, Google is your friend. But then? The links promised free downloads. Are they legal? I still don't know, but since some of them do it quickly for money or slowly for free, I'm guessing yes.

Sat, 14 Dec 2013 02:29:05 UTC

Understanding the NBN

Posted By Greg Lehey

I'm not the only person who has connected to the National Broadband Network, of course, and there was a lot of discussion on the Dereel Facebook page today. It's amazing how many people have chosen Telstra as an ISP. And already Telstra's bureaucracy has claimed at least one victim: swapped their current Internet line for NBN and had their phone disconnected. How could that happen? Presumably the phone was on the same contract as the Internet service, and nobody bothered to tell them. Spent some time on Facebook answering questions, but Facebook is such a pain, so I put together a web page with general information.

Thu, 12 Dec 2013 22:51:04 UTC

NBN performance

Posted By Greg Lehey

So now I have a network link with 25 Mb/s down and 5 Mb/s up. How much of this am I really getting? Not very much, it seems. Repeated test with speedtest suggest about 8Mb/s down and 4 Mb/s up. Is that NBN or Exetel? To be observed. 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, 12 Dec 2013 21:42:00 UTC

Configuring for NBN

Posted By Greg Lehey

That wasn't the end of the story, of course. I really wanted to run PPPoE from eureka, my main FreeBSD machine. And that didn't go as smoothly. Reading the logs didn't make much sense to me, so I put if off until later. And now we can use VoIP normally! Turned the adapter (a NetComm V210p) back on, but it didn't register. Why? While messing around, realized that I was still connected via the Internode link, so whatever the problem was, it had nothing to do with the NBN. Played around with various settings, at one point setting NAT to on.

Thu, 12 Dec 2013 20:58:01 UTC


Posted By Greg Lehey

Today was the day scheduled for the installation of my connection to the National Broadband Network. They had given a time window between 8:00 and 12:00 to perform the installation, so I was up and about by 7:30, walking around like a tiger in a cage. No sign of them at 8:00, of course. That's to be expected. No sign at 9:00. Well, they could be late. No sign at 10:00. How long are they going to be? Were they given the wrong phone number? As Andy Snow put it: PID USERNAME  PRI NICE   SIZE    RES STATE   C    TIME   WCPU COMMAND 612 nbnco      44    0 98268K 44424K zombie  0 1367:16 99.95% install --location dereel Round 10:30 I finally said Where's the bloody NBN?.

Wed, 11 Dec 2013 23:08:58 UTC

NBN installation failures

Posted By Greg Lehey

Tomorrow's the Big Day when I get connected to the National Broadband Networkmaybe. It seems that the coverage maps are a best-case scenario. Spent a while setting up a Google Map showing installation locations. Now I just need to get people to add their locations and state whether it was a success or a failure. ACM only downloads articles once.

Tue, 10 Dec 2013 22:41:12 UTC

Preparing for NBN

Posted By Greg Lehey

The first NBN installations took place in Dereel today. There were reportsas expectedof superb throughput, but not all were successful: two installations, in Browns Road and Golden Reef Road, had to be aborted because of lack of signal. Browns Road I can understand, but Golden Reef Road is almost in the middle of Dereel. If they have problems there, some designer hasn't done his homework properly. My installation is on Thursday. What do I need to do to make things work? One is to find a place to put the network termination device (officially NTD, but which they call a connection box in their end-user documentation).

Tue, 10 Dec 2013 00:42:50 UTC

Networking in the new house

Posted By Greg Lehey

It's only 3 days until the NBN installer arrives and hopefully connects me up. And in only a few months we will move home. What happens to my NBN connection? Called up the NBN and spoke to Chloë, who didn't quite seem to understand the issue. But yes, there is enough bandwidth available to service everybody in the rollout area (marked in purple), currently very much including Stones Road: ACM only downloads articles once.

Mon, 09 Dec 2013 00:39:54 UTC

Microsoft photo software doesn't like me

Posted By Greg Lehey

I've already commented on the fact that DxO Optics Pro Elite doesn't recognize the Olympus E-M1. But it seems it just doesn't want to do it for me. It works fine for others. Why? There are lots of bugs in DxO, but the likeliest one I can think of is that it recognizes my email address as licensee for the standard edition, and even the trial version won't work properly in Elite mode. And then there's Olympus Viewer 3, which comes without documentation. But only for me, it seems. Others have a file OLYMPUSViewer3.chm with some kind of help text.

Fri, 06 Dec 2013 22:48:53 UTC

Still more E-M1 experience

Posted By Greg Lehey

More playing around with the Olympus OM-D E-M1 today. I was particularly concerned with the quality of the photos that I took yesterday, which seemed far too dark as processed by Olympus Viewer 3. Spent some time looking for documentation, but I've come to the conclusion that here, too, there is none: This was immediately after a fresh install. Searching the web found nothing. Searching the file system found only a README written one line per paragraph, something that even the Microsoft tools don't seem to be able to handle: It's hardly believable that people can provide software with no documentation at ...

Mon, 02 Dec 2013 23:18:39 UTC

Suddenly summer

Posted By Greg Lehey

It's summer! And the weather shows it: That's a big difference from the last two months, which were far cooler than the seasonal average: mysql> SELECT year(date), avg(outside_temp) FROM observations WHERE month(date) > 9   AND month(date) < 12 GROUP BY year(date); +------------+-------------------+ | year(date) | avg(outside_temp) | +------------+-------------------+ |       2009 |  17.5731496596709 | |       2010 |    14.36821202979 | |       2011 |  15.1622464410373 | |       2012 |  14.9027108163907 | |       2013 |  13.4479453197917 | +------------+-------------------+ And for some reason, weather station readings were very erraticat times over 30 minutes passed without a reading coming through.

Sun, 01 Dec 2013 23:11:32 UTC

Keeping EXIF data in a database

Posted By Greg Lehey

I have something like 100,000 distinct photos on my system, and with all copies in different sizes, data formats and qualities, it's over 500,000. How do I keep track of the EXIF data? Specifically at the moment I'm wondering which lenses I use the most, and at what focal lengths. Clearly l need to store the information in a database. That's so clear, in fact, that there must be software out there that does it. But a Google search didn't come up with anything very promising.

Sun, 01 Dec 2013 22:16:23 UTC

NBN installation, bad language and survey

Posted By Greg Lehey

Where do I put the network termination box for my NBN service? It's designed to be mounted on a wall inside the house, preferably close to a power point. We're going to be moving house in the foreseeable future, so it makes sense to consider where the new owner of the house would like to have it. Clearly it should be somewhere near the existing network infrastructure. That's mainly the south half of the house; my powerline network adapters that connect to the north are so flaky that they may not be as fast as the NBN downlink.

Sat, 30 Nov 2013 23:36:04 UTC

NBN coming nearer

Posted By Greg Lehey

Mail message from Exetel today: We have been notified by NBN that an appointment has been made for a technician to visit your premises to complete the installation of the Fiber Broadband. Appointment date: Thursday, 12 December 2013, 8:00 AM - 12:00 PM Fiber broadband! Not even fibre. Still, I suppose fixed wireless is the invisible fibre. But after 2½ years of waiting, we finally have a date. The relief was overwhelming. Hopefully everything will go smoothly. ACM only downloads articles once.

Fri, 29 Nov 2013 23:44:36 UTC

NBN wants residents

Posted By Greg Lehey

Looking Yet Again at the NBN rollout map for some reason, and it asked me if I wanted to take a survey after visiting the site (which involved explicitly closing the window when I was done). It confirmed my negative impression of the NBN bureaucracy, producing the smallest window I have ever seen: Without the frame it must be about 100×100 pixels. Once I had enlarged it, it wanted to know what kind of visitor I was, a button list of course. What kind didn't it mention?

Fri, 29 Nov 2013 23:27:21 UTC

DCW credit card security

Posted By Greg Lehey

One of the more interesting issues completing my purchase with Digital Camera Warehouse was that they didn't simply accept my credit card on the phone: they did a sample booking between $1 and $2 and asked me to check the sum and report it back to them. Given the horrendous lack of security in the online market, that seemed not to be a bad idea. Only problem was, of course, that ANZ didn't play along: the updates to the online banking site can take hours or even a day. So I had to call them up and get the information on the phone, with only my secret word as identification.

Thu, 28 Nov 2013 23:36:25 UTC

More bad language

Posted By Greg Lehey

While signing up with Exetel today, Shannon asked me if I wanted a modem. Huh? Why do you need a modem when NBN supplies a layer 2 bridge? She couldn't tell me either, of course, but it seems that she meant a switch or maybe a router. So why call it a modem? It seems that the central home networking box, including ADSL modem, a switch, NAT, firewall, and probably 802.11 access point, has come to be referred to as a modem. Now the successor devices no longer have the ADSL modem component, but the name has become established, and though it's no longer a modem, that's what they call it.

Wed, 27 Nov 2013 23:36:19 UTC

Finally! NBN!

Posted By Greg Lehey

Started writing up my diary for yesterday and brought up the NBN rollout map. And what do I see? So Aussie Broadband were only slightly wrong in their timing. And once again the NBN have demonstrated how completely useless their information is. Yesterday, just the day before it became available, they were pretending that the service wouldn't be available until August 2014. What a useless system. Hopefully the network side will be better. So: once again tried to sign up with Exetel. Called up 1300 393 835 and spoke to Shannon, who had all my details. Nevertheless she couldn't process my order until I gave her a mobile phone number.

Wed, 27 Nov 2013 22:50:33 UTC

No NBN, part 2

Posted By Greg Lehey

Exciting junk mail in the letterbox today: Could it be true? Have they finally got the Radiation Tower up and running? Took a look at the rollout map. Nothing. But then what do they know? Called up NBN on 1800 687 626 and spoke to Christine, who told me the same old story: construction commenced in August, and it normally takes 12 months to complete. Why do they repeat that nonsense? She seemed put out when I told her that that was nonsense, but promised to forward it to her superiors.

Mon, 25 Nov 2013 20:53:52 UTC

New backup disks

Posted By Greg Lehey

To Officeworks to buy some new backup disks (or, as they put it, hard drives) for my photos. 4TB each, and to hedge my bets (and also tell them apart) I bought one Seagate, one Western Digital. How the old units fail with file systems of this size: Filesystem    512-blocks Used         Avail Capacity  Mounted on /dev/da2p1 7,812,344,416   16 7,734,220,960     0%    /photobackup Normally my backups are just of the day's photos, and they take about 10 minutes, mainly with rsync checking the directory trees of the two disks.

Mon, 25 Nov 2013 20:27:59 UTC

No NBN in Dereel

Posted By Greg Lehey

Phone call from Chris Bahlo during breakfast. The people from the NBN were there to install her antenna! Well, it's really David Yeardley's installationChris would never have chosen Telstraand they can be connected because the NBN has determined that they're in the range of the Rokewood tower, while we are not. But more to the point, nobody was home except for Minh Chau, and since she's under age, they wouldn't accept a signature from her. So one of us had to go over, and out of curiosity I volunteered. Unfortunately in vain: they had moved on, and would come back later, by which time David would be there.

Sat, 23 Nov 2013 22:44:06 UTC

Paving the way to hell

Posted By Greg Lehey

My programming languages course has now moved from Racket to Ruby, and the first assignment is due in soon. It's difficult to keep up with the sheer volume of lectures, but finally I started today: === grog@teevee (/dev/pts/4) ~/Coursera/Programming-Languages/assignments 3 -> ruby hw6runner.rb original /usr/local/lib/ruby/1.9/rubygems/custom_require.rb:36:in `require': cannot load such file -- tk (LoadError)         from /usr/local/lib/ruby/1.9/rubygems/custom_require.rb:36:in `require'         from /eureka/home/grog/Coursera/Programming-Languages/assignments/hw6graphics.rb:6:in `<top (required)>'         from /eureka/home/grog/Coursera/Programming-Languages/assignments/hw6provided.rb:3:in `require_relative'         from /eureka/home/grog/Coursera/Programming-Languages/assignments/hw6provided.rb:3:in `<top (required)>'         from hw6runner.rb:3:in `require_relative'         from hw6runner.rb:3:in `<main>' What's that?

Sat, 23 Nov 2013 00:17:10 UTC

Don't use Internet Explorer!

Posted By Greg Lehey

Participated in another silly survey today. About the most interesting part was at the beginning: How times change! 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, 21 Nov 2013 23:20:04 UTC

DxO support for E-M1

Posted By Greg Lehey

Rather to my surprise, DxO has already announced support for the Olympus OM-D E-M1. Which lenses? A number of Panasonic lenses as well as from Olympusbut only micro-FT lenses! In general the optical quality of the µFT lenses is less than that of the Four Thirds lensesthe only one that really qualifies as professional is the still-undeliverable M.Zuiko 12-40 mm To make up for that, they've decided that the E-M1 is a professional camera (my E-30 isn't), so I'd have to pay double the price for dropping support for my existing lenses. That would be the last straw. So off looking for alternatives.

Thu, 21 Nov 2013 00:20:49 UTC

Exploring the ALDI tuner

Posted By Greg Lehey

Discussion about the ALDI tuner on IRC today. Jürgen Lock suggested that I try installing the webcamd port, so did that and tried it out: === root@teevee (/dev/pts/0) /usr/ports/multimedia/webcamd 8 -> webcamd Attached to ugen0.5[0] webcamd: Cannot find USB device Clearly it was lying: it did find /dev/ugen0.5. But why? It seems that to get debug output you need to rebuild the port, so did that and got lots of messages on the screen, many of them obviously errors. But the real one that stood out was: ERR: : : this USB2.0 device cannot be run on a USB1.1 port (it lacks a hardware PID filter) Now isn't that something that should only appear in debug output?

Wed, 20 Nov 2013 23:49:55 UTC

New toy

Posted By Greg Lehey

A few weeks back I bought an infrared thermometer on eBay, and today it finally arrived. The main purpose is to measure the temperature of the pizza stone in the pizza oven, but of course that won't be for a while. In the meantime I played around with it a bit. One thing's clear: it's not the kind that you can stick into your ear and measure blood temperature. I tried that and got a temperature of about 23°. But pointing it at hot and cold objects show that it works, at least in principle. The trouble is that it's a spot measurement, so the variation between -18° and -14° in the deep freezer, or 190° in the corners of the oven to 210° in the middle, could be correct.

Tue, 19 Nov 2013 23:11:30 UTC

New USB tuner

Posted By Greg Lehey

Yvonne back from shopping today with more toys from ALDI: two USB TV tuners and an 802.11 range extender. One of the tuners can go back unopened: there's no way to connect two to a standard TV cable. The other one probes under FreeBSD without revealing very much: Nov 19 17:30:26 teevee kernel: ugen0.5: <Realtek> at usbus0 Nov 19 17:30:26 teevee root: Unknown USB device: vendor 0x1d19 product 0x1101 bus uhub2 Nov 19 17:30:26 teevee root: Unknown USB device: vendor 0x1d19 product 0x1101 bus uhub2 So now I'll have to revisit the whole tuner setup under Linux.

Tue, 19 Nov 2013 21:29:32 UTC

ABS survey

Posted By Greg Lehey

While I was in town yesterday, somebody from the Australian Bureau of Statistics came by and told Yvonne that we had been selected for a Survey of Income and Housing. She left a letter, which proved to contain a Web Address, numerical user identifier and password, containing upper and lower case letters, digits and a special character. I was to go to this Web Address to say when it would be convenient to conduct a survey of unspecified duration. Do I want to do this? This kind of bad language raises prejudices which too often prove to be justified. They were today, too.

Sun, 17 Nov 2013 22:35:15 UTC

Comparing DxO releases

Posted By Greg Lehey

Comparing the processing times of DxO Optics Pro releases 8 and 9 also gave me an opportunity to compare the images themselves. They should be the same, right? Well, I've been applying the Artistic HDR profile (which they call a preset), and they seem to have fine-tuned that. The results are most visible in images with a lot of white, but unfortunately I didn't compare any of them, and given the processing time, I'll put it off for some other time. But even in more normal images some differences are obvious. To compare the images, visit the HTML version of this page with JavaScript enabled.

Sat, 16 Nov 2013 23:50:58 UTC

DxO release 9: faster after all

Posted By Greg Lehey

I've commented in the past both on the glacial speed of DxO Optics Pro and the chutzpah they had to claim that release 9 is even faster. My own tests confirmed only the former allegation. But over the last couple of days I've processed a large number of photos with release 9, and yes, indeed, it's notably faster. Here the times: Release       Image count       Time       Time per image (s)       CPU Time per image (s) ...

Fri, 15 Nov 2013 23:55:06 UTC

Microsoft bashing, 15 years on

Posted By Greg Lehey

Mail from Bob Nelson today, who had dug out an old copy of The Complete FreeBSD, third edition. He was concerned by a couple of things I said about Microsoft. Now it's not exactly a secret that I don't like Microsoft, but nevertheless it was interesting to see what it was that concerned him. The first was a reference to Microsoft's Operating System Bob thought that the quotes were inappropriate. But in the context, no, they weren't. I was referring to Windows 95, which was not an operating system at all, but a graphical interface to MS-DOS. Calling it an operating system would be like calling X an operating system.

Thu, 14 Nov 2013 23:41:52 UTC

Tools for Android

Posted By Greg Lehey

I'm gradually making friends with Android, but it's not easy. Under the surface it looks almost like a real machine: u0_a83@android:/ $ df Filesystem             Size   Used   Free   Blksize /dev                   403M    64K   402M   4096 /mnt/asec              403M     0K   403M   4096 /mnt/obb               403M     0K   403M   4096 /system                531M   322M   208M   4096 /system/media           98M    67M    31M   4096 /cache                  98M     4M    94M   4096 /persist                 9M   ...

Wed, 13 Nov 2013 02:15:21 UTC

Positive NBN news

Posted By Greg Lehey

We've all been more than a little unhappy about the direction the new Australian government is taking with the National Broadband Network, as I've commented repeatedly in the past. And so far there seems to be no sign of a change of directionuntil today. Now it seems that Simon Hackett is joining the board of the NBN. That's hopefully good news. Simon has a much better understanding of the issues than most of the people on the NBN, very much including the current government. Hopefully he'll be able to maintain his viewpoints. Certainly the public opinion is very positive. ACM only downloads articles once.

Tue, 12 Nov 2013 00:05:02 UTC

(Re)Learning programming

Posted By Greg Lehey

I've been programming for nearly 45 years now, but I've always been interested in programming languages, and so a couple of months ago I signed up for an online Programming languages course from the University of Washington. It's been interesting. One of the things about programming languages is that each has its own way of doing things. Yes, you can write FORTRAN in any language, and Rasmus Lerdorf has told me Programming in PHP is simple. Just write C and put a $ in front of the variables. But it's not that simple, and the course shows idioms that I wouldn't have thought of myself.

Fri, 08 Nov 2013 21:01:44 UTC

More GPS navigation apps

Posted By Greg Lehey

I still haven't found a good Android navigation app. I'm going to Melbourne tomorrow, so it's a good test. Spent some time looking for other apps, and came up with a package I can no longer trace. It has some other name somewhere, but it just identifies itself as Navigator. I had thought that it was NavFree, but the description in the toyshop looks very different. It's also based on OpenStreetMap. Is the navigation any better? No. It was almost impossible to enter the details of where my cousin Mick lives (it didn't believe that the street number existed), and finding the South Melbourne Market took me 5 minutes offline.

Thu, 07 Nov 2013 23:04:54 UTC

Comparing DxO PRIME

Posted By Greg Lehey

As planned, spent some time converting the photos taken on 30 January 2010 with the new DxO Optics Pro version 9, including the blue moon with the ice-age-glacial PRIME denoising functionality53 minutes for 7 images! And the results? It's still hard to say. The original images were processed with ufraw, not the best software in the world. DxO gave generally better-looking results. But there's not that much difference in the noise. In sequence are the image as processed by ufraw, the same image as optimized by Ashampoo photo optimizer, DxO with the High profile and DxO with the PRIME profile: The differences in the crop are due to the fact that ufraw uses the ...

Thu, 07 Nov 2013 00:33:42 UTC

Modem comparisons

Posted By Greg Lehey

My wireless network congestion continues, though it's currently not as bad as it has been. But Internode support have sent me a new modem to see if that will make any difference. Yes, it did. It's a Huawei E3131, and my system doesn't recognize it: Nov  6 10:43:12 eureka kernel: ugen6.4: <HUAWEI> at usbus6 Nov  6 10:43:14 eureka root: Unknown USB device : vendor 0x12d1 product 0x1c05 bus uhub8 Nov  6 10:43:14 eureka kernel: ugen6.4: <HUAWEI> at usbus6 In particular, it doesn't create any device nodes, so I can't use it.

Wed, 06 Nov 2013 23:53:04 UTC

More DxO investigation

Posted By Greg Lehey

As planned, continued today looking at the new DxO Optics Pro version 9. It's certainly interesting. The first thing I needed to do was to process the images from the GPS navigator as part of the article on GPS navigation apps. I couldn't be bothered to mount the camera on a tripod, so I took the images hand-held with the camera sensitivity set to 36° (3200) ISO. That created quite noisy images, just what I needed to try their new PRIME denoising, a term that proves to stand for Probabilistic Raw IMage Enhancement. One thing's sure: it's slow. And when processingexporting a second image, I discovered: I had to wait for the first image to complete before I could start the second, presumably because of some limitation in their processingexporting logic.

Wed, 06 Nov 2013 01:25:09 UTC

Web server down time

Posted By Greg Lehey

Stephen Rothwell updated our communal OzLabs weather server today, while I was in Geelong. It didn't take long to find that things didn't go well for Error 403 (Permission denied) on all pages. Contacted Stephen and discovered that I hadn't read his warning letter closely enough, and that I needed a configuration change. Fortunately that didn't take too long. ACM only downloads articles once.

Wed, 06 Nov 2013 00:41:18 UTC

Navigation apps revisited

Posted By Greg Lehey

The journey to Geelong was useful for another purpose: another comparison of OsmAnd Maps & Navigation and the Nav N Go in my dedicated navigator. It was interesting: OsmAnd Maps took well over a minute to calculate a route back home from Geelong, a distance of 80 km. There's clearly a lot of room for improvement there. When it did, it was a very different shortest route than what Nav N Go calculated.

Mon, 04 Nov 2013 22:29:01 UTC

More bad language

Posted By Greg Lehey

So today I've had two different new examples of bad language: income stream products and export. What's wrong with them? They're bad in different ways. Income stream product is clearly intended to be very specific. Presumably stream implies continuous, relatively even income, and product is some kind of wrapper. But that's a guess. To be specific, it also needs to be completely understandable. Presumably the people at Centrelink know exactly what it means and how it differs from other jargon terms that would sound the same to me. But unless you can look it up in a dictionary, they shouldn't be using it when communicating with the general public.

Mon, 04 Nov 2013 21:38:42 UTC

New DxO release

Posted By Greg Lehey

A couple of weeks ago DxO released version 9 of DxO Optics Pro, of which they said, with amazing chutzpah: DxO Optics Pro is now even faster That's of a photo processing package that is an order of magnitude slower than any other I know. Still, any speed improvement is good, so today I decided to try it out. The user interface has changed: previously there were the relatively understandable tabs Organize (climb trees to find the files you want to process), Customize (select what you want to do with them) and Process (produce the corresponding output images).

Mon, 04 Nov 2013 21:25:15 UTC

NBN letdown

Posted By Greg Lehey

On the dot of 9:00 this morning, called up Exetel (1300 393 835, Option 1), spoke to Bernie and asked her to reinstate the order that they rejected last month. Yes, indeed, they still had all the details, but they'd have to reenter it manually. Their problem, I suppose, since they were prepared to do it. But of course the NBN info still showed no service from the Radiation Tower, so they couldn't accept it. Called up the NBN and spoke to Adam, who told me that the tower was indeed not in service, but some people, notably in Browns Road (which goes past the edge of Chris Bahlo's property) already had service.

Sat, 02 Nov 2013 22:46:07 UTC

Radiation Tower: finally!

Posted By Greg Lehey

The Radiation Tower is finished! Or at least, that's what Yvonne found in Facebook: Yeah baby, booked in for the NBN today, been told the technician will be out in the next couple of weeks to hook us up......bye bye 15 gig @ $89 yippee........ I can't check myself: it seems I've been removed from the group. And of course the coverage map doesn't show any change, but what else is new? Hopefully it'll be installed before my current month of wireless coverage ends on the 20th. ACM only downloads articles once.

Thu, 31 Oct 2013 04:34:15 UTC

LinkedIn: Somebody wants to link to you

Posted By Greg Lehey

Mail from LinkedIn (yes, really, not spam) today: Who? It doesn't say. It seems to be unimportant, though viewing the profile showed that it was, indeed, somebody that I know. But this was the entire message, apart from my personal details below. Still, documentation is overrated. ACM only downloads articles once.

Wed, 30 Oct 2013 23:28:31 UTC

New VoIP adapter

Posted By Greg Lehey

My new NetComm V210P VoIP adapter arrived today. Why does it have a WAN and a LAN port? It seems to want to be a firewall as well, and it's a little hazy about which port it uses for DNS requests. After a bit of playing around, discovered that it works better with the WAN port connected. But I still can't find a way to create a sensible dial plan. On the one hand it's a lot simpler than the dial plan for the Sipura, but on the other hand it's a lot simpler than the dial plan for the Sipura.

Wed, 30 Oct 2013 23:22:11 UTC

More Radiation Tower activity

Posted By Greg Lehey

They're doing more work on the Radiation Tower: At first I thought it was the electricity, but the heaps of soil don't seem right for 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.

Wed, 30 Oct 2013 01:04:00 UTC

Alternative Android software

Posted By Greg Lehey

My search for a good navigation app for Android has not been very successful. I had expected something better than the Nav N Go software, but so far I haven't found anything that is anywhere near as good. So why not Nav N Go? It clearly has the advantage that I know how to use it. Spent some more time looking around and came across a site that offered it. So I tried to install it. Ended up with a 415 byte file in the Downloads directory, with no explanation of what to do with it. Clearly I had to sign up with Aptoide.

Tue, 29 Oct 2013 23:19:00 UTC

The advantages of dithering

Posted By Greg Lehey

My Android tablet proves to be quite good for reading PDF documents, much better than the E-book reader that I bought last year. That seems to have more to do with the software (dare I say Acrobat reader?) than the hardware, since the resolution isn't very different. A closer looks shows the advantage of dithering: I consider dithering just a substitute for high-resolution displays, but here it does the job quite well. ACM only downloads articles once.

Mon, 28 Oct 2013 23:31:27 UTC

MySQL communication failure

Posted By Greg Lehey

After yesterday's panic, I had difficulty accessing the freezer database on dereel. It's using phpMyEdit, which no longer works with modern, backwards incompatible versions of PHP, so I run it on a different, down-rev (virtual) machine. But since the reboot I couldn't access the database. Much checking, not helped by the lack of error reporting. Running wireshark didn't help: I only saw the traffic in one direction, presumably because of the virtual machine. But running mysql directly showed: === root@dereel (/dev/pts/0) /usr/local/www/data/household 16 -> mysql -u grog -h eureka ERROR 1130 (HY000): Host '' is not allowed to connect to this MySQL server No, I don't have passwords for this database (clearly that will have to change if I go back to direct connect to the Internet).

Mon, 28 Oct 2013 00:23:05 UTC

VoIP reliability

Posted By Greg Lehey

Years ago I bought two Sipura SPA-3000 VoIP ATAs. After retiring I only needed one of them, but it died two years ago. Today I discovered that the second one had died too. I didn't record the exact symptoms of the death of the last one, but I suspect at least the LEDs still illuminated. This time there was just no power indication, though the power adapter seemed OK. Not a good advertisement for SipuraLinksysCisco. With the upcoming Radiation Tower, time to buy a new one. Saw one (a NetComm V210P) being auctioned on eBay and got it for $9.99. Who can be bothered to fix old hardware when you can get new stuff that cheaply?

Sun, 27 Oct 2013 23:42:51 UTC

Backup data corruption

Posted By Greg Lehey

Yesterday's photo data backup didn't exactly work as planned. Looking at the output, I found lots of: rsync: stat "/photobackup/Photos/grog/www/20080531/small" failed: Bad file descriptor (9) rsync: recv_generator: failed to stat "/photobackup/Photos/grog/www/20080531/small/daisy-bush.jpeg": Not a directory (20) rsync: recv_generator: failed to stat "/photobackup/Photos/grog/www/20080531/small/dam-ne.jpeg": Not a directory (20) Further investigation showed a couple of things: first, the (USB-connected) disk had been detected as a 1 MB/s device: Oct 26 17:04:33 eureka kernel: da2 at umass-sim3 bus 3 scbus11 target 0 lun 0 Oct 26 17:04:33 eureka kernel: da2: <ST ST2000DL003-9VT1 3.00> Fixed Direct Access SCSI-4 device Oct 26 17:04:33 eureka kernel: da2: 1.000MB/s transfers Oct 26 17:04:33 eureka kernel: da2: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C) Normally I'd expect to see ...

Fri, 25 Oct 2013 23:47:08 UTC

Radiation Tower close up

Posted By Greg Lehey

The work on the Radiation Tower this week looked like completion, so off to take a closer look. Up to now I have only taken photos from the road, but it looked like time to go in and take a closer look. For some reason they've locked the gates leading to the tower, though that's not the case with the other towers I've seen. In any case, it's easy enough to get in: And clearly the tower isn't complete yet: Still, there's not much to do.

Fri, 25 Oct 2013 23:33:18 UTC

How to compromise ANZ web banking

Posted By Greg Lehey

Despite my complaints about ANZ yesterday, it was clear that I would have to go along with their silly security questions, so I chose some with answers that nobodynot even Icould guess. Then a little later Yvonne came in and told me that she had managed to lock herself out of the web banking servicetyped the correct password three times, and it was rejected each time. Now we had to call 13 33 50 to get it reinstated. How could that happen? Clearly they couldn't have objected to my choice of answers (which, in fact, were less unflattering than usual). Something wrong in their application?

Thu, 24 Oct 2013 23:36:54 UTC

Bluetooth keyboard: success

Posted By Greg Lehey

More playing around with the Bluetooth keyboard today. This time it Just Worked, irritatingly while I was trying to get some screen shots of it not working. And once it was there, identifying itself not with a MAC address but with the name of the keyboard's owner (not Chris Bahlo), I couldn't get rid of it. So: how well does it work? There's no problem entering data, but it's still difficult to use: Android isn't really designed for keyboards, and I still need to smear the tablet to navigate the screen. The keyboard is really only useful when doing a lot of text entry with little screen navigation.

Thu, 24 Oct 2013 00:14:38 UTC

DNS strangeness

Posted By Greg Lehey

What's my test box called? It's headless, so I need to connect to it before I can find out. But then there's ARP. After booting, it should show up in eureka's ARP table, since it NFS mounts file systems. Took a look: ( at 00:1f:d0:20:4e:7f on re0 permanent [ethernet] ( at 00:10:5a:75:8d:ad on re0 expires in 36 seconds [ethernet] ( at 00:21:86:21:ab:7e on re0 expires in 1190 seconds [ethernet] ( at 08:00:27:3c:7f:5e on re0 expires in 1005 seconds [ethernet] ? ( at 00:1f:d0:20:4e:7f on re0 permanent [ethernet] ?

Wed, 23 Oct 2013 23:40:13 UTC

Androids and Bluetooth keyboards

Posted By Greg Lehey

Chris Bahlo came in in the evening with a Bluetooth keyboard to try out on the Android tablet. Not an unqualified success: What's wrong there? And why does it identify itself with something that looks like an Ethernet MAC address? More investigation needed. ACM only downloads articles once.

Tue, 22 Oct 2013 23:00:25 UTC

More Radiation Tower progress

Posted By Greg Lehey

They're back at work on the Radiation Tower: It looks as if they're connecting up the power, which shouldn't take them too long. Hopefully it'll just be a few days now. So: can I see the tower from my house? Up on the roof to take a look in that direction: Where is it? With the help of Google Maps, established that it's behind the gum trees in the middle of the view: This is from my Internet connection options map.

Tue, 22 Oct 2013 22:34:36 UTC

Ports pain

Posted By Greg Lehey

Some months ago I had a horrible experience: enblend only worked correctly with vigra if it was compiled with a specific version of gcc. I fixed that by