»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:00 mcmillhj left 00:01 BenGoldberg joined 00:07 dct left
Geth doc: 50d18c2da2 | (Jeremy Studer)++ | 9 files
Modified examples with hashes to use %() hash literal syntax

Modified section in syntax file to replace instances of the { } operator with the preferred hash literal constructor %(). Documentation of the { } is still in doc/Type/Hash.pod6.
Modified existing examples to use the %() hash literal as mentioned in Issue #1380.
00:08
00:11 darkmorph left
comborico1611 Pong 00:15
00:16 troys is now known as troys_ 00:36 steeznson joined
steeznson could anyone tell me what I would write to get a regex that matches any combination of upper/lowercase letters, numbers and whitespace? so far I have <[^a..zA..Z0..9_]> but i think i'm missing something 00:37
MasterDuke steeznson: just ASCII? or unicode letters and numbers also? 00:39
steeznson just ascii at the moment
MasterDuke docs.perl6.org/language/regexes#Ba...er_classes has some documentation on predefined classes, it's probably best to use some combination of those 00:40
steeznson thanks, i have been reading the docs but they explain a lot very quickly 00:41
i'll give them another go 00:42
jstuder You can also use Unicode properties as well
docs.perl6.org/language/regexes#Un...properties
MasterDuke why do you have the '^' in your character class?
looks like you're missing space, tab, and newline, depending on your definition of whitespace of course 00:43
steeznson the '^' was just a force of habit from writing regexes in html. thanks I'll try adding in '\s' for whitespace. 00:45
TEttinger there are unicode categories for letters and numbers, but the unicode category for whitespace is really lacking; \s works much better so you're good there
00:46 ryn1x joined
steeznson 'a..z' matches any combination of lowercase letter, right? 00:46
TEttinger in some English text
steeznson ok just making sure i wasn't totally off the mark 00:47
TEttinger English, Indonesian, Malay, and a rather small amount of other languages
Hawaiian it won't match ' , which is a letter there
in English it also won't get "He's a good dog." 00:48
jstuder <[L]> matches both uppercase and lowercase I believe, if you want to go the Unicode properties route.
00:49 sena_kun left
steeznson i'm consistently amazed by the language support in p6. i think it's safe to say it's been future proofed for non-latin origin characters. 00:50
ah i'll give <[L]> a bash then
00:50 ryn1x left
jstuder yeah it's pretty impressive stuff 00:52
perl6: my $rx = rx{<[L] + [N] + [\s\t\n] + [_]>}; say so "\n\t Hello 123 \n";
camelia Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10.
True
steeznson i've read that perl directly accesses unicode characters instead of iterating through a library of them but I'm not sure if I understand how unicode can be baked into the language, 00:53
jstuder: thanks that looks useful
comborico1611 Anyone having a Friday night perl6 pizza party? 00:54
jstuder not a bad idea ;) 00:55
steeznson comborico1611: having a solitary Friday night perl6 programming party. i maybe slightly foolhardily decided to do a project on perl for uni. 00:56
comborico1611 I wish there was a perl live stream where i could tune-in as i study on weekend nights. 00:57
Reading a perl book, here.
MasterDuke steeznson: samcv would know better, but i believe several large tables are created when building MoarVM and it gets baked in that way (i.e., the build process generates C code that gets compiled into MoarVM)
steeznson MasterDuke: sounds interesting, i'll have to ask him next time i'm lurking on this channel 00:59
00:59 ryn1x joined
MasterDuke steeznson: fyi, samcv is a her 01:00
steeznson ah sorry, sam is a gender neutral name so i gambled and lost
MasterDuke if you're really want to get into the details, she gave two presentations at (i think) the Amsterdam Perl conference that are on youtube 01:01
01:02 raiph joined
steeznson sure i've got time to check them out. which conference day is it? 01:03
MasterDuke about unicode and how perl 6 implements things
couldn't say, i wasn't there
samcv hey steeznson i'm here
steeznson nvm found it. it's 'Unicode Internals of Perl 6' 01:04
01:04 ryn1x left
samcv slides are here if you want as well cry.nu/YAPC-EU-2017/ 01:04
01:04 asdf23456 left 01:05 cdg joined, cdg left
steeznson hi sam, thanks for the slides! i'll let you know if i've got any burning questions after checking out your talk 01:06
comborico1611 I was going to have a campfire today. But the time just wasn't right. 01:07
samcv steeznson: cool thanks
comborico1611 Actually, now that I remember earlier better, I was attempting to start the fire. I was starting the fire from just a spark. And the Tinder bundle must have been still moist from a previous rain. 01:08
01:08 cdg_ left
comborico1611 Is there any reason to use a "for" instead of "given", in a switch statement? 01:10
01:11 mr-foobar left
geekosaur it'd just be compressing for and given together for a switch in a loop: for @foo { when ... } instead of for @foo -> $tmp { given $tmp { ... }} 01:12
remember, all given does is bind $_ to something
comborico1611 I see. Thank you. 01:13
geekosaur if yoiu have something else that can bind $_ for you, you can skip the given
comborico1611 I see.
jstuder perl6: my $rx = rx{<:L + :N + [\s\t\n]>+}; "\n Hello 123 \t \n" ~~ $rx 01:14
camelia ( no output )
Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10.
jstuder perl6: my $rx = rx{<:L + :N + [\s\t\n]>+}; say "\n Hello 123 \t \n" ~~ $rx
camelia
Hello 123
Error while reading '/home/camelia/p6eval-token': No such file or directory at /home/camelia/rakudo-j-inst/bin/eval-client.pl line 10.
jstuder steeznson: the regex code I used earlier was totally incorrect; You'd want something more like above. Sorry for the mistake. 01:15
steeznson jstuder: thanks, i've been playing with it in the interactive shell and wondering what was going on
jstuder steeznson: yeah I goofed. but the example above should work okay 01:16
steeznson it's working now on my end
01:17 rgrau left
MasterDuke comborico1611: for vs given could also completely change the behavior 01:18
m: sub f($a) { if $a < 0 { <a b c> } else { "hi" } }; given f(-1) { when Iterable { say "iterable" }; when Str { say "str" } }
camelia iterable
MasterDuke m: sub f($a) { if $a < 0 { <a b c> } else { "hi" } }; given f(1) { when Iterable { say "iterable" }; when Str { say "str" } }
camelia str
MasterDuke m: sub f($a) { if $a < 0 { <a b c> } else { "hi" } }; for f(-1) { when Iterable { say "iterable" }; when Str { say "str" } }
camelia str
str
str
MasterDuke m: sub f($a) { if $a < 0 { <a b c> } else { "hi" } }; for f(1) { when Iterable { say "iterable" }; when Str { say "str" } }
camelia str
01:20 parv joined, aborazmeh joined, aborazmeh left, aborazmeh joined 01:21 aindilis left
comborico1611 Ahh, right. The matching process stopping on the first condition, versus "for" continues to end of list. Right? 01:21
So give 01:22
geekosaur for iterates an iterable, given doesn't, so if you given an iterable then you are matching against that
comborico1611 Hmm. 01:24
steeznson samcv: that presentation was interesting. i think i've got a better grasp of what's going on now. unfortunately it's 01:30 here in the UK so i'm a little too tired to ask an intelligent follow up question!
samcv also there are some documentation in moarvm
github.com/MoarVM/MoarVM/blob/mast...s.asciidoc
i'd read this that i wrote as well
steeznson sure i'll check it out 01:25
01:26 espadrine joined
steeznson thanks for all the advice and resources everyone! going to head to bed 01:31
01:31 steeznson left
comborico1611 Will named parameters always be accompanied with the colon in a subroutine definition? 01:33
In the*
samcv comborico1611: i believe so
or you could do sub foo (:var($var)) but idk why you'd do that 01:34
comborico1611 Heh. I'm not even sure what your doing. 01:35
You're*
samcv or you could do :var($variable) so supplynig the var option gets set to $variable
if you want the option name and the resulting variable to be different. but they always have : 01:36
and by default named arguments are optional
comborico1611 I thank you for your response. I will continue now with the book.
01:40 perigrin left
HoboWithAShotgun watches a React tutorial. 01:41
01:41 perigrin joined
HoboWithAShotgun really clever idea with the virtual dom 01:42
comborico1611 Remember when Half-Life 2 came out? 01:43
MasterDuke great game 01:44
01:46 ryn1x joined, kalkin-- joined
comborico1611 The game couldn't live-up to the house 01:47
Hype*
01:48 MasterDuke left 01:49 aindilis joined, MasterDuke joined
HoboWithAShotgun whoa, hold right there cowboy 01:49
perigrin that's because Black Mesa is no Aperature Science
HoboWithAShotgun make holocaust jokes all you want, but there are lines
01:50 kalkin--- left
comborico1611 Haha. You're funny. 01:50
HoboWithAShotgun i'm not funny. i'm different.
01:51 jstuder left
comborico1611 Halo vs half life 2... Single player. Hmm. 01:51
Yeah, half life 2. So it's the best single player game I've played. But the hype was ridiculous. Especially when you were like 17 years old, like i was. 01:52
01:55 ryn1x left
comborico1611 Half-Life 2 got the vehicles wrong, too. Too clunky. Now driving the warthog was an art. 01:56
01:57 mempko joined 01:59 dugword joined
comborico1611 m: sub my-sum( $first-num, *@rest) { say @rest; return $first-num + [+] @rest; }; say my-sum 1, 3, 4, 5, 12, 17; 02:01
camelia [3 4 5 12 17]
42
comborico1611 What is the [+] doing? 02:02
ugexe reduace { $^a + $^b } @rest 02:03
reduce
02:04 MasterDuke_ joined
ugexe m: my @rest = 1..5; say [+] @rest; say reduce { $^a + $^b }, @rest 02:05
camelia 15
15
ugexe m: my @rest = 1..5; say [*] @rest; say reduce { $^a * $^b }, @rest
camelia 120
120
comborico1611 Hmm. Is this the same reduce? docs.perl6.org/routine/reduce 02:06
02:07 MasterDuke left
ugexe what does your gut tell you? 02:08
comborico1611 Yes. 02:09
02:10 asdf23456 joined
comborico1611 Found it. Reduction operators. 02:12
02:12 kaare_ joined 02:14 kaare__ left 02:19 ryn1x joined
comborico1611 Goodnight, all! Thanks for the help! 02:23
02:23 comborico1611 left 02:24 ryn1x left 02:35 mson left 02:37 itaylor57 joined 02:46 ZzZombo left 02:47 ilbot3 left, ZzZombo joined 02:48 cdg joined 02:51 ryn1x joined 02:53 cdg left 02:56 ilbot3 joined, ChanServ sets mode: +v ilbot3, ryn1x left, ryn1x joined 03:01 ryn1x left 03:06 asdf23456 left, Cabanossi left, dogbert17 left 03:07 wamba joined 03:08 Cabanossi joined
SmokeMachine does anyone know any thing that could make `prove -r -e "perl6 -Ilib" t` works but `zef test .` don't? 03:08
ugexe try prove -r -e "perl6 -I." t 03:09
SmokeMachine couldn't find my modules... 03:10
ugexe it is not setup as a proper package via META6.json sounds like
SmokeMachine www.irccloud.com/pastebin/6zreVjWR/
03:11 ryn1x joined 03:12 cdg joined
ugexe you aren't declaring anything in your provides 03:14
03:15 ryn1x left
SmokeMachine yes, Im not... 03:17
03:17 noganex_ joined
SmokeMachine now I did... `prove -r -e "perl6 -I." t` now works... but `zef test .` don't... 03:18
03:18 ryn1x joined 03:20 noganex left
SmokeMachine www.irccloud.com/pastebin/XEYY00I2/ 03:22
ZzZombo m: my @a=<asd bsd>;say await @a.map({start {.tc.say;.uc}}) 03:24
camelia Asd
Bsd
(ASD BSD)
ZzZombo Why would acode similar to this sometimes execute code for one element twice, while not running for the other at all?
03:25 ryn1x left
SmokeMachine ugexe: it says that all 17 and 32 tests passed but on Test Summary it says that no test ran... 03:25
03:26 parv left
ugexe SmokeMachine: try again with each of these combo of flags `--/tap-harness --/perl6-test`, `--/tap-harness --/prove`, `--/prove --/perl6-test` 03:27
03:27 ufobat_ joined
ugexe seems like its that tap harness6 on not blead rakudo bug 03:27
SmokeMachine www.irccloud.com/pastebin/pGZN4YSG/ 03:28
ugexe what is your rakudo version?
SmokeMachine www.irccloud.com/pastebin/N2FxSI6T/ 03:29
www.irccloud.com/pastebin/jW4PxTp1/
ugexe if you update one or both of rakudo and TAP::Harness, I think it will fix your issue
SmokeMachine www.irccloud.com/pastebin/NnsWlsYb/ 03:30
MasterDuke_ m: my @a=<asd bsd>; my @b; await Promise.allof(@b = @a.map({start {.tc.say;.uc}})); say @b>>.result
camelia Asd
Bsd
[ASD BSD]
MasterDuke_ ZzZombo: does ^^^ work better for you?
03:30 ufobat left
ZzZombo No 03:37
03:42 mempko left 03:46 cdg left
ZzZombo shit, why it no work? It's just... impossible? 03:59
04:03 ryn1x joined 04:05 Cabanossi left 04:06 Cabanossi joined
ZzZombo m: my @a=<asd bsd>;say await @a.race.map({start {.tc.say;.uc}}) 04:06
camelia Asd
Bsd
(ASD BSD)
ZzZombo even adding this doesn't fix it. 04:07
04:08 ryn1x left
ZzZombo Even tho it seems like it greatly reduces the chance of such occurrence, but it's still possible. 04:08
Maybe just a lucky string of events.
04:10 wamba left 04:12 TreyHarris joined 04:14 ryn1x joined, labster joined
labster raheze 04:14
^ misfire
04:21 ryn1x left 04:29 Cabanossi left 04:31 Cabanossi joined 04:32 troys_ is now known as troys 04:35 ryn1x joined 04:40 ryn1x left
ZzZombo Hm, my code is similar to a piece from perl6advent.wordpress.com/2013/12/...channels/: 04:54
my @quotes = await @currency_exchanges.map(-> $ex { start { $ex.get_quote($val) } });
So I guess it signals a bug?
04:55 wamba joined 04:58 ryn1x joined 05:01 raiph left 05:02 dugword left 05:03 ryn1x left
ugexe sounds like $ex isn't thread safe 05:03
ZzZombo ugexe: so what can I do? All examples I've seen are similar to that code. IDK how to rewrite it. 05:05
ugexe where is code for method get_quote ? 05:07
ZzZombo Loot at the link, it's from there.
Not mine.
ugexe it doesnt work
ok so that isn't even an example of the code causing the problem 05:09
e.g. you are not running any code with a method get_quote 05:10
this is not enough information to make any suggestion 05:11
ZzZombo gist.github.com/ZzZombo/e78cad5672...0b33ad6bb5 05:12
ugexe do you know if those files cannot be written to by another thread somewhere else? 05:13
ZzZombo nothing else is accesses them. 05:14
-is
ugexe still not enough information. need entire code path of code inside start { } 05:15
05:15 Cabanossi left
ZzZombo well, you are out of luck, it involves a grammar that parses files. Then, why do you even think its files to blame? My debug output (the line with "Parsing...") clearly shows it parses same file twice. 05:16
05:18 napo1eon joined, Cabanossi joined
ugexe clearly hash access is not thread safe and yet you are doing it 05:19
so even if it is not what is wrong in this specific case that is why I am questioning your code anyway 05:20
05:22 Ben_Goldberg joined, BenGoldberg left, Ben_Goldberg is now known as BenGoldberg, aborazmeh left 05:27 ryn1x joined
ugexe @sources.race.map({ start { # i'm not sure what this is trying to do 05:27
05:29 dugword joined 05:31 ryn1x left 05:39 mcmillhj joined 05:43 cdg joined 05:44 mcmillhj left 05:46 ryn1x joined 05:50 ryn1x left 05:55 khw left 05:57 grondilu left 06:00 mempko joined 06:01 sftp left, cpage_ left 06:02 sftp joined 06:16 ryn1x joined 06:17 wamba left 06:21 ryn1x left 06:22 ryn1x joined 06:27 BenGoldberg left, troys is now known as troys_ 06:29 AlexDaniel left 06:30 ryn1x left, Cabanossi left 06:31 philomath joined 06:33 Cabanossi joined 06:39 ryu0 joined
ryu0 i noticed perl6 seems to be able to identify undefined references at compile time instead of run time. does it always do this? i thought dynamic typed languages usually deferred resolving references until then. 06:39
06:47 cpage_ joined 06:51 dugword left 06:53 troys_ is now known as troys 06:54 ryn1x joined 06:56 philomath left 06:59 darutoko joined, ryn1x left 07:00 Cabanossi left 07:03 Cabanossi joined 07:12 aborazmeh joined, aborazmeh left, aborazmeh joined 07:17 ryn1x joined 07:18 wamba joined 07:23 ryn1x left 07:29 aindilis left 07:30 aindilis joined 07:32 parv joined 07:37 Cabanossi left, wamba left 07:38 Cabanossi joined 07:39 mcmillhj joined 07:44 mcmillhj left 07:59 mcmillhj joined, mempko left 08:03 mcmillhj left 08:04 ryn1x joined 08:14 ryn1x left 08:16 mcmillhj joined 08:18 wamba joined 08:22 mcmillhj left 08:23 wamba left 08:24 troys left 08:31 rindolf joined 08:32 philomath joined 08:35 domidumont joined 08:36 ryn1x joined 08:41 ryn1x left 08:42 domidumont left 08:43 domidumont joined 08:56 parv left 09:07 Cabanossi left 09:08 Cabanossi joined 09:12 setty1 joined 09:15 ryn1x joined 09:16 TEttinger left 09:19 ryn1x left
moritz ryu0: Perl 6 resolves lexical symbols at compile time 09:47
ryu0: but for example dynamic variables and package-scoped symbols are resolved at run time 09:48
09:48 mcmillhj joined 09:52 mcmillhj left 10:02 sena_kun joined, philomath left 10:04 nadim joined 10:15 philomath joined 10:21 Cabanossi left 10:23 ShalokShalom joined, ryn1x joined, Cabanossi joined 10:26 ShalokShalom_ left 10:28 ryn1x left 10:29 Alikzus_ left 10:30 mr-foobar joined
wander if i want to modify a class.pm6 file, which methods/subs should stay the same? 10:32
that is because I find in a `unit class ...` file, many methods/subs not have trait `is export` 10:33
can i assume use outside will never use them? for subs i think yes, but how about methods 10:34
10:36 geospeck joined 10:37 dugword joined
ZzZombo What is the canonical way of checking a set doesn't contain ANY of provided elements? All? 10:40
10:42 dugword left 10:43 yqt joined
wander m: my @a = [1,2,3,4,5]; my Set $b = Set([6,7,8,9,0]); say so any(@a.map(* (elem) $b)) 10:49
camelia False
wander not quite elegant
moritz any($a) (elem) $b I'd guess 10:51
wander any(@a) == any($b)
moritz none($a) (elem) $b even
wander m: my @a = [1,2,3,4,5]; my Set $b = Set([6,7,8,9,0]); say any(@a) == any($b)
camelia any(any(False), any(False), any(False), any(False), any(True))
moritz m: m: my @a = [1,2,3,4,5]; my Set $b = Set([6,7,8,9,0]); say so none(@a) (elem) $b 10:52
camelia True
moritz m: m: my @a = [1,2,3,4,5, 6]; my Set $b = Set([6,7,8,9,0]); say so none(@a) (elem) $b
camelia False
wander m: my @a = [1,2,3,4,5]; my Set $b = Set([6,7,8,9,0]); say so any(@a) == any($b)
camelia True
10:53 Cabanossi left
wander m: my @a = [6,1,2,3,4,5]; my Set $b = Set([6,7,8,9,0]); say so any(@a) == any($b) 10:53
camelia True
wander :-(
why i use `==` :(
10:54 Cabanossi joined
moritz I don't know 10:54
10:58 Actualeyes joined 11:01 ryn1x joined 11:07 ryn1x left 11:11 ccntrq left 11:13 ccntrq joined 11:21 Cabanossi left 11:24 Cabanossi joined 11:31 espadrine left 11:39 andrzejku left 11:40 ChoHag left 11:41 ryn1x joined 11:42 ufobat_ is now known as ufobat 11:43 nadim left 11:45 ryn1x left, cdg left 11:47 ChoHag joined 11:48 leont left 11:49 geospeck left 11:50 geospeck joined, geospeck left 11:51 Cabanossi left, Alikzus joined 11:54 Cabanossi joined 11:56 espadrine joined 12:06 espadrine left 12:14 nadim joined 12:17 ryn1x joined
Geth perl6-examples: 0ab4772a19 | (Shlomi Fish)++ | categories/euler/prob042-shlomif.p6
Add my solution to Euler#42.
12:17
12:22 eliasr joined, ryn1x left 12:23 philomath left, Cabanossi left 12:24 Cabanossi joined 12:33 leont joined 12:37 nadim left 12:39 aborazmeh left 12:46 cdg joined 12:55 ryn1x joined, comborico1611 joined 12:57 sjn joined 12:59 ryn1x left 13:02 comborico1611 left
ZzZombo Can this be rewritten in a better way? 13:05
m: say {$_ ?? .succ !! '01' given $^a}(100.rand.truncate)
camelia 19
13:05 leont left
ZzZombo `(100.rand.truncate)` replaces a complex expression I do not want to repeat. 13:05
lizmat m: say {$_ ?? .succ !! '01'}(100.rand.truncate) 13:06
camelia 60
ZzZombo I wanna get rid of the block if possible. 13:07
lizmat not sure why you did the $^a, the default sig for a block uses $_
13:07 mr-fooba_ joined
jnthn m: say ($_ ?? .succ !! '01' given 100.rand.truncate) 13:08
camelia 82
13:09 mr-foobar left
ZzZombo m: say uc($_ ?? .succ !! '01' given 100.rand.truncate) 13:09
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3say uc($_ ?? .succ !! '01' given 7⏏05100.rand.truncate)
ZzZombo ^
jnthn m: say uc(($_ ?? .succ !! '01' given 100.rand.truncate))
camelia 55
jnthn Need extra parens to force parsing a statement, not an expression 13:10
wander say uc ($_ ?? .succ !! '01' given 100.rand.truncate) 13:11
evalable6 76
wander in p6, sometimes parens or whitespace important 13:12
m: my @a = [1,2,3]; @a>>.say
camelia 1
2
3
wander m: my @a = [1,2,3]; @a >>.say
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing << or >>
at <tmp>:1
------> 3my @a = [1,2,3]; @a >>.7⏏5say
13:13 wamba joined 13:15 ryn1x joined 13:21 Guest21976 is now known as masak
ZzZombo docs.perl6.org/routine/ACCEPTS#class_List 13:26
"(this behaviour powers m:g// smartmatch), or False otherwise. C <-- ???"
13:26 ryn1x left
wander an `=item1 C` there 13:30
like a typo
moritz: how can we call these stuff? `my regex r { \w }`, `my $c = regex { \d }`, `my token y=tok { \s }` and etc. 13:33
subrules or named regex, something better?
13:36 Cabanossi left 13:37 dugword joined 13:39 Cabanossi joined 13:41 dugword left 13:44 mr-fooba_ left 13:52 fhrr joined
fhrr hello, guys, what is *the* book to learn perl6? 13:53
i'm relatively new to programming if that matters
MasterDuke_ fhrr: perl6book.com/ might help figure out which you want 13:54
fhrr what does it mean to "know other programming languages"? i've read some code here, but never written anything even remotely complex 13:55
here and there*
13:57 fhrr left
MasterDuke_ fhrr: i suspect "know other programming languages" means a little more than that. but i believe a couple of them have at least a couple chapters available for free, you could check those out first 13:58
14:00 AlexDaniel joined 14:02 pilne left 14:03 pilne joined 14:04 robertle joined, domidumont left 14:07 mr-foobar joined, comborico1611 joined 14:10 ryn1x joined 14:14 mr-foobar left 14:15 ryn1x left 14:17 mr-foobar joined 14:21 Cabanossi left 14:23 Cabanossi joined 14:30 darkmorph joined
wander fhrr: Perl 6 Deep Dive might be quite friendly 14:31
comborico1611 Friendly to beginners? 14:32
wander yes
comborico1611 Good to know.
wander it covers many parts, arouses your interest in exploring them
comborico1611 I'm set on Moritz's book Fundamental, but that might be the next one. 14:33
wander :P
comborico1611 Does it have full programs that the reader goes though?
moritz fhrr eq comborico1611?
comborico1611 Nope. I'm a different person. 14:34
moritz ok
comborico1611 I EXIST!
moritz Fundamentals has complete programs; from a quick skim, Deep Dive doesn't seem to
comborico1611 I love me some complete programs. 14:35
That's why i bought two Deitel books yesterday.
moritz remembers an ad campaign by Murcia, a region in spain. It was mostly "Murcia existe"
comborico1611 Murcia is southern, right? (I had a college class on history of Spain) 14:36
moritz south east, yes 14:37
comborico1611 Moors took it over there longest?
Have you ever read any Deitel books? 14:38
I contacted Laurent Rosenfeld yesterday by email.
He was very polite. 14:39
moritz never even heard of Deitel 14:40
14:43 darkmorph left
araraloren :) 14:43
14:51 comborico1611 left 14:53 dogbert17 joined 14:55 Alikzus left, Alikzus joined 14:56 nadim joined 15:07 Cabanossi left 15:08 khw joined, Cabanossi joined 15:26 wamba left 15:30 nadim left 15:32 leont joined 15:37 geospeck joined 15:44 mr-fooba_ joined 15:45 mr-foobar left 15:50 ryn1x joined 15:51 Cabanossi left 15:53 Cabanossi joined 15:55 ryn1x left, domidumont joined 16:01 nadim joined 16:11 leont left 16:16 cdg left, cdg joined 16:22 geospeck left, geospeck joined 16:23 cdg left, cdg joined 16:26 ryn1x joined 16:31 ryn1x left 16:33 darkmorph joined 16:34 kaare_ left 16:35 cdg left 16:39 geospeck left 16:40 napo1eon left 16:41 mj41 joined 16:44 geospeck joined 16:45 mr-fooba_ left 16:47 mr-foobar joined 16:48 zakharyas joined, kaare_ joined 16:50 wamba joined
geospeck the links under this section docs.perl6.org/type/IO::Path#File_..._operators give 404 16:55
"File tests include :e Exists :d Directory :f File :l Symbolic link :r Readable :w Writable :x Executable :s Size :z Zero size"
Sorry for writing directly here, I've opened an issue on Github. 17:03
17:11 ryn1x joined
timotimo github.com/perl6/doc/blob/master/d....pod6#L562 - looks like the list was supposed to be more like a bulleted list anyway 17:13
17:15 leont joined, releasable6 left, releasable6 joined 17:20 ryn1x left
HoboWithAShotgun I'm temporarily stuck on a win64 machine. I installed rakudo via brew and installer. in both cases zef dies with the same error 17:25
Geth doc: 35132975a4 | (Alex Chen)++ (committed using GitHub Web editor) | doc/Type/IO/Path.pod6
Fix #1670
17:26
synopsebot Link: doc.perl6.org/type/IO/Path
HoboWithAShotgun No such method 'subst' for invocant of type 'Any' in ... 8E608EE960F95FEE2C36E6AFF89046ACA3634254 (Zef::Distribution) line 125
It used to work though 17:27
sena_kun HoboWithAShotgun, seems like a new ticket in zef repo with a stacktrace and maybe pointing to a particular place in the sources. 17:33
17:34 Aaronepower joined 17:36 ryn1x joined 17:40 ryn1x left 17:43 ryn1x joined
HoboWithAShotgun with a shotgun can travel into the future 17:46
imgur.com/a/pEKoE
17:47 ryn1x left
AlexDaniel huh! :) 17:48
17:49 zakharyas left 17:51 mson joined 17:52 Cabanossi left 17:53 Cabanossi joined
ugexe unfortunately that ticket tells me as much as me telling you it does install things just because ci.appveyor.com/project/ugexe/zef/branch/master 17:54
HoboWithAShotgun sorry? 17:55
ugexe are you asking? 17:56
wander HoboWithAShotgun: the issue on doc is fixed
However, doc site built on an unstable, incomplete Pod::To::HTML and disposable htmlify logic. some anxiety
HoboWithAShotgun i don*t quite understand what u mean ugexe. is my ticket incomplete? 17:57
17:58 ryu0 left
wander I spent several hours to forget the dark side XD 17:58
ugexe not from your perspective. however i'm not able to figure out the problem with what information I have (nor am I sure what to look for in this case)
HoboWithAShotgun would you like me o investigate? 17:59
*to
ugexe ah no. i just tried on a rakudo newer than 4 days (that travis build) and i got the error on windows vm 18:00
that appveyor build^
i'll restart that appveyor job and see if it still passes
18:03 fatguy joined 18:04 HoboWithAShotgun left
fatguy can we store the database handle in class attribute ? what type ? i want to reuse my db handle, what is the best practice ? 18:04
18:04 HoboWithAShotgun joined 18:09 ryn1x joined 18:13 ryn1x left 18:14 ryn1x joined
ugexe HoboWithAShotgun: `zef nuke RootDir` will get you going for now. the problem seems to be with the powershell-client http downloader messing up on its IfModifiedSince path 18:15
when it downloads the package list
18:16 nadim left
timotimo fatguy: you don't have to type the attribute, just have it like "has $.dbhandle;" 18:17
ugexe this is why it passes on appveyor - because it always starts fresh so it never takes the IfModifiedSince path
18:19 ryn1x left 18:20 BenGoldberg joined
ugexe this is the 2 code paths fwiw github.com/ugexe/zef/blob/82bde92a...ttp.ps1#L7 18:21
HoboWithAShotgun yup, that did the trick 18:26
tyvm
what does it need SVG::Plot::Pie for? 18:27
ugexe zef does not need any external modules 18:29
HoboWithAShotgun wrong channel, that that last line 18:30
sry
is there a software that can switch focus of screens/windows depending on what you look at? 18:32
(plus a camera of course)
18:34 geospeck left
ugexe probably. there is a company Tobii that does that type of work, although im not sure what the quality is 18:34
18:35 dugword joined, ryn1x joined, cdg joined 18:40 cdg left, Actualeyes left
timotimo they're not offering the necessary bits for linux to make it easy 18:41
i think you only get a very low-level api for the camera itself or something
18:41 fatguy left 18:45 mr-foobar left 18:48 mr-foobar joined
ugexe fwiw i got to the point i couldnt use my right hand years ago and a few months with a vertical mouse cleared it up 18:50
18:50 ryn1x left 18:51 darutoko left, Possum joined
AlexDaniel ugexe: yes!! 18:51
that's one of the things I did at the time too 18:52
timotimo i got myself a trackball
ugexe the important bit in my case was finger movement with a horizontal wrist 18:53
18:54 geospeck joined
timotimo the trackball also allows my hand to be mostly vertical 18:54
AlexDaniel ugexe: how long did it take to heal completely?
ugexe not too long... like 3 months 18:56
AlexDaniel yeah. Similarly here
but I felt the improvement almost immediately
(well, mouse was only one of the things I've changed) 18:57
ugexe i already had the rest of the typical ergonomics... mouse was the last thing because there isn't really a high quality vertical mouse (although there are expensive ones) 19:00
i use the evolutent, which isn't cheap, but feels like it is 19:01
AlexDaniel the cheapest vertical mouse on ebay felt like heaven for me. I don't have high demands :) 19:02
19:03 mj41 left
AlexDaniel ugexe: “rest of the typical ergonomics” – does it include a keyboard? Which one? 19:04
19:07 ryn1x joined
ugexe freestyle 2 keyboard, uplift sit/stand desk, human solution adjustable keyboard tray, humanscale m8 hydrolic adjustable multi monitor arm, and an old fashioned aeron 19:07
AlexDaniel … wow 19:08
19:08 philomath joined
AlexDaniel congratz, you've built an anti-RSI sanatorium :) 19:09
19:11 MasterDuke_ is now known as MasterDuke 19:14 ryn1x left
ugexe a little overkill at the time, but I needed some last minute business expenses to cross some threshold or some such 19:15
19:20 philomath left 19:22 philomath joined 19:34 geospeck left 19:38 ryn1x joined 19:43 ryn1x left 19:45 TEttinger joined, llfourn left, philomath left, mr-foobar left 19:46 mr-foobar joined, ryn1x joined 19:49 troys joined 19:51 ryn1x left 19:52 domidumont left 20:08 wamba left 20:10 eliasr left 20:24 ryn1x joined 20:29 ryn1x left 20:45 troys is now known as troys_ 20:46 mr-fooba_ joined, comborico1611 joined 20:47 mr-foobar left 20:51 Cabanossi left 20:54 Cabanossi joined 21:01 colomon left 21:04 colomon joined 21:10 colomon left 21:13 comborico1611 left 21:14 ryn1x joined 21:16 comborico1611 joined 21:19 ryn1x left 21:21 comborico1611 left, colomon joined 21:28 isBEKaml joined 21:31 colomon left 21:36 colomon joined, robertle left 21:44 imcsk8_ joined 21:46 nadim joined 21:48 imcsk8 left 21:51 isBEKaml left 21:54 pecastro left
wander do rakudo's features vary from backends=jvm to backends=moarvm? 21:54
something i can do with backends=moarvm while cannot do it with backends=jvm
El_Che wander: moarvm works, jvm is work in progress 21:56
geekosaur do you consider 'works' to be a feature >.>
wander . 21:57
El_Che there is also a JS backend in progress
wander however, we use the same "grammar/actions", do we? 21:58
difference exists in code gen(?)
22:05 colomon left 22:08 mcmillhj joined 22:11 colomon joined 22:12 ryn1x joined 22:14 brabo joined 22:16 brabo left
ugexe yes 22:16
occasionally you might have to tweak something if it upsets the jvm, but you ideally you should not have to
22:17 ryn1x left 22:28 ryn1x joined 22:33 dugword left, dugword joined 22:35 ryn1x left 22:37 dugword left 22:40 colomon left 22:41 setty1 left, colomon joined 22:43 colomon left 22:46 colomon joined 22:48 mcmillhj left 22:49 colomon left 22:50 cdg joined 22:51 mson left, mcmillhj joined 22:55 mcmillhj left 22:56 bisectable6 left, bisectable6 joined 23:01 zakharyas joined 23:15 ryn1x joined 23:20 ryn1x left 23:25 mcmillhj joined, Khisanth left 23:28 colomon joined 23:30 mcmillhj left 23:33 sena_kun left 23:37 yqt left 23:38 Khisanth joined 23:39 zakharyas left, mcmillhj joined 23:43 leont left, rindolf left 23:44 mcmillhj left 23:45 leont joined 23:55 mcmillhj joined 23:59 knight__ joined