🦋 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:07 sena_kun joined 00:09 Altai-man_ left 00:16 caterfxo joined 00:17 orinthe left, orinthe joined 00:27 vrurg_ joined, jargan joined 00:28 nebuchad` joined 00:29 bartolin_ joined, TimToady_ joined 00:30 webstran- joined, timo joined, jargan is now known as jast 00:31 perryprog_ joined, protium left, xi left, klapperl left, rjbs left, timo is now known as Guest88981, xi- joined, protium joined, broquain1 joined, ptrcmd_ joined 00:32 klapperl joined, tinita_ joined, xinming joined 00:33 veesh_ joined 00:34 [Coke] left, webstrand left, vrurg left, TimToady left, bartolin left, broquaint left, veesh left, ptrcmd left, nebuchadnezzar left, timotimo left, jdv79 left, xinming_ left, tinita left, perryprog left, rjbs- joined, [Coke] joined, webstran- is now known as webstrand, [Coke] left, [Coke] joined, veesh_ is now known as veesh 00:36 orinthe left, orinthe joined 00:37 jdv79 joined 00:47 aborazmeh joined, aborazmeh left, aborazmeh joined 00:48 pecastro left 01:21 Xliff joined 01:37 markong left 01:42 aborazmeh left 01:58 Xliff left 02:06 dogbert11 left, Altai-man_ joined 02:08 sena_kun left 02:10 mowotter left, aborazmeh joined, aborazmeh left, aborazmeh joined 02:19 aborazmeh left 02:59 molaf left 03:12 molaf joined 03:20 [Sno] joined, vike1 joined 03:21 NODE left, CoderPuppy joined 03:22 eythian_ joined, eythian_ left, eythian_ joined, dustinm`_ joined, NODE joined 03:23 Gruber joined, avarab joined, avarab left, avarab joined, klapperl_ joined, [ptc]_ joined, m_athias2 joined, NODE left, jdv79_ joined 03:24 telex left, telex joined 03:25 NODE joined 03:26 mojca_ joined 03:28 bdju_ joined, jdv79 left, klapperl left, sno left, cpup left, vike left, bdju left, m_athias left, dustinm` left, TreyHarris left, El_Che left, [ptc] left, kubrat left, eythian left, avar left, Grrrr left, grumble left, tadzik left, mojca left 03:29 grumble joined 03:31 El_Che joined, kubrat joined 03:34 TreyHarris joined 03:36 tadzik joined 03:39 xinming left 03:41 xinming joined 03:56 Sgeo left 03:57 Sgeo joined 04:07 sena_kun joined 04:08 Altai-man_ left 04:10 camelCaser left 04:12 camelCaser joined 04:28 xinming left 04:29 xinming joined 04:38 NODE left 04:41 NODE joined 04:52 vike1 left
AlexDaniel m: say 42 04:56
camelia 42
05:05 kst joined 05:17 wamba joined 05:21 sauvin joined 05:23 vike1 joined 05:28 mojca_ left 05:29 mojca joined 05:48 ensamvarg left 06:06 Altai-man_ joined 06:09 sena_kun left 06:10 MasterDuke left 06:16 MasterDuke joined 06:33 Doc_Holliwood joined 06:39 wamba left 06:54 NODE left 06:55 Benett left 06:57 Benett joined 07:02 NODE joined 07:30 bdju_ left, bdju joined 07:43 [ptc]_ left, [ptc] joined 07:44 Doc_Holliwood left 07:45 cpan-raku left, cpan-raku joined, cpan-raku left, cpan-raku joined 07:50 aborazmeh joined, aborazmeh left, aborazmeh joined 07:56 domidumont joined 08:00 rindolf joined 08:07 sena_kun joined 08:08 Altai-man_ left 08:59 nebuchad` is now known as nebuchadnezzar 09:00 Black_Ribbon left 09:01 xelxebar left 09:05 telex left 09:07 telex joined 09:34 holyghost joined 09:38 mowcat joined 09:41 Sgeo_ joined 09:45 Sgeo left 09:48 NODE left 09:50 NODE joined
epony marking 60 yrs today, Mar 14 LISP introduced, 1960: McCarthy published its design in a paper in Communications of the ACM in 1960, entitled "Recursive Functions of Symbolic Expressions and Their Computation by Machine, Part I" 09:53
09:56 veesh left 10:00 NODE left 10:01 NODE joined 10:06 Altai-man_ joined 10:08 veesh joined 10:09 sena_kun left 10:10 lichtkind joined 10:17 lichtkind left 10:20 lichtkind joined 10:23 molaf left 10:24 NODE left 10:25 NODE joined 10:32 aluaces left 10:33 NODE left, Manifest0 joined 10:34 NODE joined 10:39 theovdh joined 10:40 aborazmeh left 10:45 aluaces joined 11:00 mowcat left 11:01 mowcat joined
lizmat and it's also Pi day ! 11:01
epony nice 11:03
"Pe"aking at 16:32 local time 11:05
11:14 markong joined 11:35 markoong joined, domidumont left 11:39 markong left, markong joined 11:40 molaf joined 11:42 markoong left 11:44 tadzik left 11:46 tadzik joined 11:48 stoned75 joined 11:58 xelxebar joined 12:05 xelxebar_ joined 12:06 xelxebar left 12:07 sena_kun joined 12:08 natrys joined, stoned75 left, Altai-man_ left 12:14 stoned75 joined 12:17 markoong joined 12:18 abraxxa left 12:19 markong left 12:21 theovdh left 12:38 NODE left 12:39 NODE joined 12:40 NODE left 12:41 NODE joined 12:44 tinita_ is now known as tinita 12:57 eythian_ is now known as eythian 12:58 xelxebar_ left, xelxebar joined 12:59 stoned75 left 13:17 xelxebar_ joined 13:18 xelxebar left 13:24 markong joined 13:28 markoong left 13:44 veesh left 13:46 markoong joined, markong left, Doc_Holliwood joined 13:54 regreg joined 13:57 veesh joined 14:00 Kaiepi left, Kaiepi joined 14:02 japhb left 14:06 Altai-man_ joined
synthmeat www.oreilly.com/catalog/errata.csp...6920062776 14:06
"learning perl 6" got bunch of errata fixed yesterday. sweet. 14:07
14:09 sena_kun left
rypervenche I picked up Learning Perl 6 from the library yesterday 👍 14:12
lizmat rypervenche++ 14:14
14:17 Kaiepi left 14:18 Kaiepi joined 14:19 Kaiepi left 14:20 Kaiepi joined 14:21 Kaiepi left, stoned75 joined 14:24 Kaiepi joined
nine It's funny how Python is a supposedly easy language when with > 25 years of software development and sysadmin experience I completely fail to even run a Python program: github.com/cdgriffith/FastFlix 14:30
14:32 Grauwolf left
synthmeat rypervenche: i'm few chapters from finishing it. pretty good book, tbh. 14:35
side-note, due to learning raku during corona, i'll forever associate those two :D
rypervenche synthmeat: I mostly got it to try to help me with asynchrony, parallelism, and concurrency.
synthmeat rypervenche: eh, that's just one chapter there.
most valuable chapters (to me, ymmv) seems the one about classes (fair amount of gotchas there, it seems), and 3 chapters about regexp and grammars 14:37
rypervenche Yep. I'm reading as many sources as possible so it will hopefully click at some point. I finally figured out today that with promises, "await" comes first and then the "start" or promises. It seemed as though there were two different syntaxes, but really the first was just putting the promises into variables and then awaiting them at the very end of your code when you finally want to wait for them.
So it helped me better understand/visualize all of that.
I'll read it. I normally don't get much from black and white books, but it can help me better understand the Raku docs, so it's win-win at that point :) 14:38
14:38 pecastro joined 14:39 aborazmeh joined, aborazmeh left, aborazmeh joined
rypervenche nine: Heh, was going to see if I could get it to run, but just realized it seems to be a Windows thing, so can't install the requirements :P 14:39
nine rypervenche: it seems to be based on Qt, so I guessed that it would also work on Linux. 14:42
rypervenche Perhaps, but it seemed to have pywin32 as a requirement. 14:43
14:44 titsuki joined, veesh left 14:45 [Sno] left 14:46 xinming left 14:47 sno joined, xinming joined 14:58 veesh joined 15:06 molaf left 15:09 mowcat left 15:11 aborazmeh left
rypervenche In my quest to make this $gen-all shorter, I guess I've removed all readability from it, haha. Guess I'll go with the first one after all: gist.github.com/rypervenche/6b2d9d...83d5681a4d 15:12
15:12 Itaipu left 15:24 aborazmeh joined, aborazmeh left, aborazmeh joined, pilne joined
rypervenche pilne: Did you ever get an answer to your Unicode/ASCII equivalents question? 15:27
pilne hey all, I'm having some trouble getting Inline::Perl5 installed on windows10. Using the most recent RakudoStar, and I have strawberry perl 5.30 installed as well. My google-fu is failing me hard on this one.
my google-fu helped me there rypervenche! and lead me back to vim for the digraphs plugin it offers.
rypervenche Ah, good good. I use the vim plugin as well. 15:28
pilne: What errors are you getting?
pilne is there a preferred pastebin?
rypervenche No. I know a lot of people like gists for code, but anything should be fine. 15:30
pilne gist.github.com/LamentConfiguratio...c0adc59de1 15:32
rypervenche I wonder if you're hitting the same problem as this Issue: github.com/niner/Inline-Perl5/issues/100 15:35
Altai-man_ releasable6, status 15:37
releasable6 Altai-man_, Next release in ≈14 days and ≈3 hours. 3 blockers. Changelog for this release was not started yet
Altai-man_, Details: gist.github.com/84f5040a6c7ce9311e...0395d6d5d6
pilne hmmmm 15:38
days like this make me miss my linux box :D 15:39
15:42 splatt9990 joined
MasterDuke nine: ^^^ Inline::Perl6 + windows problem 15:43
nine pilne: it's quite possible that Distribution::Builder::MakeFromJSON doesn't work fully on Windows yet 15:44
pilne so go poke around there
nine pilne: you can clone Inline::Perl5's repo and install the dependencies via zef install --deps-only .
pilne: then digging further should be easier
rakudo contains an install-dist.p6 script that you can run from Inline::Perl5's directory. This should mimic the installation part of zef and may give you more useful error messages 15:47
pilne so zef install --deps-only Inline::Perl5 worked fine 15:48
now to clone the repo and run that script
... did i install rakudo star wrong? i can't find that script in my rakudo directory 15:52
Altai-man_ I think github.com/rakudo/rakudo/blob/mast...ll-dist.p6 is meant 15:59
pilne methinks the problem is no make on this windows box 16:01
nine no nmake either? 16:02
We'll expect whatever was used for compiling MoarVM, i.e. whatever used to make rakudo star 16:03
pilne i am installing make for windows now and updating my path, hopefully that works for now! 16:05
16:07 sena_kun joined
nine doesn't strawberry come with a make? 16:07
pilne now it is saying it is unsucessful 16:08
nine Ha! Distribution::Builder::MakeFromJSON doesn't actually care about what MoarVM says and always expects make to be called 'make'. That clearly needs improvement
any other messages? 16:09
16:09 Altai-man_ left
pilne gist.github.com/LamentConfiguratio...4c7d8f6854 16:10
16:10 abraxxa joined 16:11 Grauwolf joined, Grauwolf left, Grauwolf joined
pilne i'll update it with those line numbers if needed from install-dist.p6 if needed 16:12
nine That's not much to go on... 16:13
pilne: ok, different approach. run `perl6 configure.pl6` and then `make`
pilne it's not matching the gist
the lowest line number is the one that is 35 in the gits 16:14
16:14 abraxxa left
pilne smeggin powershell still isn't finding make 16:15
16:15 Grauwolf left 16:19 Grauwolf joined, Grauwolf left, Grauwolf joined
pilne brb... maybe a reboot needed on this silly thing 16:19
16:19 Grauwolf left, pilne left 16:21 pilne joined, Grauwolf joined, Grauwolf left, Grauwolf joined
pilne now that got ugly 16:23
it maybe works?
16:23 aborazmeh left, aborazmeh joined, aborazmeh left, aborazmeh joined 16:24 xinming left
pilne gist.github.com/LamentConfiguratio...84e4c64698 16:24
it seems to install ok with the warnings 16:25
make was the issue
nine excellent!
pilne not 100% done yet.. but it's doing more
we're testing inline:perl5 now
now for the six-billion-shekel question 16:27
do i install ntheory with zef or do i install it with cpanm/berrybrew? :D
waitasecond.... i already have it installed somewhere somehow that raku is finding.... 16:30
man... this is not only one of the (if not the) best "DWIM" language ever, but the community is damn fantastic
thanks for all the help!
nine :) 16:31
16:31 orinthe left 16:34 titsuki left 16:35 orinthe joined
El_Che I asked in the past, but I forgot the answer. Is there a way to get the Signature of MAIN to inspect it? 16:44
16:46 markoong left 16:47 markoong joined
sena_kun bisectable6, gist.github.com/Altai-man/a87e4d24...165dcf3af7 16:52
bisectable6 sena_kun, Bisecting by output (old=2015.12 new=3d6e8d6) because on both starting points the exit code is 1
sena_kun, bisect log: gist.github.com/7e849d518b5c0dae9d...30a2e94915 16:53
sena_kun, (2019-01-21) github.com/rakudo/rakudo/commit/5b...4a236abdea
16:57 molaf joined
tobs El_Che: if it's `our sub MAIN` at least, you can look it up through GLOBAL::<&MAIN>.signature. Maybe there are refinements of this that don't require `our` 16:58
El_Che I want the use to use the regular main (without our) and my library hooks into that. 16:59
so I suspect the regular main should be in GLOBAL? 17:00
(trying it now)
17:00 markong joined, markoong left
tobs I think the fact is that declarations at file scope not in a package go into GLOBAL. But GLOBAL::* lookup only finds `our` symbols. 17:01
El_Che ok, it won't work then
tobs I'm not sure how the options parsing for MAIN works. Maybe there's a hint in there about how to circumvent the `our` limitation? 17:02
rypervenche Is it possible to have a method name inside a variable and have the call to the method interpolate correctly? 17:04
m: my $method = "chr"; say 123.$method;
camelia No such method 'CALL-ME' for invocant of type 'Str'
in block <unit> at <tmp> line 1
17:06 oneeggeach joined
jnthn rypervenche: That syntax is to call the code in $method; you need 123."$method"() 17:08
17:08 momozor joined
momozor Hi 17:08
rypervenche jnthn: Ahhh, thank you.
momozor I heard that Perl6 is transitioning to raku. Is there any migration guide available online?
for the conventions, filename extensions, etc 17:09
pilne i've been using .raku myself
17:10 splatt9990 left
pilne and i think that nothing "needs" to be changed in older files for them to keep working? at least that i've encountered so far (: 17:10
momozor ohhhh
rypervenche You can find the new extensions here: github.com/Raku/problem-solving/bl...extensions
momozor i see
17:12 momozor left 17:17 oneeggea_ joined
El_Che having a look at callframe 17:18
^-- tobs 17:19
euroka 17:21
17:21 oneeggeach left
El_Che sadly enough, I found it by trial and error, so I need to understand it first before using it: 17:22
say callframe(2).my<&MAIN>.signature;
this is called from the module inspecting MAIN, not the one declaring MAIN
so 2 levels up 17:23
I assume then callframe starts counting from 1 17:24
17:29 guifa joined
guifa o/ 17:29
El_Che hi guifa 17:30
guifa is about to get productive since he’s been banned from campus 17:31
El_Che you specifically of everyone? :)
tobs: callframe gives me enough to continue. Thx for the help! 17:32
guifa El_Che: yes and no. We’ve cancelled classes and I’m working on moving coursework online, but anyone who traveled to a level 3 risk country (I transited through) are banned “until further notice” 17:34
vrurg++ did a few fixes for my stuff modules while I was gone though
El_Che guifa: we also moved to online classes and staff can telework full time (if possible) 17:35
tobs El_Che: heh, clever 17:36
guifa Thankfully I have beer at home — can’t get that delivered 17:39
guifa shakes his fist at teetotaling American politicians 17:40
17:47 wildtrees joined 17:48 wildtrees left, wildtrees joined, wamba joined 17:50 oneeggea_ left, oneeggeach joined 17:51 oneeggeach left 17:55 oneeggeach joined 17:57 aborazmeh left 18:06 Altai-man_ joined 18:08 sena_kun left 18:10 Actualey` joined 18:12 Actualeyes left 18:30 chloekek joined 18:43 broquain1 is now known as broquaint 18:52 ufobat_ joined 18:55 ufobat__ left 19:09 oneeggeach left 19:16 sena_kun joined 19:17 Altai-man_ left 19:19 oneeggeach joined 19:43 pmurias joined
pmurias MasterDuke: what would the update method cache ops do? 19:43
tellable6 2020-03-12T15:49:04Z #raku <nine> pmurias: github.com/niner/Inline-Perl5/comp...ned_blocks
2020-03-12T20:55:17Z #raku-dev <MasterDuke> pmurias: congrats! going to be able to work on the truffle backend with your 20%?
pmurias MasterDuke: not sure if they have the 20% anymore 19:44
El_Che I just heard on #perl (Magnet) that DrForr perished on a scuba diving accident
pmurias MasterDuke: I think not
lizmat El_Che: are you serious ??? 19:45
El_Che yes
lizmat link ?
El_Che I can copy paste you the channel logs? 19:46
Doc_Holliwood oh dear 19:47
lizmat if you're on FB, this might work: www.facebook.com/jeff.goff
El_Che: pls
El_Che lizmat: gist.github.com/nxadm/2b5adcef5224...6e1151edd7 19:49
result from /last and copy paste to remove other stuff
19:50 wamba left
El_Che I am bummed. Be a little afk 19:50
This makes me unbelievably sad :(
Doc_Holliwood Yes. 19:52
19:52 Guest88981 is now known as timotimo
Doc_Holliwood But then, it's a good way to go. 19:52
timotimo that's really sad :(
tadzik :( 19:54
rip DrForr
Doc_Holliwood Does anybody happen to know his real name?
tadzik Jeff Goff, like in lizmat's link 19:55
Doc_Holliwood right. silly me. i hardly knew him. only from videos
tadzik the fb link is unavailable for non-facebook users though 19:57
Doc_Holliwood there is nothing to see there anyhow 19:58
last post is from the 3rd or so
19:58 wamba joined
Doc_Holliwood spooky. There's still a DrForr in #perl 20:10
must be a server running somewhere
20:12 aborazmeh joined, aborazmeh left, aborazmeh joined
lizmat .seen DrForr 20:12
tellable6 lizmat, I saw DrForr 2020-01-25T20:02:12Z in #raku: <DrForr> And I can talk about blogging and my module conversion strategies, though during a lunch break might be more appropriate for me.
lizmat still logged in here on #raku as well 20:13
AlexDaniel :( 20:15
if that is true, there are 7 modules that need to be taken care of 20:16
lizmat it is true, Wendy is chatting with his mother on FB now
and some Perl modules as well
AlexDaniel lizmat: okay… well, once things settle maybe we should ask if somebody has access to their github? We can of course fork but transferring is probably preferable? 20:19
lizmat yeah.... in a few weeks,now is not the time to bother the family with this
AlexDaniel sure
very interesting timing… PS#168 20:20
linkable6 PS#168 [open]: github.com/Raku/problem-solving/issues/168 [language] Abandoned modules, deceased authors, etc. (Raku Community Modules)
lizmat Wendy just posted on FB, this is a markdown gist of that for the non-FB inclined: gist.github.com/lizmat/13beb97e0e3...53c9c25d03 20:23
20:36 leont joined
El_Che thank Wendy for taking care of that 20:48
20:56 rindolf left 20:57 dmc00 joined
Altreus oh my goodness 20:59
This is sad news
lizmat indeed :-(
Altreus rip friend, and thank you for your contributions! 21:00
colomon :( 21:12
Geth doc: 4ecb9a6ee6 | (Stoned Elipot)++ | doc/Type/Buf.pod6
Fix example's style
linkable6 Link: docs.raku.org/type/Buf
21:15 Altai-man_ joined 21:17 sena_kun left
El_Che It's on hackernews: news.ycombinator.com/item?id=22578685 21:19
lizmat yeah, I put it there, as well as on /r/perl and /r/rakulang 21:26
21:30 wamba left 21:31 [Sno] joined 21:32 sno left
jdv79_ how come $."$meth_name"() doesn't work? 21:32
21:32 jdv79_ is now known as jdv79
jdv79 m: raku -e 'class A { method b {}; method c { $."b"()}}; A.new.c()' 21:36
camelia 5===SORRY!5=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> 3raku -e7⏏5 'class A { method b {}; method c { $."b
expecting any of:
infix stopper
statement …
lizmat self."$metho_name"() should ? 21:37
I guess the parser's not able to handle it
jdv79 m: class A { method b {}; method c { $."b"()}}; A.new.c()
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of $. variable; in Raku please use the .kv method on e.g. .lines
at <tmp>:1
------> 3class A { method b {}; method c { $.7⏏5"b"()}}; A.new.c()
jdv79 yeah, self works
21:37 natrys left
jdv79 just odd - seems it should work 21:37
21:49 aborazmeh left 21:51 natrys joined
jnthn Well, it's parsed as a form of variable, not as a form of method call. 21:52
21:52 natrys left 21:59 dmc00 left 22:00 stoned75 left 22:03 ufobat_ left
lizmat weekly: www.facebook.com/groups/raku.perl6...287605181/ 22:18
notable6 lizmat, Noted! (weekly)
22:20 __jrjsmrtn__ joined 22:21 _jrjsmrtn left 22:25 benkolera joined 22:51 regreg left 23:02 aluaces left 23:09 oneeggeach left 23:16 sena_kun joined 23:17 xinming joined 23:18 Altai-man_ left 23:19 xinming left, xinming joined 23:25 leont left, markoong joined 23:26 markong left 23:39 aborazmeh joined, aborazmeh left, aborazmeh joined 23:47 stoned75 joined