How to install HP LaserJet 107a Drivers on Linux

Hello everyone! 👋 I’ve recently installed Fedora on my main PC and I wanted to write this post to serve me as a memo on how to install the HP LaserJet 107 printer driver. The driver should also be compatible with the following products and generally HP’s LaserJet 100 printer series. HP LaserJet 107a HP LaserJet 105a HP LaserJet 103a Installing the Drivers Installing the drivers requires Python3 available on your system if I remember correctly, it should be already available on Fedora and Ubuntu. ...

February 21, 2024 · 2 min · Denis Nutiu

My experience with BambuLab A1 and 3D printing

Introduction Hello everyone, 👋 This is my first post of 2024, and ever since I’ve started the blog in ~2018, I’ve had engineering Programming, Cloud and Engineering! 👨‍🔬; in the blog’s description. 😄 I made a few posts related to “engineering” other than Software Engineering. In 2018, I was still studying computer science and engineering at UPT, and I was fascinated by the Electrical Engineering courses. I figured that I’d write blog posts about circuit analysis techniques such as Ohm’s Law, Thévenin’s Theorem, Mesh Analysis, and so on. ...

February 4, 2024 · 4 min · Denis Nutiu

Implementing cat with Kotlin Native

Introduction Hello! 👋 In this article we’ll implement the cat command utility which is used in many Unix like systems like Linux and macOS. To implement it, we’ll use kotlin and to drop the Java Virtual Machine (JVM). We’ll build a binary directly with Kotlin Native. In the end, we’ll get an executable that we can simply run on our Linux or macOS box. What is cat? The catutility which has purpose of concatenating files. You can use it by typing cat file.txt and it will output the contents of the file into the terminal. It also has more options like: usage: cat [-belnstuv] [file ...] which are documented in the manual pages. ...

December 24, 2023 · 6 min · Denis Nutiu

Learning Kotlin

Introduction Hello everyone! 👋 The year of 2023 has come closely to an end, and I want to write a short article about my experience with Kotlin and what other programming languages I’ve tried this year. Outside work, I like experimenting with new programming languages and technologies. I don’t usually build side projects in the languages and frameworks that I use full time at work because I don’t find it fun. I like to learn new things. ...

December 11, 2023 · 4 min · Denis Nutiu

ncdu: NCurses Disk Usage

Hello everyone! 👋 This is a short article about a handy tool called ncdu. The tool helps you delete files and directories from your filesystem. I use it daily to clear junk files from my workstation and the servers that I’m working on. 🧹 The way it works is quite simple: Navigate to the directory you want to clean and type ncdu. Select and delete files and directories. Be cautious ⚠️ with what you’re deleting. Once you delete a file, it’s gone for real. 🗑️ ...

December 11, 2023 · 1 min · Denis Nutiu

Idempotency in Your API

Introduction Idempotency is a crucial property in the world of APIs, ensuring that operations can be applied multiple times without changing the result. In this post, we’ll explore six effective strategies to achieve idempotency in your API, drawing inspiration from real-world examples and distributed systems principles. Idempotency Explained The light switch analogy is often used to explain idempotence. Consider a light switch in a room. The operation of turning the light switch on or off is idempotent. If the light is initially off and you flip the switch to turn it on, flipping it again won’t turn the light off again—it stays on. ...

November 11, 2023 · 4 min · Denis Nutiu

Windows Task Scheduler - Quick Start

Introduction Hello everyone 👋, This is a quick post about the windows task scheduler, if you’re a Software Developer using Windows the task scheduler is a great tool to automate tasks. I see it as a combination of cron and systemd (if you’re a Linux user you know what I’m talking about). For my personal use case, I use the task scheduler to download more images from the internet to improve a machine learning model used to classify images. To download the images I use a simple Python script and a batch file to run the script. ...

November 11, 2023 · 3 min · Denis Nutiu

Project Showcase: Image Tagging

Hello there 👋, This is a showcase of a project I’ve been working on for the past weeks. It’s a simple cross-platform desktop application that allows you to tag images using a machine learning model that I’ve trained. It is written in C# using Avalonia UI, and it uses the FastAI library for the machine learning part, the model is then converted to ONNX. The application is available for Windows, Linux and MacOS. ...

September 12, 2023 · 1 min · Denis Nutiu

Convert a FastAI model to ONNX and CoreML

Hello there 👋, In this post, I will show you how to convert a FastAI model to ONNX and CoreML. Convert a FastAI model to Pytorch Before we can convert the model to ONNX format or CoreML, we need to convert it to Pytorch first. This is a simple process. Assuming that the model is trained, we need to call torch.save to export the model: 1 2 3 4 5 from fastai.vision.all import * # learn is your FastAI Learner torch.save(learn.model, "/models/model.pth") Convert a FastAI model to ONNX ONNX is a standard for machine learning models. It allows you to convert a model from a framework like PyTorch or TensorFlow to its format in order to be used in different runtimes, for exampl Windows, Android, Linux, MacOS and iOS and from various programming languages like C#, C++, Java, JavaScript and Python. ...

August 20, 2023 · 3 min · Denis Nutiu

Tracing Node.js APIs with OpenTelemetry

Hello everyone 👋, In this article, we’ll instrument a simple Node.js API with OpenTelemetry traces. OpenTelemetry is the new standard for distributed tracing and metrics. Trace data is used to monitor and troubleshoot complex distributed systems. At the end of this article, we’ll have a Node.js API that is instrumented with OpenTelemetry and we’ll be able to see the traces in Grafana Tempo: The API Let’s start by setting up our NodeJS project by installing the dependencies: ...

August 7, 2023 · 9 min · Denis Nutiu