🦋 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 human-blip left, swaggboi joined 00:01 human-blip joined 00:15 Sgeo left 00:20 Sgeo joined 00:42 mcmillhj left 00:48 jaguart joined 00:49 jaguart left 00:51 jaguart joined 02:09 eseyman left 02:11 eseyman joined 02:29 nine_ left 02:30 nine joined 02:36 hulk joined 02:37 kylese left 03:15 hulk left, kylese joined, edr left 03:51 jaguart left 03:52 jaguart joined 04:01 MasterDuke joined 06:28 gordonfish left 06:44 gordonfish joined 07:47 jpn joined 08:13 jpn left 08:40 Sgeo left 08:47 jpn joined 08:52 merp left 08:54 merp joined, jpn left 08:55 jpn joined 09:00 jpn left 09:07 grondilu left 09:16 dakkar joined 09:24 jpn joined 09:28 vrurg left 09:41 dbonnafo left
librasteve o/ 12:12
lizmat: I have refactored the Contact code (both the gh repo and the advent post) to sidestep the "circular use" impression previous version gave - I had to deschedule the wp post to make the updates ... please can you reschedule it? 12:14
lizmat librasteve done 12:15
librasteve ta!
tbrowder__ ugexe: i'm having zef report tests good on a devel distro in situ but it fails when i try to install it from its home repo. with zef --debug i can see the failing tests but i'm having trouble seeing why it would be different. 12:43
the tests do involve using tempdir and unlinking test files and counting same before and after testing, so maybe there is something there i'm not considering 12:45
but, what is different about the two test environments from zef's perspective? 12:46
oops, i see the problem, it's the old (and incorrect) use of ?RESOURCES after installation. fix should be easy after you showed the correct way to do it 12:58
13:01 edr joined 13:27 TieUpYourCamel left 13:40 TieUpYourCamel joined 14:08 vrurg joined 14:24 jpn left 15:13 jpn joined 17:11 jpn left 17:18 jpn joined
tbrowder__ ref: HowToUseModuleResources,i have solved the last piece of the puzzle: how to install executables in resources 17:30
17:31 jpn left
tbrowder__ briefly: get the bin file's contents, spurt it to a /usr/local/bin/myprog file, chmod the file with 0o755, and use it 17:33
that's on linux, procedure may change on mac and win 17:35
17:37 dakkar left
tbrowder__ i haven't yet determined best way to handle sudo requirement 17:38
[Coke] aren't executables automatically installed along with bin scripts? 17:39
and permissions automatically handled by that?
tbrowder__ yes, but i have a special case that requires a system file and i don't want it as a regular user bin file 17:41
[Coke] that is, you have to make things executable, sure, but you do that on the copy in bin/ and those perms are copied - as far as sudo goes, if you need sudo, you run zef with sudo, not spawn a command from zef with sudo 17:42
I would be upset if you installed something into /usr/local from zef if I was installing to a specific install dir. 17:43
tbrowder__ hm, good points, maybe i got lost in the weeds :-( 17:44
i'll have to look closer at my use case
[Coke] Sure, not trying to shoot you down, more to understand. 17:46
tbrowder__ my thought was to hide the special executable because (1) is isn't designed to be used directly and (2) it's probably not easily availaable 17:48
available as a system file.
[Coke] is it something you can have a native dependency on ? 17:49
like we depend on `dot` in one of the docs modules?
17:51 dbonnafo2 joined
tbrowder__ i'm not sure, but putting the bin file in HOME/.bin or other such place would be better and not require sudo. 17:51
thanks for the excellent reality check!
btw, my wife is now excited about a Mac Air for Christmas and i'll be able to ssh in to it (i hope) 17:53
lizmat Settings -> Sharing 17:58
[Coke] I love the M2 macbook I got, very happy with it.
I've heard similarly good things about recent Airs! 17:59
tbrowder__ getting an m1 18:00
[Coke] nice. 18:01
tbrowder__ 2020
[Coke] "they're all good macs, bront."
tbrowder__ ok, so says my son 18:02
[Coke] :)
18:08 antim0d3s left 18:09 sdfgsdfg joined
tbrowder__ i went looking for the file again and its site is not responding. it came from a SUSE developer and i'm not even sure it's in their packages. file is "ttf-converter.py" 18:12
the $HOME bin file placement should work. i'll put it in ~/.bin unless anyone has a better non-system location for a python script 18:17
it converts PostScript .pfb font files to TrueType .ttf format 18:21
[Coke] same place you'd install the raku scripts? 18:23
then there's no worries about making sure ~/.bin exists or is writable 18:24
I think that would be "slightly odd" but ok.
18:29 verzit joined 18:32 jpn joined 18:41 sena_kun joined 18:44 jpn left 18:52 jpn joined
ab5tract tbrowder__: it may be more polite to use ~/.local/bin 18:58
I'd go with whatever is the XDG standard 18:59
19:04 Manifest0 joined 19:14 notna joined
tbrowder__ ab5tract: good idea, i’ll ck it out 19:16
19:23 notna left 19:35 jpn left 19:51 Xliff joined
Xliff \o 19:51
tbrowder__ ab5tract: yepper, gonna use ~/.local/bin, t'anks 20:05
env 20:15
oops, ff
20:27 jpn joined 21:04 jpn left 21:26 jpn joined 21:28 mcmillhj joined 21:46 verzit left 22:02 jpn left 22:31 kjp left 22:34 kjp joined 22:35 jpn joined 22:43 jpn left 23:03 sena_kun left 23:12 jpn joined 23:20 jpn left