FileVault on case sensitive HFS+

Software

FileVaultIf you’re a *nix nerd like me, you most likely formatted your Mac with the non-standard case sensitive variant of HFS+ (ala Mac OS Extended), which FileVault doth protest too much about if you try to enable it on an existing account.

Fortunately there’s a workaround: simply create a new user account and click the "Turn on FileVault protection" checkbox. If you’re installing OS X from scratch, its simply a matter of creating a temporary account with the installer, using it to create your real account, then deleting the temporary one.


Clang!

Software

Icon from the Tango Desktop project While I am a Mac guy, this is one of the reasons I love free/open source software ^_^.

clang: noun 1. A loud, resonant, metallic sound. 2. The strident call of a crane or goose. 3. C-language family front-end toolkit. The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Its tools are built as libraries and designed to be loosely-coupled and extensible.


De-Chromeify Firefox 4.0

Software

Somewhere along the way, the Mozilla UI team must have figured the best way to make things simpler was to copy Chrome. Fortunately with a key extension and some UI tweaks Firefox 4.0 can be be reconstructed :).

The right is the bight

Firstly, to what the Mozilla team did right. Despite still being drawn in XUL (which I used to loathe but now love the flexibility!), Firefox 4.0 looks more like a Mac application. The toolbar buttons are smaller and look like Mac buttons, and the URL and search boxes respect Mac interface guidelines (square for the former, rounded for the latter).

It could be attributed to a placebo effect or given I installed it from scratch, but the UI feels slightly more responsive too. It still takes more "dock bounces" to load than Safari, but less than before even with my trillions of extensions.

Finally, I find this trend of remove menu bars to be extremely obnoxious, but fortunately the Linux versions didn’t follow Windows Vista/7 and Chrome’s lead!

Restoring tabs

The most striking UI change is the moving of tabs above the address bar. This distressed my sister no end, but fortunately they can be moved back to where they were before by choosing View, Toolbars then unchecking Tabs on Top.

As you probably know by now, I strongly suggest you use an extension like Tree Style Tab to put tabs on the side and save yourself from needless side scrolling, but do what you will ;)

Restoring the status bar

As with Chrome, Firefox no longer has a status bar. Extension icons are now relegated to an optional Extensions Bar which can be reenabled from the View, Toolbars menu. Problem is, even with this enabled we still have hovered URLs appearing in a silly transient bubble like what I’ve dubbed Chrome’s Foo-Foo bar. In my opinion, the Foo-Foo bar is a huge step backwards in usability.

The solution is the Status-4-Evar extension which puts status messages back into the same readable place they were before alongside the extension icons. As an added perk, the extension also replaces the Fusion extension which never got a Firefox 4.0 update. Nice!

Removing fluff

Curiously, Firefox 4.0 doesn’t create a ./chrome/userChrome.css folder and file in your profile folder anymore, but both can be recreated and Firefox will use them.

These are some of the things I remove using that file:

/* Required XUL namespace reference */
/* @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); */
/* UPADTE: No longer needed with Firefox 4! Schweet :)*/
/* Remove cruft from URL and search bars */
#urlbar .autocomplete-history-dropmarker,
#star-button,
.search-go-button,
.tabs-newtab-button {
	display: none !important;
}
/* Remove favicons from bookmark bar links */
toolbarbutton.bookmark-item > .toolbarbutton-icon {
	display: none;
}
/* Make bookmark bar folder icons stand out */
/* by making them bold, regular links normal */
toolbarbutton.bookmark-item {
	font-weight:normal !important;
}
toolbarbutton.bookmark-item[type=”menu”] {
	font-weight:bold !important;
}

Links for 2011-04-06

Internet

Links shared from del.icio.us today:

Beautiful. Simple! Clean.
(categories: wordpress design graphics html themes)

Nice summary for those of us turned off by the suggestion that Homebrew should be installed by a user taking ownership of /usr/local!
(categories: osx mac apple ports homebrew)


Custom SSH ports with sshuttle

Internet

Icon from the Tango Desktop project Icon from the Tango Desktop project

I’d tried 0.1 back in the day, but @OliYoung reminded me this morning of sshuttle, the poor man’s VPN that’s just too much fun!

On Soviet Internets, sshuttle proxies you

For most all of my SSH connections, I use custom ports. Security through obscurity is a dangerous misnomer if only used by itself, but it helps to lower the chances of a roaming bot scanning on port 22 from finding it.

With a regular SSH connection you define a port with -p, though fancy alliteration is not necessarily required:

% ssh -p 60000 username@SuperSexySSHServer

Sshuttle doesn't have a -p option, so you merely append the port old school style:

# sshuttle -r username@SuperSexySSHServer:60000
0.0.0.0/0 -vv

This then gets converted into a -p option when sshuttle initiates the required SSH connection.

Starting sshuttle proxy.
Binding: 12300
Listening on (‘127.0.0.1′, 12300).
firewall manager ready.
c : connecting to server...
c : executing: [‘ssh’, ‘-p’, ‘60000’, ‘username@SuperSexySSHServer’, ‘–‘, ”python’ -c ‘import sys; skip_imports=1; verbosity=2; exec compile(sys.stdin.read(764), “assembler.py”, “exec”)”]

I would know, because I’m using it to write this blog post! Very cool :)


Open letter to Apple regarding Finder dimensions

Software

Dear Apple Engineers,

Regarding dimensions, or a lack thereof

With every Mac OS X release since 10.4 Tiger (and quite possibly even earlier) your Finder application has refused to display the dimensions of certain images.

It is my opinion the Finder in column view sets the standard for graphical file managers that other software outfits have emulated, but never surpassed. However, this one nagging bug that has yet to be fixed in at least six years could potentially cause premature balding, and despite how attractive some men look with that style I doubt it would suit me.

Peace, health and happiness,
Ruben Schade


Singapore ArtScience museum

Annexe

This post originally appeared on the Annexe.

Photo of the Singapore skyline with the ArtSciecne museum

I know that place! *sniffles*


And the award for worrying awards…

Travel

I don't know about you, but the category of "most improved airline" doesn't instil much confidence! Photo is from the Jakarta Globe. They're also on Twitter @thejakartaglobe.

I might just be jittery given the only time I flew Garuda part of the plane's landing gear failed on the tarmac. I was only 2, but my parents long since told me about it and how many people around them were injured. I guess, they have improved!


Trains Ruben Taketh: R21, yet again!

Annexe

This post originally appeared on the Annexe, in a post series pointlessly documenting every train I took.

Photo of the forementioned train.

R21 from Bardwell Park to Central

Cleanliness: Sticky


No April Fools posts from me

Thoughts

So its April Fools Day. I was wondering how I could top my previous years when I gave glowing reviews for Windows 7 and how Whole Wheat Radio had become a commercial enterprise, but I'm taking a different tack this year.

I will not be making any April Fools jokes on Twitter, nor reading Wikipedia's April Fools page, and I certainly won't be creating an April Fools blog post. April Fools blog posts are responsible for a shocking decline in productivity and decency this time each year, and I will not afford this nonsensical drivel any of my time here whatsoever.