r/programming • • 11h ago

How Module Lattice Cryptography Works

Thumbnail phase.dev
79 Upvotes

r/programming • • 20h ago

What to Make of the NSA Advisory

Thumbnail words.filippo.io
183 Upvotes

r/programming • • 3h ago

How a tiny HTTP response preview ended up buffering a 64 MB download

Thumbnail octri.dev
6 Upvotes

r/programming • • 5h ago

Heterogeneous collections using compact handles

Thumbnail nukethebees.com
7 Upvotes

r/programming • • 6h ago

Our Journey Migrating to AWS IMDSv2

Thumbnail slack.engineering
6 Upvotes

r/programming • • 3h ago

A Vision for Pascal 2030 at EKON

Thumbnail blogs.remobjects.com
3 Upvotes

r/programming • • 2h ago

SNIA SDC2026 - SMB3 POSIX Extensions: From Plumbing to Flowing

Thumbnail youtube.com
2 Upvotes

r/programming • • 4m ago

PDF & Media Studio — 100% Client-Side Privacy Toolkit

Thumbnail pdfmediastudio.vercel.app
1 Upvotes

I got tired of two things every time I needed to quickly merge a contract, redact a bank statement, or convert an image:

  1. Uploading sensitive documents to random third-party servers just to run a 2-second operation.
  2. Hitting sudden paywalls, watermarks, or "2 free tasks per day" limits halfway through.

So I built PDF, Media & Security Studio — a free, MIT-licensed web app packing 37 browser-only utilities where every byte stays on your machine.

- Source Code (MIT License): https://github.com/Akhil-Binu/pdf-browser

- Live App (No signup / No limits): https://pdfmediastudio.vercel.app/

You can open the site, turn on Airplane Mode (or install it as a PWA), and keep using everything offline. There are no backend endpoints, no upload queues, and no telemetry.

How It Works Under the Hood

Modern browser APIs have gotten capable enough to replace most file-upload sites—and keeping everything local makes most workflows faster because there's zero upload/download latency:

  1. Document & PDF Engine (pdf-lib + pdfjs-dist) — 14 Tools

- Merge, split/extract page ranges (or burst into a ZIP via jszip), visually reorder thumbnails (@dnd-kit), rasterize pages to PNG/JPG, stamp watermarks/page numbers, and password-protect PDFs.

- Redactor & Digital Signer: Draw ink signatures via HTML5 Canvas or place permanent blackout/whiteout vector blocks.

- Visual Diff, Form Filler & Sanitizer: Compare two PDF revisions side-by-side/pixel-overlay, fill and flatten interactive AcroForms, strip tracking metadata before sharing, extract text streams, or compile live Markdown into A4 PDFs.

2. Cryptography, Steganography & Dev Utilities (crypto.subtle + tesseract.js) — 9 Tools

- AES-256 File Vault: Uses native Web Crypto (crypto.subtle) with PBKDF2 (SHA-256, 100k iterations, random 16-byte salt & 12-byte IV) to encrypt any file into a .vault binary container.

- PNG LSB Steganography: Embeds UTF-8 payloads into the Least Significant Bits of RGB channels in PNG pixels. (Fun browser quirk I ran into: you have to skip the Alpha channel (i + 1) % 4 === 0, otherwise browser alpha-premultiplication corrupts the hidden payload bits).

- Local OCR & Dev Tools: Offline text extraction via tesseract.js WebAssembly workers, SHA-1/256/384/512 checksum verifier, QR generator/scanner, RFC 4180 JSON ↔ CSV converter, Base64 MIME sniffer, and Regex debugger.

3. Images & Design — 10 Tools

- Client-side compression (browser-image-compression), multi-photo Image-to-PDF, WebP/PNG/JPEG converter, B&W receipt scanner (strips EXIF), multi-size Favicon + site.webmanifest packager, quantized color palette extractor, SVG bloat stripper, batch watermarker, and meme generator.

4. Audio & Video (OfflineAudioContext + MediaRecorder) — 4 Tools

- Screen & Audio Recorder: Captures display streams (getDisplayMedia) and mixes mic input via AudioContext directly in memory.

- Audio Trimmer, Speed/Reverse & Video Frames: Processes waveform edits, speed changes (0.25x–3.0x), and audio reversal offline via OfflineAudioContext (exporting 16-bit PCM .wav), plus HTML5 Canvas video frame extraction to .zip.

Tech Stack & Architecture

- Stack: React 19, TypeScript, Vite 8, Tailwind CSS v4.

- Performance & Offline Caching: Configured manualChunks in Vite to isolate heavy WASM/PDF/image libraries (vendor-pdf, vendor-ocr, vendor-img, etc.) so initial load stays fast, paired with vite-plugin-pwa (Workbox) to cache assets for full offline use.

Looking for Feedback & Contributors

Everything is open source under MIT: https://github.com/Akhil-Binu/pdf-browser

Since everything runs inside client-side memory, I'd love feedback on edge cases—especially around weird PDF form encodings, large file memory limits on mobile browsers, or ideas for other everyday utilities that shouldn't require a server upload. Issues and PRs are very welcome!


r/programming • • 1h ago

Java Virtual Threads vs Elixir: Comparing Memory, CPU, Process Termination

Thumbnail youtube.com
1 Upvotes

r/programming • • 12h ago

Entity Framework Core Query Plans in Rider: EFCore Visualizer 1.0

Thumbnail giorgi.dev
5 Upvotes

r/programming • • 1d ago

Proof-Oriented Programming in Verus vs. Lean

Thumbnail willcrichton.net
65 Upvotes

r/programming • • 2h ago

How a GameBoy Color emulator written in pure Python survives its double speed mode

Thumbnail github.com
0 Upvotes

r/programming • • 10h ago

ArkType 3.0: set-theoretic precompilation for TypeScript validation

Thumbnail arktype.io
2 Upvotes

library author here! ArkType 3.0 adds @ark/aot, an optional build-time precompiler that compiles runtime validation schemas into standalone plain JS — closer to Rust's serde_derive than an interpreted validator, while keeping zero-build dynamic mode unchanged.

the three main compiler pieces:

  1. set-theoretic reduction before codegen: definitions lower into a normalized set graph (arksets) before emitting JS. unions auto-discriminate into an O(1) switch without declaring a discriminator, branches skip checks already implied by the tag, overlapping ranges collapse (> 0 & >= 10 -> >= 10), and unsatisfiable intersections fail the build.
  2. zero ts-patch**, zero** new Function**:** parses modules with oxc inside standard bundler plugins (Vite, esbuild, webpack, Rolldown, Turbopack, Bun, Node) so tsgo and Node type-stripping keep working, and strict CSP / Cloudflare Workers run compiled checks at full speed.
  3. numbers (precompiled vs Zod 4): 15x faster validation (median across 32 scenarios; #1 on public speed benchmarks), 21x smaller bundles (1.21 kB vs 25.1 kB gz on Valibot's login form — smaller than Valibot's 1.56 kB too), and 63x lighter startup on Node 24.

release post: https://arktype.io/docs/blog/3.0 | benchmarks: https://arktype.io/docs/precompile/benchmarks

happy to answer questions on the set algebra, codegen, or benchmarks!


r/programming • • 1d ago

JetBrains at 26: Our Priorities

Thumbnail blog.jetbrains.com
624 Upvotes

r/programming • • 11h ago

blit: immediate (yet deferred) mode UI

Thumbnail pasttheboonies.com
2 Upvotes

r/programming • • 17h ago

Getting to Go: The Journey of Go's Garbage Collector - The Go Programming Language

Thumbnail go.dev
3 Upvotes

r/programming • • 8h ago

Odin Just Broke Its ABI (On Purpose)

Thumbnail youtube.com
0 Upvotes

r/programming • • 14h ago

Using Constraint Solvers to Solve Sudoku Puzzles in Python

Thumbnail leetarxiv.substack.com
0 Upvotes

r/programming • • 1d ago

What is a specification ? What KAOS teaches spec-driven development.

Thumbnail enspirit.dev
4 Upvotes

r/programming • • 1d ago

Advent of Kernel Optimization

Thumbnail streamhpc.com
8 Upvotes

Today is the second day of our Advent of Kernel Optimization, sharing GPU optimization tips and tricks to count down until Christmas. Follow along here: https://streamhpc.com/blog/tag/advent2026/.


r/programming • • 13h ago

Can I get some Help Reviewing My Notes on Dial-Up?

Thumbnail docs.google.com
0 Upvotes

No idea if this is the right subreddit for this. So, if you have a better one, please lmk. This isn’t a demo, just my research. Nor is it support imo.

I’ve been researching 1980s/1990s Dial-Up internet for a coding programming project of mine and I’ve come as far as I can on my own. I just need some people knowledgeable about the data that was sent to help me review and correct any errors I’ve made because I’m sure I’ve made a few. Can’t send it as a file. So, I imported it into a Google Doc.


r/programming • • 2d ago

Understanding FAT16

Thumbnail fat16.asciitweezers.com
207 Upvotes

r/programming • • 1d ago

Comparing Laravel Go and Arkoren

Thumbnail arkoren.dev
0 Upvotes

r/programming • • 1d ago

Learn how to write an API in Rust without Laravel Rust

Thumbnail learning-rust.github.io
0 Upvotes