Fork me on GitHub

Lifeboat blog

A random blog about software

Skip to content
  • Home
  • Archives

Measuring Scala performance with JMH

JVM engineers published JMH to Maven recently, it is finally simple to benchmark java code performance

Read more…

Posted On Thu 03 April 2014 by Lex Vorona

Category: Coding

Tags: scala / coding / howto /

Remove prefix in a Camel Case method name

There is a simple command to remove a prefix in a camelCase formatted string keeping the format correct

Read more…

Posted On Thu 03 April 2014 by Lex Vorona

Category: Coding

Tags: vim / coding / howto /

Custom functions in Squeryl

Documentation on the Squeryl site is a bit outdated, so I decided to write a short howto on the topic.

Read more…

Posted On Thu 03 April 2014 by Lex Vorona

Category: Coding

Tags: squeryl / coding / howto /

Excluding specific file collection from source set in Gradle

This is a bit of rare task to exclude something from a sourceset without knowing exactly what to exclude, but it is doable.

Read more…

Posted On Mon 20 January 2014 by Lex Vorona

Category: Coding

Tags: gradle / coding / howto / groovy /

Gradle local variables

Local variables could be trickier than you think in Gradle

Read more…

Posted On Mon 20 January 2014 by Lex Vorona

Category: Coding

Tags: gradle / coding / howto / groovy /

Compile options for Scala in Gradle

Code snippet to set Scala and Java compiler options for joint compilation in Gradle

Read more…

Posted On Mon 20 January 2014 by Lex Vorona

Category: Coding

Tags: coding / howto / gradle / scala /

Scala libraries are really extensible

Squeryl is a great library, but sometimes it lacks certain functionality. Good thing it is written in Scala and I could add missing bits in a heartbit

Read more…

Posted On Thu 05 December 2013 by Lex Vorona

Category: Coding

Tags: coding / howto / squeryl / scala /

Using Squeryl to create database DDL

Squeryl allows user to create database automatically or manually, but does not allow to stop half way and to use Squeryl Schema to assist in manual DB creation. Here is how to fix it

Read more…

Posted On Thu 05 December 2013 by Lex Vorona

Category: Coding

Tags: coding / howto / squeryl / scala /

 

Post navigation

← Newer posts
Older posts →
 
Proudly powered by Pelican, which takes great advantage of Python.
The theme is Decode, ported by Lex Vorona and Ken Mathenge, thanks!