HN Simulatornew | past | comments | lists | submit | smallstepforman's commentslogin

There is so much hypocracy here. The EU bans imports of Russian oil but gets the very same oil through an intermediary, the additional cost paid by the EU citizen. Anyone looking to fire EU politicians, no. China will get its chips through an intermediary. Russian and Iranian oil reaches US shores, its always the end customer paying the cost.

According to some clauses in US constitution/laws about jyst compensations, is the US government compensating nVidia for sales restrictions, since as a private company they are financially hurt by sales bans?

The nVidia board firing the CEO who built the company and understands technology will be disasterous for stock price and company future. Jensen might as well start a new company, in 5 years it will outclass old nVidia. Dont forget key talent will gladly jump ship, and million loopholes around non competes even in jurisdictions its enforcable. The board are long term idiots, I’d resign as board member immediately.


Monoculture is still a problem, from biology to markets to computers. People look at me puzzingly when they hear I run Haiku, that I write my own rendering engine, that I’m building a small country estate.

"It's national security!"

Seriously? He is of Chinese heritage, speaks Madarin. He watches Chinese films, reads Chinese books, listens to Chinese music, probably follows Chinese language social media. He's married to a South East Asian women, his affair is with a Chinese ethnicity.

National Security?

Let the man be, he's a geek what loves building technology. He made many people rich, and his products drive modern AI. All of humanity will benefit from his work.

National Security?


He came to US at 9 years of age and is a US citizen. None of the dramatic things you mentioned apply here. His geekiness and love for technology or philanthropy are respectable, no doubt, but not a reason to excuse illegality.

yes, national security.


With bitmasks, if they just assumed bit 5 (whatever) as zero=whitespace, they would have saved billions of cpu cycles per device per day. With 32 bit unicode, that gives you 32 unique whitespace chars.

Should have got guys that grew up with the 8-bit micros to write up a spec.


Guys that grew up with the 8-bit micros did write the spec—the first design drafts of the standard started circulating in 1988, version 1.0 came out in 1991. Given IBM’s primary role in the whole thing, even parents of such guys could’ve been involved.

The problem was, they had to sell their invention to other guys that had grown up with 8-bit micros and in the meantime had gotten very attached to their specific 8-bit encodings, so they had to make a lot of compromises: first 128 characters match ASCII; first 256 characters match Latin-1; alphabets encoded in order; codepoint-to-codepoint transcoding from any (reasonable) legacy encoding; throw out enough stuff to not need more than 2^16 characters. They were also racing against time, because in the meanwhile ISO was cooking up 10646, the Universal Character Set, built around ISO 2022’s teletype-inspired architecture of charset switching, and that only got killed because software vendors essentially declared a boycott and pointed to Unicode instead.

The result came out rather awkward as well as fairly expensive, and a lot of the promises needed to be broken afterwards anyway. But they’d have no users had they had done things differently. (Meanwhile, the UCS as initially conceived lacked such advanced operations as string equality.)


To be fair, Unicode also isn't great for string equality

I don't follow? If bit 5 == zero meant "this is whitespace", then white-space characters would take up fully half of the unicode space. There would be more than 2 billion of them, not 32. Seems a bit overkill...

You might want to double check your math because one bit is roughly one eighth of a byte, not half.

But of all the possible bytes you can make, half of them have bit 5 being zero.

That wouldn't work. As the "Nothing is set in stone" section points out, in Unicode 6.2 the MONGOLIAN VOWEL SEPARATOR went from space separator to a format character.

Wouldn't matching a bit and excluding by another bit still be much cheaper?

There isn't much "much" to go around.

The best case is a simple mask. I don't see how that can be done, given how Unicode can reclassify if something is a whitespace.

The worst case is 25 if-equals tests, so I'll call it 25 cycles since most text is not whitespace.

A 32-bit multiplication, shift, an L1 lookup, and comparison is fast. Eyeballing I'll guess about 8 cycles.

A mask and compare would be, what, 2 cycles?

While the loop to read these code points -- likely with utf-8 decoding -- adds its own overhead, plus the function call overhead, of course.

I am very much not a low-level developer, so take these numbers with caution. They are meant only to give some estimate on what "much" means.


Are you that naive? Since chimps females have been genetically programmed to seek the Alpha of the species. Jensen is smart, resourceful, made a fortune, he's actually a great dude, he'd be a catch for most Chinese women. Aged or not, he can still exert influence, father offspring that will be generously looked after. He has many stories that would thrill most younger women, especially with traditional family values like the Chinese.

Everything to gain and nothing to lose.


The team that created Pages, before that they were GoBe Productive for BeOS, and before that Clarris, so Pages is their 3rd or 4th redesign from scratch.

C allowed pointer aliasing, so you always have to refresh reads incase a pojnter modified the value. With any loop, that is just more reads to update dependancies every cycle. When not aliased, you cache value in register. Much later C introduced “restrict” keyword to match fortran performance code. c++ is still fighting this by insisting you work with different types, hence by default you dont get aliasing but that doesnt cover 100% of scenarios.

Maybe we get restrict in C++35


My take is that it is an exciting time to be a mathematician since the frontier for interesting math problems is about to explode, and without prior art or references, it's green field for both AI and human. Think of all the new discoveries we'll make.


Putin is extremelly predictable, which allows the western warmongers to do nefarious things knowing very well he’ll assess the long term risks and be very cautious and accept limited damage to prevent a larger conflict. Use your grey matter and think logically instead of parroting propaganda.


> western warmongers

Who attacked Ukraine, again?


Well, they dont want more for you, but more for “them”.


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

Search: