đŠ 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:43
guifa joined
|
|||
Geth | ecosystem/main: ca88f2df1f | MasterDuke17++ (committed using GitHub Web editor) | META.list Remove Text::Diff::Sift4, it's now in the fez/zef ecosystem |
00:57 | |
01:08
hulk joined
01:10
kylese left,
jgaz left
02:15
hulk left,
kylese joined
03:04
human-blip left
03:05
human-blip joined
03:45
kylese left
03:47
kylese joined
04:26
guifa left
04:43
human-blip left
04:45
human-blip joined
05:22
human-blip left
05:24
human-blip joined
05:36
Aedil joined
06:28
lichtkind joined
06:41
cmburn joined
|
|||
cmburn | How would I get the containing package of an object in Raku? | 06:44 | |
librasteve | i would vote for fewer discord channels - maybe archive the ones that are inactive to help newcomers feel less tumbleweedy | 07:27 | |
tellable6 | hey librasteve, you have a message: gist.github.com/a8e7b45800a631d1a6...e899a91be3 | ||
librasteve | cmburn: $?PACKAGE | 07:31 | |
docs.raku.org/language/variables#I..._variables (im sharing the docs ref since these are a bit buried away) | |||
07:43
Sgeo left
07:52
dakkar joined
08:00
wayland76 joined
08:24
Aedil left
|
|||
wayland76 | o/ | 09:30 | |
tellable6 | 2025-05-07T23:20:21Z #raku <coranila> wayland76: make test or make spectest, depending on whether it's a Rakudo test or a Raku test | ||
2025-05-07T23:21:00Z #raku <coranila> wayland76: alternatively make $repative_file_path runs only one test file | |||
wayland76 | .tell coranila Thanks! | 09:31 | |
tellable6 | wayland76, I'll pass your message to coranila | ||
10:08
stanrifkin joined
11:36
sjm_ joined
11:38
sjm__ left
13:13
dakkar left
13:14
dakkar joined
13:23
sjm_ left
14:33
Sgeo joined
14:37
Sgeo_ joined
14:41
Sgeo left
14:52
Aedil joined
15:18
lichtkind left
15:23
lichtkind joined
15:47
donaldh left
|
|||
[Coke] | crag suggestion: maybe allow multiple args to be allowes, so I can do "crag 2+3, 4+5" and not "crag '2+3, 4+5'" | 15:55 | |
(basically $arg = @args.join(' ')) | 15:59 | ||
how to, say, convert ÂșC to f? | 16:00 | ||
lizmat | re crag: librasteve what would be against turning it into a REPL like app ? | 16:01 | |
[Coke] | I for one don't want a repl-only version | 16:05 | |
if it could still be invoked as a command line, nifty | 16:06 | ||
(but that's just my 2Âą) | 16:14 | ||
also: a way to process command line args would be nice? | |||
librasteve | [Coke]: all suggestions gratefully received ... the idea of crag (well 3sec unless you have an M4 Max) is to just quickly get an answer to some point question, so I think that a list of calcs is a bit err quirky | 16:38 | |
github.com/librasteve/raku-App-Cra...the-day.md has a bunch of examples | 16:39 | ||
16:40
Awonder joined
16:43
dakkar left
|
|||
also crag is just a wrapper on github.com/librasteve/raku-Physics-Measure ... | 16:43 | ||
atm the optimal way to do that is crag '^<39 °C> .in: <°F>' | 16:45 | ||
which is another way to spell crag 'âïž<39 °C> .in: <°F>' | 16:46 | ||
16:47
apac joined
16:49
Guest74 joined
|
|||
[Coke] | FYI, the second to last one you sent dies here with "couldn't parse defn Str ÂșC" | 16:50 | |
... and it looks like your degree char might not be the same. | |||
m: say "°".uninames | |||
camelia | (DEGREE SIGN) | ||
[Coke] | m: say "Âș".uninames | ||
camelia | (MASCULINE ORDINAL INDICATOR) | ||
16:51
Guest74 left
|
|||
[Coke] | Lovely - that's what I get when I type "option 0" on a mac, which *looks* like degrees but isn't. | 16:51 | |
librasteve | you are probably using Âș instead of ° | ||
yeah - actually I consider that a bug and that Physics::Unit should take both | 16:52 | ||
[Coke] | github.com/librasteve/raku-Physics-Unit/issues ? | 16:53 | |
I can add a request there. | |||
librasteve | im doing it now | ||
github.com/librasteve/raku-Physics.../issues/26 | |||
[Coke] | oh, github.com/librasteve/raku-Physics.../issues/26 | ||
ah, that's why it showed up on a second search. :) | 16:54 | ||
Thanks | |||
librasteve | on the REPL, yes I am pretty keen to add a REPL mode to crag (ie if you type bare crag) using lizmats awewons REPLy stuff ... probably quite trivial to do | 16:55 | |
yw | |||
crag is a way for me to road test ^<<number><.ws><unit-str><.ws><error>?> as a better âïž<<number><.ws><unit-str><.ws><error>?> ... | 17:01 | ||
^<39 ÂșC> feels good to me - better than eg u|39 ÂșC| --- but I am very open to feedback and ideas on that | 17:02 | ||
crag '(^<39 °C> .in: <°F>) .in: <°C>' => 39ÂșC (love those Rats) | 17:04 | ||
17:07
human-blip left
|
|||
lizmat | librasteve I'l make a PR to turn App::Crag into a REPL if no args are given | 17:07 | |
17:08
human-blip joined
17:13
Awonder left
17:20
Awonder joined
17:30
Awonder left
17:33
human-blip left,
human-blip joined
17:53
donaldh joined
|
|||
librasteve | lizmat++ | 17:57 | |
18:02
apac left
18:04
bdju left
|
|||
ok fixed (v2.0.5) | 18:19 | ||
zef install Physics::Unit --force-install --/test should do it | 18:20 | ||
18:23
bdju joined
18:49
bdju left
18:51
bdju joined
18:55
topnep joined
19:00
bdju left,
bdju joined
|
|||
[Coke] | TIL www.physlink.com/education/askexperts/ae369.cfm | 19:11 | |
19:12
apac joined
19:28
apac left
20:03
librasteve_ joined
20:21
stanrifkin left
20:33
Aedil left
20:59
topnep left
21:00
topnep joined
21:24
apac joined
21:37
thowe left
21:46
apac left
22:06
human-blip left
22:11
human-blip joined
22:17
human-blip left
22:18
human-blip joined
22:41
guifa joined
|
|||
wayland76 | Question: With "zef install ." (note the dot), it will install all dependencies, and then the thing in '.'. Is there a way to get it to install the dependencies, but not the thing in '.' itself? | 23:00 | |
23:02
wayland76 left
23:23
librasteve_ left
23:24
lichtkind left
|
|||
japhb | .tell wayland76 The --depends option, I believe | 23:40 | |
tellable6 | japhb, I'll pass your message to wayland76 | ||
[Coke] | .tell wayland76 zef install --deps-only . | 23:58 | |
tellable6 | [Coke], I'll pass your message to wayland76 | ||
[Coke] | I do this all the time for raku/doc | ||
I also make much more use of --serial than I should (install everything you can even if something in the chain fails) |