Sunday, February 08, 2009

Picture Metadata

I started to do some small tests code for a few features that will be implemented in the Picture Frame Plasmoid for KDE 4.3. One of the idea is to display metadata information. I did a quick mockup for my talk which I referred to in a previous blog. But then I improved it and use now a KTextBrowser which has the advantage of getting scrollbars when the applet gets too small for the text.


Here is the picture with some of its info. In the code (in MetaData class) I first set some tags and comment and rating to ensure the picture gets Nepomuk info. The metadata is extracted mainly from Exif and Nepomuk. You need both in order to build the example code. The code only gives the right applet with info, I displayed the picture along in a Picture Frame.
With Kinetic, the next to come Qt Animation framework it will be easy to flip the picture and see its back.
The code for the metadata info can be found here: http://drop.io/annmakde/asset/frametest-back-tar-gz.

The Frame code however needs a bit of cleaning before adding anything new and performance issue needs to be assessed by using threads and caching. I learnt how to use Valgrind and KCachegrind to profile the code. There is a very good doc about that, written by Olivier. He profiled the whole of Plasma while I profiled the applet in the plasmoidviewer.

I am polishing the TODO for the Picture Frame Plasmoid and will talk about it in the next days. There will be Junior Jobs for you to take if you want, from very easy stuff to more advanced. With test code as the one I mention here to help the KDE beginners! For example one of the JJ would be to extract the most useful information (I picked only random bits for this test).

The meeting is very productive and as we don't move to get our food we have a lot of time to hack! It's really efficient for me to get 4 days without my "mum tasks" and be 100% for KDE.

Saturday, February 07, 2009

Tokamak - Day 2



Plasma developers at work! We defined individual goals and a work group had a brainstorming session about Plasmate. Leo who was delayed all day yesterday in London because of bad weather eventually arrived in the night and gave us an update on current Amarok. The network is good but slow and I started git clone on Qt Kinetik but this is not even 50% done after several hours. Kinetic is the QAnimation new framework and will allow the flipping of the picture really easily.
From my personal goals for the Picture Frame Plasmoid, Alexis the Qt guy helped for the graphics stuff and even profiled it into KCacheGrind pointing to me what areas could be speeded. We have some local people joining us which is very nice. My goals are taking shape!

Friday, February 06, 2009

Tokamak 2 - Day 1

Kévin and me started from Toulouse at 4 am this morning and then met Artur in Lisbon at 8am. We safely arrived at the meeting location in Porto around 10:30 am and everything was easy to find thanks to the good preparation.
We updated trunk as yesterday qt-copy switched to 4.5. The venue is great and you can check this page to find out about our schedule today.
This afternoon, we listened to talks in order to shape Plasma future. Aaron showed us a video about serious work and solemn work from a known graphical artist, very interesting. I presented the future of the Picture Frame Plasmoid and you can have a look at my pdf presentation here.

Thursday, January 29, 2009

Release party in Toulouse

Integrated in our monthly KDE workshop tomorrow we'll celebrate the 4.2 release at the Centre Bellegarde by showing some Camp KDE videos and having an aperitif.
Have a look here for more information and feel free to join the fun!

2008 was a bit slow for me in contributing to KDE, family has been the priority. I realize I did not go to any KDE event.
2009 starts better as I am preparing to go to the Plasma meeting next week (my husband is taking 2 days off to look after Clarisse). My aim is the roadmap for the Picture Frame plasmoid and I thought about a new strategy: I will put together a detailed features plan for the plasmoid and some test code and contacts for each feature if possible then I'll issue all that as Junior Jobs, ranging from some very easy ones to more difficult. That should allow lots of new features for 4.3! (and also some pending wishes on bugs.kde.org) And also that will get new contributors started hopefully. The important thing is to coordinate the work and to plan it well so everything is well integrated within Plasma. That's why the meeting is very important and I am pretty excited by the new coming opportunities!
So watch Planet KDE in the next days if you are interested in giving your advise or contributing!

Friday, November 21, 2008

Docs && Bug fixing stage && Music

As you already read on Planet KDE, we entered the bug fixing stage for KDE 4.2 We still have until the 25th to get docs in so I urge all devels to make the effort of updating their docs. Devels commonly say that users do not read docs, is that really true? Personnaly when I use a new software and when I am puzzled by something I first read the tooltip, then I use shift-F1 to see if there is more information in a QWhatsThis tooltip and ultimately I open the doc.

Plasma bugs are taken care of by plasma devels in a nice way so I am focusing my attention to System Settings kcms. FiNeX was nice enough to hear my Help cry and is working with me on fixing issues (for example if you open System Settings and choose a component, if the Apply button is enabled at opening, you will get a "Do you want to apply this change..." dialog even if you changed nothing. All "Appply" buttons should be disabled as default if you do not change anything - evident, but not done!)
Working with someone else is always nice: first you can assess with the other person that the bug exists for him then he can test your patch. Personally I find that working with someone else is really a bonus, I'd like to thank FiNeX for doing this with me. Some bugs are trickier to tackle, we currently have a bug in the Time and Date module in System Settings which I am a bit lost about. 2 users sent patches for it already so I am trying to get those users find the correct fix which is not easy.

I went last Tuesday to see Epica Live in Toulouse and I enjoyed myself very much (and there were others +40 people!) A French band named Kells played first, then Amberian Dawn, a Dutch band, and then Epica. Mark and Simone enjoyed themselves so much (and the keyboard and drummer and other guitarist)! They do that every night and yet they are able to live it 100%. Totally the spirit I try to live in! Simone singing "Solitary Ground" is such a killer...

Clarisse (2 1/2) is beginning to use computers. I found out that mice are not so easy to use, as we said on IRC yesterday talking about grandmas. A friend of mine is helping people to learn to use computers and also said the same. Clarisse tries to touch the screen and so far did not really connect the mouse itself to the mouse cursor on screen. That's so evident for us but in fact it is not so "natural".
Clarisse enjoys listening to music and of course she likes symphonic metal very much, I point her to the guitar, bass and drums on the excellent "Black Symphony" DVD from Within Temptation!



"In me there's still a place that fulfils me
A sanctity here that I call home"
Epica - Solitary Ground

Wednesday, November 12, 2008

Useful crash reports through bugs.kde.org

Triaging through plasma crash reports I see a lot of useless reports. If you paste a crash report and if you see many '(no debugging symbols found)' lines then you are not helping us. You need to install the debug packages from your distribution as explained in
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Also be sure this is not a distribution issue and really a KDE one (ask your distribution IRC channel and scan the forums) prior to post a bug report. When you know it is a KDE crash, please take some time to look at current reports and see if it was not already reported.

Please also note down the steps to reproduce your crash. If you upgraded your distribution and cannot load plasma, try a new user. If the new user works, add the plasma-appletsrc config file to the bug report as well as the plasmarc file (in $KDEHOME/share/config). If the new user does not work, please ask your distribution for help.
Same for all crashes with an existing config, please try a new user and add the config files to the bug report as well as the crash backtrace.

Thanks in advance, those hints will ensure that we will fix any issue really faster!

Compiling issues are not to be reported as crash, you can use the kde-devel mailing list for them
https://mail.kde.org/mailman/listinfo/kde-devel

Sunday, November 02, 2008

KHangMan (KDE 4) broken in Intrepid

The title says it all. For those who have a crash in KHangMan in Intrepid or whatever *buntu flavours or Debian experimental, this is an error in packaging that lead to this crash. To fixe it, you need apparently need to install Kanagram + data as far as I could gather.
I am pretty upset about it as I already spent hours talking to various devels about it weeks ago. Now I get bug reports from users, that's why I am blogging about it.
In the KDE svn repository, the data is present under khangman/ and I don't see why it was not bundled with KHangMan as it was with KDE 3. How much can distros safely cut our code into pieces? I even added a few years ago some README.packagers files in various kdeedu source folders to ensure that we communicate well.
This is only for KHangMan from KDE 4, KDE 3 is fine!

Friday, October 24, 2008

Rio


I am still in Brazil and I am tremendously enjoying this country. After a few days in Rio (my daughter Blandine and me in Rio on the picture, from the "Pão de Açucar") we're back in Minas Gerais and yesterday we visited Ouro Preto, amazing city!
I'll be back in a few days, probably pretty lagged with the winter time change (here we switched to summer time last week-end !)
I had a British and Canadian part in me, I also have now a large Brazilian one! Até logo!

Monday, October 13, 2008

In Brazil!

Just to let you know that I am on vacation to visit my daughter Blandine in Brazil. I travelled on Saturday and I am now discovering this beautiful country. The first amazing quality I see here is the hospitality, we had a typical Brazilian lunch yesterday in a family,a feijoada. I am able to speak a bit and I understand more than I thought I would. The weather is just perfect and we're heading today to Rio de Janeiro by bus!
I have some unanswered mails and bug reports, I'll be back in 2 weeks!

Friday, September 26, 2008

KDE "Atelier" in Toulouse tomorrow

Tomorrow in Toulouse is the next KDE "Atelier" at the "Centre Bellegarde" (see http://www.toulibre.org/AteliersKDE) for more information.
Every KDE fan/contributor/would-be contributor is warmly invited, we have great fun working together and knowing each other better! We can help you getting started in developping, translating, writing docs, fixing small bugs, triaging bugs,... On Sunday is kdepim and groupware bug triaging day by the way!

After my extended vacation during the kids summer holiday, I have trouble getting back in KDE development and being productive, I feel a bit disconnected. Having missed Akademy I tried to read as much as I could but it's not the same. The fact that I'll go on holiday in Brazil for 2 weeks from 11th October adds also to my passivity, because I am preparing this vacation (I'll go visit my daughter Blandine whom we did not see since January; my husband, who offered me this trip, will run the house while I'm away). So I guess I am not contributing very much to 4.2 and I'll jump in the boat again for 4.3!

Wednesday, July 30, 2008

Vacation

Letting you all know that I already mostly was on vacation in July (we spent 1 wonderful week in England at Mersea Island) and that I'll be away the whole of August (3 weeks in my family village in Burgundy and 1 week by the sea), my husband will go to Canada for 2 weeks for his work and our son Joachim is heading to the Ivory Coast for 3 weeks. With Blandine in Brazil, we invade 3 continents!
I won't be at Akademy and won't be able to follow anything as the house we live in in Burgundy has no land phone and even less internet. I do have a cell phone since recently but not a G3 one ;) Wifi is quite unknown of in this rural area... I'll be back in September in full working mode for KDE! Meanwhile it's family priority.
I wish you all a great and productive Akademy, heading towards 4.2 and congrats to everyone for 4.1. I'll make sure to casually log into KDE trunk on my new laptop (I plan to try to work a bit on edu progs) and let people react to what they see, so far I got "woow, waaw". KWin effects just rock and plasma look is simply amazing!

Thursday, May 29, 2008

LinuxEdu Pride

On Saturday 31 May in the Paul Sabatier University of Toulouse will be the first LinuxEdu Pride where I'll be presenting and demoing KDE-Edu. There will be a talk track (I have the opening slot from 10h15 to 11h) and also an install party + demos in another room. If you live in the area, you can drop by and help promoting KDE and KDE-Edu!
LinuxEdu is a group of teachers promoting Free Software in Education in the Toulouse area. I wish this event to be a success and the start of more Free Software use in Education in France. Meeting the people directly involved is great, thanks Remi for organizing this event! I'll especially enjoy it as I was not involved in promotion since the KDE 4.0 release!

Another exciting event on Saturday evening is that I'm going to the soccer stadium with my son Joachim aged 17 (and trying to be as tall as SaroEngels, reaching 1.90m now) to watch the French Team ("Les bleus") play a friendly match against Paraguay in the preparation for Euro 2008!

Tuesday, May 27, 2008

Plasma Quickies

Lots of work and fixes in plasma these past days! We put the applets in extragear/plasma back in shape after the API changes. I still have a list of small remaining bugs but all applets are in a working state except maybe FileWatcher. It's a pleasure seeing how people dedicated themselves to work on that. It's team work.
Just a few seconds ago, a new module has been created called kdeplasmoids to replace extragear/plasma for the 4.1 beta 1 release and later. Thanks Dirk for the release work, it's always a lot of work to package the code for a release.
Will (wstephenson) implemented a new very cool feature: you drop a picture from say Dolphin to the desktop and a small menu appears asking you if you want the picture in the Frame applet or as an icon on the desktop. If you choose Frame, the Frame applet will be loaded with your pic in it. Other options will come like put as wallpaper so please don't jump reporting wishes for it, it's just to demonstrate the principle right now! Very cool, thanks Will and Aaron!
I discussed with a guy today on IRC about icons on the desktop and he said he misses this feature. But asking how he uses icons on his 3.5 desktop, he answered he groups them on the desktop: internet-related apps shortcuts in one corner, documents folders shortcuts in another, normal apps in the third corner. Well, using the FolderView applet this is even easier and neater! Ah, also he does not like the look of the folderView! It honors the theme you choose (there are 6 shipped by default) and there will be more on kde-looks.org. So you can change it very easily!

Saturday, May 10, 2008

New Little Guy

This new little guy tells you on the KDE-Edu website that you can find a tutorial related to the program page. Thanks to Arindam Ghosh, you can find a tutorial on how to add words in Kanagram, in KHangMan and how to add a map in KGeography.
This will trigger more contributions and when KNewStuff upload feature is available (in 4.2 only probably) we'll have everything needed to share data. Those tutorials are fun to read and easy to follow, thanks Arindam! Anyone is free to improve them as the .odf sources are also available!

Saturday, April 26, 2008

April Toulouse KDE Monthly workshop

Thanks to Alexis [Darktears] we gathered again for our monthly workshop. Cyrille Berger from Krita fame joined and we were 4 steady people and others coming to say Hi like ervin, some without machines so they just chatted a bit and some to see what we do. We even had a user using this other Linux desktop but finding KDE 4 cool and also finding the idea of these hacking sessions cool and wanting to join next month and moving to KDE 4. Cyrille hacked on Krita, he also gave some info about KOffice, Alexis fixed the task manager (yeah, no more "black holes!) and filled me about the Plasma meeting and I made a few Plasma API review commits. I also worked on KAppTemplate which is nearly ready to move to kdereview (I have to finish the doc). I have to thanks "asraniel" who sent me a patch, his first KDE contribution and as I knew he wants to work on other parts of KDE I suggested he ask for a svn account which he got quickly. He fixed a few bugs in KAppTemplate and that allowed me to keep going and improve the GUI a bit. Welcome asraniel and thanks for your excellent work already!
A very productive Saturday!

Tuesday, April 22, 2008

Help needed

The Edu meeting we had in December 2007 was surely not productive in terms of commits numbers (refering to Paul's blog which I found quite puzzling), we did not had an outstanding number of commits. But it glued the team in a way that no IRC or email exchanges could have achieved. We have 8 GSoC projects accepted, one is Step author wife (who is already hacking on Step) and she'll start an Incredible Machine like game for Step, mentored by Carsten. I believe this was made possible by our meeting and I'd like to thank all mentors for their dedication. Welcome to all students!
I am certainly not very productive, having been on a 1 week dream holiday alone with my husband (thanks to Debs who looked after Clarisse and Léah!). I am currently rebuilding trunk on a USB disk due to space problems and bad partitions management.
I am quite behind for all applications I am maintaining and I am not sure to reach the deadline in 2 weeks for the new KAppTemplate. It needs some GUI tweaking, it's a QWizard, the first page presents the app, the second page lists the available templates (KDE4, PyQT4, PyKDE4, Ruby korundum). Then the rest is not finished, the 3rd page asks for some details like author and email and where to install, it needs a 4th page with some feedback on how the template installs... It's a really easy project with little code and if you feel you want to contribute to KDE this could be a great way to get started. The code is in /playground/devtools/kapptemplate, you need to
svn co -N .../playground/devtools/
cd devtools
svn up cmake
svn up kapptemplate

and run cmake in devtools build level then cd kapptemplate and build it. Thanks in advance!

Wednesday, March 05, 2008

KAppTemplate

So what I have been up to these past days? I started a GUI interface for KAppTemplate. KAppTemplate was (still is) a bash script (in kdesdk) which generates some templates projects for people who want to start a KDE app but do not want the full KDevelop. Somehow I ended up in porting KAppTemplate to KDE 4 (being bash, it was not too difficult, I hear you mumbling! true, but the templates themselves needed the port). One of my contributions in KDevelop 3 was to maintain some templates and I added some (as I began from scratch, I guess I am grateful for those tools and I want to help newcomers in KDE as much as I can).
KAppTemplate interface will be based on QWizard and the idea will be to share the templates with KDevelop (probably having a KHNS repository for them). So it's like a total rewrite in fact. KDevelop at the moment has only a Qt4 template and KAppTemplate has 2 KDE 4 templates.
I digged into model/view and also wrote 2 unit tests, thanks to David Faure and Kévin Ottens for the inspirational talk they gave at last Akademy. I took me time to assimilate the concept of tests but when I found myself writing several small test cases to check some chunks of my code, I remembered about tests :) Pretty neat! The whole code is in /playground/devtools/
KAppTemplate as it'll maybe look like:


Clarisse was 2 last Sunday but as we were away we could not celebrate properly and it'll be done next Sunday. She starts talking and is very funny, inventing syllables and concatenating words like "Joachim" (our son aged 17, her idol) and "Clarisse" give "Yo'isse" (she cannot say J or R). While as she is always around it's often difficult for me to concentrate when coding, on the other hand I'm lucky to share every step she takes. During the second week holiday I went to the "Cité de l'espace" with Léah and also to the circus. Léah will be 10 in May and is interested by everything, constantly asking questions and always smiling... To a soccer match with Joachim (our team at the moment is meant to go to the 2nd League...)

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!