Random value selection from array based on weight

Today I decided to publish small article and code describing weighted random values generation or better to say selects values from the array randobly based on weight values. actaully algorithms are widely known and I am just publishing javascript implementation of one of them, I think one of the best ones.

Read complete article: Random value selection from array based on weight

Erlang SSL server example

Today I decided to prepare and publish simple example of SSLsockets usages. As in my previous articles about TCP & UDP sockets I decided to write simple echo server that just returns the pacage it gets. Okay, I do not whant to waist your time and suggest just to go to the article.