mercoledì 2 luglio 2014

Gluon Project Update

Hey KDE people! I'm Claudio and, again, I'm the only student doing GSoC and improving Gluon Project. This does mean there's a lot to do but often this translates in a lot of fun.

My project basically consists in mantaining the Gluon Player and all the distribution service in general from the server to player library that handles OCS requests to the actual QML client. This meant in porting the Qt4 player to Qt5, which led to a partial rewrite and rearchitecturing After the porting I started implementing "friends" features. This means that YOU, with a Gluon account, can ask an other Gluon user for friendship and he can accept. This is the basis of the social features we're introducing.

Oh and did you know we have a working partial and opensource implementation of the OCS protocol? I really care that you know this because when I started writing it, there was no open server-side implementation and I had to start writing it. As for now, the server supports CONTENT, PERSON, FRIEND, FAN, COMMENT and CONFIG with some calls not exaclty following the standard (nested comments feature missing). And this server also is tested with our beloved libAttica. I'll publish the source as soon as I can in a personal scratch repo for now, but I'd like to move it in the KDE infrastructure (admins?).
Ah, and I'll spend the next time of my project implementing a xmpp-based realtime chat between users. And also activity streams and other social features.

What is really missing to Gluon then?
Unfortunately I'm just focusing on distribution and user parts, but being Gluon a platform for creating, playing and deploying games, also Creator and Engine needs attention, care and most of all port to Qt5. Our idea would be to give you a usable release (oh, I really want to do my Gluon Konqui game). In order to get this possible please donate to the Randa Meeting, where gluon developers will meet :)

See you in days!

giovedì 16 gennaio 2014

OpenSourceDay 2013

Probably almost all of you didn't know about an Italian event called OpenSourceDay. It's organized and set up by a small group of university students that share the passion for Computer Science and hacking. Yeah, I'm part of it, and I went there representing KDE and it's spirit, along with the Qt framework.

The event was quite a success with around 1100 visitors. Many of them also stopped at our booth primarily asking what KDE was. I was pretty surprised that while there was a good percentage of people that alread knew (and used) KDE, there was also an other good part who believed Ubuntu/Unity was the only desktop environment for open source OSes.
Despite from that I had a good response with people appreciating in particular Plasma's design, usability and responsiveness. I had to write instructions on how to install it on various distributions for more than one person. So I'm also here to say: good job mates!

If you have time/interest, we're usually holding the event on the last week of November every year. And everyone is invited of course. Here are some photos of the event.

sabato 21 settembre 2013

Last updates from Gluon GSOC

Hello! This is my last update before the GSoC ends, so I'm going to show you the final result of my work which consisted in making all the Gluon toolchain (from development to deplayment) works.

Here is a video I recorded to show you last updates: ( ~6m )

Hope you enjoy it! Have a good weekend!

giovedì 25 luglio 2013

Gluon and the state of the project

Hello, I'm the guy currently working on Gluon project for GSoC with the idea of Making the Create > Discuss > Play workflow actually work.

Last year:

Well, last year I joined GSoC too, always with Gluon, and I wrote a working OCS server just for Gluon purposes. Of course it's not full featured neither bug free, but it's currently serving us at this address: In addition, I developed the future Gaming Freedom web site that is using our OCS server too.

This year:

I started a partial rewrite of the Gluon Player which now uses QML and plasma components. Here is a screenshot of it running:

It currently supports login/logout and registering a new account but the target for the end of the project is to browse and play games. Also graphics isn't perfect and amazing but we can always improve it after having the application working.

What games?

In order to play games we must have games. So yesterday I finished to fix Gluon Creator (which is a game creator) in order to work with our central OCS server, so you can now make your game, log into GamingFreedom network and publish your games automatically.
Gluon Creator will give you the possibility to modify description, changelog, version and so on, but the most amazing part of it is that it will create a "gluonarchive" that will be uploaded to server, ready to be played!



And you'll find your game there on Gaming Freedom website page!

What's next?

I'll plan to give the possibility to the player to actually play games through QML Gluon Player, and eventually, give feedback like comments and votes. I'll also update my scratch repo with the updated sources of the OCS server, in case someone else needs my work.

Thank you for the attention, have a good day! :)

sabato 9 febbraio 2013

Ruzzle Cheat v1.1 + HG repo

Hello! :)

Time of an update of the python ruzzle solver! The inner algorithm is changed and is way faster than the previous. This time, I don't ship dictionary with the source. You can easily grab them at:

Small usage sample:
python   [lang] [grid]
python it nahcyeksmtbudew

You have to create a folder called "dicts" and put in it the dictionaries, called like [lang].txt es it.txt for it language.

This time, I distribute via hg repo:

Profit! :)

giovedì 17 gennaio 2013

Cheating in Ruzzle

Hello people! :)

Yesterday my girlfriend was playing around with this game Ruzzle and observing it quickly I decided to try a game.

Results? I suck in Ruzzle! :D I completely can't get a sufficient streak of words in order to win and be satisfied of myself. Of course this wasn't good in any way because meh.. I hate losing!

So after an other quick look I decided to cheat, but not in any simple way or buying some ridicolous apps. Also I don't intend to alter the game executable in any way or use fake calls. That's noob cheating and... well, we're not noobs, are we? ;)

I opened up Geany and started writing a simple Ruzzle Solver in python that takes in input the board and compute every possible path into the ruzzle board. My solver actually just prints the found words on the board and starts inspecting on the top-left corner of the grid.

Is it efficient? No. It's a bruteforce and there could be many tunes in order to make it more efficient, some of them language dependant.

Is it enough? Quite yes. For now, I can average 500/600 points a match with peaks to 800/900 with the right words. The real problem is that you still NEED to find the words on the grid. RS can also print the path to the word, as it save the current state for that word, but it would be too slow to actually see the path and follow it. I found particularly efficient to do it in 2, one speaking the words out loud and the other one founding the on the grid. Also I make it run in 4 different sessions on a i7 quadcore, (I hope it's parallelized al least a bit) one for the words with len=5, one for 6, 7 and 8. Note that there are usually plenty of 5ies, many 6ies some 7ies and the 8ies is quite rare to find, maybe 3 or 4 for match in lucky.

Can I get it and experiment? Yes of course! It's located here, with an italian dictionary (unfortunately hardcoded, I was lazy :P) and you can experiment as much as you like! You can also modify it following the GPLv2 License.

Last request? Leave feedback! I'm curious about your feedback on this cheat. Use the comment area above! :)

venerdì 20 aprile 2012

Four days crazyness!

In those four days I'm going to do a complete crazyness! I was just listening to some AudioMachine, in particular this one and while it was playing I just saw it in my head! I was ashtonishingly looking at my new Eternal Spring trailer!

So, here we are! After many times I got stuck on various situations, now, waiting for GSoC results, I'm going to create a video game trailer for Eternal Spring. Not an awesome trailer. A breath-taking one. If it wouldn't be, it wouldn't also worth the time! ;)

Stay tuned!