article thumbnail

WebSockets in Scala, Part 2: Integrating Redis and PostgreSQL

Rock the JVM

Let’s create a validateutility.scala in the following path, src/main/scala/rockthejvm/websockets/domain , and add the following code: package rockthejvm.websockets.domain import cats.data.Validated object validateutility { def validateItem [ F ]( value : String , userORRoom : F , name : String ) : Validated [ String , F ] = { Validated.

article thumbnail

Simplify Data Security For Sensitive Information With The Skyflow Data Privacy Vault

Data Engineering Podcast

The team at Skyflow decided that the second best way is to build a storage system dedicated to securely managing your sensitive information and making it easy to integrate with your applications and data systems. And don’t forget to thank them for their continued support of this show! Atlan is the metadata hub for your data ecosystem.

Insiders

Sign Up for our Newsletter

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

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 guide to UDP in Scala with FS2

Rock the JVM

It works by bundling up data in a UDP packet, adding header information, and sending these packets to the target destination. Setting Up Let’s create a new Scala 3 project and add the following to your build.sbt file. Lets see how we can search for network interfaces in scala: import cats.effect. val scala3Version = "3.3.1"

Scala 90
article thumbnail

Building ETL Pipeline with Snowpark

Cloudyard

Snowflakes Snowpark is a game-changing feature that enables data engineers and analysts to write scalable data transformation workflows directly within Snowflake using Python, Java, or Scala. RAW_CUSTOMERS : Stores customer information. The data resides in three tables: RAW_ORDERS : Captures order details.

article thumbnail

Adopting Spark Connect

Towards Data Science

However, this ability to remotely run client applications written in any supported language (Scala, Python) appeared only in Spark 3.4. In any case, all client applications use the same Scala code to initialize SparkSession, which operates depending on the run mode. getOrCreate() // If the client application uses your Scala code (e.g.,

Scala 75
article thumbnail

Scala CLI Tutorial: Creating a CLI Sudoku Solver

Rock the JVM

Antonio is an alumnus of Rock the JVM, now a senior Scala developer with his own contributions to Scala libraries and junior devs under his mentorship. Which brings us to this article: Antonio originally started from my Sudoku backtracking article and built a Scala CLI tutorial for the juniors he’s mentoring.

Scala 52