Artem's blog

Thoughts on software

Strengths Finder

Strength Finder is a psychological test, for which I got a free pass by purchasing a book Go Put Your Strength to Work after First Break All The Rules by the same author. I’m very fascinated by the idea to focus on people strengths vs trying to fix their weaknesses. And here are my results: […]

20-70-10 is a Bad Gamification?

What are we talking about? Recently Gamification has become a popular term. It is basically a behavioral psychology about applying techniques found in games to a non-game context. 20-70-10 is so called vitality curve invented by (ex-) General Electric CEO Jack Welch when all workforce is divided to 20% of best performing, 70% average and […]

How to find a parent pull request by commit SHA on GitHub

Puzzled how this particular commit got into master? What to find pull request which it belonged to? Not such feature on Github? Checkout this script, written on top of Github’s API: It allows to search closed pull requests to find the pull request which contained given commit. How to use Run from root […]

Amazing article on how to migrate your Spring XML to Java

We all used to have those XML configurations which kinda OK, but might be out of sync during refactoring and in general look oldish and don’t allow you to reuse your great constants. Now our problems are solved with Spring’s feature which will allow you to have all your Spring configuration in code! Check it […]


Here is a presentation I’m going to do today at work: And there are some nice books on bodybuilding:

ArrayList is faster than LinkedList for add() operation

I was always wondering if it is a good idea to use LinkedList if the number of elements in the list is unknown. So I decided to test it. Program is pretty short here: I run this test on Ubuntu 12 64bit, Oracle Java 7 64bit, 12Gb RAM, i7 920 processor. It won’t run, […]

Checking mirrors pings in Scala

I’ve recently was installing CygWin on one of my machines and ran into question I run into all the time: which mirror to select to minimize time to load all my stuff. So I decided finally to write a small Scala program to ping mirrors and find out which one is the closest. I decided […]


What to do with InterruptedException in Java

Let’s discuss what you can do about annoying InterruptedException. In many situations you’d have a lot of methods like someOtherMethod() below, where you’d want to preserve it’s signature clear. Or, you call goes through 3-rd party interfaces which do not throw InterruptedException. What do you do? First of all you have to know what kind […]


Tetris for Android

I recently wrote a Tetris game for Android platform. Here it is: It is just a strait classical implementation of the Tetris. I shows drop position, next figure, increase speed with levels (up to 20), calculate score giving bonus for extra lines. And it saves score into phone’s memory, so you can keep track of […]

, ,

Facebook’s most annoying issues 2

11. Manage rights for applications is not good enough. You should be able to select what you would actually like to share with an application at the start of using it. I’m sure some Facebook games would survive without having access to my email. Ideally it should look like this: you declined access to email, […]


Previous Posts