»ö« 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. |
|||
Kaiepi | releasable6, status | 00:06 | |
releasable6 | Kaiepi, Next release in ≈12 days and ≈18 hours. 1 blocker. 140 out of 576 commits logged (⚠ 2 warnings) | ||
Kaiepi, Details: gist.github.com/c2ec86ca9abab0491b...2bff7c41e4 | |||
00:08
adu joined
00:13
farcas82 left
01:13
evalable6 left
01:16
evalable6 joined,
ChanServ sets mode: +v evalable6
01:26
aborazmeh left
01:47
ijneb left
01:50
ijneb joined,
ijneb left
02:01
Manifest0 left
02:02
Manifest0 joined
02:21
khisanth_ left
02:35
khisanth_ joined
03:06
Cabanossi left
03:10
araraloren joined
03:14
araraloren left
03:15
Cabanossi joined
03:36
Kaiepi left
03:38
Kaiepi joined
03:42
Kaiepi left,
Kaiepi joined
03:47
Kaiepi left
03:51
Kaiepi joined
04:06
vrurg left
04:12
cpan-p6 left
04:47
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
04:59
kurahaupo_ joined
05:00
kurahaupo left
05:24
epony left
05:28
sauvin joined
05:43
adu left
06:43
notable6 left,
nativecallable6 left,
coverable6 left,
evalable6 left,
benchable6 left,
undersightable6 left,
unicodable6 left,
quotable6 left,
reportable6 left,
releasable6 left,
squashable6 left,
greppable6 left,
bisectable6 left,
bloatable6 left,
statisfiable6 left,
committable6 left,
shareable6 left
06:44
releasable6 joined,
nativecallable6 joined,
quotable6 joined,
statisfiable6 joined
06:45
shareable6 joined,
greppable6 joined,
ChanServ sets mode: +v greppable6,
coverable6 joined,
squashable6 joined,
ChanServ sets mode: +v squashable6
06:46
undersightable6 joined,
reportable6 joined,
bloatable6 joined,
ChanServ sets mode: +v bloatable6
06:47
committable6 joined,
notable6 joined,
unicodable6 joined,
ChanServ sets mode: +v unicodable6,
benchable6 joined,
evalable6 joined,
ChanServ sets mode: +v evalable6
06:48
bisectable6 joined
07:19
Guest89556 left,
robertle joined
07:20
success joined,
success is now known as Guest96264
07:22
Xliff joined
|
|||
Xliff | m: say (1, 2, 3) eqv (4, 5, 6) | 07:22 | |
camelia | False | ||
Xliff | m: say (1, 2, 3) eqv (1, 2, 3) | ||
camelia | True | ||
07:31
nadim_ joined
07:39
domidumont joined
07:43
ravenousmoose joined
07:56
SCHAPiE left
07:57
SCHAPiE joined
08:06
mniip left
08:08
mniip joined
08:28
rindolf joined
|
|||
cpan-p6 | New module released to CPAN! Gnome::Gtk3 (0.14.0) by 03MARTIMM | 08:37 | |
New module released to CPAN! Gnome::Gdk3 (0.14.0) by 03MARTIMM | |||
08:53
dyske joined
08:58
ravenousmoose left
08:59
sena_kun joined,
farcas82 joined
09:03
ravenousmoose joined
|
|||
Geth | doc: 69ea20eca8 | (JJ Merelo)++ | doc/Type/Backtrace.pod6 Rephrasing and reflow |
09:05 | |
synopsebot | Link: doc.perl6.org/type/Backtrace | ||
Geth | doc: e24ef2bc45 | (JJ Merelo)++ | 2 files Fixes #1773 and adds clarification |
09:20 | |
lizmat | weekly: medium.com/@jcoterhals/perl-6-smal...3a69faabda | 09:24 | |
notable6 | lizmat, Noted! | ||
Geth | doc: c076657900 | (JJ Merelo)++ | doc/Type/Exception.pod6 Adds clarification fixes #1770 |
09:31 | |
synopsebot | Link: doc.perl6.org/type/Exception | ||
09:45
jmerelo joined
|
|||
jmerelo | Notable: weekly twitter.com/jjmerelo/status/1137294388571398144 | 09:45 | |
releasable: status | 09:46 | ||
releasable6 | jmerelo, Next release in ≈12 days and ≈9 hours. 1 blocker. 140 out of 576 commits logged (⚠ 2 warnings) | ||
jmerelo, Details: gist.github.com/0eb1401f653df77cdc...df640793ae | |||
jmerelo | Notable: weekly twitter.com/jjmerelo/status/1137294388571398144 | ||
notable6: weekly twitter.com/jjmerelo/status/1137294388571398144 | |||
notable6 | jmerelo, Noted! | ||
jmerelo | I don't know who's around, but for the past week no one else has worked on the documentation repo. And not a whole lot of people in the last month. | 09:47 | |
Documentation is essential for newcomers to the language and seasoned programmers alike. We need to keep it current, fresh and accurate. | |||
Camelia would really be grateful if you devoted even a minute amount of your time, 30 minutes a week, to address and help solve an issue | 09:48 | ||
I would be kinda grateful too. | |||
09:50
ravenousmoose left
|
|||
Altreus | hmm looks like you can't put a newline inside the {} of .. is referencing{ ... } | 09:55 | |
but also I learned you can \ escape newlines in perl6 | |||
09:57
jmerelo left
|
|||
Kaiepi | .tell jmerelo, since i made a bunch of issues on undocumented supply and lock::async methods i could look into what they actually do and see if i can write up some docs for them | 09:58 | |
yoleaux | Kaiepi: What kind of a name is "jmerelo,"?! | ||
Kaiepi | .tell jmerelo since i made a bunch of issues on undocumented supply and lock::async methods i could look into what they actually do and see if i can write up some docs for them | ||
yoleaux | Kaiepi: I'll pass your message to jmerelo. | ||
10:00
natrys joined
10:01
ravenousmoose joined
|
|||
El_Che | releasable6: status | 10:03 | |
releasable6 | El_Che, Next release in ≈12 days and ≈8 hours. 1 blocker. 140 out of 576 commits logged (⚠ 2 warnings) | ||
El_Che, Details: gist.github.com/cc82cb17652aa8f1bd...134e31165b | |||
10:17
antoniogamiz joined
|
|||
antoniogamiz | mmm zef has given me this error while installing Perl6::TypeGraph | 10:40 | |
Invocant of method 'match' must be a type object of type 'Any', not an object instance of type 'Pair'. Did you forget a 'multi'? | |||
do you think it's a problem with the module or with zef? | |||
sena_kun | with the module | 10:41 | |
antoniogamiz | oh right I've just seen build is failing :( | ||
sena_kun | you call somewhere `match` on Pair, which won't work | 10:42 | |
antoniogamiz | yep but I think the problem is Perl6::Load module | 10:45 | |
If I use extract-pod it does not happen, I will talk to jmerelo to see what's happening | |||
ty sena_kun :) | 10:46 | ||
sena_kun | hmmm... | ||
antoniogamiz, `zef test .` in this repo gives me Testing [OK]. | |||
travis is happy too | |||
antoniogamiz | yep, that's the weird thing | 10:47 | |
sena_kun | travis-ci.org/antoniogamiz/Perl6-TypeGraph | ||
antoniogamiz | but this errror appears if I use pod::load | ||
travis-ci.org/antoniogamiz/Perl6-D.../543102809 | |||
now I have changed to extract-pod again | |||
I'm not using pod::load in Typegraph | 10:48 | ||
agh I sent another link sorry | |||
uoh, ok, I have messed up a little. Sorry for the confusion | 10:49 | ||
sena_kun | no problem | 10:50 | |
antoniogamiz | problem is Perl6::Typegraph passes all tests but zef gives an error | ||
sena_kun | antoniogamiz, what "zef"? `zef install`? | 10:51 | |
antoniogamiz | yep | ||
sena_kun | antoniogamiz, with your changes on what is on master right now? | ||
s/changes/local changes/ | |||
antoniogamiz | master | 10:52 | |
sena_kun | ooh, I see it | ||
ran it with `perl6 --ll-exception /home/koto/.perl6/bin/zef install .` and seeing a full exception trace | 10:54 | ||
`in code at /home/koto/.perl6/sources/41DA11BE079F2990A0E18D318378B5EBD357C8EF (Zef::Client) line 514` | |||
it seems to try to report `"Filtering [FAIL] for {$candi.dist.?identity // $candi.as}: {$*error}"` but can't | 10:56 | ||
10:57
mowcat joined,
mowcat left
|
|||
sena_kun | why am I even looking into it instead of Cro::WebSocket bug... Ah, right, I can't fix it. :/ | 10:58 | |
10:58
mowcat joined
|
|||
antoniogamiz | mmm uoh | 10:58 | |
:/ | |||
good luck with that bug :D | 10:59 | ||
sena_kun | hmm, UNDO block just gives a warning, but the actual error is somewhere else... | 11:05 | |
aaaaah | 11:07 | ||
antoniogamiz, I see the issue | |||
github.com/antoniogamiz/Perl6-Type...on#L18-L22 <- this is either incorrect or not yet implemented format. it has to be just "resources": ["data/type-graph.txt"] | 11:08 | ||
let's see if I can get us a better error message... | 11:09 | ||
`data => [type-graph.txt]` this is a Pair... | 11:11 | ||
m: say from-json('{"data": ["a"]}') | |||
camelia | {data => [a]} Saw 1 occurrence of deprecated code. ================================================================================ Sub from-json (from GLOBAL) seen at: <tmp>, line 1 Please use JSON::Fast, JSON::Tiny or JSON::Pretty from h… |
||
sena_kun | m: use JSON::Fast; say from-json('{"data": ["a"]}') | ||
camelia | ===SORRY!=== Could not find JSON::Fast at line 1 in: inst#/home/camelia/.perl6 inst#/home/camelia/rakudo-m-inst-1/share/perl6/site inst#/home/camelia/rakudo-m-inst-1/share/perl6/vendor inst#/home/camelia/rakudo-m-inst-1/share… |
||
sena_kun | sigh | ||
well, never mind | |||
>A list of file names, each of them corresponding to a file in the "resources" directory in the distribution | 11:14 | ||
antoniogamiz | :oooo | ||
I'm going to change it | 11:15 | ||
11:17
veesh left
|
|||
antoniogamiz | meta test doesnt give an error mm | 11:17 | |
sena_kun | antoniogamiz, that's a miss of meta test. ;) pull requests are welcome, I think | 11:18 | |
I wrote a patch for zef | |||
to print `Every item in 'resources' Hash of META6.json must be a string, got $type instead` instead of this cryptic error | |||
preparing it... | |||
11:19
veesh joined
|
|||
antoniogamiz | :D | 11:19 | |
sena_kun | antoniogamiz, github.com/ugexe/zef/pull/305 <- here is the PR | 11:27 | |
using stacktrace from using --ll-exception flag, I obtained this file/line, saw it is related to processing 'resources' field, checked your META6.json, saw it isn't a list of strings. then an `unless` and `die` improved the issue. | 11:30 | ||
tested it out with `perl6 -I../zef/lib ../zef/bin/zef install .` when playing with zef sources in sibling directory | 11:32 | ||
hope that helps | |||
so it was an error in the META6.json... but zef's error message was LTA too. :) | 11:33 | ||
antoniogamiz | thanks a lot sena_kun :) | 11:34 | |
are you altai_man too? | |||
sena_kun | yup | ||
antoniogamiz | ah :D | ||
ups now it gives a different error :( | 11:35 | ||
sena_kun | there is certain confusion because I tend to use different nicknames on different services. :/ | ||
antoniogamiz, a log? | |||
antoniogamiz | gist.github.com/antoniogamiz/1bd0c...2ce3439050 | ||
ah permission denied.. | 11:36 | ||
sena_kun | antoniogamiz, and it is not related to `Perl6::TypeGraph`, I suspect. I was able to install typegraph distribution just fine after 'resources' field fix. | ||
antoniogamiz | yep it's my fault sorry, I had to execute it with sudo | 11:37 | |
everythings working now! ty sena! | 11:40 | ||
sena_kun | you are welcome | 11:41 | |
antoniogamiz | o/ | 11:43 | |
11:43
antoniogamiz left
12:04
dyske left,
dyske joined
12:24
dyske left
12:34
dyske joined
|
|||
SmokeMachine | Altreus: what’s the error? | 12:39 | |
12:44
nadim_ left
12:47
nadim_ joined
|
|||
Geth | doc/note-start-special-vars: 8aac66a826 | Altai-man++ | doc/Language/control.pod6 Add a little explanation |
12:54 | |
doc/master: 4 commits pushed by Altai-man++ | |||
12:54
ravenous_ joined
12:57
ravenousmoose left
13:10
veesh left
13:11
veesh joined
13:16
dyske left,
dyske joined
13:28
lucasb joined
|
|||
cpan-p6 | New module released to CPAN! Getopt::Long (0.1.2) by 03LEONT | 13:42 | |
Geth | doc/note-prove6: 050108c0c0 | Altai-man++ | doc/Language/testing.pod6 Suggest prove6 over prove |
13:46 | |
doc: Altai-man++ created pull request #2841: Suggest prove6 over prove |
13:48 | ||
13:54
ravenous_ left
13:55
nadim_ left
13:56
veesh left
13:58
veesh joined
14:01
leont joined
14:03
rindolf left
14:04
ravenousmoose joined,
domidumont left
|
|||
Geth | doc: 050108c0c0 | Altai-man++ | doc/Language/testing.pod6 Suggest prove6 over prove |
14:11 | |
doc: b394e9da34 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/testing.pod6 Merge pull request #2841 from perl6/note-prove6 Suggest prove6 over prove Thanks a lot! |
|||
synopsebot | Link: doc.perl6.org/language/testing | ||
Altreus | SmokeMachine: woops, right, so it turns out I have to \ escape the newline in the «is referencing» block | 14:12 | |
leont | Altai-man++ | ||
Altreus | I dunno whether that's a Perl6 thing or a Red thing but in either case it seems astonishing and not the sort of thing the programmer should have to think about :S | 14:13 | |
SmokeMachine: now I've fixed that, it says No such symbol 'Reward', from Claim.^create-table | 14:17 | ||
14:26
veesh left
14:29
veesh joined
14:43
rindolf joined
14:46
kurahaupo_ left,
kurahaupo joined
14:51
aindilis` left
14:52
vrurg joined
14:58
kurahaupo left,
kurahaupo joined
15:04
natrys left
|
|||
timotimo | m: say "foo bar baz".samemark("ÄÄ") | 15:37 | |
camelia | f̈öö ̈b̈är̈ ̈b̈äz̈ | ||
15:55
ravenousmoose left
|
|||
b2gills | m: say "foo bar baz".samemark("AAAÄ") | 16:02 | |
camelia | foo ̈b̈är̈ ̈b̈äz̈ | ||
16:05
mowcat left
16:09
domidumont joined
16:27
veesh left
16:30
veesh joined,
arkaitz joined
16:33
guifa left,
dyske left
16:35
natrys joined
16:40
dyske joined,
ravenousmoose joined
16:44
Cabanossi left
16:47
Cabanossi joined
16:53
veesh left
16:55
veesh joined
17:02
arkaitz left
17:07
veesh left,
veesh_ joined
17:08
veesh_ is now known as veesh
17:09
mtg joined
17:18
lucasb left
17:42
ravenousmoose left
18:05
ravenousmoose joined
18:16
mtg left
18:17
mtg joined
|
|||
Xliff | m: say (40...80).pick xx 2 | 18:17 | |
camelia | (76 46) | ||
Kaiepi | m: say 1 xx Inf | 18:25 | |
camelia | (...) | ||
Kaiepi | m: say 1 x Inf | 18:26 | |
camelia | Cat object not yet implemented. Sorry. in block <unit> at <tmp> line 1 |
||
Kaiepi | ? | ||
i expected an error but not that | |||
lizmat | Kaiepi: the Cat class has been specced as a laziily growing string | 18:30 | |
1 x Inf would be a lazily growing string of just "1"'s | |||
18:30
dyske left
|
|||
Kaiepi | ahh ok | 18:31 | |
18:31
dyske joined,
dyske left
|
|||
Kaiepi | you could say cat objects are unrolled balls of yarn | 18:31 | |
18:31
dyske joined
|
|||
Kaiepi | they are long strings after all | 18:31 | |
lizmat | indeed :-) | 18:32 | |
18:34
MilkmanDan left,
MilkmanDan joined
|
|||
Xliff | .seen tony-o | 18:39 | |
yoleaux | I saw tony-o 22 Apr 2019 17:49Z in #perl6-dev: <tony-o> lol | ||
Kaiepi | .seen zoffix | 18:41 | |
yoleaux | I saw Zoffix 6 Jan 2019 17:41Z in #perl6: <Zoffix> moritz: the project's direction and management style doesn't match my goals and I'll be happier elsewhere. | ||
Kaiepi | damn it's already been 6 months | ||
18:54
domidumont left
18:58
nadim_ joined
|
|||
tobs | I want to parse expressions (mostly polynomials, but extensibility would be nice). The operator precedence parser part of nqp's HLL::Grammar looks really neat. Is that available in a stable form (as I hear you shouldn't use nqp in Perl 6 code)? | 19:03 | |
moritz | not really | 19:04 | |
though if you create one and put it on modules.perl6.org, people will use it | 19:06 | ||
tobs | sounds like something worth doing, indeed | 19:07 | |
The Rakudo and NQP internals course calls it only "mildly" terrifying. I'll have a look :-) | |||
moritz | well, you probably don't need all the jazz that p6 needs | 19:09 | |
like chaining ops *and* postcircumfixes *and* whatever | |||
19:10
cpan-p6 left
19:12
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
19:43
MilkmanDan left
19:44
MilkmanDan joined
20:21
mtg left
20:25
uzl joined
|
|||
uzl | m: sub hello { 'hello'.put }; my $var = hello(); put $var; | 20:26 | |
camelia | hello True |
||
uzl | Would it be possible to capture a sub's output to STDOUT in a variable? | ||
Kaiepi | i think? gimme a sec | 20:27 | |
timotimo | IO::Capture::Tiny? :) | ||
Kaiepi | m: sub get-out(--> Str) { $*OUT.seek: 0; $*OUT.print: 'ayy lmao'; my Str $ret = $*OUT.slurp; $*OUT.seek: $ret.elems; $ret }; say get-out | 20:29 | |
camelia | a y lmao |
||
Kaiepi | i'm probably using seek wrong but that's the gist of it | ||
timotimo | wow, why does that work | 20:31 | |
uzl | timotimo: I was hoping that I could without a module but will give it a try though ;-) | 20:32 | |
mst | this is a perl. it's modules all the way down | ||
uzl | Kaiepi: I'll have to unpack and go back to the docs ;-) | ||
mst: I know ... but I must install it ... | 20:34 | ||
mst | clearly you need to copy p3rl.org/CloudPAN | 20:35 | |
uzl | Kaiepi: Your snippet isn't working on my machine. I'm getting: It is not possible to seek this kind of handle | 20:36 | |
timotimo | well, you can't use it if your stdout is just connected to the tty | 20:38 | |
or pty i guess | |||
lizmat | weekly: twitter.com/Mrofnet/status/1137424708591390721 | ||
notable6 | lizmat, Noted! | ||
Kaiepi | how about this | 20:39 | |
m: sub foo { $*OUT.lock; $*OUT.print: 'ayy lmao'; my Str $ret = $*OUT.slurp; $*OUT.unlock; $ret; }; say foo | |||
camelia | ayy lmao | ||
Kaiepi | oh sweet i'm in the weekly! | ||
timotimo | greppable6: "use JSON::Fast" | 20:40 | |
greppable6 | timotimo, Found nothing! | ||
timotimo | phew, that's a relief | 20:41 | |
greppable6: use JSON::Fast | |||
AlexDaniel` | without quotes maybe | ||
yoleaux | 14 May 2019 13:52Z <vrurg> AlexDaniel`: VERSION is in tools/templates; the submodule isn't in Perl Foundation because I had no access to it. I wish to see it under perl6. | ||
greppable6 | timotimo, 238 lines, 106 modules: gist.github.com/8afed318d51317404d...827603ed68 | ||
AlexDaniel` | it's a p5 regex | ||
is it? now you have to maintain it | |||
uzl | Kaiepi: That seems to work but but the terminal stays as if waiting for input. I needed to press ctrl+c. | 20:43 | |
20:43
ravenousmoose left
|
|||
uzl | I'll go with timo's suggestion. | 20:44 | |
20:50
mtg joined
20:52
uzl left
|
|||
lizmat | m: my @o; class O { method print(*@t) { @o.append(@t) } }; { my $*OUT = O.new; print "foo","bar"; }; dd @o # $*OUT can be easily replaced | 21:05 | |
camelia | Array @o = ["foobar"] | ||
timotimo | but then no methods on $*OUT will work, like .nl-out or .t or something | 21:08 | |
21:09
sena_kun left
|
|||
Kaiepi | did you know that instead of try/catch you can completely solve programming errors using $*ERR.lock? | 21:13 | |
21:13
natrys left
21:16
adu joined
|
|||
lizmat | m: $*ERR.lock; die | 21:16 | |
camelia | Died in block <unit> at <tmp> line 1 |
||
lizmat | ?? | ||
21:18
dotdotdot left
21:19
dotdotdot joined
|
|||
ugexe | but i only do lock-free programing | 21:19 | |
21:19
mtg left
|
|||
timotimo | free(lock) | 21:21 | |
21:21
nadim_ left
21:25
farcas82 left
21:30
|oLa| joined
|
|||
Kaiepi | m: $*ERR.lock; $*ERR.close; die 'wonder what happens when you do this' | 21:30 | |
camelia | ( no output ) | ||
Kaiepi | m: $*IN.close; prompt | ||
camelia | Cannot do 'get' on a handle in binary mode in block <unit> at <tmp> line 1 |
||
21:34
nadim_ joined
21:36
|oLa| left
21:40
nadim_ left
21:46
nadim_ joined
22:01
nadim_ left
22:03
nadim_ joined
22:13
nadim_ left
22:14
nadim_ joined
22:25
Kaiepi left
22:30
Kaiepi joined
22:35
|oLa| joined
23:03
nadim_ left
23:05
|oLa| left
23:50
rindolf left
23:55
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|