|
|
|
Friday, 1 June 2012 | Dereel | Images for 1 June 2012 |
Top of page | ||
next day | ||
last day |
Panoramas: can of worms
|
Topic: photography, technology, opinion | Link here |
Today was the first day of winter, but the weather was very nice, sunny and windstill, ideal weather for panoramas. And tomorrow the monthly extra photos were due, so I decided to take them today instead.
After getting SaladoPlayer working, it's clear that I need to refine my panorama schedule. I wanted a higher resolution version of the verandah panorama, and Callum Gibson wanted to see some other circular panoramas apart from that one. I chose the garden centre and dam panoramas. None of them were easy.
I had multiple problems with the garden centre. Since I had enough space, I decided to locate the bottom row so low that parts of the tripod mount were visible. Bad idea, especially since I managed to get a couple of fingers in the images. Hugin found them easy to identify, and I ended up with control points like this:
Clearly that can't work; nothing on the rotating part should be used for control points. And as this example shows, those two were the ones that Hugin decided had a “good” fit (0.10 and 0.12 pixels), while the sole real control point had an error estimated at 300 pixels.
In addition, the light conditions just Don't Work for pseudo-HDR. Some of the images came up like these two, which should stitch above each other:
|
|
Note particularly the brown shadows in the second image. Not only does that not look good, it makes control point recognition very difficult, and I spent over an hour putting in manual control points. In the process I discovered that my choice of f/22 for the images (because of close branches above) was not a good one, and there was considerable diffraction fuzziness. Try as I might, I couldn't get the image to close over the verandah, and I ended up with this kind of discontinuity, after nearly 4 hours of work:
|
|
The dam panorama was a problem for a different reason: how do you find control points in a clear sky? Ended up patching some in roughly where it belongs, but the result is a little patchy:
|
And that one, too, took about 3 hours. For some reason stitching times were extreme today, up to 1½ hours per image, and for these ones I need to do two: an equirectangular projection for SaladoPlayer and a Miller cylindrical projection for the web page.
I wanted better resolution on the verandah. Previously I have taken the images at 9 mm focal length, which required two rows of 8 images each and a zenith image (currently I have a hole for the nadir). I had guessed that a better focal length would be 25 mm, but for the first attempt I chose 18 mm, taking three rows of 15 images, a row of 8 at the top, and a single zenith image, for a total of 54.
Here I really did need the f/22 because of the increased focal length. As usual I used fill-in flash here, but I only managed 26 images before the flash overheated. Clearly the aperture didn't help, and nor does the sheer number of images. So I tried again without flash. Including a couple of doubles, that's a total of 82 images! I didn't have time (nor the courage) to stitch this one today. Mañana.
Interestingly, the flash didn't necessarily help much in the dark corner. Here first with and then without flash, with mouseover alternation:
|
|
Still more things to think about.
New mattress: can of worms
|
Topic: general | Link here |
Just by chance, Yvonne noticed on Wednesday that ALDI still had mattresses available from their special offer over a month ago. I had looked at them at the time, but they were rolled up in a box, and I didn't much like that idea. In addition, they were only 1.88 m (6'2"?) long. But they were only $169, and after seeing other prices, it seemed worth a try—after all, it can always go back.
Today David Yeardley (who is back in town, but whom I haven't seen for nearly a year) picked one up and brought it by. Unpacked it and was amazed by the thinness of the thing, only about 8 cm. But on unrolling it, there was a hissing sound and the thing expanded to a full 23 cm (probably 22.86 cm or 9"), much thicker than the 15 cm or so I'm used to. It's a pity we didn't get it on video. Clearly once you've opened one of these things, you can't put it back where it came from.
And the comfort? Looks OK so far. That's a good thing too, because clearly returning it would be complicated.
Saturday, 2 June 2012 | Dereel | Images for 2 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
A day wasted with panoramas
|
Topic: photography, technology | Link here |
The sheer processing time for my high-res panoramas yesterday meant that I didn't get them finished. Started today with the verandah panorama, which despite my fears closed pretty well, and started to stitch it round 9:00. nona ran for about 20 minutes for the 56 images, so enblend started at 9:20. It used over an hour of CPU time and ran for 4 hours and 40 minutes!
It produced a 1 GB TIFF output file—with the wrong dimensions! All that work for nothing.
Decided to put off the repeat attempt until this evening, when I could leave the computer to do its thing, and attended to another panorama: in the meantime I had decided that yesterday's “garden centre” panorama wasn't worth keeping except as a bad example, and had taken another one. The weather today was similar, but this time I tried real HDR techniques and also included both automatically and manually exposed images (not to mention 6 with my hand in the way Yet Again), for a total of 31 images. Once again it wasn't easy. The control point detector couldn't find any similarities in some of the views into the sky, and of course I had a lot of masking to do. But finally I was able to start stitching. And then I ran into this horrible X bug where the mouse pointer oscillates between two screens, X loops, and I have to shoot it down! And I had no backup of the project file, so all that work was lost too. Started again, but soon lost heart, and just started the verandah panorama again and left it to do its thing. But from now on I'll make frequent backups of the project files.
Tidying up the place
|
Topic: general, gardening | Link here |
It's been over 9 months since I started putting up shade cloth as a wind break at the west end of the north verandah. Almost as soon as I put it up with these funny nail plates, some wind came up and tore them out again. So Yvonne got some wooden strips to nail over the cloth, and I have so far spent 8 months trying to drum up the energy to put them on. It has also been over 4 months since we picked up a new fridge in Ballarat. It has spent that time on the north verandah.
Neither of these improves the view. Today, in a rare case of motivation, I finally did something about it. Cleaned out the contents of the old fridge, took it to the garage, put the new one in, and finally nailed the cloth into place—most of it, anyway: there's still the bottom to do.
|
Still, things are gradually looking better:
|
Dinner with the Yeardleys
|
Topic: general | Link here |
David, Tuyết and Minh Chau are all back in Dereel now, and came for dinner. Minh Chau has been looking forward to seeing the animals again. Took a number of photos:
|
|
|
Sunday, 3 June 2012 | Dereel | Images for 3 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Still more panorama processing
|
Topic: photography, technology | Link here |
Into the office this morning, and my big panorama had been stitched, all 1 GB of it:
Only later did I discover the errors:
|
|
Where did those stripes come from? They roughly coincide with the layers I took, but I haven't had problems like that before. But I didn't have time to look at it now; I'll revisit it later when the rest is done.
Two months later I reprocessed this image with a 64 bit version of enblend. Not only did it run about 5 times as fast, there were also no stripes. It's still not clear what caused them.
The next step was to run SaladoConverter. It started, flashed an error message and then closed the window. Repeatedly. What's the issue there? It took me a while to realize that the window isn't really intended to be looked at. To see what happens, you have to click on the File button and then select Show Log. And there was plenty to see, conveniently hidden by a tiny, not wide enough and certainly not high enough, and of course not resizeable window:
|
Fortunately you can cut and paste it (it wouldn't do to tell you the location of the log file, would it?), and there are several instances of this mess:
What a mess! And what's a factory? Anyway, these 76 lines of internals (stack trace?) are SaladoConverter's (or maybe Java's) way of saying “Not enough memory”. Did a bit of experimentation and discovered that the settings specified a limit of 1 GB of memory. Tried again with 2 GB, still with no success. I was doing this on braindeath, a Microsoft XP machine, which only has 2 GB of memory, and that was because SaladoConverter causes Java to crash on dereel, my main machine. But defake has newer software, so tried it there, and it worked! Well, it crashed in the same way it did on braindeath, but that was a separate issue.
Tried increasing memory further—defake has 3 GB of memory—and then it occurred to me that what I'm using here is virtual memory, not real. On dereel, a 32 bit machine, the address space is limited to 3 GB, so increasing virtual memory beyond that just doesn't work, but defake is 64 bits, so I set the limit to 8 GB, and it ran. Here are the panoramas. And looking down from the dam panorama is surprisingly realistic:
|
Next came the second conversion of the verandah panorama. The first one had run for nearly 7 hours, and just by chance I saw a discussion on the Hugin mailing list about the topic, in which Cartola suggested using multiblend, something I hadn't heard of, and which is supposed to be much faster. So I went looking for it, and surprise! It was relatively easy to build (once I added a Makefile, something the author hadn't thought necessary). Tried running it:
And yes, the spelling is original. This was after less than 2 minutes. enblend would have required a couple of hours to get to the same point, but it didn't run into memory problems. It looks as if multiblend gets some of its speed from using much more memory. Still, now I have more “memory” on defake, so I tried it there. It reached 8 GB virtual memory size before I stopped looking, but it was finished in 27 minutes. Unfortunately, the results weren't as good. Ran enblend on defake, which also grew surprisingly big, but finished in 5.8 hours. The results were worth it, though. Here first from multiblend and then from enblend, with mouseover alternation. The results are more obvious when enlarged:
|
|
|
|
These two images were really stitched from exactly the same components. The blending at bottom right is very poor with multiblend, and interestingly some of the leaves appear to have moved left of centre. Clearly they have been chosen from other component images.
So: three days messing with this stuff, and I'm still not finished. I'll tidy up tomorrow, hopefully.
Monday, 4 June 2012 | Dereel | |
Top of page | ||
previous day | ||
next day | ||
last day |
Panoramas: done!
|
Topic: photography, technology, opinion | Link here |
I had more or less tidied up my panorama stuff yesterday, so there wasn't really much left to do today, and I finally got it completed. It only took most of the day.
The real issue is the sheer time it takes to process images of this size. My verandah centre panorama is normally about 9000×6000 pixels (54 MP), and this seems to be about the largest that current web-based tools can easily handle. The full-sized images were 26046×16811, or 438 MP, and I wasn't able to display even one of them on a web browser. firefox blew up to 1.8 GB of memory, with X increasing by another 2 GB of virtual memory, and the system ground to a halt until firefox finally crashed. So I scaled the images down to the normal size, and left the big versions here and here. I wonder if it would work better (or at all) on a 64 bit machine with 16 GB or so of memory.
The conversion itself, using ImageMagick's convert, took something like 10 minutes per image. And when I was done, I discovered I had blown away the versions for SaladoPlayer, which took another half hour to fix. But finally I got things fixed (including my Makefile target to spare the SaladoPlayer versions), and I was done.
Well, almost. There are still these stripes in the one animated panorama. I suppose I should have another go at them, but I've spent enough time on this for the moment, so I'll revisit that issue later. But it's clear that I've got to a point where I should probably stop. This whole house photo thing started out as a pretty innocent documentation exercise back in September 2007, so innocent that I didn't even mention it in my diary. And yes, it's fun to have panoramas, but I think my efforts of the past weekend have reached the limits of what is feasible, from both technical and effort points of view.
Rain, all at once
|
Topic: general, gardening | Link here |
Amazing amount of rain today, 68.4 mm of it by midnight. That's about 11% of our annual rainfall, but not quite as much as 5 years ago. Still, it was enough to keep us indoors all day long.
Tuesday, 5 June 2012 | Dereel | |
Top of page | ||
previous day | ||
next day | ||
last day |
More Friends computer stuff
|
Topic: gardening, technology | Link here |
Into town today to visit the Friends of the Ballarat Botanical Gardens. Chris Yeardley has done a design experiment for a plant database, and we wanted to show it to Yvonne Curbach, the new leader of the Growing Friends. She was interested, but more so in our examples than in the layout of the pages: the Buddleja globosa photos, she said, weren't Buddleja globosa at all, but Buddleja × weyeriana, possibly ‘Sungold’—and she dragged out a book to prove it. And yes, it's clear. Here a Buddleja globosa, a Buddleja × weyeriana and my Buddleja:
|
Looking at the photos, it's more likely to be Honeycomb (middle photo) than Sungold:
That's particularly frustrating, because my photos are all over the web with the incorrect naming, particularly in the large Google Images. Now I have to rename everything.
The other plant that interested her was the Pieris formosa “Forrestii”, which, she says, doesn't grow well here. All well and good, but she has it on sale, so it should be described. As Mike Sorrell said, describe it as a “challenge”, and people will buy it and not be disappointed if they fail.
In any case, the general consensus is that the idea is good, and I spoke to Daniel, who does the labels. He has promised to send me a list of the plants on sale, and we'll see what we can do. I suppose we'll put up Chris' pages, though they're done with some package that I fear will be difficult for me to maintain. Still, maybe Chris will do it.
Also a bit of discussion of the new private pages. Hopefully people will be happy with the changes.
Viewing large images: an alternative
|
Topic: photography, technology | Link here |
Callum Gibson was interested by the problems viewing my 440 MP JPEG images. They crashed web browsers, and even the old xv program had memory pressure with them. Callum discovered nip2, part of VIPS, which does much better. The interface appears strange, but I haven't explored it much yet. It certainly handles the big images well. Here's a comparison of memory usage for the three programs I've tried on the 56 MB image:
Program | Memory | CPU time to display | ||
firefox | 1800 + 2000 MB (latter for X) | failed after minutes | ||
xv | 1275 MB | 37 s | ||
nip2 | 85 MB | 38 s | ||
I haven't really looked at what nip2 can do, but it does offer editing facilities, and in contrast to xv it allows displaying images larger than the screen, which makes it infinitely more useful for this kind of usage. I'll do some more investigation.
Wednesday, 6 June 2012 | Dereel | Images for 6 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Freeing the power lines
|
Topic: general, gardening, opinion | Link here |
CJ along this morning to tend to the power feed to the house. It's an overhead line, and a number of trees have grown closer than the regulation 600 mm (that's metric; used to be 2 feet or 609.6 mm) to the cable. Indeed, a number were touching it. Cut a number of branches off the Acacia pycnantha closest to it, in the process fouling the line, which fortunately held out. But the results were not good for the acacia:
|
|
I suppose it's time for that to go, which will give us more light and the opportunity to put some more flower beds on that side of the house.
Android tablet: first impressions
|
Topic: technology, opinion | Link here |
Yvonne went shopping today and brought back an Android tablet which was on special at ALDI this week. It had only been on sale for a couple of hours, but she had to try all 3 shops to find the very last one available.
Why do I want an Android tablet? Why, do I want an Android tablet? I don't know, but ALDI will give me two months to find out. The price is less than that of any laptop, and it might be just what we need in the kitchen to look up the contents of the deep freeze or display a recipe, and it has a 1024×768 display that would potentially be more suited to reading e-books than the dedicated E-book readers.
But it's not as versatile as a laptop. The most obvious thing missing on a tablet is the thing that I find most important: a fast, versatile way to communicate with it—in other words, a keyboard. How do you communicate effectively with a computer without one? Yes, it has a touch screen with a simulated keyboard, like my GPS navigator does, but apart from my aversion to making smears on any shiny surface, the lack of tactile feedback means that you have to look at the thing, and it slows me down to about a tenth of the normal typing speed. Clearly a poor substitute, and on the GPS I have taken to putting in jottings with the toy keyboard and fixing them online with a real keyboard later.
But how do these things work? The instruction manual was typical ALDI: 44 pages, the first 7 generic safety and warranty information, and little to tell me about the tablet paradigm. The accuracy left something to be desired, too. In the section System Updating, apparently firmware update, I read:
Decompress the lasted firmware into any folder, they should include a updating manual, uImageuImage_recovery,update,zip,AML_logo,logo,u-boot-512M-UartB.bin and so on.
But with a bit of playing around I managed to get it to do some things. If I keep it, I can see a steep learning curve ahead. Still, setting the thing up was relatively straightforward, once I discovered that I had powered down the wireless AP and not run dhcpd for some years now. But I suppose it's typical of this kind of appliance that after establishing an 802.11 connection, the Settings page told me my IP address was 192.168.1.100, when in fact it was something completely different in my class C address space. And it tells me that it is running “Ice Cream Sandwish [sic] Tablet - 20120517”.
A lot of things worked out of the box. I had originally hoped to have some kind of shell access, but looking at the thing now, I can understand why nobody wants it: as a computer, it's castrated. At any rate, most web browser functions work, and it has Adobe flash, though the SaladoPlayer panoramas, such as these ones, confuse the hell out of it. But clearly it's not intended for Android: how can you zoom out with the Ctrl key and zoom in with the Shift key if you don't have a keyboard?
Connected it to my computer by USB. Bad idea. There was clearly a misunderstanding somewhere:
And the only device I got was /dev/da2. Tried a camcontrol rescan, another bad idea: it hung up the entire disk subsystem, and I had to reboot. I should try on some commercial operating system and see if it works any better there.
Kitchen appliances: the clutter
|
Topic: food and drink, opinion | Link here |
While in town, Yvonne also bought a couple of ALDI kitchen machines: a small one and a big one. We weren't sure whether we needed them, but they were worth looking at. First, though, we brought out all our existing kitchen machines—quite a few:
|
There were a number of things there that we couldn't identify, in particular this device:
|
It has a plunger and a mesh filter inside, and there's a screw thread at the base that doesn't match anything else we have. Coffee maker? Then there's this citrus juicer:
|
It has a German plug on it, and Yvonne says it doesn't work. She's right: there's obviously a part missing. It seems we haven't used it in decades. This one, on the other hand, is quite new:
|
It's from ALDI, and it doesn't work well. So we'll give it away. The other two are of no use to anybody, I suppose. We'll throw them away. And at the end of the day, we decided not even to unpack the bigger new mixer, but the smaller one might be useful. Just not today.
Photographing the Venus transit
|
Topic: photography, opinion | Link here |
Today was the last Transit of Venus for the next 105 years, and many people watched it. I didn't find it particularly interesting, but it seemed that it might be interesting to see how good a photo I could take of it. But what exposure? The leads I found on the web were incredibly vague. This one suggests welder's masks and bracketed exposures (no ball park indication) and focal lengths of 500 to 1000 mm, without specifying the kind of camera. Most of the others were even more vague. So I went looking for more general instructions about sun photography, and finally ended up with this page about solar eclipses. It includes a link to a solar eclipse exposure guide that almost does it. In particular, it has the formula t = f2 ÷ (I × 2Q), where t is the exposure time, f is the aperture (f stop), I is the ISO film speed (clearly the arithmetic scale), and Q is the “brightness exponent”, which isn't described, but which appears in a column of the exposure guide.
And of course the table specifies filters, but what kind? It talks of 4.0 ND and 5.0 ND. From my experience they should eliminate 75% and 87.5% of the light respectively, which isn't much. The Wikipedia page lists filter densities up to ND8192, which clearly eliminates 99.988% of the light. But it seems that there are two conflicting methods of specifying the density, a linear one (ND8192, for example) and a (base 10) logarithmic one, and the difference appears to be the presence of a decimal point, as the same page implies earlier on. In this case, the number is the negative exponent of the decimal logarithm of the density, so 4.0 ND means that only one part in 104 (0.01%) gets through. Looking at the formula, it's clear that Q is in EV units, and that for the full frontal sun (effectively what we had with the transit today) it's 24 - filter transmittance, also in EV. So without a filter it's 24.
My intention had been to take the photos at up to 1/8000s using the 300 mm Hanimex lens at f/32 and with 2× and 3× teleconverters, giving me a focal length of 1800 mm and an aperture of f/192 (about EV 28). Putting that back into the formula, I get t = 1922 / (100 × 224), or about 22 µs. My fastest exposure time, 1/8000 s, is 125 µs. So it could almost be done, but not quite. But wouldn't it be easier to calculate with appropriate formulæ?
Thursday, 7 June 2012 | Dereel | Images for 7 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Another ALDI mattress
|
Topic: general | Link here |
Yvonne liked the new ALDI mattress that I bought last week enough that she bought one for herself. So this time we went to the trouble of recording the amazing expansion that happens when unpacking. Here the mattress still rolled up, a video of us unpacking it, and the result:
|
|
Android tablet: more experience
|
Topic: technology, opinion | Link here |
Spent a fair amount of time playing with the Android tablet today. I'm no closer to making friends with it. The small size is about the only good thing about it, and without a keyboard I find it extremely frustrating to use. It's certainly not helped by the fact that I can only get the touch screen to respond when I touch it with my finger. A stylus has no effect. It seems that the screen is capacitative and requires a larger object. I had thought that I was selecting by touching (only) with my fingernail, but it seems it was sensing my finger and giving unexpected results. Even then, it seems that the touch area is about 6 mm in diameter, rather too large for many selections.
This particular tablet also appears to have issues with 802.11 connectivity. I had the AP in a cupboard in Yvonne's office, and I couldn't get further away than about 10 metres before I lost connectivity. So I moved the AP to the lounge room, in the middle of the house. In the same room the device shows “excellent” connectivity, but even in the next room it drops to “fair”, and back in my office (15 metres away) I'm lucky if I get any connectivity at all. OK, this AP is an ancient 802.11g device, but I don't think there's anything wrong with the signal strength, so it must be the tablet.
OK, it's a tablet, not a computer. I can play music on it, right? But first I have to load it, because, although it's based on Linux, it can't do NFS. So I went looking for music online and selected Bayern 4 Klassik. “Sorry, the player does not support this format” (MP3 stream), or “Webpage [sic] not available” for Microsoft Media Player formats. That's clearly a limit of the player, not the format, but why can't it even do MP3?
Pizza: more refinement
|
Topic: food and drink, opinion | Link here |
Last time we ate pizza, we made some progress on the dough, and this time I used only 100 g wheat and 4 g yeast per pizza. Yvonne didn't think the dough was enough, and rolled out over less of the surface. But it rose a lot, and I think thinner rolling out is appropriate. But next time I think I'll pre-bake the bases 4 minutes before putting on the topping.
Friday, 8 June 2012 | Dereel | |
Top of page | ||
previous day | ||
next day | ||
last day |
More Android “experience”
|
Topic: technology, opinion | Link here |
The more I look at this Android tablet, the more I realize it's not for me. There are two separate aspects: most importantly, the whole idea of interacting with a device by rubbing my fingers over its surface disagrees with me for a number of reasons. In addition, this particular tablet seems to be a poor representative of its kind.
The real issue remains the manner of interfacing with it. The most obvious problem is the lack of keyboard, though it goes beyond that. A couple of days ago I wrote that using a touch screen keyboard is 10 times slower than a real keyboard. That's a number I plucked out of the air, of course, so today I asked Yvonne to write 4 full lines of text with a keyboard, on paper with a pen, and with the tablet “keyboard”. With the real keyboard it took 36 seconds. On paper it took her 80 seconds, and with the Android toy keyboard it took her 237 seconds. Reading back from paper took 16 seconds.
This is roughly what I expected. OK, the Android is only about 6 times slower than a real keyboard, and I suspect that with a bit of practice she would get it down to about 4 times slower. But I don't see Yvonne gaining much experience with that keyboard; it was all I could do to get her to complete the experiment. Clearly, the fact that we both type fast makes a difference to our attitudes. It's also interesting that a real keyboard is significantly faster than handwriting, too.
Asked for advice on IRC. “Don't think of it as a computer”. And yes, there are other devices with embedded processors, like cameras and telephones. It has not one, but two cameras in it: a very low resolution 2 MP one at the rear and an even much lower resolution 300 kP one in the front. Clearly I can't think of it as a camera. And it's not a telephone either (though I don't know why not). So what good is it? Web browsing (assuming you can enter the URL), reading books, watching streaming TV, listening to music...
I had already discovered yesterday that I couldn't play Bayern 4 Klassik. Investigating that, it proved it was offering a stream of MIME type audio/x-mpegurl. The player didn't understand that, and of course it was far too leet to give any details. So I tried ABC News 24 streaming TV and ABC Classic FM. Both worked. The TV image was upside-down; I had to turn the tablet around, which rotated the web page but not the image. And the sound quality from the internal speakers was pretty rough. OK, there are headphones that come with the tablet, but they're being delivered later. So I suppose there is some value in it as a multimedia player.
What about e-books? I still had the ones I used on the ALDI e-book reader a couple of months ago, and clearly it made sense to compare them. But how could I get it into the machine? It doesn't do NFS, and I've had difficulties accessing it by USB (something that Callum Gibson suggests could be related to a missing MicroSD card). So in the end I put in a link to the directories inside the document root of my web server, a kind of poor man's NFS. Accessed the manual for my camera there and got a query popup asking me whether I wanted to open it with the browser or “Kingsoft Office”, whatever that might be.
Tried the browser first; a bit of a delay, and I was returned to the main menu page. Nothing seemed to have happened. Tried with Kingsoft Office and got a message saying that the file couldn't be opened. Then I discovered the download page, which claimed that the download had failed. How? Why should it tell me that?
Back to my real computer (I couldn't use the tablet there, because it was 15 metres from the access point), and of course I could access the document there with a web browser. Discovered that for some reason my web server had stopped logging yesterday at 17:00 after the log file rolled over. No obvious reason why, and an apachectl graceful didn't get it to start again. I had to completely stop and restart the process for that. What went wrong there?
Tried then from defake, which has the latest version of firefox. It had no difficulty loading the file and started displaying it natively. But then:
This appears to be a firefox bug. Everything's happening today.
Back to the tablet in the lounge room, tried again. Back to the office, and found this message in the log file:
Huh? Yes, this directory had password protection, but I had already logged in. It seems that a different process tried to access the document, and it didn't supply the authentication information that the browser had provided here:
So I linked the documentation directory to another directory in the web site tree, one that wasn't protected, and finally I was able to display the manual. And yes, it looks much better than with the e-Book reader. Here the same page rendered on the e-Book and on the tablet:
|
|
Clearly the rendering of the tablet is far superior. But somehow it still doesn't work correctly. There seems to be no real concept of pages (this image is what I got when I selected “Fit to page”, and the bottom is missing), and I can't find any way to navigate except by scraping my fingers over the surface. On a 150 page book, that can quickly get boring. Somehow both devices fail requirements in different ways: the e-Book reader has too low resolution, and the tablet is too difficult to operate.
OK, that's the web browser. There must be some software out there designed specially to display PDFs. Maybe Kingsoft Office does it, but otherwise there's bound to be something from Adobe. More investigation required. Why do I bother?
Saturday, 9 June 2012 | Dereel | Images for 9 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
House photos: rethinking needed
|
Topic: photography, opinion | Link here |
House photos again today, and again I tried a 360×180° panorama of the centre of the garden, with less than stellar success. The first time round I forgot an image, and the second attempt had serious exposure problems despite the overcast weather, here in the bushes on the right:
|
It looks as if I'm going to have to consider the exposure of each image separately.
Keyboard navigation through the years
|
Topic: technology, history, opinion | Link here |
My experiments with the Android tablet got me thinking. When I first came into contact with computers, a keyboard was effectively a (tele)typewriter keyboard. In the 1970s CRT monitors came into use, and keyboards gradually acquired keys to navigate the screen. In 1981, the IBM 5150 had the keys we still see on modern keyboards: 4 arrow keys, PageUp, PageDown, Home and End. The cursor keys still work. PageUp and PageDown do sometimes too, though programs like firefox don't always do what I would expect. And it seems that people have forgotten about Home and End altogether. Look at all those web pages with a link “top of page”. Why doesn't Home perform that function?
So I suppose it should come as no surprise that my Android tablet doesn't appear to have anything relating to PageUp and PageDown either, just a way to emulate the cursor keys. I still don't understand why.
Getting apps for Android
|
Topic: technology, opinion | Link here |
After establishing that the built-in PDF reader on the Android tablet was sub-optimal, went looking for something else on the web. The first attempt brought me to this viewer, which, as they say, is in beta status and very slow. I can confirm that. Not what I'm looking for. Where's the Adobe offering?
Another search then pointed me at Google Play. If I needed any confirmation that this tablet is a toy, this seems to supply some of it. So I tried that. First, I had to log in with my Google account. Since this tablet is going to be returned, I chose to add a new account. That required painful typing, as did the password entry. It confirmed that my password was strong, and after only about 5 minutes of bouncing keys (hint: keep the balls of your hands at an unnaturally high angle), I had entered the same password twice. But I couldn't continue. After much searching, discovered that the little red symbol at the end of the first password meant “Invalid character in password”. So I couldn't use “My Toyz!”, but it accepted “idiots123”.
Loading the reader was another problem. The first time I tried, from the web browser, I got a message saying “You don't have any devices”. Google tells me that this means either I didn't allow Google Play to update my information correctly, or I accessed it incorrectly, or something else. How to fix? How should it know? But I certainly didn't. And judging by the 2,540,000 results for a search on Google alone, none of which appear to have supplied a solution, many people don't.
So I tried to go via Google Play, which was really not interested in helping me find the application. Normally you'd expect a search function where you can type in what you're looking for, but in this postliterate age that's no longer desirable. So I had to wander through all sorts of junk, most of it wanting money, and somehow (probably by coincidence) found it. Selected Install:
Well, I suppose after just “Due to an error”, the “(-101)” is a step in the right direction. It reminds me of the numeric error messages we got with our Tandem machines decades ago. I didn't like them then, and I don't like them now. Still, this is a well-hidden Linux box, and Linux returns negative errnos, so maybe it was that. Quick diversion to my Linux box:
=== grog@cvr2 (/dev/pts/6) /recordings 25 -> grep 101 /usr/include/sys/errno.h
=== grog@cvr2 (/dev/pts/6) /recordings 26 -> less /usr/include/sys/errno.h
=== grog@cvr2 (/dev/pts/6) /recordings 27 -> less /usr/include/errno.h
=== grog@cvr2 (/dev/pts/6) /recordings 28 -> less /usr/include/bits/errno.h
=== grog@cvr2 (/dev/pts/6) /recordings 29 -> find /usr/include/ -name errno.h
=== grog@cvr2 (/dev/pts/6) /recordings 30 -> find /usr/include/ -name errno.h | xargs grep 101
Why does Linux have so many convoluted header files? Anyway, the message appears plausible, but tcpdump showed that connectivity was normal, and there was no ICMP traffic. Where do you go from here? Googled for the message and got lots of vague “why not try this?”. About the only thing I got of interest was that at the time of one of the discussions (about 2 months ago), the current version of Google Play was 3.5.16, and my tablet (3 weeks old) has 3.4.7. Does that make a difference? If so, how are you supposed to update? No idea, but it probably wouldn't work.
All of this appears to have less to do with the tablet than it does with Google Toys. But why are they making it so difficult?
Dinner and furniture maintenance
|
Topic: general, opinion | Link here |
To the Yeardleys for dinner in the evening, after which to the lounge area. It's been nearly 5 years since we installed the lounge room suite, but there was still protective plastic foil over the cushions of the recliners. Finally Chris got fed up and removed it:
|
|
|
Sunday, 10 June 2012 | Dereel | |
Top of page | ||
previous day | ||
next day | ||
last day |
Inside weather
|
Topic: general | Link here |
Winter is here. Today the temperatures barely rose above 10°, and it was moist and windy, so I spent most of the day inside.
More Android fun
|
Topic: technology | Link here |
Tried a little bit more with the Android tablet. When I came into the office, I had a tcpdump running which showed me continual:
flachmann is the tablet, and cojones the Internet gateway. This was while it was suspended. What's it doing trying to talk to an unknown RFC 1918 address, especially while it's supposed to be sleeping? /etc/services tells me that the port is for the Directory Location Service Monitor, whatever that is. I was not able to find any further information on the web.
Despite all further attempts, I was still not able to download Acrobat Reader. The Adobe site pointed me back to Google Play, and I couldn't convince it to download any “app”. Books worked fine, and I suppose Movies would have done so too had I been interested enough to pay money.
Checking facts
|
Topic: technology, opinion | Link here |
Talking to Yvonne about the orphaned Home and End keys this afternoon, and demonstrated my claim that firefox doesn't Do The Right Thing with those keys. I failed: it now does! Home takes you to the top of the page, and End to the bottom, just as I would expect. Further experimentation showed that it works on all browsers that I tried, with the exception of course of the Android. I wonder how long that has been going on, or whether it had something to do with the Northgate keyboards I used to use. Just another indication that you should check facts before shooting off your mouth in public.
Monday, 11 June 2012 | Dereel → Snake Valley → Dereel | Images for 11 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Android tablet: some insights
|
Topic: technology, opinion | Link here |
I've more or less given up on this Android tablet, but I did some final checking and found this thread about it on Whirlpool. It's surprising how many people really dislike it for reasons that didn't worry me, but they did confirm that these “Error -101” messages were due to Google Play and not to the tablet in itself. Maybe they'll fix it, but it seems that a large number of purchasers will have given the tablets back by then. I'm in no hurry, so I'll contact ALDI when I have time.
Autumn, winter and spring
|
Topic: gardening | Link here |
Even before the summer flowers finish flowering, a number of spring flowers are on their way. Here salvias and daffodils, and sweet peas and Hardenbergia violacea:
|
|
The Dahlia imperialis are also particularly showy this year:
|
|
|
The Kniphofia seeds I planted two months ago and subsequently moved to the greenhouse are now finally germinating. I had put some others in the fridge for a month, as somebody on the web had suggested, and today I planted several more:
|
I have a total of 3 egg cartons (nominally 36 plants). In one of the new ones (bottom in the photo) I planted the seeds close to the surface, in the other I put them a little further down. We'll see how that goes.
Off to Snake Valley
|
Topic: general | Link here |
Yvonne found a carpet on Freecycle today, and in the afternoon we received a call that we could pick it up, so off I set. It was in Snake Valley, nearly 40 km away over bad roads, much of it directly into the setting sun. Went past a surprising number of places I knew: CJ's house (which in the past I have had difficulty finding), nearly got into the Devil's kitchen, and drove past two houses that we had inspected 5 years ago south of Linton, in particular one we visited on 14 May 2007 with lots of trees on the property, which have now grown a lot.
I hope the carpet is worth the effort.
Tuesday, 12 June 2012 | Dereel → Melbourne → Dereel | Images for 12 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Frost locations
|
Topic: gardening | Link here |
The mildest of frosts this morning. No water in the garden frozen, just some frozen dew in the southern end of the far east bed, where I have the manual rain gauge. I've seen frost only there before; it's clearly the coldest part of the garden.
Fun in Melbourne
|
Topic: general | Link here |
Off to Melbourne with David Yeardley and family today. David had an appointment in William St, and we took the opportunity to use my GPS navigator to find the way, somewhat hampered by the fact that I was sitting in the back seat. David hadn't used one in a car before, and he was quite impressed.
In William St, of course, we couldn't find a parking space. Tried a parking house in Collins St (“The cheapest in town”) and found out why it's the cheapest: you have to wait for somebody to let you in. While we were waiting, we found the prices: $18 an hour! I don't think I've ever seen a parking house that expensive. So we left, stopped in a no-parking area, David and family got out, and I drove on to the Queen Victoria Market, and they planned to come up by tram.
I couldn't find a number of things I was looking for, notably veal and sardines. I wonder if both are out of season. Finished my shopping and the Yeardleys still weren't there, about an hour after I had expected them. Stupidly, I hadn't taken David's mobile phone number. Spent some time trying to contact Yvonne or Chris, without success, and finally bumped into them in the delicatessen section. It seems I had left out a digit when I wrote down my phone number, so they couldn't contact me either.
Trust your GPS navigator!
|
Topic: general, technology, opinion | Link here |
We had a number of other destinations in Melbourne, so I let the navigator work out the best route. It chose Carba-Tec in Springvale, and suggested a route. 28 km, 38 minutes, closely resembling this Google Map:
|
But David had been there before, and he had a different route:
|
Google calculates that one as 40 km and 50 minutes. My GPS navigator thinks we could make it in 44, but it's notoriously inaccurate with times. I got from home to Snake Valley and back yesterday in about 80 minutes, but the navigator claims it will take 95 minutes in each direction.
There are two problems with this: firstly, there are no good maps of Melbourne which show an overview, so you can end up with visibly suboptimal routes, and secondly it completely broke the sequence of the visits. We had already been past Casa Iberica, and were coming close to Fleischer's in Boronia, so that required resequencing. When I finally persuaded David that it was better to use the navigator than the Melway map, discovered that it had already changed the sequence.
Topic: general | Link here |
Our route took us almost directly past the first house I ever lived in, in Nunawading. Took quite some time at Fleischer's, and then on to Carba-Tec, then back into town to Casa Iberica, taking a route that I would never have thought of, taking us via Kew, within a few hundred metres of where I was born, then down Studley Park Road into Fitzroy. I haven't been down there for decades, and last time I was there, there was a park to go with the road's name. Now it's almost all residential.
At Casa Iberica, they were out of Minsa Masa harina and only had their house brand. Hopefully that will be acceptable, but if not, it'll be another trip into Melbourne.
Then on to Little Saigon Market in Footscray, where Tuyết bought an amazing number of things, and back home. 10 hours on the road!
Sourdough starter durability
|
Topic: food and drink, opinion | Link here |
When I started baking bread with sourdough, I was confronted with a number of claims that I considered more than dubious, in particular the “double or nothing” approach to starter maintenance. People also kept telling me that starters will die within days, if not hours, if not fed. I didn't believe a word of it, and my current schedule sees me keep starters, unfed, for about 5 weeks before use.
But today, while baking my rye mix bread, I came across a forgotten starter for white bread (something I don't currently bake) dated 17 November 2010. For the fun of it, I mixed in some flour and water and left it. It came up just as fast as the rye starter—after over 18 months! So much for claims of people who probably have never tried it.
Wednesday, 13 June 2012 | Dereel | Images for 13 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
New masa
|
Topic: food and drink, opinion | Link here |
Huevos rancheros for breakfast today, the first time with the masa harina I bought yesterday. How much water to add? I had noted a ratio of 1.45:1 for Maseca and 1:1.65 for Minsa. To be cautious, I started with the lower ratio and added more water until it seemed right, about 1:1.55. The results were not too bad, but some corners tore, possibly because of uneven mixing. Apart from that, they didn't seem to have as pronounced a maize flavour as the Minsa, which I still prefer. But it's perfectly usable, and since I have 2 kg of the stuff, I suppose it'll be a while before I buy new Minsa masa.
SD card problems
|
Topic: photography, technology | Link here |
While in Melbourne yesterday I took a photo of the new façade of Fleischer's with my old Nikon “Coolpix” L1. Reading it in today with my Apple, I got a message I hadn't expected:
=== grog@boskoop (/dev/ttyp9) ~ 3 -> mkdir Photos/20120612
=== grog@boskoop (/dev/ttyp9) ~ 4 -> cp -p NIKON/DSCN0427.JPG Photos/20120612
NIKON is a symlink to /Volumes/128MB/DCIM/100NIKON, the directory on the SD card where the images are stored. Further investigation showed that I could copy all the other images in the directory, just not that one. So I tried to look at the image in the camera:
WARNING!!THIS CARD
CANNOT BE READ
That sounds like an error to me. Tried it on lagoon, Yvonne's FreeBSD machine with mcopy:
=== grog@lagoon (/dev/pts/2) /dereel/home/grog 6 -> mcopy a:DSCN0427.JPG .
On Jürgen Lock's suggestion, then tried fsck_msdosfs, which I didn't know existed:
Clearly there were serious issues with the SD card, and I gave up the image as lost. But what a difference in the amount and reliability of information! Apple gives a completely incorrect and unrelated error message, mtools gives a relatively incomprehensible message which doesn't even identify the file, and fsck_msdosfs gives exact information about the nature of the problem. Isn't that the way it should be? Maybe the end user won't understand the message, but he could at least find somebody to interpret it for him.
And what was the problem? Dead card? I copied the entire contents to /dev/null with dd, and there were no errors. Rebuilt the file system, and I was able to use it again. But at one point, the camera froze up with symptoms of low battery. Replaced the batteries, and all was well. So why didn't it report “low battery” in time? I was using Nickel-Zinc batteries, and their voltage when removed was 1.577 and 1.598 V. That's ”discharged“ for NiZn, but it's understandable that the camera would not consider them discharged. This appears to be the first problem I've had with these batteries.
Google Maps: the pain
|
Topic: technology, opinion | Link here |
Yesterday's diary included a number of Google Maps to illustrate my point. Getting them in there wasn't easy. Yes, you can click on the and get HTML to embed, but it doesn't work. There are instructions online that tell you exactly the same thing. But what you get isn't quite what you expect: the origin appears to have moved, so that the route I wanted to emphasize is partially outside the bounds of the map, and there is additional space that I didn't want in there. Moving the origin or resizing the original map and then re-linking made no difference. Here the screenshot that, in desperation, I finally used, and then the generated HTML:
|
Following the View Larger Map link gives a map that does include the entire route. Clearly there's some bug in the code generation.
But it's just a URL with GET data (lots of it), and clearly some of the parameters are clearly geographical coordinates, like &ll=-37.988046,145.128708. Spent some time playing around with all likely looking parameters, without success (though I was able to reduce the size of the map to what I wanted, something not done in the map above). More detailed instructions? The instructions page links to http://maps.google.com/help/maps/getmaps “For more detailed information on how to add a Google Map to your site”. But it appears to be just a list of case studies. You need to click on “Get Maps” to get more information, none of which seems to explain the parameters. Wouldn't it be nice to find that?
Day in catchup mode
|
Topic: general | Link here |
Being in Melbourne all day yesterday had two effects: firstly it meant I couldn't do my normal activities yesterday, and secondly it meant we spent a lot of time categorizing the purchases and finding space in the freezer for them. Somehow I didn't get much else done.
More rodent attacks
|
Topic: general, animals | Link here |
Somehow none of our rodent traps have caught any rodents. Not for lack of them. Today we found the second of two containers that mice had been trying to get into:
|
|
This is getting to be a real problem, and I'm losing confidence in being able to solve it. About the only hint we have is that they like flour and grain more than most other things.
Thursday, 14 June 2012 | Dereel | Images for 14 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Victoria Police: the next step
|
Topic: general, opinion | Link here |
We have until next week to put in another written objection to the nonsensical treatment we have received in the matter
of Yvonne's speeding fine. The fine was $244, bad enough in
itself, but due to the police's incompetent handling of the matter, they are now asking
for demanding $339.40. Clearly we won't get away from paying the $244, but the other
$99.40 are completely unwarranted. I would be inclined to pay what we can't get out of, but
I had been told that we should not make a partial payment. Called up Civic Compliance Victoria on (03)
9200 8111 and spoke to Mohammed, who had difficulty understanding the issue, but who also
told me that I should not make a partial payment, because there would be a sum left over.
That was so obvious that I couldn't make sense of his statement. Asked to speak to his
supervisor, who was not available, but who would call back. He didn't.
What a pain these people are!
Plants out of season
|
Topic: gardening | Link here |
Looking round the garden today, discovered that our Lilly pilly is bearing fruit:
|
|
Judging by the colour, this must be a Syzygium paniculatum. Is this the correct time of year for it to bear fruit? I can't find any details for this species, but others, such as the riberry, appear to bear fruit in the middle of summer.
Also took another look at the Passiflora that I planted three months ago. It's not looking happy:
|
All that can be seen are the brown leaves underneath the Tropaeolum. Hopefully it'll survive.
FreeBSD web browser pain
|
Topic: technology | Link here |
FreeBSD doesn't have it easy with web browsers. Yes, there are versions of all major free browsers for FreeBSD, but plugins are a completely different matter. Things tend to go something like this: “To display the content, a plugin is needed. Shall I download it for you?”. “Yes”. (Time passes) “Sorry, I could not find a plugin for you”.
Most plugins can be installed with some effort: they're all individual ports, usually of the Linux plugins, in the Ports Collection, but the annoying thing is that this kind of interaction frequently doesn't tell you which plugin you need. In this case, though, it did: I didn't have Adobe flash support on teevee, my TV computer. But I've been there before. Today I got round to doing something about it. To my surprise, I discovered that the reference was to installing flash on teevee, and further investigation showed that I had no less than 3 versions of the flash plugin on the system. So I removed all of them and installed the most recent. While investigating, discovered that I didn't need to specify the name of the plugin when installing. It's sufficient to do this:
=== root@teevee (/dev/pts/4) /home/grog 6 -> nspluginwrapper -v -a -i
But after restarting, firefox still didn't want to know. Should this be done on a per-user basis? Tried that too:
=== grog@teevee (/dev/pts/5) ~ 2 -> nspluginwrapper -v -a -i
Finally removed the system-wide versions (nspluginwrapper -a -r) and tried again:
=== grog@teevee (/dev/pts/5) ~ 3 -> nspluginwrapper -v -a -i
After that, it worked. Why didn't it before? It looks as if it did last August, and then something changed. It wasn't firefox: that's still the version I installed then. But clearly it's a bug. Maybe it no longer looks in /usr/local/lib/browser_plugins.
Installation and reliability are two different things, of course. I was rather amused by this view of the Adobe web site:
|
|
Typically it requires stopping and restarting firefox to work around this bug.
Friday, 15 June 2012 | Dereel | Images for 15 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Photo comparisons revisited
|
Topic: photography, opinion | Link here |
Four years ago I did some comparison of the image quality that the tools I had at the time generated, notably with under and overexposed images, and wrote a page on the subject. This page subsequently moved, and today I received a message from the web server reporting a broken link. Fixed that, and in the process updated the page to add the results of processing with DxO Optics "Pro". No question that it does better than the others, but this time not so obviously as on other occasions.
Victoria Police: The penny drops
|
Topic: general, opinion | Link here |
I was still puzzling about the question of partial payment of the speeding fine when Yvonne made it clear: yes, we can object to the decision. No, that doesn't mean that we can wait until a court case before paying. We must pay the $100 excess charges, based on a legal decision kept secret from us and almost certainly due to sloppy examination of the evidence. Are we in a civilized Western society or a totalitarian state which doesn't have to justify itself? I almost get the impression that it's the latter. In any case, I am thoroughly disgusted with the treatment, and my opinion of the Victorian police and legal system has dropped even lower than it already was.
Took the letter of objection to Napoleons post office, where the woman behind the counter didn't know how to accept a registered letter. OK, they're new, and she's just helping out while the postmistress was away. They'll learn; in the meantime posted it at the Sebastopol post office.
City of Ballarat Rose
|
Topic: gardening, photography | Link here |
Treloar Roses have brought out a new cultivar, a mutation (“sport”) of the Charles Austin Rose, which they have called the City of Ballarat Rose. Today was the official launch, involving planting a specimen in the Botanical Gardens. According to Google, the City of Ballarat announced it on their web site, but it seems that they quickly removed it again. As a member of the Friends of the Ballarat Botanical Gardens I was invited to the launch. It wasn't well attended, possibly because of the lack of publicity. Here a couple of photos:
|
|
|
The men are Ron Inverarity, the breeder of the rose (left), and Mark Harris, the Mayor of Ballarat. I assume that the woman is Barbara, Ron's wife.
Saturday, 16 June 2012 | Dereel | Images for 16 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
More house photo experience
|
Topic: photography | Link here |
House photos again today. I'm still having fun with the two main panoramas, the verandah centre and the garden centre. The former worked out relatively well without flash, except that I managed to miss out a corner that left a triangular hole in the ceiling:
|
I should do more careful calculations of the elevation of the individual layers of the panorama.
The contrast in the garden centre is still a problem. It also affects the accuracy of the control point detectors, especially in images like these two, one above the other:
|
|
About the only sure place to put control points is on the trunk of the tree, but the 2.3 EV difference in exposure makes it difficult to recognize. In addition, it's really difficult to find any control points between images like these, which are located next to each other:
|
|
Maybe I should resort to taking the images in horizontal orientation, so that there is more of a chance to find control points. As a result, it took me over 2 hours to get a marginally acceptable panorama, and even then the shadow detail was a problem:
|
|
|
Roll on 20 bit deep sensors.
Garden flowers in early winter
|
Topic: gardening | Link here |
The middle of June is the time for the “early winter” garden flower photos. It should have been tomorrow, but the weather forecast wasn't good, so I did them today instead.
One of the more annoying discoveries were these plants, which we planted in Spring 2010 as part of a hedge:
|
|
|
They're a Grevillea hookeriana and an Acacia iteaphylla, and they've both clearly been blown over. The acacia might survive, but the grevillea was snapped off at ground level. That's not the first time I've seen them suffer from wind, but it's not a very good result for a tree sold as a hedge plant. We have a second of both plants in the hedge, so I suppose it's time to go out and reinforce with star droppers.
Despite that setback, it's clear that the hedge is developing well. Here when we planted them, on 11 October 2010, and now:
|
|
Dinner with the Yeardleys
|
Topic: general | Link here |
The Yeardleys over in force again this evening. Much fun was had with Nemo:
|
|
|
Finding food that Minh Chau likes is a non-trivial undertaking. It seems she likes baked beans, so next time it'll be cassoulet. I wonder what she'll think of that.
Sunday, 17 June 2012 | Dereel | Images for 17 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
A few lily seeds
|
Topic: gardening | Link here |
The Lilium formosanum that we bought last year flowered nicely this year:
|
|
I left the flowers on the stem until they tur-ned into seed pods. Now they're starting to open, so I cut them down to extract the seeds. And seeds there were:
|
|
|
I suspect there must be 1000 seeds in each pod, and there were 10 pods. They're not completely dry yet, but I think I'll have about 100 ml of seeds when I'm done.
Lost photo scare
|
Topic: photography, technology, opinion | Link here |
Watching TV in the evening, I wanted to check on a photo I took of the mosque in Herat 45 years ago. And there were no photos!
Further checks showed that they were there, but the list of directories had become corrupted. I keep the list with RCS, and a quick comparison showed me that the entries had got lost somewhere between revision 1.2800 and the current revision 1.2878. A binary search with diff finally found:
=== grog@dereel (/dev/pts/8) ~/public_html/photos 107 -> rcsdiff -wur1.2824 -r1.2825 dirlist | grep ^- > foo
=== grog@dereel (/dev/pts/8) ~/public_html/photos 108 -> wc -l foo
That tallied with the log, of course:
=== grog@dereel (/dev/pts/8) ~/public_html/photos 108 -> rlog dirlist | less
But how did I manage to remove 333 entries? They were scattered through the file, so it couldn't have been an accidental deletion of just some of the entries. I was doing some investigation of old images on that day, so it was presumably related, but I can't understand how a whole lot of entries disappeared.
Fortunately it was easy enough to fix. I wonder how you'd go about doing that kind of recovery with one of these “We know better, do it our way, don't look inside” kind of photo processing packages.
Swordfish portions
|
Topic: food and drink, opinion | Link here |
I bought nearly 2 kg of Swordfish at the Queen Victoria Market this week, 4 slices of about 450 g each. Today we ate some of it. How much? We decided that 450 g was too much for our meagre appetites, so we used half a slice. That was too little. I suppose next time we should aim for about 175 g per person, or in the case of these slices, have a second course.
Monday, 18 June 2012 | Dereel | |
Top of page | ||
previous day | ||
next day | ||
last day |
Slow day
|
Topic: general | Link here |
Sometimes I marvel at how much I have to write about every day. Today was not like that. Spent the entire day doing routine work, like making large quantities of kimchi, rearranging some old photos and updating the web pages for the Friends of the Ballarat Botanical Gardens. And somehow I didn't even have time to watch TV.
Tuesday, 19 June 2012 | Dereel → Ballarat → Dereel | Images for 19 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Car service again
|
Topic: general | Link here |
Into town today with my car to finally get it serviced. I probably wouldn't have bothered if it hadn't started misfiring: it's a 21-year-old Mitsubishi Magna with 264,000 km on the clock, and I don't think it'll last much longer. But I don't drive much—the last service, at 250,000 km, was on 3 September 2009, an average of only 5,000 km per year, so it could last a few years more.
More plants
|
Topic: gardening | Link here |
On the way home from town, dropped in at the roadside plant sales in Napoleons and found some interesting new plants. Despite all intentions, bought a plant which I can't identify, along with a pot of variegated bamboo:
|
|
They had some other things that I could resist:
|
|
|
No idea what the first two are, but the third had a sign saying that it was an ox-tongue lily. What's that? Did some research and came up with only slightly more information. The links I found pointed to a number of different flowers: Scadoxus puniceus magnificus or Haemanthus magnificus, but probably Haemanthus coccineus.
The only useful photos I found have license conditions which I think mean that I can't display them here: this one shows a bright orange-red flower, and this one that shows dark red petals.
In any case, looks like an interesting flower, and we'll pick one up tomorrow. I wonder why nearly all the hits on the web seem to come from Australia, considering that it's a South African plant.
More seed planting
|
Topic: gardening | Link here |
Despite my catastrophic lack of success with growing plants from seed last year, I've ordered more. Received some tomato seeds in the mail today: Moneymaker, Principe borghese, Australian red and Oxheart:
Still more link rot. The two middle images (Principe borghese, Australian red) are gone. These articles were written before I started the practice of saving copies, so they're gone. The images were on eBay, so there's not much hope of recovery.
Planted them along with some of the seeds of the Lilium formosanum that I extracted a couple of days ago and some seeds from the one Chile poblano that I have so far managed to harvest and dry. If that all works out, I'll have another 48 plants. Roll on reality.
More rodent issues
|
Topic: general, animals | Link here |
Despite all my traps, I have yet to catch a rat or mouse. It's particularly frustrating when you put a trap in the pantry and it goes and raids dried chilies instead, spreading them over the floor and even the trap:
|
|
In principle the cats should catch them, but normally we shut them into the laundry at night, because they tend to meow to be let in to the bedroom. But the night before last we left the cats in the house with the pantry door open. Lilac behaved as expected, and I had to shut her into the laundry shortly after midnight, but Piccola behaved herself until about 7:30 am.
We didn't think much more of it, but today I found Nemo sniffing round the computer in the lounge room. Discovered Lilac behind, chewing on something which appeared to be the remains of a big rodent:
|
What was it? Rat or mouse? I considered it a big mouse, since we didn't find the tail, the ears remind me of mouse ears, and it didn't stink. Yvonne thinks it was a rat. And the photos I've found haven't really helped me make up my mind. In any case, if Lilac had caught it, she wouldn't have left it there, so my best bet is that Piccola caught and killed it the night before last, and Lilac ate it today. Hopefully that's the only one.
Wednesday, 20 June 2012 | Dereel → Ballarat → Dereel | |
Top of page | ||
previous day | ||
next day | ||
last day |
Car repairs, partially
|
Topic: general, gardening | Link here |
Into town again to pick up my car after service. $234.10, nearly double what I paid last time, and a list as long as your arm of things that need to be done to it soon: brakes, brake fluid, coolant, engine mounts and more. Total cost will probably be round $1200. It's not going to happen, with the possible exception of the brakes. The car's not worth that much. The next thing that goes wrong with it will take it to the scrap yard.
Dropped in to the roadside plant sales at Napoleons on the way home and picked up one of the Haemanthus coccineus. Now to work out where to plant it.
More friends computer stuff
|
Topic: technology, opinion, gardening | Link here |
Mail from Raoul Dixon today with some surprising information. Over the past couple of weeks I have done a significant amount of work to put the Friends of the Ballarat Botanical Gardens membership database online (and password protected, of course) and create mailing lists for various categories of members. And now I discover that he had given Genevieve a memory stick with an “Excel” spreadsheet of the membership list on it so that she could extract the email addresses. Somehow old habits die hard.
He enclosed a copy of the spreadsheet in his message, which showed what could be expected: he had been maintaining his spreadsheet, but not the canonical database, and they were significantly out of sync. It took me several hours to get them back into sync again.
But why does he do this? Baby duck syndrome, I suppose. He knows how to use “Excel”, and he's comfortable with it. On the other hand, storing important data in a spreadsheet is a recipe for disaster. During my own investigation I managed to delete a couple of rows—how, I don't know. On the other hand, format conversion should be trivial.
I had looked at this before when I wanted to export in the other direction, but today I found a much better method that directly exports an “Excel” spreadsheet (MIME type application/vnd.ms-excel) or or a Microsoft “Word” document (MIME type application/msword). Some assembly required, of course, but in fact very little. The original contained code specific to the tables for which the author used it, and I spent some time making it conform with my coding conventions, but despite that I had it up and working within an hour. Here's a sanitized version. It's surprisingly simple. About the only thing I haven't worked out yet is how to get the column widths right.
Thursday, 21 June 2012 | Dereel | Images for 21 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Another rodent
|
Topic: general, animals | Link here |
We left Piccola (but not Lilac) in the house again last night, and once again we found a little present near teevee:
|
|
|
Clearly Piccola is taking to chewing a bit on them now; previously she just left them for Lilac. But what is it? Mouse or rat? The fact that there were two of them that big suggests that they must be rats, but again I didn't find the tail, and again I didn't notice a rat-typical smell.
“Excel” spreadsheets: enough!
|
Topic: technology, opinion, gardening | Link here |
So downloading the Friends' membership database as an “Excel” spreadsheet works, but the column widths are wrong. How do I fix that? Spent some time investigating Microsoft's web site and discovered enormous amounts of documentation, something I hadn't expected. Downloaded the Excel Binary File Format (.xls) Structure Specification and only then discovered that it was 40 MB in size and 1183 pages in length, probably the longest technical document I have ever seen. Is that complexity necessary?
To play around a bit, downloaded the spreadsheet to dereel, where it didn't try to view it with “Excel”, and discovered that it was a tab-delimited document. No wonder it was so easy to generate. And of course, my document didn't describe that.
So, what do I do? Generate a real binary “Excel” spreadsheet? There are XML-based formats too, but probably my version of “Excel” wouldn't handle them. Callum Gibson suggested using perl, specifically the Spreadsheet::WriteExcel module. But I don't do perl, and I'm not sure I want to start now. Raoul had indicated that he could use the spreadsheet in the format I gave him, so I think that's as much pain as I want to get involved in. Let's move on to something else, like finally migrating my machines to 64 bit.
Friday, 22 June 2012 | Dereel | Images for 22 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
More careful panorama positioning
|
Topic: photography | Link here |
The week is coming to an end, and tomorrow is my “house photo” day. I still haven't really got my act together about positioning my camera correctly. The rails I bought last November had one disadvantage: I had difficulty screwing them to the tripod plate firmly enough. In the meantime I've come to the conclusion that that was due to lack of force on my part. I got a larger hammer (really an adjustable wrench) and screwed them on. That has the great advantage that I can read the position more accurately:
|
The disadvantage is that the scale doesn't indicate the distance from the focal plane. It counts backwards: the closer to the focal plane, the higher the value. So I can't use the nodal point table directly. In fact, even if the rail were correctly marked, I couldn't: the tripod mounting hole of my Olympus E-30 is positioned 4 mm behind the focal plane. In the end the calculation is offset = 108 + 4 - scale, or scale = 108 - offset - 4, where offset is the value in the table and scale is the marking on the scale. Spent some time and wrote up a modified table for my hardware. It proves quite useful: it shows that I don't have any difficulty positioning the camera correctly with the shorter rail and the Zuiko Digital ED 9-18mm F4.0-5.6. The Zuiko Digital ED 12-60mm F2.8-4.0 SWD works fine for all except the shortest focal lengths, and for that I could use the longer rail—if I wanted to. It's amazing how much help even a little documentation is.
OED access made easy
|
Topic: general, opinion, technology | Link here |
Years ago I bought a copy of the Oxford English Dictionary, which I still use frequently. As I observed at the time of purchase,
I never regretted the purchase. The once-off price is no longer a concern, but using Microsoft and a particularly emetic interface is. I had asked at the Central Highlands library and the Geelong Regional Libraries, neither of whom could help. But today Peter Jeremy pointed me at the State Library of Victoria, who do indeed have the OED online. Signed up, and hopefully I'll have a better interface in the not-too-distant future.
I originally included a URL which the library has since decided to discard. Their search function is so appalling that I can't find a valid URL for people who are not signed in. When signed in, it's https://www-oed-com.ezproxy.slv.vic.gov.au/.
Android keyboard access
|
Topic: technology, opinion | Link here |
I've pretty much given up on this Android tablet. A couple of days ago I downloaded an eBook to it, only to discover that the PDF browser can't display images. In general, it doesn't do very much that I find useful, and the inability to load software on it makes it pretty much useless. But today, while looking for a lost microSD card, I found some accessories for it, in particular a USB adapter suitable for connecting a USB keyboard to the device. Tried it out, and surprise! it worked. And the browser even understands things like the Home and End keys. But it's not really clear that that buys you much, at least not without a mouse, which I didn't try. In general, it seems that tablets are solutions for problems that I don't have.
Saturday, 23 June 2012 | Dereel | Images for 23 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
More panorama refinement
|
Topic: photography | Link here |
House photos again today. The weather wasn't ideal, sunny and windy, but somehow I managed to get most of the photos done. It occurred to me that many of the underexposed areas are relatively close, so tried more flash fill-in, with mixed results. The big difference from earlier attempts is that I had both flash and non-flash images in the same series; previously I took individual series with and without flash. The way I do it now allows me to cut individual pieces out of the images and blend them together.
It took all day, and I still wasn't finished. Once again I had trouble with the garden centre panorama, which grew some trees I hadn't seen before (top right). Running the mouse cursor over the following image removes the artefacts:
|
It didn't show on the fast panorama preview—until I ran the cursor over the individual images. Again, run the mouse cursor over the image to see the difference:
|
Clearly that's some serious misplacement of the sky, but do I care? Until I fix the other issues, no. I just masked out that part out of the image, and the result was acceptable.
Little garden work
|
Topic: gardening, general | Link here |
The cold, windy and wet weather hasn't exactly been conducive to garden work. As if to underscore it, when we went to the monthly Dereel market today, we found nobody there. Presumably the vendors didn't think it worthwhile, though there's a possibility that it's dying a death.
But today I did manage to get a bit of work done, including raking the weed bed to the south-east of the verandah and planting some Alyogyne huegelii cuttings, which we may use to replace the Grevillea that got blown over in the southern hedge. I just wonder if we can get them to grow densely enough.
Elect a brainless spammer!
|
Topic: general, opinion, technology | Link here |
Received unusual spam today:
Friend --
I’m Andy Miller, campaign manager for Joe “The Plumberâ€\\235 Wurzelbacher, who is running for Congress in Ohio’s 9th district. They say competition is good for everyone, so how about a friendly competition to see who wants a 15-term, far-left liberal out of office the most?Â
Because that’s exactly what we’re doing!
Render badly? Yes, that seems to be deliberate. Look at the markup, in particular the nested <strong> tags with no displayable content:
In other words, if you don't have “Windows”, it renders incorrectly. It should render incorrectly on Microsoft machines too, since Windows 1252 is an 8 bit character set. But it doesn't for some reason, probably because Microsoft “Outlook” ignores the meta information and relies on the mail attachment type instead. Save the message to a web page and all browsers show the errors.
But who cares? Clearly there are two messages in this spam: first, Joe Wurzelbacher considers spamming people acceptable. And secondly, his campaign manager has so little idea about who the voters are that he spams people at the other end of the world. Isn't that enough reason to vote for a (gasp!) liberal? With opponents like Wurzelbacher, it's no wonder that she has been in the House since 1983. Somehow that's 14 terms (I thought a term was exactly 4 years in the USA), but they're talking about 15 terms. Freudian slip? Are they already expecting to lose?
About the only potential defence of Wurzelbacher is the possibility that this message is a deliberate attempt by others to discredit him. But there's nothing to indicate that. The link is a deep link into his web site, and he's asking for donations. God protect us from idiots like him and his campaign team.
Chinese cookery: too much work
|
Topic: food and drink, opinion | Link here |
You never eat just one course for a Chinese meal, do you? Today Yvonne wanted prawn and squid, so we agreed to eat beef and broccoli to go with it. In the end decided on a variant on Chinese beefsteak made with yearling beef schnitzel meat. The result wasn't too bad, but it was a lot of work, it took longer than I expected (a good ¾ hour) and we couldn't face tidying up at the end:
|
One of the ingredients was oyster mushrooms, which I had in dried form. Measured that 1 g dried oyster mushrooms rehydrates to 3 g.
Sunday, 24 June 2012 | Dereel | |
Top of page | ||
previous day | ||
next day | ||
last day |
Panorama processing: the other half
|
Topic: photography | Link here |
Finished processing yesterday's panoramas today—almost. Looking in more detail at the “garden centre” photo, discovered some serious discontinuities in an area that really didn't seem to be a problem:
|
Discovered that three different images overlapped this part of the house, and they had almost no control points between them. Why not? Generally I can understand when a control point detector has difficulties, but this time it didn't make any sense. And even after adding a number of control points manually, it wasn't perfect, but it was a lot better. And again it took much of the day.
ImageMagick strangenesses
|
Topic: photography, technology | Link here |
Part of the photographic processing was documenting things, of course. The comparison images I did of the Hugin fast panorama preview required cropping. For them to work right, they had to be exactly the same crop. Fine, that's what ImageMagick is for. And, not for the first time, I had the devil's own job to get it to crop the way I wanted. Somehow ImageMagick thinks differently from me. In principle, I wanted a 400×330 crop, so I entered:
=== grog@dereel (/dev/pts/10) ~/Photos/20120623 23 -> convert pano-preview-1.gif -crop 400x330+1190+400 pano-preview-1-detail.gif
But, as the documentation tells you if you bother to read it, that doesn't change the size of the canvas, and you end up with a big, empty image with a small crop visible. To do it right, you need
=== grog@dereel (/dev/pts/10) ~/Photos/20120623 24 -> convert pano-preview-1.gif -crop 400x330+1190+400 +repage pano-preview-1-detail.gif
Back into the garden
|
Topic: gardening | Link here |
The cool, moist weather has kept me out of the garden for some time. It hasn't kept the weeds at bay, though. Today the weather was better, and I did some work in the garden, including some weeding. Also planted a total of 10 cuttings of the Grevillea hookeriana that blew over last week: 5 in small tubes and 5 in larger pots, with different stem thicknesses. We'll see if any make it.
Also did some tidying up in the greenhouse. We still have tomatoes alive and slowly ripening, but there's a lot of foliage and new shoots there that can go, so I trimmed it off. In the process, noted that although I have caught a large number of white flies with my sticky traps, a further large number have not been caught, and the air was full of them. I suppose I should give up the fight for this year; next year I'll get the traps in early and hopefully catch most of them.
We were off to the Yeardleys for dinner in the evening to, so in addition removed a couple of the volunteer Hebes from the Japanese garden and potted them for the Yeardleys. I think they would make a good hedge along the driveway. At the Yeardleys, picked up their Bougainvilleas, which I had kept over winter last year. At the beginning of spring they looked quite happy:
|
|
|
Not so now:
|
|
It almost looks as if they have been uprooted, but somehow I think that this climate is too cool for Bougainvilleas. Still, last year a winter in the greenhouse did them a lot of good. Let's hope it will again.
Monday, 25 June 2012 | Dereel | Images for 25 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
USB stick recovery: the wrong way
|
Topic: technology | Link here |
Last night David Yeardley gave me a USB stick which Microsoft recognized, but which it didn't mount. At the very least probably some kind of data corruption. So I took it with me to see if I could recover it. Started off by putting it in dereel, my main machine. I should know better; I've had difficulties in this area before with that machine, which seems to have strangenesses in the USB subsystem. I had them again today. Somehow errors on one USB device affect the entire disk subsystem, and the machine gradually ground to a halt. Left it rebooting and moved on to lagoon, Yvonne's machine. Things didn't look good:
11 sectors? This was a 2 GB stick, once. Clearly that's the end of it; at least we know why now.
That should have been the end of it. But dereel was still running fsck in the background, and I reverted to looking at my panoramas yet again. But nona hung:
What's snaplk? Looks like something to do with file system snapshots. Further investigation showed that the process was hanging, and that fsck was currently running on that file system—and also getting nowhere: it had been running for over an hour. It seems that somehow it got into some kind of livelock situation. And, once again, things gradually ground to a halt. Processes were still working, but things like top, which I have running at 1 second intervals, slowed down until it was updating only aevery 3 minutes. Finally nothing at all worked any more. I was able to switch from X to vty0. It would have been nice to stop the fsck process, but I wasn't getting any keyboard response there either. Finally dropped into kdb, which didn't show much of interest, but I tried a kill there too. Yes, there is a kill command, though it wants a positive signal number (kill 9, not kill -9). You have to exit kdb for it to have any effect, of course, and when I did, it took about 30 seconds to see any response—but then it worked. Reboot avoided.
Started X again, umounted the /Photos file system, and ran a foreground fsck with my Log function:
Not necessarily the best of ideas, since that buffers output, and you don't see anything until it has filled a buffer. So I watched the ps output instead—and it didn't show anything. In days gone by it would show its progress through the individual phases, but it seems that this behaviour has changed. All I could do was watch iostat, which showed the different size I/O requests it performs in each phase. If I remember correctly, phase 1 (check blocks and sizes) reads 16 kB blocks (at least on my system), and phase 2 (check pathnames) reads 2 kB blocks. And yes, it was running. It finally finished after half an hour, logging the session and showing no errors. So: why no ps indication, and why did the background fsck have trouble? Has the file system exceeded a certain size limit? I suppose we'll find out if this happens again. Next time I'll modify the Log function to use the new stdbuf command, which changes the way streams are buffered.
More tomato pruning
|
Topic: gardening | Link here |
Yesterday I removed all the excess tomato plants from the greenhouse. Today I removed the remaining excess tomato plants from the greenhouse, including one plant that was completely dead. And there are white flies everywhere. The sticky traps were full of them:
|
|
I wonder how effective they really are. Certainly they trap white flies, but that enables new ones to find a place on the plants. I can't see that there were any fewer on the plants than before. Still, we'll see come the spring.
Relative cost of photographic accessories
|
Topic: photography, opinion | Link here |
I've recently moved back to the single rails for my panorama bracket. Here the double rail and the single rail:
|
|
The advantage of the single rail is the more accurate positioning. The reason I stuck with the old double rail was because I had difficulty attaching the new single rails to the tripod plate: they slip. I've managed to get it much better by tightening it more, but that's not going to work long to judge by the effect on the D ring:
|
So why not just glue them to the rail with epoxy? It's cheaper to have a dedicated plate for each rail than to buy the expensive equipment. The rails cost $13.75 each, and tripod plates start at about $4. But I need the right plate, which appears to be Arca Swiss, and they're expensive if you buy them alone.
When I wrote this, Arca Swiss' web site was broken. As I wrote, “a company with a non-functional web site”. So I linked to http://rodklukas.com/arca-swiss/. But 10 years later, that site has gone away.
In fact, I couldn't find anything like that on eBay. The cheapest I could find was $19, and it was 60 mm long. While that's not a problem, it seems ridiculous to pay so much over the price of other plates. And then I found a double mount bracket with two plates of exactly the kind I'm looking for, for $25:
This entry contained—stupidly—a link to an eBay item that has long since expired. To make matters worse, I can't see any reference in my eBay mail, so I'm really not sure what this refers to.
That's $12.50 each per plate, with a bracket thrown in as well. It seems ridiculous, but maybe that's the cheapest way to do it.
Tuesday, 26 June 2012 | Dereel | Images for 26 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
State Library of Victoria
|
Topic: general, opinion | Link here |
Received my library card from the State Library of Victoria this morning, giving me online access to a large number of reference books—if I could find them. They've also come up with some inventive bad language to make it more difficult. Like the Geelong Regional Library, they call the membership number a barcode. And there's no obvious way to log in in menus at the top or the side, and you search in vain on the home page for terms like “login” or “sign in” or “online”:
|
Instead they hide the access behind the term “eresources”, which—after finally logging in—both the Australian Macquarie Dictionary and the Oxford English Dictionary don't want to know about. I can't find a definition elsewhere either—clearly it's a leet new word designed to impress. The term is hidden in the middle of the page as an image and a partially obscured text. To make the fun better, the image disappears from time to time, but that's what you need to click on:
|
|
It doesn't really help much, though: it links to http://slvic.me/research (and yes, that is a valid domain name), but that redirects to http://www.slv.vic.gov.au/explore/research-tools, the same page that you get by following the “Services” link at the top menu. One of the items on that page is “eResources” (note the StudlyCaps), with a link that takes you to http://www.slv.vic.gov.au/explore/research-tools/access-eresources-home. There, too, there's no way to log in. First you need to decide what you want to look at, for example Encyclopedias [sic], dictionaries & ebooks online. Still no login, but links to the Oxford English Dictionary (“A range of Oxford dictionaries: Australian, American, New Zealand, thesauri and the second edition of the Oxford English Dictionary”), Macquarie Dictiorany, Encyclopaedia Britannica and many more. Following any of those links finally brings you to a login screen which refuses to let you remember your “bar code”. And there you have it. Simple, isn't it?
On the positive side, once you're run the gauntlet of all these non-obvious links, it's there, and it's available. Unfortunately the OED is no newer than the one I have locally on pain, but this way I don't have to fire up the local machine, and I can use it elsewhere (it's a laptop) for other purposes. And there are many other reference works that I can access, once I have saved their URLs.
Microwave oven race condition
|
Topic: general, technology | Link here |
We have a Panasonic NN-ST666W microwave oven, now about 5 years old. When it's finished, it signals the fact with 5 loud beeps in 1 second intervals. Long ago I discovered that I could silence it if I pressed the Reset button during that time. Over the years, I've made a game of trying to hit Reset exactly when the first beep starts. It's not easy: hit even a small fraction of a second too early, and it stops counting down. Hit too late and you get a longer beep.
Today, finally, I got it exactly on the end. And it reset the time of day clock! I had to set the time again. I wonder where that bug comes from.
Moving the indoor plants
|
Topic: gardening | Link here |
Two years ago we bought a Begonia at the Ballarat Gardens in Spring, intended for what was then the lounge room. It's pretty dark there, but we were told it didn't mind really dark conditions. But then, they hadn't seen our house. Yes, the plant is happy and growing, but it barely flowered at all last year. Today we gave up and moved it into the kitchen:
|
Botanic or botanical?
|
Topic: language, gardening, opinion | Link here |
The Friends of the Ballarat Botanical Gardens are called like that. In particular, the Ballarat Botanical Gardens are the Botanical Gardens, while in Melbourne they have the (Royal) Botanic Gardens. We got into a discussion about which term was correct, so I checked in the Oxford English Dictionary, which, rather surprisingly for me, states, for “botanic”:
Pertaining to the science or study of plants, to botany. (Now mostly superseded by botanical adj., exc. in names of institutions founded many years ago, as ‘The Royal Botanic Society’, ‘The Botanic Gardens’.)
The Macquarie dictionary wasn't nearly as clear: it gave identically the same definition for both words, with the exception of the pronunciation: “/bəˈtænɪkəl/ (say buh'tanikuhl)” (and not British English /bəʊˈtænɪkəl/, for which I suppose we should be grateful). You'd have to know what assumptions they make to think that “bəˈtænɪkəl” and “buh'tanikuhl” are pronounced the same way. I'd pronounce the latter /buːtænɪkuːl/ or even /buːtɑnɪkuːl/. Doubtless an American would pronounce it differently again.
Wednesday, 27 June 2012 | Dereel | Images for 27 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Quiet day again
|
Topic: general, gardening | Link here |
One of the things I do every morning is to write an entry in this diary for the previous day. And sometimes so much has happened that I spend all morning describing it. That was the case today, since it involved taking photos and researching word usage, but it was about all I did. Apart from that just a bit of pottering in the garden—the Japanese Garden is seriously in need of weeding, but first I want to remove the volunteer Hebes, and that means preparing a new hedge elsewhere. And apart from that it also needs thinning out. It's amazing how things have grown.
Thursday, 28 June 2012 | Dereel | Images for 28 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
Lazy loading photos
|
Topic: technology, photography | Link here |
My diary and other web pages contain a large number of photos, and they're generally larger than those on the average web page. This makes itself noticeable when loading diary pages for previous months: even the “thumbnail” images add up to several MB of data. That's particularly silly when I include a link like this one, which doesn't include many images. Nevertheless, the whole 5 MB or so of thumbnails gets loaded.
This page is for the whole month of March 2011, and it's 5800 lines long. Clearly what's needed is to only load the images if they are to be displayed. I had some impression in the back of my head that JavaScript has an event to signify that a component is being displayed, and for a couple of days I've been trying to find more about it. I'm still no closer, but I did find a script that does what I'm looking for. It uses jQuery, which I looked at last year. I rejected it then because I was trying to learn JavaScript—something that hasn't progressed much—but this time it looked like a good idea, as the demonstration showed. It was surprisingly easy to install, though I suspect that some of my older pages may run into trouble with it. It'll be interesting to see how much faster things run now.
In passing, it's interesting to note how small jQuery is. The minimized version is only 94840 bytes in size. But then I looked at Unix kernels. Here's the kernel of the 6th edition:
Friday, 29 June 2012 | Dereel | Images for 29 June 2012 |
Top of page | ||
previous day | ||
next day | ||
last day |
More lazy load stuff
|
Topic: technology, opinion | Link here |
The “lazy loading” of images was quite successful, but invariably there were issues. Peter Jeremy uses links, a lynx-like web browser with some graphics functionality. It doesn't do JavaScript, of course, so it was a good test for the code I wrote. It failed:
|
The intention is that the image on the left (clearly a placeholder while I find something more amusing) should be replaced by the one on the right when it is loaded. But links showed both. Further investigation showed that the code uses CSS to display the correct image if JavaScript isn't available. Not only does links not do JavaScript, it doesn't do CSS either, so it ends up displaying both.
The code is clearly the wrong way round. It assumes that the browser does JavaScript, and uses CSS as a fallback if JavaScript isn't available. Here's the current code for the image above, which will change:
What I should do is set the src attribute value to the correct image and replace it with JavaScript if it's available. That's doable, but I need to learn more about jQuery first.
In the meantime, considered how much data got downloaded before and how much gets done now. How do you do that? I had thought that some browsers, notably Apple's “Safari”, would tell you, but I didn't find any indication. In the end, fell back to my good friends grep and awk and attacked the server logs. The results for http://www.lemis.com/grog/diary-mar2011.php, currently my biggest diary page:
=== grog@bilbo (/dev/pts/1) ~ 4 -> grep ppp59-167-8-17.lns1.syd6.internode.on.net /var/log/apache2/lemis.com.log > foo
=== grog@bilbo (/dev/pts/1) ~ 5 -> awk < foo '{sum += $10} END {print sum}'
A couple of those and a bit of calculation and I came up with:
PHP source | HTML source | Normal load | Lazy load | Improvement | Normal load | Lazy load | Improvement | |||||||
(bytes) | (bytes) | (bytes) | (bytes) | (%) | (bytes) | (bytes) | (%) | |||||||
(images only) | (images only) | |||||||||||||
274021 | 682097 | 7268507 | 920365 | 87.4% | 6586410 | 238268 | 96.4% | |||||||
So lazy load reduced the amount of downloaded data by a factor of 8. More interesting, though, is how much of that was photo data. I was surprised by how much bigger the generated HTML was than the original PHP source. That gets loaded in any case. Take it away and you have the values in the last two columns: a saving of over 96%! Now to fix that code.
A basket a day keeps no weeds at bay
|
Topic: gardening | Link here |
A little more work in the garden today, removing rogue Arum lilies and some weeds. I managed to fill up a basket. Is that enough? Probably not.
Also managed to finally plant the ox-tongue lily to the south of the verandah, centre left in this photo:
|
Tablets: the down side for non-users
|
Topic: technology, opinion | Link here |
Earlier this week I returned the Android tablet to ALDI without even trying some of the features: it's so not for me that I couldn't be bothered. And the basic disadvantage (no keyboard) is so basic that I don't see myself trying another. But that doesn't mean that tablet pain is over.
A few months back I took to adding this line to my .sig:
That was a direct reference to other messages I receive with the text:
Note lack of full stop at the end of the sentence. Originally I had written “Sent from my real computer”, but some Apple friends of mine were upset by that. It has only recently come to my attention that other people not only have trouble with the lack of a keyboard, but cause trouble for me as a result. I think I should consider “Sent from my iPad” to be warning, or at least an apology for the lack of coherence and clarity of the message. Today I received no less than 6 messages from somebody using an iPad. None was more than two lines long, though I had requested details, and none addressed my message, which presumably, in modern style, was nowhere near where the person was typing, and was also not visible on the screen.
Saturday, 30 June 2012 | Dereel | Images for 30 June 2012 |
Top of page | ||
previous day |
House photo routine
|
Topic: photography | Link here |
House photos again today. In principle I've come to a stage where there are only minor things to tweak. But there are always surprises, and from time to time I make mistakes. Today I managed to take a number of images at incorrect exposures (uncorrected manual instead of automatic, and one series overexposed by 1 EV). The uncorrected manual images were useless, but the overexposed series was of the dam, and compared to normal exposure it actually looks better (second image):
|
|
Then a couple of panoramas, in succession, came out with completely ridiculous previews:
|
|
The first was claimed to have a mean error of 1.0 pixel and a maximum of 2.6 pixels (“very good fit”). At least the second had the decency to report a mean of 16.6 and a maximum of 678.4 pixels. I've seen this before, and once again I was able to recover by first aligning some of the images and then adding the others:
|
|
But why does it happen? More investigation needed.
Cassoulet and bad beans
|
Topic: food and drink, opinion | Link here |
The Yeardleys came along for dinner again today. Minh Chau has proven to be at least as fussy in her choice of food as other girls of her age, but professed a liking for baked beans. That's a poor copy of cassoulet, of course, so today we made a real cassoulet. And once again I had difficulties with the quantities, not helped by the fact that the recipe in our recipe folder (or is that file?) was out of date. Even now I'm using far more beans in proportion to meat than any recipe I know, but the comment at table confirmed my approach: “Not many beans, are there?”.
The real problem, though, were some of the worst quality beans I have ever seen:
|
|
They were of uneven size, damaged, with many fragments. They took forever to cook, and when they were finally done, they turned into mush in a matter of minutes. I'm surprised that such poor quality still makes it to the market. I think these were from Safeway—from now on we only buy beans from places where dried beans are still considered important.
Do you have a comment about something I have written? This is a diary, not a “blog”, and there is deliberately no provision for directly adding comments. It's also not a vehicle for third-party content. But I welcome feedback and try to reply to all messages I receive. See the diary overview for more details. If you do send me a message relating to something I have written, please indicate whether you'd prefer me not to mention your name. Otherwise I'll assume that it's OK to do so.
Top of page | Previous month | Greg's home page | Today's diary entry | Next month | Greg's photos | Copyright information |