Data preparation for machine learning

Summary The task of preparing a dataset for machine learning involves several crucial steps, including handling missing values and following standard practices to ensure the quality and reliability of the data. In this article, we will discuss the key aspects of data preparation, the common pitfalls, and the best approaches to achieve a robust and … Read more

Docker fails to pull image from GHCR on AWS EC2: failed to resolve reference / timeout on https://ghcr.io/v2/

Summary The issue at hand is Docker failing to pull an image from GitHub Container Registry (GHCR) on an AWS EC2 instance. The error message indicates a timeout when attempting to access the GHCR URL. Despite successful DNS resolution, HTTPS connectivity to GHCR appears to be the point of failure. Root Cause The root cause … Read more

WiX dual-purpose .msi package won’t create system-wide start menu shortcuts

Summary The issue at hand is related to creating a dual-purpose .msi package using WiX that can be installed either in the per-user or per-machine context. The package is set to perUserOrMachine, which sets ALLUSERS=2 and MSINSTALLPERUSER=1. However, when trying to create system-wide start menu shortcuts, they are always created in a subdirectory of C:\Users\\AppData\Roaming\Microsoft\Windows\Start … Read more

JsonPath nested conditions

Summary The issue at hand is related to JsonPath queries, specifically when trying to find a single ‘approvalInfo’ where Luke Skywalker is one of the approvers in a nested JSON structure. The challenge lies in crafting a generic JsonPath query that can correctly identify the desired ‘approvalInfo’ without specifying the exact array index of the … Read more

Is setInterval still inaccurate in modern browsers (2026)?

Summary The question of whether setInterval is still inaccurate in modern browsers has been a topic of discussion. A test was conducted using Chromium 145.0.7632.18, which showed that setInterval remained 99% accurate after 30 minutes. This raises the question of whether setInterval is truly inaccurate. Root Cause The root cause of setInterval inaccuracy can be … Read more