A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
June 10th, 2021, ISSUE 382

READING

Cats: Essential Type Class Hierarchy, Explained

A walk through Semigroups, Monoids, Functors, Monads, and beyond.
Daniel Ciocîrlan (@rockthejvm)
Debugging and Observing Your Scala Code

A thorough analysis of the subject of context aware diagnostic logging.
Will Sargent (@will_sargent)
Programs as Values, Part III: Explicit Control Flow

In this post we see that using datatypes to describe effects requires modelling execution with explicit combinators, and that we can readily emulate sequential flow with this approach.
Fabio Labella
Programming in Scala Fifth Edition

PrePrint PDF update of Programming in Scala is now available. Use code SCALATIMESJUNEPINS5 for 15% off for our readers!
Martin Odersky, Lex Spoon, Bill Venners, and Frank Sommers (@ArtimaInc)

VIDEOS

Favor composition over inheritance in Scala3 with exports!

In this video we are going to see how some boilerplate associated with composition can be reduced in Scala3.
DevInsideYou (@DevInsideYou)
Migrating a functional app to Cats Effect 3

Cats Effect 3 is here and many libraries have released compatible versions - this means some applications can migrate to the new version of the Typelevel stack. In this video, I'm showing how I migrated one of my open source projects.
Jakub Kozłowski (@kubukoz)
Http4s Scala Tutorial: Writing an HTTP Server with Purely Functional Scala

In this video, we'll create a step-by-step REST application describing a movies database (a toy IMDB) and we'll showcase crucial aspects of the Http4s library.
Daniel Ciocîrlan (@rockthejvm)

EVENTS

Scala 3 for Scala 2 Developers (SF - Bay Area Edition), Jun 21st - 25th

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 our link to get a 20% discount for Scala Times readers!
John A. De Goes (@jdegoes)
Functional Effects with ZIO 2.0 (SF Bay Area Edition), Jul 26th - Jul 30th

In this course, Scala developers will learn how to solve complex problems in asynchronous, concurrent programming using the ZIO library. Use our link to get a 20% discount for Scala Times readers!
John A. De Goes (@jdegoes)
Advanced ZIO (SF - Bay Area Edition), Aug 30th - Sep 3rd

In this course, developers will explore the edges and corners of the ZIO library, taking a close look at the fine-grained interruption, custom concurrency structures, streams, application configuring and tuning, and metrics and monitoring. Use our link to get a 20% discount for Scala Times readers!
John A. De Goes (@jdegoes)
Functional Design (SF - Bay Area Edition), Sep 27th - Oct 1st

In this course, developers will learn how to write simple functional solutions to everyday business problems, without jargon and without type classes. Use our link to get a 20% discount for Scala Times readers!
John A. De Goes (@jdegoes)
Functional Scala Fundamentals (SF - Bay Area Edition), Oct 17th - 22nd

In this course, developers will learn the foundations of functional Scala, including language features that are unique to functional Scala, core concepts in functional programming, and proven techniques for developing robust and powerful applications in functional Scala. Use our link to get a 20% discount for Scala Times readers!
John A. De Goes (@jdegoes)
ScalaCon, November 2nd - 5th

ScalaCon is a collaborative project brought to you by the folks behind Scala eXchange and Scala Days! Join us for two conferences packed with over 43 talks, networking opportunities, virtual sponsor booths, and a safe space for talking about our favorite language, its past , present, and future.
ScalaCon (@scalacon)
Build Web Servers with ZIO (SF - Bay Area Edition), Nov 15th - 19th

In this course, developers will use ZIO and best-in-breed libraries to rapidly construct web applications that are scalable; easy to test, refactor, and maintain; and which never leak resources or deadlock. Use our link to get a 20% discount for Scala Times readers!
John A. De Goes (@jdegoes)
Functional Scala, Dec 2nd - 3rd

Functional Scala 2021 returns for another year of great talks, familiar and fresh spaces, and positive energy around the power of functional Scala for delivering compelling solutions to the toughest technology problems. Use promo code SCALATIMES10 for a discount for our readers!
Functional Scala (@FunScala2021)

RELEASES

Scala 3.0.1-RC1

Further stabilising the compiler.
Scala contributors
code-examples-manager

Software tool to manage your notes and code examples, to publish them as gists or snippets.
David Crosson (@crodav)
delegate-macro

Annotation to automatically delegate/proxy implementation of interface to dependency.
Carlos Teixeira





  1. Scala Times Issue #396

    Monitoring Akka applications with Mesmer and OpenTelemetry. Building Next Gen Applications on JVM with ZIO. Where the ZIO Roadmap is Headed Next. Announcing Data Times. SBT Tutorial - Part 1.


  2. Scala Times Issue #395

    Akka gRPC benchmarks. Scala 3: What’s Changed Since Scala 3.0.0. ZIO Hackathon, Oct 29th - 31st (CET). ScalaCon, November 2nd - 5th. Functional Scala, Dec 2nd - 3rd.


  3. Scala Times Issue #394

    A Preview of Logging in ZIO 2.0. Number (part 2). Fuzzy, lazy, functional numeric computing in Scala. Advances In The ZIO 2.0 Scheduler. Effective Programming in Scala.


  4. Scala Times Issue #393

    Incorporating Plotly into your Zeppelin notebooks with Spark and Scala. What is F[_] in Scala?. A pure functional Primality Test in Scala. Using oracles to test the service and data layer. ZIO Hackathon, Oct 29th - 31st (CET).


  5. Scala Times Issue #392

    ScalaCache: A Caching Library To Rule Them All. Migrating from IntelliJ IDEA to VSCode and Metals. Announcing Data Times. Building Twitter's backend RPC services with Finagle. ZIO Hackathon, Oct 29th - 31st (CET).


  6. Scala Times Issue #391

    Spark ML hyperparameter tuning. Number (part 1). Announcing Data Times. ZLayer DSL - Getting Started with ZIO in Scala3. ZIO Hackathon, Oct 29th - 31st (CET).


  7. Scala Times Issue #390

    Understanding Comparative Benchmarks. Announcing Scala.js 1.7.0. Announcing Data Times. Why Should You Care About Referential Transparency?. GitHub Copilot for Scala - Does it work?.


  8. Scala Times Issue #389

    An intro to the Scala presentation compiler. From Scala 2 shapeless to Scala 3. IntelliJ Scala Plugin 2021.2. Scastie with Scala 3. Tooling Talks Episode 3 - Justin Kaeser.


  9. Scala Times Issue #388

    Data Times - Big Data and ML enthusiasts news flash. Story of importing a large dataset to Akka Cluster. Combining the terminal (iTerm) with the IDE. Metaprogramming in Scala 3: Inline. Part 6 - zio.Has - Getting Started with ZIO in Scala3.


  10. Scala Times Issue #387

    Will Scala 3 be your new favorite language?. Programming with Functions #8: Monads. Part 5 - ZIO.access - Getting Started with ZIO in Scala3. 12th ACM SIGPLAN Scala Symposium Call for Papers. ZIO Hackathon, Oct 29th - 31st (CET).


  11. Scala Times Issue #386

    Scala 3: Macros. 5 Key Lessons from Functional Programming in Scala. OAuth2 Scala application with sttp-oauth2, part 1 - Dev notes. Scala 3 Tech Report by SoftwareMill. Top Link of June: Scala 3 goodies for Scala 2 developers.


  12. Scala Times Issue #385

    Scala 3 Tech Report. ZIO: Introduction to Fibers. Problem: automatic coloring of effect monads in dotty-cps-async. Scala 3: Anti-Givens. (re)constructing sequences with Alternative.


  13. Scala Times Issue #384

    How to write a fire shader. Scala 3 goodies for Scala 2 developers. Composable Scala Matchers: Introduction. Writing an Interpreter From Scratch. Destroy your foldLeft with traverse and State - Scala tutorial.


  14. Scala Times Issue #383

    Existential Crisis: Implementing MapK in Scala 3 . What is ZIO and should you learn it?. Zymposium, June 18th (PDT). ZIO Hackathon, Oct 29th - 31st (CET). ScalaCon, November 2nd - 5th.


  15. Scala Times Issue #382

    Cats: Essential Type Class Hierarchy, Explained. Debugging and Observing Your Scala Code. Programs as Values, Part III: Explicit Control Flow. Programming in Scala Fifth Edition . Favor composition over inheritance in Scala3 with exports!.


  16. Scala Times Issue #381

    Top Level Exports in Scala3. Death of Blocker: blocking in Cats Effect 3 - Scala tutorial. Functional Scala, Dec 2nd - 3rd.


  17. Scala Times Issue #380

    Scala 3 Hello, world!. Scala 3 macros tips & tricks. Build your own refinement types in Scala 3. How To Implement Streaming Microservices Using ZIO and Kafka. How to successfully manage a ZIO Fiber’s lifecycle.


  18. Scala Times Issue #379

    Scala 3 is here!. New Online Course: Effective Programming in Scala. Image editing with Comonads. Generalized Algebraic Datatypes in Scala 3. Kind Projector Migration.


  19. Scala Times Special Scala 3 Issue

    Starting with Scala. Programming in Scala, Fifth Edition. Scala 3 Tech Report. Automatically Deriving Typeclass Instances in Scala 3. Starting with Scala 3 macros: a short tutorial.


  20. Scala Times Issue #378

    From Highschool to Teaching Scala. Rust for the Seasoned Scala Developer. Bring gRPC payloads and domain models closer with ScalaPB transformations. Flog: a functional logger for Scala. Opaque Type Alias in Scala 3.


  21. Scala Times Issue #377

    Typeclasses in Scala 3. Scala 3 Release Party - find out how it went!. Typelevel Discord migration. Scalabase, May 14th. ScalaCon, May 18th - 21st. and Nov. 2nd - 5th.


  22. Scala Times Issue #376

    Cats Effect 3 - Introduction to Fibers. Bintray to JFrog Artifactory migration status and sbt 1.5.1. Anomaly / outlier detection using isolation forest in Scala. Comparing Concurrent Programming Alternatives. Scala 3: Safer Pattern Matching with Matchable.


  23. Scala Times Issue #375

    A ZIO cheatsheet. Programming in Scala, Fifth Edition. Dealing with Optional Values. Best Features of Scala 3 for Scala.js. ZIO Meetup SF, April 22nd.


  24. Scala Times Issue #374

    Image editing with Monads. Fire-and-Forget in Cats Effect. Programming in Scala, Fifth Edition. Scala 3: Extension Methods. The Scala3 feature I'm most excited about!.


  25. Scala Times Issue #373

    Context is King. How to build an Android app in Scala 2.13. Revisiting Scala Native performance. Scala 3 in sbt 1.5. Programming in Scala, Fifth Edition.


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.