Not long ago I was happy that modern and standards complaint browsers are gaining the market and hoped that web programming will become more and more happy and interesting job with HTML5 and three major web browsers compete with aproximately equal shares. But Google Chrome developers have not allowed me to be happy for a long time. They generating new bugs and naming them features. Some of that "features" making me really sad.
A couple of days ago I had to solve/handle the Google Chrome issue with the rounded corners in a scrolled area. First I have not even believed that something like that is possible with such a popular browser, but however had to find a solution. So, in my artile I am describibg such a solution in hope that this will save somebody little time and expecting a feedback if I have made something stupid.
Today I want to provide quite simple code that helps to check and load required libraries. I have met this problem while creating some code that should be delivered to different sites and I am not sure what libraries are loaded there and what are not. So, I decided to check and load dependencies from the script.
Article describes algorithm of random row selection based on weight, so some rows will be selected more often than other. Article includes sample codes, so I hope will bу helpful to somebody.
Do not hesitate to leave comments if you have ideas how to improve the algorithm.
Just decided to publish Erlang wrapper module for Google geocoding cervice. It is based on Google Maps V3 cervice, as Google Maps v2 is going to be depricated soon.