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 #362

    5 Blogs for Scala's Birthday. Monocle 3 Roadmap. Higher-kinded data in Scala. Objects and Companions in Scala. Essential Effects, 27th-29th January, Online Event.


  2. Scala Times Issue #361

    Scala 3: Dependent Types, Part II. Configuring and suppressing warnings in Scala. Threading best practices in Cats Effect. Scala 3 Metaprogramming by Example by Adam Warski. What the Functor?.


  3. Scala Times Issue #360

    Scala 3: Dependent Types, Part I. Publish Scala 2 and Scala 3 macros together. Concurrent state machines. Wire Signals - Yet Another Event Streams Library. Scala Love CFP.


  4. Scala Times Issue #359

    Implementing Type classes in Scala 3. Finite-State Machines + FS2 streams: A match made in heaven. Scala Compiler Options, Fatal Warnings and Linting Guide. ZLayers by example. Scala 3 type classes.


  5. Scala Times Issue #358

    VirtusLab’s Scala 3 cooperation update. Scala 3.0.0-M3: developer's preview before RC1. How to Use Thread.sleep Without Blocking on the JVM. New in Scala 3. Scala Love CFP.


  6. Scala Times Issue #357

    Join the Scala Discord Server!. Enforcing Semantic Versioning with sbt-strict-update. Kafka Cron using wix/greyhound. Scala Filesystem Operations (paths, move, copy, list, delete) . Metals 2020 Review.


  7. Scala Times Issue #356

    Scala 3 Developers' Survey. Tapir vs Endpoints4s. Opaque Type Aliases and Open Classes. Akka Platform Guide. Type classes with Scala 2.


  8. Scala Times Issue #355

    Scala 3 Developers' Survey. Four new features of Scala 2.13 releases that you probably missed. Scala 3: Path-Dependent Types, Dependent Methods and Functions. Message-based Parallelism with Actors. IntelliJ Scala Plugin 2020.3 Is Out!.


  9. Scala Times Issue #354

    Scala 3 Developers Survey. A case for akka-coordination lease. Monad transformers and cats  -  3 tips for beginners. Forward Compatibility for the Scala 3 Transition. Mirror, Mirror on the Wall, Who’s the Genericioust of Them All?.


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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.