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

Sorry why do you have a Box wrapping an Rc? That doesn't seem common at all. You either use Box or Rc, but I can't see many use cases for both. But even if you do have a scenario where you use Box and Rc, then how would that fairly idiosyncratic use-case be different in C++? You want unique ownership of a shared resource (???) in Rust but somehow in C++ you don't want that for the same or similar use-case?

I can sympathize with some of the things you call tedious in Rust, like the async issues, but I can't see how those wouldn't also be tedious in C++ using C++ coroutines, which are full of footguns and implicit lifetime issues. For Send/Sync, in situations where you need to explicitly mark a type as Send/Sync, in C++ you have the exact same issue as in Rust, but in C++ you have no way to communicate that property formally, so either you document that so people know if an operation is thread-safe, or you don't document it and people have to inspect the source code or worse, just guess.

Are you suggesting that's better than enforcing the property in the type system? Maybe if you're a solo-dev working on your own mini-project, it might be marginally better, but I'm not convinced.



> When casting from pointer to integer and back again, the resulting pointer must reference the same object as the original pointer, otherwise the behavior is undefined.

So I'm right. This is implementation-defined, and the way the implementation has defined it is to make it fully UB (except for round trips).


Whenever something is undefined behaviour or not is a matter of the standard and what the implementation may or may not have defined for that is immaterial to that. As far as the standard is considered, when they encounter UB, you no longer have a valid C program. However the compiler can still choose to do something with it, which in this particular case manifests as GCC has documented it, but some other compiler can do something else for it.

You have it backwards, the language document says it's IDB and the ID has chosen to make it UB.

On the contrary, the vast majority of C programmers don't know C well enough to understand the difference between integers and pointers.

Using a tool doesn't mean understanding that tool, just means you know how to follow some repetitive processes over and over again.


Among math circles there overwhelming consensus is that Masullo's proof is not remotely close to ready. Sadly as of the posting of his proof, a lot of it has been subject to formalization to verify if it's valid and as of today it contains 270 false claims, all of chapter 5 is invalid, it contains numerous unresolved steps and massive gaps in arguments.

This isn't like the paper just needs to be cleaned up and polished. A good chunk of the actual proof is simply not there and while it's certainly ambitious and also a credibly body of work, there's no reason to think that Masullo's work on this will pan out or that he's even headed in the right direction.

Too many people are talking about Masullo as if he basically has the proof in hand and just needs to tidy up some details here and there, similar to say when Andrew Wiles first published his proof of Fermat's Last Theorem (in which some flaws had been pointed out that Wiles had to correct) but that's simply not the case here. This work is so incredibly far from complete and it's not at all evident among the mathematical community that it will even lead to a proof of RH.


>Getting a government official to corruptly ratify your illegal decisions does not immunize you from responsibility.

This is simply untrue and there is a well established legal defense known as "entrapment by estoppel" to protect a defendant against an act which has been explicitly sanctioned by a government official.

https://en.wikipedia.org/wiki/Entrapment#Entrapment_by_estop...


That's narrower than you think it is. As it applies in US federal court:

> The defense of entrapment by estoppel requires proof (1) “that a government agent actively misled him about the state of the law defining the offense,” (2) “that the government agent was responsible for interpreting, administering, or enforcing the law defining the offense,” (3) “that the defendant actually relied on the agent's misleading pronouncement in committing the offense,” and (4) “that the defendant's reliance was reasonable in light of the identity of the agent, the point of law misrepresented, and the substance of the misrepresentation.”

In short, entrapment requires that the government explicitly tell you that what you did was legal, that you relied on that information to decide to do it, and that such a reliance was reasonable.

I don't know the precise details of what Nvidia did with regards to evading the chips sanctions, but I suspect it involves a lot more of Nvidia lobbying the government to be exempted, at which point the entrapment is less likely to apply.


Indeed there is, mea culpa. (Although Congress will surely be asking Jensen questions to probe whether he really "reasonably believed" that Lutnick's permission was consistent with the law.)

I looked over that article and also had an LLM summarize it and it doesn't mention anything criminal about nVidia or Jensen Huang. The only references to crime are to Megaspeed and that nVidia's sales to Megaspeed were explicitly approved by The Department of Commerce.

So what obvious criminal activity were you claiming about either nVidia or Huang?


The investigation will be centered around what Huang and Nvidia knew about Megaspeed. If they were aware of criminal activity being committed by Megaspeed and continued to provide assets, that would be criminal even if the actions would be legal in other situations.

A analogy would be providing guns for a group planning a terrorist activity with them. Providing guns is legal, but the knowledge of the illegal activity planned means your legal gun sale is now considered illegal.

That said, the burden of proof is going to be high. They'll need to discover documentation (emails/memos/minutes/etc) that shows they (Nvidia as a company or specific high ranking individuals) were aware of the illegal activity, or at least had concerns that the card usage was illegal. This is going to involve a huge amount of people pouring over documents and will likely take weeks/months if DOJ starts a criminal case.

My $0.02 is that there will be congressional hearings where the answers will largely be non-answers and there won't be any follow up investigations. Outside of fines, there's no real remedy for the government to seek beyond an injunction to stop sales to Megaspeed and I'd place dollars to donuts that Megaspeed is radioactive at this point and no one at Nvidia is going to sell to them anymore regardless of any guilt or innocence at the company.


An investigation which may potentially reveal criminal activity != obvious criminal activity. Obvious means not only that it is true, but the evidence proving it true is plain for all to see.

You're forgetting the part where he was fn the woman from mega speed.

Your obtuse failure to both accept the dots and connect them reminds me of...you know


Your example contradicts your point. Airliners are still subsonic after an extended period of time, and hence based on that past performance it's a good indicator (although not definitive) that they will remain subsonic for an extended period into the future.

In general, past performance is actually indicative of future results. It's not definitive, and some phenomenon are random, but the trajectory of technology over time is not some random fluke that just has coincidentally trended by random chance.


>Your example contradicts your point. Airliners are still subsonic after an extended period of time, and hence based on that past performance it's a good indicator (although not definitive) that they will remain subsonic for an extended period into the future.

There was a period in aviation development when it was widely assumed that speed will continue to rise. Just like in the development of CPUs there was such a period, quite recently.


That's a general argument but doesn't apply Anthropic's Lean formalization. There is already a well established Lean statement of the RH in Mathlib that has been pretty rigorously verified, so a proof of that statement is indeed a proof of RH. The only opportunity for failure is that there is a soundness bug in Lean itself which this formalization leverages. The answer to that is that there isn't one single Lean, there are multiple implementations of Lean and each of them have their own opportunities for bugs, so it's possible one bug is common to all of them and that this proof makes use of it, but that's incredibly unlikely.

Do you NEED 15M lines? No, it's almost certain this proof can and will be reduced, but the goal of an initial proof of a theorem like this isn't conciseness, it's to actually... prove the theorem.

Fermat's Last Theorem was initially proven in Lean in September and that proof required 13M lines, it has since been reduced to 2M lines and it will likely be reduced even further. Anthropic claims they can reduce it down to less than half a million lines by doing similar techniques to what software developers do... find common and reusable snippets and factor them out instead of repeatedly proving similar sub-theorems over and over again. There are also opportunities to replace lengthy sequences of explicit reasoning with automated tactics, reuse existing mathematical libraries including the Lean standard library, and reformulate arguments at a higher level of abstraction.


This is a subtle misunderstanding. As you approach the speed of light, physical processes including clocks or other time measuring devices appear to slow down relative to an observer. Exceeding the speed of light, at least as a conceptual generalization, doesn't mean that you end up going back in time and experiencing past events like Back to the Future, rather it would allow for future events to influence the outcome of past events, what is called retrocausality [1].

Retrocausality is not the same as time travel. With time travel it's as if you get to go back in time and reexperience things that happened in the past, which is not what faster than light travel implies. Retrocausality is more about things happening in the present that are influenced by future events, as opposed to causality where only past events can influence the outcome of future events.

[1] https://en.wikipedia.org/wiki/Retrocausality


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

Search: