PiShrink is a bash script designed to automatically shrink Raspberry Pi images, making them easier to store and faster to flash onto SD cards. Once the shrunk image is booted, it will automatically resize itself to match the maximum capacity of the target SD card. The tool also supports compression using gzip and xz, with an option for parallel compression across multiple CPU cores to improve speed.
Key points:
- Automatic shrinking of Raspberry Pi images
- Boot-time filesystem expansion to full SD card size
- Support for parallel multi-core compression
- Compatibility with Linux, Windows (via WSL 2), and macOS (via Docker)
Linux kernel developer Greg Kroah-Hartman has introduced a new fuzzing tool and AI bot named gregkh_clanker_t1000 that is actively uncovering bugs within the Linux kernel. The tool has already assisted in merging nearly two dozen patches for various subsystems including ALSA, HID, SMB, Nouveau, and IO_uring. Notably, this AI operates as a local large language model (LLM) running on a Framework Desktop powered by AMD Ryzen AI Max (Strix Halo), rather than relying on cloud-based services.
Key points:
* The gregkh_clanker_t1000 tool has contributed numerous bug fixes to the mainline kernel since early April.
* The system utilizes local LLM processing for privacy and efficiency.
* Hardware setup involves a Framework Desktop with AMD Ryzen AI Max+ Strix Halo.
* Emphasis on using an open-source software stack for demanding AI workloads.
The Orange Pi Zero 3W is a new compact single-board computer measuring 65 x 32 mm. It features the Allwinner A733 octa-core processor, combining Cortex-A76 and Cortex-A55 cores with an integrated NPU for AI workloads and a RISC-V coprocessor for real-time tasks. The board supports up to 16GB of LPDDR5 memory and offers versatile display options including Mini HDMI, MIPI-DSI, and DisplayPort via USB-C.
* Allwinner A733 SoC with octa-core CPU and 3 TOPS NPU
* Up to 16GB LPDDR5 RAM support
* Connectivity includes Wi-Fi 6, Bluetooth 5.4, and PCIe 3.0
* Multiple display outputs supporting up to 4K resolution
* Support for Android, Debian, Ubuntu, and OpenHarmony
Post-Mortem: Backup Failure via Filesystem Limit Exhaustion
**Incident Summary:**
A website backup process failed after a single 1.6MB GIF (a "Friends" reaction animation) was replicated 246,173 times within the storage system, inflating its size to 377GB and triggering filesystem limits.
**Root Cause:**
The issue stemmed from a security policy in the Discourse platform's "secure uploads" feature. To maintain security contexts, when a file moves between private and public scopes (e.g., PM to public post), the system generates a new copy with a randomized SHA1 hash rather than referencing the original. High community usage of a specific GIF caused massive data duplication.
**Technical Failure Chain:**
1. **Data Inflation:** Excessive duplication led to 377GB of backup bloat from a single asset.
2. **Failed Mitigation (Hardlinks):** An initial attempt to use hardlinks to group identical hashes failed because the number of duplicates exceeded the **ext4 filesystem limit of ~65,000 hardlinks per inode**. This resulted in approximately 181,000 fallback downloads, failing to resolve the bloat.
**Resolution:**
New logic was implemented for the backup process: The system attempts to create hardlinks first; if the filesystem returns an `EMLINK` error (too many hardlinks), it automatically switches to creating a local copy and designates that as the "primary" file until the limit is reached again. This ensures compatibility across all filesystems without manual configuration.
ShellGPT is a powerful command-line productivity tool driven by large language models like GPT-4. It is designed to streamline the development workflow by generating shell commands, code snippets, and documentation directly within the terminal, reducing the need for external searches. The tool supports multiple operating systems including Linux, macOS, and Windows, and is compatible with various shells such as Bash, Zsh, and PowerShell. Beyond simple queries, it offers advanced features like shell integration for automated command execution, a REPL mode for interactive chatting, and the ability to implement custom function calls. Users can also leverage local LLM backends like Ollama for a free, privacy-focused alternative to OpenAI's API.
This article provides a hands-on coding guide to explore nanobot, a lightweight personal AI agent framework. It details recreating core subsystems like the agent loop, tool execution, memory persistence, skills loading, session management, subagent spawning, and cron scheduling. The tutorial uses OpenAI’s gpt-4o-mini and demonstrates building a multi-step research pipeline capable of file operations, long-term memory storage, and concurrent background tasks. The goal is to understand not just how to *use* nanobot, but how to *extend* it with custom tools and architectures.
This article details a project where the author successfully implemented OpenClaw, an AI agent, on a Raspberry Pi. OpenClaw allows the Raspberry Pi to perform real-world tasks, going beyond simple responses to actively controlling applications and automating processes. The author demonstrates OpenClaw's capabilities, such as ordering items from Blinkit, creating and saving files, listing audio files, and generally functioning as a portable AI assistant. The project utilizes a Raspberry Pi 4 or 5 and involves installing and configuring OpenClaw, including setting up API integrations and adjusting system settings for optimal performance.
kitty-plotnine (k-nine) is a command-line tool that allows users to create plots directly within their terminal using the plotnine library and the terminal graphics protocol supported by terminals like Kitty, Konsole, and WezTerm. It aims for simplicity and ease of use, enabling one-liner plotting for quick data visualization. The tool supports various data formats like CSV, space-separated numbers, and JSONL. It offers features like customization through the Grammar of Graphics, faceting, and even documentation lookup for plotnine elements. It's designed for those who prefer a terminal-centric workflow and quick visual analysis.
Greg Kroah-Hartman, a long-term Linux kernel maintainer, has observed a significant shift in AI-driven activity around Linux security and code review. Previously receiving "AI slop" – inaccurate or low-quality reports – the past month has seen a marked improvement in the quality and relevance of AI-generated bug reports and security findings across open-source projects. While the cause of this change remains unknown, Kroah-Hartman notes the kernel team can handle the increased volume, but smaller projects may struggle. AI is increasingly used as a reviewer and assistant, and is even beginning to contribute patches, with tools like Sashiko being integrated to manage the influx.
The NanoPi NEO3 Plus is a compact, headless single-board computer:
- Rockchip RK3528A SoC with 1GB of RAM
- Gigabit Ethernet, a USB 3.0 port, and a 26-pin GPIO header
- 2.0 GHz quad-core Cortex-A53 processor
- Debian, Ubuntu, OpenMediaVault, Proxmox, and FriendlyWrt, openclaw
- $24, plus $8 case and 64GB or 256GB eMMC module for $23 or $61