git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 13/10] tests for various pack index features

From
OGOlivier Galibert <galibert@pobox.com>
Date
Apr 11, 2007, 13:09 UTC
Message-ID
<20070411130932.GA17094@dspnet.fr.eu.org>
In-Reply-To
<alpine.LFD.0.98.0704110850010.28181@xanadu.home>
On Wed, Apr 11, 2007 at 08:57:09AM -0400, Nicolas Pitre wrote:
> Hmmm what we need is a random data generator that always produces the 
> same thing.  I'll hack something to replace urandom.
Don't hack something, ues the standard reference, the Mersenne Twister.
  http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html

PRNGs are the same as cryptosystems, it's very easy to hack up something and get it very, very wrong. And it's unnecessary, since there are very good ones available.

  OG.
Previous: Nicolas PitreNext: Shawn O. Pearce
Message 4 of 6 in “tests for various pack index features”
  1. 13/10 tests for various pack index featuresNicolas Pitre, Apr 10, 2007
  2. Junio C HamanoApr 11, 2007
  3. Nicolas PitreApr 11, 2007
  4. Olivier GalibertApr 11, 2007
  5. Shawn O. PearceApr 11, 2007
  6. Nicolas PitreApr 11, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.