Feeds:
Posts
Comments

Ancora qualche ora…

… ed avrò dato un altro esame, e poi sulla strada della preparazione per l’ultimo della sessione, lunedì 20…

Sto tenendo un sacco di cose in sospeso: ho un paio di post in ballo, uno su alcune riflessioni riguardo la laurea specialistica al Poli, emerse dai dialoghi con un po’ di amici, un altro invece sulla questione C# vs. resto del mondo, seppur da un punto di vista squisitamente da developer; ho anche il gsoc a rilento, sono molto vicino ad un’importante milestone (che festeggerò con uno screencast, se tutto va come si deve), è lì ad un paio di righe di codice, ma non riesco ancora ad affondare…

Attendete fiduciosi!

Maledetto C++

Alla fin fine non chiedo molto: mi basterebbe avere un compilatore che restituisca errori comprensibili dall’uomo…

Farewell, my Sempron!

Sempron 3000+

Sempron 3000+

Eccolo qui, il mio Sempron, fedele compagno di viaggio per quasi quattro anni! Quanti sorgenti sono passati per quei piedini, quanti frame da elaborare, quante parole da mostrare, quante canzoni da riprodurre!

Arrivato come rimpiazzo del buon vecchio Athlon XP Mobile, Missing in Action, è stato subito in grado di farsi accettare e prendere il posto d’onore che gli è spettato. Ha sopportato stoicamente uptime da 20 ore, temperature sopra i 90 gradi, viaggi interminabili avanti e indietro per la pianura Padana, ed a suon di operazioni aritmetiche ha sempre portato a casa la pagnotta.

Perciò grazie, mio processore, per tutto il lavoro svolto in questi difficili anni universitari, chissà che un giorno non mi capiti per le mani un socket 754 e ti possa riportare in vita. Nel frattempo, tutto ciò che posso dirti è…

… addio, e grazie per tutti i bit.

Disclaimer: as said below, I never used GIT for development, so the characteristics that I attribute to it are based on what I have heard about it from other developers…

I personally have been and still am a supporter of SVN, and of the fact that (as some friends noticed) it’s not so cool having to download, with GIT, the whole project history just for trying some new features in trunk/ (but maybe there is an option to avoid it, I don’t remember exactly…); as of today, I have only used SVN for my projects (GIT and CVS only for downloading some bleeding edge software), and I also have a local repository with that VCS.

But, in the last weekend I started to rethink this fact: developing my GSoC project, I often had the necessity to create a local branch on the fly, sometimes because, in the middle of the development of a new feature, I or someone else found some serious bug, which should be solved asap and its new code uploaded in the remote repository, sometimes because there were more than one way for solving some problems, and it would be nice to try them in parallel, sometimes because you just want to revert only a part of the last modifications, but the revert option erases everything…

I admit that having a good IDE, with a good history of last modifications, may help in this way (and Eclipse, my usual IDE, does help), but it looks like that, in the end, a distributed VCS does make the difference, so I may start to try GIT for real, and then I’ll tell you if it is worth develop with it…

Save dialog 1.1

Save dialog 1.1

New screenshot, old screenshot: the dialog you can see here is almost the same as before, except that it now shows some recent annotations added to previously saved files, and a few suggestions have been loaded, thanks to the new shining Scribo plugin (by Sebastian Trueg) and to the OpenCalais public services (for those you will need an API key, after a free registration to their site, but anyway a nice popup will inform you of this, when you will try to use it for the first time).

In that particular scene, I was saving lyrics from the song “Ordinary people” by Neil Young, and OC pointed out a few related terms, like the Las Vegas city written in the text, and others.

Ok, not so much work (on my side) this week, but past weekend with another public election (and me working for it) and a presentation made on tuesday for a university course haven’t left so much time for working on this…

Anyway, I have also made a little roadmap from now to the end of the GSoC (the BIG deadline), so the next important step will be a working load dialog (besides some little work on a couple of pseudo-bugs), so there will be a starting point for thinking about interaction with the user and UI.

Last but not least, my Commander-In-Chief already blogged about the project on which Sebastian Faubel is working, and some ideas are very interesting, like for example a template-based filesystem tree for giving files a good place in which they can be saved (and browsed traditionally later).

So, stay tuned!

E due!

E anche la seconda elezione nell’arco di due settimane è andata! Ho un sonno allucinante, ma a parte questo… due palle stratosferiche, ho finito di far qualcosa alle 10.00 di domenica mattina ed ho ricominciato a lavorare praticamente solo alle 15.00 di lunedì, in mezzo una noia mortale!

Intanto, complimenti alla Virgili, che ha recuperato 15 punti sull’avversario ed ha tenuto dalla parte giusta la provincia di Rovigo, che fa sempre piacere; un vero peccato per Penati a Milano, anche se arrivare a 0,4 non è comunque un brutto risultato, e chissà che gli scricchiolii interni al comune di Milano non facciano ben sperare alle prossime comunali.

Uno schifo il referendum, naturalmente, fa piacere lavorare per niente per delle ore… vogliamo toglierlo ‘sto cazzo di quorum obbligatorio? Maledetto Paese…

P.S.: un vero peccato non essere stato a Freiburg nel weekend…

The sound of SPARQL

Welcome SPARQL my old friend

I’ve come to develop with you again

because a graph softly branching

left its nodes while I was documenting

and the branch that was used in my program

still segfaults

within the queries of SPARQL.

Save dialog v1

Save dialog v1

Does this remember you something? The answer, of course, is yes, and I can tell you what is: the draft I published here a few weeks ago. The difference? It’s that now that dialog is able to save files.

Ok, UI may suck, but frankly that was not the purpose, the purpose was to have a functioning backend, so the engine can (hopefully) produce some suggestions based on the text written in the notepad, the user himself can add new tags with a line edit field, and in the end, with a label and a comment, a text file will be saved into ~/Nepomuk/PlainTetxtDocument/label (so please, add a label). This directory is created and the full path is given to the caller application.

The first idea is to split files based on types defined in NFO ontology;  things may get more complicated later on, but for these testing purposes that’s good enough. A doxygen configuration file is in place, and executing it you can get the API: for saving a file, you just need to pass a NFO url, as you can see in test 1 code, so the dialog itself will know what is the type of the document; later on, there will be the possibility to specify in a more detailed way a document subtype.

Next improvements: implementation details for suggestions and recent annotations, then a simple open dialog is the next step into development. The next weekend (usually my commit-and-publish moment) will be a little complicated because of elections, again, here in Italy, and I will be at the polling station (if wordreference.com does not lie, and this is the correct translation (it does not look as good as I thought)); anyway, stay tuned!

Eccomi qua, back in the City, dopo aver inanellato un’altra elezione (la quinta? sesta? da membro del seggio, naturalmente): abbastanza divertente, in particolare le comunali con la proclamazione del sindaco, un paio di problemini felicemente risolti. Unico neo: domenica ho fatto 22 ore di uptime, con le ultime 4 di scrutinio con 4 verbali contemporaneamente, e ammetto di dover ancora recuperare del tutto la fatica.

Per quanto riguarda i risultati, che dire: pregi, la crescita dell’Italia dei Valori ed il calo del PDL (finalmente!), di brutto naturalmente la crescita della Lega ed il calo del PD, che è riuscito a giocarsi tutto il giocabile in giro per l’Italia. E’ triste la crescita del centrodestra in tutta Europa, ma è più triste pensare che la medesima in Italia è dovuta ai “politici” che ben conosciamo…

Tutto ciò per dire: si ricomincia in dieci giorni, referendum e ballottaggio per le provinciali, un altro weekend di fuoco (ma gli spogli saranno di pomeriggio, se non altro) con un esame quattro giorni dopo! Argh…

Sicurezza 2009

Sicurezza 2009

Rigiro anche qui la pubblicità della conferenza sulla sicurezza 2009, organizzata come sempre dal POuL; ospiti d’eccezione anche questa volta, con interventi verso l’Hackmeeting 2009.

Ci vediamo mercoledì 10 giugno presso l’Auditorium della Casa dello Studente (via Pascoli).