- 115comments
- 7comments
- 198comments
- 16comments
- 44comments
- 8comments
- 37comments
- 64comments
- 217comments
- 12comments
- 234comments
- 144comments
- 41comments
- 42comments
- 90comments
- 22comments
- —discuss
- 167comments
- 15comments
- 11comments
- 118comments
- 85comments
- 8comments
- 140comments
- —discuss
- 23comments
- 237comments
- 15comments
- 16comments
- 74comments
Was this vibecoded? I hope so, would expect models to be good enough by now, its not that creative.
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?
AIded development?
Just like the original harness, aider.chat
Nah, AI code is black or white, and whether the code is good depends on your religion.
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.
go_elmo is unimpressed everyone. Pack it up. Time to go home.
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.
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!!
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:
https://arxiv.org/pdf/1406.2294
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.
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
Thanks! Maybe dial it back or people are going to think I paid you
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.
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.
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.