Matej Cerny's avatar
Matej Cerny
npub17hpl...yx66
Functional programming enthusiast with strong foundations in the relational databases world #FP #Scala #Postgres
Matej Cerny's avatar
matejcerny 3 weeks ago
This feature in Scala 3.8 is so experimental that it doesn't even have a SIP yet! πŸ˜€ I hope I don't need to explain the code, but be warned: exhaustivity checking is currently broken for this πŸ‘‡ #Scala image
Matej Cerny's avatar
matejcerny 3 weeks ago
The last missing piece? 🧩 @Zed is finishing up a native Git Graph and it looks incredible! 🀩 image
Matej Cerny's avatar
matejcerny 0 months ago
Next on the list of Scala 3.8 experimental features: Flexible Varargs. Until now, passing multiple collections to a varargs method required manual concatenation. With this change, you can mix multiple splices and single arguments freely ✨#scala image
Matej Cerny's avatar
matejcerny 1 month ago
I've started working on a project in Go - who would have expected that? 🀷 I'm treating it as a personal challenge. Sometimes you have to lose something to understand its value. #golang #scala
Matej Cerny's avatar
matejcerny 1 month ago
Scala 3.8 will bring several experimental features. One of them is the relaxed lambda syntax, where you don't need to put a newline after the colon. Haters of the braceless syntax will hate it even more! πŸ˜€ #scala image
Matej Cerny's avatar
matejcerny 1 month ago
Hey, Java devs! If you're on JDK 17+, it's time to start using Sealed Classes to eliminate invalid states. On JDK 21+, combine them with Pattern Matching for a truly powerful result. The difference in conciseness and safety is incredible! πŸš€ #java
Matej Cerny's avatar
matejcerny 1 month ago
This is a follow-up to the previous article about builder type gymnastics. This time, all the boilerplate code is hidden behind the macro. Sadly, under the Scala 2 macro 😐 #scala
Matej Cerny's avatar
matejcerny 1 month ago
Apache Spark 4.1 is officially here and it's a massive release! πŸ”₯ 1️⃣ TIME WITH TIME ZONE: finally, proper timezone support! πŸ•’ 2️⃣ WITH RECURSIVE: native support for recursive CTEs in SQL. πŸ”„ 3️⃣ Real-Time Mode: sub-second latency (<300ms) for streaming. ⚑ 4️⃣ Declarative Pipelines: define ETL state, let Spark handle the execution. πŸ—οΈ 5️⃣ Pythonization: native Python data sources, remapped JVM exceptions etc. 🐍
Matej Cerny's avatar
matejcerny 1 month ago
Did you know there’s a Functional Programming course you can download right into IntelliJ? It includes 8 lessons and 40 challenges on everything from Immutability to Monads. 🧠 #scala image
Matej Cerny's avatar
matejcerny 1 month ago
Another year of new habits and milestones. Here are the highlights that stand out: 1️⃣ Started a new chapter working for SiriusXM πŸ“» 2️⃣ Continued sharing my passion for tech, (re)posting over 400 articles, videos and tips πŸ’‘ 3️⃣ Switched to an electric vehicle ⚑ 4️⃣ Started with cold showers - the positive impact is huge! 🚿 5️⃣ Unlocked a core memory: witnessing my son truly experience the sea for the first time πŸŒŠπŸ‘Ά 6️⃣ Read 10 books, switching completely to English even for novels πŸ“š 7️⃣ Walked and hiked a total of 970 km, including a 52.5 km in a single activity πŸ₯Ύβ›°οΈ 8️⃣ Completed 41 strength training sessions, 43 climbing sessions and 24 runs πŸ‹οΈβ€β™‚οΈπŸ§—πŸƒ 9️⃣ Didn't make much progress on the accordion πŸͺ—
Matej Cerny's avatar
matejcerny 1 month ago
Another effect system? πŸ™„ I usually avoid sharing these because I hate fragmentation and this one is still experimental. However, λÆS deserves a look. It implements a unique direct style approach, and the progress is impressive. πŸš€ (Also, there is a cats-effect integration!) #scala
Matej Cerny's avatar
matejcerny 1 month ago
Super important video on how the CPU actually handles threads and memory access, and why it matters for your app's performance. Watch this to see how cats-effect outperforms standard Spring architecture πŸ‘‡ #scala #java
Matej Cerny's avatar
matejcerny 1 month ago
Watch how to use opaque types in some more advanced situations (like hiding Monad Transformers in a DSL) 🀸 #scala
↑