A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
July 16th, 2020, ISSUE 335

READING

Actors using Scala & Akka  - Part 2: AskPattern and SpawnProtocol

A quick guide to get started with akka actors with scala for beginners.
Bilal Fazlani (@bilal_fazlani)
Railway Oriented Programming in Scala

Most, if not all, of this post is translating the code examples in the original ROP articles and presentations to Scala.
Pierre Jambet (@pierre_jambet)
Mocking endpoints with ZIO sttp

We will see how to wire different components together and in particular how to unit test the http layer.
Pierangelo Cecchetto (@pierangelocecc)
Top Link Of June: A Beginner's Guide to Scala 3.0

Don't forget to re-check our most popular link from last month!
Manish Mishra (@manish__mishra)

PRESENTATIONS

Tagless Final - Part 4.1 - Power to the Interpreters!

In this video we will see how useful it is to make less decisions in the DSLs and allow the interpreters to drive ALL the necessary design details in a type-safe way so that the DSLs and our programs can remain untouched when the interpreters change.
DevInsideYou (@DevInsideYou)

EVENTS

Lambda Lounge: An Introduction to Cats Effect and the new Weaver Test library, July 20th, Online Event

Come and join Olivier Mélois and Anton Sviridov from Disney Streaming Services at 7pm BST, who will talk about effect types in Scala, what they are, why they matter, and introduce the Cats Effect project. Then they will introduce a new test framework, Weaver Test, that they have built using Cats Effect in Scala.
Lambda Lounge (@lambdamcr)
Configuration management in Scala using zio-config, July 23rd, Online Webinar

Join us at 10:00 AM GMT+1. During the session, we uncover more capabilities of zio-config, from simple examples to complex use-cases.
Afsal Thaj (@afsalt2)
Essential Effects, July 27-28th, Online Course

Essential Effects teaches how to safely create, compose, and execute effectful Scala programs using the Typelevel cats-effect library, and how to integrate these concepts and techniques into your projects. Use our link for a discount for Scala Times readers!
Inner Product (@InnerProductLLC)
Functional Scala Fundamentals, September 1st-3rd, Online Course

Discount applies with the code: SCALATIMES, this time 20% off!
Ziverge (@zivergetech)
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

cats-effect v2.2.0-RC1

Asynchronous Tracing, Bracket Forwarders, and quite a few more updates!
cats-effects contributors
Scala 2.12.12

This release adds compiler support for scala-async and backports substantial performance improvements to collections.
Scala





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


  2. 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[_].


  3. 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!.


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.