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 1 year ago
I hope you're all aware by now, but there was an incident a couple of days ago while releasing an RC version of Scala Next. Please read the official statement and don't use Scala 3.6 in production code! #scala3 #incident
Matej Cerny's avatar
matejcerny 1 year ago
Finally! πŸŽ‰ Thank you, Google, now please do the same with Gmail πŸ™ #calendar #darkmode image
Matej Cerny's avatar
matejcerny 1 year ago
It begins innocently - as a simple regex. Then a quick pattern here, a minor tweak there. Over time, you're left with an indecipherable string of characters that no one can understand. Next time, consider using a parser! πŸ’ͺ #scala3 #parsers
Matej Cerny's avatar
matejcerny 1 year ago
My shell scripts with all those brew commands feel so old-school now that I've seen Nix 😳 #brew #nix #macos #packagemanager
Matej Cerny's avatar
matejcerny 1 year ago
Love Scala 3's syntax, but why no colon after argument parentheses in extension methods? πŸ€” It feels even more out of place when I look at the new givens syntax in Scala 3.6 πŸ€·β€β™‚οΈ #scala3image
Matej Cerny's avatar
matejcerny 1 year ago
Imagine writing plain SQL, and a tool generates structures and repositories for you! 🀯 It's like an ORM, but the other way around. ♻️ What an interesting idea! Sadly it's only for Go now. #sql #sqlc #go #orm
Matej Cerny's avatar
matejcerny 1 year ago
Function composition and combinators are the fundamental building blocks in FP languages. Watch this mind-bending talk from Conor Hoekstra where he explores different composition techniques across various languages like Haskell, APL, J and others. #functionalprogramming #haskell
Matej Cerny's avatar
matejcerny 1 year ago
Cross-compiling Scala libraries for different JDK versions can be a little cumbersome. Here's how to handle conditional compilation and artifact naming with sbt πŸ‘‡ #sbt #scala #jdk #java
Matej Cerny's avatar
matejcerny 1 year ago
πŸ’‘ Quick tip: When checking if an array column in the Postgres table contains a specific element, use @> (I call it the "ice-cream" operator πŸ˜€). It's faster than using ANY. #postgres #sql #database #performance image
Matej Cerny's avatar
matejcerny 1 year ago
Don't jump to NoSQL at the first sign of database slowdowns! Sharding your existing relational database, like Notion did with PostgreSQL, can be a powerful way to boost performance. #postgres #sql #nosql
Matej Cerny's avatar
matejcerny 1 year ago
Do you know the story behind Lichess, the second-largest chess platform with 5.2 million games a day? It's an open-source hobby project by one man (with a little help from the community)! Incredible job! πŸ‘ And guess what? The backend is written in Scala β™₯️ #lichess #chess #scala
Matej Cerny's avatar
matejcerny 1 year ago
The functional family just got bigger, and with it, our collective understanding of FP grows. This means more people will be ready to dive into awesome languages like Haskell, Scala, F# or OCaml! πŸ™Œ #gleam #functionalprogramming #erlang #haskell #scala #fsharp #ocaml
Matej Cerny's avatar
matejcerny 1 year ago
No pressure kid. You don't have to be an engineer 🀣 #computerengineeringforbabies
Matej Cerny's avatar
matejcerny 1 year ago
Is Scala difficult to learn❓ I believe that F[_] might be the reason many people think Scala is hard. Simply put, the idea behind F[_] is that you should not force programmers to use your preferred async system. This is great for library developers, but many apps adopt this highly abstract way of programming. In reality, there is usually no reason to switch from one effect system to another. In our projects, we chose cats effect IO. We use it directly, avoiding unnecesarry abstraction. The result? Super simple and clean code, even for newcomers who have no prior experience with Scala. Not caring about all the effect system bounds is liberating. #scala
Matej Cerny's avatar
matejcerny 1 year ago
Something exciting arrived in the mail today 🀩 Maybe I should share some of my favorite books with you all before I finish this one? πŸ€” What are some of YOUR favorite books on functional programming or IT in general? #functionalprogramming #book #haskellimage
↑