🦋 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.
wayland [Coke]: I think Powershell prefers the longest option. I don't like it either. 00:55
01:35 hulk joined 01:36 kylese left 02:15 hulk left, kylese joined 03:28 wayland left, wayland joined 03:41 lichtkind_ joined 03:43 lichtkind left 04:25 vrurg joined, vrurg_ left 06:03 wayland left 06:41 hwj joined 07:10 hwj left 07:25 hwj joined 07:29 hwj left 07:48 woodi joined 08:06 belluzj joined 08:10 belluzj left 09:24 wayland joined 09:29 wayland left, wayland joined 09:50 eseyman left 09:54 wayland left 09:55 manu_ joined, wayland joined
lizmat weekly: github.com/Raku/problem-solving/issues/524 09:59
notable6 lizmat, Noted! (weekly)
10:15 hwj joined 10:20 hwj left 10:27 Sgeo left 10:51 gcd left 10:53 gcd joined 11:10 camelia left 11:13 camelia joined 12:01 cryosis joined 12:13 hwj joined 12:17 camelia left
tbrowder El_Che: thanks 12:18
12:18 hwj left 12:19 camelia joined 12:35 wayland left, vasko45355861 left 12:36 wayland joined 12:38 vasko45355861 joined
tbrowder i guess i can create one for debian. 12:39
so, another raku problem. i'm trying to create a class and when i try to use it i get this error: Missing serialize REPR function for REPR MVMContext (BOOTContext) 12:44
i can show a gist later if need be, but a hint would help. 12:48
12:51 wayland left 12:52 wayland joined 12:53 liztormato joined
liztormato El_Che: is this on HEAD? 12:56
timo tbrowder: you've most probably got an Exception or a Failure stuck in a variable somewhere at the end of precompiling the module
tbrowder good hint, thnx 12:57
liztormato El_Che: sorry, misread the log
13:02 liztormato left 13:06 liztormato joined 13:10 liztormato left 14:08 hwj joined 14:13 hwj left 14:26 hwj joined
SmokeMachine usercontent.irccloud-cdn.com/file/.../image.png 14:28
14:30 hwj left
tbrowder i tried using 14:46
** i tried using v6.e.PREVIEW but no help with problem 14:48
a short example class follows:
nah, i can't do it. gist it is ... 14:50
16:00 Sgeo joined
tbrowder gist.github.com/tbrowder/9e05a2f1f...54ffbc8e1f 16:02
16:05 z-raku joined
tbrowder i have created simple modules with the parent module file with the same same as the module parent directory with no problem. note there is no '::' in the module name, just a real hyphen ('-'). 16:06
16:06 z-raku left
tbrowder i have also tried using v6.e.PREVIEW with no success. 16:07
this is not a show-stopper, merely a GIANTIC pita 16:08
*GIGANTIC
also note the gist was from full compilation since i removed all the .precomps before running the test 16:11
17:31 hwj joined
[Coke] This was changed during the previous release. 17:31
link to the actual repo, please? 17:32
I'm assuming your module failed for other reasons in Blin or we would have sent you a PR
(can track down a sample PR for another module once the release is done or on a bit I have to wait for) 17:35
lizmat - can I search for a quoted phrase in the IRC logs? 17:36
just "this phrase" is giving me this and phrase both. 17:37
ah, nevermind
lizmat as word / must contain all words ?
[Coke] ah. The "potential difficulties" is the part i was referring to, and that's not a failure. 17:40
I want more than "must contain all", I want "these words in this order"
but I got there with existing search, no worries.
the SORRY in that issue is # ------> class <HERE>OpenSSL::Stack is repr('CStruct') { 17:41
18:50 Geth joined 18:51 lizmat joined
lizmat PSA: power has been restored, and some services are now on UPS (taken advantage of the situation to hook up some servers her on new UPSes 18:54
tbrowder [Coke]: this module has not been published. i have no idea whete 19:33
*where the reference to the Open::SSL came from. i'm using raku 2026.06. what else can i get for you to help me? 19:36
or did i missunderstand the reference 19:40
19:58 lizmat left, lizmat_ joined 20:05 abraxxa joined 20:11 lizmat_ left, lizmat joined, abraxxa left 20:12 abraxxa joined 20:21 abraxxa left
[Coke] ... is there a git repo? 20:29
tbrowder yes, see the top line of the gist: github.com/tbrowder/NotoFonts-OT. 20:32
20:35 hwj left 20:36 abraxxa joined
tbrowder i just changed to parent module's inside name from "unit class..." to "unit module..." and am still getting the same error from compilation, 20:40
[Coke] the insname name is a not an error, it's a "potential difficulty" 20:41
*inside name
Install deps, this will take a moment, looks lie 20:43
like
tbrowder but i can't get it to pass a load test. is there another way to "use" it? require or need
[Coke] ===> Testing: PDF::Content:ver<0.9.11>:auth<zef:dwarring> 20:55
[PDF::Content] FontConfig is required for the find-font method
no hint in the reamde for that module what that is. 20:56
tbrowder ok, thanks for that. that's a good clue. leave it for now. 20:59
21:00 abraxxa left
[Coke] (reminder to self, install deps with --serial when it's a big list, just in case) 21:06
21:14 abraxxa joined
[Coke] Did it again, getting same failure sooner in PDF::Font::Loader now. 21:15
opening a ticket on PDF-Font-Loader 21:22
jgithub.com/pdf-raku/PDF-Font-Loade.../issues/43 - so I manually installed FontConfig to proceed so I can see *your* issue. 21:25
tbrowder: I see these errors now trying to test your module: gist.github.com/coke/891a0dc588fa6...45e5ce03ff 21:28
tbrowder i 21:29
[Coke] Presumaby I need to have OTO_FONTS_OTF set? 21:30
(You probably want to have a better check if that env var isn't set.) 21:31
but I'm not seeing anything like your cstruct error
typo: itlaic
tbrowder maybe an old version of JSON::Fast is part culprit. it's hiding in one of the prereqs. yes, it needs a dir regerence NOTO_FONTS_OTF 21:32
[Coke] if I set that dir to /tmp, I then get Missing serialize REPR function for REPR MVMContext (BOOTContext) 21:33
tbrowder hm, good catch. let me fool with it some more. have one on me! 21:35
[Coke] raku -I. -e 'use NotoFonts-OT' -> the serialize error 21:36
tbrowder ok, thanks 21:40
[Coke] Still golfing. if I reduce the main lib to just "use NotoFonts-OT::Subs", I get the same error. but if I use that module directly, no error. 21:42
will see if I can golf more.
21:42 abraxxa left
tbrowder you da man! 21:44
[Coke] got it down to 4 lines in 2 files. 21:51
tbrowder have you tried deleting .precomp dirs 21:54
that's when i see cstruct thingy
[Coke] no impact. (I haven't had to delete .precomp dirs in some time to fix issues) 21:55
github.com/coke/NotoFonts-OT/blob/...rip-err.sh
I forked your repo, checked in the golfed libs (top level, and ::Subs), and added that shell script that shows the problem. 21:56
need the first use to use the ::Subs module, and that needs to make that call to PDF::Lite
if you try to use ::Subs directly? fine. if you call PDF::Lite like that in a script? fine
Might be a bug in PDF::Lite, I don't know. 21:57
tbrowder ok, i really appreciate yr help... 21:58
[Coke] .seen dwarring 22:01
tellable6 [Coke], I saw dwarring 2021-09-28T18:15:00Z in #raku: <dwarring> yes there is a lot going on there
22:23 jjido left
tbrowder dwarring is in new zealand, we correspond by email 22:49
23:05 lichtkind_ left 23:06 johnjay joined