skysight-inc/HackerNews huggingface dataset:
Amazon has prioritized shipping of vital and necessary items already worldwide, so they do know what qualify as such, let's not pretend it is an impossible task.

I also do not believe the french state would bother Amazon because Amazon included toilet paper in their list while it's not on France's list.
It's the complete inaction and not acting in good faith that has prompted the state to take action against them.
So folks instantly capitalize on that, by stiffing the landlord? It would never have occurred to me.

One I talked to was even militant about it. "I tried to call him to negotiate something, but he wouldn't answer his phone! So I sent a check for half, and wrote 'paid in full' on it!" Wow.
There are a couple of things:

1) most Americans can’t afford an unexpected $400 expense. This multi-month lockdown will be much more than that. I doubt landlords will simply forgive rent, so any Americans will owe several months of rent without any revenue. That will mean several months of no disposable income to go spend at a bar or a restaurant. That means small businesses like those will suffer longer than essential staples like grocery stores.

2) Travel And tourism are dead and will be dead until a vaccine is available. Are you going to risk getting sick in a foreign country, especially when travel insurance likely won’t cover pandemics anymore? Tourism is definitely a large source of revenue for bars and restaurants will be a huge impairment on revenues as well.

3) People aren’t necessarily going to come back to the same jobs post-coronavirus. They might flock to jobs that pay better or have better health benefits. There might be a significant delay in getting staff up and running or they may need to pay higher wages.

4) more to point 1, many people have multiple part time jobs to afford to live. Losing even one of those jobs will affect them deeply. If they can’t replace their income or get those same number of jobs post-coronavirus, their spending will also be curtailed.

All of these contribute to lower revenues for business owners once the economy “starts back up”. I don’t think it will be a fast recovery. A lot of people will be financially hurt for a while. Owners will need some very thick skin and deep pockets to wait out for revenues to come back. Some may see impaired revenues for months longer, which probably isn’t enough to keep the business afloat.
Been using this for a few days.

Would be nice to make use of the subject line more so I might not even have to open to email (yes more minimalist!)

e.g

DJ +0.22% | S&P +1.2% | ...
When you're developing, aren't you running a db server with a dev database for that? Just add another separate test db and use that for tests where appropriate.

Also, most unit tests don't need a db, it's more useful for integration tests.
Coincidentally, my whole team still uses Nvidia 3d Vision 2 at work, despite lack of support from Nvidia. One of the reasons I took the job is because I saw they were using it. Not having access to those systems is one of the hardships of working at home. https://www.jpl.nasa.gov/news/news.php?feature=7638&fbclid=I...
Same. I wish HN had a filter I could set up to hide entries form domains that do this. Won't catch one offs like this but I can add it along with NYT and other paywalls so I don't waste my time.
Relentlessly Resourceful
Cheops telescope begins study of far-off worlds
Most viruses will start very harmful but tend to mutate into less lethal stains causing them to spread further.

The Oxford study talks about the S and L strains. The L strain is the more deadly one, but it's likely not made it very far.
The last figures I heard put 2022 as a "worst-case scenario", but I haven't been following that side of things closely, so maybe you're right and it'll be another 2-3 years before we can return to normalcy. If that's the case, it'll be all the more imperative for us to switch to a model of supporting the needs of the people that's not reliant on doing work for money.

If we can provide enough PPE for essential workers for 6 months, I don't see any good reason why we couldn't provide enough for any arbitrary length of time. (This is assuming that those 6 months are going to be too long for existing stockpiles to supply to begin with, so we'll need to ramp up production.) Given that we can keep essential workers safe, and essential workers can keep producing what we need to keep the country running and people fed and safe, I'm certain there is a limit to how long we could continue to operate under social distancing, but I doubt that said limit is imposed by simple economics. It's much more likely to be related to infrastructure deterioration (unless we designate construction workers as "essential" and make sure they have appropriate PPE, which might require different standards)...and, of course, the original subject of this thread, the psychological toll the situation takes on everyone.

Because, again, our choices are not between "destroy the economy" and "people get kinda sick."

The real choices are between "change the economy" and "millions of people die." And, um, if millions of people die in the space of a few months, that's not exactly going to leave the economy feeling healthy. Not to mention the psychological toll that would take on everyone.
Right, but it isn't a random sampling of that population that ends up on ventilators. For men over 65 with hypertension, it's about 50% of those who test positive.

...so a targeted application of anti-virals is definitely worthwhile.
Things are costing more too. And there are extra purchases now. On the other hand, fewer opportunities for discretionary spending. Few are out buying lattes or seeing movies.

I guess we'll see.
I suspect the audience is people with a React site already but in that case I'd expect they already have a landing page.

These corporate sites are really the ones that should just be old fashioned HTML + CSS if possible.
>demand will still return and new businesses will come back

Elasticity.

The question is when. Is that a month from now, is that 4 months from now? How fast will new businesses be able open. How fast will existing businesses be able to expand into the demand. I think I great many people are thinking the systems are able to grow much faster than they will actually be able to. And this is also making the assumption that the demand will return. When 20% of your population is unemployed and not making an income at all, I don't see them buying much when the floodgates are opened.
Using React is really bad for your SEO. If you want to use React, use something like Nextjs or Gatsby to compile it into a static HTML website.
My front camera is doing the same thing!

I looked into it a bit, and found that this happens when a piece of dust gets into the lens, which steals the focusing of the camera, so it shakes because it oscillates focus from the field of view and the piece of dust. Sadly the camera module needs to be replaced, which can be purchased cheaply but medium tedious difficulty to replace - or pay to have it done not as cheaply.
That argument gets floated occasionally.

The utility of a unit test suite is roughly proportional to the amount of in-process computation you do. “Glue” systems which mostly transform from one protocol to another usually need more integration systems than unit, making skipping unit tests not disastrous.
People dying in care and nursing homes are not on ventilators. This may be a significant number of covid-19 deaths.

https://ltccovid.org/2020/04/12/mortality-associated-with-co...

> Key findings:

> Official data on the numbers of people affected by COVID-19 is not available in many countries

> Due to differences in testing availabilities and policies, and to different approaches to recording deaths, international comparisons are difficult

> Data from 3 epidemiological studies in the United States show that as many as half of people with COVID-19 infections in care homes were asymptomatic (or pre-symptomatic) at the time of testing

> Data from 5 European countries suggest that care home residents have so far accounted for between 42% and 57% of all deaths related to COVID-19.
Mirroring is the correct strategy. You either do something yourself or you let someone else do it.
I think the major miscalculation you’re making here is that business will magically return to these places as soon as things open back up.

People are not going to patronize restaurants and bars as long as the risk of infection remains high. If half of people stay home due to Covid and the other half don’t care, most businesses won’t be able to sustain. A quick recovery is completely dependent on full economic participation, particularly by those lucky enough to still have jobs.

The US still has no scalable testing system, despite being promised one over a month ago, and we still don’t yet know if Covid can reinfect people. Opening back up without testing puts small businesses at risk by asking them to start spending money to open back up with no guarantee business will come back. If that happens, the government will have more people to bail out.
There's a pretty good CppCon talk about how they made std::string suck less at facebook

https://youtu.be/kPR8h4-qZdk
I'm not expecting the US to rise to the lofty levels of the Faeroe Islands, but it seems to me that you're grading on an excessively lenient curve here. Germany is the 19th most populous country in the world, and of the top 19, only 3 are bona fide first world countries (the US, Japan, and Germany) , and even one of the marginal candidates (Russia) is beating the US in tests.

And it's not like Portugal, Italy, Spain, or the Czech Republic are particularly small or particularly wealthy.
Hospitals must secure vital back end networks before it's too late
All the ibuyer companies won't make it. Nationwide downturn in house prices and all the inventory these companies are holding are underwater. Zillow and Redfin are more than likely done. Zillow maybe holding 60,000 homes.

We never learn our lesson. GE was taken out by their financial division and high risk bets.
GitLab PM here - Agreed that is an important feature and one we have scheduled for milestone 13.1 which will be released in June 2020.

As a workaround, you can add your access token as an environment variable and use that to publish/install packages via CI/CD.

And if you are interested in contributing to GitLab that issue is a great way get started.
Ask HN: Did you apply for a US PPP loan?
What are you actually arguing about? Because in your original post you seem to be arguing that Amazon here in Europe is heads and shoulders above the competition while still being inferior to the US, implying that the e-commerce landscape here is dire.

My comment disagrees with that. To me, it's the other way around, Amazon has to do more than what they do in the US to compete over here.

So when I'm talking about getting relatively cheap next day delivery here, I'm talking about with any merchant, not just Amazon. That's why they have to offer more same-day delivery (than the US) to compete (and to justify the Prime subscription).
Intel Fixes High-Severity Flaws in NUC, Discontinues Buggy Compute Module
I understand from the perspective of competence why the US wasn’t able to freeze mortgages/rents and absorb payrolls as other countries have, but it really seems like they missed their shot to save Capitalism.

Millions upon millions of unemployed people, many watching their friends and family die from disease, a psychotic, entrenched politics, that caters primarily to corrupt elites...

Historically, things don’t go very well from here.
Launch HN: Fleetfn.com – Deploy your functions and run cold start to zero
Hello Hacker News! I'm Matuzalem Teles from Fleet (fleetfn.com). I'm building a platform to run serverless functions much faster than other VM-based platforms, specifically functions for Node.js.
In a quick overview it is a technology that uses Node.js (On future we plan to add support for WebAssembly) that is able to perform tenant functions side by side, using V8 Isolate but with the Node.js APIs available in context, doing this in isolation with memory and "dedicated vCPU". This allows us to provision functions with cold starts to almost zero and faster startup time. For more details fleetfn.com/docs/how-it-works.html.

The idea is to go beyond solving performance problems but providing tools that help to improve the experience of deployment and using microservices. Fleet delivers a platform with a deployment system, preview and deployment history, fast rollback, teams, secrets, metrics built in. We will jointly launch two products:

- Fleet TS: You can create rules to automate your deployments based on data from the network, for example by defining a number of successful requests or threshold of exception errors, Learn more fleetfn.com/traffic-shifting.

- Fleet VPF: A virtual private network of functions that communicate with each other only, allowing only some functions to be accessed by the outside world (fleetfn.com/vpf).

Cloudflare Workers that follow the same concept of V8 Isolate, they built on top of the V8 and it was designed for the edge, making it limited for some cases, such as memory, CPU. Differently we are doing that Fleet runs close to the regions of your servers and allowing configuration of memory and other resources.

We are still in private beta, we opened the early access and within a few weeks we will start sending out the invitations. I'm very excited to share this with all of you, after working on it for a few years. Thanks for reading about it. Please let me know your thoughts and questions in the comments.
Conversion cratered.
We'd love for you to try again. We do support using the job token with our NPM, Maven and Conan repositories. What do you currently use?
I have some devops work we could outsource, it isn't a lot but it is some things we critically need. Don't see anyway to contact you, if you are interested my email is in my profile and we can chat from there.
> Is the author suggesting I should spin up an entire instance of Oracle to run a single 50ms unit test?

So what we do where I work is for unit tests, we mock services and repositories, unit tests don't go anywhere near the database.

For integration tests, we use an in memory database.

BUT! Be careful before you embark down the path of running integration tests against a different database than the one you use when running the application. There are SO many pitfalls, nasty bugs, and other warts along that road. EntityFramework alone has quite some weirdness there. Expect these kinds of integration tests to cost a lot of developer effort to build and maintain. For us, it took months of effort to get these kinds of tests working usefully.

Personally after working on applications that have a solid test pyramid, I would recommend:

* Write unit tests as per the standard advice (bottom of pyramid kind of quantity), but try and keep it sane (don't go for 90% coverage just for the sake of hitting an arbitrary number; don't pointlessly unit test your framework/libraries/other dependencies)

* Write some integration tests where they really add value (interaction between 2 or a few complicated components in your system, for example places where the state of a component changes a lot depending on input from another component). Make sure when you start out writing an integration test that it doesn't turn into an "almost" end-to-end test along the way. They have a habit of doing this and it can really cost you later. Integration tests should still be focused.

* Write end-to-end tests that test as much of your system as possible, including a database (preferably the same vendor; one approach is to truncate all tables before each run). IME it is very good here to have one e2e test that covers a big chunk of functionality in one run, than lots of separate tests covering different things. Why? Because no matter how "different" the things being tested by the e2e test there will still be LOTS of overlap by its very nature, and changing anything where that overlap is will tend to break ALL your e2e tests. Not a fun workflow.

One last comment on E2E tests. This is more opinionated. But try and limit E2E tests to things that are really business critical (e.g. your "sign up" process and your "renew subscription" process, but not every single form in your dashboard). This is just a cost-benefit thing. E2E tests help, but they also slow you down, and the more you have, the more slowly you will be able to change your software. Sometimes minor bugs slipping through is an acceptable cost if it means you release 1 week sooner.
So, disclaimer: I'm about to focus on the finger instead of where it's pointing. Because that's what I feel like jabbering about right now. TFA isn't just about databases; it makes some interesting points on test practice in general, and is well worth a read.

Anyway,

A story I've seen all too often when mocking the database: A large development effort goes into creating test infrastructure. And then there end up being scads of bugs that weren't caught by the unit tests, because the test doubles for the database don't accurately emulate important behaviors and semantics of the real database.

This isn't just a problem with mocking, mind - it's also a problem I've seen (albeit less often) when using some other DBMS during testing because it's designed to operate in-memory.

Nowadays it's not too hard to configure a RAM disk for the DBMS to use. Especially if your test stack runs it in Docker. If you're having performance problems with your test suite, start there. You might never achieve the same run times as you could with mocking, but, if there's one thing they hammered on in my Six Sigma training that I wholeheartedly agree with, it's that you shouldn't sacrifice quality or correctness for the sake of speed.

It's also not too difficult (not any more difficult than going hog-wild with mocks, anyway) to set up a mechanism that uses transactions or cleanup scripts or similar to ensure test isolation, so I don't find that complaint to be particularly compelling. You can even parallelize your tests if you can set things up so that each test is isolated to its own database or schema.
Wait, Zillow owns homes?
Kernel vulnerabilities in Android devices using Qualcomm chips explored
Why not? It's the most popular UI framework. The second you start building a SAAS product on top of those pages, you're not going to want to be in vanilla land.
Spent 5 years in London. If found an average cafe/takeaway/pub (worked in one) is gonna be quite sad especially when compared the average with any other country (except Scandinavia).
That's not really what those people were saying.

It doesn't matter if the number is 5% with a low infection rate, or 0.5% with a very high infection rate: both will lead to very large numbers of dead people unless we take severe action early on.

And so far they've been right. Covid-19 is causing huge amounts of excess mortality, even when compared to a really bad flu year.
Using GNU assembly .inbbin is also quite flexible. And you can use .dc.* and .asciz and .byte to add arbitrary data inline.

Generating assembly files is my favorite way of including outside data into my C programs.
Oh come on. You know I am talking about the surge in that’s couple weeks.
You start paying someone's unemployment the second you hire them, because most states require unemployment insurance by law. You don't suddenly get a new bill when someone is let go, You've already paid.

https://smallbusiness.chron.com/employee-files-unemployment-...
IMHO, that's not how it works. For better or worse companies are reluctant to fire in good times. There's a lot of people employed at jobs that aren't really needed. Things like the project they got hired for was canceled and they were just stuck somewhere. Projects that accomplish their goal still tend to drag on adding inconsequential features. And, of course, there's just the slackers skating by.

When an economic crisis comes along they get canned and the business realizes that they weren't actually needed. When the good times come back they don't hire those employees back. They continue operating with a smaller staff and pocket the extra profit.
SentinelOne researcher trolled in new MBRLocker ransomware campaign
Our governor talks of opening restaurants with fewer tables. That's pretty much a no-go, they rely on filling all the tables and then its thin margins. Running half a restaurant with full overhead? Nope.
You’re getting downvoted but I fully agree. Most people are talking as if the virus will be gone in a month or so. The lockdowns are not going away. We are going to have new hotspots popping up every week once lockdowns start releasing.
Not the parent commenter, but.. Having only a superficial knowledge of Meteor, I prefer a more modular approach:

- React/Preact with context or hooks instead of Redux

- Micro for server - https://github.com/zeit/micro

- Postgres with Knex for data persistence - https://knexjs.org/

Add authentication, WebSockets, etc., and it starts to look like an ad-hoc framework - except that all layers are generic and replaceable (theoretically) with equivalent features, like using Express or MariaDB.

I'm also quite fond of Next.js, which lets me have all the above. https://nextjs.org/
Does this mean it's safer to authenticate using public-private keys (SSH) than passwords (SSH, HTTP)?
I can't tell if this is serious or satire, especially given the "English language" comparison. It's either a stupendous comment or just stupendously ignorant, and I can't seem to figure out which. Kudos, I guess? :o)
New York Streets Are Nearly Empty, but Speeding Tickets Have Doubled
Our experience with Indian firms during COVID has been rocky.

Most of the big firms (Tata, CTS, CapGemini) have big offices or call centers, with VPNs or private connections to western infrastructure -- otherwise you would have random Indian IPs logging into your systems, and that would make my security team lose their minds.

But with COVID they can't congregate in those offices, and the logistics of getting additional VPNs, working around geo-fencing, and the fact that some of the admins don't have internet at home means they're not able to support anything.

The handful of Filipino and Mexican offshore talent has been more successful in that regard. Mexican talent in particular has been pretty good -- more expensive than Indian hires, but generally more qualified with overlap of US timezones.
The fact that the master branch CI has a high rate of failure doesn't inspire confidence in the development process.
Thanks for this reminder. I wish I could view things in Gantt (rather than just calendar) format.
It seems like a pretty mature cross-platform library.

It could be their statement "folly requires gcc 5.1+" meant gcc 5.1 or greater, where clang might be greater?
Zoom-bombing disrupted a House Oversight Committee meeting
Well, first of all, I disagree vehemently with your premise (that government, as a concept, is incapable of responding effectively to a crisis). But that's another discussion for another day.

As far as specific powers the President has, there's one that's already been talked about quite a bit—the Defense Production Act. As I understand it, this grants the power to compel manufacturing companies to retool to produce what's needed in a time of crisis, and to take control of logistics to see them routed in an efficient manner to where they are most needed. As a matter of fact, Trump has already used this to order GM to produce ventilators (I think? maybe it was masks?).

As far as the logistics side goes, though, he's been using it solely to punish states whose governors don't lick his boots and reward those who do (eg, seizing shipments of protective equipment arriving at the port in NYC, sending them to FL instead).
This is amazing! I'm very jealous. I've wanted to get ahold of these to do the very same thing for a long, long time. I made do with a cheap hack instead:

https://drewdevault.com/2019/10/30/Line-printer-shell-hack.h...
Zoom to revamp bug bounty program, bring in more security experts
https://www.zillow.com/marketing/zillow-owned-homes/