🦋 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.
AlexDaniel m: say 42 04:56
camelia 42
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
lizmat and it's also Pi day ! 11:01
epony nice 11:03
"Pe"aking at 16:32 local time 11:05
synthmeat www.oreilly.com/catalog/errata.csp...6920062776 14:06
"learning perl 6" got bunch of errata fixed yesterday. sweet. 14:07
rypervenche I picked up Learning Perl 6 from the library yesterday 👍 14:12
lizmat rypervenche++ 14:14
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
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
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
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
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
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
gotcha!
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
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
pilne gist.github.com/LamentConfiguratio...4c7d8f6854 16:10
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
pilne smeggin powershell still isn't finding make 16:15
wtf
pilne brb... maybe a reboot needed on this silly thing 16:19
pilne now that got ugly 16:23
but....
it maybe works?
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
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
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
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)
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
jnthn rypervenche: That syntax is to call the code in $method; you need 123."$method"() 17:08
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
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
thanks
El_Che having a look at callframe 17:18
^-- tobs 17:19
euroka 17:21
eureka
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
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
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
sigh
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
El_Che I am bummed. Be a little afk 19:50
This makes me unbelievably sad :(
Doc_Holliwood Yes. 19:52
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
Doc_Holliwood spooky. There's still a DrForr in #perl 20:10
must be a server running somewhere
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
El_Che thank Wendy for taking care of that 20:48
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
21:15
linkable6 Link: docs.raku.org/type/Buf
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
jdv79_ how come $."$meth_name"() doesn't work? 21:32
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
infix stopper
postfix
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
jdv79 just odd - seems it should work 21:37
jnthn Well, it's parsed as a form of variable, not as a form of method call. 21:52
lizmat weekly: www.facebook.com/groups/raku.perl6...287605181/ 22:18
notable6 lizmat, Noted! (weekly)