Zoffix | Filed as rt.perl.org/Ticket/Display.html?id=132186 | 00:01 | |
BenGoldberg | m: my $a = :foo<bar>; my $b = :foo<bar>; .say for $a.WHERE, $b.WHERE; | 00:12 | |
camelia | 140432301836296 140432301836440 |
||
BenGoldberg | m: :foo<bar>.WHERE.say for 1..2 | 00:15 | |
camelia | 140243756639768 140243756649696 |
||
BenGoldberg | m: 42.WHERE.say for 1..2 | ||
camelia | 140332874332240 140332874332240 |
||
BenGoldberg | m: "perl".WHERE.say for 1..2 | 00:16 | |
camelia | 140147600526720 140147600526720 |
||
BenGoldberg | m: pi.WHERE.say for 1..2 | ||
camelia | 47915808 47915808 |
||
BenGoldberg blinks. | |||
Those don't looks like addresses. | 00:17 | ||
Zoffix | Man, I miss Geth | 00:19 | |
BenGoldberg was looking through the irc log, read lizmat's two commits, one changing QAST::SVal.new( :value<new> ) expressions with $new variables initialized outside the loop (to reduce memory consumption), then a second where $new variables were replaced with :name<new> expressions, and wondered whether such things as :name<new> were interned somehow, thus saving memory. | 00:22 | ||
BenGoldberg wonders how hard it would be for literal pairs to be memoized/interned. | 00:25 | ||
Zoffix | What does "interned" mean? | 00:27 | |
geekosaur | cached for quick lookup and memory reuse, basically. comes from lisp | 00:28 | |
Zoffix | Ah | 00:29 | |
geekosaur | in this case it would imply that the variable is being passed by name and instead of making a new container for each time it's passed, the existing one is pointed to instead | 00:30 | |
Zoffix | P6Bot: hello | 00:32 | |
P6Bot: hello | 00:33 | ||
something's broken with IRC::Client :\ don't wanna subscribe my plugins :\ | |||
and even examples no longer work :/ | 00:36 | ||
MasterDuke | hm, AlexDaniel had some trouble with committable6 earlier | 00:42 | |
AlexDaniel | that's probably not related | ||
what I'm seeing is that the bots refuse to be started by systemd for some reason | 00:43 | ||
but if I start them from ssh normally, then immediatelly they go up from systemd just fine | |||
it's some sort of permission issue and precomp, maybe | 00:44 | ||
or something. You see, now $HOME is no longer writable, only .precomp folder is | |||
so anything attempting to write a file anywhere is going to fail | |||
AlexDaniel actually has no idea what exactly precomp does | |||
bisectable6: uptime | 00:45 | ||
bisectable6 | AlexDaniel, 16 hours, 51 minutes, and 29 seconds, 313.628KB maxrss. This is Rakudo version 2017.09-27-gda5c36c13 built on MoarVM version 2017.09.1-7-geeb664ea6 implementing Perl 6.c. | ||
AlexDaniel | ↑ this is also a little bit outdated | 00:46 | |
Zoffix | AlexDaniel: are *ables run on latest rakudo/IRC::Client? | 00:50 | |
Having trouble even making this basic bot respond :S github.com/zoffixznet/perl6-IRC-Cl...ase-bot.p6 | |||
AlexDaniel | Identity: IRC::Client:ver<3.007003> | ||
Zoffix | yeah, that's latest :\ | 00:51 | |
wtf | |||
I'm not even seeing PRIVMSG show up :\ | |||
This is Rakudo version 2017.09-169-gb9c9853 | 00:52 | ||
AlexDaniel | .oO( immediately*… one day I'll learn to spell that right ) |
||
Zoffix | P6Bot: hello | 01:01 | |
P6Bot | Zoffix, Hello to you too! | ||
Zoffix | well shit, it's possible it's latest rakudos that bustified IRC::Client | 01:02 | |
nope. | 01:08 | ||
Something with my local box. Still broken on the same rakudo version that I got on perl6.party | |||
m: use nqp; nqp::getcomp('perl6').version | 01:09 | ||
camelia | This is Rakudo version 2017.09-169-gb9c98531c built on MoarVM version 2017.09.1-49-gb3dd812aa implementing Perl 6.c. |
||
Zoffix | oh, my downgrade didn't downgrade MoarVM | ||
MasterDuke | oh, btw, that io::socket::async IPv6 test fails on my machine also | ||
Zoffix | It no longer fails on my VM, though I didn't even attempt at fixing it | 01:10 | |
MasterDuke | it's fine on my laptop (mostly unmodified kubuntu 17.04), but fails on my desktop (arch linux with IPv6 disabled) | 01:11 | |
.tell eater some comments about the IPv6 io::socket::async test irclog.perlgeek.de/perl6-dev/2017-...i_15237813 | 01:18 | ||
yoleaux | MasterDuke: I'll pass your message to eater. | ||
Zoffix | Yup. Rakudo | 01:22 | |
works fine on 2017.09-23-g476741e, broken on 2017.09-169-gb9c98531c | 01:23 | ||
.tell AlexDaniel FWIW basic IRC::Client bot works fine on 2017.09-23-g476741e, but is broken on 2017.09-169-gb9c98531c. Events don't even show up in debug output. No errors and I'm suspecting they get lost in one of the async constructs that don't catch anything: github.com/zoffixznet/perl6-IRC-Cl...ase-bot.p6 | 01:24 | ||
yoleaux | Zoffix: I'll pass your message to AlexDaniel. | ||
AlexDaniel | . | ||
yoleaux | 01:24Z <Zoffix> AlexDaniel: FWIW basic IRC::Client bot works fine on 2017.09-23-g476741e, but is broken on 2017.09-169-gb9c98531c. Events don't even show up in debug output. No errors and I'm suspecting they get lost in one of the async constructs that don't catch anything: github.com/zoffixznet/perl6-IRC-Cl...ase-bot.p6 | ||
AlexDaniel | let's bisect it? | 01:25 | |
Zoffix has no idea how | |||
AlexDaniel | Zoffix: what happens on broken revisions? | ||
irc-to-me does not fire? | 01:26 | ||
Zoffix | AlexDaniel: PRIVMSG events don't show up in debug log (and no, they don't fire): broken gist.github.com/zoffixznet/38d4fb2...15a13f5bbc working (notice the PRIVMSG event shows up at the bottom): gist.github.com/zoffixznet/694aa5a...6030b6ed42 | 01:27 | |
AlexDaniel | something like this should work gist.github.com/AlexDaniel/4c1dbf4...6c2cfaa693 | 01:29 | |
I'll move to #zofbot to try it | |||
(yes, you'll have to talk to the bot when he comes up, about 10 times) | |||
but that's ok | |||
Geth_ | synopsebot: 39f0c93f46 | (Zoffix Znet)++ | bin/synopsebot.p6 Add #zofbot to channels |
01:55 | |
Zoffix | blah blah blah RT#132186 #131417 | 01:56 | |
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=132186 | ||
Link: rt.perl.org/rt3/Public/Bug/Display...?id=131417 | |||
synopsebot | RT#132186 02[new]: rt.perl.org/Ticket/Display.html?id=132186 last updated Fri, 29 Sep 2017 17:01:41 -0700: 02[REGEX][PRECOMP] "getlex: outer index out of range" with precomped `constant` Regex | ||
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=132186 | ||
synopsebot | RT#131417 04[rejected]: rt.perl.org/Ticket/Display.html?id=131417 last updated Fri, 14 Jul 2017 07:29:49 -0700: 02[BUG] Incorrect useless use warning in `so try await` | ||
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=131417 | ||
Zoffix | synopsebot6: shush | ||
AlexDaniel | Zoffix: fwiw these colors don't look very nice | 01:57 | |
Zoffix | ZofBot: phhhh! Humans | ||
ZofBot | Zoffix, So cur_frame->args might actually be the better place to look, as ncinvoke won't set up a new call frame and thus not initialize cur_frame->params.args | ||
Zoffix | They look awesome on my terminal | ||
i.imgur.com/UPrruty.png | 01:58 | ||
AlexDaniel | user-images.githubusercontent.com/...8a5951.png | 02:01 | |
m: error | 02:02 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: error used at line 1 |
||
AlexDaniel | e: error | ||
evalable6 | (exit code 1) 04===SORRY!04=== Error while compiling /tmp/qliXfAbLz_ Undeclared routine: error used at line 1 |
||
Zoffix | AlexDaniel: wtf | ||
u: 29 | |||
unicodable6 | Zoffix, U+00A0 NO-BREAK SPACE [Zs] ( ) | ||
Zoffix, U+0032 DIGIT TWO [Nd] (2) | |||
Zoffix, 4 characters in total ( 29 ): gist.github.com/126036329ffd0ca24b...a499935a5c | |||
Zoffix | Ahhh | ||
AlexDaniel | Zoffix: camelia is using nicer colors too | ||
that's OK, nevermind nbsp | 02:03 | ||
Geth_ | synopsebot: f0d9373c2f | (Zoffix Znet)++ | lib/SB/Plugin/RT.pm6 Tweakerize |
02:04 | |
Zoffix | blah blah blah RT#132186 #131417 | ||
synopsebot | RT#132186 [new]: rt.perl.org/Ticket/Display.html?id=132186 last updated Fri, 29 Sep 2017 17:01:41 -0700: [REGEX][PRECOMP] "getlex: outer index out of range" with precomped `constant` Regex | ||
RT#131417 [rejected]: rt.perl.org/Ticket/Display.html?id=131417 last updated Fri, 14 Jul 2017 07:29:49 -0700: [BUG] Incorrect useless use warning in `so try await` | |||
Zoffix | blah blah blah RT#132186 #131417 | ||
blah blah blah RT#132186 #131417 | 02:05 | ||
<3 | |||
MasterDuke | nice | ||
AlexDaniel | for some reason blue color looks horrible everywhere. That's a screenshot from Riot: user-images.githubusercontent.com/...5be19b.png | 02:07 | |
unicodable, what the crap was that? I appreciate your new ability to reconnect automatically, but can't you just stay online? | 02:09 | ||
unicodable6 | AlexDaniel, U+0077 LATIN SMALL LETTER W [Ll] (w) | ||
AlexDaniel, U+0068 LATIN SMALL LETTER H [Ll] (h) | |||
AlexDaniel, 113 characters in total: gist.github.com/31142d721cbad7e688...01f2a68f01 | |||
AlexDaniel | … | ||
MasterDuke: I know what's the problem with it!! | 02:10 | ||
MasterDuke: there's a .precomp file in lib/ folder | |||
so ReadWritePaths=/home/bisectable/git/whateverable/lib/.precomp | |||
that's it | |||
MasterDuke | good catch | 02:11 | |
Geth_ | synopsebot: b56a5ae89e | (Zoffix Znet)++ | 6 files Complete old synbot feature transfer - Fix Doclinks - Impl synopses linker - Add uptime/help/bostnack plugin |
03:02 | |
synopsebot: f09b220aa6 | (Zoffix Znet)++ | 3 files Make file layout closer to old bot So hopefully I won't have to change the service file |
03:06 | ||
Zoffix | rakudobrew@hack:~$ rakudobrew build-zef | 03:09 | |
Your branch is up-to-date with 'origin/master'. | |||
===> Testing: zef:ver<0.1.29>:auth<github:ugexe> | |||
MoarVM panic: use of invalid eventloop work item index -1 | |||
Failed running /home/rakudobrew/rakudobrew/bin/../moar-nom/install/bin/perl6 -Ilib bin/zef test . at /home/rakudobrew/rakudobrew/bin/rakudobrew line 58. | |||
main::run("/home/rakudobrew/rakudobrew/bin/../moar-nom/install/bin/perl6"...) called at /home/rakudobrew/rakudobrew/bin/rakudobrew line 548 | |||
main::build_zef() called at /home/rakudobrew/rakudobrew/bin/rakudobrew line 126 | |||
>_< | |||
holy crap... it's stil on 2017.01-206-gaac9efc | |||
Zoffix updates | 03:10 | ||
geth | ¦ doc: 8f9443c3ac | (Meow)++ (committed using GitHub Web editor) | doc/Language/5to6-perlfunc.pod6 | 03:48 | |
synopsebot | Link: doc.perl6.org/language/5to6-perlfunc | ||
Zoffix | S22:30 | 03:49 | |
synopsebot | Link: design.perl6.org/S22.html#line_30 | ||
Zoffix | RT#132186 #131417 RT132148 | ||
synopsebot | RT#132186 [new]: rt.perl.org/Ticket/Display.html?id=132186 [REGEX][PRECOMP] "getlex: outer index out of range" with precomped `constant` Regex last updated Fri, 29 Sep 2017 17:01:41 -0700 | ||
RT#131417 [rejected]: rt.perl.org/Ticket/Display.html?id=131417 [BUG] Incorrect useless use warning in `so try await` last updated Fri, 14 Jul 2017 07:29:49 -0700 | |||
RT#132148 [open]: rt.perl.org/Ticket/Display.html?id=132148 [RFC] native 'str' type unspecced, undocumented, and ill-defined last updated Thu, 28 Sep 2017 10:56:47 -0700 | 03:50 | ||
Zoffix | RT#132186 #131417 RT132148 | ||
Zoffix meow RT#132015 | |||
synopsebot | RT#132015 [new]: rt.perl.org/Ticket/Display.html?id=132015 [LTA] Backtraces for errors in EVAL print nonexistent paths (‘foo’.EVAL) last updated Fri, 01 Sep 2017 15:00:44 -0700 | ||
Zoffix | Perfect. | ||
Transformation complete. | |||
ZofBot: nice working with you | |||
ZofBot | Zoffix, "is assoc" Specifies the associativity of an operator explicitly | ||
Geth_ | synopsebot: 244db08dbb | (Zoffix Znet)++ | lib/SB/Plugin/RT.pm6 Remove "last updated" info from RT tickets Too much info and too little use for last updated |
03:52 | |
Zoffix meow RT#132015 | 03:53 | ||
synopsebot | RT#132015 [new]: rt.perl.org/Ticket/Display.html?id=132015 [LTA] Backtraces for errors in EVAL print nonexistent paths (‘foo’.EVAL) | ||
AlexDaniel | blah #130442 | ||
synopsebot | RT#130442 [new]: rt.perl.org/Ticket/Display.html?id=130442 [REGRESSION] [LTA] redo without a loop no longer prints the line number, also claims it is a compile-time error (redo) | ||
AlexDaniel | oh noes, I no longer have a favorite open ticket | 03:54 | |
nine | .tell Zoffix added your user to the camelia VM where geth is running | 04:18 | |
yoleaux | 29 Sep 2017 21:40Z <AlexDaniel> nine: Geth is down | ||
nine: I'll pass your message to Zoffix. | |||
29 Sep 2017 22:48Z <Zoffix> nine: would I have the option to getting keys to geth so I could restart it, or pull new changes to it, if needed? | |||
Geth | rakudo/nom: 415e9adb96 | (Tom Browder)++ | 9 files changes for Texas => ASCII |
07:53 | |
rakudo/nom: 9bbfed162b | lizmat++ (committed using GitHub Web editor) | 9 files Merge pull request #1176 from tbrowder/texas changes for Texas => ASCII |
|||
[Tux] | This is Rakudo version 2017.09-171-g9bbfed162 built on MoarVM version 2017.09.1-50-g3059ba28 | 09:10 | |
csv-ip5xs 1.318 - 1.329 | |||
test 9.816 - 9.902 | |||
test-t 3.198 - 3.251 | |||
csv-parser 12.367 - 12.640 | |||
lizmat | afk for rest of the day& | 09:53 | |
timotimo | buggable: speed 10 | 09:54 | |
buggable | timotimo, ▅↑█▆▃▂▁▁▂▁ dates: 2017-09-28–2017-09-30; range: 3.183s–4.010s; speed: 12% faster | ||
Geth_ | synopsebot: 895a6adf03 | (Zoffix Znet)++ | 2 files Reword %seen business |
11:16 | |
Geth | synopsebot: 895a6adf03 | (Zoffix Znet)++ | 2 files Reword %seen business |
11:17 | |
AlexDaniel | squashable6: status | 11:27 | |
squashable6 | AlexDaniel, Next SQUASHathon in 5 days and ≈22 hours (2017-10-07 UTC-12⌁UTC+14) | 11:28 | |
timotimo | releasable6: status | 11:31 | |
releasable6 | timotimo, Next release in 21 days and ≈7 hours. No blockers. Changelog for this release was not started yet | ||
timotimo, Details: gist.github.com/46a441880f2737503a...a4ed11633f | |||
Geth | roast: tbrowder++ created pull request #338: changes for Texas => ASCII |
11:38 | |
roast: 19a273a224 | (Tom Browder)++ (committed using GitHub Web editor) | 15 files changes for Texas => ASCII (#338) |
|||
Zoffix | This is weird: | 11:58 | |
m: with (Seq.new: class :: does Iterator { method pull-one { say "pull"; $++ < 3 ?? $++ !! IterationEnd } }.new,).map(|*).skip { .sink; .say } | |||
camelia | pull This Seq has already been iterated, and its values consumed (you might solve this by adding .cache on usages of the Seq, or by assigning the Seq into an array) in block <unit> at <tmp> line 1 pull pull pull |
||
Zoffix | How come the remaining 3 pulls are after the error? | ||
m: with (Seq.new: class :: does Iterator { method pull-one { say "pull"; $++ < 3 ?? $++ !! IterationEnd } }.new,).map(|*) { .iterator.sink-all; .perl.say } | 12:03 | ||
camelia | pull pull pull pull Seq.new-consumed() |
||
Zoffix | c: 2017.07 with (Seq.new: class :: does Iterator { method pull-one { say "pull"; $++ < 3 ?? $++ !! IterationEnd } }.new,).map(|*).skip { .sink; .say } | ||
committable6 | Zoffix, ¦2017.07: «pullpullpullpullThis Seq has already been iterated, and its values consumed(you might solve this by adding .cache on usages of the Seq, orby assigning the Seq into an array) in block <unit> at /tmp/SEq04fO07k line 1 «exit code = 1»» | ||
Zoffix | I guess something with buffering and STDERR/STDOUT | ||
.tell AlexDaniel (for release review): don't know if it's a problem or not, but noticed on HEAD this code consistently outputs 3 "pull"s after the error, while in the past all 4 "pulls" came before it: irclog.perlgeek.de/perl6-dev/2017-...i_15239023 | 12:05 | ||
yoleaux | Zoffix: I'll pass your message to AlexDaniel. | ||
Zoffix | .tell AlexDaniel nevermind. I need more coffee >_< one version does .skip and the other doesn't | 12:08 | |
yoleaux | Zoffix: I'll pass your message to AlexDaniel. | ||
Zoffix | Would be cool to have a bool version of `andthen` that aliases to $_ | 12:13 | |
Second time today finding myself wanting to do `$foo and return $foo` | |||
.oO( $foo andso .return ) |
|||
jnthn | .return if .so given $foo | 12:14 | |
Zoffix | Thanks | ||
Tried making a module, but no idea how to make thunks in userland github.com/zoffixznet/perl6-AndSo | |||
jnthn | Not quite as cute, but gets to one mention of $foo | ||
AlexDaniel | c: 2017.07 with (Seq.new: class :: does Iterator { method pull-one { note "pull"; $++ < 3 ?? $++ !! IterationEnd } }.new,).map(|*).skip { .sink; .say } | 12:15 | |
yoleaux | 12:05Z <Zoffix> AlexDaniel: (for release review): don't know if it's a problem or not, but noticed on HEAD this code consistently outputs 3 "pull"s after the error, while in the past all 4 "pulls" came before it: irclog.perlgeek.de/perl6-dev/2017-...i_15239023 | ||
committable6 | AlexDaniel, ¦2017.07: «pullpullpullpullThis Seq has already been iterated, and its values consumed(you might solve this by adding .cache on usages of the Seq, orby assigning the Seq into an array) in block <unit> at /tmp/LG_6wuI5A1 line 1 «exit code = 1»» | ||
yoleaux | 12:08Z <Zoffix> AlexDaniel: nevermind. I need more coffee >_< one version does .skip and the other doesn't | ||
AlexDaniel | c: 2017.07,HEAD with (Seq.new: class :: does Iterator { method pull-one { note "pull"; $++ < 3 ?? $++ !! IterationEnd } }.new,).map(|*).skip { .sink; .say } | ||
committable6 | AlexDaniel, gist.github.com/c3c03a20aaab432b06...34e7d1f787 | ||
AlexDaniel | Zoffix: Isn't it just that the stdout/stderr merging happens a little bit differently (which is ok)? gist.github.com/Whateverable/d0651...1c2b7f87a8 | 12:17 | |
either way coffee that is | |||
Zoffix | No, the output is the same with same code. I just mistakenly used different code | 12:18 | |
AlexDaniel | ah right, you said it. Should backlog till the end before writing any of my stupid answers :D | ||
Zoffix | :) | ||
AlexDaniel | and yea, I did already bisect it to 4b02b8aadcb47… :) | 12:19 | |
ah, that's in the gist even… OK, more coffee for me please /o\ | 12:20 | ||
thinking about it, bisectable does not pretend to be a TTY so it will give a different result than what most people will see in their terminal :S | 12:44 | ||
Zoffix calls dibs on RT132109 | 12:45 | ||
synopsebot | RT#132109 [open]: rt.perl.org/Ticket/Display.html?id=132109 [BUG] `.skip` on a sequence starting with a `Slip`, returns a corrupted `Seq` | ||
Zoffix | Already fixed it, but the bug exists in half a dozen other cases and I need to hunt them down and write tests, but gotta $do-other-things first | ||
will push in 5hr | 12:46 | ||
Zoffix & | |||
AlexDaniel | (v6.d prep?) | ||
.oO* | |||
Zoffix | ? | ||
AlexDaniel | Zoffix: just kidding, but I thought you were in v6.d-prep mode | ||
Zoffix | Well, it stalled since I found out there's currently no way to find caller's version and I don't think I know enough to fix that | 12:47 | |
github.com/perl6/6.d-prep/blob/mas...s-language | |||
I guess not quite stalled. There's still 1000+ roast commits to review :D | 13:19 | ||
m: (<a b c>, <d e>).map(-> $a, $b {|$_}).iterator.^name.say | 14:03 | ||
camelia | Any::IterateTwoWithoutPhasers | ||
Zoffix | m: (<a b c>, <d e>).map(-> $a, $b {NEXT $++; |$_}).iterator.^name.say | ||
camelia | Any::IterateMoreWithPhasers | ||
Zoffix | oh, disregard. I thought there was a TwoWithPhasers | 14:04 | |
yoleaux | Zoffix: make separate t/spectest.data for each language version, bruh | 14:06 | |
Zoffix | yoleaux: already done, bruh | ||
Geth | rakudo/nom: 41896b7bbf | (Zoffix Znet)++ | src/core/Any-iterable-methods.pm Fix .push-all/.skip-all on SlippyIterators Fixes RT#132109: rt.perl.org/Ticket/Display.html?id=132109 The implemented methods forget to check whether we're currently $!slipping, which causes loss of all the remaining elements in the currently slipping Slip. Fix by add ing a check for $!slipping and doing self.skip-one and pushing (or skipping) those values before we go into the main loop of pulling more from the source iterator. |
15:23 | |
timotimo | good catch | 15:24 | |
Zoffix | <synopsebot> RT#132109 [open]: rt.perl.org/Ticket/Display.html?id=132109 [BUG] `.skip` on a sequence starting with a `Slip`, returns a corrupted `Seq` | ||
timotimo | why didn't synopsebot write that? | ||
Zoffix | 'cause I tested whether the semicolon works in #zofbot first and the %seen check is currently broken in that it doesn't consider the channel where the RT was seen :P | ||
timotimo | ah | 15:25 | |
Geth | roast: 2e23965fa1 | (Zoffix Znet)++ | S32-list/skip.t Test SlippyIterators correctly .push-all/.skip-all RT#132109: rt.perl.org/Ticket/Display.html?id=132109 Rakudo fix: github.com/rakudo/rakudo/commit/41896b7bbf |
||
timotimo | i wonder if synopsebot should even still be called synopsebot. when did we last use it to link to the design docs? | 15:26 | |
quotable6: synopsebot.*design.perl6.org | |||
that's not how that bot works? | |||
Zoffix | quotable6: help | 15:27 | |
quotable6 | Zoffix, Like this: quotable6: /^ ‘bisect: ’ / # See wiki for more examples: github.com/perl6/whateverable/wiki/Quotable | ||
timotimo, gist.github.com/83b13b98f160c95882...37a3a428d9 | |||
Zoffix | quotable6: /synopsebot.*design.perl6.org/ | ||
Oh, it did respond | 15:28 | ||
quotable6 | Zoffix, gist.github.com/a69cb8c2e97b475c22...9f3bce5fb1 | 15:29 | |
timotimo | hah | ||
S99:foo | |||
synopsebot | Link: design.perl6.org/S99.html#foo | ||
timotimo | it does give links to design.perl6.org now, but it doesn't seem like it did that in a long time | 15:30 | |
wait ... it never did that? | |||
quotable6: synopsebot.*perlcabal | |||
Geth | synopsebot: 03acd9f59a | (Zoffix Znet)++ | lib/SB/Plugin/RT.pm6 Make RT seen-er see per-channel |
||
Zoffix | timotimo: pretty sure I copied the text it gives from the old guts | 15:31 | |
quotable6 | timotimo, gist.github.com/79e59ab3826865e8ea...9794d6017d | ||
timotimo | that's not the problem :) | 15:32 | |
Zoffix | RT#132109 | ||
synopsebot | RT#132109 [resolved]: rt.perl.org/Ticket/Display.html?id=132109 [BUG] `.skip` on a sequence starting with a `Slip`, returns a corrupted `Seq` | ||
timotimo | i'm just wondering, with the synopses not being as interesting any more ... | ||
Zoffix | RT#132109 | ||
k, works correctly now | |||
timotimo | i think we should remove the debug output for when a class fails to get a generated BUILDALL | 15:39 | |
Geth | rakudo/nom: 4d0ead240a | (Timo Paulssen)++ | src/Perl6/Metamodel/ClassHOW.nqp don't output when add_method for BUILDALL fails. |
15:40 | |
timotimo | i triggered it with zef, but that's probably because my zef still has its own BUILDALL | ||
m: class test { submethod BUILDALL { } } | |||
camelia | ( no output ) | ||
timotimo | m: class test { method BUILDALL { } } | ||
camelia | ( no output ) | ||
timotimo | m: class test { method BUILDALL(|) { } } | ||
camelia | ( no output ) | ||
timotimo | m: class test { submethod BUILDALL(|) { } } | ||
camelia | ( no output ) | ||
timotimo | hmm | ||
m: class test { has $.foo; submethod BUILDALL(|) { } } | 15:41 | ||
camelia | test failed to add a BUILDALL | ||
timotimo | there it is | ||
something bad is happening in Data::Dump::Tree where rakudo gets confused parsing the pod in the beginning of the file | 15:49 | ||
in all files actually | 15:50 | ||
well, multiple files anyway | 15:51 | ||
nine | Odd. I now got it to compile optimized function bodies for native calls at CHECK time but when I load a precompiled Inline::Perl5, they are not there ($!optimized-body of the Routine) anymore and it compiles again. | 16:02 | |
Ah, I probably need to do something with the deserialize_ast | 16:03 | ||
AlexDaniel | err yeah quotable doesn't really include the nickname of the sender | 16:13 | |
also no timestamp and no channel :( | |||
ugexe | should i be able to use $*USAGE outside of a MAIN block? e.g. to modify the usage output shown when a bad command is entered | 16:19 | |
`perl6 -e '$*USAGE.subst(/Usage/, "Foosage"); sub MAIN(Int $a) { }' 1` doesn't work for instance | 16:20 | ||
`multi sub MAIN(Int $a) { }; multi sub MAIN(|) { say $*USAGE.subst(/Usage/, "Foosage"); };` works I guess | 16:33 | ||
Zoffix | ugexe: no, it's dynamically scoped to sub MAIN and sub USAGE. | 16:43 | |
(more accurately: to MAIN_HELPER that then invokes MAIN or USAGE) | 16:49 | ||
AlexDaniel | evalable6 is on the strike :S | 17:08 | |
timotimo | who's on first? | 17:10 | |
uh oh | 17:15 | ||
nativecall arrays.t crashed in one of the travis jobs | |||
quotable6: ZOFFLOP | 17:16 | ||
quotable6 | timotimo, gist.github.com/9ba33f043ccc6fcf52...015a48d5f2 | 17:17 | |
nine | Odd again is that finish_code_object doesn't need to do anything in the deserialize_ast | 17:21 | |
timotimo: any error message? | 17:22 | ||
timotimo | looks like it crashes, but there was no output because prove wasn't told to output anything | ||
hm. perhaps we should do something like "make test or make test VERBOSE=1" so that if the test fails it'll run again but with output? | |||
Zoffix | why not run it verbose from the start? | 17:24 | |
timotimo | hm, let's see how much output it is | ||
Zoffix | Oh, you weren't talking about travis. Neveermind... | ||
timotimo | well, VERBOSE=1 isn't the right one | 17:25 | |
it's a bunch of output, but not gigantic | 17:28 | ||
and --verbosity=1 is not compatible with any --jobs but 1 | |||
oh no, the timezone on this shellhost is ... not what i was expecting | |||
Zoffix | There'll be a bunch more output soon. There's a swath of tests that isn't running ATM. I meant it would be nice to enable verbose output by default on travis so that it'd showed what the failure was | 17:29 | |
timo | praise be the /upgrade command in weechat | 17:30 | |
Zoffix | "Upgrade done (0.58 seconds)" that was too fast :/ | 17:31 | |
"WeeChat 1.0.1" ... is that the latest version? | 17:32 | ||
guess not, since timotimo is on 1.9 :P | |||
timotimo | oh, /upgrade is just so it execs itself but keeps buffers and stuff around | 17:33 | |
Zoffix | AH | 17:34 | |
timotimo | i used it after setting the TZ env var from inside weechat with "/set env ..." | ||
AlexDaniel | timotimo: fwiw I don't think it's the latest version (so it does not show the most recent flops) | 17:36 | |
I'll work on it now | |||
timotimo | latest version of the irc logs? | 17:37 | |
AlexDaniel | yea | 17:38 | |
timotimo | i didn't know we version our logs :) | 17:46 | |
AlexDaniel | … I do :) When talking about quotable there are two versions: “outdated” and “up-to-date” | 17:48 | |
.oO( we will get quotable with up-to-date logs on Christmas, I just don't know which one ) |
17:50 | ||
timotimo | oh no ... you didn't put question marks before and after those words, right? | 17:51 | |
is something in my weechat-to-terminal chain broken again? >_> | |||
AlexDaniel | timotimo: no, these are curly quotes | 17:52 | |
timotimo | oh, did i have to set LC_ALL ... | 17:53 | |
AlexDaniel | lol, it probably renders ¿ the wrong way too :D | ||
yoleaux | Zoffix: so, what's happening with $?USAGE? | 18:40 | |
Zoffix | yoleaux: it's completed. Now known as $*USAGE | ||
nine | Ha! The else block in src/NQP/World.nqp:353 is dead code. There hasn't been a replacecoderef op since parrot went away. | 18:43 | |
BenGoldberg | m: dd $*USAGE | 19:06 | |
camelia | Failure.new(exception => X::Dynamic::NotFound.new(name => "\$*USAGE"), backtrace => Backtrace.new) | ||
Zoffix | It's dynamically scoped to sub MAIN and sub USAGE. | 19:07 | |
m: sub MAIN($x, $y, $z) {}; sub USAGE { $*USAGE.flip.say } | 19:08 | ||
camelia | >z< >y< >x< odFq23jB6O-elif-toblave/pmt/ :egasU |
||
Geth | synopsebot: 18e6b39407 | (Zoffix Znet)++ | META6.json Add missing modules to META |
19:45 | |
synopsebot: 8b893d6153 | (Zoffix Znet)++ | 5 files Seen-protect doclinks and synlinks too |
19:52 | ||
synopsebot: 21379e6d42 | (Zoffix Znet)++ | lib/SB/Plugin/RT.pm6 Remove dead code |
19:55 | ||
synopsebot: 5531a83267 | (Zoffix Znet)++ | META6.json Fix meta module path |
20:05 | ||
sjn | is there a way to make MAIN accept a string as the first argument (e.g. "multi MAIN ("save", Str :$filename) { ... }" )? | 20:46 | |
...in such a way that one can run that script in a similar way that git works? (e.g. "myprogram save --filename=foo") | 20:48 | ||
Zoffix | AFAIK named params have to come before positioonals. There's a stale PR implementing the git-way | 20:50 | |
sjn tries to find that PR | 21:02 | ||
github.com/rakudo/rakudo/pull/688 | 21:03 | ||
Zoffix | Wonder what sort of exception to make for runtime errors with `**` quantier, like this one: | 21:06 | |
m: say "foo" ~~ /. ** { "a" .. "c" }/ | |||
camelia | Cannot convert string to number: base-10 number must begin with valid digits or '.' in '3⏏5a' (indicated by ⏏) in block <unit> at <tmp> line 1 |
||
Zoffix | All the `Regex` errors are subclasses of X::Syntax, but this doesn't seem to be about syntax, but rather about runtime value | ||
m: try "3".parse-base: 42; $!.^name.say | 21:07 | ||
camelia | X::Syntax::Number::RadixOutOfRange | ||
Zoffix | This one is syntax too .... though maybe that's just also a poor exception type | 21:08 | |
timotimo | we do have a variable that lets you configure the argument parser and you can tell it to allow named arguments anywhere, i.e. also after positionals | 21:09 | |
Zoffix | oh right | 21:10 | |
m: @*ARGS = <foo --meow=42>; (my %*SUB-MAIN-OPTS)<named-anywhere> := 1; sub MAIN("foo", :$meow) { dd $meow } | 21:11 | ||
camelia | IntStr $meow = IntStr.new(42, "42") | ||
Zoffix | sjn: ^ | ||
sjn | Zoffix: thanks. I'd prefer that the literal string would be allowed by default, though. | 21:21 | |
sjn thinks that PR is still worth fixing and accepting | |||
AlexDaniel hears “core rakudo regression” and is ready to bisect | 21:22 | ||
Zoffix | sjn: would be worth find it out why it wasn't allowed originally | 21:23 | |
s/find it/finding/; | 21:24 | ||
sjn would guess it's because of "this was the way to do things when the spec was written" | |||
Zoffix would guess the <named-anywhere> has ambiguities the current way doesn't | 21:26 | ||
sjn | ETOOMUCHBENDINGOVERBACKWARDS | 21:27 | |
geekosaur | that can go both ways; sometimes things get punted to the ecosystem because supporting them in core is too much bending over backwards | 21:36 | |
Zoffix | well, it *is* currently supported in core :D | 21:37 | |
AlexDaniel | Zoffix: fwiw gist.github.com/Whateverable/b38da...23de648cca | ||
Zoffix | m: say q|(my %*SUB-MAIN-OPTS)<named-anywhere> = 1|.chars | ||
camelia | 40 | ||
Zoffix | half a line of code to enable it | ||
geekosaur | or, otherwise put: do you want your perl script to take over a minute to start because there's a half-sentient arg parser in play instead of a simple/works for most uses one? | ||
sjn doesn't mind a smart arg parser (and consequently, a smart usage text generator) | 21:38 | ||
if it ever should gain sentienence, we have other problems. :) | 21:39 | ||
Zoffix | AlexDaniel: so it does fail on 2017.09? | ||
AlexDaniel | Zoffix: fails everywhere. The string that it is attempting to test is “IO::Path::ChildSecure is a builtin type, not an external module\n in block <unit> at -e line 13\n\n” | 21:40 | |
what does it mean? | |||
Zoffix | sjn: but the problem geekosaur pointed out is performance, not sentience :P | ||
AlexDaniel: ohh | |||
AlexDaniel: this rt.perl.org/Ticket/Display.html?id...et-history | 21:41 | ||
Oh wait | |||
well, I was gonna say the bot's restricted | 21:42 | ||
But don't see anything obvious in module that'd block it | |||
m: with '/tmp/ZZZ777'.IO.mkdir { .add("Foo.pm6").spurt: "unit class IO::Path::Foo;" } | 21:43 | ||
camelia | ( no output ) | ||
AlexDaniel | it's not restricted anyway | ||
buuut some paths are not writable, yeah | 21:44 | ||
Zoffix | m: with '/tmp/ZZZ777/IO/Path/'.IO.mkdir { .add("Foo.pm6").spurt: "unit class IO::Path::Foo;" } | ||
camelia | ( no output ) | ||
Zoffix | m: use lib </tmp/ZZZ777/>; use IO::Path::Foo | ||
camelia | ( no output ) | ||
Zoffix | m: use lib </tmp/ZZZ777/>; use IO::Path::Foo; IO::Path::Foo.new | ||
camelia | ( no output ) | ||
Zoffix | No idea | 21:45 | |
Zoffix & | |||
AlexDaniel | .oO( bisectable for python can be called pysectable ) |
21:58 | |
.oO( “?.oO( … )” ? ) |
22:00 | ||
huggable: clog | 22:01 | ||
huggable | AlexDaniel, nothing found | ||
AlexDaniel | huggable: irclog | ||
huggable | AlexDaniel, nothing found | ||
AlexDaniel | huggable: log | ||
huggable | AlexDaniel, Comes out 2.41x faster than core .log10 and can handle Ints larger than 1.8e308: gist.github.com/zoffixznet/2539e8b...43e173fe8f | ||
AlexDaniel | huggable: irc log | ||
huggable | AlexDaniel, nothing found |