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 8 months ago
The worst thing about trying an electric car (we rented one on vacation) is that you start thinking about selling your petrol car after about 10 minutes of driving.
Matej Cerny's avatar
matejcerny 8 months ago
Taking a vacation between jobs to clear the cache. Scala content paused temporarily. ๐ŸŒŠ image
Matej Cerny's avatar
matejcerny 8 months ago
A Functor is one of the basic structures in functional programming. Think of it like a container that allows transforming its contents with a function, while preserving the container's overall structure. #scala #functionalprogramming image
Matej Cerny's avatar
matejcerny 8 months ago
The Scala 3.7 case class decomposition using named fields is just awesome! #scala image
Matej Cerny's avatar
matejcerny 8 months ago
That's actually one of the worst features of Go, as it makes the program full of if statements. Another is the missing Option type (aka its approach to handling null references). image
Matej Cerny's avatar
matejcerny 8 months ago
I've heard a great take on vibe coding from David Grudl: "It's the same shift of paradigm as when programmers ditched assembler for C."
Matej Cerny's avatar
matejcerny 8 months ago
Vimjoyer is launching a new NixOS playlist. Get ready for beautiful terminal outputs and config examples in 4K 60FPS ๐Ÿ˜€ #nix
Matej Cerny's avatar
matejcerny 8 months ago
Used to Oracle's NVL? You can replicate the same functionality in PostgreSQL easily. #oracle #postgres image
Matej Cerny's avatar
matejcerny 8 months ago
The true cloud programming language #unison
Matej Cerny's avatar
matejcerny 8 months ago
Adding or dropping indexes ๐Ÿ“’ in a live PostgreSQL database means locking the entire table, potentially causing application slowdowns or outages. Use CONCURRENTLY with CREATE INDEX or DROP INDEX to perform the operation in the background. #postgres
Matej Cerny's avatar
matejcerny 8 months ago
Keep your folder structure the same in all apps, wrap primitive types in value classes, avoid default values, and so on. You could argue that these recommendations are obvious, but in reality, applying them consistently requires discipline that many teams lack. #scala
โ†‘