»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:00
HaraldJoerg joined
00:01
HaraldJoerg1 left,
p6bannerbot sets mode: +v HaraldJoerg
00:02
jast left
00:03
jast joined
00:04
p6bannerbot sets mode: +v jast
|
|||
Geth | doc: 80eaae4d15 | Coke++ | doc/Language/about.pod6 These are valid Perl 6 examples |
00:05 | |
doc: b17b546e3a | Coke++ | util/unskip.p6 tool to unskip code in doc examples Will remove the skip-test entirely if possible, but will fallback to using :solo if that works. |
|||
synopsebot | Link: doc.perl6.org/language/about | ||
doc: 74c6a6dadb | Coke++ | doc/Language/operators.pod6 This compiles It dies at runtime, but that's fine, we're not running it. |
|||
synopsebot | Link: doc.perl6.org/language/operators | ||
00:07
cognominal-p6 left
00:08
simcop2387 left,
perlbot left
00:09
perlbot joined,
p6bannerbot sets mode: +v perlbot
00:10
simcop2387 joined,
p6bannerbot sets mode: +v simcop2387
00:16
leont left
00:17
MasterDuke joined,
p6bannerbot sets mode: +v MasterDuke
00:18
MasterDuke left,
MasterDuke joined,
herbert.freenode.net sets mode: +v MasterDuke,
p6bannerbot sets mode: +v MasterDuke
00:22
lizmat left
00:29
HaraldJoerg left
00:42
ufobat left,
ufobat joined
00:43
p6bannerbot sets mode: +v ufobat
01:00
lizmat joined,
p6bannerbot sets mode: +v lizmat
01:07
cognominal-p6 joined
01:08
p6bannerbot sets mode: +v cognominal-p6
01:13
cognominal-p6 left,
cognominal-p6 joined
01:14
p6bannerbot sets mode: +v cognominal-p6
01:21
[Sno] joined,
sno left,
p6bannerbot sets mode: +v [Sno]
01:38
atta left,
atta joined
01:39
p6bannerbot sets mode: +v atta
01:50
Kaiepi joined
01:51
p6bannerbot sets mode: +v Kaiepi
02:06
molaf left
02:07
kurahaupo left
02:13
kdr21 is now known as KDr2
02:19
molaf joined,
p6bannerbot sets mode: +v molaf
02:20
MasterDuke left
|
|||
Xliff | \w | 02:37 | |
\o even | |||
02:37
w_richard_w joined
|
|||
Xliff | Will binding one element of a hash to another gain anything? | 02:37 | |
02:38
p6bannerbot sets mode: +v w_richard_w
|
|||
Xliff | m: my %a = ( a=>1, b =>2, c=> 3); %a<zz> := %a<b>; %a<zz>='c'; %a<d> = %a<b>; %a<d>='bleah'; %a.gist.say | 02:38 | |
camelia | {a => 1, b => c, c => 3, d => bleah, zz => c} | ||
02:39
w_richard_w left
|
|||
Xliff | Nevermind. :) | 02:39 | |
02:39
w_richard_w joined
02:40
p6bannerbot sets mode: +v w_richard_w,
w_richard_w left
02:54
cognominal-p6 left
03:08
rouking left
03:09
roguelazer joined
03:10
p6bannerbot sets mode: +v roguelazer
03:12
ufobat_ joined,
p6bannerbot sets mode: +v ufobat_
03:13
roguelazer left
03:16
ufobat left
|
|||
Xliff | m: say 1.not | 03:29 | |
camelia | False | ||
Xliff | m: say 1.not.not | ||
camelia | True | ||
Geth | mu: 47472792cd | (Fernando Correa de Oliveira)++ (committed using GitHub Web editor) | misc/perl6advent-2018/schedule Update schedule |
03:41 | |
04:06
sauvin joined,
p6bannerbot sets mode: +v sauvin
04:08
noganex joined,
|oLa|1 joined,
p6bannerbot sets mode: +v noganex
04:09
p6bannerbot sets mode: +v |oLa|1,
noganex_ left,
jast left,
Actualey` left
04:10
Actualey` joined,
p6bannerbot sets mode: +v Actualey`
|
|||
Xliff | m: "!\n".uniname.say | 04:21 | |
camelia | EXCLAMATION MARK | ||
Xliff | m: "!\n".comb.map(.ord).say | ||
camelia | No such method 'ord' for invocant of type 'Any' in block <unit> at <tmp> line 1 |
||
Xliff | m: "!\n".comb.map(ord(*)).say | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Calling ord(Whatever) will never work with any of these multi signatures: (Cool $s) at <tmp>:1 ------> 3"!\n".comb.map(7⏏5ord(*)).say |
||
Xliff | m: "!\n".comb.map({ ord($_) }).say | 04:22 | |
camelia | (33 10) | ||
Xliff | m: (32,54,33,10).map({chr($_)}.say | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1) at <tmp>:1 ------> 3(32,54,33,10).map({chr($_)}.say7⏏5<EOL> |
||
Xliff | m: (32,54,33,10).map({chr($_)}).say | ||
camelia | ( 6 ! ) |
||
Xliff | m: Buf[uint8].new(73,32,226,153,165,32,80,101,114,108).encode.say | 04:23 | |
camelia | No such method 'encode' for invocant of type 'Buf[uint8]'. Did you mean 'decode'? in block <unit> at <tmp> line 1 |
||
Xliff | m: Buf[uint8].new(73,32,226,153,165,32,80,101,114,108).decode.say | ||
camelia | I ♥ Perl | ||
Xliff | m: Buf[uint8].new(226,153,165).decode.say | 04:24 | |
camelia | ♥ | ||
Xliff | m: Buf[uint8].new(226,153).decode.say | ||
camelia | Malformed termination of UTF-8 string in block <unit> at <tmp> line 1 |
||
Xliff | m: Buf[uint8].new(226,153,165).map({ sprintf("%0x", $_) }).say | 04:27 | |
camelia | (e2 99 a5) | ||
Xliff | m: Buf[uint8].new(0xe2,0x9d,0xa4).decode.say | 04:28 | |
camelia | ❤ | ||
Xliff | m: 0xe299a5.say | 04:29 | |
camelia | 14850469 | ||
Xliff | m: '♥'.uniname.say | 04:30 | |
camelia | BLACK HEART SUIT | ||
Xliff | m: 0b111000101001100110100101.say | 04:32 | |
camelia | 14850469 | ||
Xliff | m: 0x2665.say | 04:33 | |
camelia | 9829 | ||
04:34
kurahaupo joined
04:35
p6bannerbot sets mode: +v kurahaupo
04:37
molaf left
05:10
b2gills left,
b2gills joined
05:11
p6bannerbot sets mode: +v b2gills
05:26
sauvin left
05:38
kurahaupo_ joined
05:39
sauvin joined,
p6bannerbot sets mode: +v sauvin,
p6bannerbot sets mode: +v kurahaupo_
05:41
kurahaupo left
05:51
cognominal-p6 joined,
p6bannerbot sets mode: +v cognominal-p6
05:59
cognominal-p6 left
06:00
cognominal-p6 joined,
p6bannerbot sets mode: +v cognominal-p6
06:04
cbk_ left
06:12
w_richard_w joined
06:13
p6bannerbot sets mode: +v w_richard_w,
jmerelo joined
06:14
p6bannerbot sets mode: +v jmerelo
06:25
andrewalker left
06:27
troys left
06:29
w_richard_w left
06:41
Xliff left
|
|||
Geth | doc: 62d8495022 | (JJ Merelo)++ | doc/Type/Version.pod6 Fixes Version documents Fixes wrong description of literals, and also adds some examples illustrating operators. Closes #2421 |
06:44 | |
synopsebot | Link: doc.perl6.org/type/Version | ||
07:03
domidumont joined
07:04
p6bannerbot sets mode: +v domidumont
07:06
TeamBlast left
07:07
TeamBlast joined
07:08
p6bannerbot sets mode: +v TeamBlast
07:14
aindilis left
07:15
aindilis joined
07:16
p6bannerbot sets mode: +v aindilis
07:21
TeamBlast left
|
|||
Geth | doc: 8997d62e42 | (JJ Merelo)++ | Makefile Switching categories back on |
07:25 | |
07:26
TeamBlast joined,
jmerelo left
07:27
p6bannerbot sets mode: +v TeamBlast
07:56
kurahaupo_ left,
kurahaupo joined
07:57
p6bannerbot sets mode: +v kurahaupo
08:05
abraxxa joined
08:06
p6bannerbot sets mode: +v abraxxa
08:14
[Sno] left
08:15
sno joined
|
|||
holyghost | Mathx::Stat compiles and works, some things of AI::Agent compile and work. As I am busy with personal things I won't be able to fix them until next week wednesday. | 08:16 | |
08:16
p6bannerbot sets mode: +v sno
08:20
Guest74089 left
08:21
success joined,
success is now known as Guest95121
08:22
p6bannerbot sets mode: +v Guest95121
08:25
abraxxa left
08:26
abraxxa joined
|
|||
Geth | doc: 1bbf4e38c5 | (Richard Hainsworth)++ (committed using GitHub Web editor) | doc/Language/5to6-perlop.pod6 Update 5to6-perlop.pod6 fix link in smart match in binding section |
08:26 | |
synopsebot | Link: doc.perl6.org/language/5to6-perlop | ||
08:27
p6bannerbot sets mode: +v abraxxa
08:29
abraxxa left
08:31
kurahaupo left,
kurahaupo joined
08:32
abraxxa joined,
p6bannerbot sets mode: +v kurahaupo,
p6bannerbot sets mode: +v abraxxa
08:33
rindolf joined
08:34
p6bannerbot sets mode: +v rindolf,
noganex left
08:35
noganex joined
08:36
p6bannerbot sets mode: +v noganex,
yqt joined
08:37
p6bannerbot sets mode: +v yqt
08:38
noganex_ joined,
p6bannerbot sets mode: +v noganex_
08:42
noganex left
08:49
Xliff joined,
p6bannerbot sets mode: +v Xliff
|
|||
Xliff | \o | 08:49 | |
m: my token word { <[A..Za..z0..9]>+ }; my token sep { '_' } my rule methodline { 'method' <word> }; "method a_b_c" ~~ /<methodline>/; $/.gist.say; | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Strange text after block (missing semicolon or comma?) at <tmp>:1 ------> 3[A..Za..z0..9]>+ }; my token sep { '_' }7⏏5 my rule methodline { 'method' <word> }; expecting any of: … |
||
Xliff | m: my token word { <[A..Za..z0..9]>+ }; my token sep { '_' }; my rule methodline { 'method' <word> }; "method a_b_c" ~~ /<methodline>/; $/.gist.say; | 08:50 | |
camelia | Nil | ||
Xliff | ?!? | ||
m: my token word { <[A..Za..z0..9]>+ }; my token sep { '_' }; my rule methodline { 'method' <word> }; "method a_b_c" ~~ /'method'/; $/.gist.say; | |||
camelia | 「method」 | ||
Xliff | m: my token word { <[A..Za..z0..9]>+ }; my token sep { '_' }; my rule methodline { 'method' <word> }; "method a_b_c" ~~ /'method' <word>/; $/.gist.say; | 08:51 | |
camelia | Nil | ||
Xliff | m: my token word { <[A..Za..z0..9]>+ }; my token sep { '_' }; my rule methodline { 'method' <word> }; "method a_b_c" ~~ /'method'<word>/; $/.gist.say; | ||
camelia | Nil | ||
08:59
noganex_ left
09:00
abraxxa left,
noganex joined,
abraxxa joined
09:01
p6bannerbot sets mode: +v noganex,
p6bannerbot sets mode: +v abraxxa
09:09
andrewalker joined
09:10
p6bannerbot sets mode: +v andrewalker
09:11
Toughy joined,
p6bannerbot sets mode: +v Toughy
|
|||
Toughy | Hi, where can I download the Camelia icon please ? | 09:11 | |
Is there a Windows .ico file with all the pre-defined sizes ? | 09:13 | ||
sjn | Toughy: you might find it here: github.com/perl6/marketing | 09:15 | |
El_Che | Toughy: have a look here: github.com/perl6/marketing | ||
sjn | :) | ||
El_Che | github.com/perl6/marketing/tree/ma...1533512212 | ||
Toughy | Thank you | 09:18 | |
09:26
zakharyas joined
09:27
p6bannerbot sets mode: +v zakharyas
09:28
zakharyas left
09:29
zakharyas joined
09:30
p6bannerbot sets mode: +v zakharyas
09:37
Toughy left
09:39
noganex_ joined,
p6bannerbot sets mode: +v noganex_
09:42
noganex left
|
|||
Xliff | Where can I get Camelia plushies? | 10:01 | |
10:02
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | There's a much simpler interface to use than the raw marketing repo: marketing.perl6.org/ | 10:02 | |
Xliff: this site has this crochetted camelia: www.doomyflocrochet.com/boutique/a...7625900962 | 10:09 | ||
El_Che | simpler indeed | ||
Zoffix | Xliff: and lizmat++ will probably know where to get the plush camelia | ||
Xliff | Zoffix: Thanks! | 10:12 | |
m: my @a = 3, 9, 27...Inf; @a[^5].say | |||
camelia | (3 9 27 81 243) | ||
Xliff | m: my @a = 3, 9, 27...Inf; @a[^10].say | 10:13 | |
camelia | (3 9 27 81 243 729 2187 6561 19683 59049) | ||
Xliff | m: my @a = 0, 1.25...Inf; @a[^10].say | 10:16 | |
camelia | (0 1.25 2.5 3.75 5 6.25 7.5 8.75 10 11.25) | ||
Xliff | m: my @a = 4, 6.25...Inf; @a[^10].say | ||
camelia | (4 6.25 8.5 10.75 13 15.25 17.5 19.75 22 24.25) | ||
Xliff | m: my @a = 1, 2, 3, * ** 2 + * - * ** 0.5...Inf; @a[^10].say | 10:18 | |
camelia | (1 2 3 1.2679491924311228 5.873967499389506 7.844322261694979 4.6808909278809185 40.184279774320544 59.87517549834757 54.35711454258718) | ||
Xliff | m: my @a = 1, 2, 3, * ** 2 + * - * ** 0.5...Inf; @a[^20].say | ||
camelia | (1 2 3 1.2679491924311228 5.873967499389506 7.844322261694979 4.6808909278809185 40.184279774320544 59.87517549834757 54.35711454258718 1667.2787887246732 3598.5614302088397 4561.986679400066 2783349.5782808685 12952538.016296646 23591473.07784036 774… | ||
Xliff | m: my @a = 1, 2, * + *...Inf; @a[^20].say | 10:19 | |
camelia | (1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946) | ||
Xliff | m: my @a = 1, 1, * + *...Inf; @a[^20].say | 10:20 | |
camelia | (1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765) | ||
Zoffix | FWIW you can /msg evals to camelia | ||
10:27
noganex_ left,
noganex joined
10:28
p6bannerbot sets mode: +v noganex
|
|||
El_Che | Zoffix: pretty cool site | 10:59 | |
11:28
evalable6 left,
evalable6 joined
11:29
p6bannerbot sets mode: +v evalable6
|
|||
rindolf | Zoffix: hi | 11:33 | |
Zoffix: sup? | |||
11:40
noganex_ joined
11:41
p6bannerbot sets mode: +v noganex_
11:43
noganex left
|
|||
jkramer | Is anyone working on an oauth module for P6? | 11:55 | |
I'd do it myself but I don't trust myself doing all the crypto stuff right :) | |||
11:57
Zoffix left
|
|||
El_Che | jkramer: there is this google specific one, I wonder what's needed to make it generic: modules.perl6.org/dist/OAuth2::Cli...an:BDUGGAN | 12:02 | |
there is this one, but I don't know what fanfou is: github.com/ohmycloud/fanfou-p6 | |||
jkramer | El_Che: I just had a look at that, no idea what it's doing though because I can't see any crypto in the source | ||
Yup, seen fanfou too, no idea what it is :) | 12:03 | ||
12:04
zakharyas left
12:09
tobs` joined
12:10
p6bannerbot sets mode: +v tobs`
|
|||
tobs` | m: my %e = .antipairs with { :1ONE, :2TWO }; say %e<1> | 12:12 | |
camelia | ONE | ||
tobs` | m: state %e = .antipairs with { :1ONE, :2TWO }; say %e<1> | ||
camelia | (Any) | ||
tobs` | m: state %e = { :1ONE, :2TWO }.antipairs; say %e<1> | ||
camelia | ONE | ||
tobs` | This is unexpected, isn't it? | ||
moritz | conditional declarations are the root of all evil | 12:15 | |
m: state %e = .antipairs given { :1ONE, :2TWO }; say %e<1> | |||
camelia | (Any) | ||
moritz | m: state %e = say .perl given { :1ONE, :2TWO }; | ||
camelia | ( no output ) | ||
moritz | TIL: I don't understand how state initialization and topicalization interact | 12:16 | |
tobs` | Maybe this is related (though I don't understand much of it) github.com/rakudo/rakudo/pull/1467 | 12:17 | |
now if only I could remember how the bisect bot works | |||
jnthn | Poorly. A state variable is assigned if the assignment takes place in the first execution of the block containing the state variable (strictly, of that closure clone) | 12:18 | |
The thunking breaks the assumption that the assignment of a state variable and the scope it lives in will always take place in the same code object, thus leading to the observed behavior. | 12:19 | ||
m: state %e = (.antipairs with { :1ONE, :2TWO }); dd %e | 12:20 | ||
camelia | Hash %e = {"1" => "ONE", "2" => "TWO"} | ||
jnthn | Do it like that | ||
Otherwise, even if somehow we found a way to let the thunking work, you'd still be wastefully running a `with` every time that will be a no-op | 12:21 | ||
(Well, except the first time) | |||
tobs` | jnthn: thanks. The explanation is something to digest | 12:22 | |
12:25
leont joined,
p6bannerbot sets mode: +v leont
12:39
pecastro joined
12:40
p6bannerbot sets mode: +v pecastro
12:57
lgtaube left
13:00
tobs` left
13:16
abraxxa left
13:32
dogbert17 joined
13:36
cognominal-p6 left
|
|||
Woodi | hi :) | 13:50 | |
I cannot find nqp-2018.10.tgz, any standard location for released tgz files ? | |||
[Coke] | m: sub foo( Int $a, Int $b ) { ... } ; foo(1) | 13:55 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Calling foo(Int) will never work with declared signature (Int $a, Int $b) at <tmp>:1 ------> 3sub foo( Int $a, Int $b ) { ... } ; 7⏏5foo(1) |
||
Woodi | as for div returning both numbers: I wonder if whatever "method" of calculating it is used both reminder and are available just before calling "return"... probably... | ||
[Coke] | ^^ should that fail with perl6 -c ? | 13:56 | |
Woodi | *quotient | ||
[Coke] | It doesn't for me on 2018.09-72-g687a3cbb0 | ||
Woodi found "Releases" tab on github... | 13:59 | ||
14:00
zakharyas joined
14:01
p6bannerbot sets mode: +v zakharyas
|
|||
Woodi | if eg. div returns someting and then you have option for checking something *in* last action is it "first class execution" ? :) | 14:07 | |
[Coke] | doc example test were skipping code blocks that appeared inside other top level pod elements, oops. fix coming shortly. | 14:10 | |
(found by the unskip tool which happily unskipped code that was obviously going to fail and then reported it had worked) | 14:11 | ||
m: use Telemetry::Sampler | 14:19 | ||
camelia | ===SORRY!=== Could not find Telemetry::Sampler at line 1 in: /home/camelia/.perl6 /home/camelia/rakudo-m-inst-1/share/perl6/site /home/camelia/rakudo-m-inst-1/share/perl6/vendor /home/camelia/rakudo-m-inst-1/share/perl6 … |
||
[Coke] | m: say Telemetry::Sampler | ||
camelia | Could not find symbol '&Sampler' in block <unit> at <tmp> line 1 |
||
[Coke] | m: use Telemetry; say Telemetry::Sampler | 14:22 | |
camelia | (Sampler) | ||
[Coke] | ah, there we go. | ||
Geth | doc: b3096ca53c | Coke++ | xt/examples-compilation.t Descend into pod items that can contain code Previously, we skipped any code snippets that were inside 'item's, for example. |
14:27 | |
doc: 1149bd2507 | Coke++ | doc/Type/Telemetry/Sampler.pod6 requires a use before class is visible |
|||
synopsebot | Link: doc.perl6.org/type/Telemetry::Sampler | ||
squashable6 | 🍕🍕🍕 First contribution by coke++! ♥ | ||
doc: 24e1691c5c | Coke++ | 2 files fixup now-tested code examples |
|||
[Coke] | the ruby nutshell doc requires more effort than I can put in right now; a lot of the examples seem to mix ruby & perl6 in the same snippet and will need to be broken out as they are in the p5 doc. | ||
14:33
molaf joined
14:34
p6bannerbot sets mode: +v molaf
14:37
lizmat left
14:49
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
14:51
domidumont left
|
|||
Zoffix | [Coke]: is that from the docs that say that will fail at compile time? More accuratelly, it'll fail in the static optimizer, and eventually it'll be called something more appropriate than "optimizer" ( colabti.org/irclogger/irclogger_lo...10-25#l160 ) as it'll be doing spec things rather than just optional optimizations | 14:54 | |
14:54
Sound joined,
p6bannerbot sets mode: +v Sound
|
|||
Zoffix | [Coke]: filed it as R#2461 | 14:59 | |
synopsebot | R#2461 [open]: github.com/rakudo/rakudo/issues/2461 [meta] Rename [Part of] Optimizer | ||
14:59
xinming_ joined
15:00
p6bannerbot sets mode: +v xinming_
15:01
yqt left
15:02
xinming left
15:25
ExtraCrispy joined,
p6bannerbot sets mode: +v ExtraCrispy
|
|||
AlexDaniel | squashable6: status | 15:45 | |
squashable6 | AlexDaniel, Can't parse the wiki page | ||
AlexDaniel | :op | ||
ok that's my mistake | |||
squashable6: status | 15:47 | ||
squashable6 | AlexDaniel, Can't parse the wiki page | ||
AlexDaniel | squashable6: status | ||
squashable6 | AlexDaniel, Can't parse the wiki page | ||
AlexDaniel | dammit. | ||
squashable6: status | 15:48 | ||
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈20 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/7fc409c230b4a22452...b839d047c8 | |||
AlexDaniel | :) | ||
[Coke] | thanks, Z | ||
AlexDaniel | basically, I tried to reverse the rows in the table on github.com/rakudo/rakudo/wiki/Mont...Squash-Day | 15:49 | |
Zoffix | Do you get a plush camelia again? | ||
AlexDaniel | should make squashable indifferent to that | ||
yes | |||
Zoffix | Damn, I wish I had time to SQUASHathon. | ||
AlexDaniel | Xliff: ↑ you asked about plush camelia | 15:50 | |
15:57
lizmat joined,
p6bannerbot sets mode: +v lizmat
16:04
robertle left
16:05
noganex_ left
16:06
Sound left,
noganex joined
16:07
p6bannerbot sets mode: +v noganex
16:18
joejoejoejoejoej joined,
p6bannerbot sets mode: +v joejoejoejoejoej,
joejoejoejoejoej left
16:19
troys joined
16:20
p6bannerbot sets mode: +v troys
|
|||
Geth | doc: ec633cab1a | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Promise.pod6 [6.d] Update output examples for sunk start To match updated PoV and propspec: github.com/rakudo/rakudo/commit/15...e24c6f0077 github.com/perl6/roast/commit/9cf3...6e68519999 |
16:20 | |
synopsebot | Link: doc.perl6.org/type/Promise | ||
squashable6 | 🍕🍕🍕 First contribution by zoffixznet++! ♥ | ||
16:20
Zoffix left
16:24
jjmerelo joined,
p6bannerbot sets mode: +v jjmerelo,
jjmerelo is now known as jmerelo
16:31
robertle joined,
cognominal-p6 joined,
p6bannerbot sets mode: +v robertle
16:32
noganex_ joined,
p6bannerbot sets mode: +v cognominal-p6
16:33
p6bannerbot sets mode: +v noganex_
16:35
noganex left
16:37
zakharyas left
|
|||
jmerelo | squashable6: status | 16:38 | |
squashable6 | jmerelo, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈19 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
jmerelo, Log and stats: gist.github.com/df249053a14c5d7b49...eef9e981fc | |||
jmerelo | So, anyone up for fixing perl6 documentation bugs? | ||
16:41
cognominal-p6 left
16:42
cognominal-p6 joined
16:43
p6bannerbot sets mode: +v cognominal-p6
|
|||
AlexDaniel | jmerelo: you didn't see this! colabti.org/irclogger/irclogger_lo...11-02#l391 | 16:43 | |
:) | |||
jmerelo | AlexDaniel: what? | 16:45 | |
AlexDaniel | nothing! :) | ||
jmerelo | But I didn't see it, you're right. Just connected from early in the morning today. | ||
AlexDaniel | it's interesting, the bot was unable to parse the wiki page, but the squashathon started as expected | ||
jmerelo | Ah, OK. | ||
It's a good robot. | 16:46 | ||
squashable6: hug | |||
squashable6 | jmerelo, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Squashable | ||
jmerelo | squashable6: cookie | ||
squashable6 | jmerelo, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Squashable | ||
AlexDaniel | huggable: hug jmerelo | 16:47 | |
huggable hugs jmerelo | |||
AlexDaniel | buggable: pizza jmerelo | ||
buggable | jmerelo, enjoy this slice of Gourmet pizza, my friend! Yummy 🍕 | ||
AlexDaniel | because it makes so much sense! :P | ||
jmerelo: as for fixing the bugs, yes, because we can't let you win two times in a row :P | 16:48 | ||
jmerelo | :-) | 16:51 | |
You'll have have to work for that! | |||
16:56
tobs` joined,
cognominal-p6 left,
p6bannerbot sets mode: +v tobs`
16:58
molaf left
17:00
tobs` left
|
|||
jmerelo | And now GitHub is breaking down: status.github.com/messages | 17:00 | |
17:02
tobs` joined
17:03
p6bannerbot sets mode: +v tobs`
17:04
avar left,
avar joined,
avar left,
avar joined,
p6bannerbot sets mode: +v avar
17:05
p6bannerbot sets mode: +v avar
|
|||
Geth | doc: e26aafe466 | (JJ Merelo)++ | doc/Language/pragmas.pod6 Documents v6.whatever As a pragma, with some examples. Closes #2422 |
17:18 | |
synopsebot | Link: doc.perl6.org/language/pragmas | ||
squashable6 | 🍕🍕🍕 First contribution by JJ++! ♥ | ||
Geth | doc: 87061ec32d | (JJ Merelo)++ | 2 files Fixes some author tests |
||
squashable6 | 🍕 JJ++ closed issue “`use v6.whatever` doesn't seem to be documented”: github.com/perl6/doc/issues/2422 | ||
squashable6 | 🍕 ugexe++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31152528 | 17:29 | |
🍕🍕🍕 First contribution by ugexe++! ♥ | |||
🍕 ugexe++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31152529 | |||
🍕 ugexe++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31152538 | 17:30 | ||
17:31
tobs` left
|
|||
squashable6 | 🍕 ugexe++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31152563 | 17:32 | |
17:32
poohman joined,
p6bannerbot sets mode: +v poohman
|
|||
poohman | camelia | 17:33 | |
m: say "Hello!" | 17:36 | ||
camelia | Hello! | ||
17:36
jmerelo left
|
|||
poohman | m: say $*IN; | 17:37 | |
camelia | IO::Handle<IO::Special.new("<STDIN>")>(opened) | ||
poohman | qkdwq | ||
m: s | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: s used at line 1 |
||
poohman | m: say $*IN; s | 17:38 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: s used at line 1 |
||
Geth | doc: 94110a274e | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/pragmas.pod6 Clarify versioning pragmas - Add more explanation for the whole "perl 5 errors" thing, as it's unclear unless you already know what it's about - Explain more about .PREVIEW version, though its mechanics are slightly fuzzy around the edges: R#2464 github.com/rakudo/rakudo/issues/2464 |
||
synopsebot | Link: doc.perl6.org/language/pragmas | ||
synopsebot | R#2464 [open]: github.com/rakudo/rakudo/issues/2464 [meta] Figure out the deal with `.PREVIEW` versions | ||
ugexe | why are people documenting comparing a version to a version range? | 17:39 | |
no it doesn't make sense to use `v1.*+ <= v1.0` as an example in the docs | |||
Geth | doc: e6483c28e0 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/pragmas.pod6 It's too soon for 6.s release 😅 |
||
ugexe | the original examples used ~~ which makes sense | ||
moritz | then it's likely a bug that has slipped in, and should be fixed | 17:40 | |
ugexe | what is a bug? | ||
poohman | m: say ($*IN.get.Numeric.isa(Numeric)) | 17:41 | |
camelia | False | ||
moritz | ugexe: an error | ||
poohman | Hello all, how can I cast an IO to Numeric | ||
? | |||
moritz | m: say $*IN.get.Numeric.^name | ||
camelia | Failure | ||
moritz | poohman: in general, your approach looks fine, but only if the input stream actually is/contains a number | 17:42 | |
17:42
SyrupThinker left
|
|||
poohman | I tried in with the stream having a number | 17:43 | |
but it always says false | |||
17:43
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
moritz | so what does it say *is* the result? | 17:44 | |
Zoffix | poohman: .get gives you the whole line. Does the entire line have just the number and whitespace and nothing else? | ||
poohman: there's also .words | |||
poohman | the stream was a number and enter | ||
Zoffix | ugexe: you know a lot about version comparisons. It might be easier for you to fix the docs than for someone else to try to figure out what the right docs are meant to look like | ||
moritz | $ echo 42 | perl6 -e 'say $*IN.get.Numeric.^name' | 17:45 | |
Int | |||
seems to work fine | |||
poohman: oh, .isa works on classes, but Numeric is a *role* | |||
17:45
SyrupThinker joined
|
|||
poohman | ah ok | 17:45 | |
moritz | so either use .does(Numeric), or (more idiomatic) ~~ Numeric | ||
$ echo 42 | perl6 -e 'say $*IN.get.Numeric.does(Numeric)' | 17:46 | ||
True | |||
poohman | let me try - moment | ||
Zoffix | $ echo 42 | perl6 -e 'say prompt.does: Numeric' | ||
True | |||
17:46
p6bannerbot sets mode: +v SyrupThinker
|
|||
ugexe | i could have reviewed the PR but it was never up for review | 17:46 | |
Zoffix | poohman: `prompt` automagically converts numerical values to Numeric types (well, to allomorphs are are both Str and Numeric) | 17:47 | |
ugexe | when i can commit code to public repo is not so simple as "whenever i feel like it" | ||
moritz | ugexe: that's simply not how the Perl 6 docs contribution workflow is right now | 17:48 | |
ugexe: we value easy of contribution very highly, which means sometimes errors slip in | |||
poohman | cool | ||
moritz | and sometimes folks like you notice them, and either open an issue for that, or correct it | ||
poohman | thanks Moritz and Zoffix | ||
moritz | poohman: my pleasure | ||
poohman | I had asked this a few weeks back - but has anyone try updating the Comma IDE using the link for windows | 17:49 | |
not able to download a exe or installer | 17:50 | ||
it is some wierd format which ends up being downloaded | |||
Zoffix | poohman: worth mentioning, the `prompt` thing is fairly new, available from 2018.08 rakudo (with earlier versions always giving you strings). You can use `val prompt` if you want to be sure , tho | 17:51 | |
17:52
domidumont joined
|
|||
Zoffix | poohman: jnthn and timotimo both work on that project and they would know more. | 17:52 | |
ugexe | i get it. but in this case there was a clear lack of understanding of what they were documenting | ||
Zoffix | I don't have a windows box nearby ATM to try. | ||
timotimo | me neither, sorry about that | ||
ugexe | it cant all be about closing an issue over everything | ||
Zoffix | ugexe: +1 on that | 17:53 | |
17:53
p6bannerbot sets mode: +v domidumont
|
|||
poohman | ok thanks - ill write an email | 17:53 | |
zoffix - will try to read up on prompt | |||
timotimo | you can always just download any other intellij ide and use the comma plugin version | ||
as a temporary fallback | 17:54 | ||
but do write that mail anyway so that we can figure the rpoblem out and perhaps fix it for any future versions | |||
17:55
Zoffix left
|
|||
timotimo AFK | 17:57 | ||
Geth | doc: chsanch++ created pull request #2431: Split regexes page and add regexes best practices page |
18:03 | |
squashable6 | 🍕 chsanch++ opened pull request “Split regexes page and a…”: github.com/perl6/doc/pull/2431 | ||
🍕🍕🍕 First contribution by chsanch++! ♥ | |||
🍕 chsanch++ edited pull request “Split regexes page and a…”: github.com/perl6/doc/pull/2431 | |||
18:08
ExtraCrispy left,
ExtraCrispy joined,
p6bannerbot sets mode: +v ExtraCrispy
18:10
jmerelo joined,
p6bannerbot sets mode: +v jmerelo
18:24
tobs` joined
|
|||
Xliff | Is this a docs squashy? | 18:24 | |
18:24
p6bannerbot sets mode: +v tobs`
|
|||
lizmat | Xliff: yes | 18:26 | |
jmerelo | And everyone is welcome! | 18:29 | |
18:32
ryn1x_ joined,
p6bannerbot sets mode: +v ryn1x_
|
|||
ryn1x_ | Why does the welcome message show “p6:” when everyone uses “m:”? | 18:33 | |
lizmat | good question :-) | 18:35 | |
historically I think "p6" did both MoarVM and JVM backends | |||
weekly: news.perlfoundation.org/2018/11/per...nat-6.html | 18:37 | ||
notable6 | lizmat, Noted! | ||
18:38
patrickb joined
18:39
p6bannerbot sets mode: +v patrickb,
cognominal-p6 joined
18:40
p6bannerbot sets mode: +v cognominal-p6,
ryn1x_ left
|
|||
lizmat | do we have a simple hyperop that creates a completely flat list ? | 18:41 | |
jmerelo | lizmat: something like [|]? Unless that's the thing, I don't think so | 18:42 | |
m: say [|] [[1,2],[1,[2,3]],4] | |||
camelia | any([1 2], [1 [2 3]], 4) | ||
jmerelo | Hum, took the junction part of it. Not bad, but... | 18:43 | |
m: say [<>] [[1,2],[1,[2,3]],4] | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Unsupported use of <>; in Perl 6 please use lines() to read input, ('') to represent a null string or () to represent an empty list at <tmp>:1 ------> 3say [<7⏏5>] [[1,2],[1,[2,3]],4] |
||
18:44
uzl joined
|
|||
jmerelo | m: say [[1,2],[1,[2,3]],4].duckmap( -> List $l { | $l } ) | 18:44 | |
camelia | [1 2 1 [2 3] 4] | ||
jmerelo | m: say [[1,2],[1,[2,3]],4].duckmap( -> List $l { $l.Slip } ) | ||
camelia | [1 2 1 [2 3] 4] | ||
18:44
p6bannerbot sets mode: +v uzl
|
|||
jmerelo | lizmat: so, short answer, no. Long answer: still no. Maybe try Stackoverflow | 18:45 | |
lizmat | I might, but I think I know the answer already :-( | 18:46 | |
and actually: I phrased the question wrong: I'm looking at something I can use with Z | |||
jmerelo | lizmat: some infix operator? | 18:47 | |
lizmat | m: dd (1,2,3) |Z (4,5,6) # should create (1,4,2,5,3,6) | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared name: Z used at line 1 |
||
Xliff | Well, it's a good thing. The example here is misleading... | ||
docs.perl6.org/type/IO::Handle#method_Supply | |||
Actually, it's wrong. | |||
jmerelo | m: dd (1,2,3) Z| (4,5,6) # should create (1,4,2,5,3,6) | ||
camelia | (any(1, 4), any(2, 5), any(3, 6)).Seq | ||
jmerelo | Again the Junction thing... | 18:48 | |
lizmat | jmerelo: yep, and that's correct | ||
jmerelo | Xliff: please create an issue... | ||
lizmat | that's why I like the |Z as it is a syntax error now | ||
Xliff | jmerelo: Squashy page, pls? | ||
18:48
cognominal-p6 left
|
|||
jmerelo | Xliff: just a regular issue. It will show up here via squashable | 18:49 | |
18:49
cognominal-p6 joined
|
|||
jmerelo | lizmat: yep, that would be nice. | 18:49 | |
18:49
p6bannerbot sets mode: +v cognominal-p6
|
|||
buggable | New CPAN upload: ENIGMA-Machine-0.0.1.tar.gz by UZLUISF cpan.metacpan.org/authors/id/U/UZ/...0.1.tar.gz | 18:51 | |
squashable6 | 🍕 JJ++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31153442 | 18:52 | |
🍕 JJ++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31153447 | |||
🍕 JJ++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31153449 | |||
18:52
patrickb left
|
|||
squashable6 | 🍕 JJ++ wrote a comment on commit 62d8495022af: github.com/perl6/doc/commit/62d849...t-31153463 | 18:53 | |
18:54
fake_space_whale left
|
|||
Xliff | In as #2466 | 18:54 | |
I just found it last night. Then my internet went out! o_O | |||
squashable6 | 🍕 JJ++ reopened issue “Version docs are wrong”: github.com/perl6/doc/issues/2421 | 18:55 | |
🍕 JJ++ wrote a comment on “Version docs are wrong”: github.com/perl6/doc/issues/2421#i...-435475871 | |||
uzl | twitter.com/techpractical/status/1...2490537985 <- This is a quite interesting tweet ;-)! | 18:56 | |
yoleaux | 25 Oct 2018 15:59Z <tyil> uzl: thanks, I fixed the "it's" to "its" in my local repo, I'll push it when I get home. On the .. vs ... operator, I am aware, but when I asked the question on SO I was advised to use .. and .reverse it | ||
uzl | A kitchen isn't a clusterfuck of a kitchen just because it's well stacked with different ingredients. It solely means that there are lot of different ingredients to choose from. | 18:58 | |
.tell tyil ;)! What was the reason behind it? In one of his presentations, Damian was using (and sort of recommending?) the use of n...m instead of (m..n).reverse | 19:06 | ||
yoleaux | uzl: I'll pass your message to tyil. | ||
19:06
dct joined,
p6bannerbot sets mode: +v dct
19:14
ExtraCrispy left
|
|||
lizmat | uzl: since the recommendation to use (n..m).reverse, the n ... m (where n > m) got the same optimization treatment | 19:15 | |
uzl: so nowadays it doesn't matter if you do n...m or (n..m).reverse | |||
Geth | doc: Xliff++ created pull request #2432: - Should be a fix for rakudo/issues/#2466 |
19:17 | |
squashable6 | 🍕 Xliff++ opened pull request “- Should be a fix for rakudo/issues/#2466”: github.com/perl6/doc/pull/2432 | ||
🍕🍕🍕 First contribution by Xliff++! ♥ | |||
Xliff | Ack! I stuck my issue on the wrong repo. :/ | ||
uzl | lizmat: That's great to hear. | 19:19 | |
squashable6 | 🍕 uzluisf++ wrote a comment on “Suggest appearance improvements for the site”: github.com/perl6/doc/issues/2429#i...-435483479 | 19:25 | |
🍕🍕🍕 First contribution by uzluisf++! ♥ | |||
Geth | doc: 4652d2f1f5 | (JJ Merelo)++ | doc/Type/Version.pod6 Rephrasing to clarify and fix grammar issues. Also addresses last comment about enclosing them with parentheses, which wasn't addressed before. This closes #2421 again. Feel free to reopen if some further changes need to be made. |
19:26 | |
synopsebot | Link: doc.perl6.org/type/Version | ||
squashable6 | 🍕 JJ++ closed issue “Version docs are wrong”: github.com/perl6/doc/issues/2421 | ||
doc: 4bc82afabd | (JJ Merelo)++ | doc/Type/Cool.pod6 Whitespace fixes |
|||
synopsebot | Link: doc.perl6.org/type/Cool | ||
squashable6 | 🍕 JJ++ submitted a review on pull request “Split regexes page and a…”: github.com/perl6/doc/pull/2431#pul...-171241100 | 19:30 | |
19:30
dct left
|
|||
squashable6 | 🍕 zoffixznet++ wrote a comment on “Suggest appearance improvements for the site”: github.com/perl6/doc/issues/2429#i...-435484855 | 19:30 | |
🍕 JJ++ submitted a review on pull request “- Should be a fix for rakudo/issues/#2466”: github.com/perl6/doc/pull/2432#pul...-171242529 | 19:34 | ||
19:34
thundergnat joined,
p6bannerbot sets mode: +v thundergnat
|
|||
squashable6 | 🍕 JJ++ closed issue “Proposal: split the rege…”: github.com/perl6/doc/issues/2410 | 19:34 | |
Geth | doc: 4d04b10d80 | (Christian Sánchez)++ | 2 files Split regexes page and add regexes best practices page |
||
doc: 6e8305e9a2 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files Merge pull request #2431 from chsanch/fix-2410 Split regexes page and add regexes best practices page |
|||
squashable6 | 🍕 JJ++ merged pull request “Split regexes page and a…”: github.com/perl6/doc/pull/2431 | ||
thundergnat | m: multi infix:<|Z> (@a, @b) { gather (@a Z, @b).deepmap: {.take} }; multi postfix:<|Z> (@a) { gather @a.deepmap: {.take} }; dd (1,2,3) |Z (4,5,6); dd [[],[1,[2,[3]]],[4]]|Z; #slightly bogus | ||
camelia | (1, 4, 2, 5, 3, 6).Seq (1, 2, 3, 4).Seq |
||
thundergnat | lizmat ^^^ | ||
19:36
Skarsnik joined,
thundergnat left
|
|||
lizmat | well, if we agree on the syntax, I'll implement it slightly more performant :-) | 19:36 | |
19:36
p6bannerbot sets mode: +v Skarsnik
|
|||
squashable6 | 🍕 JJ++ wrote a comment on “Suggest appearance improvements for the site”: github.com/perl6/doc/issues/2429#i...-435486499 | 19:37 | |
Skarsnik | Hello | ||
jmerelo | Skarsnik: hi! | ||
squashable6 | 🍕 Xliff++ wrote a comment on “- Should be a fix for rakudo/issues/#2466”: github.com/perl6/doc/pull/2432#iss...-435486679 | 19:38 | |
Geth | doc: a404019c18 | Xliff++ | doc/Type/IO/Handle.pod6 - Should be a fix for rakudo/issues/#2466 |
||
doc: 920cc6f988 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/IO/Handle.pod6 Merge pull request #2432 from Xliff/xliff-patch-20180725 - Should be a fix for rakudo/issues/#2466 Thanks! |
|||
synopsebot | Link: doc.perl6.org/type/IO::Handle | ||
squashable6 | 🍕 JJ++ merged pull request “- Should be a fix for rakudo/issues/#2466”: github.com/perl6/doc/pull/2432 | ||
19:39
jmerelo left
|
|||
Skarsnik | maybe a dumb question, how do I use the new sexy timotimo profiler? just add --profile like before ? ^^ | 19:39 | |
19:45
poohman left
19:46
thundergnat joined,
p6bannerbot sets mode: +v thundergnat
|
|||
thundergnat | lizmat; FWIW, I think we would be better served by just a postifix "flatten" operater that can then be applied to a list/sequence rather than a custom zip-and-flatten infix. | 19:48 | |
The |Z, while cute, is going to be long term trouble IMO. | 19:49 | ||
m: sub postfix:<♭> (@a) { gather @a.deepmap: {.take} }; dd ((1,2,3) Z (4,5,6))♭; dd [[],[1,[2,[3]]],[4]]♭ | |||
camelia | (1, 4, 2, 5, 3, 6).Seq (1, 2, 3, 4).Seq |
||
19:50
thundergnat left
19:51
|oLa|1 left
|
|||
Woodi | anyone have crash with this simple C ? or I doing something wrong ? pastebin.com/6tt6NxUa | 19:53 | |
also #c@freenod does not exists :) | 19:54 | ||
Xliff | lizmat: Can the trait from Method::Also be re-exported? | 19:55 | |
19:58
uzl left
|
|||
Skarsnik | nice shaved 10% perf adding a simple if in the XML module x) | 19:58 | |
19:59
|oLa| joined
|
|||
leont | Woodi: strictly speaking i is not a %d, I think the compiler allowed to stumble over that | 19:59 | |
19:59
p6bannerbot sets mode: +v |oLa|
|
|||
leont | On a big-endian architecture your first example would already give the wrong answer | 20:00 | |
Line 20 crashes because it puts 64 bits of integer and 64 bits of pointers on the argument stack | 20:01 | ||
It then consumes 32 bits of integer, and interprets the next 64 bits as a pointer, which is actually the second 32 bits of the integer and the first 32 bits of the pointer | |||
20:04
domidumont left
|
|||
Skarsnik | the compiler should warning btw | 20:04 | |
Woodi | that would explain it. but IMO still a bug in printf... | ||
Skarsnik | hm, is there a way to know if a routine get JIT? | ||
leont | Yeah modern compilers generally warn you about such things | 20:05 | |
Skarsnik | 400 ms spend on nativecast on a 2.7 sec run | 20:08 | |
20:08
domidumont joined
20:09
p6bannerbot sets mode: +v domidumont,
domidumont left
|
|||
timotimo | ohai Skarsnik | 20:09 | |
you need to pass --profile-filename=/something/ending-in.sql | 20:10 | ||
Skarsnik | btw this look overcrafted github.com/rakudo/rakudo/blob/mast...l.pm6#L661 x) | 20:12 | |
timotimo | it'd be lovely to hear what your stumbling blocks and questions on the way towards a working moarperf are | 20:14 | |
Skarsnik | maybe a dumb question, where is the doc for how to use it? | 20:15 | |
timotimo | github.com/timo/moarperf - the readme is very short; if you can point out what exactly is missing i'll add that | ||
and i should really make release packages that you can use completely without npm | 20:17 | ||
Skarsnik | Feels like I want to run it on my vps and upload the sql file to it or something ^^ | ||
maybe do a docker image? | |||
timotimo | you could, but i'm not sure i want to run this as a service on something | ||
yeah, i should do that | |||
there's a cro example docker file, that's probably a good starting point | 20:18 | ||
and then it can just include the npm stuff for installation and rm it again | |||
Skarsnik | anyway. let's see if I can save time on these 450 ms of nativecast call on my 2.7 sec run x) | 20:19 | |
timotimo | that's an impressive amount in any case | ||
Skarsnik | well 16xxx call to it | ||
timotimo | m: say 450 / 16000 | 20:20 | |
camelia | 0.028125 | ||
timotimo | that's still more than i would have expected | ||
Skarsnik | let see if I can use the nqp call directly? | 20:21 | |
timotimo | oh, it's this specific version of nativecast? | 20:22 | |
Skarsnik | what confuse me. why it's the first multi that is called and not the last? github.com/rakudo/rakudo/blob/mast...l.pm6#L661 | ||
timotimo | i assume the Native trait being applied does something... i wonder if the compler kicks in and tries to build code for it | ||
Skarsnik | code is my $tab_child = nativecast(CArray[Pointer], $groot.v.element.children.data); | ||
timotimo | oh, it's not the one for subs, then | 20:23 | |
Skarsnik | I had issue using TypedPointer directly. it was causing random segfault sadly (but it was 2-3 years ago) | 20:24 | |
but .deref on TypedPointer is a nativecast call anyways | |||
squashable6 | 🍕 zoffixznet++ wrote a comment on “Suggest appearance improvements for the site”: github.com/perl6/doc/issues/2429#i...-435498258 | ||
timotimo | it is? | ||
Skarsnik | github.com/rakudo/rakudo/blob/mast...es.pm6#L58 | 20:25 | |
timotimo | oh | 20:26 | |
i guess that makes sense? | |||
20:28
patrickb joined,
p6bannerbot sets mode: +v patrickb
|
|||
timotimo | nativecall_cast seems like it should be very easy to devirtualize a single step already when the source type is known | 20:28 | |
Skarsnik | github.com/Skarsnik/perl6-gumbo/bl...er.pm6#L68 I could use one single nativecast to CArray[GumboNode] maybe xD | 20:29 | |
5k call now. a bit better | 20:32 | ||
best part of this code github.com/Skarsnik/perl6-gumbo/bl...er.pm6#L72 | 20:34 | ||
to work on the first release x) | |||
timotimo | oof :) | 20:35 | |
but 5k is so much better than 16k | |||
did the time needed decrease about the same amount? | |||
Skarsnik | 150 ms spend in these call now | 20:36 | |
timotimo | at least it is linear | ||
20:36
cognominal-p6 left
|
|||
Skarsnik | What annoy me in this test : Gumbo: 0.0292011 - XML: 2.52728475 . The C code (gumbo time) is doing most of the work (parsing a 250k html5 page with 10k elements) and it take Perl 6 100 time this time to just convert C object to xml object | 20:39 | |
timotimo | yeah, we should be able to figure this out somehow | ||
Skarsnik | Ok Gumbo is super optimized | ||
timotimo | the factor should be improvable, still | ||
Skarsnik | I wonder if a way to prealloc the 10k xml object could improve this | 20:40 | |
timotimo | hm, these objects are gc-managed | 20:41 | |
we don't really have something pre-alloc-y for that | |||
however | |||
you could create the objects lazily on first access | |||
like, create an array-like object that can create the objects the first time they are accessed | 20:42 | ||
that should also be better from a GC standpoint | |||
i.e. the object gets created just before it gets used the first time | |||
Skarsnik | but... the method that create these object is only 634.49ms of the run | ||
timotimo | oh | ||
exclusive vs inclusive? | |||
Skarsnik | 650/110 | 20:43 | |
timotimo | OK | ||
Skarsnik | maybe I could send you a sql file? | 20:45 | |
timotimo | go ahead :) | 20:49 | |
Skarsnik | damn the sql profiler output is too fast! | 20:51 | |
ok Perl 6 is only 10 time slower without the profiler xD | |||
20:52
patrickb left
|
|||
Skarsnik | skarsnik@DESKTOP-UIA12T1:/mnt/f/Project/Perl6/benchmark$ ../rakudo/install/bin/perl6 -I perl6-gumbo/lib -I exemel/lib --profile-filename=./testgumbo.sql testgumbo.p6 | 20:53 | |
hm that does not create me the sql file | |||
Ho, I need the profile switch too xD | |||
drive.google.com/file/d/1jIhhf_3_v...sp=sharing | 20:55 | ||
brb shower | 20:56 | ||
timotimo | yeah, it should probably work with only --profile-filename and without --profile; we were going to change how --proflie-filename and --profile work together | 21:02 | |
21:04
lizmat left
|
|||
timotimo | ah, dang | 21:15 | |
not the right version :D | |||
Skarsnik | my rakudo is too old? | 21:18 | |
timotimo | no, my moarperf is too new | ||
i'm developing the frontend at the same time as i'm adding more stuff to the profiler | 21:19 | ||
Skarsnik | random idea: give a fixed id so you can link the profile result to other people if it's running on a public webserver | ||
timotimo | hah, identity shows up as #1 for exclusive time | ||
which is funny because it turns into "prof_enter", "set a, b", "prof_leave" | 21:20 | ||
the set should also be eliminated soon-ish | |||
and then the profiler should turn prof_enter, prof_leave with nothing in between into nothing at all | |||
Skarsnik | I think the "current" profiler does not handle multi correctly x) | 21:21 | |
21:21
jcallen_ is now known as jcallen
|
|||
timotimo | that would surprise me | 21:22 | |
how do you reach that conclusion? | |||
Skarsnik | I added another multi for nativecast before the first one (same line) that take a Mu ::type as first parameter that call nqp::nativecall/stuff and still show this one as the one used. | 21:24 | |
timotimo | are you clicking on the links or comparing line numbers manually? | 21:25 | |
have you verified that the one you're expecting is being called, like by putting a "say" in it? | |||
Skarsnik | the current html one. you can't click on stuff. it only shot the path + line number | ||
timotimo | ah, ok | ||
21:25
lizmat joined,
p6bannerbot sets mode: +v lizmat
|
|||
Skarsnik | and yes. it's not this one that is called ^^ | 21:26 | |
timotimo | huh | 21:27 | |
21:30
lizmat left
|
|||
squashable6 | 🍕 jnthn++ wrote a comment on “- Should be a fix for rakudo/issues/#2466”: github.com/perl6/doc/pull/2432#iss...-435516087 | 21:34 | |
🍕🍕🍕 First contribution by jnthn++! ♥ | |||
timotimo | i don't have anything clever yet for very recursive functions in the profiler | 21:36 | |
zostay | FYI docs.perl6.org/language/create-cli is missing on docs.perl6.org | ||
timotimo | oh, how did that happen | 21:37 | |
pod2onepage --html -v --source-path=./build --exclude=404.pod6 > html/perl6.html | 21:38 | ||
[...] | |||
processed ./build/Language/create-cli.pod6 | |||
Expected "=end pod" to terminate "=begin pod"; found "=end item" instead. | |||
at /home/doc.perl6.org/doc/./build/Language/modules.pod6:599 | |||
^- also worth looking at for sure | |||
wait, i think that log is way out of date | 21:39 | ||
is something broken with the way build logs are uploaded? | |||
21:42
census joined,
p6bannerbot sets mode: +v census
|
|||
census | hello | 21:42 | |
why in this channel do we have + in front of our names but not some of the other channels? | |||
timotimo | + means that a user has voice (commonly known as "has the +v status") | 21:43 | |
we have an anti-spambot measure that gives people the right to speak only after a minute or so | |||
because there's been a wave of spam attacks lately | |||
this countermeasure has been very effective, at the cost of some user confusion | |||
El_Che | more like the "power to be heard" and as it happens that is the academic definition of "voice" in academia :) | 21:44 | |
timotimo | ah, "the right to speak" isn't entirely correct, yes | ||
especially since mods with @ (aka +o) can still read what they send | |||
census | okay thanks for explaining. some of the other channels don't seem to have this feature because i don't have a + there. what am i supposed to do? | 21:46 | |
timotimo | no need to do anything, unless that channel also has the channel mode +m set ("moderated") | ||
census | i don't seem to be allowed to post. | 21:47 | |
i'd like to post. not sure what i can do? | |||
timotimo | what other channels are we talking about here; the other perl6 channels? | ||
census | ##math for example | ||
timotimo | aha | ||
i see the topic has an explanation | 21:48 | ||
Geth | doc: ba2964c89a | Coke++ | 2 files test sample code minor whitespace fixes |
||
timotimo | they only allow registered users to speak, which on this network means you'll want to contact the bot called NickServ | ||
it's a regular user on IRC that you can talk to in a private chat | |||
just send "help", for example with /msg NickServ help | |||
Skarsnik | Does the bugs on rt get copied to github? | 21:49 | |
timotimo | i believe in your irc client that ought to pop up a little tab on the top | ||
Skarsnik: no, we've decided to just not put new stuff on RT | |||
census | thanks. i just typed that but i don't follow what to do from there exactly | 21:50 | |
timotimo | ah | 21:51 | |
you'll register a nickname you like with nickserv, though it can of course be someone else already took "census" | |||
Skarsnik | can someone close #131696 it's actually properly tested at github.com/rakudo/rakudo/blob/mast...nity.t#L95 | 21:55 | |
rip rt bot ^^ | |||
timotimo | RT#131696 | ||
synopsebot | RT#131696 [open]: rt.perl.org/Ticket/Display.html?id=131696 [LTA] internal error for invalid native type in "is native" | ||
timotimo | we now have many different prefixes for different stuff | 21:56 | |
Skarsnik | I:#1 | ||
I#1 | |||
timotimo | R#40 D#19 S#99 | 21:57 | |
synopsebot | R#40 [closed]: github.com/rakudo/rakudo/pull/40 Changed accept() in IO::Socket::INET so it returns the connected Socket. | ||
D#19 [closed]: github.com/perl6/doc/pull/19 Fix up classtut example | |||
S#99 [closed]: github.com/perl6/roast/pull/99 Test hyper and race in reverse | |||
timotimo | M#15 N#100 | ||
synopsebot | M#15 [closed]: github.com/MoarVM/MoarVM/pull/15 Implement and map nqp::attrinited, uncomment more of NQPHLL. | ||
N#100 [closed]: github.com/perl6/nqp/issues/100 Forcing 64bit mode on OS X causes NativeCall to fail on 32bit machines | |||
Skarsnik | m: my $a;say "hello " if 1 eq 0 ||$a.piko; | 21:59 | |
camelia | No such method 'piko' for invocant of type 'Any'. Did you mean 'pick'? in block <unit> at <tmp> line 2 |
||
Skarsnik | I remember looking at this bug and it was the parser not annoting properly the line number for the second statement | 22:00 | |
timotimo | i think we throw away line numbers for "internal" things | ||
like, only statements or maybe only things inside statementlists keep their line number info | |||
i think at least a part of that was Decided™ | 22:01 | ||
Skarsnik | it make me lost 2-3h while working on GPTrixie trying to fix the first line of a huge condition | ||
was not fun when each run took 30 sec | 22:02 | ||
timotimo | oh no :( | 22:03 | |
Skarsnik | Kinda want to raise it to severe or something xD | 22:05 | |
it's too misleading | |||
22:12
MasterDuke joined,
p6bannerbot sets mode: +v MasterDuke,
MasterDuke left,
MasterDuke joined,
herbert.freenode.net sets mode: +v MasterDuke,
p6bannerbot sets mode: +v MasterDuke,
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | .seen TimToady | 22:12 | |
yoleaux | I saw TimToady 26 Oct 2018 17:54Z in #perl6-dev: <TimToady> Is that to the right side or the left side? --Socrates | ||
Zoffix | m: Date.today.say | ||
camelia | 2018-11-02 | ||
Zoffix nervously drums on the desk | 22:13 | ||
Skarsnik | Hello Zoffix ^^ | ||
Zoffix | Hi. | ||
timotimo | i thought you let perl6 drum for you | ||
Zoffix | :) | ||
Skarsnik | timotimo, so if I understand it's a won't fix? | 22:14 | |
timotimo | i'm not sure if it is or not | 22:15 | |
it'd probably be nice if we could fix it | |||
Skarsnik | nativecallable6, extern int a; | 22:16 | |
nativecallable6 | Skarsnik, gist.github.com/561ae9ad6f68157967...237f43f04c | ||
Skarsnik | :( | ||
timotimo | oh no :< | ||
Skarsnik | I already tried to fix it like 2 month ago x) | 22:17 | |
22:18
luis left,
Zoffix left
22:22
lizmat joined,
p6bannerbot sets mode: +v lizmat
22:25
rindolf left
|
|||
Skarsnik | hm, zef does not check github repo for modules on github? | 22:29 | |
timotimo, did you find more interesting stuff on my gumbo stuff with your fancy profiler? ^^ | 22:35 | ||
22:47
kdr21 joined,
p6bannerbot sets mode: +v kdr21
22:49
KDr2 left
23:15
xi- left
23:16
SCHAPiE left
23:19
SCHAPiE joined,
p6bannerbot sets mode: +v SCHAPiE
23:24
xi- joined
23:25
p6bannerbot sets mode: +v xi-
23:32
cognominal-p6 joined
23:33
p6bannerbot sets mode: +v cognominal-p6
23:38
cognominal-p6 left
23:39
cognominal-p6 joined
23:40
Skarsnik left,
p6bannerbot sets mode: +v cognominal-p6
|
|||
timotimo | sorry, friend | 23:45 | |
i went AFK in between then and now | |||
i just noticed the profiler doesn't track nativecallcast's allocations | 23:48 | ||
so that's a source of info missing from the profile | 23:49 | ||
squashable6 | 🍕 zoffixznet++ opened issue “Missing /language/create…”: github.com/perl6/doc/issues/2433 | ||
🍕 zoffixznet++ labeled issue “Missing /language/create…” (site): github.com/perl6/doc/issues/2433 | |||
🍕 zoffixznet++ edited issue “Missing /language/create…”: github.com/perl6/doc/issues/2433 | 23:50 | ||
23:50
cpage left,
giraffe left,
cpage joined
23:51
p6bannerbot sets mode: +v cpage,
giraffe joined,
p6bannerbot sets mode: +v giraffe
23:54
kerframil joined,
p6bannerbot sets mode: +v kerframil
23:56
cognominal-p6 left
|
|||
squashable6 | 🍕 zoffixznet++ opened issue “LTA placement of collation docs”: github.com/perl6/doc/issues/2434 | 23:59 |