skysight-inc/HackerNews huggingface dataset:
Not all POST requests require a CORS preflight. In particular, "normal" form submissions, like the type that are accessed via $_POST in the article, do not.

Specifically, "simple requests" do not, covered here[1]. This case is POST, with a Content-Type of application/x-www-form-urlencoded. (The rule of thumb you can use is that these were all essentially possible to send prior to CORS even existing. To send a POST, you would construct a form tag with the inputs filled in with the desired values, set the target URL to the "victim" site, and have JS submit the form.)

[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Simpl...
>I find it difficult to blame the governor of a state with a $26 billion budget deficit in 2011 for cutting this.

Guess we should just give up on any emergency preparedness if a recession makes cutting these programs blameless.
>That's probably the answer. Some amount of heads-up is owed to Japanese nationals.

Why not ban foreigners immediately, then ban nationals a few days later?
So is there any example code? I would love to experiment with this on an extra computer I have lying around.
There are a few efforts on this front. Here are two that I know of for JupyterLab:

https://github.com/jupyterlab/jupyterlab-git

https://github.com/elyra-ai/elyra#notebook-versioning-based-...
If my friends are anything to go by, poorly.
New Zealand has some of the most sensible inspection standards for any country that has roadworthy standards. Remember that New Zealand has one of the oldest car fleets in the world, since the majority of imported cars are used Japanese cars (NZ imports more used cars than new).

Basically, if your car came with a safety feature, it has to still be there and it has to work. Car had no ABS when new? Doesn't need it. But if it had it, then it has to operate.

As for rust, it needs to be close to structural points in order for your car to fail a WOF. If you have rust near a pillar or on your firewall, there's a good chance it's worse than it looks and a safety hazard. Rust is a cancer for cars, it might not look bad at first, but it will eat your car from the inside out.

Your car basically just has to be safe, that's what your WOF is for. You can modify your car to your hearts content, you just need to get an engineer to sign off on it to say it's safe. Want to stuck a RB25DET in your old ute? No worries, just get a cert.

Then you come to Australia, where each state has a plethora of "anti-hoon" laws, banning you from having both a pod filter and a straight pipe, and other arbitrary rules to stop you from modifying your car. It's ridiculous and also inconsistently enforced, nobody seems to know what the actual rules are here.
How do you even define "best people"? Any how exactly are these people "rise to the top" for the leaders to follow in these countries? Some more details examples would be helpful.
Even for foreign nationals and those with a legal right to residency? Many nations have thousands and thousands of citizens spread all throughout the world for all kinds of different reasons. Some are on humanitarian missions, some are journalists, some have families abroad. Should they be denied a right to return to their legal country of citizenship, even if they submit to quarantine measurers? A comprehensive ban on international travel is perhaps more aggressive of a measure than it seems on its face.
One improvement over a full travel ban would be mandatory government-run 2-week(?) quarantine every time someone arrives from abroad.
Show HN: Understanding the Monty Hall paradox through code
Life skills you can learn online – for free – during self-quarantine
This made me smile. I pictured your guys streaming live music and dancing on a video call as a movie scene
All countries started on an exponential trajectory.
Not that long lasting, at least for country/continental blocks. As soon as vaccines are widely available, I'd expect that the only thing that remains from the corona crisis is a visa/immigration requirement of proof of vaccination/immunity.
I mean, I can't speak to how widespread the news is but Australia and NZ have already closed their borders to all foreigners. Europe has done the same, Peru etc etc. Should come as no surprise to anyone that Japan has done the same. If anything it has done it very late in the game.

Majority of the spread for unaffected countries is going to be inbound from the outside... In Australia, the inbound cases for corona from the US were like 50% of the total inbound. Which lead me to believe that the US is in more trouble than the US figures stated given the proportion and lack of testing.
It is far, far too early in this pandemic to start grading the efficacy of any jurisdiction's approach.
Might want to share some of the ideas in this thread with them!
> Unless they are magically different from every other country

Maybe being a conscientious nation-state, with a culture that prioritises the collective, cleanliness and mask usage, is close enough to magic.
As a potential counter point - pandemics are generally rare. And are hard to test at airports for until it's too late.

Also you can't test for every disease, especially new ones. The best you could do is a several week quarantine on all incoming travelers I would think?
As a Canadian I think there's a pretty strong possibility that we get the virus under control while it still rages in the US for quite some time. I'm not really sure what that will mean.
Usually the best method is to take two dumps and diff them. Just because something shows up big in a heap dump doesn't mean it's a leak, it needs to be big and continually growing.
I never understand the "green box is ugly" argument. Yes it is. Can we not work out a deal where a local artist paints it and puts a statue on top.

It needs to be a box with stuff in it and access panels, the outer aesthetic doesn't matter and can conform to local tastes.
The faces are just "Zoomer" and "Boomer," respectively. Depending on which group the creator is trying to make look ineffectual and clueless, one typically looks smug and amused while the other is losing his shit.
> Community maintained software with short dependency lists doesn’t have this problem.

That’s just not true. One of the first things mentioned in the post is vulnerabilities. An image viewer shouldn’t be able to put your SSH keys at risk no matter how many memory safety issues it has.

Plus there’s all sorts of software that doesn’t have short dependency lists that I’m sure you’d still like to use. A web browser, for example?
Why the sudden use of the "Black Jack ni Yoroshiku" manga comic art? I know the author released the entire thing with permissions to freely use the art anywhere, but still.
Have you ever been to brunch in San Francisco?
Zhejiang University's Handbook of Covid-19 Prevention and Treatment [pdf]
I must be reading the introductory paragraphs incorrectly. Because it seemed like a wealthy landowner was complaining that the virus was preventing them from exploiting the desperately poor to do the actual work of producing a crop (and opposed to just rent-seeking on some family land). Dooming Wimbledon to mere cream without strawberries or something.

But I probably misunderstood because mind kept drifting to what would become of those immigrant farm laborers once covid19 is alight in their country. The ones we pay so little they don’t have access to decent healthcare. So we can save €2 on a carton of berries.
In biology the health of a species is in its fertility. High GDP is associated with low birth rate. Life expectancy drives it down even further.

> But modern society strongly relies on complex economies for even basic functions like food supply.

This is as true as it is stupid.

> The health of that economy can be roughly measured using GDP

I would argue that if you have to depend on others you are not fit enough. You do want efficiency but not to the point where it dramatically eats into your resilience.

> Unfortunately plenty of people already rely on food banks to avoid starvation. You can’t feed an entire country like that.

It wouldn't be pretty but agriculture employs amazingly few people, we makes a lot of luxury products we don't need and we feed a lot to our cows, pigs and chickens. If it is impossible or not will depend on administrative tasks/logistics/bean counting. I could see us screw that up tho.
if i was any given country i would have banned entry from all other countries 14 days ago!

airports, shut!
State isn't saved, so when I come back to the conversation (since there are instantly more comments than I can read), I have no bookmarks and I have to go through again, re-figuring-out which branches I'd like to collapse again.
We've done playOK.Com euchre with 16 people. We used jit.si foe the video chat.

Meet.jit.si/mainroomorsomething

For the main room

Then jitsi/room00 or /room01

So everyone just joins the main room and then joins a sub room for their table games.

Works pretty good.
He just did a great interview @ https://podcasts.apple.com/us/podcast/gary-flake-scientist-a...
Did photo evidence end because of Photoshop? Honestly asking, I don't know.

DeepFakes just seem to be adding video to the list of fakeable things, which already included photos and audio.
I think you're projecting, this was cut in the name of balancing the budget by decreasing costs (albeit to help meet a massive budget deficit) if you read the article.
Some time ought to be given to people have a chance to get "home" before they close entry. Some countries have closed borders rather abruptly that thousands were stuck in transit.
> Correctness and simplicity are almost always things you want to focus on over performance

Right, it's a balance good developers know how to tread. Obviously if you can use a set instead of a list and it's one line change, go for it. But as the meme in OPs post, if you're gonna USE SEGMENT TREES and all, then it better be worth the amount of complexity and time you're putting into it.

Part of what makes a good engineer is being able to quickly tell where it's worth optimizing and where it isn't. Or as the meme says, when nested loop goes BRRRRRR.
Oops, replied to the wrong comment.

Here: https://news.ycombinator.com/item?id=22716127
Gallery view would be nice
A basic rule-of-thumb is this is a 1 in 100 year event; because the last time something comparable happened was the Spanish Flu.

However, a hypothesis that international travel is the major enabler reduces this to more of a 1 in 20 year event (SARS, MERS, Ebola, etc, etc all were near misses that were a little less slippery). Swine flu was also pretty bad.

We might be able to afford this once a century. We can't afford to do this once every 20 years. It is quite possible that it makes economic sense to permanently cripple international travel by introducing mandatory 2-week quarantines on arrival or somesuch.
Because some of us foreigners live here.
> She makes a good point

How can that be a good point?...

I think we all know that until an amazing product is presented to the customers, and the customers start to actually use it in its designated ways, the truly amazing product will be loved and touted by the people.

For example, China Mobile was routinely instructed by government to cut price [1]. In 2018-09, I visited Shenzhen, and spend 1 RMB and purchased 1GB cellular data package. This change absolutely is critical to China's booming gig-economy, and general digital transformation (I'll leave the privacy and propaganda debate outside, just for economy).

At the time, can China Mobile claim that "people do not care"? They absolutely can. But government is created to think in long-term prospect.

[1] http://www.chinadaily.com.cn/a/201803/23/WS5ab491d8a3105cdcf...
This was true and tested before IT.
I remember those budget cuts. As far as I could tell, the state engaged in efforts to make the most damaging cuts possible in every department while leaving pet construction projects and similar things alone (cutting state parks really hard for example).

I think it's combination of wanting to demonstrate the seriousness of the problem combined with cutting projects that don't have constituancy.
Announcing a blockade with aircraft in flight could easily make things far worse.

Travellers, and carriers, now have at least a couple of days to change plans.
"Pacific Fleet orders 14-day gap between port visits for 7th Fleet ships during coronavirus outbreak" [1]

See PDF file titled "CNFJ Liberty Restrictions effective March 25, 2020". Looks like liberty is limited to on-base. [2]

[1]: https://www.stripes.com/news/pacific/pacific-fleet-orders-14...

[2]: https://www.cnic.navy.mil/regions/cnrj.html/
There's still some groups of people you'd want to let in. For example, someone married to or in a long term relationship with a national who is outside the country right now. Or even foreigners that live there but are nationals yet.
The Federal Reserve Now Owns 15 Percent of the U.S. Treasury Market
And that's a "negative" in a practical sense.

An abstract interpretation that outputs Top for all programs is sound but useless. In practice, most sound static analyses for complex problems aren't too far from that.
Not sure what the fix is. List of collapsed nodes stuffed into my browser's local store?

Or expanded ones, if I came into the topic w/all nodes collapsed.
The logistic function specifically, which is a blend of an exponential growth and an exponential asymptote. So initially it behaves indistinguishably from an exponential function, until you get close to the inflection point.
I've noticed that often people who think fruit picking and other "undesirable" jobs should be done by locsl people, never express any interest in doing the aforementioned jobs themselves.
The cost of the raw food is 10-15% of the price of a meal. (Source: my wife ran a popular restaurant for 4 years.)
The emergency it's meant to cover is the fact that all the actual libraries are closed, not to replace owning books.
US, Austin: I was surprised by shortage of coffee and peanut butter.
> I find it difficult to blame the governor of a state with a $26 billion budget deficit in 2011 for cutting this. How many people were thinking about pandemics then?

The one who put it in place? Someone had the foresight to implement this program.

It's one thing to forgive someone for not having foresight but it's something else entirely to actively dismantle the fruits of your predecessors foresight.
So we are in debt to ourselves. Better than being in debt to someone else. Yes the Fed is private but congress can change that tomorrow.
I missed that bit in the announcement. Thanks for calling it out!
Japan has had a low infection rate because of their strong mask-wearing culture. Western countries are experiencing higher rates of COVID-19 infections compared to Asian countries because of the West's aversion to wearing masks. Please help me spread this message http://www.maskssavelives.org/
Every good idea should have been done before it was done. Better late than never. At least testing has ramped up in the US considerably now.

As someone in the US, I wish we would implement a lot more in the way of domestic travel restrictions right now. If we’re not willing to do that, then who can blame other countries for restricting us?
The US sells lots of arms to, for instance, splinter terrorist groups that are not separate countries - including the Taliban! Over the long term it's been the leading state sponsor of terrorism!

This isn't trying to call Taiwan terrorist, but if the US will arm the Taliban or Contras, why would it not be allowed to arm Taiwan as a separatist group?

[1] https://en.wikipedia.org/wiki/Taliban%27s_rise_to_power#Alle...
[2] https://en.wikipedia.org/wiki/United_States_and_state-sponso...
I realize how buzzwordy and ridiculous this could sound on the surface, but this seriously might bring about a growing trend in using blockchain as a way to validate content used in legal proceedings.

A simple but possibly useful scenario could be at the time of recording a video, immediately storing a hash of its content on a blockchain somewhere to validate its authenticity later (if needed). Imagine if iPhone or Android did this by default whenever a video or picture were taken.
Maybe, but SK, Taiwan, and Singapore all are as well and it wasn't enough in any of those countries. Widespread testing, border closing, and, at least in the case of SK, some measure of lockdown were also required.
To be fair, they did say "a bit more self-sufficient". I have a half-dozen raised garden beds, herbs and fruit trees on a very standard-sized suburban block. I can cook occasional meals that are largely from the garden and definitely supplement staples (protein, pasta/rice from the shop). In recent weeks, I've paid more attention to sowing seeds and looked at adding chickens. With reliably laying chickens, we could do a meal/day at least.
This weekend here in Los Angeles is the Native Plant Garden Tour [1] which is in its 17th year but being presented this year as a virtual tour.

The quality from the gardeners streaming video over their home Wifi connections is sometimes okay, mostly mediocre, sometimes unwatchable. Of course this is somewhat affected by how far they venture away from their router into their yard, but still it's surprising how universally awful internet service is even in major US cities. And it's so much worse in rural areas.

[1] https://www.nativeplantgardentour.org/
It seems like you could close the border except to those returning home. It doesn't seem like a delay of implementation is required to accomplish repatriation.
US Covid-19 growth vs. Italy and China
The original was about quantitative easing: https://i.kym-cdn.com/photos/images/original/001/781/373/b1e...
Totally agreed. It’s the classic “hiring people to wait in line for you” solution. Eh I don’t think surge pricing should be put anywhere near this problem and it’s certainly not economically efficient in the classic sense, that is creating the most economic output and benefit for the consumer.
The interesting thing is that like many people, they guessed that a lot of people would be contaminated during the 3-day weekend a week ago (great weather, cherry blossoms, and last carefree moments for people who will start their first job on April 1st). It's not innocent that Abe called for postponing the Olympics just before that weekend.
Koike could have asked the parks and popular venues (department stores) to be closed a week ago, but instead only asked people to refrain from going. What was poised to happen happened, and the number of infected people exploded half a week later.
Problem is you can't tell your speed in a tunnel. I propose training a ML model to be able to estimate the distance a camera moved between two input images. You could probably use google street view as training data. Then, instead of relying on fancy satellites, its just a few billion numerical calculations.
> This seems like a fool’s errand since it becomes a never ending adversarial AI arms race.

Mission accomplished? https://xkcd.com/810/
Have you seen the YouTube channel Ctrl Shift Face?

https://m.youtube.com/channel/UCKpH0CKltc73e4wh0_pgL3g/video...

Here’s a pretty well done one in which Bill Hader does impressions, during which his face is replaced with the one of the people he’s doing an impression of: https://m.youtube.com/watch?v=kjI-JaRWG7s
> Nice to know some countries give you the freedom to do stuff like that.

There is a good reason this is illegal in most of the world. Not sure why you don't put car safety as a priority? 40,000 people die every year in the US, and over 4 million are seriously injured.
Prop 13 strikes again. Due to it CA has wild revenue shifts.
I have seen this mentioned, but I'm honestly now sure why Canadians think this.

What special measures did Canada take early on? What makes Canada exceptional compared to the US who at least banned some flights?

The only difference is that the media doesn't absolutely despise Trudeau, but we're effectively the same. The US is actually surpassing us in testing at this point and some of our most populous provinces have multiple day backlogs in their testing. Our population isn't quite all Florida, but Vancouver very much acted like the Florida of Canada up until just recently. Sure, we can smugly point to our healthcare system, but our healthcare system hasn't scaled to anywhere the capacity the US has in regards to testing.

Don't get me wrong, I hope you're right, but I am not sure where the Canadian smug exceptionalism comes from in this case. From a policy perspective we're basically the same as the US.

I'm actually kind of worried we'll get it worst here because in January we were in active denial: "the real pandemic is racism" mode. In February we were shipping PPE from our own reserves to China to help them out. In March, we took the "enhanced" screening measure of giving travellers a pamphlet in the airport. We are so comically behind the curve that our only consolation price is to look at the worst of the US media for consolation that maybe we won't have it so bad.

It wasn't until the global markets took a nose dive that Canada really realized this might actually affect them.
This would've been a good idea before Chinese New Year for those coming from China but the Japanese government, in its infinite wisdom, didn't want to miss out on the money all those tourists bring.

At least they've done well suppressing the true number of cases until the Olympics was cancelled. Even if it should've been bloody obvious they have been lying, most of the rest of the world - as per usual - decided that the Japanese government is trustworthy because Japan football fans take their rubbish home, or anime, or some other nebulous reason.
The article is somewhat unclear but it says the new measures apply to foreign nationals. The part about Japanese nationals seems to refer to an earlier restriction (14 day self-quarantine).
Looking out for other cars?
You port the driver to Rust, obviously. Then run the driver in a docker container that communicates with a serverless unit testing framework written in node.js va JSON commands.
Anything is better than nothing and as far as the time frame goes... I'm sure they have bureaucracy like anybody else. Sometimes it takes time to get things done.
"No decision is the worst decision"
Some Todd & Claire site that appeared out of nowhere tried to frame Assange for being a pedophile while he was locked in an embassy, while you're at it.

You call that "Pizzagate," but none of the stuff claims anything about Clinton at all as far as I can see, it's just Alefantis' weird Instagram (and former business logos) or Podesta's odd taste in artwork and word choices, which are well-documented and archived, but certainly not proof that any of them engaged in anything like child exploitation. Additionally, many of the emails can be verified via DKIM and this has been done in an HN story from the time.
So, to put it bluntly, people are sitting on ass and their food crops are rotting in the field?

Even if you do nothing the market will probably fix it: Less food in the markets > high demand drives up prices > higher salaries > slightly lower prices

At some point some people are hungry enough to get a... shall we say... real job?

With some regulatory sanity we subsidize it a bit.

Perhaps we should test and quarantine the farm workers when money stops being an issue.
No, it only requires that one of the methods is slightly effective.
Doesn't the raspi eventually shit the SD card if you just drop power?
Increment date by 1 day in JavaScript
They aren't really meant for finding cause and effect, but for capturing relationships. They're basically user centered ontology tools and act like a memory of things that you've learned about that are complexly connected. They also act also tools for inductive analysis and thinking -- keep adding data points and connections and you might start to be able to find a pattern.

Some of the best tools also let you construct timelines of various types to try to induce cause and effect as well. Analyst Notebook (a competitor to Maltego) has an excellent piano-roll like timeline tool.