Optimization operator

I have introduced this to quite a few colleagues in a form of question “what is the optimization operator in C++/PHP/…?”
The answers varied a lot, people would come up with branch prediction stuff (likely(),etc), and many other ideas, though never right ones.
The answer was pretty straightforward. It works in quite a lot of programming languages:

//

Simply commenting out code optimizes things better than any other way. Go, try it.

Weird wit by Google translation technology

I was translating some document from German to English, that had my surname in it.
It got translated to ‘Beesley’, and I immediately thought of Angela Beesley, chair of Wikimedia Advisory Board. I started playing more, and did find, that:

  • French ‘Domas Mituzas’ to English translates as ‘Anthere fall’
  • ‘Mituzas’ in German is ‘Schindler’ (Matthias?:)
  • Spanish ‘Domas Mituzas’ to English translates as ‘Anthere Anthere’ (every wikipedian has a bit of Florence inside :)
  • English to Portuguese renders me as “Domas Lessig” (I have creative commons t-shirt :)
  • English to Chinese is “florence 100,000″…

Thats what Web 3.0 is all about. Tampering with my personality. Who am I? :)

Dynamo by Amazon

Amazon has published a nice paper on Dynamo, their distributed hash storage. Such kind of solution is really needed for the big shops, and the only issue why we’re not using anything like at Wikipedia that is that we don’t actually have it.

I saw a comment in there by “Max”:

Looks like a lot of thought has been put into this. I stopped reading about halfway through but how much of this was inspired by memcached?

I guess the answer would be ‘none’. Key-value databases will be mainstream for 30 years already soonish (the first ‘dbm’ was released by Ken Thompson at AT&T back in 1979). It wasn’t distributed back then, but you may want to slap ‘distributed’ label to pretty anything nowadays. The method of doing that is usually the problem, and in this case Dynamo choses something similar to Chord-like rings (though with simplified routing).

Still, there’re no open libraries that would provide with easy reliable DHT building, and I’d love every paper like this to come with open-source code rather than patents attached.

P.S. My first serious web-app coding was on Sybase PowerDynamo ;-)

Another day of travel

As every travel morning it starts with getting up (04:30AM), packing, brushing, washing, yawning, bathing, all at the same time. I get to airport, and I realize, I’m going to Dublin, one of destinations for lithuanian economic migrants – that means big queue of good life seekers. Though usually check-in queues are just few-minutes long, this time it takes me half an hour to get to the desk, where the fun of the trip starts.
Continue reading “Another day of travel”

Live Earth!

In Vienna’s Ratthaus-platz there’s a screen which shows Live Earth – great place to think of your own environmental impact. I’m pretty efficient in that regard – working at home eliminates daily transportation issues, my electricity consumption is mainly backed by clean nuclear energy, and.. oh, I had 20 plane flights in 2007 already. Probably thats far less, compared to what I’d have to do if I visited each and every customer. Continue reading “Live Earth!”