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.
03:13 melezhik joined 03:16 melezhik left 07:35 sena_kun joined 08:15 sena_kun left 08:17 sena_kun joined 09:25 sena_kun left
jnthn SmokeMachine: No. 09:52
SmokeMachine :( 09:53
10:08 sena_kun joined 10:35 Geth left 10:36 lizmat_ joined, Geth joined 10:38 lizmat left, lizmat_ is now known as lizmat
jnthn SmokeMachine: Also I don't expect to make it possible, because I care about tooling for this stuff (Cro template language changes move in lockstep with Comma changes to provide IDE support) 10:40
10:40 Geth left, Geth joined
lizmat . 10:46
lizmat appears to have a flaky connection 10:47
jnthn Curious that "flaky" is pretty much always a bad thing, except "flaky pastry", which is a great thing :) 10:55
lizmat yeah, meanwhile we're seeing people working on the communication tower next door, and I wonder if these two things are related :-) 10:57
12:49 sena_kun left 12:57 sena_kun joined 14:35 xinming left 14:36 xinming joined 14:38 sena_kun left 14:46 sena_kun joined 17:09 sena_kun left 17:19 melezhik joined 17:32 melezhik left 17:46 sena_kun joined
Xliff I have a route that looks like this: get -> 'site', 'details ', $site, 'payment', $year is copy, $month is copy { ... } 20:56
However when I navigate to /site/details/A81/payment/2021/2, it doesn't fire. The server sais it is not found and returns a 404. 20:57
s/sais/says/ 20:58
Another odd note is that it interprets the $month as a Str in that URI
Or... it could be that embedded space in 'details ' 21:00
jnthn Yes, most likely that :)
21:00 melezhik joined
japhb That would do it, yes. :-) 21:00
Xliff :)
jnthn If you want them parsed as Int then ass an Int type constraint 21:01
uh, add
Xliff Hehehe.
Thanks, jnthn
japhb
.oO( That's a sweet-ass type constraint you got there ... )
21:04
Xliff Oooohh... japh. You should leave those smelly jokes to me.
japhb *snrk* 21:06
jnthn: You've recently set up a fez org, I believe. Were there docs for this, or did you just figure things out by spelunking code? 21:19
21:21 melezhik left
Xliff How can I suppress this? 21:27
"Useless use of a Cro `route` block in sink context. Did you forget to `include` or `delegate`?
in block at /home/cbwood/Work/BizzellAppServer/app/lib/Bizzell/Routes.pm6 (Bizzell::Routes) line 68
"
This comes from using $*CRO-ROUTE-SET with no destination.
jnthn japhb: deathbykeystroke.com/articles/2021...racle.html 21:29
Why would you do that?
japhb Thanks 21:30
Was that question for me or Xliff?
jnthn Xliff. :)
21:38 sena_kun left
Xliff jnthn: This code was based on your suggestion from yesterday. So I tried overriding $*CRO-ROUTE-SET via $*CRO-ROUTE-SET does MyRole. That warning was the result. 22:05
SmokeMachine is this expected on installing Cro on a M1 Mac? usercontent.irccloud-cdn.com/file/...8%402x.png 23:34
Xliff jnthn: Is there a way to track Cro's resource usage? For example, what would be the best way to dump the amount of memory being used? 23:54