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

> What will the US do if TSMC does not blink? Not buy TSMC made chips?

Yes.

> Obviously that is impossible

I assume you're willing to short Intel at this point?


>I would counter that nuclear does not scale in that it can't get small

Nuclear can't get small because of social and political reasons, not technical or economics reasons.

If you could put a small nuclear reactor in your backyard and it was assured to be safe, would you?


It's also due to technical and economic reasons. Tiny reactors require highly enriched fuel and have worse neutron economy and thermal efficiency. You can't use the same low-enriched fuel in a tiny reactor that you can in a typical (hundreds of megawatts or larger) commercial power reactor.

In a big commercial power reactor, fuel costs are tiny relative to the total system costs. If you used a tiny reactor like the Kilopower [1] to power a single home, the cost of the highly enriched fuel alone (upward of $50,000 per kilogram, 28 kg in a unit) would be orders of magnitude more expensive than grid-supplied electricity.

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


I've never heard that before. I don't think politics would stop a fleet of small 50-100MW replacing a 1GW reactor, and that's certainly not the opposition to SMRs now.

It's actually both economic and technical: the technical side makes smaller reactors less economic in terms of efficiency. Thermal generation benefits massively from being really really big.


Yes, especially if I could get heating(winter + hot water) out of the exchange loop.


This is exactly the situation for desktop games right now, something Epic is profiting immensely from. It's an extremely annoying situation for users, having a dozen launcher/store apps around contributing to bloat.


That's exactly the competition that keeps PC from having the hiked prices the likes of Switch/XBox/PS5 stores and having to pay $15/mo to play games with your friends online.

I'll happily have to deal with a few extra launchers on PC in comparison to what the alternative is.


No it isn't, the competition is great and is lowering prices across the board, and no arbitrary censorship exists.

The desktop games market is much heathier and less dangerous for users than the mobile app market.


> It's an extremely annoying situation for users

This is where I see how long that battle will be.

The future where this "extremely annoying" situation is fully solved is Xbox XXX being un removable and the only Game Store allowed on any PC sold, with legal threats to anyone jailbreaking.

As long as user have a choice and control on their device, and competition is alive, we'll hopefuly have different stores with different rules and you'll be extremely annoyed I think.


I'm getting a free game from Epic every week for having their launcher installed.

Competition is awesome.


I think you can even just grab them via www.


I literally don't have anything but Steam installed.


More fair to say Epic is money pitting from, given discoveries from Epic v Apple and Epic v Google..


Speak for yourself. I love shopping around and comparing prices. Competition is not bloat.


> It's an extremely annoying situation for users

Is it? I regularly use Steam, Epic and XBox and occasionally Ubi, Larian and whatever the GoG one is called... and it's fine. It's just another program.


Yeah, it is. I don't use anything except Steam. If it's not on Steam I'm not buying or playing it. Making your game exclusive to one distribution channel is stupid.


How is it "extremely annoying", it sounds like it doesn't even affect you.


It's legal the same way Airbnb and Uber are legal.


Sitting - worrisome.

Being used without too much writing -- just fine.


If it does't have to be offline for long durations, software raid + adding a new drive every once in a while, and discarding failing drives is pretty foolproof.

AFAIK large data centers automate something like this.


The issue with (software) raid is you have no idea if what you're copying isn't actually corrupted. If the filesystem isn't checksumed there's no guarantee.


One can use software RAID5/6 to get the checksumming.


Hash functions can be as simple as a single modulo.


As they said though, the hash function on a string type requires looking at every element in the string. Also, modulo is historically very slow. So, they still have to deal with O(n) operations, where n is the length of the input string. If they can improve the memory hopping problem associated with lists / graph structures (which they claim to have done in their library), then a trie could would be much fast enough, which is what they observed. Combined with the fact that they claim that 90% of the time there is a miss when querying the trie, then you exit early a lot, whereas you always need to compute the whole hash on the input string when doing the hash map strategy.


The hash does not need to be computed on the whole string. I pointed this out in my other comment but just as a example: a hash function could be as simple as xoring the first 16 and last 16 bits of the string then indexing a 2^16 array. That means hashing is two pointer offsets and an xor (no modulo required). If there are 100 strings that need to be removed, then ~99% of rejections will be a very fast O(1).

And in the case of a match, a fast hash + memcmp will be way faster than a trie traversal. In fact, according to the trie-hard github readme, std::HashMap is already much faster than their trie implementation when searching for a match.


> As they said though, the hash function on a string type requires looking at every element in the string.

Maybe for the default hash function. As another commenter pointed out, your data may make the following hash very effective: s[0] + s[len(s)//2] + s[-1] which would be very fast. The point being is spending a day seeing if such a hash exists is worth it.


Or as simple as using the hardware accelerated CRC32 that we have in our x86 CPUs.

Last time I checked, CRC32 worked surprisingly well as a hash.


Hah, neat.

The 'weird' instructions can often be 3-4 orders of magnitude slower than arithmetic instructions, though I doubt that matters here.


CRC32 is the same speed as an integer multiply, going all the way back to Nehalem (2008). 3 cycles latency, and you can start a new one each cycle (or more than one, on Zen 5).


Sure, in the same way SIMD instructions get a linear speedup in theory.

If you Google the words "CRC32 is slow", you can see hundreds of people complaining about this.


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

Search: