(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/bash | |
| # Uses a PID file to add daemon-like behavior to an arbitrary program. | |
| ################################################################################ | |
| usage() { | |
| echo "Usage: `basename $0` PROGRAM {start|stop|restart|force-stop|force-restart|status} [PIDFILE|PID]" >&2 | |
| echo "Where: PROGRAM is an executable file." >&2 | |
| echo " PIDFILE is the file that contains (or will contain) the PID." >&2 | |
| echo " PID is a process id to use in place of a PIDFILE." >&2 | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/sh | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2 | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2.asc | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2.sha | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip.asc | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip.sha | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-src-0.4.0-alpha.tar.bz2 | |
| wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/w |
A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.
This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.
The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.