Friday, June 18, 2010

2010 Pilot Front License

"of astrology, that is what he considers the things to come, it's crazy talk."

I've always wondered if the horoscopes were made with a random generator of horoscopes. While searching for the answer I will produce one yourself. You can find it here
http://smanettare.altervista.org/orsc.php
There are a few sentences, but the result is (mildly) funny. Obviously, every time you create things quite surreal, but it's my favorite part of this heuristic.

Greetings and do not forget to look at previous posts if you have not already done so.

update: improved a bit '. try again.

cit. Francesco Guicciardini .

Monday, June 14, 2010

How To Put A Lien On A Boat

The global statistics

The problem: If the various national football player the world instead of building on their football skills on the basis of the economic / social, who would win the championship?
That is, if you count only the GDP or infant mortality who would win? The answer can be found on

http://smanettare.altervista.org/wc_stats/wc_sub.php

How? According to the data (x ) is assigned a score (P ) between 90 and 10 by the classic P = (x-xmin) / (xmax-xmin) * (90-10) +10 with xmin and xmax the minimum and maximum values \u200b\u200bthat x takes . P is the probability of a team (normalized to 100) to score a goal. The two teams trying to make 3 goals apiece. Mechanism trivial, I know. Written in PHP. Since
P is a probability that is generated each time the page changes the outcome of the simulation. If you endless simulations ... Well, enjoy!

scattered Considerations: Please note that the African nations and some Asian ones are very strong when it comes to bad luck. The U.S. is often very strong, unlike those in football. South Africa is hosting the World Cup was a third-world, professional. Also note that Italy has a fairly high death rate. Fear. Some notes

:
  • data are taken from a British site, so mischione Italian-English is due to this.
  • I do not remember the name of the site.
  • alas missing data. are replaced with little grimly plausible zero.
  • abbreviations of nations are not official ones. Take good peace.
  • the knockout is created with the criterion rather than randomized FIFA. Take good peace here.
Below is a relatively new post. Read it. A new post is a rare thing these days.

Saturday, June 12, 2010

Russian Bare Pórno

Synchronisms chain

"Synchronize watches!" Classic phrase from war movies.
Usually actors / soldiers used of chronographs, but if they used mobile phones which do not specify the second thing would have happened?
I imagined a number of people who want to synchronize their clocks without knowing the latter. An example:
B: "What time is it?"
A "15 and 24." [Of course the latter may be an unknown random number between 0 and 59]
B: "ok." [B regulates' 15:24 hours on].

suppose then C to B and ask time after time to ask D to C and so on, all this for an arbitrary number N of people.
E ' interesting to see what the difference between the real time (that of the first clock) and time measured by N-th clock.

Now there are two schools of thought. The first (1) provides that in the previous week B at 15:24 hours the exact
while the second (2) assumes that B will take the second of his watch that the chip in this case a random number between 0 59. For which of the two methods has the minor fault (now real than it is now measured by N-th clock)?

I made a PHP script in which the ith person asks for time to (i-1) th person after a random number of seconds (in order to avoid having a synchronization that would send a snapshot and can **** all ). It 'did for N = 1000.

The results using the method (2) are shown in the figure. The red lines, green, blue and purple, are simulations of synchronization with 1000 clocks, while the yellow and black are the random walk. Note the similarity. If you apply

method instead (1) is lost at each step a random number of seconds, then the end result is dramatic because the difference between real time and time measured by the ith clock is monotonically increasing with i.

Now you know how to minimize damage to a synchronization crazy.

(and some clocks moving at near the speed of light? Kidding.)

Figure: index of the various clocks against the difference between the ith clock and real time in seconds. Red, green, blue and purple: watches, black and yellow: random walk. I apologize to the colorblind.