article thumbnail

Scala as a Junior Developer

Rock the JVM

Lucas’ story is shared by lots of beginner Scala developers, which is why I wanted to post it here on the blog. I’ve watched thousands of developers learn Scala from scratch, and, like Lucas, they love it! If you want to learn Scala well and fast, take a look at my Scala Essentials course at Rock the JVM. sum > 8 ).

Scala 142
article thumbnail

Useful classes for data engineers - Scala & Java

Waitingforcode

In this blog post I'll share with you a list of Java and Scala classes I use almost every time in data engineering projects. We all have our habits and as programmers, libraries and frameworks are definitely a part of the group. The part for Python will follow next week!

Scala 130
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

WebSockets in Scala, Part 2: Integrating Redis and PostgreSQL

Rock the JVM

lazy val root = ( project in file ( "." )). Next, we’ll create a user.scala file in the following path, src/main/scala/rockthejvm/websockets/domain. Create a codecs.scala file in the following path, src/main/scala/rockthejvm/websockets/codecs/codecs.scala and add the following code: package rockthejvm.websockets.codecs import skunk.

article thumbnail

Scala 3: General Type Projections

Rock the JVM

Scala's general type projections are considered unsound and were removed in Scala 3: discover what this means and how it affects your code

Scala 52
article thumbnail

Two-Factor Authentication in Scala with Http4s

Rock the JVM

If you want to master the Typelevel Scala libraries (including Http4s) with real-life practice, check out the Typelevel Rite of Passage course, a full-stack project-based course. HOTP scala implementation HOTP generation is quite tedious, therefore for simplicity, we will use a java library, otp-java by Bastiaan Jansen.

Scala 92
article thumbnail

A Scala Project with Akka, Cats, and Cassandra

Rock the JVM

Akka, Cats, and Cassandra in a larger Scala project integrating multiple pieces of the Scala ecosystem

Scala 52
article thumbnail

A guide to UDP in Scala with FS2

Rock the JVM

Setting Up Let’s create a new Scala 3 project and add the following to your build.sbt file. lazy val root = project. Setting Up Let’s create a new Scala 3 project and add the following to your build.sbt file. lazy val root = project. val scala3Version = "3.3.1" in ( file ( "." )). val scala3Version = "3.3.1"

Scala 90