🦋 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 inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:12 dogbert11 left 00:13 dogbert11 joined 00:14 MasterDuke left 00:16 tejr left 00:17 tejr joined 00:18 tobs left, timo left 00:19 timo joined 00:20 tejr left, tejr joined 00:21 tobs` joined, tobs` is now known as tobs 00:50 aru left 01:06 euandreh joined 01:13 aru joined 01:29 euandreh left 01:30 euandreh joined 01:46 coleman joined 02:22 neshpion joined 03:30 euandreh left 04:25 coleman left 04:43 guifa left 05:14 neshpion left 05:19 ggoebel left 05:28 fatrix[m] joined 06:01 mexen joined 06:16 ShaneC joined 06:45 Sgeo joined 06:48 Sgeo__ left 06:56 abraxxa joined 07:00 abraxxa left 07:01 abraxxa joined 07:39 Sgeo left 08:03 dakkar joined 08:05 tejr left 08:06 tejr joined 08:20 floppy_disk joined
floppy_disk I'm planning to implement a toy programming language in Raku, how should I name the module? 08:21
El_Che woody 08:23
bobeep 08:24
Nemokosch xD 08:26
floppy_disk lol 08:29
I meant the namespace I should put it in 08:30
El_Che woody:: 08:32
bobeep::
:P
moon-child floppy_disk: slartibartfast 08:33
floppy_disk heh 08:34
moon-child really, it isn't important
floppy_disk I see 08:38
well, thanks
El_Che I would use the name of your programming language as the root namespace 08:41
MagicalBoBeepLang, MagicalBoBeepLang::Addons::Boobar 08:42
and so on
floppy_disk seems like a good idea 08:43
El_Che I am full of them (it) 08:44
floppy_disk :)
09:17 floppy_disk left 09:21 p6steve left 09:22 p6steve joined 09:28 avar left 09:30 p6steve left 09:31 p6steve joined 09:33 avar joined 09:42 kiti_nomad[m] joined 09:49 ShaneC left 09:53 MasterDuke joined 10:19 wingfold joined 10:46 wingfold left 10:56 p6steve left 10:58 p6steve joined 11:02 p6steve left 11:03 p6steve joined 11:08 p6steve left 11:09 p6steve joined 11:10 razetime joined 11:42 jjido joined 11:52 ggoebel joined 12:13 p6steve left 12:14 p6steve joined 12:20 jjido left 12:49 euandreh joined 13:07 razetime left 13:38 razetime joined 13:42 lichtkind joined 13:46 Manifest0 left 13:47 Manifest0 joined 14:11 razetime left 14:23 p6steve left 14:24 p6steve joined 14:29 p6steve left 14:30 p6steve joined
lizmat clickbaits rakudoweekly.blog/2022/03/28/2022-...admapping/ 14:32
14:38 p6steve left 14:39 p6steve joined 14:48 Sgeo joined 14:49 p6steve left 14:51 p6steve joined 14:55 razetime joined 15:18 guifa joined 15:21 tejr left 15:22 tejr joined 15:38 razetime left 15:44 razetime joined
nine lizmat: "had trust issues" gave me a nice chuckle :) 15:50
15:54 jrjsmrtn left 15:57 p6steve left 15:58 jrjsmrtn joined 16:10 p6steve joined 16:25 guifa left 16:31 coleman joined
gfldex oi‼ 16:34
16:35 dakkar left 17:10 abraxxa left 17:20 p6steve left 17:25 razetime left 17:27 coleman left 17:32 p6steve joined 17:40 ShaneC joined 18:32 mexen left 18:37 zacts joined
codesections did the Raku CSV benchmark move (or go away?) It was at tux.nl/ but that's not loading for me 18:43
drakonis codesections: are you aware of phoenix's liveview and do you think that epee's similar to it? 18:44
18:45 sena_kun left
lizmat codesections: don't think it moved 18:45
since Tux left IRC about an hour ago as well, I assume there's some kind of connectivity issue 18:46
tux.nl runs at his home, afaik
18:46 sena_kun joined
drakonis it seems quite similar to it 18:48
reactive UI frameworks sure are something.
github.com/phoenixframework/phoenix_live_view 18:49
18:49 zacts left
drakonis abusing websockets for fun and profit 18:50
anyways, i'm looking forward to playing with it and getting something nice done 18:56
19:23 n1to joined 19:30 guifa joined
SmokeMachine drakonis: that phoenix remembered me of this: github.com/FCO/p6-react that’s also server-rendered and it’s possible to interact by websocket (automatically) 19:59
drakonis it'd be quite useful to have
19:59 zacts joined
drakonis by the way, are there any benchmarks for seeing how well raku scales compared to erlang and elixir? 20:00
that's a cool thing
but i oughta ask, Slangs?
sublanguages? 20:01
SmokeMachine Here is the example using web sockets: github.com/FCO/p6-react/blob/master/ws.p6 20:02
drakonis that does certainly look a lot like how liveview does components
which is quite nice. 20:03
SmokeMachine drakonis: I think you was asking about rakudo.js the other day, right?
drakonis i did too, yes. 20:04
i'm not sure if it maps to something like clojurescript 20:06
SmokeMachine I don’t know if you saw my answer (it was too long after the question), but here is something using it (just a test and takes too long to load): fco.github.io/MemoizedDOM/todo6.html
github.com/FCO/MemoizedDOM
drakonis ah, i've seen that already, yes.
guifa drakonis slangs are so much fun but generally still a WIP. 20:08
drakonis doesnt seem to be properly documented at the moment? 20:09
guifa yeah, won't be much until the ability to make them gets a lot of polish. For the most part, you have to use NQP and work with the QAST and that's part of Rakudo, not Raku 20:10
RakuAST will get that to a point that it will be officially supported in a stable manner
github.com/alabamenhu/BasicTest <-- but here's a module that shows some of what will be possible
codesections Thanks, lizmat++ 20:11
guifa github.com/alabamenhu/BasicTest/bl...0-sanity.t <-- showing off the code (I should probably add some to the readme, but meh)
codesections drakonis: I am aware of phoenix liveview! Funny you should mention it, I've actually been giving it a fair bit of thought! My initial plan *wasn't* for Epee to use that sort of websocket-driven model, but the more I noodle around, the more it seems seems like it could be a good fit 20:15
but I haven't had much time to work on Epee lately, so I haven't actually implemented anything along those lines 20:16
drakonis oh i see, it has taken the backseat over developing persistent data structures, yeah? 20:17
also, i keep getting your work on them is useful for saving a system image containing all state on disk? 20:18
uh 20:20
keep getting told that your work
when will epee get released? 20:23
20:40 discord-raku-bot left 20:41 discord-raku-bot joined
codesections I don't have a release date for epee yet, sorry ☹ 20:41
drakonis ah, okay. 20:43
looking forward to when it does release
21:00 zacts left 21:24 zacts joined 21:29 lichtkind_ joined 21:31 lichtkind left 21:45 zacts left, lichtkind_ left, lichtkind_ joined 21:51 n1to left
Geth doc: patrickbkr++ created pull request #4045:
Document MacOS quirk wrt DYLD_LIBRARY_PATH and SIP
22:05
kawaii_ Hello, I'm using the Red ORM and I've configured one of my columns to be constrained to an Array of Ints like this: `has Array[Int] @.encounter-id is column{ :type<integer[]> };` but I'm not sure if Red/Raku/Postgres have the same idea of what that should look like `Type check failed in assignment to @!encounter-id; expected Positional[Array[Int]] but got Array ([78])`, or is this due to the fact this particular entry it is trying to load only 22:10
had a single Int in the "array"?
22:14 lichtkind_ left
MasterDuke `has Array[Int] @.encounter-id` is an array of Arrays of Int 22:14
22:15 lichtkind_ joined
kawaii_ Arrayception 22:16
MasterDuke but when e.g., you have a parameterized array in a signature, you have to pass it an actual parameterized array, not just an array that happens to have all the elements of the correct type
e.g., `sub foo(Int @ints) { ... }; foo([1, 2, 3]);` won't work but `sub foo(Int @int) { ... }; foo(Array[Int].new(1, 2, 3));` or `sub foo(@ints where @ints.are ~~ Int) { ... }; foo([1, 2, 3])` will 22:20
kawaii_ Ah thank you for the example! It clarifies it for me. 22:21
MasterDuke np 22:22
22:58 djerius left, destroycomputers joined 23:00 djerius joined
SmokeMachine kawaii_: did that work on Red’s side? 23:05
kawaii_ SmokeMachine: I had a similar error but it wasn't a Red error so I wasn't sure what the issue was - I'm afk at the moment but I'll investigate further shortly. 23:07
SmokeMachine kawaii_: thanks 23:08
23:08 zacts joined 23:52 [Coke]_ joined 23:53 [Coke] left 23:57 lichtkind_ left, lichtkind_ joined