TinyJSON, a small, header-only JSON reader and writer with no heap allocations
Anne Barela · 2026年11月30日
AI 摘要 AI 生成,可能有误
Phil Schatzmann 发布了 TinyJSON,这是一个适用于 Arduino 和嵌入式 C++ 的小型、仅头文件的 JSON 读取与写入库,无需任何堆内存分配。该库可通过 zip 文件轻松安装到 Arduino IDE 中,附带读取和写入 JSON 的示例,并可在内存有限的微控制器上运行。该项目已在 GitHub 上以 MIT 许可证发布。
Phil Schatzmann has released TinyJSON on GitHub. It’s a small JSON reader and writer for Arduino and embedded C++. JSON is a text format for storing data. The library is header-only. A sketch includes one file and starts reading or building JSON. It runs on microcontrollers with small amounts of RAM.
Install it as a zip file through the Arduino IDE. Examples come with the library showing both reading and writing. TinyJSON is released under the MIT License.
AI 摘要A beginner's Hackster demonstration shows that pressing a switch lights an LED instantly because the electric field propagates through the wire at nearly the speed of light, causing electrons all along the circuit to move at once. Individual electrons, however, drift very slowly—often less than a millimeter per second—as they collide with atoms and zig-zag toward the positive terminal. The article compares the wire to a conveyor belt already full of electrons, so the ones beside the LED enter it as soon as the belt starts moving.
AI 摘要InfoWorld has highlighted eight programming books that remain must-reads, several of which are available free online. The list spans topics from building interpreters and learning Python to network programming, C, Git, and Lisp macros, and includes classics such as The Mythical Man-Month and Charles Petzold's Code.
AI 摘要Maddie D. Reese has released shard on GitHub, a set of scripts that pool compute and memory across Macs and Windows PCs to run large GGUF models locally with llama.cpp RPC, with one machine coordinating while the others serve as workers. Machines connect via a gigabit switch with Cat6 cables and fixed addresses, with the model stored on the coordinator and workers receiving tensors when the model loads. In a demonstration, the setup answered 2 + 2 in 11 minutes and 51 seconds, and the code is MIT licensed.
AI 摘要This guide explains how to wire a Mini Analog Joystick to the Adafruit Arcade Bonnet for Raspberry Pi. Arcade buttons connect to the bonnet using quick connect wires, making it easier to assemble a retro arcade controller or cabinet. The full guide is available in Adafruit's learn system.
AI 摘要A newly discovered spider species from Thailand, Cryptothele dorotabo, is the first of its ground-dwelling genus recorded in the country, identified through Micro-CT scanning of specimens collected during a 2018 survey. The tiny spider, whose females measure about 0.3 inches, coats itself in a thick layer of mud or soil debris, a behavior researchers are still trying to understand. The species was named after the Dorotabo, a one-eyed ghost from Japanese folklore said to be the spirit of a neglected rice field farmer who rises from the mud at night.