🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:00 reportable6 left, reportable6 joined
tbrowder__ .tell tonyo imho, it would make a useful document for sure 00:17
tellable6 tbrowder__, I'll pass your message to tonyo
tbrowder__ .tell ugexe thanks. i'll keep fiddling with it and come for help if need be. 00:20
tellable6 tbrowder__, I'll pass your message to ugexe
00:26 JRaspass left, JRaspass joined 00:42 deoac left 01:28 derpydoo joined 01:29 kst left 01:31 jgaz joined 02:24 tea3po joined 02:27 teatwo left 03:27 nativecallable6 left, sourceable6 left, statisfiable6 left, benchable6 left, committable6 left, greppable6 left, coverable6 left, quotable6 left, squashable6 left, bloatable6 left, unicodable6 left, tellable6 left, linkable6 left, releasable6 left, bisectable6 left, shareable6 left, evalable6 left, reportable6 left, notable6 left, notable6 joined, tellable6 joined, unicodable6 joined, bloatable6 joined, greppable6 joined 03:28 evalable6 joined, reportable6 joined, quotable6 joined 03:29 squashable6 joined, committable6 joined, coverable6 joined, benchable6 joined, bisectable6 joined, statisfiable6 joined, linkable6 joined 03:30 nativecallable6 joined, releasable6 joined, sourceable6 joined, shareable6 joined 03:54 MasterDuke left
thowe at some point in the past I managed to get raku syntax package into Atom... I can't seem to figure out how to do this again and all the old links are broken 04:16
Mojolicious and Raku packages not in the list 04:17
has everything just gone to crap since they are shutting the project down?
I guess vscode has the juice... 04:31
04:42 BinGOs left, bingos joined 05:03 derpydoo left 05:20 kjp left 05:21 jpn joined 05:23 kjp joined 05:25 jpn left 05:37 bd3i left, bd3i joined 06:00 reportable6 left 06:01 reportable6 joined 06:44 wafflus joined
wafflus i'm messing aroud doing some perl6 regex does anyone know how to do this in perl6 \b\w{4,9}\b? I tried doing what i thought was the perl6 way but i got weird results 06:53
07:05 tib left, tib_ joined 07:09 zostay left, zostay joined 07:37 esh left 07:38 jpn joined 07:40 esh joined 07:55 jpn left 07:56 jpn joined 08:18 Wsun joined 08:32 jpn left 08:56 Wsun left 09:13 jpn joined 09:18 jpn left 09:38 pejayes left, pejayes joined 09:41 wafflus left
moritz_ Woodi: what have you tried? 09:51
erm sorry, meant wafflus, who has already left
09:54 jmcgnh left, jmcgnh joined 10:03 El_Che left 10:05 El_Che joined 10:09 jpn joined 10:13 jpn left 10:34 esh left 10:36 Sgeo left
tbrowder__ .ask ugexe if i use module A in module B, does it matter in which depends block it appears in the META6.json file for module B? 10:39
tellable6 tbrowder__, I'll pass your message to ugexe
10:42 jpn joined 11:05 Ergo444 joined
Ergo444 hi 11:05
Can you help? I am getting this error... Missing serialize REPR function for REPR MVMContext (BOOTContext)
What is that error? 11:06
11:07 jpn left
lizmat Ergo444: before we go on: which version of Rakudo are you using? 11:10
11:10 jpn joined
Ergo444 Welcome to RakudoÔäó v2023.02. 11:10
lizmat ah, and on Windows by the looks of it 11:11
Ergo444 It happens when a module used twice...   directly and indirectly
Not sure if that is all that is needed for that error
lizmat in technical terms it means that somehow something is getting precompiled that shouldn't 11:12
contexts are not something that can be pre-compiled, as they're a run-time concept
can you provide a gist?
Ergo444 what?
lizmat a shortened version of the code showing the problem
placed somewhere for people to see, e.g. gist.github.com 11:13
FWIW, that error should *not* occur in normal usage 11:16
we call it an LTA error (Less Than Awesome)
as it just states what went wrong, not why
Ergo444 gist.github.com/jaffa4/a2cc529f52a...4a642ccbc4 11:19
11:21 jpn left
Ergo444 low level error message 11:21
that is what I call it 11:22
lizmat well, it *is* low level indeed
issued at the moment the actual bytecode is being produced
commenting on gist, I don't have the native libs installed (nor do I want to) and thus cannot try your code :-( 11:25
Ergo444 When do you need that? 11:26
lizmat zef install Template::Nest::XS fails for me saying a native lib is missing
Ergo444 the code I gave you should be enough 11:27
in the gist
not need to install anything
just create a directory structure 11:28
lizmat it fails on "use Template::Next::XS" 11:29
because I do not have that installed
Ergo444 create the directories 11:30
Template\Nest\XS.rakumod 11:31
from the gist. 11:33
lizmat trying this on a slow Debian box atm 11:36
ok, can reproduce the issue. But only with Template::Nest::XS 11:38
Ergo444 does it use a reserved word? 11:39
lizmat looking at source code of Template::Nest::XS now, as you seem to be the author, right ? 11:42
Ergo444 yes
if you replace Xs with the xs in the git, it does not work 11:43
no need to test complicated code
I already simplified it
lizmat I simplified it to: lib/Container.rakumod containing just "use Template::Nest::XS" 11:48
and container.raku just containing "use Container" 11:49
and doing: raku -Ilib container.raku
so the problem is somehow inside Template::Nest::XS 11:50
Ergo444 but it is empty 11:52
almost empty
lizmat yes, so the problem isn't there?
anyways, I don't see anything immediately in the source of Template::Nest::XS 11:53
except maybe adapt the AUTHOR section ?
apart from suggestion making a Rakudo issue, I don't think I can do much more for you atm 11:55
Ergo444 that is start
12:00 reportable6 left 12:01 reportable6 joined
Ergo444 I found the line the causing it 12:34
my @comment_delims_defaults[2] = '<!--', '-->';
if I remove [2], the error disappears
lizmat ok, *that* is worthy of a Rakudo issue 12:41
looks like shaped arrays include something they shouldn't
Ergo444: are they considered to be constants?
if so:
my constant @comment_delims_defaults = '<!--', '-->'; 12:42
should do the trick
12:43 a3r0 left, a3r0 joined
lizmat fg 12:43
oops :-)
13:17 jpn joined 13:22 jpn left 13:43 derpydoo joined 14:11 Ergo444 left 14:23 teatwo joined 14:24 teatwo left 14:25 teatwo joined 14:26 tea3po left 14:53 Ergo444 joined
Ergo444 hi 14:54
how can I get fez password?
andinus you can reset your password with 'fez reset-password' 14:57
Ergo444 ij 15:07
ok
15:12 Ergo444 left 16:12 benchable6 left, bisectable6 left, committable6 left, nativecallable6 left, linkable6 left, quotable6 left, notable6 left, evalable6 left, releasable6 left, shareable6 left, greppable6 left, unicodable6 left, reportable6 left, squashable6 left, tellable6 left 16:13 tellable6 joined, squashable6 joined, linkable6 joined, bisectable6 joined, greppable6 joined, quotable6 joined, nativecallable6 joined, benchable6 joined, shareable6 joined 16:14 reportable6 joined, releasable6 joined, evalable6 joined
tbrowder__ Ergo444: i would love it if a real windows raku user could create a cookbook recipe for installing and using raku on windows 10 or better. see a start at github.com/rakudo/rakudo/blob/main...windows.md 16:14
tellable6 tbrowder__, I'll pass your message to Ergo444
16:14 committable6 joined 16:15 notable6 joined
ugexe tbrowder__: have you tried rakubrew? thats what i use on windows 16:15
tellable6 2023-06-18T14:48:01Z #raku-dev <tbrowder__> ugexe thanks, Nick.
16:15 unicodable6 joined
ugexe lrakubrew.org/?platform=win 16:15
tbrowder__ no, but i still need a cookbook. i guess i should put that in the other doc. i haven't looked lately, but the raku home page really need an in-your-face entry for windoze users. 16:17
16:17 jpn joined
ugexe that link basically is a cookbook in that it tells you exactly what commands to run 16:18
tbrowder__ i'm trying to get younger folks interested but the linux gap is too much jump for noobs
like my grandson. they're having a "coding camp" this summer for 6th graders and i almost guarantee they won't have a linux computer there (or mac) unless i can sneak in :) 16:21
oh, i didn't know rakubrew.org existed (or forgot or ignored it). i'll definitely ck it out 16:23
ugexe the good thing about using rakubrew is the installation workflow is the same regardless of windows or linux, so if they get comfortable enough to run `bash` on their windows box (which runs the linux thing windows ships with) they can install raku the same way
tbrowder__ great! thanks 16:24
El_Che I don't think beginners have a good programming experience on Windows for non MS languages, libs tend to suck 16:25
specially if make is involved
tbrowder__ yes, for sure. ref the "linux" thing, i really need to check that out because that's been a show stopper for me, too, getting it without much pain on win 10 16:26
ugexe i'm pretty sure you just have to type `bash` and it will work 16:27
El_Che ugexe: you're assuming most people run wsl
most don't in my experience
ugexe i thought it would be turned on by default by now heh 16:30
El_Che Even @work where people are IT people and most get a windows laptop, only the people that are geeky, but not geeky or rebel enough to get mac or linux, get the wsl. Most other devs and admins just struggle with Windows and remote shells to linux infra 16:32
ugexe: I problem I encoutered that centrally manage laptop lock people out of installing wsl 16:33
tbrowder__ yep, i retired just as our takeover company IT dept started doing that to us bought-oughtees. good time to leave, it was. 16:41
course that was when dual boot wasn't so grabby, either.
now i feel like i have to carry 2 laptops on the road if i want windows around :-( 16:43
ok, checked out rakubrew.org. one problem in my view: it's not real clear what os is being shown until i start looking at the shell script name 16:47
the highlight on the selected os is barely distinguishable to my eyes. 16:49
16:52 SmokeMachine left, SmokeMachine joined 16:56 jpn left 17:24 jpn joined
tbrowder__ issue filed... 17:44
17:47 leedo left, leedo joined 18:00 reportable6 left 18:02 reportable6 joined
tbrowder__ also updated an old but open issue on the raku.org home page "Download" button 18:03
18:39 rf joined
rf Afternoon folks 18:39
18:42 Ekho left, corwin left 18:43 corwin joined
lizmat rf o/ 18:45
18:49 jpn left
rf How are you liz? 18:49
18:50 Ekho joined
lizmat rf: pretty good... although the weather could be a bit cooler 18:53
18:53 jpn joined
lizmat looks like we're in the middle of a 20+ day heatwave here 18:53
which means high temperatures not getting below 25 celsius 18:54
rf It's around 33C here
Pretty crazy year so far for weather lol
18:55 derpydoo left
lizmat yeah: remember this year, it will be the coolest of the rest of your life :-( 18:55
rf ;( 18:56
Hopefully we'll still have a habitable planet 18:58
Ideally :) 18:59
El_Che rf: if by habitable planet you mean Mars, sadly Musk is full of s* 19:15
:)
19:22 deoac joined
rf Idk, I think it would be neat to travel to mars one day, but I'd prefer if earth was still an option 19:23
El_Che rf: that would be ideal
19:37 jpn left 19:38 jpn joined 19:44 jpn left
leont Much of The Netherlands hasn't seen any rain since May 13th, it's all quite worrisome (rain is predicted for next week) 19:46
19:50 derpydoo joined 19:51 Sgeo joined
lizmat we had about 10 drops today 19:54
you had to watch ver carefully
*very
leont Apparently it has to be at least a millimeter to count 19:56
lizmat yeah, it was about .1 mm / hour for about 10 minutes 19:58
rf We've gotten loads of rain this year which is uncommon, wish I could send it to you 20:03
20:04 leont left 20:05 leont joined 20:24 holyghost joined 20:53 saint- joined
leont Oh the irony. On my evening walk and just now it finally starts raining. 21:01
nemokosch evening for sure 😛 21:21
21:40 jpn joined 21:45 jpn left
corwin way to take one for the team there leont 21:48
21:54 deoac left 22:02 donpdonp|z left, donpdonp|z_ joined
tonyo . 22:54
tellable6 2023-06-18T00:17:25Z #raku <tbrowder__> tonyo imho, it would make a useful document for sure
tonyo heh. we have snow forecasted for tomorrow 22:55
23:02 evalable6 left, linkable6 left, evalable6 joined, linkable6 joined
lucs tonyo: Wow. Whereabouts? 23:04
tonyo east oregon 23:57