A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
October 3rd, 2019, ISSUE 294

READING

Scraping Websites using Scala and Jsoup

The tutorial will walk you through using Scala to scrape useful information from human-readable HTML pages
Li Haoyi (@li_haoyi)
A quiet, attractive new programming language

The latest features from the Scala 3 (Dotty) programming language.
Alvin Alexander (@alvinalexander)
sttp2: an overview of proposed changes

A new version of The Scala HTTP client you always wanted is coming!
Adam Warski (@adamwarski)
Domain-driven event sourcing with Akka Typed

Pure domain code at the core, Akka Persistence on the outside.
Jonas Chapuis (@JonasChapuis)
Crushing Design Patterns! - Chain of responsibility (Scala)

The first part of the Scala Design Patterns series.
Lalit Prakash (@lprakashv)
Crushing Design Patterns! - Unnecessary Patterns

The second part of the Scala Design Patterns series.
Lalit Prakash (@lprakashv)
Transforming Spark Datasets using Scala transformation functions

A very useful solution when you have pre-existing transformation logic written in Scala or ReactiveX.
Oliver Mascarenhas (@olly0808)
GoF design patterns in Scala: Command

The third Gang of Four Design Patterns episode: the implementation of the Command pattern.
Manuel Rodríguez
Type safe BigQuery in Apache Beam with Spotify’s Scio

A presentation of different annotations that Scio supports to read and write from BigQuery in a type safe manner.
Sushil Kumar
Permutive Community Engineering, September 2019

September OSS contributions of the Permutive Community Engineering team.
Travis Brown (@travisbrown)
Scala Practices that Powered Streak Challenges

Check out the best practices for microservice development at Strava.
Clara Tian
Introduction to Spark NLP: Foundations and Basic Components (Part-I)

The first article in a series of blog posts to help Data Scientists and NLP practitioners learn the basics of Spark NLP library from scratch.
Veysel Kocaman

PRESENTATIONS

What are monoids and how to use them - Scala tutorial

An introduction of the Monoid and Semigroup type classes, their powers and rules that they have to obey.
Jakub Kozłowski (@kubukoz)
Write your own Scalafix rules from scratch!

In this video we will learn how to write our own Scalafix rules from scratch.
DevInsideYou (@DevInsideYou)

EVENTS

Scala.sphere.it, Kraków, Poland, October 7th-8th

Use special promo code 'media-partner-at-sphere.it' for a 20% discount.
ScalaSphere (@ScalaSphere)
Motivating Scala, October 16th, Reston, VA (USA)

"Motivating Scala" is a high-level examination of the key advantages for using Scala as your primary development language. Some of the topics to be covered include functional programming paradigms, code brevity, and JVM interoperability.
Scala DC - MD - NOVA
Lambda World, Cádiz, Spain, October 17th - 18th

Use our link to get a special discount for Scala Times readers!
Lambda World (@lambda_world)
Code Mesh, London, November 7th - 8th

Get your tickets now!
CodeMesh (@CodeBEAMio)
BeeScala, Ljubljana, Slovenia, November 21st - 21rd

Don't miss your ticket for this unique conference!
BeeScala (@BeeScalaConf)
Tech Triveni, IIC Delhi, India, November 23rd - 24th

Grab special 10% discount code for Scala Times readers: TechTriveni10
Tech Triveni
ScalaConf.ru, Moscow, Russia, November 26th

Get ready for this exceptional event in Russia!
ScalaConf.ru
Lambda Days, February 13th -14th 2020, Kraków, Poland

Call for talks and very early bird tickets are both open! Full paper submission by November 15th, draft paper submission by January 13th (we strongly suggest the first deadline).
Lambda Days (@LambdaDays)
ScalaUA, April 3th-4th, 2020 Kyiv, Ukraine

CFP is on! Also: Super Early Bird tickets are available on website till 2019.12.31, and Wholesale 10+ tickets are available till 2020.04.02.
ScalaUA (@ScalaUA_Conf)

RELEASES

RasterFrames 0.8.2

The tool brings together Earth-observation (EO) data access, cloud computing, and DataFrame-based data science.
Simeon H.K. Fitch
Scalafmt v2.1.0

Major improvements: fixed bug with private[x] after class definitions and typo danglingParentheses fixed.
Rikito Taniguchi (@tanishiking25)

VARIA

Scala Times banners?

Want one? Click here
THE INTERNET
Scala Times stickers?

Want one? Let us know or tweet @scalatimes.
THE INTERNET
Scala experts?

Need some? SoftwareMill is here, ready to talk and dive deep into your code.
SoftwareMill





  1. Scala Times Top Links of 2019

    January: Scala Best Practices. February: Is your Scala object always a singleton?. April: Did Functional Programming get it wrong?. May: The little gems of Scala standard library. June: The Evolution of a Scala Programmer.


  2. Scala Times Issue #310

    Git hooks in Scala projects  - the easy way!. Testing Doobie programs. Implementing typeclasses in Scala I. Effective testing with ZIO Test. Akka Streams: error handling in event processing pipelines.


  3. Scala Times Issue #309

    Towards more functional Play — Part 2. TMWL’ Dec 19 — Scala 3 overview, Scala hacks and DevOps hints. Scala etcd client with etcd4s and cats-effects. Boilerplate-free type class definition. GCP Cloud Functions with Scala.js in 10 lines(ish).


  4. Scala Times Issue #308

    Towards more functional Play  -  Part 1. ZIO environment meets constructor-based dependency injection. How-to run tests in parallel with sbt. Learn myself some Scala 3, episode 4: strict equality. 5 pitfalls to avoid when starting to work with ZIO.


  5. Scala Times Issue #307

    Standardizing IO Interfaces for Scala Libraries. WebSocket Streaming with Scala. State of Monocle. Scala tooling in 2019. How to Work with Scala Collections in Java.


  6. Scala Times Issue #306

    2019 Scala Developer Survey . Lessons Learned Building a Van Laarhoven Lens Library. A Glossary of Functional Programming. Tips for moving from tut to mdoc. Notes on Category Theory in Scala 3 (Dotty).


  7. Scala Times Issue #305

    Beyond Liskov: Type Safe Equality in Scala. Scala 2 Roadmap Update: the Road to Scala 3. Explicit nulls are in!. Functional Scala London 2019: Day 1. Leveraging Monoids for More Powerful Summarization.


  8. Scala Times Issue #304

    Akka references serialization with Protobufs (up to Akka 2.5). TMWL November’19 — ScalaTest, Medusa, PW-Sat2 cubesat. Implement your future with ZIO. Decouple the Program from its Implementation with ZIO modules. ZIO environment and modules pattern: zio, scala.js, react, query management.


  9. Scala Times Issue #303

    Write your own micro BDD test framework in one day. Monoid in the Category of Endofunctors. Introducing Scala Server Toolkit. How to write a command-line application with ZIO. Picking a Languages for Introductory CS  - The Argument Against Python.


  10. Scala Times Issue #302

    Regexp Replacement via Function in Java/Scala. Rationality in a Natural World: Arithmetic at the Type-Level. Transforming Data with Embedded Spark. Migrate a service getting 200KQPS from Jackson to Circe. Scala Type Classes comparison.


  11. Scala Times Issue #301

    Functors  - From Category Theory into Cats. Tour of Akka Typed: Cluster Sharding. The Future.await(s) for no one. Service architecture in Scala. Streaming the last few minutes from Kafka using Akka Streams.


  12. Scala Times Issue #300

    How an Optimizing Compiler Works. TMWL October’19  - Scala Steward, DB index and a React hack. Working with HTTP in Polynote. How I learned to stop worrying and love FP in Scala. A real life example of isomorphisms in Scala: POST request.


  13. Scala Times Issue #299

    Kleisli Category - From theory to Cats. Presto with Doobie. Lambda World 2019. Speeding up time with Zio TestClock. Simulating IoT Events - with Zio Streams.


  14. Scala Times Issue #298

    Scala application lifecycle, from pure Scala to FS2. Top 5 things that slow down your Scala build - Triplequote. ZIO, Http4s, Auth, Codecs and zio-test. Magnolia typeclass generation for Avro. Bird Operator in Scala.


  15. Scala Times Issue #297

    Websockets in Scala using sttp. Vim with Dotty (using coc vim). Sizeof in Scala. Scala Classes - Syntax, Declaration, Use case, Examples. How to structure your Scala application?.


  16. Scala Times Issue #296

    Travis Continuous deployment for your open source library. Publish open source project to Maven with Sonatype. My Way to Scala - part 1. Scala Tuples - Syntax, Declaration, Use case, Examples. Better management of transitive dependencies and conflicts.


  17. Scala Times Issue #295

    Tour of Akka Typed: Event Sourcing. Optional Is the New Mandatory. Visitors - a tale of generalization. Working with Databases using Scala and Quill. Proving Primality with GADTs.


  18. Scala Times Issue #294

    Scraping Websites using Scala and Jsoup. A quiet, attractive new programming language. Domain-driven event sourcing with Akka Typed. Crushing Design Patterns! - Chain of responsibility (Scala). Crushing Design Patterns! - Unnecessary Patterns.


  19. Scala Times Issue #293

    Painlessly passing message context through Akka Streams. Simple Web and Api Servers with Scala. From @Transactional to type-safe, reasonable transactions. 3 Layer Scala Cake. Illustrated guide to Types, Sets and Values.


  20. Scala Times Issue #292

    Human-readable case class diffs. Cats 2.0 migration guide. Top 10 Scala Libraries For Data Science. Kenji Yoshida receives community award. Kelley Robinson receives community award.


  21. Scala Times Issue #291

    Squeezing extra productivity out of Ammonite Scala REPL. Akka family build infrastructure. Learning Akka Typed from Classic. On Eliminating Error in Distributed Software Systems. Error Handling in Functional Applications - from Monad Transformers to ZIO.


  22. Scala Times Issue #290

    Easy Parallel Programming with Scala Futures. Permutive Community Engineering, August 2019. Key things I picked up while working with Scala. Typing the technical interview in Scala. Why Try? - Scala Error Handling.


  23. Scala Times Issue #289

    Dotty (Scala 3) adoption report: easy so far. Scraping and Storing Crypto-currency Prices with Scala and PostgreSQL. Scala Almost Succeeded. Allow significant indentation syntax. Jailbreak Oozie Spark action.


  24. Scala Times Issue #288

    Bootzooka 2019: functional Scala and React. The Science of Functional Programming book. Scala's isInstanceOf is an Anti-Pattern. A Scala “functional programming style” To-Do List application written with Cats. Minutes of the 13th meeting of the Scala Center, Q2 2019.


  25. Scala Times Issue #287

    When do you need Akka Cluster?. Hangman in FP Scala. Make your Google Spreadsheets Scala-ble. Understanding Monoids using real life examples. Scala in the City, London, Simply Business, August 28th.


Organizing an event?
Promote it with
Scala Times.
The Scala Times reader?
Get a banner!
Got a tip? Send it in!
Follow us on Twitter.
Curated by SoftwareMill.
We are hiring.
And taking on projects.