<slfritchie>
Sargun: I spent a little while last week fiddling with Promises. From my Erlanger POV, the stdlib docs really weren't helpful, and I couldn't find lots of good example uses in the unit tests. Ping me if you get stuck.
dipin has quit [Quit: dipin]
theodus has quit [Quit: Leaving]
docstein has joined #ponylang
jemc has quit [Ping timeout: 260 seconds]
docstein has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jemc has joined #ponylang
docstein has joined #ponylang
_whitelogger has joined #ponylang
docstein has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has quit [Quit: WeeChat 1.9.1]
SenasOzys__ has quit [Ping timeout: 240 seconds]
chamar has quit [Remote host closed the connection]
chamar has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
bimawa has joined #ponylang
codec1 has joined #ponylang
m6w6 has quit [Ping timeout: 252 seconds]
m6w6 has joined #ponylang
samuell has joined #ponylang
OMGPONIES has quit [Remote host closed the connection]
OMGPONIES has joined #ponylang
codec1 has quit [Quit: Leaving.]
SirRolin has joined #ponylang
profetes has joined #ponylang
codec1 has joined #ponylang
OMGPONIES has quit [Remote host closed the connection]
OMGPONIES has joined #ponylang
OMGPONIES has quit [Remote host closed the connection]
OMGPONIES has joined #ponylang
dipin has joined #ponylang
alxs has joined #ponylang
lisael has quit [Quit: WeeChat 1.0.1]
aturley has quit [Read error: Connection reset by peer]
aturley_ has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
endformationage has joined #ponylang
samuell has quit [Remote host closed the connection]
samuell has joined #ponylang
<Candle>
http://playground.ponylang.org/?gist=a3a7c251350ca26613970196114f82ef generates 1,000,000 10 element arrays with each value in the range 0-9; the first element in the array is always 0; the 2nd element has a statistically odd distribution. elements 2-9 *look* like they have an even distribution. Is there something I'm doing wrong with seeding the generator, or in my usage of Rand.int(..)?
<SeanTAllen>
Candle: are you using 0.20.0 or master?
<Candle>
SeanTAllen: playground is running 0.20.0 [release].
* Candle
doesn't have a build of master around, or the immediate means to build it; the second element in the arrays is statistically unlikely to be a 4, 5 or 6 too. If it's just skipping over the first result, then does that just move that anomaly into the first position?
SenasOzys__ has joined #ponylang
SirRolin has quit [Ping timeout: 260 seconds]
<Candle>
locally, 0.19.3 [release], generates some results that are even more skewed.
<SeanTAllen>
nothing beyond that pull would possibly explain it to me candle.
theodus has joined #ponylang
<Candle>
If you generate a random number between 0-255 and then use modulo 10 to convert it to 0-9 then it's less likely to be 6,7,8,9. (as 256-259 can't be generated in the initial byte). Looking at https://github.com/ponylang/ponyc/blob/master/packages/random/random.pony; something like that *may* be going on.
codec1 has quit [Read error: Connection reset by peer]
jemc has joined #ponylang
jemc has quit [Quit: WeeChat 1.9]
jemc has joined #ponylang
codec1 has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
alxs has quit [Client Quit]
alxs has joined #ponylang
<slfritchie>
Hi, Candle. There's a recently closed ticket about this, https://github.com/ponylang/ponyc/issues/2320. If you find that the PR that closed the ticket is insufficient, would you mind opening a new issue ticket at GitHub?
<slfritchie>
Ah, right, Sean mentioned the PR earlier, sorry, PR 2321. I didn't do any statistical analysis beyond the first random number.
<slfritchie>
Your findings are very useful information.
SenasOzys__ has quit [Remote host closed the connection]
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
dipin has quit [Quit: dipin]
dipin has joined #ponylang
dipin has quit [Ping timeout: 258 seconds]
dipin has joined #ponylang
alxs has joined #ponylang
alxs has quit [Client Quit]
dipin has quit [Client Quit]
alxs has joined #ponylang
dipin has joined #ponylang
user10032 has joined #ponylang
johshoff_ has joined #ponylang
johshoff has quit [Ping timeout: 248 seconds]
theodus has quit [Quit: Leaving]
SenasOzys has joined #ponylang
<Sargun>
slfritchie: Are you writing Pony nowadays?
<slfritchie>
Yup
<slfritchie>
I joined Wallaroo Labs back in September.
<SeanTAllen>
We are so very happy about that too
<SeanTAllen>
Don't tell Scott though. We don't want him to get a big ego.
<Candle>
slfritchie: Well, that gist contains a reasonable testcase for pRNGs!
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
SenasOzys has quit [Remote host closed the connection]
SenasOzys_ has joined #ponylang
OMGPONIES has quit [Remote host closed the connection]
jemc has quit [Ping timeout: 248 seconds]
OMGPONIES has joined #ponylang
OMGPONIES has quit [Remote host closed the connection]
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
jemc has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
docstein has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
docstein has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
docstein has joined #ponylang
docstein has quit [Client Quit]
docstein has joined #ponylang
docstein has quit [Client Quit]
docstein has joined #ponylang
docstein has quit [Client Quit]
docstein has joined #ponylang
docstein has quit [Client Quit]
user10032 has quit [Quit: Leaving]
samuell has quit [Remote host closed the connection]