00:02 pmurias left 00:14 canopus left
[Coke] If so, why do we even have that option? :) 00:15
00:15 skids joined
timotimo because if you don't have inline::python, we still want you to have syntax highlighting 00:15
oh, maybe the doc build would be a good opportunity for nine to optimize inline::python 00:16
[Coke] we already require a few modules. doesn't seem like a big deal to require one more.
timotimo though i fear it's probably only a very few calls that are drowned out by perl6 work time
00:18 unicodable6 joined
[Coke] yay, it finished. 00:20
timotimo yay 00:24
00:25 canopus joined
[Coke] ... and search didn't seem to pick up on my changes. hurm. 00:28
timotimo is that perhaps a separate step?
[Coke] hurm. Inline::Python install fails for me, cannot find pyhelper.c:1:10: fatal error: 'Python.h' file not found 00:30
timotimo ah 00:31
install python-dev or python-devel
00:33 eyck left
[Coke] nosuch package on macports. swear i had this working at somepoint. (there are many py-*-devel packages. no idea which one is right) 00:34
timotimo does macports have something like "apt-file" or "dnf provides"?
00:35 eyck joined
geekosaur port provides 00:36
[Coke] guessing, "which port provides this executable I'm looking for"?
geekosaur but only for installed ports; variants make the problem of uninstalled ports rather difficult 00:37
.oO(Duke Nukem Forever provides?)
timotimo well, apt-file and dnf provides work based on file-per-package lists they download separately
geekosaur (debian and fedora ship prepopulated databases generated for every installable package. variants change what files a port can install, so the equivalent file is rather large)
00:56 wamba left 01:00 BenGoldberg joined 01:01 aborazmeh joined, aborazmeh left, aborazmeh joined 01:02 cdg left 01:15 Actualeyes joined 01:17 cibs left 01:19 cibs joined
ZzZombo m: my \self = π; say self 01:29
camelia rakudo-moar 843a6b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤'self' used where no object is available␤at <tmp>:1␤------> 3my \self = π; say 7⏏5self␤ expecting any of:␤ argument list␤ term␤»
ZzZombo m: my \sеlf = π; say sеlf
camelia rakudo-moar 843a6b: OUTPUT«3.14159265358979␤»
ZzZombo WTF? 01:30
01:31 Actualeyes left 01:33 zakharyas joined
MasterDuke m: say 'self'.uninames 01:35
MasterDuke m: say 'sеlf'.uninames 01:36
yoleaux AlexDaniel: go through clog and see if there are any other < > cases that are obviously wrong 01:38
AlexDaniel .in 1d go through clog and see if there are any other < > cases that are obviously wrong
yoleaux AlexDaniel: I'll remind you on 2 Dec 2016 01:38Z
AlexDaniel :P
unicodable6 AlexDaniel, Found nothing!
AlexDaniel :(
unicodable6 AlexDaniel, U+02B0 MODIFIER LETTER SMALL H [Lm] (ʰ)
AlexDaniel, U+02B2 MODIFIER LETTER SMALL J [Lm] (ʲ)
AlexDaniel, gist.github.com/9e9ba0755e9aefa43c...06d4081ef2 01:41
AlexDaniel u: Lm space
unicodable6 AlexDaniel, Found nothing!
AlexDaniel u: Lm 01:43
unicodable6 AlexDaniel, U+02B0 MODIFIER LETTER SMALL H [Lm] (ʰ)
AlexDaniel, U+02B2 MODIFIER LETTER SMALL J [Lm] (ʲ)
AlexDaniel, gist.github.com/b5cd8f0e7db5642cdb...78c776247f
AlexDaniel m: my \ꘌ = 42; say ꘌ == ꘌ 01:44
camelia rakudo-moar 843a6b: OUTPUT«True␤»
AlexDaniel m: my \ꓼ = 42; say 5+ꓼ 01:45
camelia rakudo-moar 843a6b: OUTPUT«47␤»
ZzZombo m: my \хрясь=2;put ++хрясь 01:46
camelia rakudo-moar 843a6b: OUTPUT«Cannot resolve caller prefix:<++>(Int); the following candidates␤match the type but require mutable arguments:␤ (Mu:D $a is rw)␤ (Int:D $a is rw)␤␤The following do not match for other reasons:␤ (Bool $a is rw)␤ (Mu:U $a is rw)␤ …»
ZzZombo m: my \хрясь=2;put хрясь 01:47
camelia rakudo-moar 843a6b: OUTPUT«2␤»
AlexDaniel m: my \х=2; say х Xx х × х xx х 01:49
camelia rakudo-moar 843a6b: OUTPUT«(2222 2222)␤»
ZzZombo stop having fun :V 01:51
01:52 ZzZombo left 01:55 Actualeyes joined
TimToady is suddenly rather glad he didn't make the optional... 01:58
01:59 adu joined 02:02 pat_js left 02:05 obfusk left, pierre_ joined, obfusk joined 02:11 Vynce joined 02:12 adu left 02:17 thowe joined
thowe Hello. 02:25
02:26 kurahaupo__ joined
AlexDaniel 🙋 02:29
thowe hm, that must be something my font doesn't have. 02:30
AlexDaniel u: 🙋 02:31
unicodable6 AlexDaniel, U+1F64B HAPPY PERSON RAISING ONE HAND [So] (🙋)
thowe So... Interesting. WHat does one need on a Debian box to have all of these unicode characters?
AlexDaniel thowe: ttf-unifont package is a must 02:32
but this one should be rendered by something else, actually 02:33
MasterDuke fonts-noto maybe
02:33 Actualeyes left
AlexDaniel yea, I have fonts-noto-mono installed 02:34
thowe OK, now I see you waving. The next question is, how do you type these things? have them someplace you can paste in? Keyboard mapping? 02:36
AlexDaniel thowe: compose key 02:41
I have a custom keyboard layout, so yes, I have added some commonly used characters there 02:42
but most people use compose key for everything
thowe not even sure what "compose key" means
AlexDaniel well, dead keys too, but I don't think these ones can help with emojis
thowe: google it :) 02:43
02:46 ilbot3 left 02:47 ilbot3 joined 02:49 Actualeyes joined
thowe problem is alt key wants to be menu shortcut in word processor... 02:49
still, now I know how to type an 􏿽xF1 if there isn't a menu. 02:53
02:53 synopsebot6 left, synopsebot6 joined
thowe Anyone know if Util is ever around? 02:53
TimToady this could easily be determined by searching the ir clogs 02:58
MasterDuke .seen Util
yoleaux I saw Util 9 Oct 2016 22:28Z in #perl6: <Util> p3rln00b: thanks!
thowe ah ".seen". Hm. Bummer. I wanted to say "Hi"> 02:59
AlexDaniel thowe: you make it sound like alt is the only key on your keyboard :) 03:08
thowe: for example, you can use caps lock as a button for your compose key
thowe I think what I would want to do is probably map the Windows button. I don't use it for anything else. 03:09
03:13 Actualeyes left
TimToady that's what I do 03:14
AlexDaniel is using both Super and Hyper buttons all the time
thowe: do you have Ctrl on caps lock or something? 03:18
03:19 labster left
thowe I haven't made any alterations 03:21
TimToady my keyboard doesn't even have caps lock, except occasionally by accident
03:21 ZzZombo joined
TimToady it has home/end where caps lock should be, if it wasn't where control was supposed to be instead of where it is... :) 03:22
03:22 ZzZombo is now known as Guest92221, Guest92221 left, Guest92221 joined, Guest92221 is now known as ZzZombo
AlexDaniel TimToady: does not sound too bad 03:23
03:25 noganex joined
thowe is excited for the Learning Perl6 book. 03:27
If I can have a book at the office, I can make an argument for rewriting my invoice processor in Perl6. 03:28
03:28 noganex_ left
AlexDaniel Changing caps lock to any other key is a win anyway 03:30
03:35 user9 left, user9 joined
ZzZombo Can we get --ll-exception to print paths using OS-aware path separators? 03:37
03:45 AlexDaniel left
ZzZombo why the hack: 03:46
m: gist.github.com/ZzZombo/5caa51f9b2...556920a0d8
camelia rakudo-moar 843a6b: OUTPUT«Perl6::Metamodel::ClassHOW.new␤No such method 'find_private_method' for invocant of type 'Perl6::Metamodel::PackageHOW'␤ in block at <tmp> line 48␤ in method handler at <tmp> line 44␤ in submethod tweak at <tmp> line 15␤ in block <unit> at <…»
ZzZombo why does it look into Perl6::Metamodel::PackageHOW instead of Perl6::Metamodel::ClassHOW??
TimToady would be more excited about the LP book if he knew it wouldn't be written with that barfaliciously pythonic bracket style 03:47
03:56 solarbunny left
thowe not sure what this message means... when doing ""Howdy World".^methods(:local).join(',')" I get a message "Control flow commands not allowed in toplevel". 04:00
what does that mean? 04:01
join is a control flow command? 04:02
ZzZombo m: "Howdy World".^methods(:local).join(',') 04:04
camelia rakudo-moar 843a6b: OUTPUT«Submethod object coerced to string (please use .gist or .perl to do that)␤ in block <unit> at <tmp> line 1␤Method object coerced to string (please use .gist or .perl to do that)␤ in block <unit> at <tmp> line 1␤Method object coerced to string (pl…»
ZzZombo m: dd "Howdy World".^methods(:local).join(',')
camelia rakudo-moar 843a6b: OUTPUT«Submethod object coerced to string (please use .gist or .perl to do that)␤ in block <unit> at <tmp> line 1␤Method object coerced to string (please use .gist or .perl to do that)␤ in block <unit> at <tmp> line 1␤Method object coerced to string (pl…»
ZzZombo m: dd "Howdy World".^methods(:local) 04:05
camelia rakudo-moar 843a6b: OUTPUT«(submethod BUILD (Str $: :$value = "", *%_ --> Nil) { #`(Submethod|46742088) ... }, method Int (Str:D $: *%_) { #`(Method|46742240) ... }, method Num (Str:D $: *%_) { #`(Method|46742392) ... }, method chomp (Str:D $: *%_) { #`(Method|46742544) ... }, metho…»
ZzZombo m: put "Howdy World".^methods(:local).join(',')
camelia rakudo-moar 843a6b: OUTPUT«Submethod object coerced to string (please use .gist or .perl to do that)␤ in block <unit> at <tmp> line 1␤Method object coerced to string (please use .gist or .perl to do that)␤ in block <unit> at <tmp> line 1␤Method object coerced to string (pl…»
ZzZombo I don't get your results. 04:06
thowe might be a REPL thing(?)
04:11 cdg joined
thowe hm. I was just trying an example from docs.perl6.org/language/classtut#Introspection 04:11
"say $o.^methods(:local).join(', ');" 04:12
04:13 cdg left
ZzZombo I think it's a mistake then. You shouldn't stringify methods like that. It probably meant to concat their names only. 04:13
04:13 cdg joined
ZzZombo m: put ("Howdy World".^methods(:local)>>.name).join(',') 04:14
camelia rakudo-moar 843a6b: OUTPUT«BUILD,Int,Num,chomp,subst,pred,succ,ords,parse-base,samecase,samemark,samespace,word-by-word,trim-leading,trim-trailing,trim,encode,NFC,NFD,NFKC,NFKD,wordcase,trans,indent,codes,chars,uc,lc,tc,fc,tclc,flip,ord,WHY,WHICH,Bool,Str,Stringy,DUMP,ACCEPTS,chop,s…»
ZzZombo m: put ("Howdy World".^methods(:local)>>.name).join(', ')
camelia rakudo-moar 843a6b: OUTPUT«BUILD, Int, Num, chomp, subst, pred, succ, ords, parse-base, samecase, samemark, samespace, word-by-word, trim-leading, trim-trailing, trim, encode, NFC, NFD, NFKC, NFKD, wordcase, trans, indent, codes, chars, uc, lc, tc, fc, tclc, flip, ord, WHY, WHICH, B…»
ZzZombo thowe ^
thowe so, ^methods doesn't return a list of names, it actually returns "methods". Method objects(?) 04:15
ZzZombo yes
thowe ah ha... I come from a Ruby world once upon a time, so I wasn't quite ready for that. That's next level. 04:16
is >>. a special operator on Method? 04:17
ZzZombo well, to be pedantic, it returns a List of methods.
it is a generic operator called hyper operator
04:17 pierre_ left
thowe looks like it might be iterating(?) 04:18
ZzZombo basically performs actions on all members of a list, and returns results in order
so here, I tell it to iterate over the result of ^methods() call, call .name on it and the results of all calls are then returned in another list. 04:19
s/on it/on each item/ 04:20
thowe yeah, I got that. Nifty.
Kinda like .each in Ruby I guess.
wow, there's a lot of hyper operators. 04:21
I guess I know some of these already though. I think the term "hyper operator" is just new to me. 04:22
I'm also not reading the page right, so don't mind me... 04:23
04:24 pierre_ joined
thowe what makes something a "Hyper" operator? 04:25
is it an operator on an operator? 04:26
ZzZombo yea, it applies another operator 04:27
thowe I probably shouldn't annoy the channel with stuff I should just be reading up on. Sorry for the noise.
04:29 pierre_ left 04:36 thowe left 04:37 solarbunny joined
BenGoldberg . o O (A hyper operator is one which has ADHD) 04:38
MasterDuke ZzZombo: are you on windows? 04:40
04:40 Actualeyes joined
MasterDuke well, assuming you are, are all the paths in the output of --ll-exception non-windows? or just some? 04:56
ZzZombo Yes 04:58
they look like "C:\rakudo/share/perl6/runtime/CORE.setting.moarvm"
04:58 aborazmeh left
ZzZombo note the first separator is Windows-like, while the rest are not. 04:59
oh, user files properly use only '\'. 05:00
so it affects only internal files.
there is also no consistency in paths on the beginning of strings, I was talking earlier about paths in parentheses: 05:02
from src/Perl6/Compiler.nqp:27 (C:\rakudo\share\nqp\lib/Perl6/Compiler.moarvm:command_eval)
from gen\moar\stage2\NQPHLL.nqp:1508 (C:\rakudo\share\nqp\lib/NQPHLL.moarvm:command_line)
and there are instances of mixed separators as well. 05:03
MasterDuke some parts of those paths are kind of hard-coded, some are pulled from the filesystem 05:05
05:05 awwaiid left 05:06 awwaiid joined
MasterDuke and a bunch of the code is from NQP, which i don't believe has as much OS-awareness as Perl 6 does 05:06
ZzZombo well sure we can decorate the paths but only in the output.
MasterDuke could you rakudobug it? 05:07
ZzZombo Yes.
MasterDuke cool. i'll try and look into it, but it would be good to have in RT in case it slips my mind 05:08
05:09 rburkholder joined
ZzZombo m: gist.github.com/ZzZombo/5caa51f9b2...556920a0d8 05:18
camelia rakudo-moar 843a6b: OUTPUT«Perl6::Metamodel::ClassHOW.new␤No such method 'find_private_method' for invocant of type 'Perl6::Metamodel::PackageHOW'␤ in block at <tmp> line 48␤ in method handler at <tmp> line 44␤ in submethod tweak at <tmp> line 15␤ in block <unit> at <…»
ZzZombo why does it look into Perl6::Metamodel::PackageHOW instead of Perl6::Metamodel::ClassHOW?? 05:19
05:23 ZzZombo left, ZzZombo joined 05:24 ZzZombo is now known as Guest67198, Guest67198 left, Guest67198 joined, Guest67198 is now known as ZzZombo 05:25 pierre_ joined
seatek is this a bug or a feature? 05:26
i can't quite decide myself! 05:27
ugexe thats how once works 05:28
ZzZombo m: sub fragile{ once put 'You broke dis...'};fragile;fragile; 05:29
camelia rakudo-moar 843a6b: OUTPUT«You broke dis...␤»
seatek ok sounds good to me :) i'll doc it in the things to watch out for with once
ugexe "A block prefix with once will be executed exactly once, even if placed inside a loop or a recursive routine."
05:30 pierre_ left
seatek different class isntances are supposed to have different scope though 05:30
that's what makes it unexpected 05:31
ugexe it does not say once per instance
it works just like `state`
m: class foo { method bar { state $x = rand; say $x } }; foo.new.bar; foo.new.bar
camelia rakudo-moar 843a6b: OUTPUT«0.590090676209819␤0.590090676209819␤»
seatek actually, that just made me think of a good use for it 05:32
ugexe different scope doesnt matter if its only executed once 05:33
seatek clones? 05:34
ZzZombo m: sub fragile{ once put 'You broke dis...'};fragile xx 2
ugexe what about them?
camelia rakudo-moar 843a6b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ xx used at line 1␤␤»
ZzZombo m: sub fragile{ once put 'You broke dis...'};fragile x 2
camelia rakudo-moar 843a6b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ x used at line 1␤␤»
05:35 khw left 05:36 pierre_ joined, pierre_ left
ugexe m: class foo { method bar { { once say 42 } } }; foo.new.bar; foo.new.bar # you can do this if you really want to 05:38
camelia rakudo-moar 843a6b: OUTPUT«42␤42␤»
ugexe but then you lose what you wanted to begin with if you use the same instance more than once 05:39
seatek no i think it works great the way it is.
05:40 pierre_ joined
BenGoldberg m: BEGIN { my $once; sub fragile { $once //= put 'You broke dis...' } }; fragile xx 2; 05:44
camelia rakudo-moar 843a6b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routines:␤ fragile used at line 1␤ xx used at line 1␤␤»
BenGoldberg m: BEGIN { my $once; sub fragile { $once //= put 'You broke dis...' } }; fragile for ^2;
camelia rakudo-moar 843a6b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ fragile used at line 1␤␤»
BenGoldberg m: BEGIN { my $once; sub OUTER::fragile { $once //= put 'You broke dis...' } }; fragile for ^2;
camelia rakudo-moar 843a6b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Cannot use pseudo package OUTER in sub declaration␤at <tmp>:1␤------> 3BEGIN { my $once; sub OUTER::fragile7⏏5 { $once //= put 'You broke dis...' } };␤»
BenGoldberg m: BEGIN { my $once; our sub fragile { $once //= put 'You broke dis...' } }; fragile for ^2;
camelia rakudo-moar 843a6b: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤ fragile used at line 1␤␤»
BenGoldberg frowns 05:45
ugexe m: BEGIN { my $once; my &fragile = sub fragile { $once //= put "You broke dis..." } }; fragile for ^2 05:46
camelia rakudo-moar 843a6b: OUTPUT«===SORRY!===␤P6opaque: no such attribute '$!yada' in type Routine when trying to get a value␤»
BenGoldberg That's my favorite perl5 way of giving some shared state to a small handful of subs, without that state being seen outside of them.
05:46 James0r joined
BenGoldberg m: my &fragile = BEGIN { my $once; sub { $once //= put "You broke dis..." } }; fragile for ^2; 05:47
camelia rakudo-moar 843a6b: OUTPUT«You broke dis...␤»
BenGoldberg m: my (&foo, &bar); BEGIN { my $counter = 0; &foo = sub { --$counter }; &bar = sub { ++$counter } }; say foo() xx 3, bar(); 05:49
camelia rakudo-moar 843a6b: OUTPUT«(-1 -2 -3)-2␤»
BenGoldberg m: my (&foo, &bar); say foo() xx 3, bar() xx 2; BEGIN { my $counter = 0; &foo = sub { --$counter }; &bar = sub { ++$counter } }; 05:50
camelia rakudo-moar 843a6b: OUTPUT«(-1 -2 -3)(-2 -1)␤»
ZzZombo m: sub fragile{ once put 'You broke dis...'};fragile() x 2 05:52
camelia rakudo-moar 843a6b: OUTPUT«WARNINGS for <tmp>:␤Useless use of "x" in expression "fragile() x 2" in sink context (line 1)␤You broke dis...␤»
ZzZombo m: sub fragile{ once put 'You broke dis...'};fragile() xx 2
camelia rakudo-moar 843a6b: OUTPUT«You broke dis...␤»
ZzZombo m: sub fragile{ once put 'You broke dis...';put 'Stop you criminal scum!'};fragile() xx 2 05:53
camelia rakudo-moar 843a6b: OUTPUT«You broke dis...␤Stop you criminal scum!␤Stop you criminal scum!␤»
05:56 BenGoldberg left 05:59 cdg left 06:00 Cabanossi left 06:02 Cabanossi joined 06:05 wisti left 06:09 cibs left 06:10 cibs joined 06:13 Vynce left 06:14 skids left 06:16 darutoko joined 06:18 ugexe left 06:23 domidumont joined 06:24 wamba joined 06:32 ugexe joined 06:36 domidumont left 06:47 rindolf joined 06:49 pierre_ left 06:50 RabidGravy joined 06:51 James0r left 06:55 pierre_ joined 07:00 xtreak joined 07:03 pierre_ left 07:06 pierre_ joined
xtreak p6: (1..*).grep: * % 2 == 0.map: * + 2.take(10) 07:08
camelia rakudo-moar 843a6b: OUTPUT«Too many positionals passed; expected 1 argument but got 2␤ in block <unit> at <tmp> line 1␤␤»
07:08 Woodi left 07:20 CIAvash joined, CIAvash left 07:23 pierre_ left, CIAvash joined 07:26 geekosaur left 07:27 geekosaur joined 07:29 pierre_ joined 07:31 rburkholder left 07:33 wamba left 07:46 ufobat joined 07:51 Tonik joined 08:01 Tonik left 08:11 dogbert2 joined 08:14 dogbert17 left 08:15 firstdayonthejob joined 08:23 dj_goku_ joined 08:26 dj_goku left, thib left 08:28 wamba joined 08:30 rurban joined 08:33 m0ltar left 08:34 cxreg joined 08:35 m0ltar joined 08:41 dakkar joined 08:48 aborazmeh joined, aborazmeh left, aborazmeh joined 08:51 xtreak left 08:53 dg joined 09:02 xtreak joined 09:04 jonas1 joined 09:08 domidumont joined 09:10 Actualeyes left 09:13 domidumont left, domidumont joined 09:15 pierre_ left 09:17 Unavowed left 09:18 Unavowed joined 09:20 wamba left 09:23 pierre_ joined 09:28 pierre_ left 09:29 pierre_ joined, brillenfux joined, aries_liuxueyang left 09:30 aries_liuxueyang joined
xtreak p6: (1..*).grep: * % 2 == 0.map: * + 2.take(10) 09:34
camelia rakudo-moar 843a6b: OUTPUT«Too many positionals passed; expected 1 argument but got 2␤ in block <unit> at <tmp> line 1␤␤»
xtreak Works on my repl but breaks here . Any clue? Also how do I convert (...) to give the actual results
09:35 scimon joined 09:38 giraffe left
scimon Hi folks. Can anyone give me any good pointers on the state of Perl6 on the JVM? 09:39
Right now i've got it running via rakudobrew but panda won't install and this makes my plan to convince my boss it's a viable option is hitting a speed bump. 09:40
09:41 CIAvash left, CIAvash joined 09:42 wamba joined
ZzZombo try zef? 09:44
scimon That won't build either. 09:45
(Just runing them both now to give some more details) 09:46
Panda fails at the bootstrap stage with Cannot unbox a type object and a metric ton of nqp stacktrace. 09:47
09:47 giraffe joined
scimon (Ubuntu Linux 16.04 with the Oracle Java 8 VM) 09:48
I know Rakudo star currently says the JVM stuff has issues and I figured I'd see if I could help with them. Even if it is by tracking down bugs.
Zef fails with "Serialization Error: could not locate static code ref for closure" 09:49
09:49 CIAvash_ joined
scimon (Meeting... will try zef build outside of rakudobrew on my return, any pointers people can give would be great) 09:50
ZzZombo I don't know anything about that, sorry. Wait for someone else. Just hang around, you'll get help.
CIAvash_ m: (1..*).grep(* %% 2).map(* + 2)[^10] 09:51
camelia ( no output )
scimon Cheers. :)
CIAvash_ m: say (1..*).grep(* %% 2).map(* + 2)[^10]
camelia rakudo-moar 843a6b: OUTPUT«(4 6 8 10 12 14 16 18 20 22)␤»
CIAvash_ xtreak: ↑
09:52 CIAvash left 09:54 zakharyas left
xtreak CIAvash_: Thanks. Why does using the colon notation yield a lazy list and how can I make it as a list? 09:54
09:54 zakharyas joined
gregf_ m: ((1..*).grep: * %% 2.map: * + 2)[1..10] 09:55
camelia ( no output )
gregf_ doesnt look quite right :| 09:57
xtreak Is there a way to convert the output of take(10) itself as a list?
m: say ((1..*).grep: * %% 2.map: * + 2)[1..10]
p6: say ((1..*).grep: * %% 2.map: * + 2)[1..10] 09:58
gregf_ m: (^10).^name.say
09:58 zakharyas left
gregf_ m: (^10).List.^name.say 09:58
ZzZombo GJ team
that will shut those pesky bots for sure 09:59
10:02 lizmat left 10:03 dontbe^2 left, abruanese left 10:04 dontbe^2 joined
camelia rakudo-moar 843a6b: OUTPUT«(2 3 4 5 6 7 8 9 10 11)␤» 10:04
rakudo-moar 843a6b: OUTPUT«Range␤»
rakudo-moar 843a6b: OUTPUT«List␤»
arnsholt I think "say (1..*).grep(* %% 2).map(* + 2)[^10]" and "((1..*).grep: * %% 2.map: * + 2)[1..10]" are different
The latter is equivalent to "((1..*).grep(* %% 2.map(* + 2)))[1..10]
10:04 lizmat_ joined, abruanese joined
xtreak arnsholt: Makes sense :) Sorry to repeat but how do I convert (...) that is the output of take() to a list? 10:05
10:05 simcop2387 joined 10:07 CIAvash_ left 10:08 CIAvash joined, CIAvash left, CIAvash joined 10:09 aborazmeh left 10:13 siamak joined 10:14 siamak left
CIAvash xtreak: "take" should be used with "gather" docs.perl6.org/routine/take it doesn't do what you think it does AFAIK. 10:17
arnsholt Using take outside of a gather should raise an exception 10:18
xtreak CIAvash: Thanks. I got confused take function in other languages 10:19
arnsholt Yeah, it's not Haskell's take at all 10:20
jnthn Try head 10:21
At least, if the take semantics your thinking of are like the C# ones...
*you're # OMG o.O
jnthn drinks the coffee faster
CIAvash m: say (1..*).grep(* %% 2).map(* + 2).head: 10 # xtreak 10:23
camelia rakudo-moar 843a6b: OUTPUT«(4 6 8 10 12 14 16 18 20 22)␤»
10:24 zilti joined
zilti To whoever made the Template-Mojo module: Congrats! I get a "Useless use of constant string "blarg" in sink context (line 1)" :P 10:24
10:27 andrzeju_ left 10:37 krakan_ left, brillenfux left, Unavowed left, firstdayonthejob left, geekosaur left, RabidGravy left, tadzik left, ggoebel left, zacts left, ShoaibJahejo left, Spot__ left, tomaw left, solarbunny left, SourceBaby left, Undercover left, dalek left, mniip left, jervo left, CIAvash left, dakkar left, ugexe left, ilbot3 left, mohae left, effbiai left, ribasushi left, timeless left, vcv_ left, apejens left, gfldex left, domm1 left, TimToady left, mattp_ left, ggherdov left, buggable left, beatdown left, jferrero left, hobbs left, ilmari left, lucs left, bitmap left, silug left, Hotkeys left, dataangel left, jsimonet left, chansen_ left, DarthGandalf left, BuildTheRobots left, f3ew_ left, SHODAN left, DANtheBEASTman left, dustinm` left, jercos left, mindos left, tbrowder left, mithaldu_ left, BooK left, Timbus left, cxreg left, ufobat left, rindolf left, synopsebot6 left, dp[m] left, M-Illandan left, ilmari[m] left, Khisanth left, mitchum left, Lucas_One left, parisba left, Juerd left, ponbiki left, samcv left, bpmedley left, cyphase left, Upasaka left, smash left, go|dfish left, m0ltar left, dj_goku_ left, Cabanossi left, kurahaupo__ left, unicodable6 left, committable6 left, benchable6 left, bisectable6 left, evalable6 left, ChoHag left, pecastro left, zostay left, leego left, alimon1 left, ugjka left, nowan left, salparadise left, kent\n left, flaviusb left, NeuralAnomaly left, wtw left, obra left, erdic left, mephinet left, esh left, yoleaux left, dylanwh left, clkao left, TeamBlast left, BinGOs left, huggable left, profan left, literal left, kipd left, PotatoGim left, nightfrog left, cognominal left, telex left, pochi left, chee left, ingy left, diakopter left, stmuk_ left, dudz left, zilti left, darutoko left, obfusk left, Matthew[m] left, babydrop left, nchambers left, rblackwe left, [particle] left, mad__ left, tyil left, abraxxa left, xfix left, ranguard left, imcsk8 left, titsuki left, salva left, Praise left, Bucciarati left, Ulti left, sQuEE left, isacloud left, notbenh_ left, rodarmor left, robinsmidsrod left, damnlie_ left, integral left, haircode left, d^_^b left, eater left, gregf_ left, MasterDuke left, krokib left, domidumont left, seatek left, matt_ left, b2gills left, avuserow left, jdv79 left, [ptc] left, eiro left, sivoais left, gensym left, sergot left, revere left, rurban left, dogbert2 left, Matias[m] left, chris2 left, huf left, DrForr left, PerlJam left, sjohnsen left, kaare_ left, stevieb left, sunnavy left, andrewalker left, garu left, Celelibi left, risou___ left, w4and0er96 left, Alikzus left, stanley left, ccakes left, john51 left, saki left, xinming left, Dunearhp left, vytas left, leedo left, skaji left, giraffe left, scimon left, pierre_ left, cpage left, musca left, jonadab left, japhb left, Kaffe left, broquaint left, mspo left, Exodist left, jnthn left, mls left, Util left, olinkl left, inokenty left, kst left, simcop2387 left, aries_liuxueyang left, xtreak left, user9 left, timotimo left, r3m left, amalia_ left, hahainternet left, bartolin left, avalenn left, roguelazer left, mst left, mrsolo left, cosimo left, hoelzro left, SmokeMachine____ left, adrusi left, JimmyZ left, jantore left, konobi left, cibs left, geraud left, jonas1 left, awwaiid left, noganex left, vendethiel left, shadowpaste left, mr-foobar left, baest left, xiaomiao left, Sgeo__ left, sftp left, moritz left, rjbs left, luis left, jnap_ left, nebuchadnezzar left, kshannon left, wamba left, dg left, ZzZombo left, perigrin_ left, bhm left, breinbaas left, jast left, cgfbee left, jeek left, felher left, perlpilot left, ttkp6 left, rmusial left, arnsholt left, abruanese left, lizmat_ left, eyck left, canopus left, TEttinger left, setty1 left, ilbelkyr left, camelia left, El_Che left, Grrrr left, emdashcomma left, stux|RC left, araujo left, vike left, masak left, petercommand left, shmibs left, hcit left, Gothmog_ left, avar left, notbenh left 10:44 CIAvash joined, xxpor_ joined, diego_k joined, Dunearhp_ joined, krakan joined, zilti joined, simcop2387 joined, abruanese joined, lizmat_ joined, giraffe joined, wamba joined, scimon joined, aries_liuxueyang joined, brillenfux joined, pierre_ joined, Unavowed joined, domidumont joined, jonas1 joined, xtreak joined, dg joined, dakkar joined, m0ltar joined, cxreg joined, rurban joined, dj_goku_ joined, firstdayonthejob joined, dogbert2 joined, ufobat joined, geekosaur joined, RabidGravy joined, rindolf joined, ugexe joined, darutoko joined, cibs joined, Cabanossi joined, ZzZombo joined, awwaiid joined, solarbunny joined, user9 joined, noganex joined, synopsebot6 joined, ilbot3 joined, kurahaupo__ joined, obfusk joined, eyck joined, canopus joined, unicodable6 joined, seatek joined, committable6 joined, benchable6 joined, evalable6 joined, bisectable6 joined, cpage joined, dp[m] joined, Matias[m] joined, M-Illandan joined, Matthew[m] joined, tadzik joined, ilmari[m] joined, ChoHag joined, TEttinger joined, ggoebel joined, pecastro joined, setty1 joined, zacts joined, mohae joined, vendethiel joined, nightfrog joined, babydrop joined, chris2 joined, effbiai joined, ShoaibJahejo joined, Spot__ joined, ribasushi joined, shadowpaste joined, Khisanth joined, nchambers joined, zostay joined, musca joined, timeless joined, timotimo joined, vcv_ joined, saki joined, huf joined, DrForr joined, ilbelkyr joined, r3m joined, apejens joined, rblackwe joined, gfldex joined, PerlJam joined, mr-foobar joined, jonadab joined, baest joined, weber.freenode.net sets mode: +vv committable6 bisectable6, domm1 joined, perigrin_ joined, japhb joined, leego joined, xinming joined, cognominal joined, camelia joined, sjohnsen joined, alimon1 joined, ugjka joined, mitchum joined, [particle] joined, telex joined, matt_ joined, El_Che joined, Lucas_One joined, TimToady joined, bhm joined, Grrrr joined, mattp_ joined, SourceBaby joined, Undercover joined, dalek joined, Kaffe joined, ggherdov joined, parisba joined, b2gills joined, buggable joined, beatdown joined, Juerd joined, jferrero joined, amalia_ joined, kaare_ joined, emdashcomma joined, hahainternet joined, nowan joined, hobbs joined, mad__ joined, tyil joined, gregf_ joined, abraxxa joined, xfix joined, ponbiki joined, samcv joined, MasterDuke joined, stevieb joined, pochi joined, weber.freenode.net sets mode: +vvv camelia Undercover dalek, haircode joined, stux|RC joined, krokib joined, bartolin joined, araujo joined, ranguard joined, revere joined, xiaomiao joined, Sgeo__ joined, salparadise joined, imcsk8 joined, breinbaas joined, sftp joined, bpmedley joined, cyphase joined, avalenn joined, jast joined, cgfbee joined, avuserow joined, broquaint joined, kent\n joined, flaviusb joined, mniip joined, mspo joined, vike joined, titsuki joined, salva joined, sunnavy joined, ilmari joined, geraud joined, Upasaka joined, eiro joined, roguelazer joined, Praise joined, andrewalker joined, smash joined, vytas joined, chee joined, masak joined, Bucciarati joined, garu joined, lucs joined, jeek joined, petercommand joined, NeuralAnomaly joined, moritz joined, ingy joined, Celelibi joined, bitmap joined, Ulti joined, risou___ joined, silug joined, wtw joined, mst joined, sQuEE joined, jdv79 joined, go|dfish joined, Exodist joined, diakopter joined, Hotkeys joined, isacloud joined, [ptc] joined, dataangel joined, stmuk_ joined, tomaw joined, jsimonet joined, felher joined, w4and0er96 joined, rjbs joined, Alikzus joined, jnthn joined, mls joined, perlpilot joined, leedo joined, obra joined, erdic joined, mrsolo joined, mephinet joined, cosimo joined, Util joined, esh joined, stanley joined, shmibs joined, ccakes joined, tbrowder joined, eater joined, dudz joined, skaji joined, john51 joined, chansen_ joined, notbenh_ joined, rodarmor joined, olinkl joined, hoelzro joined, SmokeMachine____ joined, luis joined, adrusi joined, inokenty joined, kst joined, ttkp6 joined, sivoais joined, yoleaux joined, JimmyZ joined, jnap_ joined, dylanwh joined, robinsmidsrod joined, clkao joined, damnlie_ joined, TeamBlast joined, BinGOs joined, huggable joined, nebuchadnezzar joined, DarthGandalf joined, BuildTheRobots joined, kshannon joined, gensym joined, rmusial joined, integral joined, jervo joined, jantore joined, arnsholt joined, konobi joined, profan joined, d^_^b joined, literal joined, kipd joined, PotatoGim joined, Timbus joined, BooK joined, mithaldu_ joined, mindos joined, jercos joined, dustinm` joined, DANtheBEASTman joined, SHODAN joined, f3ew_ joined, sergot joined, sjn joined, zoosha_ joined, Possum joined, KotH joined, weber.freenode.net sets mode: +v yoleaux, freeze joined, dsp_ joined, yeltzooo joined, tony-o joined, hanekomu joined, revdiablo joined, ambs_ joined, tinita joined, TheDir joined, psch joined, gabiruh joined, kmwallio joined, riatre joined, jcallen joined, Peter_R joined, tailgate joined, protium joined, [Coke] joined, spider-mario joined, hcit joined, Gothmog_ joined, avar joined, notbenh joined, eythian joined, nine joined, pnu_ joined 10:55 rmusial left 10:57 pierre_ left 11:02 rmusial joined
scimon zef build outside of rakudobrew failed with the same message. Trying with --ll-exception now 11:02
So it looks like it's the load_module code which would match with the comments in the Rakudo Star about JVM not doing modules... 11:04
babydrop During last release there were JVM issues even on nqp level, so .... 11:05
Works fine on the much better supported MoarVM tho.
And as much as I want Perl 6 to succeed the JVM backend is not a "viable option" for any boss IMO. 11:07
scimon Sigh. 11:08
babydrop :)
scimon Mine are wedded to the JVM and think it's the best thing since sliced bread.
I foresee one of two annoying options.
babydrop We've a bit of a shortage of JVM volunteers. The ones we have can only do so much with their time. 11:09
scimon Well I can try and help. Might take me a while to get up to speed. 11:10
psch ++scimon 11:11
babydrop scimon: that would be awesome.
scimon Not sure how much help I'll BE. I'll start noodling around. 11:12
babydrop scimon: we also have #perl6-dev the couple of JVM folks who can give you hints are psch and bartolin
psch jnthn++ to most likely, as well as arnsholt++ 11:13
s/to /too/
11:13 xtreak left
psch tbh, maybe shifting towards at-least-installing-modules might be reasonable for me instead of prodding at jvminterop almost exclusively... :) 11:13
scimon Being able to install the module installer would be nice :) 11:14
right now I should do some dayjob as the sprints started. 11:16
(Joined perl6-dev going to lurk for a while) 11:27
babydrop Would be sweet if someone took a gander at failing JVM nqp tests :) They're kind of a pain in the ass, because we don't have a fudger in nqp and Rakudo's automated release system was built on the assumption that nqp tests always pass :) 11:28
psch guesses that's new tests again and we just never noticed that the jvm fails them :/ 11:29
babydrop at least some of them definitely yeah
scimon goes off to read nqp stuff. 11:30
psch scimon: did you find the edumentab slides? those are pretty great 11:31
scimon I have now.
dalek c: ce7c9f6 | gfldex++ | doc/Language/typesystem.pod6:
tell where default types are used
synopsebot6 Link: doc.perl6.org/language/typesystem
11:32 roman_ joined
dalek c: c7b14ae | gfldex++ | doc/Language/containers.pod6:
doc type constraints and their introspection for containers
synopsebot6 Link: doc.perl6.org/language/containers
ZzZombo sorry for nagging, but I could use some help 11:44
m: gist.github.com/ZzZombo/5caa51f9b2...556920a0d8
camelia rakudo-moar 843a6b: OUTPUT«Perl6::Metamodel::ClassHOW.new␤No such method 'find_private_method' for invocant of type 'Perl6::Metamodel::PackageHOW'␤ in block at <tmp> line 48␤ in method handler at <tmp> line 44␤ in submethod tweak at <tmp> line 15␤ in block <unit> at <…»
ZzZombo why does it look into Perl6::Metamodel::PackageHOW instead of Perl6::Metamodel::ClassHOW??
11:47 jonas1 left 11:48 jonas1 joined
psch m: package Attribute::Handling { sub do-stuff is export { my method foo { self!"bar"() } } }; import Attribute::Handling; do-stuff()("foo") 11:48
camelia rakudo-moar 843a6b: OUTPUT«No such method 'find_private_method' for invocant of type 'Perl6::Metamodel::PackageHOW'␤ in method foo at <tmp> line 1␤ in block <unit> at <tmp> line 1␤»
dalek c: 0bf8b18 | gfldex++ | doc/Language/variables.pod6:
be precise where the default type constraint actually comes from
synopsebot6 Link: doc.perl6.org/language/variables
11:51 pierre_ joined
psch ZzZombo: i'd try using an explicit invocant in the methods you're adding to the things you're putting your trait on 11:52
ZzZombo like method m(Class:)? 11:53
psch ZzZombo: i.e. 'method handler(Class $class:) {...}' instead of getting it via the package
ZzZombo but I do not get the type object, I get there an instance.
psch ZzZombo: i'd guess the lexical self gets bound a bit wrongly
not really sure about that though 11:54
ZzZombo Do you really mean the class here?
psch ZzZombo: you're doing ^add_method with a method that doesn't have an explicit invocant, instead you're using 'self'
ZzZombo: i suspect that might bind wrongly, which is why you get the error you do 11:55
ZzZombo: hence i suggest using an explicit invocant instead of 'self'
11:56 lukaramu joined
psch ZzZombo: it might be that doesn't help, too, it's just the only thing that immediately comes to mind 11:56
11:56 cibs left
ZzZombo didn't help indeed. 11:57
dalek c: b9a6dc8 | gfldex++ | doc/Language/containers.pod6:
fill in links I forgot
synopsebot6 Link: doc.perl6.org/language/containers
11:58 cibs joined 12:00 CIAvash left, CIAvash joined, CIAvash left
DrForr [Coke] Re: syntax highighting - Pretty damn close actually. I'm redoing the strings so I can properly address here-docs, there's an errant semicolon in array accesses that I need to address, and a few other minor corner cases. 12:00
12:00 CIAvash joined 12:01 CIAvash left 12:02 TEttinger left
dalek c: 3ffdc37 | gfldex++ | doc/Type/Variable.pod6:
doc trait of
synopsebot6 Link: doc.perl6.org/type/Variable
dalek c: 19169cc | gfldex++ | doc/Language/ (2 files):
link to trait of
12:08 roman_ left
dalek c: 78c92fc | seatek++ | doc/Language/traps.pod6:
behaviour of once in classes
synopsebot6 Link: doc.perl6.org/language/traps
12:14 travis-ci joined
travis-ci Doc build errored. Wenzel P. P. Peppmeyer 'link to trait of' 12:14
travis-ci.org/perl6/doc/builds/180375810 github.com/perl6/doc/compare/3ffdc...169cc29699
12:14 travis-ci left 12:15 telex left, pmurias joined 12:16 telex joined 12:17 rurban left 12:18 rindolf left, canopus left 12:19 travis-ci joined
travis-ci Doc build errored. seatek 'behaviour of once in classes' 12:19
travis-ci.org/perl6/doc/builds/180376735 github.com/perl6/doc/compare/19169...c92fc76197
12:19 travis-ci left
seatek travis... he only comes by to complain 12:20
gfldex i found many complains of travis to be very helpful
not his fault that the ssl module for a heisentest
s/for/comes with/ 12:21
seatek oh it's still the ssl stuff. gotcha :)
12:24 itaipu joined
seatek he's still having trouble loading dependencies in another module... i have no idea what to do about it either 12:24
12:24 eythian left 12:26 canopus joined
seatek does travis (zef) recursively get dependencies or must you list the dependencies of your dependencies in your .json file? 12:29
12:34 kurahaupo_ joined 12:37 kurahaupo__ left
tadzik no, module installers handle them recursively 12:39
you only have to list the toplevel ones
seatek well one of my "upstreams" must be screwy then, but his tests passed... trying it again listing some of his dependencies too 12:40
12:40 kurahaupo_ left, kurahaupo joined 12:41 eythian joined
seatek yeah this time failed on HTTP::Server::Tiny 12:44
babydrop Oh... It's Dec 1st! Advent!!! weeeeeee 12:49