🦋 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
00:07 reportable6 left 00:09 reportable6 joined 00:12 euandreh left 00:15 euandreh joined 00:17 epony joined 00:47 ProperNoun left 00:48 euandreh left 00:56 euandreh joined 01:18 euandreh left 01:19 euandreh joined 01:36 vrurg_ joined, vrurg left 02:36 notable6 left, squashable6 left, unicodable6 left, greppable6 left, bloatable6 left, coverable6 left, tellable6 left, linkable6 left, evalable6 left, committable6 left, statisfiable6 left, quotable6 left, sourceable6 left, reportable6 left, bisectable6 left, shareable6 left, releasable6 left, benchable6 left, nativecallable6 left, releasable6 joined, nativecallable6 joined, greppable6 joined, notable6 joined, unicodable6 joined, statisfiable6 joined, bisectable6 joined 02:37 benchable6 joined, coverable6 joined, squashable6 joined, linkable6 joined, committable6 joined, tellable6 joined, shareable6 joined 02:38 quotable6 joined, reportable6 joined, sourceable6 joined, evalable6 joined 02:39 bloatable6 joined 02:51 vrurg joined, vrurg_ left 02:56 Xliff left, Xliff_ joined 03:00 vrurg left 03:01 vrurg joined 03:11 vrurg_ joined, vrurg left 03:15 rir_ joined 03:20 rir left, vrurg_ left, vrurg joined 04:06 vrurg left, vrurg_ joined 04:10 vrurg_ left 04:11 vrurg joined 04:20 vrurg left 04:21 vrurg joined 04:53 xinming left, xinming joined
Xliff_ elclaro++ # Thanks! I'll consider dropping the 0 padding as an option in the full version. 05:41
05:43 [Coke] left 05:45 [Coke] joined 06:07 reportable6 left, reportable6 joined 06:33 lichtkind joined 06:37 Xliff_ left 07:21 vrurg_ joined, vrurg left 08:06 sena_kun joined 08:08 dakkar joined 08:09 Nemokosch joined
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
08:11 bpalmer left
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
08:26 Nemokosch left 08:34 frost joined 08:55 sena_kun left 08:57 sena_kun joined 09:15 sena_kun left 09:20 jetchisel left 09:23 jetchisel joined 10:04 Sgeo left 10:08 sena_kun joined
gfldex .tell Xliff gist.github.com/b1a3eb9f870cb7c6af...63f2fa2a80 11:00
tellable6 gfldex, I'll pass your message to Xliff_
11:08 tellable6 left 11:10 tellable6 joined 11:33 frost left, frost joined 12:00 Nemokosch joined 12:07 reportable6 left 12:08 reportable6 joined 12:22 Nemokosch left
tbrowder um, check out module github.com/tbrowder/Calendar 12:31
multilingual 12:32
12:38 Nemokosch joined 12:43 Nemokosch left 12:51 Nemokosch joined, Nemokosch left
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
13:10 frost left 13:23 kjp left 13:27 frost joined 13:32 Nemokosch joined, Nemokosch left 13:34 frost left 13:36 kjp joined
tonyo can someone on windows tell me if pax exists with and without the linux subsystem? 13:42
13:47 razetime joined 14:02 Nemokosch joined, Nemokosch left 14:13 ProperNoun joined
El_Che tonyo: if you mean the packager tar like utility someone here tells me yes in wsl no in windows. 14:33
14:35 epony left
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
14:51 epony joined
tonyo and git is a nightmare because it packages what's committed and not what's on disk 14:56
15:43 euandreh left 15:45 euandreh joined 16:17 vrurg joined, vrurg_ left 16:40 dakkar left 16:45 euandreh left 16:50 euandreh joined 17:05 sena_kun left, sena_kun joined 17:15 Kaiepi left 17:21 vrurg_ joined, vrurg left 17:24 razetime left 17:31 vrurg joined, vrurg_ left 17:36 sena_kun left 17:44 Kaiepi joined 18:05 reportable6 left 18:08 reportable6 joined 18:10 sena_kun joined 18:21 vrurg_ joined, vrurg left 18:25 crystalfrost[m] joined
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
18:41 TieUpYourCamel left
Nemokosch Oh yeah, that's what I'm talking about... 18:44
18:53 TieUpYourCamel joined
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
19:04 vrurg joined, vrurg_ left 19:49 Sgeo joined 19:59 dextercd joined 20:06 simcop2387 left 20:07 perlbot left 20:09 simcop2387 joined, perlbot joined 20:30 rir_ left
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)
20:56 Nemokosch joined
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
21:11 justache is now known as justHaunted
[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
21:16 euandreh left 21:17 euandreh joined 21:20 Nemokosch left
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
22:20 linkable6 left, evalable6 left 22:21 linkable6 joined 22:23 evalable6 joined 22:31 sena_kun left 23:00 lichtkind left 23:18 dextercd left 23:38 Kaiepi left