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.
japhb jnthnwrthngtn: github.com/jnthn/p6-log-timeline/issues/12 04:32
04:48 JRaspass left, SmokeMachine_ left, JRaspass_ joined 04:49 SmokeMachine__ joined, JRaspass_ is now known as JRaspass
japhb Random possibly interesting note for those wanting to archive Cro/Log::Timeline logs: I was checking output size compressibility, and I did a trivial comparison of a million log lines in JSON lines and CBOR sequence forms, compressed with zstd at various levels. Turns out that CBOR was not only smaller to start with (~1.6x, for my test case), but compressed better as well (over double the compression ratio, 05:27
leaving the compressed CBOR versions 3.6-3.7x smaller than the compressed JSON).
These were chosen to be quite uniform lines, with no extra data, so I would expect not quite as stark a difference with live data, but it's still pretty good. Best compressed CBOR.zst size was about 2.4 bytes per log line. Even default compression was less than 4 bytes per log line. 05:30
Those are probably nearly best possible results, of course, barring rampant cheating like naming an event ['','',''] or somesuch 05:33
Actually, now I wonder how small that would be, hmmm ... 05:34
Welp, that's impressive. Brings best compressed CBOR down to 2.04 bytes per (totally cheated) log line, and as a result over 4x smaller than the best compressed JSON version (at 8.26 bytes per log line). 05:48
Now I need to go the opposite direction and compare with some big chunks of live data from my app (which probably means writing up a stress test script for it or somesuch). But not tonight I think. :-) 05:49
Geth cro-http/link-gen-no-fork: 28b76f6653 | Altai-man++ | 3 files
WIP
09:59
cro-webapp/link-support: f75c860802 | Altai-man++ | 2 files
WIP
10:05 Xliff joined
Xliff \o 10:05
Will the "static" function accept relative paths in its signature? 10:06
Or does it always need to be a node list from the root? 10:07
10:29 xinming left 10:37 sena_kun joined
Geth cro-http: b73558fab6 | (Stefan Seifert)++ | lib/Cro/HTTP/Middleware.pm6
Fix Cro::HTTP::Middleware::RequestResponse leaking a Supplier on every connection

  $connection-state.early-responses is a live Supply and will stay alive in
memory unless we close it when we're done processing.
The leak can be reproduced with this Cro application:
... (73 more lines)
11:10
cro-http: f184687261 | (Jonathan Worthington)++ (committed using GitHub Web editor) | lib/Cro/HTTP/Middleware.pm6
Merge pull request #151 from niner/master

Fix Middleware::RequestResponse leaking a Supplier on every connection
cro: 9ecb454cd9 | Coke++ | 4 files
fix typos
11:16
cro: 7f0db85925 | Coke++ | docs/releases.md
Fix method name typo
cro: 91dd494c43 | (Jonathan Worthington)++ (committed using GitHub Web editor) | 4 files
Merge pull request #140 from coke/typos

fix typos
Xliff jnthnwrthngtn: Hope your vacation was relaxing and invigorating! 12:27
jnthnwrthngtn Well, more physically active than non-vacation, but mentally more relaxing at least :) 12:58
Xliff Excellent! I saw the talk you gave prior, and loved the landscape. Would like to get out there, someday. 13:10
(And the talk was great, too!) 13:11
jnthnwrthngtn Yeah, it's a really nice area. 14:01
14:06 Xliff left
nine jnthnwrthngtn: sounds like the perfect vacation combo 14:28
14:56 xinming joined
Geth cro-http/link-gen-no-fork: e962b92ec6 | Altai-man++ | 3 files
Fix construction of URLs, properly resolve names in inner blocks

Here we do three things:
  * Before that, URLs constructed for a route had no idea they can be used
   in some outer route block, so they generated `/foo` instead of `/included-prefix/foo`.
   To overcome this, we add an url-prefix attribute when we include a handler we rewrite
   it to an appropriate value.
... (9 more lines)
17:22
cro-http/link-gen-no-fork: 8b593888d7 | Altai-man++ | lib/Cro/HTTP/Router.pm6
Remove obsolete rewritten names
18:03
cro-webapp/link-support: 3f13adc02d | Altai-man++ | 3 files
WIP
18:04
18:06 sena_kun left 19:07 japhb left 19:34 japhb joined 21:12 ecocode left 21:13 ecocode joined 21:20 japhb left 21:56 japhb joined