Greetings to all. Let's talk about the holiday.
New Year is coming, and it’s customary to give presents. But we are a young company, and we haven’t produced anything outside. And I still want to give. In this situation, we have taken, but polled friendly companies with whom we have long and closely communicate. With a very simple offer - and let's give gifts! Just. And they took, and agreed.
For Habravchan, we have a total of 19 20 gifts for the new year. So:
But what are the conditions of the competition? And here the alarm and md5? In the right question is half the answer.
We will determine the winner automatically, but the result depends only on your activity.
All those who applied for participation are registered in the order of receipt under the Habrovo nickname.

- The promotion lasts until Monday at 20:30, after which the contest scripts stop and we count the winners.
- From each nickname is calculated its hash function.
- All nicknames are glued together in a single file in the order they are received, and their total hash is calculated.
- Each hash of the nickname ksoritsya with this common hash, we get a rating
- All nicknames are sorted in ascending order of this rating.
- We will publish the list here, we will contact the winners by mail and in a personal on Habré. If there is no reaction from a particular winner until 13:00 on Tuesday, the prize automatically proceeds to the next one in the list.

It turns out that the winners are determined only by the list of participants and the sequence of their registration for the competition.
But we do not want to give inappropriate or unnecessary gifts. Therefore, each participant chooses what gift he claims.
After sorting the participants, the computer takes the first person from the list, and gives him the gift that the lucky one chose. This particular gift is considered issued. Each next participant who “made a bet” on the same gift will not receive anything. Etc.
In other words, if the first 50 people from the list choose the player, and the 51st book, then the player will receive the first person from the list, the next 49 will not receive anything, and the 51st will receive the book.
')

For non-programmers, the formula seems complicated, so for simplicity, we can assume that the order of issuing prizes is random, and the probability of obtaining it is the higher, the less popular the prize you choose.
Virtuals can participate. Employees of companies that provided prizes - too!
Therefore, a stir - every new participant changes the whole picture in the fight for the prize.
Who provided the gifts?
Web projects - experienced optimizers, our long-standing partners.
Digroterra is a gadget shop. We have known them for a long time and can recommend them.
The player from the magazine “Vogue” modestly provided the designer
Oleg Postnikov (our logo of his authorship).
Ibik-soft presented the boxes with his program - “Aster”. We ourselves used Aster for a year and a half, and we were satisfied. Accidentally on Habré met their employee
wilelf , after which the idea was born to hold a distribution of gifts here. And another team blog
inspired us for gifts, for which they thank you. The pictograph of the magazine was taken from
SysCat .
Org. questions:
- * Player from the magazine “Vogue” - an exception to the rule. We decided to donate it to the regional participant of the competition (not from Moscow or the region). It will be mailed to the winner.
- For the rest: on Wednesday, 12/29/2010 at 20:30, there will be a presentation in the center of Moscow on a "neutral territory", the place will be announced to the winners, who will not have time - they can take it from our office, or by mail. Delivery is free - a gift is a gift.
- After the actual receipt of the prize, please write here in the comments “received, everything is OK” or more detailed
How the contest script works:
- We follow the link , register. Nick specifies Habrovsky, the password is better to specify a new
Link for registration and participation:
nymix2010.eland.ru/?registration
- There you will be given a promotional code, you need to insert it into your profile on Habré habrahabr.ru/settings . It is necessary to weed out strangers.
There will be such a picture

- After that, go to your own profile on Habré Vashnik.habrahabr.ru and click on this promotional picture
- Log in with your nickname and new password invented
- There you will see how many people chose which prize, the choice can be changed during the contest
- You can join the list of donators, but the number of "places" is limited
- Curious programmers can feel the current rating calculations
The contest script was written in an emergency mode, please take usability and glitches philosophically. Holidays come suddenly and unexpectedly.
ATTENTION ! Anyone who has bought an extra magazine Vogue with a player and want to share it with habravchanami from other regions - can do it in the framework of our campaign. The names of the characters add here.Happy New Year, everyone! The first ten years rewound in this century.
UPD: The
deNULL member
has hosted a
sub-result parser
http://denull.ru/eland.phpUPD2: It turned out to be a test - sending 17 packages through the Russian Post. Since last year, they have not had the delivery of consumables, packaging paper, envelopes. But we managed all the parcels are gone, wait :) The winners have personal addresses and tracking codes for delivery.