Threat Stack Blog and Cloud Security News

Continuous security monitoring for your cloud.

Useful Scala Compiler Options, Part 3: Linting

by Ryan Plessner , posted in Scala Best Practices, Scala Compiler, Scalac, Scala Advanced Language Features, Linting, Scala Functional Programming, -Xlint

Useful_Scala_Compiler_Options_Part_3_Blog_Banner-1.jpg

In my previous two posts on Scala Compiler options, we saw a number that can improve your experience developing Scala. In this post I want to focus on one option in particular: -Xlint. If you thought the other options made your life better, this one will improve it by leaps and bounds.

Read More [fa icon=long-arrow-right"]

Oct 4, 2016 2:32:08 PM

[fa icon="comment"] 0 Comments

My Journey in Scala, Part 3: None is Better Than Undefined

by Joe Baker , posted in Scala Best Practices, Scala, Functional Programming

Journey_in_Scala_Part_3_Blog_Bannerv3.jpg

Here’s the situation: At Threat Stack we consume a torrent of security event data every day, and as many new customers come on board, the amount of data we need to ingest, transform, store, and retrieve just keeps growing. About a year ago, we implemented a caching layer to allow us to display more aggregated information to customers on our Dashboard, which was powered by ElasticSearch Aggregates.

Read More [fa icon=long-arrow-right"]

Sep 26, 2016 10:18:17 AM

[fa icon="comment"] 0 Comments

Useful Scala Compiler Options Part 2: Advanced Language Features

by Ryan Plessner , posted in Scala Best Practices, Scala Compiler, Scalac, Scala Advanced Language Features, Scala, Functional Programming

TS16031_ThreatStack_ScalacOptions_2_BlogImg.jpg

Scala offers a number of advanced language features that are disabled by default. If you try to use any of them, the compiler will generate a warning informing you of their usage. There are a number of reasons that you might want to enable features (or keep them disabled). In this post, we will explore what each language feature is and under which circumstances you might want to enable them. (For a discussion of basic Scala Compiler options that we find useful at Threat Stack, see Part 1 of this series.)

Read More [fa icon=long-arrow-right"]

Aug 26, 2016 9:30:59 AM

[fa icon="comment"] 0 Comments

SELECT This! Scala Data Access Library Review, Part 1

by Lucas DuBois , posted in Scala Best Practices, ScalikeJDBC, Software Libraries, Quill, Doobie, Scala, Functional Programming

TS16031_ThreatStack_ScalaSelectThis_1_BlogImg.jpg

At Threat Stack we love databases, and as we started to expand our Scala code base, we quickly realized we wanted to standardize on a way to talk to the RDMS within our Scala projects. As we explored the realm, we came across four projects that seemed to have the most potential: ScalikeJDBC, Quill, Jooq, and Doobie. We had already been playing with ScalikeJDBC for awhile, but these other libraries offered interesting features, so we began to investigate.

In this post, we'll take a look at some of the pros and cons of ScalikeJDBC and Quill. In a followup, we'll discuss Jooq and Doobie.

Read More [fa icon=long-arrow-right"]

Aug 24, 2016 11:49:19 AM

[fa icon="comment"] 0 Comments

Useful Scala Compiler Options for Better Scala Development: Part 1

by Ryan Plessner , posted in Scala Best Practices, Scala Compiler, Scalac, Scala, Functional Programming

TS16031_ThreatStack_ScalacOptions_1_BlogImg.jpg

At Threat Stack, we like to leverage our tools to the fullest. Since we use Scala, it only makes sense for us to always be looking into ways of getting the most out of the Scala Compiler to enhance our productivity. And, as it turns out, the Scala Compiler offers a number of features that makes our lives way better! 

Read More [fa icon=long-arrow-right"]

Aug 9, 2016 9:03:42 AM

[fa icon="comment"] 0 Comments

My Journey in Scala, Part 2: Tips for Using IntelliJ IDEA

by Joe Baker , posted in Scala Best Practices, Scala, Functional Programming, IntelliJ

TS16031_ThreatStack_JourneyInScala_2_BlogImg-1.jpg

After spending significant time in dynamic languages, learning Scala can be challenging, so having the right tools (like IntelliJ) at your fingertips can make all the difference.

Read More [fa icon=long-arrow-right"]

Jul 19, 2016 8:22:37 AM

[fa icon="comment"] 0 Comments

My Journey in Scala, Part 1: Awakenings

by Joe Baker , posted in Scala Best Practices, Scala, Functional Programming

TS16031_ThreatStack_JourneyInScala_1_BlogImg.jpg

When I started at Threat Stack over a year ago, I came in as a Platform Engineer expecting to work on JavaScript. I had no idea that Threat Stack would get bit by the Scala bug. But our first Scala app, created by another team member, went into production a couple of months after I joined, and I soon learned that Scala was way more than a passing fad at Threat Stack.

Read More [fa icon=long-arrow-right"]

Jul 12, 2016 4:16:44 PM

[fa icon="comment"] 0 Comments

Subscribe via email:

Posts by Topic

see all