🦋 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.
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
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: ^^^
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!
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
SmokeMachine m: class P { multi method a {} }; class C is P { multi method a {} }; C.new.a 03:25
camelia ( no output )
Geth ecosystem: gfldex++ created pull request #529:
rename perl6-proc-async-timeout to raku-proc-async-timeout
08:38
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
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.
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 ?
timotimo "a handle" in my opinion, but i'm not a native speaker 10:42
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
moritz ... depending on whether you pronounce it "sequel" or "ess qu ell" 12:07
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
Geth doc: shlomif++ created pull request #3581:
Fix some "an h" broken articulation.
12:18
timotimo in german, "a few eyebrows" would be said with the equivalent of "a couple of eyebrows" 12:56
rindolf timotimo: ah 13:08
timotimo: does german have indefinite articles (a/an)? 13:09
tobs rindolf: it does but only in singular, which makes rephrasing necessary in that case 13:33
rindolf tobs: ah 13:35
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 )
Doc_Holliwood m: say (1 => 3, 2 => 2, 3 => 1).Bag.max 14:30
camelia 3 => 1
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
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.
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
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
Geth ¦ doc: coke self-assigned split spellcheck for code github.com/Raku/doc/issues/2639 20:54
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
tbrowder . 21:27
doc commit 28a156e
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
[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)