librasteve raku Cro Templates now added to the short list of Fragment friendly template libraries htmx.org/essays/template-fragments/ yay 09:47
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
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
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
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