[VIDEO] Automatically fix ESLint code validation errors in Visual Studio Code

Just found this very interesting feature in Visual Studio Code. It turns out that if you break a style rule, and you get a warning from ESLint, if you click on the lightbulb that appears on the gutter, near the line number where the error is, you get a "Fix problem" option.

At first, I wasn't sure if this was built into VSCode or in the the ESLint extension I'm using. After looking into this, I found that the extension not only provides that functionality but it offers many more nice things like auto fixing all "fixable" validation errors on save.

Check it out: ESLint by Dirk Baeumer. By the way, it has 1.5+m installs!

If you found this video useful, share it, subscribe to the channel, follow me on Twitter and Medium.

Read more

[VIDEO] How to copy a file from a Docker container to the host machine

I created a short video to help you understand the basics of using the docker cp command.

It is meant to help people who are using Docker understand how to copy a file from a running Docker container to their host machine. In my case, I'm using a container I built for a personal project, which creates PDF documents from websites. The generated document, resides exclusively inside the container. It is then copied using docker cp to my host machine, where I can open and inspect it.

Read more

Some technical advice for startups


Stop creating monoliths. Stop the brainless, head-first dive into development. Buy the cheapest notebook and some pens and start scribbling. You'll thank yourselves!

The story

From time to time, I get the chance to interact with tech startups and I formed the nasty habit of asking about their codebase. Whenever I ask this question, I get two types of answers depending on who's answering:

The CEO, or any non-technical C-level person, almost always complain they're moving too slow because of poorly written code.

— I don't believe this is the only reason.

The CTO and the developers say that they're moving as fast as they can, given their current architecture. They mostly complain about consultants, or freelancers who worked before and made a mess.

— C'mon! Not all consultants are crap throwing monkeys looking to make your life a living hell. 🐒💩

As always, the truth is somewhere in the middle. It's always a combination of lack of process, tight deadlines and hasty business and architectural decisions.

Read more

jQuery, Babel, React Native and the importance of making mistakes

It wasn't very long ago when we didn't have all these generators, scaffolders, bootstraps etc. Not long since we used to include a small library into every project. You got it right, people, I'm talking about jQuery.

Actually, the article is not about jQuery. The title can be regarded as a clickbait but I had to draw your attention to something important. Consider this article a parallel between jQuery and the web platform's current state of affairs.

Read more

X in a box - containers for developers video series?

For quite some time I wanted to help developers better understand Docker containers. I’ve been working with containers for the past 2.5 years and like most of you, I was just a full stack JavaScript developer. I had to learn how to use Docker containers with no previous knowledge and little or no guidance.

It was like being thrown off a plane with an umbrella instead of a parachute. This wasn’t necessarily a bad thing. I had a lot of time to make mistakes, miss deadlines and crash production apps.

Read more

Go from Node.js app to microservices with MONOLITHSPL/T

I've been working a lot with microservices in the past couple of years. It is during this time that I found how many issues can arise from putting an accent on delivery while disregarding architecture.

This is why I decided to create MONOLITHSPL/T.

I want to help businesses migrate their monolithic Node.js applications to a microservices architecture, improve the quality of their products as well as their overall delivery. My goal is to provide clear, actionable steps, to move away from poor architectural decisions made under pressure.

Through MONOLITHSPL/T, I will provide microservices migration strategies, driven only by your business goals. I will be putting all the knowledge and experience I accumulated over the past years into the service of businesses struggling with monolithic Node.js application architectures.

To get notified about the launch subscribe to the pre-launch list. The launch date is close and the list is very tight.

Read more