»ö« 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 moritz on 22 December 2015.
lookatme morning 00:22
colomon p6: say “5134”.substr(0, */2) 01:29
camelia This type cannot unbox to a native integer: P6opaque, Rat
in block <unit> at <tmp> line 1
colomon p6: say “5134”.substr(0, * div 2)
camelia 51
colomon documentation ( docs.perl6.org/routine/substr ) seems off, plus requiring an Int instead of a Rat seems needlessly picky 01:34
MasterDuke colomon: have you created an issue for that? 01:45
colomon nope
colomon was trying to get actual work done in p6 :) 01:45
doc issue is obvious… dunno if allowing Rats makes sense or not 01:46
is github.com/perl6/doc/issues the right place to report doc issues? 01:47
MasterDuke fwiw, i just tried adding a .Int to where it blows up and that makes it work
yeah
i'll create a rakudo issue for discussion 01:48
colomon thanks 01:48
Zoffix colomon: on it 01:51
MasterDuke Zoffix: the docs? or rakudo? 01:52
Zoffix Both
MasterDuke ok, still want me to create an issue? 01:53
colomon Dang it, are you going to get the fixes in before I finish submitting the issue? :)
colomon Zoffix: github.com/perl6/doc/issues/1911 01:57
Zoffix++
colomon MasterDuke++ 01:58
MasterDuke colomon, Zoffix: github.com/rakudo/rakudo/issues/1717 02:03
Zoffix Thanks. 02:05
colomon p6: my $s = “5134”.chars; say “5134”.substr(0, $s/2)
camelia 51
colomon So I figure the same thing done with Callable definitely should work 02:06
Zoffix (it's gonna take me ~30-60m, 'cause Range also has this problem and substr-rw and substr-eq don't take the same args yet they should)
colomon no worries from me! thanks for taking the time to do it properly. 02:07
Zoffix m: say “5134”.substr: 0, *.&[/](2).Int
camelia 51
Zoffix m: say “5134”.substr: 0, {Int($_/2)}
camelia 51
Geth doc: 87e6a7b084 | (Zoffix Znet)++ | 2 files
Fix up `substr` docs

Fixes github.com/perl6/doc/issues/1911 D#1911
  - Don't have divergent docs in Cool; just say Cool candidate coerces
  - Simplify listed signatures
  - Document the coercive behaviour and Callable variants
Rakudo fix: github.com/rakudo/rakudo/commit/f0c85125f8 Prop-spec: github.com/perl6/roast/commit/399ca73435
02:57
synopsebot D#1911 [closed]: github.com/perl6/doc/issues/1911 substr documentation lacking
colomon Zoffix++ 02:59
Zoffix Gonna go sleep now; filed substr-eq/substr-rw inconsistency as R#1720 and will look at later, unless someone beats me to it 03:00
synopsebot R#1720 [open]: github.com/rakudo/rakudo/issues/1720 [consistency] Inconsistent interface among .substr/.substr-eq/.substr-rw
Geth doc: 94cf5bb28a | (Zoffix Znet)++ | doc/Type/Str.pod6
Document substr(Range) coerces endpoints to Int
03:03
synopsebot Link: doc.perl6.org/type/Str
Geth doc: fdf84def60 | (Zoffix Znet)++ | doc/Type/Str.pod6
Document substr's edge-case behaviour

  - Throwage if starting index is negative
  - Behaviour if $chars/$from-to's ending index are larger than string
03:07
travis-ci Doc build failed. Zoffix Znet 'Document substr(Range) coerces endpoints to Int' 03:19
travis-ci.org/perl6/doc/builds/363942619 github.com/perl6/doc/compare/87e6a...cf5bb28a8d
buggable [travis build above] ☠ Did not recognize some failures. Check results manually. 03:19
jmerelo .tell Zoffix to contact me 06:14
yoleaux 8 Apr 2018 18:46Z <Zoffix> jmerelo: FWIW, the discouragement against rakudobrew isn't just first time users. It introduces a bug with USAGE. It is known to introduce precomp bugs. It builds random dev commit instead of a release. It requires running a command after installing any binary. And it requires reinstalling modules after each update, which isn't needed anymore for rakudo.
jmerelo: I'll pass your message to Zoffix.
Geth doc: 42d1049882 | (JJ Merelo)++ | htmlify.p6
Future-proofing htmilify

  Checking for either coffee-script (now, although it's been changed in
package.json) or coffeescript (which is the way it's right now in package.json and will be in the near future). Refs #1823.
06:16
doc: a809f03df0 | (JJ Merelo)++ | 2 files
Eliminates one duplicate

Which goes towards #1912 but it useless anyway because #1894
scimon www.youtube.com/watch?v=obYlOurt-4...0YggKmzpgn : So my talk at LPM a couple of weeks ago is now on the you tubes. 08:18
lizmat notable6: weekly www.youtube.com/watch?v=obYlOurt-4...0YggKmzpgn 08:28
notable6 lizmat, Noted!
jmerelo .tell jnthn if there's some posted slides of his talk act.yapc.eu/gpw2018/talk/7326 08:45
yoleaux jmerelo: I'll pass your message to jnthn.
Zoffix . 10:19
yoleaux 06:14Z <jmerelo> Zoffix: to contact me
Zoffix really?
jmerelo O/ 14:44
jmerelo Discussion about pod 6/Perl 6 taking place in the github/linguist repo github.com/github/linguist/pull/33...-379750903 Just in case you want to pitch in. 14:52
lizmat weekly: github.com/github/linguist/pull/33...-379750903 14:56
notable6 lizmat, Noted!
El_Che thx jmerelo 14:58
Zoffix jmerelo: what did you want me to contact you about? 15:00
jmerelo Zoffix: several things I don't want to bother the whole chat channel about. Mind if I open a query? 15:03
Zoffix Go ahead 15:05
Zoffix OK, I don't see why everyone can't read/help with this. There's github.com/perl6/doc/issues/1894 with doc indexer broken and github.com/perl6/doc/issues/1838 with .htaccess broken for $COLON$COLON rewrites 15:20
it's possible the search is broken because there's no longer html/js dir where it's meant to write stuff into 15:24
hm, or maybe not 15:25
(the dir is still there on the build server)
jmerelo The problem with search is different, I think. 15:29
Geth doc: 8b0d89d022 | (Aleks-Daniel Jakimenko-Aleksejev)++ | doc/Language/faq.pod6
Add missing C's
synopsebot Link: doc.perl6.org/language/faq
jmerelo github.com/perl6/doc/issues/1894 this is caused by X<>-indexed terms not being written to search.js. But only in some pages. 15:30
Geth doc: a51c6b6914 | (Zoffix Znet)++ | html/js/DUMMY.txt
Ensure html/js dir exists

Debug attempt for github.com/perl6/doc/issues/1838
We write search.js to html/js, but ever since assets were moved into being generated by an app[^1], this dir is gone from the repo, which causes `make html` fail to build search file.
  [1] github.com/perl6/doc/commit/f856a1...aa2abe0918
Zoffix actually, make html fails on fresh checkout anyway, so the fix will have to stay either way... 15:32
Geth doc: 25c74bc30d | (Zoffix Znet)++ | html/js/DUMMY.txt
Revert "Ensure html/js dir exists"

This reverts commit a51c6b6914104d2daedbaa909e64cad6aaf19201.
Fix in search.js writer instead
15:33
doc: 1c638353b1 | (Zoffix Znet)++ | htmlify.p6
Remove trailing whitespace
jmerelo Zoffix: do you mean this github.com/perl6/doc/issues/1910?
doc: afa4477a61 | (Zoffix Znet)++ | htmlify.p6
Ensure dir for search.js exists
Zoffix No 15:35
I saw that one during last update on build server, but merely upgrading rakudo + all modules fixed that.
Zoffix But the MAST::Frame stuff that's the guts from QAST->MAST compiler and end users should never see it, really. So there's some bug that makes the guts spil out 15:36
(presumably fixed on latest rakudo) 15:37
jmerelo Zoffix: I haven't been able to reproduce that with 2018.03, actually. Can downgrade to 2018.01 to see if it does, but I did make many builds with all versions and it didn't show up. 15:38
jmerelo Zoffix: my hunch is that's it's an old version of some module included from Pod::To::BigPage. But it might also be some Mac thing. So no idea. As I say, not being able to reproduce it. 15:39
jmerelo Zoffix: make html works for now, Writing html/js/search.js ... 15:46
Problem is html/js/search.js does not include the terms indexed in operators.pod6 or classtut.pod6 or maybe more...
Zoffix it's possible it's a rakudo bug actually 16:05
mspo Zoffix: /topic that 16:07
Zoffix ain't got ops
mspo no one does 16:09
so I assume there is a way to get it :)
Geth doc: fce4c83e84 | (JJ Merelo)++ | doc/Type/Capture.pod6
Puts index marks *after* TITLE and SUBTITLE :bug: fixes #1915
16:13
doc: 06afbc0c6a | (JJ Merelo)++ | 2 files
Merge branch 'master' of github.com:perl6/doc
synopsebot Link: doc.perl6.org/type/Capture
Geth doc: c9140dcb6f | (JJ Merelo)++ | doc/Language/variables.pod6
Just some minor grammar fixes
16:30
doc: 11e7bc900a | (JJ Merelo)++ | htmlify.p6
Minor change in docs
synopsebot Link: doc.perl6.org/language/variables
Zoffix fffssss
spent 25 minutes waiting for 2017.11 rakudo to build to verify if it's a rakudo bug... And instead it dies with MAST::Frame thing -_- 16:31
AlexDaniel: you around? What was that thing that lets users execute stuff on various versions of rakudo or something. It was some 6lang.org url 16:32
AlexDaniel shareable6 ?
shareable6: help
shareable6 AlexDaniel, Like this: shareable6: f583f22 # See wiki for more examples: github.com/perl6/whateverable/wiki/Shareable
AlexDaniel shareable6: wiki
shareable6 AlexDaniel, github.com/perl6/whateverable/wiki/Shareable
AlexDaniel ↑ some explanation there
Zoffix yeah, thanks 16:33
AlexDaniel shareable6: HEAD
shareable6 AlexDaniel, whateverable.6lang.org/HEAD
Zoffix AlexDaniel: how do I get "$SHA_OF_REQUIRED_BULID"? 16:37
AlexDaniel Zoffix: well, what's the revision you need? 2017.11? that would be e0394b6acc44e439568bd8b5e767678cb60dcd43 16:38
Zoffix "Not an lrzip file"
AlexDaniel oh, because maybe it's a zstd archive?
Zoffix I wanted 2018.02
AlexDaniel tagged revisions are typically zstd 16:39
AlexDaniel so use the other command 16:39
Zoffix K, fuck it. I don't got zstd installed or in repos.
AlexDaniel :(
that's a known issue, but unfortunately there's nothing that can compress rakudo builds as good as zstd does
Zoffix: try 2018.02^ ? :) 16:40
Zoffix but how do I get the sha? 16:41
AlexDaniel b69bc8b9a934a0f0ed6bff1ad53714726a143ab8
Zoffix "2017.11? that would be e0394b6acc44e439568bd8b5e767678cb60dcd43" <- how do you know this?
AlexDaniel I used github…
Zoffix You mean it's a commit sha?
AlexDaniel went straight to releases, then clicked on a commit, then clicked on its parent
yes
Zoffix Ahh
same thing not an lrzip file 16:44
AlexDaniel ooooooooooooooooooooooooooooh…
it's not, yes :(
sorry :( 16:45
Zoffix .seen pmichaud 16:49
yoleaux I saw pmichaud 22 Mar 2018 09:56Z in #perl6: <pmichaud> happy spring equinox to all
Zoffix 6 days until rakudo.org goes dark... Gonna be pretty lame if we don't swap it to a new host in time :\
Bowlslaw WHAT?! 16:57
Zoffix What? 16:58
Bowlslaw Zoffix: 6 days until rakudo.org goes dark... Gonna be pretty lame if we don't swap it to a new host in time :\ 17:02
that's really a problem?
Zoffix Is that a statement or a question? :) 17:03
El_Che no, the owner of the domain if away. The (new) site has moved but the domain info must be switched
Bowlslaw i'm just surprised it's an issue
does perl 6 not have the support it needs? 17:04
Zoffix heh
lizmat well, one could argue that that is true in this case if rakudo.org goes black
Zoffix Bowlslaw: I'd argue it's merely the case of a person who's no longer very active holding the keys to few resources, like domain registration. So it's hard to reach them, even if the things to be done are trivial to do (like enabling HTTPS or swapping domain to new IP) 17:05
Bowlslaw: the site itself has already moved: perl6.org:4242/ just need to change DNS entries 17:06
Bowlslaw ah, i see
AlexDaniel geez I love this design so much
jmerelo AlexDaniel: quite cool, actually. 17:09
Zoffix jmerelo: for the docs indexing issue, somehow `find-definitions` never returns and so `find-references` call that follows it never gets called. 17:12
So far I traced up to Perl6::Documentable.new and if I change nextsame to just self.Mu::new I can see that it never returns and the problem seems to be with something in %_ because if I try to dump it, I get infinite loop of dumpage. 17:13
jmerelo Zoffix: but why does it happen only for some pages?
Zoffix: by never returns you mean that the program hangs? So far it seems to be running and processing the two pages that have not been indexed alright. It's as if it simply skips all definitions from the first one. 17:15
AlexDaniel Zoffix: my OSD tickets are probably very annoying 😂 github.com/perl6/rakudo.org/issues/3
jmerelo Has there been any change in that part of the code recently?
Zoffix jmerelo: by never returns I mean if I stick a debug print after the call to find-definitions, it never gets printed.
jmerelo: as I've said, this may be a rakudo bug
Zoffix jmerelo: also, why do you think this is something recent? 17:17
The indexing breakage I mean
jmerelo It wasn't there when I fixed ?? !!
Zoffix jmerelo: do you remember the date when that happened? 17:18
jmerelo I'm trying to get the issue
Zoffix: github.com/perl6/doc/issues/1851 I closed it 20 days ago, had to open it back when it disappeared, along all the indexed terms in operators.pod6 17:19
Zoffix gonna try building 21-day old rakudo and seeing if problem is there 17:23
jmerelo Zoffix++ 17:26
Zoffix `make test` on this box takes about the same time as `make stresstest` on my 24-core box :) 17:34
Geth rakudo.org: c6f9980656 | (Zoffix Znet)++ | 3 files
Same-height cards

Fixes github.com/perl6/rakudo.org/issues/3
17:37
Geth rakudo.org: 4e9d62cee0 | (Zoffix Znet)++ | assets/js/main.js
Fix wrong el used in sameHeight function
17:40
Zoffix Problem still exists. 17:45
Zoffix gives up on it 17:48
El_Che use a release pkg older than 21 days? 17:51
Zoffix Meh, spent enough time on this. Don't know why I even started on it. 17:52
Geth doc: 9f145623d3 | (Will "Coke" Coleda)++ | xt/space-after-comma.t
Ignore new Chinese language file for this test.
18:40
doc: beaa283699 | (Will "Coke" Coleda)++ | xt/words.pws
learn new words

to's is a result of referring to arguments of a method, e.g.
C<from-to>'s attributes...
doc: 7a56f313e1 | (Will "Coke" Coleda)++ | doc/Type/Str.pod6
fix typo
synopsebot Link: doc.perl6.org/type/Str
[Coke] gets bitten by the rakudo build update bug despite seeing it mentioned like 4 different places. whoops. (at least the workaround was already found. :) 18:53
yoleaux 8 Apr 2018 12:32Z <AlexDaniel> [Coke]: can you write a description for 「new」 label on github.com/perl6/doc/labels ? Because I think it's currently being misused often
8 Apr 2018 12:42Z <AlexDaniel> [Coke]: github.com/perl6/doc/issues/1909
jmerelo This question on the perl6 tag has gone unanswered for some time. Can someone help? stackoverflow.com/questions/368640...le-equival
yoleaux 17:48Z <lizmat> jmerelo: have been playing with your algorithm: gist.github.com/lizmat/b33a04cf7f1...e4660985f2
jmerelo lizmat++ 18:54
lizmat: you're great. Thanks.
lizmat: which version would that be?
I guess it would work pretty much everywhere. Thanks! 18:55
lizmat .tell jmerelo that would be blead: I improved the handling of native arrays in those respects quite a bit 18:58
yoleaux lizmat: I'll pass your message to jmerelo.
[Coke] AlexDaniel: wrote one for that and many others.
AlexDaniel [Coke]: thank you
[Coke] AlexDaniel: do we need to have "good first issue" and "LHF" ? 18:59
jmerelo, AlexDaniel : renamed "TPF Grant" label to "JJ TPF Grant" label. 19:00
AlexDaniel: I'd remove "experimental" - no description, no tickets. 19:01
I'd also remove "bug" - we have more specific tags for bugs, e.g. "build", "site", "xt"...
(or, treat "bug" more like "docs" where we have other labels with the same color that are considered sub-types.) 19:02
AlexDaniel experimental deleted
there were 2 tickets
(closed)
[Coke]: LHF is a perl6 thingy, but github only understands “good first issue” 19:03
so-o-o… I think we can go with “good first issue”
especially given that everybody keeps asking what LHF is
but that'd need some retagging 19:04
[Coke] I think the one "pod" ticket is really an external for pod-to-html
AlexDaniel: I'll start moving them.
AlexDaniel ok POD label removed 19:05
but maybe it can come back if we want to differentiate 19:06
in that case the tag can be “POD::To::HTML” :)
[Coke]: yes, there are better labels than 「bug」 19:10
I didn't even know that label existed :)
[Coke]: do we need 「duplicate」 ? 19:12
[Coke] eh. probably not.
all LHF's moved to the new one.
AlexDaniel ok, deleted 「duplicate」 19:13
[Coke] Not sure what "help wanted" is meant to indicate.
I'd kill that one.
AlexDaniel [Coke]: that's another github thingie IIRC
[Coke]: help.github.com/articles/helping-n...th-labels/ 19:14
ok that link doesn't show what happens when you do that 19:15
but basically, whenever a non-contributor goes to doc/issues there's a popup
screenshots.firefox.com/2YxEnx9stL...github.com 19:16
this one
maybe we don't need to have both, I don't know 19:17
[Coke]: if you can relabel 「bug」 then we can delete it too 19:26
heh, annual label cleanup 19:28
.tell dalek You still there? :) 19:31
yoleaux AlexDaniel: I'll pass your message to dalek.
Geth atom-language-perl6/MARTIMM-patch-1: fe21b460be | (Marcel Timmerman)++ (committed using GitHub Web editor) | grammars/perl6fe.cson
missing backslashes

line 2400, 2438 and 2450 had a missing '\'. Was `[\\-\']...` should be `[\\-\\']`
  (I didn't want to commit directly to master because I am not sure if this is right. Just started to explore this cson regexes.)
20:03
atom-language-perl6: MARTIMM++ created pull request #82:
missing backslashes
20:06
doc/coke/build: 9 commits pushed by (Will "Coke" Coleda)++ 20:08
travis-ci Doc build passed. Will "Coke" Coleda 'remove sparse directive 20:27
travis-ci.org/perl6/doc/builds/364292881 github.com/perl6/doc/compare/fe345...c49b974606
lizmat and yet another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2018/04/09/...an-perl-6/ 21:26
notostraca indonesian? 21:28
indonesian doesn't actually need the fun unicode features of perl6, much like english
Zoffix lizmat++ # good weekly. Also, awesome news about the sold books :) 21:42
thundergnat Has something changed in IO::Socket::INET recently? The lines method no longer seems to recognize eof markers, it just keeps chugging on forever. 22:50
m: my $h = IO::Socket::INET.new(:host('tclers.tk'), :port(80)); $h.print: "GET /conferences/tcl/2018-03-25.tcl HTTP/1.0\n\n"; say +$h.lines; # This should be about 200 lines 22:51
camelia IO::Socket::INET is disallowed in restricted setting
in sub restricted at src/RESTRICTED.setting line 1
in method new at src/RESTRICTED.setting line 32
in block <unit> at <tmp> line 1
thundergnat Bah.
timotimo try evalable6 instead
thundergnat evalable6: my $h = IO::Socket::INET.new(:host('tclers.tk'), :port(80)); $h.print: "GET /conferences/tcl/2018-03-25.tcl HTTP/1.0\n\n"; say +$h.lines; 22:52
evalable6 (signal SIGHUP) «timed out after 10 seconds»
timotimo isn't \n\n wrong there?
thundergnat That should return almost instantly.
timotimo evalable6: my $h = IO::Socket::INET.new(:host('tclers.tk'), :port(80)); $h.print: "GET /conferences/tcl/2018-03-25.tcl HTTP/1.0\r\n\r\n"; say +$h.lines; 22:53
evalable6 (signal SIGHUP) «timed out after 10 seconds»
timotimo mhm
thundergnat timotimo: um... I don't think so...
You need to send an empty line after a get command
thundergnat This worked in mid 2017 Rakudo 22:54
thundergnat bisectable: my $h = IO::Socket::INET.new(:host('tclers.tk'), :port(80)); $h.print: "GET /conferences/tcl/2018-03-25.tcl HTTP/1.0\n\n"; say +$h.lines; 22:55
timotimo yeah but doesn't http specify it has to be \r\n rather than \n?
bisectable6 thundergnat, Bisecting by exit signal (old=2015.12 new=518f2c3). Old exit signal: 0 (None)
thundergnat, bisect log: gist.github.com/efc3307157399d97fa...aa4ed4364d 22:56
thundergnat, (2017-05-26) github.com/rakudo/rakudo/commit/a6...b4ef5ea3c8
thundergnat timotimo: Maybe. I've used this exact code in the past though. 22:56
geekosaur many web servers are permissive 22:56
thundergnat timotimo: The issue isn't that it isn't sending the requested file, the issue is that .lines doesn't know when it is done. (You're probably right about \r\n though) 22:59
Zoffix yeah, reproed locally 23:02
s: IO::Socket::INET.new(:host("tclers.tk"), :port(80)), 'lines', \()
SourceBaby Zoffix, Sauce is at github.com/rakudo/rakudo/blob/518f...et.pm6#L87
Zoffix bisect: my $h = IO::Socket::INET.new(:host("tclers.tk"), :port(80)); $h.print: "GET /conferences/tcl/2018-03-25.tcl HTTP/1.0\r\n\r\n"; $h.lines.head(1000) == 1000 and die 23:03
bisectable6 Zoffix, Bisecting by exit code (old=2015.12 new=518f2c3). Old exit code: 0
Zoffix, bisect log: gist.github.com/122ae2504d781d0c02...a4538e6bfa 23:04
Zoffix, (2017-05-26) github.com/rakudo/rakudo/commit/a6...b4ef5ea3c8
thundergnat Zoffix: want me to file an issue on github? 23:05
Zoffix Nah, I got it R#1721 23:07
synopsebot R#1721 [open]: github.com/rakudo/rakudo/issues/1721 [regression][⚠ blocker ⚠] IO::Socket::INET doesn't set nl-in
thundergnat Ah. cool, thanks.
timotimo i wonder if i got what liz had 23:14
something flu-like 23:15
Zoffix thundergnat: I see the bug. Fix coming up 23:17
thundergnat Awesome. 23:17
Zoffix m: use nqp; dd nqp::null_s.DEFINITE; # wonder if this should be fixed instead 23:24
camelia Bool::True
timotimo hm, make definite behave differently on strings?
null_s is the empty string, right? 23:25
Zoffix Don't think so
m: use nqp; my str $x; dd $x; dd nqp::isnull_s($x); $x = nqp::null_s; dd nqp::isnull_s($x); dd $x; # last one dies
camelia ""
0
1
chars requires a concrete string, but got null
in block <unit> at <tmp> line 1
timotimo indeed, it does assign a null
Zoffix (somewhat related: M#767 ) 23:26
synopsebot M#767 [open]: github.com/MoarVM/MoarVM/pull/767 Fix unwanted null strings in VMArray holes
Zoffix (nm, I don't see the bug anymore, so the fix isn't coming right up :P) 23:41
ZofBot: Oh whyy... whyyy didn't I break its legs?
ZofBot Zoffix, ” And she said, “ know
thundergnat Ah well, I'm sure the fix is still coming up, just not quite as speedy as you first thought. Zoffix++ anyway. 23:43
Zoffix thundergnat: shipped:) 23:57