Category Archives: Scala

Scala – CSV Reader

Do you need simple pure Scala CSV file reader? If yes, this is for you Advertisements

Rate this:

Posted in Akka, git, Programming, Scala | Tagged , , , , , , , | 1 Comment

Working with JSON in Scala

Scala does not support JSON. You need to use 3rd party library. This post is about my experiments with usage the JSON in Scala with three libraries:

Rate this:

Posted in Programming, Scala | Tagged , , , , , | Leave a comment

Spring Boot: How to disable @Scheduled in unit tests

Spring framework exposes a nice feature to schedule some task: @Scheduled annotation. But this features makes very difficult unit test process – all scheduled tasks start work in any unit test where Spring scanning is used. It means 

Rate this:

Posted in java, Programming, Scala, Test | Tagged , , , , , , | Leave a comment

Idiomatic Scala: Your Options Do Not Match

Idiomatic Scala: Your Options Do Not Match: http://blog.originate.com/blog/2014/06/15/idiomatic-scala-your-options-do-not-match/

Rate this:

Posted in Programming, Scala | Tagged , , , , | Leave a comment

Access to test files

How to read files in tests if files are located in resource directory, jar, or in arbitrary place? When we write tests we may store files with test data in resource directory or in arbitrary place on the disk.

Rate this:

Posted in Programming, Scala | Tagged , , , , , , | Leave a comment

sbt 1.0.0 is now available

http://developer.lightbend.com/blog/2017-08-11-sbt-1-0-0/ new release of sbt is available!

Rate this:

Posted in Programming, Scala | Tagged , , , , , | Leave a comment

Scala exercises

Nice site with lots of exercises on Scala: http://aperiodic.net/phil/scala/s-99/

Rate this:

Posted in Programming, Scala | Tagged , , , | Leave a comment

npm Package Analyzer

Sometimes You need to check if You really use all modules specified in package.json. I wrote

Rate this:

Posted in gui, JavaScript, node.js, Programming, Scala | Tagged , , , , , , , , , | Leave a comment

Functional error handling in Scala

Functional error handling in Scala alvin February 13, 2017 – 11:08am Here are a few nice blog posts on functional error-handling in Scala: – Easing into functional error handling in Scala – How do I error handle thee? – Designing … Continue reading

Rate this:

Posted in java, Programming, Scala | Tagged , , | Leave a comment

Scala – type bounds notation for beginners

For beginners in Scala (like me) type bounds notation causes difficulty. I tried to write  short cheat sheet with Scala type bounds notation: Scala – type bounds notation for beginners

Rate this:

Posted in Scala | Tagged , , , , | Leave a comment