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.
jnthn SmokeMachine: No. 09:52
SmokeMachine :( 09:53
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
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
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 :)
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
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. :)
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