Archive for the “Programming” Category

Also this year I’ll attend the Linux day (a day dedicated to Gnu/Linux  and FLOSS that occurs every year in Italy) organized by my LUG. Guess what I’ll be talking about… ;)

While organizing the event somebody proposed to setup a local server with some music released under CC license. He suggested to download some albums from Jamendo (due to network issues we won’t be able to provide direct access to the website).

Since nobody wanted to download the albums by hand, last night I wrote a small ruby program that does the dirty job.

Requirements:

Ruby and json gem have to be installed on you machine.

Usage:

Help:

./jamendo_downloader.rb –help

Download the top 10 rock albums:

./jamendo_downloader.rb -g rock -t 10

Have fun

I think there’s nothing more to say… enjoy my jamendo_downloader

Tags: , ,

Comments 2 Comments »

Yes, long time has passed since my last post (really strange, isn’t it :D ).
It has been a busy period, full of work, dog training and… coding (fortunately!).

During this time I’ve been working on XesamQLib creation. This is a Qt based library for accessing Xesam services.
Its API is going to be similar to Xesam-glib one and it will make life easier for developers who want to interact with programs exposing Xesam service (who talked about Strigi? :D )

Right now I’m finishing to clean the code, in order to publish a first version of XesamQLib on KDE repository.
I’ll keep you updated.

Tags: , ,

Comments 1 Comment »

As you may know, KDE4 will use Strigi for meta information extraction instead of the old KFilePlugin classes.

Since Strigi’s analyzer work in a different way, lot of code has to be ported. Unfortunately, after a good start, some relevant analyzers were still missing.

Read the rest of this entry »

Tags: ,

Comments 11 Comments »

Last Monday I submitted lot of changes into Strigi’s trunk. I’ve heavily refactored some classes in order to obtain a more flexible file system notification infrastructure.
Thanks to this work now it will be easier to add support for new file system notification facilities.
Read the rest of this entry »

Tags: , ,

Comments 4 Comments »

Maybe someone has already experimented this situation:

You’re hacking on your local working copy and you want to keep it up-to-date but, since you have some uncommitted changes, git-svn rebase cannot be executed

I was just thinking to write something about this problem when I read a post on digikam blog.

In this post Marcel proposes a workaround using a bash function. In fact there’s a “cleaner” solution, if you’re interested read the last part of my git-svn howto.

Tags: , , , ,

Comments No Comments »

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.

Read the rest of this entry »

Tags: , ,

Comments 34 Comments »

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.
Read the rest of this entry »

Tags: , , ,

Comments 3 Comments »

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.

In the end yesterday I spent approximately four hours on the train. During this elapse of time I started the Xesam User Language parser :)
Read the rest of this entry »

Tags: , , ,

Comments 1 Comment »

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?
Read the rest of this entry »

Tags: , ,

Comments 1 Comment »

Some days ago I committed lots of changes regarding inotify support. Goodies and improvements have been introduced…
Read the rest of this entry »

Tags: , , ,

Comments No Comments »