Locking NFC Tag as read only

Summary The locking of NFC tags as read-only is a critical aspect of ensuring the security and integrity of the data stored on these tags. In this article, we will explore the root cause of why locking NFC tags is essential, the real-world impact of failing to do so, and provide an example of how … Read more

Make Playwright MS Edge screenshots stable and platform independent

Summary To achieve stable and platform-independent screenshots with Playwright MS Edge, it’s crucial to understand the factors affecting font rendering. Font rendering variations can lead to differences in screenshots between runs on the same machine and between different machines. Root Cause The root cause of the issue is attributed to: Font rendering differences due to … Read more

“Aggregate functions are not allowed in recursive common table expression” – but actually, they are?

Summary Recursive Common见到了 Table Expressions (CTEs) in SQL Server prohibit aggregate functions (MAX, SUM), TOP, or GROUP BY in the recursive term (the part referencing the CTE). However, a workaround using UNION ALL with an empty set (e.g., WHERE 1=0) unexpectedly bypasses this restriction. This post explores why the restriction exists, why the work parfoisaround … Read more

Android Java + Lombok + Kotlin

Summary A Java class using Lombok’s @Data annotation was converted to Kotlin, causing compilation errors because Kotlin code couldn’t access Lombok-generated getters/setters. Adding kapt for Lombok alone was insufficient due to build-process conflicts between Java/Kotlin annotation processing. Root Cause The error occurs due to toolchain misconfiguration: Lombok generates Java bytecode (getters/setters) during Java compilation. Kotlin … Read more

Can’t download any Visual Studio extensions (on different networks)

Summary The issue of being unable to download any Visual Studio extensions on different networks is a frustrating problem that can hinder development productivity. Key symptoms include the VS Installer showing loading icons eternally and the inability to update Visual Studio even after unchecking extensions. The Install button remains unavailable, and attempting to download the … Read more

App Review Stuck in ‘Waiting for Review’ When Integrating Google SignIn and IronSource SDK Together, but Works Fine Individually

Summary The issue at hand involves an iOS app that integrates GoogleSignIn and IronSourceSDK for login and in-app advertisements, respectively. When submitted for review with both integrations, the review process becomes stuck at “Waiting for Review”. However, when each integration is submitted individually, the review process completes without issues. Root Cause The root cause of … Read more

Is it acceptable for Application Command Handlers to depend on Symfony framework interfaces in a CQRS / Hexagonal architecture?

Summary The question revolves around whether it’s acceptable for Application Command Handlers to depend directly on Symfony framework interfaces in a CQRS (Command Query Responsibility Segregation) and Hexagonal Architecture. Two approaches are presented: Option 1 (Pragmatic Symfony), where command handlers depend on Symfony interfaces, and Option 2 (Strict Hexagonal / Port + Adapter), which introduces … Read more

Does anybody know the exact storage limits or a workaround for running large datasets on Google Colab T4 instances?

Summary The issue at hand is the limited storage capacity of Google Colab T4 instances, which poses a significant challenge when working with large datasets like the NIH Chest X-ray 14 dataset. The dataset’s size (~42GB compressed) exceeds the available disk space on a standard T4 instance, causing storage issues during the extraction process. Root … Read more

How to handle Moment.js, GSAP, jQuery UI, and Bootstrap in PrestaShop without breaking updates?

Summary A PrestaShop 8.2.3 deployment triggered security alerts for outdated JavaScript libraries (Moment.js, GSAP, jQuery UI, Bootstrap) bundled with core/modules. These dependencies cannot be directly modified without risking system stability due to PrestaShop’s dependency management constraints. Updating them requires controlled strategies to avoid breaking core functionality while mitigating vulnerabilities. Root Cause Tight coupling with core/modules: … Read more