Only ONE of us is the kind of person that goes up to guys with machine guns to ask what s happening. Me to Terah todayThey told me that it was the preparations for the opening ceremony for a global shooting contest, and also gave me directions to the bus stop.
It has been a while since I last
ranted about the Deutsche Bahn, our national train service
monopoly. Out of necessity, I ve since become one of their frequent
travellers. Together with the spiffy, silver card, I received a
pamphlet, in which the advantages of frequent travellers are
listed.
When I compare those advantages to
what was promised, I cannot help but notice quite a few
differences to my disadvantage. Since I refused to believe
that the Deutsche Bahn could be this stupid, I double-checked with
the service hotline, and I now have the information to report:
Last weekend Dennis M. Ritchie, creator of the C Programming Language, the UNIX Operating System, The Plan 9 Operating System and many other key contributions to computing, passed away due an extended illness. I learned about it yesterday trough Rob Pike, former dmr s colleague and friend.
I m writing this post to honor him and his legacy. While I ve seen people mourn his departure, I ve also noticed most technical people don t really understand why his work is important for today s computing, so I m here to give a refresh. Since I m good with visual tools (mindmaps) I ve made one to describe the extension of dmr s contribution to the world. You can get a glimpse of how this is important. The main topics are their key contributions, the sub-topics are the current technologies that were built upon dmr s work. Click on the image to see a larger resolution version.
The C Programming Language
Hello World,
Best said here Let not make the final statement and not a single newspaper cares " into a reality.
PS: Do check out Against Nostalgia, a great jab at Jobs.
In 1965, I was stationed at the Fleet Anti-Submarine Warfare Center in San Diego. I was a Radioman 2nd. Class in the USN, at the time. One evening, at our radio club station (W6DCM different license holder, now), I called CQ and got UA KKC (it s no longer around), with Ivan at the mic. After a time of the usual signal reports and such, we asked what each did in their lives I said that I was US Navy radio operator. He answered that HE ALSO was a Navy radio operator in the Soviet navy. Then we discovered that his station was at the SUBMARINE base at Vladivostok, and I of course was his DIRECT opponent. Yes we really DID laugh at that, and I shall never forget what he said (that I heartily agreed with): Thomas, isn t it shame that we re supposed to hate each other? Yes, Ivan, it is someday we ll share a vodka, da? Da , he replied.We re often told we should hate people. Messages I have heard on the media over the last 10 years have said we ought to hate illegal immigrants, CEOs, radical Muslims, the French, Iranians, Mexicans, presidents, UN diplomats, climate scientists, oil company employees, Chinese people, conservatives, liberals, religious people, atheists, and oh yes, still Russians. But I get to choose who to hate, and in fact, I choose NO HATE. Not only does it keep my stress level way lower, but it also lets me enjoy life more, and makes the world a better place. We can all talk to people in other countries and with other backgrounds and viewpoints so easily thanks to the Internet. Sadly we rarely have very deep online conversations to the point of getting to know people. For whatever reason, ham radio lends itself to that better. Even better: visit other places. I wonder how many people that say they hate some group of people have visited them and made an effort to make a connection? It is, after all, really hard to hate someone that is kind to you. Perhaps they re afraid to let go of their hate. Think also about this: for whom is it convenient if you hate people? There is usually a reason that hatred is stoked, and it doesn t usually lead to good things for individual people. Tom W0EAJ added:
I actually tried to locate him and the station, but both appear to have vanished. Ivan (his name was pronounced Eee-von) could have, it occured to me later, gotten into trouble for saying such things. I think both of us realized AT THE TIME, what an astounding counterpoint each of us was to the other. Proof that if it were left up to the simple little guys like us, and not to the politicians, we might actually pull off living in peace.
The issue
This morning (while I was running late for an appointement) I
had a very weird stuff happening on my Thinkpad T61 laptop. Since I
recently offered myself a shiny Thinkpad x201s, I have to admit I
don't use much my T61 anymore. But this morning I had to print a
page (for this appointement) and, as I didn't yet configured my
printer on the x201s, I went to the T61. But I noticed that the
network was down. I've tried quickly on wireless but, bad luck, my
current wifi setup selects the channel automatically and it prefers
choosing channels which aren't available in the US. Guess what, my
T61 comes from the US and has those channels completely disabled,
so no wireless available either.
The investigation
I first tried to
modprobe -r e1000e
modprobe e1000e
to see if it fixed the problem, but it didn't. Worse, the
interface disappeared and never reappeared. I tried to reboot but
it didn't fix the problem, the link was still down. Running really
late, I put the file on a usb key and printed it from the powerbook
and postponed the fix for later.
Now, this evening, I tried to investigate a bit more. Symptoms
weren't only that the nic wasn't working, but there was a high load
on the system (1-2 at idle), unresponsiveness every second or so,
and watching top I could see spikes of high cpu usage for the
kworker kernel thread. Typing that on google you can find a lot of
people running on this issue, usually starting around kernel 2.6.36
or 2.6.37. Now, I might have upgraded the kernel recently to
3.0.0-4, but that didn't look related since the problem first
appeared when the laptop was up and running. And I tried to reboot
under 2.6.39, 2.6.38 and even 2.6.32 and the problem was still
present. Each time, unloading the module would fix the problem, but
loading it again wouldn't make the interface reappear. People
advised to boot with pcie_ports=compat but that didn't do anything.
I tried to boot without intel_iommu=force (disable Intel Vt-d) and
pcie_aspm (Active State Power Management) but nothing either.
Considering a userland issue, I've tried to boot a grml live distro (always keep a grml.iso in
your /boot, extlinux-update will even put it in your menu
automatically), and the problem was still present. So not a Debian
kernel issue, not a userland issue, only thing left was the laptop.
I didn't update the Bios recently, so I wondered exactly what could
be the problem. I started to feel a little bad, since I still
really like that laptop, and that I already decided to lend it to
my sister since her own T61 is sitting with a dead system board in
my shelf. I know she might have some negative waves, but she was
not even landed when the problem first appear.
The fix
Then I had a flash. It's not mystery that I'm used to break network
cards, and I had the bright idea to shutdown the laptop,
disconnect AC and battery, then let it idle a bit. I even tried the
secret Thinkpad power button code but I think it's unrelated.
Then I re-plugged the battery, booted to grml and the issue was
gone. I rebooted on the standard Debian and the link was up,
network was working.
So what happenned?
The (tentative) explanation
My guess is that, somehow, the network card firmware has an
issue and choked on something (a network frame or an attack exactly
like the one we demonstrated on ASF firmware). In fact, no, I don't
think it's the e1000e firmware. My T61 comes with Intel vPro, which
includes AMT (Active Management Technology), a remote management
solution a bit like ASF but more advanced. As far as I know, AMT
firmware always runs, even when it's disabled, it's just completely
idle. Idle, but in this case I think it choked on something, and a
reboot isn't enough to restart the AMT firmware. But a real hard
reset without any power seems to do the trick.
What next?
Well, a part of me is pretty scared, but another is just bored.
I mean, we know about that, that's exactly the kind of issue we are
warning people of. I have no idea what exactly happened, and
there's no way I'll be able to reproduce that, but I'm pretty sure
it's something lying at a pretty low level in the platform, and
which can severely disable your workstation. Now if it happens
again I won't lose too much time on this.
TL;DR: helping other people
In case you came here because you searched on google terms like
kworker cpu usage , e1000e, interrupts, it might be a good idea to
first reboot on a live CD to eliminate installation issues, then
shutdown the laptop, remove the battery and let it few seconds
idle. This might be enough to reset something inside and fix the
situation.
Poor Sarah. Cat dramas always
seem to befall us when she's in Australia.
It looks as if Smudge has managed to escape the house. Being at work all
day, it took me 24 hours to notice.
Our friend Helen came over on Sunday night. Smudge was definitely around
then, because she was climbing all over Liam. Helen used the downstairs
bathroom before she went home, and I remember her having to shoo Smudge
out because she was in there. I'm pretty sure she went home after that. If
my memory serves, she saw herself out and I was in the kitchen cleaning up,
so my current theory is that she escaped when Helen left.
On Monday night, I had a lengthy video call with Sarah, who was at my
parent's place setting up their new Mac Mini. I didn't realise until after
that, when I was about to go to bed, that I hadn't been harassed by Smudge
all evening. So I searched the house that night, and couldn't find her.
Liam had already gone to bed for the night, so I hoped she was stuck in his
room, and went to bed too.
This morning, Liam and I both searched the house, and the immediate
surrounds, without any luck. I called the Palo Alto Animal Services (I got
the dispatch because the shelter hadn't opened yet), emailed
the local neighbourhood
association, and went to work.
I called Palo Alto Animal Services again later in the day to report her
missing to the shelter itself, and Betty-Ann there recognised my accent and
name and asked me if I was Sarah's husband (Sarah used to volunteer there a
lot, and we adopted Smudge from there), so they're now keeping a look out.
Smudge is micro chipped, but wasn't wearing a collar. She's allowed in the
back yard, because it's totally enclosed and can't escape, so she shouldn't
be totally freaked out by being outdoors. Whenever she does escape out the
front door, she usually makes a beeline to the right, which is mostly
enclosed, but she can certainly get out of the complex. Unfortunately she
often doesn't come when called, so for all I know she's in some obscure
location 10 metres from the front door and I can't see her.
My main concerns are that we're only two blocks from Highway 101, so if she
does stray too far, she could get into serious trouble, and I'm also a bit
worried about raccoons giving her grief.
I spent some time tonight putting up posters in the immediate area and
poking around bushes. I've left the two humane cat traps that we have out by
the front door with some cat food in them, in the hope that she's roaming
around and will walk into one of them.
Oh and the other big concern I have is that Halloween is coming up.
Shelters tend not to adopt out black cats around Halloween because bad
things can happen to them.
So now we wait. I'm really hoping she turns up safe and sound, soon.

# apt-get install pcscd gnupg-agent gpgsmThe above command should install and start
pcscd and if all works well, you should be able to check the status of the smartcard using GnuPG.
# gpg --card-statusYou need to initialize the smartcard and generate a private key on it, again using GnuPG. If you trust GnuPG more than the smartcard to generate a good private key, you may generate the private key using GnuPG and then move it onto the smartcard (hint: use the
keytocard command). Make sure you don t leave a copy of the private key on the same machine!
# gpg --card-edit
gpg: detected reader Gemalto GemPC Key 00 00'
...
gpg/card> admin
Admin commands are allowed
gpg/card> name
Cardholder's surname:
Cardholder's given name: host.example.org
gpg: 3 Admin PIN attempts remaining before card is permanently locked
Please enter the Admin PIN
gpg: gpg-agent is not available in this session
gpg/card> lang
Language preferences: en
gpg/card> generate
Make off-card backup of encryption key? (Y/n) n
Please enter the PIN
What keysize do you want for the Signature key? (2048)
What keysize do you want for the Encryption key? (2048)
What keysize do you want for the Authentication key? (2048)
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) y
You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"
Real name: host.example.org
Email address:
Comment:
You selected this USER-ID:
"host.example.org"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: existing key will be replaced
gpg: please wait while key is being generated ...
gpg: key generation completed (33 seconds)
gpg: signatures created so far: 0
gpg: existing key will be replaced
gpg: please wait while key is being generated ...
gpg: key generation completed (18 seconds)
gpg: signatures created so far: 1
gpg: signatures created so far: 2
gpg: existing key will be replaced
gpg: please wait while key is being generated ...
gpg: key generation completed (23 seconds)
gpg: signatures created so far: 3
gpg: signatures created so far: 4
gpg: key 12345678 marked as ultimately trusted
public and secret key created and signed.
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
pub 2048R/12345678 2011-09-19
Key fingerprint = 1234 5678 1234 5678 1234 5678 1234 5678 1234 5678
uid host.example.org
sub 2048R/23456789 2011-09-19
sub 2048R/34567890 2011-09-19
gpg/card> quit
#
Now for the interesting part. OpenSSH talks to an agent for private key handling, and GnuPG s gpg-agent supports this protocol when the --enable-ssh-support parameter is given. During startup, gpg-agent will print some environment variables that needs to be set when ssh is run. Normally gpg-agent is invoked by the Xsession.d login scripts, so that the environment variables are inherited by all your processes. However, for an unattended machine without any normal login process, we need to write a script to start gpg-agent. First do these manual steps, to confirm that everything works.
# gpg-agent --daemon --enable-ssh-support > /var/run/gpg-agent-info.env # . /var/run/gpg-agent-info.env # ssh-add -L ssh-rsa AAAAB3N... cardno:000500000BD8 #If the final step printed a SSH public id, the (sometimes) tricky part in getting the hardware to work is (hopefully) complete. What remains is to script things so that
gpg-agent is started on boot and to make sure that your backup scripts has the proper environment variables before launching whatever processes will launch ssh. Further, since we will be running unattended, we need a mechanism to unlock the smartcard using a PIN interactively once on each boot of the machine. I prefer manually entering the PIN on every boot over having the PIN stored in a file on the disk.
I will use the /etc/rc.local mechanism to start gpg-agent, like this:
# cat> /etc/rc.local
#!/bin/sh -e
exec gpg-agent --daemon --enable-ssh-support \
--pinentry-program /usr/local/sbin/pinentry-unattended \
--write-env-file /var/run/gpg-agent-info.env
^D
The astute reader will now ask what /usr/local/sbin/pinentry-unattended is and why it is needed. Now here is the situation. scdaemon will normally query the user for a PIN using a tool called pinentry which reads and write to the user s TTY directly. This won t work in unattended mode, so we want the scdaemon to signal failure here unless we are actually unlocking the smartcard manually. Here is the entire script:
#!/bin/sh
# /usr/local/sbin/pinentry-unattended -- by Simon Josefsson
if test x"$PINENTRY_USER_DATA" = xinteractive; then
exec pinentry "$@"
fi
exit 1
What remains is a script to unlock the smartcard by providing the PIN. This is typically invoked manually if the server has restarted for some reason. Don t worry, any ssh sessions invoked by cron until you have managed to unlock the smartcard will fail with an authentication error it won t hang waiting for a PIN to be entered.
#!/bin/sh
# /usr/local/sbin/unlock-smartcard -- by Simon Josefsson.
. /var/run/gpg-agent-info.env; export GPG_AGENT_INFO SSH_AUTH_SOCK SSH_AGENT_PID
gpg-connect-agent 'scd killscd' /bye > /dev/null
while ! gpg-connect-agent 'scd serialno' /bye grep -q SERIALNO; do
sleep 1
done
PINENTRY_USER_DATA=interactive
export PINENTRY_USER_DATA
checkpin
And the script checkpin is as follows:
#!/bin/sh # /usr/local/sbin/checkpin -- by Simon Josefsson. id= gpg-connect-agent 'scd serialno' /bye head -1 cut -d\ -f3 gpg-connect-agent "scd checkpin $id" /bye grep -q OKAt this point, you should have everything configured and installed. Don t forget to
chmod +x the scripts. The typical use-pattern is as follows. After the machine has been started, gpg-agent is running but the smartcard is not unlocked with the PIN. You need to manually login to the machine and run unlock-smartcard and enter the PIN. In the script that runs the backup jobs, invoked via cron, make sure that the first line of the scripts reads (assuming Bourne shell script syntax):
. /var/run/gpg-agent-info.env; export GPG_AGENT_INFO SSH_AUTH_SOCK SSH_AGENT_PIDTo avoid needlessly attempting ssh connections if the smartcard is not unlocked, your backup script can also call the
checkpin code and abort if it doesn t return true.
checkpin exit 1Some final words about debugging. A basic command to run to check that the GnuPG side is working is
gpg --card-status, it should print some information about the smartcard if successful. To check that the SSH agent part is working, use ssh-add -L. If you get error messages, try killing the scdaemon process by running killall -9 scdaemon and let gpg-agent respawn a new scdaemon process.
That s it! If you like my writeup, please flattr it.
This morning, when turning on TV, my ears have been yet another time hurt by the stupidity of a self-appointed economist, trying to intoxicate people with his fantasies about economy being able to regulate itself.
Seriously. All neoliberals, please shut the fuck up. Now.
The world has been running out of your ideas for more than 30 years. We lowered salaries and taxes, making the world run through credit. We gave everything to those who were already born with everything. Economy was almost brought to the verge of implosion thanks to your crazy ideas. For 4 years since the subprimes crisis, you psychopaths have kept on explaining it happened because we have not listened to you enough, and that the solution is to lower salaries even more. A quick look at the situation in Greece and UK should be enough to understand where this is going.
It is time for something new. So shut up now, and let others fix the mess you have left behind.
I was expecting to write more about the 7th Rugby World Cup, but real
life, Debian work and running activities prevented me to do so..
Still, I watched several games and I can share my feelings now.
First of all, this is a tremendous organization from New Zealand. It
seems that about the entire country is working on making this even a
great success and I really appreciate to see a place I certainly have
to visit some day receiving such wordlwide attention (OK, admitedly,
mostly in the part of the world that understands rugby).
First round already gave several surprises even if the 1/4 finals were
after all kinda expected (at least, the list of countries).
A month ago, I published an article on the compared
performances of stunnel, nginx and stud as SSL
terminators. The conclusion was to use stud on a 64-bit
system, with session caching and AES. stunnel was unable to
scale properly and nginx exhibited important latency issues.
I got constructive comments on many aspects. Therefore, here is the
second round. The protagonists are the same but both the conditions
and the conclusions have changed a bit.
If information is initially signed in 2009 and needs to remain secure for a maximum of ten years (i.e., from 2009 to 2019), a 1024-bit RSA key would not provide sufficient protection between 2011 and 2019 and, therefore, it is not recommended that 1024-bit RSA be used in this case.And the protagonists are:
--disable-libwrap
--with-threads=pthread (configuration),--with-http_ssl_module
(configuration).off both multi_accept and accept_mutex thanks to the
feedback of Maxim Dounin on latency issues that were present in
the previous article (and still present in the early version
of this article).
HAProxy (configuration) is used for
stunnel and stud to add load-balancing.
For each test, we want to maximize the number of HTTP transactions per
second (TPS) while minimizing latency and unsucessful
transactions. The maximum number of allowed failed transactions is set
at 1 transaction out of 1000. The maximum allowed average latency is
100 ms2.
I solved it! You compiled stunnel against a 4 years old OpenSSL with
MT-unsafe SSL_accept. Upgrade OpenSSL and rebuild stunnel. This
bug was fixed in OpenSSL 1.0.0b. I implemented a (slow) workaround,
so stunnel doesn t crash with earlier versions of OpenSSL.
Therefore, I backported Ubuntu Oneiric OpenSSL 1.0.0e
to Ubuntu Lucid3 and, as you can see yourself on the plot below,
there is a huge performance boost for stunnel: about 400%! stud
features a slight improvement too (about 8%) but still starts with a
latency of 40 ms while nginx does not improve.
This is essentially a collection of assembler modules from development OpenSSL branch, packed together as a standalone engine. Standalone means that it can be compiled outside OpenSSL source tree without patching the latter. Idea is to provide a way to utilize new code in already released OpenSSL versions constrained by support and release policies limiting their evolvement to genuine bug fixes.Alas, in my tests, there was no improvement compared to OpenSSL 1.0.0e (already patched with AES-NI support). stunnel comes with out-of-the-box support for additional engines. Just add something like this to your
stunnel.conf:
engine=dynamic engineCtrl=SO_PATH:/WOO/intel-accel-1.4/libintel-accel.so engineCtrl=ID:intel-accel engineCtrl=LIST_ADD:1 engineCtrl=LOAD engineCtrl=INIT
ssl_engine.
| Context | nginx 1.1.4 | stunnel 4.44 | stud @e207dbc5a3 |
|---|---|---|---|
| OpenSSL 0.9.8k | 1489 TPS | 400 TPS | 1492 TPS |
| OpenSSL 1.0.0e | 1501 TPS | 1561 TPS | 1609 TPS |
| OpenSSL 1.0.0e + IPP | - | 1101 TPS | 1857 TPS |
| OpenSSL 1.0.0e + HT | 1718 TPS | 1973 TPS | 1694 TPS |
Our friends Andrew and Janice finally tied the knot last Sunday, in
Langkawi, Malaysia.
They're Aussies currently living in New York, and Janice is of Malaysian
descent, so I think part of the reason was to accommodate some Malaysian
relatives that wouldn't be able to travel, and the other reason was that it
was going to mean a bunch of people had to travel anyway, so why not travel
somewhere a bit exotic?
As my sister is getting married later this month in Brisbane, we decided to
spare Zoe two massive international flights in close succession, and Sarah
and Zoe flew out a few days ahead of me, and went to Brisbane, and then Zoe,
Sarah and her mum flew to Langkawi from there, and I flew there from San
Francisco, with the plan being for Sarah and Zoe to hang out in Brisbane for
the 4 weeks in between weddings.
It was the longest amount of travel I think I've ever done. I hadn't sat
down and calculated what the travel time was beforehand, and when I got on
the flight from San Francisco to Hong Kong, and they said it was going to be
nearly 14 hours just to Hong Kong, I nearly wept. The only good
thing about it was I didn't have to wrangle a toddler as well.
From there, I had to get to Singapore, with a several hour layover, and then
another flight from Singapore to Langkawi. I left SFO at 1:20am on Monday
morning, and finally arrived at about 7am (San Francisco time) the following
day.
I didn't even bother getting off the plane in Hong Kong, it was only an hour
and a half layover. I think the layover in Singapore was 5 hours, and it was
a separate flight. Singapore airport at least was pretty good to kill time
in.
It was funny, I was reading Wired while I was killing time in Singapore, and
they had an article, which included a side bar on 10 Best
Airports to Get Stuck In, and I observed that getting to Langkawi and
back involved using 4 of them.
The flight into Langkawi was more eventful than usual. I was dozing a bit as
we were coming in to land, and I woke up to the sensation of taking off
again. I wondered if we'd had an aborted landing? Sure enough, soon after,
the captain got on the public address and said that they'd had to abort the
landing due to bad weather in Langkawi. He had pretty bad Engrish, thanking
us for our frustration and saying something about fuel, so I didn't get a
lot of the details. We proceeded to circle for a while before finally
landing. I think the flight ended up landing something like an hour or more
later than scheduled. So that was mildly exciting. Langkawi airport was one
of those little "walk across the tarmac" places. I think I stood the closest
to an operating jet engine that I ever have, as another aeroplane taxied in
to a stop between my plane and the terminal while I was walking to it. Loud.
Anyway, that was all just me getting there. Sarah had a bit of fun getting
to Brisbane on her own with Zoe. She's now too long to sleep in an in-flight
bassinet, and doesn't seem to like sleeping vertically in the Ergo Baby
Carrier (possibly she was too hot in it). I think she got a bit of sleep
lying across Sarah's lap, but Sarah didn't get much sleep. I think there was
similar fun for the Brisbane to Kuala Lumpur flight, but at least she had
two laps to lie across for that one. Sarah, Zoe and Sarah's mum arrived in
Langkawi earlier in the day on Tuesday, and I made it to the resort at about
10pm (local time) and pretty much immediately crashed for the night.
The Westin
Langkawi was just fabulous. I don't think we've stayed at a resort since
our honeymoon, and this resort was a whole other level compared to Heron Island.
The rooms were very comfortable, and the resort was very accommodating of a
toddler. Their Kids Club menu was excellent. The breakfast buffet (included
in our room rate) was the most comprehensive breakfast buffet I have ever
seen in a hotel. The only thing missing was bacon, being a Muslim country,
but I can live without that. It was pretty easy to just fill up on
breakfast, skip lunch and just have a light dinner. The on-resort dining
prices were also very reasonable. The off-resort prices were even cheaper.
The resort facilities in general were very comprehensive. Three pools. A
children's play room. A well equipped gym and recreational area including
squash courts. An extremely nice day spa.
The thing I liked best about the whole destination wedding thing was all of
the activities leading up to the actual wedding. The wedding was on the
Sunday, and we had the Hen's and Buck's parties on Friday. Apparently
Australia is the only place that calls it a Buck's party. The rest of the
world calls it a Stag party, how about that? There was some last-minute
changes to the Buck's party, and we ended up chartering this huge $2 million
yacht for 4 hours and going for a cruise and doing some jetskiing and water
sports. The captain was Aussie, so we all had a good chat with him.
Apparently it's a corporate vessel, with an exclusive chartering arrangement
with the Westin.
On Friday night, we all went out to a seafood buffet dinner at the Yellow
Cafe over at Cenang Beach. Most of the guys and girls already knew each
other courtesy of the day's activities, so dinner involved a lot of meeting
the other halves.
What I really liked about all of the pre-wedding stuff was that by the time
the wedding rolled around, you really felt like you knew a bunch of Andrew
and Janice's family and friends, which I think made the whole thing feel a
lot more intimate.
Saturday was a recovery day. Sarah's aunties Glenda (who was in Singapore on
business) and Vicki (who lives in Thailand) had joined us at the resort by
this stage, so we were all knocking around together checking out the island.
We took the cable car to
the top, but unfortunately the sky bridge was closed due to the inclement
weather.
There was a lot of touristy stuff at the bottom of where the cable car was,
and Zoe got to have an encounter with a very large python. She even tried to
give it a kiss.
One of the things that was surprising was how popular Zoe was with all of
the locals and other Asian tourists. We could probably have charged for
photographs. There was a little girl, who I thought was possibly a similar
age to Zoe (turned out she was two and a half) and I asked her parents if I
could take a photo of the two girls together, and no sooner had they sat
down together and a virtual paparazzi materialised out of nowhere taking
photographs. Similarly, all of the staff at the Westin were totally taken by
Zoe, and wanted to touch her. To her credit, Zoe handled all of the extra
attention pretty well.
The wedding wasn't until 6pm on Sunday, so we did a 4 hour island hopping
boat tour in the morning. That was a bit of an experience. It was nothing
short of sheer bedlam trying to board the right boat at the wharf (I use the
term lightly) and then the boat's captain had to arrange the passengers
appropriately so as to keep the boat on an even keel. It was a narrow motor
boat with a canopy cover over the back two thirds of it.
First stop was Dayang Bunting Island, home of Pregnant Maiden Lake, where we
stopped for 45 minutes. More bedlam ensued getting off the boat at the wharf
there (there was veritable flotilla of tour boats all trying to load and
unload at the same time). Monkeys abounded. They seemed incredibly tame. We
were practically tripping over them. Zoe didn't seem to be as taken by the
monkeys as I thought she would. It was a short walk up a reasonable flight
of stairs to get to the lake, though some incredibly humid jungle, and once
we got there, there wasn't a huge amount to do in the time we had available.
So we dunked Zoe's feet in the lake a few times and then made our way back
to the chaos at the wharf and got back on our boat.
We stopped for a similar amount of time at another island with a pretty nice
beach, and Zoe had enough time to a quick swim in the ocean with Sarah, and
then we made our way back to the boat again to another spot where we watched
sea eagle feeding. Heaps of eagles circling overhead would take turns to
swoop down and grab fish and fly off again. It was impressive. I think I
managed to snap some good action shots with the long lens.
Then we had the wedding itself. It was on the beach out the front of the
Heavenly Spa on the resort. Let me say, the Westin knows how to put a
wedding together. The ceremony was as lovely as the location.
For the reception, the one 5 bedroom villa on the resort was booked for the
night. Dinner was a buffet on the lawn out the front (briefly delayed thanks
to a rain shower) and then speeches and general partying happened around the
terrace out the back of the villa. There were some beautiful speeches.
Janice's brought a tear to my eye. Part of the whole package included
something like a 10 person video crew that were running around capturing
everything. It felt a bit surreal. It was definitely the most high-end
wedding I've ever been to (sorry Scott and Julie, your "Wedding of the
Century" has been eclipsed by the "Wedding of the Millennium").
Monday was a wind down day. Zoe mercifully gave us a sleep in until 8am.
Our flights didn't leave until the evening on Tuesday, so after we checked
out we went for a drive around the island to try and get Zoe to take a nap
in the car. We ended up at the fruit
farm, which to the best of my understanding is run by the government.
Zoe had fallen asleep by this stage, and Sarah said she'd stay behind in the
car and have a nap too. So her mum and I went on the tour. It was a fun
little tour. There were only four of us on it. They drive you around the
farm on the back of a truck and show you the various crops they have. They
stop at a few places and give you a bunch of fruit samples, attempt to
answer your questions, and take funny pictures of you. The favourite seemed
to be to dangle a fruit on a knife up close in front of the camera while
having the subject(s) in the background look like they're carrying an
enormous fruit.
We got back to the car to an upset Sarah and small group of locals milling
around. Sarah had managed to lock Zoe in the car for about 30 minutes when
she got out to make her a sandwich after Zoe had woken up from her nap.
Fortunately the engine was running and the air conditioning was on, so there
was no risk of Zoe overheating (on the contrary, she was a bit on the cool
side). Some kind locals had somehow figured out which car rental company to
call (it's possible there's only one) and someone came out with a spare key,
so the crisis was averted just before we got back to the car. It's the first
time Zoe's been locked in the car (it's pretty much impossible in the Prius)
and it was just our luck that it'd happen in a foreign country!
One of the saddest things about Langkawi was the amount of garbage floating
around in the ocean, and washing up on the beaches. I was swimming in the
ocean off the yacht while we were out on the Buck's party, and it was
disgusting. The jetski was temporarily disabled due to sucking in something.
We visited Black Sand Beach, which was supposed to be something of a tourist
attraction. Covered in trash. Ian Kiernan would be
sad. The captain of the yacht we were on for the Buck's party said it was
all from Thailand and got flushed out of all the rivers and streams by the
recent rain. Just goes to show how connected everything is.
The house is very quiet without Sarah and Zoe, but my friend Liam is
visiting from Zurich for a couple of weeks, so that's helping break the
silence. I'm using the time to get a heap of things done that I don't
otherwise get time to get done.
Unfortunately the photos from the trip are only available on Facebook at the
moment, but they'll eventually get uploaded here.
Factis research has hired me to make sure their code gets contributed back to the Haskell community. As a first step, I have followed a request of someone in the audience of Stefan Wehr s talk at HaL 6 and prepared stm-stats seem my post at the factis research blog about that. mplayer -vf cropdetect -monitoraspect 16:9 dvd://1The previous line is followed by the usual MPlayer header and output. The film should start playing and after a few seconds you can press q (just wait until the detected values stop changing). Now there should be a few lines looking like:
[CROP] Crop area: X: 0..719 Y: 76..499 (-vf crop=720:416:0:80). A: 1.5 V: 1.5 A-V: -0.000 ct: -0.018 38/ 38 5% 7% 1.0% 0 0 [CROP] Crop area: X: 0..719 Y: 75..500 (-vf crop=720:416:0:80). A: 1.6 V: 1.6 A-V: -0.000 ct: -0.018 39/ 39 5% 7% 1.1% 0 0 [CROP] Crop area: X: 0..719 Y: 75..500 (-vf crop=720:416:0:80). A: 1.6 V: 1.6 A-V: -0.000 ct: -0.018 40/ 40 5% 7% 1.1% 0 0
mplayer -vf crop=720:416:0:80 -monitoraspect 16:9 -aspect 4:3 dvd://1
Next.