Archives of Python

Packt’s new “Python Text Processing with NLTK 2.0 Cookbook”

I’m rather excited to have received a review copy of Packt’s new NLP book “Python Text Processing with NLTK 2.0 Cookbook“, it is based around Python’s Natural Language Processing toolkit. I’ve been using the O’Reilly book for over a year, I’m curious to see what’s different between the two. I’ll post a full review once […]

Building a Social Microprinter

Over the last couple of months I’ve been building up a social microprinter (inspired by Tom Taylor‘s implementation and Matt Webb‘s original idea). Here’s the current version – Arduino+WiShield+CBM231+off-site server (powered partly by BenOSteen’s Python driver): There’s a second quick video and talk for the £5 App event I ran earlier in the week. The […]

Visualising Lanyrd’s social connectivity graph

Over the weekend at BarCampBrighton5 I demonstrated a quick visualisation that Kyran and I built over breakfast in Berlin last Friday. It looks like: To see it yourself open Bar Camp Brighton 5 Visualisation using Chrome or WebKit (it’ll work in Firefox but might be rather slow). It is interactive so it is worth opening, […]

Demoing pyCUDA at the London Financial Python User Group

On Wednesday night I jumped on a train up to London to visit the London Financial Python User Group to give a short demo of pyCUDA. I’m using CUDA heavily for my physics consultancy and I figured the finance guys would be interested in 10-1000* speed-ups for their calculations. The raw figures and the Mandelbrot […]

Weekly python tips (WeeklyPyTips) mailing list

Update – the weekly Python tips list is suspended for now. I’ve ended up way to busy on other projects, I don’t have the 5+ hours to write and publish each tip at present. The list is on hold, it may be reactivated later. I’ve just written the first few weeks worth of Python Tips […]

EuroPython 2010

I’m hugely looking forward to EuroPython in Birmingham from Monday. I’m driving up Monday very early (I wish I’d booked the hotel room for Sunday night too…). Browsing through the abstracts I’d say all the following look darned interesting! C++ integration concurrent sequential processes Arduino hacking javascript OpenData aerodynamics PyPy and Unladen Swallow game programming […]

22,937* faster Python math using pyCUDA

I’ve just uploaded a new Mandelbrot.py demo for pyCUDA, it adds a new calculation routine that straddles the numpy (C based math) and the pure-CUDA implementations. In total there are 4 variants to choose from. The speed differences are huge! Update – this Reddit thread has more details including real-world timings for two client problems […]

Presenting A.I. at FlashBrighton (using Python!)

A couple of weeks back I presented an Artificial Intelligence evening at FlashBrighton with John Montgomery and Emily Toop. The night covered optical character recognition, face detection, robots and some futurology. A video link should follow. Optical Character Recognition to Read Plaques Recently I’ve been playing with OCR to read photos with text, a particular […]

Talking on Artificial Intelligence next Tuesday at FlashBrighton

I’ve been invited to speak with John Montgomery next Tuesday at FlashBrighton – 7pm at The Werks for 1.5-2 hours or so of demos. We’ll be covering: Head tracking robot (build your own in a few hours!) Skiff Privacy Invasion – what we can learn from data mining the SkiffCam (the Gov’t can do it […]