@_felipera

Pierre Ricadat's Tech Blog
1 day ago
Scala

Tuning ZIO for high performance

Let's start with a disclaimer.What is discussed in this article is not the ultimate truth: how to make your application faster highly depends on what your application is actually doing.
Hanlho
1 day ago
Scala

How to extract all TODOs from code using Scala-CLI

In recent years, Scala CLI has replaced sbt for my home and smaller work projects.Scala CLI lacks the extensive plugin ecosystem of sbt, so you need to write any additional functionalities yourself.
Scala snippets with Typelevel libs
1 day ago
Scala

A more intuitive approach to the State Monad in Scala

The ' Functional programming in Scala' book (aka ' the red book') defines a state transformation as a function with this signature:
Scala snippets with Typelevel libs
1 day ago
Scala

Micro library for retries in cats-effect using Scala extensions

This blog entry will show how to add a simple retry mechanism to cats-effect (CE) using Scala 3 extensions.
Eed3si9n
1 week ago
Scala

how to see the trees using the Scala compilers

Here's a memo on how to show trees using the Scala compilers.
Inoio
1 week ago
DevOps

inoio gmbh | Kafka Fundamentals

Because we're using Apache Kafka again and again in our projects and so far I didn't find the sufficiently compact in one place - I have taken the time to prepare this for myself/us/you.
Inoio
1 week ago
DevOps

inoio gmbh | Kafka compaction tuning

Kafka offers two cleanup policies, which seems simple enough: "delete", where data is deleted after a certain amount of time, and "compact", where only the most recent value is kept for any key.
Inoio
1 week ago
DevOps

inoio gmbh | Eventual Consistency via Kafka Transactional Outbox

Our systems today are typically distributed, and sometimes integrated via an event bus such as Kafka.We store data in a database and publish events to inform other systems of changes.
Pureframes
1 week ago
Scala

PureConfig with Scala 3 - Tutorial

It took some time, but the PureConfig on Scala 3 has almost reached the point of feature parity with its Scala 2 implementation.It's a good moment to learn why it's useful and how it works!
Inoio
1 week ago
Scala

inoio gmbh | Crafting types with Scala 3 macros - Part 1: Introduction to macros

With the release of Scala 3, one of the biggest changes to the language revolves around metaprogramming: Inline-functions, match types, generic-programming tools like tuple types and Mirror s, as well as a new macro API have been added to make code generation a major concern of Scala.
for comprehension is scala magic!
Alvinalexander
2 months ago
Scala

ZIO 2: Using Either with ZIO in a Scala for-expression

Use ZIO in Scala for-expressions with Either to manage errors effectively. [ more ]
Daniel Beskin's Blog
1 month ago
Scala

Purify Your Tests III: Lean, Mean Testing Machine

In the last part we saw how to make our code more declarative, and the tests more functional by introducing type parameters for the inner data flowing through our code.
Pierre Ricadat's Tech Blog
1 month ago
Scala

GraphQL in Scala: Role-Based Access Control

Today, I'm going to answer a question asked by Łukasz Biały on Twitter:
Is there a way to get field-level RBAC (Role-Based Access Control)?
...
It turns out there is!
SoftwareMill
1 month ago
Scala

WebSocket chat using structured concurrency, Ox & Tapir | SoftwareMill

A chat application is often used to demonstrate various approaches to working with WebSockets.We'll follow suit; below is a quick tour of how such a service can be implemented in direct style using:
Softwaremill
1 month ago
Scala

1. Hello, world! - tapir 1.x documentation

Going forward, we'll edit a hello.scala file.
Let's start by adding the tapir dependency.
First, you'll need the module to describe the endpoint.
Secondly, you'll need an HTTP server implementation.
Substack
1 month ago
Java

On Modern Error Handling (Not Just in Java): Monads, Effects and Project Amber - JVM Weekly vol. 81

Today will be about approaches to error handling - both in the industry as such and new proposals for Java.And we'll start it all off with Monads.
...
What is a Monad?
Daniel Beskin's Blog
2 months ago
Scala

Purify Your Tests: 2 Parametric, 2 Declarative

In the last part we learned how to purify our tests using type parameters.In this and following parts we'll see some further benefits of adding type parameters this way.
Neander
2 months ago
Scala

Spec-first and code-first, hand in hand

Yesterday, I released smithy4s-deriving, a Scala 3-only library that provides meta-programming-based derivation mechanisms for the core abstractions of Smithy4s.
Always a great way to keep up with the Scala community
Medium
4 months ago
Scala

This week in #Scala (Mar 18, 2024)

https://miro.medium.com/v2/resize:fit:1200/1*bPQnM2r6SYEzTbFe70vl8w.jpeg
Welcome to the new edition of #ThisWeekInScala!
...
"This week in #Scala (Mar 18, 2024)" is published by Petr Zapletal.
Galaxy brain
4 months ago
Scala

Typed Tagless Final, for real!

Every so often, a software technique takes the center stage of attention and becomes the source of countless articles, tutorials, and conference talks.
Clear example of how to read and write to a map in a concurrent use case
Luis Rodero-Merino's Blog
4 months ago
Scala

Using Cats Effect's MapRef

(all code samples can be run using scala-cli)
Luis Rodero-Merino's Blog
4 months ago
Scala

Using Cats Effect's MapRef

(all code samples can be run using scala-cli)
Excited for the REPL and CLI improvements in Scala 3
virtuslab
4 months ago
Scala

Scala 3 Roadmap for 2024

Scala will adopt a six-week release cycle to provide fixes and improvements more predictably and quickly. [ more ]
virtuslab
4 months ago
Scala

Scala 3 Roadmap for 2024

Scala will adopt a six-week release cycle to provide fixes and improvements more predictably and quickly. [ more ]
Medium
4 months ago
Scala

Introduction to Bazel for Scala developers

The build time of a project has a significant impact on a team's development efficiency.The larger the code base, the longer it takes to build.
Medium
4 months ago
Scala

Two-phase consensus with functional Scala

Two-phase consensus is defined by these dual prepare and commit/abort phases.The endless-transaction library captures this pattern in tagless-final abstractions.
Medium
4 months ago
Scala

Two-phase consensus with functional Scala

Two-phase consensus is defined by these dual prepare and commit/abort phases.The endless-transaction library captures this pattern in tagless-final abstractions.
Who's moving to Pekko? I am going to typelevel stack
SoftwareMill
4 months ago
Scala

What to do with your End Of Life Akka? | SoftwareMill

In September 2022 Lightbend surprised the Scala community by announcing the Akka license change for all future releases from Apache 2.0 to "source available" Business Source License (BSL) v1.1.
SoftwareMill
4 months ago
Scala

What to do with your End Of Life Akka? | SoftwareMill

In September 2022 Lightbend surprised the Scala community by announcing the Akka license change for all future releases from Apache 2.0 to "source available" Business Source License (BSL) v1.1.
Nice introduction to state with cats.effect.Ref
Kubukoz
4 months ago
Scala

Flavors of shared state in Cats Effect

In this post, we will explore the various ways to share state in a Cats Effect application.
Kubukoz
4 months ago
Scala

Flavors of shared state in Cats Effect

In this post, we will explore the various ways to share state in a Cats Effect application.
Playframework
4 months ago
Scala

General - 3.0.x

§How Play Deals with Akka's License Change
I really appreciate post-mortems that are made public, great learning
Scala-lang
4 months ago
Scala

Scala 3.3.2 post-mortem analysis

Last week, we announced the release of Scala 3.4.0 and 3.3.3.The announcement mentioned that we had to skip 3.3.2 due to a bug breaking our forward binary compatibility guarantees in a patch release.
Scala-lang
4 months ago
Scala

Scala 3.3.2 post-mortem analysis

Last week, we announced the release of Scala 3.4.0 and 3.3.3.The announcement mentioned that we had to skip 3.3.2 due to a bug breaking our forward binary compatibility guarantees in a patch release.
This summary is always great content to keep up with Scala community
Medium
4 months ago
Scala

This week in #Scala (Mar 11, 2024)

https://miro.medium.com/v2/resize:fit:1200/1*bPQnM2r6SYEzTbFe70vl8w.jpeg
Welcome to the new edition of #ThisWeekInScala!
...
"This week in #Scala (Mar 11, 2024)" is published by Petr Zapletal.
Always nice to get information on concurrency and parallelism
Medium
5 months ago
Scala

Threads, ThreadPools and Executors-Multi Thread Processing In Java

https://miro.medium.com/v2/da:true/resize:fit:1200/0*z2AeifeuphQZfatc
Concurrency is one of the most complex problems we (developers) can face in our daily work.
Modern REST in Scala
Medium
4 months ago
Scala

Master Scala Rest APIs in 3 Simple Concepts: Illustrated Guide with Tapir, http4s, and Circe! (2/2)

Auto Derivation Magic simplifies JSON to Scala conversion by leveraging case class attributes.
Importing required objects like io.circe.generic.AutoDerivation and sttp.tapir.generic.auto.SchemaDerivation enables auto-derivation for JSON encoding and decoding. [ more ]
Nice to see more scala 3 content
Medium
4 months ago
Scala

Master Scala Rest APIs in 3 Simple Concepts: Illustrated Guide with Tapir, http4s, and Circe!

Tapir, http4s, and Circe are game-changing Scala libraries for Rest APIs and SwaggerUI docs generation.
Scala ecosystem leans towards Tapir, http4s, and Circe for building backend systems due to production-ready and actively maintained status. [ more ]
[ Load more ]