github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
japhb timotimo: The good thing is that PNG images of terminals aren't terribly large, so if I don't put very many in, it won't be too big. Still, I wonder about the relative value of having screenshots inside or outside the repo (and if the latter, where to put them). Another question is whether I want to combine several screenshots into one big animation. 02:38
05:27 robertle_ left 07:09 patrickb joined 07:10 domidumont joined 07:31 zakharyas joined 08:29 sena_kun joined 09:30 domidumont left
lizmat and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2019/07/01/...n-in-riga/ 10:08
10:32 evalable6 left 10:36 evalable6 joined 11:06 brrt joined
brrt \o 11:15
11:38 domidumont joined, zakharyas left
nwc10 o/ 11:54
12:21 domidumont1 joined 12:23 domidumont left
Kaiepi °\ 12:29
12:32 brrt left 12:36 domidumont joined 12:39 domidumont1 left
timotimo ._ 12:52
13:15 zakharyas joined 13:22 lucasb joined 13:44 pamplemousse joined
AlexDaniel japhb: I usually just drag and drop required images into a comment field, it uploads them to somewhere on github 13:56
japhb: then I just copy that link into markdown files 13:57
absolutely zero guarantees that this will last, but in practice it does
14:46 domidumont1 joined 14:48 domidumont left 14:54 patrickb left
timotimo haha 15:43
clever
i sometimes upload screenshots and little screencasts/gifs to discord and use their CDN for this same purpose :)
15:53 zakharyas left 16:43 domidumont joined 16:45 domidumont1 left 17:03 brrt joined 17:15 dogbert11 left 17:49 pamplemousse_ joined 17:51 brrt left 17:53 pamplemousse left 17:55 brett-soric joined 17:59 pamplemousse_ left 18:08 domidumont left 18:22 brrt joined 18:35 pamplemousse_ joined 18:42 brett-soric left 19:36 pamplemousse_ left 20:11 brrt left
MasterDuke timotimo: have you seen github.com/perl6/nqp/issues/560 ? i can repro locally. if i add an fprintf in MVM_bigint_is_prime it's printing the given value for b (the number of rounds) 20:29
a bug in libtommath?
japhb Ooh, AlexDaniel, that's a great idea. Especially if the comment field is in an issue on the very repo I'm wanting an image in ... 20:30
timotimo huh, it's claiming that 3 isn't prime if you do only 256 rounds?
MasterDuke no. if you do more than 256 rounds
m: use nqp; say nqp::isprime_I(3, 256); say nqp::isprime_I(3, 257); 20:31
camelia 1
0
MasterDuke m: use nqp; say nqp::isprime_I(3, 256); say nqp::isprime_I(3, 257257);
camelia 1
0
AlexDaniel japhb: yeah, if you actually post that comment then I'm pretty sure it'll last forever
MasterDuke m: use nqp; say nqp::isprime_I(3, 256); say nqp::isprime_I(3, 257257257);
camelia 1
0
japhb m: use nqp; for ^300; { .say unless nqp::isprime(3, $_) } 20:33
camelia ===SORRY!=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> use nqp; for ^300⏏; { .say unless nqp::isprime(3, $_) }
expecting any of:
block or pointy block
japhb m: use nqp; for ^300 { .say unless nqp::isprime(3, $_) }
camelia ===SORRY!===
No registered operation handler for 'isprime'
japhb m: use nqp; for ^300 { .say unless nqp::isprime_I(3, $_) }
camelia 0
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
2…
japhb So it's not just that we chose a few random bad values, it's consistently wrong past that point. 20:34
timotimo maybe the MVM_BIGINT_IS_BIG check is derped 20:35
MasterDuke /* valid value of t? */ if (t <= 0 || t > PRIME_SIZE) { return MP_VAL; } 20:36
tommath.h:455: #define PRIME_SIZE 31tommath.h:457: #define PRIME_SIZE 256
timotimo we don't check the return value of mp_prime_is_prime
we should potentially throw if what it returns is not MP_OKAY 20:37
MasterDuke yep
timotimo can you check the return value it gives for those cases?
ok, who wants to answer the ticket?
and who wants to insert the return value check and exception throw? 20:39
MasterDuke i can probably get around to it later, but don't let me hold anyone else back 20:41
timotimo OK, i'll write a brief response on the ticket 20:42
21:47 patrickb joined 22:13 sena_kun left 23:11 lucasb left 23:20 patrickb left