🦋 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 m: use Hash::Ordered; class A does Hash::Ordered { method f() {} }; say A.WHAT 00:37
camelia ===SORRY!=== Error while compiling <tmp>
Could not find Hash::Ordered in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/home/camelia/rakudo-m-inst-1…
wayland lizmat: Bug report at github.com/lizmat/Hash-Ordered/issues/7 and test PR at github.com/lizmat/Hash-Ordered/pull/6 :) 00:39
.tell lizmat Bug report at github.com/lizmat/Hash-Ordered/issues/7 and test PR at github.com/lizmat/Hash-Ordered/pull/6 :) 00:53
tellable6 wayland, I'll pass your message to lizmat
01:47 hulk joined 01:48 kylese left 02:15 hulk left, kylese joined 02:30 kylese left 02:34 kylese joined 03:28 BiteriaFedora joined 03:31 BiteriaFedora left 05:34 derpydoo joined 05:53 wayland left 05:57 wayland joined 07:17 Xliff left 07:40 sena_kun joined
ab5tract antoncube: that’s a weird thing to say. fez and zef are mostly orthogonal to each other 07:55
07:58 Sgeo left
ab5tract I mean, as much as two intertwined and comingled tools can be 08:01
10:30 abraxxa-home joined, abraxxa-home left 10:53 derpydoo left 11:00 BiteriaFedora joined, wayland76 joined 11:01 wayland left 11:10 BiteriaFedora left, BiteriaFedora joined
tbrowder [Coke]: yeah, the encoding thing didn't work, something else is amiss. windows is a strange beast. i remember three main weirdisms when i first heared agout windows: spaces in file names, noncase-sensitive file system, and \ instead of / for directory separation. ugh, "root of all evel" 11:53
*evil
i think it's a miracle raku (and perl) will even run at all on windows! 11:54
12:04 BiteriaFedora left
Geth ecosystem/main: ce69d4e2f6 | (Elizabeth Mattijsen)++ | META.list
Remove IO::String, its repo has been archived
12:12
tbrowder [Coke]: my bad, i now see i'm getting warnings about latest windows ver of raku isn't supported, duh! 12:59
rolling back...
antononcube @ab5tract I think you are spelling out exactly the reasons why some would write fez, given that zef exists. 🙂 13:02
Voting closes in 15 min here : www.reddit.com/r/rakulang/comments...k_flavors/ 13:06
So, go vote please. 13:07
ugexe the latest version of windows is supported fine 13:35
antononcube I am using NativeCall for the implementation of "Math::DistanceFunctions::Edit". After installation that package and package that depend on it work fine, but if I log-out and log-in of my computer and try to run Raku packages that use "Math::DistanceFunctions::Edit" I get messages like : Cannot locate native library 13:40
'/var/folders/j5/vnk_my8d2r36k6tnsvn92wvr0000gn/T/.zef.1723166991.4199/1723166993.4199.499.66082542927006/resources/9AC824E4227008563C7587B42D61BF4272EA3A9E.dylib': dlopen(/var/folders/j5/vnk_my8d2r36k6tnsvn92wvr0000gn/T/.zef.1723166991.4199/1723166993.4199.499.66082542927006/resources/9AC824E4227008563C7587B42D61BF4272EA3A9E.dylib, 0x000A): tried: '/9AC824E4227008563C7587B42D61BF4272EA3A9E.dylib' (no such file), [...]
What would be the problem?
ugexe some module is stringifying %?RESOURCES<...> probably
i.e. using `is native(%?RESOURCES<foo>.Str)` instead of `is native(%?RESOURCES<foo>)` 13:41
github.com/antononcube/Raku-Math-D...rakumod#L8 13:43
change to `my constant $library = %?RESOURCES<libraries/EditDistance>;`
antononcube @ugeexe Thank you! I just noticed that I am stringifying %?RESOURCES<libraries/EditDistance> and B.Duggan does not in his C-based packages, and dismissed it as the reason. 13:46
@ugexe Could I have figured out the stringyfication problem by reading the NativeCall documentation? (Well, at this point I just "browsed" it...) 13:51
tbrowder ugexe: sorry for the bad issue report--i misread the workflows log. 13:54
ugexe antoncube: im not sure, but the idea is more general than that. i imagine most people dont really intend to have a path saved to a compile time variable, because the path might change for whatever reason in the future 14:03
there is also a rakudo warning if you call stringification methods on a %?RESOURCES directly, but you wouldnt see those since you first called .IO on it (which unfortunately side-steps the warning for stringification) 14:04
antononcube @ugexe Thanks -- very interesting, useful... 14:06
Geth ecosystem/main: 686b8e5c78 | (Elizabeth Mattijsen)++ | META.list
Remove Algorithm::(Elo|LCS) and Pod::EOD

The live in the zef ecosystem now
15:08
ecosystem/main: 960a64b8a8 | (Elizabeth Mattijsen)++ | META.list
Remove araraloren's dists

They have been moved to Raku Community Modules and will be re-released in the zef ecosystem shortlyM
15:13
tbrowder .ask librasteve have you tried using 'run' instead of 'qqx' for running 'podtotext'? 15:25
tellable6 tbrowder, I'll pass your message to librasteve
15:29 wayland76 left
librasteve tbrowder: sorry, I have a habit of using qqx (with backticks as delimiters) - i normally have to do some trial and error and i find this is the most useful and forgiving for a fast turnaround and gives you back a result 17:51
tellable6 2024-08-10T15:25:52Z #raku <tbrowder> librasteve have you tried using 'run' instead of 'qqx' for running 'podtotext'?
librasteve feel free to tighten to run 17:52
18:12 Aedil left 18:19 Aedil joined
tbrowder ok, trying now on windows only 18:22
qqx does fine on linux and macos for PDF::Extract, but windows is...bill gates' thing 18:24
so glad i saw *nix before windows 18:26
18:26 teatwo joined, [Coke]_ joined 18:27 goblin joined 18:28 dmvrtx left, shareable6 left, dmvrtx joined, shareable6 joined 18:29 tellable6 left, Aedil left, [Coke] left, elcaro left, tellable6 joined, kst`` joined, destroycomputers left, ilogger2 left, tejr left, bdju left, dfarnsworth left, kjp left, synthmeat left, kst left, teatime left, HobGoblin left, greppable6 left 18:30 phogg left, greppable6 joined, phogg joined, tejr joined 18:31 elcaro joined, destroycomputers joined, dfarnsworth joined, bdju joined, Aedil joined, kjp joined 18:35 nicole left 18:48 Aedil left 18:54 nicole joined 18:57 synthmeat joined 19:00 ilogger2 joined 19:29 El_Che left 19:30 El_Che joined 19:31 PipStuart left 19:50 [Coke]_ is now known as [Coke]
[Coke] tbrowder: the difference is that qqx uses a shell to run the command, while run runs it directly. 19:52
sorry, I mean: librasteve. 19:53
apologies.
20:33 abraxxa-home joined
tbrowder [Coke]: thnx. there is something that windows doesn't support in that module and i haven't figured it out yet. looking now at nqp and raku source. 21:10
vendethiel m: class A { has Int|$?CLASS @.b; }; A.new 21:24
Raku eval Exit code: 1 ===SORRY!=== Error while compiling /home/glot/main.raku Malformed has at /home/glot/main.raku:1 ------> class A { has Int⏏|$?CLASS @.b; }; A.new
evalable6 (exit code 1) 4===SORRY!4=== Error while compiling /tmp/DAgTLNtlhI
Malformed has
at /tmp/DAgTLNtlhI:1
------> 3class A { has Int8⏏4|$?CLASS @.b; }; A.new
vendethiel m: class A { has Int|A @.b; }; A.new
Raku eval Exit code: 1 ===SORRY!=== Error while compiling /home/glot/main.raku Malformed has at /home/glot/main.raku:1 ------> class A { has Int⏏|A @.b; }; A.new
evalable6 (exit code 1) 4===SORRY!4=== Error while compiling /tmp/Kw4tXb7MXn
Malformed has
at /tmp/Kw4tXb7MXn:1
------> 3class A { has Int8⏏4|A @.b; }; A.new
vendethiel m: class A {...}; subset F of Int|A; class A { has F @.b; }; A.new 21:25
evalable6 WARNINGS for /tmp/vRFK3Fkcl7:
Useless use of "|" in expression "subset F of Int|A" in sink context (line 1)
Raku eval WARNINGS for /home/glot/main.raku: Useless use of "|" in expression "subset F of Int|A" in sink context (line 1)
vendethiel er 21:26
m: class A {...}; subset F where Int|A; class A { has F @.b; }; A.new
Raku eval
evalable6
tbrowder on windows i can slurp a file and search for a word fine. but when i wrap it inside a class that uses that in a method i get a failure. weird. 21:32
but the same class works on linux and macos 21:33
21:41 abraxxa-home left
antononcube @lizmat "Acme::Text::UpsideDown" is not working !!! 22:09
22:12 sena_kun left