Matej Cerny
@matejcerny.bsky.social
160 followers 150 following 420 posts
Functional programming enthusiast with strong foundations in the relational databases world #FP #Scala #Postgres
Posts Media Videos Starter Packs
matejcerny.bsky.social
For a deeper understanding of type inference in Scala, I recommend this article. It explains how the Partial Unification feature helps when a provided type has a different arity than what the compiler expects. #scala nschejtman.medium.com/understandin...
Understanding “Partial Unification” in Scala | by Nicolas Schejtman | Medium
And how it fixes the Scala compiler’s type inference
nschejtman.medium.com
matejcerny.bsky.social
Not a great developer experience, if you ask me. #scala
matejcerny.bsky.social
Sbt tasks are still quite uncharted territory for me, as I've created only one or two so far. I'm glad for articles like this one. #scala
blog.michal.pawlik.dev/posts/til/sb...
matejcerny.bsky.social
I love the consistency of having three different border radius sizes and two different button styles. Truly cohesive. 🤌 #macos
matejcerny.bsky.social
The release notes are online! 🔥 #scala github.com/scala/scala/...
matejcerny.bsky.social
In Scala, if you like the builder pattern, you can ensure the build method is available only when all mandatory fields are populated, though it involves a lot of boilerplate. #scala blog.rhetoricalmusings.com/posts/builde...
Type Gymnastics with Builder Pattern - A Developer's Experience
blog.rhetoricalmusings.com
matejcerny.bsky.social
True engineering! 👏 Imagine this library had been released together with Scala 3 several years ago... #scala scala-hearth.readthedocs.io
matejcerny.bsky.social
Scala 2.13.17 has been released, even though it has not been announced yet. But you can count on support for JDK 25 and Scala 3.7 in the TASTy reader! 🎉 #scala
matejcerny.bsky.social
For MySQL users, there's a great Scala 3-only library built on Cats and fs2 that supports all three platforms: JVM, Native, and JS. #scala takapi327.github.io/ldbc/
ldbc
Documentation for ldbc
takapi327.github.io
matejcerny.bsky.social
A compile-time parser for CSV files! Love the idea! ❤️ #scala quafadas.github.io/scautable
Getting Started
quafadas.github.io
matejcerny.bsky.social
Probably the fastest way to build a Scala REST API is with the OpenAPI Generator codegen tool. It has an sbt plugin, supports libraries like Akka & Http4s, and the latest release adds sttp4 support! 👏 #scala openapi-generator.tech
Hello from OpenAPI Generator | OpenAPI Generator
Description will go into a meta tag in <head />
openapi-generator.tech
matejcerny.bsky.social
I didn't know that Typelevel and Twitter had their own forks of Scala 😳 #scala
matejcerny.bsky.social
It's official: Postgres 18 has now been released! 🎉 #postgres www.postgresql.org/about/news/p...
matejcerny.bsky.social
Suppose I maintain a library written in Scala 2.13 that is also cross-published for Scala 3. What are the constraints on updating the main codebase to Scala 3 while continuing to cross-publish for Scala 2.13? #scala
matejcerny.bsky.social
Pekko 2.0 is going to drop support for Scala 2.12 and move to JDK 17! 🎉 #scala
matejcerny.bsky.social
What do you think? I like it, but I have a feeling I'll be in the minority 😀 contributors.scala-lang.org/t/pre-sip-al... #scala
matejcerny.bsky.social
There is a new beginner friendly tutorial about debugging Scala code in Intellij 👇 #scala www.youtube.com/watch?v=8y_3...
IntelliJ IDEA x Scala: The Debugger (Part 1)
www.youtube.com
matejcerny.bsky.social
Build beautiful TUI apps with this Elm-style Scala library! ❤️ github.com/mattlianje/l... #scala #elm
matejcerny.bsky.social
There's a good chance you have already used contramap (e.g. when creating a Circe encoder), but understanding the concept can be challenging. This article explains it using a practical example. #scala blog.rhetoricalmusings.com/posts/contra...
Understanding Contramap - A Developer's Experience
blog.rhetoricalmusings.com
matejcerny.bsky.social
jsoniter is known as one of the fastest JSON libraries. The latest patch version significantly boosts codec derivation! There are also other new features, such as support for simple opaque types and named tuples. www.reddit.com/r/scala/comm... #scala
Reddit - The heart of the internet
www.reddit.com
matejcerny.bsky.social
Great article, but as I've said before, I need more examples showing how capabilities can help in real-world scenarios. When it comes to getting data from an API, converting it, and mixing it with something else from a config or DB, combinators 🐱 are all I need. #scala