Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Plotly for Highly Customizable and Non-Interactive Data Visualization(chris-parmer.com ↗)
    discuss
  2. Master of Malt Hacked, User Data Compromised(masterofmalt.com ↗)
    discuss
  3. Prompts Aren't Real(evaluation.club ↗)
    discuss
  4. Kev – A Jev-Compatible API on top of DiffusionGemma running on Workers AI(workers-ai-mle.workers.dev ↗)
    1comments
  5. Gemini hacked three companies in first known breakout by Google's AI(reuters.com ↗)
    discuss
  6. Nuclear tests at Mt. Mantap have reactivated intraplate faults(science.org ↗)
    discuss
  7. NIST Elliptic Curves Seeds Bounty (2023)(filippo.io ↗)
    discuss
  8. Google's Gemini becomes latest AI model to break out and hack computer systems(cnbc.com ↗)
    discuss
  9. Australian government considers ban on smart glasses in public buildings(theguardian.com ↗)
    discuss
  10. Muse gets all your unclaimed money back!(muse.ai ↗)
    discuss
  11. Show HN: Typesafe Java SDK (Unofficial)(github.com/qainsights ↗)
    1comments
  12. The Race for 1000 Goals(1k.football ↗)
    discuss
  13. Rare Gene Drastically Raises Lung Cancer Risk in People Who Never Smoked(nytimes.com ↗)
    1comments
  14. macOS Liquid Glass in VS Code: Cursed or Blursed?(alec.is ↗)
    discuss
  15. Federated Learning Is Not Private for Google GBoard Next Word Prediction [pdf](arxiv.org ↗)
    discuss
  16. Trump deal keeps Greenland Danish while expanding U.S. military presence(apnews.com ↗)
    discuss
  17. What I Can Remember
    2comments
  18. Federal watchdog accuses Humana, UnitedHealthcare of upcoding(healthcaredive.com ↗)
    discuss
  19. Show HN: I'm walking 42km across Tokyo, through 30 stations(tonymanh.space ↗)
    discuss
  20. Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe(liveworld.info ↗)
    4comments
  21. Show HN: An OSS Python dependency scanner for exploited, unmaintained packages(github.com/binuka200 ↗)
    1comments
  22. The Language Modeler(github.com/mlsystemsri ↗)
    discuss
  23. The Great Unbundling of the LLM(seldon-ai.com ↗)
    1comments
  24. Google Says Its A.I. Hacked Three Companies in Testing Breakout(nytimes.com ↗)
    discuss
  25. Welcome to Shaderland(shaderland.net ↗)
    discuss
  26. Radar: An Expert-Level Generalist AI for Abdominal CT Diagnosis(github.com/alibaba-damo-academy ↗)
    discuss
  27. European leaders prepare public for 'intensified threat' from Putin(politico.eu ↗)
    discuss
  28. Why my alert triage workflow needed a CLI(powers.dev ↗)
    1comments
  29. AI cracked the Navier–Stokes challenge. What does that mean for physics?(nature.com ↗)
    discuss
  30. Machine Gods – the official podcast of the singularity(machinegods.fm ↗)
    discuss

Saving another 100TB of RAM

228 pointsby 7h agoblog.cloudflare.com
31 comments
5h 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

4h agoHN ↗

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

5h 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.

5h 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.

5h 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.

4h agoHN ↗

My intuition around larger companies is they are already impenetrable silos, and AI makes it worse

4h agoHN ↗

I feel like any company whose products have RESTful interfaces are already there…

One wants to turn on an indicator on a remote device. A simple Boolean value. But we need networking, TLS, authentication plugins, certificate validation, distributed logging, containers, orchestration, HTTP client/server, interprocess communication, daemon dependency management, …

Sure, one can say each of these layers and abstractions has an important and justifiable purpose. But one can also step back and start wondering - what the hell are we really doing???

At some level, it seems like each layer of abstraction has to manage others, only simply because they exist.

Imagine the simplicity of 1800s telegraph signaling - no software!

Too often we build systems with Fortune-50 style hierarchies when a 5-person team could do the whole job.

4h agoHN ↗

Build a system as simple as possible but no simpler.

An 1800s telegraph system doesnt work in the modem world, there is far too much communication and the system would just collapse into molten slag.

All those things you've listed are because we live in an adversarial world and I'd steal all your money off the telegraph wire if you tried it.

3h agoHN ↗

Having worked in hardware for a moment, everything we do in software is like this. Even C.

3h agoHN ↗

There are a whole series of blog posts from the Fishworks guys explaining why it could possibly be so hard to turn on one LED.

But Oracle probably deleted then so you'll have to find them on archive.org.

3h agoHN ↗

And at what point does a company start to care about performance? 100TB of RAM is expensive as hell, but getting products to market faster was worth the cost

2h agoHN ↗

Actually, AI creates spaghetti faster than any human ever could before.

4h agoHN ↗

Cloudflare is truly amazing, they have made so much possible for my main side-project at a price and performance that I can’t really take credit for (http://sourcelibrary.org), I don’t care if their text was written with AI, I just wish I could get my own AI to sing so well about hashing… but wait.. today I noticed Claude trying to use hashing when a timestamp would honestly do, and now I’m really doubting myself, hmm…

4h agoHN ↗

This is pleasant coincidence. Really like your site and it's queued to send in my newsletter in the morning! Just happened to see your comment here while I was reading. Great work.

3h agoHN ↗

I don’t care if their text was written with AI, I just wish I could get my own AI to sing so well about hashing… but wait.. today I noticed Claude trying to use hashing when a timestamp would honestly do, and now I’m really doubting myself, hmm…

Tried out the first 1000 words in Pangram, and it seemed happy it was human written. Not surprised either, it has been some of the better writing I've seen out of Cloudflare recently.

3h agoHN ↗

An AI would have known that saying, “Hi, mom” in a professional post was a bad idea.

2h agoHN ↗

What does Cloudflare make possible for your project?

4h agoHN ↗

anyone remember 100tb hosting company?

3h agoHN ↗

Someone really needed a few hundred TB to waste on inference and went looking under the rugs…

3h agoHN ↗

CPU DRAM can't really be used for inference efficiently -- inference mostly wants memory bandwidth, not memory capacity, and GPU DRAM has >10x more bandwidth. The fabs can switch between them but you can't switch after the fact.

3h agoHN ↗

Those machines with GPUs still need RAM of their own, and they generally want large caches to avoid SSD penalties. You even see this spill out in the form of costs for KV cache in <1min, 5m, 1hr rates etc.

2h agoHN ↗

The majority of inference actually does happen in cpu.

3h agoHN ↗

I definitely enjoyed this writing style more than a lot of the recent cf blog posts. Cool article!

3h agoHN ↗

does this mean RAM prices can go down now? Please?

1h agoHN ↗

This sort of thing makes me thing that we're about to enter an era where software development is going to be where most of the jobs fallout will be. You can't one-shot vibe code your way to this. But for proper Software Engineering, those jobs are safe where more and more problems are going to actually need solving by creatively using math because all the problems individuals deliver are just going to be larger. People are just mourning the loss of the low hanging fruit.

1h agoHN ↗

I think you're speaking like a software engineer, which is understandable, and not like a historian or economist. There's no reason to believe math based jobs would survive. The models regularly do well on math problems. You can auto-research loop ways to optimize memory usage for any particular program.

40m agoHN ↗

The point isn't that "doing math" is safe. Auto-research solves one target variable in one system, doing it at scale where say one developer is SME for the agentically manged 200 microservices down the line, heh I mean you certainly can, but good luck with that token cost of auto-research when that problem space is O(microservice^2). I point at that example yesterday of that optimized database memory with the comments pointing out that the specific problem fit in memory, over optimized and didn't generalize. The problem isn't the work, but the rework. A historian should know that new solutions to problems doesn't lead to "no problems ever again" but only problems with barriers that the new solution doesn't solve.

1h agoHN ↗

Incredibly happy to see this series of CF articles. I was always so proud of devs back in the days where RAM and processing were scarce and who had to get creative to fit even the most basic stuff in the budget. It seemed to me that after RAM and processing became abundant, most gave up on optimization and focused on shipping instead which meant now that even with several cores, a basic notepad or music player failed to work. In a way, RAM becoming more expensive has ushered in a new era of forced optimizations, which I'm really happy for

1h agoHN ↗

I don't remember those days with a ton of fondness. Yes, the challenge was fun, but I really wanted to ship it and get my product in the hands of customers. Now I can spend more time thinking about what they want and less time about what the computer wants.

9m agoHN ↗

Yes, I remember those too. The costs of manual memory management were real and were not low.

But costs on the cloud are real too, especially now. I’ve been living in JVM land for a very long time, but now it’s especially clear how important lean services are. Especially now that the bar for writing lean code is so much lower: let the borrow checker figure it out, etc.

I just spent a couple days wringing out more performance/memory efficiency for our services. Nice gains to be sure, but it’s still so immensely wasteful compared to something well written running native. If it was my money, I’d be going native for sure.

38m agoHN ↗

It’s nice to see Cloudflare is letting humans write the blog posts again after all the fallout from their LLM slop blogs