skysight-inc/HackerNews huggingface dataset:
> With command wire capabilities, the weapon can change its attack geometry or even shut down if directed by the fire control operator. Detected targets can be changed, depth and range limitations can be set, and countermeasures, such as decoys and jammers, can be ignored using the submarine’s sonar data instead of the torpedo's lower-fidelity onboard sonar data. If the data link is lost, the weapon will follow its last given command and execute pre-programmed countermeasure defeating profiles, if necessary.

This somehow reminded me of the final scene from John Carpenter's Dark Star (spoilers, obviously) where a smart bomb wants to blow up (yes, you read that right), and the crew has to talk it into not doing so by using philosophy to give it an existential crisis:

https://www.youtube.com/watch?v=h73PsFKtIck
> This is utterly false thing that you learn if only read news articles. The value and quantity of manufacturing is now the highest it has ever been in the US.

I've seen it first hand. I've talked with people that have been impacted by it. I've also seen the corporate slight of hand that tries to disguise it. Components manufactured in China, shipped to Mexico for assembly, then shipped to the US to have some decorative panels and stickers slapped on so they can put a "made in USA" sticker on the side.

Go grab virtually anything from around your house (excluding food) and it's more likely than not that that thing was manufactured in whole or in part outside the US. That didn't used to be the case. Coming out of WW2 it was rare for people to own non-domestically produced goods.

This isn't a case of US manufacturing just being so ridiculously efficient that you just don't need many companies making things. That might hold water if most goods were still manufactured in the US, but they aren't. Cars are about the only manufactured consumer good still made in the US, and even they are quite often assembled in Mexico. Pretty much any electronic device is made in China.

Here's a case study, Ikea which is a very popular furniture manufacturer (among other things) mostly assembles their products in Mexico and China. They do have some US manufacturing, but that's largely because they acquired rights to some large swaths of woodland and it makes sense to process and assemble that on site.

To be clear, you mentioned agriculture, and yes, the US does have a thriving agriculture sector, but agriculture isn't manufacturing.

The US screwed up badly when it let basic manufacturing get outsourced. When the factories making screws and transistors are all based in other countries, eventually all the other factories are going to follow them.
America. That's quite a grand claim, I wonder what your voting record looks like. And if you've seen any Hollywood movies lately, shopped on Amazon, etc...
The most in recent serious submarine attack, the sinking of the Blegrano they decided to skip the fancy homing missiles due to unreliability and fired three non-guided torpedoes so it was a bit like the WW2 movies.
Wow, so it turns out that most of the products that were advertised were not so necessary after all?
HWUB is not known for being particularly even-handed in their editorial positions. They tend to 'beg the question' by picking game suites that produce the outcome they want to discuss, and tend to over-reach on the conclusions.

"fairly useless" here is over 60 fps average in the heavy titles and 90-110 fps in the multiplayer titles, with a similar ratio of minimums as the 1600 AF (so no more or less prone to stutter). And that's with them loading the dice by picking the absolute most thread-heavy games they could find, most games the 9100F does comparatively much better than that.

And the reality is that Zen1 and Zen+ actually are pretty weak in gaming. Zen2 made a ~30% improvement over Zen1 in gaming performance (much better than the "average" gains for other workloads), and it's still 10-15% behind the fastest Intel processors. Zen1 especially was hot garbage in gaming, those thread-heavy titles aren't representative of its average performance. About all you can say is that it aged better than the 4Cs that Intel had on the consumer platform at the time (or the 8100/9100F/etc that followed), an OC'd 8700K lays a smackdown on it and an OC'd 5820K remains extremely viable even today.

I'm not going to defend userbenchmark's composite scores, but gaming performance does heavily depend on per-core performance even today. Having 8 faster cores is still more desirable for gaming than 16 slower cores. And single-core performance is a good analogue of "per-core performance" so this number remains very relevant.
LOTR had proper oaths. Remember how Gollum swore "by the precious"?

Edit: augh, commented before finishing the article, it gives this exact example.
The question will be what will happen in 4-5 months. If California manages a total lockdown and by July-August is back to being normally operative then the lockdown was a good choice.

On the other extreme case there might be so few cases that there will be zero herd immunity in September and a second even worse lockdown might be needed again.
If there are any significant similarities in implementation, independent reinvention seems more likely. The list of similarities appears to me to be mostly surface-level trivialities of marketing copy rather than technical details, and I see no outright plagiarism.

I looked it up because I didn't see a link, and I was not impressed by his original posting to NANOG: https://mailman.nanog.org/pipermail/nanog/2019-February/0996...

Cynically, it not plausible that a big company like Apple could deliberately steal and launch a security-sensitive marquee product in only four months based on a whitepaper. If this author sues, discovery will almost certainly show development started on "Sign in with Apple" at least months before his NANOG message with briefs and requisitions for headcounts and such going back months more.
The underlying intent may well be that, but it is couched in both ignorance and callous disregard for others.

At this point we're just going round in circles.
Docker images under 7 mins
I'm happy that your experiences with police while homeless were mostly uneventful. However using this anecdotal story as evidence that the police are adequately equipped to play the "social worker" role is exceptionally dangerous.

Nearly all the data in the US points to the fact that police are the exact opposite of your story -- abjectly incapable of handling this role.

> Cops are human. They aren't a monolith.

Yes and no. Cops are indeed humans, but the institution of policing demonstrates that they behave and act homogeneously. E.g. "the thin blue line" or the "Blue wall of silence".
This must be a misunderstanding. Let me rephrase my question:

Why did the LA Times revenue get "nearly eliminated" while I don't see a change at all?

The ads I see on my website seem to advertise all kinds of random stuff, so it is not like I am targeting a specific niche.

Maybe some other HN users with websites that feature ads can chime in and tell their experience?
That's a rotting whale carcass of a metaphor.
Americans commute a lot more then Europeans on average. And also, the amount of physical movement you get when you go by car is much lower compared to when you go by public transport. Which is not like exercise amount either, but it makes difference.
> Voters are just signalling a desire for a clean and safe neighborhood, and suppose even that they don't care how it's done, it's still the city and police force's responsibility to figure out a way to do it humanely and in a way that helps solve the issue, not sweep it into another neighborhood.

I’m not willing to give voters the benefit of the doubt. We have a pretty well educated population that consistently goes to the polls and votes for the person that promises the lowest taxes. We can all say we want to support our fellow citizens all we want, but I have yet to see any action on that front.
https://caniuse.com/#feat=intersectionobserver

Lots of Safari versions don't support IntersectionObserver it would seem.

Then again, Safari is the new IE.
It is simple culture. An oath is the calling of a witness whose authority is undisputed (thus God, the Precious for Gollum...).

Absent the witness there is no oath.
Not when whatever is happening also causes the political, social and economic collapse of your own nation state. There are simpler ways to compete with a rival superpower, ways much less prone to exploding in any perpetrator's face. One of them is simply, well, doing nothing but outpacing them economically through more or less usual means. Not too hard to consider for a productive country with 5 times the population of its main rival.
A day after claiming total power, Trump caves in
Modern YAML for Modern Java
I’m wondering if they time spent in writing asm for av1 could also be spend in writing an optimising pass for the c compiler? So that any optimisations can be applied by the compiler while the readability of the C language is retained.
I think there are two angles here worth highlighting. You're talking on a personal level, which of course, police vary in their personal traits.

But mostly, when people say "cops suck" they're talking about the institution. The ingrained nature of how they conduct themselves as an organisation.

Bringing it to a personal level is not really the focus for institutional change or the main criticism people have for police.
They control and can change the Windows NT kernel, so anything is doable.
This is amazing. A lot of it works on my iPad.
That links me to a blank page with this text:

While most of our pages are available in a
version of latimes.com created for European
Union users, some are currently unavailable.
We are engaged on the issue and committed to
identifying technical compliance solutions
to this problem. Thanks for your interest in
the Los Angeles Times.
It's worse than that. SMR drives can't do random writes without rewriting large sections. So they are entirely unsuitable for general purpose workloads.
the interview:
https://www.youtube.com/watch?v=XtAyGVuRQME

actually more interesting than what tech-hating blogs make it to be
It is not logographic, but characters still have meaning - associtated phonemes. Although this is less clear in English, it is emphasized in other languages.

And this mapping is different between languages. So 'c' in English has different meaning to 'c' in Czech.
There was an earlier discussion here of youtubers seeing traffic growth but total revenue drop hinting at lower advertisement through Google as well.

But "nearly eliminated" sounds like a lot.
I'm a big fan of using wsltty. Everything works and it has very low input latency. I run tmux and terminal Vim in it every day for hours of coding.

Screenshots of my terminal and set up are in my dotfiles https://github.com/nickjj/dotfiles.

It looks exactly the same as xterm on my native Linux laptop.

I've even gone as far as running i3 through WSL1 / wsltty and it worked very well with 1 monitor. I stopped using it because I have 2 monitors, but if I had 1 monitor it would have been usable for day to day development.
True, you shouldn't expect the CEO of a large company to listen to the FNG or scrub who bypasses the chain of command. But a good CEO will recognize and reward those who bring them valuable input through the proper channels.
> I've seen it first hand.

You can't quantify manufacturing by looking around. What you see is cheap consumer products with low value added.

If you follow value chains for products manufactured in China, you quickly notice China imports high value added manufacturing products from other countries (including the US) then assembles them with cheap workforce and adds cheap components.
This is true, absolutely, but had no material effect on the world's ability to respond to the situation. Suppose they had reported possible human transmission in December, instead of early January, would that have made any difference to Trump calling it a hoax on February 28?
But it's not stopping the spread. A friend's office in Västerås just had a case and only now went wfh, while that friend already wfh but still drops off and picks his kids up from school and is getting symptoms now.

The comment about the deaths being primarily in particular communities sounds like the opposite of working, though. Can you provide context regarding why it's working if people in some communities are dying?

* Edit: thanks for clarifying. I didn't realize that your comment about measures working as intended was hinting at a eugenics motives of the policymakers when I first read it, but do now.
Germans don't buy as much houses because renting is more affordable in Germany.
Wow. Bye bye, Atlassian. Moving immediately.
yes - however those paths are not available to any backup system. if you want to switch from ubuntu to fedora, there is no easy way to do it.
If you accidentally uninstall ubuntu, you will lose that partition (and all your work). this has happened to me once already.

In linux, you just have a separate /home partition . You can have a dozen operating systems, merrily using the same home partition. you can trash your OS, but your home directory doesnt get trashed.

i have a pending request to offer the concept of a "home directory". the filesystem on which i work inside wsl2 should not be opaque to the rest of the operating system.
Author here.

The new API excludes the objects allocated by extensions, so the results should be more stable and actionable compared to the existing tools.

I filed a feature request for DevTools heap snapshot to do the same: https://bugs.chromium.org/p/chromium/issues/detail?id=107093...
Chinese Soc Anesth: Perioperative Management of Patients Infected W Coronavirus
shriek
it's not. the language has abandoned its principles of simplicity and convenience.
Firefox Containers are a native feature now.
That's quite an achievement, but you've got to realise that hacks which overwrite the stack return address are not maintainable and likely wouldn't work except for a narrow range of compilers (and even specific versions of those compilers with specific options). It also won't work with stack hardening.

Also it's function-level (like golang) not scope-level (like attribute cleanup). As argued elsewhere in the this thread, golang got this wrong.

Also also, overwriting the return address on the stack kills internal CPU optimizations that both Intel and AMD do for branch prediction.
You're welcome! My original post was tounge in cheek and supposed to evoke a chuckle.
If microsoft implemented the host side of virtio-fs then the guest could make use of that.

Also, IO performance of WSL1 wasn't exactly great either compared to native linux filesystems.
The concern I have is the endgame with shelter in place rules. I'm fairly convinced they're working (although not completely so), but what happens when they're lifted? What is the timeline for doing so, and under what conditions? What do you do to prevent the infection crisis from hitting after lifting the rules?

There's already been huge economic impacts, and everyone seems to assume once this is all lifted things will be normal. But without a vaccine or systematic antibody testing, will we just end up delaying the worst of the virus?

My fear is one of two things will happen: either we will have done all this economic slaughter with the lockdowns and still end up with the direct effects of the virus, but delayed, because of lack of herd immunity; or we will do this indefinitely and the economic casualties will increase proportionately.

I'm not saying the lockdowns are or are not the wrong thing to do, but I do feel like doing them without a clear plan for getting out of them is. I also feel like in the absence of these plans, its unfair to compare no-lockdown policies to lockdown policies in current casualties because those places may just be experiencing pains that lockdown locations have temporarily avoided. Places with lockdowns too late may unwittingly be similar.
Exactly! This is why I chose to put "property values" in quotes. While it is something that they think about, it's mostly about excluding people they have prejudices against.
My company uses Keycloak with Duo 2FA.
Ask HN: Why did you leave the tech industry?
What's your story? What do you do now? Any regrets? And how come you still follow HN?
The next step up for rigidity is usually low-cost carbon fiber.
So much to learn there. It's clear who the beneficiaries of that fraudulent platform are. Quite similar to China's tack, isn't it?
> You don't need separate Firefox profiles for that, you can use Firefox containers.

Firefox Containers are awful.

Only firefox profiles can give you true separation.

It would have been better if Mozilla had added a better interface to profiles.
My impression is softbank’s profits are based on valuation increase. Where they kind of drive the valuations by investing in companies.
Is your git repo inside of the WSL2 file system or mounted through a Windows directory like it would have been with WSL1?

The supposed speed boosts of WSL2 requires having your files living directly inside of WSL2's file system.

I haven't tried WSL2 yet since I'm waiting for it to hit stable.
Quaint story of gramps expertly killing a guy.
TLDR, converted for HN:

public Binding swearOath(declaration string, witness Deity<Religion>, curse string)

Parameters:

declaration: A declaration, which may be either something about the present or past or a promise for the future.

witness: The specific powers greater than oneself who are invoked as witnesses and who will enforce the penalty if the oath is false. In Christian oaths, this is typically God, although it can also include saints. For the Greeks, Zeus Horkios (Zeus the Oath-Keeper) is the most common witness for oaths. This is almost never omitted, even when it is obvious.

curse: A curse, by the swearers, called down on themselves, should they be false. This third part is often omitted or left implied, where the cultural context makes it clear what the curse ought to be. Particularly, in Christian contexts, the curse is theologically obvious (damnation, delivered at judgment) and so is often omitted.

(i.e. can pass null for curse if witness = God<Christianity>)

An InvalidOath exception is thrown if any parameters missing.

Return value: Binding (object): binding will be registered as an observer on current, past or future action, calling method with name 'curse' if original declaration not valid or not fulfilled.

See also Vows (which are different)
Interesting, but very frustrating to read:

> Oaths! How do they Work?

A paragraph later:

> “wait, how do oaths work?” and “how are they getting it wrong?” Today, we’re going to lay that out.

Then, after 6 paragraphs:

> So what is an Oath?

Then, after 14 paragraphs and around 3 full pages of text:

> Which brings us to the question how does an oath work?

Then, 3 paragraphs later:

> So what is an oath?

And then finally a definition. TLDR:

1) Oath contains declaration, which may be either something about the present or past or a promise for the future.

2) Powers greater than oneself are witnesses and will enforce the penalty if the oath is false.

3) A curse, by the swearers, called down on themselves, should they be false.

Which is kind of an anti-climax, because this is exactly how I thought everyone understands oaths.
ToString() isn't your only option
I agree. The issue here is communication. There was a disparity of expectations, leading to loss of access.
It never ceases to surprise and amaze me how badly my point can and will consistently be mangled by some internet stranger. I'm not at all making the point you think I am.

The article under question isn't about the police being asked to play social worker. It's about them being asked to just leave the homeless the hell alone for the time being.

My real point is that there's a pandemic on and everyone is both under a great deal of stress and simultaneously being asked to do new things. I would bet money that some of this is just habit taking over.

I'm not defending it. I'm not justifying it. I'm just explaining how humans work.

Cops are just cogs in the machine. They play the role we assign them.

We need systemic changes. Maybe the pandemic will help foster some of that.

But vilifying cops in a sweepingly dismissive manner isn't going to help us find a path forward. It's easy to vent your spleen at the nearest target during stressful events. It almost never improves anything and typically makes things worse.

Yes, we need to do better. Trash talking the police is probably not how we get there from here.
Isn't the confinement, obligatory social distancing, etc. a law and order issue?
What are callbacks in JavaScript and how to use them
That'd be especially hilarious if they were looking to fill a position as database administrator :D
So this is super cool, and I would love to use it, but sadly, in your write-up you mention _requires_ nVidia hardware, which sadly, I don't have :(

Any follow up on making this more generic, e.g. with AMD/Intel setups?
I would say that doubling the death rate sounds bad. There is a point to be made that the main effect could be more on the side of reducing the high percentiles of lifespan rather than a long term increase in the death rate.

Also I think that setting an acceptable death rate is missing the point; depending on the illness anything between 0% to 100% is "acceptable" if there is nothing we can do. A more appropriate measure (IMHO) would be a something vaguely like lives_saved^2/effort.

In particular this need to consider the famous flattening the curve and the fact that for some categories of people the mortality rate can be very high.

On the other hand (and also on a more amoral side) it would be interesting how many alive man-months COVID-19 destroyed, as in how long was the average life expectancy of the people that died from it. I feel like this would be both harder to measure and more significant in term of sociological damage.

(in general this kind of conversations are hard as it is easy to insinuate that old people have less value which is both completely false and somewhat true, I personally do not possess the talent of walking this fine line of language)
That would be much less of a problem if bulk mailing rates were eliminated. As for the evils of government, I hesitate to even think about what the corporate solution to the coronavirus would look like.
> Thankfully in C++ we have constexpr for that.

The only C++ feature I'm thankful for is the option of not using it
Is it 4$/user on top of the minimum 20$ (which includes 5 users) ? Because my billing still says 20$/month and I have less than 5 users.
I think you are underestimating the ability of humans.

I remember back in the day where I was following a small amateur indie game scene (1998-2002), a guy released a game he'd written entirely in assembler, just for fun. He could have easily have written it in C instead, but he didn't.

The binary was significantly smaller and the game really smooth.

You don't write assembler the same way you write C or C++.

A compiler is working under various constraints, for instance regarding interoperability. When you craft everything by hand, you really have no constraints other than your imagination. You can benchmark stuff and learn and adapt. Compared to that a compiler is a sophisticated idiot.

That doesn't mean all of us should start working in assembler. But don't look down at people that do - instead find inspiration, and perhaps try to make the compilers less dumb.
You can just use --profile <name> -- with only the name of the profile.

Also, you can backup/restore/move profiles independently of each other.

Also, you can have different network settings for different profiles (not sure you can do that with containers).

For example I have a profile whose network connections are such that traffic is forwarded through a socks proxy (implemented via ssh). That's basically an ultra-simple vpn. I can then (via a script) automatically launch the tunnel open firefox with the appropriate profile and then exit firefox and gracefully stopping my tunnel.