Chaos Ajax - is your application ready to fail?

JavaScript

You are creating an application that shows data to the user - doesn't matter if he is searching for some specific thing or he is only listing everything you have. What happens if the server responds with empty array? Or with error? Will your application show only empty space or an error message?

Continue reading...

Write good git commit message

git

For a long time I didn't know that even writing commit message can have its own "best practices". When I got in touch with git for the first time, this part was described with words like "...and here you can write something short about what's going on in the commit".

Continue reading...

Do (not?) write comments

We all know a lot of jokes about comments and why not to write them. Even many articles suggest not to write comments. Why is that so?

I came on a project where the whole team left and now they hired me and two other developers. The project is one big mystery and there are only few people in the c...

Continue reading...

Node Version Manager and failing certificate verification

Node.js

In my current job, we have some kind of network settings ( or better proxy settings ) that from time to time cause problems with certificate verification.

Continue reading...

Google Code Jam 2017: Tidy Numbers

Algorithms Google Code Jam C++

Tatiana likes to keep things tidy. Her toys are sorted from smallest to largest, her pencils are sorted from shortest to longest and her computers from oldest to newest. One day, when practicing her counting skills, she noticed that some integers, when written in base 10 with no leading zeroes, have...

Continue reading...