darkmannn-avatar

DarkMannn

Who

developer technical_writer minimalist

What

web microservices aws .js .ts

How

simplicity balance modesty learning

Blog

  • Creating Your Own VSCode Theme

    My text editor of choice has been Visual Studio Code for a long time. One of the great things about it is that there are a lot of customization options available.

    After six years of using it, I wanted to change things up a little and create my own color theme. In this short blog post I'm going to describe what's the easiest way to do that.

  • Node.js Streams in 2023 - Streams vs Async Iterators

    In my first piece about node.js streams that I wrote around three years ago, I analyzed the whole `stream` module. I tried to describe how all of the APIs can be implemented and consumed. You can find that blog post here on this blog.

    The conclusion - working with node streams is really hard and confusing. Although, after some years now several new APIs have been implemented. Here I will describe my way to work with streaming data in node.js in a sane and practical way.

  • Indexing In MongoDB

    In this blog post, I will summarize the useful facts about building and managing indexes in MongoDB. Indexes enable us to perform various queries more efficiently. They are an integral part of application development. It is very important for developers to know what are indexes and how to utilize them.

    I have a lot of experience with MongoDB development. Despite that, I planned for a long time to refresh my knowledge about this very popular database. To do that, I have picked this book: "MongoDB - The Definitive Guide" by Shannon Bradshaw. It's a great book, and a lot of the things I will write in this post will be my notes from reading it.

  • Migrating From Gatsby To Next.js

    Recently I decided to focus more on writing. My goal was to post more regularly, at least 1 article per month. I didn't write an article for more than a year! I was very excited and happy to start!

    I decided to change the stack I was using. This small blog post is describing how I found the ultimate jamstack solution that works really well for me.

  • Making Your Own Online Radio Server In Pure Node.js

    JavaScript is one really versatile and platform agnostic language. You can build anything you want with it. Admittedly, some things are easier than others. I enjoy finding some non-standard projects I could dive into, just for the fun of it.

    I often listen to a couple of online radio stations that I follow. I started wandering how difficult would it be to implement my own radio server. Well, I stopped thinking and decided to take some action. In this blog post I will show you what I've built.

  • Testing Node.js Serverless Applications - AWS Lambda Functions

    We are all aware of the importance of tests when trying to write maintainable and high quality code. It’s never easy to implement them, but it must be done nevertheless. With the rise of serverless architecture new challenges arrive. We now have functions that run in an environment we don’t have control of.

    In this blog post I’m going to show you several ways to make testing serverless applications a little bit easier. I’m going to focus on AWS, as it is one of the most popular cloud providers at this moment, and I’m going to write the code in Node.js since it is one of the most commonly used languages for serverless apps.

  • Working With Node.js Streams

    The Node.js stream API has evolved significantly since it was first introduced in 2009. The constantly evolving API creates confusion around the various interfaces that exist.

    In this blog post I will try to explain what types of streams there are and what is the best way utilize them.