Friday, February 29, 2008

Contributions

These past days I got contributions to KDE-Edu applications and that remainded me how Educational applications are different from other applications in the sense that they need data.
Pavol Pitoňák sent 5 KTouch keyboard layouts. KTouch changed the way keyboard layouts are done in KDE 4 and thus all layouts need to be redone (there's a keyboard layout editor integrated in KTouch but still you need to update keys and it can be quite tedious). Thanks a lot Pavol for these contributions!
Amine Say sent me the KLettres alphabet sounds in Arabic. Recording sounds is a difficult task as you need clear pronounced sounds. These sounds are integrated in the Arabic l10n module so all Arabic KDE users get them and they are also available via KNewStuff in KLettres.
I tested the sounds and got Arabic l10n module to further test in RTL mode. The kids theme did not accommodate the letter too well so I pushed the bear to the right a bit in the SVG background theme.

Very impressive work, thanks Amine. KLettres has now 19 languages sounds. While being quite a simple program, it's nevertheless efficient and liked by users.
I detected a couple of bugs in KLettres in the process and refactored a bit the language detection code. The program needs to scan for globally installed sounds and locally installed ones (via KNewStuff) and then to update the Languages menu with corresponding languages names in the correct user language. A crash occurred when somehow the current chosen language was removed by the user. In programming, there must always be a fallback of some sort, an index cannot be equal to -1 for example...

Saturday, February 23, 2008

Quickies

I was away for 1 week without internet on a family vacation in the Pyrénées. We went skiing, Léah who is nearly 10 especially misses the snow since we got back to France from Québec so she was very happy. She is very good in cross-country skiing and is full of energy! There was not much snow as the weather is too mild and ski resorts have to use snow cannons to generate snow.
Here is Little Clarisse (nearly 2 years old) and myself! Being born in Canada and being Canadian, Clarisse only got snow-aware during this week which is a bit of a paradox.

Meanwhile George added a Flickr provider to the PoDT engine (Picture of the Day) so I need to fix the Frame itself to integrate this engine. Thanks George for this addition! I have various attempts of code on my laptops, none seem satisfactory enough from the GUI point of view.
I started to play with QGraphicsWidget and I also started a GUI for KApptemplate in the form of a QWizard (KAppTemplate is currently a bash script that generates various KDE 4 projects that you can use to start programming).

Friday, February 01, 2008

OPAA (On Pictures And Acronyms)

I had this idea to add Wikipedia Picture of the Day to the Frame applet and as there are many Pictures of the Day around, I started an engine to fetch them, based on the Comic engine code (which is great btw, thanks Tobias!) So far I did 3 providers: APOD (Astronomy Picture of the Day), EPOD (Earth Science Picture of the Day), no, IPOD is not the 3rd one actually, it's OSEI which displays NOAA weather satellite images. The Wikipedia one is probably the most difficult to code, the ones above are quite easy, the only trick it to extract the pic name (varies each day) using QRegExp and some math calculations from the http source of the main page. I'll check tomorrow if the various providers still display the new pic...
At the moment, I did not include this in the Frame code (except locally for testing). I don't want to overload the Config Dialog GUI which will be redesigned by Jeremy (jpwhiting) to match the Desktop background setting dialog as both have quite the same functionalities. The only addition Frame has is to configure the Frame border. I also plan to have a right click setting which will allow to put the current Frame picture as a wallpaper.
Plasma is still very much a WIP (Work In Progress) but as you can see from the Planet posts, we're moving forward!
The pic shows today's APOD which is the first Explorer, launched 50 years ago!