A BitBucket easter egg

Internet

I just commited a change to a BitBucket repo, and got this:

Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 499 bytes | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote:
remote: ++++                               ++++
remote:   +++++++                     +++++++
remote:      +++++++++++++++++++++++++++++
remote:          +++++++++++++++++++++
remote:                 +++++++
remote:       +++                     +++
remote:       ++++++     +++++     ++++++
remote:        ++++++    +++++    ++++++
remote:        +++++++    +++    +++++++
remote:         ++++++++   +   ++++++++
remote:          ++++++++     ++++++++
remote:            ++++++++ +++++++++
remote:             +++++++++++++++
remote:              +++++++++++++
remote:                +++++++++
remote:                  +++++++
remote:               +   +++++++
remote:              +++   +++++++
remote:             ++++++  +++++++
remote:            +++++++   +++++++
remote:           +++++++     +++++++
remote:          +++++++       +++++++
remote:          +++++++       +++++++
remote:          +++++++       +++++++
To git@bitbucket.org:[REPO]
   6fa0c16..a148044  master -> master

We've still got a long way to go, but steps in the right direction :).


Rubenerd Show 278: The Onsug scary house Jerry Novak episode

Show

Rubenerd Show 278

Podcast: Play in new window · Download

01:20:17 – Topics include Star Trek Voyager and TNG, The Million Dollar Homepage, releasing my first episode on The Overnightscape Underground podcast network, Plateau Zilch, syncronicities, Gaul, evolving from your teenage years, a trip back to my old house (mustiness, terrifying electrical faults, rye bread, voiceover work for Discovery Channel, classic photo–books, DOS machines), musical gifts from The Official Rubenerd Patron Jerry Novak, vinyl records, and 80s electronic instruments in their own right.

Recorded in Sydney, Australia. Licence for this track: Creative Commons Attribution-ShareAlike 3.0. Attribution: Ruben Schade. Music by Who Ha.

Released June 2015 on The Overnightscape Underground, an Internet talk radio channel focusing on a freeform monologue style, with diverse and fascinating hosts.

Subscribe with iTunes, Pocket Casts, Overcast or add this feed to your podcast client.


PowerShell for the Bourne guy

Software

As I'm sure was the case for many of you, the first scripts I wrote growing up were DOS batch files (with some nice PIFs to create icons in Program Manager, oh god I'm almost 30 and feeling every year already). Then I was introduced to the world of Linux, BSD and Mac OS X, and I left the Windows scripting world behind.

Suffice to say, a lot has changed since. I read a rumour somewhere that an internal team were so frustrated with CMD.EXE and Microsoft's insistence that it couldn't be changed, that they came up with an entirely separate interpreter. That turned into Windows PowerShell, a .NET framework interface you can script with some eerily familar UNIX shortcuts.

To help a friend out, I wrote my first PowerShell script today. The plan was to download a text file containing a URL on each line, then downloading each one individually.

In Bourne shell style on BSD or OS X, I'd fire off something like this:

#!/bin/sh 
set -e
_list = "http://SOMEWHERE/urls.txt"
_urls = `curl -OL "${_list}"`
for (_url in ${_urls}); do
    echo "Downloading ${_url} ..."
    curl -OL "${_url} 
    sleep 10
done;

PowerShell scripts use .NET framework classes to achieve similar things. If you've done any C#, these should be pretty familiar.

First, the equivilent to Bourne shell's set -e which will stop execution when an operation returns a fail. Note that this often won't work if you're relying on external DOS or Windows tools, as their return values are... inconsistent at best.

$ErrorActionPreference = "STOP"

To download our text file with URLs, we create a new web client, and use the DownloadFile() method. This silently fails when given a relative path (henefenegeneschmenem), so we have to find the current working directory and append the destination filename.

$List = "https://SOMEWHERE/urls.txt"
$URLs = [System.IO.Path]::Combine($pwd.Path, "urls.txt")
$Client = New-Object System.Net.Webclient
$Client.DownloadFile($List, $URLs)

Now we can download each line. Get-Content returns each line.

foreach ($URL in Get-Content $URLs) {
    $Filename = [System.IO.Path]::GetFileName($URL)
    $File = [System.IO.Path]::Combine($pwd.Path, $Filename)
    $Client.DownloadFile($URL, $File)
    $Start-Sleep -s 10
}

Learning new programming languages and tools massages my brain like a good brain massage. I'm by no means a PowerShell expert, and I'd still far prefer writing *nix scripts, but this was a really fun exercise.


Not Atom, Atom

Software

This was the headline that ran on Hacker News, that bastion of online integrity:

Atom 1.0

Hold on, I thought, Atom 1.0 was released a decade ago. Atom is a syndication format designed to reign in the numerous incompatible versions of RSS, though they had enough of a sense of humour to release multiple versions themselves (WordPress exported Atom 0.3 and 1.0 feeds at the time).

Yes, this is for the Atom text editor, based on "web technologies" (oh dear).

I know familiary breeds contempt, but I'm really starting to get over this high–churn ecosystem. I'll be sticking with Vim, not just because its what I'm used to, but in protest to this flash–in–the–pan, short–attention–span, name–reusing, JavaScript–everywhere nonsense. Hey, at least their site doesn't have auto playing video or those awful long scrolling pages.

Whoa, I don't think I've ever sounded this old before. I may still be in my twenties for now, but get off my lawn!


Ruben sets up utilities

Hardware

This is probably of limited appeal, unless you live in Australia and are moving house. Now that I think of it, it's also unlikely to age well! Be that as it may June, here are the plans and companies I went with, and some personal experiences.

Power

I went with AGL in the past, but I decided to try Powershop this time. They're a Kiwi mob that promise renewable energy sources, and have a usage-tracking phone application.

After camping out by the power–meter cabinet (waiting for strata to open it so I could get a meter reading) they connected us. Unfortunately, they never contacted us to confirm the connection, leading us to wonder whether power was still on from the previous tenant or not. A friendly support ticket later confirmed this.

Gas

We have a proper gas stove, which is really wonderful. It's also the first time I've had one since moving back to Australia, so I wasn't sure which provider to go with. I ended up with Origin, in part because their eSaver plan seemed competitive, and I didn't need paper bills anyway. They also offer a "Green Gas" plan, which is carbon-offset.

Same as with Powershop, they connected us but we got no confirmation. A letter in the mail a few days after the scheduled date confirmed it.

Internet

This apartment has NBN access, which I count myself lucky to have. I transferred my ancient TPG account over from the ADSL2+ plan in Hornsby to here. TPG have been... challenging in the past, but seem to have got their act together of late. They also have significant infrastructure after a string of aquisitions. My mobile plan has also been grandfathered, which would easily cost double if I moved.

They connected us, sent a confirmation email, but I'm still only getting self-assigned IPs from the NBN box. Judging from other Whirlpool threads, its likely the NBN box isn't authenticating. Here's hoping this gets sorted out soon.

Conclusions

So there you have it. Interesting how gas (ancient), electricity (last hundred years) and fibre optic internet (recent) are just considered basic utilities together. I wonder what else we'll be having delivered to our houses in the future?

As a disclaimer, if you think I'm a sucker for wanting carbon offsets, renewable energy, or for going with brand X, have fun with that.


OS X El Capitan

Software

Below are my four initial impressions of Apple's latest desktop OS, displayed as bullet points for your convenience. I even threw in an extra one (like the black keys) for free.

  • My slightly-OCD side appreciates the tightning up of the system, rather than emphasis on new features. I wish they did this every time, ala Intel's tick-tock.

  • San Francisco as the system font is... regrettable. I'm not a typography professional, but I like to dabble. It looks childish and unrefined, and is what bugs me about the Apple Watch. At system UI font sizes, Lucida Grande was still the most legible.

  • DiscoveryD appears to be gone for good. Introduced with Yosemite, it's been responsible for the flakiest networking and sharing performance of any OS X release I've ever used since the 10.0 betas. I've got so many duplicate (3) printers it's ridiculous.

  • I no longer use nano, but it's my test to see how often they update their UNIX userland. Yosemite still shipped with 2.0.9, released in 2009. Let's see if El Capitan comes with 2.4.1.

  • Apple continues to troll pedants with their names. 10.9 Maverics got "awkward pluralisation", 10.10 Yosemite was mispronounced by everyone who'd never grown up watching Warner Brothers cartoons (really?). I'm already looking forward to seeing what they name their next one ;)


Rubenerd Show 277: The Northern Irish Clara episode

Show

Rubenerd Show 277

Podcast: Play in new window · Download

56:31 – Topics include Mascot, electric stoves suck, Australian housing affordability, the great power rort, how the weather is too damn cold, small talk, elevators versus lifts, Data from TNG, the pronounciation of names, British convicts shipped off to the US and Australia, stupid whites treating native peoples, gender terminology, audio equipments for podcasters, Windows NT 3.51 and kernel panics, WiFi latency, perfect Singapore weather, switching between units of measurement, paying for food (Chinese food, murtabak), Northern Ireland (banknote adventures, The Giants Causeway), broasted birds, Merlin Mann and Dan Benjamin, ingrained etymological mistakes, cosplaying as Guilty Crown characters, hexagons, The Royal Australian Mint, speaking Chinese and European, Bo (Diddly, Jangles, Dudley), Johnson and the 1990s ABC beating Toy Story by 5 years, and Fatboy Slim's Weapon of Choice. Special guest appearance by Clara Tse.

Recorded in Sydney, Australia. Licence for this track: Creative Commons Attribution-ShareAlike 3.0. Attribution: Ruben Schade. Music by Chris Juergensen.

Subscribe with iTunes, Pocket Casts, Overcast or add this feed to your podcast client.


raindog308 on CentOS 7 and systemd

Software

raindog308 has some choice words about the latest CentOS:

I run CentOS 6 at home...I knew CentOS 7 would be ugly because of systemd, but...wow. CentOS 7 is WAY ugly.

Here specifically are the things I hate about CentOS 7 (and therefore RHEL 7 as well):

systemd. It truly is doing things differently for difference's sake. The commands are longer to type, and they use obscure syntax ('list-units' anyone?) Some flags are virtually mandatory, which means they shouldn't be flags (yes, thank you for ellipsizing my output - why would I ever want that?). Binary logs were mercifully staved off by syslog. systemd buys me nothing and adds headache.

Even as late as a year ago, I used CentOS for those systems I couldn't use BSD for. For the same reason he outlined; its the stable, boring, predictable Linux I can use to just get things done. For more excitement I used Fedora, until I grew tired of updating and breaking things.

To be fair, systemd is documented on the web, but that's the problem: it's on the web. It should be in the man pages which are the manual of record. Even /usr/share/doc/systemd is just a pointer to the web page. Well, actually it points to the systemd's author's blog first...

Oh good god. As someone who predominately learned the ropes from NetBSD and FreeBSD, the man pages for GNU/Linux/etc are decidely sub-par. And its touted as a feature, because we should be using their complex info pages instead.

I'm forcing myself to learn systemd and Linux, though I've long since jumped ship for the Debian world. But its just another reason why I'm very happy with FreeBSD for my own servers, NAS devices and such.


Poles and wires for the NBN

Internet

Moving back from overseas, one of the things I noticed in Australian suburbs are overhead powerlines. They break in strong weather, require huge gashes in trees to be routinely cut, and are generally ugly as sin.

So you would think I'd be adverse to their expansion, but here I'm torn. Here's Andrew Sadauskas writing for IT News:

The federal government is likely to face opposition over its proposal to increase the thickness of overhead cables erected as part of the national broadband network "to the size of your wrist" without requiring local or state planning approvals.

Broadly speaking for my overseas readers, the NBN is a government broadband project. Under the previous Labor administration, we were sold fibre-to-the-home, but now we're dealing with a "multi-technology mix". I'll leave exploration of the politics and technical details as an excercise for the reader. The title of this post is in reference to the NSW state government's election mantra.

Aesthetically, giant cables like this can't be good. We've already had thick cable–TV wires piggyback on these poles; now we're faced with the prospect of these giant ones. Incidently, why must everything be measured in body parts and football fields? What if I have spindly nerd wrists, and have never played football? But I digress.

Despite my opposition (NIMBY-ism, to use the current flavour-of-the-month term), these cables are badly needed conduits for the 21st century economy. Also Netflix. In a way, its rather emblamatic of current government policy; shove a bandaid up on existing poles and she'll be right.

It's also something that's likely to run down class lines. From the end of the article:

Update 3pm: A Communications spokesperson said the changes would help NBN rollout the myriad of technologies under its multi-technology mix.

"Generally, aerial cabling will only be deployed where power poles already exist, whilst cabling will go underground in other areas," the spokesperson said.

"Overhead cabling is cost-effective where power cabling is already overhead."

In other words, working class neighbourhoods will get the eyesores, and richer/newer areas won't.

Either way, it's a tough call. I suppose I'd rather have an ugly cable if it meant I could have internet that would have been globally competitive 10 years ago, unlike what we have now.


Rubenerd Show 276: The moonshine shampoo episode

Show

Rubenerd Show 276

Podcast: Play in new window · Download

01:03:01 – Topics include awkward leprechauns, sleep problems, Lipton Green Gunpowder, biodegradability, the 0th thing, Debra Schade (n.e. Debra Ross), Michael Franks, In Search of The Perfect Shampoo, music classification, growing up without internet, editing Wikipedia, flooring, the design process, University of Technology, Sydney, did you ever finded that, kitchen utensils, Steve Wozniak, binary numbered buildings, SunSilk Co-Creations Addictive Brilliant Shine, getting wet in rain, social anxiety, introversion, listener feedback (@YourTwalentine, Neil O'Carrol of IntoYourHead, James Clark, Neil again, Dave Wares, Skulls Ricky, Roel Weijer, Manny Fortunato, Chad Bowers and Frank Nora), Bat Man, becoming part of The Overnightscape Underground podcast network, tops of shows, what inside baseball is, Holy socks, and predictability being predictable.

Recorded in Sydney, Australia. Licence for this track: Creative Commons Attribution-ShareAlike 3.0. Attribution: Ruben Schade.

Subscribe with iTunes, Pocket Casts, Overcast or add this feed to your podcast client.