01:13 Guest551 joined 01:30 Guest551 left 01:44 melezhik left 02:06 itaipu joined 02:17 arkiuat left 02:19 arkiuat joined 02:30 pi1 is now known as johnjay 02:42 hulk joined 02:44 kylese left 03:15 hulk left, kylese joined 03:24 vasko4535 left 03:26 vasko45355 joined 05:16 arkiuat left 05:26 arkiuat joined 05:30 arkiuat left 05:43 arkiuat joined 05:50 arkiuat left 05:55 derpydoo joined 06:02 arkiuat joined 06:07 arkiuat left 06:19 arkiuat joined 06:33 abraxxa joined 06:39 abraxxa left, abraxxa1 joined 06:40 Aedil joined 06:46 arkiuat left 06:49 oodani left, oodani joined 06:51 Voldenet_ joined, Voldenet left, Voldenet_ is now known as Voldenet 06:54 oodani left 06:55 oodani joined 06:57 arkiuat joined 07:01 wayland joined, arkiuat left 07:06 xelxebar left 07:09 xelxebar joined 07:31 arkiuat joined, melezhik joined 07:35 arkiuat left 07:39 arkiuat joined
librasteve o/ 07:42
07:44 arkiuat left
this is gonna sound pretty odd, but is there a way to “bell” a terminal from raku … eg in the repl go something like sleep 5; bell; or failing that a shell cmd that I can run from raku? 07:44
Aedil disbot1: On Linux? 07:47
disbot1: I know a way on Linux.
Here is a way for a Linux terminal alarm bell: 07:56
gist.github.com/adriankiess/219f60...b2e2f94c01
07:58 arkiuat joined 08:02 arkiuat left 08:03 Sgeo left 08:18 Maylay left
librasteve yeah linux (or termius on ios) 08:18
08:21 Maylay joined 08:22 apa_c joined
thanks! i tried in termius but no joy … will try via mac terminal soon and let you know … still very helpful to know this and there should be a way!! 08:25
timo @librasteve all you need to do is print a "\a" to the terminal 08:27
jubilatious1_98524 m: say "\a"; 08:28
evalable6
Aedil On Debian: root@elitedesk /home/adrian # usermod -aG input adrian — to make the beep command work. 08:29
librasteve timo: yep \a makes iphone vibrate!
08:31 arkiuat joined 08:36 arkiuat left
Voldenet on windows \a also works 08:46
08:46 dakkar joined
Voldenet in cmd: raku -e "say \"\a\"" 08:46
in powershell (yes amount of quotes is correct xD): raku -e "say """"\a"""""
09:05 arkiuat joined 09:10 arkiuat left 09:18 derpydoo left 09:22 arkiuat joined 09:27 arkiuat left 09:56 arkiuat joined 10:01 arkiuat left 10:03 wayland left 10:31 arkiuat joined 10:36 arkiuat left
shalokshalom Has Raku syntactically privileged receiver? 10:54
11:04 arkiuat joined
Voldenet do you mean in oop terms? 11:06
Yes 11:07
it has `$foo.bar();` syntax for method calling
11:09 arkiuat left 11:36 arkiuat joined 11:41 arkiuat left
ab5tract Also bar($foo:) 11:57
tellable6 2025-11-02T19:06:12Z #raku-dev <melezhik_> ab5tract: I've updated agents code, please rebuild your agents from the latest commit, better approach to deal with offline agents implemented , thanks
12:01 arkiuat joined 12:06 arkiuat left
Voldenet m: class Foo { method bar { say "bark" }}; bar(Foo.new:) # I didn't even think this was legal before 12:13
camelia bark
12:20 arkiuat joined 12:25 arkiuat left
antononcube @librasteve So, your reinstalled raku and Jupyter kernels started running? 12:35
tellable6 2025-10-28T09:54:15Z #raku <wayland76> antononcube Definitely not a vi guy. I lean towards nano (pine was my first e-mail program). I probably could've gone emacs if it'd been a bit easier.
librasteve @antononcube sorry I am not sure what I did differently (likely a clean of rakubrew, but was soe time ago) - all is working fine now 12:36
antononcube Did you use rakubrew or installed raku directly?
librasteve i prefer rakubrew
antononcube Ok, good to know.
librasteve thanks for the advice on raku -e 'say "\a"' - working fine on macos and termius (except I would prefer termius to beep not vibrate but nevermind) - oh and I had to enable audibek bell in the mac terminal app settings ;-) 12:38
12:42 arkiuat joined
finally found that setting on termius 12:42
12:46 arkiuat left
ab5tract Voldenet: I think it’s always been there as our version indirect object notation, though probably it was NYI for years. I recently fixed it for the feed operators in RakuAST. It shines pretty nicely in that context 12:55
13:10 arkiuat joined 13:15 arkiuat left
Voldenet ah, nice 13:19
13:43 arkiuat joined 13:48 arkiuat left 14:00 arkiuat joined 14:07 arkiuat left 14:16 apa_c left 14:35 arkiuat joined 14:38 melezhik_ joined 14:40 arkiuat left 14:44 melezhik_ left 14:57 arkiuat joined 15:04 guifa joined
guifa o/ 15:06
15:11 arkiuat left 15:26 librasteve_ joined, arkiuat joined 15:31 arkiuat left 15:35 arkiuat joined 15:58 apa_c joined
ingy rakudo.org/files/rakudo is 404. Linked to from rakudo.org/post/announce-rakudo-release-2025.10 15:59
16:07 orangebot joined 16:11 melezhik_ joined 16:13 melezhik_ left
[Coke] Oof, thanks 16:23
El_Che .
[Coke] github.com/rakudo/rakudo/issues/6004 - will make sure next release announcement doesn't have this issue, will hopefully fix this one shortly 16:25
ingy: try rakudo.org/downloads for your current needs
This looks like it might be an infra issue - I see no recent commits on rakudo.org that would hide that folder, and that's the same URL we've been pointing at for some time. 16:27
(pinged infra team) 16:28
16:55 apa_c left 17:02 stanrifkin joined
[Coke] infra team working on adding redirects in. we think they might have been dropped in a previous server move. Thanks ingy++ 17:06
ingy 17:07
17:35 dakkar left
librasteve_ notable6 weekly 17:48
notable6: weekly 17:49
notable6 librasteve_, 5 notes: gist.github.com/56e0f643980a9f50d6...9c2b74db15
ingy btw if anyone is interested, check out github.com/makeplus/makes github.com/makeplus/makes/blob/main/raku.mk 18:02
and esp github.com/makeplus/makes?tab=read...kes-shells 18:03
tbrowder folks, sorry about the false alarm on App::Mi6. i must have some weird thing set in my environment varibles set that causes the behavior. i have closed the issue there.
but the good news for me is lizmat's Test::Output does help my weird system pass lives-ok tests. 18:05
ingy with that `msh` bash function you can `msh raku` or `msh raku RAKU-VERSION=2025.08-01` and have a subshell with raku (or any other supported thing) in your PATH 18:08
I use this Makes system for dozens of projects. I use raku.mk for Raku related targets in github.com/yaml/yamlscript. And for 14 other langs there. I don't have raku or most of those langs installed in advance. 18:10
I doubt most people here would use it for raku (maybe for alternate versions), but maybe for toying with other langs. 18:11
Anyway, thought you should know... 18:12
librasteve_ notable6: weekly reset 18:15
notable6 librasteve_, Moved existing notes to “weekly_2025-11-03T18:15:35Z”
librasteve_ weekly: piece on raku advent
notable6 librasteve_, Noted! (weekly)
librasteve_ I am planning to pre announce the raku advent blog in the next weekly - the wordpress site and github repo need to be prepared - also it would be very nice if we could simplify the instructions on how to make raku code highlite for the wordpress HTML box … I have some ideas on this to use Rainbow … hopefully I can get the ball rolling on that in the next day or two … I can also take the job of the Wordpress refresh … 18:18
would anyone like to help me on that?
18:22 abraxxa1 left
librasteve_ rakudoweekly.blog/2025/11/03/2025-...drey-tang/ 18:51
19:12 merp left 19:26 guifa left
[Coke] rakudo.org/files/rakudo is working again 19:36
19:42 guifa joined
guifa needs to think about articles to write 19:42
[Coke] Very happy I got to meet Audrey in person once.
guifa actually, this might be a nice time for my UI::HTMLWindow show off if I can finish it up in time 19:50
would be really cool to have a web animation going on and in the terminal you can type in stuff like "more snow", "more lights", "colorful lights" etc 19:51
I'm just really frustrated that my core goal: to allow nearly direct seamless calling won't work because of macos's insistence of having stuff run in a main thread, meaning I have to spin off the process 20:02
20:19 apa_c joined 20:31 melezhik left
librasteve guifa: that sounds very cool -- please bear in mind that we need HTML we can paste into a wordpress.com raw HTML component ... I guess that will allow HTML and inline style ... but JS likely not (maybe but it would need to be tested in the target context) 20:33
20:37 arkiuat left 20:39 arkiuat joined 20:46 arkiuat left 20:51 justache left
tbrowder speaking of raku-advent.blog, i'm using chatgpt to create a module to post rakudoc articles to the site as drafts in waiting and schedule them for public view. i'll put it on github if anyone is interested. 20:52
you'll need an author password and an account on Wordpress. the README should give all details. no matter what the product finally looks like, it has tobe better than what i've been struggling with for years. 20:55
librasteve tbrowder: please do and share the link ... wordpress has this functionality, so I am not sure what you are proposing (but share the GH and it will hopefully be clear)
20:56 justache joined
tbh the mechanics of scheduling are easy, the non trivial bit is spreading authors around, and panicking / chivvying / managing reserves when there is a shortage ... 20:57
20:57 arkiuat joined
lizmat yeah, the content is the issue, not the posting 21:00
[Coke] ugh. I have a json file that is 6174 lines long, jsonlint.com says it's fine, JSON::Fast explodes. 21:01
21:02 arkiuat left
lizmat aah.. please make a JSON::Fast issue, and post the file there (if you can) 21:02
[Coke] Are we trying for a christmas/santa themed advent this year or just 2x assorted articles?
It's an internal file, I'll try to golf it. :|
lizmat having at least a few christmas / santa themed articles, would be nice, I think 21:03
[Coke] at 7003, unexpected partitioner ':' inside list of things in an array
in past years, I found the combo slightly jarring, but I know we can't be choosy 21:04
lizmat afk for the rest of the day&
21:04 arkiuat joined
librasteve i have taken a stab at this year's raku-advent.blog ... hope this is OK? 21:04
ie updated the home page on wordpress.com
[Coke] librasteve++ 21:06
same error with JSON::Tiny 21:08
antononcube Cannot make "Jupyter::Kernel" or "Jupyter::Chatbook" run with moar-2025.10 on macOS. 😭 21:16
21:17 arkiuat left
[Coke] (d'oh. it was not that json file, it was another one, and THAT one I'm parsing as JSONC) - this should have been obvious previously, but was especially so after installing a versino of JSON::FAST with debug output showing me more characters at the bad point. 21:18
*sigh*
21:21 arkiuat joined
[Coke] doesn't like a string with []'s in it 21:22
librasteve @antononcube I am running Jupyter::Chatbook successfully on raku 2025.08, I just installed 2025.10 (rakubrew) and (since new rakubrew vrsions mean all new zef installs), I did a clean zef install Jupyter::Chatbook ... error #1 jupyter-chatbook.raku does not have permissions (so I did a chmod +x) ... error #2 from the browser says Error Starting Kernel The 'raku' kernel could not be started: "[Errno 8] Exec format error: 21:37
'jupyter-chatbook.raku'" when I select the raku kernel
antononcube Yeah -- same here. 21:42
Thanks for verifying!
librasteve the solution is to paste the raku hashbang #!/usr/bin/env raku into the top line of /Users/xxx/.rakubrew/versions/moar-2025.10/share/perl6/site/bin/jupyter-chatbook.raku 21:45
maybeee I did this on 2025.08 and then forgot the trick ... I dont have a scooby why that is now needed ... maybe good idea to file a rakudo issue ...? 21:47
[Coke] there were no changes to the runners in 2025.10 I don't think
librasteve yeah - but i think maybee I had to fix this before eg on 2025.08 ... and I have skipped several raku versions in the meantime 21:48
ie last version when Jupyter::Chatbook didn't need this surgery could be back in the 2025.04/05 days 21:49
tbrowder ok, my advent module project dir is on github at <github.com/tbrowder/RakuAdventWP-Poster> and i will be putting code there this evening 21:50
librasteve tbrowder: cool - I am travelling this week ... will try to take a look soon
tbrowder ok, that link works ^^^
librasteve please can you help by providing a short README that describes the purpose of this module? 21:51
22:01 Aedil left 22:03 stanrifkin left 22:04 apa_c left
antononcube @librasteve "the solution is [...]" -- Yes, I noticed that change in Brian Duggan's repository ("Jupyter::Kernel") so I made similar changes. I cannot run both kernels, though. 22:04
Anyway, I will try what you suggest again tonight. 22:05
@librasteve Your suggestions worked on moar-2025.08 -- thanks a lot! 22:24
librasteve make sure you are looking in the right dir ... its the one that zef prints with "these scripts installed to..."
timo [Coke]: so it ended up not being an issue with JSON::Fast or JSON::Tiny at all, but with JSONC? and you were looking at the wrong file, which made debugging harder?
antononcube I had to force-test-install "HTTP::UserAgent". 22:25
[Coke] timo: well, JSONC is still part of ::Fast, no? 22:27
showing more than just a ':' in the error message would have helped a lot.
timo oh i wasn't aware of the allow-jsonc feature yet 22:29
librasteve @antononcube yw ... I am slowly acclimatising to jupyter chatbook in intellij ... its like going from a Toyota Corolla to an F1 car
[Coke] isn't fast your module? 22:30
timo yes, but lizmat has contributed a lot to it 22:31
github.com/timo/json_fast/commit/c...cc4a9f0adc here is the initial commit for jsonc support 22:32
well, i found a probably unrelated bug in the jsonc parsing parts where /*/ is parsed as a complete comment it seems like 22:36
could i get the jsonc file that provokes the error you saw? or was the file actually invalid and you would just like some more debug output in general? 22:43
[Coke] That version of the file is gone, I will try to reproduce the error and if it looks like a valid file, I'll submit a bug 22:52
timo thanks 23:08
hm. `[]` is supposed to parsefail? 23:19
... there is one in the yes-parse and one in the no-parse list of tests? huh? 23:20
LEFT SQUARE BRACKET WORD JOINER RIGHT SQUARE BRACKET 23:22
haha
docs.raku.org/routine/uniprops the link to the icu userguide no longer links to a page that actually lists property names, it redirects to the main page of the userguide instead 23:24
23:25 arkiuat left, Sgeo joined 23:27 arkiuat joined 23:32 arkiuat left 23:42 arkiuat joined
timo [Coke]: do you think there should be no data from the json document visible in the exception message without the debug env var (or whatever) supplied? 23:43
[Coke] timo: good question; I think showing the single ':' in the original error wasn't at all helpful. 23:50
if you're up for changing what's showing, I think showing a chunk of test in the default error would be nice. 23:51
timo i've got something to show already
check the branch "errors_with_context" in JSON::Fast 23:54