Incant: Add Magic Spells to Your Code

2025-06-18
Incant: Add Magic Spells to Your Code

Incant is a new library that allows developers to safely integrate language model invocations. It provides primitives like `createSelector` and `createFilter` for array operations such as picking the highest number or filtering male names. Incant reads API keys from environment variables, is easy to configure, and guarantees type safety, preventing hallucinations. However, be aware that all input data is sent to upstream inference providers, so avoid sending personal or sensitive information.

Read more
Development

Skywater 130nm SerDes Design: High-Speed Communication Achieved

2025-06-18
Skywater 130nm SerDes Design: High-Speed Communication Achieved

This project details a high-speed Serializer/Deserializer (SerDes) circuit designed for high-speed communication. Implemented using Verilog HDL and synthesized with OpenLane on the Skywater OpenPDK 130nm process, the SerDes converts parallel data into a serial stream for transmission and back again at the receiver. The design includes a transmitter (using a chain of CMOS inverters as a driver), a receiver (employing a resistive feedback inverter and CMOS inverter for sensing and amplification), a D-flip-flop for data sampling, and an oversampling CDR for clock recovery. GDS, SPICE, and netlist files for all modules are provided.

Read more

Universal Rules Template for AI Coding Assistants: Supercharge Your Workflow

2025-06-18
Universal Rules Template for AI Coding Assistants: Supercharge Your Workflow

Tired of inconsistent AI behavior across different coding assistants? This template provides a robust, cross-platform framework to elevate your AI pair-programming experience. It leverages established software engineering principles and structured documentation to ensure consistent AI operation, deep project understanding, and optimal workflows across tools like Cursor, CLINE, RooCode, Windsurf, and GitHub Copilot. Move beyond simple prototypes and build sophisticated applications with AI partners that truly understand your project.

Read more
Development

lstr: Blazing Fast Directory Tree Viewer in Rust

2025-06-18
lstr: Blazing Fast Directory Tree Viewer in Rust

lstr is a blazingly fast, minimalist directory tree viewer written in Rust. Inspired by the `tree` command, lstr offers a powerful interactive mode alongside a classic view. It leverages parallel directory scanning for speed, features a clean and uncluttered interface, and provides options to display file icons, permissions, sizes, and Git status. Integration with `.gitignore`, depth control, and fuzzy finding (via fzf) are also supported. You can even integrate lstr into your shell as a visual `cd` command. Whether you prefer the classic tree-like view or the interactive TUI, lstr's efficiency and clean design will enhance your file management workflow.

Read more
Development directory tree

Blazing Fast Concurrent Hash Map for Go: cmapv2

2025-06-17
Blazing Fast Concurrent Hash Map for Go: cmapv2

This article introduces cmapv2, a high-performance concurrent hash map library for Go. Leveraging the MurmurHash algorithm, it offers both regular and sharded map types for various concurrency needs. Example code demonstrates initialization, insertion, retrieval, and deletion of key-value pairs. The article also details performance testing using `go test` and `pprof` for CPU and memory profiling.

Read more
Development Concurrent HashMap

Codecov's Mandatory AI Feature Sparks User Concerns

2025-06-17
Codecov's Mandatory AI Feature Sparks User Concerns

A new AI feature in Codecov has sparked user concern due to the lack of a disable option. Users worry about Codecov illicitly training AIs on their code or inserting infringing code without permission. They demand a permanent, clear way to disable AI functionality across all their organizations and a guarantee that AI won't be used for code coverage analysis.

Read more
Development

faynoSync: Automated Client Application Update API Server

2025-06-17
faynoSync: Automated Client Application Update API Server

faynoSync is a Go-based API server for automatically updating client applications. Upload your app to S3, set the version number, and clients check for updates. If a newer version exists, the server returns an update link, prompting a client alert. It supports background and on-demand updates, with full documentation, a frontend dashboard, and example client applications. Deployment involves setting environment variables, simplified with Docker, and extensive unit tests ensure functionality.

Read more

Canine: Effortless Kubernetes Cluster Deployment

2025-06-16
Canine: Effortless Kubernetes Cluster Deployment

Canine is an intuitive and easy-to-use deployment platform for Kubernetes clusters. With Docker and Docker Compose installed, deployment is a breeze – simply run a single command or clone the Git repo and run Docker Compose. Customize the web UI port easily and explore cloud-based features like GitHub integration, role-based access control, real-time metrics, and reduced maintenance for streamlined team collaboration.

Read more
Development

Chat with AI over SSH: A Dockerized AI Chat Server

2025-06-16
Chat with AI over SSH: A Dockerized AI Chat Server

This project provides a Dockerized AI chat server accessible via SSH. It supports multiple AI models and offers detailed deployment instructions, including environment configuration, Docker Compose file, and dependency installation. Users can customize parameters like models, rate limiting, blacklist, and whitelist. The project also includes deployment suggestions for various operating systems (macOS, Linux, and Windows) and acknowledges server sponsorship from V.PS.

Read more
Development

Async Function Calls on Socket.io: Introducing socket-call

2025-06-16
Async Function Calls on Socket.io: Introducing socket-call

socket-call is a small library built on top of Socket.io that lets you call events like any regular async TypeScript function. It simplifies Socket.io usage, offering a cleaner and more intuitive programming experience. Code examples demonstrate server-side and client-side implementation, showcasing login functionality and server-to-client message sending.

Read more
Development

Zeekstd: A Seekable Zstandard Implementation in Rust

2025-06-16
Zeekstd: A Seekable Zstandard Implementation in Rust

Zeekstd is a Rust library implementing a seekable Zstandard format. It splits compressed data into independent frames for efficient random access. Fully compatible with the original specification, Zeekstd offers improvements and includes both encoder and decoder functionalities, allowing for decompression of entire files or specific frames. A command-line tool is also provided.

Read more
Development Seekable Compression

Open-Source Hyperspectral Oil Paint and Painting Dataset: Unlocking Painting Techniques

2025-06-16
Open-Source Hyperspectral Oil Paint and Painting Dataset: Unlocking Painting Techniques

This open-source project provides a large dataset containing hyperspectral scan data, processing code, and reconstructed paint samples. The dataset is intended for use in art historical research and computer graphics, such as pigment mapping and spectral upsampling. It includes hyperspectral scans of nine paintings and reflectance measurements of numerous paint samples. A Python package, `painting_tools`, is also provided for processing spectral data and mixing and layering pigments using the Kubelka-Munk model. Researchers can use this dataset to study the materials and techniques of paintings and develop new image processing and analysis methods.

Read more

Twin: A Textmode Windowing Environment

2025-06-15
Twin: A Textmode Windowing Environment

Twin is a text-based windowing environment supporting mouse, a window manager, terminal emulation, networked clients, and the ability to attach/detach mode displays on-the-fly. It supports various display types including plain text terminals, X11, and itself. Currently tested on Linux, macOS, and FreeBSD across multiple architectures. This open-source project, licensed under GPL and LGPL, offers comprehensive tutorials and developer documentation and is available on GitHub.

Read more

Seastar: A Fast, Extensible Build System for Multiple Languages

2025-06-15
Seastar: A Fast, Extensible Build System for Multiple Languages

Seastar is a fast and extensible build system currently supporting C and C++, with plans to add Rust and Zig. Designed for ease of creation, prototyping, and iteration, it aims to mimic the user-friendliness of Rust's Cargo while offering seamless compilation across multiple languages. Seastar is simple to build and run; just install Cargo and Rust, clone the repository, and run the provided commands. Currently in early stages, it's not recommended for production use.

Read more
Development

Manage Apple Containers like docker-compose

2025-06-15
Manage Apple Containers like docker-compose

A CLI tool, `container-compose`, lets you use Apple Containers with a docker-compose-like config file. Currently in alpha, it may contain bugs or missing features. Install via Homebrew (`brew tap noghartt/container-compose https://github.com/noghartt/container-compose.git; brew install noghartt/container-compose/container-compose`) or download a pre-built binary from the release page.

Read more
Development

WT32-ETH01: A Cheap ESP32 Ethernet Development Board

2025-06-15
WT32-ETH01: A Cheap ESP32 Ethernet Development Board

The WT32-ETH01 is a small, inexpensive ESP32 development board featuring Ethernet, WiFi, and GPIO pins. Its low cost and the relative scarcity of ESP32 boards with Ethernet make it a compelling option for projects requiring reliable wired network connectivity. While lacking extensive manufacturer support, its ease of use and compatibility with popular programming environments like the Arduino IDE and ESP-IDF make it ideal for IoT and embedded systems development. However, users should be aware of limitations on certain pins and exercise caution when selecting power supply voltages.

Read more
Hardware

MEOW: An AI-Optimized Steganographic Image Format

2025-06-15
MEOW: An AI-Optimized Steganographic Image Format

MEOW is a Python-based image file format that embeds AI metadata into PNG images, allowing them to be opened in any image viewer without needing a special viewer. It uses LSB steganography to hide metadata, ensuring data integrity even after file operations. Designed to boost AI workflow efficiency, MEOW provides pre-computed AI features, attention maps, bounding boxes, and more, accelerating machine learning and enhancing LLM image understanding. It's cross-platform compatible and offers command-line tools and a GUI app for conversion and viewing.

Read more

Minimal PyTorch Probabilistic Diffusion Model: 2D Dataset Experiments

2025-06-15
Minimal PyTorch Probabilistic Diffusion Model: 2D Dataset Experiments

This post details a minimal PyTorch implementation of a probabilistic diffusion model for 2D datasets. The author explores hyperparameters like learning rate, model size, diffusion process length, and timestep encoding through various experiments. Results show that a suitable learning rate is crucial, longer diffusion processes generate more complete samples, and model capacity isn't the primary bottleneck. Using sinusoidal embeddings for input encoding aids in learning high-frequency functions in low-dimensional domains.

Read more

Text-to-LoRA: Instant Transformer Adaptation

2025-06-15
Text-to-LoRA: Instant Transformer Adaptation

Text-to-LoRA (T2L) is a novel model adaptation technique allowing users to quickly generate task-specific LoRA models from simple text descriptions. The project provides detailed installation and usage instructions, including a Hugging Face-based web UI and command-line interface. Users need at least 16GB GPU to run demos and download pre-trained checkpoints. T2L supports various base models like Mistral, Llama, and Gemma, demonstrating superior performance through multiple benchmark tests. The project also includes scripts for evaluating generated LoRAs and a watcher for asynchronous evaluation.

Read more

ICONIC: Sleek Skill Icons for GitHub READMEs

2025-06-15
ICONIC: Sleek Skill Icons for GitHub READMEs

ICONIC is a developer-focused library of stylish, bubble-shaped skill icons designed for GitHub READMEs, portfolios, and resumes. Featuring clear and aesthetically pleasing bubble icons, light and dark theme variants, and easy Markdown/HTML embedding, ICONIC also offers an HTML preview API (Django backend) and downloadable SVGs for effortless skill showcasing.

Read more
Development icon library

SSHTron: A Multiplayer Lightcycle Game Over SSH

2025-06-14
SSHTron: A Multiplayer Lightcycle Game Over SSH

SSHTron is a multiplayer lightcycle game playable via SSH. Simply connect to sshtron.zachlatta.com and start playing. Use WASD or vim keys to control your cycle. Seven colors are available. Built in ~20 hours at BrickHack 2, the code quality is a work in progress. The project is open-source and supports Docker and Raspberry Pi deployments. A security warning notes potential vulnerabilities (CVE-2016-0777) related to SSH clients; updating your client is recommended.

Read more
Game

miniDiffusion: A Minimal Stable Diffusion 3.5 Reimplementation in PyTorch

2025-06-14
miniDiffusion: A Minimal Stable Diffusion 3.5 Reimplementation in PyTorch

miniDiffusion is a streamlined reimplementation of the Stable Diffusion 3.5 model using pure PyTorch with minimal dependencies. Designed for educational, experimental, and hacking purposes, its concise codebase (~2800 lines) covers VAE, DiT, training, and dataset scripts. The project provides scripts for both training and inference. Users need to install dependencies and download pretrained model weights. This open-source project is licensed under MIT.

Read more
AI

Green Tea GC: A Memory-Aware Approach to Boosting Go's Performance

2025-06-14
Green Tea GC: A Memory-Aware Approach to Boosting Go's Performance

The Go team is developing Green Tea, an experimental garbage collector designed to address performance bottlenecks of traditional garbage collection algorithms in multi-core systems and non-uniform memory architectures. Green Tea improves spatial and temporal locality by scanning contiguous memory blocks instead of individual objects, significantly reducing garbage collection CPU overhead. Initial evaluations show a 10-50% reduction in GC CPU costs on some GC-heavy workloads. Future work includes exploring SIMD acceleration and a concentrator network for further performance gains.

Read more
Development

FileDB: A Zig Implementation of a Bitcask-Inspired Key-Value Store

2025-06-14
FileDB: A Zig Implementation of a Bitcask-Inspired Key-Value Store

FileDB is a Zig implementation of a key-value store inspired by Riak's Bitcask paper. It uses a log-structured hash table for metadata and appends records to disk files for high throughput. Periodic compaction and syncing ensure data durability. Benchmark tests of its Redis-compatible client show read speeds exceeding 100,000 requests per second and impressive write performance.

Read more
Development key-value database

Bloxi: An AI Copilot for Simulink

2025-06-13
Bloxi: An AI Copilot for Simulink

A second-year aero-engineering student at Imperial College London built Bloxi, an AI copilot that translates plain-English prompts into working Simulink control-system models. Leveraging multimodal LLMs, Bloxi builds models step-by-step, allowing for real-time debugging and a more intuitive workflow. The student, who also shares his work to increase productivity for other engineers, released the code, hoping others will improve upon it.

Read more
Development Model Building

qrkey: Command-line Tool for Offline Private Key Backup with QR Codes

2025-06-13
qrkey: Command-line Tool for Offline Private Key Backup with QR Codes

qrkey is a command-line tool for generating and recovering QR codes from files for offline private key backup. It handles large files by splitting them into multiple QR codes and includes metadata for easy recovery and validation. Install via Homebrew (macOS), Docker, or see releases for other systems. Generate: `qrkey generate --in --out file.pdf`; Recover: `qrkey recover --in `.

Read more
Development private key backup

Go BitTorrent Client: A Work in Progress

2025-06-13
Go BitTorrent Client: A Work in Progress

This project implements a BitTorrent client in Go, handling torrent file parsing, peer discovery, and file downloading. Core functionalities are already implemented, including Bencode encoding/decoding, torrent file processing, peer communication, and download management for both single and multi-file torrents. Future development includes support for magnet links, the metadata exchange protocol, and DHT.

Read more
Development

Hacker News: GameCube Keyboard Controller Powers Up Animal Crossing

2025-06-12
Hacker News: GameCube Keyboard Controller Powers Up Animal Crossing

A developer has created an amazing project combining a GameCube keyboard controller with Nintendo's Animal Crossing. The project includes tools allowing for incredibly fast in-game typing, importing custom images and videos, and even playing Snake! It involves 3D-printed custom keycaps, a Raspberry Pi Pico, and some electronics. The project is open-source and the code is available on GitHub.

Read more
Game

McWig: A Vim-like Text Editor in Go – A Speedy Experiment

2025-06-12
McWig: A Vim-like Text Editor in Go – A Speedy Experiment

McWig is a modal, Vim-like text editor written in Go, currently used by its creator as a daily driver. It only supports .go files and is in early development, so use with caution as it may damage files. Features include LSP autocomplete, goto definition, hover info, Tree-sitter support, and color themes (borrowed from Helix). However, it's also buggy. The project was a quick experiment to explore the text editor space, and the author plans to develop it into a stable, full-featured editor.

Read more
Development

QEMU: A Powerful Open-Source Virtualization Tool

2025-06-12
QEMU: A Powerful Open-Source Virtualization Tool

QEMU is a generic and open-source machine emulator and virtualizer. It can emulate a complete machine in software without needing hardware virtualization, achieving good performance through dynamic translation. QEMU integrates with Xen and KVM hypervisors, providing emulated hardware while letting the hypervisor manage the CPU for near-native performance. It allows running operating systems built for one architecture on a different one, and offers userspace API virtualization for running binaries compiled against different ABIs. QEMU boasts a stable command-line interface and monitor API, integrates with tools like libvirt, oVirt, OpenStack, and virt-manager, and is licensed under the GPLv2. Comprehensive documentation and a vibrant community ensure ease of use and support.

Read more
Development
1 2 10 11 12 14 16 17 18 50 51