Flavio Castelli

Debugging my life

Sep 4, 2007 - 2 minute read - Comments - howto KDE git svn

Howto use Git and svn together

In these days I’ve heard lot of rumors around Git. After reading some manual/tutorial/guide I discovered that it can be really useful, especially if you spend lot of time coding off-line (that’s my situation). This is a really small howto that describes how to work on a project versioned with svn (maybe taken from KDE repository ;) ) using git. What’re the advantages? Since Git is a distributed revision control system (while svn is a centralized one) you can perform commits, brances, merges,… on your local working dir without being connected to internet.

Aug 31, 2007 - 2 minute read - Comments - c++ KDE strigi xesam

Strigi gains full Xesam queries support

As I said in this previous post, Strigi’s Xesam support was half-done since XesamUserSearchLanguage wasn’t yet handled. Well, this is no longer true… ;) In these weeks I’ve been working on XesamUserSearchLanguage support. Ehm… to be honest, I’ve been fighting with Bison. But in the end I tamed the beast and now Xesam support in Strigi is full. IMHO XesamUserSearchLanguage can be considered more important than XesamQueryLanguage since common users will write queries in this way.

Aug 10, 2007 - 1 minute read - Comments - howto strigi xesam KDE life

Xesam and bathroom hacking

Yesterday morning I was quite arrived at work when Laura (my gf) called me. Something went wrong in our bathroom and water was everywhere. She closed the main water tap and I took the first train for home (yes, since I’m an outlier I take the train two times per day). Once arrived at home I performed some hacking on the guilty washing machine, checked some pipes and than took the next train for office.

Aug 9, 2007 - 2 minute read - Comments - howto strigi xesam KDE

How to have some fun with Strigi and Xesam queries

Last day just after I hit the “submit” button a doubt came into my mind: “did I say everything ?” Well, the answer is “No!” In fact I forgot to tell you one of the most important things: how to have some fun with Strigi and Xesam! Actually the only way to perform XesamQueryLanguage queries with Strigi is through the strigicmd program. Strigicmd is a command-line tool shipped with Strigi. It can perform different actions like:

Aug 7, 2007 - 1 minute read - Comments - c++ strigi KDE xexam

Strigi gets XesamQueryLanguage queries support

Since last Thursday Strigi gained XesamQueryLanguage support. This means that now is possible to process queries formulated using this syntax. But why is this important? If you aren’t able to answer the previous question probably you don’t know what is Xesam. Here’s a short definition taken from the official site: Xesam is an umbrella project with the purpose of providing unified apis and specs for desktop search- and metadata services.

Jul 26, 2007 - 1 minute read - Comments

Create your Simpson avatar

Yesterday a colleague pointed me to the Simpson the movie website. One of the coolest things of it is the possibility to create your own Simpson avatar. How to resist?! :) After some clicks I made this beautiful avatar: {% img /images/avatar_simpson.jpg %} Isn’t it amazing? :D

Jul 18, 2007 - 1 minute read - Comments

Guestbook and spam

In the last days I got an exponential grow of spam messages into the guestbook. Since drupal’s guestbook module has some problems with spam- prevention components, I’ve disabled anonymous posting. I’ll enable it again as soon as possible. BTW: I don’t know who will care about this limitation ;)

Jul 18, 2007 - 1 minute read - Comments - life

New house opening

Last friday evening I made a party in my new house. We celebrated my birthday and also the “opening” of the new house. Many thanks to Roberto for the photos (made with his mobile phone!).

Jul 10, 2007 - 1 minute read - Comments - c++ strigi KDE

Lots of improvements into Strigi inotify support

Some days ago I committed lots of changes regarding inotify support. Goodies and improvements have been introduced… I had this code laying on my laptop for several weeks because I wasn’t able to fully test it. An annoying bug afflicting the update index operations was blocking me. But some days ago Jos fixed it, so I didn’t have any excuse :) These are the major changes introduced: event caching: using a small cache it’s now possible to simplify multiple events and prevent high cpu usage when lot of changes occur on the same files interruption handling during the re-index operations: changing the directories to watch during an indexing operation will break the previous job and start a new one other small changes for improving cpu utilization Actually I’m very happy of the first point, but I think the second one can still be improved…

Jul 5, 2007 - 1 minute read - Comments - KDE strigi

Remember to commit

I have to admit that lately I have a really bad habit: I forget to commit my changes to Strigi. In this way I end-up performing multiple commits with different changes inside: from stupid to interesting one. This is a really bad behavior, so today I decided to perform some svn status and svn diff and I made some commits on Strigi trunk. Most of all are just code readability improvement == don’t exceed the 80 chars per line.