Tom Morris



2007.02.17

  No. 475 

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:20ZPermalink

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:38ZPermalink

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

Comments
blog comments powered by Disqus


Tom Morris 9f4907d871750fd4c9b9bad7086701b51d6abd10 bd9f81a05283ed85e699175ed057b4a497f20b77 802c68123e12bf69d99a25a87cef360f18813fe4
Currently in: Kent, England
Usually in: East Sussex, England

I am a , an , like to code in and (and Java, but let’s not talk about that), and noodle about with and the .

I have an MA in philosophy from Heythrop College, University of London. My philosophical interests are in analytic metaphysics, ontology, modality, the work of , , , and . I have a strange, unfulfilled interest in . I’ve been influenced by Gadamer, by , , and .

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. I occasionally produce audio recordings for The Pod Delusion.

Elsewhere:

  • GPG Key
  • del.icio.us
  • Flickr
  • Twitter
  • 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 2010