🦋 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.
elcaro doing `.fmt('%2d')` rather than '%.2d' will pad the numbers with a space, rather than a zero, which is more likely what you want (and saves a byte!) 00:03
also, `.rotor($n, :partial)` is shorter as `.batch($n)` 00:05
Xliff_ elclaro++ # Thanks! I'll consider dropping the 0 padding as an option in the full version. 05:41
Nemokosch DROP TABLE pending_messages; 08:10
tellable6 2022-09-28T08:07:40Z #raku <lizmat> Nemokosch: indeed, not intentional, new version uploaded to zef, thanks for the spot!
2022-09-28T08:22:07Z #raku <lizmat> Nemokosch: I guess you could get the release date from the latest date of the first tar file
2022-10-02T10:49:24Z #raku <El_Che> Nemokosch: be careful with terminology because they will look up stuff while learning
2022-10-02T13:27:47Z #raku <andinus> Nemokosch: ah i see
2022-10-02T16:13:55Z #raku <El_Che> Nemokosch: what's special about Raku's variables
2022-10-04T20:34:27Z #raku <guifa_> Nemokosch: that was designed to be part of raku's oddly consistent state. -1 is actually negating prefix + value
2022-10-04T21:22:54Z #raku <guifa_> Nemokosch: I think it should be eventually solvable. RakuAST in particular would make inserting a negative value there extremely easy
Nemokosch guifa_: I feel RakuAST is like the promised land. Everything will be shiny there, except it could be that none of us will live long enough. As long as there is no set schedule for it, I'd rather go with a workaround for now. 08:12
gfldex .tell Xliff gist.github.com/b1a3eb9f870cb7c6af...63f2fa2a80 11:00
tellable6 gfldex, I'll pass your message to Xliff_
tbrowder um, check out module github.com/tbrowder/Calendar 12:31
multilingual 12:32
tonyo That's p cool 13:05
tbrowder golfing is an art, but i like drafting better, it doesn’t hurt my head 13:09
tonyo can someone on windows tell me if pax exists with and without the linux subsystem? 13:42
El_Che tonyo: if you mean the packager tar like utility someone here tells me yes in wsl no in windows. 14:33
tonyo El_Che: danke, that's the one 14:43
trying to figure out how to make fez packaging a little more sane
bsd has a lot of edge cases for tar 14:44
tonyo and git is a nightmare because it packages what's committed and not what's on disk 14:56
El_Che idd 18:26
indeed 18:27
not a easy task
an 18:28
crystalfrost[m] m: sub foo( --> -1) { } 18:29
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> sub foo( -->⏏ -1) { }
crystalfrost[m] I have never noticed that 😅 since I started to learn raku 18:30
Nemokosch Oh yeah, that's what I'm talking about... 18:44
Kaiepi m: my constant mmm = <mmm>; -> --> mmm { } 18:53
camelia ( no output )
Kaiepi m: my constant $mmm = <mmm>; -> --> $mmm { }
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> my constant $mmm = <mmm>; -> -->⏏ $mmm { }
Nemokosch "Value" only 18:57
tonyo m: sub t2 ($a --> $a*2) {}; t2(4) 20:53
camelia ===SORRY!=== Error while compiling <tmp>
Malformed return value
at <tmp>:1
------> sub t2 ($a -->⏏ $a*2) {}; t2(4)
Nemokosch and just when you think it couldn't get any worse 20:56
m: my \fake-say = &say; sub foo(--> fake-say()) {}; foo 20:58
camelia ===SORRY!===
No compile-time value for fake-say
Nemokosch liar, it works in the repl
anyway, if it complains about "compile time", probably it would work with an EVAL at least 21:01
[Coke] Nemokosch: what version of raku do you have? fails here also 21:06
Nemokosch > Currently running moar-2022.07 21:07
[Coke] same. 21:11
fails on CLI and in the REPL here, and in the REPL I get a weird backtrace also 21:12
Nemokosch it works on the REPL if you don't put it on one line 21:14
gfldex m: constant \fake-say = &say; sub foo(--> fake-say()) {}; foo 22:01
camelia ( no output )
Nemokosch it looks just like a function call but it's in fact a type signature 22:04
probably won't ever do anything
okay, it' s a bit worse than I thought - fake-say() could be used as a type annotation and that variable could be called 22:07