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...

Introduction to Sequelize ORM

JavaScript Node.js Example project

This is about the basic usage of Sequelize ORM – how to create migrations, models, seeders and how to get the data from the database. Everything is explained on an example project, which you can find on GitHub.

Continue reading...

Lexicographical permutations

Algorithms C++ HackerRank

The solution for Bigger is Greater challenge on HackerRank, or how to generate next lexicographically greater string. Problem description, algorithm steps and complete source code to solve this challenge.

Continue reading...