How to document a project with MkDocs 📹

Hello, Welcome my third video tutorial, this time, on how to get started with MkDocs. In this video I try to give you a basic overview of MkDocs and a configuration consisting of the material theme and search plugin. Config The MkDocs configuration used in the video. site_name: My Cool Project Documentation theme: name: material features: - search.suggest - search.highlight - content.tabs.link plugins: - search nav: - Introduction: "index.md" - Tutorial: - Tutorial Subsection: "pages/tutorial/tutorial_subsection....

October 16, 2021 · 2 min · Denis Nuțiu

💻Remote Desktop: logon attempt failed ⛔

Hi 👋 Have you ever tried to setup your Windows’s Remote Desktop functionality and failed with the following error message “logon attempt failed“, knowing that your credentials were correct and that you’re on the same Wi-Fi network with the computer you’re trying to access? Well, I did. Most of the solutions you’ll find on other blogs make you edit your Window’s registry, network settings and so on, which in my case was not needed, and it is somehow overkill....

October 8, 2021 · 1 min · Denis Nuțiu

Running Linux GUI Applications in Windows

Hi 👋, This is a quick tutorial on how to run Linux graphical interface application in Windows using X Server’s forwarding feature. The first step is to download and install the VcXsrv Windows X Server on your 💻 Windows machine. Then, start VcXsrv with the following configuration: Ensure that VcXsrv is not blocked in Windows Firewall, it should be allowed in Public and Private networks. You may also use more restrictive firewal settings as explained in /wsl-windows-toolbar-launcher#firewall-rules....

October 2, 2021 · 1 min · Denis Nuțiu

How to write parametrized tests in Python with pytest 🎥

Hi 👋 Welcome to another video tutorial on how to write parametrized tests in Python using pytest. If you want to follow along, here’s the code that I’ve tested in the video. from typing import List class Solution: def move_zeroes(self, nums: List[int]) -> None: last_zero = 0 index = 0 while index < len(nums): if nums[index] != 0: nums[last_zero], nums[index] = nums[index], nums[last_zero] last_zero += 1 index += 1 def main(): solution = Solution() arr = [1,0,1] solution....

September 30, 2021 · 1 min · Denis Nuțiu

fzf: A command-line fuzzy finder 🌸

Hi 👋, fzf is a command line tool that can be used to fuzzy search files, history, and command outputs. Check out the Github repository. This is a tool that I wish I’ve knew about earlier in my career, and for this reason I decided to blog about it. You can also set key bindings; some popular ones are: CTRL-T – Paste the selected files and directories onto the command-line...

September 22, 2021 · 1 min · Denis Nuțiu

Kafka Connect MongoDB Sink Connector

Hello 👋, In this article we’re going to build a data pipeline that connects Kafka to MongoDB. In short, we’re going to add a MongoDB Sink connector to a Kafka Connect cluster and run a MongoDB instance in Docker to test the connector. By reading this article I hope that you will learn How to install the MongoDB connector in Kafka Connect How to configure the MongoDB connector How to create topics in Kafka using Confluent Tools How to monitor Kafka Connect using JConsole....

September 19, 2021 · 6 min · Denis Nuțiu

Improving the throughput of a Producer ✈

Hello 👋, In this article I will give you some tips on how to improve the throughput of a message producer. I had to write a Golang based application which would consume messages from Apache Kafka and send them into a sink using HTTP JSON / HTTP Protocol Buffers. To see if my idea works, I started using a naïve approach in which I polled Kafka for messages and then send each message into the sink, one at a time....

August 28, 2021 · 4 min · Denis Nuțiu

AutoFixture in ASP.Net Core 🎥

Hello, 👋 This is my first video blog post in which I try to explain AutoFixture. Here’s the test case referenced in the video and the code repository for the Retroactiune project. I used the following packages in my project. <ItemGroup> <PackageReference Include="AutoFixture" Version="4.17.0" /> <PackageReference Include="AutoFixture.Xunit2" Version="4.17.0" /> </ItemGroup> Thanks for watching! 🙂

August 19, 2021 · 1 min · Denis Nuțiu

Computer Speakers 🔊

Hello, Yes, this post title is weird, but I want to take a moment to acknowledge that I’m very grateful for dad for buying these computer speakers and much more. In ~2002 my dad bought me my first computer, and at the same time a man approached us asking if we want to buy his second-hand speakers. I was about 5-6 years old at that time and I still remember the moment....

August 15, 2021 · 1 min · Denis Nuțiu

Sharding MongoDB using Range strategy

Hi 👋👋 In this article I will explore the topic of sharding a Mongo Database that runs on Kubernetes. Before we get started, if you want to follow along, please install the tools listed in the prerequisites section, and if you want to learn more about sharding, check out this fantastic article Sharding Pattern. Prerequisites Kubernetes Cluster & kubectl mongosh helm Introduction Let’s install a MongoDB instance on the Kubernetes cluster using helm....

August 8, 2021 · 7 min · Denis Nuțiu