Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_log/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm
Set by Zoffix on 27 July 2018.
00:39 MasterDuke joined 00:40 MasterDuke left, MasterDuke joined
mst .tell patrickb I never actively organised anything, maybe talk to mdk, sorry 01:31
yoleaux mst: I'll pass your message to patrickb.
MasterDuke moritz: it looks like a bunch of Cro (i.e., the repos under github.com/croservices) is missing from perl6-all-modules 01:43
02:41 Kaiepi left 02:43 Kaiepi joined 03:55 ufobat joined 03:57 ufobat_ left
moritz MasterDuke: are these modules? If yes, which ones? 06:16
08:15 patrickb joined 08:30 robertle_ joined
lizmat Files=1266, Tests=88054, 381 wallclock secs (20.57 usr 6.12 sys + 2712.61 cusr 238.26 csys = 2977.56 CPU) 08:54
gfldex m: subset Foo of Str; subset Bar of Str; sub f(Foo $f){}; say [&f.signature ~~ :(Str), &f.signature ~~ :(Bar), &f.signature ~~ :(Foo)]; 09:07
camelia [False True True]
gfldex is that ^^^ intentional?
lizmat gfldex: you mean that the first one is False ? 09:28
ufobat i am surprised that the 2nd one is true 09:33
lizmat m: subset A of Str; subset B of Str; dd A ~~ B; dd B ~~ A 09:37
camelia Bool::True
Bool::True
lizmat hmmm
ufobat because on the other hand a array of Str is not an Array[Str] 09:40
lizmat m: subset A of Str; subset B of Str; use nqp; dd nqp::istype(A,B); dd nqp::istype(B,A) # this goes deep 10:12
camelia 1
1
10:14 llfourn_ left 10:21 llfourn joined
Kaiepi now that i fixed Crypt::CAST5 finally the next thing i'll work on is a library that abstracts the logic for implementing different block cipher modes away from the crypto modules that would need them 11:24
since i'm only willing to write libraries for CAST5 and DES and i'm not going to write 5 different block cipher modes for the two of them individually 11:25
timotimo pure-perl6 implementations of ciphers? i hope they aren't vulnerable to timing attacks :) 11:28
Kaiepi no they're written in c 11:29
mostly
timotimo ah, that makes it easier to get exactness for that
github.com/smcameron/open-simplex-...ex-noise.c - i'd like this for perl6 :3 11:30
once i had considered porting it to pure perl6, maybe also as a piece of performance testing code 11:33
but it is a lot of code
Kaiepi Crypt::CAST5 was originally purely in perl 6 but it was awful and didn't work properly since i forgot to test whether the ciphertext was accurate 11:36
timotimo d'oh
Kaiepi it was some kind of cipher but not CAST5 lol 11:37
timotimo i'm not sure i have heard of CAST5 yet
anywhere in particular that i'd see it?
Kaiepi telnet 11:38
that's why i wrote it 11:39
timotimo i expected that, but didn't want to assume :)
11:45 lucasb joined
Kaiepi oh wait this isn't #perl6 11:46
11:50 Kaiepi left, Kaiepi joined 12:04 AlexDaniel left 12:05 j3nnn1 joined 12:53 dogbert2_ left 12:58 MasterDuke left 14:43 robertle_ left 14:44 robertle_ joined 14:46 robertle_ left
lizmat bisectable6: my @a = (^1000).map: { my $a = Proc::Async.new("sleep",1); $a.stdout; $a.start }; await @a 14:52
bisectable6 lizmat, Bisecting by exit signal (old=2015.12 new=5b231e0). Old exit signal: 6 (SIGABRT)
lizmat, bisect log: gist.github.com/006a81e0c3403f84a7...e75e74a2b8 14:53
lizmat, (2016-07-29) github.com/rakudo/rakudo/commit/02...b130fe474e
15:07 ExtraCrispy left 15:15 lucasb left 15:41 ExtraCrispy joined 15:51 ExtraCrispy left 16:25 patrickb left 16:37 jmerelo joined
jmerelo Hi 16:37
www.p6c.org seems to be down. Who's responsible for that? 16:38
(I mean the machine, not being down)
16:39 AlexDaniel joined 16:52 Util joined 17:10 patrickb joined 17:50 statisfiable6 left 18:05 statisfiable6 joined, ChanServ sets mode: +v statisfiable6 18:13 statisfiable6 left 18:25 statisfiable6 joined, ChanServ sets mode: +v statisfiable6 20:08 jmerelo left 20:21 [Coke] joined 21:12 patrickb left 22:15 MasterDuke joined, MasterDuke left, MasterDuke joined 22:16 Kaiepi left, Kaiepi joined 22:20 Kaypie joined, Kaiepi left 22:46 Merfont joined, Kaypie left 23:16 Merfont is now known as Kaiepi
Kaiepi bisectable6: use NativeCall; sub strlen(Str --> size_t) is native {*}; strlen(explicitly-manage('ayy lmao')) 23:20
bisectable6 Kaiepi, Bisecting by output (old=2015.12 new=5b231e0) because on both starting points the exit code is 0
Kaiepi, bisect log: gist.github.com/19e84247183b3299a4...712d6777c7
Kaiepi, (2019-01-11) github.com/rakudo/rakudo/commit/c4...0ab2e85321
Kaiepi bisectable6: use NativeCall; sub strlen(Str --> size_t) is native {*}; my $foo = explicitly-manage('ayy lmao'); strlen($foo) 23:21
bisectable6 Kaiepi, On both starting points (old=2015.12 new=5b231e0) the exit code is 0 and the output is identical as well
Kaiepi, Output on both points: «»
Kaiepi bisectable6, use NativeCall; sub strlen(Str --> size_t) is native {*}; sub free(Pointer[void]) is native {*}; my Str $foo = 'ayy lmao'; explicitly-manage($foo); say strlen($foo); free(nativecast(Pointer[void], $foo)) 23:22
bisectable6 Kaiepi, Bisecting by output (old=2015.12 new=5b231e0) because on both starting points the exit code is 1
Kaiepi, bisect log: gist.github.com/7ee199c1464daa3bce...7bfaa90637 23:23
Kaiepi, (2015-12-25) github.com/rakudo/rakudo/commit/07...dc61f84053
Kaiepi, The result looks a bit unrealistic, doesn't it? Most probably the output is different on every commit (e.g. 「bisect: say rand」)
AlexDaniel c: 2015.12,HEAD use NativeCall; sub strlen(Str --> size_t) is native {*}; sub free(Pointer[void]) is native {*}; my Str $foo = 'ayy lmao'; explicitly-manage($foo); say strlen($foo); free(nativecast(Pointer[void], $foo)) 23:33
committable6 AlexDaniel, gist.github.com/04bf9d9ce541d8ba47...8e35e90e7e
AlexDaniel Kaiepi: ↑
timotimo i think that just changed the error message? 23:35
AlexDaniel yes
Kaiepi shouldn't it work though? 23:36
or is it just something that needs to be documented 23:37
timotimo i think it should work 23:43
Kaiepi working on it now
should be an easy fix 23:44
timotimo hopefully
23:55 MasterDuke left