Raku Conference Day 2 on Youtube: www.youtube.com/watch?v=BL9-XdC9WYI 🦋 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 14 August 2022.
ToddAndMargo Hi All, How do I trigger and detach and external program from inside Raku?  I want the program to go off on its own and I do not want any results back from it.   -T 00:35
`run` seems to what for the result. 01:06
Figured it out with shell but not run 01:21
shell "zenity --info --title \"$Title\" --text \"$NotifyStr\" --width=220 --timeout=$Timeout &";
eems to what for the result. = seems to wait for the result.  Stinking typos 01:27
Xliff I'm getitng another error... Cannot resolve caller print(Bizzell::Log::File:D: BOOTStr); 07:24
Can I resolve that with nqp:hllize?
lizmat clickbaits rakudoweekly.blog/2022/08/29/2022-35-reworkout/ 12:08
Altreus I hear it might be an option to have the more symmetrical $promise.await instead of $promise.result (probably as well as, now) - is there a reason it's not already there? Should I suggest it somewhere? 14:20
stevied github.com/raku-community-modules/...ut/pull/11 14:40
is anyone around that can approve and merge this? 14:41
sena_kun done, thanks! 14:47
stevied thankee
tonyo ToddAndMargo Proc::Async 16:30
Nemokosch docs.raku.org/language/regexes#Samecase I was looking around in the docs 16:37
> s:global:samecase[the] = 'a'; 16:38
and found this peculiar syntax
how does it work? 16:39
Nahita > If you use balancing curly braces, square brackets, or parentheses, the substitution works like this instead: 16:47
>
> `s[replace] = 'with';`
same page above
under "Lexical conventions" 16:48
Nemokosch is this compiler magic? 17:03
tonyo it's standard regex 17:11
s/ is a substitution and the :global is the full flag of s:g/
samecase just matches the replaced value's
Nemokosch I meant the assignment 17:39
bpv Hello, does anyone know how to compile Raku code into MoarVM bytecode? 18:07
tonyo what assignment? by default it operates on $_ 18:13
bpv: to what end? if it's a local library then the first time it's `use`d it's precomp'd and then reused so long as the source hasn't changed, if it's installed by zef then iirc it's precompd upon install but ugexe or nine might have more info 18:15
Nemokosch > s[replace] = 'with'; 18:16
lizmat It's precomped at install for the then active repo-chain. If you change that, e.g. by adding an -I, it will get recompiled once again for *that* particular repo chain
bpv tonyo: I'm looking to compile a simple Raku script into a standalone file to execute via MoarVM. I want to be able to run this file with just MoarVM if possible. 18:17
tonyo nemokosch: looking for samecase in the rakudo source will lead you to the entry point and then eventually to the implementation which will lead you to some nqp 18:19
tellable6 tonyo, I'll pass your message to Nemokosch
lizmat bpv: if it is a Raku script, It will need a lot of the Rakudo infrastructure as well, so you'd need those bytecode files as well 18:20
and the logic to load them in the correct order, is also in the Rakudo source... 18:21
bpv: in a way, this problem is the same as creating a single executable file for a Raku program
some work has been done in that area... but it has stalled
El_Che that would be so cool 18:23
tellable6 2022-08-21T18:15:56Z #raku-dev <jdv> El_Che need help rebuilding the blin image on debian testing because gist.githubusercontent.com/jdv/ffa...tfile1.txt
El_Che game changer cool
bpv lizmat: So I take it that there's no way to do that (...yet). 18:31
lizmat pretty much, but I would gladly be proven wrong :)
El_Che lizmat: it sounds like an inner struggle when only you can proof yourself wrong (or right) 18:41
bpv lizmat: Well, I guess I will just stick to compiled libs then :\
lizmat El_Che: it''s more the scientific method: nobody's been able to prove me wrong, so I'm right 18:42
El_Che you little popper 18:43
Nemokosch I'm reading about Riemann's conjecture
El_Che popper, not poopr :)
Nemokosch may we have lizmat's conjecture now?
bpv Very funny :b
lizmat for the less enlightened: en.wikipedia.org/wiki/Karl_Popper 18:44
bpv Feyerabend is my pal :) 18:47
Nemokosch I'm afraid Popper is more quoted for politics these days
melezhik .tell jdv  looks like you need to upgrade glibc to make blin work , you can borrow my code - github.com/melezhik/sparrow-plugin.../task.bash 19:09
tellable6 melezhik, I'll pass your message to jdv
melezhik github.com/melezhik/sparrow-plugin...sh#L13-L15
github.com/melezhik/sparrow-plugin...ig.yaml#L2
more or less here the logic for alpine 19:10