2007.02.17

Tom Coates has slides up from his talk. You really need to hear it too to get the full flavour. 2007-02-17T22:51:32ZUntitled entry permalink

Now, we enter a new era! Hoorah! 2007-02-17T18:08:41ZUntitled entry permalink

I love the fact that the government think that more people applying to university provides "a complete vindication" of their fee policy. No, it doesn't! People still need a university degree, even though most jobs won't actually need the skills or training that university tuition provides - or they need skills which could be acquired in a much easier way (through, say, employer training or self-training). If the government think that they some kind of new Enlightenment by sending lots of people to have a distinctly average education, they need to think again. 2007-02-17T06:47:40ZUntitled entry permalink

Some new survey results have come out saying that 54% of Americans would not vote for a well-qualified atheist for president. Did anyone tell them that Karl Rove is an agnostic? Oh, wait... perhaps not the best example of secular morality and piety. Smile and a wink 2007-02-17T06:41:26ZUntitled entry permalink

BarCamp London 2: Semantic Web and microformats 2007-02-17T21:40:20ZTitled entry permalink

I have put up the slides of my RDF and microformats and the Semantic Web. Ian Forrester shot some video, which I'll post as soon as it's available.

In the meantime, read it here - it's in S5, but it's liberally laced with lots and lots of hyperlinks to interesting stuff.

Tags: , , ,

Comments | TrackBack

BeautifulSouping Twitter 2007-02-18T01:02:38ZTitled entry permalink

I'm here with Aral Balkan and we're working on scraping Twitter to do functions that the Twitter API doesn't currently support. Aral just releeased TwitAPI, a PHP regular expressions-based screen scraper.

Aral's written some regular expressions to pull the data out of the direct messages out. I'm doing it with Python's BeautifulSoup.

Here are the BeautifulSoup recipes ('n' is the B.S. instance, x is to be looped over).

User URL: n.findAll(True, {"class": "status_actions"})[x].\
parent.contents[5].contents[1].contents[0]['href']

User Name: n.findAll(True, {"class": "status_actions"})[0]\
.parent.contents[5].contents[1].contents[0].contents

Comment: n.findAll(True, {"class": "status_actions"})[0]\
.parent.contents[5].contents[2].string.strip()

Fucked-up Twitter timecode: n.findAll(True, {"class": "status_actions"})[0].parent.contents[5].contents[3].contents[1].string.strip()

Once I’ve figured out how to do HTTP Basic authorisation using urllib2, the Twitter parser can be released unto the world!

Tags: , , , , ,

Comments | TrackBack

Links from del.icio.us

 

Login with your OpenID:
Le Web '08, Paris, December 9th and 10th, Register Now! 20% off.
No. 475
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 studying 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.

I also write for the Citizendium, an online encyclopedia project. If you know about stuff, you should join in.

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

« February 2007 »
SuMoTuWeThFrSa
 123
45678910
11121314151617
18192021222324
25262728 

View in month context

On this day in: 2006