# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh-
A Practical Review of Mechanistic Interpretability (2025)
- ArXiv Abstract (2407.02646) — Comprehensive taxonomy and guide for the entire field.
- Direct PDF
- Full HTML Version
-
Open Problems in Mechanistic Interpretability (2025)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| python -c " | |
| import asyncio from playwright.async_api import async_playwright | |
| async def test(): | |
| pw = await async_playwright().start() | |
| browser = await pw.chromium.launch(headless=True) | |
| page = await browser.new_page() | |
| await page.goto('https://example.com') | |
| print('Title:', await page.title() |
(Updated 2025–2026 – most frequently used commands, configs & patterns)
systemctl status pmcd pmlogger pmproxy # core trio systemctl restart pmcd pmlogger pmproxy systemctl enable --now pmcd pmlogger pmproxy
journalctl -u pmcd -u pmlogger -u pmproxy -xe # quick error check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.clear(); | |
| const t0 = performance.now(); | |
| for (let i = 0; i < 1e6; i++); // small workload | |
| const t1 = performance.now(); | |
| console.log("Time:", (t1 - t0).toFixed(2), "ms"); | |
| console.log("Now:", new Date().toLocaleTimeString()); | |
| console.log("Memory:", performance.memory ? performance.memory.usedJSHeapSize : "N/A"); | |
| console.log("CPU cores:", navigator.hardwareConcurrency); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // performance-test-snippets.js | |
| // Paste these one by one (or selected groups) into your custom JS console/TUI to stress-test performance monitoring | |
| // 1. Basic CPU burn (4 seconds of heavy math) | |
| let start = performance.now(); | |
| while (performance.now() - start < 4000) { | |
| Math.sqrt(Math.random() * Math.random() * 999999); | |
| } | |
| console.log("4-second CPU burn finished"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================================= | |
| # sysprofile — Deep system profile dump | |
| # | |
| # Generates a comprehensive plain-text snapshot of a Linux box. | |
| # Designed to be pasted into AI conversations for full context. | |
| # | |
| # Covers: hardware, kernel, storage, network, GPU, thermal, | |
| # users, services, packages, dev tools, containers, firewalls, | |
| # conda/python/node environments, cron, logs, and more. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| venv() { | |
| local d="${1:-.venv}" | |
| if [[ -d "$d" ]]; then | |
| source "$d/bin/activate" | |
| echo "activated $d ($(python --version), $(pip list 2>/dev/null | tail -n +3 | wc -l) packages)" | |
| else | |
| python3 -m venv "$d" && source "$d/bin/activate" | |
| echo "created & activated $d ($(python --version))" | |
| fi | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ┌──(booger㉿killengn)-[~/bcc-bpf] | |
| └─$ sudo python3 ~/bcc-bpf/examples/file_watcher.py python3 | |
| Watching file I/O for: python3 (excluding self pid=8531) | |
| ────────────────────────────────────────────────────────────────────────────── | |
| OP PID COMM BYTES FILENAME | |
| ────────────────────────────────────────────────────────────────────────────── | |
| OPEN pid=8534 comm=python3 /etc/ld.so.cache | |
| OPEN pid=8534 comm=python3 /lib/aarch64-linux-gnu/libm.so.6 | |
| READ pid=8534 comm=python3 832 bytes | |
| OPEN pid=8534 comm=python3 /lib/aarch64-linux-gnu/libz.so.1 |
NewerOlder