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

READING

How to write a fire shader

In this how-to guide, we're going to look at one approach to writing a little shader that produces procedural flames. The main gap Indigo has to bridge is between the Functional world of Scala and the procedural world of WebGL.
Dave Smith (@davidjamessmith)
Scala 3 goodies for Scala 2 developers

Scala 3 introduces new syntax for old things and deprecates some of Scala 2’s infamous warts, many of which have been fixed (or made obsolete) by the new compiler. While some of the Scala 2 syntax still supported in Scala 3.0, it will be removed in Scala 3.1, so it’s best to migrate as early as possible.
Igal Tabachnik (@hmemcpy)
Composable Scala Matchers: Introduction

Pattern matching is a truly awesome feature and I like to describe patterns, jokingly, as the “dark” side of expressions. But, however powerful and convenient such patterns are, they are not easily composed or, at best, can give rise to complex, nested match clauses that get ugly. So, having a specific application in mind for a more composable set of matchers, I set out to create a library of composable matchers which you can find at Matchers.
Robin Hillyard (@Phasm1d)
Writing an Interpreter From Scratch

We’ll focus on what compilers and interpreters have in common: lexing and parsing the input.
Sakib Hadžiavdić (@sake_92)

VIDEOS

Destroy your foldLeft with traverse and State - Scala tutorial

In this video, I show how you can tame the complexity of an untamed foldLeft by replacing it with a traverse.
Jakub Kozłowski (@kubukoz)
Part 2 - ZIO[_, _, Success] - Getting Started with ZIO in Scala3

In this video we will start implementing our own version of ZIO in order to implement a hello world ZIO application. This video focuses on the third parameter slot (the success channel) of ZIO.
DevInsideYou (@DevInsideYou)
Scala with ZIO: Introduction to Fibers

This video is a quick dive into ZIO and the effect pattern. We're going to model synchronous and asynchronous computations on top of lightweight threads, aka fibers.
Daniel Ciocîrlan (@rockthejvm)

EVENTS

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)
ZIO Hackathon, Oct 29th - 31st (CET)

Join this free event! We will share and learn about ZIO and related projects; chat about functional programming, functional Scala, and much more; work on fun projects; and get to know one another.
Ziverge (@zivergetech)
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

protoquill

In Progress Dotty-based implementation of Quill. New exciting features including co-product rows, custom parsing, and query composition via type-classes that extends to typelevel logic.
Alexander Ioffe (@deusaquilus)
diffx 0.5.1

Pretty diffs for case classes. Now with rewritten documentation, better ergonomics of ObjectMatcher, and many more improvements!
Kasper Kondzielski (@kkondzielski)





  1. Scala Times Issue #417

    Capture checking prototype for Scala. Scala project from scratch #7. FS2: Typed Functional Streams in Scala. Bootcamp [Scala], March - July, free online training. TypeVille, April 20th - 22nd Krynica-Zdrój, Poland.


  2. Scala Times Issue #416

    Every Argument for Static Typing Applies to Typed Errors. Sick Fira Code Progress Bars for Absolute Beginners! - Part 2. Bootcamp [Scala], March - July, free online training. TypeVille, April 20th - 22nd Krynica-Zdrój, Poland. Lambda Days, July 28th-29th, Kraków, Poland.


  3. Scala Times Issue #415

    Hands-on Kafka Streams in Scala. Having fun with Ordering in Scala. Sick Fira Code Progress Bars for Absolute Beginners! - Part 1. Bootcamp [Scala], March - July, free online training. TypeVille, April 20th - 22nd Krynica-Zdrój, Poland.


  4. Scala Times Issue #414

    Safer Exceptions in Scala 3. Type Class Derivation in Scala 3. Learn Scala with Online Courses. Functional Programming in Scala. Migrating to Java 17.


  5. Scala Times Issue #413

    Notes about loading configuration Examples for Play Framework and Spring Boot. Scala project from scratch #6. "Functional Programming for Mortals with Scalaz" Review. Scala Love CFP, February 18th, 2022, Online Event. ScalaMatsuri CFP, March 19th - 20th, 2022, Online Event.


  6. Scala Times Issue #412

    Why Scala Is Seeing A Renewed Interest For Developing Enterprise Software. The wonder of context functions. Scala Love CFP, February 18th, 2022, Online Event. ScalaMatsuri CFP, March 19th - 20th, 2022, Online Event. TypeVille CFP, April 20th - 23rd 2022, Krynica-Zdrój, Poland.


  7. Scala Times Issue #411

    Scala and Rust interoperability via JNI. Learn Doobie for the Greater Good. Scala Love CFP, February 18th, 2022, Online Event. ScalaMatsuri CFP, March 19th - 20th, 2022, Online Event. TypeVille CFP, April 20th - 23rd 2022, Krynica-Zdrój, Poland.


  8. Scala Times Issue #410

    My Dos and Donts in sbt Build Definitions. Scala Chat: Hello Discord (So Long, Gitter). Smart constructors for case classes. Gallia: a library for data transformation. Sourcegraph: Precise Code Intelligence for Java, Scala, and Kotlin.


  9. Scala Times Issue #409

    ZIO environment: episode 3. Preparing Apache Kafka for Scala 3. How I Self-Published My First Technical Book. "Scala CLI" - Tool or Toy?. "Practical Functional Programming in Scala" Review.


  10. Scala Times Issue #408

    7 ZIO experts share why they choose ZIO. ENSIME: The Next Generation. Coding at 6am isn't fun. ScalaMatsuri CFP, March 19th - 20th, 2022, Online Event. TypeVille CP, April 20th - 23rd 2022.


  11. Scala Times Issue #407

    IntelliJ Scala Plugin 2021.3 Is Out!. Scala at Scale at Databricks. Akka Streams Backpressure. Zip and slide! (Advent of Code day 1). Ep 15: Advent of Code 2021 Day 1. Is it Traverse?.


  12. Scala Times Issue #406

    Security improvements in tapir 0.19. Retrying function calls in Scala. Parsing character encoding-dependent protocols with scodec in Scala. Introduction to ZIO. "Scala with Cats" Review.


  13. Scala Times Issue #405

    The programmer's brain in the lands of exploration and production. The Red Book - "Functional Programming in Scala" Review. Functional Scala, Dec 2nd - 3rd.


  14. Scala Times Issue #404

    On the future of Akka & Lightbend. Data Times - Big Data and ML enthusiasts news flash. Break free from your entangled code base! - Part 2. Scala at Scale at Databricks. Recursion pitfalls in IO monads and how to avoid them.


  15. Scala Times Issue #403

    The future of Lagom. Run a fs2-kafka stream with scala-cli and Scala 3. Demystifying Akka Streams' Materialized Values. Asynchronous Microservices with ZIO-gRPC and Scala. An identifier, by any other name, ….


  16. Scala Times Issue #402

    Developing your own Content Management System - Preface. No leftovers: Working with pulls in fs2. Publishing Scala Code Coverage Results to CodeCov using Github Actions. The inline Modifier in Scala 3. Dataflow Analysis for Scala.


  17. Scala Times Issue #401

    Proceedings of the 12th ACM SIGPLAN International Symposium on Scala. On the future of Play Framework. Scala 3 and Spark?. Trait parameters in Scala3 - a feature no one asked for?. ZIO from Scratch - Part 1.


  18. Scala Times Issue #400

    A Case Study in Incrementally Improving Code. Proof of Multi-Stage Programming with Generative and Analytical Macros. Testing client/server compatibility + error handling - SPFS #4. "Programming in Scala" Review. Type-Level Programming in Scala, Part 2: A Type-Level Quicksort.


  19. Scala Times Issue #399

    Akka Serverless: Developing with Java or Scala. Improving DateTimeFormatter.parseBest using Scala 3. Top Link of September: What’s Changed Since Scala 3.0.0. Scala Metals with Multiple Roots in a Workspace. Serverless Chats Episode 112: Abstracting Stateful Serverless with Jonas Bonér.


  20. Scala Times Issue #398

    Fast number parsing in Scala. On TF and ZIO in 2021. Trace your microservices with ZIO Telemetry. Scala isn't Hard: How to Master Scala Step by Step. Scala 3 publishing plan for scalameta.


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


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


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


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


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


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 by SoftwareMill.
We are hiring.
And taking on projects.