Currently testing non trivial concurrent control flow implemented with #catseffect and #fs2, and loving the power of the `TestControl`!
Thanks to the work by
https://twitter.com/kpciesielski, the cats #Netty server in tapir now supports streaming bodies using #fs2!
Take a look at an example below:
https://github.com/softwaremill/tapir/blob/master/examples/src/main/scala/sttp/tapir/examples/streaming/StreamingNettyFs2Server.scala
Hi everyone, I am super happy to announce #fs2-data release 1.8.0 🎉
This release almost entirely focuses on improving the performances of the JSON parser. It can now be used as a drop-in replacement for #circe-fs2 without losing performance. Raw performances of the `Token` parser have been improved. This work will be extended to other text format parsers in future releases.
Following the general JSON parser performance improvements in #fs2-data, here comes a new PR improving performances when building ASTs (e.g. #circe `Json` values). It brings fs2-data on par with circe-fs2. Documentation and scalafix rules to come to help migrating! https://github.com/gnieh/fs2-data/pull/491
This is exciting! I could achieve nice performance improvements in #fs2-data JSON parser (and incidentally in any text based parser using the `CharLikeChunks` abstraction, even though it will be less obvious for now). It still is a tad behind #circe-fs2, but another PR is coming that should fix the situation and bring it on par (and maybe even a bit faster). The 1.8.0 release to come will be a performance one. https://github.com/gnieh/fs2-data/pull/453
I have been quiet lately, but things are moving in #fs2-data:
- the work to deprecate the ad-hoc selector tools in favor of subsets of XQuery and jq is still ongoing. I am working on making the common streaming query engine stable (released as non-documented experimental module so far), I hope to get it out in the next release.
- I worked on performances of the JSON parser, improving several places, and got speed on par with circe-fs2. It just needs some polishing and I'll ship it.
More later!
New affiliate project, fs2-aes, does what it says in the name: provides AES encryption and decryption for FS2.
J'écris un service HTTP avec #catseffect, #fs2 et #http4s compilé en natif avec #ScalaNative, c'est assez exceptionnel les performances et l'empreinte mémoire obtenues, tout en gardant un super langage haut niveau avec du beau fonctionnel safe.
Pour le fun j'ai créé un petit client redis natif avec pool de connexions en quelques lignes, avec toute la safety pour éviter les leaks etc. C'est tellement beau 🤩
#catseffect #fs2 #http4s #scalanative
I just released #fs2-data 1.7.1, which includes a bugfix for CBOR number encoding. It also includes several library updates. More details can be found in the release notes https://github.com/gnieh/fs2-data/releases/tag/v1.7.1
Jq work is still ongoing but is getting closer to being done every day, stay tuned!
fs2-compress is a new Typelevel affiliate project. It's a companion to FS2 that supports gzip, zip, tar, bzip2, zstd, and brotli.
#scala #typelevel #fs2 #compression
Share: Fs2 3.6.1で複数のワーカに処理を分散させるパターンを書く - Lambdaカクテル https://blog.3qe.us/entry/2023/04/12/213016 #はてなブログ
#scala の #fs2 の記事だょ・・・ 非同期ストリーミングライブラリでジョブキュー作れるょ・・・
I am glad to announce the release 1.7.0 for #fs2-data 🎉 It includes CSV and CBOR improvements that should improve your experience while working with data in the wild, as well as new experimental tools for path DSLs and query DSLs. A huge thanks to all the contributors of this release https://github.com/gnieh/fs2-data/releases/tag/v1.7.0
Anyone here playing fantasy story II, otherwise known as #fs2 and unable to connect to public servers? I have the same problem on Mac and windows
Why isn't there a cheap-ish service where I can get *just* the news and only the major sports channels?
Granted, with radio, I wouldn't need the news as much; #CNN and #MSNBC have free audio feeds, and #FoxNewsRadio airs #FoxNews shows at night and in the early morning. But like, there's no affordable way to get just the major sports channels. I'm talking #ESPN, #ESPN2, #ESPNews, #ESPNU, #LonghornNetwork, #FS1, #FS2, and #BigTenNetwork.
#cnn #msnbc #foxnewsradio #foxnews #espn #ESPN2 #ESPNews #ESPNU #LonghornNetwork #fs1 #fs2 #bigtennetwork
#Netty client side code makes me sad.
https://github.com/http4s/http4s-netty/pull/393
Why the hell does the low-level test sometimes fail?
Of course the netty example code is not useful, it just prints.
#netty #http4s #fs2 #scala #catseffect
We just released a bugfix version of #fs2-data, enhancing support for missing CSV columns and option decoding. Enjoy! https://github.com/gnieh/fs2-data/releases/tag/v1.6.1
There is now a search function on the #fs2-data website, that should help our users find relevant topics in the documentation and examples. Give it a try! https://fs2-data.gnieh.org
Good news, #fs2-data is now an affiliate @typelevel project, let's proudly display it on the website! https://fs2-data.gnieh.org/
A little bit late according to my planned schedule (I encountered a really annoying bug and the hunt took longer than expected, plus, you know, holiday season) but this PR is finally ready for review: https://github.com/gnieh/fs2-data/pull/428 It adds experimental support for streaming tree query languages in #fs2-data on top of which user facing languages can be implemented. Next step, a subest of XQuery and jq using the engine. Then I'll document all the experimental transducer features I added lately.