Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:24 Pe_Elle joined 00:26 Pe_Elle left 00:27 Pe_Elle joined 00:33 Pe_Elle left 00:48 Pe_Elle joined
SmokeMachine Where is this project? I’d like to take a look at those Red calls, if possible 01:16
01:44 guifa joined 01:50 Pe_Elle left 02:04 Pe_Elle joined 02:36 Pe_Elle left, Pe_Elle joined 02:51 Pe_Elle left 02:53 Pe_Elle joined 02:58 Pe_Elle left 03:05 Pe_Elle joined 03:07 Pe_Elle left, Pe_Elle joined
aruniecrisps @SmokeMachine here it is: github.com/arunvickram/begumpura 04:34
SmokeMachine aruniecrisps: I’m asking just by curiosity, I don’t remember how well it’s working, but have you tried this for sessions? github.com/FCO/Cro-HTTP-Session-Red 05:03
Oh! You are using that!
Even sub-model :) 05:04
So, what are you thinking of Red with Cro? Any critique or suggestion? Anything you think would be better to change? 05:11
Have you seen this? github.com/FCO/BlogSchema 05:17
05:26 Pe_Elle left 05:31 Pe_Elle joined 05:34 Pe_Elle left 05:37 Pe_Elle joined 05:58 Pe_Elle left 06:00 Pe_Elle joined 06:05 guifa left 07:01 Pe_Elle left, Pe_Elle joined 07:07 Pe_Elle left 08:52 sena_kun joined 09:59 Pe_Elle joined 10:20 Pe_Elle left 10:21 Pe_Elle joined 10:51 Pe_Elle left 10:54 Pe_Elle joined 10:59 Pe_Elle left 11:13 Pe_Elle joined 12:14 Pe_Elle left 12:43 Pe_Elle joined 12:48 Pe_Elle left 13:21 Pe_Elle joined 13:25 Pe_Elle left 13:41 Pe_Elle joined 14:42 Pe_Elle left 14:58 Pe_Elle joined
aruniecrisps @SmokeMachine it's hard to say, there are things like about Red and things i'm not the biggest fan of 15:03
i went and took a look at the codebase and it uses a lot of raku stuff im not familiar with and that i couldn't find that much documentation for like ClassHOW 15:04
SmokeMachine What I’ve learned about ClassHOW was reading the code and asking on IRC… 15:07
What do you like and what you are not the biggest fan of? 15:09
aruniecrisps @SmokeMachine i like the DSL, it's very straight forward for people that are already familiar with Raku 15:12
like i love the usage of grep in the DSL, it makes perfect sense 15:13
i also like how defing inflators and deflators is pretty straight forward
as for what i don't like, i remember having to use :require<Models::Post> as part of the definition of the User model, which i feel like I should be able to pull off with just a use Models::Post at the top of the file 15:19
i thought that was a bit confusing
SmokeMachine If you use the name of the model the same as the dir/file, you don’t need that… I mean, if the model was called Models::Post, or it was on lib/Post.pm, you would not need doing that 15:28
Red expects to require the name based on the model name… 15:30
Or you could probably “rename” it on your META6.json 15:32
15:59 Pe_Elle left 16:00 Pe_Elle joined
aruniecrisps it's provided as Models::Post in META6.json 16:11
but in the file i have it set up as model Post
i remember it not working unless i added the :requires<Models::Post> to the relationship trait in the model 16:16
SmokeMachine That’s what I ment, if on your META6 it was defined as just Post, you wouldn’t need the :requires 16:19
If the name of the model isn’t the same as the one used to require, you will need to :requires 16:20
16:48 Pe_Elle left, Pe_Elle joined
aruniecrisps @SmokeMachine im assuming the :require is loading from a CompUnit::Repository to load all that? 17:50
to load Models::Post i mean 17:51
SmokeMachine it just require()s it: github.com/FCO/Red/blob/master/lib...akumod#L64 17:55
lizmat fg 17:57
oops, ww :-)
SmokeMachine :)
18:09 Altai-man joined 18:12 sena_kun left, rypervenche left 18:13 rypervenche joined 18:16 Pe_Elle left 18:17 Pe_Elle joined 18:20 Pe_Elle left, Pe_Elle joined 18:22 Pe_Elle left 18:27 Pe_Elle joined 18:32 Pe_Elle left 18:46 Pe_Elle joined 18:52 Pe_Elle left 19:08 Pe_Elle joined 20:00 Altai-man left 20:03 sena_kun joined 20:11 Pe_Elle left 20:38 Pe_Elle joined 20:42 Pe_Elle left 21:12 Pe_Elle joined 21:17 Pe_Elle left 21:20 guifa joined 21:43 Pe_Elle joined 21:50 Pe_Elle left 22:17 Pe_Elle joined 22:21 Pe_Elle left 22:53 sena_kun left 22:56 Pe_Elle joined 23:01 Pe_Elle left
patrickb I've reworked the release process and script here: github.com/croservices/release/pull/4 23:01
I'd like a review of both, the process and script. 23:02
23:15 Pe_Elle joined