Talk Nerdy To Me: Amazon EC2 backup pruning script

Update: here’s a text version without smartquotes. Download it, change the extension to .sh, and enjoy. Update 2: this is now on Github, go there instead As a followup to this previous post - a script that automates EBS snapshots on an Amazon EC2 server - here’s a bash script to prune the EC2 snapshots created by the other script. #!/bin/bash export EC2_PRIVATE_KEY={path to your AWS private key} export EC2_CERT={path to your AWS certificate} export JAVA_HOME=/usr/lib/jvm/jre

The end of exile

The old “About JRE” page text: Your editor is an FX options trader, exiled in sunny Singapore. JRE is finance, politics, economics, and a little bit of travel photography on the side. The new “About JRE” page text:  Your editor is a former FX options trader, now working in a San Francisco software firm. JRE is finance, politics, economics, and a little bit of travel photography on the side.

Talk Nerdy To Me: Amazon EC2 backup shell script

Update: right, here’s a new version of the script that doesn’t spew when you run it as root. Update 2: made the path to /sbin/service explicit so that mysqld goes down properly. Update 3: here’s a text version without the silly smartquotes. Download it, change the extension to .sh, and go nuts. Update 4: oh just go look at it on Github As you may have noticed from the intermittent downtime, I’ve been screwing around with the josh.

Mr Tan, Mr Tan, Mr Tan or Mr Tan - Singapore goes to the polls again

Update 2: as JRE exclusively predicted last night, the winner is Mr Tan! GIC chair Tony Tan scraped home late in the night, winning by just 7,000 votes out of 2.1 million. Tony Tan polled a total of 745,000 votes, which (thanks to @FakeSTCom for the gag) is still 745,000 more votes than S.R. Nathan ever polled. Update: at midnight Singapore time, we have a race on our hands! The @stcom Twitter feed is as good a source as any of “unofficial” (suuuure) leaked numbers; and their take is that it’s a dead-heat between PAP favourite Tony Tan and PAP-linked outsider Tan Cheng Bock, on about 35% of the vote each.

The front fell off again

Via Barry Ritholz: Aussie comedians John Clarke and Bryan Dawe (of “the front fell off” fame) discuss Greece’s debt problem: JOHN CLARKE: Well, they can’t pay their debts, Bryan. I mean, Greece owes 160 per cent of what it produces. I mean, the task is a Sisyphean task. It’s rolling a rock up a mountain. _ _ BRYAN DAWE: So Greece is insolvent? _ _ JOHN CLARKE: Bryan, put it this way: if it were a private company, there’d be a fire there on Saturday at about four o’clock in the morning.