Archives of #Python

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 […]

Text to Speech – Festival (cross platform) and MacSpeechX (Python on Mac)

I wanted to play with text to speech, I’ve been looking for a cross-platform open-source solution that sounds reasonable.  I’m really impressed with the festival project, the web demo lets you enter your own text. Update – I’m including this post in my plans for an Artificial Intelligence Handbook. Festival is cross-platform but compiling it […]

ConceptNetDaily Twitter Bot

I’ve just launched my second Twitter bot – @ConceptNetDaily takes a random concept from the A.I. site ConceptNet and posts it to Twitter with a link back to the site. A tweet looks like: “When humans own horses, humans groom and ride horses.” http://tinyurl.com/ydvf7vg The TinyURL expands out to an address like: http://openmind.media.mit.edu/en/assertion/143313/ The aim […]

‘Learning by solving tests’ – a website we could do with?

I’ve often wondered why we don’t see more test-driven websites which test our knowledge of the subject matter.  A great example is the Python Challenge website, Nadav Samet built a great tool to test our Python knowledge – you have to be able to code (only some of the tests really need Python) to solve […]