Toblog

1. v. The act of writing a weblog or 2. n. Toby’s weblog.

TCSOTD 2007-07-26

Dan Hardie on the plight of the Iraqi translators: We can’t turn them away
Chicken Yoghurt follows up here
and a petition here

comp.risks 24.75

Essex electrosensitivity study results are out
… and they’re negative

Errors in the Encyclopædia Britannica that have been corrected in Wikipedia

Philip Johnston’s award winning essay on the UK Labour Government’s creepy surveillance police nanny state

Man told to leave home due to surfeit of books

TCSOTD 2007-07-16

‘Chastity ring’ girl loses case
… in case you missed it the first time here is an in-depth report into her links with the silver ring thing cause

Police raid three football clubs

New hope over ‘extinct’ echidna an egg-laying mammal

UK expels four Russian diplomats
… and suspends VISA facilitation

Metronet is facing administration

Twitter to facebook status ruby script

UPDATE 2007-09-30: You can now make the twitter facebook application update your status, so this is now redundant!

UPDATE 2007-09-09 (Cribbed from Christian’s site as I couldn’t put it any better): It is with great disappointment that I must make this announcement. Facebook has requested that I remove the code from my website. They have also contacted everyone else who has found my code and publicly mentioned that they are using it.

I am saddened at this turn of events because the idea behind the code was to extend Facebook’s current service and fill in the gap that their API had. The API still does not provide a means for updating ones status.

I’ve been wanting to update my facebook status with my twitterings for some time now. Unfortunately facebook do not provide an API for setting the status so I have been thwarted. Until now. Yesterday I accidentally found Christian Flickinger’s blog entry where he has found a way to update facebook status using php. At the end of his blog he writes:

Anyone with some experience could easily use the above code to check Twitter and (if updated) push to Facebook. Happy mashing!

I know how the twitter api works and I’m a big fan of ruby so I thought I would pick up the gauntlet and hack up a quick ruby script to do just that.

You’ll need to install the json and curb gems for it to work. Then copy and paste the below code into a file called fbTwit.rb in a suitable place on your unix box (it writes state down so you may want it in it’s own directory), edit the variables so that they are correct for your accounts, run it by hand to check it works for you and then set it to run every (say) 10 minutes via cron with something like the following in your crontab:

00,10,20,30,40,50 * * * * cd [directory]; ./fbTwit.rb 2>&1 > /dev/null

  1. Code removed at the request of facebook.

The quality of the code probably isn’t that great: it only took a short time to write, but it works (for me).

[2007-08-01] Yesterday this stopped working, along with the SSL login for m.facebook.com. I have changed it to use the http login which still works, although whether you want your password sent in the clear is up to you.

Published on 2007/07/13 at 11:50 by Toby, tags , , , ,

The restricted iPhone

Apart from the lack of 3g, the dire amount of storage and the lack of video, and the lock in to iTunes:

Apple is understood to be demanding that its European mobile phone partners hand over a significant proportion of revenues generated by the iPhone and restrict the content that users can access. [My emphasis added]

From: Vodafone put off by Apple’s demand for big iPhone slice.

Now, 3 tried this and look how successful they have been. Look, Apple / whoever the hell gets the bloody exclusive contract: give me access to what I damn well like or I’ll never ever buy your overpriced bit of hype.

Exclusive contracts are crap for the consumer anyway so I’m certainly not going to be moving from my current provider just to get it, even if I were sad enough to want it more than anything else in the whole world.

[hat-tip to Tim]

Published on 2007/07/06 at 16:15 by Toby, tags , , ,

Powered by Publify – Thème Frédéric de Villamil | Photo Glenn