[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: math.randomseed() is completely broken on Lua 5.1.5 on Mac os x
- From: Andrew Starks <andrew.starks@...>
- Date: Wed, 11 Sep 2013 02:28:57 -0500
On Wednesday, September 11, 2013, Dirk Laurie wrote:
2013/9/10 Rena <firstname.lastname@example.org>:
> On Tue, Sep 10, 2013 at 8:45 AM, Dirk Laurie <email@example.com> wrote:
>> 2013/9/10 Marek Majkowski <firstname.lastname@example.org>:
>> > On Tue, Sep 10, 2013 at 1:22 PM, Dirk Laurie <email@example.com>
>> > wrote:
>> >> 2013/9/10 Marek Majkowski <firstname.lastname@example.org>:
>> >> There's a nice discussion on:
>> >> <http://lua-users.org/lists/lua-l/2007-03/msg00564.html>
>> > Thanks for the link. Shouldn't it be mentioned in the bugs page?
>> > http://www.lua.org/bugs.html#5.1.5
>> It's not a Lua bug. Lua 5.1.5 on e.g. Linux does not have the bug.
>> Lua 5.2.x discards the first value when you call randomseed, but
>> one must think of that as a workaround to compensate for imperfect
>> C libraries.
> Still seems like "Bugs in external libraries that affect Lua's behaviour"
> would be a good section to have on a bug list page as well, so people aren't
> tripping over them.
Or simply encourage people to try Google first.
I got that link to LHF's 2007 post by Googling on something like "first number
after randomseed not random". The temptation to put in a LMGTFY link as
reply was strong, but my New Year's resolution for 2013 was to stop
posting LMGTFY replies. I'll start using them again next year. :-)
What is on earth is LMGTFY?
Just some red meat for you. :)