John Naughton on the Internet-of-Things

Internet

John wrote this at the end of an excellent article about a specific piece of home surveillance tech, but it could easily apply everywhere.

This kind of thing is par for the course. The totally secure networked device has yet to be invented. And the standard response of the industry is always to shift the blame to users who have failed to take appropriate security precautions. When “smart” devices render their hapless users vulnerable, somehow it’s always the customer’s, rather than the vendor’s, fault. So here’s a useful motto when tangling with this stuff in future: for “smart” read untrustworthy.

I keep quoting George Neville-Neil saying the “S in IoT stands for Security”. I’m realising the P in it stands for Privacy, too.

There are ways to use some of this tech responsibly. Disabling features, feeding garbage data, putting on isolated networks, obsessively tracking updates. But we’re kidding ourselves if we think non-technical people would know they need to do this, and how.


Hacktoberfest needs to stop

Software

Ned Flanders telling Marj he “can’t live in good intentions” remains one of my favourite Simpsons moments. It applies to so many situations, and especially within IT.

I’ve watched with dismay and a complete lack of surprise at Hactoberfest, again. Each year, a large hosting company rewards people contributing to open source software with free swag. It measures this by counting the number of pull requests you make to open source projects on GitHub.

(For non-developers, a pull request is a formal way to merge your changes or improvements you’ve made to a codebase. You clone/fork the original code repository, make your changes, and issue a pull or change request).

If you haven’t been following the news, can you see a problem with this? If it sounds like this would just lead to pull request spam, you have more foresight than this hosting company did.

Former Australian PM Paul Keating once commented that markets shift behavior, and we’re seeing this play out here. Align financial incentives with your pull request count not quality, and this is the inevitable outcome. There are a few other angles this year specifically, including an infamous YouTube video explaining exactly how to game the system. But it couldn’t have happened if the system didn’t enable it.

It’s good that we have companies wanting to encourage open source software development. I’d go as far as to say anyone who benefits from it has a responsibility to; not in the letter of the law or licence, but certainly in the spirit of them. Where I draw the line is shifting the burden of a gamified system with pretty graphics and lots of PR onto overworked, underpaid software developers to trawl through hundreds of pull requests every day. It causes burnout and resentment, and wastes a month of productivity.

You help open source by funding it, and helping aspiring contributors with training and mentorship. Everything else is window dressing, and it hurts the community. Please don’t do this.


Thirty years since German reunification

Thoughts

It was thirty years ago today when the Deutsche Demokratische Republik, or East Germany, ceased to exist. On the 3rd of October 1990, the DDR was dissolved, and its post-war Bezirke districts were reconstituted into their original Länder provinces, before being incorporated into the Bundesrepublik we now know simply as Germany.

It’s surreal to think my sister and I were around for this huge occasion, but were too young to be aware of it. My mum told me years later that my German dad cried when the news broke, saying “the war is over”.

Challenges still remain thirty years after reunification, but at least we can all take a little comfort knowing Margaret Thatcher didn’t like it!

Police personnel (NCOs and enlisted men) of the East German Volkspolizei wait for the official opening of the Brandenburg Gate, December 22nd 1989.

This photo has stuck with me ever since I started reading about modern German history. These young men were part of the East German police on the day the Berlin Wall fell, taken by SSGT F. Lee Corkran of the US military in 1989. East Germany dissolved a year later. I’ve always wondered what they were thinking.

The Scorpion’s Wind of Change will be my next Music Monday. I think we all need a bit of optimism during these times.


My new-ish 16-inch MacBook Pro

Hardware

This is the first blog post written on my Apple Certified Refurbished 16-inch MacBook Pro!

The 15-inch machine on the right was the first Intel Mac laptop Apple ever released. She managed to merge the portability of my polycarbonate iBook G3, with the performance of my PowerMac G5. I was at uni in Adelaide at the time, but had to regularly fly back to Malaysia and Singapore to help during my mum’s last years, among other tough family reasons. She was the right machine at the right time for my new life living out of a suitcase.

The refurbished 16-inch from 2019 alongside my 2006 15-inch MacBook Pro.

I’ve had a few 13-inch MacBook Pros and a Retina iMac in the intervening years, but none matched the versatility of MacTheKnife. She had a nice keyboard, her big screen meant I didn’t miss external ones, her trackpad is still more sensitive and accurate than any PC, and her Intel CPU let me run various x86 OSs in VMs for experimentation, homework, and games. I still have the disk image from my FreeBSD 6.3 VM with Xfce and a lighttpd web server in a nostalgia archive.

I kept a tiny ThinkPad X40 as my on-call carry, and often left the Mac as my desktop replacement at home. I tried merging the two together in a 13-inch for much of the 2010s to save money and effort, but it never worked well for me. That form factor was too small to use remote for long stretches, and too heavy to always be in my bag.

The tide started to turn again when Clara and I were back in Akihabara last year… remember travel? I caught a glimpse of this gorgeous 775g Panasonic Let’s Note laptop with a high-resolution screen and full FreeBSD hardware support. Much of my writing and SSHing is done on it now, just as I did with my old ThinkPad ultra-portables.

So when it finally came time to upgrade my old MacBook Pro with its awful keyboard and awkward—for me—form factor, I kept the money in savings and set up watch alerts on Apple’s refurbished hardware page for my 16-inch grail machine. It took a few months, but she popped up last week and I pounced!

As everyone said last year, her keyboard is fantastic, and she still has a better display than almost every other machine in the industry. She renders my static Hugo blog in 9 seconds compared to 20 on my 13-inch. And the RAM! Electron “software” made me forget what spare RAM feels like.

I took her to a coffee shop this morning, and was suddenly sent back in time to that Coffee Bean and Tea Leaf I used to sit with my mum at in KL after her chemo. I’d be sitting there typing away, and she’d be there with a Woodhouse book quoting me silly passages. All my machines have since been giving weeby anime hostnames, but this one has definitely earned the moniker MacTheKnifeII.

🌲 🌲 🌲

Do I regret not waiting for an Apple Silicon Mac? Not really. I couldn’t wait much longer to replace my other machine, and whatever Apple releases will undoubtedly have waiting lists and shipping times even after they announce specifics. The best computer is the one you have.

Having an Intel CPU is also feature for me, at least at this stage. She runs all the software I want and need to. I paid the extra for the 8 GiB GPU option, and even with the overhead of Parallels she runs the few games I care about almost as well as the dedicated game machine I rarely use and will now be selling for money and space.

As that first MacBook Pro was, this is the best machine for me right now. Maybe in a few years when Intel macOS ceases I’ll review my options. But who knows, by then I might have even decided to move entirely off the Mac. I’ve been in the ecosystem since Classic MacOS in the 1990s, but I’ve always had one foot in the lifeboat in case things go pear-shaped.

And dare I say it, it’s fun having the very first and very last Intel laptop. It feels like I have the bookends for this era of computing.


Derek Muller’s video on Penrose Tilings

Media

Mathematics was never my strong suit, but I’ve always loved geometry. My dad used to buy me those Eyewitness multimedia CD-ROMs growing up, and I’d spend hours clicking through the conic sections, the Golden Ratio, tesselating shapes, and tracing those evil Königsberg bridges. I joked to my year 12 maths teacher that I owed my entire passing grade to just the geometry unit.

So I was so happy to see Derek Muller’s latest Veritasium video about Penrose Tilings. It brought back so many great memories, and was was so beautifully produced. Please check it out if you’re at all interested in this stuff, it was a real treat.

Play The Infinite Pattern That Never Repeats

There’s just something so deeply satistying about geometry. It’s so beautiful, and still so mysterious.


Apologies for not posting your comments yet

Internet

I made the deliberate decision many years ago to turn off blog comments, and to publish an email address instead. I figured it introduced a suffiently-high barrier to entry for drive-by trolls and spammers, and let me share the best comments for everyone in dedicated posts. If you’ve taken the time to email me, I want people to see in the RSS feed, and inline on the blog.

Since a few Hacker News and podcast mentions I’ve been inundanted with great comments. Well, inundated by my standards; I’m sure even someone with a modicum of fame or noteriety would scoff at this introvert’s woes.

My style is to publish comments over a period of time so I can leave meaningful responses, though I appreciate now that from the outside this looks like radio silence in the interim.

So my apologies if you’ve emailed over the last few weeks and either haven’t had a response, or I haven’t published your comment yet. I mean this in the most sincere way possible: they’ve all meant a lot.


Feeling guilt upon buying something

Hardware

Like someone who’s swallowed a sponge, this gets a bit self-absorbed. You know when you transcribe an awesome phrase from your head, and it really isn’t that good?

With apologies to Sir Issac Newton, I’ve succumbed to his Third Law of Consumerism: every purchase results in equal and opposite guilt. It might not look it given how I rave about vintage Hi-Fi gear and computers here, but even things I’ve spent years researching and saving for are delivered with equal parts joy and buyers remorse.

Certain charitable Buddhists and Minimalists may (mis!)interpret that as a sign of maturity; that I place people and experiences above material possessions. The fiscally-minded may approve of my aversion to credit, and hoarding of either savings/investments over trifling endeavours like hobbies and interests. I’d be flattered to think there are elements of these, but the truth lies elsewhere. The truth lies?

I’ve mentioned before my weird recurring nightmares that I only have a short time to pack things up to move house, and I feel overwhelmed with all my possessions. I’ve known for years that I prefer clean, simple spaces over ones filled with clutter. Even if that clutter is stuff I like; at least with clutter I hate it’s easy to recycle, donate, or sell because you feel no attachment. There’s definitely something to the idea that you should be careful with what you bring into your home, because of the future opportunity cost for space, money, and eventually landfill.

Maybe it’s a reminder of past family events where we almost lost everything, financially and otherwise. Maybe I feel indulgent or disconnected from the rest of the world that’s doing it tough now. Or it could be that I’ve gone so far down the over-analysis rabbit hole of justifications and doubt that I see fun itself as unproductive. Which it often is, but that’s not the point!

I suppose, rationally, it’s an infinitely better problem than compulsive buying. I couldn’t begin to relate to the feelings of self-hatred, low self-esteem, and financial pressure that would exert on people. At least I’m not parting with money with what I have, let alone money that’s borrowed or not mine.

Curiously I’m able to partially short-circuit these feelings when I write about stuff I’ve bought. Maybe in my mind that transforms it from a trinket—however useful it may otherwise be—into being part of a review? Not sure.


AC3 is not AAC

Hardware

Speaking of silly mistakes, I was backing up some Cantonese DVDs for Clara and wondered why the resulting files were way larger than I expected.

$ ls -lh *mkv
==> 653M Forensic Heroes - s01e07.mkv
==> 692M Forensic Heroes - s01e08.mkv
==> 953M Forensic Heroes - s01e09.mkv
    
$ mkvinfo *s01e09*
==> [..]
==> | + Track
==> |  + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
==> |  + Track UID: 2
==> |  + Lacing flag: 0
==> |  + Name: Stereo
==> |  + Language: chi
==> |  + Codec ID: A_AC3
==> |  + Track type: audio
==> |  + Audio track
==> |   + Channels: 2
==> |   + Sampling frequency: 48000.0

Whoops! I did AC3 passthrough, instead of transcoding. I must have been looking at my LaserDisc demodulator before I ran that.


The Australian government’s NBN backflip

Internet

This news was necessary, but so predictable it was as though we all predicted it was necessary.

Australia’s crumbling telecommunications infrastructure—privatised for pennies and run into the ground—was in dire need of replacement by the 2000s, let alone the 2010s. Okay the copper was already in the ground, but that’s not my point. The Labor government a decade ago proposed a Fibre to the Premises (FTTP) National Broadband Network to replace the aging copper. Fibre is durable against water, future proof, and faster than copper, dontchaknow?

Something for the public good shouldn’t need a terse economic justification, like not wanting strychnine in your drinking water, or relying on a cost-benefit analysis for not stabbing yourself in the eye with an Ethernet crimper. But even the single system would become cost-effective with economies of scale, and profitable, high-density urban areas would offset the construction and maintenance of rural installations.

I drew the comparisons with Gough Whitlam’s original 1970s vision of decentralising Australia. Rural Australians have held the short end of the stick for a long time, and the NBN could have given a significant economic opportunity, to say nothing of remote education and healthcare. I also compared it to the power grid in 2011, after a tutor I had at university at the time dismissed it because wireless would work just as well. He was saved by the bell when I asked what the antennas would be plugged into.

(Fun fact, antenna spelled backwards is annetna, which almost looks the same but isn’t. Just like the new FTTP upgrades the coalition are proposing. But we’re getting ahead of ourselves… which the NBN under their stewardship had no risk of).

Then, as any wary Australian IT worker will tell you, things went belly-up. The Labor government was voted out for Tony Abbott and his populist coalition, cheered on with some of the most one-sided, embarrasing Murdoch press I’ve ever seen. The instructions from the top were literally to “destroy” the NBN, which Communications Minister Malcolm Turnbull successfully achieved with his flawed multi-technology mix; bizarrely to the delight of a small but vocal slice of the Australian technical press.

Once again, city dwellers like me would get superior service than rural Australians; though even we would be short changed. Construction of the future-proof fibre optics—already in thousands of homes—was halted, and new installations were replaced with a basketcase of fixed-point wireless, expensive greenfields copper, unfit-for-purpose HFC, tin cans with string, and outdated Fibre to the Node boxes that would cost more to install and upgrade than simply building FTTP from the start. Meanwhile, the shambles and uncertainty left a gap in the market for private companies to snap up the profitable areas and lock people to a single provider while leaving rural Australians—you guessed it—with rubbish. Just like we all warned. I hate it when I’m right.

The only good thing that came from FTTN boxes was being able to warm myself from the waste heat generated from one of them while waiting for a cab in North Sydney. Turns out copper needs tons of power in addition to being slower, but fibre optics use these things called internal refraction and photons which…

(Yes Mr Abbott, you had a question? Pardon, what was that? …no Tony, a photon is not a phone).

Well wouldn’t you know, it took a pandemic and half the country working from home for people who short-sightedly dismissed the NBN as a pointless white elephant useful only for gaming and streaming video to realise… hey, maybe we should be deploying fibre everywhere and upgrading these ridiculous FTTN boxes so the network actually works. Kishor Napier-Raman’s writeup in Crikey had the best summary; it’s jaw-dropping what those politicians said and did.

So now, finally, Australia is a step closer to getting the network it was supposed to have in 2010. It won’t be for everyone, of course. It will also take a long time, and surprise surprise, cost more than if we’d just done it properly the first time. Malcolm Turnbull’s promise of “faster, cheaper, sooner” broadband failed on all three counts and, best of all, we taxpayers will once again be footing the bill.

I hold out hope we’ll get a Royal Commission out of this. I’ll bet there’s even more context and back story we don’t know about.


OpenSSH 8.4 released

Software

OpenSSH 8.4 was released yesterday. It includes several signifigant changes for FIDO/U2F authentication, some of which are listed as potentially-incompatible, but are still great to see. Other things that caught my eye:

scp(1), sftp(1): allow the -A flag to explicitly enable agent forwarding in scp and sftp. The default remains to not forward an agent, even when ssh_config enables it.

sshd(8): allow sshd_config longer than 256k

And I’m always pleased to see NetBSD portability notes:

sshd(8): support NetBSD’s utmpx.ut_ss address field. bz#960

This exquisitely-maintained software powers so much of the Internet. It got me thinking that for all my talk about donations, I should put my money where my mouth is and donate to the OpenBSD Foundation. Even if you’ve never heard of OpenSSH, you’ve also benefited from it.