Mateusz Kubuszok
banner
kubuszok.com
Mateusz Kubuszok
@kubuszok.com
210 followers 61 following 27 posts
Blog @ https://kubuszok.com JVM-Scala Book @ https://leanpub.com/jvm-scala-book Chimney @ https://chimney.scalaland.io
Posts Media Videos Starter Packs
Reposted by Mateusz Kubuszok
This is probably the most complete tutorial on typeclasses in Scala 3, it's basically a short book. Bookmark it, as it has everything: givens, derivation, mirrors, inline defs, macros... you name it. #scala kubuszok.com//2025/sanely...
It also reminded my why, I stopped - putting everything I know into 1 writeup is such a PITA but I do not want it any other way.
Chimney 2.0.0-M2 for 2.13.17+ and 3.7+ just landed!

* sanely-automatic derivation backported to 2.13
* aligned with featues/bugfixes up till 1.8.2

Try out, if you had any issues with semiauto on Scala 3.7 or if you want to test sanely-auto on 2.13!

github.com/scalalandio/...
Release v2.0.0-M2 · scalalandio/chimney
Important Since Chimney got affected by 3.7.0 change in givens resolution we had to analyze the possible ways of fixing the issue. While there is a temporary workaround the proper fix requires rele...
github.com
Great thanks to all organizers of @scalaio.bsky.social! It was a great experience I am happy I could be there.
Reposted by Mateusz Kubuszok
Can we have the Standard Library for Macros? (@kubuszok.com): makes simple things simple, and hard things (at least) possible 🚀

Event Sourcing is just a foldLeft on Events and a decide function! Or is it? (Matthieu Baechler & Thomas Hilaire): master of immutability but UPDATE db all day long ? 👀
Thank you everyone who came to my talk at @scaladays.org ! It was amazing to be here!

You can find my slides at mateuszkubuszok.github.io/ScalaStandar...
Feedback reaches authors faster when they don't have to use a mix of "search by string in random social media" (no mentions, hashtags, etc) combined with Google Translate :P

Discussions, issues and PRs are welcome at github.com/scalalandio/...
GitHub - scalalandio/chimney: Scala library for boilerplate-free, type-safe data transformations
Scala library for boilerplate-free, type-safe data transformations - scalalandio/chimney
github.com
Some time ago I made a presentation that wasn't recorded...

But at least some of the points from it could be showcased with this gist

gist.github.com/MateuszKubus...
Newtypes and tagged types
Newtypes and tagged types. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
It seems #Scala folks are interested in macros once more!

So, let's meet at the @scaladays.org 2025 to talk why we would want some standard library for them and how!
I had hardly any exposure to Apache Spark, and Databricks is mostly irrelevant to me...

Still I am curious why nobody in my circle noticed that Databricks released runtime for Scala 2.13. Now only sbt is the reason to keep publishing for 2.12
docs.databricks.com/aws/en/relea...
Databricks Runtime 16.4 LTS | Databricks Documentation
Release notes about Databricks Runtime 16.4 LTS, powered by Apache Spark.
docs.databricks.com
Reposted by Mateusz Kubuszok
🚀 Metals v1.5.3 is here!

Introducing:
- MCP server support for AI agents
- new inlay hints for named/by-name parameters
-improved test discovery for ZIO
- better auto-fill arguments
- using directives worksheet support.

Try it now! #Scala #IDE

scalameta.org/metals/blog...
Reposted by Mateusz Kubuszok
Slow-Auto, Inconvenient-Semi: escaping false dichotomy with sanely-automatic derivation by @kubuszok.com

Subscribe to our our YouTube channel so you don't miss the rest of #scalarconf videos.
Slow-Auto, Inconvenient-Semi: escaping false dichotomy with sanely-automatic derivation
YouTube video by SoftwareMill
www.youtube.com
Reposted by Mateusz Kubuszok
Really interesting comparison between automatic vs. semi-automatic type class derivation and their impact on performance. #scala https://youtu.be/M54ux51H6Fo
Slow-Auto, Inconvenient-Semi: escaping false dichotomy with sanely-automatic derivation
youtu.be
Reposted by Mateusz Kubuszok
As promised we are working hard on providing you with the Scala MCP server, we already have a WiP pull request ready and some courageous souls are actually testing it!

You can take a look and already give some feedback at github.com/scalameta/m...
WIP: MCP support by kasiaMarek · Pull Request #7390 · scalameta/metals
resolves: scalameta/metals-feature-requests#430
github.com
Reposted by Mateusz Kubuszok
With our new Scala MCP server we are able to eliminate hallucinations and unproductive guesswork for code that LLMs aren't familiar with by exposing API shapes from the caches of Metals and the Scala compiler.
I am back home! But I took a bit of Scalar with me :)
Thank you @scalar-conf.com for yet another amazing conference and for having me there! See you next year!