Hacker Newsnew | past | comments | ask | show | jobs | submit | srcreigh's commentslogin

I guess they are usually spending (say) 50% of their GPUs on training and 50% on inference, after launching a model they do more 80% inference for a few days then back to normal

Yes exactly. And to your point, undecidable doesn't mean unsolvable, it means there's no finite-code procedure to solve all inputs.

Undecidable problems represent a frontier of math which we can never exhaust. Every finite-code solution can only solve a bounded region of inputs. Solving broader regions of the input space requires innovation.


no, Scott Aaronson is not presuming that we will run out of math. Read his busy beaver frontier. He has explained theorems which say we won't run out.

I'm not sure what exactly it's about, but it's definitely absolutely not this.


I really want this one to get solved tho for this reason.

The blind spot is the inconceivably enormous number of math problems , which we could never enumerate and thus the vast majority of which will never be considered by humanity or AI ever.

Busy beaver numbers are incomputable and mind boggling large. Each axiomatic system has an upper bound for the largest element of the sequence it can prove. We simply could never finish computing this sequence with any finite amount of physical resources.


What an incredible post. Not only the bypass , but the method of hacking through WebKit source to find UX workarounds.

[flagged]


Can we see your write-up about a finding like this? Why be a downer just because it’s become easier?

In all honesty, any such blog post nowadays is less impressive than it would've been 5 years ago. While the OP could've stated that a bit differently, I think we all agree that it is enormously easier to do things like that with the help of AI's... Same story with beautiful websites/projects. 5 years ago, I would've devoured the source code of open source apps to learn how they pulled off some nice animation, have professional monorepo setups with various tools etc. while today - I just ask in plain english and can create the previously impossible while getting a coffee...

Not taking any shots at the article (not my niche of interest). Just stating a general observation.


It's become a bit harder to get impressed, we have to look for things other than code. Today's become more important to know not only what to implement but what to leave out. It's very impressive nowadays for instance to study a project that's lean, concise and elegant.

Do you really want write-ups of "I asked Claude why WebKit didn't go fast, and it read through all the source?"

I agree with the above post: this is routine Claude behavior. If you ask it a question about implementation details, it'll acquire and read the source. If it can't do that, _it will disassemble the code_. I was surprised two months ago; now I'm used to it.


Please don't respond to a shallow, low-effort criticism with another shallow, low-effort criticism, it just pushes HN further toward Reddit and encourages that behavior. Downvote instead.

You also have to know, or at least suspect, it's possible. And you need to know the language to prompt with. You need to understand the problem to solve even if AI does the solution. You need to be curious enough to give it a try...

AI can do the solution and the write up, but the impetus to try still has to come from a person.


My dad had a great response to the phrase "anybody could have done that"

He'd say "well they fucking didn't, did they?"


Ha a wise man your dad!

How’d you learn about it ?

Nothing special/particular, I just follow his math discoveries in general.

Nice post. Unsatisfying conclusion - did you ever figure out why the original adapter was throttled when plugged into the monitor, and not when plugged into the computer?

The additional latency from going through the monitor made the bandwidth-delay product exceed the amount of data the adapter was able to send before receiving an ack. I thought that was fairly clear from the explanation, but now I notice that he didn't mention the latency without the monitor.

That doesn't seem to be described by the article at all.

The latency added in the monitor is described as around 8 us, completely negligible compared to any Internet connection's latency.

So the latency without the monitor should be completely irrelevant.


> The reason is that if you add up the average time it takes to get the go-ahead through my monitor’s hub, which is around 7.6 µs, to the average time it takes to send 4 KB, around 8.2 µs, you can find what the maximum speed is.

This part is saying the NIC with this monitor can transfer 4 KB to the host through the USB hub every 15.8 us. You can do the math and it's about 2gbps.

Remove the hub, and reduce the delay solves the problem.

Increase the burst size would work: 8 KB per 24.0 us would be sufficient for 2.5 gbps.

Increase the burst size and the transfer rate as done with the 5 gbps adapter, and that should work out, although that one is probably going to be insufficient for full rate 5 gbps as well.


Yes, that is correct. I had misunderstood which connection cibyr was referring to, see sibling post.

That may be a thing where those of us who understand how TCP/IP or Ethernet works understood this paragraph but others didn’t follow.

Negligible compared to the RTT, sure. But they’re talking about the latency between when the network adaptor signals that a packet has arrived and when the CPU actually services the interrupt to tell the card to send the packet(s) to main memory. The NIC’s buffer could only hold 4 packets, so by the time the NIC got a DMA buffer to copy the packets into a fifth or sixth packet had arrived and been dropped.

I see now, indeed. What cibyr posted is entirely correct.

I thought their "latency without the monitor" had referred to the overall end-to-end connection to the other IP endpoint, but they were talking about `NIC <-USB-> laptop`.


The article answers this

"if the speed of the drain from my adapter to my Mac is half a gig slower than the speed of the input, then you can imagine the buffer getting filled more and more until it overflows. Those are dropped packets, which result in a hard backoff when the router resends them, so you drop loads in speed. And that’s the reason for all of this."

With diagram https://blog.tymscar.com/studio-display-ethernet/bottleneck....

The monitor decides to send the adapter's packets on at only 2 Gbit/s, which leads to buffer overflow, thus packet loss, thus e.g. TCP congestion-control backoff.

The only thing we don't know is _why_ the monitor chooses to limit the bandwidth to those 2.07 Gbit/s (computed as the 41 KiB blocks per (7.6+8.2) µs). If it sent e.g. 81 KiB blocks, doubling the bandwidth, the problem wouldn't happen.

That'd be between Apple and the monitor.


No, you’ve misunderstood. Any time the NIC signals that one or more packets have arrived the CPU must reply back to the NIC to give it a DMA buffer to copy the packet(s) into. By the time that reply arrived at the NIC it was already too late. The NIC could only buffer four packets and the fifth or even sixth packet had already arrived and been dropped. The NIC then sent the four packets it had to the DMA buffer and started over.

The monitor was not really at fault. All USB hubs must read USB packets on all of their ports and copy them over to the upstream port. Those packets must all go into a buffer first so they the hub can send them individually even when they arrive simultaneously. That introduced just enough delay to allow the NIC’s internal buffer to fill up. Any hub would have caused the same problem. The solution was to buy a NIC designed for a higher speed because it has a bigger internal buffer. That new NIC will probably have the same problem with USB hubs, but at 5Gbps instead of 2.5Gbps.


> The NIC could only buffer four packets

Where does the "4" come from? The article's diagram suggests that the NIC's buffer is "~35 KB", though I don't know where that number comes from either (I supposed measuring how long it takes until frames are dropped). "4" seems to be the number of 1 KB packets (the 3+1 from "packet size 1024 bMaxBurst 3"), so a transmission size (protocol-level "window size"), not a buffer size. I guess if you are referring to that as a different "buffer", that makes sense, but it doesn't seem to be the buffer the article is talking about.

But you are right with your main point regarding latency. My statement

> The monitor decides to send the adapter's packets on at only 2 Gbit/s

isn't really right: It's not that the monitor "decided" to only send 41 KiB instead of larger sizes; the 41 KiB is the maximum that the NIC can send because its `bMaxBurst = 3`, and the latency added by the monitor being a USB hub then limits the bandwidth to the mentioned ~2 Gbit/s.

I guess the key point not said anywhere is that `bMaxBurst = 3` and `wMaxPacketSize = 1024 B` are fixed protocol-level parameters that hubs like the monitor have no control over. So the 4 KiB windows are fixed from the NIC through the monitor to the Mac; the monitor cannot e.g. decide to buffer some of those to compensate for the latency it adds.


> the monitor cannot e.g. decide to buffer some of those to compensate for the latency it adds.

Correct. The NIC buffers the Ethernet packets, the USB hub in the monitor can only forward what the NIC sends. If the NIC drops an Ethernet packet, no amount of buffering in the USB hub can help; it’s already been dropped.

> Where does the "4" come from?

It was set by whoever designed the RTL8156B chip. They looked at the delay product of the USB link and calculated that a buffer holding four packets would be enough to maintain 2.5Gbps. And they’re right, assuming the latency of the USB link stays low.

Notice that when it came time to make the RTL8157 chip that supports 5Gbps they doubled the buffer size to 8. That also works only if you assume that the latency of the USB link is low, or if you have Ethernet packets arriving at 2.5Gbps instead. They probably double it again in the chip that supports 10Gbps.

Realtek are just being cheap. It would only have cost pennies to double the buffer sizes in both products, and the result would be a more reliable product. This is an example of why engineers specify Intel NICs and only consumers end up with Realtek NICs.


Not all hubs and computers are equal here. Having experienced this with RTL8153, the combination of the Studio Display and ARM MacBooks is especially bad. Using an Intel MacBook with the display, or a different USB hub instead of the display, gets the full NIC bandwidth.

Fair enough, but I still wouldn’t say that he monitor is at fault. It’s probably not operating outside the USB specification in any way, even if it takes longer to forward messages than other hubs. It may even be multiple hubs, internally.

It’s really the NIC’s fault because its buffer is too small to handle a little extra latency.


Hm, HN garbled my syntax involving asterisks. I meant to write

    computed as the 4*1 KiB blocks per (7.6+8.2) µs). If it sent e.g. 8*1 KiB blocks
not

    computed as the 41 KiB blocks per (7.6+8.2) µs). If it sent e.g. 81 KiB blocks

I’m guessing it’s a USB bandwidth issue. I learned about these kind of limitations when I tried to have 3 kinects running at the same time on the same USB bus.

> I’m guessing it’s a USB bandwidth issue

It's explicitly not a bandwidth issue (that would also affect the SSD). It's a latency issue - the chip doesn't have a big enough buffer to keep sufficient packets in flight at once.


> It's explicitly not a bandwidth issue

That's explicitly the opposite of what the author says.

"the speed of packets coming into the adapter is 2.5 Gbps. That’s what the router pushes in. The speed going out is around 2 Gbps."

Of course latency is always on the denominator side in the "bandwidth = data / time" equation, but it seems wrong to claim it's latency when it could also be improved by fixing the numerator; it's the entire fraction that's insufficient, thus bandwidth. As written:

"The reason is that if you add up the average time it takes to get the go-ahead through my monitor’s hub, which is around 7.6 µs, to the average time it takes to send 4 KB, around 8.2 µs, you can find what the maximum speed is"

And later, increasing the numerator is exactly what fixes it with the other hardware: "I can see that instead of sending 4 1 KB packets per burst, it would send 8!"

> the chip doesn't have a big enough buffer to keep sufficient packets in flight at once

How does this make sense? Even if his buffer was 100x larger, if the fill bandwidth exceeds the drain bandwidth, it'll eventually fill up. The article says that explicitly:

"Well, if the speed of the drain from my adapter to my Mac is half a gig slower than the speed of the input, then you can imagine the buffer getting filled more and more until it overflows."


> Even if his buffer was 100x larger

"buffer" was perhaps a poor choice of words on my part, because "buffer" is ambiguous. In this case I am referring to the notional "transmit buffer", which is 4 in the non-working case and raised to 8 in the working adapter.

> "I can see that instead of sending 4 1 KB packets per burst, it would send 8!"

Increasing the number of packets in flight does not change the bandwidth, it only improves latency sensitivity (i.e. you can fire more data before requiring an ACK).

> it seems wrong to claim it's latency when it could also be improved by fixing the numerator.

Increasing the bandwidth without increasing the transmit buffer would not fix this issue. The adapter he ends up buying does both (allow 2x the packets in flight, and 2x the bandwidth).

The bottom line here is that the original adapter handles full duplex 2.5g when plugged into the laptop directly, and the SSD gets full duplex bandwidth in excess of 2.5g through the same intermediate link (i.e. the display), so both the adapter and the display have sufficient bandwidth. The added hop of latency however makes the short transmit buffer insufficient to cover the latency.


> In this case I am referring to the notional "transmit buffer", which is 4 in the non-working case

Then I agree with what you were saying. Those 4 * 1 KiB are a protocol-level size (similar to the TCP window size), not an actual "buffer".

> Increasing the number of packets in flight does not change the bandwidth, it only improves latency sensitivity (i.e. you can fire more data before requiring an ACK).

That I don't fully follow. To me, the measured bandwidth includes all the effects of ACKs etc. If the the protocol demands that you can have at max 4 * 1 KiB unACKed in flight so you're waiting around for ACKs and not snding data, then increasing the number of packets in flight to 8 would 2x the bandwidth.

> The added hop of latency however makes [it] insufficient to cover the latency.

I agree with that, see also my newer reply https://news.ycombinator.com/item?id=50592931

I this context, I also agree with your original statement; I misunderstood what you referring to with "buffer" (meaning the window, not actual storage), and "bandwidth" (where I think you're referring to the 5 Gbit/s nominal bandwidth of the bus, irrespective of the fact that the effective bandwidth of data sent is much lower due to requiring ACKs for small data).


This primer on latency and bandwidth is 13 years old but still worth sharing (for the sake of all readers)

https://hpbn.co/primer-on-latency-and-bandwidth/


You’re using an ancient definition of bandwidth. Bandwidth in packet switching networks is not the layer 1 signaling rate, it is packets per unit time times the payload size of the packets.

He states that high speed SSDs through the monitor are fine though.

Uploads were fine.

Anthropic would have claimed the result for themselves, without Levant, if they could. They didn’t. A strong mathematician was evidently required.

It doesn't make sense to compare the quantity of work. Humans are significantly more efficient than AI, so little work can go a lot further.

I’m sure for every incredible insight which Levant credits to Claude, there’s 100x+ more bad insights that Levant had to filter out.


> I’m sure for every incredible insight which Levant credits to Claude, there’s 100x+ more bad insights that Levant had to filter out.

This is certainly my experience of using Claude every day, in a much less cutting edge domain.

And Claude itself cannot tell the difference between the two. The best it can do is use some sort of external constraint (e.g. verification) to filter them.


Honestly, ever since Opus 5.5 dropped about two months ago, Claude's taste has been great, better than mine, even. Compared to Opus 5, I've barely had to filter anything out by hand.

It is fascinating. Because sometimes my experience is like yours, but other time, like today, I am like “I can’t believe how stupid Opus 5.5 or even Fable 5.2 is”. They will make horrible design decisions, overcomplicating. I will correct and they are like “Of course, your solution is much simpler and better than mine”.

And then they are simply boldly wrong at times. About mathematical facts. That’s why we need formalisation when working with them. They are still stupid and can’t be trusted. But theyvare also smart and can come with amazing insight. It’s a tool, but definitely one which cuts both ways.


I think it's funny that people gauge their personal experiences with AI against something like this.

Do we even know what Alpöge had at his disposal? I think most people underestimate what working with an agent swarm even with the current public technology would be like. We can't assume he didn't have something more advanced either.

I don't feel confident my usage of AI on a personal level reflects any of what has been done here.


I agree. Once in a while, it's kind of a big idiot. Most of the time, though, it's just a joy to work with. But int those few times that it designs something dumbly, I still feel superior to the machine.

I'm baffled by people who say this. Does everyone just have incredibly low standards for correctness?

that tells us enough about your taste brother.

Your argument is unfalsifiable speculation. I don't at all that it's self-evident that a strong mathematician was required. Your everyday Joe isn't exactly interested in the Reimann hypothesis so statistically a mathematician would be the one who'd use AI to come up with the solution.

How would a non-mathematician even be able to comprehend the output? Half the words in the pdf are gibberish to me, I could not tell if whatever Claude gave me for a "solve the Reimann hypothesis, make no mistakes" prompt would even make sense, much less be correct.

I don’t know shit about HPC and LLM inference, didn’t stop me from creating an inference engine: https://github.com/computerex/dlgo

A non math person may not be able to comprehend the output, but even professional mathematicians have trouble reading through the huge “alien” AI generated LEAN formalised proofs.


please update !

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: