Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    115comments
  2. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    7comments
  3. Cloudflare Quick Tunnels(cloudflare.com ↗)
    198comments
  4. Saving another 100TB of RAM(cloudflare.com ↗)
    16comments
  5. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    44comments
  6. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    8comments
  7. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    37comments
  8. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    64comments
  9. How to Write with an LLM(sockpuppet.org ↗)
    217comments
  10. The Implications of Linguistic Illegibility for LLM Security(arxiv.org ↗)
    12comments
  11. OpenJev(openjev.com ↗)
    234comments
  12. C++26: Trivial infinite loops are no longer undefined behaviour(sandordargo.com ↗)
    144comments
  13. Our brain evolved from two primitive nervous systems that merged: Study(newscientist.com ↗)
    41comments
  14. Korea raises data breach fines to 10% of revenue(koreajoongangdaily.com ↗)
    42comments
  15. Border agents can search cellphones without a warrant or reasonable suspicion(lawandcrime.com ↗)
    90comments
  16. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    22comments
  17. From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video](youtube.com ↗)
    discuss
  18. I vibed a proof of Conway's conjecture(overreacted.io ↗)
    167comments
  19. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    15comments
  20. A search-and-inference database from scratch in pure Zig(antfly.io ↗)
    11comments
  21. Minimal Phone 2(minimalcompany.com ↗)
    118comments
  22. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    85comments
  23. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    8comments
  24. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    140comments
  25. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  26. Show HN: Ax-check.com – Can agents use your product?(ax-check.com ↗)
    23comments
  27. US Military had close call after using AI for hallucinated intelligence report(cnn.com ↗)
    237comments
  28. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    15comments
  29. Show HN: Scry, programmable internet search w/ congestion pricing(scry.io ↗)
    16comments
  30. The scourge of x86 emulation(fex-emu.com ↗)
    74comments

Saving another 100TB of RAM

95 pointsby 2h agoblog.cloudflare.com
16 comments
1h agoHN ↗

Was this vibecoded? I hope so, would expect models to be good enough by now, its not that creative.

1h agoHN ↗

I think it's more important now than it was last year to differentiate pure yolo vibecoding from "AI assisted engineering" or "AI engineering", I.e. deliberate and careful use of AI to speed up coding but without creating too much slop. Maybe aineering?

1h agoHN ↗

Just like the original harness, aider.chat

1h agoHN ↗

Nah, AI code is black or white, and whether the code is good depends on your religion.

1h agoHN ↗

I expect a another post in a year where they get a performance improvement by reducing the number of calls to create integers from bytes.

1h agoHN ↗

go_elmo is unimpressed everyone. Pack it up. Time to go home.

46m agoHN ↗

Come on CF, you can't even be bothered vibe a README for the crate? Somebody tear down this post until this garbage is documented properly.

I found this in the code, it looks like a rewrite-in-rust:

//! # pingora-ketama

//! A Rust port of the nginx consistent hashing algorithm.

//!

//! This crate provides a consistent hashing algorithm which is identical in

//! behavior to [nginx consistent hashing](https://www.nginx.com/resources/wiki/modules/consistent_hash...).

//!

//! Using a consistent hash strategy like this is useful when one wants to

//! minimize the amount of requests that need to be rehashed to different nodes

//! when a node is added or removed.

35m agoHN ↗

We can tell you didn't read the post because it is definitively NOT garbage. Very interesting write up by the Cloudflare team - the man literally did calculus to improve something. When's the last time any of us did Calculus to improve anything? Bang up job Kevin and everyone!!

30m agoHN ↗

Anyone have an idea how it behaves differently from google's jump hash algorithm? The cool thing about google's one is it's so short I can include it in a HN comment:

    int32_t JumpConsistentHash(uint64_t key, int32_t num_buckets) {
      int64_t b = 1, j = 0;
      while (j < num_buckets) {
        b = j;
        key = key * 2862933555777941757ULL + 1;
        j = (b + 1) * (double(1LL << 31) / double((key >> 33) + 1));
      }
      return b;
    }

https://arxiv.org/pdf/1406.2294

16m agoHN ↗

Well I looked it up; nginx, apparently, uses ketama -- it's a ring-style hash probably works better for web backends than the jch above, as when given [0,1,2,3] and replacing the server in slot 1 you're going to have a lot of hash moves. With ketama, you'd only have the '1' hashes moving. You can't really beat google's for brevity, though.

31m agoHN ↗

Bang up article! As someone who doesn't get to do enough (almost any) calculus in my daily programming assignments, I thoroughly enjoyed reading about Kevin's dive into that derivation (linked in the supplemental article). All the people being negative here can swallow raisins

6m agoHN ↗

Thanks! Maybe dial it back or people are going to think I paid you

30m agoHN ↗

The only Rust section is the one on storage improvements about the struct that stores the hash, but do they really need that many hashes that 2 bytes makes that big of a difference? Article doesn't expand, but I guess it's a hash for every task on every computer, so maybe yes.

26m agoHN ↗

That's exactly his point/the area of cost saving - that they didn't actually need as many hashes as they had started with. The trick was in finding out how many hashes they could cull without degrading load balance.

27m agoHN ↗

These optimizations are impressive, but it gets me thinking: at what point does a company become a collection of impenetrable siloes, where nothing really does what you expect? Maybe know with AI this is less of an issue as exploring a codebase is also much faster.