惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Securelist
C
Cybersecurity and Infrastructure Security Agency CISA
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security Affairs
Hacker News: Ask HN
Hacker News: Ask HN
L
Lohrmann on Cybersecurity
PCI Perspectives
PCI Perspectives
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cyber Attacks, Cyber Crime and Cyber Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MyScale Blog
MyScale Blog
月光博客
月光博客
W
WeLiveSecurity
T
Threat Research - Cisco Blogs
Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recorded Future
Recorded Future
The GitHub Blog
The GitHub Blog
Webroot Blog
Webroot Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
TaoSecurity Blog
TaoSecurity Blog
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
F
Full Disclosure
U
Unit 42
Jina AI
Jina AI
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
The Hacker News
The Hacker News
The Last Watchdog
The Last Watchdog
T
Troy Hunt's Blog
腾讯CDC
T
Threatpost
H
Hacker News: Front Page
P
Palo Alto Networks Blog
博客园 - 聂微东
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
Help Net Security
Help Net Security
L
LINUX DO - 热门话题
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Spread Privacy
Spread Privacy

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
PySpell — sandboxed Rust/Python expressions, live on ESP32
punnerud · 2026-06-18 · via Hacker News: Show HN

The chip serves a web agent IDE, a native MCP server and a REST API, runs the code in a sandbox (with live web-request / fetch support), and drives its own screen + LED — up to 8 parallel PySpell processes on that same half-megabyte of RAM. Like MicroPython, but two syntaxes, the parser never ships to the device, and English is the third syntax.

no_std + alloc core Rust & Python front-ends ~62 kB on ESP32 deny-by-default sandbox live over Tailscale 512 kB SRAM · no PSRAM 0.45 M-param model, in-browser offline AI agent

What it is

A PySpell program is a single expression (Python) or some let bindings followed by a trailing expression (Rust). It evaluates to a value — a number, a boolean, a string, or a list. Free identifiers are resolved at evaluation time against a host-supplied environment: CLI variables on a laptop, or live device readings on a microcontroller. The only I/O is a host-granted, allowlisted fetch_json; there are no loops, functions, or imports — that is the point: small, fast, and safe to accept from elsewhere.

"Micro-containers" — the direction, honestly stated. The aim is lightweight, pushable units of code on tiny devices. Today it's a sandboxed evaluator, not OS containers: the sandbox is at the language level (deny-by-default grammar + an instruction budget), jobs share one device, and it runs a safe Python/Rust subset — not full Python. Truly parallel, isolated containers need more RAM than the ESP32-S3 has (no PSRAM). So: a small, safe evaluator as the first step toward the micro-container vision.

Two ways to compile. On the host, full-fidelity front-ends use syn (Rust) and rustpython-parser (Python). For "type code in a browser and run it on the chip", a tiny hand-written parser (a few kB, no_std) builds the same AST on the device. Either way: source → AST → evaluate.

An offline AI coding agent, served off the chip

Open http://<dongle>/ over the tunnel and you get a Cursor-like agent. Type "flash the light", "show the text "hello"", "what is 7 plus 5", or "reverse the word robot" — a ~0.45 M-parameter language model (< 500 kB, int8) turns it into PySpell code, runs it live on the chip, and shows the result, or the physical action (the screen lights up, the RGB LED blinks). Runtime, model, tokenizer and dictionary are all served from the dongle, offline — no cloud, no key (OpenAI is optional, behind the ⚙).

A model that small is only useful because of a chain of tricks — the full write-up is in tech.md. The headlines:

The model points, the browser copies

A 0.45 M model can't reliably copy arbitrary tokens (numbers, strings, lists), so it isn't asked to. It emits tiny semantic directives; the browser copies the literal content verbatim. calculate 3 + 2print(3 + 2); change add to subtract@@ + ==> -. Quoted text is literal content — copied byte-for-byte, excluded from vocab checks.

The device serves; the browser computes

Inference runs in WebAssembly, client-side. The 0.5 MB model image streams off flash a TCP segment at a time (HTTP Range) and is never resident in the chip's ~60 kB heap. Inverted edge inference: the constrained device serves and grades, the browser runs the model.

Frozen embeddings, distilled

The 512-token vocab is embedded with all-MiniLM (22 M params), PCA'd to 128 dims, folded with a part-of-speech vector, and frozen — the tiny model starts with meaningful word geometry instead of spending its tiny budget learning it.

The vocabulary is the dictionary

Those same 512 tokens + embeddings are served back to the browser for input validation ("outside the model's vocabulary…") and related-word RAG over the model's own vocabulary.

Retrain it for your language. The pipeline is small and template-driven: translate the instruction phrasings (an LLM does this well), swap the embedding model for a multilingual one, re-curate and train, then flash. Full guide in tech.md.

Syntax at a glance

Python

free_heap > 100000 and uptime_s < 60
250 if distance > 1000 else 0
0 < temp < 60          # chained
20 not in peers
sum([1, 2, 3])
readings[-1]           # negative index
max(a, b)

Rust

free_heap > 100000 && uptime_s < 60
if distance > 1000 { 250 } else { 0 }
let used = total - free; used * 100 / total
!peers.contains(20)
sum([1, 2, 3])
readings[readings.len() - 1]
max(a, b)

Language reference

Literals & values

KindExamplesNotes
Integer0, 42, -764-bit signed
Float1.5, 3.1464-bit
Booleantrue/True, false/Falseboth spellings accepted
String"hello", 'oslo'+ concatenates; ==/< compare; len() counts chars
List[1, 2, 3]elements are values

Operators

GroupPythonRustNotes
Arithmetic+ - * / % (and //)on integers, / and // both truncate toward zero; a float operand promotes to float division. There is no separate float floor-div.
Comparison== != < <= > >=Python allows chaining (a < b < c)
Booleanand, or, not&&, ||, !short-circuiting
Unary-x, not x / !x
Membershipx in list, x not in listlist.contains(x)numeric equality
Indexlist[i]negative indexing supported

Control flow & bindings

FeaturePythonRust
Conditionala if cond else bif cond { a } else { b } (else required)
Local bindings(single expression only)let x = e; let y = e2; final_expr
Free variablesany bare name not bound by let is read from the host environment

Built-in functions

FunctionResultDescription
len(list)intnumber of elements
abs(x)numberabsolute value
min(list) / min(a, b, …)numberminimum
max(list) / max(a, b, …)numbermaximum
sum(list)numbersum of a numeric list
any(list)booltrue if any element is truthy
all(list)booltrue if all elements are truthy
round(x)intround to nearest integer
int(x)inttruncate toward zero
float(x)floatconvert to float
bool(x)booltruthiness
index(list, x)intposition of first x, or -1
before(list, a, b)booltrue if a occurs before b
first(list)valuefirst element, or -1 if empty
last(list)valuelast element, or -1 if empty
str(x)stringstring representation of a value
json_get(text, "a.b.0.c")scalarextract the scalar at a dotted/indexed JSON path (no full parse — only the matched value is materialized)
fetch(url)stringHTTP(S) GET body. Gated by a host allowlist; errors if the host isn't allowed or no network capability is present
fetch_json(url, "a.b.0.c")scalarstream the response and extract just the scalar at the path, stopping as soon as it's found — never buffers the whole body. Preferred on the device.
show(x)xrender x to text and display it (the ESP32 screen; stdout on host), returning x so it composes. Device gates it via config (allow on/off, auto-revert seconds).

Classic one-liner — fetch a value and show it on the dongle's screen:

show("Oslo: " + fetch_json(
  "https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=59.91&lon=10.75",
  "properties.timeseries.0.data.instant.details.air_temperature") + " C")
# screen shows:  Oslo: 14.9 C   (and the call returns that string)

Network & JSON

fetch(url) + json_get(text, path) let a program pull live data and read one field out of it. fetch is a mediated capability — the host/device decides which hosts are reachable (an allowlist), so a program can't reach arbitrary URLs.

# Host CLI (allow the host explicitly):
pyspell run oslo_temp.py --allow-host api.met.no
# where oslo_temp.py is:
json_get(
  fetch("https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=59.91&lon=10.75"),
  "properties.timeseries.0.data.instant.details.air_temperature")
# → 14.9

Memory note (device): json_get is path-directed so it never builds the whole document in RAM — it materializes only the matched value. On the ESP32 (≈60 kB free, no PSRAM) reading a field out of a large response is feasible because fetch_json streams the HTTP(S) body and stops the moment the field is found (freeing the TLS buffers early) — so a ~50 kB yr.no response never has to fit in RAM at once.

# On the ESP32, over Tailscale (single process; ≈60 kB free; verified live):
fetch_json(
  "https://api.met.no/weatherapi/locationforecast/2.0/compact?lat=59.91&lon=10.75",
  "properties.timeseries.0.data.instant.details.air_temperature")
# → 14.9   (the dongle fetched yr.no itself)

Running on the host

# Evaluate, binding free variables:
cargo run -p pyspell-cli -- run examples/health.py --set free_heap=120000 --set uptime_ms=45000
# → true

# Compile to a portable IR blob:
cargo run -p pyspell-cli -- compile examples/health.py    # → examples/health.py.psb

# Push live to a device over USB-serial, or an interactive REPL:
cargo run -p pyspell-cli -- repl --port /dev/cu.usbmodem2101 --lang python

Running on the ESP32

The portable evaluator (pyspell-core, no_std + alloc) runs unchanged on the ESP32-S3. Programs read live device variables from the environment:

VariableMeaning
free_heapfree heap, bytes
min_free_heaplowest free heap seen since boot, bytes
uptime_msmilliseconds since boot
uptime_sseconds since boot

Demo: PySpell over Tailscale

The demo/esp32-tailscale-pyspell firmware adds a web text window and a /run API inside a Tailscale tunnel — open the device's Tailscale IP in a browser, type an expression, set a timeout, and run it on the chip. PySpell adds only ~62 kB on top of the networking firmware.

# Web window:
open http://100.x.y.z/

# POST (preferred): program in the body, lang/timeout in the query.
# More room for code than a URL, and no percent-encoding.
curl -X POST 'http://100.x.y.z/run?lang=py&timeout=10' --data 'free_heap > 100000'   # → true
curl -X POST 'http://100.x.y.z/run?lang=rs&timeout=10' --data 'uptime_ms / 1000'       # → 22

# GET (also supported): code is URL-encoded in the query.
curl 'http://100.x.y.z/run?lang=py&timeout=10&code=free_heap%20%3E%20100000'   # → true

timeout is in seconds, clamped to 1–60, and enforced as a real wall-clock deadline on the device. The single request must fit one TCP segment (≈1.2 kB) — POST leaves more of that for code.

Response format

The reply is text/plain (no JSON wrapper):

OutcomeBody
Successthe raw value — true/false, an integer, a float, or a list like [1, 2, 3]
Failurea line starting with error: — e.g. error: parse error: unexpected end of input, error: unknown name `foo`, or error: program exceeded its time limit

How it fits in 512 kB

The ESP32-S3 has 512 kB of SRAM and no PSRAM, yet it runs a full Tailscale node (control plane and DERP), the PySpell evaluator, a browser agent IDE served off the chip, a native MCP server, and TLS to api.met.no. That only fits because of a long chain of memory tricks.

Honest headline. The "~260 kB free" you see between requests is a calm-moment reading. The number that matters is the worst-case peak free heap: ≈60 kB, measured during a TLS fetch with the Tailscale control session live. Every trick below keeps transient spikes under that ceiling — and the blunt consequence is that an 8-way parallel pool and full Tailscale don't coexist on the esp-idf stack; cheap parallelism waits for the lean pure-Rust stack.

Crypto & TLS

SPKI leaf-key pinning instead of CA-chain validation — one RSA-PSS verify, no 6 kB chain buffer (a TLS fetch drops ~45→30 kB). A heap admission gate bounds concurrency so peak heap is K × per-fetch, never N × per-fetch.

Stream, don't buffer

The netmap is read with serde_json::from_reader over the HTTP/2 frames, so serde skips the huge DERPMap field instead of buffering it (~60 kB → one 4 kB chunk). fetch_json stops the moment the value is found, and raw byte-scans replace JSON DOM trees.

Pages from flash

Static content lives in flash as &'static str (zero heap) and is streamed out as 512-byte TCP segments — only the current segment is ever in RAM, so the 4.3 kB agent IDE serves without a full-page buffer.

Allocator & sockets

Heap and stack share one DRAM pool (+16 kB heap = −16 kB stack), tuned by hand. SO_LINGER=0 frees lwIP sockets immediately (no TIME_WAIT pile-up), and a cooperative shared stack on the lean build makes parallelism cheap where per-thread stacks can't.

The full catalog — every trick with the exact file and symbol — is in docs/memory-512kb.md.

Sandbox & limits

  • Deny-by-default grammar. Only the whitelisted expression nodes and the built-ins above exist — no loops, functions, recursion, attribute access, imports, strings, or I/O.
  • Instruction budget. Every evaluation has a step limit (runaway guard).
  • Wall-clock timeout. A caller can supply a deadline (e.g. 10 s); on the device the ESP timer enforces it.
  • Parser stays small. The on-device parser accepts only the safe subset, so the device's attack surface is just a bounded decoder + evaluator.