eval(substitute()) within a R6 object

Summary The issue at hand is using eval(substitute()) within an R6 object to evaluate an expression. The problem arises when trying to use basic operators like ==, +, etc., which are not defined within the object’s environment. This leads to errors, as seen in the example provided. Root Cause The root cause of this issue … Read more

Monorepo + AI tools (Copilot, Cursor): does having full codebase context provide real advantages in practice?

Summary The use of monorepos in conjunction with AI-assisted development tools like GitHub Copilot or Cursor has the potential to provide significant advantages in practice. By having full codebase context, these tools can access the entire system, including contracts, types, and usages, which can lead to improved refactors, consistency, and reusability. Root Cause The root … Read more

Backend for Frontend (BFF) – Spring Boot vs Node JS

Summary The decision to use Spring Boot or Node.js for a Backend for Frontend (BFF) layer in a web application architecture involves weighing the pros and cons of each technology. Key considerations include security, performance, and development complexity. While Node.js is a popular choice for BFFs due to its fast development cycle and lightweight nature, … Read more

Global AsyncClient Reuse Best Practices

Summary The use of a global AsyncClient in Python 3.14 for making HTTP requests can be optimized for better performance and parallelism. This article discusses the best practices for reusing a global httpx client, especially when dealing with Celery workers and FastAPI. Key considerations include event loop management, parallelism, and IO blocking. Root Cause The … Read more

Add saving directly to SharePoint online from Adobe, need admin approval

Summary The issue at hand involves a user attempting to save files directly to SharePoint Online from Adobe Acrobat, but encountering a prompt requiring admin approval. To resolve this, an administrator must navigate to the Azure portal, locate the Adobe Acrobat application under Enterprise Applications, and then manage its permissions. A specific button related to … Read more

Why does variable expansion behave differently with sudo -i compared to nested bash -c?

Summary The behavior of variable expansion in bash differs when using sudo -i compared to nested bash -c commands. This discrepancy can lead to unexpected results, especially when dealing with variable expansion and escaping. Understanding the root cause of this difference is crucial for writing reliable shell scripts. Root Cause The root cause of this … Read more