Google Chrome extensions every software developer should use

/ Productivity

So today I didn’t feel like ranting on anything so I thought I’d actually give people some useful stuff. This article is about the unsung heroes tucked away in my Chrome menu or sitting near the address bar, doing their thing. I have a list of extensions that I’ve carried with me over the years, and in this article I am going to share them, with a brief description. Productivity This is a category of extensions whose use spans across all my activities. Read more

Debug Yourself Through®

/ Productivity

Backing up is like investing The quote above is from this article on the Backblaze blog. It stuck with me because I’ve been a very poor investor. Not anymore! I need a backup solution and I’m looking to learn more about the process. While working on this, I caught myself thinking about the process I have been using for the past 5 years. I realized I never wrote about it and I would love to share it with the world. Read more

How to set default values using ES6 destructuring assignment

/ Software Development / Productivity

Here’s a trick I use to render a default page when a parameterized Express.js route is called with no parameter. You will learn how to set default values when using the destructuring assignment with objects. The destructuring assignment is used to unpack values from arrays or properties from objects, as you will see in this video. Useful links https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment http://es6-features.org/#ObjectAndArrayMatchingDefaultValues http://es6-features.org/#DefaultParameterValues Read more

Having a software development process is crucial

/ Productivity / Opinion

Let me show you how important it is to follow a process. I will run you through examples from cinematography, painting and automotive and prove to you that even the “industries” most dominated by randomness and hazard rely on pretty strong processes and practices. 🔗 Links for the lazy people 🍹☀️ Why Michelangelo Antonioni is the Master of Compositions Stanley Kubrick - The Cinematic Experience Stanley Kubrick: Practical Lighting Stanley Kubrick and Visual Storytelling Credits & inspiration 🙏 Pablo Picasso Images Heat movie scene “Look at me” Robert De Niro Leave Britney alone John DeLorean documentary 20 hidden jokes & cryptic metaphors in A CLOCKWORK ORANGE clockwork orange singing in the rain Symmetry in Films : Supercut Why Michelangelo Antonioni is the Master of Compositions Amazing One-Man-Band Street Performer in Croatia (Cigo Man Band) Photo credits: Read more

Automatically fix ESLint code validation errors in Visual Studio Code

/ Productivity / Software Development

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

Copy files from a Docker container to the host

/ DevOps / Productivity

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

Technical advice for startups

/ Software Architecture / Software Development / Productivity

TL;DR 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. Read more

WIP How to convince your manager to use Docker in production

/ Productivity / DevOps

So you’re sold on Docker. You’re using it to do your daily job but nobody knows. You managed to create a separate environment, you have all your tools and everything needed to run all four projects you’re currently working on. You’d like to tell the team but they will probably laugh. Everybody knows that virtual machines eat up a lot of resources and your workstations aren’t that powerful after all. Read more

How to set up your CI/CD pipeline for faster feedback

/ Productivity / DevOps

One of the biggest issues that plagues teams doing some form of Continuous Integration / Delivery / Deployment is execution time. If the pipeline is slow, then the feedback loop is slow. If the code takes 30 minutes to pass through the pipeline and build only to fail in UAT or even worse, production, precious time is wasted (and money). Going fast is not only about shipping fast but also about failing fast. Read more

How to properly override the ENTRYPOINT using docker run

/ DevOps / Productivity

As we all know, Docker is an amazing piece of software. I don’t want to go over its benefits. That’s for another article, coming very soon. What I do want to share with you is the way to properly override a Docker image entrypoint when using docker run. READMORE From the official documentation: The ENTRYPOINT of an image is similar to a COMMAND because it specifies what executable to run when the container starts, but it is (purposely) more difficult to override Read more

Copyright (c) 2021 Adrian Oprea. All rights reserved.