Overlapping text chunker for RAG pipelines
An overlapping text chunker in Go using the stdlib iter package, without cutting words in half.
Hello and welcome to my corner of the internet. Here I talk a bit about myself and my work as a programmer, discuss technology, and I’ve also written some articles and tutorials that might be useful for those who, like me, love this world of bits and transistors. Working with computers isn’t just a passion—it’s also what has paid the bills ever since I can remember. Hope you enjoy it.
:wq
An overlapping text chunker in Go using the stdlib iter package, without cutting words in half.
Combining terminal password input, encryption at rest, and a SQLite snapshot into a vault that lives in RAM and exists on disk only as an encrypted blob.
Running SQLite entirely in memory and taking a snapshot of the database bytes with serialize/deserialize, using the modernc.org/sqlite driver.
Encrypting data at rest with nothing but Go's standard library: PBKDF2 to derive the key from the password and AES-256-GCM to encrypt and authenticate.
Reading passwords in the terminal in Go without echo and with confirmation on first use, using golang.org/x/term.
A Go reimplementation of the classic Neko: transparent window, original sprites, sound, and a cat that chases the cursor across the screen.
SQLite triggers to automate actions like updating timestamps
Recursive Go function to access values in nested maps
The classic /etc/rc.local still works even after 40 years of obsolescence.
How to configure and run an SFTP/WebDAV server using Go (sftpdav). Check out practical examples, security tips, and how to leverage standard libraries for building robust and …
Create and manage an encrypted container to securely protect passwords, keys, and other sensitive data in a practical way without sacrificing performance
LQS: a practical tool for testing and debugging SQL. It allows integrating metadata, Lua scripts, and auxiliary queries to optimize your workflow and detect errors early.