Archive for the ‘software’ Category

Twitter status search / retweet with twitter4j at movethefuckon.org

Thursday, November 29th, 2012

Just a quickie - I spotted a recurring comment on the web, usually shortly after someone expressed upset at some past event (I think the recent examples were outrage that Mitt Romney lost the US presidential election and / or that Obama won). Readers were apparently convinced that sufficient time ...

Getting a multi-language page on a Chinese search engine

Friday, October 26th, 2012

I made a multi-language page for Lolyco.com recently that switches between language based on the Accept-Language header sent by the User-Agent or by setting a session variable. There's an English version (the default), a Malay version and a Chinese version. I've had sites online before that are aggressively crawled by ...

Making the skype: URI scheme work on Ubuntu/Debian for Firefox/Chromium etc

Friday, October 19th, 2012

Firefox doesn't know how to open this address, because the protocol (skype) isn't associated with any program I added some skype buttons to lolyco.com recently and seemed to hit a brick wall. While there seemed to be plenty of others running up against the same problem, I couldn't find a working ...

Cannot submit HTML form in mobile browser (Nokia/S40 “Response unknown”)

Tuesday, June 19th, 2012

A quick note, because this stole several hours of my life. I knocked up a little web application with a trivial web form which was CSS, cookie and javascript-free in the expectation that it would work even on elderly mobile phones, so long as they had a browser. It was ...

Look Ma, no files! Portable object persistence

Friday, August 19th, 2011

Originally posted at JavaProgrammingForums.com Where can I store my application data? I see a lot of people starting threads because they're struggling to persist (often) a little bit of data from one run of their Java application to the next. The offered solutions are often some kind of jiggery-pokery involving java.io.File. Not ...