Cake pattern: mixing in in a trait

Cake pattern: mixing in in a trait

I've been playing with the cake pattern and there's something I don't fully understand.
Given the following common code:
trait AServiceComponent {
  this: ARepositoryComponent =}

trait ARepositoryComponent 
Read more

Slick, UUID and Postgres

Slick, UUID and Postgres

I'm trying to map a java.util.UUID to a Slick column, which should be possible according to this: https://github.com/slick/slick/issues/79
I'm defining the columns as follows:
def id = column[UUID]("id", O.PrimaryKey, O.DBType("UUID"))

According 
Read more

Functional Programming Performance

Functional Programming Performance

I've recently started to use Scala to solve some programming challenges at Codeforces in order to exercise functional programming skills. Doing so I came across one particular challenge I wasn't able to 
Read more