skysight-inc/HackerNews huggingface dataset:
If it is immoral for Apple to do business in China, then why is it moral for Mr. Lai or anyone in Hong Kong to do business in China? This smacks as a pretty partisan double standard, and I have to wonder what you have against Apple that you would single them out in this way.

Hong Kong and people like Mr. Lai has always done business in China and there's nothing reprehensible about that, nor is it reprehensible for any other business to legally carry on it's business in the same way. This is about individual freedom, free speech and political liberties, of which trade is one and criticising others for exercising their freedoms is the antithesis of that. Mr Lai made his fortune exercising those freedoms and I very much doubt he would say doing so now is in any way wrong. The way to fight this is by arguing and fighting for freedoms, not against them.
I, like you, learned all the rationalizations that got to be written in history by the victor.

The point at which most of it started to unravel for me was when I learned that the United States had a whole spate of atomic bombs they were scheduling to drop if Imperial Japan didn't surrender. We think of it as two because that's all the further we got, but if things had gone a little differently it would have been six, eight, etc.

A willingness to cause that kind of unprecedented basically indiscriminate devastation, well it forced me to look at the events that actually did happen through a very different lens.
What about an IDE? Is there an IDE?
Just to clarify, I am not American.
Nearly two decades ago, in 2002, I remember being appalled at how slow money transfer worked. If I deposited my paycheck at my bank, it could take two or three days before that money was available (and my bank compounded the sin by including the amount in the "total" for my account but not all of that money "in" my account was actually "available"). In late '02 I was so irritated by this[0] that I actually started cashing my paychecks at the issuing bank (which was across the street from the building where I worked) and walking the money to my own bank two blocks away and depositing it. Cash deposits were, I believe by federal law, immediately available.

Even then, there was no excuse why physically walking cash from one place to another, with in-person interactions at both ends, should have been faster than a direct electronic transfer, but it was, by a factor of something like 150. Improved electronic infrastructure has been a LONG time coming.

[0]The final straw was the time I deposited a check at the bank, then wrote a check on that money, put it in an envelope and mailed it, and the check still bounced. It still kind of boggles my mind that the system was that slow, although I kind of assume there was a certain amount of bank-being-gougy in there too.
Exactly, while it is also an echo chamber, I would argue it is one of the better ones. It selects information to echo in a much more effective and useful way than many other platforms. This is why we are here. Not because we assume that it would be somehow 100% objective place where everything is true. Is that even possible? If you have to select, from the tons of info out there, a list of something that can be parsed by a human in reasonable time, you will automatically filter out, and thus create a subjective view of reality.
Wouldn't the pressure from the penny bias your observatios from the mug?
Europe has many old subways and bridges too and like in the US they can be difficult to upgrade for cost reasons. (E.g. The London Underground still lacks air con on some lines because of narrow tunnels; there are parts of the network built with asbestos in the tunnels. In both cases fixing it would require closing the line and rebuilding the tunnel, so it doesn’t happen)

That’s not true in banking though where many upgrades are software based and not so disruptive/expensive. The UK, and presumably other countries, did not start from the systems we have today - we moved from signatures to chip & pin, and from checks to bank transfers to instant bank transfers. My parents would write checks all the time when I was growing up, but I’m in my late 20s and have never written one in my life.
"If anything, they'd prefer if their rivals stayed more democratic and free, so it's easier to make money and spread propaganda there."

We see no evidence for that. In fact, that's part of their current propaganda as well, if you read their news.
Yes, it's considerably harder to administrate such a system in an objective manner. A points system has the advantage of being objective. But that doesn't necessarily make it fair or a well chosen policy.
Certainly, but considering how much of their business is hardware manufactured in China, it would destroy basically every corporate performance metric their executive team has for some time and this is ultimately how their bread is buttered.
Hardware manufacturing at that scale and sophistication is an intricate dance of suppliers, technology integration, and management, one that Apple has mastered- losing this and having to replace it overnight would be a huge setback, with basically no iPhones or Macs available for months or longer, closing of Apple Stores, and suspension of new technology development.
Also while we're on the subject of the Hibakusha, a seldom noted part of US History is not only the seldom spoken American-POW causalities from the Nuclear Bombings, but also less known are the American-born Hibakusha.

Here is a mini documentary [1] told from perspective of the grandson interviewing his grandfather on just this subject, who was a Californian-born Japanese who went back to Japan to live with his family in Hiroshima while his entire American Citizen family back in California were sent to the one of the worst internement camps of all but he was also an American-Hibakusha (Nuclear bomb survivor).

I'm may be biased as I grew up in the 90s when Japanese culture was mainstream and prevalent but also had Japanese childhood friends growing up in SoCal who were often the grandchildren of those sent to the camps, but it must be said that the way the Japanese were treated during this period is seriously one of the most dark and personally humiliating part of Californian History that I'm ashamed to admit took place. It shows how even being a supposed 'American' can be irrelevant if the State deems you as an enemy for actions that were done by a foreign nation completely unrelated to your own identity/citzenship if it its suits its end. Worse yet, all while lying how the US wasnot involved in WWII, specifically the Pacific Theatere as the AVG (American Air-force mercenaries) were contracted by the Chinese government training its soldiers but also in active combat against the Japanese under the guise of the 'American Volunteer Group' via Executive Order.

I have serious guilt issues, even though my military family actually didn't see active combat in that conflict but were in the Bay Area at that time and (indirectly) benefited from the Property seizures from that period.

Suffice this dark event is one of the main reasons why I'm anti-war.

1: https://www.youtube.com/watch?v=aU0aCc_krX8
On device is where you want it if it's going to analyse really private data, or something effectively your own (such as homomorphic encryption, or a link to your own computers elsewhere).

You're likely to feel so much happier, freer and easier sharing your most personal life datastream with an AI assistant, if you can be sure its most intimate analysis is just between the two of you.

It puts me in mind of the two kinds of AI in Manna: https://en.wikipedia.org/wiki/Manna_(novel)

Coincidence or not, the dystopian AIs are somewhere in the cloud and work for someone else, while the utopian AIs are intimately personal to each user and work just for the user.
How “early stage” is the python support?
I think this is the key point: "The COVID-19 Response Challenge calls for technologies and approaches that help to make New York's public transportation system safer, healthier and more responsive to customer and workforce needs."

The main purpose here is to deal with a pandemic. Giving IP is not common incubators, but in this situation, it's trying to push a solution out as fast as possible to deal with one of the hardest hit cities, giving you an express line to transit companies.

They probably waiver a little legal security here for speed. It does look a little shady, but I suppose trust is essential here.
I changed the word adequate to sufficient. I have long wondered about this issue of qualifying with a CS degree and have never met anyone who has qualified that way. I suspect if we looked at the courses required for the CS degree at the handful of approved programs we might see a difference from the courses required for the non-approved programs, but I am just guessing. I would love to know the reasoning behind this rule.
> The original commenter professed a fear of what that would look like for outsiders in a China-centric world.

Yes, and for the third time now: my point is that the absolute worst-case scenario for the original commenter is still miles better than what 90% of the world (i.e. everybody non-white) faces today.

The worst-case scenario in OP's book is that China joins the ranks of first world countries, which then go from being 100% white to 90%. He'd still be rich, and he'd still be comfortable, but he'd have to share first world status with others. And for some reason, that's unacceptable.

Worst case, he might miss out on one business deal because it was struck in Mandarin, which is an absolutely tiny reflection of the loss of opportunity faced today by everybody who doesn't know English. And that in turn is tiny compared to the reality that 100 million people died of starvation in the 20th century. Famine, disease, and poverty are global moral catastrophes of unimaginable scale. And OP just thinks a country managing to stop them for its citizens gives him the creeps.
> One is always winning. Some victories last a long time. Others are shorter.

Excellent point. The optimist and pessimist in me are at odds about this concept, I have a hard time believing that there are enough people who would endure long enough to make a difference.

However, there is a good chance that I am wrong, and I will try to hold on to it.

Edit: I'll have to be going offline now, or I'll never actually sleep. Thank you for the excellent discussion, this is why I'm on HN.
> Considering a good chunk of the US population (15-30%?) is vocally "anti-BLM" - it is somewhat ballsy for a high-profile company to wear pro-BLM in their corporate messaging - I'm sure we've all seen people on Facebook vow to boycott Apple or other "liberal" organizations.

That doesn't really matter. Voluntary boycotts have little effect, and there probably no enough people who are so "anti-BLM" that they'd actually follow through on a boycott for Apple to notice.
The “Split Strings” Challenge Using Java
It may be fine in some countries, but saying that you’ll make some organization sizes and structures illegal, barring other criminal activity, smells like a violation of the freedom of association.
I think it something should already kick in if you create tracking pixels to read canvas data to identify users or generally work on fingerprinting. Especially if it is for a benign purpose as advertising, an industry that is notoriously toxic and would have no problems selling ever kind of data they get their hands on. It is fine to generalize it that way in my opinion. The directly conflict with any spirit of the law in most countries regarding privacy.

Aside from that, the quantification of attributes/properties of people can have negative implications for many people. Oversharing is a problem on the net, but at least here people just endanger themselves.
Well if you believe in quality you should invest heavily in your engineers. Make sure they do things proper way, means if they are adding a button to your app , they should do like big boys do. Give them time and training for that. Even if they leave they will be thankful and always best advertisement for your company.
There is a human factor in it, people think if they share everything they know they will loose the edge over their colleagues, such people are not team players, they are heros.
We are still struggling startup but we spend so much time reviewing code, sharing tips and helping peers is core part of our culture.
Engineer training is a culture not career phase.

My two cents.
> conflation of criticism of the CCP with racism

Which is particularly ironic since it appears to have been pointing out the racism that currently exists within China that started all this.
Anthony Thyssen's Homepage (1994)
Glasgow is smiles better, everyone knows it
I remember when I was younger hearing about "check kiting" which appeared to be the exact opposite of your bounced check ... somehow you could turn the slow money transfer around and build up a huge balance by playing with the delays.
When it comes to politics, HN is similar to Reddit. People just comment by emotion and ideology, because they could feel the satisfaction by chanting the beautiful words of democracy and freedom, without burden of insightgul knowledge of history and culture of other people and countries.

Some here even wanted to start a war with China in the name of human rights. Remember crusades in the name of Christian?

Most people here don't know or don't care if HK was a democracy under UK, and don't care if there is a law to guard the arrest of Jimmy Lai and if ordinary HK people are sick of Ted Cruz etc coming to HK to fan up fire when HK was burning, whom and also other US politicians Jimmy Lai has met with.

Edit:

For those who don't know, Ted Cruz came over to HK to show his support in Oct. 20019 when HK was burning. And the most despicable was he claimed no riots in HK. That was the moment HK's fate was sealed.

https://www.cruz.senate.gov/?p=press_release&id=4714

https://www.scmp.com/comment/opinion/article/3032751/ted-cru...

HK's political movements have no leadership or strategy at all. This kind of acts would turn all Mainland people against them. And CCP would feel empowered to do what ever.

My point is the situation in HK is much complicated than beautiful democracy vs evil CCP. It's much more than ideology.
Ask HN: Will we live to see banks implement API?
It really bothers me that in 2020 there is still no banking API that one can use to make online payments. The visa/mastercard/maestro... monopoly created by the very few privileged companies that rule the entire world just enrages me to no end and all that PCI-DSS crap with it.

Why can't we have the freedom of choice? Will this ever change? I was hoping crypto would make a stop to this cartel, but it didn't. If you don't like it, you can take the PayPal route and set up an account in every bank in the world, but who has money for that? This market is so corrupt and broken, I can't even...
Reaching for the stars much? Russia nor China could get boots on the contiguous states. An ice cube has a higher chance of surviving in hell.

Lol!
> I'm actually only half joking: while some local library code surely cannot tell truth from lies

Hey, the way GPT(-2, -3, ...)s are going, maybe soon we can have an offline classifier of truth. /s.
What happens after Linus dies? Could there be an schism between opposing successors?
I guess that's exactly what Thatcher thought would happen when she handed over Hong Kong - That China will make progress towards liberalism in politics and economics. Instead of China becoming like the rest of the world, I am wary of the world becoming like China. Progress has been made in the past, but cannot take that for-granted.
I highly recommend doing some reading about Wallerstein's world systems theory and Kojin Karatani's The Structure of Empire, from which Jiang obviously drew his influence. If you think the global empire is something dystopian you may have misunderstood its use in its theoretical context.
> How do you draw the line?

By representing the environmental externalities of fashion, travel, etc through CO2 taxation.
Don't sleep on Shenzhen. I think China will look to starve HK by moving as much of the HK financial sector to the bay area.

I can't speak for what will happen wrt the international links that make HK what it is, but if China pulls it off they will have hardware, software and finance all in one place.

Imagine if NYC had a baby with SV...
Probably easiest thing to do would just be to coach and olympic team to victory and get a medal from the emperor.

edit: interestingly I get 70 points, so maybe I don't need a medal from the emperor.
Well this is interesting.

I've been following GraalVM for a long time now and this looks like a very "possible" project.
It's actually jlink that is already available and creates a minimal JVM with your application code that you can distribute as OS-specific bundles... jpackage, which is still in beta (and doesn't work very well, I've tried it recently), will take the output of jlink and turn that into some common OS-specific packages, like RPM, Debian and dmg.
> && is always strict in its first argument.

Well, if you need to evaluate (&&) you will necessarily need to evaluate its first argument. Much like (||). This behaviour works similar in many other languages.

On the other hand, the first argument passed to (&&) will never be evaluated until needed, so it is still lazy as expected. A good way to test this behaviour is to try this in GHCI:

let a = (length [1..] == 3) && False

Simply declaring a won't enter in an endless loop, but asking to show a will indeed loop endlessly.

Likewise, it is hard to understand how you expect pattern matching to not look at an expression's value when deciding which branch of the code it should use next.

> My position is still that lazy-by-default is a really bad evaluation policy and that consequently, Haskell is a dead end in language evolution.

Yeah, I have understood that you have an opinion. Nevermind that people run it in production without issues.
>> Xi Jinping and the CCP’s official goal is for the Chinese people and everyone else to have a common destiny.

>> Interpret these how you wish, because they are interpreting these how they wish.

> How does force sterilizing of Uighurs fit into a common destiny?

I believe the "common destiny" the GP was referring to is living under the control of the CCP.
As a Chinese person, I do not understand your reply. You're saying he is against impoverished people in China obtaining wealth but nowhere do I see him say that. Instead, he's saying he is afraid of the same oppression China is forcing on Hong Kong being forced on the rest of the world.

https://www.businessinsider.com/nba-china-feud-timeline-dary...

https://en.wikipedia.org/wiki/Blitzchung_controversy

https://www.nytimes.com/2018/07/25/business/taiwan-american-...

https://www.nytimes.com/2019/08/12/fashion/china-donatella-v...

https://omaha.com/columnists/hansen/hansen-omaha-man-liked-a...

https://www.nytimes.com/2019/10/15/world/asia/abominable-vie...

https://www.bloomberg.com/news/articles/2011-11-01/china-say...
Openwrt supports quite a few mikrotik devices:

https://openwrt.org/toh/views/toh_available_16128?dataflt%5B...
whatabout the USA?
How can you compare?
I'm not the guy you're responding to, but to be clear, yes: Apple would need to alter its security model to allow third-party app stores to exist, as they cannot exist with its current their-apps-only model.

The app store could have a 99% commission "because Apple runs it". That's part of the problem. If a developer wants to target iOS users, they have to go through Apple's store and agree to anything Apple says.

But, of course, that's totally legal and fine. That's not why people are advocating breaking up the App Store. The real problem is that Apple has free reign to remove, ban, or hinder adoption (in basically unlimited ways) any app they want, which often equates to "apps that compete with anything Apple wants to do as a company". Does your music streaming company want an app on iPhones? Too bad, Apple can simply say "no" because they have Apple Music. Want to let people buy books through your company's app? Too bad, Apple can just say no because they have Apple Books. Want to let your existing customers access their existing Stadia purchases on an iOS device they own? Too bad.

It's pretty basic anti-competitive and anti-consumer behavior under the guise of needing to "review" all apps, coupled with the idea that only reviewed apps can be installed on your phone (a paradigm that doesn't exist on other widespread operating systems, mind you!). There's benefit in reviewing apps, for sure, but when you, as a company, have the means and the motive to screw over your competitors, it's often in everyone else's best interest to remove either the means (separating the app store from Apple) or the motivation (removing Apple's apps from the app store).

Apple's not alone in this, and they're not the only one politicians like Warren are going after. It's not really any different from e.g. Amazon siphoning up data on purchase patterns and then producing their own products that they can then promote instead of their competitors on their own store.

Having third-party app stores lets Apple continue to play in their own store, but arguably removes the means to screw over competitors by giving them an alternate way to get their app to a user's phone and frees them from having to agree to literally-anything-Apple-says to play on customer devices that Apple doesn't own.
Technically China does have free speech. The problem is that the rules don't really matter. If you say something that offends a someone with guanxi with the right people, you're screwed.

It's the same reason foreign businesses struggle so much in China. If you aren't friendly with the necessary bureaucrats and your Chinese competition is, you'll find yourself blockaded perpetually for the most bullshit reasons.
They weren't saying it was unique to the GOP, and your comment almost makes it sound like the two major parties are equivalent in this respect. At a national level, I think their point stands. I find this distinction actually relevant here given the current renewed interest in a higher nationwide standard for voting accessibility and representation. Also, consider that the states with independent redistricting commissions to mitigate or prevent gerrymandering are all historically left-leaning: https://en.wikipedia.org/wiki/Redistricting_commission
Implementation of Queue in Python
Common Lisp Object System had multiple dispatch for ages. Some other religions do not like it.
The KMT assassinated Henry Liu in California in the 1980s so they weren't crazy to be afraid.
We should treat those students as agents of a foreign government in that case.
Don’t sell out yo FB or Google or some other “not-evil(R)” Corp and you will never have to follow orders from your boss that don’t meet your ethics.
Implementation of Stack in Python
Notice how you've changed the OPs concern about free speech to a concern about "misinformation".
Now that you got that out of the way, looking forward to your answer.
One could imagine a sophisticated attack involving multiple patches to different subsystems at different times, that eventually converge into a Voltron-like monster once they’re all inside the kernel.
Some employees at Google certainly see working with repressive governments as 'evil', yes. https://www.google.com/amp/s/www.nytimes.com/2018/08/16/tech...
And most of those towers provide comparably low-bandwidth connectivity (at least outside urban areas). It's not like you have decent speeds up here, but the legally mandated 2mbps is available in most places.