RSS DAILY NEWS TICKER EXAMPLE


home > overview

Making re-creatable random data files really fast in python.




Jesse Noller: Making re-creatable random data files really fast in python. ["I wanted to be able to use a seed made of integers which only make sense to me that embeds certain data relevant to the test within it, so the seed would have both random and not-random integers in it. I also wanted to avoid using /dev/random and /dev/urandom - both are deceptively fast until you fire it up using a bunch of threads and drain your entropy pool. Not to mention - I want it fast, so I don't want to have an extra read() call. I need the data put in the file to be a "known thing" - i.e: randomly generated from a non-random pool of data (a words file)."]



click here to see original article or to find similar articles

 RSS DAILY HEADLINES

HEADLINES

McCain takes 5-point lead over Obama

Aug. 20: As the Republican and Democratic conventions approach, speculation increases the candidates’ picks for running mates. NBC’s Andrea Mitchell reports.  (Today Show)In a sharp turnaround, the Republican candidates has opened a 5-point lead on his Democratic rival and is seen as a stronger manager of the economy, according to a Reuters/Zogby poll.


Mexico outraged over corrupt police, kidnappings (AP) AP - After kidnappers in police uniforms set up a fake checkpoint to snatch 14-year-old Fernando Marti off a Mexico City street, his businessman father paid hundreds of thousands of dollars in ransom, and waited for his son's safe return.

Georgian separatists line up for Russian recognition (AFP)

Russian troops drive near their base in Teklati in western Georgia. Georgia's South Ossetia and Abkhazia regions planned rallies Thursday to ask Russia for recognition as independent states, two weeks after Russian troops occupied both provinces.(AFP/Louisa Gouliamaki)AFP - Georgia's South Ossetia and Abkhazia regions planned rallies Thursday to ask Russia for recognition as independent states, two weeks after Russian troops occupied both provinces.



Find this article in Google