scala

Philly ETE 2016 #12 – Heather Miller – Academese to English: A Practical Tour of Scala’s Type System

Scala is famous in part for having one of the richest type systems of all mainstream programming languages today. Despite its reputation, Scala’s type system remains one of the most under-documented and jargon-heavy aspects of Scala. This talk will turn the academese into English, providing an example-rich tour of Scala’s type system, covering all the things that make people call it “powerful”. This talk isn’t about showcasing a bunch of challenging little logical puzzles with types; on the contrary, this talk is about showing practical uses of Scala’s type system, making it work for you and your users.

Data At The Speed Of Life – Reactive IoT Applications in Scala with Angular2

I had recently come off of a three year contract and found myself with some time on my hands. I was interested in working on an application that interfaced directly with some sort of small device. The director of our company, Don Coleman, had done a good bit of work with small devices so I spoke to him about the possibility of building a small application around those devices. He agreed to it and offered to assist from the hardware end. Our director of training, Ken Rimple, was researching the Angular 2 JavaScript framework at the time and offered to build the UI for the application. We eventually decided that we would build a demo to display at our booth at the 2016 South by SouthWest conference. This post explains our approach and some lessons learned.

Philly ETE 2016 #4 – Evan Chan – NoLambda: A new architecture combining streaming, ad hoc, machine learning, and batch analytics

In today’s world of exploding big and fast data, developers who want both streaming analytics and ad hoc, OLAP-like analysis have often had to develop complex architectures such as Lambda—a path for fast streaming analytics using NoSQL stores such as Cassandra and HBase with a separate batch path involving HDFS and Parquet. While this approach works, it involves too many moving parts, too many technologies for ops, and too many engineering hours. Helena Edelson and Evan Chan highlight a much simpler approach to combine streaming and ad hoc/batch analysis using what they call the NoLambda stack (Apache Spark/Scala, Mesos, Akka, Cassandra, Kafka), plus FiloDB, a new entrant to the distributed-database world that combines streaming and ad hoc analytics.

TechCast #99 – James Roper on Scala

On today’s TechCast, Sujan Kapadia talks to yet another Scala person: James Roper (@jroper). Previously a core team member of the Play framework, James is now the tech lead of Lagom, a new Java-oriented micro-services framework introduced by Lightbend. He discusses it in depth in his ETE talk, Rethinking REST in a Microservices World, as well as in this conversation with Sujan.

TechCast #98 – Adriaan Moors on Scala

On today’s TechCast, Sujan Kapadia talks to Adriaan Moors. Previously a language research student, he is currently the Scala Tech Lead at Lightbend, and self-proclaimed “compiler whisperer.” His talk, Scala 2.12 and Java 8: More Fun Together!, was extremely well-received at Philly ETE. In it, Adriaan talks about the interoperability between Scala’s newest release and … Read More

TechCast #97 – Heather Miller on Scala

On today’s TechCast, Sujan and Ken talk to Heather Miller. Previously a student under Martin Odersky, she is currently Executive Director of the Scala Center, as well as a research scientist at EPFL. Her talk, Academese to English: A Practical Tour of Scala’s Type System, was extremely well-received at Philly ETE. In it, Heather tried … Read More

Philly ETE 2016 – Heather Miller – Academese to English: A Practical Tour of Scala’s Type System

Scala is famous in part for having one of the richest type systems of all mainstream programming languages today. Despite its reputation, Scala’s type system remains one of the most under-documented and jargon-heavy aspects of Scala. This talk will turn the academese into English, providing an example-rich tour of Scala’s type system, covering all the things that make people call it “powerful”. This talk isn’t about showcasing a bunch of challenging little logical puzzles with types; on the contrary, this talk is about showing practical uses of Scala’s type system, making it work for you and your users.

SBT: Group annotated tests to run in forked JVMs

SbtTestGrouping Running tests that use a HiveContext On our current project, we utilize Spark SQL and have several ScalaTest based suites which require a SparkContext and HiveContext. These are started before a suite runs and shut down after it completes via the BeforeAfterAll mixin trait. Unfortunately due to this bug (also see this related pull … Read More

Slick 3.1.0, Oracle 11g, and UUID columns

SlickUUIDs UUIDs to the rescue I recently decided to change our primary key strategy from an auto-incrementing Long to UUID (aka globally unique IDs). Early on in a project, this should be a relatively simple refactoring (neither the software nor any data has been released yet). First of all and most importantly, UUIDs provide uniqueness … Read More