…just another hippy blog

only in selected theaters

Rockin’ in Bologna

piercing. bunny. hands.
Originally uploaded by Mike Wood Photography.

Dear Sergio Cofferati,

I appreciate your intent to make Bologna a "cleaner" city and I do believe that the "broken windows" theory might contain some truth, but let me explain you a few basic concepts.

Drinking a beer after 10 pm is not a crime, so forbidding the sale will only cause people to be more p***ed off and drink more.

Cleaning a car’s window shield is not a crime. If you are worried about some immigrant insulting car drivers at some crossroads, well, somebody ought to tell you that that’s already a crime. No matter if the guy is immigrant or comes from the moon, and no matter how he gets by.

I am free to get myself a piercing or a tattoo where the fuck I want! Did you get it? If some goddamn a*****e sells tattoos or piercing jobs with no concern to hygienic norms, he is already breaking some existing law!

Oh, and by the way… why don’t we just put some distinctive clothing on hippies and punks and whoever you don’t feel comfortable with?
Some very talented people and organizations already did this in the past with huge success! F**k tollerance and f**k helping people to meet and socialize. Let’s stuff them in some railway carriage and send them on a nice holiday.

Also, you could just shave yourself, wear some nice blue hat and yellow gloves and run around screaming "You Will Respect My Authoritah!", but I guess South Park fans would be rather p***ed off. Besides of you looking rather silly. :D

I’m sick of hearing people talk about "zero tolerance". They need to look up a damn dictionary.
We don’t need "zero tolerance", we need "zero crime" and "100% tolerance".

Yours sincerly,

a hippy that won’t be visiting Bologna very soon thanks to a ******** major like you

Sorting functors and bikinis

I stand up next to a mountain
Originally uploaded by Mark Witton.

Sorting is one of the most common operations done on a data structure and it’s one of the best examples for generic code and C++ templates.
Qt provides a handy qSort() method which comes in different flavours.
One is quite interesting as it allows you to use a custom sort function.

void qSort(RandomAccessIterator begin, RandomAccessIterator end, LessThan lessThan)

LessThen is actually a template parameter. I guess most of the times you will just use a pointer to a global function.
The drawbacks are that you cannot pass parameters to the sorting function, unless you use global static variables. And that’s rather ugly.

Read more

Goodbye, farewell

Passing train
Originally uploaded by PhotoA.nl.

June 28th, 2008. Deutsche Bahn: no more paper.
July 15th, 2008. Trenitalia: no more trains.
Coming soon: No more airplanes.

Screw you guys, I got a new roof!

Retired homeless fisherman
Originally uploaded by pedrosimoes7.

Did you notice the new roof?

Our beloved Pope Benedict XVI could not prevent himself from telling us happily that the Vatican Palace has a new roof.

I’m glad to hear that. And I bet there is quite a lot of “roof-less” and “food-less” people that will be damn happy to know that no raindrop will fall on his golden throne.

This is not intended to be another cynical critique to the holy Vatican City joint-stock company. I just get too pissed off when I have to hear this bulls***t on the news. On Italian news of course. Well, there should be some quotes around the word “news”, I guess.

Untitled post about wynona’s puppet

Coffee … break !
Originally uploaded by Christiane Michaud.

Sorry folks, I was lying. This post is not about wynona. I’m really really sorry.
I have spent the whole day trying to build an apache module using Qt and qmake so I have to blog about my success.

I know, the guys at apache (btw. I’m really impressed by their work) advise against writing C++ modules or linking shared libraries, but I’ll have to do that for a project I’m working on at Clickout Ltd. so we’ll have to discuss those issues some day.

Nevertheless, the traditional mod_helloworld buit with no hassle on windows but there was no way to make it work on Linux/GCC so I had quite some fun figuring out the issue. So, here is a quick tutorial :-)
Read more

« Previous PageNext Page »