skysight-inc/HackerNews huggingface dataset:
There is more to it. Usually people don’t like to take plane from airline if they have a lot of accident.

If i build a bridge and it collapse, how I’m making money now? If I have other bridges, people might stop using them if they are known to collapse and kill people.
Show HN: Containerized Ookla Spedtest CLI
I totally agree for things like streams or IO like file handling or authentication. It may be fatal at the IO layer but in a GUI you want a nice error displayed to the user and not a crash.

However in some domains you don't want to pollute your return value with a Result or Error enum, for example a BigInt library addition or a Matrix addition would be much more convenient for scientists to use if it returned a BigInt or Matrix respectively.
I think the article is actually about the "Duales Ausbildungssystem" practiced in Switzerland, Germany (and a few others), but without explicitly mentioning it.

In this system, learning a trade's practical aspects is mostly the job of a specific company the student is employed with (or rather "pre-employed"), and the theoretical/general aspects is the job of the country's education system.

It's a good alternative to a purely academical system like universities, or getting an extremely company-specific skill set only:

https://en.wikipedia.org/wiki/Dual_education_system
Like I read in a post in LessWrong, it's much better to try to avoid contagion until after the peak of the pandemic, so that there are more resources freed up (hospital beds, respirators, etc) and the doctors and health workers have more experience in dealing with this particular virus, maybe there's existing drugs that have proven effective with this virus unlike on the early stages where they don't know what drugs to use (apparently some HIV drugs could potentially be useful against SARS-CoV-2). Not new drugs specifically develop for this virus, that could be years from now.
So, social distancing, try to avoid crowds, try to stay at home, clean your hands (follow the protocol to clean them), clean and disinfect surfaces, WFH if possible, and so on... Anecdotally, I think the UK strategy of letting the virus run its course so that the country gets some sort of herd immunity it's a very dangerous bet... Lots of elderly people in the country will die, and it won't guarantee any immunity as people have gotten the disease twice. Maybe they are counting on lots of elderly people dying to save on pensions and healthcare costs (healthcare is public and free in the UK).
> everyone is very cautious in my town of ~20k,

That's not how it works unless by "cautious" you mean wearing gloves and properly fitted masks and avoiding all unprotected human contact.
Dozens of File Upload Vulnerabilities Found in Web Apps
E-waste is a problem that affect everyone. Also I edited my answer to add the DRM and copyright on the manuals issues.
what if the "free" version is not as good, yet most people will use it because it's "free"? Meaning very few will pay for the best version. All will close shop and bureaucrats will collect their salaries while making so-so free weather apps, backed by tax dollars. Is this outcome better? I use several websites for weather and I know which one is more accurate, they differ.

Why isn't the German government making a government funded car to ruin Volkswagen or Mercedes?
The legislation (at least ones like this) are not implemented thoughtlessly. Its likely that just allowing parts which have a short service life to be replaced would be enough.

Also anything which is structural is likely not going to be the part which maintenance needs to be done on
Compare UK and Irish editions of the same paper. Stark difference
4->for

with -> w/

Anyone have opinions on whether that's a more readable abbreviation?
Broken lab equipment led to solving a 58-year-old physics problem by mistake
dropping the pants reference implies a dog in the fight.
> And you could retort "because of systemic unfairness in the US"

One could retort that nice conspiracy theory to almost everything, and some people actually specialize into it. Now the thing is, having some constraints is a great way to get aware of a problem and try to solve it. This of course doesn't fit well with the whining mentality that some groups try to implant onto other for their own benefits.
And how exactly does this change the fashion of buying the latest iPhone-looking phone every second year? The older devices are perfectly functioning, they just don't look like the owners wish. Most people I know have a drawer full of 100% working phones, some broken displays here and there but that is trivial to have repaired today.
it might be difficult to buy all the new ones you need for the next couple years.
Up and Running in a Breeze with Firebase
Much of the growth mindset literature out there has its foundations built on goal orientation theoretical framework, which has been replicated extensively across domains, frameworks, and cultures. There's been a number of studies on growth mindset as well, but the results are clearly more mixed. That's interesting to me given how the concepts are related, but obviously not identical.
That implicitness is part of the problem.

In an object, all the functions implicitly take that state (or explicitly don't if you mark them static).

So instead of namespace::function(arg1), you now have namespace::function(obj, arg1), even when your function has nothing to do with obj. From the outside, you then have to wonder which members of obj might be being read or written inside the function. If lots of those methods call other methods, which may or may not modify the state of the object, you can end up in a situation where it's hard to reason about the functions because you have to read a lot of code to work out what the inputs and outputs really are.

This is the problem in the Java-style "everything must be a member of a class" approach. People have a tendency to make everything into members of objects.

A function that only takes the values it needs is much easier to reason about.

I think that you are right in that there isn't much practical difference between the two approaches when well-written (in particular when staticness/mutability/constness are clear). However, I find poorly written OO (e.g all methods are instance methods, local variables stored as members) to be really tricky to reason about, and all too common. I haven't had that problem with poorly-written non-OO code.
The Haunted Mind: The Stubborn Persistence of the Supernatural (2017)
https://news.ycombinator.com/item?id=22565408
> Edit: also a main issue with repairability is DRM and evil companies trying to use the copyright law so you won't publish repair manuals and schematics. Your ceramic phone won't suffer if someone shares a manual about it's internals .

I certainly think that you should have the absolute right to attempt to repair your device, and you shouldn't be legally prevented from doing so.

On the other hand, I would like a secure, lightweight device, which lasts as long as possible on battery. All of those things will suffer if people who don't understand how modern phones achieve those things attempt to force them to be made up of piecewise-replaceable components.
That's more disruptive than the outbreak.

The market drop is not just about the outbreak but because prices were too high to begin with.

Look at Boeing, it has political teflon, the stock was barely affected by the MAX situation. Now it has all hit, things are so bad they might not restart the 737 line.
Right to repair will eventually appear in US too.
Also what will your customer think that you won't sell to him unless you sigh off the right to repair your broken phone (Apple will not repair simple issues instead replacing your phone, this is a waste considering that some smart people can open the device and fix it if allowed)
For me, it is. I spend most of my day staring at code and I think that's caused me to have a strong cognitive switch between numbers and letters, at least with spaces around them.
Yes, and look at their shares price.
I don't think it's so bad. This is not the same as omniscient surveillance by the state or intrusive monitoring by ad networks. I think it's perfectly fine if you explain precisely to your child how they're being monitored, and why. There need not be anything surreptitious or nefarious about it.
As a society we have to make choices. We prefer having repairable items over beautiful unrepairable ones, as the latter has been abused as an excuse to deny repairability even when possible.
Betternet VPN Premium 5.3.0 Crack Key Full Latest Version 2020
Given the size of the european market and the median wealth in it, it won't. And if it did, someone else would quickly come to replace whoever left.

Companies don't follow all those regulation for the fun of it, they do it because there is a lot more money to gain by doing it than by leaving that market.

Also if other jurisdiction don't follow on that (or on GDPR too, while we're at it) I don't know how they explain it to their citizens. We european are not magical people, we just tend to remember a bit more that our govs and laws are there by our authority, and to serve our needs.
Do you have a benchmark that measures this cost?

I'm pretty sure the cost of checking this in a static language where the tag enums range is known at compile-time is:

- 100x cheaper than cache-miss on a memory access

- and 10000x cheaper than IO which is often where those errors/results/maybe/exceptions issues arise.

I.e. irrelevant in most cases.
Would you say GDPR and cookie laws were implemented thoughtfully? (not asking if the laws themself are thoughtless)
I've been working on something similar, also struggeling with `io-ts`. However, I want the schema to be serializable (possibly compatible with json schema) so that a rich ecosystem of tools can be build upon it.
There is still a long way to go though.

My library `@hediet/cli` [1] uses this technology to offer a browser based UI for CLI applications [2].
In the long term, I want to replace my use of `io-ts` with this technology in my JSON RPC implementation [3], so that I can implement something similar to Swagger for JSON RPC.

I always felt the possibilities of JSON Schema are not really explored, which I think might be due to bad design of JSON Schema (it's really hard to consider all these denormalizations, it's like HTML 20 years ago).

I'll have a more detailed look at your library once I find time!

[1] https://github.com/hediet/ts-cli/blob/master/cli/README.md
[2] https://github.com/hediet/ts-cli/blob/master/cli/docs/gui.pn...
[3] https://github.com/hediet/typed-json-rpc
some context: http://www.wirfs-brock.com/allen/posts/866
I really hope it does
Alexander Afanasyev
Product Manager / Product Analytic
Do we? I am not really sure we do. I think it's very hard to talk about what "the society" wants, and I know that it differs very much around 150 km to the north from me (where the border is) and that it is also roughly the opposite around 300 km to the south from me (where another border is).
You can try things such as:

- https://github.com/joshua-wu/deepfakes_faceswap

- https://github.com/Oldpan/Faceswap-Deepfake-Pytorch

You might have to run on a frame by frame basis, e.g. using `ffmpeg -i file.mpg $filename%03d.bmp` [1] and stitching the results back together [2].
I haven't tried it, though, and there might be better alternatives.

[1] https://stackoverflow.com/a/10962408
[2] https://hamelot.io/visualization/using-ffmpeg-to-convert-a-s...
Almost as bad is the monopoly of "Bundesanzeiger" in regards to the mandatory publishing of the annual balance sheets of companies beyond a certain size. Everyone has to publish there, and you only get access to an API (which AFAIK still gives you fairly unstructured data) if you pay a hefty sum. This makes any open/reproducable research into industry trends really difficult.
The idea is not that you should be able to swap your battery as easy as you can with an Nokia 3310 but that you or a competent person could swap the battery with tools made for that purpose. Also I should have the right to use components from a broken iPhone into a different broken iPhone so I get a working iPhone(and if you claim security then wipe the phone before you allow this swap).
Though there is common law contempt, in the US it has been codified in statutory law[1]. The text of the law states that it is indeed a punishment for disobedience with the court.

In general, "revenge" is not the aim of any administration of justice; however, punishment is a tool, for better or worse, that is used in an attempt to achieve justice. Punishment is also the type of remedy that the state can do well. The maxim about "have hammer; see problem nails" applies to the state as well.

Keep in mind that the statute, enacted by Congress, explicitly allows the exact punishment Manning herself received. While holding her beyond the grand jury proceedings was considered moot, the fines themselves survived, as fines are wont to do.

[1]https://www.law.cornell.edu/uscode/text/18/401
The protection of antivirals is variable too. The value of Tamiflu itself still seems controversial.
I have nostalgia for local production but also recognise it can be harmful to subsidise inefficient industries. Hard to draw the right line between cronyism (obviously tariffs are actually a tax on locals) and resilience. Strategically, NZ unilaterally dropped a lot of tariffs on the advice of economists without considering, game theoretically, how to extract corresponding concessions with trading partners. This started in NZ in the late 80's. They then negotiated largely empty-handed (What will you give me? Wait you already did that.. nothing else?) and had a lot of trouble getting other people to drop their tariffs. Which are still there, in many cases! So there's my dog I guess?
True, same here, in The Netherlands. Of the first 500 reported cases, around 25% were tourists returning from the Alps region (northern Italy, western Austria), and around 50% were traced to secondary infections from those first 25%. The other 25% were unexplained, hence we're now in the endemic spread phase.

FAFAIK, we've never had a policy to pre-emptively test every returning tourist, and even now we don't test everybody. The current policy is to test new cases only if they have no relation to an already-established case. For example, people living in the same house as a known Corona case will not get tested. If they start showing symptoms, they're automatically assumed to have contracted it.
>Y2038 is in your walls

Fuck me, as this is true
What Tens of Millions of VMs Reveal about the State of Java
I use Webflow. No code. Some HTML/CSS knowledge will be helpful. You can be online in a day or two if you have 3 to 7 pages.
Ask HN: Why has most countries' government response to the virus been slow?
The government's response to the SARS-CoV-2 virus in most western countries (US and Europe) has been slow, and more strict measures have not been taken until the confirmed case count is on the thousands, where it's too late for those measures to be effective. Is that due to ignorance/incompetence of politicians or there could be some malice behind it? By that I mean, could it be that they didn't do much at the beginning to let it spread just enough so that the virus spread at large on the population, and given elderly people is more vulnerable to death by the virus they could potentially save on a lot of pensions and health care (in EU many countries have free public health care)? See https://www.youtube.com/watch?v=nSXIetP5iak
>Can we stop comparing business to war? In war, [...]

No, we can't because talking about any topic with war metaphors seems to be deeply ingrained in human linguistics.

In games like football, we talk about the the quarterback being the "field general" and the offensive tackles and defensive tackles "battling in the trenches".

When husbands & wives argue or fight in divorce cases, we talk about them "drawing their battle lines".

Historians or politicians often talk of "class warfare" or "war on poverty". The "Occupy Wall Street" protest is another borrowing of words from war.

Biologists and doctors talk about "war against disease" and the "war on cancer".

Wikipedia's most controversial articles have "edit wars" which results in pages getting locked.

In computer science, we have the "Byzantine Generals Problem" which is war metaphor.

If you want to jump into every thread <topic X> to plead with people to "stop comparing X to war", you're not going to get anywhere. (E.g. "can we please stop comparing distributed computing fault detection to Byzantium generals and war?")

Even the linguistics field which studied our propensity to always compare topics to "war" also went meta on itself with "linguistic wars": https://en.wikipedia.org/wiki/Linguistics_wars
This seems pretty inconclusive to me; as noted by other posters, we have no data from some of the trials in China and peer review of the potential patient benefits hasn't materialised yet. Not trying to be a downer, but..

As an aside, the number of preppers and conspiracy theorists out on HN under stories like this is awful.

Remember, the world has vast infrastructures (CDC, WHO, NHS and equivalents) for working out the right course of action in these situations. They are staffed by professionals who understand how medicine and medical trials work, and how and when to deploy public health measures. I'm not saying their word is law, but hanging out on internet forums and then panic buying random stuff which isn't obviously efficacious off the back of a misunderstanding of the science is not personally or socially productive. At worst, it harms people in genuine need and stymies the ability of society to respond.
https://www.nethack.org/security/CVE-2020-5254.html
Never considered nethack as part of my security model
Why is it a scandal? There is only so much made in the world. If South Korea uses it we cannot.
Using Google alerts to monitor Coronavirus news
>That's not realistic. As soon as there is some communications between the chains, the system will reconcile.

If you think that is possible then you must not have paid attention to how blockchains work. By definition there is only one chain and it is always the longest chain in the network. The shorter chain will always be discarded and all the data within it is lost. Now we have a problem. Can't everyone just create their own chain with garbage data and then win by being the biggest spammer? (also known as 51% attack). This is why proof of work is necessary. It is basically a cryptographic lottery that ensures that there will only be one winner every 10 minutes. Since there will never be more than 1 winner there will also never be more than one longest chain. If you decide to disconnect from the network and solve the POW offline your chain will always be much shorter than the main chain. Only if you possess 51% of the miners can you do this offline attack and control which chain becomes the new one. It is possible to rewrite past transactions as well. Just start mining 3 blocks ago and remove transactions or add new ones. However, this becomes harder and harder the older the transaction is. Finding e.g. 10 blocks takes such a huge amount of mining resources that it is infeasible if don't control at least a super majority.
Design Books for Technical Writers
I have seen very few sites actually doing this. The only one I remember is Chicago Tribune, and I cannot remember any site where I didn't just shrug and move on.

Also, Apple in particular cannot really afford to leave the EU. About 23% of their profits were generated in the EU in 2019. Other big names are in essentially the same boat.
No it's definitely a mix, like my exemple in parent comment describe. If I change my accept header to remove EN priority I get the french translation that matches my french IP.
Try rubber, or anything oil-based, in Germany back then.
I read somewhere that gin & tonic was invented because they needed the gin to cover up the taste of the quinine, since the tonic needed to have a _lot_ of quinine to be effective.

Shudder.
These 320k tests were performed in the Guangdong province which has a population of 113 million and ~10,000 confirmed COVID-19 cases, or about 0.009% of the population.

If they found a 0.5% positive rate on background tests there, that would suggest the real number of cases to be hundreds of thousands in that province alone.

You seem to be referring to this report: https://www.statnews.com/2020/02/25/new-data-from-china-butt...

That article suggests that the 320,000 tests were not a background test, but they tested "worried people [who] flooded fever clinics to be tested". Actual numbers across all population would hopefully be much less than 0.5%.

The article also states "The claim [that there's not huge transmission beyond what you can see clinically] was quickly challenged by an infectious diseases expert who serves on a committee that advises the WHO's health emergencies program.".
I think the UK strategy of letting the virus run its course . . .

This is not my impression of the UK strategy at all. Until now, there has been very aggressive contact tracing and testing. There has been no need for mass closures and restrictions. The strategy is now shifting. I suspect those closures and restrictions are coming. There is danger in doing it too early, however, and definitely no point in isolating people who in all likelihood are perfectly healthy.
> doesn't mean they turn up at Google on day one and are expected to sink or swim.

That totally happens. Got hired straight out of college for a new team at Google. There were no senior people on the team, the closest was management which didn't have the time for that sort of mentorship. It sucked and meant nobody got anything done for a year.
Everything with a setuid/setgid should be viewed with suspicion.
It's think it's likely the two issues I highlighted will eventually have syntactic sugar, I never wrote a transpiler but it doesn't seem that hard to support. It doesn't appear to be a priority though.

> With a runtime like React and Vue, it seems much harder to add in.

As a rule of thumb, it's almost always easier to add things at runtime than at compile time. That's why it took us so long to get Rust.
>Can we stop comparing business to war? In war, you destroy the enemy, and pay in blood and gold. It's a matter of life and death, and the strategic objectives are black and white.

War is just a continuation of politics, and politics are neither black nor white. Neither strategic objectives are black and white - due to fog of war and imperfect intelligence.

>Business is not really like this.

It kinda can be, if you drive out competition, attaining a virtual monopoly(you keep one competing company on life support while you reap all the benefits, without having all the disadvantages of being a literal monopoly) on your speciality you are literally destroying a livelihood of all people employed by your competition.

>First, if everyone doesn't go home, you're going to have a major problem with OSHA.

if your employees are desperate enough, they will comply, especially in countries with lack of social safety net.

Is it horrible? absolutely yes, and we should do everything from system perspective to prevent it.
I mean, maybe, but I'm yet to see proof of that. The reaction yesterday seemed perfectly reasonable.
The Origin of the Name ‘Spanish Flu’
Yes on GDPR, no on cookie laws.
Yeah, I think something related to the British navy?
If you didn't choose a good plan that is on you. If a good plan wasn't an option you should complain. Most big companies had good plans. Fidelity's target date plan have been good, so why are those not an option?