Eigen3, setup for Macos and cmake, to compile the CGAL Samples

Summary The issue arises because the Eigen3 package installed via Homebrew is configured as keg-only, meaning it is not automatically linked into the standard system paths (like /usr/local/lib or /usr/local/include) to avoid conflicts with other software. Consequently, CMake cannot locate the Eigen3 configuration files unless explicitly guided. The fix involves setting the Eigen3_DIR variable to … Read more

Publishing a VS Code Extension isn’t free anymore?

Summary The issue at hand is related to publishing a VS Code extension to the marketplace, which now seems to require a paid Azure account. The developer is facing difficulties in creating a personal access token due to the new requirements, which include providing card details and upgrading to a pay-as-you-go account. Root Cause The … Read more

Auto-generated GRPC classes aren’t accessible as source folders in EclipseIDE, but exist

Summary The developer was unable to reference generated GRPC classes from the build/generated/sources/proto/main/grpc folder within the Eclipse IDE, despite them being present on the filesystem. Gradle’s compileJava task worked fine. The root cause was a race condition between the Gradle Eclipse plugin configuration and the Eclipse Buildship plugin, where Buildship’s default import logic overwrote the … Read more

When should git rebase be avoided in a shared repository?

Summary Git rebase can be a powerful tool for maintaining a clean commit history, but it can be dangerous in a shared repository. When working in a team environment, it’s essential to understand the risks of rebasing and the potential impact on collaborators’ history. In this article, we’ll explore the best practices for using git … Read more

ISTIO – Virtual service to virtual service routing

Summary A common misconfiguration occurs when attempting to route traffic directly from one Istio VirtualService (VS) to another by referencing the downstream VS’s hostname in the upstream VS’s destination. This pattern results in no healthy upstream 503 errors because the upstream VirtualService does not “call” the downstream VirtualService; it only resolves to Kubernetes Services or … Read more

Openpyxl deletes all cells values and styles that are below my inserted values

Summary The issue occurs because inserting rows shifts existing row indices downward, but the code continues to write to the original, calculated indices. In openpyxl, inserting rows at a specific point physically moves existing rows down to make space. Data written to the original row numbers after insertion overwrites what used to be there or … Read more

Python: find strings with longest common prefix

Summary A developer asked for a “simple” Python solution to find strings in a list that share the longest common prefix with a given input string. While simple one-liners exist, they hide catastrophic performance pitfalls and memory exhaustion risks in production environments. The core task requires comparing an input string against a list of candidates … Read more