Status: design, 2026-09-28. This document describes the target architecture for the IO hooks
deliverable of the STF streams project: a single integration point in php-src through which any
blocking IO wait or IO operation is handed to a provider, the internal and userland APIs around it,
how it integrates with existing code in the tree, and how it relates to the other work in flight.
Where the io_hooks_poc branch differs from what is described here, the difference is listed in
section 11; the sections before it describe the state to reach.
Discover gists
| /* | |
| * Fix for gfx1151 (Strix Halo) ROCm "out of memory" abort on hipStreamCreate: | |
| * | |
| * Issue: amdkfd enforces ctx_save_restore_area_size >= topo cwsr_size (0x124c000 / 19.2 MB). | |
| * hsakmt hardcodes 0xd4c000 (13.9 MB), causing AMDKFD_IOC_CREATE_QUEUE to return -EINVAL, | |
| * which ROCr surfaces to HIP as hipErrorOutOfMemory. | |
| * | |
| * Solution: Intercept mmap/ioctl to expand CWSR buffer sizes to match kernel requirements. | |
| * | |
| * Build: gcc -shared -fPIC -O3 fix_strix_cwsr.c -o libfix_strix_cwsr.so -ldl |
Last Updated: August 29, 2026 | For developers testing Claude, Gemini, DeepSeek, and other AI models
Looking for free Claude API credits or a low-cost AI API gateway?
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.
- Download & Install Sublime Text 3.2.2 Build 3211
- Visit https://hexed.it/
- Open file select sublime_text.exe
- Offset
0x8545: Original84->85 - Offset
0x08FF19: Original75->EB - Offset
0x1932C7: Original75->74(remove UNREGISTERED in title bar, so no need to use a license)
When I am using an online Jupyter notebooks (e.g., DeepLearning.AI, Colab, Kaggle, etc.), I usually prefer to be able to reproduce it locally. I want this mainly so I can easily take snippets of Python code and incorporate them into a proper script or application outside of a notebook.
The hard part is knowing the proper version of Python and all the packages that the notebook uses. When using an online notebook, this isn't always obvious. Python, is infamous for its ability to
| @media -moz-pref('browser.nova.enabled') { | |
| :root { | |
| --chrome-content-separator-color: unset !important; | |
| --chrome-window-gap: 0px !important; | |
| } | |
| #browser { | |
| padding: 0 !important; | |
| border-radius: 0 !important; | |
| } |
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
