Better HN
topnewbestaskshowjobs
Log inSign up

galangalalgol

4,586 karma · joined Apr 3, 2016 (10y ago) · 2,710 submissions

I like Thai food and curly braces.
Submissions

comment 1w ago · link · parent

I was thinking of the John Adams quote. In context, he was saying we couldn't make a set of laws sufficiently detailed to constrain fundamentally selfish or violently angry people into correct behavior without removing all freedom. People have to try to be better than laws force them to be or it doesn't work.

"We have no Government armed with Power capable of contending with human Passions unbridled by morality and Religion. Avarice, Ambition, Revenge or Gallantry, would break the strongest Cords of our Constitution as a Whale goes through a Net. Our Constitution was made only for a moral and religious People. It is wholly inadequate to the government of any other."

Edit: People like to take that last bit out of context and argue it means the US is only for Christians. That is not my point at all As an analogy, relying ona detailed software development process to produce good software independent of the ability or intent of your team is hopeless. That process would have to be so detailed as to be the software you are trying to produce. You have best practices that aren't binding and some hard red lines to mark things that are clearly never ok.

comment 1w ago · link · parent

Laws are not sufficient for a society to survive. There have to be shared norms and morals layered on top. If we are a nation only of laws, we are doomed to extinction.

comment 1w ago · link · parent

It is explained elsewhere, but a summary is that any language with generics is going to have any stable abi as a subset of the language. There is already a subset of the language that is a stable abi, it is the c abi. Expanding that subset has to be worth it in terms of what people actually want to export from a library. As I use generics fairly heavily I don't think I would use that expanded abi for anything.

comment 2w ago · link · parent

First past the posts for a nationwide position (president) ensures two party polarization even without any external influences (and there are many). In the UK (and Canada) you use fptp for the lower house but due to regional differences that can still create multiple parties and more viewpoints within parties. Regional differences get obliterated with a nationwide fptp position, making every act of compromise a betrayal.

comment 1mo ago · link · parent

The suggestion seems to be for api changes where the api is generated from an idl. So proto or something. If my service was built several versions prior to that value being added then I by definition don't care about it. The catch all is fine. If other services care that I don't care, they can file a ticket. You could be nice and leave out the catch all and then the deserialization will panic or throw and error. And the mect CI pipeline where the new IDL gets used will fail to compile. Both ways it is a runtime error at first. If you don't require exhaustive at all, that just lets you persist the situation without migrating my old service to the new api... Non exhaustive is the one option I can't agree ever makes sense.

comment 1mo ago · link · parent

Human nature being what it is, we won't hit the 2 degree target either. We could! We won't. The likelihood we get into some of the nastier feed forward events seems near 100%. Yes, we could build masks, then suits, then huddle in domes. Or we could build a thermostat into the place. Human nature is fine with spending trillions to fix a problem that billions would have avoided. But it wont do the avoiding. It is just how we are.

comment 1mo ago · link · parent

Sure, per capita makes sense and that pushes some middle eastern countries to the top, with china and india way behind the us in emissions. But the post that started this was about voting to fix the climate. My whole point was that all the countries that are producing the majority of emissions aren't very democratic (us, india), or aren't at all (china russia), so voting is really quite irrelevant.

comment 1mo ago · link · parent

As I said, they are aggressively contributing to the engineering side of emissions reductions. Probably the worlds most effective contributor in that regard. They are also the worlds largest emitter of greenhouse gases. Both are true. My final point is that those contributions are not altruistic, and their motivations could change if the entire oil production of Russia gets piped to them, they achieve naval dominance enough to secure malacca etc.

comment 1mo ago · link · parent

The less-bad guys maybe? Good guys are pretty hard to find in any honest history books. The moment is gone in any case. Emissions reductowould no longer be sufficient even of we had any confidence they would occur. Engineering solutions need to start focusing on climate engineering in parallel to clean energy. Both will definitely be needed to mitigate the losses to human quality of life.

comment 1mo ago · link · parent

35% of greenhouse gases are released by China and Russia. These are not democracies. They have killed their people to remain in power.

Another 8-9% is from India which while still classified as a flawed democracy is borderline.

And 11% is in the US which I guess we will find out if it is a flawed democracy or hybrid regime over the next few months. But at best it is paralyzed by polarization on the issue. And also due to lobbying/bribery from oil producing nations and states. The electoral system enforces two party rule which caused this problem in many nations, most of which are no longer classified as democracies.

These are also incidentally the nations best poised to solve the engineering issue of maintaining modern QOL while reducing emissions. The US has certainly contributed and China is working the issue very aggressively, largely out of a need for energy independence. But both of those contributions are fragile. The polarization is affecting it in the US and if China secured sources of energy that were cheaper but emitted, they would not hesitate.

comment 1mo ago · link · parent

I think the benchmark game was really useful. It wasn't a which is better, it was what are the tradeoffs. Some of that was provided subjectively by curating it into safe and portable vs hyperoptimized categories. But there is also memory footprint etc. It was also a gauge of which languages people who care about performance preferred, as those got rapid updates.

comment 1mo ago · link · parent

While I get your point, there is obviously a middle ground between eastern block communism and unregulated anarchocapitalism that many nations can and do inhabit. Antitrust is a good example. The free market can't solve everything, and monopolies are bad for innovation despite what Thiel says.

comment 1mo ago · link · parent

That is a dangerous game, especially when affecting food supply. Widespread cyber attacks on critical infrastructure are deemed grounds for nuclear response in most national doctrines. This obviously is way out of scale, but concerted widespread efforts by decentralized groups could end up triggering ww3 by accident. Not when they try to play a game of chess, but when they shut down a water treatment plant, and some other unrelated group shuts down gas pumps, and suddenly there are millions of people with no fresh water and no fuel to get it to them...

comment 1mo ago · link · parent

Precisely. Information you don't pay for isn't news, it is propaganda. If you didn't pay for the product, you are the product.

comment 1mo ago · link · parent

No, but cbp could have a k9 at any bottleneck they want and those dogs read their partners body language, so if they are a racist idiot it might alert on excessive melanin providing probable cause. Assuming they didn't just train it to alert on command. And if it alerts yeah they can demand to search your phone. I don't hear about it getting used, but that could be because they are careful not to use it on anyone who might start a case that could get it ruled unconstitutional. They openly use it where they think there is actually smuggling.

comment 1mo ago · link · parent

The law makes it clear that the rules are only suspended in the customs zone of the airport and within 100 miles of the airport. They seem to follow that. The checkpoints you see in Washington state or down near the border with Mexico do not show up around denver or dfw. The reality is bad enough we don't need to exaggerate it. And they can't just grab every phone as they walk around LA either, they have to signal their dog to alert on you to give them probable cause...

comment 1mo ago · link · parent

The baltics have even more vivid memories of soviet life don't they? And nato trip wire troops so any attack would be killing french and uk soldiers (nuclear powers). Trump was talking about taking Greenland by force right up until the trip wire forces arrived. It is an odd job as a soldier to be a hostage I think, but it seems to work. It would be more reliable for Poland to obtain its own nuclear deterrent, along the lines of the buffers vs dependencies argument in the post. There has been talk, but that seems difficult.

comment 1mo ago · link · parent

The more likely hyperbolic step would be to blow up outgoing pipelines and apply secondary sanctions. Or, as threatened, blow up power and water treatment plants killing large swaths of the civilian population. Nukes wouldn't be necessary to cause mass death.

comment 2mo ago · link · parent

And the West can and does return the favor. Perhaps Poland should fund the destruction of some Siberian pipeline pump stations? Article 5 against Russia is not going to get consensus anyway, so making it formal just increases the risk of escalation.

comment 2mo ago · link · parent

If you look at my sibling post I explain that is how they used to do control, but they outgrew it. The spinnup times made it act like a spring damper system and it had bad control states even then.

comment 2mo ago · link · parent

They sent the data along the lines. Initially that was just the frquency. Drooped low? Ramp it up, running high, turn it down. That is effectively a spring mass damper system and it always had instability conditions that caused problems. They begand to modulate additional data, including voice, analog over the lines to add additional controls. As more people joined, and load became less predictable even that wasn't enough. Every endpoint now measures load at something like 30hz and that won't fit across the lines. They added separate dedicated fiber or microwave along towers. Those still get used. Probably sometimes unencrypted still. They are targets I'm sure. Then we have renewables and nuclear with their mostly inflexible power supply, that makes it harder to stabilize yet. The control loop stuff is often physically separate, but that is the older stuff and less secure. The data from all those houses still has to get onto the logically/physically isolated control network somehow, so that is a vulnerability too. Anyone with a zigbee radio cam see the encrypted packets.

comment 2mo ago · link · parent

Air gaps are not magical, they will not stop the flood. The electrical grid has to communicate with itself to load balance, so you can run dedicated wires with giant cut-me signs pointing at it, or you can use symmetrical key encryptors to route it over the intenet. You needed to use the encryptors anyway, so why not. If bad software gets in via thumb drives music disks etc (and it will of the flood is pointed at you) it can still do bad things. But so can a hunting rifle pointed at a transformer station. That nearly blacked out all of socal once.

comment 2mo ago · link · parent

The scenario we are all dancing around is if there is a war over reunification. That would be between the worlds two superpowers. No one would walk into a nuclear Holocaust on purpose I bthink, but miscommunication happens. Even if no other nations intervened, the reunification would definitely destroy all the worlds leading fabs, and even if it didn't, I read ASML can and would shut their machines down remotely. So those researchers would shift to figuring out what they can do at the 28nm node... Meanwhile the rest of us ponder why old powerful men can't let things be.

comment 2mo ago · link · parent

I think that was the point being made? Outlawing something does nothing if enforcement is not feasible. The music and movie industries didn't crush torrents, they switched business models to streaming with prices being determined mostly by how much hassle was avoided by skipping the torrents.

comment 2mo ago · link · parent

I don't agree that the cheaper option is less good. I can admit that ai often (but not always) writes code with more attention to detail than I do, and much faster. Diffusion by itself does not produce human tier graphics (usually), but in combination with llms and heuristics it can do some things better than humans. When wielded by a graphic artist who could do it by hand with mixed media much less digitally, the amount of top tier art that can be produced is increased. Less expensive art doesn't have to mean worse art, it can mean equally good art, just note of it, art everywhere.

comment 2mo ago · link · parent

Quite possibly. But shaheds aren't the answer either. After Fukushima, the plutonium 240 fuel for the breeders they don't want to run anymore has been piling up. Not as good as 239, but that is what they should be looking at.

comment 2mo ago · link · parent

It does make one wonder how many nations off China's coast are taking notes on how to asymmetrically shut down waterways even against a giant modernish navy. Or Singapore and neighbors... If the world cops can't guarantee safe trade anymore things are going to get strange, and not in a good way.

comment 2mo ago · link · parent

The gp only mentioned Israel. Actual antisemitism is common enough that it is counterproductive to use the term so loosley.

comment 2mo ago · link · parent

It seems unlikely they would let any political divisions or legitimate grievances go unexploited. It is their cultural core competency for centuries. That does not mean the greivances being exploited aren't valid, or that the parties themselves don't aid in the fracture so they don't have to worry about competition with parties whose ideology is too close to theirs.

Edit: This is reductive, Russia has tons of culture besides this trait, but it is the fundamental strategy that allowed a landlocked state with no natural borders to survive and expand. When you learn a strategy to survive or cope with adversity, it sticks long after it is beneficial.

comment 2mo ago · link · parent

It does, and rustc nostd already supports a lot of places cpython can't run, but the other way around is just non existent. Rustc can't and will likely never support ti dsps because they own the compiler and a long is 48bits. Dreamcast and other things with weird data sizes also are out.
12345
91