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

Read in some discussion: "The trouble with #Haskell is, first you don't know it, and it feels awful. Then, once you learn it well, suddenly every other language feels awful." 💯

"Talking to myself using hashtags" is pretty much my brand at this point, haha. But seriously, it means a lot to know that the Scala content is appreciated! As for the Zaps, I'm on a self-custody LN wallet (from historical reasons), but it's probably time to migrate to some custodial app for better reliability. Feel free to try it ⚡️

If you are into TOML, support for Scala 3 derivation was recently added to this library. I personally will stick with HOCON. By the way, does anyone use SConfig instead of the original Java implementation from TypeSafe? #scala #toml #hocon https://github.com/indoorvivants/toml-scala

Opaque Types are more powerful than you might think. Even named tuples are implemented with them! (👀 Notice the literal/singleton types in the commented line below) #scala https://cdn.nostrcheck.me/f5c3f597f754f534d47b0be2b9afe263894ecdad3d639453c4abc31f40db2c23/acebdc0f77e572c6863acd939c3d802938c5297a7d05048145867ee41344c015.webp

I encourage you to check this table. If your currently used plugins are already cross-published to sbt 2.x, consider updating to the next version of sbt to test its compatibility with your services. https://github.com/sbt/sbt/wiki/sbt-2.x-plugin-migration

Yes, finally, the official #Scala newsletter! 🎉 Let's unify all those scattered resources from nostr:npub1zx66lpztm8aha0xtq06yjv7jcrrx2lsuu29wefxc59hghsh5tacqpwgqh5, @scalatimes.com, Petr Zapletal, and others! https://scala-lang.org/highlights/2025/02/06/highlights-2024.html

parTraverse is definitely my most favorite combinator. #scala https://yadukrishnan.live/traversing-cats-effect-ios-part-3

Great job! 👏 And I agree that the Tuple.Map deserves more documentation and examples, as it's a powerful feature. #scala #migration https://blog.pierre-ricadat.com/scala-3-migration-report-from-the-field

Considering how often Scala has broken binary compatibility in the past, it's curious that JVM 8 remains supported. Let's skip the intermediate steps. It's time to make the jump directly to 17! #scala #jvm https://www.scala-lang.org/news/next-scala-lts.html

This tutorial should be called "You'll Love Scala 3 Even More!" ❤️ #scala #metaprogramming https://www.youtube.com/watch?v=z6dbDqclE34

It turns out there's already a Scala 3 library that does exactly what I was aiming for. At least I have learned something new 🙌 #scala https://github.com/com-lihaoyi/sourcecode

Fascinating discussion on how Scala actually works in IntelliJ IDEA and Metals! Did you know that IntelliJ recently shipped support for LSPs? 💡 #scala https://www.youtube.com/watch?v=SlPDmwhxeok

Macros can be powerful. Or... they can be this 😂. Introducing FunctionName: a Scala 3 macro that's literally just a string. Get a function's name. Done ✅ #scala #scala3 https://github.com/matejcerny/function-name

Prague, the Bitcoin Capital, is about to make history again! Czech National Bank governor will propose holding #Bitcoin reserves. 👏 #bitcoincapital $BTC https://www.ft.com/content/a3c06f8f-34ad-4065-bcf4-97670230824f

Scala has many libraries for new and refined types, but do you know the difference? 🤔 New types create distinct types (think new boxes for your data). Refined types add constraints to existing types (think labels & rules for what goes in the box). Artūras Šlajus just released a newtype library exclusively for Scala 3! #scala #typesafe https://arturaz.github.io/yantl/

Because why use MongoDB when you can just make Postgres look like MongoDB? 🤣 Companies finally getting it: Postgres does it all. 🐘 (It's open source, btw) #microsoft #postgres #mongodb #nosql https://github.com/microsoft/documentdb

Just made your first Open Source contribution? Don't be shy, share it! 🙌 Big or small, every contribution helps. Let's celebrate your step into the OSS world! It's not bragging, its inspiring others! 🌟 #opensource