Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Beyond jj: config & tools ecosystem(arko.net ↗)
    discuss
  2. Qwen-Image-2.1: Compact, efficient, and unified image creation(qwen.ai ↗)
    discuss
  3. BragJack attacks hijack AI browser agents through malicious extensions(bleepingcomputer.com ↗)
    discuss
  4. Show HN: Lathe – app, Postgres and auth on your own machine, from $15/mo(lathe.live ↗)
    discuss
  5. Show HN: ColliePWA, a self-hosted mobile terminal for coding agents, with alerts(colliepwa.dev ↗)
    discuss
  6. Dr. Lael Edwards-Costa's Interactive Billiards Demo(lael.dev ↗)
    discuss
  7. The Bishop Ring Habitat(wikipedia.org ↗)
    discuss
  8. Show HN: Presence.el Online status and simple messaging for Emacs(andros.dev ↗)
    discuss
  9. Show HN: Airmash – HTML5 Multiplayer Missile Warfare(airma.sh ↗)
    discuss
  10. Ledger – walk-forward validation toolkit for retail trading strategies(walkfowardvalidationtoolkit.netlify.app ↗)
    discuss
  11. The best piece of art ever made? Enzo Mari's Autoprogettazione(medium.com/hannahparadisdesign ↗)
    discuss
  12. A window switcher that does nothing until you press Option(alexvestea.com ↗)
    discuss
  13. Build an Accessible Book Reader: A Raspberry Pi Scanner That Reads Printed Books(instructables.com ↗)
    discuss
  14. Claude Found Seed-indpendent collisions in most popular hash functions(thomasahle.com ↗)
    discuss
  15. Amtrak: A New Era of Rail Travel Has Arrived [video](youtube.com ↗)
    discuss
  16. The People–OK, the Men–Who Still Love Bitcoin(slate.com ↗)
    1comments
  17. Why Nothing Looks Cool Anymore [video](youtube.com ↗)
    discuss
  18. AAA AI – Autonomous AI agent squads for local and cloud LLMs(aaaai.me ↗)
    discuss
  19. King Ludd(astralcodexten.com ↗)
    discuss
  20. Self-generated prompt injections in compaction summaries(simonwillison.net ↗)
    discuss
  21. Show HN: A poetry site for developers – solve a code puzzle to post(developerpoetry.com ↗)
    discuss
  22. OpenSaga: Matching decompilation of the Lego Star Wars(opensaga.dev ↗)
    discuss
  23. Windows turned months of inactivity into a 7-hour update hostage situation(theregister.com ↗)
    discuss
  24. Turn off Apple Intelligence in macOS 27(discussions.apple.com ↗)
    1comments
  25. Ground Effect Vehicle(wikipedia.org ↗)
    discuss
  26. Security Review Scope for Daml: Coverage, Methods, and EVM Comparison(hacken.io ↗)
    discuss
  27. Auto approve pull requests with Jev(github.com/metalbear-co ↗)
    discuss
  28. How ISIL is using Big Tech's AI to build bombs(aljazeera.com ↗)
    discuss
  29. Migrating the GitHub Copilot Runtime to Rust, Using Copilot(github.blog ↗)
    discuss
  30. RoboHarm: Do Frontier Robot Policies Refuse Unsafe Instructions?(robocurve.org ↗)
    discuss

RSA-896

165 pointsby 10h agosaweis.net
63 comments
10h agoHN ↗

More details: https://x.com/sweis/status/2101484464807596264

    I had Claude port CADO-NFS to run on GPUs. Then it orchestrated a fleet to run on scavenged idle capacity. It ran with a max of 2048 GPUs for about of 30 GPU-years over 10 days.
    I asked Claude if it had a message for a public: “The credit belongs first to the people who built the number field sieve and CADO-NFS over several decades, and to the teams who set the earlier records. This run used their algorithm and much of their code.”
    Also to clarify:
    - No new algorithmic factoring improvements. 
    - It’s still exponential.
    - No new threats to deployed keys.
6h agoHN ↗

Not sure! It sounded more imminent back in 2000 when I heard Eric Hughes perform the song.

5h agoHN ↗

10 days of 2048 GPU's.

Back of the envelope.. 1024 bit keys with recordings of not too old data can probably be found (MS only deprecated them in 2024 even if they planned on it in 2013)

How long would it take for NSA to crack them if they had say the equivalent of a million GPU's? (either GPU's or crypto tuned ASICs)

5h agoHN ↗

A sufficiently motivated person with a good thermal camera and a cessna 172, entirely within the bounds of the law, could probably make an estimate of the waste heat from this, and then calculate backwards for how much compute power it is.

https://en.wikipedia.org/wiki/Utah_Data_Center

4h agoHN ↗

How long would it take for NSA to crack them if they had say the equivalent of a million GPU's? (either GPU's or crypto tuned ASICs)

Something I've often wondered is where the curve between "shit encryption / nation state cracking" crosses.

How much CPU would you need to be Annoyingly Difficult to crack?

I reckon with elliptic curves you could be quite annoying within about a minute on a 1980s-level CPU, to the extent that you could send a fairly ephemeral message quite quickly that would take disproportionately long to crack. Certainly long enough for the thing you have communicated to be no longer worth the effort to know.

You could probably do 256-bit Curve25519 key generation in under ten minutes on an Apple II or Commodore 64, because the 6502's maths is terribly limited, but something like the Tandy Color or Dragon 32 with its 6809 processor (or hey why not the Ensoniq Mirage sampler?) could do that in probably a minute or so because it has a MUL opcode that's quite fast.

I reckon that would keep even a fairly interested nation state chewing away long after your message had been read, understood, and acted upon.

3h agoHN ↗

What does "scavenged idle capacity" mean here?

3h agoHN ↗

The author works at Anthropic, so probably idle capacity in Anthropic's datacenters.

1h agoHN ↗

If so, then the class of GPU used here may be significantly higher than mere mortals generally have access to simply due to cost.

Obviously nation states will likely have significantly more resources than this, but this is not script kiddie levels of GPUs.

1h agoHN ↗

I've done a fair amount of heavy computing now. Integer factorisation is not something you can really improve with GPUs. This sounds extremely wasteful, a bunch of cheap CPU cores would do just as well with much lower hardware cost and electricity cost.

23m agoHN ↗

but we have AI now so it doesnt matter what people know about computers :'). we got plenty of rainforest to burn afterall have you seen Brazil?

1h agoHN ↗

It seems that Eric Lu at Cognition AI used the exact same strategy on fewer GPUs to factor RSA-260 a couple weeks ago: https://cognition.com/blog/factoring-rsa-260

Devin (their AI agent) ported CADO-NFS to run on GPUs, similarly without any claimed algorithmic factoring improvements, they just let it run for 13 GPU-years. I recommend reading their article since it's much more thorough on details.

6m agoHN ↗

I had Claude port CADO-NFS to run on GPUs. Then it orchestrated a fleet to run on scavenged idle capacity

Is it easier to find unused GPUs than unused CPUs?

10h agoHN ↗

If you've already paid for and reserved a whole cluster of GPUs, any idle capacity is capacity you've already paid for. Using it is effectively free. So might as well use it to solve fun math puzzles.

Though, it would make more financial sense to mine crypto.

10h agoHN ↗

Only if you pay a flat rate for electricity and cooling.

9h agoHN ↗

But Anthropic isn't paying for the electricity and cooling. They don't run their own data centers, they rent compute from providers who cover those costs.

That's entirely why they can blow compute on the fun projects like this. If they had to pay extra for the electricity, they wouldn't do it.

9h agoHN ↗

Is the electricity cost far greater than the marketing value?

9h agoHN ↗

The first is a physical quantity that can be written down.

The second is approximately no better than astrology.

9h agoHN ↗

The second point is, sadly, true of quite a lot of aspects of software, including "design" and "quality"

6h agoHN ↗

Or specifically, electricity was already paid for with the pre-paid capacity.

Not using it would not save them any money, they already paid for it.

5h agoHN ↗

But training LLM's is also a task one can do whenever you have a spare GPU-minutes.

I wonder why they don't have some kind of scheduler which makes sure there are never any idle minutes. One would imagine they at least would have autoscaling on their production serving workload and use the freed compute capacity for model training for example.

4h agoHN ↗

I doubt they're inferencing on their training hardware

8h agoHN ↗

Most of the GPU cost is in the GPUs themselves (and in the space and maintenance costs of the building). Electricity is a small fraction, and it's not like datacenters are just going to shut down their servers when they're not in use.

There is cost, but the cost is mostly the opportunity cost of not being able to do something else.

8h agoHN ↗

Electricity is a small fraction, and it's not like datacenters are just going to shut down their servers when they're not in use.

I don't have any insight on modern GPU datacenters, but in decades past, some owned and operated datacenters didn put effort into making sure power management worked because the cost savings were worth it. I'm pretty sure I saw plans to shed load and power off servers if a utility made a demand response request or in case of loss of cooling. I wouldn't be surprised if some owned and operated data centers do regular full shutdowns at off peak... WOL, IPMI or RTC wakeup can bring them back when needed and if you already have a dynamic service orchestrator and setup times are acceptable, why not shut down if there's no actual priority work and there's also no idle priority opportunistic load either...

5h agoHN ↗

No one does this. There is zero value, economic or otherwise, in turning off machines.

4h agoHN ↗

I've never heard of anybody shitting a DC down off peak. Been around 30yr or so.

why not shut down if there's no actual priority work and there's also no idle priority opportunistic load either...

Full shutdown and startup often kills capacitors and used to be dangerous for rotational HDD.

Sometimes once you turn things off, they simply don't come back on. It happens.

8h agoHN ↗

How much crypto do you think the mentioned 30 GPU years would have produced at current exchange rates? They're not as efficient as ASICs but GPU's can still mine a lot...

7h agoHN ↗

wouldn't even cover the cost of power and cooling otherwise everyone would still be doin it

8h agoHN ↗

it would make more financial sense to mine crypto

GPUs are power-inefficient for mining most crypto so not necessarily. You may end up paying more in electricity than you are able to mine.

Most crypto mining is on ASICs now.

6h agoHN ↗

You missed the part where they have already pre-paid for the GPU-hours and they pay the same regardless of he electricity used.

Also, even if they were paying for electricity, they would lose less money mining crypto than factoring RSA numbers.

4h agoHN ↗

Except for the prize money for the RSA challenge contest! Although they'll also need to have Claude invent a time machine.

2h agoHN ↗

Is someone providing prize money again? RSA ended the contest in 2007.

1h agoHN ↗

Except you can do it with CPUs as well for much cheaper.

9h agoHN ↗

There is no bounty, RSA labs ended the $75,000 reward in 2007.

8h agoHN ↗

There's about 900 BTC remaining for anyone who breaks these keys:

https://privatekeys.pw/puzzles/bitcoin-puzzle-tx

If you break one though be careful when redeeming it, there are bots set up to pounce and steal the coins when they are transacted because the reduced entropy makes that possible. You need to submit the transaction to a mining pool that will not broadcast it until it is mined.

8h agoHN ↗

thats a poorly implemented reward script, if it leaves you exposed to the mining pool with this gentleman's agreement.

the script could have been designed 2 phase, so one first submits a hash of the solution & submitter address, so even if miners front-run the submitter, they just helpfully pay the transaction fee!

7h agoHN ↗

Of course there's a script; every bitcoin tx output has a script. These challenges use the standard P2PKH script, i.e.:

  scriptPubKey: OP_DUP OP_HASH160 <pubKeyHash> OP_EQUALVERIFY OP_CHECKSIG
  scriptSig: <sig> <pubKey>

https://en.bitcoin.it/wiki/Script

5h agoHN ↗

Not every bitcoin tx output.

With taproot (P2TR), scripts are optional, and outputs can be based solely on Schnorr signatures.

5h agoHN ↗

P2TR outputs have a script that always starts with OP_1. That script may or may not commit to a tapscript.

2h agoHN ↗

You know what I mean, there's no clever on-chain reward script.

6h agoHN ↗

I've recently been working on this exact problem due to my desire to create puzzle challenges for Simplicity, the smart contract programming environment that I work on for my job.

Since Simplicity runs on Bitcoin-like blockchains, someone can swipe the witness data from the legitimate winner's proposed transaction, and create a new transaction (perhaps with a higher fee) using the same claim data and sending the prize to a different address.

Anyway, I ended up implementing a two-phase commit mechanism in which you pay a deposit to temporarily lock the prize so that it can only be paid out to your address. If you then make a valid claim, the prize can be paid to you; if you don't, you forfeit your deposit.

https://community.simplicity-lang.org/t/running-prize-contes...

(I think this was suggested by Russell O'Connor, the inventor of Simplicity, but it may have been a widespread idea in the smart contracts world. I don't know whether there's a straightforward way to implement it with Bitcoin Script, which is what this older prize would have needed.)

6h agoHN ↗

Just to confirm: these puzzles are unrelated to RSA, correct?

2h agoHN ↗

rsa is prime factorization, bitcoin is elliptic curve ps: elliptic curve or breaking sha256 "bitmixing"

6h agoHN ↗

Interesting

I guess it would be "trivial" to have a bounty on each of the future numbers, since you could encrypt a bitcoin private key with it (it would probably make sense to do RSA -> AES key that encodes the BTC private key)

9h agoHN ↗

kinda bearish for the data center rollouts if the spare compute can be used to solve math puzzles instead of training LLMs

3h agoHN ↗

Quite bearish on Anthropic if they had nothing better to do with 2048 GPUs for 10 days than finding an RSA number with already existing algorithms.

1h agoHN ↗

You don’t need AI to solve this. Just lots of compute.

1h agoHN ↗

True, I forgot about that! It's more fun when the inputs are printable ascii, though :P

It should also be easy to beat with just a few GPU weeks.

1h agoHN ↗

Nice. I will make sure to turn my WiFi box off at night and pee in the shower to compensate the environmental impact of this.