Scala Space · @scala_space
178 followers · 75 posts · Server softwaremill.social

#http4s

Last updated 1 year ago

Ross A. Baker · @ross
813 followers · 856 posts · Server social.rossabaker.com

http4s-jetty-0.23.13 is out. It addresses the breaking async changes in Cats Effect 3.5.

github.com/http4s/http4s-jetty

#scala #typelevel #http4s #jetty #servlet

Last updated 1 year ago

Alex Nedelcu ☕️ · @alexelcu
913 followers · 1026 posts · Server social.alexn.org

#scala #http4s

Last updated 1 year ago

bblfish · @bblfish
344 followers · 606 posts · Server mathstodon.xyz

My client and server are now ready for efficient access control demos on using the HTTP WG's 's "Signing HTTP Messages".

I can demo with a server publishing N resources (in this case, Event Stream () data.
The client is implemented in using , and the server uses .
The libraries can be compiled to JS for use on frameworks too. Native is not far off, either.
The client need make no more than N+2 requests:

1. Request 1 on a resource R returning a "401 Unauthorised"
2. a max of 2 requests to get the access control rules
3. from there on, N signed requests using (when those all fall in the same container space)

Solid clients are essentially like Search Engine crawlers fetching data on the web, so they need to jump around from website to website. Having approx 2 requests extra per website for auth is very interesting in that scenario.

Note: those 2 requests can be cached, so those may be only needed once over a long period of time. The connection efficiency is possible by combining the following pieces:

• using the IETF's HTTPSig (a version from the beginning of the year)
• using default rules (part of the spec)
• caching of ACLs on the client
• the use of a "defaultAccessContainer" link header to reduce the number of requests.

I am trying to work out who may be interested in such a technical demo, what a good time for it may be, ...
so please just comment here or send me a mail at henry.story@bblfish.net

#httpsignatures #SolidProject #nodejs #LDES #linkeddata #akka #http4s #scala #bigdata

Last updated 1 year ago

Alex Nedelcu ☕️ · @alexelcu
909 followers · 986 posts · Server social.alexn.org

"Smithy - the API definition language"

Smithy, a protocol-agnostic interface definition language made by AWS, now has integration with Scala (and ). Watch this video series.

Shared (, , , ).

youtube.com/watch?v=nNUnSbyyxG

#http4s #link #programming #scala #youtube #video

Last updated 1 year ago

\LuXaS · @luxas
265 followers · 2405 posts · Server mamot.fr

J'écris un service HTTP avec , et compilé en natif avec , 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

Last updated 1 year ago

Ross A. Baker · @ross
747 followers · 524 posts · Server social.rossabaker.com

After another rigorous and thoughtful HTTP benchmark from my colleagues in the Scala Community, I've updated my business card with a new title.

#scala #http4s

Last updated 1 year ago

Andres Almiray · @aalmiray
654 followers · 357 posts · Server mastodon.social

w00t! Stackd podcast episode #63 is out! One CLI to Rule them All

@aalmiray joins @kito99 and @dhinojosa to talk about , , , , whether or not is over the hill, , , , and much more: pubhouse.net/2020/01/stackd-43

#jreleaser #jbang #jarviz #ai #java #http4s #picocli #jcommander

Last updated 1 year ago

Ross A. Baker · @ross
711 followers · 239 posts · Server social.rossabaker.com

http4s-jdk-client-0.9 and 1.0.0-M9 are out. They use fs2-3.6.0's new integration with Java's Flow to drop the depenedency on fs2-reactive-streams. This is a nice streamlining for projects that have dropped Java 8.

github.com/http4s/http4s-jdk-h

#http4s #typelevel #scala

Last updated 2 years ago

Erlend Hamnaberg · @hamnis
54 followers · 69 posts · Server snabelen.no
Erlend Hamnaberg · @hamnis
49 followers · 56 posts · Server snabelen.no

client side code makes me sad.

github.com/http4s/http4s-netty

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

Last updated 2 years ago

Ross A. Baker · @ross
693 followers · 157 posts · Server social.rossabaker.com

http4s-1.0.0-M39 is out. It's the dev line, with the production fixes from 0.23.18.

This one is binary compatible with the last milestone, but if you need the satellite repos rereleased, speak up here:

github.com/http4s/http4s/discu

#scala #typelevel #http4s

Last updated 2 years ago

Ross A. Baker · @ross
682 followers · 138 posts · Server social.rossabaker.com

http4s-0.23.18 is out. Fixes a `StackOverflowError` that hit users with unusually small stacks, and a few optimizations hither and yon.

github.com/http4s/http4s/relea

#http4s #typelevel #scala

Last updated 2 years ago

Valencik · @valencik
35 followers · 59 posts · Server mastodon.social
bblfish · @bblfish
306 followers · 358 posts · Server mathstodon.xyz

@rossabaker
I have been having a good time applying what I am learning reading chapter 2 of @BartoszMilewski's new book Dao of FP to github.com/BartoszMilewski/Dao

#http4s

Last updated 2 years ago

Justin du Coeur · @jducoeur
292 followers · 660 posts · Server social.coop

@ross TIL that / integration is a thing. Neat...

#twirl #http4s

Last updated 2 years ago

Ross A. Baker · @ross
682 followers · 131 posts · Server social.rossabaker.com

http4s-twirl releases are out, courtesy of Kailuo Wang:

* 0.23.17 makes the jump from scala-xml-1 to scala-xml-2. Beware, binary breaking!
* 0.24.0-M1 is based on twirl-1.6 milestones for Scala 3 support.

Server-side templates are cool again.

#http4s #typelevel #playtwirl

Last updated 2 years ago

Ross A. Baker · @ross
682 followers · 131 posts · Server social.rossabaker.com

Faffing about with free invariant algebras to define HTTP codecs in a way that can be shared across backends. Computers can be fun sometimes.

github.com/http4s/http4s/pull/

#http4s #typelevel #scala

Last updated 2 years ago

Valencik · @valencik
34 followers · 53 posts · Server mastodon.social

New book arrived today!
I’m really excited about http/2 lately and working on the ember implementation in
It’s really my first time trying to learn a protocol in depth.

#http4s #typelevel #http #dev

Last updated 2 years ago

Ross A. Baker · @ross
682 followers · 131 posts · Server social.rossabaker.com

Happy to welcome a pair of new http4s maintainers this week:

- @valencik has joined the Core team.
- @dhinojosa will be helping out with Servlet and Tomcat support.

👏 👏

#http4s #scala #servlet #tomcat

Last updated 2 years ago