A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
September 17th, 2020, ISSUE 344

READING

Can we build better?

Can we have a dependable and reproducible way to build and test scala applications locally and in a CI pipeline?
Adam Gordon Bell (@adamgordonbell)
Algebra and Parametricity

Reasoning using parametricity requires a polymorphic function from which we can derive free theorems. In this post, we are going to look at the algebra of these polymorphic functions and how we can arrive at a concrete value for them.
Tony Morris (@dibblego)
How to Deploy a Scala Application to AWS Lambda

I'll demonstrate how to deploy a Scala application to AWS Lambda, step by step.
Daniel Ciocîrlan (@DanielCiocirlan)
5 lessons learned from my continuing awesome journey with ZIO

Learn about performing non heap-safe recursion, running a side-effect alongside an effect that is repeated, unintentionally using TestClock in periodic assertion code, forgetting to map between ZIO Test assertions, and interrupting a fiber that originates from a Managed#Acquire scope.
Natan Silnitsky (@NSilnitsky)
Scala 3 - A community powered release

This blog aims to capture what it takes to coordinate the Scala 3 release efforts and to invite you to help us make it a success!
The Scala Center team (@scala_lang)
Apache Kafka and ZIO

This article will explain why you want to use Apache Kafka in your project, Core Concepts about Kafka, and how you can use it with the ZIO Kafka library.
Aleksandra Holubitska (@Oleksandra_A)
Akka HTTP loves JSON: 3 Libraries You Can Integrate into Akka HTTP

In this article we'll address not one, but 3 different ways to handle JSON in Akka HTTP.
Daniel Ciocîrlan (@DanielCiocirlan)
4 Ways to Make Change in Scala

With that in mind, this blog post about 4 different ways to solve one of the exercises, and what they taught me, not just about Pure FP, but about teaching Pure FP.
Joe Warren (@hungryjoewarren)
Top Link of August: An Introduction to Functional Design

Definitely the most popular article last month, don't even think about skipping this one!
John A. De Goes (@jdegoes)

PRESENTATIONS

Programming in Scala for beginners at university level - week 1

Open Scala lectures in Swedish by Björn Regnell at Lund University, Sweden
Björn Regnell
Hands on Scala With Li Haoyi

Discussion about upcoming "Hands on Scala" book, as well as Mill and Ammonite.
Scala Love (@scala_love)
Tagless Final - Part 10 - main-postgres-skunk (The Big Rewrite)

In this video we will finish the skunk layer. We will also create and run a postgres database via docker and docker-compose.
DevInsideYou (@DevInsideYou)

EVENTS

Functional Effects, September 23rd-24th, Online training

In this course, Scala developers will learn how to solve complex problems in asynchronous, concurrent programming using the ZIO library. Use code "ScalaTimes10" to receive 10% off at the checkout.
John A. De Goes (@jdegoes)
Virtual Scala, September 24th, Online Meetup

Talks: "Multi-Tenancy at Scale" by Sahil Anand, and "Using Aspects to transform your codes with ZIO Environment" by Adam Fraser. The meetup will take place online via GoToWebinar on the 24th of September, 2020 at 19:00 GMT+2.
Ziverge (@zivergetech)
Functional Scala CFP

The CFP closes on October 15th
Ziverge (@zivergetech)
Functional Design, October 20th - 22nd, Online training

In this course, developers will learn how to write simple functional solutions to everyday business problems, without jargon and without type classes. Use code "ScalaTimes10" to receive 10% off at the checkout.
John A. De Goes (@jdegoes)
The Rise of Loom and the Evolution of Reactive Programming, October 22nd, Online meetup

On Thursday, October 22nd at 5:00 PM John A. De Goes will be giving a talk to the online meetup of ZIO London.
John A. De Goes (@jdegoes)
Functional Data Modeling, November 18th - 19th, Online training

In this course, developers will learn how to use functional Scala to construct simple, precise, and flexible models of any business domain. Use code "ScalaTimes10" to receive 10% off at the checkout.
John A. De Goes (@jdegoes)
ZIO Hackathon, November 20th-21st, online event

Attendees of ZIO Hackathon 2020 will be able to attend talks on ZIO projects from leading open source contributors, as well as receive expert mentorship in contributing features, bug fixes, and documentation enhancements to the ZIO ecosystem of libraries.
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)
Scala 3 for Scala 2 developer, December 8th - 10th, Online training

In this course, developers who are already familiar with Scala 2.x will get a high-speed introduction to all the changes coming in Scala 3, including semantic changes, syntactic changes, new features, and dropped features. Use code "ScalaTimes10" to receive 10% off at the checkout.
John A. De Goes (@jdegoes)
Functional Scala Megapack (4 workshops)

Functional Effects + Functional Design + Functional Data Modeling + Scala 3 for Scala 2 developers. Use code "ScalaTimes10" to receive 10% off at the checkout.
John A De Goes (@jdegoes)

RELEASES

Akka Projections 1.0.0

In Akka Projections you process a stream of events or records from a source to a projected model or external system. Each event is associated with an offset representing the position in the stream. This offset is used for resuming the stream from that position when the projection is restarted.
Akka Team (@akkateam)
caliban 0.9.2

Functional GraphQL library for Scala. Upgraded zio-query to 0.2.5, bringing a x2 speed improvement in the "simple" benchmark scenario, applied the GQLName annotation properly to fields, improved schemas inference, and many more updates!
caliban contributors





  1. Scala Times Issue #349

    Generic IOApp alternative. Let's build a Scala mock library. How To Make Integration Tests Less Flaky. Option  - the null of our times. Top Link of September: Polynote, A better notebook for Scala.


  2. Scala Times Issue #348

    Java 15 through the eyes of a Scala programmer. Functional Design, October 20th - 22nd, Online training. Scale By the Bay, November 12th - 14th, online event. Functional Data Modeling, November 18th - 19th, Online training. ZIO Hackathon, November 20th-21st, online event.


  3. Scala Times Issue #347

    A short guide to Blocker. Using: Did they forget something?. The assignment operator is broken!. Attending a hackathon with Scala and Akka (Streams) on Microsoft Azure. Programming Scala, Third Edition.


  4. Scala Times Issue #346

    Getting Started with Knative in Scala. Tagless Final - Part 12 - delivery-http-http4s (The Big Rewrite). Programming in Scala for beginners - week 5: classes. Eyjafjallajökull Lecture 2019. Scala 3: Enums.


  5. Scala Times Issue #345

    Tour of Scala. Polynote, A better notebook for Scala. Single command Scala setup. Dotty becomes Scala 3. Functional Effects with ZIO.


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.