Here’s a great story about a woman who turned a tree stump from a 110 year old tree into a little library.
Scala problem: You want to be able to read configuration files that are written in the Lightbend “Config” file format.Back to top
Lightbend — initially named Typesafe — created a configuration file format named HOCON, which stands for, “Human-Optimized Config Object Notation.” As an example, a small HOCON configuration file looks like this:
As a note to self, when you see a Scala error message that looks like this:
it probably means that you have a mismatch in the Scala versions you’re using in your project. For instance, I just tried to use a library I compiled with Scala 2.12 with Spark, which was compiled with Scala 2.11, and I got that error message. In this case I was able to resolve the problem by recompiling my library with Scala 2.11.
Butter Knife is an Android library that can help you get rid of all those ugly
findViewById calls. Android Data Binding may be a better solution, but at the moment I prefer the tag/annotation approach of Butter Knife.
From the URL:
Q: Scala makes a big deal about how what seem to be language features are implemented as library features. Is there a list of types that are treated specially by the language?
A: The following types are crucial to Scala's type system. They have an influence on how type checking itself is performed.
It’s interesting that you can do some research on this by looking at Definitions.scala.
I have a 19" monitor on the counter between my kitchen and living room, and it’s powered by a Raspberry Pi. I use the Linux Phosphor screen saver to show a scrolling “news and stock ticker” on the display, which I’ve programmed to show news from several different sources (Atom and Rss feeds, along with other news and data sources). An old version of the display looks like this:
Today I added a new “Word of the day” feature to the display, and as with all of the other code, I wrote a Scala shell script to generate the output.
This page is a collection of popular tools, libraries, and frameworks for the Scala programming language.Back to top
Li Haoyi has created a JSON library he named uJSON.
I went to the library and asked for a book on Pavlov’s dog and Schrodinger’s cat. The librarian said it rang a bell but she didn’t know if it was there or not.