frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

I accidentally built a vector database using video compression

https://github.com/Olow304/memvid
12•saleban1031•1d ago

Comments

saleban1031•1d ago
While building a RAG system, I got frustrated watching my 8GB RAM disappear into a vector database just to search my own PDFs. After burning through $150 in cloud costs, I had a weird thought: what if I encoded my documents into video frames?

The idea sounds absurd - why would you store text in video? But modern video codecs have spent decades optimizing for compression. So I tried converting text into QR codes, then encoding those as video frames, letting H.264/H.265 handle the compression magic.

The results surprised me. 10,000 PDFs compressed down to a 1.4GB video file. Search latency came in around 900ms compared to Pinecone’s 820ms, so about 10% slower. But RAM usage dropped from 8GB+ to just 200MB, and it works completely offline with no API keys or monthly bills.

The technical approach is simple: each document chunk gets encoded into QR codes which become video frames. Video compression handles redundancy between similar documents remarkably well. Search works by decoding relevant frame ranges based on a lightweight index.

You get a vector database that’s just a video file you can copy anywhere.

https://github.com/Olow304/memvid

drdude•1d ago
Now, this is genius, and it has been a long time since I saw something very cool like this. The simplicity and how effective the idea and implementation is is very impressive.

Kudos, I forked it already haha.

throwaway29303•1d ago
Amazing.

HTTP/2 connection preface and settings handshake

https://subtrace.dev/blog/http2-preface
1•adtac•2m ago•0 comments

Show HN: OTelWasm, a PoC for a WebAssembly Based OpenTelemetry Collector Plugins

https://github.com/otelwasm/otelwasm
1•musaprg•2m ago•0 comments

Why Philosophers Should Care About Computational Complexity [video]

https://www.youtube.com/watch?v=OST1DjD08Hg
1•gone35•2m ago•0 comments

Show HN: A Simpler Way to Share Addresses, Content and Links

https://ppin.me
1•vinod1073•3m ago•0 comments

Smartphone Sales Growth Hit by Tariff 'Whirlwind of Uncertainty

https://www.bloomberg.com/news/articles/2025-05-30/smartphone-sales-growth-hit-by-tariff-whirlwind-of-uncertainty
1•rntn•3m ago•0 comments

De Bruijn notation, and why it's useful

https://blueberrywren.dev/blog/debruijn-explanation/
9•blueberry87•4m ago•0 comments

Rethinking sugar: BYU study shows food source key to understanding diabetes risk

https://news.byu.edu/intellect/rethinking-sugar-byu-study-shows-food-source-is-key-to-understanding-diabetes-risk
1•gnabgib•5m ago•0 comments

Mysterious Database of 184M Records Exposes Login Credentials

https://www.wired.com/story/mysterious-database-logins-governments-social-media/
1•andrewl•5m ago•0 comments

Holon Programming

https://github.com/holon-scribe/holon-programming
1•cenazoic•7m ago•1 comments

Show HN: I reduced social media time from 3hrs/day to 15min/week my startup

https://www.postlayer.co
1•officialvikram•9m ago•0 comments

Science advances toward living muscle prosthetics

https://english.elpais.com/science-tech/2025-05-30/a-robotic-arm-made-from-human-tissue-science-advances-toward-living-muscle-prosthetics.html
1•geox•10m ago•0 comments

Association of Endothelial Dysfunction with THC-Edible Use

https://jamanetwork.com/journals/jamacardiology/article-abstract/2834540
3•Jimmc414•13m ago•0 comments

Ask HN: Can we use tools in batch prediction with GenAI SDK?

1•roughrider67•16m ago•0 comments

Rolldown-Vite

https://voidzero.dev/posts/announcing-rolldown-vite
2•manniL•17m ago•0 comments

Vanilla Web Components

https://github.com/vanillawc
1•nivethan•18m ago•0 comments

Spinnin' and Steppin': Traversing 3D Space with SpinStep

https://d1gesto.blogspot.com/2025/05/spinnin-and-steppin-traversing-3d-space.html
1•Vox_Leone•19m ago•0 comments

'He spent thousands': how a bank team tries to rescue scam victims

https://www.theguardian.com/money/2025/feb/01/bank-team-scam-victims-fraud
2•jplrssn•20m ago•0 comments

Automated agriculture: Building a DIY hydroponic gardening system

https://www.viam.com/post/diy-hydroponic-gardening-system-build
1•hazalmestci•21m ago•0 comments

96GB VRAM on a Single GPU – Benchmarking Nvidia's RTX Pro 6000

https://www.naveen.ing/writings/benchmarking-rtx-pro-6000/
1•naveen_k•23m ago•0 comments

Mind the Gap: Deep Learning Doesn't Learn Deeply

https://arxiv.org/abs/2505.18623
2•nyrikki•24m ago•0 comments

Astrophotography: Capturing Light That Traveled Millions of Years

https://www.boredpanda.com/astro-photography-mihail-minkov/
3•astroimagery•24m ago•2 comments

Build API integrations with SQL and YAML – no SaaS lock-in, no drag-and-drop UIs

https://github.com/paloaltodatabases/sequor
2•maxgrinev•26m ago•0 comments

The Surveilled Student

https://www.chronicle.com/article/the-surveilled-student
3•smlacy•26m ago•0 comments

Show HN: Leap – Full-stack AI developer agent that deploys to AWS

https://leap.new
2•machekb•27m ago•0 comments

Lockheed, Red Hat Partner on Drone Swarm Technology

https://thedefensepost.com/2025/05/30/lockheed-red-hat-drone-swarm/
1•mikece•27m ago•0 comments

Show HN: An AI image editor that understands context (FLUX.1 Kontext)

https://konfluxart.com
1•howardV•29m ago•0 comments

Vibe Cowboys: Beyond Vibe Coding

https://www.notion.so/Vibe-Cowboys-Beyond-Vibe-Coding-203646586bb88047a0b8f74d814ad106
1•alistairw•33m ago•0 comments

Business Insider Lays Off 21%

https://www.adweek.com/media/business-insider-layoffs-traffic-sensitivity/
2•markgavalda•34m ago•0 comments

OpenTaxSolver

https://opentaxsolver.sourceforge.net/
1•diggernet•37m ago•0 comments

Vimium: A browser extension that provides Vim-style keyboard controls

https://vimium.github.io/
2•twoquestions•38m ago•2 comments