Archive for January, 2009

Why the Pimsleur method does not work for anime enthusiasts who wish to learn Japanese

Pimsleur Guy: Pretend you’re in the lobby of an hotel and you meet someone. How do you say hello ?

Me: NANDAYO!!!

Pimsleur Guy: And how do you ask if he understands english ?

Me: NANDAYO!!! NANDAYO!!!

Using BlipFM with Canola (and possibly other players)

Here at ProFUSION we’re using BlipFM quite a lot to both listen to music and share recommendations with others. Since until now no one has made a plugin for Canola (*hint*), I’ve written a really simple script in Python to parse a page and generate a podcast XML. It’s still quite hackish, but I’m going to improve it later to support more pages and stuff like that. Any comments/contributions are welcome (for all intents and purposes, the code is under the WTFPL).

Source code available here. Example podcast generated from my user here.

Using clang’s static analyzer to debug Enlightenment

Clang’s static analyzer (description and more detailed information about setting it up here and here) is an wonderful tool that helps catching some nasty bugs and that has not been widely divulged so far. Lately we’ve been using it to help debug the Enlightenment Foundation Libraries (EFL), and I decided to post this just to help other people try it out.

In order to use it, basically one just needs to get both llvm and clang (preferably from svn, since these tools are being updated all the time) and install them somewhere on the PATH, and afterwards use the scan-build script to build the application/library you want to analyze. The output is a nice set of html files, with the reported bugs divided by type and with detailed information + commented source code.

I’m trying to maintain updated reports on the EFL here, using a really simple script that I made to compile some of the most important libraries, apart from E itself. The script is also available on the same URL, in case someone wants an easy way of trying this out.

Return top