Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2018-04-15

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:31 reportable6 joined #perl6
01:26 FROGGS joined #perl6
01:56 ilbot3 joined #perl6
01:56 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
02:15 noganex joined #perl6
02:21 TEttinger joined #perl6
03:21 bloatable6 joined #perl6
03:21 coverable6 joined #perl6
03:21 nativecallable6 joined #perl6
03:21 quotable6 joined #perl6
03:21 notable6 joined #perl6
03:21 unicodable6 joined #perl6
03:21 committable6 joined #perl6
03:21 evalable6 joined #perl6
03:21 releasable6 joined #perl6
03:21 benchable6 joined #perl6
03:21 reportable6 joined #perl6
03:21 undersightable6 joined #perl6
03:21 greppable6 joined #perl6
03:21 squashable6 joined #perl6
03:21 bisectable6 joined #perl6
03:21 statisfiable6 joined #perl6
03:46 SmokeMachine m: use Test; my $c = 0; sub bla { die }; my $p = start { bla }; $p .= then: { $c++; CATCH { default { bla } }; .result } for ^2; say try await $p; is $c, 3 # what am I doing wrong? I can't see it
03:46 camelia rakudo-moar 72b54ddd6: OUTPUT: «Nil␤not ok 1 - ␤# Failed test at <tmp> line 1␤# expected: '3'␤#      got: '2'␤»
03:53 Herby_ no clue what you're trying to do but the only thing that stands out to me is: for ^2
03:53 Herby_ m: use Test; my $c = 0; sub bla { die }; my $p = start { bla }; $p .= then: { $c++; CATCH { default { bla } }; .result } for ^3; say try await $p; is $c, 3
03:53 camelia rakudo-moar 72b54ddd6: OUTPUT: «Nil␤ok 1 - ␤»
03:54 Herby_ SmokeMachine:
03:56 SmokeMachine Herby_: you are right! I incremented on the wrong place!
03:56 SmokeMachine m: use Test; my $c = 0; sub bla { $c++; die }; my $p = start { bla }; $p .= then: { CATCH { default { bla } }; .result } for ^2; say try await $p; is $c, 3
03:56 camelia rakudo-moar 72b54ddd6: OUTPUT: «Nil␤ok 1 - ␤»
03:57 SmokeMachine so on this golf its working... Ill try to find why it isn't on the real code!!! thanks!
03:57 Herby_ :)
04:01 Herby_ Zoffix: if I want to help with the R#1736... how do I know if my PR would pass the test?
04:01 synopsebot R#1736 [open]: https://github.com/rakudo/rakudo/issues/1736 [LHF] Toaster results show several modules' tests rely on buggy Num stringification
04:05 Herby_ joined #perl6
04:14 Zoffix Herby_: in the cloned module's directory, run `zef test .`
04:14 Zoffix Its should say all ok
04:19 Herby_ ok: I'm on Rakudo 2018.03 . I'm going to clone one of the failed modules, edit the failed test from "is" to "is-approx" (where appropriate), then run "zef test ." to see if it passes
04:19 Zoffix Herby_: the issue isn't present on 2018.03
04:20 Zoffix you need latest and greatest
04:20 Herby_ ok, that's what I was thinking but I worded my question poorly
04:20 Zoffix dev commit
04:34 Herby_ ok, trying my hand at install dev commit following these instructions here: https://github.com/zoffixznet/r
04:38 Zoffix Herby_: note that using those instructions, you'd need to take out the `git checkout $(git describe --abbrev=0 --tags) &&` from that alias or it'll install latest release instead
04:38 Zoffix You could also use Z-Script
04:38 Herby_ Think I got it. perl6 -v gives me this now: 2018.03-112-gfa0fc18
04:38 Zoffix ok, yeah
04:38 Zoffix m: $*PERL.compiler.version.say
04:38 camelia rakudo-moar 72b54ddd6: OUTPUT: «v2018.03.234.g.72.b.54.ddd.6␤»
04:38 Zoffix hmm
04:39 Zoffix Herby_: it's like a 100 commits too old
04:39 Herby_ sorry: This is Rakudo version 2018.03-234-g72b54dd
04:39 Herby_ hows that one
04:40 Herby_ This is Rakudo version 2018.03-234-g72b54dd built on MoarVM version 2018.03-112-gfa0fc18
04:40 Herby_ implementing Perl 6.c.
04:40 Zoffix That one's good
04:40 wamba joined #perl6
04:43 Herby_ huzzuh! think I might have just fixed a test :)
04:43 Zoffix sweet
04:45 Herby_ for the PR comments, if I'm understanding things right, the current failing tests rely on buggy stringification?
04:46 Zoffix Yes.
04:46 Zoffix And also on buggy creation of num literals
04:48 Zoffix Commits with the fixes that go into details of how and why: https://gist.github.com/zoffixznet/18236616c29c2047b22e3a00776965c0
04:56 Geth ¦ doc: ilyash-b++ created pull request #1927: Fix wording and typos
04:56 Geth ¦ doc: review: https://github.com/perl6/doc/pull/1927
04:57 Geth ¦ doc: 07da80050d | ilyash-b++ (committed using GitHub Web editor) | doc/Type/Capture.pod6
04:57 Geth ¦ doc: Fix wording and typos
04:57 Geth ¦ doc: review: https://github.com/perl6/doc/commit/07da80050d
04:57 Geth ¦ doc: ce96015406 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Capture.pod6
04:57 Geth ¦ doc: Merge pull request #1927 from ilyash-b/patch-2
04:57 synopsebot Link: https://doc.perl6.org/type/Capture
04:57 Geth ¦ doc:
04:57 Geth ¦ doc: Fix wording and typos
04:57 Geth ¦ doc: review: https://github.com/perl6/doc/commit/ce96015406
05:00 travis-ci joined #perl6
05:00 travis-ci Doc build errored. Zoffix Znet 'Merge pull request #1927 from ilyash-b/patch-2
05:00 travis-ci https://travis-ci.org/perl6/doc/builds/366688526 https://github.com/perl6/doc/compare/6208354c7e85...ce960154062f
05:00 travis-ci left #perl6
05:00 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
05:00 Herby_ Zoffix: for some of these modules, I'm cloning then I'm running "zef test ." but they fail because I don't have one of the dependencies installed
05:01 Herby_ is there a different way to handle the dependencies other than "zef install <x>" ?
05:09 kurahaupo_ joined #perl6
05:41 SmokeMachine zef install —deps-only .
05:42 Herby_ SmokeMachine: thanks!
05:48 araraloren joined #perl6
05:51 Herby_ timotimo: you ever hear back regarding a weekly "What are you working on" thread?
06:11 epony joined #perl6
06:13 epony joined #perl6
06:40 darutoko joined #perl6
06:51 jmerelo joined #perl6
07:03 Geth ¦ doc: 365bc19ce7 | (JJ Merelo)++ | .github/issue_template.md
07:03 Geth ¦ doc: Fill paragraphs refs #1847
07:03 Geth ¦ doc: review: https://github.com/perl6/doc/commit/365bc19ce7
07:03 Geth ¦ doc: c9ea7c2291 | (JJ Merelo)++ | .github/pull_request_template.md
07:03 Geth ¦ doc: Adds minimalistic PR template closes #1847
07:03 Geth ¦ doc: review: https://github.com/perl6/doc/commit/c9ea7c2291
07:06 travis-ci joined #perl6
07:06 travis-ci Doc build errored. JJ Merelo 'Adds minimalistic PR template closes #1847'
07:06 travis-ci https://travis-ci.org/perl6/doc/builds/366707132 https://github.com/perl6/doc/compare/ce960154062f...c9ea7c2291b5
07:06 travis-ci left #perl6
07:06 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
07:07 jmerelo .tell AlexDaniel there seem to be a problem with the whateverable web site https://travis-ci.org/perl6/doc/builds/366707132
07:07 yoleaux jmerelo: I'll pass your message to AlexDaniel.
07:13 AlexDaniel` .
07:13 AlexDaniel .
07:13 yoleaux 14 Apr 2018 23:34Z <Zoffix> AlexDaniel: the bot box is out of diskspace. I nuked data/all-modules to clear some space but in like ~2 that was nommed by something and it's out of space again. Also, looks like Notable's db got corrupted. It's just an empty file now
07:13 yoleaux 14 Apr 2018 23:34Z <Zoffix> AlexDaniel: *in like ~2 minutes
07:13 yoleaux 14 Apr 2018 23:38Z <Zoffix> AlexDaniel: toast results: https://toaster.perl6.party/
07:13 yoleaux 07:07Z <jmerelo> AlexDaniel: there seem to be a problem with the whateverable web site https://travis-ci.org/perl6/doc/builds/366707132
07:13 AlexDaniel oh crap
07:14 AlexDaniel and I thought I was keeping an eye on that
07:14 AlexDaniel it's probably reportable that did that, because I wasn't very smart when I was implementing it :)
07:14 emre joined #perl6
07:15 rindolf joined #perl6
07:15 AlexDaniel ok I know a quick way to fix that…
07:15 jmerelo AlexDaniel: no problem. I'm going to take advantage of the downtime to try and add docker testing to Travis
07:15 AlexDaniel :)
07:16 jmerelo AlexDaniel: take whatever time is needed. And thanks for answering.
07:17 emre left #perl6
07:22 AlexDaniel 33M free \o/
07:22 AlexDaniel :)
07:22 AlexDaniel ah ok 0 again
07:24 shareable6 joined #perl6
07:24 releasable6 joined #perl6
07:26 jmerelo AlexDaniel: :-(
07:38 Geth ¦ doc/master: 11 commits pushed by (JJ Merelo)++
07:38 Geth ¦ doc/master: review: https://github.com/perl6/doc/compare/c9ea7c2291b5...23ac8a25b8e0
07:42 parv joined #perl6
07:43 jmerelo jmerelo: oh, that was supposed to happen only in my branch... Sorry.
07:45 irco joined #perl6
07:47 sena_kun joined #perl6
07:51 AlexDaniel shareable6 is up again btw
07:57 AlexDaniel jmerelo: is there any need to tell people to delete the comment? It does not show up anyway, right?
07:58 Geth ¦ doc: d3c4558722 | (JJ Merelo)++ | 3 files
07:58 Geth ¦ doc: Updating scripts
07:58 Geth ¦ doc: review: https://github.com/perl6/doc/commit/d3c4558722
07:58 Geth ¦ doc: de40b7e8fa | (JJ Merelo)++ | util/travis-build.sh
07:58 Geth ¦ doc: Eliminates travis-retry
07:58 Geth ¦ doc: review: https://github.com/perl6/doc/commit/de40b7e8fa
07:58 Geth ¦ doc: 659ce258be | (JJ Merelo)++ | .travis.yml
07:58 AlexDaniel and yes, I like that template a bit more :)
07:58 Geth ¦ doc: Restores original .travis.yml
07:58 Geth ¦ doc:
07:58 Geth ¦ doc: But tests building on OSL. Refs #1828
07:58 Geth ¦ doc:
07:58 Geth ¦ doc: Come to think of it, it's using Whateverable binary, so it should not work...
07:58 Geth ¦ doc: review: https://github.com/perl6/doc/commit/659ce258be
07:59 jmerelo AlexDaniel: mostly so that it does not show up in the stub that gets sent by email, like you showed me, I think.
07:59 AlexDaniel aaaaaaaahhh…
07:59 AlexDaniel maybe we can as well put it below, hmm…
08:00 AlexDaniel then reading from top to bottom you'll clearly see the structure, and then you can read the text if you want to
08:00 AlexDaniel + we'll be able to eliminate the suggestion to remove the comment
08:00 jmerelo AlexDaniel: Good idea. Should I do that? Waiting for travis to test stuff...
08:01 AlexDaniel jmerelo: I guess so, yea
08:02 AlexDaniel jmerelo: yeah whateverable builds are not going to work on OSX, so maybe it should fall back to using rakudobrew or something
08:03 AlexDaniel jmerelo: you can test for the OS like this: https://github.com/rakudo/rakudo/blob/db8b218f6b446385854cbac0e595b95fdd8f75a8/.travis.yml#L24
08:03 Geth ¦ doc: e893614159 | (JJ Merelo)++ | .travis.yml
08:03 Geth ¦ doc: Eliminating osx
08:03 Geth ¦ doc:
08:03 Geth ¦ doc: But leaving #1828 closed. The way it is now, it's going to be
08:03 Geth ¦ doc: impossible to have it built in OSX. Not only are we using Linux
08:03 Geth ¦ doc: binaries, but also packing them in a way that's not available in OSX.
08:03 Geth ¦ doc: We'll have to add it to the matrix with specific instructions for
08:03 Geth ¦ doc: installing stuff, but that's rather a matter for #1765
08:03 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e893614159
08:05 AlexDaniel jmerelo: the way I see it, it should simply fallback to rakudobrew under certain conditions (OS is not linux, failed to pull from whateverable, etc.)
08:05 AlexDaniel in other words whateverable binaries will simply be a cheat to get the test result faster
08:05 stmuk_ next ubuntu LTS will have https://packages.ubuntu.com/bionic/rakudo
08:06 jmerelo AlexDaniel: right. Problem is we have to deal with that using the matrix and scripts that work with that. And that's precisely what I'm doing with the docker options, which will eventually include El_Che's packages too
08:06 jmerelo stmuk_: Great! But Travis is stuck with 14.04 for the time being...(if you mean that in this particular context)
08:06 AlexDaniel stmuk_: and that's not changing, right?
08:07 AlexDaniel like, 2018.04 is not going to end up in there when it's released?
08:07 stmuk_ AlexDaniel: unchanged during LTS 3 year life
08:08 Geth ¦ doc: 1317119c47 | (JJ Merelo)++ | 2 files
08:08 Geth ¦ doc: Eliminates delete phrase and puts comment at the end refs #1847
08:08 Geth ¦ doc: review: https://github.com/perl6/doc/commit/1317119c47
08:09 stmuk_ jmerelo: I image travis would remove 12.04 LTS and introduce 18.04 LTS
08:10 AlexDaniel o yey that will also have zstd… :)
08:12 jmerelo stmuk_: I wouldn't count on that... 12.04 was removed in 2017 https://blog.travis-ci.com/2017-04-17-precise-EOL
08:13 stmuk_ jmerelo: I would count on it happening .. just not quickly due to the amount of work
08:14 stmuk_ jmerelo: ah the server edition has 5 year support (desktop 3 year support)
08:14 stmuk_ so they probably remove when server goes out of support
08:15 travis-ci joined #perl6
08:15 travis-ci Doc build errored. JJ Merelo 'Restores original .travis.yml
08:15 travis-ci https://travis-ci.org/perl6/doc/builds/366716160 https://github.com/perl6/doc/compare/23ac8a25b8e0...659ce258be55
08:15 travis-ci left #perl6
08:16 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
08:18 jmerelo stmuk_: probably in 2023
08:21 travis-ci joined #perl6
08:21 travis-ci Doc build failed. JJ Merelo 'Eliminating osx
08:21 travis-ci https://travis-ci.org/perl6/doc/builds/366717113 https://github.com/perl6/doc/compare/659ce258be55...e893614159c6
08:21 travis-ci left #perl6
08:21 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
08:21 Geth ¦ doc: e20ead55c1 | (JJ Merelo)++ | util/travis-test.sh
08:21 Geth ¦ doc: Eliminates tabs
08:21 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e20ead55c1
08:22 Geth ¦ doc: 2156609e0c | (JJ Merelo)++ | .github/pull_request_template.md
08:22 Geth ¦ doc: Eliminates more tabs
08:22 Geth ¦ doc: review: https://github.com/perl6/doc/commit/2156609e0c
08:28 AlexDaniel jmerelo: maybe you should configure your editor to not produce any tabs :)
08:28 greppable6 joined #perl6
08:28 undersightable6 joined #perl6
08:29 jmerelo AlexDaniel: yep...
08:30 jmerelo AlexDaniel: I don't really get what's the problem with tabs, though...
08:31 AlexDaniel jmerelo: the problem is that when it's mixed with spaces the rendering goes nuts depending on the tab width you have configured in your editor
08:31 AlexDaniel so it should be either all spaces or all tabs, never both at the same time
08:32 Geth ¦ perl6-lwp-simple: JJ++ created pull request #27: Adds test dependence
08:32 Geth ¦ perl6-lwp-simple: review: https://github.com/perl6/perl6-lwp-simple/pull/27
08:32 AlexDaniel case in point: https://github.com/perl6/doc/commit/4caa2816e9d167090272d7a817df4e11cb36a059#diff-da89ae830582df8fe02e0957d2ee00f0R98
08:32 AlexDaniel I assume that was aligned for you
08:33 jmerelo AlexDaniel:
08:33 jmerelo Right...
08:33 jmerelo I didn't know we had shippable now... https://app.shippable.com/github/perl6/doc/runs/435/1/console
08:38 travis-ci joined #perl6
08:38 travis-ci Doc build passed. JJ Merelo 'Eliminates more tabs'
08:38 travis-ci https://travis-ci.org/perl6/doc/builds/366720180 https://github.com/perl6/doc/compare/e20ead55c1be...2156609e0cb0
08:38 travis-ci left #perl6
08:39 jmerelo Anyone opposed to adding a "Comments" label to perl6/doc?
08:40 travis-ci joined #perl6
08:40 travis-ci Doc build failed. JJ Merelo 'Eliminates tabs'
08:40 travis-ci https://travis-ci.org/perl6/doc/builds/366720051 https://github.com/perl6/doc/compare/1317119c47e0...e20ead55c1be
08:40 travis-ci left #perl6
08:40 buggable [travis build above] ☠ Did not recognize some failures. Check results manually.
08:41 jmerelo And that's a nice example of how asynchronous IO works.
08:45 AlexDaniel jmerelo: “comments” label? What is it going to do?
08:46 moritz good morning
08:46 yoleaux 14 Apr 2018 23:06Z <Zoffix> moritz: how do you use certbot on www.p6c.org? If I run `sudo certbot` it tells me it's trying to read 0.23.0's config with 0.21.1 certbot, so looks like we got more than one certbot installed?
08:46 moritz Zoffix: there seems to something messed up; I'll loook into it
09:00 moritz in fact, I'm looking into it right now
09:03 travis-ci joined #perl6
09:03 travis-ci Doc build passed. JJ Merelo 'Eliminates more tabs'
09:03 travis-ci https://travis-ci.org/JJ/doc/builds/366724039 https://github.com/JJ/doc/compare/de40b7e8fa94...2156609e0cb0
09:03 travis-ci left #perl6
09:03 moritz Zoffix: https://rakudo.org/ now has a valid cert
09:05 eliasr joined #perl6
09:10 moritz Zoffix: ok, I removed cerbot from debian because it was too old; now /root/certbot-auto does the job
09:11 moritz and is triggered from /etc/cron.daily/cerbot-auto
09:11 moritz how can I tell some bot to remind me in 65 days to check if the renewal worked?
09:12 moritz !remind 65d check if perl6.org TLS renewal worked
09:12 moritz |65d check if perl6.org TLS renewal worked
09:13 dogbert2_ joined #perl6
09:14 donpdonp $ echo | openssl s_client -servername perl6.org -connect perl6.org:443 2>/dev/null | openssl x509 -noout -dates => notAfter=Jul  8 01:22:39 2018 GMT
09:14 evalable6 joined #perl6
09:14 jmerelo AlexDaniel: issues simply for discussion, not for fixing anything on the documents
09:14 donpdonp maybe have a cronjob alter if the notAfter date is < 30 days
09:14 AlexDaniel jmerelo: that's what “style” is for I think
09:15 jmerelo AlexDaniel: you meant it was when it was called meta.
09:15 moritz donpdonp: that's what the cronjob does; it's just that I want to monitor the cronjob manually after I changed it
09:16 jmerelo AlexDaniel: right now it's for "writing style, repository organization, etc".
09:16 donpdonp moritz: oh ok. if the date check and alert is small-ish, id like to see it in a gist.github.org so i can use it myself :)
09:16 * AlexDaniel renames it to “meta”
09:17 jmerelo AlexDaniel: maybe we should change it back to meta and add "request for comments and general discussion" to the description
09:18 AlexDaniel done I think
09:18 reportable6 joined #perl6
09:18 jmerelo AlexDaniel: if this is not part of the async nature of IRC it's kind of worrying we think exactly along the same lines...
09:19 moritz donpdonp: I just use certbot-auto renew, which checks itself if it's eligeble for rewnewal
09:19 AlexDaniel :
09:19 AlexDaniel :)
09:20 jmerelo AlexDaniel: thanks anyway :-)
09:25 Geth ¦ perl6-lwp-simple/master: 4 commits pushed by (JJ Merelo)++, (Juan Julián Merelo Guervós)++
09:25 Geth ¦ perl6-lwp-simple/master: de0a97ce79 | Adds test dependence
09:25 Geth ¦ perl6-lwp-simple/master: f144c2bdd9 | Change size to new rakudo.org
09:25 Geth ¦ perl6-lwp-simple/master: f48c59db4c | Adds changes and bumps up version
09:25 Geth ¦ perl6-lwp-simple/master: 744ca623b9 | Merge pull request #27 from JJ/master
09:25 Geth ¦ perl6-lwp-simple/master: review: https://github.com/perl6/perl6-lwp-simple/compare/afc54b994fdd...744ca623b9a5
09:26 markong joined #perl6
09:52 jmerelo Anybody know what's the deal with the perl6/doc version number?
09:53 jmerelo There's actually one in META6.json which has been changed just once. It's now at 1.001002
09:54 Geth ¦ doc: d054c31875 | (JJ Merelo)++ | META6.json
09:54 Geth ¦ doc: Updates version for LWP::Simple closes #1928
09:54 Geth ¦ doc: review: https://github.com/perl6/doc/commit/d054c31875
09:58 moritz i guess it would make sense to increment it once in a while, and upload the new version to PAUSE
10:00 reportable6 joined #perl6
10:01 Zoffix .in 65d remind moritz to check if perl6.org TLS renewal worked
10:01 yoleaux Zoffix: I'll remind you on 19 Jun 2018 10:01Z
10:04 Geth ¦ perl6-lwp-simple: zoffixznet self-assigned IO::Socket::SSL required for running tests https://github.com/perl6/perl6-lwp-simple/issues/9
10:24 Zoffix moritz: you here? /etc/letsencrypt/options-ssl-apache.conf is gone and it's used by a bunch of sites
10:25 Zoffix apache restart fails now
10:26 aindilis joined #perl6
10:29 Zoffix There's this: https://community.letsencrypt.org/t/options-ssl-apache-conf-doesnt-exist/36042
10:30 Zoffix there's /opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot_apache/options-ssl-apache.conf
10:32 Zoffix tried symlinkink that one to /etc/letsencrypt/options-ssl-apache.conf now it tells me /etc/letsencrypt/live/alerts.perl6.org/fullchain.pem don't exist -_-
10:37 moritz Zoffix: seems /etc/letsencrypt/options-ssl-apache.conf came from the .deb package
10:38 moritz so I'll install that again
10:38 Zoffix What about fullchain.pem? (and when I dissited alerts, it wanted cert.pem for design.perl6.org)
10:39 Zoffix .oO( keep .deb uninstalled; blow away all of -le-ssl.confs and re-enable them anew with /root/certbot-auto )
10:40 moritz Zoffix: I tried that; but it does a configtest first, and complains if that fails
10:41 Zoffix moritz: what fails? Did you dissite all of -le-ssl.confs?
10:41 Zoffix a2dissite
10:41 Zoffix Like what'
10:41 moritz Zoffix: I did not
10:42 domidumont joined #perl6
10:43 moritz seems to work when I do
10:43 moritz now it says "obtaining new certificates"
10:43 moritz moritz-- # apt-get remove --purge certbot
10:44 isBEKaml joined #perl6
10:44 isBEKaml left #perl6
10:45 Zoffix sweet
10:46 isBEKaml joined #perl6
10:46 notbenh joined #perl6
10:47 jmerelo squashable6: status
10:47 squashable6 jmerelo, Next SQUASHathon in 18 days and ≈23 hours (2018-05-05 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day
10:48 Zoffix moritz: let me know when you're done. I want to enable a small site where perl6 org's modules can test non-ssl stuff in piece
10:48 domidumont joined #perl6
10:48 Zoffix peace
10:49 jmerelo So we're 18 days away from the squashathon and I'd like a bit of help. There are a bunch of good first issue here already https://github.com/perl6/doc/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22, but I'd like you to identify a few more among the ones you have created or handled lately. We'll try to get some new people, even those not familiar with perl6, to help with that
10:49 Zoffix (and yeah, I know httpbin.org, but it ain't got the get-without-content-length this test wants to test)
10:53 isBEKaml joined #perl6
10:53 moritz Zoffix: I'm done
10:53 Zoffix Roger.
10:55 isBEKaml joined #perl6
10:56 jmerelo Using a custom Docker environment for testing shaves 7 minutes more off perl6/doc build https://travis-ci.org/JJ/doc/builds/366746502 However, there's an error with the whateverable option I can't quite figure out.
10:56 jmerelo Actually, cuts it in half, from ~20 mins to ~10 mins https://travis-ci.org/perl6/doc
10:56 moritz nice!
10:57 jmerelo Anyway, I'm not merging until I leave the whateverable and maybe other options as fallback...
10:57 jmerelo Help with the Whateverable error will be appreciated :-)
10:57 Zoffix jmerelo: is it still present? The site it's hosted on was out of space a few hours ago
10:58 AlexDaniel not out of space anymore though
10:58 AlexDaniel and should work just fine
10:58 jmerelo Zoffix: AlexDaniel fixed that pretty fast. In fact, that error prompted me to work on this as long as whateverable was not available. Now it's back, but, well...
10:59 AlexDaniel it's definitely great to have fallbacks, yeah
10:59 AlexDaniel though if docker solves everything then I don't know if whateverable option is needed at all
11:04 moritz what is that whateverable option?
11:04 AlexDaniel instead of building rakudo it just pulls it from whateverable
11:05 AlexDaniel so we get tests results faster while still using rakudo HEAD
11:05 moritz ah, nice
11:05 Zoffix moritz: any idea why http://no-ssl-http-module-tester.perl6.org keeps redirecting me to perl6.org?
11:06 Zoffix After I enabled that site in apache
11:06 Zoffix oh
11:06 Zoffix I used p6c. instead of perl.org
11:06 Zoffix *perl6
11:16 notable6 joined #perl6
11:21 Geth ¦ perl6-lwp-simple: 6fd2a0862e | (Zoffix Znet)++ | META6.json
11:21 Geth ¦ perl6-lwp-simple: Don't require IO::Socket::SSL
11:21 Geth ¦ perl6-lwp-simple: review: https://github.com/perl6/perl6-lwp-simple/commit/6fd2a0862e
11:21 Geth ¦ perl6-lwp-simple: 43612c6f8f | (Zoffix Znet)++ | META6.json
11:21 Geth ¦ perl6-lwp-simple: Use HTTP source-url
11:21 Geth ¦ perl6-lwp-simple: review: https://github.com/perl6/perl6-lwp-simple/commit/43612c6f8f
11:22 Geth ¦ perl6-lwp-simple: bba6e76a3e | (Zoffix Znet)++ | t/get-unsized.t
11:22 Geth ¦ perl6-lwp-simple: Use non-HTTP site for test
11:22 Geth ¦ perl6-lwp-simple:
11:22 Geth ¦ perl6-lwp-simple: rakudo.org now forces SSL, which makes this test requrie
11:22 Geth ¦ perl6-lwp-simple: IO::Socket::SSL installed
11:22 Geth ¦ perl6-lwp-simple: review: https://github.com/perl6/perl6-lwp-simple/commit/bba6e76a3e
11:22 Geth ¦ perl6-lwp-simple: c7c58c0313 | (Zoffix Znet)++ | META6.json
11:22 Geth ¦ perl6-lwp-simple: Bump version
11:22 Geth ¦ perl6-lwp-simple: review: https://github.com/perl6/perl6-lwp-simple/commit/c7c58c0313
11:25 Zoffix Apache still sends content-length for that one. The claims in original test are bogus methinks
11:33 tobs Zoffix: I needed a similar test once and ended up including a perl5 Net::Server::HTTP
11:41 tyil Zoffix: I'm updating lonestar to  make use of the new rakudo.org site urls
11:41 tyil which includes https for all urls used :>
11:43 lichtkind joined #perl6
11:59 tyil if anyone is bored, https://github.com/tyil/lonestar has been updated to use the new rakudo.org urls for downloading Rakudo Star, some test runs would be appreciated
12:12 Geth ¦ modules.perl6.org: titsuki++ created pull request #102: Add missing LWP::Protocol::https
12:12 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/pull/102
12:13 Geth ¦ modules.perl6.org: d0d6d87178 | (Itsuki Toyota)++ | Build.PL
12:13 Geth ¦ modules.perl6.org: Add missing LWP::Protocol::https
12:13 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/d0d6d87178
12:13 Geth ¦ modules.perl6.org: dac4882215 | (Zoffix Znet)++ (committed using GitHub Web editor) | Build.PL
12:13 Geth ¦ modules.perl6.org: Merge pull request #102 from titsuki/fix-build
12:13 Geth ¦ modules.perl6.org:
12:13 Geth ¦ modules.perl6.org: Add missing LWP::Protocol::https
12:13 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/dac4882215
12:41 Geth ¦ perl6-lwp-simple: dce72c1645 | (Zoffix Znet)++ | 3 files
12:41 Geth ¦ perl6-lwp-simple: Use handrolled server for testing misbehaving servers
12:41 Geth ¦ perl6-lwp-simple:
12:41 Geth ¦ perl6-lwp-simple: Originally used URL still had Content-Length sent,
12:41 Geth ¦ perl6-lwp-simple: rendering the test void.
12:41 Geth ¦ perl6-lwp-simple: review: https://github.com/perl6/perl6-lwp-simple/commit/dce72c1645
12:41 Zoffix tobs: yeah, I gave up too ^ :)
12:42 Zoffix I also noticed without `.trans: ["\n" => "\r\n"];` browsers worked fine, but LWP::Simple choked
12:43 evalable6 joined #perl6
13:06 ufobat_ joined #perl6
13:37 timotimo does httpbin perhaps offer this?
13:40 Geth ¦ rakudo.org: f40d4ba916 | (Zoffix Znet)++ | assets/sass/main.scss
13:40 Geth ¦ rakudo.org: Hide nav logo on small screens
13:40 Geth ¦ rakudo.org:
13:40 Geth ¦ rakudo.org: Looks like crap
13:40 Geth ¦ rakudo.org: review: https://github.com/perl6/rakudo.org/commit/f40d4ba916
13:40 Zoffix timotimo: no
13:40 Zoffix At least I couldn't find any and in one route that lets you cahnge response headers, twirling content length crashes teh server
13:41 timotimo OK
13:46 tyil Zoffix: It seems rakudo.org doesnt have HSTS
14:01 mspo it didn't even have https until ~yesterday
14:03 Zoffix tyil: how about now?
14:04 tyil mspo: yeah, but https isnt the default protocol used by browsers
14:04 tyil Zoffix: nothing yet
14:05 timotimo .o( it is now )
14:05 Geth ¦ rakudo.org: bbe240a2cd | (Zoffix Znet)++ | 2 files
14:05 Geth ¦ rakudo.org: More mobile fixes
14:05 Geth ¦ rakudo.org: review: https://github.com/perl6/rakudo.org/commit/bbe240a2cd
14:05 mspo tyil: sure
14:05 mspo a redirect is less.... permanent :)
14:05 Zoffix tyil: what do you mean by HSTS? The Strict-Transport-Security header?
14:05 tyil you can unset HSTS easily though
14:05 tyil Zoffix: yes
14:05 mspo tyil: except it's cached
14:05 tyil mspo: so is a redirect
14:06 mspo okay
14:06 timotimo i thought the point of HSTS is that you cannot unset it after you've set it?
14:06 Zoffix $ curl -si https://rakudo.org | grep ^Strict
14:06 Zoffix Strict-Transport-Security: max-age=63072000; includeSubdomains;
14:06 mspo timotimo: you can give a max-age
14:06 mspo yeah
14:06 tyil timotimo: you can update the HSTS header with a timespan of 0, which will overwrite the old one
14:06 tyil Zoffix: I'm curling rakudo.org
14:06 tyil without the https
14:06 timotimo ah, i guess that makes sense
14:06 tyil ie, the thing people will type in to their browsers
14:07 Zoffix tyil: is it meant to be set on non-HTTPS virtual host too?
14:07 timotimo since you'll have to have a proper certificate in order to singal that
14:07 tyil Zoffix: unless you redirect http to https by default, yes
14:07 tyil otherwise I'd indeed set it on https only, yes
14:07 Zoffix We redirect http to https
14:07 tyil doesnt seem like it
14:08 tyil firefox doesnt do it for me
14:08 tyil and curl gives a 200
14:08 tyil not a redirect
14:10 evalable6 joined #perl6
14:10 timotimo i also don't get redirected to https yet
14:17 Zoffix not sure why... I even now disabled the revproxy on the http virthost and it's still serving somehow
14:20 raiph joined #perl6
14:25 Zoffix :S now I even dissite rakudo.org and it's still catering
14:26 Zoffix oh ffsss... there's a virthost 80 config concatted to 443's config file
14:28 Zoffix tyil: how about now?
14:28 tyil works as expected now :>
14:31 tyil if you're interested, you can also add additional headers to play around with, like Upgrade-Insecure-Requests: 1 (although it is experimental iirc)
14:31 tyil and other fun headers
14:32 khw joined #perl6
14:35 Geth ¦ rakudo.org: 47c9c584d6 | (Zoffix Znet)++ | assets/sass/main.scss
14:35 Geth ¦ rakudo.org: [REAPP] Better mobiles styles for blog
14:35 Geth ¦ rakudo.org: review: https://github.com/perl6/rakudo.org/commit/47c9c584d6
14:42 Herby_ o/
14:45 Geth ¦ rakudo.org: aeeb1b2d11 | (Zoffix Znet)++ | assets/sass/main.scss
14:45 Geth ¦ rakudo.org: Use center aligned layout on homepage on tablets/mobile
14:45 Geth ¦ rakudo.org:
14:45 Geth ¦ rakudo.org: The break of flow from centered home to left-aligned sub pages
14:45 Geth ¦ rakudo.org: is a lot weaker than break of flow from centered logo and
14:45 Geth ¦ rakudo.org: left-aligned layout.
14:45 Geth ¦ rakudo.org: review: https://github.com/perl6/rakudo.org/commit/aeeb1b2d11
14:46 Geth ¦ rakudo.org: baa178daac | (Zoffix Znet)++ | dummy-file-for-restart-app-commits.txt
14:46 Geth ¦ rakudo.org: [REAPP]
14:46 Geth ¦ rakudo.org: review: https://github.com/perl6/rakudo.org/commit/baa178daac
14:47 zakharyas joined #perl6
14:47 Zoffix \o
15:09 alpha6 joined #perl6
15:12 Geth ¦ modules.perl6.org: titsuki++ created pull request #103: Fill stars, issues for modules on cpan
15:12 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/pull/103
15:24 Geth ¦ modules.perl6.org: 2b8e1b90b0 | (Itsuki Toyota)++ | 5 files
15:24 Geth ¦ modules.perl6.org: Fill stars, issues for modules on cpan
15:24 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/2b8e1b90b0
15:24 Geth ¦ modules.perl6.org: bed06f3174 | (Zoffix Znet)++ (committed using GitHub Web editor) | 5 files
15:24 Geth ¦ modules.perl6.org: [NEWDB] Merge pull request #103 from titsuki/fill-github-info
15:24 Geth ¦ modules.perl6.org:
15:24 Geth ¦ modules.perl6.org: Fill stars, issues for modules on cpan
15:24 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/bed06f3174
15:32 bartolin joined #perl6
15:43 Geth ¦ modules.perl6.org: titsuki++ created pull request #104: Delete superfluous module import
15:43 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/pull/104
15:43 dct joined #perl6
15:43 Geth ¦ modules.perl6.org: 636736c92a | (Itsuki Toyota)++ | lib/ModulesPerl6/DbBuilder/Dist.pm
15:43 Geth ¦ modules.perl6.org: Delete superfluous module import
15:43 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/636736c92a
15:43 Geth ¦ modules.perl6.org: e2056137e6 | (Itsuki Toyota)++ (committed using GitHub Web editor) | lib/ModulesPerl6/DbBuilder/Dist.pm
15:43 Geth ¦ modules.perl6.org: Merge pull request #104 from titsuki/delete-superfluous-line
15:43 Geth ¦ modules.perl6.org:
15:43 Geth ¦ modules.perl6.org: Delete superfluous module import
15:43 Geth ¦ modules.perl6.org: review: https://github.com/perl6/modules.perl6.org/commit/e2056137e6
16:03 comborico1611 joined #perl6
16:09 |oLa| joined #perl6
16:11 releasable6 joined #perl6
16:11 undersightable6 joined #perl6
16:25 jmerelo joined #perl6
16:27 jmerelo Hi
16:38 FROGGS hi
16:40 jmerelo Any idea anyone of what is happening here? https://travis-ci.org/JJ/doc/jobs/366746503 See the error at the end.
16:43 AlexDaniel oooh
16:43 FROGGS if [ "" != "" ]; then prove -j  -e perl6 t; else prove -e perl6 t; fi
16:43 FROGGS this looks strange
16:44 FROGGS is the job number missing?
16:44 jmerelo FROGGS: it's the same line there were before in .travis.yml. Only thing I've done is to move it to a script.
16:44 jmerelo That line checks if we want to run prove in parallel with -j NUMBER-OF-JOBS
16:45 jmerelo The "else" is what is actually been run, same as before, but I'm getting that error I can't really figure out. My hunch is that it's got to do something with environment variables.
16:46 * AlexDaniel has no idea
16:47 jmerelo I'm debugging Makefiles, of all things https://travis-ci.org/JJ/doc/jobs/366832303 Looks like it's lots its $PATH (no pun intended)
16:48 aindilis joined #perl6
16:48 Herby_ joined #perl6
16:55 RandalSchwartz left #perl6
17:13 Herby_ rakudo.org is looking stylish these days
17:13 jmerelo Major change introduced today by Zoffix (probably many more people, like Moritz). Kudos to that.
17:45 jmerelo p6:  sprintf '<%#.5o>', 012
17:45 camelia rakudo-moar db8b218f6: OUTPUT: «Potential difficulties:␤    Leading 0 has no meaning. If you meant to create an octal number, use '0o' prefix; like, '0o12'. If you meant to create a string, please add quotation marks.␤    at <tmp>:1␤    ------> 3sprintf '<%#.5o>', 0127⏏5<…»
17:45 moritz I merely did some of the SSL tweaking
17:46 |oLa| joined #perl6
17:46 jmerelo it was good tweaking, moritz :-)
17:54 zakharyas joined #perl6
17:56 Geth ¦ doc: 63b9d9c4ca | (JJ Merelo)++ | 4 files
17:56 Geth ¦ doc: Adds a faster Docker container based test process.
17:56 Geth ¦ doc:
17:56 Geth ¦ doc: It also keeps the old Whateverable-based, as a fallback. This can also
17:56 Geth ¦ doc: be used to add some other parallel tests if needed, based in rakudo
17:56 Geth ¦ doc: builds for OSX, for instance, or based in @nxadm's packages.
17:56 Geth ¦ doc:
17:56 Geth ¦ doc: This reduces test time (at least of the faster parallel build) by
17:56 Geth ¦ doc: <…commit message has 100 more lines…>
17:56 Geth ¦ doc: review: https://github.com/perl6/doc/commit/63b9d9c4ca
17:58 jmerelo As seen in the latest travis test, time reduced by one third https://travis-ci.org/JJ/doc/builds/366848152
18:00 moritz jmerelo++
18:08 jmerelo I'm kinda thinking now. We could use this to run everything in parallel. The test does two things: run t/* tests and also make htmlify. We don't need to do that sequentially.
18:08 AlexDaniel 15m vs 10m is a noticeable difference. jmerelo++
18:09 jmerelo AlexDaniel, moritz: basic thing is that everything is in this Docker container https://hub.docker.com/r/jjmerelo/perl6-doccer/
18:10 jmerelo I can move it to a perl6/ repo, if you don't feel comfortable with using an external repo.
18:11 |oLa| left #perl6
18:12 jmerelo That image is only 291 MBs, so downloading it is quite fast.
18:16 pecastro joined #perl6
18:33 jmerelo Very interesting reflection on packaging by Rebecca Turner in Twitter https://twitter.com/ReBeccaOrg/status/985402974364057600
18:33 jmerelo notable6: https://twitter.com/ReBeccaOrg/status/985402974364057600 On Perl 6 packaging, by Rebecca Turner in Twitter.
18:33 notable6 jmerelo, I cannot recognize this command. See wiki for some examples: https://github.com/perl6/whateverable/wiki/Notable
18:33 AlexDaniel try “weekly:”
18:34 jmerelo notable6: note: https://twitter.com/ReBeccaOrg/status/985402974364057600 On Perl 6 packaging, by Rebecca Turner in Twitter.
18:34 notable6 jmerelo, Noted!
18:34 AlexDaniel no that didn't work quite right…
18:34 AlexDaniel weekly: https://twitter.com/ReBeccaOrg/status/985402974364057600 On Perl 6 packaging, by Rebecca Turner in Twitter.
18:34 notable6 AlexDaniel, Noted!
18:34 AlexDaniel notable6: reset note:
18:34 notable6 AlexDaniel, Moved existing notes to “note:_2018-04-15T18:34:46Z”
18:35 jmerelo I don't know if that's notable or not, but 3 days ago we reached build 6K in the repository, by this commit by Zoffix https://travis-ci.org/perl6/doc/builds/365476874
18:43 wamba joined #perl6
18:43 AlexDaniel maybe when we reach 9000 commits in the doc repo (it will be over 9000!!!)
18:45 El_Che jmerelo: I not convinced that docker is the way to go. it still needs huge downloads
18:45 yoleaux 13 Apr 2018 22:37Z <Zoffix> El_Che: how did you figure p6lert-web service had its mem limit set near the VM limit? It's got 19GB of RAM and currently uses 1.8GB
18:45 El_Che Zoffix: by misreading the total ram size :)
18:46 El_Che jmerelo: I use docker for the portability (build and test on different OSes than Ubuntu 14.04)
18:53 tobs what's a good way to put this translation table into a sub ($degree --> Str): http://snowfence.umn.edu/Components/winddirectionanddegreeswithouttable3.htm
18:53 tobs I think I need a range type for Rat modulo 360
18:54 jmerelo AlexDaniel: not far from there :-)
18:54 tobs and then use given-when
18:55 jmerelo El_Che: c'mon, half a gig. Takes 13 seconds to download. We could maybe shave a few seconds there, but that's not going to be critical.
18:57 El_Che jmerelo: that's the alpine one
18:57 El_Che I don't think alpine is a good test best
18:57 El_Che too many edge case
18:57 El_Che too many times when stuff doesn't build right without workarounds
18:57 El_Che (I mean it's ok for doc)
18:58 El_Che what if extra packages are needed? weird deps?
18:58 jmerelo El_Che: I'm using it also for my modules, which are not in those edge cases. Still, using docker containers are a big improvement over compiling rakudo every single time.
18:58 El_Che docker for docs is ok, docker for regular travis testing is too much technical overhead
18:58 jmerelo El_Che: packages might be a good option, too.
18:59 El_Che jmerelo: *everything* an improvement than compiling
18:59 jmerelo El_Che: maybe submit it as an option, an alternative build environment. Call it perl6docker or somesuch
19:00 jnthn tobs: Well, could write it as something like `given $degree { when 11.25 .. 33.75 { 'NWE' } ... }` and a Range will smart-match to the values between the min and max. But the table is unclear what happens with a boundary value; I guess you'd want to use ..^ or ^.. to exclude the appropriate endpoint if it matters. The first line wraps around 0 but could just put it in `default { 'N' }`.
19:01 tobs jnthn: right, 'N' is the only one misbehaving. Thanks.
19:08 Herby_ joined #perl6
19:17 lichtkind joined #perl6
19:26 brrt joined #perl6
19:26 brrt hey #perl6. am i correct in thinking that all perl6 grammars construct (effectively) recursive-descent parsers?
19:33 moritz brrt: yes, unless you mix them with code that does something else
19:34 moritz brrt: like, you can also structure them as tokenizers, and let an operating precence parser structure them
19:34 brrt hmm
19:35 HaraldJoerg joined #perl6
19:35 brrt we could potentially optimize them to state machines then
19:35 aindilis joined #perl6
19:35 brrt at least the class of parsers that are simple enough
19:35 moritz the declarative part is already handled by an NFA
19:36 brrt oh, interesting
19:38 Kaiepi joined #perl6
19:39 moritz chapter 6 of P6R has more on that :-)
19:39 jnthn Effectively, you write as if it's recursive descent, but we then generate a lexer that means we don't have to go exploring all of the paths that one would with normal recursive descent.
19:41 brrt oh. hehe. that's pretty cool
19:41 brrt where can i order that book :-)
19:41 moritz https://smile.amazon.com/dp/1484232275/
19:41 moritz https://www.apress.com/us/book/9781484232279 has a DRM-free PDF
19:46 brrt thanks :-)
19:54 [Sno] joined #perl6
20:08 |Sno| joined #perl6
20:26 mryan50 joined #perl6
20:28 dct joined #perl6
20:33 timotimo i wonder if it makes sense at all to try to jit the nfa
20:35 timotimo probably not worth as much as passing already-parsed pieces down to "nested" nfas
20:51 Kaiepi joined #perl6
21:09 MasterDuke joined #perl6
21:13 HaraldJoerg1 joined #perl6
21:17 xq joined #perl6
21:28 Herby_ joined #perl6
21:30 Zoffix left #perl6
21:48 dct joined #perl6
21:53 rindolf joined #perl6
22:20 dct joined #perl6
22:26 lizmat joined #perl6
22:30 labster joined #perl6
23:16 lichtkind joined #perl6
23:31 HaraldJoerg1 left #perl6
23:55 Kaiepi joined #perl6
23:59 Herby_ o/

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo