In one week RAM consumption of my friend’s bot backend almost doubled:

It is not a memory leak, since the amount of RAM consumed remains the same after restart (each change in color is a restart), but a consequence of the design of the backend — bot keeps the entire…

I don’t know if that is just me, but for some reason, Wikipedia articles are only good when you already know the subject. …

An animated algorithm, with 0 lines of code

Let’s consider a classic algorithmic problem — string rotation. Given a string and offset, we should return the rotated string. That is for “Matrix” and offset equal to two the result would be “ixMatr”:

How would you name a class that has a database and a bunch of related methods?

— Hey Alice, I was wondering if you could help me with one programming question. Namely, the second hard problem in computer science.
— Sure, what are you trying to name?
— I made a class which holds database and provides a set of methods related to database things.

—…

The world’s best experts explain how they solved the most difficult problems; for free.

There are quite a lot of resources that teach how to solve algorithmic problems, and in general, how to ace technical interviews. A lot of people and companies teach how to get hired. …

There is a phenomenon called “Illusion of understanding” — a sense of confidence that “I know the topic” while, in fact, that’s not true. Every time I see an article with a title like “X things to be more productive,” “Y things to do in the morning,” or “Habits of…

April 28, 2098, San Franciso Chronicle

If someone would ask you “what is the most influential technology company of the XXI century,” the answer would be obvious: Udrive. …

— I’ve been thinking about money recently. Specifically, how do I earn it?
— That’s an interesting topic. What do you have in mind?

This nice trip would cost you X months of your life

— You see, I like my current job. There are challenges to take on, I care about people in my team, and it pays ok. There…

When I was preparing for technical interviews I was lucky to get some help from friends who has experience with programming contests. …

There is a concept in software engineering called “technical debt.” It’s when you do something you know is not right, but you are still doing it. As some meme was saying, “we do something not because it’s easy, but because it seemed easy.” So something seemed easy, it took (hopefully)…

Yan Babitski

Software engineer @ Google

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store