🦋 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.
[Coke] tbrowder: yes 01:01
Geth ¦ problem-solving: clsn assigned to samcv Issue Regex matching and combining characters github.com/Raku/problem-solving/issues/471 01:45
jdv .seen samcv 01:48
tellable6 jdv, I saw samcv 2022-01-06T23:28:00Z in #moarvm: <samcv> I think the buffer version of things is more useful in general, and if that has been sufficient and not complained about for so long, it shouldn't hurt to do the same thing for strings
jdv did samcv disappear into booking? 01:49
Aedil gist.github.com/adriankiess/add314...3c06b71c3c 07:32
melezhik o/ 10:22
what's up?
have been having a good progress with Ditana linux configuration - replacing ansible by Raku and Sparrow ) finger crossed - it's going to be a good show case for Raku 10:23
also rocklinux folks considering maybe trying Sparrowdo for internal tasks ... 10:24
lizmat nice! 10:25
considering Aedil's post as an ww post for now 10:26
Aedil lizmat: What is a ww post? Thank you. 10:28
lizmat wrong window 10:29
melezhik thanks Liz 10:35
librasteve weekly: teases harcstack.org 10:53
notable6 librasteve, Noted! (weekly)
librasteve (just missed yesterday's deadline)
lizmat posted to /r/rakulang and /c/rakulang 10:58
librasteve tx! 10:59
(what is /c/rakulang/ btw) 11:00
glad I didn't have to compete with push camelia for editorial
lizmat programming.dev/c/rakulang 11:02
it's the open source ActivityPub alternative for reddit 11:04
librasteve cool - I will sign up
venn diagram 11:09
(like HTMX ( like both ) like Components)
( voldenet ( librasteve ) smokemachine ) 11:10
antononcube I have at least 6-8 Raku blog posts and videos on my backlog. 13:56
librasteve @antononcube only that many 13:57
antononcube Well... I will recount them... But it is mostly, because I try to keep the neat examples videos under 12 min. (Not always succeeding.) Hence, I breakdown some videos into two or three separate videos. Same with blog posts. 14:01
librasteve anyway I am hoping for your advice ... I found this fastht.ml/docs/#getting-help-from-ai which has an AI prompt sheet fastht.ml/docs/llms-ctx.txt ... any chance you can help me / tell me (i) make such a prompt sheet for the HARC stack (there are ~10 website examples in the Air::Play repo) and (ii) also say how to use such a prompt sheet?? 14:02
oh and there are a bunch of Air docs at librasteve.github.io/Air/ 14:03
IMPORTANT avert your eyes from the Fast HTML website if you want to preserve your design taste and sanity 14:04
antononcube The way "llms-ctx.txt" is used is "one way to do it." I think mentioned that a week or so ago. 14:05
The other principly different way is to use examples.
librasteve oh - so I can use LLM::Functions then and load in all the examples 14:06
antononcube See here: raku.land/zef:antononcube/DSL::Examples
librasteve omg
(I do read everything you write, but I don't necessarily remember it)
brilliant 14:07
antononcube Honestly, same here -- I have to develop a discipline to reread my posts. (And those of others.)
As for the examples. You can make a JSON file with examples, so they can be portable. I developed in Python packages similar to "LLM::Functions" and "LLM::Prompts". 14:09
You can use "LLM::Prompts" to add a new prompt -- that is similar to "llms-ctx.txt". See this Raku script: github.com/antononcube/Raku-LLM-Pr...rompt.raku 14:10
librasteve ok - i'll try 14:11
antononcube Ideally, you can put the text of your custom prompt in GitHub and create a prompt just from the URL. 14:15
Right now the most streamlined way of using user prompts is to have JSON specs of LLM prompts in ".local/share/raku/LLM/Prompts". (See XDG data-home. ) 14:22
sdomi excuse me being a noob, but I feel like I'm holding something wrong: zef is taking a million years to process anything, I've been stuck at installing Readline for the past 2 minutes. is this expected to be THIS slow? 19:24
classic disclaimer: I'm on Alpine, so this may be a musl thing. zef is launching rakudo and precompiling *something*, taking roughly 50% of all cores on my laptop
librasteve sdomi: suggest you try Linenoise instead 19:25
Voldenet million years is definitely too slow, for me it usually only takes 10 days at most
sdomi @librasteve this isn't a Readline specific issue tho
Voldenet jokes aside, maybe it's some ancient raku 19:26
sdomi first launch of zef without any parameters took 30+ seconds
`Welcome to Rakudo™ v2024.09.`
librasteve oh - how did you install raku? what version do you have? raku -v
Voldenet it's fairly new
librasteve not too old then
sdomi installed through apk
I can compile it from scratch to see if that would help tho. but I kinda doubt it 19:27
librasteve suggest you uninstall and try rakubrew.org
sdomi oh, this is neato
librasteve maybe some dev utils are missing if alpine
at least its not windoze 19:29
Voldenet maybe see `strace -c -f zef` for some hints
on my setup futex takes impressively long, 80% of time 19:30
sdomi okay, version from rakubrew seems to be much faster
lizmat clickbaits rakudoweekly.blog/2025/03/17/2025-...-for-sale/ 19:33
weekly: dev.to/devteam/top-7-featured-dev-...week-5cm2? 19:34
notable6 lizmat, Noted! (weekly)
librasteve sdomi: did rakubrew give you a binary or did it compile (not sure with alpine)... 19:47
patrickb librasteve: Will have to compile. We don't yet provide musl libc binaries. 20:16
librasteve ok - compiling onto a unix box the old fashioned way is pretty reliable (if a bit slower) 20:17
sdomi @librasteve worse, it gave me a glibc binary and I didn't notice because gcompat works well enough with it XD 20:36
acceptable tradeoff for now. i can make this nicer at some point in the future
tbrowder lizmat: DEV weekly, kudos! 👍 21:51
[Coke]: issue filed... 22:06
Voldenet that camelia plush toy scares me for some reason 22:49