Tech Musings
Author

Tech Musings

Capturing thoughts and reflections while coding.

53
Articles
0
Likes
94
Views
0
Comments
Recent Articles

Latest from Tech Musings

53 recent articles
Tech Musings
Tech Musings
Feb 7, 2026 · Fundamentals

How to Clean and Convert a Chinese Poetry Dataset for RAG Projects

This guide explains how to clean a Chinese poetry corpus—removing special characters, filtering short entries, and converting traditional characters to simplified Chinese—using Python validation functions, batch file processing, and WSL‑based OpenCC conversion, then persisting the results as JSON.

Data cleaningJSONRAG
0 likes · 12 min read
How to Clean and Convert a Chinese Poetry Dataset for RAG Projects
Tech Musings
Tech Musings
Feb 3, 2026 · Backend Development

Why Go’s range Loop Can Slow You Down with Large Structs—and How to Fix It

In Go, using a range loop on slices of large structs implicitly copies each element, leading to significant performance loss, and modifying the loop variable does not affect the original slice; this article explains the copying behavior, benchmarks three loop styles, and offers practical guidelines to write fast and correct code.

Performancebenchmarkrange
0 likes · 9 min read
Why Go’s range Loop Can Slow You Down with Large Structs—and How to Fix It
Tech Musings
Tech Musings
Jan 29, 2026 · Databases

Mastering Redis 8 Vector Search: Indexing, Hybrid Retrieval, and Re‑ranking Techniques

This article explains how to use Redis 8.4.0 for vector recall and keyword filtering, covering index selection (FLAT vs HNSW), schema creation with redisvl, full‑text BM25 search, pure KNN vector queries, hybrid text‑plus‑vector retrieval, query cleaning, score fusion, and optional in‑Redis Lua re‑ranking or TAG‑based filtering extensions.

Pythonindexingvector search
0 likes · 15 min read
Mastering Redis 8 Vector Search: Indexing, Hybrid Retrieval, and Re‑ranking Techniques
Tech Musings
Tech Musings
Jan 16, 2026 · Backend Development

Unlock Go’s New SIMD API: Boost Performance with GOEXPERIMENT=simd

This article explains the motivation behind adding SIMD support to Go, describes the two‑level design of the experimental simd/archsimd package, provides step‑by‑step configuration and code examples for common data‑processing tasks, and presents benchmark results that show up to nearly nine‑fold speedups without extra memory allocations.

GOEXPERIMENTGoPerformance
0 likes · 17 min read
Unlock Go’s New SIMD API: Boost Performance with GOEXPERIMENT=simd
Tech Musings
Tech Musings
Jan 11, 2026 · Mobile Development

What I Learned Building a WeChat Mini Program as an Indie Developer

A solo developer recounts the surprising hurdles of creating a WeChat mini‑program—from domain registration and residence‑permit verification to platform account splits, framework choices between Taro and Uni‑app, and the unexpected smoothness of the final review.

Identity verificationTaroWeChat Mini Program
0 likes · 6 min read
What I Learned Building a WeChat Mini Program as an Indie Developer
Tech Musings
Tech Musings
Jan 2, 2026 · Information Security

Why MongoDB’s CVE‑2025‑14847 Lets Attackers Leak Secrets Like Heartbleed

The article explains the CVE‑2025‑14847 MongoDB vulnerability, detailing how crafted BSON with a falsified document length triggers memory over‑read, demonstrates a reproducible PoC, compares it to the SSL Heartbleed bug, and offers mitigation advice for affected deployments.

CVE-2025-14847HeartbleedMemory Leak
0 likes · 8 min read
Why MongoDB’s CVE‑2025‑14847 Lets Attackers Leak Secrets Like Heartbleed