|
|
Invisible wrote:
> What...the...hell...?
>
> I just had a closer look at my test data. For reasons *beyond* my powers
> of comprehension, I used a hand-written LCG psuedorandom number
> generator to generate the file contents. Trouble is, the particular
> coefficients I picked have a period of... four.
Familiar with the concept of NIH? (Not Invented Here)
I know the PRNG built into the standard C library sucks, but i think
it's more random than .. well ... your example.
If you were creating a PRNG just fore the sheer academic fun of it, of
course ignore my commentary.
> *WHY* would I do such a thing?! >_<
>
> Of course, The *Real* WTF is that I seeded my broken PRNG using... the
> system PRNG. Which actually works correctly.
>
> Dude. Seriously. What the HELL was I smoking that day?? [shakes head in
> disbelief] I literally cannot *believe* I managed to do something this
> retarded...
>
I've been wondering that on the project I've been working on. Seriously
all day in a non-air conditioned manufacturing plant is not fun. Of
course the component I'm working on is a major PITA, due to the sheer
number of things that can go wrong both within my control and outside of
my control. :/ and it deals with physical movement of mechanical parts.
Not fun when you really screw up. (Thank God for limit switches)
Post a reply to this message
|
|