Sessions

Testing in Future Space – NE Scala 2016

Testing in Future Space – NE Scala 2016

8 months ago
In ScalaTest 3.0’s new async testing styles, tests have a result type of Future[Assertion]. Instead of blocking until a future completes, then performing assertions on the result, you map assertions onto the future and return the resulting Future[Assertion] to ScalaTest. The test will complete asynchronously when the Future[Assertion] completes. This way of testing requires a […]
Web Sockets to Kafka with Akka Streams – NE Scala

Web Sockets to Kafka with Akka Streams – NE Scala

8 months ago
Your app is a hit. Everyone’s using your service. You’ve instrumented your website to collect real time usage data and you’ve set up a data processing pipeline to work with large amounts of data in real time, but how do you bridge the gap between web page and data pipeline? With websockets, Kafka and Akka […]
Checked Complexity with Typed Simplicity – NE Scala

Checked Complexity with Typed Simplicity – NE Scala

8 months ago
Among the most important properties of software is ‘modularity’, the notion that you build complex modules from simpler ones. It is common practice to adhere to this concept in the context of logical components, such as separating an application into input, transformation, and output. Once we drill down into lower level details however, it can […]
Type Members vs Type Parameters – NE Scala 2016

Type Members vs Type Parameters – NE Scala 2016

8 months ago
Scala’s type system provides generics in two ways: type members and type parameters, and most advanced Scala developers will use both in their code at different times. But how do we choose between them? Usually one or the other will feel “right” for a particular use case, and—if not—we can usually refactor and take the […]
A Vision for Scala Builds – NE Scala 2016

A Vision for Scala Builds – NE Scala 2016

8 months ago
This talk demos a vision that started to leak into reality as small prototypes. A vision of a world where writing and maintaining build scripts is fun and not black magic. A world without scoped-multi-config-multi-project builds. With fast dependency resolution. Intuitive and statically checked build configuration. Where large builds are composed from small self-contained and […]
Distributed Real-Time Stream Processing – NE Scala 2016

Distributed Real-Time Stream Processing – NE Scala 2016

8 months ago
The demand for stream processing is increasing a lot these day. Immense amounts of data has to be processed fast from a rapidly growing set of disparate data sources. This pushes the limits of traditional data processing infrastructures. These stream-based applications include trading, social networks, Internet of things, system monitoring, and many other examples. A […]
Monadic Logging and You – NE Scala 2016

Monadic Logging and You – NE Scala 2016

8 months ago
Logging is more complicated than most people realize, and when they do, it’s too late to do anything about it until “next time.” Learn how to use a writer monad as a logging mechanism in your code. More importantly though, learn why you would want to do this, and what the benefits are. There is […]
The Stairway to Pleasantville: Logic Programming in Scala – NE Scala 2016

The Stairway to Pleasantville: Logic Programming in Scala – NE Scala 2016

8 months ago
Logic programming is perhaps underappreciated compared to its declarative sibling, Functional Programming. In this lightning talk, we will examine a logic programming DSL built on top of microKanren in Scala. We will demonstrate it’s expressive power by using it to help us find the solution(s) to a particularly mind-bending variant of a classic puzzle. The […]
Macros for Mortals – NE Scala 2016

Macros for Mortals – NE Scala 2016

8 months ago
Since their introduction in 2.10, Macros have veritably taken Scala by storm. They pop up everywhere, often providing elegant syntax extensions for Scala libraries; note the prevalence of “sql” string interpolation macros, for example. Many developers, however, are scared and confused by Macros – rightly so. Many examples of Macros require deep knowledge of the […]
RDDs, DataFrames and Datasets in Apache Spark – NE Scala 2016

RDDs, DataFrames and Datasets in Apache Spark – NE Scala 2016

8 months ago
Traditionally, Apache Spark jobs have been written using Resilient Distributed Datasets (RDDs), a Scala Collections-like API. RDDs are type-safe, but they can be problematic: It’s easy to write a suboptimal job, and RDDs are significantly slower in Python than in Scala. DataFrames address some of these problems, and they’re much faster, even in Scala; but, […]
Scalaz-Stream Masterclass – NE Scala 2016

Scalaz-Stream Masterclass – NE Scala 2016

8 months ago
Scalaz-Stream (soon to be called “FS2” or “Functional Streams for Scala”) is a library that lets us write compositional, modular, safe, and efficient asynchronous I/O using an expressive purely functional API. In this hands-on talk we’ll see how to get started with the library, cook up a few streams, and look at ways of combining […]