Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-05-15

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:03 Exodist joined #perl6
00:14 colomon joined #perl6
00:15 lizmat joined #perl6
00:24 colomon joined #perl6
00:33 lookatme joined #perl6
00:34 lookatme morning o/
00:34 yoleaux 12 May 2017 13:45Z <Zoffix> lookatme: we do actually have an HTML parser; DOM::Tiny: https://modules.perl6.org/dist/DOM::Tiny
00:36 pierre joined #perl6
00:37 Cabanossi joined #perl6
00:47 colomon_ joined #perl6
01:02 Actualeyes joined #perl6
01:38 Actualeyes joined #perl6
01:48 ilbot3 joined #perl6
01:48 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
01:48 SmokeMachine Yes...
01:48 SmokeMachine The source code of the sub
01:49 SmokeMachine m: sub a {say 42}; say &a.perl
01:49 camelia rakudo-moar 95e49d: OUTPUT: «sub a () { #`(Sub|50406888) ... }␤»
01:50 SmokeMachine I mean something like that, but not with the ... but the actual code...
01:50 MasterDuke_ SmokeMachine: there currently is no way for regular subs/methods/etc
01:50 MasterDuke_ you can get the source to tokens/rules/regexes though
01:50 lookatme Why you tried get source code?
01:50 SmokeMachine MasterDuke_: is there any plan to make it possible?
01:51 MasterDuke_ timotimo and jnthn were talking about this recently, i don't rememeber the conclusion though
01:51 SmokeMachine lookatme: I'm trying to share functions between different computers...
01:52 lookatme SmokeMachine, oh, why you make a service run function ?
01:52 MasterDuke_ SmokeMachine: i think nadim was talking with them about it (in the past 2-3 weeks), you could try searching the logs
01:52 lookatme s/why/how/
01:52 SmokeMachine MasterDuke_: thanks! I'll look for that on log!
01:53 lookatme ...why not make a service run function
01:53 SmokeMachine (I was away to long...)
01:53 SmokeMachine lookatme: I'm trying that for 2 different projects...
01:54 lookatme That's like a RPC service
01:54 SmokeMachine lookatme: first to use as a remote promise lib
01:55 SmokeMachine lookatme: and the second one is a datomic like database...
01:57 lookatme I think it's not safe run code in your server
01:58 SmokeMachine lookatme: what do you mean?
02:00 lookatme I mean run any code send on server  it's not safe,
02:00 lookatme maybe some risky operator would be execute
02:03 lookatme Today Perl 6  not have a module like Perl 5's module **Safe** provide a isolated environment
02:05 SmokeMachine lookatme: I'm only studying...
02:05 SmokeMachine lookatme: but are you concerned about what of the 2 projects?
02:05 Cabanossi joined #perl6
02:06 pierre joined #perl6
02:07 lookatme SmokeMachine, no, Study should be freedom, try everything you want~~
02:07 poohman joined #perl6
02:11 lookatme SmokeMachine, you can try something like this `sub f() { return $?FILE.IO.lines()[$?LINE .. something]; };`
02:12 SmokeMachine MasterDuke_: were you talking about this? https://irclog.perlgeek.de/perl6/2017-04-21#i_14465803
02:13 lookatme I think so
02:13 noganex joined #perl6
02:14 lookatme m: my rule blah { "hello there" }; say &blah.perl;
02:14 camelia rakudo-moar 95e49d: OUTPUT: «rule blah { "hello there" }␤»
02:14 MasterDuke_ SmokeMachine: yeah, that looks familiar. i think timotimo and jnthn had another related conversation (maybe in #perl6-dev?), but i could just be imagining it
02:15 SmokeMachine m: my rule bla {method a{"test"}}; say bla.perl
02:15 camelia rakudo-moar 95e49d: OUTPUT: «Too few positionals passed; expected 1 argument but got 0␤  in regex bla at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
02:15 SmokeMachine m: my rule bla {method a{"test"}}; say &bla.perl
02:15 camelia rakudo-moar 95e49d: OUTPUT: «rule bla {method a{"test"}}␤»
02:16 labster joined #perl6
02:17 SmokeMachine m: method a{say 42}; role R{}; &R.^add_method("a", &a}; say &R.perl
02:17 camelia rakudo-moar 95e49d: OUTPUT: «5===SORRY!5===␤Unable to parse expression in argument list; couldn't find final ')' ␤at <tmp>:1␤------> 3ay 42}; role R{}; &R.^add_method("a", &a7⏏5}; say &R.perl␤Other potential difficulties:␤    Useless declaration of a has-scoped m…»
02:18 SmokeMachine m: method a{say 42}; role R{}; &R.^add_method("a", &a); say &R.perl
02:18 camelia rakudo-moar 95e49d: OUTPUT: «5===SORRY!5===␤Illegally post-declared type:␤    R used at line 1␤Undeclared routine:␤    a used at line 1␤␤Other potential difficulties:␤    Useless declaration of a has-scoped method in mainline (did you mean 'my method a'?)␤    at …»
02:19 japhdc joined #perl6
02:20 BenGoldberg m: method a{say 42}; role R{}; R.^add_method("a", &a); say &R.perl
02:20 camelia rakudo-moar 95e49d: OUTPUT: «5===SORRY!5===␤Illegally post-declared type:␤    R used at line 1␤Undeclared routine:␤    a used at line 1␤␤Other potential difficulties:␤    Useless declaration of a has-scoped method in mainline (did you mean 'my method a'?)␤    at …»
02:20 jap6h joined #perl6
02:21 BenGoldberg m: role R { }; R.^add_method("a", method a (R:) {say 42}); say &R.perl
02:21 camelia rakudo-moar 95e49d: OUTPUT: «5===SORRY!5===␤Illegally post-declared type:␤    R used at line 1␤␤Other potential difficulties:␤    Useless declaration of a has-scoped method in mainline (did you mean 'my method a'?)␤    at <tmp>:1␤    ------> 3role R { }; R.^add_me…»
02:21 BenGoldberg m: role R { };
02:21 camelia rakudo-moar 95e49d: ( no output )
02:21 BenGoldberg m: role R { }; say R;
02:21 camelia rakudo-moar 95e49d: OUTPUT: «(R)␤»
02:21 BenGoldberg m: role R { }; say R.add_method( "a", sub { 42 } );
02:21 camelia rakudo-moar 95e49d: OUTPUT: «No such method 'add_method' for invocant of type 'R'␤  in block <unit> at <tmp> line 1␤␤»
02:21 BenGoldberg m: role R { }; say R.^add_method( "a", sub { 42 } );
02:21 camelia rakudo-moar 95e49d: OUTPUT: «No such method 'add_method' for invocant of type 'Perl6::Metamodel::ParametricRoleGroupHOW'␤  in block <unit> at <tmp> line 1␤␤»
02:22 lookatme m: sub a{say 42}; class R { }; R.^add_method("a", &a); say R.perl
02:22 camelia rakudo-moar 95e49d: OUTPUT: «R␤»
02:22 BenGoldberg Well of course *that* will work.
02:23 BenGoldberg m: role R { method a { say 42 } }; R.a;
02:23 camelia rakudo-moar 95e49d: OUTPUT: «42␤»
02:24 labster joined #perl6
02:24 BenGoldberg m: role R {  }; R.WHAT.say;
02:24 camelia rakudo-moar 95e49d: OUTPUT: «(R)␤»
02:24 BenGoldberg m: role R {  }; R.HOW.say;
02:24 camelia rakudo-moar 95e49d: OUTPUT: «Perl6::Metamodel::ParametricRoleGroupHOW.new␤»
02:24 BenGoldberg m: role R {  }; R.HOW.^methods.say;
02:24 camelia rakudo-moar 95e49d: OUTPUT: «No such method 'gist' for invocant of type 'NQPRoutine'␤  in block <unit> at <tmp> line 1␤␤»
02:24 SmokeMachine m: role R {  }; &R.WHAT.say;
02:24 camelia rakudo-moar 95e49d: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤Illegally post-declared type:␤    R used at line 1␤␤»
02:25 BenGoldberg R is not a subroutine, stop sticking & in front of it :P
02:25 SmokeMachine Makes sense...
02:25 BenGoldberg m: role R {  }; .perl.say for R.HOW.^methods;
02:25 camelia rakudo-moar 95e49d: OUTPUT: «No such method 'perl' for invocant of type 'NQPRoutine'␤  in block <unit> at <tmp> line 1␤␤»
02:25 BenGoldberg m: role R {  }; .?perl.?say for R.HOW.^methods;
02:25 camelia rakudo-moar 95e49d: OUTPUT: «No such method 'dispatch:<.?>' for invocant of type 'NQPRoutine'␤  in block <unit> at <tmp> line 1␤␤»
02:25 BenGoldberg m: role R {  }; .?name.?say for R.HOW.^methods;
02:25 camelia rakudo-moar 95e49d: OUTPUT: «No such method 'dispatch:<.?>' for invocant of type 'NQPRoutine'␤  in block <unit> at <tmp> line 1␤␤»
02:25 BenGoldberg m: role R {  }; .name.?say for R.HOW.^methods;
02:25 camelia rakudo-moar 95e49d: OUTPUT: «archetypes␤new␤set_selector_creator␤new_type␤parameterize␤!produce_parameterization␤add_possibility␤specialize␤update_role_typecheck_list␤role_typecheck_list␤type_check␤candidates␤lookup␤methods␤attributes␤roles␤ver␤auth…»
02:27 SmokeMachine Couldn't Code have an attribute code with the source code?
02:27 lookatme When you call method on role, it'll pun a same name class
02:27 lookatme I think
02:28 lookatme SmokeMachine, you can store them and run them with EVAL
02:28 SmokeMachine lookatme: how would I get it?
02:29 lookatme m: sub get_code() { "say 'RUN !!'; "; }; EVAL(get_code());
02:29 camelia rakudo-moar 95e49d: OUTPUT: «5===SORRY!5=== Error while compiling <tmp>␤EVAL is a very dangerous function!!! (use the MONKEY-SEE-NO-EVAL pragma to override this error,␤but only if you're VERY sure your data contains no injection attacks)␤at <tmp>:1␤------> 3 { "say 'RUN…»
02:29 SmokeMachine Do you mean write a string with the code?
02:29 lookatme m: use MONKEY-SEE-NO-EVAL; sub get_code() { "say 'RUN !!'; "; }; EVAL(get_code());
02:29 camelia rakudo-moar 95e49d: OUTPUT: «RUN !!␤»
02:29 lookatme yeah
02:30 lookatme That's a way you can store you code in attribute, and get it then send it to remote server
02:37 sjn joined #perl6
02:39 labster joined #perl6
02:43 lookatme SmokeMachine, have you tried it ?
02:45 SmokeMachine lookatme: yes, I know that works... but that's not how I'd like to do that...
02:48 lookatme SmokeMachine, oh :)
02:48 SmokeMachine lookatme: but thank you!
02:50 lookatme Em, you are welcome
02:52 pierre joined #perl6
02:53 SmokeMachine I'll try to play with the routine declarator on the grammar...
02:53 japhdotcom joined #perl6
02:54 SmokeMachine Thank you all!
02:54 BenGoldberg m: role { }.HOW.^find_method("archetypes").WHAT.name
02:54 camelia rakudo-moar 95e49d: OUTPUT: «Cannot look up attributes in a NQPRoutine type object␤  in any name at gen/moar/stage2/NQPCORE.setting line 388␤  in block <unit> at <tmp> line 1␤␤»
02:56 lookatme SmokeMachine,
02:56 lookatme I don't think that's a method ..
02:57 lookatme m: my rule g { method a { } }; say "method a { }" ~~ /<g>/;
02:57 camelia rakudo-moar 95e49d: OUTPUT: «Use of Nil in string context␤  in block <unit> at <tmp> line 1␤「method a 」␤ g => 「method a 」␤»
02:57 lookatme m: my rule g { method a { } }; say "method a" ~~ /<g>/;
02:57 camelia rakudo-moar 95e49d: OUTPUT: «「method a」␤ g => 「method a」␤»
02:57 SmokeMachine lookatme: sorry, what do you mean?
02:57 lookatme m: my rule g { method a { say "THIS JUST SOME CODE RUN HERE"; } }; say "method a" ~~ /<g>/;
02:57 camelia rakudo-moar 95e49d: OUTPUT: «THIS JUST SOME CODE RUN HERE␤「method a」␤ g => 「method a」␤»
02:58 lookatme That's a regex, not method or routine define/declare
02:59 lookatme `{ }` after regex is a inner Block
02:59 SmokeMachine lookatme: sorry, I didn't get it
03:00 lookatme SmokeMachine, May be I didn't get you, sorry never mind
03:01 vendethiel joined #perl6
03:02 SmokeMachine lookatme: were you saying that routine_declarator isn't a method?
03:03 lookatme Yeah, in rule, it's not
03:03 poohman joined #perl6
03:04 lookatme rule/token/regex
03:04 lookatme Of course you can define you method in grammar, but not in regex/token/rule
03:04 SmokeMachine Yes, I know... I'm thinking of playing with that to, while parsing the sub, save its code somewhere...
03:05 lookatme Oh, that a good idea
03:05 lookatme s/that/that's/
03:08 poohman joined #perl6
03:14 khw joined #perl6
03:34 Cabanossi joined #perl6
03:52 aborazmeh joined #perl6
03:52 aborazmeh joined #perl6
03:54 perlawhirl bisectable6: say bag(1,3) (^) bag(1,1,2,3,3,3)
03:54 bisectable6 perlawhirl, Bisecting by output (old=2015.12 new=95e49dc) because on both starting points the exit code is 0
03:55 bisectable6 perlawhirl, bisect log: https://gist.github.com/bc2aa1e3e5c2582ffcaf30398d37f654
03:55 bisectable6 perlawhirl, (2016-12-04) https://github.com/rakudo/rakudo/commit/a578e7b690f6970d545ec252bc45901050dfee9f
04:04 raiph joined #perl6
04:11 parv joined #perl6
04:18 lookatme_ joined #perl6
04:27 lookatme_ joined #perl6
04:32 Cabanossi joined #perl6
04:41 curan joined #perl6
04:55 japhdotcom joined #perl6
04:55 labster joined #perl6
04:55 labster joined #perl6
04:59 wamba joined #perl6
05:05 japhdc joined #perl6
05:11 jap6h joined #perl6
05:13 pierre joined #perl6
05:20 CIAvash joined #perl6
05:23 o9o9 joined #perl6
05:23 o9o9 hi
05:25 domidumont joined #perl6
05:30 domidumont joined #perl6
05:43 chee joined #perl6
05:44 jap6h joined #perl6
05:50 jap6h joined #perl6
05:57 [ptc] joined #perl6
05:58 cpage_ joined #perl6
06:01 domidumont joined #perl6
06:02 lookatme joined #perl6
06:03 astj joined #perl6
06:03 espadrine joined #perl6
06:03 lookatme -_-
06:04 astj joined #perl6
06:07 astj joined #perl6
06:13 vendethiel- joined #perl6
06:19 Cabanossi joined #perl6
06:27 raiph joined #perl6
06:39 darutoko joined #perl6
06:39 xtreak joined #perl6
06:42 lowbro joined #perl6
06:54 nadim_ joined #perl6
07:13 fatguy joined #perl6
07:16 ChoHag joined #perl6
07:23 rindolf joined #perl6
07:24 lizmat joined #perl6
07:33 ChoHag joined #perl6
07:36 zakharyas joined #perl6
07:49 domidumont joined #perl6
07:51 nadim_ joined #perl6
07:52 domidumont joined #perl6
07:52 movl joined #perl6
07:53 lookatme joined #perl6
07:53 lookatme clear
07:53 rindolf joined #perl6
07:59 parv joined #perl6
08:00 xtreak joined #perl6
08:08 dolmen_ joined #perl6
08:10 lizmat perlawhirl: fwiw, I think (^) has more issues, specifically wrt Mixes
08:11 lizmat oops, I meant (-) I think
08:12 mxco86 joined #perl6
08:13 dolmen_ joined #perl6
08:27 robertle joined #perl6
08:28 xtreak joined #perl6
08:31 margeas joined #perl6
08:35 raiph joined #perl6
08:39 domidumont joined #perl6
08:40 lizmat perlawhirl: think I found the problem
08:45 melezhik joined #perl6
08:48 jonas2 joined #perl6
08:59 sammers hello
09:02 domidumont joined #perl6
09:02 lookatme sammers, o/
09:09 Geth ¦ DBIish: akzhan++ created pull request #92: Use Zef to install dependencies.
09:09 Geth ¦ DBIish: review: https://github.com/perl6/DBIish/pull/92
09:12 sammers how are you tonight? today?
09:13 lizmat PSA: Perl 6 Weekly may get a little delay today as I will  be travelling by car most of the day
09:13 rindolf joined #perl6
09:13 lizmat decommute&
09:18 lookatme today.
09:18 lookatme It's afternoon now
09:22 wamba joined #perl6
09:25 xtreak joined #perl6
09:36 lookatme Now, home from work ~ bye
09:38 xtreak joined #perl6
09:39 domidumont joined #perl6
09:42 domidumont joined #perl6
09:45 sjn good *, #perl6
09:46 sjn Quick q: is there a way to call a method if you only have it's name (Str)?
09:46 masak m: class C { method foo { say "OH HAI" } }; my $method-name = "foo"; C.new."$method-name"()
09:46 camelia rakudo-moar c26582: OUTPUT: «OH HAI␤»
09:46 masak sjn: ^
09:47 masak sjn: syntax (quotes and required parentheses) is such that you're not meant to do this *by mistake*
09:47 sjn ah, quote the name
09:47 Cabanossi joined #perl6
09:47 sjn right
09:47 sjn thanks
09:48 masak (because strings are always a little bit injection-y)
09:48 sjn hm.
09:48 masak actually, I'm a little bit surprised that the EVAL hysterians aren't all over this one, too :P
09:48 masak what if we've read in the string from the UI or something? dangerous.
09:49 * masak .oO( MONKEY-SEE-NO-DYNAMIC-METHOD-MAN-THIS-JOKE-IS-STRETCHED-THIN-NOW )
09:50 * masak should qvetch less and write more code :P
09:50 sjn Hm. I seem to botch this...
09:50 masak "kvetch"? probably.
09:51 nadim_ joined #perl6
09:51 sjn m: for VM.^methods -> $m { say "$m -> " ~ $m() }
09:51 camelia rakudo-moar c26582: OUTPUT: «Submethod object coerced to string (please use .gist or .perl to do that)␤  in block  at <tmp> line 1␤Too few positionals passed; expected 1 argument but got 0␤  in block <unit> at <tmp> line 1␤␤»
09:52 poohman joined #perl6
09:52 sjn m: for VM.^methods -> $m { say VM."$m"() }
09:52 camelia rakudo-moar c26582: OUTPUT: «Submethod object coerced to string (please use .gist or .perl to do that)␤  in block  at <tmp> line 1␤Cannot look up attributes in a VM type object␤  in block <unit> at <tmp> line 1␤␤»
09:54 masak sjn: those are method objects you're iterating over
09:54 masak m: for VM.^methods -> $m { say $m.name }
09:54 camelia rakudo-moar c26582: OUTPUT: «BUILD␤platform-library-name␤osname␤Str␤gist␤config␤prefix␤precomp-ext␤precomp-target␤name␤auth␤version␤signature␤desc␤»
09:55 masak m: for VM.^methods -> $m { say VM."$m.name"() }
09:55 camelia rakudo-moar c26582: OUTPUT: «Submethod object coerced to string (please use .gist or .perl to do that)␤  in block  at <tmp> line 1␤No such method 'BUILD.name' for invocant of type 'VM'␤  in block <unit> at <tmp> line 1␤␤»
09:55 masak m: for VM.^methods -> $m { say VM."$m.name()"() }
09:55 camelia rakudo-moar c26582: OUTPUT: «Cannot look up attributes in a VM type object␤  in block <unit> at <tmp> line 1␤␤»
09:55 masak that works, but the error is kind of internal
09:56 sjn yeah, I noticed that too (after asking here). that's why I tried just the $m()
09:56 poohman joined #perl6
09:58 sjn so, what *is* the best way to to iterate over all methods in a class?
09:58 sjn (even Submethods)
10:06 jnthn .^methods will include submethods too
10:06 Geth ¦ ecosystem: daf6ea4d44 | (Zoffix Znet)++ (committed using GitHub Web editor) | META.list
10:06 Geth ¦ ecosystem: Add `Die` to ecosystem
10:06 Geth ¦ ecosystem:
10:06 Geth ¦ ecosystem: "Perl 5 like die routine for note + exit":
10:06 Geth ¦ ecosystem: https://github.com/zoffixznet/perl6-Die
10:06 Geth ¦ ecosystem: review: https://github.com/perl6/ecosystem/commit/daf6ea4d44
10:15 astj joined #perl6
10:16 astj joined #perl6
10:28 lowbro joined #perl6
10:29 lowbro joined #perl6
10:29 Geth ¦ doc: e309dddaf6 | (Zoffix Znet)++ | doc/Type/IO.pod6
10:29 Geth ¦ doc: [io grant] Finish up &note
10:29 Geth ¦ doc:
10:29 Geth ¦ doc: - Include candidates
10:29 Geth ¦ doc: - Include method form
10:29 Geth ¦ doc: - Get rid of elaborate prose and non-relevant portions of example
10:29 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e309dddaf6
10:37 nine OMG I've finally started a blog: http://niner.name/blog/
10:43 masak \o/
10:46 notbenh joined #perl6
10:48 rindolf joined #perl6
10:55 Geth ¦ doc/doc-handled-is-lvalue: 0d54f02090 | (Carl Mäsak)++ (committed using GitHub Web editor) | doc/Type/Failure.pod6
10:55 Geth ¦ doc/doc-handled-is-lvalue: Document that Failure.handled is an lvalue
10:55 Geth ¦ doc/doc-handled-is-lvalue:
10:55 Geth ¦ doc/doc-handled-is-lvalue: Something I learned today as part of code review. Thought it might be useful in the documentation.
10:55 Geth ¦ doc/doc-handled-is-lvalue: review: https://github.com/perl6/doc/commit/0d54f02090
10:56 Geth ¦ doc: masak++ created pull request #1307: Document that Failure.handled is an lvalue
10:56 Geth ¦ doc: review: https://github.com/perl6/doc/pull/1307
10:57 xtreak joined #perl6
11:03 masak "Ever since I started writing that I've made it my mission to connect the Perl 5 and Perl 6 worlds, which over the long years of Perl 6's development have become more and more separated." -- http://niner.name/blog/ -- nine++
11:04 masak "There was neither the slightest hesitation nor worry." -- squee
11:05 masak seems PTS was quite the event
11:06 nine masak: seems like I somehow got across what I feel about it :)
11:07 masak I feel enthused too now
11:07 masak this was well worth starting a blog over :>
11:25 renormalist joined #perl6
11:25 renormalist joined #perl6
11:26 domidumont1 joined #perl6
11:28 bjz joined #perl6
11:28 astj joined #perl6
11:30 wamba joined #perl6
11:33 Cabanossi joined #perl6
11:36 Geth ¦ DBIish: 77146951da | (Akzhan Abdulin)++ | .travis.yml
11:36 Geth ¦ DBIish: Use Zef to install dependencies.
11:36 Geth ¦ DBIish:
11:36 Geth ¦ DBIish: Panda is not supported now.
11:36 Geth ¦ DBIish: review: https://github.com/perl6/DBIish/commit/77146951da
11:36 Geth ¦ DBIish: fd7ee262fa | (Akzhan Abdulin)++ | 2 files
11:36 Geth ¦ DBIish: Allow panda dependency manager as fallback for older Rakudo.
11:36 Geth ¦ DBIish: review: https://github.com/perl6/DBIish/commit/fd7ee262fa
11:36 Geth ¦ DBIish: 75fffaf4a5 | loren++ (committed using GitHub Web editor) | 2 files
11:36 Geth ¦ DBIish: Merge pull request #92 from akzhan/master
11:36 Geth ¦ DBIish:
11:36 Geth ¦ DBIish: Use Zef to install dependencies.
11:36 Geth ¦ DBIish: review: https://github.com/perl6/DBIish/commit/75fffaf4a5
11:36 araraloren joined #perl6
11:38 araraloren night.
11:38 yoleaux 14 May 2017 19:22Z <timotimo> araraloren: fantastic! i didn't realize you could have tables in triangle shape or similar! that's really cool and probably sets your module apart from all others
11:38 timotimo yo
11:40 araraloren o/
11:40 timotimo i wonder how complex and powerful you'd be willing to make your table module
11:40 araraloren timotimo, thanks for your advice about that module
11:40 timotimo i've made one in the past that allowed for some borders to be double and some to be single lined
11:40 timotimo let me see if i can find a screenshot
11:41 masak m: { say 1; leave; say 2 }; say 3
11:41 camelia rakudo-moar c26582: OUTPUT: «1␤leave not yet implemented. Sorry. ␤  in block <unit> at <tmp> line 1␤␤»
11:41 araraloren timotimo, in my module, style can be customized
11:41 masak I wonder if we'll implement `leave` or if we'll unspec it...
11:42 araraloren check out this example: https://github.com/araraloren/perl6-terminal-table/blob/master/sample/self-define-style.p6
11:43 astj joined #perl6
11:44 timotimo araraloren: http://t.h8.lv/random_box.png
11:44 timotimo masak: i'd like to have leave
11:46 araraloren timotimo, oh, that's wonderful, I didn't think about irregular shape
11:48 araraloren In my module, I just generate all cell, and then you can edit the table by some interface
11:48 xtreak joined #perl6
11:50 araraloren I want add this in next version, thanks for your idea.
11:51 timotimo cool
11:51 timotimo i can give you the code that makes my example go, but it's python
11:51 timotimo https://github.com/timo/zasim/blob/master/zasim/display/console.py#L259 - i think this is the one
11:52 araraloren Em, I know a little about python
11:52 masak timotimo: me too.
11:53 masak timotimo: or rather, given that blocks exist and are a kind of a lighter-weight routines, I'd like to have leave. :)
11:53 * masak dares someone to merge https://github.com/perl6/doc/pull/1307 :)
11:57 moritz_ why not?
11:57 Geth ¦ doc: acf4040024 | (Carl Mäsak)++ (committed by Moritz Lenz) | doc/Type/Failure.pod6
11:57 Geth ¦ doc: Document that Failure.handled is an lvalue
11:57 Geth ¦ doc:
11:57 Geth ¦ doc: Something I learned today as part of code review. Thought it might be useful in the documentation.
11:57 Geth ¦ doc: review: https://github.com/perl6/doc/commit/acf4040024
11:57 masak moritz++
11:58 nine Ah, moritz beat me to it :)
11:59 timotimo it almost got double-merged
12:00 domidumont joined #perl6
12:00 * masak .oO( twice-merged be thou, villain! )
12:02 domidumont joined #perl6
12:13 Geth ¦ doc: 81900cb743 | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
12:13 Geth ¦ doc: [io grant] Finish off IO::Path.parent
12:13 Geth ¦ doc:
12:13 Geth ¦ doc: - Add more examples
12:13 Geth ¦ doc: - Add note about symlinked dirs
12:13 Geth ¦ doc: review: https://github.com/perl6/doc/commit/81900cb743
12:17 Cabanossi joined #perl6
12:20 moritz_ m: say :36<evil>.roots(2)
12:20 camelia rakudo-moar c26582: OUTPUT: «(833.084029375188+0i -833.084029375188+1.0202336899951e-13i)␤»
12:20 moritz_ 833 is the root of all evil!
12:32 domidumont joined #perl6
12:35 xtreak joined #perl6
12:36 domidumont1 joined #perl6
12:36 xtreak joined #perl6
12:41 mcmillhj_ joined #perl6
12:44 * [Coke] yawns.
12:47 haxmeist1r wake up!
12:47 haxmeist1r lol
12:48 moritz_ wake up!!! https://www.youtube.com/watch?v=CSvFpBOe8eY
12:48 timotimo https://www.youtube.com/watch?v=NB3DJqgFr04
12:48 haxmeister inspired some guys at my Linux user group about perl6 :)
12:48 yoleaux 12 May 2017 13:34Z <Zoffix> haxmeister: I found this HTML parsing module work just fine: https://modules.perl6.org/dist/DOM::Tiny    And WWW is just a user agent, not a parser
12:49 haxmeister thank you yoleaux
12:50 haxmeister yoleaux: I seen a message here yesterday regarding that module.. hopefully I'll get a chance to try it out this week
12:50 ChoHag joined #perl6
12:50 perlawhirl haxmeister: yoleaux is a msg bot... Zoffix asked yoleaux to tell you that message next time you were active here
12:51 haxmeister couple guys in our LUG were blown away when they read about grammars in perl6 and the new regex
12:51 haxmeister perlawhirl: oh ok..lol.. well it worked :-)
12:51 perlawhirl don't worry... I myself talked thanked yolaux one of the first times i was here :D
12:53 perlawhirl .tell lizmat Thank you for fixing the Baggy op... I didn't even get around to asking!
12:53 yoleaux perlawhirl: I'll pass your message to lizmat.
12:53 haxmeister .tell zoffix thanks for finding me an HTML parser to work with :-)
12:53 yoleaux haxmeister: I'll pass your message to zoffix.
12:56 haxmeister zef doesn't find DOM::Tiny
13:06 wamba joined #perl6
13:07 mxco86 joined #perl6
13:09 haxmeister oh found it
13:09 haxmeister case senstive.. DOM::Tiny
13:16 pmurias joined #perl6
13:17 pmurias hmm, it this a known bug:     at CodeRef.cuid4656.setInfo.self (eval at eval (/home/pmurias/nqp/src/vm/js/nqp-runtime/core.js:465:19), <anonymous>:1600:37)
13:17 pmurias sorry
13:18 pmurias https://paste.debian.net/932522/ - it seems multi methods get damaged if called at BEGIN time
13:19 cdg joined #perl6
13:21 itaylor57 joined #perl6
13:22 astj joined #perl6
13:22 astj joined #perl6
13:27 raschipi joined #perl6
13:27 xtreak joined #perl6
13:33 Cabanossi joined #perl6
13:33 skids joined #perl6
13:36 nadim_ joined #perl6
13:37 Actualeyes joined #perl6
13:38 Geth ¦ doc: 22204d54ba | (Zoffix Znet)++ | 2 files
13:38 Geth ¦ doc: Remove semicolons on method defs
13:38 Geth ¦ doc: review: https://github.com/perl6/doc/commit/22204d54ba
13:39 Geth ¦ doc: 00c2f8c5af | (Zoffix Znet)++ | 2 files
13:39 Geth ¦ doc: s/preceeded/preceded/
13:39 Geth ¦ doc: review: https://github.com/perl6/doc/commit/00c2f8c5af
13:40 Geth ¦ doc: 5d18ba7e32 | (Zoffix Znet)++ | doc/Type/Str.pod6
13:40 Geth ¦ doc: s/occurances/occurences/
13:40 Geth ¦ doc: review: https://github.com/perl6/doc/commit/5d18ba7e32
13:48 Geth ¦ doc: f9c3ae7179 | (Zoffix Znet)++ | 2 files
13:48 Geth ¦ doc: Fix all the spelling errors
13:48 Geth ¦ doc: review: https://github.com/perl6/doc/commit/f9c3ae7179
13:53 st_elmo joined #perl6
13:54 Geth ¦ doc: 59cbc382bb | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
13:54 Geth ¦ doc: [io grant] Finish off IO::Path.parts
13:54 Geth ¦ doc:
13:54 Geth ¦ doc: - It now returns a Map, not a Hash
13:54 Geth ¦ doc: - :directory key is no longer there
13:54 Geth ¦ doc: - use Win32 path to showcase :volume
13:54 Geth ¦ doc: - Fix incorrect s/path/basename/ key name
13:54 Geth ¦ doc:
13:54 Geth ¦ doc: Rakudo impl: https://github.com/rakudo/rakudo/commit/9021a48665
13:54 Geth ¦ doc:              https://github.com/rakudo/rakudo/commit/6ed14ef6fc
13:54 Geth ¦ doc: Tests: https://github.com/perl6/roast/commit/fb61306aaa
13:54 Geth ¦ doc: review: https://github.com/perl6/doc/commit/59cbc382bb
14:16 wamba joined #perl6
14:27 tefe joined #perl6
14:28 nadim_ joined #perl6
14:31 xtreak joined #perl6
14:32 ChoHag joined #perl6
14:41 alimon joined #perl6
14:43 eyck joined #perl6
15:19 bioexpress joined #perl6
15:19 * haxmeister is trying to learn how to get at the data in this fancy DOM structure
15:19 timotimo there's also a html parser that creates a XML::Document
15:20 bioexpress Hello, does Perl6 has something, that can tell me the number of available cpu cores?
15:21 haxmeister bioexpress: you on linux?
15:21 perlpilot bioexpress: Linux::Cpuinfo perhaps
15:21 bioexpress On linux I could use nproc
15:22 perlpilot bioexpress: yeah, I'd probably just do that too   :)
15:22 araraloren joined #perl6
15:22 haxmeister but the perl module is a pure perl solution and requires no system call :)
15:22 robertle not sure it is exposed, but there must be something within perl6, how would it set the size of the default thread pool otherwise?
15:23 timotimo robertle: it evaluates "16" and uses the result of that
15:23 robertle timotimo: wow, that is really clever!
15:23 timotimo unless a RAKUDO_MAX_THREADS is set
15:23 timotimo it's a highly technical and complicated process
15:24 robertle yeah, and really good engineering: use heuristics first!
15:24 robertle and it also does not require a system call!
15:24 timotimo it might require a sbrk to get enough memory for the variable!
15:24 haxmeister windows stores it in a env variable: echo %NUMBER_OF_PROCESSORS%
15:25 haxmeister can also system call msinfo and parse it out
15:26 robertle timotimo: I have done that before in some app, would you be interested in a patch?
15:29 robertle strike that, I see now why it is a bit more difficult than that :)
15:31 AlexDaniel joined #perl6
15:31 timotimo a patch for what exactly?
15:31 timotimo right number of processes?
15:32 Geth ¦ doc: b99a6661b1 | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
15:32 Geth ¦ doc: [io grant] Finish off IO::Path.path/.IO
15:32 Geth ¦ doc:
15:32 Geth ¦ doc: - Add links to special handles
15:32 Geth ¦ doc: - Add method defs
15:32 Geth ¦ doc: review: https://github.com/perl6/doc/commit/b99a6661b1
15:33 ilmari wow, lscpu.c is >2k lines
15:33 robertle yes, a patch to set the number of pool threads to the number of logical cores. but I had a quick look and stumbled on the obvious: you would probably want to put some portable method into moar, and expose through nqp. so a bit more involved that I was initially thinking...
15:34 robertle that is based on my assumption that all platform-specfic stuff should be in the VM?
15:34 ilmari https://anonscm.debian.org/cgit/collab-maint/pkg-util-linux.git/tree/sys-utils/lscpu.c
15:34 sufrostico joined #perl6
15:34 timotimo it shouldn't be limited to the number of cpu cores
15:34 robertle perhaps not set to =cores, but surely based on it
15:34 cygx joined #perl6
15:34 * cygx sneaks in
15:34 robertle the app I did this before took the number of cores and capped at both ends
15:35 cygx you might want to call the function, lets say, MVM_platform_cpu_count ;)
15:46 araujo joined #perl6
15:49 khw joined #perl6
15:49 AlexDaniel joined #perl6
16:05 cdg joined #perl6
16:10 vetmaster joined #perl6
16:11 moritz_ nine: FYI, http://niner.name/blog/ links to http://niner.name/blog/perl_toolchain_summit_2017 which produces an internal error
16:17 Cabanossi joined #perl6
16:21 lizmat joined #perl6
16:22 raschipi hi lizmat!
16:23 lizmat raschipi o/
16:23 yoleaux 10:41Z <nine> lizmat: http://niner.name/blog/ for the weekly
16:23 yoleaux 12:53Z <perlawhirl> lizmat: Thank you for fixing the Baggy op... I didn't even get around to asking!
16:24 raschipi How was your trip?
16:30 vetmaster hello guys! is there any way to compile perl6 codes to .exe?
16:31 domidumont joined #perl6
16:31 [Coke] vetmaster: nope.
16:32 vetmaster ok :)
16:32 setty1 joined #perl6
16:32 vendethiel joined #perl6
16:32 lizmat raschipi: still on the trip, passing Metz as I write this
16:36 lizmat .tell nine: noted and nine++  :-)
16:36 yoleaux lizmat: What kind of a name is "nine:"?!
16:36 lizmat .tell nine noted and nine++  :-)
16:36 yoleaux lizmat: I'll pass your message to nine.
16:55 nicq20 joined #perl6
16:56 nicq20 Hello o/
16:58 haxmeister hello nicq20 o/
17:04 vetmaster .tell yoleaux hello, recursion :)
17:04 yoleaux vetmaster: Thanks for the message.
17:04 vetmaster .tell youleaux .tell youleaux
17:04 yoleaux vetmaster: I'll pass your message to youleaux.
17:04 vetmaster .tell youleaux .tell youleaux .tell youleaux .tell youleaux .tell youleaux .tell youleaux .tell youleaux .tell youleaux test
17:04 yoleaux vetmaster: I'll pass your message to youleaux.
17:04 vetmaster .tell youleaux .tell youleaux test
17:04 yoleaux vetmaster: I'll pass your message to youleaux.
17:05 vetmaster p6: say ".tell youleaux smth";
17:05 camelia rakudo-moar 054797: OUTPUT: «.tell youleaux smth␤»
17:09 nicq20 left #perl6
17:09 vetmaster how fast is perl6?
17:10 Zoffix joined #perl6
17:10 vetmaster perl6 vs python3 - what language is faster?
17:10 Zoffix vetmaster: fast enough to take the left lane ;)
17:11 Zoffix vetmaster: languages don't really have any speed. It's their interpreters/compiled programs that do
17:11 youleaux .
17:11 yoleaux 17:04Z <vetmaster> youleaux: .tell youleaux
17:11 yoleaux 17:04Z <vetmaster> youleaux: .tell youleaux .tell youleaux .tell youleaux .tell youleaux .tell youleaux .tell youleaux .tell youleaux test
17:11 yoleaux 17:04Z <vetmaster> youleaux: .tell youleaux test
17:11 Zoffix buggable: eco wix
17:11 buggable Zoffix, App::InstallerMaker::WiX 'Tool to make basic WiX installers for Perl 6 apps, bundling MoarVM/Rakudo.': https://github.com/jnthn/p6-app-installermaker-wix
17:12 Zoffix vetmaster: not exactly compile-to-exe but I heard you could use that ^ tool to bundle stuff up
17:12 vetmaster ok, thanks
17:12 vetmaster buggable: eco skynet
17:12 buggable vetmaster, Acme::Skynet 'Machine Learnings for your Perls6.': https://github.com/kmwallio/Acme-Skynet
17:13 Zoffix vetmaster: as for speed, comparisons aren't exact, as we one of the few language that do strings in graphemes right away, for example. In general, Rakudo's speed is still to be desired as we still have a ton of work to do to make it faster
17:14 Zoffix haxmeister: DOM::Tiny just uses CSS selectors
17:15 Zoffix bioexpre[TAB]... for number of CPUs, there's System::Info, currently in the making: https://github.com/lizmat/System-Info
17:16 stmuk_ joined #perl6
17:17 vetmaster buggable: eco ai
17:17 buggable vetmaster, Found 49 results: Algorithm::Diff, YAML, Bailador, Email::Simple, Email::MIME. See https://modules.perl6.org/#q=ai
17:17 vetmaster buggable: help
17:17 buggable vetmaster, tags | tag SOMETAG | eco | eco Some search term | speed
17:17 Zoffix There's also a FAQ entry on speed stuff: https://docs.perl6.org/language/faq#Is_Perl_6_fast_enough_for_me?
17:18 vetmaster I've tried it on my machine. And it works pretty fast
17:19 stmuk joined #perl6
17:19 vetmaster The speed is equal to python3 without cashing
17:19 vetmaster I tried loops and grammars, and it is mostly what I would do with perl6
17:20 vetmaster buggable: tags
17:20 buggable vetmaster, Total: 1582; BUG: 1049; UNTAGGED: 355; LTA: 161; NYI: 94; JVM: 59; RFC: 58; CONC: 56; REGEX: 56; UNI: 30; SEGV: 29; PERF: 24; TESTNEEDED: 23; NATIVECALL: 22; IO: 21; POD: 21; @LARRY: 20; REGRESSION: 20; TODO: 18; PRECOMP: 13; BUILD: 11; OO: 11; TESTCOMMITTED: 11; STAR: 10; OPTIMIZER: 9; BOOTSTRAP: 5; REPL: 5; GLR: 4; MATH: 4; OSX: 4; WEIRD: 4; SPESH: 3; WINDOWS: 3; RT: 2; BELL:
17:20 vetmaster buggable: tag @larry
17:20 buggable vetmaster, There are 20 tickets tagged with @LARRY; See http://perl6.fail/t/@LARRY for details
17:20 Zoffix vetmaster: it's a bit of a rough landscape though. Last week I hit onto this issue where writing the same thing differently makes it 70 times slower, for example: https://rt.perl.org/Ticket/Display.html?id=131297#ticket-history
17:21 Zoffix There's also #zofbot where you can play with the bots without spamming everyone in the channel.
17:21 sufrostico joined #perl6
17:21 stmuk_ joined #perl6
17:21 vetmaster sorry :) I'd like to find a good lib for machine learning
17:22 vetmaster is Acme::Skynet the best?
17:22 Zoffix `Acme::` namespace usually means it's a joke module
17:22 Zoffix vetmaster: you might have better luck searching https://metacpan.org/ (those are Perl 5 modules) and using what you find via Inline::Perl5
17:22 Zoffix buggable: eco Inline::Perl5
17:22 buggable Zoffix, Inline::Perl5 'Use Perl 5 code in a Perl 6 program': https://github.com/niner/Inline-Perl5
17:24 vetmaster zofbot: eco AI::
17:27 mcmillhj joined #perl6
17:29 vetmaster I cloned panda from github to ~/panda folder (Fedora Linux)
17:29 vetmaster what to do next?
17:29 Zoffix Why?
17:30 Zoffix vetmaster: rm -fr ~/panda; cd $(mktemp -d); git clone https://github.com/ugexe/zef .; perl6 -Ilib bin/zef install .
17:30 Zoffix panda is an outdated and unloved packaged manager; zef is the new game in town
17:30 Zoffix buggable: eco zef
17:30 buggable Zoffix, zef 'It's like [cpanm] wearing high heels with a tracksuit': https://github.com/ugexe/zef
17:36 tadzik you're unloved!
17:36 tadzik (but it's deprecated and unmaintained, officially now :P)
17:36 Zoffix :(
17:36 Zoffix Fine!
17:36 tadzik says so on the readme too
17:36 Zoffix left #perl6
17:37 vetmaster i get zef: command not found anyway
17:37 vetmaster Geth: help
17:38 Geth vetmaster, Source at https://github.com/perl6/geth To add repo, add an 'application/json' webhook on GitHub pointing it to https://geth.perl6.party/?chan=#perl6 and choose 'Send me everything' for events to send | use `ver URL to commit` to fetch version bump changes
17:38 vetmaster aaaaaaaaaa
17:38 vetmaster h
17:38 tadzik how can we be of assistance :)
17:39 vetmaster :) I've done the following: cd $(mktemp -d); git clone https://github.com/ugexe/zef .
17:40 vetmaster and then: perl6 -Ilib bin/zef install .
17:40 vetmaster but neither in that temp folder nor in the ~ folder zef isn't being found
17:41 vetmaster what the problem is that?
17:45 [Coke] what's the exact error message when you run that?
17:46 [Coke] (or does that work and *then* you can't find zef's installed location?)
17:46 vetmaster bash: zef: command not found
17:47 [Coke] that's when running 'perl6 -Ilib bin/zef install .' ?
17:47 vetmaster after that
17:47 vetmaster so, the process is finished, but then I can't call zef as "zef"
17:47 [Coke] and was there any output when running the install command?
17:47 Cabanossi joined #perl6
17:48 [Coke] Also, what OS?
17:48 vetmaster Fedora Linux
17:48 vetmaster output:
17:48 vetmaster ==> Bootstrapping Panda ==> Installing panda from a local directory '/home/sivan/perl6/panda' ==> panda depends on File::Find, Shell::Command, JSON::Fast, File::Which ==> Shell::Command depends on File::Find ==> Fetching File::Find ==> Building File::Find ==> Testing File::Find t/01-file-find.t .. ok
17:48 vetmaster etc.
17:48 [Coke] ... panda?
17:49 vetmaster sorry, it is not the needed log
17:49 [Coke] anything long, please use a paste service.
17:50 vetmaster https://pastebin.com/vchSsmA5
17:50 robertle joined #perl6
17:51 timotimo it tells you where the zef binary is put, that folder has to go into your PATH
17:52 vetmaster all right :) I'll set a shortcut then.
17:52 vetmaster thank you
17:56 AlexDaniel joined #perl6
17:56 SmokeMachine is there any type like Weak Map?
17:56 timotimo other binaries will also be installed there
17:56 timotimo SmokeMachine: we don't have that in moarvm yet
17:57 SmokeMachine timotimo: thanks!
18:02 hythm Is there syntax highlighting for repl?
18:02 nowan joined #perl6
18:05 wamba joined #perl6
18:08 timotimo there is not
18:09 hythm Thank you!
18:11 pecastro joined #perl6
18:15 AndyDee joined #perl6
18:21 dha joined #perl6
18:34 jast joined #perl6
18:40 Geth ¦ doc: b070999f33 | (Zoffix Znet)++ | 2 files
18:40 Geth ¦ doc: [io grant] Document IO::Spec::*.path
18:40 Geth ¦ doc:
18:40 Geth ¦ doc: Rakudo impl: https://github.com/rakudo/rakudo/commit/0547979373
18:40 Geth ¦ doc:              https://github.com/rakudo/rakudo/commit/8992af131b
18:40 Geth ¦ doc:              https://github.com/rakudo/rakudo/commit/816b2d4bfa
18:40 Geth ¦ doc: Tests:       https://github.com/perl6/roast/commit/7266522699
18:41 Geth ¦ doc:              https://github.com/perl6/roast/commit/6ac3b4aabd
18:41 Geth ¦ doc:              https://github.com/perl6/roast/commit/8e445f8576
18:41 Geth ¦ doc: review: https://github.com/perl6/doc/commit/b070999f33
18:41 timotimo starpath
18:42 TreyHarris joined #perl6
18:46 kaare_ joined #perl6
18:49 mcmillhj joined #perl6
18:49 lizmat joined #perl6
18:56 espadrine joined #perl6
18:59 mcmillhj joined #perl6
19:02 jast joined #perl6
19:05 colomon joined #perl6
19:07 lizmat joined #perl6
19:08 nadim_ joined #perl6
19:10 Geth ¦ doc: d5f7971558 | (Zoffix Znet)++ | doc/Type/IO/Path.pod6
19:10 Geth ¦ doc: Fix head numbering
19:10 Geth ¦ doc: review: https://github.com/perl6/doc/commit/d5f7971558
19:17 yqt joined #perl6
19:17 nine ~
19:17 yoleaux 16:36Z <lizmat> nine: noted and nine++  :-)
19:17 nine moritz_: thanks, fixed!
19:20 lizmat joined #perl6
19:22 zapwai joined #perl6
19:24 broy joined #perl6
19:26 Sound joined #perl6
19:26 Sound joined #perl6
19:29 nadim_ joined #perl6
19:33 Cabanossi joined #perl6
19:37 avalenn joined #perl6
19:37 labster joined #perl6
19:38 Geth ¦ doc: bace8ffcf5 | (Zoffix Znet)++ | 5 files
19:38 Geth ¦ doc: [io grant] Document IO::Path*.perl
19:38 Geth ¦ doc: review: https://github.com/perl6/doc/commit/bace8ffcf5
19:43 TEttinger joined #perl6
19:59 Ven joined #perl6
20:01 lizmat_ joined #perl6
20:05 Ven_ joined #perl6
20:08 Grauwolf joined #perl6
20:11 Ven_ joined #perl6
20:13 ingy Greetings. tony-o++ figued out how to bind libyaml to p6 so I should have a working (and fast) YAML implementation out under the YAML namespace... very soon.
20:17 cdg joined #perl6
20:19 lizmat ingy: if that's within the next 2 hours, it will make it to this week's Perl 6 Weekly
20:29 eater :')
20:36 Ven joined #perl6
20:41 Ven_ joined #perl6
20:41 wamba joined #perl6
20:47 Ven_ joined #perl6
20:49 lizmat_ joined #perl6
21:00 lizmat joined #perl6
21:02 bjz joined #perl6
21:05 beginner joined #perl6
21:06 beginner hello
21:07 beginner is there any approach in perl6 similar to JcoBox
21:10 eater Zoffix isa-ok, doesn't work on the exception :( cmp-ok ..cause.., '~~', X::OS does however
21:10 [Coke] beginner: based on the one paragraph I just read on some .de site, perhaps this might help: http://www.jnthn.net/papers/2015-yapcasia-concurrency.pdf
21:12 sufrostico joined #perl6
21:14 grumble joined #perl6
21:20 lizmat joined #perl6
21:43 mcmillhj joined #perl6
21:47 Cabanossi joined #perl6
21:56 bpmedley joined #perl6
21:56 mcmillhj joined #perl6
22:21 mcmillhj joined #perl6
22:38 mcmillhj joined #perl6
22:40 beginner the present distribution does not have OO::Actors...how to use it
22:42 timotimo have you tried installing it?
22:45 TimToady joined #perl6
22:46 timotimo beginner: like, "zef install OO::Actors"?
22:47 beginner yes
22:49 timotimo and that didn't work?
22:54 beginner timotimo : it shows up error "Failed to update p6c mirror Enabled fectching backends [path] don't understand"
22:55 timotimo i've seen this from someone else recently, but the installation still went through in that case
22:56 timotimo try it with:  zef install https://github.com/jnthn/oo-actors/archive/master.zip
22:58 mcmillhj joined #perl6
23:03 Cabanossi joined #perl6
23:06 beginner timotimo : Enabled fetching backends [path] don't understand https://github.com/jnthn/oo-actors/archive/master.zip You may need to configure one of the following backends, or install its underlying software - [git wget curl pswebrequest]   in method fetch at C:\rakudo\share\perl6\site\sources\A48CF21F42885E27DBC7EBC4927226101DEAD45B (Zef::Fetch) line 12   in code  at C:\rakudo\share\perl6\site\sources\4B1D5A60B59D9541E13F76E0E2A2D5
23:07 timotimo do you have wget or curl available?
23:09 beginner yes
23:09 timotimo anyway, you can just download and unpack that zip file, cd into it and then "zef install ."
23:09 timotimo would be interesting to figure out why zef can't do it
23:11 timotimo on my machine i can use that exact command and it works, the one with the .zip
23:12 timotimo the "zef install https://..."
23:12 timotimo but somehow the module's tests crash on my local version
23:13 mcmillhj joined #perl6
23:14 timotimo ooooh i still had a very strict ulimit set
23:16 beginner timotimo : so the actor module doesn't work perfect?
23:16 timotimo no, i set my shell up so that basically everything would crash
23:16 * lizmat is too tired to finish up the Perl 6 Weekly now
23:16 lizmat it should be published about 9 hours from now
23:17 lizmat sleep&
23:17 timotimo good rest, lizmat!
23:17 timotimo yeah, OO::Monitors installs just fine
23:21 beginner timotimo : finally done with installing...Thanks
23:25 cpage_ joined #perl6
23:33 mcmillhj joined #perl6
23:54 mcmillhj joined #perl6
23:54 BenGoldberg joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo