The client requested the display of cities in ascendant order by title, but first 5 cities has to be cities according to his choice. I had over 130 cities in table, fields: [city_id, title, position]. The solution was to either fetch all sorted by title and to extract those 5 and put them on top, or to update position of each city according the title ascendant order. The second solution is better, but I had to do that for over 130 rows.

Read the rest of this entry »


Lost in translation

Posted: July 21, 2012 in Miscellaneous

By combining the Serbian pronunciation of the English language and Italian listening of it, I have, without any attention to do so, accidentally hit on the the Italian partner after the business meeting that we had. In order to avoid a confusion – the Italian partner is a dude living with his girlfriend!

Read the rest of this entry »

Horn against red light

Posted: May 5, 2012 in Miscellaneous

The crossroad near my building has a stop light with red light duration of over 5 minutes. I was in queue, third in a row of five cars. The nervous guy behind me after three minutes of red light, ringed his car horn expressing his anger on stop light – like if it going to turn green becase of it?!?! I couldn’t hold my self – I turned around and yield: “Dumb ass, it is a f**** machine, that does not helps!!!”. This guy was obviously a machine as well – he kept pressing his horn until red light turn into the green.

Bread and games

Posted: May 3, 2012 in Miscellaneous

It is not big surprise why are things are so bad in Balkan. We are not living in Eastern Europe, or third world country, we are actually living in half-world with half-people. Therefore, poverty of the majority (both money and mind) and corrupted governments are something that can be easily understood.

And all comes actually from the common people, like me or you – we are the cause of it.

Read the rest of this entry »

Several weeks ago my friend posted the quote on the her wall from the Nobel prize winner, Ivo Andrić. The quote is as follows (will try to translate as best as I can): “It is not a shame to fail in one big hope. The fact that such hope could even exists worth so much that the price paid by one big disappointment is not to high, no matter how big that disappointment was.”

Almost everyone liked that quote. Why shouldn’t they – it is made by highly appreciated writer, a Nobel prize winner?

Read the rest of this entry »

My first proposal

Posted: April 20, 2012 in Miscellaneous
Tags: ,

Several days ago one of my friends asked me if he can sleep over for a weekend (he lives in Kragujevac) so he can spend some time with his girlfriend. He arrived few hours later, we had a cup of coffee.

If you were present few hours later that day, you could see us, standing in front of each other, he with a diamond ring asking for marriage and me laughing my ass out.

Read the rest of this entry »

Didn’t have too much time to keep writing about TV advertising – I was busy doing some testing and development of the software for creation of the optimal TV advertising plan. In previous lessons, I have glorified the Reach n+ index for the performance overview of the TV advertising plan – I was soooooo wrong! New index should be introduced, and I have figure out that from the tests results that I have conducted for the previously mentioned software

Read the rest of this entry »