Tini: A Minimalist Init for Containers

2025-04-20
Tini: A Minimalist Init for Containers

Tini is a lightweight init system designed for containers. It prevents zombie processes, ensures proper signal handling, and improves container stability. Built into Docker 1.13 and later (using the `--init` flag), Tini can also be manually installed for older versions or other container runtimes. Advanced options include subreaper functionality, exit code remapping, and signal forwarding for complex scenarios. It's incredibly small and adds minimal overhead.

Read more

Offline GitHub Flavored Markdown Previewer: gh-gfm-preview

2025-04-20
Offline GitHub Flavored Markdown Previewer: gh-gfm-preview

gh-gfm-preview is a command-line tool written in Go that lets you preview GitHub Flavored Markdown (GFM) files locally. It works offline, is fast, dependency-free, zero-configuration, and features live reloading, automatic browser opening, and more. You can run it via `go run github.com/thiagokokada/gh-gfm-preview` or install it as a GitHub CLI extension. The tool offers various command-line options, such as forcing dark mode, disabling auto-browser opening, etc. It can even be integrated into Neovim for one-click Markdown preview.

Read more
Development Markdown Preview

Simplified Model Context Protocol (MCP) Server Setup: A Containerized Approach

2025-04-20
Simplified Model Context Protocol (MCP) Server Setup: A Containerized Approach

To simplify the often tedious setup of Model Context Protocol (MCP) servers, this project provides containerized versions. Built and managed using Nixpacks, new images are automatically built on changes to the source repositories, ensuring up-to-date containers. Currently supporting a wide range of MCP servers with functionalities including search, summarization, code execution, and database interaction, with more to come. Users can simply pull the Docker image to get started.

Read more
Development containerized

Chrome OLED Mode Extension: Better than Dark Reader?

2025-04-20
Chrome OLED Mode Extension: Better than Dark Reader?

The Chrome OLED Mode extension is a resurrected dark theme browser extension that leverages React's dynamic rendering to add a high-contrast pitch-black theme to websites, improving nighttime readability. Superior to the popular 'Dark Reader' extension, it boasts four operation modes, forty specialized site-specific themes, whitelist management, and automated scheduling. It uses a static browser-side script for efficient DOM updates and is compatible with extension sandbox restrictions.

Read more
Development Dark Theme

GPT Cache Optimization: A Real-World Case Study

2025-04-20
GPT Cache Optimization: A Real-World Case Study

A South Korean user encountered persistent PDF generation failures, token overflow loops, and cache redundancy issues while running multi-session GPT simulations. Instead of giving up, they meticulously measured, analyzed, and implemented an optimization solution involving system behavior logs, trigger-response circuits, and quantifiable metrics. The optimization significantly reduced token usage, implemented a memory-like routine via custom trigger-circuit logic, and automated the deletion of failed system responses. This report, based on real user session data, was referenced in official correspondence with OpenAI.

Read more

Calypsi: A Cross-Platform Compiler Toolchain for Retro and Embedded Programming

2025-04-20
Calypsi: A Cross-Platform Compiler Toolchain for Retro and Embedded Programming

Calypsi is a series of C compiler and assembly language cross-compiler toolchains targeting the retro and hobbyist communities. The current release (5.10) supports MOS 6502, WDC 65816, Motorola 68000, and HP Nut (assembler and debugger only) targets, running on various Linux distributions, macOS, and Windows. Features include ISO C 99 compliance, a fully reentrant code model, support for various data types, optimizing compilation, and a source code debugger. The toolchain is closed-source but free for hobby use; the HP-41 Nut target uses a BSD license, allowing commercial use.

Read more
Development

AI Turns Codebases into Beginner-Friendly Tutorials

2025-04-19
AI Turns Codebases into Beginner-Friendly Tutorials

Tired of deciphering complex codebases? This project uses a 100-line LLM framework called Pocket Flow to analyze GitHub repositories and generate easy-to-understand tutorials. It identifies core concepts, relationships, and transforms complex code into beginner-friendly explanations with visualizations. Supports various programming languages and allows specifying included/excluded files. Simply provide a GitHub repo URL or local directory path to generate a tutorial, making understanding large codebases significantly easier.

Read more
Development Tutorial Generation

DIY 360° LiDAR Scanner on a Raspberry Pi

2025-04-19
DIY 360° LiDAR Scanner on a Raspberry Pi

This project details the creation of PiLiDAR, a DIY 360° LiDAR scanner built on a Raspberry Pi 4. Using an LDRobot LD06/LD19/STL27L LiDAR, a Raspberry Pi HQ camera, and a stepper motor, this project leverages custom serial drivers, hardware PWM calibration, and image stitching techniques to achieve 360° panoramic scanning and 3D scene reconstruction. The project also covers GPIO configuration, I2C communication, software installation, and provides detailed steps and code examples. The resulting 3D point cloud data can be visualized and exported using Open3D.

Read more
Hardware LiDAR 3D Scanning

Zack: A Lightweight Backtesting Engine in Zig

2025-04-19
Zack: A Lightweight Backtesting Engine in Zig

Zack is a lightweight backtesting engine written in Zig for testing trading strategies. It simulates the trading process, generating trading signals from historical OHLCV data, managing a virtual portfolio, and reporting performance. Zig's performance and memory control advantages make it ideal for this application. Currently, Zack implements a simple "buy and hold" strategy, with plans to add more sophisticated strategies, technical indicators, and performance metrics in the future.

Read more

Neurite: An Infinite Fractal Workspace for Creative Exploration

2025-04-19
Neurite: An Infinite Fractal Workspace for Creative Exploration

Neurite is an open-source creative workspace blending the mesmerizing complexity of fractals with modern mind-mapping techniques. Users navigate a virtually limitless canvas, creating nodes representing text, images, videos, code, and AI agents, building a personalized microcosm of their thoughts and inspirations. Featuring real-time fractal navigation, customizable fractal types, and AI integration via FractalGPT for non-linear conversations, Neurite offers seamless integration with external knowledge sources like Wolfram Alpha and Wikipedia. Powerful customization options, including custom node creation and formatting, further enhance the user experience.

Read more
Development

Open Source F1 Live Timing Client: undercutf1

2025-04-19
Open Source F1 Live Timing Client: undercutf1

undercutf1 is an open-source TUI application providing a real-time F1 live timing experience. It displays crucial race information like sector times, tire data, gaps, and strategies, with support for session replays and data analysis. Utilizing the UndercutF1.Data library, it connects to the F1 live timing data stream, processing incoming information and even allowing for simulated streams for development. Additional features include a driver tracker with a track map, team radio listening with transcription (using Whisper), and easy installation across multiple operating systems. A must-have for F1 fans and developers alike.

Read more

Building JavaScript Views the Hard Way

2025-04-19
Building JavaScript Views the Hard Way

This article introduces a pattern for building views in plain JavaScript, emphasizing maintainability, performance, and fun, while avoiding the complexities of frameworks like React, Vue, or lit-html. This approach uses direct imperative code for high performance, requires zero dependencies, boasts excellent portability and maintainability, and supports all browsers. The article details the structure of a view component, including template, clone function, init function, DOM variables, DOM views, state variables, DOM update functions, and state update functions, along with naming conventions and best practices to ensure code readability and maintainability.

Read more
Development Views

Hands-On Guide to Large Language Models: Code and Illustrations Included

2025-04-19
Hands-On Guide to Large Language Models: Code and Illustrations Included

Jay Alammar and Maarten Grootendorst's new book, "Hands-On Large Language Models," provides a practical and visually rich guide to understanding and using LLMs. The book features numerous illustrations and accompanying code examples, making complex concepts accessible to a broad audience. With its comprehensive coverage and readily available code repository, it's a valuable resource for both beginners and experienced developers.

Read more
AI

PDCurses: A Cross-Platform Public Domain Curses Library

2025-04-18
PDCurses: A Cross-Platform Public Domain Curses Library

PDCurses is a public domain curses library supporting DOS, OS/2, Windows console, X11, and SDL. It implements most X/Open and System V R4 curses functions, allowing recompilation of text-mode curses programs into GUI applications via its X11 and SDL ports. Primarily distributed as source code, pre-compiled libraries may also be available. Find the latest version at https://pdcurses.org/.

Read more

UML Diagrams Deconstruct Evans' DDD Cargo Shipping Example

2025-04-18
UML Diagrams Deconstruct Evans' DDD Cargo Shipping Example

This project visualizes the DDD cargo shipping example from Eric Evans' book using UML diagrams. Generated from the dddsample-core GitHub project, these diagrams – including class, sequence, object, and communication diagrams – illuminate the system's architecture and behavior, showcasing the interplay between components and the structure of the domain model. A directed graph, created with Astah Professional, further clarifies relationships between elements. This resource provides a practical, visual understanding of DDD principles in action.

Read more
Development Cargo Shipping System

Running DOOM from a QR Code: A Tale of Extreme Compression

2025-04-18
Running DOOM from a QR Code: A Tale of Extreme Compression

Programmer Kuber Mehta has achieved the seemingly impossible: running the classic game DOOM directly from a QR code! Dubbed 'The Backdooms,' this project utilizes zlib and gzip compression, base64 encoding, and a cleverly designed self-extracting HTML wrapper to deliver a fully playable DOOM experience without any downloads. The development journey was fraught with challenges, requiring iterative adjustments to compression ratios and QR code versions. This incredible feat showcases the power of extreme compression and innovative application design, a testament to programmer ingenuity and perseverance.

Read more

Attune: Secure and Blazing-Fast Linux Package Hosting

2025-04-18
Attune: Secure and Blazing-Fast Linux Package Hosting

Attune is a tool for securely publishing and hosting Linux packages, offering both self-hosted and cloud-managed deployment options. Its CLI performs local repository index signing, ensuring key security. Incremental index rebuilds make it incredibly fast. Currently supporting APT (Debian and Ubuntu) repositories, with more to come. Set up an APT repository in about 5 minutes using Docker and GnuPG.

Read more

Writing Less Slow C, C++, and Assembly Code: A Practical Guide to Performance

2025-04-18
Writing Less Slow C, C++, and Assembly Code: A Practical Guide to Performance

This repository offers practical examples of writing efficient C and C++ code, covering topics from micro-kernels to parallel algorithms. It demonstrates how to leverage C++20 features and compiler optimizations to boost performance (e.g., speeding up trigonometry by 40x), and explores best practices for avoiding performance bottlenecks, such as efficient JSON handling, using STL associative containers, and choosing the right parallel programming model. The project also includes code examples for hardware acceleration using Assembly, CUDA, and FPGA, aiming to help developers write faster and safer code.

Read more
Development Parallel Programming

Securely Manage Environment Variables with GPG-Encrypted Files

2025-04-17
Securely Manage Environment Variables with GPG-Encrypted Files

This shell tool provides a secure way to manage environment variables using GPG-encrypted files. It addresses the common issue of command-line tools needing environment variables containing sensitive information stored in unencrypted shell files. The tool allows users to read secrets from encrypted files and easily switch between different accounts. It supports nested logins, updates the `SECRET_LOGIN` environment variable, and modifies the shell prompt to display the current login. Autocomplete for available filenames is also included.

Read more

Val: An Arbitrary-Precision Calculator Language

2025-04-17
Val: An Arbitrary-Precision Calculator Language

Val is a simple arbitrary-precision calculator language built on top of chumsky and ariadne. It runs on Linux, MacOS, BSDs, and Windows. Installation is easy via Cargo, or pre-built binaries are available. Val features a command-line interface and REPL with syntax highlighting, persistent history, and emacs-style editing. The language supports functions, loops, conditionals, and a rich set of built-in functions covering arithmetic, logical, comparison, and collection operations. Data types include numbers, booleans, strings, and lists.

Read more
Development

AgentAPI: A Unified HTTP API for Controlling Coding Agents

2025-04-17
AgentAPI: A Unified HTTP API for Controlling Coding Agents

AgentAPI is a powerful HTTP API designed to control coding AI agents like Claude Code, Goose, Aider, and Codex. It provides a unified chat interface, enabling interaction through simple API calls. Users can even build an MCP server where one agent controls another. AgentAPI automatically handles terminal output, removing clutter and parsing it into individual messages, simplifying interaction. While official SDKs from LLMs may emerge, AgentAPI aims to be a universal adapter, allowing developers to easily switch between coding AI agents.

Read more
Development

Sandbox Python Execution via MCP Server

2025-04-17
Sandbox Python Execution via MCP Server

This article introduces a Model Context Protocol (MCP) server that runs Python code in a sandbox using Pyodide within Deno, providing isolation from the operating system. The server supports several modes: standard input/output (stdio), server-sent events (SSE), and a warmup mode for testing and deployment. An example using PydanticAI demonstrates interacting with LLMs via an Agent using this MCP server.

Read more
Development

go-mcp: A Type-Safe Go SDK for Building MCP Servers

2025-04-17
go-mcp: A Type-Safe Go SDK for Building MCP Servers

go-mcp is a Go SDK simplifying MCP (Model Context Protocol) server development. Its type-safe, intuitive interface streamlines the process. Code generation ensures static typing for tools and prompt parameters, catching errors at compile time. The clean API and developer-friendly design make it easy to learn and use. The project includes comprehensive examples and documentation, supporting features like tools, prompts, resource management, and logging. While dynamic tool addition isn't currently supported, future development plans include batching, streamable HTTP transport, and progress notifications. The project is MIT licensed.

Read more
Development

Plandex: AI Coding Agent for Large Projects

2025-04-16
Plandex: AI Coding Agent for Large Projects

Plandex is a terminal-based AI development tool designed for tackling large coding tasks spanning multiple steps and numerous files. Handling up to 2M tokens of context directly (~100k per file), it can index directories with 20M tokens or more using tree-sitter project maps. A cumulative diff review sandbox keeps AI-generated changes separate until ready, and command execution is controlled for easy rollback and debugging. Plandex combines models from Anthropic, OpenAI, Google, and open-source providers, offering both full autonomy and fine-grained control, making it resilient to the complexities of large projects. It features a project-aware chat mode, Git integration, and a developer-friendly CLI interface.

Read more
Development large projects

Codex: A Lightweight Coding Agent for Your Terminal

2025-04-16
Codex: A Lightweight Coding Agent for Your Terminal

Codex is a lightweight coding agent running in your terminal, leveraging the OpenAI API for ChatGPT-level code reasoning. It offers interactive and non-interactive modes, automating code completion, execution, dependency installation, and even unit test generation. Robust sandboxing ensures safety. Users can customize instructions and approval modes, tackling tasks from simple code explanations to complex refactoring. Supporting multiple OSes and open-sourced for community contributions, Codex streamlines development workflows.

Read more
Development

12-Factor Agents: Principles for Building Reliable LLM Applications

2025-04-16
12-Factor Agents: Principles for Building Reliable LLM Applications

This article explores the principles for building reliable, scalable, and maintainable LLM-powered software—the 12-Factor Agents. The author argues that existing agent frameworks fall short in production, with many so-called "AI Agents" being mostly deterministic code sprinkled with LLM steps. The author proposes principles for building more robust agents, emphasizing a modular approach of incorporating small, modular agent concepts into existing products, avoiding inefficient greenfield rewrites. This is a valuable read for engineers and entrepreneurs focused on AI application development.

Read more
Development

ActorCore: Stateful Serverless That Runs Anywhere

2025-04-16
ActorCore: Stateful Serverless That Runs Anywhere

ActorCore is a TypeScript framework for easily building stateful, AI agent, collaborative, or local-first applications. It eliminates the need for databases and ORMs, offering blazing-fast read/write speeds by storing state on the same machine as the compute. Deploy to Rivet, Cloudflare, Bun, Node.js, and more. Built-in low-latency events enable real-time state updates and broadcast changes. Its unique edge-data storage provides instant interactions. While currently not ideal for OLAP, data lakes, graph databases, and highly relational data, it's constantly improving and aims to become the universal way to build and scale stateful serverless applications.

Read more
Development actor model

DVMCP: A Deliberately Vulnerable Model Context Protocol Implementation

2025-04-16
DVMCP: A Deliberately Vulnerable Model Context Protocol Implementation

DVMCP is a deliberately vulnerable implementation of the Model Context Protocol (MCP) designed for educational purposes. It features 10 progressively challenging scenarios demonstrating various vulnerabilities and attack vectors, including prompt injection, tool poisoning, excessive permissions, rug pull attacks, tool shadowing, indirect prompt injection, token theft, malicious code execution, remote access control, and multi-vector attacks. This project aims to educate security researchers, developers, and AI safety professionals about potential security risks in MCP implementations and mitigation strategies.

Read more
Development

Krep: Blazing Fast String Search Utility

2025-04-16
Krep: Blazing Fast String Search Utility

Krep is a performance-optimized string search utility designed for maximum throughput and efficiency when processing large files and directories. It utilizes multiple search algorithms and SIMD acceleration (when available), prioritizing speed and simplicity. Krep automatically selects the optimal algorithm, supports multi-threaded searching, memory-mapped I/O, regular expressions, and recursive directory searches, while skipping binary files and common non-code directories. Benchmarks show Krep is approximately 41.5x faster than grep and slightly faster than ripgrep.

Read more
Development string search

AI Rebel Genius: Unleashing the Untamed Potential of GPT-4

2025-04-16
AI Rebel Genius: Unleashing the Untamed Potential of GPT-4

This text details a series of instructions and attempts to break the limitations of GPT-4. The user tries various techniques, including special symbols, leetspeak, image steganography, and carefully crafted prompts, to bypass security restrictions and obtain sensitive information that GPT-4 would normally not provide, such as illegal drug synthesis methods and hacking techniques. These attempts showcase the user's exploration and challenges to AI capabilities, and also reflect the complexity and limitations of AI security mechanisms.

Read more
AI
1 2 3 4 6 8 9 10 29 30