Doing well in your courses: Andrej's advice for success (2013)
cs.stanford.edu
What Are RFCs? The Forgotten Blueprints of the Internet
ackreq.github.io
The Spherical Cows of Programming
programmingsimplicity.substack.com
Show HN: Duck-UI – Browser-Based SQL IDE for DuckDB
demo.duckui.com
Comparing the power consumption of a 30 year old refrigerator to a brand new one
ounapuu.ee
Infisical (YC W23) Is Hiring Full Stack Engineers
ycombinator.com
The Trinary Dream Endures
robinsloan.com
Show HN: Pyversity – Fast Result Diversification for Retrieval and RAG
github.com
How to Assemble an Electric Heating Element from Scratch
solar.lowtechmagazine.com
The case for the return of fine-tuning
welovesota.com
The macOS LC_COLLATE hunt: Or why does sort order differently on macOS and Linux
blog.zhimingwang.org
The Zipper Is Getting Its First Major Upgrade in 100 Years
wired.com
Abandoned land drives dangerous heat in Houston, Texas A&M study finds
stories.tamu.edu
Why an abundance of choice is not the same as freedom
aeon.co
Xubuntu.org Might Be Compromised
old.reddit.com
Lost Jack Kerouac story found among assassinated mafia boss' belongings
sfgate.com
Windows 11 25H2 October Update Bug Renders Recovery Environment Unusable
techpowerup.com
Improving PixelMelt's Kindle Web Deobfuscator
shkspr.mobi
Show HN: Open-Source Voice AI Badge Powered by ESP32+WebRTC
github.com
Thieves steal crown jewels in 4 minutes from Louvre Museum
apnews.com
Feed me up, Scotty – custom RSS feed generation using CSS selectors
feed-me-up-scotty.vincenttunru.com
EQ: A video about all forms of equalizers
youtube.com
When Pollution Spikes in Southeast Asia, Rainfall Shifts from Land to Sea
e360.yale.edu
Hey HN! I’ve recently open-sourced Pyversity, a lightweight library for diversifying retrieval results. Most retrieval systems optimize only for relevance, which can lead to top-k results that look almost identical. Pyversity efficiently re-ranks results to balance relevance and diversity, surfacing items that remain relevant but are less redundant. This helps with improving retrieval, recommendation, and RAG pipelines without adding latency or complexity.
Main features:
- Unified API: one function (diversify) supporting several well-known strategies: MMR, MSD, DPP, and COVER (with more to come)
- Lightweight: the only dependency is NumPy, keeping the package small and easy to install
- Fast: efficient implementations for all supported strategies; diversify results in milliseconds
Re-ranking with cross-encoders is very popular right now, but also very expensive. From my experience, you can usually improve retrieval results with simpler and faster methods, such as the ones implemented in this package. This helps retrieval, recommendation, and RAG systems present richer, more informative results by ensuring each new item adds new information.
Code and docs: github.com/pringled/pyversity
Let me know if you have any feedback, or suggestions for other diversification strategies to support!