Archive for the “Programming” Category

During the last weekend I hacked a bit on rockmarble and I added a new feature: retrieve all the events happening in a certain city.

Read the rest of this entry »

Tags: , , , , ,

Comments 2 Comments »

During the last weekend I wanted to have some fun with QJson. So I came out with this idea: retrieve from last.fm the tour dates of my favourite artists and display the locations using Marble.

After some hacking I created this small application: rockmarble

Read the rest of this entry »

Tags: , , , , ,

Comments 7 Comments »

In order to realize a project of mine I started looking for a Qt library for mapping JSON data to Qt objects.

I came over a couple of solutions but none of them made me happy. So in the last weekend I wrote my own library : QJson
Read the rest of this entry »

Tags: , , , ,

Comments 33 Comments »

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 42 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 »