»ö« 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.
buggable 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 6 ballots submitted by 6 users! DRUM ROLL PLEASE!... 00:00
And the winning number is 14! Congratulations to jast! You win a roll of duck tape!
Geth doc: 1038e87562 | (Tom Browder)++ | doc/Language/tables.pod6
use non-breaking spaces
doc: dba00e4572 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/tables.pod6
Merge pull request #1694 from tbrowder/table-talk

use non-breaking spaces
synopsebot Link: doc.perl6.org/language/tables
Zoffix Way to go, jast :)
What time is it?
Iiiiiiiiiiiiiiiitttt'ssss 2017 ADVENT TIME \o/ \o/ 00:01
00:01 Cabanossi left
Zoffix Perl 6 2017 Advent Day 1 post: "The Grinch of Perl 6: A Practical Guide to Ruining Christmas": perl6advent.wordpress.com/2017/12/...christmas/ 00:01
00:03 Cabanossi joined 00:04 Herby_ joined
Herby_ o/ 00:04
Zoffix \o 00:05
Zoffix calls it a day 00:10
00:10 Zoffix left
Slayerk m: my @n; my $ns := 1, 2 ... 20; loop (my $i = 1; $i < 100000; $i++) { if $i %% $nns[^20].all { @n.push($i); }}say @n 00:12
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable '$nns' is not declared. Did you mean '$ns'?
at <tmp>:1
------> 3= 1; $i < 100000; $i++) { if $i %% 7⏏5$nns[^20].all { @n.push($i); }}say @
Slayerk Oops
m: my @n; my $ns := 1, 2 ... 20; loop (my $i = 1; $i < 100000; $i++) {if $i %% $ns[^20].all { @n.push($i); }}say @n; 00:13
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3$i %% $ns[^20].all { @n.push($i); }}7⏏5say @n;
Slayerk m: my @n; my $ns := 1, 2 ... 20; loop (my $i = 1; $i < 100000; $i++) {if $i %% $ns[^20].all { @n.push($i); }} say @n; 00:14
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3$i %% $ns[^20].all { @n.push($i); }}7⏏5 say @n;
geekosaur if you're putting it all on one line like that, you need more semicolons 00:15
} at the end of a line (or before another }) inserts a semicolon for you
Slayerk Okay, maybe 4th time lucky
geekosaur also, if you're just noodling around (or testing before presenting code to ask a question), consider: /query camelia 00:16
Slayerk Ah, thanks :P 00:17
00:19 robertle_ left 00:20 nadim left
Slayerk Is there a way to estimate how long some code should take to execute? 00:22
00:25 lookatme joined
lookatme o/ 00:25
Herby_ lookatme: o/
lookatme haha 00:26
00:26 Ven`` left 00:29 Ven`` joined 00:30 margeas left
Herby_ For those that don't know: Advent of Code kicks off in 4.5 hours! 00:31
adventofcode.com/ 00:32
a fun series of programming puzzles
speaking of advent, I'm excited to read the first perl 6 advent calendar topic 00:33
lookatme That site is about Perl6 ? 00:35
captain-adequate Looks cool. 00:37
Herby_ lookatme: nope, people solve the puzzles with all sorts of programming languages
I participated last year, was a lot of fun 00:38
lookatme Oh
Herby_ there is a subreddit for it where people post solutions: www.reddit.com/r/adventofcode/
00:41 pentashift left, char_var[buffer] left 00:42 Slayerk left, kerframil left 00:43 astronavt joined 00:46 char_var[buffer] joined 00:47 astronavt left 00:48 jast left, jast joined 00:52 aborazmeh joined, aborazmeh left, aborazmeh joined, troys is now known as troys_
Geth ecosystem: a965a84ebc | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
Add Proxee.pm6 to ecosystem

  "A more usable Proxy with bells":
  - Easy Coercer Proxies
  - Simplified interface for a regular Proxy
  - Ability to use automatic storage
00:57 mson joined 00:59 evalable6 joined 01:00 astj joined, lizmat joined 01:01 jast left 01:04 BenGoldberg joined, donaldh left 01:05 cdg joined 01:06 jast joined, pi2 left, konsolebox left, donaldh joined 01:08 konsolebox joined 01:09 ivans left, ivans joined, cdg_ left, cdg left 01:10 reportable6 left, reportable6 joined, ChanServ sets mode: +v reportable6 01:12 Ven`` left 01:13 pi2 joined 01:16 Ven`` joined 01:24 cdg joined, llfourn left 01:28 cdg left 01:30 espadrine left 01:34 eliasr left 01:37 jast left, jast joined, dayangkun left 01:43 astronavt joined 01:48 cdg joined, astronavt left
captain-adequate Yay... My advent calendar just arrived. 01:49
01:53 cdg left 01:56 jast left, jast joined 02:01 Cabanossi left 02:03 Cabanossi joined 02:04 st_elmo left 02:07 ivans_ joined, Ven`` left, ivans left 02:12 Morfent left, Guest98560 left 02:13 perlbot left 02:14 bhm left 02:20 ilogger2_ joined 02:23 TEttinger joined 02:24 zakharyas joined 02:26 ccakes joined 02:27 astj joined, noganex joined, krunen joined 02:30 konsolebox joined 02:44 astronavt joined 02:48 Cabanossi joined 02:49 astronavt left 02:50 jeromelanteri joined 02:55 dayangkun joined 02:56 dayangkun left 02:57 ilbot3 joined, ChanServ sets mode: +v ilbot3 02:59 itaipu joined 03:00 dayangkun joined 03:02 cdg joined, ufobat_ joined 03:03 dayangkun left
SmokeMachine m: gist.github.com/FCO/5283312f055b28...990a7a4f25 03:05
camelia ===SORRY!===
Could not find Grammar::Tracer at line 1 in:
SmokeMachine m: gist.github.com/FCO/5283312f055b28...990a7a4f25 03:06
camelia ===SORRY!===
Something went wrong in (NoMatch)
SmokeMachine it works if its not a slang... any idea why it doesn't when its a slang?
03:07 cdg left
SmokeMachine m: gist.github.com/FCO/b184fd90cf8913...025890c820 03:08
camelia 「<head>bla<br /><form>bla: <input /></form></head>」
p6x-xml => 「<head>bla<br /><form>bla: <input /></form></head>」
p6x-tag => 「<head>bla<br /><form>bla: <input /></form></head>」
p6x-open-close-tag => 「<head>bla<br /><form>bla…
03:11 cdg joined
lookatme Can not access gist :( 03:16
03:25 Ven`` joined
SmokeMachine www.irccloud.com/pastebin/UKBXgzyk 03:29
Or pasted.co/b3b83f3e 03:30
lookatme First one ok
03:32 kerframil joined
lookatme The code looks awesome 03:32
03:37 itaipu left 03:40 Herby__ joined 03:41 mson joined 03:44 reportable6 joined, ChanServ sets mode: +v reportable6, Ven`` left 03:45 astronavt joined, Cabanossi left 03:48 Cabanossi joined 03:50 astronavt left 04:03 char_var[buffer] joined 04:08 cpage_ joined 04:15 Cabanossi left 04:17 Cabanossi joined 04:21 jast joined 04:22 Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg
Herby__ in python, you can have a something be: self.string = None 04:25
what is 'None' in perl 6?
04:27 cdg left 04:28 cdg joined, jast left 04:31 jast joined 04:32 cdg left 04:33 mcmillhj joined 04:35 aborazmeh joined, aborazmeh left, aborazmeh joined 04:36 jeromelanteri left
geekosaur Str 04:37
that is, it's a type object
(Any should also work)
Herby__ geekosaur: thanks
i'm looking at some python code that looks like: self._part(name, [], None, clean)
geekosaur m: my Str $a = 'foo'; $a = Str; dd $a 04:38
camelia Str $a = Str
Herby__ so in p6, it might look like: self!part($name, (), Any, $clean) ?
geekosaur generally we prefer the most specific typed undefined applicable
so it depends
(since types help the compiler catch mistakes) 04:39
Herby__ gotcha
geekosaur m: my Str $a = 'foo'; $a = Any; dd $a
camelia Type check failed in assignment to $a; expected Str but got Any (Any)
in block <unit> at <tmp> line 1
geekosaur right, didn;t think it would do that
although in that context (only) Nil also works... but it's not general; for a variable, it means "set to whatever was specified by 'is default' trait, or the type's default if none" 04:40
Herby__ geekosaur: thank you. one more basic question. passing an empty anonymous list as an argument? 04:42
self._part(name, [], None, clean)
geekosaur that .. depends. I'm still a bit confused by promotion and when Array works for List 04:43
04:45 aborazmeh left 04:46 aborazmeh joined, astronavt joined, aborazmeh left, aborazmeh joined
Herby__ Do you futz with functional programming much? 04:48
geekosaur uh. I'm one of the maintainers of xmonad
Herby__ I'm a rookie and I have a hard time with writing OO
geekosaur (tiling window manager written in Haskell) 04:49
Herby__ ahh
you familiar at all with python?
geekosaur not very
I can read it, haven't written very much
Herby__ I'd like to convert this (relatively) simple python library to Perl 6. But i stumble with OO
lookatme just like me :)
Herby__ vague question, but could I tackle that with FP? 04:50
FP in perl6
04:50 astronavt left
geekosaur honestly? if I'm parsing in perl 6 I'd write a Grammar, rather than doing it manually 04:54
tony-o FP ? 04:55
lookatme Hmm, seems like it is a parser
Functional Programming
tony-o ah 04:56
you could write that parser in a grammar or with fp (i wouldn't write oo for _that_ one in particular) 04:57
lookatme github.com/araraloren/perl6-getopt...arser.t#L6 A simple grammar 04:58
Herby__ I did try my hand at a basic grammar for it: pastebin.com/zmiEnNBE 05:00
ignore the line numbering
lookatme So grammar is OO style ?
Oh, you parse a torrent file ? 05:01
05:01 Cabanossi left
geekosaur it's sort of modified OO, but your 'methods' are perl 6's extended regex syntax 05:01
token, rule, etc.
tony-o grammar is, kind of, a more sophisticated regex
Herby__ grammars seem to have a steep learning curve to do anything useful. for rookies at least 05:02
geekosaur kinda got sucked into a support issue elsewhere, sorry
tony-o and you don't _need_ the actions bit in that file
05:02 Cabanossi joined
Herby__ if you're in the mood for solving puzzles, adventOfCode just went live: adventofcode.com/2017/day/1 05:04
gonna use p6 this year
tony-o just finished making pp6 tar work 05:05
can read tar files from git
lookatme great
05:07 Herby__ left 05:10 reportable6 left, reportable6 joined 05:16 dayangkun joined 05:18 aborazmeh left 05:27 BenGoldberg left 05:28 Nex6 joined 05:29 Nex6 left, Cabanossi left 05:32 Cabanossi joined 05:43 mcmillhj left 05:45 aborazmeh joined, aborazmeh left, aborazmeh joined 05:47 astronavt joined 05:49 llfourn joined 05:50 aborazmeh left 05:51 mson left, astronavt left 06:06 someuser joined 06:08 konsolebox left 06:09 dayangkun left 06:13 konsolebox joined
moritz Zoffix++ # perl6advent.wordpress.com/ 06:14
lookatme moritz++ 06:21
I got the first star :) adventofcode.com 06:23
ideone.com/iUhPA0 06:25
06:31 Actualeyes joined 06:33 dayangkun joined 06:38 dayangkun left 06:40 jast left 06:44 geospeck joined 06:45 Cabanossi left 06:47 Cabanossi joined, dayangkun joined, astronavt joined 06:48 jast joined, geospeck left 06:52 astronavt left
Herby_ lookatme: ++! 06:59
07:00 dayangkun left 07:04 dayangkun joined
squashable6 Webhook for rakudo/rakudo is now active! Non-blocking is better than blocking. 07:05
AlexDaniel squashable6: next 07:06
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈2 hours (2017-12-02 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Webhook for perl6/roast is now active! Approachable is better than simple. 07:08
07:10 darutoko joined
AlexDaniel rakudo and roast repos tracked just in case 07:10
07:12 domidumont joined 07:13 abraxxa joined 07:16 abraxxa1 joined 07:17 geospeck joined, abraxxa left 07:18 domidumont left, abraxxa1 left, domidumont joined, abraxxa joined 07:19 abraxxa left 07:22 wamba joined, abraxxa joined 07:23 sena_kun joined 07:26 abraxxa left 07:31 jast left 07:33 jast joined 07:34 rindolf joined
lookatme I complete the first day : ideone.com/TX1lqB 07:37
07:39 abraxxa joined 07:42 pentashift joined 07:48 astronavt joined 07:53 astronavt left 08:00 Cabanossi left 08:01 Ven`` joined 08:02 ivans joined, Cabanossi joined 08:08 dayangkun left 08:20 jast left 08:21 jast joined 08:23 dayangkun joined 08:24 sena_kun left 08:28 Ven` joined, Ven`` left 08:31 Ven` left 08:39 geospeck left, geospeck joined 08:40 geospeck left 08:48 patrickz joined 08:49 astronavt joined 08:53 astronavt left 08:57 Ven`` joined, konsolebox left 08:58 patrickz left, patrickz joined, konsolebox joined 08:59 wamba left, patrickz left 09:00 lizmat joined 09:01 zakharyas left 09:07 llfourn left
anop Is there perl6 projects for BigData ? 09:11
09:11 zakharyas joined
Ulti anop: nothing specific that I know of, if you mean things like bindings to Spark etc. 09:12
anop yes 09:13
Ulti which would be an interesting place for the JVM implementation to go
09:16 konsolebox left 09:18 konsolebox joined, piojo joined 09:19 lizmat left
buggable New CPAN upload: Wikidata-API-0.0.3.tar.gz by JMERELO cpan.metacpan.org/authors/id/J/JM/...0.3.tar.gz 09:23
piojo I just noticed type restraints aren't working when precompiled. Is this known, or should I file a bug? 09:25
m: sub test(--> Array[Pair]) { return my Pair @pairs; }; test
camelia ( no output )
piojo But if you put that in Test.pm6 and run it, with perl6 -I. -MTest -e 'Test::test', it says Type check failed for return value; expected Array[Pair] but got Array[Pair].new() 09:26
I guess being parameterized, this case doesn't get as much testing as the more common types. 09:27
Maybe it only fails for Array[Pair]. Array[Int] works fine. 09:28
09:28 nadim joined 09:30 konsolebox left 09:31 konsolebox joined
teatime is it like Pair([]) 09:33
or something 09:34
09:35 patrickz joined 09:39 Ven`` left 09:40 piojo1 joined
piojo1 teatime: when I print the type with .WHAT, the type is Array[Pair] 09:40
And it's the same result if I return Array[Pair].new. 09:41
09:41 piojo left 09:42 scimon joined 09:48 jast left 09:50 astronavt joined 09:53 wamba joined 09:55 astronavt left 09:57 robertle joined 09:58 wamba left 10:04 wamba joined 10:05 dayangkun left 10:06 eliasr joined 10:07 mscha joined, piojo joined
mscha m: say 'abcdef'.comb.rotate(3); # Do I really need to ... 10:07
camelia No such method 'rotate' for invocant of type 'Seq'
in block <unit> at <tmp> line 1
mscha m: say 'abcdef'.comb.List.rotate(3); # ... spell it out? 10:08
camelia (d e f a b c)
10:09 piojo1 left
piojo m: 'abcdef'.comb.cache.rotate(3); 10:12
camelia ( no output )
piojo mscha: because Seq is conceptually not list-like. It's more like an iterator. But you can cache the values and treat it as a list after that. 10:13
10:16 wamba left, zakharyas left 10:24 wander joined
mscha m: say (1,2,3,4,5) / 2; # this is fine, but ... 10:25
camelia 2.5
mscha m: say (1,2,3,4,5) div 2; # ..; this isn't. A bit inconsistent? 10:26
camelia Cannot resolve caller infix:<div>(List, Int); none of these signatures match:
(Int:D \a, Int:D \b)
(int $a, int $b --> int)
in block <unit> at <tmp> line 1
10:31 araraloren joined, TEttinger left, lizmat joined
wander rt#124609 10:32
synopsebot RT#124609 [new]: rt.perl.org/Ticket/Display.html?id=124609 Roast rakudo skip/todo test:./S02-magicals/VM.t line:45 reason: 'no VM.signature yet'
wander it said we don't have $*VM.signature 10:33
then I reach here↓
so what it $*VM.signature should be?
same as $*VM.properties mentioned by rt#124606 10:34
synopsebot RT#124606 [new]: rt.perl.org/Ticket/Display.html?id=124606 Roast rakudo skip/todo test:./S02-magicals/VM.t line:7 reason: 'VM.properties does not exist' 10:35
10:37 Ven`` joined 10:42 Ven`` left 10:51 astronavt joined 10:52 cschwenz joined
wander AlexDaniel: rt#125488 could not be reproduced, maybe it was fixed 10:53
synopsebot RT#125488 [new]: rt.perl.org/Ticket/Display.html?id=125488 Some phaser blorsts don't see outer $_ 10:54
wander with perl6 -v as "This is Rakudo version 2017.11-44-g4a32089fd built on MoarVM version 2017.11-20-gd23f5ca1 implementing Perl 6.c."
10:55 astronavt left 10:56 cschwenz left 10:58 Ven`` joined 11:01 Cabanossi left 11:02 itaipu joined, Cabanossi joined 11:03 lizmat left
SmokeMachine Now there’s more people online, somebody could help me? This grammar works, but when I make it a slang, it breaks... does anyone now why? 11:23
11:24 margeas joined
SmokeMachine m: gist.github.com/FCO/b184fd90cf8913...025890c820 11:24
camelia 「<head>bla<br /><form>bla: <input /></form></head>」
p6x-xml => 「<head>bla<br /><form>bla: <input /></form></head>」
p6x-tag => 「<head>bla<br /><form>bla: <input /></form></head>」
p6x-open-close-tag => 「<head>bla<br /><form>bla…
SmokeMachine m: gist.github.com/FCO/5283312f055b28...990a7a4f25 11:25
camelia ===SORRY!===
Something went wrong in (NoMatch)
11:25 Ven`` left
DrForr Oh, we finally have official slang code, neat. Maybe that'll be my new post... 11:25
The first thing I'd do is encourage you to file a bug, there's no line/file info with the SORRY error. 11:28
11:28 cdg joined
SmokeMachine DrForr: I think you are right! 11:29
11:30 mscha left
timotimo SmokeMachine: it could be the difference between rakudo's ws and the default ws 11:33
scimon github.com/Scimon/p6-Game-Sudoku So here's my holiday work in progress. It's near a point where I might release it. I want to get a solver done (for at least simple solutions) and then look at possibly a puzzle creator.
11:33 cdg left
SmokeMachine Another information: when I change the order of the p6x-tags, it changes the error (but the grammar works the same way...) 11:34
araraloren :) 11:36
scimon This morning I was having a conversation with one of the dev managers and he said "Why do you like Perl6 so much?" that took a while.
teatime (wildly off-topic:) 1) i.imgur.com/blEwPfJ.png 2) i.imgur.com/TZLSRNM.png ⇠ Trying out an open-source parametric 3d modeling / cad program. how cool is that. 11:37
SmokeMachine m: gist.github.com/FCO/53427981f39d32...6da46daaad 11:38
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in p6x-unique-tag; couldn't find final '/>' (corresponding starter was at line 60)
at <tmp>:60
------> 3<head7⏏5>
moritz teatime: nice!
teatime wtb perl6 spreadsheet / something that combined spreadsheet & literate programming
DrForr teatime: I've had a background idea about a parser/builder for LCAD (LEGO CAD) for a long time.
SmokeMachine That totally different error occurred just because I changed the order of the p6x-tag 11:41
11:42 wamba joined
DrForr At least that time the line number got in :) 11:44
SmokeMachine Yes...
11:46 notbenh joined
SmokeMachine I already tried to make it a comment:sym<p6x>, a term:sym<p6x> and a statement_control:sym<p6x>... all with the same error... 11:46
timotimo SmokeMachine: have you tried --rxtrace?
SmokeMachine timotimo: No! I didn’t know that exists... what does that do? 11:47
timotimo it's an extremely simplistic tool to trace rakudo's stage parse 11:49
SmokeMachine (I’m on my phone now... I can’t try it just now... :(
11:51 astronavt joined
wander moritz: your ticket rt#76744 performs quite differently now, plz check when you're free 11:55
synopsebot RT#76744 [open]: rt.perl.org/Ticket/Display.html?id=76744 [TODO] implement :dba adverbs in regexes
wander I'm not sure what ':dba' acts 11:56
11:56 astronavt left
moritz m: '(abc' ~~ /'(' ~ ')' .*/ 12:03
camelia ( no output )
wander m: '(abc)' ~~ /'(' ~ ')' .*/ 12:04
camelia ( no output )
wander m: say '(abc)' ~~ /'(' ~ ')' .*/
camelia 「(abc)」
wander m: say '(abc)' ~~ /:dba('foo') '(' ~ ')' .*/ 12:05
moritz m: grammar A { token TOP { :dba('parenthesis') \( ~ \) .* }; method FAILGOAL($goal) { die $goal } }; A.parse('(abc'))
camelia Nil
5===SORRY!5=== Error while compiling <tmp>
Unexpected closing bracket
at <tmp>:1
------> 3($goal) { die $goal } }; A.parse('(abc')7⏏5)
moritz m: grammar A { token TOP { :dba('parenthesis') \( ~ \) .* }; method FAILGOAL($goal) { die $goal } }; A.parse('(abc')
camelia ( no output )
moritz the error is still the same: :dba(...) makes ~ not work
wander m: say '(abc)' ~~ /:dba('foo') '(' ~ ')' .*/ # seems even break normal matching
camelia Nil
moritz it's just that the default behavior of ~ switched from "throw an exception" to "call FAILGOAL" 12:06
m: grammar A { token TOP { \( ~ \) .* }; method FAILGOAL($goal) { die $goal } }; A.parse('(abc')
camelia \)
in method FAILGOAL at <tmp> line 1
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
moritz (dba stands for "do business as", and is supposed to set the current rule name for use in error messages) 12:07
wander m: say 'abc' ~~ /:dba('foo') abc/
camelia Nil
wander m: say 'abc' ~~ / abc/
camelia 「abc」
wander is this normal? ':dba' is used for error messages, but it looks like even break a trivial matching 12:08
moritz it is not normals. Hence my bug report. 12:09
wander see.
12:09 rp-- joined
jnthn I'm not totally sure we ever implemented :dba in Rakudo 12:09
It's certainly in NQP, 'cus we use it for a load of error reporting :) 12:10
moritz jnthn: I'm not sure either, but if it wasn't, at least it was silently ignored instead of f-ing up matches
wander lizmat: your ticket rt#125488 could not be reproduced, maybe it was fixed 12:15
synopsebot RT#125488 [new]: rt.perl.org/Ticket/Display.html?id=125488 Some phaser blorsts don't see outer $_
wander m: for ^2 { NEXT .say }
camelia 0
wander m: for ^10 { LAST .say } 12:16
camelia 9
moritz write tests, close? :-)
AlexDaniel wander: any chance you can send that as a reply to the ticket? (so that the info is not lost)
wander I'm not familiar with rt system, let me try(maybe spend some time) 12:17
AlexDaniel wander: here's how to do that without an account: github.com/rakudo/rakudo/wiki/Raku...-a-comment
wander got it. 12:18
moritz: where do you think that the test should be? S04-phasers? 12:19
moritz wander: yes, sounds good
AlexDaniel wander: as for when it was fixed, here's what can be tried 12:21
6c: for ^2 { NEXT .say } 12:22
committable6 AlexDaniel, gist.github.com/c52d9b13c9660c4f19...d61cdd2ead
AlexDaniel bisect: for ^2 { NEXT .say }
bisectable6 AlexDaniel, Bisecting by exit code (old=2015.12 new=f78fd7c). Old exit code: 1
AlexDaniel, bisect log: gist.github.com/d6196ac9ab8a00f0da...2b3b59c0e2
AlexDaniel, (2016-08-03) github.com/rakudo/rakudo/commit/5e...b2b9ba3a30
AlexDaniel c: 5e61516a3fd^,5e61516a3fd for ^2 { NEXT .say } 12:23
committable6 AlexDaniel, ¦5e61516a3fd^: «Cannot call method 'say' on a null object␤ in block <unit> at /tmp/aF0nV9Cmus line 1␤␤ «exit code = 1»» ¦5e61516: «0␤1␤»
AlexDaniel wander: yeah. ↑ 12:24
wander thanks
12:25 wamba left
AlexDaniel squashable6: status 12:26
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈23 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/822bdcff2e0e5e2ee3...7262cd04dd
AlexDaniel squashable6 will not announce updates on RT, but I hope we can live with that :)
AlexDaniel leaves for ≈5 hours 12:27
12:27 rp-- left 12:29 rp-- joined 12:32 ihabhussein joined 12:33 ihabhussein left 12:34 ihabhussein joined 12:37 abraxxa left 12:41 araraloren_ joined, MarufCetin joined 12:42 MarufCetin left 12:44 rp-- left, araraloren left 12:46 cdg joined 12:47 rp-- joined 12:48 pentashift left, pentashift joined 12:50 ihabhussein left, ihabhussein joined, cdg left
squashable6 🍕🍕🍕 First contribution by W4anD0eR96++! ♥ 12:51
12:52 astronavt joined 12:54 pentashift left 12:55 pentashift joined
squashable6 🍕 W4anD0eR96++ opened pull request “Test for RT #125488”: github.com/perl6/roast/pull/362 12:56
synopsebot RT#125488 [new]: rt.perl.org/Ticket/Display.html?id=125488 Some phaser blorsts don't see outer $_
12:57 astronavt left 12:58 sena_kun joined, ufobat_ left 13:02 telex joined
wander bisect: enum Color (<red green purple> Z=> 1,2,4); 13:09
bisectable6 wander, On both starting points (old=2015.12 new=f78fd7c) the exit code is 0 and the output is identical as well
wander, Output on both points: «»
wander c: a3869a^, a3869a enum Color (<red green purple> Z=> 1,2,4); 13:11
committable6 wander, ¦a3869a^,a3869a: «No build for this commit»
timotimo maybe no space allowed in between?
13:12 AlexDaniel joined 13:13 AlexDaniel left
wander c: a3869a^,a3869a enum Color (<red green purple> Z=> 1,2,4); 13:15
committable6 wander, ¦a3869a^,a3869a: «No build for this commit»
SmokeMachine timotimo: gist.github.com/FCO/992c0d2bf548e2...fcc0b6f871 13:17
timotimo wow, that is gigantic 13:18
13:18 geospeck joined 13:21 ihabhussein left 13:22 geospeck left
squashable6 🍕 W4anD0eR96++ wrote a comment on commit 1fbabe9b5757: github.com/perl6/roast/commit/1fba...t-25981254 13:24
13:25 geospeck joined 13:31 mson joined
wander I try to write a e-mail with title '[perl #125488]' to [email@hidden.address] but it seems got lost 13:34
I don't know why
SmokeMachine timotimo: yes... it is... :( 13:35
AlexDaniel` You have to wait a little bit I think 13:36
wander: have you tried creating an account? Might be worth it 13:37
wander quite a while :P 13:38
13:39 wamba joined
squashable6 🍕🍕🍕 First contribution by timo++! ♥ 13:41
AlexDaniel` wander: what do you mean?
13:42 ufobat_ joined
wander I sent that e-mail 30 minutes ago 13:42
moritz there's a manual approval process for mails from senders that haven't been seen before 13:43
wander and I'm afraid if I write in the wrong format :P
squashable6 🍕 tbrowder++ synchronize pull request “add new tests for fix to rakudo repo issue #1282”: github.com/perl6/roast/pull/361 13:44
🍕🍕🍕 First contribution by tbrowder++! ♥
AlexDaniel` Sometimes emails to rt are just lost... 13:45
13:48 cdg joined
moritz news.ycombinator.com/item?id=15822649 # p6advent discussion on HN 13:49
13:50 wamba left
AlexDaniel` moritz: oh gosh :D 13:52
timotimo oh, phlogistique, i know that person 13:53
AlexDaniel` Well guess they are not going to like my perl6 golf post
timotimo if it's the same person
13:53 astronavt joined
moritz still, the post is ranked #5 right now 13:53
perlpilot TIL about nextcallee (even though it's been there for 2 years, I don't think I've encountered it before) 13:57
13:58 astronavt left 14:00 Cabanossi left 14:02 Cabanossi joined 14:04 raiph joined, rp-- left 14:06 AlexDaniel joined
squashable6 🍕 AlexDaniel++ wrote a comment on “Test for RT #125488”: github.com/perl6/roast/pull/362#is...-348503849 14:10
🍕🍕🍕 First contribution by AlexDaniel++! ♥
synopsebot RT#125488 [new]: rt.perl.org/Ticket/Display.html?id=125488 Some phaser blorsts don't see outer $_
squashable6 🍕 W4anD0eR96++ wrote a comment on “Test for RT #125488”: github.com/perl6/roast/pull/362#is...-348504945 14:14
🍕 AlexDaniel++ wrote a comment on “Test for RT #125488”: github.com/perl6/roast/pull/362#is...-348505128 14:15
14:16 ufobat_ left 14:18 geospeck left, geospeck joined, geospeck left
squashable6 🍕 W4anD0eR96++ synchronize pull request “Test for RT #125488”: github.com/perl6/roast/pull/362 14:23
synopsebot RT#125488 [new]: rt.perl.org/Ticket/Display.html?id=125488 Some phaser blorsts don't see outer $_
squashable6 🍕 W4anD0eR96++ merged pull request “Test for RT #125488”: github.com/perl6/roast/pull/362 14:24
AlexDaniel wander: can you also include a test for FIRST, LEAVE, PRE, UNDO, KEEP? 14:26
what you've done is enough to close the ticket, but not enough to prevent regressions from happening :) 14:27
wander aha, you're right 14:28
14:32 sena_kun left 14:37 rp-- joined
wander AlexDaniel: 14:38
m: for ^10 { KEEP .say ; 42 }
camelia WARNINGS for <tmp>:
Useless use of constant integer 42 in sink context (line 1)
wander shouldn't it `say 42` 10 times? 14:39
we have doc "For phasers such as KEEP and POST that are run when exiting a scope normally, the return value (if any) from that scope is available as the current topic within the phaser."
AlexDaniel ha…
timotimo yeah, that should probably give you 42 there, and maybe not warn about sink context
AlexDaniel the sink context is right 14:40
m: say (for ^10 { KEEP .say ; 42 })
camelia 0
(42 42 42 42 42 42 42 42 42 42)
timotimo shouldn't having a keep phaser change that?
moritz no 14:41
timotimo OK
moritz at least, I don't think so :-)
KEEP is for successful scope exits, no?
timotimo yes
AlexDaniel 6c: say (for ^10 { KEEP .say ; 42 }) 14:42
committable6 AlexDaniel, ¦6c (25 commits): «0␤1␤2␤3␤4␤5␤6␤7␤8␤9␤(42 42 42 42 42 42 42 42 42 42)␤» 14:43
AlexDaniel c: all say (for ^10 { KEEP .say ; 42 })
committable6 AlexDaniel, gist.github.com/43ce73f89c022479b9...53a83e6227
14:43 rp-- left 14:49 mcmillhj joined 14:51 stmuk joined 14:54 astronavt joined
AlexDaniel m: enum RT116719 (<red green purple> Z=> 1,2,4); dd RT116719.enums 14:55
camelia Map.new((:green(2),:purple(4),:red(1)))
synopsebot RT#116719 [open]: rt.perl.org/Ticket/Display.html?id=116719 [BUG] Internal error message on Z=> in enum declaration in Rakudo
AlexDaniel bisect: old=HEAD~50 enum RT116719 (<red green purple> Z=> 1,2,4); dd RT116719.enums
bisectable6 AlexDaniel, Bisecting by output (old=HEAD~50 new=5929887) because on both starting points the exit code is 0
AlexDaniel, bisect log: gist.github.com/a8b354f8e35060af38...5e703f86ab
AlexDaniel, (2017-11-27) github.com/rakudo/rakudo/commit/d9...de44c5e0db
AlexDaniel c: d9021cf16e^,d9021cf16e enum RT116719 (<red green purple> Z=> 1,2,4); dd RT116719.enums 14:56
committable6 AlexDaniel, ¦d9021cf16e^: «Map.new(("green\t2" => 1,"purple\t4" => 2,"red\t1" => 0))␤» ¦d9021cf: «Map.new((:green(2),:purple(4),:red(1)))␤»
14:58 astronavt left 14:59 philomath joined
Herby_ o/ 15:01
15:04 mniip joined 15:05 nhywyll joined, philomath left
AlexDaniel wander: rt.perl.org/Ticket/Display.html?id...xn-1511945 15:06
timotimo: “maybe no space allowed in between?” spaces are allowed :) 15:07
it said “No build for this commit” because it's a commit from 2013 15:08
and the first release of rakudo on moar is 2014.01
in theory bisectable can be improved to be able to bisect rakudo-parrot, but should I really spend my time on that? :P
that'd be really fun tho 15:09
Geth doc: 964e169d6d | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/regexes.pod6
try another fix for the table
synopsebot Link: doc.perl6.org/language/regexes
squashable6 🍕 zoffixznet++ opened issue “[6.d BLOCKER] Implement …”: github.com/rakudo/rakudo/issues/1289 15:10
🍕🍕🍕 First contribution by zoffixznet++! ♥
🍕 zoffixznet++ edited issue “[6.d BLOCKER] Implement …”: github.com/rakudo/rakudo/issues/1289 15:12
🍕 zoffixznet++ edited issue “[6.d BLOCKER] Implement …”: github.com/rakudo/rakudo/issues/1289 15:13
🍕 AlexDaniel++ opened issue “KEEP does not set $_ to the return value”: github.com/rakudo/rakudo/issues/1290 15:14
AlexDaniel wander: rt.perl.org/Ticket/Display.html?id...xn-1511951 15:15
wander++ :)
15:17 comborico1611 joined 15:18 wamba joined
Herby_ AlexDaniel: for the squishathon, is there an easy way to identify low-hanging fruit for newbies? 15:18
AlexDaniel Herby_: it depends. The idea behind this particular squashathon this month is about MOLD tickets: fail.rakudo.party/t/MOLD 15:19
Herby_: there are some docs on github.com/rakudo/rakudo/wiki/MOLD...QUASHathon
Herby_ Ah ok 15:20
AlexDaniel Herby_: basically if you find a ticket in that list, and you can still reproduce the issue, than you leave a comment and that's a good enough contribution :)
Herby_: that's probably low-hanging enough
Herby_ sounds doable :)
15:20 Ven`` joined
AlexDaniel then* 15:20
squashable6 🍕 zoffixznet++ edited issue “[6.d BLOCKER] Implement …”: github.com/rakudo/rakudo/issues/1289 15:24
15:24 domidumont left 15:30 AlexDaniel left
Geth doc: bac6a7112c | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/regexes.pod6
add escapes back
synopsebot Link: doc.perl6.org/language/regexes
15:39 nhywyll is now known as natrys 15:41 mson left 15:47 pmurias joined 15:48 natrys left, nhywyll joined
pmurias AlexDaniel`: why do a Perl 6 golf post? 15:49
15:49 nhywyll left 15:50 Ven`` left, natrys joined 15:52 domidumont joined 15:53 domidumont left, Zoffix joined
[Coke] because it's fun? 15:54
Zoffix pmurias: why do any post? :) Golf post is good. It'll let people glance at readable concice Perl 6 code.
15:54 astronavt joined
Zoffix ZofBot: concice is conciser 15:55
ZofBot Zoffix, right, but even the error message implies something strange
DrForr And fan the flames over people gleefully pointing out the proof that P6 is even more write-only on the HN article. (not that I truly care about such things...) 15:56
15:57 domidumont joined, jast joined
Zoffix DrForr: "even more write-only" than what? 15:58
DrForr 5, natch.
Zoffix DrForr: but it isn't. Why would anyone point it out? 15:59
15:59 astronavt left
[Coke] Wy does any troll. 16:00