»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
Zoffix perl6 -v prints the version 00:00
Zoffix pulls and builds newer rakudo
Success that's weird, perl6 -e 'say π' works just fine
v6.c v2018.06 00:01
Zoffix hm, lemme build 2018.06 and see
00:02 kurahaupo left, pecastro left 00:03 subdriven7 joined, kurahaupo joined, kurahaupo left, Guest93736 joined, kurahaupo joined 00:04 p6bannerbot sets mode: +v subdriven7
Zoffix might take a while.. network speed sucks for some reason :) 00:04
00:04 p6bannerbot sets mode: +v kurahaupo, p6bannerbot sets mode: +v Guest93736, p6bannerbot sets mode: +v kurahaupo
Success my network speed always sucks its nbd 00:04
00:04 kurahaupo left 00:05 adamm2 joined, kurahaupo joined, subdriven7 left 00:06 p6bannerbot sets mode: +v adamm2, p6bannerbot sets mode: +v kurahaupo 00:07 Guest93736 left, tronza_ joined 00:08 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh, p6bannerbot sets mode: +v tronza_, p6bannerbot sets mode: +v aborazmeh, adamm2 left 00:10 tronza_ left 00:11 charolastra joined, mcmillhj joined, p6bannerbot sets mode: +v charolastra 00:12 p6bannerbot sets mode: +v mcmillhj
vrurg m: sub foo( *@v where *.all ~~ Str ) { note "ok" }; foo( |<a b c> ) 00:12
camelia Constraint type check failed in binding to parameter '@v'; expected anonymous constraint to be met but got Array ($["a", "b", "c"])
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
vrurg m: sub foo( *@v where *.all ~~ Str ) { note "ok" }; foo( |<a b c> )
camelia Constraint type check failed in binding to parameter '@v'; expected anonymous constraint to be met but got Array ($["a", "b", "c"])
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
vrurg sub foo( *@v where {$_.all ~~ Str} ) { note "ok" }; foo( |<a b c> )
evalable6 ok
vrurg What is the difference between the two signatures? Why does it work with $_ but fails with Whatever? 00:13
00:14 charolastra left 00:15 kerframil joined, p6bannerbot sets mode: +v kerframil 00:16 mcmillhj left 00:17 nightf0x_20 joined 00:18 p6bannerbot sets mode: +v nightf0x_20 00:19 nightf0x_20 left
Zoffix vrurg: because whatever doesn't close over the `~~` 00:19
So the difference is the first one is like `{ *.all ~~ Str }` I think there's a ticket somewhere to detect and complain about that case 00:20
m: sub foo( *@v where .all ~~ Str ) { note "ok" }; foo( |<a b c> )
camelia ok
Zoffix There's also WhereList module
eco: WhereList
buggable Zoffix, WhereList 'Simpler `where` constraints for items of lists': modules.perl6.org/dist/WhereList:gi...fix%20Znet
Zoffix Ticket is R#2086 00:21
synopsebot R#2086 [open]: github.com/rakudo/rakudo/issues/2086 [LTA][RFC] Maybe warn when thunking `*.foo ~~ $bar` constructs?
vrurg Zoffix: Thanks!
I would agree with the ticket: a warning would be helpful here. .all is perfectly ok with me. Though sub foo( Str *@v ) { ... } would do even better! ;) 00:22
TimToady m: say *.all ~~ WhateverCode
camelia True
TimToady that also wants to work
and you can't have both
Zoffix But that's not a thunk, is it? 00:23
TimToady sure it is, but * isn't a parameter for it 00:24
well, depends on how you define thunk, I guess
I can see calling it not-a-thunk too
Zoffix I mean were's not creating a thunk whose body is `*.all ~~ WhateverCode` 00:25
TimToady right
00:25 kerframil left
TimToady there's no deferred execution from the ~~ 00:25
the deferred execution is due to the where, which does make it a thunk
00:25 noobst_ joined
TimToady just as && and || thunkify their right sides 00:26
Zoffix So we can add a warning to the thunk-making in `where` clauses to warn if we see we're trying to thunk a QAST for `*.foo ~~ bar`
00:26 p6bannerbot sets mode: +v noobst_
Zoffix m: 42 andthen *.all ~~ WhateverCode andthen .say 00:26
camelia True
Zoffix I guess not here tho,
oh wait, yeah here too 00:27
TimToady sometimes it's okay to warn about things that are almost certainly wrong but could conceivably be intended
when I do that, I'm always careful to mention a way to disable the warning 00:28
00:28 mcmillhj joined
TimToady but yeah, it's like the double closure warning 00:28
m: my $x = { *.abs == 42 } 00:29
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed double closure; WhateverCode is already a closure without curlies, so either remove the curlies or use valid parameter syntax instead of *
at <tmp>:1
------> 3my $x = { *.abs == 42 }7⏏…
Zoffix yeah
00:29 p6bannerbot sets mode: +v mcmillhj
TimToady so there's some prior art there 00:29
00:30 noobst_ left
Zoffix Success: I built 2018.06 on Win10 and it works fine for me. Garbage print on default prompt. Proper output after setting chcp 65001 mode. 00:30
TimToady in fact, I see that we make that one fatal
Zoffix Success: I actually seen that error recently when doing something with `.close` and the code did not have any concurrency in it, so perhaps there is some compiler bug lurking in there. You could file a bug report with details of your system/perl6 and how to reproduce the bug: github.com/rakudo/rakudo/issues/new 00:31
00:32 leont left 00:33 mcmillhj left 00:34 someplace16 joined
Zoffix Seen that bug here: github.com/rakudo/rakudo/issues/22...-420632312 so you could mention that comment in your ticket, if you gonna file 00:34
Zoffix &
00:34 Zoffix left, p6bannerbot sets mode: +v someplace16
vrurg While I'm digesting the info about thunking... What eventually breaks thunking in my example: .all or ~~? My guess is .all. 00:35
00:36 someplace16 left
vrurg m: sub foo( *@v where * ~~ Str ) { note "ok" }; foo( |<a b c> ) 00:37
camelia Constraint type check failed in binding to parameter '@v'; expected anonymous constraint to be met but got Array ($["a", "b", "c"])
in sub foo at <tmp> line 1
in block <unit> at <tmp> line 1
vrurg Ok, its clearly .all
TimToady * is not a thunk, so I don't know what you mean by "breaking" 00:38
00:39 dracosilv8 joined
TimToady also, Whatever is treated differently from WhateverCode 00:39
00:39 p6bannerbot sets mode: +v dracosilv8
TimToady m: say (* ~~ Str)("") 00:40
camelia True
TimToady m: say (*.self ~~ Str)("")
camelia No such method 'CALL-ME' for invocant of type 'Bool'
in block <unit> at <tmp> line 1
TimToady m: say (*.self ~~ WhateverCode)("") 00:41
camelia No such method 'CALL-ME' for invocant of type 'Bool'
in block <unit> at <tmp> line 1
TimToady m: say (*.self ~~ WhateverCode)
camelia True
TimToady m: say (* ~~ Whatever)
camelia { ... }
TimToady m: say (* ~~ Whatever)()
camelia Too few positionals passed; expected 1 argument but got 0
in block <unit> at <tmp> line 1
TimToady m: say (* ~~ Whatever)(*)
camelia True
00:42 dracosilv8 left
TimToady so * "works" directly on the left side of ~~, but not via WhateverCode 00:42
you only get one level as currently spec'ed 00:43
it's just one of those spots where a WAT is hidden behind several DWiMs 00:44
vrurg Another concept to fit into my brain... TimToady, thanks for explanation! Could you, please, point me at the spec? I definitely need to understand these things by knowelege, not intuition. 00:46
Or is it a precedence thing? 00:47
00:48 Bucciarati left, Bucciarati joined 00:49 p6bannerbot sets mode: +v Bucciarati 00:54 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix vrurg: it's a hardcoded list of things: github.com/rakudo/rakudo/blob/da64...9634-L9665 there's a yet-to-be-fixed docs Issues on the topic D#2017 00:54
synopsebot D#2017 [open]: github.com/perl6/doc/issues/2017 [docs] Docs on Whatever curry could be clearer / don't cover everything
00:56 mcmillhj joined 00:57 p6bannerbot sets mode: +v mcmillhj
Zoffix `*` is "Whatever" in those comments, and an already-closurised thing is a "WhateverCode". So, for example in `*.uc.lc` => `*` Whatever => the `.uc` is a `callmethod` op, and so we make a WhateverCode => we now get to `.lc`, since `callmethod` op is level `3` in that list, we continue closing over it and make `{.uc.lc}`-equivalent closure (without the new scope). But `&infix:<~~>` is level 1, so with `*.all ~~ 00:58
Blah` => `.all` is callmethod op, we curry it => we get to `~~` op with WhateverCode in hands, and since `~~` is level 1, we don't curry anymore. But with `* ~~ Blah` we have a Whatever, not WhateverCode, on LHS, so we do curry the level 1 `~~` op
01:01 Erreur32_ joined, mcmillhj left, hamhu3 left, leveldoc joined, p6bannerbot sets mode: +v Erreur32_ 01:02 p6bannerbot sets mode: +v leveldoc 01:03 p30n9 joined, hamhu3 joined 01:04 p6bannerbot sets mode: +v p30n9, p6bannerbot sets mode: +v hamhu3 01:05 p30n9 left, josuah15 joined, Erreur32_ left 01:06 p6bannerbot sets mode: +v josuah15, leveldoc left 01:07 Success left 01:09 josuah15 left 01:10 graphene left
vrurg Zoffix: pretty much clear. After 3rd time re-reading it. ;) Will need to play a bit with actual code to see it in action. 01:10
01:11 molaf left 01:12 Kralle16 joined, graphene joined, p6bannerbot sets mode: +v Kralle16 01:13 p6bannerbot sets mode: +v graphene 01:15 oCorvo joined, p6bannerbot sets mode: +v oCorvo 01:17 lizmat left 01:18 ^020d12 joined, p6bannerbot sets mode: +v ^020d12 01:19 Kralle16 left, oCorvo left 01:21 Zoffix left 01:22 ^020d12 left 01:23 ZzZombo_ joined, p6bannerbot sets mode: +v ZzZombo_ 01:24 molaf joined 01:25 p6bannerbot sets mode: +v molaf 01:26 ZzZombo left, ZzZombo_ is now known as ZzZombo, graphene left 01:27 w_richard_w joined, graphene joined 01:28 p6bannerbot sets mode: +v w_richard_w, p6bannerbot sets mode: +v graphene, ZzZombo left 01:29 Success joined, p6bannerbot sets mode: +v Success, mcmillhj joined 01:30 p6bannerbot sets mode: +v mcmillhj 01:31 Success left 01:32 Success joined, p6bannerbot sets mode: +v Success 01:34 mcmillhj left 01:39 AbhishekS19 joined, Kaiepi joined 01:40 p6bannerbot sets mode: +v AbhishekS19, p6bannerbot sets mode: +v Kaiepi 01:42 avar joined, avar left, avar joined 01:43 p6bannerbot sets mode: +v avar, Guest3015 joined, p6bannerbot sets mode: +v avar 01:44 AbhishekS19 left, p6bannerbot sets mode: +v Guest3015 01:47 Guest3015 left 01:48 xiaoguang9 joined, p6bannerbot sets mode: +v xiaoguang9, finanalyst joined 01:49 p6bannerbot sets mode: +v finanalyst 01:50 xiaoguang9 left 01:57 mcmillhj joined 01:58 p6bannerbot sets mode: +v mcmillhj, sotona joined 01:59 p6bannerbot sets mode: +v sotona 02:02 Kaiepi left, mcmillhj left, Kaiepi joined 02:03 sotona left, ufobat_ joined, p6bannerbot sets mode: +v Kaiepi 02:04 p6bannerbot sets mode: +v ufobat_ 02:07 ufobat left, Kaiepi left 02:08 Kaiepi joined, p6bannerbot sets mode: +v Kaiepi 02:09 Bram13 joined, p6bannerbot sets mode: +v Bram13 02:10 Kaiepi left 02:13 Kaiepi joined 02:14 p6bannerbot sets mode: +v Kaiepi 02:15 lichtkind left 02:16 Bram13 left 02:18 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo 02:27 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 02:31 mcmillhj left 02:35 sotona joined, p6bannerbot sets mode: +v sotona 02:38 graphene left 02:39 sotona left, graphene joined 02:40 p6bannerbot sets mode: +v graphene 02:42 Kaiepi left 02:45 fake_space_whale joined, Kaiepi joined 02:46 p6bannerbot sets mode: +v fake_space_whale, p6bannerbot sets mode: +v Kaiepi 02:53 avar left 02:54 galingale2 joined 02:55 M2tias19 joined, p6bannerbot sets mode: +v galingale2, p6bannerbot sets mode: +v M2tias19 02:56 galingale2 left, M2tias19 left 02:58 mcmillhj joined 02:59 p6bannerbot sets mode: +v mcmillhj, finanalyst left 03:00 Bucciarati left 03:03 kurahaupo left, mcmillhj left, kurahaupo joined 03:04 muteki27 joined, p6bannerbot sets mode: +v kurahaupo, muteki27 left 03:07 Success left, Success joined, p6bannerbot sets mode: +v Success 03:08 croppa joined, p6bannerbot sets mode: +v croppa 03:10 croppa left 03:11 Kaiepi left, sotona joined 03:12 Success left, p6bannerbot sets mode: +v sotona 03:14 Kaiepi joined 03:15 p6bannerbot sets mode: +v Kaiepi, Kaiepi left, sotona left, Kaiepi joined 03:16 p6bannerbot sets mode: +v Kaiepi 03:18 aborazmeh left 03:25 mcmillhj joined 03:26 p6bannerbot sets mode: +v mcmillhj 03:30 mcmillhj left 03:46 HSF_Prince_Loaf1 joined 03:47 p6bannerbot sets mode: +v HSF_Prince_Loaf1 03:48 sotona joined, p6bannerbot sets mode: +v sotona, HSF_Prince_Loaf1 left 03:52 sotona left 03:53 ToddAndMargo joined, p6bannerbot sets mode: +v ToddAndMargo
ToddAndMargo I forgot how to read a pipe the easy way. I am currently using 03:53
perl6.awk.txt
wrong paste, sorry
$ ls -al Win10_1803_English_x64.dd | p6 'my $x = slurp(); say $x.words[4]' 7927234560 03:54
lookatme_q Maybe using the -n option ? 03:56
03:57 mcmillhj joined 03:58 p6bannerbot sets mode: +v mcmillhj
ToddAndMargo ls -al / | perl6 -en 'say $_.words[4]' ===SORRY!=== Error while compiling -e Undeclared routine: n used at line 1 03:59
Demos[m] what do people use for logging / pretty output
ToddAndMargo $ ls -al / | perl6 -n 'say $_.words[4]' Could not open say $_.words[4]. Failed to stat file: no such file or directory 04:00
geekosaur swap them, -e is followed by an expressio, ou gave it "n"
ToddAndMargo That worked. Thank you! 04:01
$ ls -al /lin-bak/Win10_1803_English_x64.dd | perl6 -ne 'say $_.words[4]' 7927234560
04:02 mcmillhj left 04:05 ToddAndMargo left 04:06 cpage_ joined, Ven` joined 04:07 p6bannerbot sets mode: +v cpage_, p6bannerbot sets mode: +v Ven` 04:08 kurahaupo left 04:09 kurahaupo joined, cpage left, cpage_ is now known as cpage, p6bannerbot sets mode: +v kurahaupo 04:11 Ven` left 04:23 mcmillhj joined 04:24 p6bannerbot sets mode: +v mcmillhj, sotona joined 04:25 p6bannerbot sets mode: +v sotona 04:27 molaf left 04:28 Kaiepi left, sotona left, mcmillhj left 04:49 sena_kun joined, p6bannerbot sets mode: +v sena_kun 04:52 curan joined, p6bannerbot sets mode: +v curan 04:56 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 05:00 sotona joined 05:01 p6bannerbot sets mode: +v sotona, mcmillhj left 05:05 sotona left 05:19 jmerelo joined 05:20 p6bannerbot sets mode: +v jmerelo, marcusr joined 05:21 marcusr left, marcusr joined, p6bannerbot sets mode: +v marcusr 05:22 w_richard_w left 05:23 sauvin joined, p6bannerbot sets mode: +v sauvin, zakharyas joined 05:24 p6bannerbot sets mode: +v zakharyas, mcmillhj joined 05:25 p6bannerbot sets mode: +v mcmillhj 05:29 mcmillhj left 05:32 Sasasu28 joined, p6bannerbot sets mode: +v Sasasu28 05:36 mcmillhj joined 05:37 sotona joined, p6bannerbot sets mode: +v mcmillhj, p6bannerbot sets mode: +v sotona 05:38 Sasasu28 left 05:41 mcmillhj left, sotona left 05:50 mcmillhj joined 05:51 p6bannerbot sets mode: +v mcmillhj 05:53 domidumont joined, p6bannerbot sets mode: +v domidumont 05:55 mcmillhj left
Geth doc: 763b010d21 | (JJ Merelo)++ | doc/Type/Test.pod6
Adds flunk and is-approx-calculate

The first had been left out accidentally, the second was missing. Closes #2330.
05:56
synopsebot Link: doc.perl6.org/type/Test
doc: ca7cb599b0 | (JJ Merelo)++ | htmlify.p6
Changes type graph message

Closes #2332
06:02
06:02 mcmillhj joined, p6bannerbot sets mode: +v mcmillhj 06:04 xtore joined, p6bannerbot sets mode: +v xtore 06:05 committable6 joined 06:06 p6bannerbot sets mode: +v committable6, xtore left, mcmillhj left 06:07 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel 06:09 Sgeo_ left 06:10 gendl5 joined, p6bannerbot sets mode: +v gendl5 06:11 committable6 left, committable6 joined 06:12 Sgeo joined, p6bannerbot sets mode: +v committable6, gendl5 left 06:13 p6bannerbot sets mode: +v Sgeo, sotona joined 06:14 p6bannerbot sets mode: +v sotona 06:18 sotona left 06:23 ToddAndmargo joined, p6bannerbot sets mode: +v ToddAndmargo
ToddAndmargo in the following `multi method words(Str:D $input: $limit = Inf --> Positional)`, I am trying to find what an `Inf` is in the documentation. Anyone have a link to it? 06:24
06:26 committable6 left 06:27 committable6 joined
El_Che docs.perl6.org/type/Num#index-entr...ion%29-Inf 06:27
06:27 p6bannerbot sets mode: +v committable6
El_Che first entry in the search box 06:27
06:28 mcmillhj joined, Kaiepi joined, p6bannerbot sets mode: +v mcmillhj 06:29 committable6 left, committable6 joined, p6bannerbot sets mode: +v Kaiepi 06:30 p6bannerbot sets mode: +v committable6, jmerelo left, Actualeyes joined 06:31 p6bannerbot sets mode: +v Actualeyes 06:32 mcmillhj left 06:34 committable6 left, committable6 joined 06:35 avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar, p6bannerbot sets mode: +v committable6 06:36 p6bannerbot sets mode: +v avar, sacomo joined 06:37 p6bannerbot sets mode: +v sacomo 06:38 fake_space_whale left, fullstack18 joined, Bucciarati joined, p6bannerbot sets mode: +v fullstack18
ToddAndmargo Thank you! 06:39
06:39 p6bannerbot sets mode: +v Bucciarati, fullstack18 left
ToddAndmargo Question: is `Str:D $input:` written correctly? I have only seen it writter as `Str:D:` before. 06:40
06:43 committable6 left
El_Che I don't use that in my signatures :) 06:43
TimToady but sure, that's fine if you want to name the invocant something other than 'self'
El_Che type and a default is good enough for me 06:44
TimToady it's just a normal parameter, which can have a type and a variable name
it's only the : at the end that magically makes it an invocant
06:44 committable6 joined 06:45 p6bannerbot sets mode: +v committable6
ToddAndmargo So the writer is using the `$input` name in `multi method words(Str:D $input: $limit = Inf --> Positional)` to make it more readable? If so, it worked 06:45
06:47 Madcotto3 joined 06:48 robertle joined, p6bannerbot sets mode: +v Madcotto3, zakharyas left 06:49 p6bannerbot sets mode: +v robertle 06:50 sotona joined, graphene left, jqlog19 joined, p6bannerbot sets mode: +v sotona, lizmat joined, p6bannerbot sets mode: +v lizmat 06:51 p6bannerbot sets mode: +v jqlog19, graphene joined 06:52 Madcotto3 left, p6bannerbot sets mode: +v graphene 06:53 jqlog19 left 06:54 sotona left, HaraldJoerg joined 06:55 p6bannerbot sets mode: +v HaraldJoerg 06:58 mcmillhj joined 06:59 p6bannerbot sets mode: +v mcmillhj 07:00 dreisner21 joined, dreisner21 left 07:02 MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan 07:03 mcmillhj left 07:05 cpl0 joined 07:06 ootje_ joined, p6bannerbot sets mode: +v cpl0, p6bannerbot sets mode: +v ootje_ 07:07 AlexDaniel left, cpl0 left, Guest89166 joined 07:08 Guest89166 left 07:10 ootje_ left 07:19 ufobat_ is now known as ufobat 07:20 zmo6 joined 07:21 mcmillhj joined, p6bannerbot sets mode: +v zmo6
Geth doc: threadless-screw++ created pull request #2333:
Fixed bad URL
07:22
07:22 p6bannerbot sets mode: +v mcmillhj 07:24 zmo6 left 07:26 mcmillhj left 07:34 Ven` joined 07:35 psychoslave joined, p6bannerbot sets mode: +v Ven`, p6bannerbot sets mode: +v psychoslave 07:38 sotona joined 07:39 p6bannerbot sets mode: +v sotona 07:40 Linlz9 joined, p6bannerbot sets mode: +v Linlz9 07:41 DebXWoody26 joined 07:42 p6bannerbot sets mode: +v DebXWoody26
Geth doc: 4217af78d8 | Alexander++ (committed using GitHub Web editor) | doc/Type/Signature.pod6
Fixed bad URL (#2333)
07:42
synopsebot Link: doc.perl6.org/type/Signature
07:42 sotona left 07:43 Linlz9 left 07:44 DebXWoody26 left 07:50 mcmillhj joined 07:51 p6bannerbot sets mode: +v mcmillhj, Ribesg_ joined 07:52 p6bannerbot sets mode: +v Ribesg_, Yukkuri joined 07:53 p6bannerbot sets mode: +v Yukkuri, sheesh23 joined, Yukkuri left, p6bannerbot sets mode: +v sheesh23 07:55 mcmillhj left, sheesh23 left, robertle left 07:56 Ribesg_ left 08:05 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel 08:09 rindolf joined 08:10 p6bannerbot sets mode: +v rindolf 08:11 kb1ray8 joined 08:12 p6bannerbot sets mode: +v kb1ray8 08:13 kb1ray8 left 08:15 dakkar joined
Geth doc: 7bcfa418be | (JJ Merelo)++ | assets/sass/style.scss
Centers graph caption, refs #2332
08:15
08:15 p6bannerbot sets mode: +v dakkar 08:18 Swannie16 joined, Swannie16 left 08:22 AlexDaniel left 08:24 Ven` left, mcmillhj joined 08:25 p6bannerbot sets mode: +v mcmillhj 08:26 committable6 left, AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel 08:27 Ven` joined, p6bannerbot sets mode: +v Ven` 08:29 committable6 joined 08:30 mcmillhj left, p6bannerbot sets mode: +v committable6 08:32 rbt15 joined 08:33 p6bannerbot sets mode: +v rbt15, rharper11 joined 08:34 rbt15 left, sklgrome1 joined 08:35 p6bannerbot sets mode: +v sklgrome1 08:37 sklgrome1 left 08:38 rharper11 left 08:39 goez28 joined, sotona joined, p6bannerbot sets mode: +v goez28 08:40 committable6 left, p6bannerbot sets mode: +v sotona 08:41 committable6 joined, goez28 left 08:42 p6bannerbot sets mode: +v committable6 08:44 sotona left, psychoslave left 08:46 Milliways8 joined 08:47 p6bannerbot sets mode: +v Milliways8 08:48 Milliways8 left, committable6 left 08:49 venb4 joined 08:50 p6bannerbot sets mode: +v venb4 08:51 committable6 joined, p6bannerbot sets mode: +v committable6 08:53 dograt6 joined, Ven` left, p6bannerbot sets mode: +v dograt6, venb4 left 08:57 committable6 left, committable6 joined, committable6 left, committable6 joined, dograt6 left 08:58 OS-7153_18 joined, p6bannerbot sets mode: +v committable6 08:59 p6bannerbot sets mode: +v OS-7153_18, kurahaupo left, kurahaupo joined 09:00 p6bannerbot sets mode: +v kurahaupo 09:02 OS-7153_18 left 09:03 Ven` joined 09:04 p6bannerbot sets mode: +v Ven` 09:05 Facaid15 joined, p6bannerbot sets mode: +v Facaid15 09:06 ZzZombo_ joined, p6bannerbot sets mode: +v ZzZombo_, committable6 left, committable6 joined 09:07 committable6 left, committable6 joined, committable6 left, committable6 joined 09:08 p6bannerbot sets mode: +v committable6 09:09 ZzZombo left, ZzZombo_ is now known as ZzZombo 09:12 Facaid15 left 09:20 committable6 left, committable6 joined 09:21 booto19 joined, p6bannerbot sets mode: +v committable6, p6bannerbot sets mode: +v booto19 09:23 booto19 left 09:25 sparch joined, adongy26 joined 09:26 p6bannerbot sets mode: +v sparch, p6bannerbot sets mode: +v adongy26 09:27 adongy26 left 09:28 sparch left 09:36 svliege6 joined, erana_ joined 09:37 p6bannerbot sets mode: +v svliege6, p6bannerbot sets mode: +v erana_ 09:40 svliege6 left 09:41 committable6 left, committable6 joined 09:42 p6bannerbot sets mode: +v committable6 09:47 leont joined, p6bannerbot sets mode: +v leont 09:50 AlexDaniel left 09:51 ToddAndmargo left 09:53 agentzh joined, p6bannerbot sets mode: +v agentzh 09:54 charly63 joined 09:55 kurahaupo left, ethfci_ joined, kurahaupo joined, p6bannerbot sets mode: +v charly63, p6bannerbot sets mode: +v ethfci_ 09:56 p6bannerbot sets mode: +v kurahaupo 09:57 charly63 left 09:58 ethfci_ left 09:59 pmurias joined, p6bannerbot sets mode: +v pmurias 10:00 Actualeyes left 10:08 barul7 joined, p6bannerbot sets mode: +v barul7, barul7 left 10:12 domidumont left 10:13 zigmoo_16 joined, HappyPonyLand23 joined 10:14 p6bannerbot sets mode: +v zigmoo_16, p6bannerbot sets mode: +v HappyPonyLand23 10:15 Karut joined, zigmoo_16 left, p6bannerbot sets mode: +v Karut 10:17 Karut left, regreg_ left 10:18 HappyPonyLand23 left 10:19 jmerelo joined 10:20 p6bannerbot sets mode: +v jmerelo
lizmat drops a pin 10:22
10:23 ChocolateMilkGod joined 10:24 p6bannerbot sets mode: +v ChocolateMilkGod, ZzZombo left
moritz catches it before it hits the ground 10:26
10:27 ChocolateMilkGod left
lizmat
.oO( thank heavens for slo-mo :-)
10:31
10:32 Ven` left 10:33 Ven` joined 10:34 p6bannerbot sets mode: +v Ven`
moritz and here I thought I was fast-mo :-) 10:36
10:36 Zoffix joined, p6bannerbot sets mode: +v Zoffix, Zoffix left
ilmari 4 minutes is quite a long time for a pin to drop 10:37
no, I'm not going to work out how high it wuld have to be dropped from without slow-mo
10:39 vibrio24 joined, p6bannerbot sets mode: +v vibrio24 10:40 graphene left
leont That would definitely require calculating its terminal velocity, which is non-trivial 10:40
moritz micro gravity ftw 10:41
10:41 graphene joined
leont Didn't know you and lizmat were on an astroid :-p 10:41
10:41 shady0wl_ joined
moritz I'v been playing way too much taustation.space/ :-) 10:41
10:42 p6bannerbot sets mode: +v graphene, xinming joined, p6bannerbot sets mode: +v shady0wl_ 10:43 vibrio24 left, p6bannerbot sets mode: +v xinming, shady0wl_ left 10:46 vstemen29 joined 10:47 vstemen29 left, bluemeanie11 joined, bluemeanie11 left 10:54 joat14 joined 10:55 p6bannerbot sets mode: +v joat14 10:57 joat14 left 11:09 pero5 joined 11:10 robertle joined, p6bannerbot sets mode: +v pero5 11:11 p6bannerbot sets mode: +v robertle
pmurias github.com/MoarVM/MoarVM/issues/521 # do we want to change the <alpha> behavior? 11:11
11:13 pero5 left 11:15 RoyK_Heime joined 11:16 p6bannerbot sets mode: +v RoyK_Heime 11:17 RoyK_Heime left 11:27 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel 11:32 chachasmooth joined, chachasmooth is now known as Guest50008, p6bannerbot sets mode: +v Guest50008 11:35 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo 11:36 Guest50008 left 11:39 emerson left 11:48 emerson joined, p6bannerbot sets mode: +v emerson 11:50 ZzZombo_ joined, p6bannerbot sets mode: +v ZzZombo_ 11:52 ZzZombo left, ZzZombo_ is now known as ZzZombo 12:09 AlexDaniel left 12:14 Kow9 joined 12:15 stevef8 joined, p6bannerbot sets mode: +v Kow9 12:16 p6bannerbot sets mode: +v stevef8 12:18 Kow9 left, tshirtman25 joined, stevef8 left 12:19 p6bannerbot sets mode: +v tshirtman25 12:22 tshirtman25 left, darky8324 joined 12:23 p6bannerbot sets mode: +v darky8324, darky8324 left
timotimo there's a new interesting breed of spam 12:25
12:25 kerma24 joined
timotimo where they join, spout a bunch of binary garbage, then disappear again a bit later 12:25
12:26 bahamas1013 joined, p6bannerbot sets mode: +v kerma24
diakopter fuzzing the ircd? 12:26
huf or one of the clients has a bug?
12:26 p6bannerbot sets mode: +v bahamas1013 12:28 kerma24 left
cognominal-p6 m: sub c(@t, str $s where $s.chars == 3 ) { say 3 }; c(['a', 'b'], '(,)') 12:30
camelia 3
cognominal-p6 m: multi infix:<~~~>(@t, str $s where $s.chars == 3 ) { say 3 }; ['a', 'b'] ~~~ '(,)' 12:31
camelia Cannot resolve caller infix:<~~~>([a b], (,)); none of these signatures match:
(@t, str $s where { ... })
in block <unit> at <tmp> line 1
12:31 bahamas1013 left
cognominal-p6 &c and infix:<~~~> having the same signature, I would expect to work the same. What did I miss ? 12:32
timotimo m: multi infix:<~~~>(@t, str $s) { say 3 }; ['a', 'b'] ~~~ "(,)" 12:36
camelia Cannot resolve caller infix:<~~~>(Array, Str); none of these signatures match:
(@t, str $s)
in block <unit> at <tmp> line 1
timotimo m: multi infix:<~~~>(@t, Str $s) { say 3 }; ['a', 'b'] ~~~ "(,)"
camelia 3
timotimo the native string is a problem it seems like 12:37
12:38 mbrock_ joined 12:39 p6bannerbot sets mode: +v mbrock_ 12:41 mbrock_ left 12:54 filcab11 joined 12:55 filcab11 left 12:56 mcmillhj joined, mcmillhj left 12:57 psychoslave joined 12:58 p6bannerbot sets mode: +v psychoslave 13:01 mcmillhj joined 13:02 p6bannerbot sets mode: +v mcmillhj 13:04 hamhu3_ joined, hamhu3 left 13:05 p6bannerbot sets mode: +v hamhu3_
Geth doc: ce54d64eb8 | (Will "Coke" Coleda)++ | doc/Language/testing.pod6
whitespace
13:12
synopsebot Link: doc.perl6.org/language/testing
cognominal-p6 timotimo: thx, how come it works differently for operators and functions ? Under the syntactical hood, it is supposed to be the same thing 13:13
13:14 vike1 left
cognominal-p6 afk& # will read any answer this evening or tomorrow. Thx for any feedback 13:14
13:21 tinita2 joined, p6bannerbot sets mode: +v tinita2 13:22 tinita2 left 13:27 Kaiepi left 13:29 Schepeers joined 13:30 p6bannerbot sets mode: +v Schepeers 13:31 Kaiepi joined, Zoffix joined, p6bannerbot sets mode: +v Zoffix, p6bannerbot sets mode: +v Kaiepi 13:33 Schepeers left 13:34 Fleet7 joined 13:35 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh, p6bannerbot sets mode: +v Fleet7
Zoffix .tell cognominal-p6 in the sub, you're defining an `only`, but in the op you're defining a `multi`. Native types don't get auto-unboxed in multi dispatch, so you either need to give it a native `str` as argument or change to take a Str arguemnt or define a second multi that takes a `Str` argument. m: multi infix:<~~~>(@t, str $s where $s.chars == 3 ) { say 3 }; ['a', 'b'] ~~~ my str $ = '(,)' 13:35
yoleaux Zoffix: I'll pass your message to cognominal-p6.
13:36 p6bannerbot sets mode: +v aborazmeh, skade20 joined
Zoffix Thank you, robot. 13:36
13:36 p6bannerbot sets mode: +v skade20
Zoffix m: multi z(str $s) { say 3 }; z '(,)' 13:37
camelia Cannot resolve caller z(Str); none of these signatures match:
(str $s)
in block <unit> at <tmp> line 1
Zoffix hmmm
Zoffix tries to remember what the deal is with literals, but now I think that was for auto-unboxing into `only` subs. 13:38
13:38 Fleet7 left 13:39 pmurias left, pmurias joined, p6bannerbot sets mode: +v pmurias, Schwarzbaer19 joined, Schwarzbaer19 left 13:40 skade20 left
Zoffix Yeah. I recall there a test going in, so it should be working right even if I don't exactly remember what it was :) 13:42
13:42 Zoffix left 13:43 lizmat left 13:53 vegai18 joined 13:54 p6bannerbot sets mode: +v vegai18, curan left 13:58 [TheBug]8 joined, vegai18 left 13:59 p6bannerbot sets mode: +v [TheBug]8 14:00 blablach_ joined 14:01 p6bannerbot sets mode: +v blablach_ 14:02 [TheBug]8 left 14:03 dcxk joined 14:04 dcxk left, blablach_ left 14:05 shicks2525 joined, umpc20 joined, p6bannerbot sets mode: +v shicks2525 14:06 p6bannerbot sets mode: +v umpc20 14:07 avar left, umpc20 left, avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 14:08 p6bannerbot sets mode: +v avar 14:09 shicks2525 left 14:12 scimon joined 14:13 p6bannerbot sets mode: +v scimon 14:17 regreg_ joined 14:18 p6bannerbot sets mode: +v regreg_ 14:26 aborazmeh left
Geth ecosystem: d6a93e7a4b | tony-o++ (committed using GitHub Web editor) | META.list
Add Inter-Process Event::Emitter to module listing

Adding Event::Emitter::Inter-Process for inter-process "event::emitter"
14:29
14:33 psychoslave left, Zhivago29 joined 14:34 p6bannerbot sets mode: +v Zhivago29 14:36 devsnek13 joined, devsnek13 left
buggable New CPAN upload: Getopt-Advance-1.0.4.tar.gz by ALOREN modules.perl6.org/dist/Getopt::Adva...pan:ALOREN 14:36
14:38 Mo0O15 joined, Zhivago29 left 14:39 p6bannerbot sets mode: +v Mo0O15 14:43 Mo0O15 left 14:45 vike1 joined 14:46 p6bannerbot sets mode: +v vike1 14:48 baraba8 joined 14:49 p6bannerbot sets mode: +v baraba8 14:51 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 14:52 p6bannerbot sets mode: +v aborazmeh, lord|1 joined 14:53 Tmanyo-m joined, p6bannerbot sets mode: +v lord|1, baraba8 left, p6bannerbot sets mode: +v Tmanyo-m 14:54 lord|1 left, Hor|zon joined 14:55 p6bannerbot sets mode: +v Hor|zon, martin_12 joined, lenovuh8 joined, lenovuh8 left 14:56 p6bannerbot sets mode: +v martin_12, titsuki joined 14:57 p6bannerbot sets mode: +v titsuki, robertle left, Tmanyo-m left 14:59 martin_12 left 15:00 randc joined, p6bannerbot sets mode: +v randc, aborazmeh left
randc I have been looking into changing my comments to Pod documentation, but poking around other random modules it looks like the convention is to write all the Pod either before or after the code. Is there a way to do it inline... kind of like "javadoc comments" so I am not writing code comments & separate documentation comments? 15:03
15:10 galls joined 15:11 p6bannerbot sets mode: +v galls 15:14 galls left
geekosaur it's just convention. interleaving can have its own problems, mostly with respect to comprehension / breaking things up too much for readers 15:15
and usually the kind of comments you put inline like that want to be API documntation or code explanations, not necessarily end user /manual page 15:18
jmerelo randc: Yep, Perl6 has got several brief ways of doing that: docs.perl6.org/language/syntax#Mul...d_comments 15:19
randc: and it's better than javadoc, because you only need perl6 to produce the text. 15:20
15:22 kinabalu25 joined 15:23 p6bannerbot sets mode: +v kinabalu25, zxcvz joined, p6bannerbot sets mode: +v zxcvz 15:26 kinabalu25 left 15:27 jeekl joined 15:28 p6bannerbot sets mode: +v jeekl
Geth doc: 86fca8df94 | (Brad Gilbert)++ (committed using GitHub Web editor) | doc/Type/Str.pod6
Str.[split,lines,words,ords] returns Seq
15:28
synopsebot Link: doc.perl6.org/type/Str
15:29 jeekl left
[Coke] Google Search Console has automatically verified you as the official owner of: parrot.org/ 15:39
…Thanks? 15:40
15:41 robertle joined, p6bannerbot sets mode: +v robertle 15:45 webstrand left 15:46 webstrand joined 15:47 p6bannerbot sets mode: +v webstrand
moritz wow, I'm surprised that domain hasn't been lost to domain squatters long ago 15:47
maybe it's time to donate it to some bird lovers 15:48
timotimo they can have a talking worm instead
[Coke] "perl6 -v" "perl6 --v" both work, but "perl6 --ve" does not. wondering why --v is ok.
15:49 Articate joined
moritz probably it tries the one-char aliases even with -- 15:49
15:49 p6bannerbot sets mode: +v Articate 15:51 fake_space_whale joined, Articate left, p6bannerbot sets mode: +v fake_space_whale 15:57 randc left 16:02 molaf joined 16:03 p6bannerbot sets mode: +v molaf 16:09 molaf left 16:11 Leo`17 joined 16:12 titsuki left, p6bannerbot sets mode: +v Leo`17
Demos[m] is it possible to build a moarvm perl6 with MSVC ABI and linked with msvcrt140? 16:13
16:13 wbn joined 16:14 p6bannerbot sets mode: +v wbn
moritz I think jnthn++ uses MSVC in his toolchain -- not sure about the ABI though 16:16
16:16 Leo`17 left
Demos[m] I mean tbh the C abi is pretty much the same betwene gcc and msvc 16:17
geekosaur only up to a point. language runtimes tend t blow past that point 16:20
buggable New CPAN upload: Getopt-Advance-1.0.5.tar.gz by ALOREN modules.perl6.org/dist/Getopt::Adva...pan:ALOREN 16:26
jnthn MoarVM will build with MSVC; it should handle it quite naturally if Configure is run with cl, link etc. on path 16:27
16:29 gUcu_ joined 16:30 p6bannerbot sets mode: +v gUcu_ 16:32 adam3us21 joined, phre4k6 joined, p6bannerbot sets mode: +v adam3us21 16:33 Ven` left, p6bannerbot sets mode: +v phre4k6, adam3us21 left 16:34 avar left, AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel 16:35 phre4k6 left, avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 16:36 p6bannerbot sets mode: +v avar, gUcu_ left 16:37 scimon left 16:39 domidumont joined 16:40 p6bannerbot sets mode: +v domidumont 16:42 debugloop1 joined 16:43 p6bannerbot sets mode: +v debugloop1 16:44 untitaker1 joined 16:45 p6bannerbot sets mode: +v untitaker1 16:47 untitaker1 left, debugloop1 left 16:56 GuntherDW19 joined, GuntherDW19 left 16:59 Guest18 joined 17:00 p6bannerbot sets mode: +v Guest18, WikiPuppies29 joined 17:01 WikiPuppies29 left 17:02 patrickb joined
tony-o AlexDaniel: testing out json::fast integration with rakudo atm 17:02
17:03 p6bannerbot sets mode: +v patrickb 17:05 Guest16235 joined 17:06 p6bannerbot sets mode: +v Guest16235 17:07 Guest16235 left 17:08 MilkmanDan left, mohan43u29 joined, fake_space_whale left, MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan
vrurg m: class Foo { has @.a; }; my %p = a=><a b c>; Foo.new(|%p).a.perl.say 17:09
camelia [("a", "b", "c"),]
17:09 p6bannerbot sets mode: +v mohan43u29 17:10 Success joined, p6bannerbot sets mode: +v Success
vrurg Is it possible to deconteinarize hash values to use it as named parameters? 17:10
17:11 Zoffix joined, p6bannerbot sets mode: +v Zoffix
Zoffix vrurg: isn't that what's happening above? The key `a`'s value got assigned into `a` attribute 17:11
Ah, I see what you mean
vrurg Zoffix: aha. 17:12
AlexDaniel tony-o: sounds awesome
17:13 mohan43u29 left
Zoffix m: class Foo { has @.a; }; my %p = a=><b c d>; Foo.new(|%p.Map).a.perl.say 17:13
camelia ["b", "c", "d"]
vrurg Beatiful! ;) 17:14
Another thing I don't currently understand:
m class Foo { has @.a; }; my @p = a => <a b c>; Foo.new(|@p).a.perl.say
Zoffix m: class Foo { has @.a; submethod TWEAK(:$a) { @!a = $a<> } }; my %p = a=><b c d>; Foo.new(|%p).a.perl.say 17:15
camelia ["b", "c", "d"]
Zoffix another way
m: class Foo { has @.a; }; my @p = a => <a b c>; Foo.new(|@p).a.perl.say
camelia Default constructor for 'Foo' only takes named arguments
in block <unit> at <tmp> line 1
vrurg m: class Foo { has @.a; }; my @p = a => <a b c>; Foo.new(|@p).a.perl.say
camelia Default constructor for 'Foo' only takes named arguments
in block <unit> at <tmp> line 1
Zoffix vrurg: it sticks it in as a positional Pair object instead of a named arg
m: my @p = a => <a b c>; dd @p.Capture
camelia \(:a(("a", "b", "c")))
Zoffix ahg, no
vrurg TWEAK isn't good enough for me because I create objects using profiles in hashes. To many handwork then. 17:16
Zoffix Oh wait, yes
Capture ain't involved here.
m: class Foo { has @.a; }; my @p = a => <a b c>; Foo.new(|@p.Map).a.perl.say
camelia ["a", "b", "c"]
Zoffix Basically, same as with %hash
vrurg Ah, yes! I have understood that one yesterday. Of course...
.Map does it ideally. Thanks! 17:17
Zoffix nm
Zoffix flies away into the sunset
17:17 Zoffix left 17:18 khisanth_ left 17:19 dakkar left 17:21 BSDBlack15 joined 17:22 p6bannerbot sets mode: +v BSDBlack15 17:23 fake_space_whale joined 17:24 BSDBlack15 left, p6bannerbot sets mode: +v fake_space_whale 17:31 khisanth_ joined 17:32 p6bannerbot sets mode: +v khisanth_, GingerGeek joined 17:33 p6bannerbot sets mode: +v GingerGeek 17:34 GingerGeek left 17:38 Shadowcrit joined 17:39 p6bannerbot sets mode: +v Shadowcrit 17:43 Shadowcrit left 17:45 dandan8623 joined, radiofree16 joined 17:46 p6bannerbot sets mode: +v dandan8623, p6bannerbot sets mode: +v radiofree16 17:48 radiofree16 left 17:51 bzikarsky28 joined 17:52 p6bannerbot sets mode: +v bzikarsky28 17:53 dandan8623 left 17:54 bzikarsky28 left, erana_ left, erana_ joined 17:55 p6bannerbot sets mode: +v erana_ 17:56 dvx joined, dvx left 17:59 Guest18 left 18:07 graphene left 18:08 graphene joined 18:09 p6bannerbot sets mode: +v graphene 18:12 Success left 18:13 Success joined, p6bannerbot sets mode: +v Success
erana_ test 18:18
diakopter test successful!
erana_ freenode blurb 18:19
I just started working for the perl foundation, I just need another T shirt now 18:21
18:22 sauvin left
erana_ I can do games in sdl-perl on mandrake 18:22
then AI kits in perl6
1700 euros a month 18:23
jmerelo AI kits in Perl 6 ++ 18:24
erana_ my coworker does the SDL2::Raw games in perl6
My software will be available at shameen.ddns.net
yes ai kits are cool 18:25
[Coke] erana_: what are you doing for TPF?
erana_ programming
I am working on markov strategy Springer ver lag book
[Coke] cool.
erana_ I implemented 7 pages in objc 2800+ lines
[Coke] Is this via a grant? 18:26
erana_ contract
unlimited
18:26 sotona joined
erana_ It's also for the Belgian perl mongers company 18:27
18:27 p6bannerbot sets mode: +v sotona
erana_ The I have another contract at Amiga 18:27
where I also write games for
So lots of switching between amiga emulators :-) 18:28
Anyway, I am going to have lots of fun now 18:29
perl6 on the win64 machine, and I need to get a PowerPC amiga 18:30
where my performa and G4 still run here in the appartement
jmerelo erana_: cool. Good luck.
erana_ Thanks
[Coke] wonders if his college friend still has the Amiga 500 he lent him.
erana_ I have one 18:31
and an 2000 with a SCSI disk of 1.2Gb :-)
AmigaRexx
I have to write something here I can tool the floppy disks between linux and amigados 18:32
18:32 iMac4 joined
erana_ such as the amigaforever CDROM 18:33
18:33 p6bannerbot sets mode: +v iMac4
erana_ the company I work for distributes the latest amgia os 18:33
another 1700 in a month 18:34
18:34 Success left
erana_ There a perl on that machine 18:34
I am going to buy a Mobo
18:34 Success joined, p6bannerbot sets mode: +v Success
erana_ with a PPC processor 18:35
then tool it into an amiga x500 or something
So if you need something for the perl foundation which has to do with games, I might manage 18:36
Larray just told me he could use decision theory, chaos and markov strategies for ai
18:36 anoopcs10 joined, anoopcs10 left
erana_ which is the 3 books I have to read and impement 18:37
18:37 iMac4 left 18:39 donut_4 joined
erana_ Then I work at the VUB as main lab assistent 18:40
So 3 jobs, but I can manage
18:40 p6bannerbot sets mode: +v donut_4 18:42 Killsudo14 joined
erana_ The amiga forever cd is good, if you're into such kind of things 18:42
18:42 donut_4 left 18:43 p6bannerbot sets mode: +v Killsudo14, Killsudo14 left
TimToady still has his Amiga 1000, and probably a 2000 and a 3000 somewhere in his garage... 18:45
erana_ if you don't need them, I can use a 1000 and a 3000
18:46 jmerelo left
TimToady well, the 1000 is the first personal computer I ever bought, so I'm a bit sentimental about it :) 18:46
erana_ what about the 3000 ? 18:47
TimToady I'd probably have to clean my garage to find it, alas :)
erana_ ok
CDROMs on amigas are evil :-) 18:48
TimToady I actually had two 3000s at one point
because kids
erana_ well it's for writing games you know
there some example games of me for GNU at savannah 18:49
the user is erana
Then I have made a Secret of Mana II in kivy 1 18:50
it works on android
togheter with other kivy games
I am not really into Java for such things 18:51
My promotor held it for a simple OOP language 18:52
no continuations for example
18:53 Failure joined, p6bannerbot sets mode: +v Failure
pmurias erana_: re ai kits for Perl 6 is there a link to something we can read about it? 18:53
18:54 NavyBear-Pi29 joined, Success left
erana_ Springer series of statistics : 18:54
18:54 NavyBear-Pi29 left
erana_ Markov strategies for scientific computing (game theory) 18:54
Desecion Theory limited first edition Berger 18:55
18:55 ds_17 joined
erana_ Chaos : a statistical perspective 18:55
Geth doc: cf116bb50e | (Will "Coke" Coleda)++ | 3 files
fix compilation issues
erana_ those 3 I am going to start with
18:55 p6bannerbot sets mode: +v ds_17
erana_ for google : Hidden MArkov Model, forward backwrad pass 18:56
in Shapeir on htp:://shameen.ddns.net you find objc code of the first 30 pages 18:57
18:57 Grum18 joined
erana_ 2800+ lines for just exponential landscape engines and the classes need for them 18:57
18:58 p6bannerbot sets mode: +v Grum18
erana_ you strip a landscape in 3D coordinates then exponentially distribute them and you truncate on a rambo game I ant to make 18:58
X and Y
thus the soldier moves on one line
18:58 simonmcc14 joined 18:59 ds_17 left, simonmcc14 left
erana_ then shoots from time to time 18:59
ith the landscape and chance calcs
per landscape, you sitch the behaviour 19:00
19:00 crazik6 joined
erana_ just as nethack generates rooms but ithout the shifting 19:00
19:00 Grum18 left
pmurias erana_: shameen.ddns.net doesn't load 19:00
19:00 p6bannerbot sets mode: +v crazik6 19:01 fake_space_whale left
erana_ http:// 19:01
[Coke] "shameen.ddns.net refused to connect" 19:02
erana_ it works here
no secure line ?
[Coke] connection refused here, 80 & 443
erana_ it should connect on 80
could you interrogate the ddns dns ? 19:03
[Coke] get "no route to host" elsewhere.
217.136.35.
217.136.35.152
erana_ connect to my ip then
port 80 19:04
19:04 crazik6 left 19:06 sotona left
erana_ 217.136.35.152 19:06
right
[Coke] if I'm getting connection refused & no route to host, I'm not clear on how using the IP instead of the host will help. (didn't help)
erana_: who are you working with at the TPF?
erana_ the brussels perl mongers company in cooperation with a VUB ex-professr, ex-vice-rector 19:07
it's called ISIS I believe 19:08
19:08 Failure left
[Coke] ah, that's not TPF, then, that's just the local PM group. 19:08
19:08 offtopik joined
erana_ yes but I have contract from the perl foundation 19:08
19:09 ampelbein_ joined
erana_ I work on perl6, help larry out 19:09
19:09 ampelbein_ left, p6bannerbot sets mode: +v offtopik
erana_ and write ai for him 19:09
I know him personally
I've made some sound software too 19:10
TimToady where do you know larry from?
[Coke] as far as I know, TPF isn't funding anything like that right now. Just want to make sure someone didn't misrepresent themselves as the TPF to you. 19:11
erana_ talking with him, he admins my server
19:11 skelett3 joined 19:12 p6bannerbot sets mode: +v skelett3
TimToady which server is that? 19:12
19:12 offtopik left
erana_ shameen.ddns.net 19:13
TimToady I don't think larry admins that server...
erana_ sure he does, I just manage the uplink
TimToady just to be clear, since "larry" is ambiguous here, you're saying larry wall admins you're server? 19:15
*your
19:16 skelett3 left
erana_ yes, he's on it all the time 19:16
19:16 Zoffix joined, p6bannerbot sets mode: +v Zoffix
TimToady interesting 19:16
Zoffix grabs some popcorn and takes a seat :)
moritz is this some comedy of which I've missed the start?
TimToady where does he log in from?
erana_ his desk or home, I dunno, the Americs 19:17
I live in Belgium 19:18
19:18 psychoslave joined
Zoffix erana_: it's pretty cool that you get to talk to Larry Wall. He's like super famous, innit he? 19:18
erana_ He's my main man
19:18 sotona joined
Zoffix Fancy :) 19:18
19:19 p6bannerbot sets mode: +v psychoslave, p6bannerbot sets mode: +v sotona
erana_ He's one of the friendliest hackers I know 19:19
And he has 4 daughters, I have 2
TimToady hey, what else do you know about larry? we're curious to find out what else you know about him...
Zoffix Well, I hope I'll get to talk to him one day :)
19:20 davidv7 joined
erana_ You shoud go to the european YAPCs 19:20
19:20 domidumont left
Zoffix I thought he's in America somewhere? 19:20
TimToady I've been to one or two
Zoffix :)
19:21 p6bannerbot sets mode: +v davidv7
moritz I've met that Larry guy in Pisa and Riga, iirc 19:21
timotimo TimToady: if you ever meet him, maybe tell us a bit about what he's like
TimToady well, I have met him, but I can't claim to understand him
erana_ I don't mail to him, we just talk over the wire
timotimo "over the wire" sounds so curious 19:22
moritz TimToady: understanding is a tall order for any human, let alone a Larry :)
TimToady wonders how many Larry Walls there actually are in America...
timotimo i imagine it'd have meant using the telephone just a "few" years ago
TimToady erana_: how do you know it's the real Larry Wall and not some other Larry Wall?
erana_ well, he do can admin my machine :-) 19:23
I have loads of crackers to deal with :-)
19:24 davidv7 left
timotimo mhhh salty crackers 19:24
erana_ lol
I am going to port the whole perl thing to the Amigas of these days 19:25
tadzik oh boy, is it Hug o'clock?
sena_kun exactly. :]
erana_ then see what SDL-perl will look like
19:25 pmurias left
TimToady well, personally, I think you should probably do a traceroute on him to find out which Larry Wall he really is, because I have a slight suspicion that your Larry is not our Larry 19:26
19:27 Kiruwa_ joined
tadzik if he deals with crackers on your server maybe that's Fire Wall 19:27
19:27 p6bannerbot sets mode: +v Kiruwa_
diakopter tadzik: rotfl 19:27
erana_ lol 19:28
19:28 pmurias joined, p6bannerbot sets mode: +v pmurias
moritz lol 19:28
diakopter maybe it's the -Warnings all?
tadzik :D
erana_ gcc
19:28 Kiruwa_ left
tadzik I can think of a warning chat could've prevented this funny situation 19:28
s/chat/that/
timotimo this larry is your larry, and this larry is my larry 19:29
from the yapc europe to the yapc asia
erana_ our ?
19:29 foxhunt_away14 joined
Zoffix plottwist: our larry isn't the real Larry :) 19:29
diakopter [Coke]: isn't there a Perl Foundation of Europe that's separate?
Zoffix erana_: one of the people you've spoke to here so far is The Larry Wall.
timotimo this larry was made for you and me
19:30 pecastro joined
tadzik oooh 19:30
19:30 p6bannerbot sets mode: +v foxhunt_away14
tadzik now it's like a murder mystery! 19:30
moritz Zoffix: well, if there are clones, I insist that all of them be considered The Real Larry
tadzik He could be in this very room!
erana_ ah
TimToady should go eat lunch now...
Zoffix :)
diakopter larrylunch++
timotimo walllunch
19:30 p6bannerbot sets mode: +v pecastro
erana_ so diakopter is Larry ? 19:31
moritz let's all eat a [Larry the ]cucumber, shall we?
Zoffix erana_: yup
diakopter *cries
tadzik we have to play the Guess Who thing
moritz or maybe not? hard to tell
erana_ well, I think I owe an apology
diakopter erana_: no, TimToady is.. it's a pun on TIMTOWTDI
erana_ ok
moritz we're all a big collective, and our personalities sometimes smear out a bit :)
erana_ that's a point 19:32
Zoffix erana_: what kind of apology?
diakopter it's just the toadying of TimToady varies dramatically from time to time
timotimo "guess who" reminds me of that piece that combines a snippet from the burger scene of Pulp Fiction with a photo of two people playing "guess who" and one of them has samuel l jacksons head photoshopped onto his shoulders
erana_ well he doesn't accept my mails
Zoffix Ah :) 19:33
19:33 fhats28 joined
diakopter he gets a great many mails 19:33
erana_ but anyway diakfor managing my serv reopter thanks
tadzik timotimo: yes, I didn't want to quote it here :P
but same thing came to my mind
timotimo it uses, unsurprisingly, quite unsavoury language
do they speak english in #what?
tadzik classic Samuel
19:33 foxhunt_away14 left, hexa-28 joined, p6bannerbot sets mode: +v fhats28
diakopter wait now I'm managing a server? 19:34
erana_ lol
19:34 pmurias left
tadzik I heard diakopter also pioneered writing perl 6 games for atari 19:34
19:34 hexa-28 left
tadzik ...as a service 19:34
erana_ that's what was in the contract
diakopter I can't even. right. just now.
19:35 fhats28 left
diakopter not this diakopter 19:35
19:35 dh9 joined
erana_ it's a nice server you know, macos x 10.5 standard webserver 19:36
19:36 p6bannerbot sets mode: +v dh9
Demos[m] any guidence on when to use roles vs inheratance? 19:36
moritz Demos[m]: prefer roles whenever possible 19:37
timotimo Demos[m]: the perl6 denizens tend to suggest roles for code re-use and inheritance for liskov-y things
Zoffix Liskov-y being: en.wikipedia.org/wiki/Liskov_subst..._principle
[Coke] diakopter: not to my knowledge.
timotimo i.e. if one thing is supposed to always be valid when the other also is, inheritance can be better
Demos[m] hmm OK
19:38 andyrock15 joined, trqx24 joined, alexandre909921 joined
Demos[m] from reading the docs it seems the main difference is that roles have better checks for insanity 19:38
moritz aye
timotimo yes, it sometimes forces you to disambiguate
moritz and they can be parameterized (but don't exagerate that)
19:38 p6bannerbot sets mode: +v andyrock15, p6bannerbot sets mode: +v trqx24, p6bannerbot sets mode: +v alexandre909921 19:39 alexandre909921 left
Demos[m] so why even bother with inheratance? 19:40
erana_ anyway thanks for adminning the server :-)
19:40 pmurias joined, p6bannerbot sets mode: +v pmurias, derohero joined
moritz erana_: I don't think anybody in here is aware of admining your server 19:40
Demos[m]: it can still be useful for specializing types
19:41 aholler14 joined
moritz Demos[m]: also, not everybody easily gets into the roles mindset (including myself) 19:41
19:41 p6bannerbot sets mode: +v derohero, andyrock15 left, p6bannerbot sets mode: +v aholler14 19:42 dh9 left, torkil25 joined
Demos[m] hm 19:42
19:42 p6bannerbot sets mode: +v torkil25 19:43 trqx24 left
Demos[m] I guess I've always seen inhearatance and composition as pretty much the same, just from working in C a bunch. 19:43
is there a concrete diference in how the object ends up looking? 19:44
moritz the philosophy behind Perl 6 is more like "inheritance? sure, we can do that", and less like "YOU SHOULDN'T USE INHERITANCE!!!"
Demos[m] in memory/in the low level representation or whatever
19:44 derohero left
moritz not really 19:45
19:45 torkil25 left 19:47 aholler14 left 19:48 atmx2 joined 19:49 p6bannerbot sets mode: +v atmx2, Flannel26 joined 19:50 pmurias left, atmx2 left, p6bannerbot sets mode: +v Flannel26 19:51 khappone23 joined, pmurias joined, p6bannerbot sets mode: +v pmurias 19:52 p6bannerbot sets mode: +v khappone23, Flannel26 left 19:53 TheCycoONE26 joined, Samian11 joined, p6bannerbot sets mode: +v TheCycoONE26, khappone23 left 19:54 p6bannerbot sets mode: +v Samian11
timotimo "multiple inheritance? okay sweetie, be careful out there and call us if you're not coming home for dinner tonight" 19:54
19:55 pmurias left
Demos[m] hehe 19:55
so, do non-multi methods still use the same dispatch mechanisms as multis or is there a seperate vtbl
19:56 TheCycoONE26 left, pmurias joined 19:57 p6bannerbot sets mode: +v pmurias
Demos[m] hm so one difference seems to be if I have roles that use other roles they can't have methods named the same as those other roles, which is probably a good thing 19:57
leont You should think of the method dispatching as a two stage process 19:58
First it finds the proto in the class, and then that delegates to the multis in that class
19:58 Samian11 left 20:02 pumba joined, p6bannerbot sets mode: +v pumba, rindolf left 20:03 Zoffix left 20:05 nebuchadnezzar joined, p6bannerbot sets mode: +v nebuchadnezzar 20:06 pumba left
samcv i'm working on a blog post about my past work implementing various encodings on MoarVM and my current work on the one implementing UTF-16 20:06
20:09 Gargravarr28 joined 20:10 p6bannerbot sets mode: +v Gargravarr28 20:11 Gargravarr28 left
leont samcv++ 20:11
cognominal-p6 zoffix++ for his answer on multis. 20:15
yoleaux 13:35Z <Zoffix> cognominal-p6: in the sub, you're defining an `only`, but in the op you're defining a `multi`. Native types don't get auto-unboxed in multi dispatch, so you either need to give it a native `str` as argument or change to take a Str arguemnt or define a second multi that takes a `Str` argument. m: multi infix:<~~~>(@t, str $s where $s.chars == 3 ) { say 3 }; ['a', 'b'] ~~~ my str $ = '(,)'
20:15 psychoslave left 20:19 rindolf joined
Demos[m] question on mixins: if I mix in a role that "does" another role that's already on the target object what's supposed to happen 20:20
in my code it seems a new role gets mixed in
20:20 p6bannerbot sets mode: +v rindolf 20:24 insurgent_ joined 20:25 p6bannerbot sets mode: +v insurgent_ 20:27 sena_kun left 20:28 insurgent_ left
jnthn Demos[m]: A runtime mixin effectively creates an anonymous subclass, composes the role in to that, and then changes the type of the object to that new anonymous type 20:29
Demos[m]: It's entirely possible to implement "the same" role at multiple levels of the inheritance tree
Demos[m] so I probably want any shared state to be a real base class (with is)? 20:30
jnthn Demos[m]: (Reason for "the same" is because roles are generic on the type they are composed in to, so actually what's composed is a concretization of the role)
Yes, if you have `role R { has $!state }; class C does R { }; class D is C does R { }` then you'd have a $!state in C and in D 20:31
20:33 Asandari4 joined
Demos[m] but if I have `role R { has $state }; role X does R {}; class C does R {}; my $c = C.new(); $c does X? 20:33
diakopter [Coke]: maybe they're thinking of the YAPC Europe Foundation www.yapceurope.org/ 20:34
20:34 p6bannerbot sets mode: +v Asandari4 20:35 robertle left
jnthn Demos[m]: Then that's two different $state attributes 20:36
20:37 Asandari4 left 20:38 Guest18 joined 20:39 p6bannerbot sets mode: +v Guest18
Demos[m] ah OK so I /do/ want is in that case 20:39
diakopter domm: do you know anything about "the brussels perl mongers company in cooperation with a VUB ex-professr, ex-vice-rector" called "ISIS" doing work on "shameen.ddns.net" for the Belgian Perl Mongers and SDL2::Raw games and AI kits in Perl 6
tadzik ...for amiga? 20:40
20:40 Guest18 left
diakopter I thought Belgium got rid of ISIS 20:41
tadzik more like ISN'TISN'T ☜(゚ヮ゚☜)
20:41 Guest18 joined, zxcvz left 20:42 p6bannerbot sets mode: +v Guest18 20:48 sotona left 21:01 patrickb left 21:04 rindolf left
timotimo i'm so mad at the terrorist organization for giving the band such a bad name in the public 21:04
OK now the spammers are just sending random excerpts of one or multiple discussions to screw with me, aren't they 21:05
21:08 atouk joined 21:09 p6bannerbot sets mode: +v atouk 21:10 atouk left
geekosaur to screw with the new spam flters, pretty sure 21:18
timotimo quite possibly, yeah 21:21
hadn't thought of that
would that also have caused the random bytes spam?
21:22 mcmillhj left
Demos[m] is anyone working on gobject-introspection for p6? 21:24
leont That would be quite valuable 21:26
There are gtk bindings, but I suspect they're written the old-fashioned way 21:27
timotimo yeah, they are hand-written
21:28 rindolf joined
leont Having a GIR framework on top of NativeCall would quickly open up that entire ecosystem 21:28
timotimo i wish you didn't have to find the file on disk to properly interface with gobject introspection
21:28 p6bannerbot sets mode: +v rindolf
timotimo well, it's a step up from parsing header files i guess 21:28
geekosaur timotimo, yes. tey're fishing for ways to break the filter 21:29
21:29 HaraldJoerg left 21:35 graphene left 21:36 graphene joined 21:37 p6bannerbot sets mode: +v graphene 21:45 mcmillhj joined 21:46 p6bannerbot sets mode: +v mcmillhj 21:50 mcmillhj left 21:51 mcmillhj joined
samcv post done: cry.nu/perl6/adding-and-improving-...in-moarvm/ 21:52
21:52 p6bannerbot sets mode: +v mcmillhj
samcv if anyone notices any grammar or other improvements please let me know 21:52
notable6: cry.nu/perl6/adding-and-improving-...in-moarvm/
notable6 samcv, I cannot recognize this command. See wiki for some examples: github.com/perl6/whateverable/wiki/Notable
samcv notable6: please note cry.nu/perl6/adding-and-improving-...in-moarvm/
notable6 samcv, Noted!
AlexDaniel weekly: cry.nu/perl6/adding-and-improving-...in-moarvm/ 21:53
notable6 AlexDaniel, Noted!
AlexDaniel notable6: reset please
notable6 AlexDaniel, Moved existing notes to “please_2018-09-26T21:53:16Z”
timotimo heh. 21:55
"they may seem to some as horribly boring and bland" (but people who know them well enough, they are just horrible) 21:56
Demos[m] sorry for all the questions, but is there a quote operator for making IO::Paths 21:57
timotimo there is not, but you can just plop a .IO at the end of any string
jnthn m: say qp/foo/ 21:58
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing required term after infix
at <tmp>:1
------> 3say qp/foo/7⏏5<EOL>
expecting any of:
prefix
term
jnthn I think that was once speculated, but it didn't happen (yet :))
timotimo i'd assume it'd be pretty easy, maybe take :chomp as a template for "how to add some post-processing code to the string processing"
jnthn It's only one letter shorter than "...".IO though :)
22:00 Guest18 left
timotimo jnthn: how likely would you enjoy information from the logged data to show up in the "Before" and/or "After" parts of the bytecode dump as well? 22:00
jnthn timotimo: Not quite sure I follow...you mean from the plan? 22:01
leont timotimo++ # horrible
22:02 jbalint15 joined, jbalint15 left
timotimo some indication inline to the code where logged data was used or maybe where it couldn't be used 22:02
basically transplanting some data from the log section to the "Annotation: Logged" parts 22:03
jnthn timotimo: I'm not immediately sure I've missed having that 22:06
Though could try it of course and see how it looks 22:07
timotimo or just a little vim macro/function/whatever that jumps right from the code to the latest log data :)
maybe open it in a split window, even
samcv timotimo: lol @ " (but people who know them well enough, they are just horrible)
22:07 wmoxam_ is now known as wmoxam 22:08 wmoxam left, wmoxam joined, leguin.freenode.net sets mode: +v wmoxam, p6bannerbot sets mode: +v wmoxam
leont and utf-16 is probably worst outside of email that's still in common use 22:08
I mean, it has all the disadvantages of utf-8, all of the disadvantages of UCS-2, and then a new unique disadvantage that binary sort != codepoint sort 22:09
jnthn samcv++ # great post
Demos[m] wowah what's this community stuff?
some matrix magic?
timotimo i know not what you speak of, so it probably has something to do with matrix 22:10
22:14 pecastro left
samcv jnthn: thanks :) glad you liked it 22:15
Demos[m] yay! perl makes symlinks on windows with SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE 22:17
speaking of: How do I get the target of a symlink 22:19
on windows
and how can I tell if a path is a file symlink, a directory symlink or a junction 22:20
timotimo did you look at the single-letter methods on IO::Path?
those map to stat, but i'm not sure if everything's in there
Demos[m] erm... about stat 22:21
the MSDN docs are unclear about how stat works in this case? 22:23
it's also not clear how windows _stat actually deals with ACLs 22:24
22:25 ngharo8 joined, p6bannerbot sets mode: +v ngharo8 22:28 regreg_ left
Demos[m] I guess I can use resolve??? 22:29
22:30 ngharo8 left
timotimo perl6 tends to not put very OS-specific things into the language, like windows ACLs or linux filesystem extended attributes or something 22:31
that'd be something for modulespace
and a couple of modules for windows stuff would surely be welcome
22:36 sotona joined 22:37 p6bannerbot sets mode: +v sotona 22:41 sotona left 22:43 syntaxman joined, p6bannerbot sets mode: +v syntaxman
Demos[m] Makes sense. I’m also thinking about how gobject introspection would work. Can you write custom reprs? 22:49
timotimo you can, indeed, but you may not have to 22:50
since you can just construct classes at run-time, for example of the CStruct repr
23:00 Adie3 joined, p6bannerbot sets mode: +v Adie3
leont I'm not sure you need much of a custom repr, I though there were accessors and constructors for everything. 23:00
23:04 |oLa| joined, Adie3 left, p6bannerbot sets mode: +v |oLa|
Demos[m] The one thing is gtk’s class init. Which is super important to support composite widget templates 23:07
Also for trying to export gir, but that’s a huge amount of work 23:08
23:15 teratoma14 joined, pmurias left, p6bannerbot sets mode: +v teratoma14 23:16 Quoter joined, p6bannerbot sets mode: +v Quoter 23:17 Quoter left 23:19 teratoma14 left 23:20 lizmat joined, p6bannerbot sets mode: +v lizmat 23:21 leont left 23:27 claris7 joined 23:28 graphene left, p6bannerbot sets mode: +v claris7 23:29 graphene joined 23:30 p6bannerbot sets mode: +v graphene 23:31 claris7 left 23:32 graphene left 23:33 graphene joined 23:34 p6bannerbot sets mode: +v graphene 23:38 gremax7 joined 23:39 p6bannerbot sets mode: +v gremax7 23:43 rindolf left, gremax7 left 23:47 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 23:48 p6bannerbot sets mode: +v aborazmeh 23:50 mattcen23 joined, mattcen23 left 23:53 TC02 joined 23:54 p6bannerbot sets mode: +v TC02 23:56 mani_ joined, p6bannerbot sets mode: +v mani_ 23:57 TC02 left 23:59 regreg_ joined