2008.05.31

2008.05.29

Followup: vEvent and BarCamp 2008-05-29T15:30:23ZTitled entry permalink

Thanks to Cathy for writing up BarCamp North East (and the link was nice). The event was also written up for the business section of Newcastle newspaper The Journal. See photos of dead tree edition - 1, 2, 3.

I spoke on Tuesday at the Microformats vEvent, along with Dan Brickley. I spoke for just over half an hour (with questions) on the topic of GRDDL, a great Semantic Web technology that you can and should be using now. I will be pushing the slides out this weekend. I may be giving a repeat performance at BarCampLondon4, so if you missed it on Tuesday, you can get it this weekend instead.

I'll be at Geek Dinner this evening (although I'll be unencumbered by laptop, and probably won't be reading Twitter or FriendFeed). Hope everyone is having fun at @Media (a name that seems purposefully designed to break Twitter's reply feature).

2008.05.26

Fact-value distinctions 2008-05-25T23:13:05ZTitled entry permalink

An acquaintance invited me to join the Facebook group titled The word "gay" is not a synonym for "stupid". If this is a normative statement, I agree. But I cannot. I do not believe that "is" ought to be a synonym for "ought". The word "gay" ought not be a synonym for "stupid", but it has become one. If I were editing someone's writing and they used the word in that usage, I would correct it. The word "is" serves a number of roles - existence (e.g. "God just is!"), predication (e.g. "John is left-handed") and identity (e.g. "But that man is the Pope!"). But I do not believe that is and ought should be confused. I believe Paris is in France. I believe China ought to conform to international human rights expectations.

Not following this principle can lead to madness like "God says the Earth is 6,000 years old, and so it is". Sorry to burst the bubble, but the Earth is significantly older than that. I do not think that water boiling at a hundred degrees centigrade is immoral or unjust - it just is. A polygamous person who says they "don't believe in monogamy" does not claim that monogamy does not exist, they think that it's not the only way or perhaps not the best way to a fulfilled life. Is-ought distinctions are everywhere.

Gay ought not to be a synonym for stupid, but it is. Ought out not to be a synonym for is, but it is. We should fight to change both, but we do that not by claiming that they are not, but rather that they ought not.

Does this mean that I'm a Humean regarding facts and values? I'm not necessarily convinced about that. I certainly agree that is/ought is an important distinciton. I have seen some philosophers question the fact/value distinction, claiming that hypothesis selection for scientific investigation is based on value judgements. Call me flippant, but so what? That only seems to show that people make 'is' statements based on an inner subjectivity. I'd like to be wrong about fact/value distinctions - I want to see the reasoning for conflating the two. If there were no things in the world that have any kind of moral duty or perception, then there would be no experiences that would be required for the convictions that lead to "ought" statements appearing. There would be experiences that would - if humans were to exist in such a world - lead to "is" statements.

If you agree, perhaps you'd join the Facebook group The word "is" ought not be a synonym for the word "ought".

2008.05.24

2008.05.23

New Oxford Street, London, EnglandMichael S. Hyatt: One of my pet peeves is people who pontificate on new technologies but have never actually used them. This is particularly annoying-but common-among CEOs. 2008-05-23T19:57:46ZUntitled entry permalink

New Oxford Street, London, EnglandHow to get a FireEagle invite. You can bug me IRL too - I've got a few to give away. 2008-05-23T19:49:30ZUntitled entry permalink

Malet Street, London, EnglandA few incitements to drama academe: Newcastle's reader in evolutionary psychology says working class people have lower IQs, thus justifying current admissions policy, and a nice book review on an Afrocentrist tome, citing Black Athena, in case the claim of the Alexandrian origin of the philosophy of Aristotle needed any further debunking. Then, of course, Bush, neoconservatism and the decline of public intellectuals. Then there's McCain pulling away from the Hitler-loving Hagee, as if that'll make a difference. Bugger it all, I'm off to Starbucks to read a big book about epistemology. 2008-05-23T16:52:16ZUntitled entry permalink

Hagee: Hitler is saviour sent by God 2008-05-22T23:05:04ZTitled entry permalink

Watch this clip from Keith Olbermann. It's about how Rev. Hagee thinks that Hitler was sent by God to kill the Jews so that the Jews could then create the state of Israel so that the prophecies in the Book of Revelations can happen and all the born again Christians can get raptured to the pearly gates. Don't laugh. The Rapture was George W. Bush's Iraq exit strategy, although they've been a bit stumped when it just plain refused to happen. Seems like a perfect endorsement for McCain.

Hitler - under this crazy theory - is a messanger sent by God, equivalent to Judas. He is a force for good, according to Hagee. He may deny it, but that is the only way one can really read this idea - that the Holocaust was just an inevitable part of God's salvific plan.

For readers this side of either the Atlantic or in some godless European outpost like New Haven or Harvard Square, may I remind you that 59% of the American public believe that the events predicted in the Book of Revelations will happen (source).

But, of course, in writing this, no doubt I'm just exposing my - oh, what's it called? - atheistismistic fundamentalism! We should be focusing on happy, friendly religious people like the Archbishop of Canterbury, and not crazy, off-the-wall people like Hagee. Rowan Williams is the true and honest face of Christianity, while Hagee is a fringe element who has managed to sneak in and become the preferred voice of God for John McCain, a man who could possibly be President of the most powerful nation in the world in less than a year. Any discussion of this is just a sign of being a nutty, illiberal atheist who eats babies in his spare time.

FOICamp 2008-05-23T15:01:10ZTitled entry permalink

I've put up a wiki page for FOICamp - FOI being Freedom of Information. The idea is that a bunch of people get together for a day in that lovely city of London to work collaboratively on finding new ways to get access to government data. This means at the very least sending out at least a few megabytes worth of Freedom of Information Act requests to all the agencies you can think of, but also possibly thinking about data structures to better represent information of public interest, and bootstrapping ideas to make governments, public services and the like more accountable to citizens.

If you are interested, please add yourself to the wiki. If you don't understand how to do that, you can post a comment or send me an e-mail and I'll add you.

Currently, the plan is one day in July or August, in central London. Maybe if there are people elsewhere who want to run one simultaneously, that'd be great. It'd be even more amazing if we could see if we could set some kind of record for sending out FOI requests. And it's not just UK-based - maybe if there are people in countries with similar FOI or data protection laws, we could all work in concert to free up government information.

What issues, then? It's up to you. Everyone has things that concern them - health, education, crime, policing, immigration, housing, social services, welfare, 'meta' politics, business, regulation, libraries, museums, culture, homelessness, war, peace, religion, intellectual property - pick an issue, figure out where we have a shortage of reliable and useful data, get together with others and start sending out requests.

I'll be at BarCampNorthEast in Newcastle tomorrow, so if you are there, feel free to pull me aside and tell me that it's a stupid idea and you've got a way to make it so much cooler.

London, England

2008.05.22

Tobacco company Phillip Morris is negotiating a research contract with Virginia Commonwealth University that would not allow it to publish negative research about the company or it's products. Look forward to new reports from the university entitled things like "Why Smoking Is Good For You: An Interview With Troy McClure". Fortunately, philosophers don't often get bribed by large corporate interests, although they do sometimes become apologists for the Catholic Church and other political parties. 2008-05-22T13:21:08ZUntitled entry permalink

The New York Times reports that there are fewer conflicts involving child soldiers. That's some good news in this dark world. 2008-05-22T13:13:07ZUntitled entry permalink

2008.05.21

Domain name registrar: a simple business plan 2008-05-21T16:29:51ZTitled entry permalink

I fucking hate GoDaddy. The site is terrible. It's been designed purposefully with idiots in mind. The pages take what feels like weeks to download, and are so filled with clutter to be unusable.

When a domain name comes up for expiry, they seem to send you an e-mail about every week for the preceding three months telling you that your domain is about to expire. You think to yourself "Fine, I don't need that domain name anymore - I'll just let it expire". Then you get home to an e-mail from GoDaddy telling you that it isn't going to expire, and that they've renewed it for you and taken the money out of your PayPal. Wait a second. If you are going to renew it for me anyway, why the fuck do you have to send me reminder notices telling me that my domain is about to expire? Make your minds up! If I wanted to renew the domain, I would ahve done it. I know now that I needed to have changed the "Auto-Renew" option on the website, but the e-mails were so filled up with crap marketese that this point is not made clear.

And every time you do anything, they send you this horrible, bloated HTML e-mail telling you that you've changed something. It looks like shite in mutt.

Every page of their website looks like it was put together by someone different. The domain pages look different from the sales pages, and those look different from the My Account pages. The website is just filled to the brim with pointless shit. In the My Account page, there's all sorts of crap about 'GoodAsGold' - what the fuck is that and why should I care? Ad Credits, AccountExec, Downloads, Buyer Profiles. I don't care. The really hilarious bit is that they even have a thing in the My Account area where you can sign up to be a tester to help improve their 'user experience'. What a joke. As if GoDaddy gives a shit about user experience - their site proves otherwise.

At the top of the page there are tabs for Domains, Hosting Plans, Site Builders, SSL Certificates, Business, Email, Domain Auctions and Reseller Plans. Each of those has a ton of options underneath them - everything from 'blogcasts' (wtf?) to 'Traffic Blazer' (which sounds very shady and SEOish). Each page must have something like a hundred navigation links. It's a case study in how not to build a website.

Here's how I'd prefer to have it. You go to a website, login with your OpenID and it'd have two options - "buy domain names" and "manage existing domain names". That'd be it. To solve renewal, you could do it in a few simple ways - have it so that people can get a periodic e-mail telling them when their domains are expiring and how to renew them, or you could get an RSS/Atom feed listing all the changes to your account, or maybe an iCal feed. When you buy the domain, it should ask you whether you want the site to auto-renew it, and if you do, how you want to pay for it. If you don't want to auto-renew it, maybe in the e-mail it should have a link that you can click that does very quick renewal. It should be no harder than clicking the link, logging in (OpenID, again) and pressing "Renew".

They'd have a really simple API so you could have widgets and gadgets and all those kind of nice things so you could see what's going on with your domain names. Each domain would be accessible by going to a URI path like "/domains/tommorris.org/forwarding" or "/domains/tommorris.org/renew", and there'd be a really simple, well-designed, clean web page that'd show you all the options.

And it would only do one thing - domains. No hosting or e-mail or SSL certificates or Quick Blogs or BlogCasts or TrafficWhiz or whatever the fuck the latest thing that cosmically inconsequential SEO types want. Just let me buy and manage domain names with no fuss. If GoDaddy is the Enterprise Java Bean, I want the equivalent of the well-crafted bash script.

If such a site exists, please tell me. I'm really fed up with GoDaddy. It's cheap, and it looks it. I have no time for poorly designed websites anymore. If your site sucks, I will stop using it. That is all there is to it.

2008.05.18

Demand.OpenID.net is a new service that lets you mark sites that you want to support OpenID. I've added a few. Wikis are a big one for me, and forums. 2008-05-18T22:13:01ZUntitled entry permalink

2008.05.17

Washington Post: The U.S. government has injected hundreds of foreigners it has deported with dangerous psychotropic drugs against their will to keep them sedated during the trip back to their home country, according to medical records, internal documents and interviews with people who have been drugged. WTF? Seriously? I don't want to believe it, but it's no longer surprising. 2008-05-17T10:03:21ZUntitled entry permalink

The last eight years of American politics has been so unreal that even McCain is an improvement. Although before America goes imitating Prime Minister's Questions, you may want to watch a few. They are hardly a great advertisement for parliamentary democracy. 2008-05-17T09:57:08ZUntitled entry permalink

The Freethinker has a brilliant interview with Ophelia Benson. 2008-05-17T09:48:07ZUntitled entry permalink

Obama: I won't enforce medical marijuana laws 2008-05-17T09:46:22ZTitled entry permalink

Obama sez: I think our federal agents have better things to do, like catching criminals and preventing terrorism. The way I want to approach the issue of medical marijuana is to base it on science. And if there is sound science that supports the use of medical marijuana and if it is controlled and prescribed in a way that other medicine is prescribed, then its something we should consider.

Ah, sanity from a presidential candidate? The ability to talk about marijuana without rabid froth appearing in the mouth of the speaker? I'm really starting to like the guy.

Only, the Republicans object on the basis that he is sacrificing his constitutional duty to uphold the law. That's rich. Isn't the Constitution just a goddamn piece of paper which you can undermine through signing statements and in attempting to undermine freedom of speech, the right to a fair trial, habeas corpus and other essential freedoms. If it's a choice between not enforcing fundamental civil liberties and not enforcing medical marijuana laws, oh boy does America need Obama.

Using Git for application preference tracking 2008-05-17T14:49:26ZTitled entry permalink

My parents are using Git. Only, they don't know it. They use Apple's Aperture, a professional photo management tool for the Mac. But one point of irritation is that if you go and set up a bunch of printer presets on one user account, you then need to do it all again for the other account. Having a geek nearby helps with this sort of thing, especially if they are proficient in that Satanic language called AppleScript, and with some non-shitty languages too.

Here's how you do it - turn the application's preference folder into a Git repository (in this case, ~/Library/Application Support/Aperture - note the space!). Then you need a pretty interface - because non-programmers don't use the command line. This is where CocoaDialog comes in. It's a really simple utility you can invoke which will let you get user input. Fire off a little thing for a textbox to get the commit message, then pipe that back to Git. I used Ruby as my glue language, but if you are so inclined, you can use any scripting language - Python, Perl etc. If you are a Mac programmer, you could build your own interface on top of Cocoa and Objective-C. Static typing makes me say "meh", so I used Ruby. Which is fine, since Ruby is sexier than your programming language of choice.

The rest then is pretty easy - make it so the person can trigger the AppleScript in whatever way seems sensible - from the Script Menu, from Quicksilver or LaunchBar or whatever else you can think of.

Then you set up a cron job to 'publish' the git repository, which is as simple as copying it to a public location - I used /Users/Shared/ - and then set up another cron job for each user to do a git pull from the repository. You now have a one-to-many preference sync system. Why not just use a script to copy the files over? Well, you can use .gitignore on each repository, thus keeping some of the preferences separate (in Aperture, you may want to sync the print and export settings, but not, say, metadata or keyword settings). And you get the advantage of having a full change history - meaning if a person screws up their preferences, it is possible to just revert them.

If you want to do many-to-many sync, it’s actually extremely difficult in this scenario. Despite the fact that Apple’s property list format is all XMLish (although it uses element sequentiality rather hierarchy than to mark relations, which is somewhat demented), the printer preferences for Aperture are actually stored as binary-in-XML. I know. It makes me want to smash my head against the desk in sheer frustration. The binary format makes doing hand-merges a pain in the arse. It’d be possible to write a way of merging the relevant property list files, but it’s something I’d rather avoid.

Does this need Git? Well, no. You could use CVS, Subversion, Mercurial or Perforce if you like. Git adds nothing special, except for the fact that it’s made of unadulterated win - and it’s the version control system that I now have burned into my brain. That and the repos are tiny, checkout times are really fast and so on.

2008.05.16

Jesus and Mo cover the ever-shifting definition game that seems to be in play. 2008-05-16T11:30:20ZUntitled entry permalink

I meant to post this yesterday - Steven Pinker has a great article up in The New Republic attacking the use of ‘dignity’ in bioethics, specifically in the report by the President’s Council on Bioethics. The dignity proposed by the theocrats is pro-disease and anti-freedom. Meme win! 2008-05-16T11:23:03ZUntitled entry permalink

Brian Leiter has the full text of Chancellor Wrighton’s e-mail over the University of Washington/Schlafly affair, and a reply by a law professor at Washington. 2008-05-16T11:11:44ZUntitled entry permalink

DI lies? Say it ain’t so! 2008-05-16T11:08:24ZUntitled entry permalink

There’s some good news this morning. Channel 4 have won their case against the West Midlands Police and Crown Prosecution Service, who have been forced to issue an apology and pay a fine. 2008-05-16T08:09:02ZUntitled entry permalink

Norm Geras rips Andrew Brown a new behind over his diatribe on Einstein’s disbelief in God. Look at me. I can change my opinion in line with current intellectual fashions. This kind of thing reminds me why I don’t read the Grauniad any more. 2008-05-16T07:59:44ZUntitled entry permalink

The ever constant declining generation 2008-05-16T09:54:58ZTitled entry permalink

I bring you a tale from now long past times. It is a sad story of how much better the previous generation was. Because, blimey, society has gone to pot owing - in large part - to this Internet thing. In previous times, teenagers would return from a day at school and spend their evenings productively reading Homer, with Handel playing in the background. Then at the weekend, they’d trot off to their local art museum and soak in Rembrandt and Picasso. They had respect for their elders, respected the police, went to church and combed their damn hair. Now it’s all gone to pot. They spend all their days on MySpace, eating Pot Noodles and sending gossipy texts on their blinged out phone. Oh, the calamity!

My older readers, those not children of the late nineties and noughties, will have to consider this for themselves. Youth culture just didn’t exist before about ‘94. That’s the unwritten presumption of the latest oh-boy-Western-culture-has-gone-to-pot-ist, Mark Bauerlein, Professor of English at Emory University in Atlanta, whose written a book decrying my generation for being halfwitted social networking addicts. There’s a review over at the Wall Street Journal, and an interview available on YouTube. There’s a jolly good post at MetaFilter too.

I have some sympathy for the thesis that the world is going to pot, and that it’s all the fault of young people. But before we consider that thesis, let us consider a related thesis to see if it fits the facts better.

Those who are graduating from college this year are entering a world that - thanks to the previous generation - is rapidly approaching it’s own destruction as the polar ice caps melt (but, of course, that’s not a problem, since Jesus is coming back - the guy at the megachurch told me so!), and with a population too addicted to burning fossil fuels and watching television to do anything. The generation now in the position to write books decrying the Facebook generation are the ones who profited from television, fossil fuels and cheap education. If you are graduating from university this year in the United Kingdom, you will have at least eighteen thousand pounds of student debt. You will probably not be able to buy a house until you are in your forties. You will likely pay more tax than the previous generation, have to pay more for transport, food and public services than the generation now retiring - and you will enter a world standing at the brink of environmental collapse (rather that than give in on our emotional principles and build nuclear power plants). The previous generation enjoyed cheap - almost free - university education (although it was not as widely distributed), cheap flights, more secure employment and lower taxes. They are now buying yachts and second homes in the south of France. You only exist so that your taxes can pay for their retirement. The politicians ruling the previous generation were short-termist, revelling in opinion polls, avoiding tough decisions in favour of arguing over minutiae. It wasn’t the Facebook generation who created Abu Ghraib, it was the CNN generation. Sorry to burst your bubble.

And just so we know, I’m betting the numbers of people reading Kierkegaard and Baudelaire is pretty constant. The number of people who are spending extravagant amounts of money getting a university non-education studying the cultural significance of David Beckham and so on has dramatically increased though. Who was it who ransacked our universities, replacing the intellectually demanding stuff with identity politics, politically-correct cultural studies, postmodern faff and golf course management degrees? Not my generation - we just have to live with it. If you want to complain about people not reading Kant, perhaps you should take a look at who writes the curricula for schools and universities.

If we’re the dumbest generation, then at least we don’t have to teach you how to read your e-mail any more, or help you design a new and exciting viral marketing campaign to help you sell widgets and blue jeans. Seriously, that’s it, isn’t it? Finding a lot of different ways to sell blue jeans was the philosophical height of your generation. Finding a way to live on the planet without all killing one another or drowning under rising sea levels is our generation’s moral challenge. Reductionist? Yes. But I’d say it’s fair game. I want to be proved wrong by my elders, but they’ve been a bit of a disappointment, to be honest.

Blaming the Internet is so much easier than taking responsibility for the failures of your generation. If the elder generation want to disown the under thirties, that’s fine by me. I disown them. I’m fed up with teaching them how to use their computers (we write documentation for a reason, so read it, and use your initiative for chrissakes), and then being told condescendingly that they know better, when a huge proportion of the problems of the twenty-first century are of their making. It wasn’t us that voted in Bush, remember, it was your poorly educated “values voters” and “security moms”.

Yes, stupid young people exist. But what differentiates stupid young people from stupid old people is the latter get elected and end up writing the education policy that does nothing to prevent stupid young people from remaining ignorant.

2008.05.14

How not to write 2008-05-14T20:19:45ZTitled entry permalink

Going forward at the end of the day, the fact of the matter is that this organisation will become a centre of excellence and justice in provision of value-added strategic planning services that leverage the core values of this post-9/11 society and tackle the concerns of the community on an ongoing, daily basis. We try to touch base with all those involved in providing demonstrably contiguous services to make sure they are singing from the same hymn sheet, while still retaining the capacity to think outside the box, cherry picking the low-hanging fruit for extensive consultation. Aligning networked innovation with facilitation of community aims, we will go the extra mile to meet our end goal in adding value to our front line game plan of realising potential through diversity and inaugurating a foundation of mutual respect, after we hit the ground running with a streamlined, prioritised operational initiative with a mandate from our family of stakeholders and partner agencies playing their part in the provision-of-value chain. Towards these strategic goals, a Service Modernisation Team has been instituted with the intention of interlocking policy with a culture of innovative infrastructural regeneration featuring hypothetical accounting, blue-sky thinking and a force of active agents in creating a culture of rapid change, refining the image and public conception of the services we offer, reinvigorating them for the twenty-first century and creating a best practice blueprint to connect other service providers with excellence and prevention of social exclusion in service delivery to the future.

Commentary: This was inspired by years of reading this kind of dispiriting rubbish coming from people in every part of public life. I have densely packed it in, but the sources of such nonsense are endless. Some examples I used directly in writing include Better Public Libraries (a report by the Museums, Libraries and Archives Council) and the Strategy for Policing Thames Valley 2008-2011, incorporating the Delivery Plan 2008-2009 (by the Thames Valley Police service - with an HTML summary). Libraries and the police - two important public institutions - which have extremely simple to understand purposes - “we lend books” and “we nick criminals”. Really, how complicated do you have to make it?

2008.05.12

The excellent XML editor, oXygen has been updated to version 9.2, bringing with it a raft of new features, and a new version called oXygen Author - a simplified version suitable for those writing XML documents, while the full Editor version is intended more for those writing stylesheets and schema. 2008-05-12T07:22:21ZUntitled entry permalink

2008.05.11

Washington University gives honourary degree to the wicked witch 2008-05-11T00:52:03ZTitled entry permalink

Bad news. Crooked Timber is reporting that Washington University at St. Louis is awarding an honourary degree to Phyllis Schlafly. The university has defended their decision by stating that she is a significant part of American life during the last half of the 20th century and now the 21st century, serving as a lightning rod for vigorous debate on difficult issues where differences of opinion are profound and passionate. This is a ridiculous test for giving an honourary degree. Permit me a reductio ad absurdum.

How many people or groups of people can you think of who are morally reprehensible that served as a ‘lightning rod for debate’? I can think of a few without even trying - the Ku Klux Klan certainly were a lightning rod for debate about race relations. Americans probably wouldn’t have had such a vigourous discussion of racism and racial equality if there weren’t hooded men running around at night leaving flaming crosses and lynching people.

2008.05.10

Solution to high prices at the pumps? Prayer, of course. 2008-05-10T17:03:32ZUntitled entry permalink

Blasphemy and blasphemous libel abolished in UK 2008-05-10T11:13:02ZTitled entry permalink

Good news, folks. Yesterday, Royal Assent was given on a measure abolishing the illiberal affront to freedom of expression that is the offence of blasphemy and blasphemous libel. This is, of course, good news. I can now be as offensive as I bloody well like about Jesus, the Bible, God and the Church of England - which is how it should be. It’s called freedom, and the alternative is on offer in Iran. So, for a start, let’s go with James Kirkup’s The Love That Dares To Speak Its Name, which is now legal.

In the parliamentary debate this week on blasphemy and incitement to homophobic hatred, there was some very reasonable remarks by Dr. Evan Harris, but what stood out for me was a remark by the Conservative Shadow Defence minister and MP for Aldershot, Gerald Howarth, in which he described himself as a simple sort of chap, and a member of the Church of England. This is the opening salvo of anti-intellectualism, but the real kicker is this bit: I am afraid that I am not interested in the Joint Committee on Human Rights or the European Court of Human Rights; I am interested in my views and beliefs, which are profoundly held and shared by a lot of people in this country. Who needs to bother with worrying about human rights, when the faith of a simple sort of chap solves the problem in a far easier manner?

Voters in the Aldershot area may wish to consider their vote carefully in the next General Election - after all their elected representative is, by his own admission, rather simple.

Tory MP won’t change mind despite evidence 2008-05-10T16:55:24ZTitled entry permalink

This week has been heavy with stupidity, mostly focused on the inane proposal to increase the classification of cannabis from class C to B. Michael Heseltine on Question Time this week.

Heseltine’s opinion: If you actually ask my opinion, I actually don’t believe - whatever the evidence you produce - I don’t believe that there isn’t an escalation through one form of drug-taking to another.

Got that? Whatever evidence you present to Mr. Heseltine, he will not change his mind. Glad to see we’ve got such enlightened leaders. And who says America is the only place you find anti-intellectualism?

2008.05.07

London Tube Status - now from Google App Engine 2008-05-07T21:31:41ZTitled entry permalink

I’ve been meaning to reignite the London Tube status stuff I’ve worked on in the past. Well, we have liftoff. londontubestatus.appspot.com provides an XML file listing the current status of the London transport system. Don’t pummel it to hard - Google are pretty resistant to you hitting their server, but for the sake of others using the service, cache goddamnit!

And don’t rely on it not changing. I will be changing the output and some of the mechanics as we go along. I wanted to get it out there so people could play with it. Plans include station name parsing, content-negotiation (so you can ask for a particular format and get it back like that), being able to get one line only and various other bits of magic.

App Engine seems like a good place to put it, since Google seems to, well, be able to run servers much better than most, and the response times are shit-hot fast.

Source code for the underlying class will be available soon, and I’m planning to improve it in other ways. Hopefully in a month or two, I can freeze the output - so that you’ll get broadly the same XML coming out every time (and there will probably be a RELAX NG schema available).

2008.05.02

Grazr now has a paid version with monthly fees ranging from $9.99 to $149.99. 2008-05-02T00:04:16ZUntitled entry permalink

fe: command line Fire Eagle updater 2008-05-02T21:25:40ZTitled entry permalink

When Fire Eagle first came out, I spent about fifteen minutes writing a script to update my location from the command line, the place where nerds commune with the Platonic forms of beauty, truth and goodness free from the distractions of bloated graphics libraries and so on. It’s pretty simple. I can type ‘fe’ and it’ll set my location back to home, or I can append a location and it’ll tell Fire Eagle that too. It’s written in Ruby, and is - befitting a shell script - quite hacky. I was going to release it a long time ago, but frankly the authentication was a bit crummy. I’ve fixed it up so that the authentication works nicely, and will even try to open your browser automatically (I don’t know whether that works on Linux, and my Ubuntu install is currently broken so I haven’t been able to test - and I’m pretty sure that it will not work on Windows) using the open command. But since the people tragically hip enough to have a Fire Eagle account are all Mac people, that shouldn’t be a problem.

To use the script, you need to have Ruby 1.8, Ruby Gems and the fireeagle gem. You can see what gems you have installed by typing gem list and you can install gems by typing, for instance, sudo gem install fireeagle. Next, you need to install the script. Since you are at the command line, you can do this easily by running the following command: sudo curl http://tommorris.org/files/fe.rb.txt > /usr/local/bin/fe; sudo chmod 755 /usr/local/bin/fe

Then it’s time to run fe. Type fe into your shell. This should do all that’s necessary to get started. fe will try and open a browser window so you can authenticate. fe asks for both update and read rights to your Fire Eagle account - although currently it’s only a dumb updater. In the future, it may do more, but feel free to grant it whatever rights you wish.

Once you’ve authenticated, you are able to set a default location. I have set mine to home, and done the same on my iMac. If you have an office computer, you may want to set it. If you don’t want to set a default, leave it blank. If you have set a default, you can just type fe to set your location to it’s default. Either way, both your credentials and any default you set will be stored in ~/.fireeagle in YAML. If you didn’t add a default, feel free to just add it in the YAML file.

Then you can start updating. fe "London" or fe "San Diego" or maybe even fe "Brighton"! Or once you get home, fe. One thing I’m going to do on my iMac is have it so that when I log in, it posts my location automatically (I need some way of making sure that I am logging in physically, not over SSH or VNC). Similarly, you may want to use fe from your scripts - maybe building it into Quicksilver or Marco Polo.

The client makes only one API call, and doesn’t do any checking. If you type in “Lodnon” or “Bostin” or whatever, then you better hope Fire Eagle understands that (having typed in “Ashurst”, it told me I was in Southern Illinois, which was slightly disconcerting, since I thought I was in Kent). This is a deliberate design decision. When I wrote the script, I was using a very slow connection while out-and-about (a GPRS connection through my phone) and didn’t want the overhead of performing anything but the most minimal of actions. I’m sure all singing, all dancing location services will come around which use Fire Eagle’s features to the full, but this is not one. This is a hacky scratch for a personal itch. That said, it’s published under the GPL, so fork away (please get and use new authentication keys if you are doing something substantially different). If there’s some glaring problem with the version I’m distributing or a way to improve it, I take patches by e-mail.

If you find this script useful, you can always leave a small cash tip or present.

fe gem dependencies 2008-05-02T22:17:17ZTitled entry permalink

The Fire Eagle gem has a strange dependency problem. I’m hoping the author of the Fire Eagle gem author will fix it very soon, but until that happens, fe now requires the OAuth 0.2.2 version gem. If you’ve downloaded it before a few minutes ago you should download it again as it now requires the 0.2.2 gem. To install this, type in sudo gem install oauth --version '0.2.2'

Dependencies are such a pain.

2008.05.01

Michael Mahemoff has written up the Fire Eagle developer event. That’s quick! I’ve got something fun and Fire Eagley coming soon, maybe. 2008-05-01T00:10:32ZUntitled entry permalink

It’s time to pull out Richard Hofstadter’s Anti-Intellectualism in American Life (I borrowed it from the library today). It looks like the American presidential election is going to be one long game of more average than thou - at least if Clinton is nominated. Oh, bugger this for a game of charades, I’m off to Cratylus - but first a message from our Colber(t)ian overlords. 2008-05-01T00:09:12ZUntitled entry permalink

Now, this is hilarious (via)! 2008-04-30T23:22:38ZUntitled entry permalink

Login with your OpenID:
Tom Morris
Currently in: East Sussex, England
Usually in: East Sussex, United Kingdom
AIM: tommorris
YIM: tom.morris

I am a , an , like to code in and noodle about with and the . I also have a BA in philosophy from London, and am in preparation for an MA. My philosophical interests are in Victorian-era German philosophy, Kierkegaard, Robert Nozick, hermeneutics and current approaches to the demarcation problem in the philosophy of science. Musically, I like jazz fusion, soul and P-Funk. My musical nirvana would be a mixture of Beethoven, Miles Davis and George Clinton topped with a side-serving of Erykah, Jill and Angie.

Elsewhere:

  • GPG Key
  • del.icio.us
  • Flickr
  • Twitter
  • digg
  • Jaiku
  • LinkedIn
  • ma.gnolia
  • blip.tv
  • upcoming.org
  • MetaFilter
  • LiveJournal
  • CiteULike
  • Technorati Profile

RSS Feed Subscribe:

RDF

« May 2008 »
SuMoTuWeThFrSa
 123
45678910
11121314151617
18192021222324
25262728293031