Coding for Food
and fun :)
Wednesday, August 14, 2013
Distributed Semaphore (Lock) with memcached
›
Hi, today I want to show a simple technique how to build a synchronization primitive when you have compare-and-swap operation (in fact you ...
Wednesday, August 7, 2013
Recursively resize images
›
A couple of days ago I was trying to share my photos to my relatives. The thing is that there was 25Gb of photos and there was a bunch of n...
Friday, August 2, 2013
Learn Hibernate By Example
›
Hey, I should say I'm a very big fan of learning by example. The thing is, once you have a solid background you don't need words to...
Thursday, July 25, 2013
» Post-Order Iterative DFS Traversal using Stack
›
Several days ago I had to traverse a huge graph in depth (depth-first-search) visiting edges in post-order. I was working on Kasaraju's...
Tuesday, July 23, 2013
Software Engineering: Java Tuples
›
This post is related to Java Tuples. Every time I'm switching from Scala or Python back to Java what I'm missing are tuples. Simple...
Saturday, June 15, 2013
Programming Puzzle: Multiply Matrixes with MongoDB
›
Today I want to share an idea on how to multiply matrixes using MondoDB's facilities. It's not the way you usually multiply the...
Wednesday, June 5, 2013
How to calculate PValue from ChiSquare in Java
›
Several days ago I faced a problem: I needed to calculate pValue for a given ChiSquare with a given Degrees of Freedom. I didn't have t...
›
Home
View web version