»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:02 bjz left 00:06 pierre__ joined 00:11 pierre__ left 00:28 pierre__ joined, rgrinberg left 00:29 pierre__ left 00:32 pierre_ joined 00:39 ka joined 00:43 seatek joined 00:49 rgrinberg joined 01:02 Derperperd joined 01:04 ka left 01:06 ka joined, pierre_ left 01:09 pierre_ joined 01:16 ka left 01:19 ka joined 01:26 ka left, ka joined 01:27 seatek left 01:30 metalman5 joined 01:33 Actualeyes joined 01:35 Herby_ joined
Herby_ o/ 01:35
01:36 seatek joined
Herby_ \o 01:36
01:38 TEttinger joined 01:41 ka left 01:47 ilbot3 joined
seatek All my coding time was sucked into jury duty. I'm just going to judge everything from now on. 01:51
laywers are like weak programmers with all kinds of fuzzy going on 01:53
i liked the judge though - she likes gardens 01:54
Herby_ lawyer is latin for 'liar'
seatek is it really?
Herby_ lol probably not
seatek oh see, i'll belileve anything. i'll make a terrible juror.
01:56 metalman5 left 01:59 cyphase joined 02:00 ka joined 02:06 cyphase left 02:11 sufrostico joined, cyphase joined
AlexDaniel committable6: 2014.01 say [Z] <a b>, 02:14
committable6 AlexDaniel, ¦«2014.01»: ===SORRY!=== Error while compiling /tmp/aVYaZ0C2TY␤Two terms in a row␤at /tmp/aVYaZ0C2TY:1␤------> say [Z] <a b>,⏏<EOL>␤ expecting any of:␤ postfix␤ infix stopper␤ infix or meta-infix «exit code = 1»
AlexDaniel committable6: 2014.01 say [Z] <a b>
committable6 AlexDaniel, ¦«2014.01»: a b
02:18 cyphase left
Herby_ is there an appreciable difference between: %data = $parser.get_line(); and %data = %($parser.get_line()); 02:19
?
02:23 cyphase joined
seatek Herby_, is that that CSV parser? 02:25
Herby_ yeah. pulled it from CSV::Parser github 02:26
seatek because if it is I think I remember it saying that if you told it to do a named column something (like I remember seen you did) then it would create hashes on that routine.
instead of just a list
but my memory may be damaged 02:27
Herby_ hmm
seatek try it and see!
Herby_ there was no appreciable difference that I could see 02:28
but its always possible that i'm missing something
seatek if get_line() is returning a hash already (which I think I remember reading yesterday, saying it would) then you don't need to make it into a hash again. 02:29
02:30 cyphase left
seatek if it's working still as before, that' sprobabaly what it's doing and you're fine 02:30
i would think
Herby_ i'll stick with my philosophy of: when in doubt, assume! 02:31
02:31 cyphase joined
Herby_ i'll keep using it till it stops working :) 02:31
i'll keep using it till it stops working :) 02:33
whoops!
02:34 vytas left 02:35 vytas joined 02:36 cyphase left 02:39 mniip left 02:41 cyphase joined 02:46 sufrostico left 02:48 cyphase left 02:49 noganex joined 03:06 rgrinberg left 03:08 sufrostico joined
Lucas_One Hi all 03:09
what is extension correct of Perl 6?
.pl6 or p6
here .p6: docs.perl6.org/language/modules 03:12
here .pl6: perl6intro.com/#_running_perl_6_code 03:13
b2gills I usually use .p6 03:15
Herby_ hello! 03:18
I'm now using .p6 too
03:19 sufrostico left, skids left
Lucas_One understand 03:19
p3rln00b likes to use .blah 03:20
Lucas_One Visual Studio Code is .p6
BenGoldberg You don't actually need an extension, you know.
Lucas_One yes
p3rln00b Lucas_One: there's no real "correct" answer. You can run perl6 some-script with whatever exception you like. And on Linux, the shebang dictates what program executes the script, not extention. So it comes down to Windows, and there's probably a way to get it to use whatever as well 03:21
s/exception/extension/;
For modules, use .pm6
BenGoldberg The more important thing is that (A) you name your files so you know what they are, and (ii) you name your files so your editor/ide knows what they are and syntax highlights / indents correctly. 03:22
Lucas_One thanks 03:24
03:29 Herby_ left 03:33 Averna joined 03:39 pierre_ left 03:43 pierre_ joined 04:05 frudas joined
frudas hello , 04:05
how i can check which operating system i am, in perl5 i can do this "system $^O eq 'MSWin32' ? 'cls' : 'clear';" 04:06
04:06 samcv left 04:07 samcv joined
geekosaur m: say $*DISTRO.name 04:10
camelia rakudo-moar f117a6: OUTPUT«opensuse␤»
geekosaur m: say so $*DISTRO.is-win
camelia rakudo-moar f117a6: OUTPUT«False␤»
frudas thankx 04:11
04:17 frudas left 04:19 BenGoldberg left 04:26 Derperperd left 04:33 jcallen joined 04:35 ewet joined 04:36 pierre_ left, pierre_ joined 04:37 ka left, mniip joined 04:46 pierre_ left 04:49 Cabanossi joined, samcv is now known as samcv{, samcv{ is now known as samcv 04:54 pierre_ joined, wamba joined 04:56 khw left 04:58 pierre_ left 05:11 geekosaur joined 05:17 mohae_ joined 05:35 domidumont joined 05:39 domidumont left, domidumont joined 05:45 domidumont left 05:49 dj_goku left 05:50 dj_goku joined 05:52 wamba left 05:55 pierre_ joined, Sgeo__ joined 05:58 brrt left 06:00 pierre_ left 06:02 domidumont joined 06:03 pierre_ joined 06:04 ufobat joined 06:07 seatek left 06:08 neuraload joined 06:13 Actualeyes1 joined, Actualeyes left 06:23 abraxxa joined, Khisanth joined 06:27 firstdayonthejob joined 06:32 abraxxa left, abraxxa joined 06:41 firstdayonthejob left 06:42 ewet is now known as brillenfux 06:43 bbkr left 06:44 bbkr joined 06:45 Sgeo__ left 06:46 smash joined, Sgeo__ joined 06:48 brillenfux left 06:49 brillenfux joined, darutoko joined 06:53 brillenfux left, brillenfux joined 06:54 xiaomiao left, wamba joined, xiaomiao joined 06:57 bjz joined 06:59 CIAvash joined 07:03 jervo joined 07:08 brillenfux left, brillenfux joined 07:12 kenh83_ joined 07:16 bjz left
arnsholt .u U+0301 07:20
yoleaux U+0301 COMBINING ACUTE ACCENT [Mn] (◌́)
07:25 Sgeo_ joined 07:26 ccakes left 07:28 Sgeo__ left 07:29 bbkr left 07:35 RabidGravy joined, ka joined 07:36 dataange` joined 07:39 ka left 07:40 Actualeyes1 left 07:42 bjz joined 07:45 wamba left 07:46 e1 joined 07:50 [particle] joined 07:51 wamba joined, wamba left 07:52 Lucas_One joined 07:53 Actualeyes joined 07:55 djbkd joined 07:56 andrewalker joined 07:58 zacts left 08:05 ocbtec joined
RabidGravy boom! 08:08
DrForr Boom today? Yay! 08:10
lizmat clickbaits p6weekly.wordpress.com/2016/10/10/...r-is-near/ 08:11
RabidGravy Jam tomorrow! 08:12
08:22 dakkar joined 08:24 maybekoo2 joined 08:31 Xliff_ joined 08:33 jargan joined 08:35 shmibs_ joined 08:36 sunnavy_ joined, decent_ joined, lucs_ joined, psch_ joined, sjn__ joined, atacama_ joined, huf_ joined 08:37 kst` joined 08:39 Timbus_ joined 08:40 salva00 joined, silug__ joined 08:41 RabidGravy left, labster left, Xliff left, jast left, salva0 left, silug_ left, Urchin joined 08:43 hanekomu joined 08:45 cgfbee joined 08:47 RabidGravy joined, brrt joined 08:48 Actualeyes left 08:49 labster joined, kent\n joined, huggable joined, edenc joined, dalek joined, flaviusb joined, Undercover joined, SourceBaby joined, NeuralAnomaly joined, buggable joined, bisectable6 joined, synopsebot6 joined, hobbs joined, timeless joined, Spot__ joined, w4and0er96 joined, peteretep joined, TeamBlast joined, stigo joined, xfix joined, JimmyZ joined, BinGOs joined, dylanwh joined, weber.freenode.net sets mode: +v dalek 08:50 brrt left 08:52 Spot__ left, w4and0er96 left 08:54 w4and0er96 joined, Spot__ joined 08:55 g4 joined 08:56 lco joined 09:00 bjz left 09:01 bjz joined 09:02 Actualeyes joined 09:04 wamba joined 09:32 rindolf joined 09:36 CIAvash left 09:38 e1 left 09:41 telex left 09:42 erdic joined 09:45 telex joined 09:53 nowan_ joined 09:54 TEttinger left 09:56 nowan_ left 09:58 nowan joined 10:06 SevenWolf joined, SevenWolf left 10:23 rindolf left 10:25 jonas1 joined
dalek c: 64a0721 | (Luca Ferrari)++ | doc/Language/typesystem.pod6:
Link to the classtut in the class explaination.
10:26
c: 563d63b | RabidGravy++ | doc/Language/typesystem.pod6:
Merge pull request #962 from fluca1978/master

Link to the classtut in the class explaination.
10:26 neuraload left 10:28 neuraload joined 10:34 bpmedley joined 10:35 pierre_ left 10:36 FROGGS joined 10:38 b2gills joined 10:39 labster left 10:44 pmurias joined
pmurias hi 10:44
10:46 wamba left, lambd0x joined
lambd0x Hi everyone! 10:46
RabidGravy erp 10:47
haha, the perils of testing against a live MQ broker 10:48
# expected: 'Hello, World'
# got: 'Hello World!'
jnthn The broker makes things more exciting? :P 10:49
pmurias RabidGravy: the broker is mangling your data? 10:50
lambd0x Want to know the right way to measure time spent by a code snippet? 10:51
RabidGravy No, the test worked fine the next time
I guess there was already a queue called "hello" with the slightly different message on it 10:52
lambd0x m: $a = time; say "a {time - $a}";
camelia rakudo-moar f117a6: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Variable '$a' is not declared␤at <tmp>:1␤------> 3<BOL>7⏏5$a = time; say "a {time - $a}";␤»
psch_ m: no strict; $a = time; say "a {time - $a}";
lambd0x m: my $a = time; say "a {time - $a}";
camelia rakudo-moar f117a6: OUTPUT«a 0␤»
10:52 psch_ is now known as psch 10:53 canopus left
lambd0x m: my $a = time; say "a {$a - INIT time}"; 10:53
camelia rakudo-moar f117a6: OUTPUT«a 0␤»
psch m: my $a = time; say "a {$a - BEGIN time}"; 10:54
camelia rakudo-moar f117a6: OUTPUT«a 0␤»
jnthn RabidGravy: hah...guess can generate a uuid-ish thingy for the queue name in the test :) 10:57
lambd0x psch: thank you. 10:59
psch wasn't really aware of having helped 11:01
11:01 canopus joined
psch lambd0x: what were you looking for anyway? 11:01
jnthn Note that using `now` instead of `time` will get you sub-second accuracy 11:02
m: for ^10000 { }; say now - INIT now 11:03
camelia rakudo-moar f117a6: OUTPUT«0.0040719␤»
RabidGravy jnthn, I'm just going for a PID, it's actually in the test of Net::AMQP so I don't really want to bring in more modules 11:07
jnthn Well, just generating a big enough random number would do in a pinch 11:08
m: say (1000000000..9999999999).pick 11:09
camelia rakudo-moar f117a6: OUTPUT«4208110422␤»
lambd0x psch: I was looking for a proper way to measure time spent by a code snippet
jnthn I'm guessing if you're working on Net::AMQP you decided not to do the STOMP thing for accessing ActiveMQ?
psch lambd0x: well, best take the suggestion by jnthn++ :)
RabidGravy jnthn, no, no, it's just I've been tending it for the last while and I thought it was time for a test :) 11:10
I still haven't got a working ActiveMQ instance here 11:11
lambd0x psch: gotcha
jnthn Ah, OK :)
lambd0x thanks jnthn 11:12
11:12 Actualeyes left, Actualeyes joined 11:15 Averna left
RabidGravy m: say ((0 .. 2**32).pick + ($*PID +< 32) + time).base(16) 11:16
camelia rakudo-moar f117a6: OUTPUT«338DD0B2A6C7␤»
RabidGravy there
11:18 CIAvash joined 11:19 FROGGS left, gregf_ joined
pmurias [Coke]: I'm writing a progress update on the rakudo.js grant, I'll post it tommorow once I'll think a bit about what's left/a rough estimate when it will be done 11:27
11:29 sjn__ is now known as sjn 11:31 stmuk_ joined 11:39 pierre_ joined 11:50 wamba joined 12:00 rindolf joined
timotimo pmurias++ 12:06
12:06 Urchin left
pmurias pmurias-- # recently neglecting progress reports on rakudo.js 12:09
12:09 kaare_ joined
gfldex i consider the progress more important then the report 12:09
timotimo isn't this part of the grant's deliverables, though? 12:12
pmurias it's part of the grant process 12:14
timotimo i'm akoy with not so many reports, though 12:15
pmurias they also are important in keeping up peoples interest, hopefully once I get to enough of the setting compiling to reach &say, they will be interesting once tests start passing 12:16
[Coke] pmurias: thanks! 12:17
RabidGravy well I finally got activeMQ going, I did have to stop rabbitmq though 12:23
12:25 rgrinberg joined
RabidGravy we also found two smartphones and two walkmans under the "leg" of the coffee table 12:26
12:27 Urchin joined
timotimo wow 12:27
DrForr Hopefully they weren't Galaxy Notes.
tadzik "break a leg!" "break? I'm going to blow it up!" 12:31
timotimo fire up the leg ... 12:32
literally, fire ... up the leg
jnthn
.oO( I listened to your mixtape on my galaxy note and it was really fire )
12:33
12:49 zakharyas joined
tadzik . o O ( Samsung Galaxy C4 ) 12:49
p3rln00b hugs his Galaxy Note... 12:50
so... warm
tadzik no llama nooo 12:51
p3rln00b How can I prevent it from referencing foo: 12:53
m: sub foo { warn 'foo' }; sub bar { foo; }; sub meow { bar; }()
camelia rakudo-moar f117a6: OUTPUT«foo␤ in sub foo at <tmp> line 1␤»
p3rln00b m: sub foo { warn 'foo' }; sub bar { foo; CONTROL { when CX::Warn { .rethrow } } }; sub meow { bar; }()
camelia rakudo-moar f117a6: OUTPUT«foo␤ in sub foo at <tmp> line 1␤Trying to unwind over wrong handler␤»
p3rln00b ^ that doesn't seems to be the answer.
psch well if you're rethrowing the CX::Warn... 12:54
p3rln00b Well, I'm just out of ideas :)
psch anyway, what does "refering foo" mean there?
don't invoke it because it will only warn..? 12:55
p3rln00b Mentioning sub foo in the output
tadzik you probably want is hidden_from_backtrace
psch m: sub foo { warn 'foo' }; sub bar { foo; CONTROL { when CX::Warn { } } }; sub meow { bar; }()
camelia ( no output )
tadzik m: sub foo is hidden_from_backtrace { warn 'foo' }; sub bar { foo; }; sub meow { bar; }()
camelia rakudo-moar f117a6: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Can't use unknown trait 'is hidden_from_backtrace' in a sub declaration.␤at <tmp>:1␤ expecting any of:␤ rw raw hidden-from-backtrace hidden-from-USAGE␤ pure default DEPRECATED inlina…»
psch oh 'sub foo'
tadzik fak
psch yeah i get it now
p3rln00b m: sub foo { warn 'foo' }; sub bar { foo; CONTROL { when CX::Warn { warn $_ } } }; sub meow { bar; }()
camelia rakudo-moar f117a6: OUTPUT«foo␤ in block at <tmp> line 1␤»
tadzik how do you spell that again? :)
p3rln00b maybe that...
tadzik m: sub foo is hidden-from-backtrace { warn 'foo' }; sub bar { foo; }; sub meow { bar; }() 12:56
camelia rakudo-moar f117a6: OUTPUT«foo␤ in sub bar at <tmp> line 1␤»
psch tadzik: probably a victim of the tr/_/-/ refactor
tadzik ha
psch tadzik++
tadzik yeah
I'm Rusty these days
pun indented
timotimo oh rusty
psch so, yeah, if you don't want warnings from a given sub to mention that specific sub in their output, you trait it with hidden-from-backtrace 12:57
rethrowing a CATCH/CX::Warn block means you're starting a new Backtrace in that CATCH block 12:58
12:58 telex left
psch s/g a /g in a / 12:58
p3rln00b Not an option for me: Trait 'hidden-from-backtrace' not implemented 12:59
12:59 telex joined
p3rln00b I'm gonna try the rethrowing thing 12:59
timotimo huh? why is that not an option?
p3rln00b Perl6/Actions.
timotimo oh
you can probably mix in a role with the same method that signals it
psch well, it's not actually rethrowing :/ 13:00
i misspoke
it's just a new &warn call with the existing CX::Warn, which i think only takes the payload/message..? 13:01
p3rln00b: did you try $*W.apply_trait(...)? 13:02
not sure if that runs at the right moment for a sub declared in Actions
alternative the mixin should work -- it really only needs a method is-hidden-from-backtrace that returns something truthy i suppose 13:03
p3rln00b tries something entirely different :} 13:07
...and fails. 13:11
m: q:to/x/;␤y␤ x
camelia rakudo-moar f117a6: OUTPUT«Asked to remove 1 spaces, but the shortest indent is 0 spaces␤ in any trim_heredoc at gen/moar/m-Perl6-Actions.nqp line 499␤»
13:12 ilmari joined
p3rln00b Was gonna fix that, but the more I hide the more I get... like Perl6/Grammar, now Grammar.moarvm. 13:12
pmurias paste.debian.net/865143/
p3rln00b knocks it on the head. If anyone wants to give it a go: rt.perl.org/Ticket/Display.html?id=129838
pmurias ^^ paste # if I call a multi method at BEGIN time it resolves incorrectly at runtime
psch p3rln00b: maybe expand the is-setting solution to Actions, Grammar, and World? 13:13
p3rln00b psch: in Backtrace.is-setting? Yeah, that's what I was doing. Got it to three files and gave up, 'cause it kinda smells.
13:14 Urchin left, Urchin joined
psch ah, okay 13:14
i think it's probably the cleanest we can do, fwiw
13:14 skids joined
RabidGravy jnthn, it's possible that the Stomp module *doesn't* work with the ActiveMQ, just trying to work out why it is crapping out 13:23
jnthn Hm, curious. Also, patches very welcome ;)
13:26 ptolemarch joined
RabidGravy it doesn't like the connect message 13:32
got >CONNECTED
server:ActiveMQ/5.14.1
heart-beat:0,0
session:ID:coriolanus-39355-1476187339674-4:19
version:1.2
<
there are blank lines in there
13:33 zakharyas left 13:42 nadim joined 13:52 khw joined, awwaiid joined
RabidGravy ah, got it 13:53
13:53 pierre_ left
RabidGravy it's the colons in the session "session:ID:coriolanus-40279-1476193934907-3:1" in ActiveMQ vs "session:session-uTCNCJvn-zjhaW8WHI6pTQ" for RabbitMQ 13:56
13:58 pierre_ joined
jnthn Ah, and we don't allow :s in the value? 13:58
dalek Heuristic branch merge: pushed 16 commits to doc/spellcheck by coke 13:59
RabidGravy nope, just taking that out of the header-value regex and it at least connects
jnthn Nice 14:01
14:02 brillenfux left, pierre_ left 14:03 CIAvash left
RabidGravy yep that works, let me take the debuggery out and check again 14:04
[Coke] github.com/perl6/doc/pull/964/files#diff-0 - that's not a twigil. 14:08
14:08 gregf_ left
[Coke] ... ah. 14:09
perhaps using ^ in the example not as a twigil when it's about the ^ twigil is confusing. :)
psch ah, the Ranges 14:10
p3rln00b Yeah :)
psch yeah, i agree with that
timotimo hehe.
p3rln00b
.oO( yo dawg, I heard you liked traps about ^ )
14:11 gregf_ joined
RabidGravy you can throw in the "^ as method prefix", while you're there ;-) 14:13
m: class Foo { method ^parameterize(*@a) { say "boo ", @a } }; my $a = Foo[Int].new; # for reference 14:16
camelia rakudo-moar f117a6: OUTPUT«boo [(Foo) (Int)]␤»
psch huh, we have that too
m: with "foo" { { say $^a } for ^(.^name.chars)
camelia rakudo-moar f117a6: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Missing block␤at <tmp>:1␤------> 3 "foo" { { say $^a } for ^(.^name.chars)7⏏5<EOL>␤»
psch m: with "foo" { { say $^a } for ^(.^name.chars) }
camelia rakudo-moar f117a6: OUTPUT«0␤1␤2␤»
psch that was what i was thinking, but that's a different method op, not a method prefix
wait a second, is the prefix shadowing the methodop..? 14:17
m: class A { method ^name { "foo" } }; say A.^name
camelia rakudo-moar f117a6: OUTPUT«Too many positionals passed; expected 1 argument but got 2␤ in method name at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»
14:17 rindolf left
psch walks away slowly 14:17
p3rln00b :D 14:18
14:18 cdg joined
jnthn method ^foo is for declaring a meta-method 14:19
psch m: class A { method ^name { "foo" } }; say A.^name("bar")
camelia rakudo-moar f117a6: OUTPUT«Too many positionals passed; expected 1 argument but got 3␤ in method name at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»
psch oh, okay, so the other way around
hm, we still get the HOW calling convention automatically though, that's interesting
jnthn The are automatically placed into a role that is mixed into meta-object
Well, you're calling it with .^name
So it's doing A.HOW.name(A) 14:20
psch yeah, right. it makes sense
jnthn And you aren't taking the object
psch as in, i thought it from the wrong side
jnthn m: class A { method ^name($) { "foo" } }; say A.^name
camelia rakudo-moar f117a6: OUTPUT«foo␤»
14:21 bjz left 14:24 perlpilot left 14:25 perlpilot joined, ka joined 14:28 Woodi joined 14:29 eliasr joined 14:31 wamba left 14:37 ilmari left 14:39 ilmari joined 14:44 cygx joined
cygx did something recently-ish change with precompilation or fiel operations that would lead to CompUnit::PrecompilationStore::File!file dying? 14:45
my Rakudo build dies during the install-core-dist.pl step...
(win64/mingw) 14:46
p3rln00b Yeah, there were changes. Does it show any errors? 14:47
timotimo did you perl Configure.pl recently?
14:48 Derperperd joined
p3rln00b cygx: a lot of changes were made to fix this bug. So you could try a build with some commit before the bug was filed: rt.perl.org/Ticket/Display.html?id...et-history 14:48
cygx error is Failed to mkdir: 2 (aka file not found) when trying to create lib\.precomp\2FBB8D60D7C... 14:49
I'll nuke some stuff and try again
14:49 jonas1 left 14:51 neuraload left 14:52 neuraload joined
dalek c: fb3d06c | (Zoffix Znet)++ | doc/Type/List.pod6:
Document List.[from|to]
14:52
14:57 neuraload left, seatek joined 14:59 pierre_ joined 15:00 optikalmouse joined
cygx no dice :( 15:01
15:02 domidumont left
RabidGravy jnthn, another thing I learned from this testing the Stomp module with ActiveMQ was that Net::AMPQ doesn't work with ActiveMQ either 15:02
which is due to the version of AMQP it uses, may have to look at doing that loadable spec thing that all the cool kids use 15:03
15:05 pierre_ left 15:06 FROGGS joined 15:07 ptolemarch left
FROGGS o/ 15:07
optikalmouse ,o/ 15:11
15:13 ocbtec left 15:20 g4 left 15:22 girafe joined
RabidGravy yo FROGGS 15:23
15:31 ocbtec joined 15:34 zacts joined 15:35 harmil_wk joined, yqt joined 15:38 rindolf joined 15:45 optikalmouse left 15:51 Derperperd left 15:54 Derperperd joined 15:55 abraxxa left, optikalmouse joined 16:04 araujo left 16:19 optikalmouse left, AlexDaniel joined 16:23 xinming left 16:26 araujo joined, araujo left, araujo joined 16:27 wamba joined 16:30 xinming joined 16:39 darutoko left 16:40 hassoub joined 16:43 hassoub left 16:46 gregf_ left 16:47 wamba left 16:53 dakkar left 16:57 cygx left 17:01 Derperperd left 17:02 pierre__ joined 17:06 pierre__ left 17:12 Possum left
RabidGravy somebody be a love and make a really fast XML parser 17:16
BinGOs sounds like a contradiction in terms. 17:17
17:17 optikalmouse joined 17:19 ka left, Derperperd joined 17:22 mohae joined 17:24 mohae_ left
mspo a few jobs ago we had hardware xml parsers 17:26
IBM boxes; I forget the name
timotimo to be fair, a pure-perl6 xml parser is quite likely a few orders of magnitude slower than any regular xml parser library you can find for C or something 17:30
well, maybe not a few, but at least one
FROGGS RabidGravy: the libxml2 C bindings are not that advanced yet, but perhaps usable for your use case
17:31 domidumont joined
DrForr BinGOs: Welcome! 17:32
I've just checked the internals. does anyone have an issue if I rename Perl6::Tidy to what it really is, namely Perl6::Parser, and just release the d*mn thing to the ecosystem? 17:33
There's a TAP::Parser, HLL::CommandLine::Parser and comments about the NQP parser, but no seeming conflicts. 17:34
gfldex DrForr: you can check this file for collisions: ecosystem-api.p6c.org/projects.json 17:36
DrForr Thanks.
BinGOs DrForr: I've been here for years, I am just silent.
[Coke] DrForr: Seems reasonable to me. 17:37
17:38 lucasb joined
DrForr Thanks. Just not wanting to step on toes. 17:39
It's not at full coverage, but it does non-trivial hunks of code, which in my book means it's at least ready for public vieing. 17:40
*viewing
p3rln00b Public vieing seems like a good way to get full coverage :P 17:41
markk_ BinGOs is everywhere, watching, waiting, silent, like a ninja
DrForr I was thinking more like Kibo. 17:42
But that's probably too obscure :)
markk_ I am also everywhere... watching... waiting... silent... deeply. deepy confused
p3rln00b :o 17:43
dalek c: e19b4d1 | coke++ | t/tabs.t:
Make test show line numbers.

Suggested in #964
17:44
17:50 wamba joined 17:52 ptolemarch joined, Possum joined 17:53 setty1 joined
timotimo twitter.com/krisajenkins/status/78...4872039424 17:56
m: say Date.new("2016-07-15")
camelia rakudo-moar bfe621: OUTPUT«2016-07-15␤»
timotimo m: say DateTime.new("2016-07-15") 17:57
camelia rakudo-moar bfe621: OUTPUT«Invalid DateTime string '2016-07-15'; use an ISO 8601 timestamp (yyyy-mm-ddThh:mm:ssZ or yyyy-mm-ddThh:mm:ss+01:00) instead␤ in block <unit> at <tmp> line 1␤␤»
timotimo *shrugs*
17:57 skids left 17:58 skids joined
p3rln00b m: say Date.new("2016-7-15") 17:59
camelia rakudo-moar bfe621: OUTPUT«Invalid Date string '2016-7-15'; use yyyy-mm-dd instead␤ in block <unit> at <tmp> line 1␤␤»
p3rln00b All in order
m: say Date.new("2016-7-15").DateTime
camelia rakudo-moar bfe621: OUTPUT«Invalid Date string '2016-7-15'; use yyyy-mm-dd instead␤ in block <unit> at <tmp> line 1␤␤»
p3rln00b m: say Date.new("2016-07-15").DateTime
camelia rakudo-moar bfe621: OUTPUT«No such method 'DateTime' for invocant of type 'Date'␤ in block <unit> at <tmp> line 1␤␤»
moritz
.oO( be strict in what you accept )
p3rln00b :o
moritz m: say DateTime(Date.new("2016-07-15"))
camelia rakudo-moar bfe621: OUTPUT«Cannot find method 'DateTime' on object of type Date␤ in block <unit> at <tmp> line 1␤␤»
moritz that's something worth adding, IMHO 18:00
p3rln00b m: say DateTime.new: Date.new("2016-07-15")
camelia rakudo-moar bfe621: OUTPUT«Cannot resolve caller new(DateTime: Date); none of these signatures match:␤ (DateTime $: \y, \mo, \d, \h, \mi, \s, :$timezone = 0, :&formatter, *%_)␤ (DateTime $: :$year!, :$month = 1, :$day = 1, :$hour = 0, :$minute = 0, :$second = 0, :$timezone…»
p3rln00b Agreed
18:01 Derperperd left
dalek c: c40978d | (Zoffix Znet)++ | doc/Type/Map.pod6:
Correct Map.new
18:01
18:02 Derperperd joined, Derperperd left 18:17 hankache joined
dalek c: 76bfdd9 | coke++ | doc/Type/Map.pod6:
remove trailing ws
18:21
c/spellcheck: fb3d06c | (Zoffix Znet)++ | doc/Type/List.pod6:
Document List.[from|to]
c/spellcheck: e19b4d1 | coke++ | t/tabs.t:
Make test show line numbers.

Suggested in #964
c/spellcheck: c40978d | (Zoffix Znet)++ | doc/Type/Map.pod6:
Correct Map.new
c/spellcheck: 76bfdd9 | coke++ | doc/Type/Map.pod6:
remove trailing ws
c/spellcheck: ed948d2 | coke++ | / (3 files):
Merge branch 'master' into spellcheck
hankache hoal #perl6 18:22
hola*
p3rln00b hoal hoal 18:24
hankache howdy Zoffix 18:25
p3rln00b :( 18:26
hankache why sad?
p3rln00b It's hard to stay anonymous :) 18:29
I should start using a wipable VM, so I have a new IP each time :)
geekosaur you'll have to do something about the domain as well :) 18:30
p3rln00b Well, yeah :D 18:31
stmuk_ tor? unless freenode block it
jonadab New VPN every day?
p3rln00b tor is sloow :P 18:32
18:32 cdg left
geekosaur freenode re-enabled tor recently 18:32
mst IRC is not a high-bandwidth protocol
slowness really shouldn't be a problem
p3rln00b OK. I'll try tor :) 18:33
geekosaur yu do want to read up on what they allow in terms of authentication
18:44 skids left 18:45 skids joined
timotimo it'll only be a problem if you ssh into your vm via tor 18:49
moritz p3rln00b: other idea: use IPv6 address that doesn't have a reverse lookup 18:50
jonadab Someone could still infer a lot about geographical location from the necessarily public routing info. 18:56
18:56 hankache left 18:57 kst` is now known as kst
geekosaur also some of us are adept at patterns. I started recognizing 2001:780:101:ff00::2:9 some time back 18:59
(dalek and various p6 folk)
moritz jonadab: sure, that idea was just "minimal effort, small effect" :-) 19:00
19:03 pierre__ joined
dalek c: d32a024 | Nic++ | doc/Language/traps.pod6:
Add ^ twigil to traps. Fixes #364 (#964)

This commit adds documentation to help clarify troubles with the ^ twigil.
19:04
19:08 pierre__ left 19:09 ocbtec left 19:12 labster joined
dalek c: ad2ff17 | (Zoffix Znet)++ | doc/Type/Date.pod6:
Document Date.[DateTime|Date]
19:13
c: 50196f5 | (Zoffix Znet)++ | doc/Type/DateTime.pod6:
Reword
19:14
19:15 Derperperd joined 19:19 setty1 left 19:20 setty1 joined
dalek c: 2a9ef6a | (Zoffix Znet)++ | doc/Type/DateTime.pod6:
Update DateTime.[Date|DateTime]

Document new additions/modifications added[^1] today.
  [1] github.com/rakudo/rakudo/commit/e5df7a7bef
19:20
19:23 lucasb left 19:33 dj_goku left 19:40 optikalmouse left 19:42 ufobat left
dalek osystem: 0a2eca4 | (Tom Browder)++ | README.install-template.md:
add a template file
19:45
osystem: c53db2f | (Tom Browder)++ | README.install-template.md:
Merge pull request #260 from perl6/readme.install

add an installation template file for consideration
19:45 domidumont left
dalek c/spellcheck: 6661428 | coke++ | xt/.aspell.pws:
more words
20:00
c/spellcheck: d32a024 | Nic++ | doc/Language/traps.pod6:
Add ^ twigil to traps. Fixes #364 (#964)

This commit adds documentation to help clarify troubles with the ^ twigil.
20:01
c/spellcheck: ad2ff17 | (Zoffix Znet)++ | doc/Type/Date.pod6:
Document Date.[DateTime|Date]
c/spellcheck: 50196f5 | (Zoffix Znet)++ | doc/Type/DateTime.pod6:
Reword
c/spellcheck: 2a9ef6a | (Zoffix Znet)++ | doc/Type/DateTime.pod6:
Update DateTime.[Date|DateTime]

Document new additions/modifications added[^1] today.
  [1] github.com/rakudo/rakudo/commit/e5df7a7bef
c/spellcheck: 5ea1941 | coke++ | doc/ (3 files):
Merge branch 'master' into spellcheck
20:10 labster left 20:11 nicq20 joined 20:12 labster joined
nicq20 Hello 20:13
20:13 Derperperd left
gfldex m: say "ohai nicq20!" 20:13
camelia rakudo-moar e2cd7a: OUTPUT«ohai nicq20!␤»
nicq20 gfldex: Hey-o 20:14
RabidGravy ooh first one of those I've had in a while 20:22
*** Error in `/home/jonathan/.rakudobrew/moar-nom/install/bin/moar': double free or corruption (out): 0x000000000603dbf0 **
20:24 cdg joined 20:26 cdg left 20:27 cdg joined 20:30 dj_goku joined, dj_goku left, dj_goku joined
p3rln00b I see them fairly regularly when stresstesting on 24-core box 20:30
DrForr Doing a travis run, then it's going into the ecosystem.
20:35 dj_goku left
bioduds :) 20:37
20:39 rindolf left
dalek osystem/add-Perl6-Parser: 0345a3a | (Jeffrey Goff)++ | META.list:
Add Perl6-Parser (after passing Travis checks)
20:39
osystem: 0345a3a | (Jeffrey Goff)++ | META.list:
Add Perl6-Parser (after passing Travis checks)
20:40
osystem: 0fa278b | drforr++ | META.list:
Merge pull request #262 from perl6/add-Perl6-Parser

Add Perl6-Parser (after passing Travis checks)
20:40 FROGGS left
El_Che DrForr: will it also reformat code? 20:44
20:45 nicq20 left, rindolf joined 20:46 rindolf left
nadim nine: how's baby raccoon doing? 20:49
20:49 rindolf joined 20:51 setty1 left 21:00 rindolf left 21:03 firstdayonthejob joined 21:04 skids left, TEttinger joined 21:08 surya joined, surya is now known as Guest98536, Guest98536 left 21:17 rindolf joined 21:23 ka joined
DrForr El_Che: No, I renamed it to Perl6::Parser in order to emphasize the fact that it's "just" the parser layer. Other tools need to be built on top of that to achieve that goal, and while I am going to get there, you can look at the code and see that it's going to take a while to tweeze yak hairs off this particular project. 21:23
21:29 lambd0x left 21:32 dj_goku joined, dj_goku left, dj_goku joined 21:38 dj_goku left 21:43 cdg_ joined 21:45 cdg left 21:51 bjz joined, Lucas_One left, sufrostico joined 21:56 wamba left 22:06 ka left 22:10 Aleister joined 22:13 ka joined 22:17 MasterDuke joined 22:18 Aleister left, Aleister joined 22:22 Aleister left 22:31 pmurias left 22:35 dj_goku joined, dj_goku left, dj_goku joined 22:36 RabidGravy left 22:38 pecastro joined 22:40 dj_goku left 22:48 andrewalker left 22:49 bjz left 22:55 Herby_ joined
Herby_ o/ 22:55
rindolf Herby_: \o
22:56 canopus left 23:00 sufrostico left 23:01 canopus joined 23:02 dj_goku joined 23:07 maybekoo2 left 23:08 firstdayonthejob left
timotimo o/ 23:09
23:17 rindolf left 23:18 BenGoldberg joined 23:20 sftp joined 23:21 cooper joined, cooper left, cooper joined 23:29 skids joined 23:30 nadim left 23:36 kenh83_ is now known as kenh83 23:47 ilmari[m] joined 23:51 sftp left 23:53 tadzik joined, Guest61697 joined, Matthew[m] joined
Herby_ i'm trying to grab all CSV files in a folder, using: my @csv-files = './'.IO.dir(test => / '.csv' /)>>.Str 23:53
that gives me the CSV files, but they look like "./\test_file.csv" 23:54
23:54 cdg_ left, Matias[m] joined
Herby_ is there a way to grab just the file names, or do i have to manually scrub off the leading "./\" 23:54
following the example found here: docs.perl6.org/routine/dir
23:54 M-Illandan joined
timotimo if you just want the filename, maybe basename is what you need? 23:55
m: say "./whatthefile.csv".IO.basename
camelia rakudo-moar e2cd7a: OUTPUT«whatthefile.csv␤»
timotimo m: say "./whatthefile.csv".basename
camelia rakudo-moar e2cd7a: OUTPUT«No such method 'basename' for invocant of type 'Str'␤ in block <unit> at <tmp> line 1␤␤»
timotimo needs the .IO, so put it before the .Str instead of adding a .IO
23:55 khw left
timotimo because you already get IOs out of dir, if i remember correctly 23:55
Herby_ thats why they pay you the big bucks :) 23:57
that worked, thanks
23:57 cpage_ joined
timotimo i wish they did … 23:58
23:58 khw joined 23:59 Matias[m] left, bisectable6 left