LaTeX Template for book with twoside header and variables

Summary The task at hand involves creating a LaTeX template for a book with a twoside header and variable content, including Japanese text and images. The goal is to achieve a specific design where the left page has a header with numbering and two right-aligned headlines, and the right page has two left-aligned headlines with … Read more

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

stream().map and ReferencePipeline.java

Stream Internals Deep Dive: Unraveling stream().map and ReferencePipeline.java Summary A developer encountered opacity in Java’s Stream API internals, specifically regarding the execution path of stream().map(). Despite consulting multiple resources (AI, books, courses), they found superficial explanations lacking insight into core classes like ReferencePipeline, Sink, and Spliterator. This highlights crucial gaps in mainstream Java education regarding … Read more