Merge Conflict Logo
MERGE CONFLICT DIGEST
Saturday, September 6, 2025
Subscribe View Online
Web

Frontend Development 🎨

[NodeBook] The Event Loop Chapter I Wish I Had When I Started (37 minutes read)

Node.js's event loop is a core component managing asynchronous operations through I/O events, timers, and callbacks. The event loop consists of four phases: polling, check, timeouts/timers, and I/O callbacks. Microtasks execute after main execution, while garbage collection frees occupied memory. Understanding the event loop and its interactions is crucial for writing efficient Node.js applications.

Open Source Rule Engine (Repo)

A JSON-based rule engine that enables developers to express complex business logic in declarative configurations using TypeScript.

Accurate text lengths with Intl.Segmenter API (7 minutes read)

JavaScript's String object uses UTF-16 encoding, which combines multiple code units for human-readable characters, potentially leading to unexpected results with non-English characters or emojis. In contrast, Swift's String struct offers a count property that accurately reflects text length, using extended grapheme clusters. JavaScript can mimic this with Intl.Segmenter API.

API request logs and correlated application logs in one place (2 minutes read)

Apitally has introduced an application logs feature to capture log messages associated with API requests, enhancing troubleshooting capabilities. The opt-in feature can be enabled through a configuration option and instrumented common logging libraries to provide the full picture of request handling. Currently available on Starter and Premium plans for select languages.

Backend & APIs 🔧

Ergo Framework v3.1.0 Released (Repo)

An actor-based framework for creating event-driven architectures in Golang with network transparency, inspired by Erlang. It provides a zero-dependency solution for building distributed systems.

Building a High-Performance Concurrent Live Leaderboard in Go (17 minutes read)

A new leaderboard implementation offers concurrency safety, efficient score addition, and fast Top-N retrieval through its use of mutexes, RWMutexes, and data structures such as min-heap and max-heap. This design improves scalability by allowing shards to be distributed across multiple machines, enhancing reliability and reducing the risk of a single shard becoming overwhelmed with scores.

Simpler & Faster Concurrent Testing With testing/synctest (9 minutes read)

The article discusses using `testing/synctest` to enhance concurrent test reliability in Go. A flaky interval test is introduced, which passes or fails randomly due to short time intervals and code changes slowing it down. The package simplifies testing with features like a fake clock that only moves forward when all goroutines are blocked.

go-yaml/yaml has been forked into yaml/go-yaml (Repo)

A maintained fork of the popular YAML parser written in Go, providing a reliable YAML serialization and deserialization solution.

Learning and Resources 📚

Exploring the Dominion of Anoma (10 minutes read)

Anoma, a distributed operating system, enables entities to operate under its governance, shaping its evolution through collective input. In a community setting, Anoma's protocols facilitate problem-solving by allowing members to interact, share resources, and utilize custom keyspace pathing. The interplay between chambers (clients) and courts (nodes) is crucial, with each playing distinct roles. Identity, research questions, and court designs are also explored, highlighting Anoma's potential for synergies and growth. By examining these aspects, the article offers a realistic view of how Anoma can drive community development through decentralized cooperation and mutual support among its stakeholders.

Browser & Platform 🌐

Native UI vs. web UI: How to choose (9 minutes read)

Developing a native desktop application or a web UI app has its pros and cons. Native apps offer fine-grained control over user experience but require more development effort. Web UI apps leverage existing ecosystem components, are generally easier to implement, and provide conveniences without sacrificing performance, making them a viable alternative for many use cases.

Exploring the browser rendering process (16 minutes read)

The browser rendering process is an intricate system that transforms a webpage from its initial load to the final rendered output on screen. From DNS lookup to painting pixels, each step builds upon the previous one, creating a complex yet elegant system. Understanding this process can help developers build faster, more efficient websites efficiently.

Published by Merge Conflict Digest