🦋 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.
01:05 guifa left 01:32 zetaaaa left 01:44 guifa joined 02:00 human-blip left 02:01 human-blip joined 02:33 hulk joined 02:35 kylese left 02:44 yewscion left 02:45 yewscion joined 02:47 yewscion left, yewscion joined 03:15 hulk left, kylese joined 03:45 guifa left 05:46 Aedil joined 06:14 nil78 joined 06:15 pale left 09:02 apac left 09:03 dakkar joined 09:12 sena_kun joined 10:03 sena_kun left 10:48 ll8 joined
ll8 o/ 10:49
11:13 kaskal left 11:14 kaskal joined
lizmat ll8 o/ 12:03
and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2025/01/20/2025-...-released/ 12:59
tbrowder hi, i just spent too much debug time on a simple missing module requirement for another author's published module. the missing module was causing a core dump with no clues. is there any way that missing module can show a clue when its prereqs are missing? sneak a 'require' in there somewhere? 13:05
13:09 melezhik joined
melezhik . 13:09
ll8 hnk 13:10
melezhik patrickb not sure if you are interested as cro maintainer, but there is CI on sparky for cro-core, the benefit is tests under ARM Rakudo - sparky.sparrowhub.io/report/gh-cro...core/23255
fyi
ll8 nopnpn
s 13:11
lizmat tbrowder: be sure to alert the author of said module by making an issue! 13:17
13:25 ll8 left 13:26 mtj left
timo tbrowder: simply a missing prerequisite should definitely not cause a core dump. can you be more specific? do you still have the dump files? 13:30
antononcube I strongly consider making a package for accessing TIGER data (Geographic data from US Census Bureau) : www.census.gov/programs-surveys/ge...guide.html 13:39
lizmat I'd be up for that if someone paid me to do that :-)
antononcube What would be a good name for that package? Here are a few options: 1. Tiger 2. Data::Tiger 3. Tigeraku 13:40
lizmat Data::TIger I'd say 13:42
afk for a few hours&
13:53 melezhik left 13:58 guifa joined 14:06 qesat60 joined
tbrowder i will file an issue, but is using ‘require’ on the author’s side the easy fix? 14:09
and i do have (or can recreate) the core dump file) 14:10
timo i would be interested in seeing the core file. how did you get your moarvm? does it have debug symbols? actually, maybe it would be easier for me to reproduce the issue locally instead of bothering you with lots of little things i need from your machine, or changes i need you to do, or something like that 14:15
tbrowder got down to 24 deg f last nite in sunny nw fl. forecast tomorrow 35 hi with snow and low of 23. 14:16
timo, my raku comes with the debian rakudo-pkg 14:17
when i used the mv2d i got nada but the core dump 14:18
timo what is "the mv2d"? 14:19
tbrowder what’s easiest way to get dump file to you? 14:20
mv2d is jnthn’s moarvm debugger module 14:21
timo oh, the core dump happens only when using mv2d? 14:22
there were some cases in the remote debugger that caused segfaults in the debugee, for example when you start it suspended, connect to it, and then ask it for a backtrace without first running any code, or stepping 14:26
14:27 ECVJoeBiden45935 joined 14:29 ECVJoeBiden45935 left 14:30 ZPMalarkey493401 joined
ZPMalarkey493401 Hey guys... Joe Biden here. I've decided to step down from the White House to focus on other projects. Billionaires are a threat to democracy, so check out BidenCash.st to put them in the bullseye. Keep an eye on the CNN inauguration for a promo code! 14:30
tadzik pathetic 14:31
tbrowder no, it (core dump) happens when i execute my raku prog which uses the module which then dumps core
timo OK. the raku prog in question isn't available publicly?
[Coke] I have most irc notifications turned off, but I hope someone banned that scammer? 14:32
timo tbrowder: i sent you a private message on irc with a link where you should be able to upload the file
nah that user is still in the channel 14:34
tbrowder no, but i could make it so. it’s an ugly mailing list and christmas card thing i started in perl and raw PostScript years ago.
timo i don't have permissions to op myself in here it seems like 14:35
tbrowder but all you have to do is create a short prog to call PDF::Font::Loader and load a file. i’ll cobble something together shortly. 14:37
timo i might have done the file request link thing wrong 14:38
or maybe i did it correctly
14:42 ZPMalarkey493401 left
tbrowder well, a simple prog is not enough. i’ll try the link and send the core dump when i get back to a real computer later today 15:02
link looks like the real deal
timo OK. with just the example code from the PDF::Font::Loader readme i can't get any segfaults 15:04
if it were so easy to crash, i would imagine you couldn't even install the module since zef runs its test suite before installing
so what is the missing dependency anyway? 15:05
tbrowder PDF::Content::FontObj; 15:10
going to try the upload link... 15:11
15:26 silug left
tbrowder got the 1Gb core dmp gzipped down to 80 Mb 15:31
timo hehe.
yeah they are sometimes full of zeroes
15:35 silug joined
guifa lizmat: re Locale::Dates you should be able to automatically generate a large number of locales if you use Intl::CLDR 15:55
That way you won't have to wait for people to send in PRs 15:56
tbrowder timo, no go yet. i’ll be home in 3 or 4 hrs with a real interface to push the file. 16:01
timo OK 16:02
16:10 synthmeat left 16:14 mtj joined 16:22 ChanServ sets mode: +o [Coke], synthmeat joined 17:13 Sgeo_ joined, Sgeo left 17:35 dakkar left 18:01 sjn left 18:11 ryoskzypu joined 18:50 [Coke] sets mode: +b *!ZPMalarkey@185.133.63.83
[Coke] ok, I think I got the ban right. 18:51
lizmat :-) 18:58
19:32 bisectable6 left 19:34 ramman left 19:38 sjn joined 19:46 ramman joined 19:47 bisectable6 joined, bisectable6 left, bisectable6 joined 20:04 Aedil left 20:09 sena_kun joined
ramman So if raku has to be compiled, does that mean you can't really do one-liners of it from the command line? 21:06
timo no you totally can 21:09
there is "precompilation" where we store the result of compiling modules on disk, but you can just run scripts or one-liners like with -e 21:10
it's not like with C where you would "gcc foo.c" and then "./a.out" 21:11
ramman Cool. Thanks.
timo and there's the repl as well as a jupyter kernel
guifa ramman these days too there's a bit of a gray area between compiled and interpreted languages. Many languages like python/javascript are in theory interprpeted but are compiled to intermediate states to speed things up, and sometimes fully JIT'ed when appropriate 21:18
21:31 eseyman left 21:38 manu_ joined 21:39 manu_ is now known as eseyman
tbrowder timo, core.tgz is uploaded to yr link 22:27
22:56 kjp left 22:57 kjp joined 23:02 kjp left, kjp joined 23:20 sena_kun left