Aiyor! Enoch discovers Kenny Sia and has a renewed appreciation for Malaysians now lah.

Saturday, 6 September 2008 | No comments

The Planet 3 services can be accessed on your 3 phone by pressing the button on the home screen, which launches the phone’s default browser.

But what if you want to use Planet 3 using Opera Mini?

The short answer is, you can’t. The author of this post thinks that it’s due to the server restricting access to the built-in browsers, but I don’t think this is the correct reason.

Opera Mini, according to Wikipedia, uses a proxy server hosted by Opera that renders the page in a special compressed format. Now, it should be axiomatic that Planet 3 is not accessible outside the 3 network, and the proxy servers are definitely located outside the network. Q.E.D.

Tags: , , ,

Terriable spelling

I wouldn’t rate their article as “terriable” but their rating system may very well deserve that honour.

Tags:

Dead iPod Touch

Dead iPod Touch

Another day, another iPod Touch calamity. While updating one of the installed applications, gremlins attacked and icons no longer appear on my home screen.

I’m not an Apple fan-boy, I have never been, and I am unlikely to convert because my first foray into the world of Apple products has been a largely unhappy journey. iTunes, at least on Windows, is slow and often unresponsive. Backing up my iPod Touch literally takes several hours, and the version 2.0.1 update took four attempts. The music interface, while great for the Latin-alphabet world, is a pain to navigate with Chinese songs and artists. Installing and upgrading applications via the iPod Touch interface is a slow and arduous affair. While there have been some outstanding applications, the majority are uninspired and useless. You also often find two or more applications that do very similar things, but each lacking in various regards, which means you end up keeping all of these applications; the closed model of the iTunes Store discourages, and in fact prevents, modifications and extensions a la open source software.

I could keep going on for quite some time, but I’m sure others have documented the failings of the iPod Touch and the iPhone in more detail. I can overlook some bugs, but wholesale destruction of my data is unforgivable.

Tags: , , , ,

The New Jews: bias against Asian Americans at Ivy League universities is exposed, and although the statistics are alarming, the picture is far more complex than it first seems. (Note that in New South Wales, we are fortunate enough to have the impartial Universities Admissions Centre to manage university admissions.)

Friday, 29 August 2008 | No comments

‘Human flesh search engine’ in hot pursuit of the iPhone girl, proclaims the headline. I was initially quite curious as to why there is a search engine that indexes bits of human flesh on the planet. Update: Tommy suggests that the phrase “human flesh search engine” is a literal translation from the Chinese.

Friday, 29 August 2008 | No comments

One of the attractions of Bluehost, my host, is the ability to ssh into your box, which makes administering your site that much easier if you know how to use the *nix command line. (See related post.)

I’ll just write about two things that I’ve worked out recently.

Lesson #1: Read the README file.

Well duh, you say. The story is, I’ve had the bash_completion script for some time (a really useful extension that makes typing on the command line that much easier), but I’ve never quite worked out why it didn’t work. Now I know why. It’s because I naively assumed that the bash_completion.sh script was the meat of it, and simply called it from .bashrc, expecting it to just work. It would, ordinarily, but I don’t have it installed in /etc which is where it expects to be (it’s in my home directory). If you have somewhere else like me, you will need to set the $BASH_COMPLETION variable and modify the bash_completion.sh script to reflect where you’ve actually put it.

Lesson #2: If you didn’t set up the system yourself, things might not be as you expect them to be.

SUITS has a bunch of useful scripts that you can use to improve your command line experience on the undergraduate IT servers, and I copied them over to my account on nointrigue.com because I like them so much. One of these scripts sets nice colours for the command line. It was all working fine until I realised TortoiseSVN could no longer access the Subversion repositories via svn+ssh, failing with the error “connection closed unexpectedly”. I figured something I added recently was injecting garbage into the stream. It turns out it was the colour-adding script! But why? It was protected like this:

if [ -n "$PS1" ]; then
        . ~/.bash/colors
fi

That means that it should only have been run if it was running in an “interactive” terminal, and the colour-adding script should not have been called if I was using svn+ssh. After some more poking around, I found this in /etc/bashrc (which was being called from .bashrc):

# For some unknown reason bash refuses to inherit
# PS1 in some circumstances that I can't figure out.
# Putting PS1 here ensures that it gets loaded every time.

Uhh, ok, nice work, Bluehost. I guess not many of their customers actually use ssh. At least there was a comment.

But even if it was called, why the colour-adding script was failing in the first place? It turns out that tput colors fails if $TERM is not set, which happens to be so when using svn+ssh. (Actually, this would not normally prevent me from accessing my Subversion repositories. The command line svn seems to ignore errors; however, TortoiseSVN dies the moment it sees anything untoward.) My ultimate solution was to simply pipe error to /dev/null.

Tags: , , , ,

Gadens Lawyers have caught the attention of many a law student with their outrageous approaches to marketing themselves as an attractive, progressive employer.

This year was no different, and I couldn’t resist snatching their advert from a law school noticeboard (after the applications have closed) to bring you a choice selection of alternative application methods. Satisfying any of the following would, apparently, “entitle you to an instant interview”:

  1. List the middle names of all the partners of Gadens Sydney as at 30 June 2008
  2. Draft your application entirely in prose, in the format of Dr Seuss’ “Green Eggs and Ham”
  3. Accompany your application with an Elle Woods style application DVD.

The flier then says, “Attempting to satisfy all 3 criteria is just plain showing off.”

I was actually curious enough to look into these three criteria. First, the middle names: their website has a list of partners in Sydney, but I saw no middle names. I suspect you’d either have to be an insider or know an insider (in which case, you’re looking good anyway), or email each and every one of them and risk suffering their wrath.

For the second one, I may just be a philistine, but I’ll admit that I had to look up the Green Eggs and Ham reference.

Enoch I am
I am Enoch
I am Enoch
Enoch I am

That Enoch-I-am!
That Enoch-I-am!
I do not like
that Enoch-I-am!

Do you like
boring old law firms?

I do not like them,
Enoch-I-am.
I do not like
boring old law firms.

OK, I give up - especially after finding out from Wikipedia that the entire book is written using only 50 different words.

Finally, while I have observed that a number of select individuals at law school would fit right into the set of Legally Blonde, I suspect they have at least some measure of self-dignity. But law students prove me wrong all the time.

Tags: , , , ,

The Games Began. Hearts Swelled: Chinese patriotism is a varying and nuanced entity - from the perspective of an American-born Chinese New York Times writer.

Tuesday, 19 August 2008 | No comments

Why academic freedom must be preserved: University of Sydney law lecturer Ben Saul writes about preserving academic freedom from political interference.

Tuesday, 19 August 2008 | No comments

« Older entries