Avatar
Matej Cerny
f5c3f597f754f534d47b0be2b9afe263894ecdad3d639453c4abc31f40db2c23
Functional programming enthusiast with strong foundations in the relational databases world #FP #Scala #Postgres

It's funny, I had the same conversation with my colleague about those differences a couple of days ago. πŸ˜€ Great article by the way! #scala https://alexn.org/blog/2025/04/02/tagged-vs-untagged-unions-in-scala/

Managing mutable state concurrently on the JVM can be tricky. cats.effect.Ref simplifies this significantly with atomic, functional guarantees. Excellent intro to the topic by nostr:npub1fsvdwzhywlxc6gxp99g2c4g9aydyhlaamw2jhs6ajpnxts8nyv4sswy05d πŸ‘‡ https://blog.softwaremill.com/cats-concurrency-basics-with-ref-and-deferred-399e0335630

"It's not a syntax error, it's a mood misalignment, bro" https://youtu.be/JeNS1ZNHQs8

If you really want to understand Scala's internals, check out this awesome live AST 🌲 explorer #scala https://github.com/scalameta/ast-explorer

It looks like the new QUERY http method is ready to be implemented! It enables safe retrieval by putting query information (e.g. in JSON) directly into the request body instead of the URL. #http https://datatracker.ietf.org/doc/draft-ietf-httpbis-cache-groups/

If you work with DynamoDB, do you know the difference between a filtered scan and a query operation? Understanding this distinction is crucial for optimizing performance and cost. πŸ’° #dynamodb πŸ‘‰ https://youtu.be/U-yApJ2_FCE

Daniel rocks! After just two weeks, another interview is live! This time, James Ward discusses effect systems, how they help to make illegal states unrepresentable and more! 🀘#scala https://youtu.be/M8DuVYnsW5A

What a nice application of Scala 3's match types! #scala https://mercurievv.github.io/minuscles/readme.html

"Anyone can pick up an open source Chinese model and generate more code than they could ever possibly need and that means real programmers are going to have a lot of code to fix and refactor." https://www.youtube.com/watch?v=Bt-7YiNBvLE

A new Metals release adds a useful automatic import optimization feature. For instance, if you type Future.successful(...), only the Scala Future will be suggested, as the Java Future has no such method. #scala http://scalameta.org/metals/blog/2025/03/26/strontium/

I've updated the fs2-rabbit lib, in case anyone uses it besides us πŸ˜€ #scala https://github.com/profunktor/fs2-rabbit/releases/tag/v5.4.2 nostr:note1t5fjf6alrxvyhgcmfw9yjrpjfz6e87572f370hsh5qs0gx5telvqqd3f0w

Use a global sequence implemented via inheritance instead of separate auto-incremented ID fields. πŸ‘‡ #postgres https://www.cybertec-postgresql.com/en/debugging-postgresql-more-easily/

Have you already upgraded to the latest version of Cats Effect with the improved scheduler? Any observations so far? #scala https://github.com/typelevel/cats-effect/releases/tag/v3.6.0

I would really like to see a type-safe equals operator that works without derivation (e.g., Dog == Dog should compile, but Cat == Dog should not). It's not just a weak point in conditional pattern matching, I would say it's a major vulnerability. https://scala-lang.org/blog/2025/03/24/evolving-scala.html

It's comforting to hear that even great programmers had moments in their lives when they doubted they were good enough to become programmers. I definitely had those moments myself, in high school and then later when I started with Scala. nostr:note10kajftjz5ud8xz62p9vncrra0denuklwt29c5a7t8tx3mtuh07yqetrz0v

Do you know what's better than watching @ThePrimeagen's videos? To watch him being interviewed. https://youtu.be/tNZnLkRBYA8

Great read on debugging a Postgres performance mystery. You will learn a lot about Postgres internals just by following the author's thought process. (btw, what a grafana theme! πŸ˜€) #postgres https://blog.danslimmon.com/2025/03/14/did-u-ever-read-so-hard-u-accidentally-wrote/