skysight-inc/HackerNews huggingface dataset:
git mv foo.bar <SomeNewDirectory>/

It loses all history of foo.bar. I guess if you pull up a version before the mv, you can still see it, but as far as git is concerned, foo.bar in the new location has no relationship to foo.bar in the old location.

Many people have complained about this over the years, but it's still that way. Because (they say) Linus likes it that way.
After looking at the video, I'm not suprised to see a bunch of Electron apps mentioned as resource hogs along side Chrome which even this journalist and others have noticed that their laptops are hitting 100% CPU and RAM utilization. It just goes to show that running many Electron apps scales badly.

Of course, web developers would say this is a trade off and will revolt against supporting other browsers like Safari, Firefox, as they don't support the APIs Chrome has. They then will force you to download and run it to view your webpage. To bypass that Electron came around to create your webpage as an 'app' by using Chrome, creating the problem mentioned above.

As you can see, the actual problem is the over reliance on Chrome.
I use Firejail[0] on my Linux machine to achieve the same effect.

[0] https://firejail.wordpress.com/
Why would someone smuggle meth into China? Surely with China's fairly lax regulations on the chemical industry someone would be more likely to be smuggling it out...
I have used libeatmydata to help with this, but you just made me realize that in my current project I could just dump the test db to RAM. Thanks for the tip!
Yes, but since so far they had success, how would they really know? And computerized search is getting more smart, not less, so .. even less incentive to be precise.
I think the faulty reasoning is to assume that the arrest of these 2 Canadians means that Canadians are not safe in China. This is FUD. As said, this overlooks who these 2 Canadians are: There are apparently hundreds of thousands of Canadians in China and the 2 arrested clearly have links to the Canadian government and/or intelligence agencies.

The probability of being mugged and shot in the US is probably higher but I don't see articles telling people to stay well clear.
It's hard to compete with Open Source Libre libraries and lower C++ interest in new developers, not to mention developing in C++ is harder than many other languages.

My employer still struggles to this day finding good recent grads remotely interested in C++. In contrast, Java and Javascript skills are easy to find in the market.

Edit: Added "Libre"
They can say that at any time.

Executives and the board negotiate stretch goals of stock based compensation for themselves based on marketcap or revenue targets.

It is inconsequential for them to create and sell these shares as the market keeps absorbing it at any marketcap.

The rest of the shareholders like the idea of capital returned back to them no matter what price they bought in at.

And finally the legal system will support private litigation regarding the CEO being expected to do things that make the most returns for shareholders.

So if you have a whole marketplace of people trying to navigate this incentive structure, there is a selective evolution towards a few that create this growth machine successfully. And when they dont share prices will fall thats it.
Somehow I missed/forgot about that addition to the stdlib. I understand why (as evidenced by the requests in this same thread), but it I'm sad it's another thing I have to look for in code reviews ^_^'
Another thought, I think I like it for the same reasons many here like Windows 2000...
The most popular, and fastest declining, programming languages
That $22 billion number (which basically sounds like it was just a number made up from Oracle's lawyers, never confirmed by Google) from the article you posted is definitely not comparing apples-to-apples.

I can guarantee that being in control of the world's dominant mobile OS, and all the default Google search engine installs, Google Maps installs, etc. that entails, is worth much more in terms of mobile ad revenue than any directly-attributed OS revenue.
Google Postmaster Tools review How to monitor email deliverability
I mean, is it really such a rare thing to do? I know that in Poland if you have any outstanding and overdue unpaid fines/alimonies/traffic tickets, you will be prevented from boarding a flight out of the country at any airport until those obligations are paid.
Since version 1903, Windows 10 has included a built-in sandbox feature as well:

How to Safely Run Software With Windows 10 Sandbox https://www.pcmag.com/how-to/how-to-safely-run-software-with...
I don't think anyone would disagree that she's a pawn in a geopolitical struggle, but it also sounds like she absolutely and intentionally violated US law. There's pretty clear evidence, mostly in emails, of Huawei execs knowingly flaunting the export laws.

It's unclear if the westerners detained in China have committed crimes. I think their detention is a good example of what this warning is about. Detained for unclear reasons under broad state security rules with little presented evidence of crimes. Indefinite detention without any hope of a trial, kept in total isolation, without any formal representation.

Meng got her day in court, will the Michaels ever get that?
We should abolish CBP as well as ice, make license plate monitoring illegal (if possible). Ang restrict the border cops to just a few miles of the border.
> First of all, there's no guarantee that you will be able to use BVR. A stealth fighter using its radar is the same as a man in a camouflage at night turning on his search light. Everybody will know where you are. There might also be rule of engagement restriction, as has been many times that forced within-visual-range.

The F-22 has a low probability of intercept radar. They've been testing a window for adding IRST too in recent years. It also has extremely sophisticated passive EW sensors. It was designed from day one to win BVR fights without compromising stealth.

> For WVR, the ability to supermaneuver is useful. It can give you that extra edge to get the angle on a target. You have to give up a lot of energy, sure. But you do have >1 TWR, and your buddies to cover you. It's not a magical tool but another one in a toolbox.

It's a very poor tool and should be seen as a last resort.

As for F4's in vietnam and such, the visual engagement rules there were unique and are not going to repeat.

I'd suggest reading CBSA's Future of Air Combat report to understand the realities of this stuff. Supermaneuverability is very close to useless other than an advertising stunt at air shows.

Manned fighters themselves are very nearly obsolete.
My history with git is shorter, but ditto to the web search for simple tasks. Before git, I used svn, and most things there made sense (not everything, I admit).
You can be highly educated at engineering and still know nothing about politics or philosophy.

I think the best thing they can do is induce political apathy. Discourage people from trying to get into even the Party apparatus, except as functionaries doing repetitive, menial jobs, and then keep people prosperous so they don't question.

I've certainly known a lot of engineers - Western engineers, even - who didn't care about politics because they simply didn't need to.
Western citizens have to recognize the hypocrisy of these stands eventually, don't they?
No process nor code is trusted in my company. The performance penalty is negligible compared to the multi-million risks, and WASM execution can be optimized a lot as it goes past MVP.

I don't know how to import a ES6 module using C ABI.
Check out Saudi Aramco’s gross income, and look at the price they actually sell oil at.

Its insane what is possible in the commodities market.

And to think there are so many players that aren't publicly traded, and it has been this way for a century? There are some extremely wealthy people out there we have no clue about.
The key difference is that instead of the Keybase server storing verifications, it looks like they tell you to add the link to the proof directly to your key as a notation.

This means the proof isn't dependent on a central server, which seems like a significant improvement.
Laundry: A Quantum Mechanical Approach By: Brian J. Reardon (2007)
Judgments of Henry David Thoreau (2015)
It's pretty comical to compare your tourist visit to Albania last year against a Special Air Service operation during a civil war 23 years ago.
At least Russia, the US and the EU expel each others' spies as opposed to imprisionment and torture. Tourture is even illegal and punished bt law in the EU, which adhers to the human rights charter.
One has perfect information, but we don’t yet have a single machine that could evaluate all possible turns to be taken.
HN July 4th thread Scuba diver accidentally discovers prehistoric industrial complex in Mexico [1], the original paper [2], and the spectacular underwater footage included in a CBC News video [3] via joachimma [4].

[1] https://news.ycombinator.com/item?id=23730884

[2] https://advances.sciencemag.org/content/6/27/eaba1219.full

[3] https://www.cbc.ca/player/play/1760020035814/

[4] https://news.ycombinator.com/item?id=23731910
I've found a study that suggests that Mg deficiency actually produces stress: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5112180/
Why’s Beijing So Worried About Western Values Infecting China’s Youth? (2017)
Correctly identified problem.

Far too technical and obscure a solution for 99% of the world.

I think Apple, while not a complete solution, shows a path forward with Sign In with Apple allowing you to generate a relay email.

As always, whoever nails the user experience will win.
Words like efficiency and freedom are loaded terms that have an implicit context. It's always important to ask what the context actually is. Efficient to what end, or freedom to do what. All too often we discover that we are not the beneficiaries of the efficiencies and freedoms being discussed.
Python is a very popular language where the list type is implemented as an array, and named a list. Calling these things vectors (C++, Rust) is unfortunate because you eventually want real vectors for working with matrices, and the behavior is different in that context.

As for linked lists, given modern processors and cache behavior, there are very few places where you ever want to chase pointers for a 1D data structure. It seems like a shame to lose a good name to a data structure that should now be avoided most of the time.
Uhh, why? They're not really related to each other...
I did all the walls and ceiling. Dry wall + glass wool, on top of bricks.
Don't bring drugs into Asia and expect to have a good time. This is one area that being ignorant of history can get one executed.
No min wage can make sense without a good social safety net. The us doesn't really have anything like those other countries.
> The Experian breach has shown that breaches of trust are easily overlooked in favor of complacency, at least to a point.

I disagree that it matters for trust in CC's. It may have damaged experians reputation, but people still trust amex/MasterCard/visa and their banks, despite Experian being useless. The fact that Experian is required to access those systems is unfortunate, but most people don't deal with Experian directly.

I think people's day-to-day trust in banks is well placed, for what it's worth. I banked with a large bank that fell in 2008, and had less than 10,000 in my bank. My money wasn't affected, I just had to find a new provider.

I've had multiple incidents of fraudulent transactions on debit and credit cards over the last 15 years, and in _every_ instancr, my card provider has sided with me and refunded me the money immediately (even in the one case I was actually wrong and it was a billing mistake). Those amounts we're almost always in the few hundreds.
In many situations an accompanying PhD in psychology or neuroscience would be useful.

EDIT - I'm throttled (I imagine due to comments like the following), so cannot reply below:

> Nobody needs a phd to understand that circumstances and chance have a much bigger influence...

Some depth in psychology and neurology can also help one realize that you do not actually know the thoughts and abilities of other people - rather, this is how the mind evolved to perceive and model the external world (persons, etc), and how the subconscious communicates predictions based on that model to the conscious mind.

So, I maintain my assertion that an understanding of how the mind (that which most substantially differentiates us from all other living things) works has great utility.
At least Meng can hire lawyers etc. In China, there is no real law when it comes to anything political or economical, which are always mixed.
One-sided cold war perhaps. China has no interest in turning the US communist. Because of Chinese exceptionalism, it doesn't think that's desirable or even possible. Can the US picture a future where it coexists with a communist China though? Based on comments from most Anglophone commentators, that doesn't seem to be the case. Their only two end goals for China is eventual democracy or eventual collapse.
Corrupt laws can be repealed. Something like DMCA 1201 looks set in stone, but I have no doubt it will eventually be scrapped.

But I agree, if such kind of junk becomes law it's much harder to repeal it, than to prevent it from becoming law in the first place.
That site will not render without Javascript enabled.
This happens in real life as well. There are propaganda efforts in foreign countries: https://www.youtube.com/watch?v=7tsXtk7psUc
That's besides the point. The point is that this is tit-for-tat retaliation that targets specific people whom we don't know the whole story about (You can try to set up a business at the border with North Korea and to get to know Kim Jung Un like one of the Canadians arrested... I doubt you'll get far). This does not tell you anything about life in China as a Canadian.

Edit in response to jlokier below: I think everyone with a bit of common sense understands what "making waves" means when travelling abroad, and especially when travelling to China (or any country with an authoritarian regime). Be respectful, don't challenge officials, don't get involved in politics, don't make strong political statements on sensitive topics. When you're a guest somewhere, behave like one.
Interesting that OP ignored ca65 and went to NASM for the second assemble option especially since they were already using cc65.

Nice use of High Level Assembly with the macros!
Dunno. Colonialism led directly to the results you see today.
I don't mean to be snarky, but is it possible that your personal experience in the past cannot perfectly predict the experiences of other people in the future, who may well visit different parts of the country, encounter different personnel, and will say and write different things?
Have worked in the identity space for a long time. Authentication isn't a hard problem, but identity is. It will be decentralized because if it is not fragmented, it is literally just oppression. Trusting authentication is not trusting identity, and the origin of identity is the Ur-problem because it comes down to questions of recourse, collateral, risk, authority, and legitimacy - which are all political economy questions and not technical ones.

The technology can change the economics of identity, but identity itself reduces to how you organize to provide recourse to people within your scope. Sure, we can use escrow systems and smart contracts, but these still require a means to organize and provide adjudication.

All the use cases for digital identity are about enforcement and liability, and there are almost none that anyone would volunteer for. In this sense, identity is necessarily imposed, so all products in the space are necessarily aimed at a customer who is imposing identity on a group. It's why I tell identity companies who ask to find some other problem to solve because holding out for some government to adopt your product as their source of sovereignty is a waste of time. There is one other use case for identity, and yes, it is decentralized and bottom-up, because it is about dividing into secure, self-sovereign affinity groups, and the reasons for doing that are on a very short list of uses. Super fun, but basically a weapon.
We can just start stealing back Chinese IP. They're inventing and designing a lot of their own stuff now -- fabs, for example. Let's just do industrial espionage and use it to build up domestic production!
I liked the Digital Garden Setup guide (needs login): https://learnawesome.org/digitalgardensetup
That's true. And that is also probably why things mightn't improve soon - if the only metrics MS tracks is Teams adoption, I'm guessing its looking good right now. If they aren't counting how many of these cases are "frugality-driven", they are going to be blind to the UX problems.
Except the Chinese haven't acted like global parasites for the past few centuries like Europe and America.
A "collapse" in the US would be civil war 2.0. That's what a "collapse" in China was from 1916 to 1949.

Still, a civil war requires the civilian government to lose control of the military or a central military to splinter into regional militias. That doesn't seem likely in the US or China. Another scenario for a US "collapse" would be a military coup or some other end to the democratic experiment.
Cloudflare has way more points of presence than AWS Cloudfront even inside US and Europe, set aside countries like Russia or Australia. There's no point using Cloudfront unless you deeply integrated into AWS or negotiated serious price discount.
You might want to check your nutrition. Sometimes issues like this are caused by nutritional imbalances (such as getting too little or too much of a certain nutrient). For instance, iron deficiency can be a cause for restless leg syndrome. Though please be careful with iron, and only take it under the supervision of a physician, as too much iron can be deadly.
HN is a very inviting platform for both Chinese and Russian state trolls. Don't be upset about their attention, truth is on your side. EDIT: here they are downvoting my comment to prove me wrong.
Ask HN: PHP or Go?
Hi!
I would like to know if it is currently more worthwhile to learn PHP or Go. Currently I have a relatively profound knowledge in Java Spring and would like to learn a new language to broaden my backend development skills.
Go looks very interesting to me and impresses with the number of cool projects written in the language. PHP on the other hand seems to me more like a foundation that you need as a backend developer. What do you think, if you had to decide?

I am also open for other tips.

Thanks a lot in advance.
"just" retaliation... this makes their detention arbitrary. After Meng Wanzhou was arrested (and placed under house arrest in her multi-million dollar Vancouver mansion), the Chinese government arbitrarily picked two high-value Canadians (an entrepeneur and a Candian diplomat) and threw them into solitary confinement, interrogating them 24/7 in shifts, and giving ostensibly no access to lawyers/representation.

Oh, and by the way, you don't need to be a diplomat or entrepeneur to be picked up. They do it all the time [0].

You can read more about Spavor and Kovrig, the Canadians detained in solitary confinement in China for over a year, here:
https://www.theglobeandmail.com/politics/article-michael-kov...

[0] https://torontosun.com/news/national/123-canadians-detained-...
> Not necessarily easy to spot.

I think the deep extremophiles underscore the point that "if there's life, it spreads everywhere". Which is in aggregate easy to spot.
PIN codes and chips are used in the US as well, but I doubt a PIN and better encryption would help you[1].

1: https://xkcd.com/538/
Well, I too really like the default browser styles. But the problem is that, with JavaScript disabled, a lot of things that would be hidden by Javascript (like menus and things like that) now appear all cluttered at once. That is what I meant by uglier.
It’s 2022. What Does Life Look Like?
What's the real advantage of using this over HTML template rendering?
And yet the sun's spectrum follows the black body radiation curve.
But killing black people is okay because of... optics?

God damn Americans really do be like this sometimes don't they?
Home ownership rates in the US have been pretty stable going back at least to 1960, averaging about 65% with some long term swings down to 63% or up to 69%.

About 50% of Americans say they live in the suburbs, 30% cities, and 20% rural. If you just look at Millennials, it is close eto venly split between cities and suburbs at about 38% each.

Given those stats, I'm skeptical that housing is a factor unless someone can make a good argument that the young people who would have developed an interest in ham radio nowadays are moving to cities before that happens at a higher rate than previous generations did.
Just because „it‘s said“ does not make it correct. I can‘t speak about the situation in the US. But I will speak about the situation in contemporary Germany. I completely reject all of this. Anyone who claims racism is baked into a (european) system should name those injustices (and not omit any corrective measures, for example built into the education and tax systems). Given that, any connection to languages (renaming stuff) should be proven as well. Just invoking some handwavy mistakes in the past is not sufficient. Invoking problems in the US is not sufficient. And even when those problems exist, this, by itself, is not a good reason to accept an arbitrary cause not supported by an argument.

The claim that there is „one side“ with all the advantages is a distraction as well. There are many imbalances and injustices. They are not between two sides. Things that come to my mind are, for example:

* Was your family rich?

* Was your family educated?

* Gender

* Skin color

* Family ties in the place you live

* Accents/Habitus

* Social strata

* Political power

This is a very basic listing. All of this may or may not have an influence. The fact that the current debate is more shallow than even that says a lot.
It’s nothing new though. IP theft has a long and honorable history. It’s only recently that we have decided that it’s such a terrible thing, now that we own so much of the IP in question.
A New Direction in Firefighting Systems
I tried using Wt for a site almost a decade ago, it seems. The layout managers would make the site so terribly jittery that it could cause motion sickness.

My use case for Wt at the time as "I know C++ well and I don't want to learn anything else." I don't think I'll ever have a better use case for it and I don't think that one was very good to begin with.

The best use case I can imagine is something like "We have a lot of existing C++ code which we need to turn into a web app." But even then, why does the C++ code need to manage the DOM? It almost certainly doesn't.