š¦ 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
00:01
codesections joined
00:02
reportable6 joined
00:04
dustinm` joined
00:31
Manifest0 left
01:27
codesections left
01:53
derpydoo joined
02:14
teatwo joined
02:17
teatime left
02:30
deoac left
03:08
MasterDuke left
03:52
deoac joined
04:34
deoac left
05:21
derpydoo left
06:00
reportable6 left
06:02
reportable6 joined
06:26
Henry151 joined
07:26
benchable6 left,
greppable6 left,
bisectable6 left,
sourceable6 left,
quotable6 left,
statisfiable6 left,
releasable6 left,
committable6 left,
coverable6 left,
notable6 left,
shareable6 left,
reportable6 left,
evalable6 left,
linkable6 left,
nativecallable6 left,
tellable6 left,
unicodable6 left,
notable6 joined,
evalable6 joined
07:27
reportable6 joined,
releasable6 joined,
linkable6 joined,
nativecallable6 joined
07:28
bisectable6 joined,
benchable6 joined,
coverable6 joined,
committable6 joined,
shareable6 joined,
quotable6 joined
07:29
statisfiable6 joined,
greppable6 joined,
tellable6 joined,
sourceable6 joined,
unicodable6 joined
07:43
tejr left
07:48
tejr joined
08:20
Xliff joined
|
|||
Xliff | \o | 08:20 | |
Is there any way to get the extension of the dynamic library a given installation of Raku will use? | 08:21 | ||
raku -V has "moar:dll", but I don't know how to get that from -inside- raku. | |||
08:30
sena_kun joined
08:46
jaguart joined
|
|||
lizmat | Compiler.verbose-config will probably hold that info somewhere | 08:48 | |
as that is what feeds -V I think | 08:49 | ||
docs.raku.org/routine/verbose-config | |||
Xliff ^^ | 08:51 | ||
09:15
Manifest0 joined
10:15
sourceable6 left,
unicodable6 left,
benchable6 left,
linkable6 left,
nativecallable6 left,
evalable6 left,
reportable6 left,
shareable6 left,
greppable6 left,
releasable6 left,
statisfiable6 left,
committable6 left,
quotable6 left,
tellable6 left,
coverable6 left,
squashable6 left,
notable6 left,
bloatable6 left,
bisectable6 left,
reportable6 joined,
tellable6 joined,
sourceable6 joined,
squashable6 joined
10:16
releasable6 joined,
shareable6 joined,
committable6 joined,
evalable6 joined,
bisectable6 joined,
benchable6 joined,
statisfiable6 joined
10:17
bloatable6 joined,
coverable6 joined,
nativecallable6 joined,
notable6 joined,
greppable6 joined
10:18
quotable6 joined,
linkable6 joined,
unicodable6 joined
10:24
Sgeo left
11:24
unicodable6 left,
bloatable6 left,
sourceable6 left,
reportable6 left,
notable6 left,
nativecallable6 left,
shareable6 left,
tellable6 left,
statisfiable6 left,
quotable6 left,
benchable6 left,
evalable6 left,
greppable6 left,
committable6 left,
squashable6 left,
releasable6 left,
bisectable6 left,
coverable6 left,
linkable6 left
11:25
bloatable6 joined,
nativecallable6 joined,
squashable6 joined,
benchable6 joined,
evalable6 joined,
bisectable6 joined
11:26
linkable6 joined,
sourceable6 joined,
unicodable6 joined,
greppable6 joined,
notable6 joined,
coverable6 joined,
committable6 joined
11:27
reportable6 joined,
statisfiable6 joined,
releasable6 joined,
tellable6 joined,
shareable6 joined,
quotable6 joined
11:46
jaguart left
12:00
reportable6 left
12:02
reportable6 joined
13:02
bisectable6 left,
statisfiable6 left,
notable6 left,
squashable6 left,
nativecallable6 left,
linkable6 left,
reportable6 left,
quotable6 left,
releasable6 left,
committable6 left,
greppable6 left,
unicodable6 left,
bloatable6 left,
benchable6 left,
shareable6 left,
evalable6 left,
sourceable6 left,
greppable6 joined,
releasable6 joined,
bloatable6 joined
13:03
reportable6 joined,
nativecallable6 joined,
linkable6 joined,
committable6 joined,
notable6 joined,
shareable6 joined,
euandreh left,
evalable6 joined
13:04
sourceable6 joined,
quotable6 joined,
unicodable6 joined,
bisectable6 joined
13:05
benchable6 joined,
squashable6 joined,
statisfiable6 joined
|
|||
Xliff | Thanks, lizmat++ | 13:51 | |
Again with %?RESOURCES! | 14:05 | ||
14:05
evalable6 left,
linkable6 left
|
|||
Xliff | I have everything I need, but %?RESOURCES<name-of-lib> is giving me a Slip object. | 14:05 | |
Is it because I am running with -Ilib? | |||
14:07
evalable6 joined
14:08
linkable6 joined
14:22
teatwo left,
teatwo joined
|
|||
Xliff | Are there tools that can diagnose problems in META6.json? | 14:43 | |
Are there things to look out for that would cause %?RESOURCES *not* to populate properly? | |||
Help! | |||
Nemokosch | the usual turns. Are you using it in a module file? | 14:46 | |
Xliff | Yep. In a sub, after the unit package statement | 14:50 | |
The file exists. | |||
It is in the "resources" section in META6.json | |||
Just %?RESOURCES{ $key } is empty. | 14:51 | ||
I just checked one of my other projects where it worked and I can't see the differences in approach. | |||
lizmat | typo in key name ? | ||
Xliff | Not that I can see... | 14:52 | |
-rwxrwxr-x 1 cbwood cbwood 24264 Apr 30 09:59 resources/libraries/libmoonphases.so | 14:53 | ||
"resources": [ "libraries/libmoonphases.so" ], | |||
Nemokosch | does this -I stuff not interfere with meta6 stuff? | 14:54 | |
lizmat | -I. doesn't, -Ilib does | 14:56 | |
14:57
tea3po joined
|
|||
Xliff | OK... it's not that then. | 14:58 | |
So I'm going to take a bit of a break. Appreciae the help lizmat++ Nemokosch++ | |||
15:00
teatwo left
|
|||
Nemokosch | I respect your patience for sure | 15:01 | |
15:27
tea3po left,
tellable6 left,
coverable6 left,
sena_kun left,
goblin left,
ProperNoun left,
rypervenche left,
perlmaros left,
thowe left,
Woodi left,
pejayes left,
zups left,
esh left,
zostay left,
rjbs left,
goblin joined,
perlmaros joined,
esh joined,
Woodi joined,
tellable6 joined,
coverable6 joined,
sena_kun joined,
tea3po joined,
zostay joined,
zups joined,
pejayes joined
15:28
rypervenche joined,
rjbs joined,
thowe joined,
rypervenche left,
rypervenche joined
15:30
ProperNoun joined
15:42
zara joined
|
|||
ugexe | libraries is a special directory | 15:46 | |
it automatically mangles the resource name. For instance using .DLL on windows or .so on Linux | |||
15:47
zara left
|
|||
ugexe | To see the extension is something like VM.platform-library-name() or some such (am on a phone) | 15:59 | |
Xliff | So it's the libraries directory that's causing the problem? | 16:22 | |
Yep! Moving the bloody thing out of 'lib' and 'libraries' solves the problem. | 16:26 | ||
Thanks everyone! (ugexe++) | |||
This should be documented. Where is the best place for such a caveat? | |||
[Coke] | (TPF) From experience, I can say that if you're just voting on grants | 16:46 | |
(more) | |||
16:47
linkable6 left,
evalable6 left
|
|||
[Coke] | That the time commitment is very reasonable. Managing a grant takes some more time but not a lot. | 16:47 | |
Definitely good for the Raku community to have raku-aware people on that committee. | |||
16:48
evalable6 joined
|
|||
lizmat | [Coke]: it's TPRF nowadays :-) | 16:49 | |
16:49
linkable6 joined
17:01
raiph joined
17:18
bigdata joined
|
|||
[Coke] | Sure, sorry | 17:36 | |
"back in my day..." | |||
17:44
lucs_ is now known as lucs
17:47
xinming joined
18:00
reportable6 left
18:01
reportable6 joined
18:28
xinming left
18:34
xinming joined
|
|||
Xliff | Previous New Moon 4/20/2023 | 18:35 | |
Next New Moon 5/19/2023 | |||
Previous Full Moon 4/6/2023 | |||
Next Full Moon 5/5/2023 | |||
Raku moon phase calculations. | |||
18:41
xinming left
18:43
xinming joined
18:53
raiph left
18:59
Bocaneri joined,
Bocaneri is now known as Guest1315
19:00
Sauvin left
19:21
Sgeo joined
19:23
linkable6 left
19:25
linkable6 joined
19:28
zaur1c joined
19:34
xinming left
19:38
Guest1315 is now known as Sauvin
19:39
zaur1c left
19:58
bigdata left
20:58
evalable6 left,
linkable6 left
20:59
linkable6 joined
21:00
evalable6 joined
21:15
hythm joined
21:18
vrurg left
|
|||
hythm | m: my $ignorecase = True; my $exact-word = True; my $rx = rx/ pattern /; # how to modify $rx based on conditions, for example if $ignorecase, then $rx should be / :i patter /, if $exact-word, then $rx should be / ^ pattern $ /; | 21:18 | |
camelia | ( no output ) | ||
21:31
vrurg joined
21:33
timo joined
|
|||
Voldenet | just use the string | 21:36 | |
m: my $pattern = "something"; $pattern = "^$pattern\$"; $pattern = ":i $pattern"; say "SOMETHING" ~~ /<$pattern>/; say "not something" ~~ /<$pattern>/; | 21:37 | ||
camelia | ļ½¢SOMETHINGļ½£ Nil |
||
Voldenet | details docs.raku.org/language/regexes#Reg...erpolation | 21:38 | |
hythm | great, somehow I did not think that ":i", "^" or "$" wouldn't have their special meaning inside $pattern, and they will be treated as string. should have tried it. Thanks. | 21:41 | |
21:57
jaguart joined
21:58
euandreh joined
22:07
jaguart left
22:20
hythm left
22:22
sena_kun left
|
|||
lucs | Where do I turn to for this to get fixed?: gist.github.com/lucs/74f9e13a040a5...81057a2a7d | 22:58 | |
I guess it's produced by code in āgithub.com/rakudo/rakudoā? | 23:02 | ||
Hmm... Just cloned the repo, and grepping for 'Markdown', it appears exactly twice, in two files under ./docs :-( | 23:10 | ||
23:13
Manifest0 left
|
|||
Voldenet | github.com/rakudo/rakudo/blob/main....c/Pod.pm6 is probably relevant somewhat | 23:20 | |
lucs | Yeah, looking at it, kind of, but no idea how it connects to the produced Markdown. | 23:22 | |
(if it does) | |||
Voldenet | github.com/softmoth/raku-Pod-To-Markdown | 23:24 | |
lucs | Hey thanks. | 23:25 | |
Voldenet | by default rakudo contains only Pod::To::Text | ||
here github.com/rakudo/rakudo/blob/main...xt.rakumod | |||
lucs | How does the '--doc=Markdown' get recognized and handled? | 23:26 | |
Voldenet | Pod::To::(whatever you put in doc) will call render method | 23:27 | |
lucs | Ah, I see. | ||
Voldenet | s/will call render method/will get its render method called/ | ||
lucs | Thanks for this. | ||
tbrowder__ | Xliff: if you're looking for moon phases i already have raku code for that, with help from a perl module author. i don't think it requires any libraries | 23:40 | |
lucs | Voldenet: Turns out --doc=Text does the same, so I'll be looking there, eh. | 23:41 | |
23:52
jaguart joined
|
|||
tbrowder__ | .tell Xliff see cpan Astro::MoonPhase; that's the source (last update 2007), then manipulated it to my needs into a json format | 23:55 | |
tellable6 | tbrowder__, I'll pass your message to Xliff | ||
23:57
derpydoo joined
|