Recent submissions

Comment · 8 months ago
I built a small OSS that lets you define CDN security rules in YAML and compiles them into edge JavaScript.

Motivation: - avoid config drift - make security rules reviewable - GitOps-friendly workflow

Looking for feedback from SRE / Platform engineers.

Comment · 8 months ago
Comment · 10 months ago
Hi HN,

I recently shared `lazy-image`, a Rust-powered Node.js image library meant to be a drop-in replacement for Sharp in serverless environments.

Some of you asked for reproducible benchmarks. So I built a Dockerized test environment with a React frontend to compare them side-by-side.

*Repo:* https://github.com/albert-einshutoin/lazy-image-test

*How to run:* 1. `git clone ...` 2. `docker-compose up --build` 3. Open `http://localhost:3001`

*What it tests:* - *Zero-Copy Conversion*: Where lazy-image shines (WebP/AVIF generation without resizing). - *Resize + Convert*: Standard use cases. - *Advanced Ops*: Where Sharp still wins (blur, crop, etc.) - included for fairness.

The app visualizes processing time (ms) and file size (bytes) for your specific hardware. I'd love for you to run it and tell me if my claims hold up on your machines!

Comment · 10 months ago
Currently, lazy-image does not support Cloudflare Workers.

lazy-image uses native modules (.node files) built with NAPI-RS, which cannot run in Cloudflare Workers' V8 Isolate environment (only WebAssembly or pure JavaScript are supported).

*Currently supported environments:* - Node.js 18+ environments (AWS Lambda, Vercel Serverless Functions, Google Cloud Functions, etc.) - Serverless environments where native binaries can execute

*Cloudflare Workers support:* - A WASM version is planned for v2.0

I appreciate your patience until v2.0 is released.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton