A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
May 7th, 2020, ISSUE 325


Scala Start Page

Finally, a tailored website with all the resources needed for a proper start with Scala!
SoftwareMill (@softwaremill)
Starting with Scala 3 macros: a short tutorial

See how the flagship "principled metaprogramming" feature of Scala 3 works in action.
Adam Warski (@adamwarski)
zio-properties: A ZIO alternative to Spring Properties

I have built a library called zio-properties (on top of zio-config and magnolia) that checks multiple sources and retrieves properties based on a standard resolution order.
Adrian Filip (@realAdrianFilip)
Implementing Authentication on Play Framework

User authentication is a sensitive topic: everyone expects to work flawlessly, and if there’s any security issue it can easily take the full company down.
Pedro Rijo (@pedrorijo91)
Lunatech and our commitment to the Scala Center

In the coming months, we’ll be keeping you updated on the work that we’re doing to continually support the Scala Center. We’re excited for the upcoming release of Scala 3 and to continually see the Scala tooling ecosystem improve.
Chris Kipp
Scala Native Next Steps

Read the summary of short-term, mid-term, and long-term goals.
Ergys Dona (@ergysdona)
Building the Death Star with ZIO Stream

Building space stations has never been easier. Using a few ZStream operations - zip, map, mapConcat, group, collect, via, take and runCollect - we managed to build a space station the size of a moon, combining different sources, dealing delays and unexpected random events, easily making them work together.
Juliano Alves (@vonjuliano)
Import Suggestions in Scala 3

This article shows these improvements in action in concrete examples of code.
Julien Richard-Foy (@julienrf)
Effect Tracking Is Commercially Worthless

There's zero value in pursuing the illusive "effect tracking"!
John A. De Goes (@jdegoes)
Thoughts on Recent Online-Only Conferences

Online-only conferences will be the new normal, and they can be as good, or even better in some regards, than the traditional in-person form.
Adam Rosien (@arosien)
cached compilation for sbt

An exciting update, allowing a very significant build time speedup!
Eugene Yokota (@eed3si9n)


Circe - Part 1 - Introduction to working with #JSON in #Scala

This video is an introduction to working with JSON in a statically typed language like Scala with a prominent library called circe which is powered by Cats.
DevInsideYou (@DevInsideYou)


Scalar Online, May 15th Agenda is live!)

Agenda is live now! Get ready for Scalar!
SoftwareMill (@scalarconf)
Scala Swarm, June 18th-23rd, Porto, Portugal

Ticket sale is now open, come quick and grab your ticket to this unique event!
ScalaSwarm (@ScalaSwarmConf)
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)
Virtual Scala in the City Conference, May 28th

Call for Speakers is open! Scala in the City Conference is for anyone who is passionate about learning and sharing their Scala and Functional programming knowledge.
Signify Technology (@Signify_Tech)


sort-imports 0.5.0

Now with smarter than "just ascii" sorting!
sort-imports contributors
ZIO for IntelliJ

Lots of new features and bugfixes in this release!
ZIO plugin contributors
onnx-scala 0.3.0

An ONNX (Open Neural Network eXchange) API, Code Generator and Backend(s) for Typeful, Functional Deep Learning in Scala. Featuring a new backend based on ONNX Runtime.
Alex Merritt
Dotty 0.24.0-RC1

2.13.2 standard library, better error messages and more.
Dotty contributors
Alpakka 2.0 Released

This release brings some serious updates to many connectors, make sure to check it out!
Alpakka contributors (@akkateam)
Akka Persistence Cassandra 1.0

Major upgrade of the Cassandra driver, Now built on top of Alpakka Cassandra, Shared database connection pool between all parts of the plugin, and many more updates.
Akka Persistence Cassandra contributors
Metals v0.9.0 - Lithium

Metals is a language server for Scala that works with VS Code, Vim, Emacs, Sublime Text, Atom and Eclipse. Main focus is introducing support for Scala 3 starting with versions 0.23.0 and 0.24.0-RC1. We also added support for Scala 2.13.2 and a number of other useful improvements.
metals contributors


Scala Times banners?

Want one? Click here
Scala Times stickers?

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

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

  1. Scala Times Issue #344

    Can we build better?. Algebra and Parametricity. How to Deploy a Scala Application to AWS Lambda. 5 lessons learned from my continuing awesome journey with ZIO. Scala 3 - A community powered release.

  2. Scala Times Issue #343

    Underscores are Overloaded in Scala!. Scala, React, and SSR (part 2). Scala Africa Development Program Has Launched. Scala micro.sphere.it, September 15th. Essential Effects EU, September 14th-16th, Online Course.

  3. Scala Times Issue #342

    What’s coming up in sttp client 3?. FP in the City Virtual Conference, September 10th. Scala Castle, September 14th-17th. Scala micro.sphere.it, September 15th. Essential Effects EU, September 14th-16th, Online Course.

  4. Scala Times Issue #341

    Concurrency In Scala with Cats-Effect. Scala, React, and SSR (part 1). More Algebra of Algebraic Data Types. Akka HTTP 10.2 Release - Q/A with the Akka team. Type-Level Programming in Scala, Part 3.

  5. Scala Times Issue #340

    SoftwareMilling around OSS - Scala Love. More Intuition on Optics. Type-Level Programming in Scala, Part 2. An Introduction to Functional Design. VimtelliJ: All the best of Vim in IntelliJ.

  6. Scala Times Issue #339

    Scala Knowledge Bits Archives. Functional Effects with ZIO. Experiment with Loom. Auto publish sbt plugin from Travis CI. Scala String Interpolation.

  7. Scala Times Issue #338

    ZIO 1.0 Released. Retry Failing Tasks with Cats and Scala. An Intuition for Optics. Evoneering - Scala Bootcamp. How Does "20 seconds" Work in Scala?.

  8. Scala Times Issue #337

    Thinking With Types. IntelliJ Scala Plugin 2020.2 is released!. Announcing Dotty 0.26.0-RC1. A Dive into Configuring Metals · Metals. Life with fatal warnings.

  9. Scala Times Issue #336

    IntelliJ Scala Plugin 2020.2: Auto-import for Implicits. "First Class" Types in Scala 3. What is an Effect?. Writing Angular Services in Scala. Tagless Final - Part 4.2 - Why The F[_].

  10. Scala Times Issue #335

    Actors using Scala & Akka  - Part 2: AskPattern and SpawnProtocol. Railway Oriented Programming in Scala. Mocking endpoints with ZIO sttp. Top Link Of June: A Beginner's Guide to Scala 3.0. Tagless Final - Part 4.1 - Power to the Interpreters!.

  11. Scala Times Issue #334

    Scaling Event Bus. One-click install for Scala. Visual Scala reference. Functional, Type-safe, Testable Microservices with ZIO gRPC, July 16th, Online Webinar. Configuration management in Scala using zio-config, July 23rd, Online Webinar.

  12. Scala Times Issue #333

    Using akka and react to organize your single page scala.js application. Tagless Final - Part 2 - Introduction to the Expression Problem. Functional, Type-safe, Testable Microservices with ZIO gRPC, July 16th, Online Webinar. Configuration management in Scala using zio-config, July 23rd, Online Webinar. Functional Scala Fundamentals, September 1st-3rd, Online Course.

  13. Scala Times Issue #332

    Mastering modularity in ZIO with ZLayers. Scala/Mill: Step 1, Creating a new Mill project. Cats Concurrency basics with Ref and Deferred. Tagless Final - Part 1 - What is Tagless Final?. Getting started with ZIO.

  14. Scala Times Issue #331

    Managing dependencies using ZIO. Scala Programming - The State of Developer Ecosystem in 2020 Infographic. Announcing the Moving from Scala 2 to Scala 3 course. Streaming all the way with ZIO, Doobie, Quill, http4s and fs2. Playing With Scala - Slick.

  15. Scala Times Issue #330

    A Beginner's Guide to Scala 3.0. Opening the fridge with ZIO. Writing functional DSLs for business domains. What Functional Programming Is, What it Isn't, and Why it Matters. Dependent Types in Scala 3.

  16. Scala Times Issue #329

    Addendum to Alex N's blog post on Scala warnings. Scalar 2020 whiteboard voting. Stream Processing with Scala by Itamar Ravid, June 15th, Online Workshop. Essential Effects, June 15-16th, Online Course. Microsphere, June 16th, Online Event.

  17. Scala Times Issue #328

    Akka Cluster split brain failures -  are you ready for it?. Defining the server logic for an endpoint: three approaches. Implement Event bus using Akka. Zalando case study: why they chose Scala? . A bloop tour for metals users.

  18. 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.

  19. 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.

  20. 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.

  21. 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.

  22. 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).

  23. 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.

  24. 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).

  25. 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.

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.