This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
01:21 summer joined 05:07 avuserow left, avuserow joined 07:48 dakkar joined 07:54 ab5tract joined 08:58 ab5tract left
jaguart aris: great news - as an alternate, what happens if you: say "\o33c" 09:13
this doesn't run/shell/exec anything, it just gets Raku to emit an escape sequence that clears a PowerShell or CMD or xterm terminal :) 09:14
Kaiepi nice 09:54
the fewer characters the better
Nemokosch how can I feed an array to the CLI? 10:04
10:05 Kaiepi left 10:07 Kaiepi joined
Kaiepi note: `\ec` will clear *everything*, formatting included 10:12
but that doesn't always matte 10:13
but that doesn't always matter
jaguart yep - and the scroll buffer too :o 10:15
aris wow \o33c is way shorter! 10:20
Thanks Jaguart!
`say "\ec"` is even shorter
noted... although I don't know what `\x[1B]a\x[1B]cb` means 10:27
jaguart welcome to the world of a million terminal control codes - you'll never escape-sequence ;) 10:40
\x[1B] = hex-1B which is the same as ascii-char(27) and \o33 (Octal 33) - this is the code from the Escape key 10:41
the next bit a is the characters exactly as they look i.e. [ = square brackets, 3 = digit 3 etc 10:42
and then another Escape aka \x[1B] followed by two more ordinary letters c and b 10:43
Here's a link for Powershell escape sequences: duffney.io/usingansiescapesequence...se-display 10:47
You might have to upgrade to PS7 for thinkgs like `e
aris yeah 5.1 sucks especially the default encoding 10:49
that's a really nice link!
Kaiepi here's the most recent ecma-48 spec www.ecma-international.org/wp-cont...e_1991.pdf 11:02
teeeeechnically ISO 6429 is *the* standard for this stuff, but it has a price tag, is more or less equivalent, and it's open source people doing most of the implementing 11:03
not everyone implements it fully or follows it, however 11:04
not everyone implements it fully or follows it to the t, however
jaguart kaiepi++ - ka pai! 11:05
Kaiepi xterm also has docs for the sequences it supports, though it's hiding in its source github.com/openbsd/xenocara/blob/m...tlseqs.txt 11:06
jaguart kaiepi: maoridictionary.co.nz/word/13473 :)
Kaiepi huh neat 11:07
aris @@ I think I've had enough escape sequence for the day. 11:08
Kaiepi heh
Nemokosch I had to learn that this is often also incompatible with just _showing unicode_ 11:14
again, very interesting... 11:24
gist.github.com/2colours/946168ee4...d1fa3dc20a 11:25
I have a function like this in my code
if I change it to the code in the comment 11:26
> Type check failed in binding to parameter '$projectid'; expected Any but got Mu (Mu)
at some other, very similar function, it works with the WhateverCode
the core difference is that in that function, $projectid is not a parameter but a variable inside a block 11:27
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/07/25/2022-30-what/ 14:01
16:22 summer left, alethkit left 16:27 alethkit joined, summer joined 16:34 summer left, alethkit left 16:36 summer joined 16:37 alethkit joined 16:42 dakkar left 17:21 alethkit left, summer left 17:23 alethkit joined 17:24 summer joined 17:51 lizmat_ joined 17:52 discord-raku-bot left 17:53 gfldex left 17:55 lizmat left 18:00 lizmat_ is now known as lizmat 21:14 discord-raku-bot joined
gfldex Bridge bot is back and I am very thermally conducting now. 21:14
Nemokosch 😅 21:18
thankies
21:20 discord-raku-bot left, discord-raku-bot joined
gfldex Unfortunately, I will have to play the whole game in reverse once the replacement pump arrives. They packed to bloody thing with foam for sound proving. What could possibly go wrong? 21:26
21:28 discord-raku-bot left 21:29 discord-raku-bot joined 21:38 kjp joined, gfldex joined 22:33 discord-raku-bot left, discord-raku-bot joined