Segfaulting Firefox on FreeBSD

I tried to start Firefox on a fresh FreeBSD install, and nothing happened. Running it form xterm, I saw this:

process 0000: D-Bus library appears to be incorrectly set up; failed \
to read machine uuid: Failed to open "/etc/machine-id": No such file \
or directory
See the manual page for dbus-uuidgen to correct this issue.

Segmentation fault (core dumped)

I was about ready to write a bug report for dbus, before I realised I hadn't even started it. Derp!

To enable it in rc.conf and start:

# echo 'dbus_enable="YES"' >> /etc/rc.conf
# service dbus start

Otherwise:

# service dbus onestart

Now Firefox starts.


Denali joins Uluru

I knew all about Denali from my years of listening to Whole Wheat Radio, the former independent music radio station out of Alaska. While it was officially called Mount McKinley after America's president during their war with the Spanish, the native name of Denali seemed to be more widely used.

According to Wikipedia, its original name has been restored:

Denali, officially known as Mount McKinley from 1917 until 2015, is the highest mountain peak in North America, with a summit elevation of 20,237 feet (6,168 m) above sea level. At some 18,000 feet (5,500 m), the base-to-peak rise is considered the largest of any mountain situated entirely above sea level.

In 2015, following the lead of the state of Alaska, the United States government announced the mountain would be renamed from Mount McKinley, for former President William McKinley, to its original Athabascan name of Denali.

This is wonderful news, and made me smile :).

Here in Australia, our Uluru rock formation was known for years as Ayers Rock. It was renamed to "Ayers Rock / Uluru" in 1993, and dual named Uluru and Ayers Rock in 2002. Our colonial ancestors pillaged and stole all this land, the least we can do now is call them by their correct names.


Rubénerd Show 290 2015-08-30

Rubénerd Show 290

The calm episode.

Podcast: Play in new window | Download

46:03 – Grinding coffee live on the show, Hahndorf Inn Hotel coffee mugs, Bourke Street Bakery, coffee, unfriendly hipsters, Weetbix, overcast and sunny days, a regrettably-phantom Rubénerd Show episode, The Overnightscape Central, PQ Ribber, Old-Time Radio, audio museums, Radio Free Shambles, American and Australian accents, Perth, cheap drinks that still smell good (Nescafé, Lipton Tea), studying for my HSC at the AIS, friendly librarians, elitism in music, jazz and Coldplay, What's Your Plan B?, Snake Tea Podcast, still haven’t finished The Overnightscape 1209, 7-11 and Spar,

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

Released August 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.


Akisora Hiyori’s giant girls

I think I blue blew a fuse upon seeing this art on Pixiv. It reminded me of the original Bakemonogatari opening, where everyone’s favourite tsundere walked larger-than-life through the streets. Only this time, with fighter jets and equally-large flying saucers.

Safebooru taggers claim they’re F-22 jets, though the make of the UFOs remain a mystery. I know far more about civilian than military aviation, so I defer to their expertise.

As for the motivation behind this inexplicable art series, Google Translate claims the artist merely wanted to draw giant girls, and the ensuing ridiculousness. Mission accomplished.


Mid-2012 MacBook Air SSD upgrades

As mentioned on Rubénerd Show 290, the limited 64GiB SSD capacity of my mid-2012 MacBook Air is starting to get difficult. Whereas previously I'd just offload stuff to a series of Sandisk Extreme USB 3.0 memory keys, it seems now I can't even turn the machine on half the time without the Finder reporting “Zero bytes free”.

I’ve re-installed OS X on it twice, checked the Hibernation and sleep images aren’t ballooning to unreasonable sizes, and performed various voodoo chants. The space just vanishes, and I grow wary of constantly tracking down where it all goes. Time for an upgrade!

My go-to for such stuff is usually Crucial. Their compatibility search engine has been invaluable for years, which I thank them for with my patronage. Perhaps given Apple's proprietary SSD layout, they don't offer any options for the Airs though.

From my early Mac days I remembered Other World Computing in the US had the best deals for Mac-compatible hardware, and sure enough they have a series of Aura and Aura Pro SSDs. Their lowest capacity 120GiB drive is already almost twice the capacity of my current one, and they go up to 1TiB.

My plan is to grab a 240GB Aura Pro 6G once money becomes available. Stay tuned for reviews :).


That's a lot of commits

I forked Homebrew a few years ago to send pull requests, then promptly forgot about it. This is what it looks like today:

This branch is 34801 commits behind Homebrew:master.

Neglect aside, that’s pretty impressive.


Importing from Bitbucket to Github

I have a habit of betting on the wrong horse. I used Bitbucket from way back when, largely because it supported Hg. Now the world has long since settled on Git, I started using it as such on Bitbucket, while also tracking projects on GitHub. This weekend, I decided I'd merge the two to make life easier.

The git-neutral way to achive this is setting a new remote URL for your existing Bitbucket repo, and pushing to it. For example:

$ cd ./bitbucket-repo/
$ git remote set-url --push origin https://github.com/user/repo
$ git push --mirror

According to past screenshots people had made, GitHub used to sport an Import code button in their repo creation screen, but no such button exists now.

Today though I learned the relatively hidden GitHub Importer still exists. It can take the URL of an existing SVN, Hg, TFS or Git repo as a source, then creates a new repo with full commit history. Your Bitbucket repo would need to be public for this to work.

I haven’t tried this with branches, or repos with wiki pages etc, so YMMV.


Drop the grit

I don’t always see eye–to–eye with DHH, but damn it if he didn't hit close to home with this one.

Grit is a convenient trait for enticing others to comply with the uncomfortable or the uninteresting [Ruben adding: or the untenable]. It elevates the perseverance of such adversity to a virtue in and of itself. Just dangle that long-term goal in front of them, accuse them of lack of grit, and compliance will oft follow.

But far more important than to be capable of suffering for your cause is to ask “what cause”? Am I the beneficiary here, or is someone else? Being high on grit may well mean sticking with a faulty cause for far longer.

Grit is an optimization for local maxima. If you’re able to change the function, drop the grit.


Pointless Rubénerd post stats

I realised with all my exported posts in a directory, I can run some pointless stats. For example, these are the number of posts that start with the word “the”:

$ ls the* | wc -l
==>     296

And that have the word “the” in it anywhere:

$ ls *the* | wc -l
==>     791

And K-On:

$ ls *k-on* | wc -l
==>     53

And that have the greatest name in the world in it:

$ ls *saskatchewan* | wc -l
ls: *saskatchewan*: No such file or directory
==>     0

Hmm, clearly I have work to do.


Wq is not a Vim editor command

I’ve realised there’s a direct correlation between the time of night, and prevalence of these error messages:

"E492: Not an editor command: Wq" 

I swear, my tombstone will have this on it. Which will suck, because it means I couldn't save my changes before quitting the living world.

I should just use ZZ, but old habits are hard to break.