Tales of a GeekTrotter Binary Logbook

10May/110

Python Qt4 recipe: QSingleApplication (PySide)

Thanks to Renato Filho who helped me in this thread on the Qt Forums, I made a simple QSingleApplication class for PySide that allows you to be sure your program will be started only once.

In addition to start the application only once, we can send the arguments of the later calls of your program to the first (and only remaining) instance.

The following video summarizes the features:

4Apr/119

Python VS Ruby through a concrete GUI example (Qt)

In a previous post, I was justifying my choice to start learning Ruby instead of Python, and in another previous post I was praising QtRuby.

Now it's time to challenge QtRuby (and Ruby in general) with PyQt/PySide (and Python in general).

Due to some reasons, I had to write the same program in both languages.
Thanks to that, I better understood myself the pros and cons of both languages and will try to share my thoughts with you.

A very brief summary would be: Ruby is the winner for programming pleasure and private applications while Python is the winner when it gets serious.
For more information, read the whole post!

22Jan/1116

Quickly build smartphone applications (iPhone, Android, WP7, BB, Symbian) with Rhomobile Rhodes

Yesterday, I had no idea about how to write programs for smartphones such as iPhone, Android, Windows Phone or BlackBerry.
Today, my first application is already running on my Android phone...

As a first attempt to write a mobile application, I just tried to build an application that retrieves the latest news from my school's atom feed and displays it in a native way on a smartphone (Keio University, Graduate School of SDM).
Yesterday, I had absolutely no knowledge about mobile development, except "iPhone is using the ugly Objective-C and Android is using the heavy Java".
Today, the application looks like that...

...is written in pure Ruby and is 100% native on iPhone, Android, Windows Mobile and BlackBerry!
How come?! Thanks to a powerful, light, easy and intuitive mobile framework: Rhodes (from Rhomobile).
Let see in this post how to do that.

8Jan/110

Ruby on Rails: the best web programming framework?

I’ve been programming for some websites mainly in PHP/MySQL for many years now and decided to have a look to what is new in this field.

And there is a very promising one that should have lights on it: Ruby on Rails (or simply “RoR”).
Let’s have an overview on RoR in this post.

7Jan/110

QtRuby: Rapid programming of powerful graphical applications

Please allow me to introduce you QtRuby, a powerful multi-platform programming language that will help you to develop robust and awesome graphical applications quite easily and funnily. (that's said!)

Page 2 sur 3123