🦋 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:02
reportable6 joined
00:03
jpn left
00:45
DarthGandalf left
00:54
Maylay joined
00:58
DarthGandalf joined
01:25
lichtkind left
01:46
jpn joined
01:51
jpn left
|
|||
Xliff | timo: You may be correct. However I have yet to read a PNG spec that does not leave me without the desperate need for Aspirin with an Absinthe chaser. | 01:53 | |
01:53
Xliff left
02:23
dustinm` left
02:24
dustinm` joined
02:37
teatime left
02:38
teatime joined
02:41
evalable6 joined
02:45
xinming_ left
02:47
xinming_ joined,
teatime left
02:58
teatime joined
03:10
renormalist left,
renormalist joined
03:34
jpn joined
03:39
jpn left
04:06
linkable6 joined
04:37
gugod left
04:39
gugod joined
05:01
jpn joined
05:06
rf left
05:08
jpn left
05:12
sivoais left
05:27
willthechill left
05:45
sivoais joined
06:00
reportable6 left
06:02
reportable6 joined,
sivoais left
06:07
jpn joined
06:11
jpn left
06:15
sivoais joined
06:35
justache left
06:36
justache joined
06:49
perlbot left,
perlbot joined
06:50
uzl[m] left
06:51
uzl[m] joined
06:52
simcop2387 left,
simcop2387 joined
07:16
jpn joined
07:21
jpn left
07:27
jpn joined
07:59
dakkar joined
08:20
sena_kun joined
08:39
jpn left
09:17
lichtkind joined
09:29
jpn joined
09:33
jpn left
09:37
Sgeo left
10:13
Aedil left
10:16
Aedil joined
11:45
sivoais left
11:47
euandreh left
12:00
reportable6 left,
reportable6 joined
12:17
sivoais joined
12:23
jpn joined
12:28
jpn left
12:51
jpn joined
12:58
avuserow left,
avuserow joined
13:26
euandreh joined
13:31
jpn left
13:38
jast left,
jast joined
14:12
rf joined
14:17
jpn joined
14:21
jpn left
14:27
teatime left
14:28
teatime joined
14:32
willthechill joined
14:33
dogbert17 joined
15:43
jpn joined
15:48
jpn left
|
|||
guifa peaks at the spec | 16:13 | ||
egads | 16:14 | ||
lizmat clickbaits rakudoweekly.blog/2023/07/03/2023-...g-rakudoc/ | 16:20 | ||
16:23
jjatria left
16:24
jjatria joined
16:35
dakkar left
16:38
abraxxa-home joined
16:46
abraxxa-home left
16:48
abraxxa-home joined
17:20
discord-raku-bot left,
discord-raku-bot joined
17:42
jpn joined
17:46
jpn left
17:48
rf left
17:58
Sgeo joined
18:00
reportable6 left
18:03
reportable6 joined
19:03
squashable6 left,
benchable6 left,
coverable6 left,
linkable6 left,
quotable6 left,
sourceable6 left,
statisfiable6 left,
shareable6 left,
releasable6 left,
bisectable6 left,
reportable6 left,
unicodable6 left,
evalable6 left,
bloatable6 left,
committable6 left,
notable6 left,
greppable6 left,
tellable6 left,
squashable6 joined
19:04
bloatable6 joined,
unicodable6 joined,
sourceable6 joined,
statisfiable6 joined
19:05
shareable6 joined,
tellable6 joined,
reportable6 joined
19:17
ab5tract joined
|
|||
gfldex | Is it possible to display some text if a use-statement fails because the module is not installed? | 19:24 | |
19:32
rf joined
|
|||
lizmat | m: CATCH { dd $_ }; require Foo | 19:34 | |
camelia | X::CompUnit::UnsatisfiedDependency.new(specification => CompUnit::DependencySpecification.new(:short-name<Foo>)) Could not find Foo in: /home/camelia/.raku /home/camelia/rakudo-m-inst-1/share/perl6/site /home/camelia/rakudo-m-inst-… |
||
Voldenet | gfldex: (require NotInstalled) or say "Nope" | 19:35 | |
m: (require NotInstalled) or say "Nope" | |||
camelia | Could not find NotInstalled 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/share/perl6/core CompUnit::Repository::Abso… |
||
Voldenet | hmm | 19:36 | |
m: (try require NotInstalled) or say "Nope" | |||
camelia | Nope | ||
19:45
notna joined
19:47
notna left
|
|||
[Coke] | I have written that as: | 19:51 | |
if (try require Uxmal) === Nil { | |||
20:04
committable6 joined
20:05
evalable6 joined
20:06
bisectable6 joined
|
|||
ugexe | technically "if a module is installed" is not the same as "if a module can be used" :P | 20:07 | |
20:08
coverable6 joined
|
|||
ugexe | the other suggestions using `require` are may not be ideal if you are otherwising using the module in question, since it would be loaded (and error) before the runtime require | 20:08 | |
if you just want to optionally load a module though, then yeah that is probably what you want | 20:10 | ||
20:10
notable6 joined
|
|||
ugexe | m: say so $*REPO.resolve(CompUnit::DependencySpecification.new(:short-name<Test>)) | 20:12 | |
camelia | True | ||
ugexe | m: say so $*REPO.resolve(CompUnit::DependencySpecification.new(:short-name<XXX>)) | ||
camelia | False | ||
ugexe | thats another way to do it at runtime | ||
although that won't load it | |||
[Coke] | RAKUAST makes t/03-tests-valid.rakutest very unhappy | 20:14 | |
ww | |||
20:23
slu joined
20:53
sena_kun left
21:05
abraxxa-home left
21:16
releasable6 joined
|
|||
tbrowder__ | happy Independence Day for all US ppl here | 21:24 | |
ugexe: i have a module with | 21:25 | ||
a Build that works fine on my dev hosts but not in workflows on github. | 21:26 | ||
it is supposed to create or check file in a user's $HOME directory, and it does so for me. | 21:27 | ||
however, it doesn't seem to do anything when run at github (i have looked at a debug r | 21:29 | ||
should it work, in principle? | |||
or is $HOME off base on github? | 21:30 | ||
ugexe | can i see your code? | 21:33 | |
tbrowder__ | it's at github.com/tbrowder/FontFactory/Build.rakumod | 21:34 | |
i can gist it if you want | 21:35 | ||
that link doesnt have | 21:36 | ||
ugexe | well, you don't have all your dependencies listed | ||
github.com/tbrowder/FontFactory/bl...ist#L3-L10 | 21:37 | ||
are all of those listed in META6.json? | |||
because your Build.rakumod runs that script, and so you'd need those dependencies installed | |||
presumably they are already installed on your local system | |||
but on a fresh system (i.e. github actions) they wouldn't be installed. and they won't get installed without being listed in META6.json | |||
if you run zef with --debug it might show you whatever error it is getting | 21:38 | ||
tbrowder__ | i thought they were but i'll dbl ck. thanks. (actually i thought mi6 would catch those things). i'll report back results. | 21:40 | |
ugexe | also i dont see you running `zef build .` in your github action | ||
so its also possible the build step is never taking place that way | |||
tbrowder__ | oh? ok. i'll check that after seeing about the other stuff. thank you! | 21:41 | |
tonyo | . | 21:55 | |
tbrowder__ | i just added the missing build step.and some missing deps...now waiting | 22:05 | |
that worked as advertized--thanks for the help, Nick! | 22:13 | ||
just in time for fireworks, hot dogs, and cold beer! | 22:14 | ||
22:16
evalable6 left
22:18
evalable6 joined
22:51
slu left
23:16
lichtkind_ joined
23:17
greppable6 joined
23:18
lichtkind left
23:21
benchable6 joined
23:31
lichtkind_ left
23:54
dogbert17 left
|