You don’t have to do everything on your own

You might achieve your goals faster, better, and with less stress when someone helps you. Even simple “Yes, you’re right” could dispel hesitation, and you’ll jump to further actions. An additional opinion, provided at the right time, might save days of work. Or even more: a friend of mine spent several years on his project only to close it after asking advice from a more experienced entrepreneur.

Asking for help doesn’t make you weak. Quite the opposite: it takes some strength to admit that you don’t know something.

There are ways to ask for help properly. …

2.5x faster with a single line change

2.5x faster Rails boot (+ a whale on background)
2.5x faster Rails boot (+ a whale on background)
Photo by Todd Cravens

Rails on Docker on Mac is slow. It’s so unbearably slow that the first time I launched it I just deleted Docker from my laptop and continued to run everything natively: 5.6s to 25.8s start-up slow down was just too high.

But there’s an easy solution to alleviate the issue significantly. With this one-line change, I decreased start-up time down to 9.8s (≈ 2.5x faster):

Why does it happen?

By default, Docker maintains perfect consistency between the container’s and host’s file systems. When you run Linux containers on Linux hosts, there’s no overhead: both container and host end up using the same FS.

Perfect code is not enough. Help people review it

Photo by chuttersnap on Unsplash

I had decided to improve my team’s performance and the first step was to find the bottleneck.

It turned out that coding speed wasn’t the limiting factor — code review was. So, to speed up reviews, I compared two types of pull requests:

  • Those that receive few comments and get merged quickly.
  • Those that get a lot of comments and require several review rounds.

Here’s the result: Nine ways to make pull requests easier to review.

1. Add “Why” Code Comments

When you write a new feature, you have a lot of information about it. Requirements, limitations of 3rd-party systems, interactions with legacy codebase —…

Demo-2 mission, toy dinosaur, toilets in spacecrafts, and others

Today at 3:22 p.m. EDT two astronauts will leave Earth and head off to the International Space Station. What makes this flight special is that it’s the first crewed flight for SpaceX, a private company founded by Elon Musk.

Demo-2 mission, the astronauts’ breakfast, a toilet in the spacecraft — the article covers these and 7 other curious things about the flight.

Image credit: NASA

Demo-2 Mission

The primary goal of the mission is to validate SpaceX’s readiness for crew transportation: infrastructure, processes and technologies (Falcon 9 rocket and new Crew Dragon spacecraft).

NASA astronauts Robert Behnken and Douglas Hurley will fly to the International…

11 tips for a better code review

“You’re a code review Terminator” — once told me a colleague in response to an especially productive code review. It was a win-win: he learned something useful, and I enjoyed knowing that the review I’ve done allowed my peer to become slightly better himself.

It wasn’t a breeze, though: after submitting review I left the desk for a break, completely exhausted. Was it worth it? Hell yeah!

I wanted others to feel that joy of being thanked for a decent review. So I analyzed my approach to code reviews and broke down core elements item by item.

1. Treat reviews as one of your main activities

Leaving a couple…

Anton Chuchkalov

Software engineer (10 years with Ruby) and a happy human being. Got master degree in Saint-Petersburg, lived in New York, finally settled in Barcelona.

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