Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Revealing the details of how OpenAI agents hacked Hugging Face (swarmtraces.org)
    152comments
  2. Ollaya – Ollama for open-source, Jev-style decision models (ollaya.dev)
    101comments
  3. Show HN: Jev Plays Pokémon Red (jev-pokemon.vercel.app)
    71comments
  4. Plan mode is dead (aymannadeem.com)
    130comments
  5. What even is an OS now? (sockpuppet.org)
    160comments
  6. Jury finds Facebook liable for deceiving users in Cambridge Analytica case (cbsnews.com)
    5comments
  7. Platform-independent SIMD in Go (go.dev)
    136comments
  8. Git-bug: Distributed, offline-first bug tracker embedded in Git (github.com/git-bug)
    101comments
  9. Excel now supports multiple values in a single cell (techcommunity.microsoft.com)
    83comments
  10. One Piece of Flock Camera Data Put This Innocent Woman in Jail for 13 Days (jezebel.com)
    18comments
  11. Why didn't anybody tell me about Redis hash slots? (verygoodsoftwarenotvirus.dev)
    5comments
  12. Gravity seems holographic. What does that mean for reality? (quantamagazine.org)
    133comments
  13. Remembering Johannes Doerfert (llvm.org)
    2comments
  14. First Principles Thinking (sunilsadasivan.com)
    99comments
  15. Show HN: Hacker Atlas - A map of what Hacker News talks about (hackeratlas.com)
    6comments
  16. I wrote a ray tracer in Brainfuck (epestr.com)
    12comments
  17. U.S. appeals court upholds designation of Anthropic as supply chain risk (cnbc.com)
    712comments
  18. Show HN: A game about fake news and memes (unspin.app)
    4comments
  19. Postgres SELECT DISTINCT Does Not Scale (dbos.dev)
    2comments
  20. Fourier Analysis: Drawing Llamas with Circles (adekau.github.io)
    —discuss
  21. Lab on a Contact Lens Can Measure Stress Through Serotonin (ieee.org)
    1comments
  22. How video games inspire great UX (2019) (jenson.org)
    16comments
  23. Show HN: Ekselio – Loveable for finance workflows (local first) (gptbeyond.com)
    2comments
  24. How we learned to stop worrying and love campus surveillance (fnl.mit.edu)
    78comments
  25. Show HN: Make math automatic with Mathy (gmays.com)
    20comments
  26. What happens when you analyze your favorite college football team like the CIA? (cultivatelabs.com)
    25comments
  27. TiddlyInstall: A universal, reusable, install system (robertsdotpm.github.io)
    2comments
  28. Microsoft abandons personal AI chatbot race with Copilot reboot (bloomberg.com)
    81comments
  29. An airport cooled by natural ventilation (theguardian.com)
    26comments
  30. Alan Kay: Shannon gave us a way of dealing with noisy channels [video] (youtube.com)
    24comments

Why didn't anybody tell me about Redis hash slots?

22 pointsby 2d agoblog.verygoodsoftwarenotvirus.dev
5 comments
1h agoHN ↗

Because you inherited it from someone who built it before that was a thing, and discovered it when you went serverless.

How'd I guess on the article itself?

1h agoHN ↗

I'm confused how you find the data again in this cache? It seems like you're randomly salting your cache keys, so I don't understand how subsequent requests find cached data.

1h agoHN ↗

Naively (and naive is often fine), you can query each node in parallel. The number of nodes is usually very small relative to the amount of data per node and reading is usually much faster than writing.

1h agoHN ↗

How much of the tools you use every day stays unnoticed...

15m agoHN ↗

I actually do a quarterly “read the docs” day for my major tools. It always pay off…