Discover gists
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| /*Function({pattern: 'catgirl', fromMe: true}*/ | |
| function _0x2645(_0x4b8654,_0x54f7e5){const _0x26be64=_0x46a7();return _0x2645=function(_0x4cb39f,_0x203c56){_0x4cb39f=_0x4cb39f-(-0x1*-0x327+0x9*-0x265+0xa3*0x1f);let _0x120cd6=_0x26be64[_0x4cb39f];return _0x120cd6;},_0x2645(_0x4b8654,_0x54f7e5);}const _0x113da5=_0x2645;function _0x46a7(){const _0x27ae68=['../lib/','Anime','48PEJnPd','chat','.*)','vKnOR','34IRFrIq','catgirl\x20?(','erAUm','cs/sfw/nek','anime','10vCaTdb','sendMessag','11573199hatnpT','5980672gqwizK','1191617kthFsO','https://ap','Mᴇᴏᴡ!\x0a\x0a*_©','18PUKyEv','i.waifu.pi','\x20ɪʀᴏɴᴍᴀɴ_*','9612549TkKcwp','104121VvCvqM','CpYKF','18394CmEdZa','4852295DQIiBV','client'];_0x46a7=function(){return _0x27ae68;};return _0x46a7();}(function(_0x155f20,_0x3b4228){const _0x40be2f=_0x2645,_0x10d9fd=_0x155f20();while(!![]){try{const _0x3e9fdc=-parseInt(_0x40be2f(0x158))/(-0x2bd*-0x1+-0x1b65+0x18a9)*(parseInt(_0x40be2f(0x161))/(0x97*-0xc+0xe4c+0x2*-0x39b))+parseInt(_0x40be2f(0x171))/(0xb85*-0x3+0x4*0x215+0x1a3e)*( |
| -- Two dashes start a one-line comment. | |
| --[[ | |
| Adding two ['s and ]'s makes it a | |
| multi-line comment. | |
| --]] | |
| ---------------------------------------------------- | |
| -- 1. Variables and flow control. | |
| ---------------------------------------------------- |
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
| #!/bin/bash | |
| # Enables `claude --chrome` to work from WSL2 with Windows-installed Chrome | |
| # Run this from inside your WSL2 distro | |
| # | |
| # This script was written by Claude, see the following link for more info: | |
| # https://github.com/anthropics/claude-code/issues/14367#issuecomment-3927349991 | |
| # | |
| # The script will: | |
| # - Auto-detect Windows username, WSL distro, Chrome profile, and claude binary | |
| # - Create the real directory + Extensions symlink for detection |
This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.
Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.
