How can a wrapping Publisher operator also conform to ConnectablePublisher only when the upstream publisher does?

Summary The problem revolves around creating a wrapping Publisher that conforms to ConnectablePublisher conditionally, based on the behavior of the upstream publisher. This requires a nuanced approach since the standard wrapper does not accommodate conditional connectability. The solution involves using inner classes to maintain mutable data secretly within a structure, allowing for dynamic adjustment of … Read more

Office-JS Word Add-in extremely slow when inserting 90k+ soft hyphens (>300 page document)

Summary The Office-JS Word add-in is experiencing extreme performance issues when inserting 90,000+ soft hyphens into a large document (~300-350 pages). The current implementation, which uses insertText and getOoxml/insertOoxml, is slow and inefficient, taking around 60-100 minutes to complete. The goal is to achieve this task in under a few minutes or seconds without breaking … Read more

16KB memory page size Flutter

Summary The issue at hand is related to the 16KB memory page size requirement for Android apps, which is causing compatibility issues with older Android versions, such as Android 12. The app is built using Flutter and is being uploaded to the Google Play Store. Despite attempts to update Gradle and YAML configurations, the issue … Read more

File Upload issue in NestJs

Summary The issue encountered is related to file upload in a NestJS application, where the @UploadedFile() decorator returns undefined. This problem occurred when attempting to upload multiple files and then simplified to a single file upload, with the same undefined result. Root Cause The root cause of this issue lies in the way the file … Read more

I want advice on “how to parse any file using python/java/c?”

Summary When dealing with parsing files in programming, choosing the right approach is crucial for efficiency and reliability. The decision to build a custom parser or use existing libraries depends on several factors, including the type of file, availability of libraries, and the programming language being used. Understanding the file format and evaluating available libraries … Read more

PIM Core upgrade version 6.9 to 10x

Summary Upgrading Pimcore from version 6.9 to 10.x can be a complex process, involving multiple steps and potential breaking changes. The official documentation provides a foundation, but additional changes such as deprecation and outdated packages may require extra attention. This article aims to guide you through the process, highlighting key considerations and lessons learned from … Read more

Integration with SEFAZ for NF-e issuance

Summary The integration with SEFAZ for NF-e issuance is a critical component of a complete enterprise system in Brazil, and it requires a deep understanding of the XML format and the Node.js ecosystem. To start this integration, it’s essential to find reliable sources of information and understand the technical requirements of the project. Root Cause … Read more

Should I log exceptions when raising or when catching?

Summary When dealing with exceptions in programming, a common dilemma arises: where to log the exception. The two primary options are logging the exception when it is raised or when it is caught. Understanding the trade-offs between these approaches is crucial for effective error handling and logging. Root Cause The root cause of this dilemma … Read more

crypto/fips140: Documentation request for FIPS 140-3 approved algorithm parameters

Summary The Go Cryptographic Module is in the process of obtaining FIPS 140-3 validation, and as part of this process, it’s essential to document the approved algorithm parameters. This documentation is crucial for organizations to verify that their applications use compliant algorithm configurations. The request is for a list of approved parameters for each algorithm, … Read more