A friend forwarded me an email pretending it contained some exceptional photos. There was actually only a text file in attachment, whose content looked like this:
Posts Tagged ‘LinkedIn’
Where we do what we do
Scoperto tramite il buon Edo: where we do what we do è un sito dove pubblicare foto del proprio spazio di lavoro. Non potevo certo farmi scappare l’occasione di pubblicare la foto del mio!
Che dite, me lo danno il premio per il più ordinato?
Qual è il tuo archetipo di blogger?
Sia mai che mi faccia mancare un test, ecco il mio archetipo:

You are a David Weinberger.
You are smart, savvy, interested in why people do what they do,
enjoy questioning yourself and are not balding.
Take the What Blogging Archetype Are You test at GAZM.org
Via kOoLiNuS
Songbird
Songbird è diventato il mio player multimediale preferito ![]()
Costretto a lavorare su windows ho cercato subito un’alternativa libera al media player e questa è davvero soddisfacente. Se cercate un’applicazione minimale vi consiglio di orientarvi verso qualcos’altro, altrimenti continuate a leggere.
how to search and replace in Windows Registry
Regedit doesn’t allow to search for a string and replace it in any occurrence so here’s a quick workaround:
- open regedit and export required tree as a text (.reg) file
- search and replace in it using your favorite text editor (I suggest Notepad++ but notepad works) and save it
- import the file from within regedit
Note: if the keys you modified are in use you won’t be allowed to import them. If they are few you may want to replace them by hand, otherwise you might look for another specialized app.
As always, my final suggestion is: switch to a GNU/Linux distribution ASAP!
Sviluppo Agile a Genova
Da un po’ di tempo mi sono avvicinato alle metodologie agili per la produzione del software e ho proprio tanto da imparare! Per fortuna a Genova si sta consolidando un gruppo di appassionati, lo XPUG Genova (eXtreme Programming User Group) grazie ai quali ho già seguito un bel po’ di seminari interessanti. Per chi volesse partecipare ci sono un wiki (non aggiornatissimo) ed una mailing list che merita davvero l’iscrizione!
refactoring 2.0
Il refactoring del codice è un cambiamento che ne aumenta la leggibilità senza cambiarne il funzionamento. Fare refactoring è importantissimo, Michael C. Feathers dice: “Remember, code is your house, you have to live in it.”
Per chi come me vuole imparare a farlo meglio può essere utile http://refactormycode.com/, un sito in cui è possibile pubblicare (un estratto di) codice in tantissimi linguaggi diversi e chiedere aiuto per farne il refactoring.
Molto agile, molto 2.0
double-check your damn pointers, okay?
Yesterday, working on my thesis, I felt like I died and resurrected more than once in a few hours. Trust me, I’m beginning to understand the way the compiler feels
Jokes apart, the following C++ code contains a bug similar to the one I found: can you spot it? (please forgive the bad indent )
void calledMethod( some_class *object )
{
arg = doSomething();
delete object;
object = new some_class( arg );
}
void callerMethod()
{
[...]
calledMethod( anObject );
anObject.doSomethingElse();
[...]
}

