Skip to content

Instantly share code, notes, and snippets.

View zachwill's full-sized avatar

Zach Williams zachwill

View GitHub Profile
@ggoodman
ggoodman / review-feedback.ts
Created May 4, 2026 14:41
Pi /feedback extension for adding surgical comments on agent-produced novellas.
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
import { spawnSync } from "node:child_process";
import { randomUUID } from "node:crypto";
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
import { tmpdir } from "node:os";
import { basename, join } from "node:path";
const PLACEHOLDER = "[Review feedback]";
const CUSTOM_PENDING = "review-feedback-pending";
const CUSTOM_RESOLVED = "review-feedback-resolved";

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.

@sshh12
sshh12 / slack-system-design-reverse-engineered.md
Last active April 4, 2026 05:29
A reverse-engineered system design of Slack's web application, built from live network traffic analysis of the authenticated Enterprise Grid experience. 200+ API calls captured across boot, search, messaging, reactions, and navigation. Every backend service named.

Slack System Design: A Grounded Teardown

A reverse-engineered system design of Slack's web application, built from live network traffic analysis of the authenticated Enterprise Grid experience. 200+ API calls captured across boot, search, messaging, reactions, and navigation. Every backend service named.

Architecture Overview

┌─────────────────────────────────────────────────────────────────────────────┐
│  BROWSER (Gantry v2 SPA)                                                    │
│                                                                             │
@VictorTaelin
VictorTaelin / hvm4_pretty_printer_prompts.md
Created December 18, 2025 22:15
Opus 4.5 vs Codex 5.2 - complete HVM4's pretty printer

https://x.com/VictorTaelin/status/2001777678765129832

Opus 4.5 - chat log

 * ▐▛███▜▌ *   Claude Code v2.0.72
* ▝▜█████▛▘ *  Opus 4.5 · Claude Max
 *  ▘▘ ▝▝  *   ~/vic/dev/hvm4-claude

> # Task 1: print unscoped lambdas and floating dups with matching names
@ngxson
ngxson / FAQ.md
Last active August 5, 2025 17:29
convert ARM NEON to WASM SIMD prompt

Why did you do this?

Relax, I only have one Sunday to work on idea, literally my weekend project. So I tried Deepseek to see if it can help. Surprisingly, it works and it saves me another weekend...

What is your setup?

Just chat.deepseek.com (cost = free) with prompts adapted from this gist.

Does it work in one-shot or I have to prompt it multiple times?

@mohiwalla
mohiwalla / fw-672.json
Created January 18, 2025 16:37
List of font-awesome 6.7.2 free icons
[
"fa-classic fa-solid fa-0 fa-fw",
"fa-classic fa-solid fa-1 fa-fw",
"fa-classic fa-solid fa-2 fa-fw",
"fa-classic fa-solid fa-3 fa-fw",
"fa-classic fa-solid fa-4 fa-fw",
"fa-brands fa-42-group fa-fw",
"fa-classic fa-solid fa-5 fa-fw",
"fa-brands fa-500px fa-fw",
"fa-classic fa-solid fa-6 fa-fw",
@willmcgugan
willmcgugan / mother.py
Created September 2, 2024 14:09
Aliens AI
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "llm",
# "textual",
# ]
# ///
from textual import on, work
from textual.app import App, ComposeResult
from textual.widgets import Header, Input, Footer, Markdown
@pamelafox
pamelafox / chatreadretrieveread.py
Created November 7, 2023 20:21
Chat approach with additional function call
import json
import logging
import re
from typing import Any, AsyncGenerator, Optional, Union
import aiohttp
import openai
from azure.search.documents.aio import SearchClient
from azure.search.documents.models import QueryType
@freekrai
freekrai / Readme.md
Last active September 29, 2024 16:02 — forked from AceCodePt/hx-astro-view-transition.js
htmx-astro-view-transition

Add it to the body

<body hx-ext="hx-astro-view-transition">

An example

@veekaybee
veekaybee / normcore-llm.md
Last active May 9, 2026 15:40
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models