The best Hacker News stories from Show from the past day

Go back

Latest posts:

Show HN: Self-hosted Docker image registry. One container, two simple accounts

I wanted somewhere to push my own Docker images and pull them from my other hosts. The registries I tried were either bare cli and complex config file driven or full fruit complex permission based systems.<p>Registreasy sits in the middle. Set two passwords in Docker Compose: one for the account that pushes images and one for the read-only account your other hosts use to pull them. You can also allow pulls without a password if that suits your setup.

Show HN: Custom X64-86 Operating System Written from Scratch

hi hn, decided to post about my operating system, BoltOS. its an x64-86 hobby os written completley from scratch for desktop, and orange pi zero3 (ARM version using U-Boot). Its about 170K lines of code, and ai-assisted, but only about 10%, the website and some of the UI on the desktop version (im bad at ui and react design lol), all of the rest is written by hand from me. Im hoping to get some support with it and i would love suggestions on what i should add next. the domain is boltos.dev, and github is at github.com/adriantips/boltossource. thank you.

Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX

Hi HN, I built Weavon, a drop-in Pandoc 3.13 replacement written in safe Rust.<p>Pandoc ships as a 195 MB binary, and producing PDFs usually requires installing gigabytes of TeX Live. Weavon is a single 9.3 MB stripped binary on macOS ARM64 with no runtime dependencies beyond libSystem. It supports all 52 Pandoc 3.13 input formats and 77 output formats, including Lua 5.4.8, LPeg, citeproc, and 194 syntax highlighting languages. Across 65,937 Pandoc 3.13 baseline tests, Weavon matches 65,891 units, or 99.93%, and the remaining 46 differ on purpose. On 1 MB benchmarks on Apple Silicon, it runs 15.3x to 49.7x faster than Pandoc 3.13 with 5.6x to 19.2x lower peak memory.<p>Beyond drop-in Pandoc mode, v0.2.0 includes a pure-Rust embedded PDF engine with Unicode font subsetting, TeX math, SVG rendering, and PDF/A and PDF/UA tags so you don't need TeX Live. It also adds lossless DOCX and PPTX round-trips, sandboxed WebAssembly filters, built-in LSP and MCP servers, live preview, a git diff driver for Office and PDF files, and Python and Node bindings.<p>You can test it locally in your browser at <a href="https://weavon.org/playground" rel="nofollow">https://weavon.org/playground</a> or install the CLI with `curl -fsSL <a href="https://weavon.org/install.sh" rel="nofollow">https://weavon.org/install.sh</a> | sh`. Benchmarks and docs are at <a href="https://weavon.org" rel="nofollow">https://weavon.org</a>.

Show HN: Simulating a 1975 dungeon board game to fix its class balance

Show HN: Simulating a 1975 dungeon board game to fix its class balance

Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust

Show HN: Nixorium – NixOS fleet management, in daily use in my school's labs

Show HN: Nixorium – NixOS fleet management, in daily use in my school's labs

Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF

Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios

Show HN: Code like a Viking (Hávamál programming language)

A puzzle programming language where programs look like Hávamál, in the specific metre with alliteration required. Designed as a fun way to do Advent of Code style puzzles. Make it work, make it a poem, make it beautiful.

Show HN: Open-source guitar practice studio with stem extraction and NAM rigs

Show HN: Open-source guitar practice studio with stem extraction and NAM rigs

Show HN: Warpspec – TLA+ model checking on a GPU, 4,600× faster than TLC

Show HN: Warpspec – TLA+ model checking on a GPU, 4,600× faster than TLC

Show HN: Warpspec – TLA+ model checking on a GPU, 4,600× faster than TLC

Show HN: Pryzmera – Fast PDF viewer fully rendering on the GPU

In September of 2021, my father told me he was struggling to open PDFs. As part of his job, he had to view many PDFs with millions of vector paths that were generated by CAD software, and we could not find any PDF viewer that would render them at more than a few frames per second.<p>I thought that if we simply converted those paths into triangles the GPU could just blast through them. Today, after more than 5 years and 3 iterations in 3 different languages, I would like to share with you the 3rd iteration of my PDF viewer: Named "Pryzmera", I wrote it by hand with the goal to render those CAD PDFs at interactive frame rates, and with the intention to make every feature as fast as I could possibly imagine it to be.<p>When Pryzmera opens a document, it first starts by interpreting each page. As a page is interpreted, it generates small clipping & tessellation jobs that run in parallel. Clipping & tessellation is performed by Pryzmera's own tessellator and produces the initial geometry for the page. This geometry is then collected and jointly optimized to produce a final GPU representation that mostly consists of colored/textured triangles. The representation is completely static, which in turn makes rendering performance (FPS) almost static, even when the view changes (e.g. panning/zooming/rotating). Once the representation is uploaded to the GPU, rendering a page typically requires only 3-4 draw calls.<p>On my machine (GTX1080/i7-5820k), Pryzmera can render my father's CAD PDFs at hundreds (and sometimes thousands) of frames per second. Compared to Adobe Acrobat:<p>- Loading is about 2-10x faster (depending on how Acrobat is feeling on the day)<p>- Rendering is about 1200-5700x faster (depending on Pryzmera's graphics settings)<p>- Text search is about 100x faster (although it's hard to measure Acrobat's performance here)<p>- And this trend continues...<p>If you would like to test the performance yourself, you can press F8 to bring up the render stats, including FPS and VRAM usage breakdown; You can try this stress-test file I made that is rather representative of the PDFs generated by CAD software: <a href="https://pryzmera.com/stress_test.pdf" rel="nofollow">https://pryzmera.com/stress_test.pdf</a><p>And if you are curious about any of the technical details, or anything else, ask away!

Show HN: Pryzmera – Fast PDF viewer fully rendering on the GPU

In September of 2021, my father told me he was struggling to open PDFs. As part of his job, he had to view many PDFs with millions of vector paths that were generated by CAD software, and we could not find any PDF viewer that would render them at more than a few frames per second.<p>I thought that if we simply converted those paths into triangles the GPU could just blast through them. Today, after more than 5 years and 3 iterations in 3 different languages, I would like to share with you the 3rd iteration of my PDF viewer: Named "Pryzmera", I wrote it by hand with the goal to render those CAD PDFs at interactive frame rates, and with the intention to make every feature as fast as I could possibly imagine it to be.<p>When Pryzmera opens a document, it first starts by interpreting each page. As a page is interpreted, it generates small clipping & tessellation jobs that run in parallel. Clipping & tessellation is performed by Pryzmera's own tessellator and produces the initial geometry for the page. This geometry is then collected and jointly optimized to produce a final GPU representation that mostly consists of colored/textured triangles. The representation is completely static, which in turn makes rendering performance (FPS) almost static, even when the view changes (e.g. panning/zooming/rotating). Once the representation is uploaded to the GPU, rendering a page typically requires only 3-4 draw calls.<p>On my machine (GTX1080/i7-5820k), Pryzmera can render my father's CAD PDFs at hundreds (and sometimes thousands) of frames per second. Compared to Adobe Acrobat:<p>- Loading is about 2-10x faster (depending on how Acrobat is feeling on the day)<p>- Rendering is about 1200-5700x faster (depending on Pryzmera's graphics settings)<p>- Text search is about 100x faster (although it's hard to measure Acrobat's performance here)<p>- And this trend continues...<p>If you would like to test the performance yourself, you can press F8 to bring up the render stats, including FPS and VRAM usage breakdown; You can try this stress-test file I made that is rather representative of the PDFs generated by CAD software: <a href="https://pryzmera.com/stress_test.pdf" rel="nofollow">https://pryzmera.com/stress_test.pdf</a><p>And if you are curious about any of the technical details, or anything else, ask away!

1 2 3 ... 1082 1083 1084 >