A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
April 9th, 2020, ISSUE 321

READING

Tapir codecs get an update

Codecs are now simpler, composable, and extended with more supported types!
Adam Warski (@adamwarski)
user-land compiler warnings in Scala, part 2

Using meta-annotation technique, we were able to extend apiStatus so we can tag APIs using a custom status annotation.
Eugene Yokota (@eed3si9n)
Data processing with Akka Actors: Part I

In this article, I introduced the problem that we are trying to solve and the technology stack that is going to be used. Also, I hope you gained some basic understanding of how to implement actors and design an Actor System.
Aleksandar Skrbic (@skrbic_a)
Moving From Kotlin + Spring Reactor + Arrow to Scala + ZIO

The Scala + ZIO solution is easier to test, easier to compose, and easier to understand, and can be quickly tweaked to generate new variations for changing requirements.
Adrian Filip (@realAdrianFilip)
A functional comparer

The main purpose of the Comparer package is the elegance and the ease of composition of comparers and the provision of out-of-the-box comparisons for just about every situation.
Robin Hillyard
What's Ap?

We’ll delve into the original paper in which they were introduced, converting the Haskell code to modern Scala, both custom code and using Cats, Cats Effect and Zio. Finally, we’ll look at an efficient implementation of blending two images using Applicative programming.
Justin Heyes-Jones (@justinhj)

PRESENTATIONS

Data Juggling - Part 10 - Tame Your Twelve-Factor App's Config (Lightbend Config - Part 2)

In this video we will learn about the many ways to read the configuration settings for your applications with libraries like lightbend config and pureconfig with the refined integration. We will also have a crash course for the HOCON format.
DevInsideYou (@DevInsideYou)
Data Juggling - Part 11 - Getting Started with Squants

In this video we will talk about Squants - The Scala API for Quantities, Units of Measurement And Dimensional Analysis.
DevInsideYou (@DevInsideYou)

EVENTS

Scalar Online, May 15th (CFP)

Send your proposal! Call for papers ends 14th of April
SoftwareMill (@scalarconf)
ScalaUA Remote Conference, April 3th-4th

Wholesale 10+ tickets are available till 2020.04.02.
ScalaUA (@ScalaUA_Conf)
Scala Love Remote Conference, April 18th

CFP is open now!
Scala Love (@scala_love)
Effective Scala Remote Workshop, April 21st-22nd

Bill Venners and Frank Sommers from Artima will be teaching a hands-on Effective Scala training course April 21-24 over Zoom. The course will be held 9AM to 12:45PM in the US/Pacific time zone. We will meet for a half-day on each of four consecutive days. Enter coupon code SCALATIMESAPR20 for a 10% discount.
Artima, Inc (@ArtimaInc)
Functional Design with John de Goes, April 27th-28th

Use promo code SCALATIMES10 to get a special 10% discount for Scala Times readers!
Ziverge (@zivergetech)
Scala Swarm, June 18th-23rd, Porto, Portugal

Ticket sale is now open, come quick and grab your ticket to this unique event!
ScalaSwarm (@ScalaSwarmConf)
[cancelled] flatMap(Oslo), May 14th-15th, Oslo, Norway

The event has been cancelled due to the COVID-19 virus.
flatMap(Oslo) (@flatmaposlo)
Scalar Workshops, October 8th-10th, Warsaw, Poland

Get ready for the workshop-driven FP event in Poland!
SoftwareMill (@scalarconf)
Functional Scala, December 3th-4th, London

Learn the critical topics you need to excel as a Scala developer, and celebrate the Scala programming language and community.
Ziverge (@zivergetech)

RELEASES

zio-akka-quickstart

A Giter8 template for a basic Scala application build using ZIO, Akka HTTP and Slick!

VARIA

Scala Times banners?

Want one? Click here
THE INTERNET
Scala Times stickers?

Want one? Let us know or tweet @scalatimes.
THE INTERNET
Scala experts?

Need some? SoftwareMill is here, ready to talk and dive deep into your code.
SoftwareMill





  1. Scala Times Issue #327

    Time traveling in tests with Cats Effect. Lightbend To Contribute Commercial Features To Akka Open Source. Functional error handling with monads, monad transformers and Cats MTL. Akka Stream Coexistence With Akka Typed. Orchestrating startup and shutdown in Scala.


  2. Scala Times Issue #326

    A story about streaming unique batches in Monix. GraalVM Native Image Tips & Tricks. Mu-Scala 0.22: Distributed tracing. Using a remote server to build your Scala projects. Circe - Part 2 - JSON Codecs.


  3. Scala Times Issue #325

    Scala Start Page. Starting with Scala 3 macros: a short tutorial. Implementing Authentication on Play Framework. Lunatech and our commitment to the Scala Center. Scala Native Next Steps.


  4. Scala Times Issue #324

    A simple trick to improve type safety of your Scala code. The Power of Akka Streams. Akka Persistence JDBC 4.0.0 release candidate. Scala Book: Free PDF, Mobi, and ePub versions. Testing Embedded H2 DB with Scala and Scalatest.


  5. Scala Times Issue #323

    ZIO + Http4s: a simple API client. FP for Mortals for Cats!. An Introduction to ZIO Kafka. Akka Typed Fundamentals (PL), Online Workshop, April 27th. Scalar Online, May 15th (Extended CFP).


  6. Scala Times Issue #322

    The Death of Hype: What's Next for Scala. IntelliJ Scala Plugin 2020.1. Data processing with Akka Actors: Part II. Akka-http graceful shutdown. A Brief History of ZIO.


  7. Scala Times Issue #321

    Tapir codecs get an update. Data processing with Akka Actors: Part I. A functional comparer. Data Juggling - Part 11 - Getting Started with Squants. Scalar Online, May 15th (CFP).


  8. Scala Times Issue #320

    New feature: Search!. Bake your bread tagless-final style. User-land compiler warnings in Scala. Zio ZLayer with playframework. Testing background process with ZIO.


  9. Scala Times Issue #319

    From idea to product with ZLayer. Edge to Cloud: Building the Tesla Virtual Power Plant . What's the Point of Applicative?. Using ScalaCheck with MUnit. Monitoring and tracing for Akka applications under kubernetes (k8s).


  10. Scala Times Issue #318

    Akka Cluster application design. Spring to ZIO 101. NE Scala in the Time of Social Distancing. Scala 3 support in IntelliJ Scala plugin. Separate Docker Layers for Dependencies and App JARs.


  11. Scala Times Issue #317

    Using Google Datastore with akka-persistence. Functional Program (Re)Design. Writing native CLI applications in Scala with GraalVM. Data Juggling - Part 8 - Getting Started with refined. Fundamentals of Scala, March 14th-15th, Lagos, Nigeria.


  12. Scala Times Issue #316

    How to publish a Scala library in GitHub. Announcing Cats STM 0.7.0. Baking Peixinhos da Horta with ING’s Baker Library. Fundamentals of Scala, March 14th-15th, Lagos, Nigeria. Stairway to Scala Workshop, March 16th-20th, San Damiano, CA, USA.


  13. Scala Times Issue #315

    ZIO for IntelliJ. Scala 2 community build reaches goals. Cats Effect Ref. Using Dotty Union types with Akka Typed – Part II. Caliban Client: a type-safe GraphQL Client for Scala and Scala.js.


  14. Scala Times Issue #314

    Using Dotty Union types with Akka Typed. My FP Journey. Creating a dead simple CountDownLatch with ZIO. ZIO STM: CountDownLatch in two lines. 2019 Scala Developer Survey.


  15. Scala Times Issue #313

    Building Serverless Scala Services with GraalVM. Alpakka Kafka 2.0 Released | @lightbend. Haskell for impatient Scala developer: Getting into speed. Building useful Scalacheck Generators. Easily create New Sync Types with ZIO STM.


  16. Scala Times Issue #312

    Happy eyeballs algorithm using ZIO. How (not) to use shapeless for cross-layer conversions in Scala. So you want to compose some functions. RESTful error handling with Akka HTTP and the library “endpoints”. MUnit is a new Scala testing library · MUnit.


  17. Scala Times Issue #311

    Introducing error reporting in optics. GraphQL in Scala with Caliban - Part 1. Tidying up your SBT file with Scala. Dependency injection with Reader Monad in Scala. Etcd watch API integration with scala and cats-effect.


  18. Scala Times Top Links of 2019

    January: Scala Best Practices. February: Is your Scala object always a singleton?. April: Did Functional Programming get it wrong?. May: The little gems of Scala standard library. June: The Evolution of a Scala Programmer.


  19. Scala Times Issue #310

    Git hooks in Scala projects  - the easy way!. Testing Doobie programs. Implementing typeclasses in Scala I. Effective testing with ZIO Test. Akka Streams: error handling in event processing pipelines.


  20. Scala Times Issue #309

    Towards more functional Play — Part 2. TMWL’ Dec 19 — Scala 3 overview, Scala hacks and DevOps hints. Scala etcd client with etcd4s and cats-effects. Boilerplate-free type class definition. GCP Cloud Functions with Scala.js in 10 lines(ish).


  21. Scala Times Issue #308

    Towards more functional Play  -  Part 1. ZIO environment meets constructor-based dependency injection. How-to run tests in parallel with sbt. Learn myself some Scala 3, episode 4: strict equality. 5 pitfalls to avoid when starting to work with ZIO.


  22. Scala Times Issue #307

    Standardizing IO Interfaces for Scala Libraries. WebSocket Streaming with Scala. State of Monocle. Scala tooling in 2019. How to Work with Scala Collections in Java.


  23. Scala Times Issue #306

    2019 Scala Developer Survey . Lessons Learned Building a Van Laarhoven Lens Library. A Glossary of Functional Programming. Tips for moving from tut to mdoc. Notes on Category Theory in Scala 3 (Dotty).


  24. Scala Times Issue #305

    Beyond Liskov: Type Safe Equality in Scala. Scala 2 Roadmap Update: the Road to Scala 3. Explicit nulls are in!. Functional Scala London 2019: Day 1. Leveraging Monoids for More Powerful Summarization.


  25. Scala Times Issue #304

    Akka references serialization with Protobufs (up to Akka 2.5). TMWL November’19 — ScalaTest, Medusa, PW-Sat2 cubesat. Implement your future with ZIO. Decouple the Program from its Implementation with ZIO modules. ZIO environment and modules pattern: zio, scala.js, react, query management.


Organizing an event?
Promote it with
Scala Times.
The Scala Times reader?
Get a banner!
Got a tip?Send it in!
Follow us onTwitter.
Curated bySoftwareMill.
We arehiring.
Andtaking on projects.