🦋 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.
guifa2 lizmat++ for the twitter callout 00:03
00:07 leont_ left 00:12 wamba left 00:31 vike joined 01:17 BenGoldberg left 01:34 BenGoldberg joined 01:52 orinthe left, orinthe joined 01:59 hungryd33 joined, hungrydonkey left 02:00 hungryd33 left 02:01 hungrydonkey joined 02:05 lucasb left 02:06 orinthe left, hungrydonkey left, hungrydonkey joined 02:09 orinthe joined 02:12 hungryd80 joined, hungrydonkey left 02:13 hungrydonkey joined, hungryd80 left 02:17 orinthe left, hungrydonkey left, hungrydonkey joined, orinthe joined 02:18 hungrydonkey left, hungrydonkey joined 02:20 hungrydonkey left, hungrydonkey joined 02:21 hungrydonkey left, hungryd27 joined 02:22 hungrydonkey joined, hungryd27 left 02:23 hungryd46 joined, hungrydonkey left 02:25 hungryd46 left, hungryd1 joined 02:27 orinthe left, orinthe joined 02:28 hungryd1 left 02:30 orinthe left, orinthe joined 02:35 Chi1thangoo left 02:59 guifa2 left 03:03 Manifest0 left 03:05 Manifest0 joined 03:06 mowcat left 03:30 ribasushi left 04:30 linkable6 left, evalable6 left, evalable6 joined 04:32 clarjon1 joined, linkable6 joined 04:35 ribasushi joined 04:58 cpan-raku left 04:59 cpan-raku joined, cpan-raku left, cpan-raku joined 05:27 parabolize left 05:35 Xliff left 05:37 Kaiepi left, Kaiepi joined 06:01 hungrydonkey joined 06:15 BenGoldberg left 06:29 Iolen joined
Iolen Hello all guys, who f*ck alone with own hand ! 06:30
06:32 Iolen left 06:33 hungryd92 joined, hungrydonkey left 06:35 hungryd92 left, hungrydonkey joined 06:36 hungrydonkey left, hungrydonkey joined 06:49 aborazmeh joined, aborazmeh left, aborazmeh joined 07:20 jmerelo joined
Geth advent: 3bc8b8ba3f | (Konstantin Narkhov)++ | raku-advent-2020/drafts
Add my draft to the repo

I have put it to 2nd December, but of course don't mind about another date - just shuffle it as you want :)
07:22
advent: 16933f90dd | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | raku-advent-2020/drafts
Merge pull request #73 from pheix/master

Add my draft to the repo
07:39 aborazmeh left 08:34 stoned75 joined 08:38 phir1 joined
phir1 Good morning, I'm currently learning Raku. How do you load a .raku file called, say, MyClass.raku, in the REPL? 08:39
08:41 sena_kun joined, stoned75 left
hungrydonkey m: run 'date' 08:43
camelia Sun Nov 29 09:43:48 CET 2020
moon-child phir1: rename it MyClass.rakumod and then use 'use MyClass', same as in a regular file 08:47
phir1 @moon-child Thks moon-child. 08:54
Here's my Recipes module. 08:55
class Recipes { method hello() { say "hello from Recipes!"; }}
It's called Recipes.rakumod
Here's my test script called recipes-test.raku :
use Recipes;#my $r = new Recipes;#$r.hello;
If I run "raku recipes-test.raku" in the same dir, I get a message stating that Recipes could not be found. 08:56
08:56 hungrydonkey left
moon-child raku -I. 08:57
08:57 hungrydonkey joined
phir1 works. 08:58
use Recipes;my $r = Recipes.new;$r.hello();
08:58 hungrydonkey left
phir1 Many thanks. 08:58
08:58 hungrydonkey joined 08:59 domidumont joined 09:03 phir1 left 09:06 BenGoldberg joined 09:07 stoned75 joined
Geth doc: 66b96314b0 | (Stoned Elipot)++ | doc/Type/Test.pod6
Use parameter's name in description
09:07
linkable6 Link: docs.raku.org/type/Test
09:11 Xliff joined
Xliff m: class A:ver<3> { method version { 3 } }; class A:ver<4> { method version { 4 } }; say A.new.version 09:12
camelia 5===SORRY!5=== Error while compiling <tmp>
Redeclaration of symbol 'A'.
at <tmp>:1
------> 3{ method version { 3 } }; class A:ver<4>7⏏5 { method version { 4 } }; say A.new.ver
expecting any of:
generic role
Xliff m: class A:ver<3> { method version { 3 } }; say A.new.version
camelia 3
Xliff Is it possible to use two classes of different versions in the same code? If so... how? 09:13
custom Export?
09:22 wamba joined 09:31 hungryd75 joined, hungrydonkey left
Geth doc: 09426ef33f | (Stoned Elipot)++ | doc/Type/Test.pod6
whitepace fix
09:33
linkable6 Link: docs.raku.org/type/Test
09:40 BenGoldberg left 09:53 hungrydonkey joined, hungryd75 left 09:55 hungrydonkey left 10:06 grondilu joined 10:43 Sgeo left 10:48 aborazmeh joined, aborazmeh left, aborazmeh joined 10:54 grondilu left 10:59 sjm left 11:00 Black_Ribbon left 11:34 aborazmeh left 12:02 grep0r joined, grep0r left 12:11 Altai-man joined 12:13 sena_kun left 12:14 ecocode` joined 12:20 patrickb joined
patrickb o/ 12:20
I'd like to put some logos of companies using raku on raku.org 12:21
lizmat patrickb: excellent idea 12:22
patrickb codesections: Do you know what the legal requirements for putting the logo of some company on the website is? Do the companies have to fromally approve?
tellable6 patrickb, I'll pass your message to codesections
patrickb ctilmes: Am I right in assuming that you are using Raku at NASA? Are you OK with us putting a NASA logo on raku.org? Can you find out if NASA is fine with us doing so? 12:25
tellable6 patrickb, I'll pass your message to ctilmes
patrickb Altai-man: Do you think it's OK to put a Edument logo on raku.org?
Does anyone know how to reach someone of Oetiker & Partner? (Fritz Zauker?) I'm unsure if anyone is on IRC... 12:27
nine: Do you think it's fine to put the logo of your company on raku.org? 12:28
12:28 sjm joined
patrickb There are for sure more people in more companies using Raku. Can you speak up if you're willing to get your company logo on raku.org? 12:29
jmerelo: I'd like to put the logos of some companies / institutions using raku on raku.org. Do you think your university would be a good fit? 12:30
12:31 aborazmeh joined, aborazmeh left, aborazmeh joined, BenGoldberg joined
patrickb moritz: I'd like to put the logos of some companies / institutions using raku on raku.org. Do you think Noris networks would be a fit? (Do you use Raku to an extent justifying such a claim?) 12:32
patrickb is away for a bit.
Xliff Question: Why are coercions executed in the dispatch before subsets? 12:36
m: subset IntegerStr where Int | Str; multi sub a (IntStr $arg) { say 'IntStr' }; multi sub a (Num() $arg) { say 'Num' }; a('Hi'); a(42); a(pi)
camelia Num
Num
Num
Xliff IntStr is more restrictive than Num(), right?
lizmat Xliff: not sure, maybe create an issue over it now the new coercion logic is still freshly baked ? 12:37
Xliff lizmat: Sure thing. 12:40
I think I have the behavior I am expecting spec'd out. Should I include that in the write-up? 12:41
And I think this might be more dispatch than coercion related.
lizmat: On the off chance, do you know where dispatch ordering is handled? 12:42
lizmat not without having to go look for it
nine patrickb: sure 12:44
Xliff lizmat: Fair enough. Hope it's in one place.
github.com/rakudo/rakudo/issues/4074 12:48
12:52 sjm_uk joined 13:00 leont joined
cpan-raku New module released to CPAN! eigenstates (0.0.4) by 03ELIZABETH 13:02
Altai-man patrickb, re Edument - I am sure you can talk with jnthn about this. 13:11
13:13 BenGoldberg left 13:21 lucasb joined
nine </win 10 13:30
13:47 BenGoldberg joined 13:50 aborazmeh left
Xliff nine: ? 13:54
13:57 stoned75 left
timotimo just a typo 13:57
14:00 domidumont left 14:13 ctilmes joined
ctilmes patrickb: NASA is pretty strict about not using the logo to endorse anything: www.nasa.gov/multimedia/guidelines/index.html 14:14
tellable6 2020-11-29T12:25:12Z #raku <patrickb> ctilmes: Am I right in assuming that you are using Raku at NASA? Are you OK with us putting a NASA logo on raku.org? Can you find out if NASA is fine with us doing so?
El_Che I would be careful with logo's as they suggest enforcement and even a financial one 14:16
timotimo endorsement you mean? 14:17
14:18 kensanata joined 14:22 stoned75 joined
El_Che hehe 14:23
yes
Geth doc/master: 4 commits pushed by (Stoned Elipot)++ 14:44
Xliff How can I lookup all of the methods in a class inheritance tree, particularly methods that have been overloaded.
Particularly, how can I call the overloaded method of a superclass? 14:45
timotimo you can go through the .^mro and do .^find_method on all of them for your method name 14:48
stoned75 or may be ^methods 14:50
Xliff Ah. I was hoping that was not the case.
timotimo what does .^can and .^cando return? 14:51
Xliff .^can only returns 1 method
LOL! I forgot the inheritance tree. 14:53
Now .^can returns the proper number of elements.
self.<superclass name>::method 14:55
timotimo yeah, if you have the class name as a literal in your code 14:56
but there's also a self.invoke:<::> or something that does this 14:57
Xliff OK. How would that work? 15:00
I can also do self.^mro[1].?<methodname>
I'm thinking method SUPER { self.^mro.grep( .HOW ~~ ClassHow )[1] } 15:01
Err...
I'm thinking method SUPER { self.^mro.grep( .HOW ~~ ClassHOW )[1] }
15:02 aborazmeh joined, aborazmeh left, aborazmeh joined
timotimo │ │ - QAST::Op(callmethod dispatch:<::>) \"hi\" 15:02
Xliff Hmmm...
timotimo pass the invocant, the name of the method, the type, and then any other arguments
Xliff Scratch that. Retuns a type object.
15:07 sjm_uk left 15:08 Chi1thangoo joined 15:11 mowcat joined, ctilmes left, ctilmes joined 15:14 ctilmes left 15:34 parabolize joined
patrickb ctilmes: OK. I guess nasa is out then. 15:40
tellable6 patrickb, I'll pass your message to ctilmes
patrickb ctilmes: Thanks for the info though!
tellable6 patrickb, I'll pass your message to ctilmes
15:45 mowcat left 15:46 wamba left 15:50 aborazmeh left
tbrowder patrickb: where on the website are you placing such data as you wanted with nasa? 16:04
patrickb tbrowder: I haven't thought about that yet. I first want to find out if a usable number of companies shows up and people are in general ok with the change. 16:06
tbrowder: My first thought would be on the start page at the bottom (but above the footer). 16:07
tbrowder patrickb: holidayapi.com advertises a raku interface to its api
16:12 sena_kun joined
sena_kun tbrowder, the module is virtual, though, no? It is just a description on how to do a manual query with strings, without actual API provided. 16:13
16:13 Altai-man left
patrickb tbrowder: They actually don't have a raku API. It's just a 20 line example of raku code using HTTP::UserAgent of how to access their API: github.com/joshtronic/perl6-holidayapi 16:13
sena_kun beat me to it :-) 16:14
sena_kun for Holiday::Client.new(:key<hehe>, :country<haha>).list(:pretty) -> $holiday { say $holiday.blah } 16:15
16:18 morayj joined
sena_kun dreams about builtin deepclone 16:19
16:21 kensanata left 16:24 wamba joined 16:26 kensanata joined 16:29 morayj left 16:30 Xliff left 16:33 kensanata left 16:43 kensanata joined 16:48 b2gills left
Geth doc/test-rephrasing: c0d2ce871e | (Stoned Elipot)++ | doc/Type/Test.pod6
Rephrase descriptions

  ... to untie them from the parameters' names
16:52
doc: stoned++ created pull request #3713:
Rephrase descriptions
doc: 2f29a47f61 | (Stoned Elipot)++ (committed by Juan Julián Merelo Guervós) | doc/Type/Test.pod6
Rephrase descriptions

  ... to untie them from the parameters' names
17:03
linkable6 Link: docs.raku.org/type/Test
17:04 kensanata left
Geth doc: 311a4efbf2 | (Stoned Elipot)++ | doc/Type/Test.pod6
Add missing comma
17:13
linkable6 Link: docs.raku.org/type/Test
17:14 domidumont joined 17:16 b2gills joined
stoned75 eval: my num @nums .=new():shape(3;3;3); 17:20
evalable6 (signal SIGSEGV)
stoned75 is that expected ?
17:24 xinming_ left 17:25 xinming_ joined 17:28 domidumont left 17:34 domidumont joined 17:35 xinming_ left, xinming_ joined 17:39 guifa joined
guifa o/ 17:48
17:50 sena_kun left
MasterDuke stoned75: the only time segvs are allowed to be expected is if you're doing something wrong with nativecall. anytime else feel free to create an issue 17:56
bisectable6: my num @nums .=new():shape(3;3;3);
bisectable6 MasterDuke, Will bisect the whole range automagically because no endpoints were provided, hang tight
MasterDuke, Output on all releases: gist.github.com/4428e43178e9571015...afff6a4b9e 17:57
MasterDuke, Bisecting by exit signal (old=2018.04.1 new=2018.05). Old exit signal: 0 (None)
MasterDuke, bisect log: gist.github.com/8ca5a4e47d000cabb6...74c8563881
MasterDuke, (2018-05-08) github.com/rakudo/rakudo/commit/09...04dac1f1a7
MasterDuke, Bisecting by output (old=2018.03 new=2018.04.1) because on both starting points the exit code is 1
MasterDuke, bisect log: gist.github.com/a74510889b93feb2e6...4108178124
MasterDuke, (2018-04-08) github.com/rakudo/rakudo/commit/40...2b22cbe92a
MasterDuke, Bisecting by output (old=2017.05 new=2017.06) because on both starting points the exit code is 1
MasterDuke, bisect log: gist.github.com/8d1bc29667a9805f49...6506b5bb16 17:58
MasterDuke, (2017-05-26) github.com/rakudo/rakudo/commit/c4...4439bab3db
MasterDuke, Bisecting by output (old=2017.02 new=2017.03) because on both starting points the exit code is 1
MasterDuke, bisect log: gist.github.com/b4cbfecd45b6e27783...6ee21e282d
MasterDuke, (2017-03-04) github.com/rakudo/rakudo/commit/3b...91f257ef0d
MasterDuke, Output on all releases and bisected commits: gist.github.com/e0d9e23cd18f3c3e0a...b7e63ee6e0 17:59
17:59 aluaces left 18:23 sjm left
Geth advent: jjatria++ created pull request #74:
Add draft of Timer::Stopwatch article
18:23
JJAtria[m] ^ Comments on my draft very much welcome: gist.github.com/jjatria/62b570f9fb...b8afaf5d6f 🙇
tellable6 2020-11-28T08:15:00Z #raku <jmerelo> jjatria thanks!
18:25 sjm joined 18:27 pecastro joined 18:38 sjm left, sjm joined 18:42 skids joined 18:43 BenGoldberg left
guifa jjatria: oh God 18:54
the time puns are going to be awful this year
guifa is writing his on time too
cpan-raku New module released to CPAN! Gnome::N (0.18.1.2) by 03MARTIMM
JJAtria[m] I can never have enough puns. Gimme moar!
guifa mine are more…. references. I think all but one of my section titles are doctor who refs 18:55
JJAtria[m] guifa: I hope we don't overlap? I sort of changed the topic of mine at the last minute :/
guifa No, not at all
Mine is on adding timezone support to DateTime
JJAtria[m] Nice. I'm glad I remove my "Raku is an inverse TARDIS" comment then :)
guifa haha no
keep it
but yeah, I’m basically showing off how to extend a built in class with global (and retroactive!) effect 18:56
18:57 sena_kun joined
JJAtria[m] Ooh, interesting. Sounds like the kind of scissors you shouldn't run with 18:58
18:58 Sgeo joined
lizmat wonders whether JJAtria[m] has seen github.com/rakudo/rakudo/pull/4060 18:58
jmerelo JJAtria[m]: I'm on it. 18:59
JJAtria[m] lizmat: Oh, interesting. I hadn't seen it, but I think I had seen a related commit recently maybe? 19:01
guifa I can’t imagine many other use cases except for mucking with DateTime and Date which were given inherent limitationsm to a Gregorian and non-daylight-time-based calendar system in the interest of not needing to update Raku every few weeks
JJAtria[m] I wonder whether this will mean my code becomes simpler or obsolete :P
lizmat JJAtria[m]: the related commit was increasing the sensitivity of Supply.batch(:seconds) to milliseconds instead of seconds
I'm not sure... but the journey is always interesting and educational ? 19:02
JJAtria[m] lizmat: Oh, for sure. I think writing that module taught me a lot about some of these types (which is what I close that post with) 19:03
guifa JJAtria[m]: I always feel after each new module that I write that I learn something that could vastly improve several other modules that I’ve written 19:05
Geth advent: f893b6602b | (Moritz Lenz)++ | raku-advent-2020/local-drafts/moritz-declarative-apis.md
Declarative APIs: address feedback from @JJ++
19:09 kensanata joined 19:18 cpan-raku left 19:21 cpan-raku joined, cpan-raku left, cpan-raku joined 19:31 domidumont left 19:37 eseyman left 19:45 eseyman joined
stoned75 :q 19:51
cpan-raku New module released to CPAN! Gnome::GObject (0.16.15) by 03MARTIMM 19:57
jmerelo It's that time of the year... raku-advent.blog/2020/11/29/its-th...-the-year/ 20:00
jmerelo goes AFK
20:01 jmerelo left 20:06 simcop2387 left 20:11 Altai-man joined 20:14 kensanata left, sena_kun left 20:16 simcop2387 joined 20:27 dataangel joined 20:28 Chi1thangoo is now known as jmchael 20:31 tobs left 20:32 tobs joined 20:38 aluaces joined 20:41 ecocode` left 20:43 kensanata joined
moritz ohm, does anybdoy know how to get back to the classic wordpress editor? 21:03
leont Need some opinions on Getopt::Long error message: "No argument given for option foo" or "No argument given for option --foo"
moritz the latter 21:04
perryprog The latter 21:07
Another alternative could be "The argument --foo requires a value but none was specified", stealing from Rust 21:08
moritz that would be even clearer, yes
guifa ++ for the rust one 21:09
Technically —foo is the option, you just haven’t provided a value to go along with it
err
—foo is the argument, I mean
perryprog As far as I know, I don't think there's any rigorous terminology for each portion of a long flag. 21:11
21:12 _ramix_ joined
moritz option sounds righter 21:24
(as long as it's optional :D )
21:35 BenGoldberg joined 21:41 ajdplaysalto joined 21:58 aindilis left 22:08 BenGoldberg left 22:22 leont left, aindilis joined 22:33 patrickb left 22:42 Altai-man left 22:48 ajdplaysalto left 22:51 kensanata left
Geth advent: 776907a9bf | (Ramiro Encinas)++ (committed using GitHub Web editor) | raku-advent-2020/authors.md
Update authors.md
23:11
23:17 _ramix_ left