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

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

https://blog.rhetoricalmusings.com/posts/sbt-xcompile-jdk/

πŸ’‘ 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

If you've dealt with JVM type erasure, you likely know about the long-deprecated scala.reflect.Manifest. Eugene Yokota has reimplemented some of its functionality in Scala 3. #scala3 #typeerasure #jvm https://eed3si9n.com/manifesto/

Visual Basic is the 7th most popular programming language! 🀯 Fortran jumped from 16th place to the top 10! πŸ“ˆ People occasionally mention the TIOBE index. Please don't. #programminglanguages #tiobe https://nindalf.com/posts/stop-citing-tiobe/

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 https://youtu.be/HruBoinmPBA

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 https://youtu.be/7VSVfQcaxFY

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 https://youtu.be/Zy-eDWVam_Y

No pressure kid. You don't have to be an engineer 🀣 #computerengineeringforbabieshttps://m.primal.net/LPiO.mp4

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

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 #haskell

I'm not generally a fan of dependency injection frameworks, but I must admit that a zero-cost, compile-time, and type-safe library that also supports Scala 3 sounds pretty damn amazing! #scala3 #dependencyinjection #autowire https://softwaremill.com/autowire-zero-cost-dependency-injection/

Optimize your scalafmt config with genetic algorithms. Because... science? πŸ€·β€β™‚οΈ But hey, it's super impressive! #scala #scalafmt #configuration #codeformatter https://blog.indoorvivants.com/2024-09-27-scalafmt-genetic-optimiser

Postgres 17 has been officially released. πŸŽ‰ For those interested in the performance improvements, I highly recommend this webinar πŸ‘‡ #postgres #database https://youtu.be/F2B4bIfVLL0

Even though Scala 3.5 is already available, the previous 2.x branch continues to be maintained, with the newly released version 2.13.15 πŸ‘ #scala https://github.com/scala/scala/releases/tag/v2.13.15

If your team is open to libraries like Vavr or Arrow, why not just use Scala? πŸ€” No emulation needed. #scala #java #kotlin #vavr #arrow

If you're short on time but eager to learn, check out Dylan Beattie's new series on history of software in three-letter acronyms πŸ†• https://www.youtube.com/watch?v=IJ8b0j_ZTok

Look what I found on my vacation in Amsterdam. Let's call it "Street Scala" stairs πŸ˜€ #amsterdam #scala #straat

Looks like there will be another round of layoffs, but this time completely voluntary. #amazon #remotework #backtooffice https://www.reuters.com/technology/amazon-mandates-five-days-week-office-starting-next-year-2024-09-16/

ZIO-HTTP 3.0 was released a couple of days ago! And the Tapir integration is also ready πŸ‘#scala #zio #http https://github.com/zio/zio-http/releases/tag/v3.0.0

Go grab your copy now, while there's a huge discount! πŸ’° I've already ordered mine. #haskell #functionalprogramming https://www.manning.com/books/functional-design-and-architecture