Fork me on GitHub

Lifeboat blog

A random blog about software

Skip to content
  • Home
  • Archives

When O(N) is better than O(log N)?

We are used to think that O(log N) is always better than O(N), but it is not always true.

Read more…

Posted On Tue 05 May 2015 by Lex Vorona

Category: Coding

Tags: scala / coding / howto /

Interview coding skill

Coding on the interviews is an independent skill from real coding.

Read more…

Posted On Thu 05 March 2015 by Lex Vorona

Category: Coding

Tags: coding / life /

Java 8 lamdas

Last night I wrote a code using Java 8 lambdas for the first time. And I loved it!

Read more…

Posted On Wed 25 February 2015 by Lex Vorona

Category: Coding

Tags: java / coding /

SringBuilder vs StringBuffer revisited

I am sure you have read about StringBuilder being faster than StringBuffer so many times, that you are sick of it already. Fun fact is: it is not faster.

Read more…

Posted On Sat 10 January 2015 by Lex Vorona

Category: Coding

Tags: java / coding / performance /

Scala Option performance cost

I wanted to measure how much extra cost does Scala Option incurs.

Read more…

Posted On Sat 10 January 2015 by Lex Vorona

Category: Coding

Tags: scala / coding / performance /

Parsing address string in PostgreSQL

Sample query to parse address line into fields in PostgreSQL without stored procedures

Read more…

Posted On Tue 09 December 2014 by Lex Vorona

Category: Coding

Tags: howto / coding / postgresql /

Funny code

Unexpected iteration over java linked list

Read more…

Posted On Mon 08 December 2014 by Lex Vorona

Category: Coding

Tags: java / coding /

Pattern matching around type erasure

Better way to work around JVM type erasure in Scala pattern matching

Read more…

Posted On Mon 08 December 2014 by Lex Vorona

Category: Coding

Tags: scala / coding /

 

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!
Personal data for training