logo

Post-it notes.

When I don’t throw away knowledge down the Twitter drain, I write on this here blog. Warning! Swearwords and typos ahead! This is not your average Hello guys and welcome to my tutorial… type of bullcrap.

YouTube demonetization doesn't hurt that much

/ Opinion

A couple of weeks ago I was reading about the YouTube demonetization phenomenon and decided to help creators with this. I wanted to build an app that would notify them, on the spot, if their videos had been demonetized. I also wanted to add functionality to improve the appeal process and maybe help YouTube train their algorithm faster by pointing out precedents, videos that have been unfairly demonetized. I needed someone to help me with testing, first and foremost because I don’t have an account that’s eligible for the YouTube Partner Program.

Read more →

My talk at JSTalks Sofia

/ Speaking

This weekend I gave a talk in Sofia, the capital of Bulgaria. I can tell you from the get-go that it was an awesome experience. I met a bunch of wonderful people, got to network with industry experts ranging from Microsoft MVPs to consultants with interests into WebAssembly and other topics that usually make my head explode. The gist Now, about that talk I gave. In a nutshell, I talked about my JavaScript tools fatigue fatigue.

Read more →

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.

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 →

Improve your Node.js code readability with this simple trick

/ Software Development

In this short article I plan to share with you a simple trick I use to make my Node.js code read better. It’s not wizardry so don’t get discouraged by the “trick” in the title. Here’s a regular Expressjs route handler executing a database interrogation using Mongoose: router.get('/user/:userId',(request, response) => { User.find({ id: req.params.userId }, (error, data) => { if (error) { return response.status(500).json({ status: 500, error: 'The query failed', }); } if (!

Read more →

Technical advice for startups

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 →

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

/ Software Development / Opinion

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.

Read more →

React Native + NavigatorIOS + Bad Habits = 2 wasted hours

/ Software Development

Long story short: I’ve never worked with React Native and wanted to give it a spin. Setup was a breeze, and I was able to get the app to work in the iOS simulator in a matter of minutes. What came after, is a story about bad habits. A couple of stack traces and some style updates later, I said to myself: “Does this thing have navigation?”. So I found NavigatorIOS in the docs.

Read more →

Working with Vue.js after React and Angular

/ Software Development / Opinion

I wanted to work with Vue.js on a “real” project for quite some time. Last night, I decided to migrate a very small portion of a larger project to Vue. In the next week or so, I plan on publishing a small series of articles about this experience. Setup Very quick setup, no headaches. The guide is straightforward and the fact that they also offer a CLI makes the experience more enjoyable for command-line junkies like myself.

Read more →
Copyright (c) 2023 Adrian Oprea. All rights reserved.