🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:12 Noisytoot left 00:13 Noisytoot joined 00:19 Noisytoot left 00:31 hlafarge left 00:34 zacts joined 00:38 yuplushi left 00:40 terminatorul left
gfldex SmokeMachine: I don't think you can, they are auto generated. see: github.com/rakudo/rakudo/blob/e1ce...tainer.nqp 00:44
SmokeMachine: it needs to implement is_dispatcher see: github.com/rakudo/rakudo/blob/e1ce...tchers.nqp
01:04 thundergnat joined
thundergnat m: class P { }; my $p = P.new; $p.^add_method('photo', my method photo { say 'Click!' }); $p.^compose; $p.photo; 01:04
camelia Click!
thundergnat SmokeMachine: ^^^
01:06 thundergnat left 01:07 thundergnat joined
thundergnat Or maybe you want to add the method to the class, not an instance... 01:08
m: class P { }; P.^add_method('photo', my method photo { say 'Click!' }); P.^compose; my $p = P.new; $p.photo;
camelia Click!
01:08 thundergnat left 01:10 dogbert11 joined 01:12 dogbert17 left
Geth ecosystem: 2e7c49bb59 | thundergnat++ (committed using GitHub Web editor) | META.list
Add FixedInt to the ecosystem

Unsigned fixed sized Integers in Rakudo See github.com/thundergnat/FixedInt
01:13
01:35 zacts left 01:38 yuplushi joined 01:44 aborazmeh left 01:46 gnufr33dom joined 01:47 lucasb left 02:28 Cabanossi left 02:30 Cabanossi joined 02:31 moony joined 02:47 approaching236 left
SmokeMachine m: class P { multi method a {} }; class C is P { multi method a {} }; C.new.a 03:25
camelia ( no output )
03:50 linkable6 joined, evalable6 joined 03:55 dogbert17 joined 03:59 dogbert11 left 04:18 rindolf joined 04:37 MilkmanDan left, MilkmanDan joined 04:58 andrzejku joined 05:11 Cabanossi left 05:19 leont left 05:21 Cabanossi joined 05:22 dogbert11 joined 05:24 dogbert17 left 05:27 zacts joined 05:59 Kaiepi joined 06:09 Kaiepi left, Kaiepi joined 06:10 Kaiepi left, Kaiepi joined 06:12 gnufr33dom left 06:38 wamba joined 06:42 dogbert11 left 06:44 dogbert11 joined 06:49 skids joined 06:50 tigerpaws left, tigerpaws joined 07:04 zxcvz joined 07:13 dogbert17 joined, cpan-raku left 07:14 dogbert12 joined, cpan-raku joined, cpan-raku left, cpan-raku joined 07:15 dogbert12 left, dudzHat joined, dogbert11 left 07:16 skids left, dogbert12 joined 07:17 dogbert12 left 07:18 dogbert12 joined, dogbert17 left, Guest12875 is now known as aluaces 07:27 dogbert17 joined 07:28 dogbert11 joined 07:29 dogbert12 left, dogbert11 left 07:30 dogbert11 joined 07:32 abraxxa left 07:33 dogbert17 left 07:38 dogbert11 left 07:54 bocaneri is now known as Sauvin 07:59 andrzejku left 08:03 abraxxa joined 08:06 dogbert11 joined 08:07 andrzejku joined 08:09 sena_kun joined 08:16 dogbert17 joined 08:17 ChoppedBacon left 08:18 elcaro joined 08:19 ChoppedBacon joined 08:21 dogbert11 left 08:22 dogbert11 joined, abraxxa left 08:23 dogbert17 left 08:24 abraxxa joined 08:25 Grinnz left, zostay left, spycrab0 left, kawaii left, peteretep left 08:27 dogbert17 joined, wamba left, kawaii joined 08:28 Grinnz joined 08:30 mithaldu_ joined 08:31 peteretep joined, dogbert11 left 08:32 zostay joined, spycrab0 joined 08:33 andrzejku left
Geth ecosystem: gfldex++ created pull request #529:
rename perl6-proc-async-timeout to raku-proc-async-timeout
08:38
08:47 finanalyst joined 08:55 Black_Ribbon left 08:58 wamba joined
cpan-raku New module released to CPAN! LibUSB (0.0.3) by 03GARLANDG 09:08
New module released to CPAN! Hash::Agnostic (0.0.5) by 03ELIZABETH
New module released to CPAN! Array::Agnostic (0.0.7) by 03ELIZABETH
New module released to CPAN! Hash::Agnostic (0.0.6) by 03ELIZABETH
New module released to CPAN! Trait::Traced (0.4.3) by 03KAIEPI 09:09
New module released to CPAN! HTML::Canvas::To::PDF (0.0.4) by 03WARRINGD
New module released to CPAN! HTML::Canvas (0.0.11) by 03WARRINGD
New module released to CPAN! LibXML (0.5.9) by 03WARRINGD 09:10
New module released to CPAN! HTML::Canvas (0.0.10) by 03WARRINGD
New module released to CPAN! JSON::Fast (0.15) by 03TIMOTIMO
New module released to CPAN! Gnome::GObject (0.16.10) by 03MARTIMM
New module released to CPAN! Gnome::Gtk3 (0.29.1.2) by 03MARTIMM
New module released to CPAN! Games::Maze (0.0.1) by 03MANWAR
New module released to CPAN! Sparrow6 (0.0.27) by 03MELEZHIK
New module released to CPAN! Sparrow6 (0.0.26) by 03MELEZHIK
09:26 pecastro joined 09:27 n0xff joined, n0xff left, wamba left 09:33 Kaiepi left 09:34 Kaiepi joined 09:35 Kaiepi left, Kaiepi joined 09:42 Kaiepi left 09:46 Kaiepi joined 09:50 Sgeo left 09:54 dogbert11 joined 09:58 dogbert17 left 10:10 dudzHat is now known as dudz, dudz left, dudz joined
Geth ecosystem: 9f13f6feb2 | (Wenzel P. P. Peppmeyer)++ (committed using GitHub Web editor) | META.list
rename perl6-proc-async-timeout to raku-proc-async-timeout
10:11
ecosystem: 25ed62f02f | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #529 from gfldex/patch-6

rename perl6-proc-async-timeout to raku-proc-async-timeout That is correct.
  github.com/ugexe/zef/blob/4ad1fbba...ms.pm6#L79
OK, I'll try to patch Test::META to take care of that.
10:20 dogbert17 joined 10:22 dogbert11 left
Geth ecosystem/master: 4 commits pushed by (JJ Merelo)++ 10:33
rindolf [english grammar q] is it "a handle" or "an handle": docs.raku.org/type/IO::Handle ?
10:36 leont joined 10:38 Altai-man joined 10:40 sena_kun left
timotimo "a handle" in my opinion, but i'm not a native speaker 10:42
10:46 JJMerelo joined 10:47 finanalyst left 10:48 marcusr left, AlexDaniel joined, AlexDaniel left, AlexDaniel joined 10:50 marcusr joined 11:23 JJMerelo left 11:26 abraxxa left
moritz "a handle", because the h is actually pronounced 11:45
rindolf moritz: ah, i can try pull-reqqing it 11:56
MasterDuke a/an is interesting because yes, it's chosen based on the *pronunciation* of the next word, not the spelling of the next word. so both "a SQL ..." and "an SQL ..." are correct 12:00
12:03 dakkar joined 12:07 dogbert11 joined
moritz ... depending on whether you pronounce it "sequel" or "ess qu ell" 12:07
12:07 dogbert17 left
MasterDuke yep 12:08
rindolf MasterDuke: i noticed that in english "it raised few eyebrows" means something different than "it raised a few eyebrows". in hebrew, we only have "the" but not "a/an" so we use different phrasing for that. i think Slavic languages don't have "the" either 12:09
12:09 dogbert17 joined 12:10 dakkar left 12:13 dogbert12 joined, dogbert11 left 12:15 dogbert11 joined 12:17 dogbert17 left, dogbert12 left
Geth doc: shlomif++ created pull request #3581:
Fix some "an h" broken articulation.
12:18
12:36 molaf joined 12:54 dogbert17 joined
timotimo in german, "a few eyebrows" would be said with the equivalent of "a couple of eyebrows" 12:56
12:56 dogbert11 left 13:06 _jrjsmrtn left, __jrjsmrtn__ joined
rindolf timotimo: ah 13:08
timotimo: does german have indefinite articles (a/an)? 13:09
13:21 aborazmeh joined, aborazmeh left, aborazmeh joined
tobs rindolf: it does but only in singular, which makes rephrasing necessary in that case 13:33
rindolf tobs: ah 13:35
13:38 zacts left 13:53 wamba joined 13:56 wamba left 13:57 dogbert11 joined 13:58 dogbert17 left 14:08 aborazmeh left, dogbert11 left 14:09 dogbert11 joined 14:19 tigerpaws_ joined 14:22 tigerpaws left, tigerpaws_ left, tigerpaws joined 14:27 Doc_Holliwood joined
Doc_Holliwood m: say (1,1,1,2,2,3).Bag.max 14:28
camelia 3 => 1
Doc_Holliwood docs for max: coerces the invocant to Iterable and returns the numerically largest element; in the case of Hashes, the Pair with the highest value.
that's contradicting, isn't it?
according to the docs that should return 1 => 3 14:29
m: (1 => 3, 2 => 2, 3 = 1).Bag.max 14:30
camelia Cannot modify an immutable Int (3)
in block <unit> at <tmp> line 1
Doc_Holliwood m: (1 => 3, 2 => 2, 3 => 1).Bag.max
camelia ( no output )
14:30 zacts joined
Doc_Holliwood m: say (1 => 3, 2 => 2, 3 => 1).Bag.max 14:30
camelia 3 => 1
14:39 sena_kun joined 14:40 Altai-man left 14:41 wamba joined 14:50 andrzejku joined 14:54 dogbert17 joined 14:55 zacts left 14:58 dogbert11 left
lizmat Doc_Holliwood: looks like it is consistent with hash: 15:03
m: dd {1 => 3, 2 => 2, 3 => 1}.max
camelia "3" => 1
lizmat aka, it's comparing "keys" rather than values 15:04
m: dd 1 => 3 cmp 3 => 1
camelia 1 => Order::Same => 1
lizmat m: dd (1 => 3) cmp (3 => 1)
camelia Order::Less
lizmat m: dd (1 => 3, 2 => 2, 3 => 1).Bag.maxpairs 15:05
camelia (1 => 3,).Seq
lizmat Doc_Holliwood ^^^ maybe that's what you're after ?
Doc_Holliwood maxpairs returns a Seq 15:07
i'd like max to behave as documented to be honest
15:08 Doc_Holliwood is now known as HrBollermann 15:27 MilkmanDan left 15:28 MilkmanDan joined 15:36 wamba left 15:41 gnufr33dom joined 15:57 skids joined 16:05 Sgeo joined 16:07 wamba joined 16:10 lucasb joined, terminatorul joined 16:11 JJMerelo joined
terminatorul Hello ! 16:13
JJMerelo hey!
terminatorul Is there a way to create an Encoding::Decoder and Encoding::Encoder ?
JJMerelo terminatorul good question. Off the top of my head... Yes, there should be. But then I seem to remember there was some problem with them. Let me check. 16:14
terminatorul Or how do I add an encoding for Windows active code page in Encoding::Registry ? 16:15
JJMerelo terminatorul that's where I think the problem was. Still searching...
terminatorul checking this...github.com/rakudo/rakudo/issues/1964 16:16
[Coke] "raised a few eyebrows" vs. "raised few eyebrows" - the latter implies that fewer people cared. 16:18
tellable6_ 2020-08-23T10:47:45Z #raku-dev <JJMerelo> [Coke] no problem. Thanks.
JJMerelo terminatorul That class just lists the available encodings. I think that other encodings need to be hard-coded into the compiler. 16:19
terminatorul so it's probably best if you raise an issue.
terminatorul Ok 16:20
[Coke] (english is so weird) 16:22
Geth doc: efc84d9949 | (Shlomi Fish)++ (committed using GitHub Web editor) | 2 files
Fix some "an h" broken articulation. (#3581)

The h is not silent so it is "a h\w+".
See en.wikipedia.org/wiki/English_articles .
  > We should probably have a test for this kind of things, even if unfrequent.
16:24
linkable6 DOC#3581 [closed]: github.com/Raku/doc/pull/3581 Fix some "an h" broken articulation.
terminatorul Wow ... 1K issues in github 16:25
JJMerelo terminatorul yep, there are quite a few. So many issues, so little time...
terminatorul Would you be interested in a PR to add NativeCall specific exceptions like X::NotFound::Library and X::NotFound::LibrarySymbol ? 16:26
Instead of the AdHoc ones used now ?
JJMerelo terminatorul hard to say, and it hardly matters what I'm interested in. 16:27
terminatorul but in this case it's about new classes added to core, so it's probably best if you discuss it first in the problem-solving repo.
16:32 andrzejku left
JJMerelo I'm about to publish the (apparently) annual user survey 16:33
... I mean to the wide public. Please answer it, and at the same time test-drive it for possible flaws docs.google.com/forms/d/e/1FAIpQLS...Q/viewform 16:36
Well... docs.google.com/forms/d/e/1FAIpQLS...Q/viewform 16:37
16:43 JJMerelo left 16:47 samcv joined 16:49 samcv left 16:50 samcv joined 16:53 JJMerelo joined 17:10 orinthe left, orinthe joined
Geth ¦ problem-solving: holli-holzer assigned to jnthn Issue .max on Hashes and Bags sorts on keys instead of values. github.com/Raku/problem-solving/issues/221 17:21
17:22 wamba left 17:28 finanalyst joined 17:29 dataange` joined 17:32 dogbert11 joined 17:33 dataangel left, dataangel joined 17:36 dogbert17 left, dataange` left 17:37 dataange` joined, dataange` left 17:38 dataangel left 17:45 zacts joined 17:46 JJMerelo left 17:47 dogbert17 joined 17:51 dogbert11 left 17:59 natrys joined 18:01 kensanata joined 18:07 zacts left 18:35 andrzejku joined 18:38 Altai-man joined 18:41 sena_kun left 18:58 dataangel joined 19:08 gordonfish left 19:25 dogbert11 joined 19:29 dogbert17 left 19:36 zacts joined, tigerpaws left, tigerpaws joined 19:38 dogbert17 joined 19:40 dogbert11 left 19:43 dogbert11 joined, dogbert11 left, dogbert11 joined 19:44 dogbert17 left 19:45 wamba joined 19:48 dogbert17 joined, dogbert17 left 19:49 dogbert17 joined 19:50 dogbert11 left 19:51 MilkmanDan left 19:54 andrzejku left 19:56 patrickb joined 20:09 patrickb left, dogbert17 left 20:13 dogbert17 joined 20:14 Black_Ribbon joined, dogbert11 joined 20:18 dogbert17 left 20:22 aluaces left 20:27 gnufr33dom left 20:30 MilkmanDan joined 20:35 epony left 20:36 eiro joined 20:44 ddd joined, ddd is now known as Guest98069
Geth ¦ doc: coke self-assigned split spellcheck for code github.com/Raku/doc/issues/2639 20:54
21:02 kensanata left 21:13 wingfold joined 21:15 wingfold left 21:18 rindolf left 21:22 dogbert17 joined
tbrowder hi, 21:23
.tell jjmerelo my doc issue #3554 was fixed with a commit to master on 12 aug and i don't see it in the online docs. what did i do wrong? 21:26
tellable6_ tbrowder, I'll pass your message to JJMerelo
21:27 dogbert11 left
tbrowder . 21:27
doc commit 28a156e
21:28 cpan-raku left 21:29 cpan-raku joined, cpan-raku left, cpan-raku joined 21:30 gnufr33dom joined 21:36 dogbert11 joined 21:40 dogbert17 left 21:41 kawaii left 21:42 lucasb left 21:44 spycrab0 left, mithaldu_ left, lucasb joined, peteretep left, spycrab0 joined 21:45 lucasb left, mithaldu_ joined, Grinnz left, ponbiki joined 21:46 kawaii joined, cooper joined, peteretep joined 21:48 kawaii left 21:49 zacts left, ponbiki left, zacts joined 21:50 kawaii joined, lucasb joined 21:51 Grinnz joined 21:56 gnufr33dom left 21:59 gnufr33dom joined 22:00 gnufr33dom left 22:02 Guest98069 left 22:04 cooper left, gnufr33dom joined 22:05 natrys left, epony joined 22:24 timlegge joined 22:26 zacts left 22:39 sena_kun joined, wamba left 22:40 Altai-man left 22:41 cooper joined 23:13 yuplushi left 23:21 dogbert17 joined 23:25 dogbert11 left 23:32 pecastro left
elcaro eqv doesn't do dynamic comparisons, cmp does 23:42
oops... ignore that... was just the last message in my history 23:43
[Coke] working on splitting the doc aspell test into code blocks and descriptive text (so fewer "code" "words" can sneak into the text)... rewrote the tests as a supply/tap and it is SO much faster. 23:51
23:53 dogbert11 joined
[Coke] github.com/Raku/doc/blob/master/xt/aspell.t#L63 - can someone tell me what the first s/// in there is doing? (the BEGIN is adding a ! at the top fo the file, the last s/// is prepending each line with a ^ 23:53
(it's perl5)
23:56 dogbert17 left