Latest Entries »


Why do recursive calls when you can do the same thing without it ? Use a recursive function makes the code clear but can be inefficient and soon or later you will hit the stack limit.

View full article »

Testing Qt code with the Python unittest module is simple as ever.

View full article »

One month ago I bought the new Samsung Galaxy S with a UK SIM card and a flat mobile Internet plan, which it’s a very good deal for who has an Android smartphone device. Unfortunately, when I come back to Italy and I switched the UK SIM with the italian one, I completely forgot to disable the data traffic and because of that I got a charge of €5 in a single day :-(

View full article »

Two weeks ago I bought the new Samsung Galaxy S smartphone and after a full day spent to make confidence with the Android OS one big question comes in my mind: will iTunes detect the phone and synchronize my music library ?

No :-)

View full article »

It’s available a new version of wxScheduler. This version is only a bug-fix release.

View full article »

Time Machine is a powerful solution to backup, restore or move your Mac OS X installation to another machine or just after a full reinstall of the operating system. The restore system is smart enough to put all your applications, profile files, and all other stuff which belong to you.

For some files and folders (for example MacPorts installation and XCode folder) the restore process, to be safe, renames that files or folder appending a (from old mac) string, wasting hard drive space.

View full article »

WARNING

In this post I’ll show you a simple event dispatcher implementation in Python. Every big UI frameworks can play with events an listener without reinvent the wheel but sometimes you need a very simple way to dispatch and receive events in you application without involve in megabytes of an external framework.

View full article »

Babel is a framework to translate date, times, numbers and currency in all the languages of the world. Unfortunately the package is not py2exe-friendly but with a little patch we can let Babel works when is embedded with py2exe.
View full article »

Thanks to the work from Jérôme Laheurte, a new stable release of wxScheduler is available in Google Code project website.

View full article »