A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
August 27th, 2020, ISSUE 341

READING

Concurrency In Scala with Cats-Effect

This text serves as an introduction to the topic of concurrent asynchronous effects in Scala, based on the cats-effect library.
Sinisa Louc (@sinisalouc)
Scala, React, and SSR (part 1)

React has a feature called “SSR”, short for “server-side rendering”, which allows you to render your app on the backend and send the resulting HTML immediately. This allows the user’s experience to begin faster, because the loading of the JS and app initialisation can happen seamlessly in the background as the reader starts reading your page.
David Barri (@japgolly)
More Algebra of Algebraic Data Types

In this post, we are going to take this further, by exploring other algebraic rules and seeing what insights this brings us. In particular, we are going to take the partial differentiation of a data type.
Tony Morris (@dibblego)
Akka HTTP 10.2 Release - Q/A with the Akka team

We recently sat down with Johannes Rudolph, Senior Engineer on the Akka Platform team at Lightbend, to discuss the recent launch of Akka HTTP 10.2, which includes various improvements based on Akka 2.6, a reduction in boilerplate code for Java developers, and improved interop with Akka gRPC.
Lightbend (@lightbend)
Type-Level Programming in Scala, Part 3

We're going to rely on the first part (with number-type comparisons) and sort lists... at compile time.
Daniel Ciocîrlan (@DanielCiocirlan)
parallel cross building sandwich

This is part 4 of the post about sbt-projectmatrix, an experimental plugin that I've been working to improve the cross building in sbt.
Eugene Yokota (@eed3si9n)

PRESENTATIONS

Tagless Final - Part 8.1 - main (The Big Rewrite - Part 4.1)

In this video we are finally going to see our tagless final todo app in action. We will also talk a little about concurrency and start using cats-effect, monix and zio all in the same app. This is part 1/2.
DevInsideYou (@DevInsideYou)

EVENTS

African Scala Development Program, August 30th

Jon Pretty and John de Goes are offering a series of free premium Scala training courses to developers based in the African continent. Ziverge is looking for more teachers that would like to join the initiative.
Ziverge (@zivergetech)
Essential Effects US, August 31th - September 2nd, Online Course

Essential Effects introduces Cats Effect as a tool for building resource-safe and concurrent applications. If you self-identify as underrepresented or unemployed, we're happy to offer a 50% discount. Use discount code "scalatimes" for an additional 15% off.
Inner Product (@InnerProductLLC)
FP in the City Virtual Conference, September 10th

FP in the City Conference is for anyone who is passionate about learning and sharing their Functional programming knowledge.
Signify (@Signify_Tech)
Scala Castle, September 14th-17th

A hybrid online/offline event in place of the well-known Scala World.
Jon Pretty (@propensive)
Scala micro.sphere.it, September 15th

An evening with 3 great Scala presentations, including Martin Odersky!
VirtusLab (@VirtusLab)
Essential Effects EU, September 14th-16th, Online Course

Essential Effects introduces Cats Effect as a tool for building resource-safe and concurrent applications. If you self-identify as underrepresented or unemployed, we're happy to offer a 50% discount. Use discount code "scalatimes" for an additional 15% off.
Inner Product (@InnerProductLLC)
Functional Scala CFP

The CFP closes on October 15th
Ziverge (@zivergetech)
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)

RELEASES

zio-prefetcher

When caching is not enough. Pre-fetch everything you need to RAM and refresh it on a regular basis.
Shastick (@0xTelegraph)
fs2 2.4.4

Functional Streams for Scala. This release brings 2 important bugfixes for 2.4.3: Fix Chunk.traverse losing elements, Revert to released versions of cats and cats-effect.
fs2 contributors
Modux

Modux is a simple and lightweight microservice server for Scala inspired on Lagom Framework. The aim is to speed up development using a set of directives backed by Scala and Akka's technologies.
Joaquin Velazquez
DoobieRoll 0.1.3

DoobieRoll is a collection of utilities to make working with Doobie / SQL even easier. This versions adds snippet functions to generate common SQL fragments.
Jacob Wang (@jatcwang)





  1. Scala Times Issue #353

    Scala 3 Developers Survey. Managing Database Migrations in Scala. One year with Akka 2.6. Best practice for natural Ordering. Event-driven railway network based on Pulsar.


  2. Scala Times Issue #352

    Domain-Driven Design with FP in Scala. Explicit term inference with Scala 3. Keep alive for JMS connections. Why You Should Learn Scala in 2020?. A step-by-step guide for debugging memory leaks in Spark Applications.


  3. Scala Times Issue #351

    Autorecovery for (JMS) Streams. ZIO-AWS with ZIO Query. Implementing Scala.js Support for Scala 3. Let’s Talk About the Scala 3 Indentation. Concurrency in Cats Effect 3.


  4. Scala Times Issue #350

    Designing tapir’s WebSockets support. BSP Support in sbt 1.4. Streaming With Probabilistic Data Structures: Why & How. Scala 3 Migration guide. ScalaZONE - Scala 3 Programming Language Courses.


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.