Comments (7)
Running it a bit later from a different location (repo clone working directory, probably irrelevant) gives me a different number of 9. Consecutively generated numbers seem to be random.
from numguess.
Interesting read: http://stackoverflow.com/questions/461978/why-is-the-first-random-number-always-the-same-on-some-platforms-in-lua
from numguess.
Amazing bug handling! ;)
from numguess.
@bazmegakapa Suggestions are welcome! ;) It's a bit worrying that this bug has been around since at least 2007.
from numguess.
@DarthJDG More than worrying, but fortunately I had no big plans with Lua anyways :). My comment was not sarcastic, btw. I saw that you found the bug and an hour later it was tracked down and fixed. Efficiency :).
from numguess.
@bazmegakapa I updated the blog post btw with the amazing recent contributions.
from numguess.
You always learn something new!
from numguess.
Related Issues (20)
- Update Brainfuck version according to guidelines
- Update C# version according to guidelines
- Update Jasmin version according to guidelines HOT 2
- Update Java version according to guidelines
- Update Javascript version according to guidelines HOT 5
- Update LUA version according to guidelines
- Update Pascal version according to guidelines
- Update PHP CLI version according to guidelines HOT 1
- Update Perl version according to guidelines HOT 5
- Update dBase IV version according to guidelines
- Update Python version according to guidelines
- Update UniVerse basic version according to guidelines
- Lua: Max tries calculation is wrong HOT 1
- Optimise Haxe version
- Optimise PHP version HOT 1
- Optimise Perl version
- Change Lua variable name
- Change Python variable name
- Optimise Swift version
- Optimise UniVerse Basic version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from numguess.