skysight-inc/HackerNews huggingface dataset:
> China's constitution actually guarantees freedom of speech, assembly, protest and religion.

In a sense, but in a very different sense than the Western liberal democratic tradition views each of those freedoms. Take, for instance religion; Article 36 of the Constitution states:

---[art 36]

Citizens of the People’s Republic of China shall enjoy freedom of
religious belief.

No state organ, social organization or individual shall coerce citizens
to believe in or not to believe in any religion, nor shall they discriminate against citizens who believe in or do not believe in any religion.

The state shall protect normal religious activities. No one shall use religion to engage in activities that disrupt public order, impair the health of citizens or interfere with the state’s education system.

Religious groups and religious affairs shall not be subject to control by foreign forces.

---[end]

Speech, assembly, and protest/demonstration are trickier because the problem isn't evident from a single article in isolation. Article 35, on its face, seems to protect them:

---[art 35]

Citizens of the People’s Republic of China shall enjoy freedom of
speech, the press, assembly, association, procession and demonstration.

---[end]

But then there's the catch (and this also applies to religion in top of the issues in Art. 36 itself): Articles 51-54

---[start]

Article 51

When exercising their freedoms and rights, citizens of the People’s
Republic of China shall not undermine the interests of the state, society
or collectives, or infringe upon the lawful freedoms and rights of other
citizens.

Article 52

Citizens of the People’s Republic of China shall have the obligation
to safeguard national unity and the solidarity of all the country’s ethnic
groups.

Article 53

Citizens of the People’s Republic of China must abide by the
Constitution and the law, keep state secrets, protect public property,
observe discipline in the workplace, observe public order, and respect
social morality.

Article 54

Citizens of the People’s Republic of China shall have the obligation
to safeguard the security, honor and interests of the motherland; they
must not behave in any way that endangers the motherland’s security,
honor or interests.

---[end]
The problem comes when you need to mix precision and now all your multiplication and division needs to keep track of the decimal point through the computation. This isn't terribly uncommon, usually when your computation needs much wider range than your input and output. Exponentials and logarithms are bad about this.

So what you do is either keep track of the precision manually in your call stack, but then you get the bright idea to pass it as data along with your integer. And you don't need 64 bits of precision because that's a lot, you can live with 52 and use the extra bits to hold your exponent. And lo and behold you've discovered floating point.
When a startup is out of money, some funding usually helps.
const w = (fn, _) => function(...args){
return (_ = fn(...args)) === null ? undefined : _;
};
document.getElementById = w(document.getElementById.bind(document));
Yeah, that's not how it works. That's how you want to believe it works so you can sleep at night.

In reality that person probably turned to the gig economy, with no job security, benefits, or upwards mobility, and works twice as much to put less money into savings.
Arguments belong to functions.

Sorry I was wandering all over.
It's all down hill from here!
They would be in the wrong if that is what they were doing, but it isn’t.
If you sell your car to a private party it keeps all its options. If you sell it back to Tesla, ie trade in, they may add or subtract options before reselling it.
That said, there have been some screwups, especially with third party dealers, leading to the current kerfluffle.
20 or so years ago, back when I worked at farms, I read that people with Toxoplasma infections were overrepresented among those who were killed in traffic accidents[1][2].

[1]: this is a long time ago so my memory is a bit hazy, I cannot say for sure if it specified drivers or everybody who was killed in traffic accidents.

[2]: Of course correlation doesn't imply causation, and this wasn't a research report but rather an ordinary book.
Security? Seems like any webpage could make calls to your program, no?
Won't help much if there is not something else to react it with. I guess you could get the hydrogen from it and use it for fusion reactors.

Also if you find some water you could split it for oxygen and use methalox rocket propulsion locally.
Agreed, companies often make anti-user decisions for good "business purposes."
> It's not hard to know what a derivative and integral is. There is mathematical depth to being able to do something interesting with that.

That's a very good point. In some sense learning of the material at level N, is only done when you use and consolidate the knowledge at the subsequent level N+1, and maybe even N+2.

Indeed, it would be fair to say that a student passing the final exam on topic X—even with a good grade—only truly understands 30-40% of the material. Only when the student has to apply this knowledge in later courses is the understanding complete.

Perhaps the best strategy for the independent learner is to learn topic X and immediately follow up with applications of X. I mean that's what people recommend anyway, but I always thought of it as a suggestion or a nice to have, but in the light of your comment I'm thinking maybe it's a requirement.
Theres a lot of people proficient in Electron. It also handles IO I assume
What do you consider a good application? If you have never seen anything that would qualify on the Web then I have to ask what standards you are seeking and whether any software actually meets them.
We all know how this is going to end up. It always starts with fact checking and then moves on to removing articles that are wrong.
Yeah, nothing complicated for an advanced Dyson swarm - getting the energy there and propelant (unless you somehow acquired a reactionless drive) would be the main problems.
For many users that can be an alien experience. For most non-technical people, browser is still primarily for accessing contents on the web and switching them to a user experience where you have to start a backend server locally and then access it via the web browser can just feel hacky and even a bit off-putting.
I would assume for the same reason that they don't just use a normal web app. They want the packaging of a native app.
I agree the article in of itself doesn't deserve front page placement, but the discussion that it is generating does. Sometimes I upvote or favorite mainly because I found the comments engaging and informative.
https://ublockorigin.com
When you sell, all the options transfer to the new owner. When you trade it in to Tesla they may remove them.
Continue abstracting money out. There is no correct solution as the problem keeps evolving. We’ll have to keep addressing this issue over time.

1. Political financing has to be looked into. A solid wtf at Citizen’s United, this must be overturned.

2. I think we can just wholesale ban PACs and Super PACs.

3. Ban donations period. How will the campaign finance it’s staff? You can’t, you’ll need volunteers. Don’t like it? Then don’t run.

4. Ban all ads.

5. Ban lobbying groups.

6. Major legislation must go through a public ballot referendum. Federal legislation must have 2/3s of states approving said referendum. Congress doesn’t work well, so go ahead and draft your bills but we’re going to need to send it back to the public since Congress is always in gridlock.

7. Jail the people that gerrymandered voting districts for 1 year to send a message. Then put a death penalty for all future Gerrymandering violations. A consortium of independent global organizations must assess all redistricting and dole out the penalty for funny business.

8. Somewhat facetious, but we sort of need a death penalty for violations of government duty since the fear of god is absolutely missing amongst politicians.

9. Introduce major major transparency into the Pentagon budget. It’s our biggest expense and we pretty much give them a blank check every year.

10. Federally mandate media organizations to put a parental advisory message on every program that is opinion based or does not do fact checking (and force that label to stay on the screen in a fixed spot on the video or website). Create a new law where rampant negligence of this leads to FCC fines that represent a percentage of all company profit (no fixed fine as we’ve seen large banks able to absorb it as a cost of business).

That’s a good start. We need a Roosevelt-like big stick against some of these things.
You're the one that doesn't understand. It's what makes you so edgy. Keep doing it.
I think you are giving too little credit to the "average programmer's" intelligence. He/She is after all a self-learning, problem solving biological machine :-)

An organisation that treats its programmers as morons will soon have programmers that are willing and able to act like morons only. -- Bjarne Stroustrup

We all were "average programmers" at one time and didn't know better. But at some point some of us came to know(from whatever source) of a "better and correct way" of doing things and then realized that this should have been taught from the beginning. It is not enough to just teach people the syntax of a language and let them loose on the World; we have to be taught "discipline" and how to use it "correctly". In the context of this thread, that was exactly what Dijkstra strongly advocated for (see my other reply to you listing some paragraphs from EWD288).

References (Wikipedia is a good starting point though sometimes overly complicates simple ideas):

* Dijkstra's GCL - https://en.wikipedia.org/wiki/Guarded_Command_Language

* Hoare's Triples - https://en.wikipedia.org/wiki/Hoare_logic

* Meyer's DbC - https://en.wikipedia.org/wiki/Design_by_contract

* Assertions/Preconditions/Postconditions/Invariants
- https://en.wikipedia.org/wiki/Assertion_(software_developmen...
- https://en.wikipedia.org/wiki/Precondition
- https://en.wikipedia.org/wiki/Postcondition
- https://en.wikipedia.org/wiki/Invariant_(mathematics)#Invari...
It’s a good thing, right up until it’s your job that gets replaced, and you can’t find another job, so you end up becoming homeless.
It could be something like titanium which isn't magnetic
We could leave chunks behind as railway stations.
This sounds like typical mafia tactics, right? Is there a connection between this industry and traditional Russian / Italian / Irish groups?

The industry checks out, the tactics check out, the fraudulent revenue stream sounds right...
OP advocates wilful tax fraud [1].

If large portions of the economy aren’t paying taxes, I am not paying taxes. This breaks down the social contract. Given authoritarian nations’ increased force projection, this vision of cryptocurrencies first corrodes liberal democracies, where those not paying have courts and Constitutions between them and the state.

[1] https://news.ycombinator.com/item?id=24953317
> I hope he was influential for more than just those 10 trite platitudes.

Yes, AFAIK he was primarily influential because of his work, only later because of his writing.
This doesn't sound like a scam, it sounds like the peripheral is calibrated and mapped to the device in software. It doesn't surprise me that it would fail, kind of like that video where someone swapped the board out and expected everything to work when to the device it appears every single peripheral has had a failure condition and needs to be recalibrated and verified.

I don't have an issue with requiring software tools to repair software problems in modern electronics. The issue at hand is whether that tool is available for consumers and repair shops, which I doubt.
I and my friends called it TAFNAP.
Given that PDFs can embed JavaScript, they can embed ad tracking software, yes. And Linux VMs. And a port of WinAmp.
I love how you’re just completely making up this very specific scenario at this point.
It's better than Googles
No new locally-acquired coronavirus cases in Australia yesterday
Red Hat OpenShift 4.6 Is Available, Production Grade GA
The document says you have to email Apple Product Security. I also say there isn't a web page, as the owner of a Developer ID cert.

That link is for an iOS Development certificate, which is under the WWDR CA, not the Developer ID CA. Compare section 4.8 of this document, which says there is a website for revoking WWDR issued certs:
https://images.apple.com/certificateauthority/pdf/Apple_WWDR...
Memories. Really was sad to see XP go...

Maybe one day Microsoft will release it under the GPL (also would take the Mozilla Public License or the Eclipse Public License).

Of course, even if the code was released, getting the theme released is a different matter.
I often think about ways of disrupting businesses which rely on shady deals/regulatory capture/other anticompetitive measures. I just as often decide that it’s not worth it, since I don’t want my legs broken.
This is something else! Great job!!!
Seven seconds sounds like a long time. What dependencies are you using when you see this? If there's a lot of macro expansion going on that could explain some of it.
What's the catch? Why hasn't this become the standard way to represent text?
> Windows Forms will work for forever but hasn't been touched in a long time

WinForms very recently got HiDPI support, better accessibility features, and was ported to .NET Core where they also fixed bugs in some controls.

WPF in the meantime has been arbitrarily declared stable and Microsoft refuses to fix anything. Everybody is supposed to switch to UWP which they already deprecated or WinUI which hasn't been released yet.
although that was not the standard/the protocol used to protect President Trump when his tax forms were illegally-obtained and disseminated on this same outlets??
Happy to help!

Please use, and use it with caution :-)

(Also now that you know the timestamp trick: there's also a "favorite" link there to mark the link as a favorite. You can find favorited posts and comments in your profile page.)
I agree with many folks here on HN in that `null` and `undefined` have important differences. `undefined` appears when you access an invalid field, while `null` appears when you access a _valid_, but empty field. This information comes in handy during debugging. If your code is trying to access a field on `undefined`, then you may well have a typo. If your code is trying to access a field on `null`, then you've simply made some wrong assumptions about your inputs. The next steps for those two scenarios are quite different!

Arguing that all `null`s should be replaced with `undefined`s in JS code also kind of implies to me that JSON should replace the `null` keyword with `undefined`, which just sounds crazy to me. Why store "undefined" values in serialized data? If it's not defined, don't define it... `null` allows you to convey that "this value may exist, but currently doesn't".
Hookworm is a hell of a drug

https://www.pbs.org/wgbh/nova/article/how-a-worm-gave-the-so...

Feel free to give this some amplification outside of HN if you've never seen it before. I think it's... quite important to be aware of.
Which is why some of us avoid calling these systems "AI".

Yes, the term has become accepted, but it's a horribly irresponsible label because it massively misleads laypeople about how these systems work and how trustworthy they are.
> use false to “explicitly assign it”

Then you still have null, you’re just spelling it funny while confusing all the other developers who have to deal with your code and making it incompatible with language constructs like the nullish coalescing operator.

If the concept you are trying to express is “null”, then please use null to represent that instead of bringing in a poor substitute like an overloaded false.
I love how there's currently 5 comments and they each have a different answer for what it stands for. Let that be a lesson on explicit vs implicit
Needs anti-aliasing disabled on the text - really ruins the otherwise awesome effect and otherwise excellent effort.
I mean this is a dead horse beaten over and over weekly, but even if it wasn't I don't expect to read blog spam when I click on front page stuff on HN - if this becomes the norm the site will lose value for me.
I didn't know they could embed javascript. That's horrifying.
> Software developers have the remote kill switch as well, and they used it this time.

How so? They can't unilaterally revoke a Developer ID cert, they can only request that Apple revoke it.

> Apple did nothing wrong, unless you’re of the opinion that Apple should be auditing other company’s internal policies and controls.

This is missing the point of Developer ID. It's a program created by Apple and imposed as a requirement on Mac developers. The purpose of the Developer ID cert is to prevent malware. That's why it has a remote kill switch, to stop malware from running. The purpose was not to give Mac developers a remote kill switch to use however they please. Why in the world would Apple do that?

Developer ID is not an "internal policy" for third party developers. There's nothing to audit. Developer ID is Apple's program, designed for Apple's purposes, and Apple makes the decision whether or not to revoke the certs.

Almost all known Developer ID certificate revocations are not the result of the developer's own request but rather the result of Apple discovering malware in the wild and revoking the certs of the malware authors.
Twitch are going to drive away their audience by getting too aggressive with ads
> Note this is a lot different than allowing race to be a factor of a multifaceted evaluation -- it's inappropriate to have race at all be part of the evaluation.

My understanding of the state of the law is that race is currently allowed to be considered as a factor in university admissions if available workable race-neutral alternatives do not suffice, and that (as of 2016) the University of Texas at Austin's policy of using race as such a factor was found to be constitutional for this reason.

More reading on that: https://en.wikipedia.org/wiki/Fisher_v._University_of_Texas_...

The viability of this precedent is highly uncertain since it was a 4-3 ruling (one SCOTUS seat vacant at the time and one justice recused), and since its majority was four of the liberal justices of whom one (the late RBG) has now been replaced by the conservative Justice Barrett. But it hasn't yet been overruled, and it was a SCOTUS majority ruling and not dicta, so it's likely to be followed by lower courts unless and until it's overruled by SCOTUS.

Questions of being inappropriate are, of course, a personal opinion-based judgment call and not a question of legality.
How do you deal with versioning, etc?
Will You Owe CA Tax After You Leave?
I think the approach many is taking is just put a canvas and draw on top. Internally, you may end up creating another DOM like structure to store all your objects. The worst thing about this approach is that you lose all browser's native support like accessibility. I think Flutter is using a combination of DOM, CSS and canvas.
>I'm thankful PDF won, because otherwise I think it would have been Microsoft Word.

Well, probably Microsoft XPS, which was actually a fairly well designed format. But Microsoft didn't have the fight in them to really push it as a competitor to PDF. In part, I suspect b/c it's hard to justify investing a lot of money in your competing document standard as there is not much revenue you can derive from it. As of 2018, Microsoft no longer bundles XPS support in Windows 10.
Heh, same material, same speaker, just a bit less detail in the presentation, and a bit more discussion.
The browser is the new OS. For most users, a Chromebook-like PC is all they'll ever need. On mobile, most native apps should be web apps or PWAs. Native code is now unnecessary in terms of hw/os features accessibility and performance.

In order to run such stacks we need to devote a couple of GB's of RAM for the OS and browser. Not a bad deal if you compare cost to benefits.
There's nothing special about PDF. Only reason PDF is useful is because it's easy to convert to/from Postscript and Adobe was pushing out a free viewer for PDFs but not Postscript files. That, and the difference in fees they chose to charge on the formats.
https://samy.pl/slipstream/server
Man idk why, but parasitic diseases always seem more horrifying to me than the worst viruses and bacteria.
You'll notice it and the DEC Rainbow didn't last long. Compatibility was important. The PC AT showed compatibility plus was important. After all it was the whole point of the turbo switch.
Show HN: A free spellchecker web service supporting 90 languages
Really very impressive. The applications like Paint, Notepad etc. actually work! WOW!
what does mean by police cant protect her anymore ? smells fishy !
No, the bad faith part was using an infamous pseudo-religion as a thought-terminating cliché instead of just saying what you said much more clearly and eloquently in this reply. :-)

Propaganda isn’t “telling people the truth and warning them about false truths”. Propaganda is spreading a message, even if it’s known to be false, in order to induce a desired behaviour. It does not care about the truth, it does not care about the wrong decision, it cares only for a specific outcome and uses any message possible to achieve that outcome.

If the point of education is not to tell people the truth and warn them about false truths so they don’t make wrong decisions, what is the point of education?
Suprised these don't get blocked when viewed in a browser normally.
Minor nit: I think he's had Alex on for 3 episodes.

I've only seen the latest (1556), but he spends a great deal of time walking through Alex's claims with Alex and showing whats real vs whats a stretch vs whats total BS. It is interesting to see how Alex starts jumping from what we all read to gay frogs.

Also if you ignore the politics and real world repercussions of Alex, he is hilarious in an absurdist way.
https://archive.md/2VUvx
Now back in Canada, Carr says police have told her she is likely no longer in danger, but with one caveat.

“The police said we believe the risk is low. As long as you don't go back to work, as long as you don't restart the firm,” she says.
Representing a short string as a contiguous vector of characters takes much less CPU time. The rope doesn't really hit its stride until you want to do something that a vector is bad at, such as splicing something into the middle of a long string.
> I've been thinking about it over the last several days and, legitimately, the only possible recourse is to run your own email server.

A possible alternative that is almost as good might be to get your own domain and use some email service like Fastmail with that domain. Have something that regularly downloads all your mail from the service (which might be as simple as configuring your normal email client to download and retain everything).

If you ever have a problem with Fastmail, sign up for some other email service that allows you to use your own domain, such as Protonmail, and change your domain's mail-related records to point to that service.

Your incoming email will be down during the time it takes to sign up for the other service and change your domain setup, but hopefully getting tossed off email services is a once in a blue moon event for you so.

(If you do this, make sure that changing domain settings at your name service provider does not depend on receiving email at your domain. It would be very irritating to not be able to point your mail-related records to the new provider because your name service provider is sending a TOTP token to your old email provider).
> all of the above

You forgot malware

https://www.thesecurityblogger.com/distributing-malware-insi...