Author Archives: Josh

Subtitling now in the Suez

I imagine that Jacqui Mapoon from CSI (Captioning and Subtitling Australia… or International) is someone who helps them out very occasionally, judging by the quality of her work on The Doctor Blake Mysteries: Season 1, Episode 9 “All That Glitters” –  atrocious work.  The gaff that stood out most was the transcription of sewers, but there were so many problems.

Don’t these subtitling services get given the script?  There’s a job listed in the credits as “Post production scripts”, surely they’re able to hand the script over electronically, and it’s just a matter of timing, pagination and confirmation – no transcription, no transcription errors?  I doubt Tim Pye – the writer of the episode – would have got that wrong, nor made the other homophonic errors.

Thunderbird does error message wrong

Thunderbird discovered that yahoo have changed their mail server’s POP3 behaviour, meaning you can’t leave mail on their server and download it locally. So it pops up the following message box:
POP3 has failed
This message box is app-modal. You can’t just fix the problem, you’ve got to take notes (a screenshot suffices) and then fix the problem. A bunch of faffing around, when it could have just said “Do you want your Server Settings automatically changed so that your mail can be fetched? Yes/No”. Or you could have this pile of technical information in a non-modal dialog box, and bring up the settings dialog for the user to solve the problem. Or just have this pile of technical information in a non-modal dialog box, so a screenshot isn’t necessary.

Or you could just make people angry, that works too.

Error code L6

If you have an ACS-15 digital scale beeping and flashing error code L6 on the LED display, I think it means “battery undercharged, and I refuse to work until it’s better charged. I don’t care if you plug me into the mains.”

And now Google knows. I wonder where I put the instructions?

Netbook won’t run video-editing software: film at eleven

So apparently some of the computers bought with Digital Education Revolution money are underpowered for the software suite loaded on by state education departments.

The Lenovo netbooks handed out to NSW students in 2009 and 2010 sport a 1.66MHz Intel Atom N450 processor, 2GB of RAM, 160GB hard drive and 10-inch screen

A rig with these spacs this is my primary Windows machine, and for a while was the most powerful machine in my house.  It’s fine for not playing HD video or anything that challenging, although operating without the (maximum) 2 gig of RAM is a weedy beast (the raw boot memory consumption is 640 meg, leaving plenty of space to run Notepad or perhaps Windows Performance Monitor).  With 2 gig it runs browsers, spreadsheets and word processors without complaint, but:

A NSW education department spokesperson, in response to complaints from students that their free netbooks don’t have the performance to run Photoshop, said

“Slow performance has not been highlighted as a major issue with the laptops … As with all computers, after time they can slow down. The department regularly upgrades the versions of software and performs a tidy up to ensure smooth running of the devices. This helps avoid slow boot and operating times.”

A. Why are these kids whining about free computers?
B. What the hell do school kids need Photoshop for?
C. Why would the passing of time cause a computer to slow down?
D. How does upgrading software versions improve boot times or even operating times?

Maybe the “tidy up” is the important bit.

Upgrading Netgear Stora without data loss

Despite my expectations, I’ve managed to upgrade our NAS’s storage quickly, easily, and without losing a byte of data.

We have a Netgear Stora as our home NAS. We’ve been butting heads against the storage limit of the box, but I’ve always been careful not to populate the second drive bay; the last upgrade replaced the single 1Tb drive with a single 2TB drive – 2TB was the cost/storage sweetspot. However, a couple of years on and it’s still the sweetspot, the largest drive capacity is only 3TB (I suspect due to the Thailand floods of 2011 – we’ve been stalled at this capacity for a while… which is a little misleading, but I’m not paying $550 for a 4TB drive when I can have 3TB for $150) and it seemed like it was time to exploit the second drive bay.

Researching online shows that the default configuration for a Stora is RAID 1, which is… not the default I’d have chosen. What we want is a JBOD array. I didn’t recall changing the configuration the last time we did an upgrade, so it’s a safe bet that we were still a RAID 1 setup. The documentation is clear that converting from RAID 1 to JBOD or vice versa requires a format of the media, so step 1 was to ensure our backup of the backup was up-to-date; that took overnight to complete, even with the 2TB USB3 drive that we picked up for only $99 from Officeworks (how are they able to sell a drive and enclosure for the same price as a cut-price parts supplier sells the naked drive?)

If anyone can explain why I was getting over 70MB/s to my external USB3 hard drive when I started, and a few hours later when I went to bed I was getting under 30MB/s, I’d love to hear it. It was a steady decline in I/O rate and I’m at a loss to explain it.

Anyway, with the backup completed, and verified, it was time to bite the bullet. For step 2 I powered down the NAS, extracted the existing drive from the NAS and put it aside, took our lying-around-spare 2TB drive and shoved that in its place and then restored power. I fired up the (Windows-based) Stora management software and connected to the Stora and it announced that there was some weird drive mounted, and what storage configuration did I want? Having picked JBOD, it then proceeded to format the drive.

Once the formatting was done, I proceeded to step 3. I powered the Stora down, inserted the original drive in to the previously unused bay (the vertical orientation flipped relative to the other bay, which was surprising) and restored power. I fired up the (Windows-based) Stora management software and connected to the Stora and it announced that there was (again) some weird drive mounted, and what storage configuration did I want? Annoyed that it didn’t remember that I’d already picked JBOD, it then proceeded to format the drive, both as expected (per advice on the Internet) and as it had last time. There was a slow moving progress bar and everything.

Once that was all done, I got ready for step 4: restore the backup. I browsed to the mount, and discovered all the data was already there. Every last byte. The lying bastard of a thing had formatted nothing. The carefully prepared backup was not needed; I spent several long moments stunned, absolutely stunned.  I even ran a few checks to make sure I wasn’t being lied to, that the OS had cunningly cached the directory structure. But it was true; I could play media, read configuration files, the works. Free space was now reported as 2.2TB. I’d suspected there was a chance that this would work (JBOD shouldn’t require any special formatting, unlike RAID 0 and perhaps RAID 1), but still couldn’t believe it.

A technology upgrade worked, and contrary to advertised capabilities. Has this ever happened before?

Summer 2012/13 starts

Per today’s Melbourne Forecast, issued at 5:06 am EDT on Saturday 10 November 2012.

Forecast for the rest of Saturday
         Max 20 Partly cloudy.
Sunday 11 November
  Min  8 Max 26 Sunny.
Monday 12 November
  Min 17 Max 23 Shower or two developing.
Tuesday 13 November
  Min 11 Max 20 Partly cloudy.
Wednesday 14 November
  Min  8 Max 22 Partly cloudy.
Thursday 15 November
  Min 10 Max 22 Partly cloudy.
Friday 16 November
  Min 12 Max 22 Shower or two.

As such, I now declare it to be summertime (7 days in a row forecast to be 20+ degrees), and as such am shutting down the gas heater and opening up the cooling vents.

Internet privacy: hard work, but doable

Ever since I came across browser fingerprinting, it’s been very hard to ignore that little voice in my head that tells me they’re out to get you. I routinely rock the Internet with JavaScript and Flash disabled thanks to NoScript and the similar NotScripts on Chrome, and have, in the past, been satisfied that these precautions were enough to stop the bad people on the Internet. If my browser was dumb, it couldn’t hurt me.

I routinely leave cookies enabled because they don’t present a system security threat. There are cross-site supercookies, but they’re implemented outside of the HTML cookie world — they’re done with Flash and JavaScript, so not so much of  a problem with my configuration.  In the future I’ll be disabling third-party cookies.

Disabling third party cookies doesn’t do much good with browser fingerprinting.  I hadn’t realised how unique my browsers are. So Firefox gets FireGloves, which will work even for pages where I’ve enabled JavaScript et al. FireGloves changes HTTP request headers so that instead of my systems actual values, the most generic values found in the Internet are used instead; it can also cycle through them randomly.

Because of the interminable delay in page redirection on my grossly underspec’d netbook, I’ve added Don’t track me Google (which Chrome will download but then leads you to believe it won’t let you install, but if you click *->Tools->Extensions, then drag from the download bar onto the Extensions list will install just fine).

Because the Australian government seems increasingly intent to read my mail, I’ve gotten quite interested in preventing them doing so. Encrypted communications provide private browsing — what goes back and forth is a secret, but not who are having the conversation. The EFF’s HTTPS Everywhere (which works on Firefox, and kinda on Chrome) enforces a preference for SSL communications where available. However, in the real-world parallel to the electronic, that ensures that instead of my ISP being able to see me walk around the streets and then into glass-walled buildings, the buildings now become opaque. They still know what buildings I’ve walked into. The government wants to know what buildings I’ve walked into because… ummm… the building which has bomb-making instructions… we can prove… ummm… something. But now we’re safe! The ineptitude of the government’s censorship plans leaves me with no desire to allow random ISP and government employees to rifle through whatever-it-is-I-do-on-the-Internet whenever they feel like it.

As such, the next step is to start using an anonymising network; initially I2P seemed to be just the ticket.  I2P is an unofficial top level domain, and under it you can find — amongst other things — eepsites, anonymously hosted web sites. Problem is, they serve HTML, and the pages could refer you off the .i2p TLD thus exposing your IP address (they might do this via a web-bug or something as innocuous as externally hosted CSS file). I2P is primarily a darknet, not an anonymising proxy; it’s an internet that doesn’t play by the same rules, and the effect is that no-one on it can identify anyone else on it (with some demonstrated exceptions). The I2P network seems to be populated by scary people and paranoid people. By far the biggest problem is that I2P doesn’t work very well for surfing the Internet, due to it’s limited out-bound connection (outproxy) to the wider Internet.  Given the http://i2p.to proxy allows viewing this darknet from outside, there’s not much point running I2P unless you want to anonymously publish information.

So while I2P isn’t enough on it’s own to hide your identify online, it isn’t really enough anyway. I don’t want to wander the darknet, I want to be out in the light of the Internet using my Cloak of Invisibility.  This is where the only (non-VPN) game in town comes in, along with all its demonstrated weaknesses: Tor.  The Tor network is accessed via the TorButton plugin.

When using TorButton, to minimize your risk profile you can’t run random crap on your browser — you’ve got to just browse. As such, the Tor developers recommend you use TorButton with a bunch of other tools (many of which I’ve already mentioned), which are all helpfully bundled up into the Tor Browser bundle, a secured version of FireFox — not a plugin — that uses the Tor network.  They’re also very down on embedded environments like Flash, Sliverlight, Quicktime, RealPlayer… you get the idea.  In addition, those datafiles that carry active content — .DOC and .PDF — scare the willies out of them, and they want you to only open them once you’re disconnected from the Tor network.

In fact, they go so far as to recommend Tails running inside a VM, which means all your traffic goes via Tor.  That seems to be the optimal solution.

ePub html/xhtml (or chapter) upper file size limit is 300Kb

The size of individual html files — chapters — that make up an ePub should not exceed 300Kb, according to ePubPreFlight, and this thread. Presumably this is to deal with eReader limitations, which are unspecified.

(I’ve found tell that you shouldn’t make the html/xhtml files in your ePub eBook “too big”, but finding out what “too big” is seems to be hard. Now the Internet knows the maximum size, and you don’t have to know all the magic keywords.)

VirtualBox could not open the medium: you’re not the old you

I recently had reason to restart an old virtual machine on VirtualBox running on my Ubuntu machine, and was presented with the error:

Failed to start the virtual machine XP Install 2.

Medium ‘/home/net2/.VirtualBox/Machines/XP Install 2/Snapshots/{70eab271-a63d-4bff-aa7b-8ac8b713e3b6}.vdi’ is not accessible. Could not open the medium ‘/home/net2/.VirtualBox/Machines/XP Install 2/Snapshots/{70eab271-a63d-4bff-aa7b-8ac8b713e3b6}.vdi’.
VD: error VERR_FILE_NOT_FOUND opening image file ‘/home/net2/.VirtualBox/Machines/XP Install 2/Snapshots/{70eab271-a63d-4bff-aa7b-8ac8b713e3b6}.vdi’ (VERR_FILE_NOT_FOUND).

I figured that somehow the backup had been hosed, as it had been through a couple of restores and system migrations. A ls of the above failed with

ls: cannot access /home/net2/.VirtualBox/Machines/XP: No such file or directory
ls: cannot access Install: No such file or directory
ls: cannot access 2/Snapshots/{70eab271-a63d-4bff-aa7b-8ac8b713e3b6}.vdi: No such file or directory

And then it occured to me that I was running under a different username now. As such:

cd /home
sudo ln -s josh net2

solved the problem with the computer is completely fooled into believing that net2 is still a user on this machine. Well, for the purposes of VirtualBox anyway.

Summer 2011/2012 starts

I declare summer whenever there’s going to be 7 consecutive days in a row above 19 degrees.  And as such:

Friday            Max 22  Shower or two.    
17/09/11  Min 10  Max 25  Shower or two developing.    
18/09/11  Min 12  Max 21  Sunny.    
19/09/11  Min 11  Max 27  Showers developing. Windy.
20/09/11  Min 12  Max 20  Shower or two.     
21/09/11  Min 13  Max 22  Morning shower or two.    
22/09/11  Min 12  Max 24  Mostly sunny.

Summer.

In September.

It’s a good thing that global warming is a beat up by the greens, a front for communist interests trying to take control of our lives and introduce excessive and unneeded regulation – or else I might be worried.