skysight-inc/HackerNews huggingface dataset:
The disparity is ridiculously large as someone who reads zhihu for Chinese practice. It's like looking at two alien worlds.

The biggest difference at least to me is that US social media really drinks the coolaid on how human rights and liberal ideas are the main drivers behind America's political decisions, that America should be a force for good that has a responsibility to vanquish evil around the world, and that everyone naturally wants to live under America's image for the world. Chinese social media leans towards the world as a place where might makes right and ideals are just a cover for power games. The most popular posts I've seen are ones that point out American hypocrisy in their words and deeds. But more interestingly, every charitable action the US has taken towards China is portrayed as something that is ultimately self serving, and China's portrayed as a country that's been forced to accept the rules the US has imposed because of its historical weakness and is only now gaining the strength to push back against a global hegemon.

Of course, the ultimate decisions for war and peace lie with their leaders, but if you brought the populations of China and the US into the same room there would probably be a brawl in 15 minutes.
That’s some dedication. And some nerve. I wonder why he’d try that in academia; there are probably other jobs in which his skills would be more useful.
Yes, the Pacific navy forces want a higher budget, and they're playing on the fears of Chinese attack to get it. Your list of training exercises and US reports claiming China couldn't invade Taiwan aren't really changing my opinion.

>There's a stated intent to enforce a "One China Policy" and that's not going to happen without a large-scale troop movement.

Or they enforce it by pretending Taiwan doesn't exist, like they have so far.
Around here, libraries lend out 4g access points and chrome books, fwiw.
But surely being attracted to straight women implies more male/lesbian/bisexual gender than they want to admit.
No. I'm saying that out of all the philanthropising which happens, I respect the Gates. It is still a terrible thing they got so wealthy. Thats why I prefer the tax solution.
This wouldn't have been published unless that was an explicit goal. But Nike's strategy doesn't seem particularly effective, and the outcome is predictable.

Top CCP brass will be outraged at the insinuation that anything disreputable is going on, will drone on about "how dare Nike try to shame the honorable reputation of the virtuous and hard-working and well-meaning and morally super great Chinese people," will probably accuse Nike of anti-Chinese racism, and then will try to "Cancel Nike" within China and in their New Silk Road sphere of influence (i.e. Economic Sanctions with Chinese Characteristics).

You can't call out a bully that obsesses over appearances and feigns outrage like this. If you've ever had the misfortune of working with someone like this, you'll know that calling bullshit on them doesn't work. They'll take offense, they'll throw a fit, they'll sabotage and self destruct. It's juvenile and exhausting, but they just can't accept that you're not buying their crap. It's the same story here. Antagonizing doesn't work.

We need to find another way to exert pressure on China and the CCP that doesn't immediately trigger this "embarrassed and outraged" response. At work, you might pretend to be this bully's friend, feed them a different idea, convince them that it's their idea, let them champion this idea, make a big show of everybody praising them for how brilliant it is, etc. (and then look for a new job, because that's fucking exhausting too).

The stakes are really high here. A bully like this at work that has power and can't be fired can destroy the company, but this bully has nukes and wants to invade Taiwan. If they really start to feel like the entire world is trying to shame them, it's going to end in disaster.
Why do you confuse a little bit of HN enthusiasm for mass exodus? Does it surprise you that the most vocal people on a forum of craftspeople are the ones in the honeymoon phase of new tools?

If you've been around for more than a few years, you've had plenty of opportunity to see how inaccurate this extrapolation is, like how HN enthusiasm for Elixir doesn't mean that more than a tiny fraction of us are using Elixir.

It's just kind of boring to hear someone complain/jest about "haha developers = lemmings seeking shiny amirite? XD" over and over again, thinking there's some novel witty snark to be had by repeating it for the millionth time. It's also confidently wrong. Most people aren't migrating to new tools just because some people are excited.
Math Can Help Build a Global Digital Community
Ask HN: Why does a mirror show you back to front but not upside down?
Even if you lie down sideways and look at the mirror it still doesn’t flip you upside down, only sideways.

Unless you stand on a mirrored floor, in which case it makes you upside down.... but facing forward. What’s going on?
Politicians aren't a protected class under US discrimination laws. A politician banned from Facebook would generally have no legal grounds to sue.
Look at your own body. Half of the nitrogen in your body tissue - in particular, in protein - was clawed from the atmosphere by the Haber process. There is simply no replacement for industrial society.
Depending on location, it could be very radioactive... I studied and worked at lab that did measurements, and it was push for closing a nuclear plant in our city (in Siberia) for coal-based plant, but after evaluation of waste, it was decided to continue to use nuclear-based station.
Here in Germany, at least thesis works will usually be required as PDF and ran through a checker (which will then, in turn, register the work). It doesn't seem to be overly important (it seems, for example, everyone copies that required front page ;) ), but they did catch a missing source in the thesis of a friend of mine, so they do look at it.
WinSCP was using too much CPU when I last checked (years ago TBH), and it doesn't work on Linux.

For macOS, I'm spoiled with Forklift, which does a lot of things out of the box, sufficiently.
Deadlines are calculated from the average worker speeds. Perhaps some Amazon employees really are below average, or do not give it their best at all, so they are forced to piss in bottles and poop into the delivery car before returning it to station to meet these devilish average-worker deadlines.

I would agree that is a terrible problem. Perhaps Amazon should focus more attention on catching such employees early and letting them go (or offering them potty training with quarterly evaluations)? But then where does the average go? Deadlines get even tighter! Or you could make your wage relative to your worker speed: the fastest people earn the most. Only if you think you still earn enough for shitty work will you then be forced to keep doing that job. Or should Amazon be more kind to these employees who can't seem to manage their personal hygiene or fall way below average worker speeds? Treat and pay them the same as the 99% employees who don't shit and deliver? That would lead to an equal outcome for sure.
Just get a motorbike! Whenever I got stopped by the police and showed them my paperwork (i.e. a huge list of ABEs - like 10 or so), they just got annoyed and told me to just drive away already ;)

Half the stuff wasn't even approved for my bike, but no one ever checks if you just confidently hand over a small book worth of paperwork...
Russia has a lot of uninhabited space, so the contamination does not seem to be a big problem for them. Lots of countries behave this way, UK and US included.
Trump had just gotten done watching a presentation on how surfaces could be disinfected with chemicals that the average person knows to be extremely toxic (such as bleach). His takeaway was that maybe doctors should try injecting those extremely toxic chemicals into patients. I was amazed that the president of the United States thought this might possibly be a good idea. But let's pretend, for a moment, that it was actually a reasonable suggestion: why was the president even spitballing possible CoVID-19 treatments on live television? The whole spectacle was just absurd, and I think the White House recognized that, because this was the last press briefing the task force gave for months, and when they started up again, Trump was not present.
> For example why do the vast majority of animals not live beyond 20 years, even when we try to keep them alive as long as possible (dogs)? If the environment was different would longevity be different for all species, e.g more oxygen in the atmosphere or a longer day-night cycle? Etc.

A lot of animals just don't need to live longer than 1, 2, or 20 years to reproduce. There is no evolutionary pressure to do so. From our human perceptive life is valuable on its own merit, but nature doesn't see it that way. All it really cares about is replicating those precious DNA molecules, and different species have different strategies for that. For some species, it takes a long time to produce offspring. Whales, for example, live a long time as well. They're huge and it takes a long time for them to become fully grown, find mates, produce offspring, etc. There is a lot of evolutionary pressure to live long. Humans live comparatively long because it takes a long time for individuals to acquire the skills we use as a survival strategy.

Not too much is known about the lives of Greenland sharks, but there are probably some evolutionary pressures for them to live long lives.
This is really confusing. In Section 1.1, it says the DID "did:example:123456789abcdefghijk" resolves to a DID document.

Does that mean it uses DNS or similar to resolve "example" to a server that hosts the "123456789abcdefghijk" document?

Is "123456789abcdefghijk" used to verify the DID document in some way? For example, is "123456789abcdefghijk" the hash of the DID document, like in a Bittorrent magnet link? Or is "123456789abcdefghijk" the hash of some public key that's signed the DID document?

What if the user wants to update their DID document? Can the new DID document be associated with the existing DID "123456789abcdefghijk", or would it get a new DID?

Does the DID document ever live on untrusted links or servers? How is it authenticated? If users can upload new DID documents, how can you be sure you're getting the latest version?

It also says DID's are a "new type of globally unique identifier" that "enable entities to prove control over them by authenticating using cryptographic proofs such as digital signatures." This sounds a lot like a Bitcoin address or an IPNS name.

I wish they'd provide more specific examples.
Indeed it is, but the developers in these ecosystems created complements like Apache Arrow that will unload the data in a language-independent columnar memory format for efficient analytics in services that will run C++ on clusters of CPUs and GPUs. Even Spark has rewritten their own analytics engine in C++ recently. These were created because of the limitations of the JVM. We have tried to move the numerical processing away from C++ in the past decades but we have always failed.
>They often complain the syntax is unclear and requires paying attention to details.

Attention to detail comes with the territory for programming roles. People who can't or don't want to pay attention to details are not fit to be programmers.
We are working with precise binary digital machines, FFS. I sometimes find this attitude among students of my training courses - the misconception "computer, do what I mean, not what I say". Obviously such students don't do well in my course or in their career.
I think the situation in Texas recently illustrated this pretty well.
They did use VCS, actually, but a lot of them used SVN and each person in the STEPS project was hosting their own code. Most of those servers have gone dark now, though you can find random ports over to GitHub (rarely with the version history). As far as I can tell, Dan Amelang and Alex Warth were the only two who used git or moved their code over to git.
Particularly since ETIM, the terrorist group responsible for a string of deadly attacks in China, has links to both Saudi Arabia and the NED (a CIA front). The same group sent thousands of fighters to Syria to fight on the side of ISIS.
I mentioned it wasn't in all states. But it's still going to affect the premiums of millions. It's a good thing.
Heavily armed Taiwan can make China think twice before launching full scale attack. The US also makes money on those arms sales. And Taiwan can keep producing chips. And sell some of those chips to China for mutual benefit. Win win so far.

However if for whatever reasons China would go full scale on Taiwan I doubt the US would respond in kind. There is just too much risk of conflict turning into WWIII. The West may try to isolate China instead.
It really depends on what you want to achieve. The documentation is very good but also very verbose and it would take ages to read through all of it.

I’d say pick a project, choose the relevant libraries (for web I’d suggest Django for a full-featured framework, or Flask for a lightweight one) and then learn by trial and error.

A good IDE such as PyCharm will allow you to look into symbols’ underlying implementations which helps a lot in understanding how something works behind the scenes.
See:

https://en.m.wikipedia.org/wiki/Ometa (including reference section)

Or go to:
http://www.vpri.org/writings.php

If I recall correctly you want: "STEPS Toward the Reinvention of Programming, 2012 Final Report Submitted to the National Science Foundation (NSF) October 2012" (and earlier reports)

Discussed on hn:
https://news.ycombinator.com/item?id=11686325

And:
https://news.ycombinator.com/item?id=585360

Notable for implementing tcp/ip by parsing the rfc.

"A Tiny TCP/IP Using Non-deterministic Parsing
Principal Researcher: Ian Piumarta

For many reasons this has been on our list as a prime target for extreme reduction.
(...)
See Appendix E for a more complete explanation of how this “Tiny TCP” was realized in well
under 200 lines of code, including the definitions of the languages for decoding header format
and for controlling the flow of packets."

(...)

"Appendix E: Extended Example: A Tiny TCP/IP Done as a Parser (by Ian Piumarta)
Elevating syntax to a 'first-class citizen' of the programmer's toolset suggests some unusually expres-
sive alternatives to complex, repetitive, opaque and/or error-prone code. Network protocols are a per-
fect example of the clumsiness of traditional programming languages obfuscating the simplicity of the
protocols and the internal structure of the packets they exchange. We thought it would be instructive
to see just how transparent we could make a simple TCP/IP implementation.
Our first task is to describe the format of network packets. Perfectly good descriptions already exist in
the various IETF Requests For Comments (RFCs) in the form of "ASCII-art diagrams". This form was
probably chosen because the structure of a packet is immediately obvious just from glancing at the
pictogram. For example:

+-------------+-------------+-------------------------+----------+----------------------------------------+
| 00 01 02 03 | 04 05 06 07 | 08 09 10 11 12 13 14 15 | 16 17 18 | 19 20 21 22 23 24 25 26 27 28 29 30 31 |
+-------------+-------------+-------------------------+----------+----------------------------------------+
| version | headerSize | typeOfService | length |
+-------------+-------------+-------------------------+----------+----------------------------------------+
| identification | flags | offset |
+---------------------------+-------------------------+----------+----------------------------------------+
| timeToLive | protocol | checksum |
+---------------------------+-------------------------+---------------------------------------------------+
| sourceAddress |
+---------------------------------------------------------------------------------------------------------+
| destinationAddress |
+---------------------------------------------------------------------------------------------------------+

If we teach our programming language to recognize pictograms as definitions of accessors for bit
fields within structures, our program is the clearest of its own meaning. The following expression cre-
ates an IS grammar that describes ASCII art diagrams."
It is. At least where I worked (well-known British university).
> But the only definition we have for mental illness is whether your situation falls under some category that we have a name for.

The one I heard was a variation of "does the person suffer due to the condition or cause harm to other people". That was a side course in university. I actually like that one a lot, since there's really not a clear line between an illness and just being different.
pjmlp could probably tell you a few things
mRNA vaccines could create more cancers
It's a crazy amount of energy. The 2.5 gallons of gas that that tank holds has more energy than all the food I eat in a month.
It sounds like she’s using signal and iMessage/sms maybe? Signal has a blue bubble app icon, and iMessage has a green one.
Cython can be as fast as C for simple use cases.

Because you're writing regular Python for a production service though, and not artificially writing optimized examples, then you will occasionally have to pay extra costs.

Are you perhaps a bit too invested in your own narrative?
It’s easy to make excuses like “we don’t source from the forced labor part of the country” or “the whole world’s supply chain is tied to China.” Both statements are true but when we consider how we’re indirectly supporting a country that is actively committing crimes against humanity it has to make us stop and do some serious soul searching.

When it was obvious China’s wages were below minimum wage in the US I said that’s free markets at work. But what’s happening in Xinjiang isn’t anywhere close to free market labor. It’s the opposite and I keep trying to but can’t think of any excuse for it.
Right? Hopefully he didn't get them purely for the scam. He could genuinely like the tatts and general style of the guy. Hipster kitsch isn't even that unique.
I think the "software" in question might actually be the operating procedures and policies of the bureaucracy.

Bureaucratic operating procedures are often essentially malicious software that de-prioritizes the needs of ordinary citizens far below the priorities of the organization. An organization may pay some lip service to a mission of service to citizens, but usually the organization's actual, absolute top priorities are self-preservation and expanding its budget, staff, power, and influence. A secondary priority may be reducing fraud and punishing cheaters, even at the expense of honest citizens.

Though sometimes (e.g. California unemployment insurance) you get perverse outcomes where fraudsters are richly rewarded at the expense of honest citizens.
HGT is also common amongst soil fungi between bacteria and fungi. In fact, when certain mycorrhizal fungi are placed in high-stress environments, the rate of HGT increases. It's not really understood what mechanisms cause this, but it seems to be an adaptation to quickly adapt and evolved to a new environment by borrowing genes from other soil organisms
This was one of the big reasons my newest phone is an iPhone, not an Android phone. I am tired of buying new hardware every 2-3 years just to have a secure device.
> I think it is a pivotal moment for this generation to show what our principles are, if we have any.

It's already known that this (political) generation doesn't have these principles. Government contracts rarely consider anything beyond the cheapest offer. Corporations are obligated to maximise their profit above all other considerations.

It's the West's (including Canada's) morals that have got us here - we simply export our bad behaviour to other countries, so that we don't have to see it.

Overall, nobody is going to stop importing clothes made in China, because there isn't sufficient industry elsewhere in the world. We closed it, and exported it to China, because it was cheaper.
Big problems maybe at first sight, but there are many ways of overcoming them. When automated price following behaviour is implemented in eg AC and heating and car charging systems, the spikes will be greatly lessened. Also, energy storage actors can sell into spikes, which will work to clip the spikes and encourage investment into energy storage.
Thanks for the thoughts!

I’m curious about the split between where C++ is often found and where Java is used.

Is it more like less latency critical (or compute cost) services are in Java, and things like Search core are C++? Are there legacy reasons for one over the other?

If you were going to spend time gaining experience in Java or C++, with a long term plan of working on something really interesting and high impact there, which would it be?
The scale you're describing strikes me as simply not possible. 500k troops is a full quarter of the active PLA forces; I don't think they could even get into position for that invasion without weeks or months of obvious, undeniable preparations.
Unfortunately, I can think of voter demographics that wouldn't mind having those four cities wiped off the map as well. We haven't had a total war in so long that we're like a child that doesn't know how much touching a hot stove could hurt.
Show HN: Gjson for Rust
Not at all. Problem is that gas from fossil sources adds extra carbon to the short term carbon cycle while biogas does not (because the carbon fixated was already in the short term cycle).
The US Weaponizes ‘Human Rights’ Against Nations Like China
My partner finds it frustrating that she has to edit out “false positives” even when she knows damn well she hasn’t plagiarised.
It indeed is very interesting. I still wonder when the news came out that Europe received wigs sourced from Uyghur hair, how lax the response actually was. Here in the Netherlands the then minister announced they were unable to provide any more transparancy on the whereabouts of packaging because they argument was made that it would be in conflict with the duty of confidentiality of the customs. Sure the wigs reached some traction, but nothing was done.

Can you imagine how the world would respond if someone was selling wigs sourced from Jews from concentration camps? No way that the confidentiality of customs would be weighing heavier than.

I too wish Europe would take a stronger stance against China, but unfortunately the immense dependency of consumerism made possible by China's cheap labor makes that a very unpopular move. I find the analogy with climate change rather strong as well: To make the actual change necessary, people will have to change some habits. To hold your moral ground against China you will have to accept that prices of products will rise, similarly that if you want to stop polluting everything, you have to accept that stuff will become more expensive as not polluting everything simply just costs more. Dumping whatever toxins you have on your hands is cheaper than actually getting rid of it in the right way, and so on.

I believe that whatever succesful strategy to combat climate change en masse will be the same strategy to combat these moral blindfolds for economic gains, and in the end I believe it's tackling the problem at the source: lower prices of production in the local environment to lesser the dependency on China.
At the same time it's not. Big scary looking symbols plastered over everything compared to just filling the air making it out of sight out of mind. Once that's achieved, the mass populace doesn't care. Try to build a facility with those scary symbols that are visible anytime one chooses to look, and people get all NIMBY very quickly.
Again, just because those Christians and Jews refused to follow their texts, doesn't mean that it isn't prohibited. The Quran documents and confirms this fact: https://quran.com/4/160-162
Adobe Reader comes to mind