»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, std:, or /msg camelia p6: ... | irclog: irc.perl6.org | UTF-8 is our friend!
Set by masak on 12 May 2015.
00:00 fhelmberger left, fhelmberger joined 00:01 fhelmberger left, fhelmberger joined 00:02 tinyblak left, fhelmberger left, fhelmberger joined 00:03 fhelmberger left 00:04 fhelmberger joined, fhelmberger left, fhelmberger joined 00:05 fhelmberger left 00:06 fhelmberger joined, fhelmberger left 00:07 fhelmberger joined, fhelmberger left
skids Uladox: to do that, send a PR to the "perl6/ecosystem" module that adds the base URL to META.list. That PR will provide a place for any feedback during the process of addng the module. 00:07
00:08 fhelmberger joined, fhelmberger left 00:09 fhelmberger joined, fhelmberger left 00:10 fhelmberger joined 00:11 fhelmberger left, Uladox left, fhelmberger joined, fhelmberger left 00:12 Uladox joined, fhelmberger joined
Uladox Ok, back. Added pull request, thanks 00:12
00:13 fhelmberger left, fhelmberger joined 00:14 fhelmberger left, fhelmberger joined 00:15 fhelmberger left, fhelmberger joined 00:16 fhelmberger left, fhelmberger joined 00:17 fhelmberger left, fhelmberger joined 00:18 fhelmberger left, fhelmberger joined 00:19 fhelmberger left, fhelmberger joined 00:20 fhelmberger left, fhelmberger joined 00:21 fhelmberger left, fhelmberger joined 00:22 fhelmberger left, fhelmberger joined 00:23 fhelmberger left 00:24 fhelmberger joined, fhelmberger left 00:25 fhelmberger joined, fhelmberger left 00:26 fhelmberger joined, BenGoldberg joined, tinyblak joined, fhelmberger left 00:27 fhelmberger joined, fhelmberger left 00:28 fhelmberger joined 00:29 fhelmberger left, fhelmberger joined, fhelmberger left 00:30 fhelmberger joined, fhelmberger left 00:31 fhelmberger joined, CurtisOvidPoe left 00:32 fhelmberger left, fhelmberger joined 00:33 fhelmberger left, fhelmberger joined, aborazmeh joined 00:34 aborazmeh left, aborazmeh joined, fhelmberger left, Uladox left, fhelmberger joined 00:35 fhelmberger left, fhelmberger joined 00:36 fhelmberger left, fhelmberger joined 00:37 fhelmberger left, fhelmberger joined 00:38 fhelmberger left, fhelmberger joined 00:39 fhelmberger left, fhelmberger joined 00:40 fhelmberger left, fhelmberger joined 00:41 fhelmberger left, fhelmberger joined 00:42 fhelmberger left 00:43 fhelmberger joined, fhelmberger left 00:44 fhelmberger joined, fhelmberger left 00:45 fhelmberger joined, fhelmberger left 00:46 fhelmberger joined, fhelmberger left 00:47 fhelmberger joined, laouji joined, fhelmberger left 00:48 fhelmberger joined, fhelmberger left 00:49 fhelmberger joined, fhelmberger left 00:50 fhelmberger joined 00:51 fhelmberger left, fhelmberger joined 00:52 fhelmberger left, fhelmberger joined 00:53 fhelmberger left, fhelmberger joined 00:54 fhelmberger left, fhelmberger joined 00:55 fhelmberger left, fhelmberger joined 00:56 fhelmberger left, fhelmberger joined 00:57 fhelmberger left, llfourn joined, fhelmberger joined
skids wonders when pmichaud's talk will stop being a "live stream" which won't play, even though it is under "uploads" 00:57
00:58 fhelmberger left, fhelmberger joined 00:59 fhelmberger left, fhelmberger joined 01:00 fhelmberger left, fhelmberger joined 01:01 fhelmberger left, fhelmberger joined 01:02 fhelmberger left, llfourn left, fhelmberger joined 01:03 fhelmberger left 01:04 fhelmberger joined, fhelmberger left, fhelmberger joined 01:05 fhelmberger left 01:06 fhelmberger joined, fhelmberger left
geekosaur considering how often I see that happen with supposed professionals doing it... 01:06
01:07 fhelmberger joined, fhelmberger left 01:08 fhelmberger joined, fhelmberger left 01:09 fhelmberger joined, fhelmberger left, petercom1and left, petercom1and joined 01:10 fhelmberger joined, petercom1and is now known as petercommand, fhelmberger left 01:11 fhelmberger joined, fhelmberger left 01:12 fhelmberger joined 01:13 fhelmberger left, fhelmberger joined 01:14 fhelmberger left, fhelmberger joined 01:15 fhelmberger left, fhelmberger joined 01:16 fhelmberger left, fhelmberger joined 01:17 fhelmberger left, fhelmberger joined 01:18 fhelmberger left, gagalicious left, fhelmberger joined 01:19 fhelmberger left, fhelmberger joined 01:20 fhelmberger left, fhelmberger joined 01:21 fhelmberger left, fhelmberger joined 01:22 fhelmberger left, gagalicious joined, fhelmberger joined 01:23 fhelmberger left, fhelmberger joined 01:24 spider-mario left, fhelmberger left, yqt left 01:25 fhelmberger joined
gagalicious sorry discon 01:25
why doesnt this work ... <meta name="description" content="Reliable and affordable my $d_sAT = $p->look_down( _tag => 'meta', 'name' => 'description' ); print $d_sAT->as_text; <-- using HTML::TreeBuilder;
01:25 fhelmberger left, spider-mario joined
gagalicious wow... this fhelmberger<--- this guy should be banned 01:25
01:26 fhelmberger joined
geekosaur forward ban to ##fixyourconnection would seem a good idea 01:26
01:26 fhelmberger left 01:27 fhelmberger joined, Petit_Dejeuner joined, Petit_Dejeuner left, fhelmberger left
gagalicious just ban it will be best 01:27
01:27 Petit_Dejeuner joined
gagalicious can someone ban that guy pls... it's very annoying 01:27
01:28 fhelmberger joined, fhelmberger left 01:29 fhelmberger joined, fhelmberger left 01:30 fhelmberger joined 01:31 fhelmberger left, fhelmberger joined 01:32 fhelmberger left, atweiden left, fhelmberger joined 01:33 fhelmberger left, fhelmberger joined 01:34 fhelmberger left, fhelmberger joined 01:35 fhelmberger left, fhelmberger joined 01:36 fhelmberger left, fhelmberger joined 01:37 fhelmberger left, fhelmberger joined 01:38 fhelmberger left, fhelmberger joined 01:39 fhelmberger left, fhelmberger joined 01:40 fhelmberger left, fhelmberger joined 01:41 fhelmberger left, fhelmberger joined 01:42 fhelmberger left, fhelmberger joined
flussence "/ignore #perl6 JOINS PARTS QUITS" works almost as well as the nuclear option... 01:43
tadzik Or weechat smartfilter
01:43 fhelmberger left 01:44 fhelmberger joined
tadzik It only shows those events.for people who also spoke in a small interval from the event 01:44
01:44 fhelmberger left 01:45 fhelmberger joined, fhelmberger left 01:46 fhelmberger joined 01:47 fhelmberger left, fhelmberger joined, fhelmberger left 01:48 fhelmberger joined, fhelmberger left 01:49 fhelmberger joined 01:50 fhelmberger left, fhelmberger joined, [Sno] left 01:51 fhelmberger left, fhelmberger joined 01:52 fhelmberger left, [Sno] joined, fhelmberger joined 01:53 fhelmberger left, fhelmberger joined 01:54 fhelmberger left, fhelmberger joined 01:55 fhelmberger left, fhelmberger joined 01:56 fhelmberger left, fhelmberger joined 01:57 fhelmberger left, fhelmberger joined 01:58 fhelmberger left, fhelmberger joined 01:59 fhelmberger left, fhelmberger joined, dayangkun joined 02:00 fhelmberger left, fhelmberger joined 02:01 fhelmberger left, fhelmberger joined 02:02 fhelmberger left
dalek kudo-star-daily: 954ec25 | coke++ | log/ (2 files):
today (automated commit)
02:02
02:02 llfourn joined
dalek rl6-roast-data: c8f6ed0 | coke++ | / (9 files):
today (automated commit)
02:02
02:02 fhelmberger joined 02:03 fhelmberger left 02:04 fhelmberger joined, fhelmberger left 02:05 fhelmberger joined, fhelmberger left 02:06 fhelmberger joined, fhelmberger left 02:07 fhelmberger joined, fhelmberger left 02:08 fhelmberger joined, fhelmberger left 02:09 fhelmberger joined, fhelmberger left 02:10 fhelmberger joined, fhelmberger left 02:11 fhelmberger joined, fhelmberger left 02:12 kurahaupo1 joined, fhelmberger joined 02:13 fhelmberger left, fhelmberger joined 02:14 fhelmberger left, fhelmberger joined 02:15 fhelmberger left, fhelmberger joined 02:16 fhelmberger left, fhelmberger joined 02:17 fhelmberger left, fhelmberger joined 02:18 fhelmberger left, fhelmberger joined, prevost joined 02:19 fhelmberger left, fhelmberger joined 02:20 fhelmberger left, fhelmberger joined 02:21 fhelmberger left 02:22 fhelmberger joined, fhelmberger left 02:23 fhelmberger joined, fhelmberger left 02:24 fhelmberger joined, fhelmberger left 02:25 fhelmberger joined, fhelmberger left 02:26 fhelmberger joined, fhelmberger left 02:27 fhelmberger joined
Util gagalicious: It fails because the META tag has no content; nothing inbetween <META></META>, because META closes itself. 02:27
02:27 fhelmberger left 02:28 fhelmberger joined
Util It does have an attribute, that is (confusingly) called "content", but that has nothing to do with the HTML concept of Content between tag pairs. 02:28
02:28 fhelmberger left 02:29 fhelmberger joined, fhelmberger left 02:30 fhelmberger joined
Util Try: 02:30
print $d_sAT->attr('content');
02:31 fhelmberger left, noganex_ joined, fhelmberger joined
Util (although, $d_sAT is no longer a appropriate name for that var) 02:31
02:32 fhelmberger left, fhelmberger joined 02:33 fhelmberger left, fhelmberger joined 02:34 fhelmberger left, noganex left, fhelmberger joined 02:35 fhelmberger left, rmgk is now known as Guest45938, rmgk_ joined, Guest45938 left, rmgk_ is now known as rmgk, fhelmberger joined 02:36 fhelmberger left, fhelmberger joined 02:37 fhelmberger left, fhelmberger joined 02:38 fhelmberger left, fhelmberger joined 02:39 fhelmberger left, fhelmberger joined 02:40 fhelmberger left 02:41 fhelmberger joined, fhelmberger left 02:42 fhelmberger joined, fhelmberger left 02:43 fhelmberger joined, fhelmberger left 02:44 fhelmberger joined
dalek osystem: 6d3122c | 'Uladox++ | META.list:
Adds Editsrc::Uggedit to META.list

Adds the Editsrc::Uggedit module to the module list. The module is, "The obvious in-source Perl6 based solution to avoid repetion in modifing text by using embedded code with your languages of choice, or just scanning using a perl6 module."
02:44
osystem: cd4614c | (David Warring)++ | META.list:
Merge pull request #47 from Uladox/master

Adds Editsrc::Uggedit to META.list
02:44 fhelmberger left 02:45 fhelmberger joined, fhelmberger left 02:46 fhelmberger joined, fhelmberger left 02:47 fhelmberger joined 02:48 fhelmberger left, fhelmberger joined 02:49 fhelmberger left, fhelmberger joined 02:50 fhelmberger left, fhelmberger joined, prevost left 02:51 fhelmberger left, fhelmberger joined 02:52 fhelmberger left, fhelmberger joined 02:53 fhelmberger left, fhelmberger joined 02:54 fhelmberger left, fhelmberger joined 02:55 fhelmberger left, fhelmberger joined 02:56 fhelmberger left, fhelmberger joined 02:57 SevenWolf left, fhelmberger left, fhelmberger joined 02:58 fhelmberger left, fhelmberger joined 02:59 fhelmberger left, fhelmberger joined 03:00 fhelmberger left 03:01 fhelmberger joined, fhelmberger left 03:02 fhelmberger joined, fhelmberger left 03:03 fhelmberger joined, fhelmberger left 03:04 fhelmberger joined 03:05 fhelmberger left, fhelmberger joined, fhelmberger left 03:06 fernando___ left, fhelmberger joined 03:07 fhelmberger left, fhelmberger joined, Spot__ left, clkao left, fhelmberger left 03:08 fhelmberger joined 03:09 fhelmberger left, fhelmberger joined, fhelmberger left 03:10 fhelmberger joined 03:11 fhelmberger left, fhelmberger joined 03:12 fhelmberger left, fhelmberger joined 03:13 fhelmberger left, bin_005 joined, fhelmberger joined 03:14 fhelmberger left, fhelmberger joined 03:15 fhelmberger left, fhelmberger joined 03:16 fhelmberger left, fhelmberger joined 03:17 fhelmberger_ joined, fhelmberger left 03:18 fhelmberger_ left, fhelmberger joined 03:19 fhelmberger left 03:20 fhelmberger joined, fhelmberger left, fhelmberger joined 03:21 dj_goku joined, fhelmberger left 03:22 fhelmberger joined, fhelmberger left 03:23 fhelmberger joined, fhelmberger left 03:24 fhelmberger joined, fhelmberger left 03:25 fhelmberger joined, fhelmberger left 03:26 fhelmberger joined, fhelmberger left 03:27 fhelmberger joined, fhelmberger left 03:28 fhelmberger joined, fhelmberger left 03:29 fhelmberger joined 03:30 fhelmberger left, fhelmberger joined 03:31 fhelmberger left
hoelzro .tell FROGGS I've started some panda work using openpipe3 so the smoker can tell output from warnings: github.com/hoelzro/panda/tree/dont...he-streams 03:31
yoleaux hoelzro: I'll pass your message to FROGGS.
03:31 fhelmberger joined 03:32 fhelmberger left, fhelmberger joined 03:33 laouji left, fhelmberger left, fhelmberger joined 03:34 fhelmberger left, fhelmberger joined 03:35 fhelmberger left, fhelmberger joined 03:36 fhelmberger left, fhelmberger joined 03:37 fhelmberger left, fhelmberger joined 03:38 fhelmberger left, fhelmberger joined 03:39 fhelmberger left, fhelmberger joined 03:40 fhelmberger left 03:41 fhelmberger joined, fhelmberger left 03:42 fhelmberger joined, fhelmberger left 03:43 fhelmberger joined, fhelmberger left 03:44 fhelmberger joined, fhelmberger left 03:45 fhelmberger joined, fhelmberger left 03:46 fhelmberger joined, fhelmberger left 03:47 fhelmberger joined, fhelmberger left 03:48 fhelmberger joined, fhelmberger left 03:49 fhelmberger joined 03:50 fhelmberger left, fhelmberger joined, bin_005 left 03:51 fhelmberger left, fhelmberger joined 03:52 fhelmberger left, fhelmberger joined 03:53 fhelmberger left, lizmat joined, fhelmberger joined 03:54 fhelmberger left 03:55 fhelmberger joined, fhelmberger left 03:56 fhelmberger joined, fhelmberger left 03:57 fhelmberger joined 03:58 fhelmberger left
lizmat Q: did we lose .graphs as a method or not? if we did, there appear quite a number of fossils then in the spec 03:58
socializing again&
03:58 fhelmberger joined 03:59 fhelmberger left, fhelmberger joined 04:00 fhelmberger left, fhelmberger joined 04:01 fhelmberger left, fhelmberger joined 04:02 fhelmberger left, fhelmberger joined 04:03 fhelmberger left 04:04 fhelmberger joined, fhelmberger left 04:05 fhelmberger joined, fhelmberger left 04:06 fhelmberger joined, fhelmberger left 04:07 fhelmberger joined
JimmyZ github.com/perl6/ecosystem/commit/6d3122c264 # this is wrongish... 04:07
04:07 fhelmberger left 04:08 fhelmberger joined, fhelmberger left 04:09 fhelmberger joined 04:10 fhelmberger left, fhelmberger joined, fhelmberger left 04:11 fhelmberger joined, BenGoldberg left 04:12 fhelmberger left, fhelmberger joined 04:13 fhelmberger left, fhelmberger joined 04:14 fhelmberger left, fhelmberger joined 04:15 fhelmberger left, fhelmberger joined 04:16 fhelmberger left, fhelmberger joined 04:17 fhelmberger left, fhelmberger joined 04:18 fhelmberger left, fhelmberger joined 04:19 fhelmberger left, fhelmberger joined 04:20 fhelmberger left, fhelmberger joined 04:21 anaeem1_ joined, fhelmberger left 04:22 fhelmberger joined, fhelmberger left 04:23 fhelmberger joined, fhelmberger left 04:24 fhelmberger joined, fhelmberger left 04:25 fhelmberger joined
zostay m: $h = open('test', :w); $h.print("test\n"); $h.open('test', :r, :bin); $h.get.say; 04:25
camelia rakudo-moar 228168: OUTPUT«5===SORRY!5=== Error while compiling /tmp/RuxFDxHI_i␤Variable '$h' is not declared␤at /tmp/RuxFDxHI_i:1␤------> 3<BOL>7⏏5$h = open('test', :w); $h.print("test\n"␤»
zostay m: my $h = open('test', :w); $h.print("test\n"); $h.open('test', :r, :bin); $h.get.say;
camelia rakudo-moar 228168: OUTPUT«open is disallowed in restricted setting␤ in sub restricted at src/RESTRICTED.setting:1␤ in sub open at src/RESTRICTED.setting:9␤ in block <unit> at /tmp/0zUznqBjdk:1␤␤»
04:25 fhelmberger left 04:26 fhelmberger joined, fhelmberger left
zostay i note that i can open the file in :bin and then use .get to get a Str, what encoding is being used in that case to decode the bytes? 04:26
04:27 fhelmberger joined
zostay the default :enc? 04:27
04:27 fhelmberger left 04:28 fhelmberger joined, fhelmberger left 04:29 fhelmberger joined 04:30 fhelmberger left, fhelmberger joined 04:31 fhelmberger left, fhelmberger joined 04:32 fhelmberger left, fhelmberger joined 04:33 fhelmberger left, fhelmberger joined 04:34 fhelmberger left, fhelmberger joined 04:35 fhelmberger left, fhelmberger joined, telex left 04:36 fhelmberger left, telex joined, fhelmberger joined 04:37 fhelmberger left, fhelmberger joined 04:38 fhelmberger left, fhelmberger joined 04:39 fhelmberger left, fhelmberger joined 04:40 fhelmberger left, [Sno] left, fhelmberger joined 04:41 fhelmberger left, fhelmberger joined, [Sno] joined 04:42 laouji joined, fhelmberger left 04:43 fhelmberger joined, fhelmberger left 04:44 fhelmberger joined, [Sno] left, fhelmberger left 04:45 [Sno] joined, fhelmberger joined, fhelmberger left 04:46 fhelmberger joined 04:47 fhelmberger left, fhelmberger joined, fhelmberger left 04:48 fhelmberger joined, fhelmberger left 04:49 fhelmberger joined, fhelmberger left 04:50 fhelmberger joined 04:51 fhelmberger left, fhelmberger joined 04:52 fhelmberger left, dayangkun left, fhelmberger joined 04:53 fhelmberger left
japhb zostay: As far as I can tell diving through the stack (without being super-careful about it), it looks like opening with :bin explicitly does *not* set an encoding, and if you never set an encoding but try to read a string from a file anyway, MoarVM will use utf8. 04:53
04:53 kurahaupo1 left, fhelmberger joined 04:54 fhelmberger left, fhelmberger joined 04:55 fhelmberger left, fhelmberger joined 04:56 fhelmberger left, fhelmberger joined 04:57 fhelmberger left, laouji left, fhelmberger joined 04:58 laouji joined, fhelmberger left, fhelmberger joined 04:59 fhelmberger left, fhelmberger joined 05:00 fhelmberger left, fhelmberger joined 05:01 fhelmberger left 05:02 fhelmberger joined, labster joined, fhelmberger left 05:03 fhelmberger joined, fhelmberger left 05:04 fhelmberger joined, diana_olhovik_ joined, fhelmberger left 05:05 fhelmberger joined, labster_ joined, fhelmberger left 05:06 fhelmberger joined, fhelmberger left 05:07 fhelmberger joined, fhelmberger left, labster left, labster_ is now known as labster 05:08 fhelmberger joined
moritz IMHO it should explode 05:08
05:09 fhelmberger left, fhelmberger joined 05:10 fhelmberger left, fhelmberger joined 05:11 fhelmberger left, fhelmberger joined 05:12 fhelmberger left, fhelmberger joined, laouji left 05:13 fhelmberger left
dalek osystem: 9982d6d | skids++ | META.list:
Fix recently added URL
05:13
05:13 fhelmberger joined 05:14 fhelmberger left, fhelmberger joined 05:15 fhelmberger left, fhelmberger joined 05:16 fhelmberger left, fhelmberger joined, laouji joined 05:17 fhelmberger left
skids m: sub ud { Any }; my %b := :{ ud() => 1, Any => 2}; %b.perl.say 05:17
camelia rakudo-moar 228168: OUTPUT«Use of uninitialized value of type Any in string context in any p6sort at src/vm/moar/Perl6/Ops.nqp:349␤Hash[Mu,Any].new(Any => 1, "Any" => 2)␤»
05:17 fhelmberger joined 05:18 fhelmberger left, fhelmberger joined 05:19 fhelmberger left, fhelmberger joined 05:20 fhelmberger left, fhelmberger joined 05:21 fhelmberger left, fhelmberger joined 05:22 fhelmberger left 05:23 fhelmberger joined, fhelmberger left 05:24 fhelmberger_ joined, fhelmberger_ left 05:25 fhelmberger joined, fhelmberger left 05:26 fhelmberger joined, fhelmberger left, skids left 05:27 fhelmberger joined, fhelmberger left 05:28 fhelmberger joined 05:29 fhelmberger left, [Sno] left, fhelmberger joined, fhelmberger left 05:30 fhelmberger joined, diana_olhovik_ left 05:31 fhelmberger left, fhelmberger joined, fhelmberger left 05:32 fhelmberger joined 05:33 fhelmberger left, slavik joined, fhelmberger joined 05:34 fhelmberger left, fhelmberger joined 05:35 fhelmberger left, fhelmberger joined, [Sno] joined 05:36 fhelmberger left, fhelmberger joined 05:37 fhelmberger left, fhelmberger joined 05:38 jack_rabbit left, fhelmberger left, fhelmberger joined 05:39 fhelmberger left, fhelmberger joined 05:40 wentam joined, fhelmberger left, fhelmberger joined 05:41 fhelmberger left, fhelmberger joined 05:42 fhelmberger left, jack_rabbit joined, fhelmberger joined 05:43 fhelmberger left 05:44 fhelmberger joined, fhelmberger left 05:45 fhelmberger joined, fhelmberger left, domidumont joined 05:46 Patterner joined, fhelmberger joined, fhelmberger left 05:47 RabidGravy joined, fhelmberger joined, fhelmberger left 05:48 fhelmberger joined 05:49 fhelmberger left, fhelmberger joined 05:50 fhelmberger left, Psyche^ left, domidumont left, fhelmberger joined, domidumont joined, fhelmberger left 05:51 fhelmberger joined 05:52 fhelmberger left, fhelmberger joined 05:53 fhelmberger left, fhelmberger joined 05:54 fhelmberger left, fhelmberger joined 05:55 fhelmberger left, Foxcool joined, fhelmberger joined 05:56 fhelmberger left, fhelmberger joined 05:57 fhelmberger left, fhelmberger joined 05:58 fhelmberger left, laouji left, fhelmberger joined 05:59 fhelmberger left, fhelmberger joined 06:00 fhelmberger left, fhelmberger joined 06:01 fhelmberger left, fhelmberger joined 06:02 fhelmberger left, laouji joined, diana_olhovik joined, fhelmberger joined 06:03 domidumont left, fhelmberger left 06:04 fhelmberger joined 06:05 fhelmberger left, fhelmberger joined, fhelmberger left, laouji left 06:06 fhelmberger joined, laouji joined, fhelmberger left 06:07 fhelmberger joined, kurahaupo1 joined, fhelmberger left 06:08 fhelmberger joined 06:09 fhelmberger left, fhelmberger joined, fhelmberger left 06:10 fhelmberger joined 06:11 fhelmberger left, fhelmberger joined, llfourn left 06:12 fhelmberger left, fhelmberger joined, vendethiel joined 06:13 fhelmberger left, fhelmberger joined 06:14 fhelmberger left, fhelmberger joined 06:15 fhelmberger left, fhelmberger joined 06:16 fhelmberger left, domidumont joined, fhelmberger joined, kaare_ joined 06:17 fhelmberger left, fhelmberger joined 06:18 fhelmberger left, fhelmberger joined 06:19 fhelmberger left, fhelmberger joined 06:20 fernando___ joined, fhelmberger left, fhelmberger joined 06:21 fhelmberger_ joined, fhelmberger left 06:22 fhelmberger_ left, fhelmberger joined 06:23 fhelmberger left 06:24 fhelmberger joined, clkao joined, [Sno] left, fhelmberger left, [Sno] joined 06:25 fhelmberger joined, espadrine_ joined, fhelmberger left 06:26 fhelmberger joined, fhelmberger left 06:27 fhelmberger joined, fhelmberger left 06:28 fhelmberger joined 06:29 fhelmberger left, fhelmberger joined, fhelmberger left 06:30 fhelmberger joined 06:31 fhelmberger left, fhelmberger joined 06:32 fhelmberger left, fhelmberger joined, Foxcool left, Foxcool joined 06:33 fhelmberger left, fhelmberger joined, FROGGS joined
RabidGravy marning 06:33
FROGGS mürning
yoleaux 03:31Z <hoelzro> FROGGS: I've started some panda work using openpipe3 so the smoker can tell output from warnings: github.com/hoelzro/panda/tree/dont...he-streams
FROGGS hoelzro++ # branch name :D 06:34
06:34 isacloud left, fhelmberger left, preyalone left, fhelmberger joined 06:35 fhelmberger left, vendethiel left, fhelmberger joined 06:36 fhelmberger left, fhelmberger joined 06:37 fhelmberger left, fhelmberger joined
FROGGS hoelzro: can we do the following? get a line from stdout and the get a line from stderr, so that we are able to provide the merged err+out as well as the streams itself? 06:38
06:38 fhelmberger left, fhelmberger joined 06:39 fhelmberger left
tadzik I merged one of your panda PRs, the other I'd like to take a closer look at when I get back to a computer 06:39
06:39 fhelmberger joined 06:40 fhelmberger left, fhelmberger joined 06:41 vendethiel joined
tadzik There's plenty of things wrong about revdep, it may need an overhaul of sorts, some of the issues are a bit connected to how panda generally does stuff 06:41
06:41 fhelmberger left, fhelmberger joined, Spot__ joined 06:42 fhelmberger left, fhelmberger joined 06:43 fhelmberger left
FROGGS tadzik: I commented to the revdep PR 06:43
06:43 fhelmberger joined 06:45 fhelmberger left, fhelmberger_ joined 06:46 fhelmberger_ left, fhelmberger joined 06:47 fhelmberger left, fhelmberger_ joined, fhelmberger_ left 06:48 fhelmberger joined
tadzik I feel like I'm taking crazy pills! 06:48
06:48 fhelmberger left 06:49 fhelmberger joined 06:50 fhelmberger left
moritz blue crazy pills or red crazy pills? 06:50
06:50 fhelmberger joined
moritz
.oO( an R-B Tree of crazy pills )
06:50
06:50 fhelmberger left 06:51 fhelmberger joined
tadzik So far they're grey, before I get to revisit it :) 06:51
06:52 fhelmberger left, fhelmberger joined 06:53 fhelmberger left, ggherdov left, pnu left, chansen_ left, fhelmberger joined 06:54 fhelmberger left, fhelmberger joined, aborazmeh left 06:55 fhelmberger left, fhelmberger joined 06:56 fhelmberger left, aborazmeh joined, aborazmeh left, aborazmeh joined, fhelmberger joined
FROGGS fhelmberger: ping 06:56
06:57 fhelmberger left, fhelmberger joined 06:58 fhelmberger left, fhelmberger joined, Ven joined 06:59 fhelmberger left, fhelmberger joined 07:00 fhelmberger left, fhelmberger joined 07:01 fhelmberger_ joined, fhelmberger left 07:02 fhelmberger joined, fhelmberger_ left 07:03 fhelmberger_ joined, fhelmberger left, vendethiel left 07:04 llfourn joined, fhelmberger_ left, fhelmberger joined 07:05 fhelmberger left 07:06 fhelmberger joined 07:07 fhelmberger left, fhelmberger_ joined, chansen_ joined
Ven o/, #perl6 07:07
twitter.com/puffnfresh/status/6080...8358927360 <- I should spend some time refining sixcheck. It doesn't integrate as neatly as I'd like it to...
07:08 fhelmberger_ left, fhelmberger joined, _mg_ joined, fhelmberger left 07:09 fhelmberger joined, jack_rabbit left 07:10 fhelmberger left, fhelmberger joined 07:11 fhelmberger left, Ven left, fhelmberger joined, spider-mario left 07:12 fhelmberger left, fhelmberger joined, jack_rabbit joined, fhelmberger left 07:13 larion left, fhelmberger joined 07:14 fhelmberger left, [Sno] left, fhelmberger joined, [Sno] joined 07:15 fhelmberger left, fhelmberger joined 07:16 fhelmberger left, ggherdov joined, fhelmberger joined, pnu joined 07:17 fhelmberger left, fhelmberger joined 07:18 amurf left, fhelmberger left, fhelmberger joined 07:19 fhelmberger left, aborazmeh left, fhelmberger joined 07:20 isacloud joined, fhelmberger left, cdc joined, fhelmberger joined
cdc hello #perl6 07:21
07:21 fhelmberger left
cdc m: 0.^methods(:all).sort 07:21
camelia rakudo-moar 228168: OUTPUT«(signal SEGV)Code object coerced to string (please use .gist or .perl to do that) in any p6sort at src/vm/moar/Perl6/Ops.nqp:349␤Code object coerced to string (please use .gist or .perl to do that) in any p6sort at src/vm/moar/Perl6/Ops.nqp:349␤Code …»
cdc SEGV ^
07:21 fhelmberger joined 07:22 fhelmberger left, fhelmberger_ joined
RabidGravy nasty 07:23
07:23 fhelmberger_ left, fhelmberger joined
wentam So, I wrote some bindings to my graphics engine: github.com/wentam/P6-Graffiks 07:24
07:24 fhelmberger left, Ven joined
wentam how do I get it listed on modules.perl6.org 07:24
07:25 fhelmberger joined
FROGGS wentam: create a pul request for this: github.com/perl6/ecosystem/blob/ma.../META.list 07:25
07:25 fhelmberger left
FROGGS pull* 07:25
07:26 fhelmberger joined
RabidGravy cdc, looks like a stack overflow 07:26
07:26 jack_rabbit left
FROGGS wentam: or you tell me your github id, and I'll add you to the perl6 team, which lets you push to the ecosystem repository directly 07:26
07:26 fhelmberger left
RabidGravy cdc, valgrind say "Access not within mapped region at address 0x0" 07:27
07:27 fhelmberger joined
wentam FROGGS, github.com/wentam/ 07:27
07:27 gfldex joined, fhelmberger left
FROGGS wentam: invitation sent 07:28
07:28 fhelmberger joined, preyalone joined
wentam FROGGS, so now I just push my meta.info to that file? 07:28
07:28 fhelmberger left
FROGGS wentam: no 07:29
07:29 jack_rabbit joined
wentam I mean, the raw url to it 07:29
07:29 fhelmberger joined
FROGGS go to your repo, click on your META.info, click on raw 07:29
wentam yeah, that's what I meant
FROGGS and copy that url to the meta list
wentam alrighty, tyvm
FROGGS it should look like the others
07:30 fhelmberger left, fhelmberger joined
FROGGS wentam: are you related to retupmoca? 07:30
RabidGravy wentam, I would suggest doing "panda install ." in the source directory to check that panda understands your META.info if you didn't already do that
07:30 fhelmberger left
dalek osystem: 0242d1a | (Matt Egeler)++ | META.list:
Add Graffiks bindings to META.list
07:31
wentam FROGGS, yes, he's my brother
07:31 fhelmberger joined
wentam github.com/perl6/ecosystem/commit/...e012d4184c 07:31
RabidGravy, oohh, good idea
FROGGS Egeler++ then :o)
wentam: your META.info is invalid JSON
07:31 fhelmberger left
wentam RabidGravy, should have said that slightly earier, it doesn't work :P 07:32
FROGGS wentam: you are missing commas
07:32 fhelmberger joined
wentam oopsies 07:32
FROGGS I'll PR
wentam I already got it fixed
RabidGravy I have added one and realised I'd cocked up the META.info every time
07:33 fhelmberger left, fhelmberger joined
RabidGravy maybe a "validate-meta" command for panda at some point 07:33
FROGGS wentam++
07:34 kurahaupo1 left, fhelmberger left, fhelmberger joined
cdc RabidGravy: I've submitted RT #125365 07:34
synbot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=125365
wentam I assume that modules list updates periodically, so it will appear after a while?
FROGGS wentam: every hours IIRC 07:35
07:35 fhelmberger left
FROGGS hour* 07:35
wentam rgr
07:35 fhelmberger joined
moritz I can trigger a manual rebuild 07:35
07:36 fhelmberger left, fhelmberger joined
moritz if anybody else wants to have that power, give me your ssh pubkey :-) 07:36
07:36 aborazmeh joined, aborazmeh left, aborazmeh joined 07:37 fhelmberger left
moritz ok, it takes less than a minute; I guess I can run it more often 07:37
FROGGS (more often)++
07:37 fhelmberger joined
moritz 8,28,48 * * * * bash update.sh > update.log 2>&1 07:37
raw.githubusercontent.com/carbin/p.../META.info 404 07:38
07:38 fhelmberger left, Ven left, fhelmberger joined 07:39 rindolf joined, fhelmberger left
dalek osystem: 88785dc | moritz++ | META.list:
Remove reference to repo that has gone pining for the fjords
07:39
07:39 fhelmberger joined, jack_rabbit left
RabidGravy moritz, any value in putting a github webhook on that (to trigger the rebuild) 07:40
07:40 fhelmberger left, fhelmberger joined
moritz RabidGravy: not much; most changes are in the META.info files of the individual repos, not to the ecosystem repo itself 07:40
07:41 Ven joined
RabidGravy true 07:41
07:41 fhelmberger left, fhelmberger joined, Ven left
moritz RabidGravy: tough it might be nice to parallelize update.pl in the ecosystem repo a bit 07:41
it does mostly https request 07:42
07:42 fhelmberger left, fhelmberger joined 07:43 fhelmberger_ joined, fhelmberger left 07:44 fhelmberger joined, fhelmberger_ left
RabidGravy poor fhelmberger 07:45
07:45 vendethiel joined, fhelmberger left
RabidGravy cdc, just added the gdb and valgrind to that RT 07:45
07:46 fhelmberger joined
cdc thanks ! 07:46
07:47 fhelmberger left, fhelmberger_ joined 07:48 fhelmberger_ left, fhelmberger joined 07:49 fhelmberger left, fhelmberger_ joined 07:50 fhelmberger_ left, fhelmberger joined 07:51 fhelmberger left, fhelmberger joined 07:52 fhelmberger left, fhelmberger joined, fhelmberger left 07:53 fhelmberger joined, fhelmberger left 07:54 fhelmberger joined 07:55 fhelmberger left, jack_rabbit joined, fhelmberger joined 07:56 fhelmberger left, fhelmberger joined 07:57 fhelmberger left, fhelmberger joined 07:58 fhelmberger left, fhelmberger joined 07:59 fhelmberger left, fhelmberger joined 08:00 fhelmberger left, fhelmberger joined 08:01 fhelmberger left, fhelmberger joined 08:02 fhelmberger_ joined, fhelmberger left 08:03 fhelmberger_ left, fhelmberger joined
breinbaas why don't you guys kick fhelmberger? his behavior makes it difficult to follow what goes on in this chennel 08:04
08:04 fhelmberger left, fhelmberger joined
wentam It just links to the github homepage for Graffiks on the modules page, is my source-url wrong? github.com/wentam/P6-Graffiks/blob.../META.info 08:05
dalek c: a60ba58 | RabidGravy++ | WANTED:
Correct the spelling of Synatax
08:05 fhelmberger left
wentam I just used the checkout url github provides 08:05
08:05 fhelmberger joined 08:06 jack_rabbit left 08:07 fhelmberger left, fhelmberger_ joined 08:08 fhelmberger_ left, fhelmberger joined
FROGGS wentam: click on 'raw', and use that url 08:08
ahh wait
wentam I mean in meta.info
FROGGS misunderstood
08:09 fhelmberger left, labster left
FROGGS your source url might want to be github.com/wentam/Graffiks.git 08:09
08:09 fhelmberger joined
wentam I'll try it 08:09
08:10 fhelmberger left, fhelmberger joined
dalek c: 4edf556 | RabidGravy++ | lib/Language/variables.pod:
Add $*SPEC to variables
08:10
08:11 fhelmberger left, fhelmberger joined
RabidGravy I know there was a small amount of doubt expressed as to whether that should stay but if it goes it can be removed again ;-) 08:11
08:11 fhelmberger left 08:12 fhelmberger joined 08:13 fhelmberger left, fhelmberger joined 08:14 fhelmberger left, darutoko joined
dalek c: 0f60edd | paultcochrane++ | / (2 files):
Document substr-rw
08:14
08:14 fhelmberger joined 08:15 fhelmberger left, fhelmberger joined 08:16 fhelmberger left, fhelmberger joined 08:17 fhelmberger left, fhelmberger joined 08:18 fhelmberger left, fhelmberger joined 08:19 fhelmberger left, fhelmberger joined 08:20 fhelmberger left, fhelmberger joined 08:21 fhelmberger left, fhelmberger joined 08:22 fhelmberger left, fhelmberger joined 08:23 abraxxa joined, fhelmberger left, fhelmberger_ joined 08:24 fhelmberger_ left, fhelmberger joined 08:26 fhelmberger left, fhelmberger_ joined
jnthn morning, #perl6 08:26
08:26 fhelmberger_ left, fhelmberger joined 08:27 fhelmberger left
FROGGS morning jnthn 08:27
08:27 cschwenz joined 08:28 fhelmberger joined
RabidGravy erp 08:28
08:28 fhelmberger left 08:29 fhelmberger joined, fhelmberger left 08:30 Ven joined, fhelmberger joined
wentam FROGGS, yup, adding .git to the end fixed it 08:30
08:30 fhelmberger left 08:31 fhelmberger joined, Ven left 08:32 fhelmberger left
FROGGS wentam: there is a textbox on the right on this page, where you can copy from: github.com/wentam/Graffiks 08:32
08:32 fhelmberger joined
wentam yeah, that's "github.com/wentam/Graffiks" 08:32
08:32 fhelmberger left
wentam doesn't have .git on the end there 08:33
08:33 fhelmberger joined, bjz joined, fhelmberger left
wentam although 08:34
github.com/wentam/P6-Graffiks/comm...96a99625e3
that was half the problem
or perhaps all of it
08:34 fhelmberger joined 08:35 fhelmberger left, fhelmberger joined 08:36 fhelmberger left, fhelmberger joined
dalek ake: 2a05e1b | arnsholt++ | src/Snake/Metamodel/ClassHOW.nqp:
Add forgotten change for previous commit.
08:36
snake: 81db926 | arnsholt++ | src/setting/builtins.py:
snake: Simple first implementation of isinstance().
08:36 dalek left 08:37 fhelmberger left, dalek joined, ChanServ sets mode: +v dalek, fhelmberger_ joined
arnsholt dalek: Sorry! =) 08:37
botsnack
synbot6 om nom nom
arnsholt Oops, wrong bot. Oh well
08:38 fhelmberger_ left, larion joined, fhelmberger joined
jnthn synbot6 noms all the snacks 08:38
08:39 fhelmberger left
jnthn
.oO( Dining bots problem )
08:39
08:39 fhelmberger joined 08:40 fhelmberger left, fhelmberger joined 08:41 fhelmberger left, fhelmberger joined 08:42 espadrine_ left, fhelmberger left, fhelmberger joined 08:43 fhelmberger left, fhelmberger joined
dalek c: b2d6863 | RabidGravy++ | lib/Type/IO/Path.pod:
Missing colons after invocant type in signatures
08:44
c: 744bf16 | RabidGravy++ | / (2 files):
Merge branch 'master' of github.com:perl6/doc
08:44 bin_005 joined, fhelmberger left, fhelmberger joined
_itz /last youtube 08:45
08:45 fhelmberger left
_itz oops 08:45
08:45 fhelmberger joined 08:46 fhelmberger_ joined, fhelmberger left
RabidGravy _itz, are you still working at that place? 08:47
08:47 fhelmberger_ left 08:48 fhelmberger joined
_itz no I walked out because I wanted to do something more interesting 08:48
RabidGravy _itz++
_itz 3 years in a bank is enough :)
08:48 fhelmberger left
RabidGravy yeah 5 years ruined me 08:48
08:49 fhelmberger joined 08:50 fhelmberger left, fhelmberger joined
jnthn I talked to bank recruiters at the compsci career fair some years back and 5 minutes talking to them was enough of the bank industry for me. :-) 08:50
nwc10 _itz: any plans on how to spend your ill gotten gains?
08:50 fhelmberger left
nwc10 ("CFT" ?) 08:50
duetting with RabidGravy? 08:51
08:51 fhelmberger joined
_itz playing with perl6 08:51
[ptc] _itz++
yoleaux 8 Jun 2015 23:43Z <japhb> [ptc]: Re: specs commit 5557888, I don't think the original meant "can be aliased also", I think it meant "can be the target of an alias", so the 'to' would be correct (though I recognize it's confusing wording all around)
nwc10 yay
"right answer" :-)
08:51 fhelmberger left 08:52 fhelmberger joined
[ptc] _itz: ok, I'll look at the wording of the specs again and see if I can make it clearer 08:52
08:53 fhelmberger left
dalek ecs: 939451c | paultcochrane++ | S32-setting-library/Str.pod:
Add an initial string so that the code example runs
08:53
08:53 fhelmberger joined
RabidGravy :) I can definitely say I have used my CFT more for ruining software than I have making music, I did a small drum loop for Laica last week but have significantly upped my github stats 08:53
08:53 fhelmberger left 08:54 fhelmberger joined 08:55 fhelmberger left, fhelmberger joined
RabidGravy In music/programming crossover I discussed with Robin Gareus the possibility of making silan a shared library so I can make a P6 binding 08:55
08:56 fhelmberger left, fhelmberger joined
dalek ecs: b4b49fc | paultcochrane++ | S32-setting-library/Str.pod:
Improve wording about substr-rw aliasing

Thanks to itz++ for pointing out the sentence's meaning.
08:57
08:57 fhelmberger left, fhelmberger joined
_itz that wasn't actually me! 08:57
08:58 fhelmberger left, fhelmberger joined 08:59 fhelmberger left, fhelmberger joined 09:00 fhelmberger left, fhelmberger joined 09:01 fhelmberger left, espadrine_ joined, fhelmberger joined 09:02 fhelmberger left, fhelmberger joined 09:03 fhelmberger left, fhelmberger joined 09:04 fhelmberger left, fhelmberger joined 09:05 fhelmberger_ joined, fhelmberger left 09:06 amurf joined, fhelmberger_ left, fhelmberger joined 09:08 fhelmberger left, fhelmberger_ joined, fhelmberger_ left 09:09 fhelmberger joined, aborazmeh left, fhelmberger left 09:10 fhelmberger joined 09:11 fhelmberger left, fhelmberger joined, amurf left 09:12 fhelmberger left, Ven joined, fhelmberger joined 09:13 fhelmberger left, fhelmberger joined 09:14 fhelmberger left, fhelmberger joined 09:15 fhelmberger left, fhelmberger joined 09:16 fhelmberger left, fhelmberger joined 09:17 fhelmberger left, zakharyas joined, fhelmberger joined 09:18 fhelmberger left, fhelmberger joined, bin_005 left, espadrine_ left 09:19 fhelmberger left, fhelmberger joined, mr-fooba_ left 09:20 mr-foobar joined, fhelmberger left, fhelmberger joined 09:21 fhelmberger left, fhelmberger joined
[ptc] _itz: you're right, bugger. I misread 09:22
the line
09:22 espadrine_ joined
[ptc] ... and obviously can't type anymore 09:22
09:22 fhelmberger left, fhelmberger joined
[ptc] japhb++ # for pointing out the correct meaning about aliasing (and sorry for not mentioning you correctly in the commit!) 09:23
09:23 fhelmberger left, fhelmberger joined 09:24 fhelmberger_ joined, fhelmberger left 09:25 fhelmberger_ left, fhelmberger joined 09:26 _mg_ left, espadrine_ left, _mg_ joined, fhelmberger left, espadrine_ joined, fhelmberger joined 09:27 fhelmberger left, fhelmberger joined 09:28 fhelmberger left 09:29 fhelmberger joined, fhelmberger left, Ven left 09:30 fhelmberger joined, fhelmberger left 09:31 fhelmberger joined, fhelmberger left 09:32 fhelmberger joined 09:33 fhelmberger left, fhelmberger joined 09:34 fhelmberger left, fhelmberger joined, zakharyas left 09:35 fhelmberger left, fhelmberger joined, fhelmberger left 09:36 fhelmberger joined 09:37 fhelmberger left, fhelmberger joined 09:38 fhelmberger left, fhelmberger joined 09:39 fhelmberger left, fhelmberger joined 09:40 fhelmberger left, fhelmberger joined 09:41 fhelmberger left, fhelmberger joined 09:42 fhelmberger left, fhelmberger joined 09:43 fhelmberger left, fhelmberger joined 09:44 fhelmberger left, fhelmberger joined 09:45 fhelmberger_ joined, fhelmberger left 09:46 fhelmberger joined, fhelmberger_ left 09:47 fhelmberger_ joined, fhelmberger left 09:48 fhelmberger joined, fhelmberger_ left 09:50 fhelmberger left, fhelmberger_ joined, bin_005 joined, fhelmberger_ left
RabidGravy has anyone done anything like "Alien" to assist in working with thirdparty libraries/applications that may need to be installed? 09:50
09:51 fhelmberger joined 09:52 fhelmberger left, fhelmberger joined, fhelmberger left 09:53 fhelmberger joined 09:54 fhelmberger left, fhelmberger joined 09:55 fhelmberger left, fhelmberger joined 09:56 fhelmberger left, fhelmberger joined
FROGGS RabidGravy: for P5, yes 09:56
09:56 fhelmberger left 09:57 fhelmberger joined
RabidGravy er, for P6 the P5 one was what I meant by "like Alien" ;-p 09:57
09:57 vendethiel left
RabidGravy anyway just off out for a bit 09:57
09:58 fhelmberger left, fhelmberger joined 09:59 fhelmberger left, fhelmberger joined 10:00 fhelmberger left, fhelmberger joined 10:01 fhelmberger left, fhelmberger joined, araujo left 10:02 RabidGravy left, fhelmberger left, fhelmberger joined, araujo joined 10:03 fhelmberger left, fhelmberger joined 10:04 fhelmberger left, fhelmberger joined 10:05 fhelmberger left, vendethiel joined, fhelmberger joined 10:06 fhelmberger_ joined, fhelmberger left 10:07 fhelmberger joined, fhelmberger_ left 10:09 fhelmberger left, fhelmberger_ joined, abraxxa left, fhelmberger_ left 10:10 fhelmberger joined, abraxxa joined, fhelmberger left 10:11 fhelmberger joined, _mg_ left, fhelmberger left 10:12 fhelmberger joined 10:13 fhelmberger left, fhelmberger joined 10:14 fhelmberger left, fhelmberger joined, fhelmberger left 10:15 fhelmberger joined, Ven joined
Ven Wow. I just learned that Perl6 allowed to resume exeptions o_o 10:15
10:15 fhelmberger left 10:16 fhelmberger joined
Ven that's totally amazing. brrt++ 10:16
10:16 fhelmberger left 10:17 fhelmberger joined 10:18 fhelmberger left, fhelmberger joined 10:19 fhelmberger left, fhelmberger joined 10:20 fhelmberger left, fhelmberger joined 10:21 fhelmberger left, cschwenz left, fhelmberger joined 10:22 fhelmberger left
Ven (yes, many people will say "lisp had that 30 years ago". I'm still happy :P) 10:22
10:22 fhelmberger joined 10:23 fhelmberger left, fhelmberger joined 10:24 fhelmberger left, fhelmberger joined 10:25 fhelmberger left, fhelmberger joined 10:26 fhelmberger left, fhelmberger joined 10:27 fhelmberger left, fhelmberger joined 10:28 uncleyea1 is now known as uncleyear, fhelmberger left, uncleyear left, uncleyear joined, fhelmberger joined 10:29 fhelmberger left 10:30 fhelmberger joined, llfourn_ joined, fhelmberger left 10:31 llfourn left, fhelmberger joined, fhelmberger left 10:32 fhelmberger joined 10:33 fhelmberger left, fhelmberger joined 10:34 fhelmberger left, fhelmberger joined 10:35 fhelmberger left, fhelmberger joined, fhelmberger left 10:36 fhelmberger joined 10:37 fhelmberger left, fhelmberger joined 10:38 fhelmberger left, fhelmberger joined 10:39 fhelmberger left, fhelmberger joined, ab6tract joined 10:40 fhelmberger left
ab6tract .tell moritz thanks for the github org invite! should I also be filling in some paperwork for TPF? 10:40
yoleaux ab6tract: I'll pass your message to moritz.
10:40 fhelmberger joined, cognominal joined 10:41 fhelmberger left, fhelmberger joined 10:42 fhelmberger left
Ven ab6tract: I think it's only for moar? 10:42
10:42 fhelmberger joined 10:43 fhelmberger left, fhelmberger joined
ab6tract Ven: the paperwork? 10:44
Ven ab6tract: yes. maybe also for nqp?
10:44 fhelmberger left
jnthn The paperwork is for Rakudo 10:44
ab6tract I thought it was for all the perl6/ repos... so rakudo is not under TPF?
Ven ah, it's for rakudo
ab6tract ok, thanks for clearing up jnthn
Ven well, considering the number of PRs you sent, someone would've asked you sooner ab6tract :P
10:45 fhelmberger joined, fhelmberger_ joined
ab6tract Ven: having trouble parsing whether that was a jab or not :P 10:45
Ven ab6tract: not sure what a "jab" is :) 10:46
ab6tract Ven: 'diss'? 'smack talk'? not sure what the kids are calling it these days ;)
10:46 fhelmberger_ left
Ven ab6tract: would it be better if I had wrote ab6tract++ (as meant) there? :) 10:46
10:46 fhelmberger_ joined
ab6tract :) 10:47
it's usually the :P that throws me off
10:47 fhelmberger_ left
ab6tract thanks for clarifying :) 10:47
10:47 fhelmberger_ joined 10:49 fhelmberger_ left, fh joined, tinyblak_ joined, fhelmberger left, fh left 10:50 fhelmberger joined 10:51 fhelmberger left, fhelmberger joined 10:52 fhelmberger left, fhelmberger_ joined
ab6tract ahh, if nothing else fhelmberger has successfully taught me how to disable part/join messages in two separate clients 10:52
10:52 fhelmberger_ left 10:53 tinyblak left, fhelmberger joined
jnthn I was too lazy and just did /ignore :P 10:53
10:53 fhelmberger left
nwc10 we've *just* bothered to get ops on #austria.pm and (try to) ban it 10:53
10:54 fhelmberger joined
nwc10 if we knew where he lived... 10:54
10:55 fhelmberger left, fhelmberger joined
nwc10 OK, less than 5ms from here 10:55
less than 1.8ms from our colo
10:55 fhelmberger left 10:56 amurf joined
nwc10 actually, that's the hop before 10:56
10:56 fhelmberger joined 10:57 fhelmberger left, fhelmberger joined, fhelmberger left 10:58 fhelmberger joined 10:59 fhelmberger left
[ptc] nwc10: you're in .at, you could drop in and say gudday ;-) 10:59
10:59 fhelmberger joined
nwc10 [ptc]: "if we knew where he lived..." 10:59
also, I don't want to get arrested
[ptc] true :-)
nwc10 well, I'd go round and deliver a postcard or something 11:00
11:00 fhelmberger left, fhelmberger_ joined
tadzik One for each join, one for each part 11:00
11:00 amurf left
nwc10 [ptc]: my suspicion is that he's only a few km from me 11:00
tadzik: my arms would fall off 11:01
11:01 fhelmberger_ left
[ptc] nwc10: well, .at isn't that big :-P 11:01
nwc10 reverse DNS suggests that he's in vienna
11:01 fhelmberger joined
jnthn well darn it 11:01
After that wild goose chase...it turns out that I do still have a regression thanks to my fix...and it *is* specific to the JIT 11:02
11:02 fhelmberger left, Ven left
nwc10 there was a real goose at the end of your chase 11:02
11:02 fhelmberger joined
nwc10 so, seems "2 real bugs" 11:02
1 of which is splaatted?
11:03 fhelmberger left, fhelmberger joined 11:04 fhelmberger left, fhelmberger joined 11:05 smls joined, fhelmberger left, fhelmberger joined 11:06 fhelmberger_ joined, fhelmberger left 11:07 fhelmberger_ left, fhelmberger joined 11:08 fhelmberger left, fhelmberger joined
jnthn Something like 11:09
11:09 fhelmberger left 11:10 fhelmberger joined, Sqirrel left
jnthn I'm guessing the JIT badly handles...something. I don't know what yet. 11:10
11:10 fhelmberger left
smls moritz: doc.perl6.org/type-basic.html <-- something broke? 11:10
11:11 fhelmberger joined 11:12 fhelmberger left, fhelmberger joined 11:13 fhelmberger left, fhelmberger joined
[ptc] smls: that problem has been around for a while now (a couple of weeks or so) 11:13
11:13 fhelmberger left
[ptc] smls: no idea what's causing it, and the issue seems to be buried deep down in how htmlify.p6 is doing its processing 11:14
11:14 fhelmberger joined
[ptc] smls: doc.perl6.org/type.html still works though 11:14
smls right
11:14 fhelmberger left 11:15 fhelmberger joined 11:16 fhelmberger left, fhelmberger joined 11:17 fhelmberger left, fhelmberger joined 11:18 fhelmberger left, fhelmberger joined 11:19 fhelmberger left, Sqirrel joined, fhelmberger joined 11:20 fhelmberger left, fhelmberger joined 11:21 fhelmberger left, fhelmberger joined
[ptc] interesting... I just turned off the JIT and now panda segfaults when bootstrapping 11:21
11:22 fhelmberger left
jnthn [ptc]: Almost certainly fixed in MoarVM HEAD 11:22
11:22 fhelmberger joined 11:23 fhelmberger left, fhelmberger joined
[ptc] jnthn: I'm building with --gen-moar so thought I was using HEAD. I'll merge the latest Rakudo HEAD and see if that helps 11:24
11:24 fhelmberger left, fhelmberger joined 11:25 fhelmberger left, fhelmberger joined
jnthn [ptc]: Thta uses the MOAR_REVISION/NQP_REVISION 11:26
Which I didn't bump yet
arnsholt --gen-moar=master might work? 11:27
[ptc] you're right it's not head 11:28
would --gen-moar=HEAD work?
11:30 fhelmberger left
jnthn What arnsholt said, I think 11:30
[ptc] just trying it with =HEAD and it pulled in master, which seems logical
although =master is probably the better way to do it 11:31
11:33 fhelmberger joined 11:34 fhelmberger left, fhelmberger joined, espadrine joined 11:35 fhelmberger left, fhelmberger joined
[ptc] thanks jnthn++, panda works again with moar HEAD and without jit 11:35
11:35 fhelmberger left 11:36 fhelmberger joined
[ptc] although DBIish still gives the "Cannot invoke null object" error with a JIT-less moar 11:36
11:37 fhelmberger left
jnthn And with JIT? 11:37
11:37 fhelmberger joined 11:38 fhelmberger left, espadrine_ left
[ptc] hang on a tick 11:38
11:38 fhelmberger joined
[ptc] rebuilds moar/nqp/rakudo 11:38
11:39 fhelmberger left, fhelmberger joined 11:40 fhelmberger left, fhelmberger joined 11:41 fhelmberger left, fhelmberger joined 11:42 fhelmberger left, fhelmberger joined 11:43 fhelmberger left, fhelmberger joined 11:44 fhelmberger left, Ven joined, fhelmberger joined
Ven will present perl6 at a "in-school meetup" tomorrow 11:44
[ptc] jnthn: barfs with the same error with and without JIT
Ven task: building a "tv show episodes classifier" in perl6 (cli) 11:45
11:45 Ven left, fhelmberger left, fhelmberger joined 11:46 fhelmberger left, fhelmberger joined 11:47 fhelmberger_ joined, fhelmberger left 11:48 fhelmberger joined, fhelmberger_ left 11:49 _mg_ joined, fhelmberger left 11:50 fhelmberger joined
FROGGS Ven++ 11:50
11:50 fhelmberger left 11:51 fhelmberger joined, fhelmberger left 11:52 fhelmberger joined 11:53 fhelmberger left, fhelmberger joined, bin_005 left, fhelmberger left 11:54 Ven joined, fhelmberger joined, fhelmberger left 11:55 fhelmberger joined, fhelmberger left 11:56 fhelmberger joined, fhelmberger left 11:57 fhelmberger joined, fhelmberger left
smls Perl 6 feature idea of the day: Let .deepmap and .duckmap check the callback's signature (like .sort does), and if it allows more than one argument, pass the full path of indices+value at the current iteration! 11:58
So that this:
11:58 fhelmberger joined
smls {foo=>[10, 20], bar => 30}.deepmap(-> *@_ { dd @_ }) 11:58
Would print:
('foo', 0, 10)
('foo', 1, 20)
('bar', 30)
11:59 fhelmberger left
smls Or maybe it should be controlled by a :path adverb and not the signature. 11:59
But in any case, I think it would be useful.
11:59 fhelmberger joined, zakharyas joined 12:00 fhelmberger left, fhelmberger joined 12:01 yqt joined, fhelmberger left, fhelmberger joined 12:02 fhelmberger left, ab6tract left, fhelmberger joined 12:03 fhelmberger left, fhelmberger joined
Ven m: { my $x = "a"; say $x; die 1 if True; say $x; CATCH { default { $x++; $_.resume; } } }; say 1; 12:03
camelia rakudo-moar 228168: OUTPUT«a␤b␤1␤»
12:04 fhelmberger left, fhelmberger joined 12:05 fhelmberger left, fhelmberger joined 12:06 fhelmberger left, fhelmberger joined 12:07 fhelmberger_ joined, fhelmberger left 12:08 gfldex left, fhelmberger_ left
dalek p: e8bb160 | jnthn++ | tools/build/MOAR_REVISION:
Bump MOAR_REVISION.

Gets us numerous fixes, mostly related to exceptions and optimization.
12:08
FROGGS \o/
12:08 fhelmberger joined
dalek kudo/nom: 2aad0b2 | jnthn++ | tools/build/NQP_REVISION:
Bump NQP_REVISION for updated MoarVM.

This bump includes a resolution for RT #124191.
12:09
12:09 fhelmberger left
synbot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=124191
12:09 fhelmberger_ joined
dalek ast: 3b3af27 | jnthn++ | S04-exception-handlers/catch.t:
Test for RT #124191.
12:10
synbot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=124191
12:11 fhelmberger_ left, fhelmberger joined
smls is skeptical about resumable exceptions 12:11
12:11 fhelmberger left
smls Aren't they, by definition, action at a distance? 12:11
12:12 fhelmberger joined, joe6780 joined, fhelmberger left
joe6780 hello 12:13
12:13 fhelmberger joined, anaeem1_ left
jnthn smls: The place you're most likely to actually take advantage of them is with warnings. 12:13
smls: Which are implemented as resumable exceptions.
12:13 fhelmberger left, joe6780 left
jnthn lunch time & 12:14
12:14 fhelmberger joined
smls
.oO( Code A: Welp, I can't continue with this state, the only safe thing is to bail out. Code B: I don't know what things actually look like at A, but whatever, I'll just force it to continue! *evil laughter*)
12:14
Ven smls: they're in lexical scope of the "try" block
12:14 fhelmberger left
Ven do you consider exceptions action-at-a-distance? resumable exceptions have the same distance 12:15
12:15 fhelmberger joined
smls I suppose with warnings it should be safe 12:15
Ven smls: I'd recommend reading c2.com/cgi/wiki?CommonLispConditionSystem, it's *really* interesting
smls ok
12:16 fhelmberger left, fhelmberger joined, fhelmberger left 12:17 fhelmberger joined 12:18 fhelmberger left
_itz can anyone actually login to www.sicpdistilled.com (which looks interesting) or is the github auth broken just for me? 12:18
12:18 fhelmberger joined, cognominal left 12:19 fhelmberger left, fhelmberger joined 12:20 fhelmberger left, fhelmberger joined 12:21 fhelmberger left, fhelmberger joined 12:22 fhelmberger left, fhelmberger joined 12:23 fhelmberger left, fhelmberger joined 12:24 fhelmberger left, fhelmberger joined 12:25 fhelmberger left, fhelmberger joined 12:26 fhelmberger left, fhelmberger joined
sue_ I see the big green 'authorize application' button 12:27
12:27 fhelmberger left
sue_ do you get that far, or must i authorize this unknown thing to finish the test? 12:27
Ven _itz: confirm it's broken
12:27 fhelmberger joined
sue_ looks unfinished 12:28
12:28 fhelmberger left, fhelmberger joined
psch hi #perl6 o/ 12:29
i just had to learn how to change my ssh keyfile password
12:29 fhelmberger left 12:30 fhelmberger joined
psch ...'cause having my old one in hacks login log won't do 12:30
that's what i get for trying to use putty i guess
12:30 fhelmberger left, fhelmberger joined 12:32 fhelmberger left, fhelmberger joined, zakharyas left, fhelmberger left 12:33 fhelmberger joined 12:34 fhelmberger left, fhelmberger joined 12:35 fhelmberger left
_itz thanks 12:35
12:35 fhelmberger joined 12:36 fhelmberger left, fhelmberger joined 12:37 fhelmberger left, fhelmberger joined 12:38 fhelmberger left, fhelmberger joined 12:39 fhelmberger left, fhelmberger joined 12:40 fhelmberger left, fhelmberger joined 12:41 fhelmberger left, fhelmberger joined 12:42 fhelmberger left, fhelmberger joined 12:43 fhelmberger left
psch hm, skimming through the clog there was something about .class and .jar files from p6 programs 12:43
12:43 fhelmberger joined
psch i wonder if that's for something like standalone jar executables 12:43
12:44 fhelmberger left
psch i think i'll try and see if i get that working, anyway 12:44
i've been gone too long to dive right back into MOP stuff :s
12:44 fhelmberger joined 12:45 fhelmberger left, fhelmberger joined 12:46 ShimmerFairy left
smls sub list-substract (@a, @b) { my %b := set @b; @a.grep({ !%b{$_} }) } 12:46
12:46 fhelmberger left
smls masak: ^^this is what I use for "set difference, but preserving order" 12:46
12:46 fhelmberger joined 12:47 fhelmberger left, fhelmberger joined
smls Seems to be both shorter and faster than the Hash-based solutions posted to your "mini-challenge" two weeks ago, not to mention it can handle arbitrary objects. 12:48
12:48 fhelmberger left, fhelmberger_ joined 12:49 fhelmberger joined, fhelmberger_ left 12:51 fhelmberger left, fhelmberger_ joined, fhelmberger_ left, fhelmberger joined 12:53 fhelmberger left, fhelmberger joined 12:54 fhelmberger left, fhelmberger_ joined
FROGGS hi psch 12:54
12:54 fhelmberger_ left 12:55 andreoss joined, fhelmberger joined
psch hey FROGGS 12:55
12:55 fhelmberger left 12:56 fhelmberger joined 12:57 fhelmberger left, fhelmberger joined 12:58 fhelmberger left, fhelmberger joined
colomon sub list-substract (@a, @b) { @a.grep(* ∉ @b ) }; # shorter but probably slower 12:58
m: sub list-substract (@a, @b) { @a.grep(* ∉ @b ) }; say list-subtract(<a b c>, <b d e>) # shorter but probably slower
camelia rakudo-moar 2aad0b: OUTPUT«5===SORRY!5=== Error while compiling /tmp/q1nrf7p5nu␤Undeclared routine:␤ list-subtract used at line 1. Did you mean 'list-substract'?␤␤»
12:59 fhelmberger left
colomon m: sub list-subtract (@a, @b) { @a.grep(* ∉ @b ) }; say list-subtract(<a b c>, <b d e>) # shorter but probably slower 12:59
camelia rakudo-moar 2aad0b: OUTPUT«a c␤»
12:59 fhelmberger joined, ShimmerFairy joined 13:00 fhelmberger left, fhelmberger joined
Ven m: my @a = <a b c>; my @b = <b d e>; say @a (-) @b; 13:00
camelia rakudo-moar 2aad0b: OUTPUT«set(a, c)␤»
Ven m: my @a = <a b c>; my @b = <b d e>; say list @a (-) @b;
camelia rakudo-moar 2aad0b: OUTPUT«set(a, c)␤»
13:01 fhelmberger left
andreoss m: my $x = "a" x 100; say $x ~~ /a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ 13:01
13:01 fhelmberger joined
dalek osystem: 915ea34 | hoelzro++ | META.list:
Add PriorityQueue to module listing
13:01
camelia rakudo-moar 2aad0b: OUTPUT«(timeout)»
Ven m: my $x = "a" x 100; say $x ~~ /:r a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ 13:02
camelia rakudo-moar 2aad0b: OUTPUT«Nil␤»
13:02 fhelmberger left, fhelmberger joined 13:03 fhelmberger left, fhelmberger joined 13:04 fhelmberger left
andreoss Ven: but it should be "a" x 100 13:04
13:04 fhelmberger joined
Ven m: my $x = "a" x 100; say $x ~~ m:r/a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ 13:05
camelia rakudo-moar 2aad0b: OUTPUT«False␤»
13:05 fhelmberger left, fhelmberger joined
JimmyZ hoelzro: github.com/perl6/ecosystem/commit/915ea34e3d # is wrongish :P 13:06
jnthn ? is greedy, so with :r it'll never let go of the a
13:06 fhelmberger left 13:07 fhelmberger joined
andreoss swtch.com/~rsc/regexp/regexp1.html 13:07
13:07 fhelmberger left 13:08 fhelmberger joined
jnthn heh, I've seen that link so many times I don't even need to follow it any more :P 13:08
13:08 RabidGravy joined, fhelmberger left 13:09 fhelmberger joined 13:10 fhelmberger left, fhelmberger joined, Ven left, _mg_ left 13:11 fhelmberger left, _mg_ joined, fhelmberger joined 13:12 fhelmberger left
jnthn m: 0.^methods(:all).sort 13:12
camelia rakudo-moar 2aad0b: OUTPUT«Code object coerced to string (please use .gist or .perl to do that) in any p6sort at src/vm/moar/Perl6/Ops.nqp:349␤Code object coerced to string (please use .gist or .perl to do that) in any p6sort at src/vm/moar/Perl6/Ops.nqp:349␤Code object coerce…»
13:12 fhelmberger joined
jnthn Wonder if the SEGV on that was one of those I fixed this morning... 13:12
13:13 fhelmberger left
jnthn RabidGravy: When you get chance, please could you check if ^^ no longer SEGVs on HEAD? 13:13
Locally and on evalbot it seems fine
13:13 fhelmberger joined 13:14 fhelmberger_ joined, fhelmberger left 13:15 fhelmberger_ left, fhelmberger joined
moritz 13:16
yoleaux 10:40Z <ab6tract> moritz: thanks for the github org invite! should I also be filling in some paperwork for TPF?
moritz ab5tract: are you ab6tract? :-)
no extra paperwork required
13:16 fhelmberger left 13:17 fhelmberger joined, ssqq joined, fhelmberger left 13:18 fhelmberger joined
RabidGravy jnthn: HEAD of rakudo? or moar? 13:18
13:18 fhelmberger left 13:19 fhelmberger joined, g4 left 13:20 fhelmberger left
jnthn RabidGravy: Rakudo; I bumped MOAR_REVISION/NQP_REVISION already for the patches in questoin. 13:20
*question
13:20 fhelmberger joined
RabidGravy cool, 'ang on then 13:20
13:21 fhelmberger left
andreoss % time perl6 -e 'my $x = "a" x 30; say $x ~~ /a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/' 13:21
real6m46.970s
% time perl -E 'my $x = "a" x 30; say $x =~ /a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/'
real1m19.497s
13:21 fhelmberger joined
_itz how do I link moar with -g ? 13:21
13:22 fhelmberger left
timotimo _itz: --debug=3 should put the -g into the LDFLAGS as well 13:22
in the Configure.pl invocation
_itz ah ty
13:22 fhelmberger joined 13:23 fhelmberger left, fhelmberger joined
dalek osystem: 874a21f | (Matt Egeler)++ | META.list:
Remove duplicate item in META.list
13:24
13:24 fhelmberger left, fhelmberger joined 13:25 yqt left, fhelmberger left, fhelmberger joined 13:26 fhelmberger left, fhelmberger joined 13:27 gfldex joined, fhelmberger left, fhelmberger joined 13:28 fhelmberger_ joined, fhelmberger left 13:29 fhelmberger_ left, fhelmberger joined 13:30 fhelmberger left, fhelmberger joined 13:31 fhelmberger left 13:32 fhelmberger joined
ugexe my $sock = IO::Socket::INET.new(:host<httpbin.org>, :port(80)); $sock.send("GET /status/200 HTTP/1.1\r\nHost: httpbin.org\r\n\r\n"); $sock.input-line-separator = "\r\n\r\n"; say $sock.get().perl # input-line-separator getting tripped up? seems to do something like match the line-separator, but returns the entire line while only removing $input-line-separator.chars[*-1] instead of $input-line-separator? 13:32
13:32 fhelmberger left 13:33 fhelmberger joined, fhelmberger left 13:34 telex left, fhelmberger joined, telex joined
ugexe if $input-line-separator = 'TT' (to match the starting "HTTP") the first line returned is 'HT'. if $input-line-separator = 'T' the first line returned is 'H' 13:34
RabidGravy jnthn++, confirmed that no longer segfaults. Obviously the example was bogus, but hey ;-) 13:35
13:36 FROGGS left, JimmyZ_ joined
RabidGravy cdc: by the way what you really wanted was 13:41
m: say 0.^methods(:all).sort({ $^a.gist cmp $^b.gist })
camelia rakudo-moar 2aad0b: OUTPUT«ACCEPTS ACCEPTS ACCEPTS BUILDALL BUILD_LEAST_DERIVED Bool Bool Bridge CREATE Capture Complex DUMP DUMP DUMP-OBJECT-ATTRS DUMP-PIECES EVAL FOR FatRat IO Int Int Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.…»
RabidGravy with some extra thing to remove the anon methods
jnthn m: say 0.^methods(:all).sort(*.name) # or this?
camelia rakudo-moar 2aad0b: OUTPUT«ACCEPTS ACCEPTS ACCEPTS Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new BUILDALL BUILD_LEAST_DERIVED Method+{<anon>}.new Method+{<anon>}.new Bool Bool Bridge CREATE Capture Complex Met…»
RabidGravy or that 13:42
timotimo maybe a .unique :P
13:42 yqt joined
colomon Ven: set difference is shorter, but it’s also not order preserving 13:43
PerlJam m: say 0.^methods(:all).sort(*.name).unique;
camelia rakudo-moar 2aad0b: OUTPUT«ACCEPTS ACCEPTS ACCEPTS Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new Method+{<anon>}.new BUILDALL BUILD_LEAST_DERIVED Method+{<anon>}.new Method+{<anon>}.new Bool Bool Bridge CREATE Capture Complex Met…»
colomon m: sub list-subtract (@a, @b) { @a.grep(* ∉ @b ) }; say list-subtract(<c b a>, <b d e>)
camelia rakudo-moar 2aad0b: OUTPUT«c a␤»
colomon m: sub list-subtract (@a, @b) { @a.grep(* ∉ @b ) }; say @a (-) @b
camelia rakudo-moar 2aad0b: OUTPUT«5===SORRY!5=== Error while compiling /tmp/F5ChBulsqc␤Variable '@a' is not declared␤at /tmp/F5ChBulsqc:1␤------> 3ract (@a, @b) { @a.grep(* ∉ @b ) }; say 7⏏5@a (-) @b␤»
colomon m: sub list-subtract (@a, @b) { @a - @b }; say list-subtract(<c b a>, <b d e>) 13:44
camelia rakudo-moar 2aad0b: OUTPUT«0␤»
colomon m: sub list-subtract (@a, @b) { @a (-) @b }; say list-subtract(<c b a>, <b d e>)
camelia rakudo-moar 2aad0b: OUTPUT«set(a, c)␤»
13:45 muraiki joined 13:46 Ven joined
Ven Fox news talks about github... ouch... www.youtube.com/watch?v=k2vJNNAQZlg 13:51
timotimo hahaha, yeah 13:52
that video is so excellently bizzare
just imagine ... they probably make this kind of mistake in many circumstances
psch uhhh 13:53
PR before fork?
wow
Ven I think fox news is pretty well known for being terrible in the US, right?
psch yeah timotimo, that's scary
timotimo i think everybody knows, but a gigantic amount of people still watch them and take them seriously 13:54
nwc10 faux news striks again? 13:55
13:55 cognominal joined
_itz "reposotory" 13:57
13:57 Ven left
hoelzro o/ #perl6 14:03
JimmyZ: good catch; I don't know how that line got repeated =/ 14:04
.tell FROGGS I would like to do that; I just wanted to get the basics done
yoleaux hoelzro: I'll pass your message to FROGGS.
[Coke] bummer; pmichaud's talk is now not streaming, but is cut off at the end.
14:05 tardisx joined 14:06 Ven joined
Ven _itz: they write it correctly at the very end! 14:07
14:12 molaf__ joined, laouji left 14:14 tinyblak_ left 14:15 molaf_ left
ugexe perl-j (so probably nqp-j?) seems to do the more correct thing (re: multi character input line separators) for nqp::setinputlinesep 14:16
14:17 vendethiel left 14:18 yqt left 14:23 vendethiel joined 14:26 skids joined 14:27 ssqq left
smls jnthn: Is it safe for one thread to assign a value to an rw attribute of an object, while another thread pushes that same object to a List/Array (but doesn't look at its attributes)? 14:32
14:33 Ven left, amurf joined
jnthn smls: Should be 14:33
smls ok 14:34
jnthn smls: Pushing to the same list from two threads will get you trouble though
smls yeah
jnthn smls: Also, I'm currently trudging through a bunch of places we hve broken code-gen that accidentally ends up insufficient cloning of blocks
*have
smls: Which leads to some things seeing the wrong lexicals 14:35
nwc10 this is MoarVM specific, or cross VM?
jnthn Cross VM 14:36
14:38 amurf left
lizmat good *, #perl6 14:40
only caught on with backlog of today
day #2 of YAPC::NA to begin soon
14:40 tinyblak joined
psch hi lizmat o/ 14:40
lizmat psch o/
14:41 Petit_Dejeuner left
hoelzro o/ lizmat 14:41
lizmat hoelzro \o 14:42
pmichaud Important GLR-related design question 14:43
lizmat pmichaud o/
pmichaud (may have already been discussed on-channel)
14:44 vendethiel left
pmichaud since post-GLR we will only have two places that do flattening, should 14:44
TimToady don't ask to ask :)
pmichaud my $list = (1,2,3); for $list { .say }
TimToady actually, that was a topicalization, so acceptable :)
pmichaud produce three iterations?
(I vote yes)
timotimo in my understanding: no
wait, for becomes the flattening thing? 14:45
pmichaud in this formulation, for $list { .say } becomes isomorphic with $list.map: { .say }
still no flattening taking place 14:46
14:46 mtj_ left
pmichaud (since any nested lists inside of $list aren't flattened out) 14:46
this would eliminate a lot of for $xyz.list { ... } formulations
smls Wouldn't that break $ sigils as an indicator for non-flattening though? 14:47
TimToady this has nothing to do with flattening
pmichaud no, but there's no flattening here.
timotimo mhm
smls $xyz.list can be written as @$xyz
TimToady it's "when do I access the list nature of the argument?"
pmichaud smls: yes, but why are we forcing people to write @$xyz in the first place?
previously this was so that something like 14:48
14:48 vendethiel joined
pmichaud for ($a, @b, $c) { ... } would flatten @b but not $a nor $c.... but 'for' no longer flattens, so why do we need to make the scalar distinction? 14:48
TimToady I think I'm +1 on this now, though I used to not be 14:50
pmichaud TimToady: yeah, I'm the same way. It's especially telling after seeing some of rjbs++ code yesterday :)
I just no longer see any case where for $scalar { ... } shouldn't automatically access $scalar's list nature, or treat it as an iteration of one element. 14:51
s/or treat/versus treat/
TimToady and that's the basic distinction between for and given now
timotimo t/spec/S03-metaops/hyper.rakudo.moar .......................... No subtests run
pmichaud exactly
timotimo is that my problem?
pmichaud I think a lot of other uses of .list disappear, and we don't have to worry about item-versus-list context nearly so much. 14:52
cdc RabidGravy, jnthn: many thanks for the fix and for the suggestion ("0.^methods(:all).sort(*.name)")!
pmichaud ("we" being "programmers" here)
TimToady interestingly, 'for flat $foo' is still a single iteration 14:53
pmichaud yes.
TimToady heading downstairs &
pmichaud I'll be heading that way also soon
14:53 mtj_ joined
jnthn timotimo: Context? :) 14:53
timotimo jnthn: the question should probably have been "does anybody else see this output?"
i'll take this back to #moarvm 14:54
14:56 labster joined 14:57 labster left
smls m: my $x = (2, 4, 6); sub a(**@a) { dd @a }; a $x 14:59
camelia rakudo-moar 2aad0b: OUTPUT«(2, 4, 6)␤»
smls So I guess loops will parse their headers like a **@ slurpy?
That's at least consistent, I guess 15:00
PerlJam hopes that pmichaud and TimToady can explain themselves to the simple folk like myself at some point.
smls (though of course from a P5 perspective, it's sacrilegious :P)
lizmat also heads downstairs 15:01
15:01 lizmat left
dalek kudo/nom: 636bd32 | jnthn++ | src/Perl6/Actions.nqp:
Fix insufficient cloning in given/when/default.

This could lead to lexicals bleeding between threads.
15:07
kudo/nom: 70abc0b | jnthn++ | src/Perl6/Actions.nqp:
Must clone then p6capturelex.

Otherwise it's a race condition. This is the only place I spotted this bug; the other places seem to get it right.
hoelzro TIL "[] xx 4" DWIM 15:08
jnthn++
timotimo oh, this could have been what caused problems when i used regexes across threads 15:09
where i had to build my own $/ to make it not explode (though i'm not 100% sure that was enough)
hoelzro I did not know that xx auto-thunked the LHS 15:12
15:12 lizmat joined
jnthn It does, so it'll DWYM :) 15:12
TimToady PerlJam: it's easy to explain to a P5 programmer, if one can make the P5 programmer realize that P5's 'for' is P6's 'for flat'
15:12 domidumont left, Petit_Dejeuner joined, vendethiel left
hoelzro jnthn: I actually had to try that example in your RT response =) 15:13
TimToady but for itself really just takes two arguments, one of which produces a list, and other of which is a closure
timotimo we even have an optimization in place that doesn't thunk if the LHS is "simple"
hoelzro timotimo: I saw that bit =)
I'm not sure if it's good or bad that Perl 6 still surprises me =P
this surprise is *definitely* welcome, though
jnthn hoelzro: Found the given/when bugs while looking into you RT #125346
synbot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=125346
jnthn hoelzro: It gets things righter now but...still occasionally wrong. :/
timotimo made very famous by python's implementation of default function values :) 15:14
hoelzro jnthn: I saw that; interesting how that works
thanks for digging in
jnthn Yeah, the case in the ticket is fixed now
hoelzro oh, wow
jnthn Uh
PerlJam TimToady: I was having some agita from "for $list { }" being three iterations and "for flat $foo {}" being one iteration thinking that $foo and $list were meant to be the same.
jnthn the case I golfed it to
hoelzro ahhh
jnthn So there's someting else going on still
Your original is right most of the time rather than occasionally for me after this fix 15:15
hoelzro I'm just cleaning out stale branches and uncommitted tests @ home, so I don't expect most of this to get fixed right away =)
jnthn But still ends up with one promise Planned some of the time...
15:17 oetiker_ joined, oetiker_ left, oetiker left 15:18 oetiker joined 15:20 lizmat left, lizmat joined 15:21 dr0ne joined 15:27 dr0ne left 15:29 tinyblak left
dalek ecs: ef4b8b7 | lizmat++ | S (4 files):
Remove .graphs fossils
15:30
15:32 _itz left 15:34 itz joined 15:35 tinyblak joined, gagalicious left 15:42 captain-adequate joined 15:52 ab6tract joined
ab6tract moritz: yup, ab6tract is my nick for the webchat 15:53
m: my %x = x => 8, y => 9, z => 8; my %r = %x.invert.unique; %r.say; 15:54
camelia rakudo-moar 70abc0: OUTPUT«8 => z, 9 => y␤»
ab6tract m: my %x = x => 8, y => 9, z => 8; (my %r).push: %x.invert.unique; %r.say;
camelia rakudo-moar 70abc0: OUTPUT«8 => x z, 9 => y␤»
ab6tract This makes sense to me conceptually, but I would love to read a deeper explanation of what is actually happening there. I guess it treats the values of %r as arrays and pushes onto them? 15:56
timotimo yeah, push on a hash will turn values into lists if the same key is encountered multiple times
pmichaud PerlJam: I would expect that my $list = 1,2,3; for flat $list { ... }; will still be one iteration 15:57
moritz too
15:58 diana_olhovik left
pmichaud more concretely: for flat $a, @b, $c { ... } produces @b.elems+2 iterations, even if $a and $c are iterables 15:58
the real conclusion I was hoping to reach (and did) is that for <mumble> { ... } basically desugars to <mumble>.map({ ... }) 15:59
that should be easy enough for simple folk :) 16:01
smls will take some getting used to, but yeah, it's consistent. 16:02
16:03 ab6tract left
smls (though I didn't mind the flattening `for` either.) 16:03
timotimo that's flattering
smls :P 16:04
pmichaud what really happens is that a lot of places where people were doing @(...) or .list can disappear, I think.
16:06 labster joined 16:07 vendethiel joined
smls Alright, so an undefined value will happily propagate through a postscripting chain, but as soon as it hits a method call, it blows up: 16:08
m: my %x; say %x<foo>.<bar>.[4]; say %x<foo>.<bar>.[4].lc
camelia rakudo-moar 70abc0: OUTPUT«(Any)␤Method 'lc' not found for invocant of class 'Any'␤ in block <unit> at /tmp/uHu7Ex_n9a:1␤␤»
smls Do we have some way to say "only call this method if the invocant id defined; otherwise return the invocant directly"?
pmichaud m: my %x; say %x<foo>.?lc 16:09
camelia rakudo-moar 70abc0: OUTPUT«Nil␤»
timotimo m: my %x; %x<foo>.<bar>.[5] = 5; say %x
camelia rakudo-moar 70abc0: OUTPUT«foo => bar => (Any) (Any) (Any) (Any) (Any) 5␤»
pmichaud hmm, not that.
timotimo ^- this is why
smls Maybe && as metaop akin to the = metaop would be useful? As in $foo&&.method 16:10
Although, that looks kinda messy :P
timotimo m: my %x; say %x<foo>.<bar>.[4]; say %x<foo>.<bar>.[4] andthen .lc 16:11
camelia rakudo-moar 70abc0: OUTPUT«(Any)␤(Any)␤Method 'lc' not found for invocant of class 'Any'␤ in block <unit> at /tmp/7j1c0TFhUH:1␤␤»
timotimo m: my %x; say %x<foo>.<bar>.[4]; say %x<foo>.<bar>.[4] andthen .perl.say
camelia rakudo-moar 70abc0: OUTPUT«(Any)␤(Any)␤Any␤»
timotimo m: my %x; say %x<foo>.<bar>.[4]; say %x<foo>.<bar>.[4] andthen *.say
camelia rakudo-moar 70abc0: OUTPUT«(Any)␤(Any)␤True␤»
timotimo m: my %x; say %x<foo>.<bar>.[4]; say (%x<foo>.<bar>.[4] andthen .lc)
camelia rakudo-moar 70abc0: OUTPUT«(Any)␤(Any)␤»
timotimo m: my %x; say %x<foo>.<bar>.[4]; say (%x<foo>.<bar>.[4] andthen "ooooh" orelse "noooo!")
camelia rakudo-moar 70abc0: OUTPUT«(Any)␤noooo!␤»
smls nice 16:12
timotimo andthen has extremely low precedence
that has to be kept in mind
16:13 Celelibi left 16:18 uncleyear left, uncleyear joined 16:20 muraiki left 16:23 labster_ joined
tony-o_ m: .say for 1...Inf 16:24
camelia rakudo-moar 70abc0: OUTPUT«(timeout)1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤11␤12␤13␤14␤15␤16␤17␤18␤19␤20␤21␤22␤23␤24␤25␤26␤27␤28␤29␤30␤31␤32␤33␤34␤35␤36␤37␤38␤39␤40␤41␤42␤43␤44␤45␤46␤47␤48␤49␤50␤51␤5…»
16:24 larion left, labster left, labster_ is now known as labster
lizmat m: my $a; say $a.?foo 16:25
camelia rakudo-moar 70abc0: OUTPUT«Nil␤»
lizmat this is assuming that Any doesn't have a foo method
m: my $a; say $a.?Int 16:26
camelia rakudo-moar 70abc0: OUTPUT«Nil␤»
lizmat m: my $a; say $a.?keys
camelia rakudo-moar 70abc0: OUTPUT«␤»
RabidGravy ooh 16:27
like
16:28 vendethiel left 16:29 ssqq joined
dalek c: 16c4d0c | pmichaud++ | lib/Language/operators.pod:
Add note about topicalizing rhs for infix:<andthen>.
16:29
16:30 Petit_Dejeuner left, diana_olhovik joined 16:32 fhelmberger left
RabidGravy lizmat, is that short cutting $a.defined && $a.can('foo') && $a.foo ? or just partially 16:33
pmichaud RabidGravy: $a.?foo returns Nil if $a doesn't have a 'foo' method. It doesn't check definedness of $a, I don't think. 16:34
RabidGravy still very useful 16:35
pmichaud m: say (Any.?list).WHAT
camelia rakudo-moar 70abc0: OUTPUT«(List)␤»
ssqq When get memory address of some object, How to return object according memory address?
timotimo you can only do that with NativeCall 16:39
lizmat RabidGravy: so yes, it's doing something close to what you want , but for maybe not th right reason
timotimo if you're working with memory addresses of objects, you must know that MoarVM's garbage collector is moving
if you hit a GC between calculating the address and grabbing the object from memory, you'll be majorly screwed 16:40
RabidGravy seems reasonable 16:41
16:41 phao joined
ssqq timotimo: I want to know if it possible establish C language memory model using Perl6 16:43
16:43 _mg_ left
JimmyZ_ I think he means object.id 16:43
timotimo you can get access to the underlying MVMObject as a C Struct, but there's no way to put it back into the VM so that it gets managed properly 16:44
16:46 yqt joined
lizmat Q: how can you be sure your object will not be moved by the GC while reading/writing it? 16:48
A: I don't think you can, therefore you should *always* use a MoarVM API function to read/write objects ?
JimmyZ_ the object won't move if object.id get called once 16:50
iirc
timotimo ah, right, it gets put into the second generation
but if it points at any other MVMObject, that pointer can change from under you
since you don't get to add additional roots from "outside" the internals
16:50 spider-mario joined
JimmyZ_ yeah 16:53
[ptc] hoelzro, ugexe: have just updated the Travis build stuff to what BanzaiMan wanted to have, hopefully he's happy with that 16:57
hoelzro, ugexe: am looking into how to add the relevant Perl6 docs page to travis now
16:59 vendethiel joined 17:00 phao left
ugexe [ptc]: did that `rakudo triple #{version} #{version} #{version}` get changed? 17:01
17:02 labster left 17:06 muraiki joined 17:07 kurahaupo1 joined
[ptc] ugexe: in what way? 17:08
ugexe: I updated both rakudobrew commands to be in a fold and to include timing info
smls "rakudobrew triple nom master master" still works for me 17:09
[ptc] also, I think the perl6 build scripts will need testing once they are available on travis before the functionality gets advertised
ssqq When parse C 'typedef int Int', new type would dynamically established, How to dynamically change grammar rule accordingly? 17:10
JimmyZ_ ssqq, 你可以看一下 tinycc 是怎么实现的 17:13
Util I am presenting a Perl 6 talk, 2 hours from now.
If anyone (not attending) wants to sanity-check my code,
colomon Util++
Util I will welcome corrections (and even suggestions) until then. Thanks! 17:14
[ptc] Util++
Util home.p6c.org/~util/talks/YAPC/YAPC_...counts.pdf
pmichaud Util++
ssqq p6: grammar G { my @types = <int float>; token type { @types }; token typedef-expr { 'typedef' \s+ <type> <ident> { push @types, $<name> }} 17:15
camelia rakudo-moar 70abc0: OUTPUT«5===SORRY!5=== Error while compiling /tmp/tmpfile␤Missing block␤at /tmp/tmpfile:1␤------> 3<type> <ident> { push @types, $<name> }}7⏏5<EOL>␤ expecting any of:␤ postfix␤ statement end␤»
ugexe [ptc]: That command is feeding the same $version as the perl6, moar, and nqp isnt it?
it should either be 3 different $version variables, or just `rakudobrew triple` 17:16
ssqq JimmyZ: 我想知道在Perl6中如何动态的修改 token
[ptc] ugexe: that it uses the same $version was the idea
pmichaud Util: (slide 16) Perl 6 now has a .is-prime method 17:17
ssqq JimmyZ_: 我用数组实现了,但感觉不太对劲
timotimo Util: is there a reason you show for @array.keys -> $i { and then use @array[$i] } rather than for @array.kv -> $i, $v { use $v } ?
[ptc] ugexe: if I just use rakudobrew triple, that doesn't run (iirc)
timotimo ah, it's in there later on 17:18
colomon Util: seems like you address for (well, foreach), do a few other things, then come back to for?
[ptc] ugexe: the version tie-in was something that I wanted: namely that a given Rakudo stack would be available when saying in .travis.yml, perl6: 2015.05 (for example)
timotimo Ulti: on slide 49 there's "@r =('z') x 3);" which misses a "("
colomon Util: all without ever showing for @array -> $v
Util: (or did I miss it?) 17:19
ugexe [ptc]: sounds like you want `rakudobrew build $backend $version`
Util pmichaud: .is-prime omission intentions; teaser for Ovid's last few slides
colomon: for() not all being together is intentional, for effect. 17:20
[ptc] ugexe: don't think so...
ugexe triple is for building version $0 of moar, version $1 of nqp, and version $2 of rakudo (order may be incorrect) i believe
17:20 ssqq left
colomon Util: k 17:20
[ptc] ugexe: what I'm trying to do (and possibly doing it incorrectly) is to build a given Rakudo release
pmichaud Util: just checking :) 17:21
ugexe yes, thats what the build command i posted does
[ptc] ugexe: and usually moar, nqp and rakudo are all at the same version number
ugexe: ah, ok
pmichaud Slide 49 paren typo in last line?
Util colomon: good point, I did never show single-var version, but I do say: for @array -> $city, $state, $zip 17:22
pmichaud Util: ^^
colomon Util: yeah, I’m still reading through, just got to the triple var version.
[ptc] ugexe: I need to try that out, thanks for the tip
ugexe: btw: I added your email address as listed on GitHub to the build file, similarly to other community-supported languages, hope that's ok 17:23
Util pmichaud: 49 paren typo - Fixed. Thanks!
ugexe only if you are a nigerian prince
timotimo BBIAB 17:24
[ptc] ugexe: well, as it happens, I *do* have 10^9 USD which I need to put in a bank account somewhere. Just send me all your bank details, passwords, etc. and I'll do the rest :-P 17:25
timotimo m: my @field_names = < CITY 'STATE NAME' ZIP # will change later␤>; say @field_names;
camelia rakudo-moar 70abc0: OUTPUT«CITY 'STATE NAME' ZIP # will change later␤»
timotimo m: my @field_names = << CITY 'STATE NAME' ZIP # will change later␤>>; say @field_names; 17:26
camelia rakudo-moar 70abc0: OUTPUT«CITY STATE NAME ZIP # will change later␤»
17:26 uncleyear left, uncleyear joined
pmichaud m: my @field_names = < CITY 'STATE NAME' ZIP # will change later␤>; say @field_names.perl 17:26
camelia rakudo-moar 70abc0: OUTPUT«["CITY", "'STATE", "NAME'", "ZIP", "#", "will", "change", "later"]<>␤»
timotimo Util: one of your slides suggests this works -^
pmichaud m: my @field_names = << CITY 'STATE NAME' ZIP # will change later␤>>; say @field_names.perl
camelia rakudo-moar 70abc0: OUTPUT«["CITY", "STATE NAME", "ZIP", "#", "will", "change", "later"]<>␤»
17:29 espadrine left 17:30 JimmyZ_ left 17:31 andreoss left
Util timotimo: looksing... 17:31
17:32 yqt left, larion joined, Celelibi joined, JimmyZ_ joined
JimmyZ_ ssqq, token 里面是可以使用变量的 17:33
lizmat Util: alternative to "say "My name is {$self.name}";" is "say "My name is $self.name()"; 17:35
Util timotimo: Thanks! I was remembering that that was specced to work, but did not check (in haste). Re-writing.
17:35 JimmyZ_ left
Util lizmat: Thanks! I had forgotten that (along with zen slices). I think that I will leave it as-is, though, since I am showing off interpolated code blocks. 17:36
[ptc] ugexe: `rakudobrew build $backend $version` is much better 17:39
ugexe: I'm going to leave $backend hardcoded as moar for now, however we can change this to support the jvm in future as well, what do you think?
17:41 llfourn_ left
ugexe sounds like the best option 17:41
RabidGravy boom 17:42
17:48 FROGGS joined
FROGGS o/ 17:50
yoleaux 14:04Z <hoelzro> FROGGS: I would like to do that; I just wanted to get the basics done
hoelzro o/ FROGGS 17:51
17:52 kst left
FROGGS hi hoelzro 17:52
17:54 abraxxa left
jdv79 m: for 1..3 { try "foo".IO.rename("bar");} # usually not "broken" 17:54
camelia ( no output )
jdv79 m: for 1..4 { try "foo".IO.rename("bar");} # usually "broken"
camelia ( no output )
flussence it's a gc bug, afaik
jdv79 m: for 1..10 { try "foo".IO.rename("bar");} # usually "broken"
camelia ( no output )
jdv79 :( - that breaks pretty reliably locally and via msging camelia - idk 17:55
m: for 1..20 { try "foo".IO.rename("bar");} # maybe 17:56
camelia rakudo-moar 70abc0: OUTPUT«Use of uninitialized value <element> of type Any in string context in code at /tmp/9fpdYO6Mo0:1␤WARNING: unhandled Failure detected in DESTROY:␤Failed to rename '/home/camelia/foo' to '/home/camelia/bar': Failed to rename file: no such file or direct…»
jdv79 ah, there
17:56 abraxxa joined, abraxxa left
jdv79 is that a bug? 17:56
flussence «dir('.').sort xx 2» gets me a segfault, and I have problems doing basic addition too many times, so I'm pretty convinced they all have the same root cause
jdv79 some gc thing you mean? 17:57
flussence yeah. I believe it's already known about, at least
ugexe can a role force an attribute on an interface like method stubs? or am i wandering into an anti-pattern...
jdv79 ok
jnthn: ^^ is the golfed version of what i hit the other day 17:58
masak evenin', #perl6
17:58 labster joined
flussence o/ 17:58
lizmat flussence: seems related to what *is* in dir "." 17:59
can't get it to fail locally
flussence oh, I'm on 32-bit, that might be why
18:02 labster left 18:03 [Sno] left, [Sno] joined
geekosaur very common cause of weirdness is stuff assuming that filenames are utf8, when on unixlikes they are octet strings and no encoding can safely be assumed 18:04
cue bug reports of gtk and OS X Aqua file picker crashes
pmichaud Excellent talk from DrForr++ . 18:05
Util DrForr++ indeed! 18:07
colomon on what? 18:10
18:11 amurf joined
Util colomon: Quaternions! You would have loved it. 18:11
colomon oooo, I think I would have!
18:13 mtj_ left 18:14 mtj_ joined 18:15 tinyblak left, lizmat left 18:16 amurf left 18:19 Petit_Dejeuner joined 18:20 kst joined 18:24 domidumont joined 18:25 mohij joined 18:29 Peter_R joined
jnthn To correct an inaccuracy in the backlog: the object *may* move after calling getting its unique object ID, it's just that the ID won't change. It's currently implemented by pre-choosing a gen2 address; that is an implementation detail, though, and also not useful as the move is not immediate. 18:31
18:31 diana_olhovik left
jnthn flussence: I fixed a nasty SEGV this morning that was more likely to show up on 32-bit than 64-bit; you may want to grab latest if you haven't already 18:32
m: dir('.').sort xx 2
camelia ( no output )
jnthn m: dir('.').sort xx 10
camelia ( no output )
jnthn m: dir('.').sort xx 100
camelia ( no output ) 18:33
18:35 diana_olhovik_ joined
hoelzro I forget, does Str have a method that's like Perl 5's tr/abc/def/ expression? 18:44
ah, .trans
Util hoelzro: $str.trans( %mapping.pairs );
hoelzro thanks Util 18:46
Util yw
jnthn TimToady: In Failure, it seems that if we actually throw the exception (maybe because it got fatalized) then we don't mark the Failure as handled. This seems to be one of our big sources of leaked Failure. 18:52
TimToady: I figure since actually threw they count as handled at that point?
This is why we leak the rename ones in a try, as in the jdv79++ example earlier. 18:53
18:54 espadrine joined
jnthn tries a patch to do this 18:55
18:56 kurahaupo1 left
moritz marking a thrown Failure as handled sounds sensible 18:56
jnthn OK. If the patch spectests fine I'll put it in :)
flussence jnthn++ # thanks, will give it a try now
Ulti not sure if anyone on here noticed www.reddit.com/r/perl/comments/392g...al_arrays/ 18:59
whatever happened to the constraint version of the shaped array declaration was it just abandoned in favour of waiting to do proper native like aligned arrays?
18:59 bin_005 joined
jnthn Ulti: constraint versoin? 19:03
19:04 mohij left
FROGGS Ulti: you are talking about this? github.com/rakudo/rakudo/commits/s...r=Arcterus 19:04
IIRC it was had a "wrong approach"
jnthn *nod*
FROGGS s/was//
jnthn I'm planning to work on multi-dim arrays; they're next up, except it kinda doesn't make sense to dig in until I see the way Array will be post-GLR 19:05
Ulti sure
dalek kudo/nom: 80f8efc | jnthn++ | src/core/Failure.pm:
A Failure that throws counts as handled.

This means fatalized Failures will not report themselves as leaked.
19:06
jnthn jdv79: That should fix your rename issue, anyways.
Ulti jnthn out of interest is this going to be something that adds constraints to normal lists i.e. checks some boundary or something that is a bit more like a C multi-dim array? 19:07
zostay returning to my question last night about using .get or .lines on a :bin, it seems to me like that should work, but return a Blob instead of a Str or provide Blob-ish alternative methods 19:08
jnthn Ulti: That's one of the things I'm working out at the moment; S09 doesn't clearly say it has to be one way or the other
Ulti yeah
jnthn Ulti: It hints that it *can* be C multi-dim style though
Ulti I know which one everyone in PDL land would want >:3 19:09
jnthn Ulti: 'cus it points out that you might have to create a "view" kinda thing if you access just one dimension
FROGGS zostay: I understand it as .get/.lines being for strings, but .read is for bufs
Ulti FORTRAN style arrays :)
jnthn So I need to ponder the implementation consequences of that also. :-)
Ulti yeah I guess something like Java solved that by having Iterator 19:11
19:12 smls left, smls_ joined 19:15 tinyblak joined
zostay FROGGS: i understand that... but the :bin option has very little meaning for :r files, you might as well not bother because read doesn't bother with encodings anyway 19:15
i'm suggesting a way to make :bin more powerful, allowing you to buffer records in a binary file 19:16
19:16 yqt joined
zostay in fact, the only place :bin seems to make any useful difference is in slurp 19:17
in which you can pass :bin there directly
dalek rl6-roast-data: 2542aff | coke++ | / (9 files):
today (automated commit)
19:18
19:18 brrt joined
zostay IO::Handle could be treated as an Iterable over Blobs or Strs if :bin was used more 19:19
[Coke] jnthn: I'm sure we can come up with a list of RTs or something if you're looking for work before GLR is done. :)
smls_ zostay: Isn't that what IO::Handle.lines and IO::Handle.words is for? 19:21
oh, nvm 19:22
zostay yes and no... encoded, buffered files yes, binary files no
jnthn [Coke]: I'm open to being given RTs people especially care about; I'm trying to pick off some of the most serious ones already :-) 19:23
rjbs jnthn: A question!
jnthn rjbs: An answer!
rjbs jnthn: I had a /very/ short talk with Pm earlier about NFG's representation in memory.
jnthn
.oO( Meta-discussion is so easy! )
rjbs jnthn: He said that it's an array of int16, and that high codepoints are /also/ represented by synthetics. 19:24
(or at least negatives)
19:24 smls_ is now known as smls
jnthn rjbs: No, it's an array of int32 :) 19:24
rjbs Thanks, question answered!
19:24 Petit_Dejeuner left
jnthn rjbs: Though we'll probably use an array of uint8 for things in the Latin-1 range in the future. 19:25
19:25 smls_ joined, Petit_Dejeuner joined
jnthn To cheat a bit. :-) 19:25
But for now, it's all 32 wide
rjbs thanks! 19:26
19:27 lizmat joined
nwc10 the slightly more funky plan was to use arrays of uint8s for anything with no more than 128 distinct non-ASCII codepoints 19:27
but "just latin 1, and done" beats "funky vapourware" 19:28
also, "just latin 1" (or some other fixed 8 bit) means memcmp()
jnthn nwc10: That is funky but the latin 1 thing goes together well with us storing things in the bytecode file as latin-1 when we can also. 19:29
19:29 smls left
jnthn nwc10: Latin-1 is in NFG for free, so we save a bunch of time at startup things to this. :-) 19:29
And if we can just use the bytes directly in the MVMString we build, we'll do even better. 19:30
19:31 smls joined 19:32 smls_ left
jdv79 jnthn: thanks! seems so. 19:34
flussence I thought up a crazy idea about strings a while back and now seems as good a time as any to ask it: what if NFG strings were to default to the smallest int type that can contain all the synthetics, instead of int32? 19:39
19:39 brrt left
jnthn You'd have to account for the non-synthetics too... 19:39
flussence and here's the crazy part: what if we were to stuff any random unicode characters encountered into unused synthetic codepoints :) 19:40
or in layman's terms: "hey, let's abuse NFG to reinvent fixed-width codepages!" 19:44
19:44 Petit_Dejeuner left
lizmat or in other words: make all codepoints synthetic internally ? 19:44
pmichaud okay, int32 array then.
works for me :)
I'm getting lots of vm-related questions here at yapc, so I'm having to make educated guesses :) 19:45
19:45 zengargoyle left, dwarring joined
flussence lizmat: pretty much. the nice thing about the Str type is nobody using it in perl6 code has to ever know it's doing something horrifying underneath :) 19:45
pmichaud but my answers are often prefaced with "well, ask #perl6 to be sure, but I think it's likely ..... " 19:46
jnthn :-)
pmichaud I suppose I could actually learn about all of this stuff for real and become more authoritative... but NAAAAAHH
moritz flussence: except when you nativecall 19:47
FROGGS pmichaud: :D
flussence moritz: yeah, you got me there...
lizmat but nativecall code would need to be able to handle any "real" synthetics anyway 19:48
jnthn We encode a Str into an encoding before it escapes to native calls :)
lizmat so then it wouldn't matter whether all codepoints were synthetic or not
jnthn Synthetics are never to be leaked 19:49
19:49 zengargoyle joined
flussence jnthn: before I forget to mention it: that segfault's fixed for me :D 19:51
jnthn Phew :)
It took some finding.
PerlJam Util++ 19:56
(watching now :)
flussence also, if we end up with a scenario where strings can map to any list of codepoints internally, that giant mountain of Encode:: modules perl5 has becomes trivial to do in perl6...
20:05 telex left 20:06 telex joined 20:12 Peter_R left
dalek ecs: 866db90 | (Stéphane Payrard)++ | S99-glossary.pod:
S99: spotted "synthetic character" on #p6. Added entries"
20:12
lizmat cognominal: I think it was more "synthetic codepoint" ? 20:13
jnthn aye
cognominal ok, will fix it 20:14
DrForr colomon: It's on youtube. 20:18
colomon DrForr++ \o/
DrForr Thanks. 20:19
Incidentally there's a possible way to do what I'm after (but not really seriously.) U+20D0..U+20FF have a Math property, and the combining solidus and arrows are in that range. 20:21
dalek ecs: afd68e6 | (Stéphane Payrard)++ | S99-glossary.pod:
S99: fixed previous entries; thx jnthn++, lizmat++"
20:22 uncleyear left, isacloud left, uncleyear joined 20:24 isacloud joined 20:27 larion left
DrForr Looks like we're getting quite a bit of perl6 participation this time 'round. 20:29
pmichaud yes, I estimated at least 50 people at Util++'s talk 20:30
my talk yesterday was standing-room-only (smaller room), which shocked me quite a lot
20:30 darutoko left
pmichaud I get to give my "How (not) to design a language" talk tomorrow :) :) 20:31
DrForr I got aybe ... 30?
20:31 sftp left
pmichaud DrForr: I think it was at least 30, yes. 20:34
dalek osystem/jgoff-ANTLR4: 4183365 | (Jeffrey Goff)++ | META.list:
Add ANTLR4
20:35
DrForr That's the ANTLR-Perl6 translator. 20:36
lizmat DrForr++ :-) 20:37
20:38 llfourn joined 20:39 domidumont left 20:43 llfourn left
masak 'night, #perl6 20:46
lizmat good night, masak
20:48 muraiki left
pmichaud m: sub fib(Int $nth where * >= 0) { $n }; fib(-3) 20:51
camelia rakudo-moar 80f8ef: OUTPUT«5===SORRY!5=== Error while compiling /tmp/EWs0VtiQxw␤Variable '$n' is not declared␤at /tmp/EWs0VtiQxw:1␤------> 3sub fib(Int $nth where * >= 0) { 7⏏5$n }; fib(-3)␤»
pmichaud m: sub fib(Int $nth where * >= 0) { $nth }; fib(-3)
camelia rakudo-moar 80f8ef: OUTPUT«Constraint type check failed for parameter '$nth'␤ in sub fib at /tmp/N0Ot8mbFJP:1␤ in block <unit> at /tmp/N0Ot8mbFJP:1␤␤»
pmichaud why the "type" in "Constraint type check"? Would "Constraint check" be better phrasing? 20:52
timotimo because we claim "subset Int where * >= 0" as a whole is a constraint type 20:53
pmichaud did you mean "subset Foo of Int where * >= 0" ? In that case, Foo is a constraint type, yes. 20:54
timotimo yeah 20:55
that's how it's implemented anyway ... i think?
hm, do we have the constraint directly on the Attribute object?
pmichaud is that implementation detail important?
timotimo if you think the wording should be better without "type" in there, we might be able to change it easily 20:56
pmichaud m: subset PosInt of Int where * >= 0; sub fib(PosInt $n) { $n }; fib(-3)
camelia rakudo-moar 80f8ef: OUTPUT«Constraint type check failed for parameter '$n'␤ in sub fib at /tmp/T_mTHYOqYN:1␤ in block <unit> at /tmp/T_mTHYOqYN:1␤␤»
20:56 Khisanth left
dalek c: 2b7d3ce | ab5tract++ | lib/Type/Hash.pod:
Add an example for Hash.push
20:58
21:01 skids left, Khisanth joined 21:02 bin_005 left
hoelzro if I want to create my own sub lines() that does a bit extra on top of CORE::lines, I just have to call CORE::lines(), right? 21:02
21:06 ranguard joined
lizmat m: SETTING::&lines("foo").say 21:06
camelia rakudo-moar 80f8ef: OUTPUT«foo␤»
lizmat hoelzro: ^^ 21:07
21:07 sftp joined
hoelzro lizmat: why SETTING and not CORE? 21:07
lizmat m: CORE::&lines("foo").say # also works :-)
camelia rakudo-moar 80f8ef: OUTPUT«foo␤»
jnthn pmichaud: I don't think "type" adds a huge amount to the error
21:07 ranguard left
jnthn pmichaud: It's accurate, but not especially important. 21:08
pmichaud I think it might actually add some confusion, since the part that failed (the constraint) wasn't really a "type" as the programmer would think of it.
hoelzro ok, thanks lizmat!
pmichaud Ovid++ is giving his talk now, and that error message came up, and the use of the word "type" was a bit jarring to me (nobody else noticed/commented on it)
jnthn pmichaud: Depends on the programmer :P
Anyway, no objections. I think of it was a type for sure, but I woudln't miss "type" being in there 21:09
jdv79 any thoughts on default and lazy on attrs? default meaning being able to get back to the default value as a var can do with "is default(42)".
21:09 FROGGS left
lizmat I think there shouldn't be a difference between my and has wrt "is default" 21:10
jdv79 and lazy in general as rjbs asked and lazy {} may be able to do or something
lizmat now, lazy, the word is still not out on that...
jdv79 i'd like to see an example of the back to default value case since i wasn't able to do it 21:11
lizmat as you can for now easily work around it with method foo { $!foo //= lazy evaluation }
jnthn Assigning Nil is the usual way to restore a default
Util PerlJam: o/ 21:12
jnthn Time for some rest &
lizmat m: class a { has $.a is default(42) } # can't do is default on attrs yet 21:13
camelia rakudo-moar 80f8ef: OUTPUT«5===SORRY!5=== Error while compiling /tmp/NS6Jy9v2Y3␤Can't use unknown trait 'is default' in an attribute declaration.␤at /tmp/NS6Jy9v2Y3:1␤ expecting any of:␤ rw␤ readonly␤ box_target␤ leading_docs␤ …»
lizmat good night, jnthn
pmichaud m: subset PL where -10.0 .. 10.0; say pi ~~ PL 21:15
camelia rakudo-moar 80f8ef: OUTPUT«True␤»
21:15 molaf__ left
pmichaud m: subset PL where -10.0 .. 10.0; say "Hello" ~~ PL 21:15
camelia rakudo-moar 80f8ef: OUTPUT«False␤»
pmichaud m: subset PL where -10.0 .. 10.0; my @a = (1,2,3); say @a ~~ PL 21:16
camelia rakudo-moar 80f8ef: OUTPUT«True␤»
dalek c: 2e7179a | ab5tract++ | lib/Type/Hash.pod:
Add example of initialization of Hash.push
21:20
pmichaud question about "subset" keyword perhaps should be "subtype" 21:21
jdv79 m: class A { has $.a is rw = 42; }; my $c = A.new(:a("foo")); say $c.a; $c.a = Nil; say $c.a; # what?
camelia rakudo-moar 80f8ef: OUTPUT«foo␤(Any)␤»
jdv79 did jnthn mean that should have returned "foo\n42\n"? 21:22
21:22 lizmat left
RabidGravy I don't think so, the default assignment is made when the object is constructed 21:23
21:24 bin_005 joined
RabidGravy as I understand it anyway 21:24
flussence m: my Int $a is default(42); say $a; $a = 300; say $a; $a = Nil; say $a
camelia rakudo-moar 80f8ef: OUTPUT«42␤300␤42␤»
21:27 rindolf left
flussence m: class A { has Int $.a is rw is default(42) } 21:27
camelia rakudo-moar 80f8ef: OUTPUT«5===SORRY!5=== Error while compiling /tmp/k1DPqBsnI7␤Can't use unknown trait 'is default' in an attribute declaration.␤at /tmp/k1DPqBsnI7:1␤ expecting any of:␤ rw␤ readonly␤ box_target␤ leading_docs␤ …»
pmichaud default assignment occurs for uninitialized attributes after all other initialization has taken place 21:28
flussence m: my Int $a is default(42) = 300; say $a; $a = Nil; say $a
camelia rakudo-moar 80f8ef: OUTPUT«300␤42␤»
pmichaud however, I have a strong sense that default initialization and lazy are tightly coupled 21:29
21:33 khisanth_ joined, Khisanth left 21:35 vendethiel- joined, vendethiel left
timotimo pmichaud: it feels to me you already get a "subtype" by deriving a class from another 21:36
pmichaud timotimo: we're looking specifically at the case of 21:37
timotimo case of $foo { ... } ? :)
pmichaud subset PosInt of Int where * > 0; 21:38
why "subset" here instead of "subtype" ?
(since we're effectively declaring a new "type", not a "set")
timotimo hmm 21:39
"subsettype" %)
PerlJam pmichaud: also, "subset" looks like it might have some relation with set() and Set, but doesn't 21:40
21:40 kaare_ left
pmichaud PerlJam: exactly what jarred me about the question (and why I think it's potentially legitimate) 21:40
21:40 khisanth_ is now known as Khisanth
pmichaud since we have built-in set operators now, I wonder if the term "subset" is subject to unfortunate punning 21:41
anyway, it's undoubtedly a TimToady call to make.
(unless/until someone comes up with the obvious reason it should remain 'subset')
moving tables 21:42
PerlJam "derive PosInt from Int where * > 0" :)
RabidGravy though there is a danger subtype might imply something about the things that isn't true
though I'd be happy with subtype 21:43
pmichaud well, I think it's pretty clear that "PosInt" is what we commonly refer to and think of as a "type"
21:44 andreoss joined
PerlJam We also declare our other types with the "class" keyword. Why not do the same with "subtypes"? 21:45
21:45 lizmat joined
PerlJam class PosInt of Int where * > 0; 21:46
pmichaud oh, please no.
I'd think of class as being something more than just "subtype"
class also means "and add these methods and add these attributes and ..."
PerlJam btw, some perl6 person needs to crash the "Symbolic Computation in Perl" talk (the examples so far have been using rationals and complex numbers) 21:47
pmichaud it's no so much that I want to see 'type' in the declarator, as much as I want it to not have 'set'
and we have several types of types. :)
we have roles, we have constraint types, we have classes, ...
flussence I propose s/subset/check/, since it's 5 chars like "class", and unambiguous about what comes next 21:49
PerlJam too verby
lizmat collection ?
flussence (and +1 to not calling it subset in any case, since we already have subbuf and substr...)
PerlJam gets the feeling that we're now exploring all the bad ideas so that we can have more confidence in calling it "subtype" 21:50
flussence
.oO( there's also the option of picking a long word and abbreviating it like enum )
21:51
PerlJam (though I did like the "derive" version)
flussence: anything-other-than-subset or abbreviated, aots :) 21:52
lizmat restricto 21:53
flussence
.oO( "constraint" -> "aint" -> "ain't PosInt an Int where * > 0;"... )
PerlJam flussence: nice! :)
flussence not a serious suggestion, but it worked there :) 21:54
PerlJam lizmat: why the trailing "o"? restrict PosInt of Int where * > 0; isn't bad at all.
lizmat too verby ?
PerlJam though, again, it's probably ... yeah
lizmat the "o" was for "I restrict" 21:55
flussence goes to see if postgres has a nice word for this, since their whole type system tends to align nicely with ours
21:56 Petit_Dejeuner joined, vendethiel- left
PerlJam
.oO( <flussence> Guess what postgres uses? "subtype" )
21:56
flussence hm, they only mention "subtype" in the context of constraining a range to a specific number type :) 21:58
everything else is just... "type".
pmichaud I'm not strongly opposed to "subset", just noting the disconnect 21:59
PerlJam type PosInt of Int where * > 0; # works for me too :)
pmichaud Question of the day.... 22:00
"Why a butterfly?" 22:01
:)
22:01 khisanth_ joined 22:02 Khisanth left
RabidGravy that's me done for the day 22:03
Util Thank you to everyone who checked my slides! 22:05
DrForr +1 22:06
cognominal pmichaud, maybe because of the long larval stage. :) but then, the imago does not last long :( 22:07
Util pmichaud: github.com/perl6/mu/raw/master/misc/camelia.txt 22:09
22:11 RabidGravy left
cognominal Util, I like the : you can extend just about anything by attaching "P6" wings to it. 22:12
22:17 silug joined 22:18 diana_olhovik_ left
pmichaud Util: I'm planning my counter-heckle(s) for TimToady after he heckled me at my talk yesterday (with that question) 22:18
andreoss using something like 'has $.x = die "$.x is required"' is encouraged ?
TimToady avoids pmichaud... 22:21
22:24 bin_005 left 22:28 smls left
Util pmichaud: Ah! Now I understand. 22:34
andreoss m: class Z { has Int $.x = Any }; say Z.new; 22:37
camelia rakudo-moar 80f8ef: OUTPUT«Type check failed in assignment to '$!x'; expected 'Int' but got 'Any'␤ in block <unit> at /tmp/fjbFvJ0BpL:1␤␤»
andreoss m: class Z { has Int $.x = die }; say Z.new;
camelia rakudo-moar 80f8ef: OUTPUT«Died␤ in method at /tmp/wqDzhUXTHN:1␤ in block <unit> at /tmp/wqDzhUXTHN:1␤␤»
22:37 vendethiel joined
pmichaud do violins have unicode strings? 22:38
flussence m: class Z { has Int $.x = Empty }; say Z.new # decently readable error, but not self-describing code 22:39
camelia rakudo-moar 80f8ef: OUTPUT«Type check failed in assignment to '$!x'; expected 'Int' but got 'Empty'␤ in block <unit> at /tmp/wh18ZIz1mq:1␤␤»
zostay is there a way to get the fileno of a file from an IO::Handle? 22:40
pmichaud zostay: I don't know of one. 22:42
Util zostay: looks like $the_handle.fileno . See: design.perl6.org/S32/IO.html#.fileno 22:44
zostay i thought i saw that somewhere, but it does not appear to be implemented at this point 22:45
pmichaud S32 is often conjectural, too
lizmat yeah, NYI
zostay that's fine... i'm thinking about how PSGI from Perl adapts to Perl 6
fileno is part of the Perl 5 PSGI spec so that it may be used as an optimization 22:46
22:48 bjz left
pmichaud Looks like fileno was added to S32 in Sep 2014, so it's a recent conjecture :) 22:49
22:53 rookie11998 joined, telex left 22:59 telex joined 23:00 vendethiel left 23:03 rookie11998 left 23:06 amurf joined 23:14 andreoss left 23:16 spider-mario left
zostay if i want a lazy list containing each 100 bytes of a file, how would i write that... the equivalent to $fh.lines, but for fixed-length Blobs? 23:17
23:18 spider-mario joined
flussence probably easy to do in a gather/take loop 23:18
you'd "take $fh.read(100)"
timotimo right
and you'd have something to break it off on eof or exception 23:19
don't know which it'll do when it reaches the end of the file
zostay like, gather loop { take $h.read(10) or last }
timotimo i'd imagine it'd look like that, yes 23:20
ugexe my $bytes = Supply.from-list: gather while my $b = $byte-stream.read(1) { take $b } is what i use
timotimo pro-tip: do actually use "take" 23:22
you can probably get something nicer with map; isn't map also lazy?
23:22 jack_rabbit joined
timotimo m: my @test = 0..*.map({ say "test" }); say @test[^3] 23:22
camelia rakudo-moar 80f8ef: OUTPUT«WhateverCode.new␤»
timotimo m: my @test = 0..Inf.map({ say "test" }); say @test[^3] 23:23
camelia rakudo-moar 80f8ef: OUTPUT«test␤0 1␤»
timotimo m: my @test = (0..Inf).map({ say "test" }); say @test[^3]
m: my @test = (0 xx *).map({ say "test" }); say @test[^3]
...
camelia rakudo-moar 80f8ef: OUTPUT«(timeout)test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤test␤te…» 23:24
timotimo m: my @test := (0 xx *).map({ say "test" }); say @test[^3]
camelia rakudo-moar 80f8ef: OUTPUT«test␤test␤test␤True True True␤»
timotimo there we go
no gather/take needed
(as it's quite a bit of overhead at the moment)
ugexe IO::Socket internally uses uses gather/take for lines()
timotimo hmm
23:25 cognominal left
ugexe i cant think of any reason it cant use map instead though 23:26
didnt know about the overhead difference though. good to know 23:32
pmichaud eventually it'll be simply: my @list = while ($h.read(10)) -> $a { $a }; or somesuch 23:33
imo, gather/take is overused for laziness right now... while is a bet better
*bit better 23:34
ugexe i just prefer the explicit statement to `take` something instead of whatever the last value is 23:37
pmichaud well, map would do much the same then
(in the GLR, map() may end up being just a fancy form of while loop :) 23:38
flussence would «$_ while $h.read(10)» be expected to work in that line there?
ugexe but can i do map({ blah(); take $value })? what i mean is, i dislike map({ blah(); $value }) because if for whatever reason i put debug info after $value, then my code no longer behaves the same. and im a clutz so it happens a lot 23:39
23:42 gfldex left
ugexe i suppose that can be implemented as-is with a LEAVE 23:44
dalek c: 48c0eb9 | ab5tract++ | lib/Type/Nil.pod:
Add the return of default values when Nil is assigned
ugexe guess not
jferrero m: say √2 == √2; 23:48
camelia rakudo-moar 80f8ef: OUTPUT«5===SORRY!5===␤Argument to "say" seems to be malformed␤at /tmp/TBbMahtWoB:1␤------> 3say7⏏5 √2 == √2;␤Bogus postfix␤at /tmp/TBbMahtWoB:1␤------> 3say 7⏏5√2 == √2;␤ expecting any of:␤ infix␤ infix s…»
jferrero m: say π == π; 23:50
camelia rakudo-moar 80f8ef: OUTPUT«True␤»
23:53 espadrine left
ugexe m: say(2 == 2) 23:58
camelia rakudo-moar 80f8ef: OUTPUT«True␤»
ugexe er
m: say(√2 == √2)
camelia rakudo-moar 80f8ef: OUTPUT«5===SORRY!5=== Error while compiling /tmp/at4T5BQ4tC␤Unable to parse expression in argument list; couldn't find final ')' ␤at /tmp/at4T5BQ4tC:1␤------> 3say(7⏏5√2 == √2)␤ expecting any of:␤ argument list␤ prefix…»