How to Clear Emacs Elfeed Database
Elfeed (RSS reader for Emacs) was showing way too many old entries. Here’s how to clear it. The Problem Thousands of old RSS entries cluttering my elfeed buffer. Search was slow, scrolling was ...
Elfeed (RSS reader for Emacs) was showing way too many old entries. Here’s how to clear it. The Problem Thousands of old RSS entries cluttering my elfeed buffer. Search was slow, scrolling was ...
Emacs was taking forever to start. Found the built-in profiler to track down the culprit. The Commands M-x profiler-start # Do the slow thing (restart Emacs, open files, etc.) M-x profiler-repo...
Spent an hour debugging why my S3 bucket policy changes weren’t working. Turns out: browser cache. The Problem Changed S3 bucket policy to make a file public. Tested in Chrome. Still getting 40...
Been looking into rate limiting for calling third-party APIs. Two main algorithms keep coming up: Leaky Bucket and Token Bucket. Here’s what I learned. The Problem Calling external APIs without...
Been thinking about my default Go project setup. Here’s what I’m settling on. The Stack Database: sqlc Generates type-safe Go code from SQL No ORM magic, just SQL Compile-time safety T...
Confused moment: Doom Emacs org +present module doesn’t use the org-present package. It uses org-tree-slide-mode instead. The Confusion Saw the +present flag in Doom’s org module config. Assume...
Table of Contents Mar 16 Generic types support Fuzz is build-in support workspace is supported Mar 16 Go 1.18 released Generic types support tutorial fu...
vim 下想实现code中 function/class 等 definition跳转. 比较简单的方法就是使用ctags 分析代码, 然后根据生成的tags table文件, 来做code index 的定位. 目前比较流行的 code definition/references 查询是LSP, 需要架设一个 language service backend, 与之通信. 这里先记录下使...
UUID v1 embeds timestamps. Here’s how to extract them in PostgreSQL for time-based sharding. The Problem Sharding databases by time is common. UUID v1 contains timestamp data, but it’s encoded ...