🦋 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:22 bdju left 00:24 bdju joined 01:31 Guest19 joined 01:52 yewscion left 02:01 codesections joined 02:05 codesections left 02:08 derpydoo joined 02:15 Guest19 left 02:21 yewscion joined 02:25 yewscion left 02:27 maylay left 02:30 maylay joined, maylay left 02:34 JimmyZhuo joined 02:35 JimmyZhuo left 02:37 maylay joined, maylay left 02:43 codesections joined 02:44 maylay joined 02:55 maylay left 03:00 hulk joined, LainExperiments joined 03:01 kylese left 03:02 maylay joined 03:13 LainExperiments left 03:15 hulk left, kylese joined 03:22 LainExperiments joined 03:41 LainExperiments3 joined 03:42 LainExperiments left 03:50 yewscion joined 03:54 yewscion left 04:18 LainExperiments3 left 04:30 kylese left 04:31 LainExperiments joined 04:34 kylese joined 04:36 LainExperiments left, LainExperiments4 joined 04:50 yewscion joined 04:55 yewscion left 05:06 LainExperiments4 left 05:14 LainExperiments joined 05:24 maylay left 05:26 maylay joined 05:30 kylese left 05:31 kylese joined 05:39 maylay left 05:42 maylay joined 05:45 yewscion joined 05:49 yewscion left 05:58 wayland76 joined 06:10 LainExperiments left 06:12 codesections left 06:20 LainExperiments joined 06:29 Aedil joined 06:31 maylay left 06:34 maylay joined 07:22 yewscion joined 07:27 yewscion left 07:30 LainExperiments left 07:53 yewscion joined 07:58 yewscion left 08:41 yewscion joined 08:46 yewscion left 08:52 Sgeo left 09:36 sena_kun joined 09:39 Aedil left 09:40 Aedil joined
librasteve raku Cro Templates now added to the short list of Fragment friendly template libraries htmx.org/essays/template-fragments/ yay 09:47
09:52 Aedil left, Aedil joined 10:05 derpydoo left 10:14 sena_kun left 10:54 maylay left 10:56 maylay joined 10:58 maylay left 11:03 maylay joined 11:19 yewscion joined 11:20 maylay left 11:22 maylay joined 11:24 yewscion left 12:08 apac joined 12:24 JimmyZhuo joined 12:40 maylay left 12:43 maylay joined 12:48 maylay left 12:49 maylay joined 12:52 wayland joined, wayland76 left 13:11 human_blip left 13:14 human_blip joined 13:41 yewscion joined 13:46 yewscion left 14:14 yewscion joined 14:19 yewscion left 14:24 JimmyZhuo left 15:27 yewscion joined 15:43 apac left 16:52 Guest51 joined 16:53 Guest51 left 16:59 stanrifkin joined 17:17 Sgeo joined 17:35 abraxxa-home joined 17:51 yewscion left
sdomi hmm, I'm getting some weird behavior around redirecting raku output to a file/pipe; some writes work OK through stdout, but never arrive in the file. are there any gotchas around this? buffering, or something? 18:01
18:05 yewscion joined
ugexe maybe try something like unbuffer 18:10
linux.die.net/man/1/unbuffer
it is also mentioned in stackoverflow.com/a/63513815/1772220 18:12
18:13 yewscion left
Voldenet >The man page is longer than the program. 18:35
:)
sdomi ugexe: unbuffer is a silly hack, raku should be able to set the buffer settings by itself 18:40
reading the SO post... gahhh this will be painful 18:41
okay, it seems that the answer below suggesting `$*OUT.out-buffer` to 0 did exactly what I wanted 18:43
18:47 sena_kun joined, Xliff_ joined 18:54 maylay left 18:57 maylay joined
sdomi what is the raku equivalent of the python/bash/(C..?) ~ operator? (sign negation) 19:22
oh, +^. god that was hard to find 19:24
Voldenet useful page docs.raku.org/language/operators 19:58
sdomi i've been there and struggled to find it regardless
^F not -> 150 matches
Voldenet "negation" 20:01
stanrifkin sdomi: "sign negation"?
sdomi welp, my bad 20:02
stanrifkin sdomi: ah, seeing it now.
Voldenet I've tried to use chatgpt for that question, and it was beautifully wrong
> say ~$x; # Output: -6 (binary: 1010 -> negation of 101 in 2's complement)
┐(´~`;)┌
sdomi if i wanted to see hallucinations i'd seek drugs, i don't need a chatbot for that 20:03
atrocious.
Voldenet however, deepseek was right
20:29 apac joined 20:42 apac left 20:59 Aedil left 21:00 jargan is now known as jast 21:05 jgaz left 21:15 maylay left 21:18 maylay joined 21:54 jpn joined 22:55 jpn left 22:58 jpn joined 23:11 sena_kun left 23:13 yewscion joined 23:17 abraxxa-home left 23:18 yewscion left 23:33 jpn left, tobs left 23:34 tobs joined