| Value | Color |
|---|---|
| \e[0;30m | Black |
| \e[0;31m | Red |
| \e[0;32m | Green |
| \e[0;33m | Yellow |
| \e[0;34m | Blue |
| \e[0;35m | Purple |
Discover gists
| <?php | |
| // uuidv7 see https://www.rfc-editor.org/rfc/rfc9562#name-uuid-version-7 | |
| function uuidv7() { | |
| // current timestamp in ms | |
| $timestamp = intval(microtime(true) * 1000); | |
| return sprintf( | |
| '%02x%02x%02x%02x-%02x%02x-%04x-%04x-%012x', | |
| // first 48 bits are timestamp based |
| #!/bin/sh | |
| # GL.iNet GL-MG1300 (Mango 2) factory country-code editor. | |
| # Verified layout: firmware 4.10.1, factory = 64 KiB, country offset = 0x4088. | |
| # Other firmware is accepted only if its device tree confirms the same layout. | |
| # | |
| # Usage: | |
| # sh mg1300-region.sh # show current running region | |
| # sh mg1300-region.sh --list # show potential country codes | |
| # sh mg1300-region.sh DE # inspect / dry run | |
| # sh mg1300-region.sh DE --write # back up, write, verify |
A hands-on one semester course where students build their own compiler from scratch, starting from elementwise programs and ending with training SOTA LLMs on GPUs. This course aggressively builds on the previous week, and is an exercise in slop management. If you let any slop in early, it will compound and you will not finish the class.
Course description: This course covers the design and implementation of a modern machine learning compiler, and examines the interaction between IR design, hardware capabilities, and the structure of machine learning programs. Topics covered include term rewriting, code generation, movement operators, kernel fusion, memory hierarchies, GPU architecture, automatic differentiation, and flash attention. It is a project course, providing experience with performance-oriented programming, managing a codebase that grows all semester, and working in 1 or 2 person teams, culminating in a compiler capable of training modern LLMs.
Prerequisites: This c
| GIMP Palette | |
| Name: Gruvbox dark | |
| Columns: 50 | |
| 40 40 40 bg | |
| 146 131 116 gray | |
| 168 153 132 gray | |
| 235 219 178 fg | |
| 204 36 29 red |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8" /> | |
| <script src="Scripts/jquery-1.9.1.min.js"></script> | |
| <link href="Content/bootstrap.min.css" rel="stylesheet" /> | |
| <script src="Scripts/isRockFx.js"></script> | |
| <script> | |
| $(function () { |
If you have a grey-market / region-locked Sony camera where the language menu is missing languages like English or Italian, and the official PMCA-RE "tweak" tool tells you "No tweaks available", this guide is for you. No programming knowledge required — just follow the steps.
This has been tested and confirmed working on a Sony ILCE-6400. It should also work on the a6600 and possibly other cameras of the same generation, since they share the same USB service protocol.
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.
