Michał Pawlik

@majkp@hostux.social
56 Followers
26 Following
91 Posts
Software Engineer, Scala/functional programmer, sometimes doing Open Source and writing about Scala
Websitehttps://michal.pawlik.dev
Githubhttps://github.com/majk-p
Bloghttps://blog.michal.pawlik.dev
Hope to see you next Tuesday https://www.meetup.com/wroclaw-scala-user-group/events/303210600/on Wrocław #Scala User Group 😉
I've just concluded transferring https://github.com/polyvariant/sttp-oauth2 - previously known as ocadotechnology/sttp-oauth2 #scala #oauth2
Versions from 0.19.0 on will be available under org.polyvariant organization 🚀
GitHub - polyvariant/sttp-oauth2: OAuth2 client library implemented in Scala using sttp

OAuth2 client library implemented in Scala using sttp - polyvariant/sttp-oauth2

GitHub
Release v1.0.0-RC1 · scalalandio/chimney

This release candidate contains all the functionality intended for 1.0.0 launch. Please help us testing it for bugs. If no bugs - requiring changes to API and breaking binary/source compatibility -...

GitHub

New video: 10 flavors of Scala's future - Scalar 2024 recap

https://www.youtube.com/watch?v=RWn80MhSdvI

Here are the slides and #Scala code for "How slow is your tram?" talk I gave on #ScalarConf 2024

https://github.com/majk-p/how-slow-is-your-tram

GitHub - majk-p/how-slow-is-your-tram: Slides and code examples for "How slow is your tram?" talk

Slides and code examples for "How slow is your tram?" talk - majk-p/how-slow-is-your-tram

GitHub
Thank you #scalarconf it was a lot of fun!

Welcome @majkp as the next #Scalarconf speaker!

How slow is your tram?

Grab your ticket
🛒 https://sml.io/tickets

Tickets for Scalar 2025

Get your ticket to Scalar 2025 and join other Scala programming enthusiasts for the community get together.

Own your own website. Own your mailing list. Own your newsletter. Own your blog and prioritise your RSS feed.

This is the stuff that works in the long term.

Chasing virality on every new shiny platform is a waste of time.

Managing resources in an integration test in #Scala can be very simple. Check out https://blog.michal.pawlik.dev/posts/scala/weaver-localstack if you want to learn how to combine #Weaver and #Testcontainers to test your code against #Localstack.

#testing

Integration testing with Weaver and Localstack - Dev notes

When creating software that makes heavy use of cloud infrastructure, it is wise to test the integration in the end-to-end fashion. Doing so in cloud environment is one option, but it may not be viable for all cases. It can be pricy and you cannot do it in an local environment. A popular solution to this problem is to run Localstack and test your code against it. In this post we’ll explore how to manage your Localstack resources for E2E tests using Testcontainers, Cats-effect Resource and Weaver.

Dev notes

🤔 Do you know that since Scala 3.3.1 LTS, the compiler can check your code for any non-unit statements?

This way, you can avoid many footguns, especially when dealing with asynchronous code. 🕵️