skysight-inc/HackerNews huggingface dataset:
It seems that China is picking fights with everybody....and losing.

Against Canada, China threatened Canada for actions taken against huawei's CFO with trade punishment. The case is proceeding, with US clearing a major hurdle to extradite the CFO recently.

Against EU, China has tried to lure countries such as Italy and Spain to its side by delivering mostly faulty masks and machines, in turn for declaration of unity. EU this week won a landmark WTO dispute against China, and allow EU to combat low-price Chinese exports with high tariffs. Germany moves to shield german companies from foreign takeover recently as well.

Against UK, China threatened to punish UK economically for offering citizenships to Hong Kong citizens and denying huawei's involvement with 5G. UK in turn, has decided to ban huawei entirely by 2022. And allowing Ericcson to proceed.

Against Japan, China has been aggressive against Senkaku island, sending two ships to pursue a fishing boat in May. Japan, in term, is pulling its companies out of China by funding $2.2B stimulus package.

Against India, this month they engaged in a deadly border clash where many Indian soldiers were maimed/killed by Chinese soldiers with spiked clubs. #boycottchina went viral in India, and multinationals must be quivering that the largest/fastest growing consumers are boycotting goods made in China. So is China. Even Chinese government's mouthpiece, global times, is subtly suggesting India should 'curb' boycotting china.

Against Taiwan, they sponsored a pro-China presidential candidate who was a mayor. That candidate lost horribly in the presidential election and was subsequently impeached by the people and stripped of his mayorship. Most Taiwanese now favor independence.

Against Australia, China is punishing Australia with barley, beef, and coal ban after Australia called for a 127 countries investigation into coronavirus origin.
>But don’t they do this because they can Protect the consumers card data better than anyone.

Compared to what? If there is a fraudulent charge on your credit card, issue a chargeback. If I had two options: 1) Once every couple of years I may get a credit card's details stolen and I have to spend perhaps an hour on the phone with the bank to get thing sorted out, 2) the credit card issuer gives me a card with some futuristic technology that makes fraud literally impossible; so I don't have to spend that one hour every couple of years sorting out a fraudulent transaction; however, the credit card adds a 30% surcharge to every transaction—I would choose option 1, no questions. Wouldn't you?
> I have never yet had a client who even mentioned rendering speed, let alone was willing to make any trade-off for it.

This section also frequently applies to security.

> but still inflexible enough to prevent security holes.

Unless it involves a transaction or government secrets, security is usually way down the list of priorities.
I don't think that's a good recommendation.

Spammers are going to find your domain name and spam it at obvious usernames anyway (eg contact@).

Besides what use-case do people have for throwaway addresses? In my experience in most cases the addresses you use aren't throwaway at all.

Fastmail does subdomain aliasing and I've been using that for years with my own domain without issues. Every subscription I have has its own email address. I don't need someone else's domains for that.
It used to be disallowed, but now they allow you to upcharge IAP purchases. Either way, the situation is terrible for consumers and developers alike.
A lot of businesses publish apps on the App Store because it is the only option Apple gives consumers to install their app.

You are most likely not going to be discovered just by being on a Store but rather through your online presence.

In a free world you could own your app distribution logistics with the cloud provider you already have to use for your app, website or for other part of your business. You can do it on Windows it didn't kill Microsoft business at all

The issue is not Apple making a profit on its store. Selling phones is unrelated to owning a store, they have one good for them but why is it mandatory to access such a huge share of the mobile market ?

What value is given to businesses and developers, and what undue avantages over competition Apple gets by tying both together ?

Now let's admit you do want to be on their store. Now you want to take payments, your bank has tech to take payments, Stripe has tech to take payments, PayPal does to etc. Apple want to compete with those with their In App Purchase tech fine but there has to be choice. The cut is 30% because they forbid competition in payments. They forbid even mentioning to customers they can have a better deal outside.

If Apple thinks being on the App Store is such a privilege it should either :

- Make businesses & developers pay for being on it and let them chose their payment provider

- Keep on bundling phones with a store where their payment tech is mandatory but let customers install apps that are not from the App Store

They can fight it as hard as they want the EU regulators will make them do that choice anyway because the anti trust case against them is even sounder than the Microsoft one with Internet Explorer
I have no idea what you are trying to communicate
You’d be surprised but many products provide a 100% markup for the retailer.

It’s so common there’s a term for it.

Keystone pricing

https://www.marketing91.com/keystone-pricing/

Also keep in mind that just the credit card processing, which Apple absorbs the cost of can be ~3% + $0.25
> The layers of abstraction will take its toll.

As an industry, this is called job security. It is fascinating to be in an industry where systems requiring high levels of maintenance are preferred by the client.
Australian here, in my card chargeback form there’s literally an option for “The good I received is defective and the seller has declined to remedy”.
Apple’s App Store fees are ‘highway robbery’ – House antitrust committee chair
Siren: Sinusoidal Representation Networks
Sure. That's fair, if the user believes the 30% is worth the extra safety that Apple provides, they should be able to pay that. But why the restriction that developers cannot even hint that less expensive options are available through other means?
Mailbox.org
Too many academics are now censoring themselves (2016)
I recently finished reading "The Art of Forgery" by Noah Charney and that is the exact same feeling I had. Great book, very interesting, but it will leave you curious and perhaps a little doubtful about all art that you look at afterwards. Things like this are so wild and unlikely (to me at least) that when something like it comes up with zero provenance it just raises a whole lot of questions.
> Sure, ships can have more expensive antennas. But you need a lot of those ships out there and the antennas are extremely expensive.

We're talking about receiving internet on ships, right? You need one per ship that wants internet. And it doesn't have to be 'extremely' expensive, it could be a moderate multiple of the normal user terminal.

In case you forgot the context, this is not a conversation about using relays. This is a conversation about how far offshore you can go in a single bounce.

> I'm not sure what you are arguing about the simulation. Are you saying it's inaccurate and there's a better one?

It's perfectly fine, but the goal of that simulation is to show a way of doing long distance high speed relays. The goal is not to show you maximum range if you don't relay.
> Why can’t Hey offer a mobile web version of their app?
No. Apple has crippled the Progress Web Apps on iOS safari.

No email client is useful without push notifications.

All other browser on iOS (including Chrome and Firefox) are wrappers around Safari, because Apple restricts other browser engines i.e: Chromium, Firefox.

Look at how many requests for new features/API's are there on the WebKit forms. Apple choses to ignore them because if Apple were to really support PWA's properly, this situation wouldn't have happened.

Apple also randomly clears storage for website added to homescreen and there is a limit of only 50mb. Apps like Gmail cache data on the scale of 600mb to several GB.
Your ignorance is showing. There's few if any features PWAs can't compare in. And many of them are derived from Apple or Google fuckery.
You could try setting 'showdead' to yes, then you can see content that's been downvoted, flagged, dead, and/or bans.

The vast majority of moderation on HN is from users, not the mods.
Margins on brick and mortar are extremely thin -- 3-4% overhead is considered excellent.
They parse it one way, and if they figure out the other parse option was right, they go back and fix the parse tree.

Basically, unlimited look-ahead.
Google Tsunami: An extensible network scanning engine to detect vulnerabilities
>Is the alternative really better? Look at Windows, which had no restrictions on apps that you could install.

I can do the same thing on linux yet my computer's not a cesspool of malware.

>Most consumers are dumb and it should not be possible to trick them into installing arbitrary binaries.

No, most users are uneducated and don't care and expect computers to be safe the way other things are. This doesn't make them dumb, this doesn't mean they need to be treated like children. This means the information needs to be communicated to them more effectively'

Most users are adults capable of dealing with the myriad of dangerous things life brings. This is because most things come with adequate instructions and warnings.

Operating systems follow two extremes, they give no fucks and let you do what you want with minimal instruction or they lock you up and tell you what to do. Both of these are inadequate for average people and don't reflect the way most things worked, up until relatively recently when businesses decided people needed to be treated like children.

Computers are heavily integrated with daily life. Treating users like a bunch of kids that need safety padding is insulting and ridiculous. If there's a failing at the general public in understanding these concepts, it's a failing both in education and honestly, a collective elitism that places people who know technology above regular people, reflected both among regular people in the tech community and large tech companies that results in either them being taken advantage of or manipulated, or again being treated as invalids incable of looking after themselves.
This is an... incredible narrative. Which country assassinated another country's military chief at the start of the year? Which superpower has its propaganda machine working overtime to foment sinophobia? Which federal government attempted to steal PPE from the states and stockpile it for other electorally relevant states, while totally controlling the fiscal response to the pandemic? Chemical weapons on citizens for a photo op?

Certainly sounds like a peace-loving administration that empowers the citizenry.
I see, so your main concern here is prosecution. It is indeed true that prosecution is understaffed and underfunded. I feel there are other problems at play too.

CPS should be able to spot children in abusive homes and respond to reports of unusual activity. They should be able to spot clearly unstable caretakers.

Counsellors and teachers should be able to spot unusual behaviour from children. Mental health services can help someone escape falling into such a situation in the first place by keeping them from falling into depression which leads them to rely on such a person.

Local police shouldn't dismiss leads so readily. This is the it is impossible for him or her to do such a thing mindset which prevails so frequently.

Parents shouldn't trust their relatives so readily and should keep an eye out. 90% of cases happen at home.

If they stopped showing off their crimes online, would the entire system come to a crawl? I'm worried by how much of a reliance there is on divining crimes off the internet.
Thanks for the advice. I'll definitely get some more apps under my belt.
Sarcasm often isn't (to the uninitiated?)
> There is no unanimous agreement that referring to Constantinople as the Roman Empire is much more useful than, say, calling the Holy Roman Empire "Roman".

Except that Constantinople had essentially continuous government dating from the 300s AD until it was sacked by the army of the 4th Crusade in 1204, whereas the Holy Roman Empire's first emperor--Charlemagne--was crowned in 800 AD, some 324 years after the dissolution of the Roman Empire in the West. The Holy Roman Empire of Charlemagne was, as you imply, an entirely different beast from the original Roman Empire.
Using [] is the optimal choice for languages in general, but they can't even use that because they blew away that syntax for indexing.
Apple also cripples PWA's so that's not an option.
Prettier lets you control object literal formatting by inserting/removing the newline after the opening brace, I'm not sure why they don't do that for JSX elements.

https://prettier.io/docs/en/rationale.html#multi-line-object...
I am referring to using R to build systems. It's not common.
The best part is when a city tries to renegotiate the cost of a project, and ends up spending 90% for 1/2 of the original design. Then the overruns hit, and somehow they still pay out more. Then it will turn out that there is some sort of critical design flaw, that they need fix, add solar panels to "save money", and so it goes on.
The whole thing is a racket in many places.
Again, devils advocate.

But push notification absolutely kills your battery.

Back to point number 1, user experience. It’s not a good user experience if your iPhone lasts only 2 hours because push notifications kill your battery.
The Azure DevOps Provider for Terraform
The same way many startups financially make sense: by having investors willing to lose money for quite a while.

https://www.crunchbase.com/search/funding_rounds/field/organ... says there were six rounds of investment, totaling over $140 million.

https://en.wikipedia.org/wiki/Zoom_Video_Communications says they became profitable in 2019.

And is your 3 gigabytes per user per hour accurate? That’s 50 Megabytes per minute, or 833 kilobytes per second. https://searchunifiedcommunications.techtarget.com/tip/Busin... says you can get HD1080 at 60 frames per second for that. I’m fairly sure Zoom doesn’t typically send that.
That sounds exactly like October CMS.
Clojure is indeed mind-expanding. Unfortunately its most compelling ideas don't translate to non-LISPs, so I must sadly disagree with the "learn Clojure" suggestion. It's wild fun, but it's hard to apply the ideas to DayJob.

An example: threading macros. In a language like Haskell, partial application is optimized for left-to-right. `f a` substitutes the first argument; other orders are more awkward. Functions like `map` deliberately place the "most known" arguments first to aid in partial application. If they guess wrong the code gets twisty.

But Clojure's threading macros compose functions, while just letting you say where you want the argument to go:

(as-> [:foo :bar] v
(map name v)
(first v)
(.substring v 1))

Here `as->` creates `v` as a meta-variable which means "the result of the last function". The code seamlessly mixes the declarative and imperative. It's like nothing else.

Sadly no DayJob language has features like this, and Clojure has other weaknesses which become apparent rapidly. Clojure learning will leave you yearning.
Yeah, this is a good point. This career strategy definitely depends a bit upon being at a job where there is opportunity to learn deeply.
Android isn't an open environment. There are many restrictions imposed on software installed outside of their Play Store.
I think there should be a functioning government that makes sure we all have a healthy economy where monopolies and duopolies are kept in check.
I'm getting the feeling that this is part of a longer term partnership where Microsoft acquires Nvidia, but for a weird reason: Azure cloud.
Making AI Better by Making It Slower
I'm just amazed that no one on both sides is following the prisoner's dilemma scenarios
Please build progressive web apps.

There's not much they can't do, now.
Just a couple of things:

1. Namecheap are the top domain registrar for botnet C&C servers, and have been for years [1]. At one point they were over 65% of all botnet domains. They didn't get and hold that position by being responsive to complaints.

2. The US Justice Department had to sue Namecheap in March over a scam outfit called coronavirusmedicalkit.com [2]. Namecheap happily supplied service to this blatantly criminal fraud.

3. Namecheap have a reputation for ignoring complaints about spammers on their site. [3][4] In my own case, when I reported drug-dealing spammers to them they gave my email address to the spammers in a bid to intimidate me into silence.

As for your apparent interpretation of my remarks as saying that everyone hosting with Namecheap must be a criminal, that is so ludicrous a leap as to merit no further attention.

[1] https://www.spamhaus.org/news/article/798/spamhaus-botnet-th...
[2] https://www.justice.gov/opa/pr/justice-department-files-its-... (See PDF attachments for name of defendant)
[3] https://smartypants.com/index.php/news/article/update-on-spa...
[4] http://www.circleid.com/posts/20200312-namecheap-eff-and-the...
Intel Macs are expensive, ARM Macs should cost less like the Chromebooks and Fire Tablets.

The ARM Macs are designed to interface with iOS devices more, with the IoT that is going to be a selling point when Apple has iOS based devices that need controlling and programming.
One way streets encourage faster driving and make things less safe and welcoming for pedestrians. See the baffling Hayward loop as a worst case example. A highlight from the article

“
Jones told the Pioneer that when he was newly hired as city manager, he thought the better alternative would have been to create an underpass at the “Five Corners” where Mission Boulevard, Foothill Boulevard and Jackson Street meet. However this would have almost doubled the project cost and the city was already under pressure to use state funds to construct something, he said, before the funds are taken back and allocated to other cities.”

https://thepioneeronline.com/19812/showcase/hayward-loop-inf...
1) screenshots from two separate users https://twitter.com/DamienPetrilli/status/126522381024201933...

2) Not after upgrading to Catalina https://discussions.apple.com/thread/250712266

3) That's not what their head of software though when they used iOS 12 to catch up on debt from a bad iOS 11 [1], and iOS 13 was panned as the buggiest release of all by The Verge. [2] Apple released updates every week or two for _3 months straight_ to try and patch it up. [3]

Your tone indicates you don't actually want an answer to this, but, iOS 2-6 went well, iOS 8/9/10 good/very good/good.

4) Mindless cheerleading of dollars has led to the crossroads Apple is at.

[1] https://9to5mac.com/2018/01/30/ios-12-apple-features-perform...

[2] https://www.theverge.com/2019/9/19/20872972/apple-ios-13-rev...

[3] https://en.wikipedia.org/wiki/IOS_13
> Frontpage and Dreamweaver were big in the 90s because of their “What You See Is What You Get” interface. People could set up a website without any coding skills, just by dragging boxes and typing text in them.
>
> Of course they soon found that there was still source code underneath, you just didn’t see it. And most of the time, that source code was a big heap of auto-generated garbage - it ultimately failed to keep up with the requirements of the modern web.

If you do not see the source code it doesn't matter if it is garbage or not or if it is following any "modern web requirements" or not - all it matters is if it does what you expect it to do. Besides, it is a bit of a hypocrisy nowadays to complain about the code underneath a WYSIWYG tool when many web developers use transpilers that target CSS, JavaScript and pretty much all sites rely on dynamically generated and altered HTML that doesn't let you make more sense on the final output than something like Frontpage or Dreamweaver would generate.

Sadly the closest thing i could find nowadays to something like a WYSIWYG site editor is Publii[0]. It suffers greatly from the 'developer has a huge screen so they assume everyone has a huge screen' syndrome and i really dislike pretty much all of the themes available for it (everything is too oversized). And it is an Electron app because of course it will be an Electron app despite not needing to be one (it doesn't offer full WYSIWYG functionality, only for the article editor which isn't any more advanced than Windows 95's WordPad and it relies on an external browser to show you the final site). But it does the job (i tried on a new attempt for a dev blog of mine[1]) even if i dislike how oversized everything is.

[0] https://getpublii.com/

[1] http://runtimeterror.com/devlog/
Another thing I painfully realized: It that is not a good idea to document HTML in HTML.

&lt;details&gt;
&lt;summary&gt;
It's not a good idea
&lt;/summary&gt;
really.
&lt/details&gt;
The meat of the issue here is that you cannot sell your widget directly online to consumers. Apple does not allow that. You have to always sell through the Apple store and always pay that margin whether you want to or not.

To use the brick and mortar store analogy, would you be happy if you were forced to sell only through Walmart (and thus paying their margin) and not directly to customers, even when you are completely capable of doing it?
It seems like a lot of consumers would, and do choose 2) by choosing to buy into Apple's ecosystem.
Well, you came to the right place! :-)
> What we really need is a new Google

Maybe, maybe not. How useful is Google (or search in general) to you?

For me search is more of a convenience tool than for finding sites that have information. There are questions I need answered but without search would have an easy time figuring out (e.g. "how many cups are in a pint?"). Sometimes I want opinions, but I almost always am going to the same sources. Sometimes I use search because I'm too lazy to click around using a site's own search. The only things that are actually useful for me from search are for specific expert knowledge that I want in a structured manner (e.g. "what do I need to consider when buying a house?"), and those queries are incredibly few

I feel like search is slowly becoming irrelevant
Even better, IMHO, is just setting your editor to format on save. That way you can just write ugly code and hit save to get it formatted.

I've found git hooks to be more trouble than they're worth.

But as long as it's enforced in CI you can leave it up to individual team members how they want to do it.
The simple answer is because mobile web apps suck.

As a user I want a native app. Hey (or any dev really) should be able to write software for a platform without having to pay tax, maybe they pay for app store distribution or review or submission or something (developer account?), but they shouldn't have to do profit sharing.

I understand the value of having a curated store, I understand the value of locking down the OS. If you're going to do that though - you shouldn't be able to tap all profits going through it.

Imagine if macOS only ran applications from the macOS app store and took a cut of everything. Imagine if they forced Safari only on macOS and took a cut of applications there too. It's not a perfect analogy because most apps on desktop are web apps and not native and the history is more of an open system, but there's something wrong with this kind of rent-seeking. It's counter to their brand, it's hostile, and I'd argue it's likely to make them focus on the wrong things.
> Most users are adults capable of dealing with the myriad of dangerous things life brings.

While I'd like to believe that, injury and death statistics from things like road accidents, smoking, alcohol, etc.; the number of machines owned in botnets; and the overall response to COVID-19 is not convincing evidence of this.
The test wasn't local.