🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | 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 8 June 2022.
00:06 reportable6 left, reportable6 joined 01:06 sourceable6 left, bloatable6 left, unicodable6 left, evalable6 left, nativecallable6 left, quotable6 left, bisectable6 left, statisfiable6 left, shareable6 left, reportable6 left, linkable6 left, committable6 left, tellable6 left, notable6 left, greppable6 left, coverable6 left, benchable6 left, releasable6 left 01:07 committable6 joined, tellable6 joined, notable6 joined, evalable6 joined, nativecallable6 joined 01:08 statisfiable6 joined, coverable6 joined, quotable6 joined, bisectable6 joined, releasable6 joined, greppable6 joined 01:09 benchable6 joined, reportable6 joined, sourceable6 joined, bloatable6 joined, unicodable6 joined, shareable6 joined, linkable6 joined 01:33 jaguart left 02:33 linkable6 left, tellable6 left, coverable6 left, notable6 left, shareable6 left, statisfiable6 left, nativecallable6 left, bisectable6 left, reportable6 left, quotable6 left, unicodable6 left, evalable6 left, greppable6 left, releasable6 left, committable6 left, bloatable6 left, benchable6 left, sourceable6 left, shareable6 joined 02:34 bloatable6 joined, nativecallable6 joined, tellable6 joined, releasable6 joined, statisfiable6 joined, greppable6 joined, unicodable6 joined 02:35 linkable6 joined, coverable6 joined, reportable6 joined, quotable6 joined, notable6 joined 02:36 bisectable6 joined, committable6 joined, benchable6 joined, evalable6 joined, sourceable6 joined 02:38 simcop2387 left 02:39 perlbot left 02:50 simcop2387 joined 02:52 perlbot joined 03:16 swaggboi left 03:17 swaggboi joined 03:21 Sankalp left 03:25 Sankalp joined 04:25 tellable6 left, nativecallable6 left, bloatable6 left, releasable6 left, shareable6 left, unicodable6 left, quotable6 left, coverable6 left, reportable6 left, bisectable6 left, statisfiable6 left, notable6 left, linkable6 left, committable6 left, greppable6 left, benchable6 left, sourceable6 left, evalable6 left 04:26 notable6 joined, statisfiable6 joined, bloatable6 joined, shareable6 joined, bisectable6 joined, linkable6 joined, coverable6 joined, tellable6 joined, quotable6 joined 04:27 evalable6 joined, committable6 joined, greppable6 joined, sourceable6 joined, reportable6 joined, nativecallable6 joined 04:28 benchable6 joined, releasable6 joined, unicodable6 joined 04:29 razetime joined 05:29 benchable6 left, committable6 left, notable6 left, nativecallable6 left, sourceable6 left, coverable6 left, statisfiable6 left, reportable6 left, bisectable6 left, shareable6 left, greppable6 left, unicodable6 left, tellable6 left, quotable6 left, releasable6 left, bloatable6 left, evalable6 left, linkable6 left, quotable6 joined, sourceable6 joined, evalable6 joined, releasable6 joined 05:30 committable6 joined, statisfiable6 joined, nativecallable6 joined, benchable6 joined, reportable6 joined, coverable6 joined 05:31 bisectable6 joined, greppable6 joined, bloatable6 joined, tellable6 joined 05:32 shareable6 joined, notable6 joined, linkable6 joined, unicodable6 joined 05:57 wcs left 06:06 reportable6 left 06:08 reportable6 joined 06:14 razetime left 06:27 jaguart joined 06:28 stanrifkin joined 07:19 stanrifkin left 08:02 lockywolf left
guifa tonyo: I'm writing an ECMA regex slang 08:16
08:16 Guest15 joined
guifa I know life would be easier to just wait for RakuAST to finish but … I'm impatient (and also figure learning a bit more about the internals isn't ever a bad thing) 08:17
Guest15 Hi folks How can I compile Raku script to executable binary file? thanks :3
08:19 Guest15 left 08:33 lockywolf joined 09:00 andrea[m] left 09:07 Colere left 09:08 Colere joined 09:10 Furor joined 09:13 Colere left 09:23 Sgeo left 09:38 abraxxa-home joined 10:11 p6steve left 10:43 sena_kun joined 11:24 fitchett joined 11:28 fitchett left, Furor is now known as Colere 12:03 swaggboi left 12:04 swaggboi joined 12:07 reportable6 left 12:10 reportable6 joined 12:27 wcs joined 12:53 sena_kun left
Xliff Is there a module out there that will handle OAuth2 negotiation? If so is it compatible with Google's services? 13:27
13:29 frost left 13:30 sena_kun joined
Geth ¦ problem-solving: lizmat assigned to rba Issue modules.raku.org should be deprecated github.com/Raku/problem-solving/issues/330 14:09
14:13 jaguart left
stevied anyone experienced with NativeCall out there who might be able to offer some insight on this? www.reddit.com/r/rakulang/comments...ativecall/ 14:57
15:13 linkable6 left, evalable6 left 15:15 linkable6 joined 15:16 evalable6 joined 16:04 swaggboi left 16:21 swaggboi joined 16:26 guifa left
Voldenet stevied: I'm not sure if you can directly have function pointers as fields, but you can make c shared lib to set enter_block, leave_block etc. 16:39
tellable6 Voldenet, I'll pass your message to stevied
stevied I see it 16:57
voldernet, before I can tackle that problem, I can's seem to get the correct arguments to md_parse() function passed correctly 16:58
17:22 sena_kun left 17:23 sena_kun joined
Voldenet because you need to assign callbacks to fields in the struct 17:47
otherwise, you'd get segfault
though I'm not entirely sure if you can store such callbacks in a field safely or would it be garbage collected 17:52
17:53 swaggboi left 17:54 swaggboi joined
stevied the docs had something about using a CPointer which seemed to allow you to do callbacks. I tried doing that but didn't get anywhere: docs.raku.org/language/nativecall#...f_pointers 17:55
i don't know what I'm doing, though
18:07 reportable6 left, jaguart joined 18:08 reportable6 joined
Geth problem-solving/deprecating-modules: 2b5b22636a | (Elizabeth Mattijsen)++ | solutions/meta/deprecating-modules-website.md
Add solution for #330
18:20
problem-solving: lizmat++ created pull request #331:
Add solution for #330
Voldenet CPointer doesn't hold any data, you can't* use it in this case 18:26
*you can, but it would mean making C wrapper with all related methods and alloc/free 18:27
[Coke] weird, on mac os x, and since ... a few days ago, my 'raku' has vanished and rakubrew is now complaining it's from an unsigned dev. 18:53
stevied so voldenet, are you are basically saying it's not really possible to use NativeCall with the md4c library? 18:57
[Coke] ... and open a new shell and I'm fine? weird 19:02
Quibono Are folks familiar with supercompilation or should I explain what that is? My raku project is about it 19:03
Voldenet if you managed to cast subroutine into Pointer then it's possible to use without a wrapper
lizmat Quibono: please elaborate :-) 19:04
19:06 xinming left
Quibono So basically it’s close to program synthesis, where you feed the SC a program and say “I want one that does the same thing, but more X” whether X is faster, energy efficient, what have you. It’s usually used as like a final step to eek out a tiny bit of extra perf for compiling stuff 19:07
I want to see if I can use it to generate compiler passes
So the only thing in the compiler that wouldn’t be automated is the IR gen and the supercompiler
19:08 xinming joined 19:09 sena_kun left 19:11 sena_kun joined
lizmat sounds cool 19:11
you might want to check that out with the compiler wizards on #moarvm
Quibono Yeah, I’d also love to figure out what you’d need to make raku compile to native code heh. 19:13
19:14 melezhik joined
lizmat Quibono: MoarVM comes with a JIT for Intel processors... 19:15
melezhik Hi jjatria , thanks for github.com/melezhik/Sparrow6/pull/5 , out of curiosity - are you using sparrow?
lizmat sadly not for ARM
jjatria Hi melezhik! I was looking at it thinking about automatic builds for my PublicSuffix dist 19:16
So, not using it yet, but thinking that maybe I can
melezhik ok, I see
let me know if you need any help with it
jjatria Is the docker image currently the best way to set up a local instance? 19:17
Quibono Lizmat: as an arm user yes that is sad, but understandable.
melezhik if you need to manage VM, ssh hosts you might also be interested in sparrowdo - which is a subtotal based on Sparrow, specifically designed for that task
jjatria That "local instance" is thinking about Sparky, actually 19:18
melezhik or if you need asynchronous multiple hosts configuration, with logic distributed across many hosts you may be interested in sparrowdo with Sparky 19:19
what's your case in 2 words?
so,  you need to configure localhost, right? 19:20
jjatria In two words!? Damn, tall ask :D
"Automatic releases"?
I have a dist to query Mozilla's public suffix list, but that list gets updated several times a week, and I know I'll forget to update it, so I was thinking about having something that would check for new versions, and release when needed 19:21
And I don't know if I want to have my fez credentials on the cloud :P 19:24
Some sort of limited fez token would be neat
lizmat tonyo ^^ 19:25
jjatria: I guess you could set up a fez org, like we have done for raku-community-modules ? 19:26
melezhik jjatria so you need a periodic task to check if the list has new updates, and then do _some_ actions if an update happens, right? 19:34
we are talking about this one - gitlab.com/jjatria/publicsuffix ? 19:43
oh, looks like you embed this data into your distro - gitlab.com/jjatria/publicsuffix/-/...x_list.dat , right? 19:44
let me think a bit about this and come up with some suggestion with how Sparrow/Sparky and friends could be useful here 19:45
20:03 Xliff left 20:10 melezhik left
nine stevied: it's not surprising you're getting segfaults. That library expects function pointers for those callbacks, but you just gave it NULL. When the library tries to call one of these functions, it dereferences a NULL pointers 20:10
tellable6 nine, I'll pass your message to stevied
nine Anyone: feel free to post that on the reddit thread 20:11
20:24 Sgeo joined, p6steve joined 20:36 jaguart left
jjatria lizmat: we do have an org for raku.land, so we could move it to that one, or to some other one 20:43
melezhik: yup, that's the one. Also here: raku.land/zef:jjatria/PublicSuffix now that it lives 🎉
tellable6 jjatria, I'll pass your message to melezhik
21:01 sena_kun left 21:02 sena_kun joined 21:04 sena_kun left 21:05 sena_kun joined 21:08 abraxxa-home left 21:13 swaggboi left 21:14 swaggboi joined 21:39 sena_kun left 22:05 melezhik joined
melezhik jjatria you can deploy sparky server and create a time scheduler project so that it pulls data from mozilla.org/MPL/2.0/ and in case any updates - update and create new distro release 22:06
tellable6 2022-07-10T20:43:57Z #raku <jjatria> melezhik: yup, that's the one. Also here: raku.land/zef:jjatria/PublicSuffix now that it lives 🎉
22:13 melezhik left 22:47 moritz left 22:59 moritz joined 23:22 melezhik joined
melezhik . 23:22
23:55 melezhik left