Hacker News .hnnew | past | comments | ask | show | jobs | submit | mhjkl's commentslogin

They didn’t need to wrap it because it’s modular arithmetic so the result after casting to int is the same regardless of wrapping behavior. 4294990000 after wrapping is 22704 and 4294960000 - 22704 = 4294937296 which is -30000 after uint to int cast

But the TSTMP_GEQ macro casts the difference to int, so any number above the signed integer limit (about 2 billion) becomes negative and the comparison returns false as they said

OP had no problem with pointers prior to trying C++. I think there is a case to be made that C(++) makes pointers unnecessarily confusing and there is no real disconnect between understanding pointers in theory and in practice otherwise

And C++ makes everything extra confusing with the capability of operator overloading.

That has to be one of the worst features ever added to a language.


> C++ makes everything extra confusing

> I head massive problems with this pointer stuff

no, OP explicitly had problem after getting introduced to pointer concept


You can remove and replace the switches too


What exactly broke? I had this problem recently and thought the keyboard was done for, but turns out you can also replace the switches (not keycaps) and that solved the issue in my case. You have to be very careful though since it is very easy to break the switch or key cap if you remove it incorrectly (this happened to me while I was trying to clean the keyboard)


Afaik sodium batteries are much safer than li-ion and already in mass production. Unless Donut scales up really quick I think it will be more viable to just use sodium batteries for safety in the medium-term future


We bought a sodium battery for our last trip, and it turns out that most airline companies don't even know what sodium batteries are and don't have any provision in their regulations, they are as restricted as lithium batteries :(


There's a big difference between things like Metaverse, social media and AI. The former are mainly entertainment/communication products that rely on network effects, so if people don't like them they're bust. AI is a capital good so it doesn't need to be popular as long as it does profitable work


What RAM? OpenAI booked the silicon wafers, they can print anything they want on them. I wouldn't call them "far behind" on hardware when OpenAI are actively buying Cerebras chips.


Yes exactly; he is behind in that he has to buy others chips with little say on how they work.

Apple and Google control their own designs.

Sama is 100% an outsider, merely a customer. The chip insiders are onto his effort to pivot out of meme-stock hyping, into owning a chunk of their fiefdom. They laughed off his claims a couple years ago as insane VC gibberish (third hand paraphrase from social network in chip and hardware land).

No way he can pivot and print whatever. Relative to hardware industry he is one of those programmers who can say just enough to get an interview but whiffs the code challenge.

He has no idea where the bleeding edge is so he will just release dated designs. Chip IP is a moat.

Plus a bunch of RAM companies would be left hanging; no orders, no wafers. Sama risks being Jimmy Hoffa'd imploding the asset values of other billionaires.


Couldn't he just subcontract it out to whoever he needs to make his chips? Doesn't need to do anything himself


Because as we all know the EU would never try using AI for mass surveillance /s


So far, the EU's track record on privacy is definitely a lot better though. Not saying it'd always stay that way of course.


Might as well just encode the Unix timestamp at creation into proquints.


Project's should just seek out easy to remember GUIDs as their name.


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

Search: