Skip to content

Instantly share code, notes, and snippets.

View jcoding09's full-sized avatar
🌴
I may be slow to respond.

jcoding09

🌴
I may be slow to respond.
View GitHub Profile
@jcoding09
jcoding09 / llm-wiki.md
Created April 4, 2026 17:52 — forked from karpathy/llm-wiki.md
llm-wiki

LLM Wiki

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.

The core idea

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.

@jcoding09
jcoding09 / amazon.md
Created March 29, 2025 13:58 — forked from terabyte/amazon.md
Amazon's Build System

Prologue

I wrote this answer on stackexchange, here: https://stackoverflow.com/posts/12597919/

It was wrongly deleted for containing "proprietary information" years later. I think that's bullshit so I am posting it here. Come at me.

The Question

Amazon is a SOA system with 100s of services (or so says Amazon Chief Technology Officer Werner Vogels). How do they handle build and release?

@jcoding09
jcoding09 / save-work-function.js
Created March 27, 2024 03:37 — forked from dfkaye/save-work-function.js
Saving your console work in the browser, using one of two approaches.
// 22 July 2022
// Save() function for saving your console script experiments.
// See the long explanation on this gist at
// https://gist.github.com/dfkaye/d3c7d0d59cb03616ad2eee8eec1141a5#file-save-your-console-work-js
// Save() takes an array of script functions and fragments,
// and prints them as a single text block to the console,
// and attempts to download the text block to your browser's
// downloads folder.