»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 May 2018. |
|||
00:34
wamba left
00:35
colomon_ joined
00:36
colomon left,
colomon_ is now known as colomon
00:47
markoong left
00:48
markoong joined
00:50
john_parr joined
00:53
markoong left
01:08
todd joined
01:18
zpc joined
01:25
comborico1611 left
01:46
ilbot3 left
01:56
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:22
aindilis left
02:33
aindilis joined,
todd left
02:48
psychoslave joined
03:01
raschipi left
03:02
raschipi joined
03:11
mmmmmm joined
|
|||
Geth | doc: fbc64450d6 | (Rafael Schipiura)++ (committed using GitHub Web editor) | README.md Update README.md |
03:12 | |
03:22
mmmmmm left
03:26
gegagome2 left
03:31
zpc left
03:33
mcmillhj joined
03:37
mcmillhj left
04:08
aborazmeh joined,
aborazmeh left,
aborazmeh joined
04:09
Sgeo__ joined
04:12
Sgeo_ left
|
|||
ingy | perl6 -e $(perl6 -e $(perl6 -e $(perl6 -e $(perl6 -e $(perl6 -e'{.fmt($_).say}(<{.fmt($_).say}(<%s>)>)'))))) # <= Do not cast your quines before Perl! | 04:16 | |
TimToady: ^^ | 04:17 | ||
raschipi | works everywhere too: REPL, file, stdin, cmdline | 04:24 | |
well, not file because it sends it to stdout instead of writing another file. | 04:26 | ||
echo '{.fmt($_).say}(<{.fmt($_).say}(<%s>)>)'|perl6|perl6|perl6|perl6|perl6|perl6 | 04:55 | ||
05:00
araraloren joined
|
|||
AlexDaniel | squashable6: status | 05:09 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈6 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/d32a7dd26b1ae64bc0...7b10b114c9 | |||
05:29
aborazmeh left
05:44
andrzejku joined
|
|||
andrzejku | araraloren: Hi!:) | 05:44 | |
05:47
ZeonPeon left
|
|||
araraloren | andrzejku hi | 05:52 | |
Geth | ¦ whateverable: AlexDaniel self-assigned Support multifile gists github.com/perl6/whateverable/issues/36 | 05:55 | |
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Support multifile gists”: github.com/perl6/whateverable/issu...-394061431 | 05:57 | |
andrzejku | araraloren: how are you doing? | 05:58 | |
araraloren | andrzejku :) fix my perl 6 app currently | 05:59 | |
andrzejku | araraloren: oh nice :) | 06:06 | |
araraloren | andrzejku , an app that find source file such as c/c++/makefile | 06:17 | |
A specific find | 06:18 | ||
06:28
wamba joined
|
|||
andrzejku | araraloren: the are already | 06:38 | |
silver searcher | |||
Geth | doc: 2ae5b1ef79 | (Rafael Schipiura)++ (committed using GitHub Web editor) | doc/Language/numerics.pod6 Update numerics.pod6 |
06:40 | |
doc: 85f3164026 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/numerics.pod6 Merge pull request #2088 from perl6/rafaelschipiura-patch-1 Update numerics.pod6 Let's give it a try. Thanks. |
|||
synopsebot | Link: doc.perl6.org/language/numerics | ||
06:40
jmerelo joined
|
|||
araraloren | andrzejku sliver ? | 06:41 | |
andrzejku | araraloren: try ag command | 06:42 | |
:) | |||
araraloren | what is ag | ||
andrzejku | kind of grep | 06:43 | |
donpdonp | araraloren: github.com/ggreer/the_silver_searcher#readme | ||
06:45
|oLa|1 joined
06:46
|oLa|2 joined,
|oLa|1 left
06:47
scovit joined
|
|||
araraloren | intersting :) | 06:49 | |
andrzejku | araraloren: ya I am using it in my daily work | ||
araraloren | My app is just search by extension | ||
not by content | |||
andrzejku | araraloren: thats what actually find . -iname do :P | ||
06:50
hythm_ joined
|
|||
araraloren | yeah, but with perl 6, and you can have own configuration | 06:50 | |
I recommend you have a try | |||
github.com/araraloren/perl6-app-findsource | |||
hythm_ | p6: role R { submethod BUILD { say "R BUILD" } }; class C does R { submethod BUILD { say "C BUILD" } }; C.new # should not R.BUILD run as well? | 06:51 | |
camelia | C BUILD | ||
araraloren | It can cooperate with grep/other command | ||
andrzejku | ok I will look at it :) | ||
araraloren | hythm_ submethod will not inherite by child class | 06:52 | |
andrzejku | araraloren: now I have to go there is a kid party today with dinosaurs | ||
araraloren | andrzejku it quite simple | ||
andrzejku | :D | ||
araraloren | dinosaurs ? | ||
andrzejku | ya | ||
RARARA ROAR | |||
buggable | New CPAN upload: App-FindSource-0.0.5.tar.gz by ALOREN modules.perl6.org/dist/App::FindSou...pan:ALOREN | 06:53 | |
hythm_ | hmm, why this works then?: | ||
p6: role R { submethod BUILD { say "R BUILD" } }; class C does R { submethod TWEAK { say "C TWEAK" } }; C.new | |||
camelia | R BUILD C TWEAK |
||
06:53
domidumont joined
|
|||
araraloren | hythm_ oh sorry, R is a role :) | 06:53 | |
andrzejku | araraloren: anyway thats good idea, I had just read a few pages of book Perl Minimal Unix | 06:54 | |
araraloren | IDK what happened :) hythm_ | ||
andrzejku | where the guy is substuting unix commands like sed grep find with perl one | ||
I wonder to have some manual for Perl6 | |||
araraloren | there are many manual now | ||
andrzejku | especially sed is awful tool for me :D | ||
araraloren | oh wait | 06:55 | |
jmerelo | andrzejku: which substitutes Unix for Perl 6, you mean. | ||
hythm_ | araraloren np, thanks for responding | ||
araraloren | andrzejku have you read this www.grymoire.com/Unix/Sed.html#uh-4a | ||
jmerelo | andrzejku: like ls or grep or things like that in Perl 6 | ||
araraloren | if not I recommend you have a look | ||
It's a awesome tutorial | 06:56 | ||
andrzejku | araraloren: ahh actually I mention to use Perl6 instead sed | ||
06:56
darutoko joined
|
|||
andrzejku | www.amazon.com/Minimal-Perl-Unix-L...1932394508 | 06:56 | |
araraloren: check that book | |||
I want to have Perl6 version :) | 06:57 | ||
araraloren | andrzejku hmm, that's true | ||
andrzejku | sed syntax sucks | ||
jmerelo | andrzejku: give it a try and write it yourself :-) | ||
andrzejku | and it also somehow good to have | ||
araraloren | oh, andrzejku I got you | ||
andrzejku | one lang to own all! | ||
haha | |||
jmerelo: thanks for idea | 06:58 | ||
06:58
troys left
|
|||
andrzejku | maybe I should try it :D | 06:58 | |
araraloren | sweet | 06:59 | |
andrzejku | araraloren: well I have to go | ||
araraloren | oh, bye | ||
andrzejku | araraloren: visit dinosaurs | ||
araraloren: bye bye ! :) | |||
06:59
domidumont left
07:00
domidumont joined
07:03
scovit left
07:12
Schepeers left
07:13
hythm_ left
07:23
psychoslave left
07:30
molaf joined
07:32
skids left
07:35
rindolf joined,
raschipi left
07:46
mcmillhj joined
07:51
mcmillhj left,
Schepeers joined
07:53
titsuki left
07:54
titsuki joined
07:58
sena_kun joined
|
|||
Geth | doc: b70dc75e73 | (JJ Merelo)++ | doc/Language/classtut.pod6 Some reflow and deletes comment |
08:00 | |
doc: 6cd2f1aa1c | (JJ Merelo)++ | 2 files Adds example on return coercion types |
|||
synopsebot | Link: doc.perl6.org/language/classtut | ||
doc: 97e1d49cbf | (JJ Merelo)++ | doc/Language/functions.pod6 Explains use of aliases in MAIN |
|||
synopsebot | Link: doc.perl6.org/language/functions | ||
08:04
lalitmee joined
08:05
mcmillhj joined
|
|||
Geth | doc: 3f119b000e | (JJ Merelo)++ | doc/Type/Signature.pod6 Adds indexing for aliases |
08:06 | |
doc: 72ca26fc8e | (JJ Merelo)++ | doc/Type/Signature.pod6 Changes example To a rather more correct version, explaining the use of aliases with or without colon. Also some reflow in text and code |
|||
synopsebot | Link: doc.perl6.org/type/Signature | ||
08:08
Schepeers_ joined,
Schepeers left
08:09
mcmillhj left
08:20
mcmillhj joined
08:21
Schepeers_ left
08:22
Schepeers joined
08:24
Schepeers left
08:25
mcmillhj left,
scovit joined
|
|||
scovit | Hi, I have a question: is there any syntactic sugar for this: | 08:25 | |
yoleaux | 31 May 2018 22:09Z <b2gills> scovit: It seems like the compile time error doesn't throw unless both the parameter and argument are different sub-types of Any | ||
scovit | m: class A { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao($g where "c" ~~ ($g.^methods>>.name).Set) { }; ciao($e); | 08:26 | |
camelia | ( no output ) | ||
scovit | m: class A { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao($g where "c" ~~ ($g.^methods>>.name).Set) { }; ciao($f); | ||
camelia | Constraint type check failed in binding to parameter '$g'; expected anonymous constraint to be met but got B (B.new) in sub ciao at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
scovit | this kind of mechanism | ||
checking if an object can do something | |||
jmerelo | scovit: there's can and cando | 08:27 | |
scovit: docs.perl6.org/routine/cando | |||
m: class A { method c {} }; say "A".^can("c") | 08:28 | ||
camelia | () | ||
jmerelo | m: class A { method c {} }; say A.^can("c") | ||
camelia | (c) | ||
08:28
Schepeers joined
|
|||
scovit | m: class A { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao($g where so $g.^can("c")) {}; ciao($e); | 08:31 | |
jmerelo: nicer | |||
camelia | ( no output ) | ||
scovit | m: class A { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao($g where so $g.^can("c")) {}; ciao($f); | ||
camelia | Constraint type check failed in binding to parameter '$g'; expected anonymous constraint to be met but got B (B.new) in sub ciao at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
08:33
mcmillhj joined
|
|||
scovit | is there a way to custom the error message of Constrint type check? | 08:33 | |
like to something like: expected "so $g.^can("c")" but got B (B.new) | 08:35 | ||
also, if I understand correctly, the check is runtime | 08:36 | ||
yep.. | |||
08:37
psychoslave joined,
Schepeers left,
mcmillhj left
|
|||
scovit | are these kind of checks ever gonna become compile time? | 08:37 | |
I am thinking also about Roles | |||
08:40
MilkmanDan left
08:41
MilkmanDan joined
|
|||
moritz | nominal types are check at compile time, if possible. That applies for roles too | 08:41 | |
I don't know if anybody plans to hoist constraint type check to compile time | 08:42 | ||
you could | |||
jmerelo | scovit: there's an issue for constraint unmet errors github.com/rakudo/rakudo/issues/1883 | 08:44 | |
08:47
mcmillhj joined
08:49
Schepeers joined
08:52
mcmillhj left
|
|||
scovit | this is runtime: | 08:55 | |
m: role Q { }; class A is Q { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao(Q $g) {}; say "we"; ciao($f); | |||
camelia | we Type check failed in binding to parameter '$g'; expected Q but got B (B.new) in sub ciao at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
scovit | could be compile time, no? | ||
moritz | could be, though requires some sophisticated analysis | 09:03 | |
because $f isn't typed as B | |||
scovit | true, then it would be probably worth it to do it for modules but not for scripts | 09:12 | |
09:12
lizmat left
|
|||
scovit | There is the problem of Mixins | 09:15 | |
m: role Q { }; class A does Q { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao(Q $g) {}; if (1,0).pick { $f does Q; }; ciao($f); | 09:16 | ||
camelia | Type check failed in binding to parameter '$g'; expected Q but got B (B.new) in sub ciao at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
scovit | m: role Q { }; class A does Q { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao(Q $g) {}; if (1,0).pick { $f does Q; }; ciao($f); | ||
camelia | Type check failed in binding to parameter '$g'; expected Q but got B (B.new) in sub ciao at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
scovit | m: role Q { }; class A does Q { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao(Q $g) {}; if (1,0).pick { $f does Q; }; ciao($f); | ||
camelia | Type check failed in binding to parameter '$g'; expected Q but got B (B.new) in sub ciao at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
scovit | m: role Q { }; class A does Q { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao(Q $g) {}; if (1,0).pick { $f does Q; }; ciao($f); | 09:17 | |
camelia | ( no output ) | ||
scovit | lol | ||
only in a purely functional language.. | |||
09:18
lalitmee left
09:26
lizmat joined
|
|||
scovit | so, I conclude that it is in general a bad idea to check for ^can or roles in a signature. Better to let the runtime to blow at the right spot with an explicative error message | 09:32 | |
09:53
scovit left
10:09
araraloren left
10:10
araraloren joined
10:23
psychoslave left
10:26
araraloren left
10:27
araraloren joined
10:49
lizmat left
11:02
eliasr joined
11:18
yqt joined
|
|||
AlexDaniel | omg I think I finally added support for multifile gists in whateverable | 11:19 | |
just fixing some tests now | 11:20 | ||
11:26
wamba left
11:34
markong joined,
markong is now known as markoong
|
|||
MasterDuke | .tell scovit a way to customize the error message from where constraints: class A { method c {} }; class B { method d {} }; my $e = A.new(); my $f = B.new(); sub ciao($g where so $g.^can("c") || die "Can't do c") {}; ciao($f);' | 11:41 | |
yoleaux | MasterDuke: I'll pass your message to scovit. | ||
11:45
avar left,
avar joined
11:51
kaare_ left
12:06
psychoslave joined
12:11
lizmat joined
|
|||
squashable6 | 🍕 AlexDaniel++ edited issue “Make it easier to run for contributors”: github.com/perl6/whateverable/issues/122 | 12:13 | |
12:18
lizmat left
12:32
lizmat joined
|
|||
Geth | whateverable: 11aa020b04 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 14 files Support for multifile gists Resolves a long-standing issue #36 (but no tests yet). It works by saving all files in ‘sandbox/’, which is pretty much the only writable path. As a bonus, you should be able to use all saved files from other bots (note that all bots will now support multifile ... (13 more lines) |
12:36 | |
whateverable: 1f4ba0171e | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/benchable.t Increase timeouts in benchable tests This way it should run locally without any failures. |
|||
squashable6 | 🍕 AlexDaniel++ labeled issue “Support multifile gists”: github.com/perl6/whateverable/issues/36 | ||
🍕 AlexDaniel++ unlabeled issue “Support multifile gists”: github.com/perl6/whateverable/issues/36 | |||
🍕 AlexDaniel++ unlabeled issue “Support for github, gitlab, bitbucket, … links”: github.com/perl6/whateverable/issues/66 | |||
🍕 AlexDaniel++ wrote a comment on “Support for github, gitlab, bitbucket, … links”: github.com/perl6/whateverable/issu...-394084541 | 12:37 | ||
Geth | doc/master: 4 commits pushed by (JJ Merelo)++ | ||
12:40
bisectable6 left,
evalable6 left,
committable6 left,
bisectable6 joined,
evalable6 joined,
committable6 joined
|
|||
AlexDaniel | e: gist.github.com/AlexDaniel/c30fb59...80df597449 | 12:40 | |
evalable6 | AlexDaniel, Using file “heh” as a main file, other files are placed in “sandbox/” | ||
foo bar baz |
|||
AlexDaniel | \o/ | ||
12:41
yqt left
|
|||
jmerelo | AlexDaniel: cool! | 12:41 | |
araraloren | awesome | 12:43 | |
12:46
lizmat left
12:51
lizmat joined
12:52
jmerelo left
|
|||
squashable6 | 🍕 AlexDaniel++ closed issue “Proper README is needed”: github.com/perl6/whateverable/issues/26 | 12:53 | |
🍕 AlexDaniel++ wrote a comment on “Proper README is needed”: github.com/perl6/whateverable/issu...-394085499 | |||
12:54
APic left
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Implement some sort of a cache”: github.com/perl6/whateverable/issu...-394085711 | 12:56 | |
Geth | whateverable: AlexDaniel self-unassigned Support multifile gists github.com/perl6/whateverable/issues/36 9a95f3569f | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/benchable.t Hard to tell what was the underlying issue, so just copying original queries as is. Closes #38. |
12:57 | |
12:59
APic joined
13:06
Aaronepower left
13:08
Aaronepower joined
13:11
Aaronepower left
13:17
Aaronepower joined
13:21
yqt joined
13:38
yqt left
13:39
lizmat left
|
|||
MasterDuke | what's an example of a regex that will take a very long time to match (or not)? | 13:43 | |
13:46
psychoslave left,
lizmat joined
13:50
lizmat left
|
|||
AlexDaniel | m: say ‘aaaaaaaaaaaaaaa’ ~~ /a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ | 13:58 | |
MasterDuke: like this? | |||
that's from swtch.com/~rsc/regexp/regexp1.html | |||
camelia | (timeout) | ||
AlexDaniel | m: say ‘a’ ~~ /a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ | ||
camelia | Nil | ||
AlexDaniel | mhm | 13:59 | |
should be twice as many a's in the actual string | |||
m: say ‘aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa’ ~~ /a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ | |||
camelia | (timeout) | ||
14:03
kaare_ joined
|
|||
MasterDuke | that's the idea, but i don't know what the input will be and i still want it to take a long time | 14:06 | |
AlexDaniel | oh, then just use zero-width assertion and make sure your regex fails | 14:09 | |
whos website are you hacking by the way? :) | |||
m: say ‘hello’ ~~ /<before ‘’>*/' | 14:10 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3say ‘hello’ ~~ /<before ‘’>*/7⏏5' expecting any of: infix infix stopper postfix statement end … |
||
AlexDaniel | m: say ‘hello’ ~~ /<before ‘’>*/ | ||
ok yeah just using * is alright | |||
camelia | (timeout) | ||
14:26
domidumont left
|
|||
Summertime | for smartmatching against regex literals, is there any difference between m/something/ and rx/something/? | 14:30 | |
AlexDaniel | Summertime: ideally no, but in practice there is a difference | 14:31 | |
Summertime: github.com/perl6/doc/issues/1675 | |||
m: m/./; dd $/ | 14:32 | ||
camelia | Use of uninitialized value of type Any in string context. Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful. in block <unit> at <tmp> line 1 Nil $/ = Nil |
||
AlexDaniel | m: /./; dd $/ | ||
camelia | Nil $/ = Nil | ||
AlexDaniel | m: rx/./; dd $/ | ||
camelia | Nil $/ = Nil | ||
AlexDaniel | that's from one of the linked bug reports | 14:33 | |
14:35
ZeonPeon joined,
rindolf left
14:37
wamba joined
|
|||
Summertime | hmm, if I had a regex stored in a variable, how would one use that with match flags? | 14:39 | |
x ~~ m:g/<regexname>/; ? | |||
14:39
rindolf joined
14:40
zpc joined
|
|||
jnthn | x.match($the-variable, :g) | 14:41 | |
Summertime | ah neat, didn't think to look at the str methods, thanks! | 14:43 | |
MasterDuke | m: my $r = '(\d)'; say 'a1b2c3"'~~ m:g/<$r>/ | 14:45 | |
camelia | (「1」 「2」 「3」) | ||
MasterDuke | Summertime: ^^^ works also | 14:46 | |
jnthn | Indeed, though likely a good deal more slowly :) | 14:47 | |
El_Che | jnthn: and, did you receive enough stacktraces so far? :) | ||
jnthn | El_Che: Plenty, it would seem :) | 14:48 | |
Plenty for us to be looking at next week :) | |||
El_Che | :) | 14:49 | |
14:55
kaare_ left
14:56
kaare_ joined
15:03
Sgeo__ left
15:04
Sgeo joined
15:08
Sgeo_ joined
|
|||
Summertime | another question that has been stumping me a bit | 15:08 | |
trying to find all 2 element lists with both values the same | 15:09 | ||
m: say ((1,1),(1,2),(3,3),(3,7)).grep: {.[0] == .[1]} | |||
camelia | ((1 1) (3 3)) | ||
Summertime | is what I've got, but having the subscripts there feels a bit off, like I'm doing something wrong | 15:10 | |
MasterDuke | m: say ((1,1),(1,2),(3,3),(3,7)).grep: { [==] @$_} | 15:11 | |
camelia | ((1 1) (3 3)) | ||
15:11
Sgeo left
15:12
lalitmee joined
|
|||
MasterDuke | m: say ((1,1),(1,2),(3,3),(3,7)).grep: { [==] @_ } # huh, not sure what's happening here | 15:12 | |
camelia | (((1 1)) ((3 3))) | ||
15:13
Khisanth left,
lalitmee left
|
|||
Summertime | perl confuses me more every day | 15:14 | |
I'm guessing @_ causes the input to grep to change, which gives the unexpected extra list | 15:15 | ||
but, using [==] $_ worked | 15:16 | ||
still have the {} though, but it feels a lot neater now | 15:17 | ||
also scalable, which is a bonus for any code golfing :D | |||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “You could hang committab…”: github.com/perl6/whateverable/issu...-394094592 | 15:18 | |
b2gills | To bad there isn't a syntax like `*==*` that worked like `-> $ ($a,$b) { $a == $b }` instead of `-> $a, $b { $a == $b }` | 15:20 | |
AlexDaniel | squashable6: status | ||
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈20 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/51c78bd8442c0ea4aa...40ca9a900c | |||
🍕🍕🍕 First contribution by MasterDuke17++! ♥ | |||
Summertime | function arguments deconstructing I guess? I keep expecting it to exist but yeah, can't find | 15:21 | |
maybe like a ReverseslippyWhateverCode... but at that point .[#] doesn't feel like such a pain | 15:22 | ||
15:23
Sgeo__ joined
|
|||
Summertime | on the plus side, I worked it out! | 15:23 | |
m: say ((1,1),(1,2),(3,3),(3,7)).grep: *.repeated | |||
camelia | ((1 1) (3 3)) | ||
dogbert17 | m: say ((1,1),(1,2),(3,3),(3,7)).grep(-> ($a, $b) {$a == $b}) | 15:25 | |
camelia | ((1 1) (3 3)) | ||
15:25
Sgeo_ left
15:26
Khisanth joined
15:51
jmerelo joined
15:59
kaare_ left,
kaare_ joined
16:08
comborico1611 joined
16:13
Success is now known as Failure
|
|||
araraloren | 16:25 | ||
AlexDaniel | squashable6: status | 16:50 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈19 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/586e12e48b39ff7298...3d9dd541c1 | |||
🍕 AlexDaniel++ edited issue “Make it easier to run for contributors”: github.com/perl6/whateverable/issues/122 | 16:58 | ||
17:00
HaraldJoerg joined
|
|||
jmerelo | New report on the perl6 doc repo (and rakudo repo as bonus track) www.researchgate.net/publication/3...repository Looking at entropy, and how it can reveal overlooked files as well as collaboration patterns. | 17:04 | |
17:06
noganex left,
noganex joined
17:09
raschipi joined
|
|||
squashable6 | 🍕 AlexDaniel++ closed issue “Is benchable broken?”: github.com/perl6/whateverable/issues/38 | ||
🍕 AlexDaniel++ wrote a comment on “Make sure total timeout …”: github.com/perl6/whateverable/issu...-394102791 | 17:17 | ||
🍕 AlexDaniel++ wrote a comment on “Build any dangling branches”: github.com/perl6/whateverable/issu...-394102909 | 17:19 | ||
17:19
wamba left
|
|||
squashable6 | 🍕 AlexDaniel++ closed issue “Generate @releases array automatically”: github.com/perl6/whateverable/issues/47 | 17:20 | |
🍕 AlexDaniel++ wrote a comment on “Generate @releases array automatically”: github.com/perl6/whateverable/issu...-394102964 | |||
AlexDaniel | m: say unique 1, -2, 2, 3, :as( { abs $_ } ); | 17:33 | |
camelia | (1 -2 3) | ||
AlexDaniel | m: say unique 1, -2, 2, 3, :as( { abs $_ } ); | ||
camelia | (1 -2 3) | ||
squashable6 | 🍕 JJ++ wrote a comment on “Surprising behavior when…”: github.com/perl6/whateverable/issu...-394104045 | 17:36 | |
AlexDaniel | m: say 42 | 17:37 | |
camelia | 42 | ||
17:37
Possum left
|
|||
Geth | whateverable: fabcd4cd5b | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/evalable.t Add an extra autodetection test Actually, the feature is well tested, and even this test is somewhat redundant. Closes #53. |
17:40 | |
squashable6 | 🍕 AlexDaniel++ closed issue “More ways to trigger evalable”: github.com/perl6/whateverable/issues/53 | ||
🍕 JJ++ edited wiki page “Installation”: github.com/perl6/whateverable/wiki/Installation | 17:44 | ||
jmerelo | AlexDaniel: Hanged in `/tmp/whateverable/rakudo-moar/c80ea2f28939875586d326ca1c63db2cdf7b8c8d is locked. Waiting…` when I tried to run the test again; fixed when erased. | 17:49 | |
AlexDaniel | jmerelo: interesting, which test file is that? | ||
squashable6 | 🍕 JJ++ wrote a comment on “Surprising behavior when…”: github.com/perl6/whateverable/issu...-394104787 | ||
jmerelo | AlexDaniel: unicodable.t | 17:50 | |
It was the same problem I had before, apparently. | |||
AlexDaniel | ah, but it works now? | ||
after installing zstd I suppose? | |||
jmerelo | AlexDaniel: yep, that might be it. | 17:51 | |
AlexDaniel | jmerelo: actually, for testing some single changes, you can also use 「sake debug:unicodable」 | ||
and the bot will join #whateverable channel | |||
then you can talk to the bot and usually it will be more explicit | |||
about things like that at least | |||
jmerelo | AlexDaniel: I'm only trying to find my way for the time being... | ||
AlexDaniel | :) | ||
jmerelo | AlexDaniel: but tests work now, so I'll try to find out how to address that issue I'm commenting on. | 17:52 | |
AlexDaniel | \o/ | ||
squashable6 | 🍕 JJ++ wrote a comment on “Surprising behavior when…”: github.com/perl6/whateverable/issu...-394105183 | 17:57 | |
AlexDaniel | jmerelo: usually when you write words in a query it does the search by looking at the uniname | 18:00 | |
for example | |||
u: PILE POO | |||
unicodable6 | AlexDaniel, U+1F4A9 PILE OF POO [So] (💩) | ||
AlexDaniel | but if there are trailing spaces | ||
u: PILE FOO | |||
unicodable6 | AlexDaniel, Found nothing! | ||
AlexDaniel | hm… that's actually interesting | ||
ah | |||
u: PILE POO | |||
unicodable6 | AlexDaniel, U+1F4A9 PILE OF POO [So] (💩) | ||
AlexDaniel | u: pile | 18:01 | |
unicodable6 | AlexDaniel, U+1F4A9 PILE OF POO [So] (💩) | ||
AlexDaniel | was it fixed? | ||
squashable6 | 🍕 JJ++ wrote a comment on “Surprising behavior when…”: github.com/perl6/whateverable/issu...-394105439 | ||
18:01
cog left
|
|||
jmerelo | U: PILE | 18:01 | |
18:01
stmuk_ joined
|
|||
jmerelo | u: PILE | 18:01 | |
unicodable6 | jmerelo, U+1F4A9 PILE OF POO [So] (💩) | ||
jmerelo | u: GREEK SMALL PI | ||
unicodable6 | jmerelo, U+0373 GREEK SMALL LETTER ARCHAIC SAMPI [Ll] (ͳ) | ||
jmerelo, U+03C0 GREEK SMALL LETTER PI [Ll] (π) | |||
jmerelo, 9 characters in total (ͳπϡᴦᴧᴨᴩᴪꭥ): gist.github.com/809ac66531536c21b8...ff15ff4d9d | 18:02 | ||
jmerelo | u: GREEK SMALL PI | ||
unicodable6 | jmerelo, U+0373 GREEK SMALL LETTER ARCHAIC SAMPI [Ll] (ͳ) | ||
jmerelo, U+03C0 GREEK SMALL LETTER PI [Ll] (π) | |||
jmerelo, 9 characters in total (ͳπϡᴦᴧᴨᴩᴪꭥ): gist.github.com/5db78fe901ce6be4b3...039ede8897 | |||
AlexDaniel | jmerelo: I think it's this: github.com/perl6/whateverable/comm...65071efe3b | ||
so if you add a test we can close the ticket | |||
jmerelo | AlexDaniel: OK | ||
18:03
stmuk left
|
|||
AlexDaniel | shareable6: 2f8dfb267f1753498e0368e89a6974e0fe9f0104 | 18:03 | |
shareable6 | AlexDaniel, whateverable.6lang.org/2f8dfb267f1...e0fe9f0104 | ||
jmerelo | u: GREEK PI | 18:07 | |
unicodable6 | jmerelo, U+0370 GREEK CAPITAL LETTER HETA [Lu] (Ͱ) | ||
jmerelo, U+0372 GREEK CAPITAL LETTER ARCHAIC SAMPI [Lu] (Ͳ) | |||
jmerelo, 165 characters in total: gist.github.com/baf2a46ebf285134e5...0b20230f24 | |||
jmerelo | u: GREEK HETA | ||
unicodable6 | jmerelo, U+0370 GREEK CAPITAL LETTER HETA [Lu] (Ͱ) | ||
jmerelo, U+0371 GREEK SMALL LETTER HETA [Ll] (ͱ) | |||
jmerelo, 6 characters in total (ͰͱΘθϑϴ): gist.github.com/f7a8834c870bdb0cec...1f717b9104 | |||
jmerelo | u: GREEK SMALL HETA | ||
unicodable6 | jmerelo, U+0371 GREEK SMALL LETTER HETA [Ll] (ͱ) | ||
jmerelo, U+03B8 GREEK SMALL LETTER THETA [Ll] (θ) | |||
jmerelo | u: GREEK SMALL THETA | ||
unicodable6 | jmerelo, U+03B8 GREEK SMALL LETTER THETA [Ll] (θ) | ||
jmerelo | u: GREEK SMALL HETA | ||
unicodable6 | jmerelo, U+0371 GREEK SMALL LETTER HETA [Ll] (ͱ) | 18:08 | |
jmerelo, U+03B8 GREEK SMALL LETTER THETA [Ll] (θ) | |||
jmerelo | u: GREEK HETA | ||
unicodable6 | jmerelo, U+0370 GREEK CAPITAL LETTER HETA [Lu] (Ͱ) | ||
jmerelo, U+0371 GREEK SMALL LETTER HETA [Ll] (ͱ) | |||
jmerelo, 6 characters in total (ͰͱΘθϑϴ): gist.github.com/01edb0e619e616cc0d...0ecac0a434 | |||
jmerelo | u: GREEK SMALL THETA | ||
unicodable6 | jmerelo, U+03B8 GREEK SMALL LETTER THETA [Ll] (θ) | ||
18:11
domidumont joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Something fishy with pre-2015.09 commits”: github.com/perl6/whateverable/issu...-394106136 | 18:13 | |
Geth | whateverable: JJ++ created pull request #325: Adds test for ignoring trailing whitespace |
18:14 | |
squashable6 | 🍕 JJ++ opened pull request “Adds test for ignoring trailing whitespace”: github.com/perl6/whateverable/pull/325 | ||
🍕 AlexDaniel++ labeled issue “Something fishy with pre-2015.09 commits”: github.com/perl6/whateverable/issues/74 | |||
Geth | whateverable: dbaafbf7b3 | (JJ Merelo)++ | 2 files Capitalized Unicode |
18:15 | |
whateverable: 95e6c9e297 | (JJ Merelo)++ | t/unicodable.t Adds test for trailing whitespace closes #125 |
|||
squashable6 | 🍕 AlexDaniel++ merged pull request “Adds test for ignoring trailing whitespace”: github.com/perl6/whateverable/pull/325 | ||
Geth | whateverable: 37d2f56ac9 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 2 files Merge pull request #325 from JJ/master Adds test for ignoring trailing whitespace |
||
squashable6 | 🍕 AlexDaniel++ closed issue “Surprising behavior when…”: github.com/perl6/whateverable/issues/125 | ||
squashable6 | 🍕 MasterDuke17++ edited wiki page “Installation (for maintainers)”: github.com/perl6/whateverable/wiki...tainers%29 | 18:23 | |
🍕 MasterDuke17++ edited wiki page “_Sidebar”: github.com/perl6/whateverable/wiki/_Sidebar | 18:24 | ||
raschipi | u: greek small theta | 18:27 | |
unicodable6 | raschipi, U+03B8 GREEK SMALL LETTER THETA [Ll] (θ) | ||
raschipi | u: greek small theta | ||
unicodable6 | raschipi, U+03B8 GREEK SMALL LETTER THETA [Ll] (θ) | ||
18:27
araraloren left
18:30
imcsk8 left
|
|||
squashable6 | 🍕 JJ++ wrote a comment on “Running bots without zstd leaves lock dirs behind”: github.com/perl6/whateverable/issu...-394107734 | 18:38 | |
18:38
imcsk8 joined
|
|||
AlexDaniel | jmerelo: hmmm, what if you try to bump the timeout? | 18:40 | |
like: | |||
$t.test(:30, ‘Search using the code block’, | |||
oops | |||
$t.test(:30timeout, ‘Search using the code block’, | |||
jmerelo | OK, maybe it's got nothing to do with that | 18:41 | |
I'll try. First thing tomorrow. I'm AFK now | |||
18:41
jmerelo left
|
|||
Geth | whateverable: 9bcf0a3fd6 | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/committable.t Test wrapped lines in commit lists Resolves #77. |
18:42 | |
squashable6 | 🍕 AlexDaniel++ closed issue “Make committable output more readable”: github.com/perl6/whateverable/issues/77 | ||
buggable | New CPAN upload: Net-LibIDN2-0.0.4.tar.gz by KAIEPI modules.perl6.org/dist/Net::LibIDN2:cpan:KAIEPI | 18:43 | |
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Running bots without zstd leaves lock dirs behind”: github.com/perl6/whateverable/issu...-394108252 | 18:45 | |
🍕 AlexDaniel++ wrote a comment on “Improve code in Unicodable”: github.com/perl6/whateverable/issu...-394108538 | 18:50 | ||
🍕 AlexDaniel++ labeled issue “Improve code in Unicodable”: github.com/perl6/whateverable/issues/78 | |||
18:57
molaf left
18:58
molaf joined
18:59
hankache joined
|
|||
Geth | whateverable: 2aee5e2a11 | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/unicodable.t Make sure unicodable doesn't create humongous gists Resolves #79. |
19:01 | |
squashable6 | 🍕 AlexDaniel++ closed issue “Unicodable is unable to …”: github.com/perl6/whateverable/issues/79 | ||
🍕 AlexDaniel++ wrote a comment on “Unicodable is unable to …”: github.com/perl6/whateverable/issu...-394109240 | |||
🍕 AlexDaniel++ wrote a comment on “Unicodable and Statisfiable are leaking memory”: github.com/perl6/whateverable/issu...-394109445 | 19:05 | ||
🍕 AlexDaniel++ closed issue “Unicodable and Statisfiable are leaking memory”: github.com/perl6/whateverable/issues/80 | |||
🍕 AlexDaniel++ wrote a comment on “Add tests for memory usage”: github.com/perl6/whateverable/issu...-394109478 | 19:06 | ||
🍕 AlexDaniel++ closed issue “Add tests for memory usage”: github.com/perl6/whateverable/issues/197 | |||
🍕 AlexDaniel++ labeled issue “What should happen with weird unicode newlines?”: github.com/perl6/whateverable/issues/115 | |||
🍕 AlexDaniel++ unlabeled issue “Bisectable should detect…”: github.com/perl6/whateverable/issues/114 | |||
19:07
lizmat joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Bisectable should detect…”: github.com/perl6/whateverable/issu...-394109566 | 19:07 | |
AlexDaniel | bench: compare HEAD slurp().trans( Q<\> => [Q<\\>], ["\n"] => ['\n']) ||| slurp().subst(Q<\>, Q<\\>).subst("\n", '\n') | 19:08 | |
benchable6 | AlexDaniel, starting to benchmark the 1 given commit | ||
AlexDaniel, gist.github.com/443fd0ebed4554917b...a72206616d | |||
AlexDaniel | lol awesome | ||
bench: compare HEAD slurp().trans( Q<\> => [Q<\\>], ["\n"] => ['\n']) ||| slurp().subst(Q<\>, Q<\\>).subst("\n", '\n') | 19:09 | ||
benchable6 | AlexDaniel, starting to benchmark the 1 given commit | ||
AlexDaniel, gist.github.com/d47a49db62710179c1...ff67e19877 | |||
19:09
benchable6 left,
benchable6 joined,
ChanServ sets mode: +v benchable6
|
|||
AlexDaniel | bench: compare HEAD slurp().trans( Q<\> => [Q<\\>], ["\n"] => ['\n']) ||| slurp().subst(Q<\>, Q<\\>).subst("\n", '\n') | 19:09 | |
benchable6 | AlexDaniel, starting to benchmark the 1 given commit | ||
19:09
buggable left
|
|||
benchable6 | AlexDaniel, gist.github.com/c955a59b54621f00bc...a2dbaab7d8 | 19:09 | |
AlexDaniel | MasterDuke: huh, hum… I guess there's some PERL6LIB issue? ↑ | 19:10 | |
19:10
huggable left
|
|||
AlexDaniel | it passes its tests though, I think | 19:10 | |
19:10
ZofBot left
|
|||
AlexDaniel | so perhaps systemd is restricting it a bit too much? | 19:10 | |
squashable6 | 🍕 AlexDaniel++ opened issue ““Could not find Bench””: github.com/perl6/whateverable/issues/326 | 19:11 | |
🍕 AlexDaniel++ labeled issue ““Could not find Bench””: github.com/perl6/whateverable/issues/326 | |||
19:11
hobbs left
19:12
hoelzro left,
leedo left,
hoelzro joined,
jcallen left,
jcallen joined,
leedo joined
19:13
hobbs joined,
hobbs left,
hobbs joined,
domidumont left
|
|||
El_Che | news.perlfoundation.org/2018/06/tpc...22018.html | 19:13 | |
The Perl Conference Newsletter | |||
USA-centric much? | |||
19:15
rindolf left
19:17
darutoko left
19:18
wamba joined
19:23
ZeonPeon left
19:27
koto joined
|
|||
Geth | whateverable: da226145c3 | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/bisectable.t Test that bisectable won't chdir Resolves #90. |
19:29 | |
squashable6 | 🍕 AlexDaniel++ closed issue “Something wrong with bisectable (let's chdir less)”: github.com/perl6/whateverable/issues/90 | ||
19:30
sena_kun left
|
|||
squashable6 | 🍕 AlexDaniel++ closed issue “Add additional “What?” c…”: github.com/perl6/whateverable/issues/96 | 19:32 | |
🍕 AlexDaniel++ wrote a comment on “Add additional “What?” c…”: github.com/perl6/whateverable/issu...-394111353 | |||
🍕 AlexDaniel++ wrote a comment on “Build any dangling branches”: github.com/perl6/whateverable/issu...-394111477 | 19:33 | ||
Geth | whateverable: ba2579f64d | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/unicodable.t Make sure there's no preview for weird chars Resolves #104. |
19:39 | |
squashable6 | 🍕 AlexDaniel++ closed issue “Unicodable should print …”: github.com/perl6/whateverable/issues/104 | ||
🍕 AlexDaniel++ unlabeled issue “Delete /tmp/whateverable…”: github.com/perl6/whateverable/issues/144 | 19:40 | ||
🍕 AlexDaniel++ wrote a comment on “Delete /tmp/whateverable…”: github.com/perl6/whateverable/issu...-394112015 | 19:41 | ||
🍕 AlexDaniel++ wrote a comment on “Turn regressionable into an actual bot”: github.com/perl6/whateverable/issu...-394112198 | 19:44 | ||
🍕 MasterDuke17++ edited wiki page “Quotable”: github.com/perl6/whateverable/wiki/Quotable | 19:46 | ||
Geth | whateverable: af89312af8 | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Regressionable.p6 Remove Regressionable This was a non-bot, and it is abandoned. Feel free to restore it if there's a need. Resolves #123. |
||
squashable6 | 🍕 AlexDaniel++ closed issue “Turn regressionable into an actual bot”: github.com/perl6/whateverable/issues/123 | ||
19:48
SCHAPiE left
19:49
hankache left
|
|||
squashable6 | 🍕 AlexDaniel++ unlabeled issue ““did you want benchable6 or committable6?””: github.com/perl6/whateverable/issues/128 | 19:52 | |
🍕 AlexDaniel++ wrote a comment on ““did you want benchable6 or committable6?””: github.com/perl6/whateverable/issu...-394112794 | |||
19:53
espadrine joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Make it understand / ‘.say’ $ / too”: github.com/perl6/whateverable/issu...-394112904 | 19:54 | |
🍕 AlexDaniel++ closed issue “Make it understand / ‘.say’ $ / too”: github.com/perl6/whateverable/issues/130 | |||
🍕 AlexDaniel++ unlabeled issue ““too many open files””: github.com/perl6/whateverable/issues/136 | |||
19:58
psychoslave joined
19:59
rindolf joined
20:03
psychoslave left
20:05
SCHAPiE joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Report information about the bot itself”: github.com/perl6/whateverable/issu...-394113641 | 20:05 | |
🍕 AlexDaniel++ labeled issue “Report information about the bot itself”: github.com/perl6/whateverable/issues/135 | |||
AlexDaniel | squashable6: uptime | 20:06 | |
squashable6 | AlexDaniel, No! It wasn't me! It was the one-armed man! Backtrace: gist.github.com/2f4d3141f8316a2019...d597a8c207 | ||
AlexDaniel | awesome | ||
MasterDuke: oh, I think I know | |||
squashable6: uptime | |||
squashable6 | AlexDaniel, No! It wasn't me! It was the one-armed man! Backtrace: gist.github.com/dbfd84d24cc9204ced...e14e1be056 | ||
AlexDaniel | gah… | 20:07 | |
20:07
squashable6 left,
squashable6 joined
|
|||
AlexDaniel | squashable6: uptime | 20:07 | |
squashable6 | AlexDaniel, 16 seconds, 346.597656MiB maxrss. This is Rakudo version 2018.04.1-118-g2f4b2f428 built on MoarVM version 2018.04.1-121-gd634d24cf implementing Perl 6.c. | ||
AlexDaniel | \o/ | ||
Geth | doc: uzluisf++ created pull request #2090: Fix some typos and wording |
||
AlexDaniel | MasterDuke: it is something precomp-related, and probably even more so given that bots are not really allowed to change precomp files | ||
20:08
cog joined
|
|||
AlexDaniel | squashable6: status | 20:08 | |
squashable6 | AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈15 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
AlexDaniel, Log and stats: gist.github.com/68ddd23ae60a45d279...1418cdbf82 | |||
Geth | doc: e34029ebd7 | (Luis F. Uceta)++ | doc/Language/numerics.pod6 Fix some typos and wording |
20:09 | |
doc: 746819f29b | (Rafael Schipiura)++ (committed using GitHub Web editor) | doc/Language/numerics.pod6 Merge pull request #2090 from uzluisf/master Fix some typos and wording |
|||
synopsebot | Link: doc.perl6.org/language/numerics | ||
20:09
lizmat left
20:18
andrzejku left
20:21
psychoslave joined
|
|||
Geth | whateverable: 53f83c0b57 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 3 files Commit some maintenance scripts These files were on the server but for some reason never made its way to the git repo (they are used rarely). Some of these are a bit useful, so for now let's commit them. |
20:21 | |
whateverable: 6c0bbef987 | bisectable++ | lib/Whateverable.pm6 Change `INIT now` to `$*INIT-INSTANT` Whateverable.pm6 was getting precomped, so `INIT now` didn't make sense. AlexDaniel++ |
20:22 | ||
whateverable: ea3b5855c7 | bisectable++ | .gitignore Ignore vim's temp files |
|||
20:22
cog left,
espadrine left
20:23
cog joined
20:33
raschipi left
|
|||
Geth | whateverable: 419f917156 | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Shareable.p6 Fix url in shareable If running on the server, config.json should have “self” entry which should be used instead. |
20:33 | |
whateverable: 65843bc27e | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files Commit temporary workarounds for Shareable Both changes are a workaround for rakudo/rakudo#1595. This commit should be reverted later. |
|||
synopsebot | RAKUDO#1595 [open]: github.com/rakudo/rakudo/issues/1595 [weird] Some bug with a combination of $*KERNEL.hardware, slurp, run and Cro | ||
20:34
chakli joined
|
|||
chakli | Hi, How do i insert an element into an array? ex: insert c in <a b d> to <a b c d> | 20:36 | |
moritz | m: my @a = <a b d>; @a.splice(1, 0, 'd'); say @a.perl | 20:37 | |
camelia | ["a", "d", "b", "d"] | ||
moritz | m: my @a = <a b d>; @a.splice(1, 0, 'c'); say @a.perl | ||
camelia | ["a", "c", "b", "d"] | ||
moritz | m: my @a = <a b d>; @a.splice(2, 0, 'c'); say @a.perl | ||
camelia | ["a", "b", "c", "d"] | ||
moritz | chakli: ^^ | ||
docs.perl6.org/routine/splice | 20:38 | ||
chakli | oh god, kept searching inset in the docs could not find anything | ||
Thanks | 20:39 | ||
20:40
undersightable6 left
20:42
undersightable6 joined
|
|||
squashable6 | 🍕 AlexDaniel++ edited issue “non-perl5 regexes and greppable”: github.com/perl6/whateverable/issues/150 | 20:43 | |
🍕 AlexDaniel++ edited issue “non-perl5 regexes and greppable”: github.com/perl6/whateverable/issues/150 | 20:44 | ||
🍕 AlexDaniel++ wrote a comment on “Greppable and short output”: github.com/perl6/whateverable/issu...-394115873 | |||
🍕 AlexDaniel++ labeled issue “Greppable and short output”: github.com/perl6/whateverable/issues/151 | |||
20:45
zakharyas joined
|
|||
AlexDaniel | m: say %ENV.comb.pick().join | 20:46 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Variable '%ENV' is not declared at <tmp>:1 ------> 3say 7⏏5%ENV.comb.pick().join |
||
AlexDaniel | m: say %*ENV.comb.pick().join | ||
camelia | s | ||
AlexDaniel | e: say %*ENV.comb.pick().join | ||
evalable6 | 2 | ||
AlexDaniel | e: say %*ENV.comb.pick().join | ||
evalable6 | d | ||
AlexDaniel | what's 2? | ||
ah… | |||
m: say %*ENV<ME> | |||
camelia | AlexDaniel | ||
AlexDaniel | e: say %*ENV<ME> | 20:47 | |
evalable6 | (Any) | ||
20:47
espadrine joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Set ME env variable”: github.com/perl6/whateverable/issu...-394116048 | 20:47 | |
20:47
Jonta joined
|
|||
moritz | e: say %*ENV.comb(/.**{0,5}2.**{0,5}/) | 20:47 | |
evalable6 | moritz, No! It wasn't me! It was the one-armed man! Backtrace: gist.github.com/3c42d154b4d1679328...a7110bcc63 | ||
AlexDaniel | wtf xD | ||
e: say %*ENV.comb(/.**{0,5}2.**{0,5}/) | 20:48 | ||
moritz: I have no way to explain this :D | 20:49 | ||
20:51
evalable6 left,
evalable6 joined,
ChanServ sets mode: +v evalable6
|
|||
moritz | e: say %*ENV.comb(/.**{0,5}2.**{0,5}/)[0] | 20:52 | |
evalable6 | 342a2 | ||
moritz | looks like a commit hash | ||
e: say %*ENV.comb(/.**{0,15}2.**{0,15}/)[0] | |||
evalable6 | 342a2 | ||
AlexDaniel | e: say %*ENV | 20:53 | |
evalable6 | {HOME => /home/bisectable, INVOCATION_ID => ebaa84b146d342a28a64f5f68f28178c, JOURNAL_STRE… | ||
AlexDaniel, Full output: gist.github.com/3ccc957ae77fdd0f08...d2ed62cd32 | |||
squashable6 | 🍕 AlexDaniel++ wrote a comment on ““Could not find Bench””: github.com/perl6/whateverable/issu...-394116427 | 20:54 | |
20:55
rindolf left,
Kaiepi left
|
|||
AlexDaniel | moritz: my crazy theory about `zst is not installed` is that the server was out of memory (MasterDuke++ for testing things!) when it got to that line: github.com/perl6/whateverable/blob...e.pm6#L415 | 20:57 | |
20:57
Kaiepi joined
|
|||
AlexDaniel | so it somehow failed | 20:57 | |
zstd* | |||
squashable6 | 🍕 MasterDuke17++ wrote a comment on ““Could not find Bench””: github.com/perl6/whateverable/issu...-394116782 | 21:00 | |
🍕 AlexDaniel++ wrote a comment on “Unicodable shouldn't rep…”: github.com/perl6/whateverable/issu...-394116785 | |||
moritz | AlexDaniel: sounds somewhat sensible | 21:06 | |
Geth | whateverable: bbe2ff4544 | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/unicodable.t Test preview when describing characters Resolves #272. |
21:09 | |
squashable6 | 🍕 AlexDaniel++ closed issue “Unicodable shouldn't rep…”: github.com/perl6/whateverable/issues/272 | ||
🍕 AlexDaniel++ labeled issue “The watchdog should work based on ping events”: github.com/perl6/whateverable/issues/276 | |||
🍕 AlexDaniel++ wrote a comment on “Add support for RT”: github.com/perl6/whateverable/issu...-394117494 | 21:13 | ||
🍕 AlexDaniel++ closed issue “Add support for RT”: github.com/perl6/whateverable/issues/226 | |||
🍕 AlexDaniel++ wrote a comment on ““Could not find Bench””: github.com/perl6/whateverable/issu...-394117571 | 21:14 | ||
🍕 AlexDaniel++ closed issue ““couldn't find Bench””: github.com/perl6/whateverable/issues/219 | |||
🍕 AlexDaniel++ wrote a comment on “Stop talking to NickServ”: github.com/perl6/whateverable/issu...-394117703 | 21:16 | ||
🍕 AlexDaniel++ closed issue “Stop talking to NickServ”: github.com/perl6/whateverable/issues/213 | |||
🍕 AlexDaniel++ wrote a comment on “Two department issues”: github.com/perl6/whateverable/issu...-394118055 | 21:22 | ||
🍕 AlexDaniel++ edited issue “Tests to ensure that we …”: github.com/perl6/whateverable/issues/223 | |||
21:22
kaare_ left
|
|||
squashable6 | 🍕 AlexDaniel++ unlabeled issue “Signal names are displayed incorrectly”: github.com/perl6/whateverable/issues/220 | 21:23 | |
🍕 AlexDaniel++ wrote a comment on “Signal names are displayed incorrectly”: github.com/perl6/whateverable/issu...-394118136 | |||
🍕 AlexDaniel++ labeled issue “Signal names are displayed incorrectly”: github.com/perl6/whateverable/issues/220 | |||
🍕 AlexDaniel++ edited issue “Stress testing for get-output sub”: github.com/perl6/whateverable/issues/172 | 21:25 | ||
🍕 AlexDaniel++ edited issue “Benchable and used modules”: github.com/perl6/whateverable/issues/154 | 21:26 | ||
🍕 AlexDaniel++ edited issue “Benchable and used modules”: github.com/perl6/whateverable/issues/154 | 21:27 | ||
AlexDaniel | well, that's fun :) | ||
but I have to get some sleep now, and tomorrow I'm away for a trip | |||
o/ 🍕 | 21:28 | ||
El_Che | AlexDaniel: wow | ||
active-active :) | |||
lots of pizza for ypu | |||
have fun tomorrow! | |||
AlexDaniel | El_Che: speaking of fun, this is probably one of the coolest contributions from today: | 21:29 | |
e: gist.github.com/AlexDaniel/c30fb59...80df597449 | |||
evalable6 | AlexDaniel, Using file “heh” as a main file, other files are placed in “sandbox/” | ||
foo bar baz |
|||
AlexDaniel | but maybe you've seen it already :) | ||
camelia: gist.github.com/AlexDaniel/c30fb59...80df597449 | 21:30 | ||
m: gist.github.com/AlexDaniel/c30fb59...80df597449 | |||
camelia | Failed to open file /home/camelia/sandbox/data: No such file or directory in block <unit> at <tmp> line 1 |
||
AlexDaniel | interesting, which file did it choose and why? | ||
El_Che | :) | ||
21:31
maia joined
|
|||
AlexDaniel | I mean, I totally see which file was executed, but why? :) | 21:31 | |
ah: github.com/perl6/evalbot/blob/a9ed...ter.pm#L91 | 21:32 | ||
pure luck then :) | |||
AlexDaniel & | |||
21:33
koto left
21:55
entonian joined,
Kaypie joined
21:56
Kaiepi left
22:00
entonian left,
lizmat joined
22:02
Kaypie left
22:08
maia left
22:10
zakharyas left
22:13
Kaiepi joined
22:17
[Sno] left
22:25
Kaiepi left
22:34
silug joined
22:40
|oLa|2 left,
|oLa| joined
22:41
Kaiepi joined
22:45
|oLa| left
22:51
kkrev joined
22:54
|oLa| joined
22:55
Kaiepi left
22:56
Kaiepi joined
|
|||
kkrev | not sure where this goes: nopaste.linux-dev.org/?1181606 | 22:58 | |
23:09
wamba left
23:12
psychoslave left
|
|||
MasterDuke | kkrev: seems like it might be because of/related to github.com/rakudo/rakudo/pull/1820 | 23:13 | |
23:13
psychoslave joined
|
|||
kkrev | MasterDuke: I just wanted to play around. Figured I'd mention it here if anyone wants to let the right people know something's broken. This is standard Fedora. | 23:16 | |
23:18
psychoslave left
|
|||
MasterDuke | kkrev: how did you get your perl6? | 23:19 | |
kkrev | MasterDuke: rakudobrew | ||
MasterDuke | kkrev: rakudobrew is mostly discouraged now, unless you really have a need to switch between multiple versions of rakudo | 23:20 | |
El_Che | kkrev: rakudobrew is a bad match for regular users. Use rakudo-pkg (github.com/nxadm/rakudo-pkg) or rakudo star | 23:21 | |
(rakudo pkg has fedora repos) | |||
(rakudo star compiles a released version locally) | |||
kkrev | OK thanks. I think you have five years of web inertia to fight on rakudobrew. I will try rakudo-pkg now. | 23:22 | |
El_Che | kkrev: I launched rakudo-pkg because people where complaining about rakudobrew-for-regular-users on this channel :) | 23:23 | |
rouking | exit | 23:31 | |
23:31
rouking left
23:33
Kaiepi left
23:34
HaraldJoerg left
23:35
mscha joined
|
|||
mscha | m: my $sh = SetHash.new; $sh{1} = True; $sh{2} //= True; say $sh; # huh? | 23:35 | |
camelia | SetHash(1) | ||
mscha | m: my $sh = SetHash.new; $sh{1} = True; $sh{2} //= True; $sh{3} ||= True; say $sh; # huh? | 23:36 | |
camelia | SetHash(1 3) | ||
kkrev | switched to rakudo-pkg. Another FYI I guess: nopaste.linux-dev.org/?1181607 | ||
jnthn | m: my $sh = SetHash.new; dd $sh{2} | ||
yoleaux | 15:32Z <nine> jnthn: So if I'd want to use the multi dispatch machinery to pick between a multi candidate that takes named args and one that doesn't, my best chance is to give the proto a different find_best_dispatchee method. Right? | ||
camelia | Bool::False | ||
yoleaux | 16:54Z <nine> jnthn: unless you tell me that this is a really bad idea, I'm going to merge it somewhat soon into Inline::Perl5's master: github.com/niner/Inline-Perl5/comm...49b82405a8 | ||
mscha | Never mind. $sh{2} = False is defined | 23:37 | |
jnthn | mscha: SetHash entries produce False by default | ||
Right :) | |||
kkrev | I definitely have libffi installed. | ||
MasterDuke | jnthn: while you're thinking about SetHashes, any thoughts on github.com/rakudo/rakudo/pull/1847 ? | 23:38 | |
kkrev: ignoring the libffi part (and this is definitely going outside things i know about for sure), but i think linenoise is known to be problematic and readline is recommended if possible | 23:40 | ||
23:41
chakli left,
chakli joined
|
|||
kkrev | MasterDuke: nopaste.linux-dev.org/?1181608 | 23:43 | |
readline-devel is installed | |||
El_Che | kkrev: yes, I forked until DrForr has time to fix it | ||
github.com/nxadm/perl6-readline | 23:44 | ||
jnthn | .tell nine Well, it comes with the same caveats of using any nqp:: ops outside of core, which is that while they're often de facto stable, there's no promises made about them. There's a non-zero chance that the current multi cache mechanism will eventually be subsumed by my work on spesh plugins. | ||
yoleaux | jnthn: I'll pass your message to nine. | ||
El_Che | kkrev: zef install github.com/nxadm/perl6-readline.git | ||
1 line patch | |||
I opened a ticket for the linenoise and readline perl modules that are broken on some distros | 23:45 | ||
kkrev | OK, thanks, your readline works fine. | 23:46 | |
23:46
mscha left
|
|||
El_Che | yeah, the fix works on modern distros with readline 7 | 23:47 | |
but not on distros with older readlines, hence no PR | |||
it has to do with a wider versioning challenge about versioning of libs and nativecall | 23:48 | ||
jnthn | .tell nine So, effectively, you can commit it, but those ops might at some point go away, so there'd be some updating to do at that point. So long as you're good with that, I'm also ok. | 23:49 | |
yoleaux | jnthn: I'll pass your message to nine. | ||
El_Che | and since jnthn is taking requests this evening ---^ | ||
:) | |||
jnthn | MasterDuke: Hm, does that introduce a potentially awkward discontinuity between assigning one set and two sets into a SetHash, where in the first case it flattens away, and in second not? | 23:55 | |
m: say Set ~~ Iterable | |||
camelia | False | ||
jnthn | We generally consider sets as items | ||
El_Che: I'm pretty sure we've people in the community who know better than me on handling native library versioning issues and such. :) | 23:57 | ||
El_Che: I already designed one bit of module/versioning infrastructure and haven't heard the end of "oh no sha1s!!!" ever since. :P | |||
MasterDuke | jnthn: ah. think the problem should be solved at the meta-op level? | ||
jnthn | MasterDuke: Potentially, yes | 23:58 | |
El_Che | jnthn: lol | ||
jnthn: full disclosure, I am a sha1 winer :) | |||
jnthn | MasterDuke: I'm pretty sure I agree with the result you're aiming at on assignment meta-ops with SetHash and friends. | 23:59 | |
MasterDuke: I'm just worried about the STORE(Set) way of achieving it, and that probably does mean it wants a META_OP_ASSIGN candidate dedicated to it |