🦋 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:02 jgaz joined 00:06 jgaz left 00:07 reportable6 left 00:09 reportable6 joined 00:21 euandreh left, euandreh joined 01:10 guifa left 01:24 Maylay left 01:26 [Coke]_ joined 01:28 [Coke] left 01:29 Maylay joined 01:35 [Coke]_ left 01:37 [Coke] joined
[Coke] . 01:37
01:38 [Coke]_ joined 02:09 frost joined 03:03 [Coke]__ joined 03:05 [Coke] left, [Coke]_ left 03:08 [Coke] joined
frost m: if 1 -> \n {say n, "true"} else {say n, "false"} 03:25
camelia ===SORRY!=== Error while compiling <tmp>
Undeclared routine:
n used at line 1
frost m: if 1 -> $n {say $n, "true"} else {say $n, "false"} 03:26
camelia ===SORRY!=== Error while compiling <tmp>
Variable '$n' is not declared. Perhaps you forgot a 'sub' if this was
intended to be part of a signature?
at <tmp>:1
------> if 1 -> $n {say $n, "true"} else {say ⏏$n, "false"}
Voldenet consider this 03:32
m: if my $n = 1 { say $n, "true" } else { say $n, "false" }
camelia 1true
03:50 Xliff left 03:56 ProperNoun left 03:58 ProperNoun joined 04:02 vrurg left 04:03 vrurg joined 04:40 [Coke]_ joined 04:42 [Coke]__ left, [Coke] left 04:45 [Coke] joined 04:48 [Coke]__ joined 04:50 [Coke]_ left, [Coke]___ joined, [Coke] left 05:12 sena_kun joined 05:21 sena_kun left 05:46 epony left 05:47 razetime joined 06:07 reportable6 left, reportable6 joined 06:18 [Coke] joined 06:19 [Coke]_ joined 06:20 [Coke]__ left, [Coke]___ left 06:50 Sgeo left 07:12 epony joined 07:22 Tirifto left 07:25 Tirifto joined 07:28 abraxxa joined 07:39 sftp left 07:48 razetime left 07:56 [Coke]__ joined, [Coke]___ joined 07:57 [Coke]_ left 07:58 [Coke] left 08:03 [Coke] joined, [Coke]_ joined 08:04 [Coke]___ left 08:05 razetime joined, [Coke]__ left 08:08 dakkar joined 08:24 sena_kun joined
Nemokosch oh this is exactly what I asked about sometime yesterday 😄 08:57
so now we do have a use case where `if my` might be a better idea 08:58
09:09 frost left 09:33 [Coke]__ joined, [Coke]___ joined 09:35 [Coke]_ left, [Coke] left 09:47 guifa joined
lizmat clickbaits rakudoweekly.blog/2022/09/26/2022-...g-hacking/ 09:55
10:47 evalable6 left, linkable6 left 10:49 linkable6 joined 10:50 evalable6 joined 11:09 frost joined 11:10 [Coke] joined, [Coke]_ joined 11:12 [Coke]__ left, [Coke]___ left 11:17 [Coke]__ joined 11:18 [Coke] left 11:19 [Coke]_ left 11:21 [Coke] joined 12:07 reportable6 left 12:09 reportable6 joined 12:36 frost left 12:48 [Coke] left 12:49 [Coke]__ left 12:51 [Coke] joined 12:52 [Coke]_ joined 13:03 abraxxa1 joined 13:04 epony left, abraxxa left 13:06 epony joined 13:27 [Coke]_ left
tonyo m: sub result(Int \i){ i > 0; }; for 0..1 { if result($_) -> $r { dd {success=>$r} } else { "fail".say }; }; 13:33
camelia fail
{:success(Bool::True)}
13:50 jgaz joined 14:24 [Coke]__ joined 14:26 [Coke] left 14:29 [Coke]__ is now known as [Coke]
[Coke] . 14:29
14:30 nebuchadnezzar left 14:31 nebuchadnezzar joined, [Coke]__ joined 14:32 Kaipii is now known as Kaiepi 14:34 [Coke] left 14:38 Sgeo joined 15:19 MoC joined 15:34 MoC left 15:50 jetchisel left 15:52 jetchisel joined 15:53 MoC joined 15:55 MoC left 15:58 jetchisel left 15:59 [Coke]__ is now known as [Coke]
[Coke] hopes his constant disconnects aren't spamming the channel, sorry 15:59
16:02 [Coke]__ joined, abraxxa1 left 16:04 [Coke] left, [Coke]__ is now known as eek, eek is now known as [Coke] 16:12 jgaz left
[Coke] got a new keyboardio model 100 16:21
This is going to take some getting used to 16:22
tonyo that's a wild looking kb
16:46 dakkar left
[Coke] lizmat: for rak, should I be able to do 'rak --ignorecase string directory' ? 16:56
tonyo: a little wilder than I'm used to. I tried touch typing on it, going to have to train. 16:57
lizmat [Coke] : that should work 16:59
17:01 RakuIRCLogger joined
[Coke] ok. still fails badly on windows. added link to rakudo ticket on app-rak#15 17:02
lizmat ok, thanks. 17:03
BTW, I have added a #raku-rak channel
17:05 RakuIRCLogger left 17:06 RakuIRCLogger joined
[Coke] heh. rakudo source says "alas, no support yet" for windows non posix. :) 17:06
lizmat I'm still wondering what is not supported yet 17:08
17:25 MoC joined
[Coke] TIL about `where` on windows 17:31
$*USER
it's empty on windows
I also think that we can't support the IntStr value of $*USER on windows, only Str
tonyo why is that? 17:34
17:39 [Coke]___ joined 17:41 [Coke] left
lizmat there's no numerical equivalent, apparently ? 17:43
17:47 [Coke]_ joined 17:48 [Coke]___ left
[Coke]_ test 17:52
there is no number ID I see, only a GUID (git bash has 'id' which does show something numeric, but I can't see something like that from a CMD prompt) 17:53
so I sent several sends while semi-disconnected that the logger never saw, but I got no error that they were not delivered. 17:54
17:56 japhb left 18:00 japhb joined 18:07 reportable6 left
tonyo isn't there some wmic query that can get the `Int` part? (is wmic still around?) 18:08
18:08 reportable6 joined 18:10 razetime left
tonyo oh, looks like the SID is a guid with a number 18:14
19:10 linkable6 left, evalable6 left 19:12 linkable6 joined, evalable6 joined 19:16 [Coke]__ joined 19:18 [Coke]_ left 19:37 Manifest0 joined 19:42 sftp joined 19:55 Geth left, Geth joined 19:56 Geth left, Geth joined 20:03 MoC left 20:13 jgaz joined 20:55 [Coke]__ left 20:58 [Coke] joined 21:03 [Coke] left, [Coke]_ joined, jgaz left 22:03 quotable6 left, benchable6 left, releasable6 left, committable6 left, tellable6 left, evalable6 left, reportable6 left, linkable6 left, squashable6 left, bloatable6 left, statisfiable6 left, unicodable6 left, bisectable6 left, greppable6 left, shareable6 left, notable6 left, nativecallable6 left 22:04 squashable6 joined, quotable6 joined, unicodable6 joined, linkable6 joined 22:05 reportable6 joined, bisectable6 joined, statisfiable6 joined, greppable6 joined, notable6 joined, nativecallable6 joined, tellable6 joined 22:06 committable6 joined, evalable6 joined, benchable6 joined, releasable6 joined, bloatable6 joined, shareable6 joined 22:18 Colere is now known as LoupGris 22:31 [Coke]__ joined 22:32 [Coke]_ left 22:39 sena_kun left 22:52 [Coke]__ is now known as [Coke] 23:06 Nemokosch joined
Nemokosch \o 23:07
tellable6 2022-09-26T18:42:39Z #raku <tonyo> nemokosch: most likely. working with them is more tedious but is faster (at least for the time being)
Nemokosch lizmat: github.com/lizmat/Ecosystem/blob/7...kumod#L386 is the key name ("from(") intentional here? 23:08
23:19 Nemokosch left 23:20 Nemokosch joined, Nemokosch left 23:37 bpalmer joined