skysight-inc/HackerNews huggingface dataset:
Ask HN: Food Delivery Queuing System [Caviar]
I work for a large restaurant group in NYC. 11 of our 12 locations have temporarily shuttered and we laid off 1200+ workers. One of our stores which has huge brand recognition in NY is doing extremely good business on delivery. There are challenges we're working through because we've never used Caviar at this particular store before. The way it works is:

1. Order gets placed by the customer online
2. The courier shows up with one or multiple orders but due to size and social distancing constraints, we have them wait outside.
3. We end up using a radio to call courier orders that were marked as ready by our team inside so that expediters can 'run' the food out to them. This creates some challenges because we end up having to repeat order #s nonstop and figure out which order is missing if an item is part of a larger multi-customer bundle.

What I am trying to accomplish:

1. Have a keypad and screen in which a courier arrives and inputs their order number outside as per social distancing/NYC law at this time
2. Have another screen for our expediters packing the orders to see the order # for couriers that are already outside waiting so they can pull and run the order out to them. The inside team expediting would then 'bump' the order so it disappears off the screen allowing them to focus on pulling and packing other orders for couriers waiting

One thing to note is that it is absolutely crucial we know this information considering how much volume we do so that we can send couriers on their way FAST – if we let them linger, it becomes a huge disorderly disturbance for neighbors leaving them quite upset.

I need to build something that would allow me to do this fairly quickly - any thoughts or suggestions off the shelf or someone willing to help program something for a restaurant group struggling to survive during the restaurant apocalypse?
Good guide to avoiding trolls. Golden rule: "A conversation is not a contest"

https://github.com/prettydiff/wisdom/blob/master/Avoiding_Tr...
Unnavigable. The image is not a map, the search expects exact year, and top links refer to papers and other items. Maybe I will wget for personal use.
When I read 1&2 I figure, ok, this commenter leads a peculiar life but it works for them.

#3 however had me laughing, and "at home = pants off" is a strange assumption to me. Do you have guests often? Need to answer the door? Visible to your neighbors from any of your windows?
>What is "Triple A CLO paper" you might ask? Well, it's any loan(s) made to a company with triple A credit

This is not exactly right. A CLO is a collateralized loan obligation. It's essentially a company that holds the loans of many other companies. Those companies may be highly or poorly rated.

The CLO finances it's loans by borrowing from investors (by issuing securities). The different securities take losses in different ways if the underlying loans go bad. One class of securities losses money as the loans go bad, then once they are wiped out, the next class takes losses and so on.

The last group to take losses is the triple-A CLO paper you referred to. It loses money only if >X% of the underlying loans in the company go bad, and thus is the most highly rated, assuming X is a sufficiently large number in relationship to the quality of the underlying loans.

Typical buyers of AAA CLO paper are insurance companies etc.

And yes, this is the very much like the structure that caused so much pain in the last crisis when it was filled with mortgages.
Arbidol is totally fake Russian medicine though, shame on China for falling for the scam.
It also contains one of the best, most poignant caricatures of American capitalism and mass culture.
so you'll give up your marginal 60% take?
Not to sound too harsh, but it's only "without malice" when you tell it like that. It's also the story of a company that couldn't survive paying market wages, and so colluded to rob employees of a fair wage. The owners and managers benefited, the workers did not.
Bailing companies out isn't capitalism.
Here's the problem with whiteboard interviewing. You can't see how I think. It's just not possible. I'm trapped in a box with a strange person who is staring at me & asking me really invasive questions. If you wanna know whether or not I know about optimistic locking, just ask me "do to know about optimistic locking well?". If I do, ask me an optimistic locking question of modest difficulty. If I don't, don't spend an hour trying to get me to move in that direction and see if I figure it out. I'm just gonna think you're trying to show off how smart and unprepared you were.
It's probably wise to take survivorship bias into account here. Also, I think the focus is on the wrong data point. Wouldn't it be better to look at hospitals with the best/fastest recovery rate? Or look at hospitals with the highest fatality rates to understand what specifically is causing that?
In my country the government has already instituted a few of these points with regards to the coronavirus crisis. For example, my business taxes that are due to be paid this month and in the near future are being deferred, and there are apparently government-guaranteed business loans on the way (a lot of promises, not yet clear how it’l work).

Maybe I am missing something, but it seems to me that things like deferring taxes due this month won’t do a lot to help me. These are taxes that are being paid on revenues I have already generated, and the text money is sitting in my account waiting to be extracted and paid. To me, that money is not ‘mine’ but it’s just sitting in my account waiting to be paid.

Am I meant to spend it to keep the economy going? The taxes aren’t cancelled, just deferred - I’m still going to owe the money in taxes eventually. If I spend it now, I’ll have to find it later again…

I’m not sure anyone (in my country or elsewhere) really understands right now the impact that this will have on the economy, or the best way to address it. Deferring taxes doesn’t seem to be useful to me, maybe it will be to others. Am. missing something? Maybe it is more useful for businesses with a precarious cashflow?
Sure, the regulatory regime needs to be relaxed to quickly bring on more manufacturing capacity. I believe it will be. Throwing it out entirely and allowing anybody to manufacture and sell medical devices from their garage is not going to happen.

That being said, auto manufacturers likely have no experience manufacturing these devices. The don't know which optimizations will be dangerous. They may not recognize they are doing anything different from an experienced manufacturer.

When quality breaks down, it will be important to have appropriate records to know which other devices are also defective so that they can be replaced, repaired, or used with appropriate caution. If manufacturing is still ongoing, corrective action in the manufacturing plant will be needed. GxP regulations require this type of record keeping for very good reason.

An experienced manufacturer will be needed to get manufacturing going and to supervise it to ensure it has an acceptable level of quality. Even if the experienced medical device manufacturer has legal indemnity, failures of the temporary factory could stain its reputation. I find it unlikely that any reputable medical device manufacturer would want to take on supervision of an inexperienced workforce in an unproven facility without the force of the regulation they are accustomed to as a means to force behavior that they know leads to predictable outcomes. Surely, experienced members of a quality organization and the FDA will figure out how to right-size some of the practices called for by regulation.
“Playboy magazine is closing down”

Oh FAP ..

> They are stopping the print version of the magazine, not digital.

Have you any idea just how difficult it is to get dried-in yogurt out of an iPad screen.
Pearl harbor is a bad example as harm prevention was carried out prior to the attack (2 missing aircraft carriers).
Wonderful. I'd rather have an unregulated ventilator and maybe live than no ventilator and die for sure.
Could use a list of steps and parts, including common substitutions (aquarium air pump).
China used alternative medicine to treat 96% of Covid-19 cases
I'm optimistic.

I think browsers will continue adding features until they become the inevitable end result, a portable operating system. Once browsers reach this point it will probably slow down and the next goal will be pulling it to pieces and making it modular so we can deploy whatever subset of browser we want for any given use case.
And we will probably all be using some "distro" of chromium.
Don't states have emergency budgets that become available during state of emergency?
And the ECB just announced more stimulus. The BoJ has gone further than anyone else by directly participating in the market by buying up japanese stocks for a few years now. The FED is probably signing up for a brokerage account at etrade right now.

For all the talk about capitalism, market economics and "something something bootstraps", the wealthy sure love being bailed out. But apparently, we are told it's for our benefit. Isn't that nice.

So is this the new normal? Continuous and neverending bailouts?

It was just 12 years ago that bernanke, paulson, etc justified the bailouts as once in a lifetime event. Are human lifetimes just 12 years now?
It couldn't have started months ago. If this happened mid-January, we'd have be deafened by the screeching of GM's shareholders, angrily rubbing their antennae together. The only time something like this can happen is when people have woken up to the crisis.
Late 2018* iPad Pro. Apple didn’t release an iPad Pro in 2019.
Stop doing it in the first place?
I felt really bad about ordinary people that got clobberd and then just left to fend for themselves. Ordinary people don't buy houses as 'prudent investments'. They do it because that's where they are in life.
Right now, stuffing it under your mattress is probably at least reasonable.
On my 2017 with Catalina there is an animation that occurs to show the volume slider. Any sliding of your finger that occurs before the animation completes is definitively ignored. Additionally, there is a significant delay before the animation even starts.

I just timed it at ~580 milliseconds, more than half a second from finger hitting the bar to the time when it stops ignoring touch input. It's easy to slide your finger more than the entire length of the volume bar in that time. It's absurdly bad. It would be weird and pretty lame if they fixed this only on newer models.
As a consumer, how do you know which ones are to trust and which ones to not?

How do you know that your N95 mask is “fine”? Ultra fine submicron particles in your lungs can lead to a lot of problems. These fibers are essentially plastic.
My version isn't as dependent on nonstandard extensions.
I still do think hospitals can benefit from this material. The issue I'm having right now is relaying this information to the right people. Also, living in a non-English speaking country, I have no idea if health professionals are having problems with the language barrier regarding getting themselves informed with the latest insights about covid-19. Plus, a great deal of people are playing it off.
Buy call options on volatility ETFs like UVXY or VXX.
I am a software engineer and I work remotely for a US company. We are in telecommunications and our main products are callback service and scheduling a callback over phone or messaging.
Over the couple of weeks we have started seeing some interest from big companies in healthcare and insurance that want to use our products for their customer support during COVID-19 outbreak. So for us it's more job opportunities there.
Class of 2020 checking in. Finishing up my degree. I’m pretty worried. I don’t have something lined up yet, but am actively interviewing with companies. (Over webcam and phone, lately) Was previously feeling good about my odds, but now I really don’t know. It feels out of my control.

No idea what’s happening with my classes or grades either. Haven’t heard from any of my professors yet, and I can’t imagine the transition to online going smoothly. I just hope to god I can still graduate at all this semester.

Also found out today I probably need to move out of campus housing by the end of the month, so that’s fun. “Probably” because I guess it’s determined on a case-by-case basis and there’s no details yet about what that means.
Author of the library here; AMA.
This is a kneejerk reaction from Yelp that will hurt their hiring efforts in the future as they cease to be a reliable option for good candidates. It would not have been difficult for them to ask the interns to work remotely, maybe even reduce stipends if they’re hurting for cash. But canceling internships at this point deeply hurts these candidates’ prospects. Anyone job hunting and in a position to pick and choose should withdraw their job applications from Yelp and let them know why.
got to socialize those loses!
Tesla factory operates at 1/4 workforce after negotiation with Sheriff's Office
So in short: if you are being truly logical, every statement of fact is just a statement of belief, it seems.
> That being said, auto manufacturers likely have no experience manufacturing these devices. The don't know which optimizations will be dangerous. They may not recognize they are doing anything different from an experienced manufacturer.

Given that this is a crisis, the existing ventilator manufactures need to send over a couple experienced ventilator engineers to help.
Might be useful to cluster the papers into various topics. For e.g. a person interested in drug discovery needs a different (biochem biased) set of papers than one doing vaccine development (immunology biased). *(caveat obvious overlaps)
I wrote on reddit[1] about why I prefer this over c++:

> It's not a technical problem, but a social problem. Yes, I would definitely prefer the c++ RAII (and refcounts would be nice too). If you say 'my project is in c++', that sends a certain message to prospective contributors, about what your priorities and ideals are. It can attract certain kinds of contributors and discourage others. Then you have the problem of how to define your subset of c++. It's easy to say 'no exceptions, no RTTI, no STL'. But there are subtler things. As you mention, templates are occasionally useful. But sometimes they're completely superfluous. Do you allow virtual functions? Multiple inheritance? The answer is almost invariably 'maybe'; you have to exercise taste. I can do that by myself, for my own project. But if I want to be able to accept contributions from others, I need a clearer set of contribution guidelines than 'wherever my whimsy takes me', and for such a purpose 'whatever the c compiler accepts' is the best I can do.

> Also, tcc is about 10x faster than gcc and clang, which makes development a joy.

1: https://www.reddit.com/r/programming/comments/f4gb6n/i_made_...
Update: It's a weird hybrid and airborne precautions are probably a good idea anyway.
Isn't it stunning that even three months ago, no one in the federal disaster preparation programs thought about supply chains for masks?

I simply don't know how to process the news that we both waste $1 trillion dollars per year on our military, and we haven't built a $5m (or hell, $50m) machine that can allow us to totally source N95 masks from the raw materials up. Does Walmart seriously think more deeply about supply chains than our disaster prep and military?
Yes will do! It's easy to manage this via FB due to the sheer volume of people across the globe on there.
This is easily resolved by setting the price of ventilators as part of Title IV of the Defense Production Act (I would imagine)
https://fas.org/sgp/crs/natsec/RS20587.pdf
Raku has something similar.
Tbh, I only ever see up arrows beside a comment, Today I learned downvoting is possible.

What are the conditions on being able to downvote ?
I'm not sure what the cost would be to have ES/Solr hosted (is there a free option?).

I'm too poor/cheap to do so, if it were up to me I'd set this up with a static js page that uses something similar in the browser (eg. lunr js) and allows you to download that dataset on the spot.
Yes. Another way of looking at it is that there are no first principles.
What I discovered, decades ago, was that posting questions, or even better, answers, even wrong ones (unintentionally) is a phenomenal way to learn things.

That still holds true. Though it helps profoundly to not insist on being wrong.

Which I try to do. Not always successfully.
Whoever thought that running your healthcare system in a commercial fashion was the right idea in the first place? A lot of fundamental decisions are going to be re-thought in the aftermath of this virus' impact, but for now we can ignore all that and focus on what matters: eradicating the thing. And if GM making ventilators on a war footing is what it takes I'm all for it, let's divert some of those funds to them and give the hospitals what they need.
>Deploy app servers close to your users

Except if they're in North Asia or Africa
https://www.navsea.navy.mil/Home/Shipyards/Norfolk/Departmen...
One point: cut down on time, errors and possibility of infections and have a camera scan a QR code with the order number instead of the couriers using a keypad
Mary Barra volunteered in a meeting. That's why GM's getting the press. Later on in the article it mentions other manufacturers currently working to do this in Britain.
I first heard the song "We Did It Before and We Can Do It Again" on some old Looney Tunes.

https://www.youtube.com/watch?v=veYIbxaU0A8
And open source all their blueprints, schematics and software.

Getting a supply chain for parts up and running is going to be the tricky part.
Yes, I think most folks here know what a back run is. The FDIC was instituted after the Depression specifically to limit the damage caused by bank runs.
I think we all know why he's getting downvoted but it's against the rules to talk about it.
From what I heard, they only put the number of shares and an estimated value in the offer letter, so that amount is only accurate at the time they give the offer - since Lyft's shares have dropped in value it's probably worth significantly less now. Some companies give refreshers to compensate, but not sure if Lyft does.
Just curious - why didn’t they test the probe in different types of soils here on earth to see if it would get stuck? Or may be the article is twisting the actual reason? The article just says “It got stuck because the soil was clumpier than expected”. That can’t be the reason otherwise NASA would have tested it.
Did no one bother to actually read the article? It says that there can potentially be a shortage but that there isn't currently.

The fed has 13000 and the military an extra 2000. It currently seems more hamstrung by bureaucracy or lack of information. Hospitals have to request their state governments which have to then request them from the federal government. Only one state has requested them so far.

"“We have received, so far, only, I think, one request for just several ventilators,” he said. In contrast to Fauci’s disclosure that the stockpile contains nearly 13,000, Azar said the number was not disclosed for national security reasons."
And to make things worse, the ratings were manipulated the last go around.
Does WHO provide an API or do you scrape web site yourself?
In any case the data doesn't seem to be updated in real time.
I also developed a dashboard myself using Wolrdometer as data sources which is updated every 10 min: https://coronavirus.gg/
The only reason this is needed is because something was messed up with the core functionality. Same thing could happen with an API.

The focus on stability for now makes sense with a lot of people going remote.
It protects the manufacturer against ramping up supply only for demand to suddenly disappear.
In some cases, it's complicated, yada yada. I'm certainly no expert on state-level budgeting in the US. In the case of NY specifically, I know it's been reported that Cuomo specifically asked the federal government for help getting ventilators and was rebuffed.
System Design Interviews – 101
Yes and no, some states are constantly on the border of being insolvent. California has a big 'rainy day fund' but this recession is projected to eat into a significant chunk of it. The way hospitals are funded and administered may make it tricky for a state to buy a bunch of ventilators with state funds and then donate them to a hospital... if you "lend" them then after the crisis the state owns a bunch of used ventilators it needs to offload.
Hey, it'll make gold worth "more" :)
> When I read 1&2 I figure, ok, this commenter leads a peculiar life but it works for them.

What's peculiar about 1&2? No shoes is normal for clean homes, and I'm in a warm climate so socks aren't really needed. It's not unusual for a tub+shower to have a handheld sprayer for spot rinsing, it's very useful for washing the facilities too.

> Do you have guests often? Need to answer the door? Visible to your neighbors from any of your windows?

I still wear a t-shirt most of the time unless it's hot. When guests are around I just throw on swim trunks over the boxers out of respect, that doesn't complicate dropping trou in any way; they come down and go back on together as a unit. Same for answering the door, throw on swim trunks beforehand...

I'm on acres of land, the nearest neighbors neither matter nor care about what's going on in my home.
Cloud based Booking system hits the market
Booksome is a service to accept and manage bookings for your business.

Booksome is a cloud-based booking system for customers to quickly and easily book appointments with businesses.

Get rid of clumsy diaries and appointment books

. Synchronise all stores’ appointments

. All bookings are kept in a single place in the cloud which makes it easy to confirm and make appointments

. Customers can manage their own bookings and receive email alerts and reminders

Booksome uses a stored-based subscription model so it is easy to keep costs down while providing a great service for customers.

Find out more at https://www.booksome.com.au
When I interview I usually offer a whiteboard or paper and pen. Or they can talk through the problem. I just want to see that somebody is capable of understanding a problem and has a way to work towards a solution. Maybe I should offer a text editor too in the future.
I have a few apps that I host with a cloud provider (scalingo.com) and initially I can cover the costs. If there’s a lot of traffic because it proves to be helpful there are a few groups I could ask to help with some funding.

For now I’m building a custom index with mongoDB - if anyone is familiar with building ES queries, would be keen to chat about how that might be better.

I'll post a link here later today.
We live in a world where any 1 man startup thinks and their investors hope they will have 10k employees by year end. Therefore, if you are going to be burning money anyway, what's another line item on the monthly outflow if it means you don't have to spend 3 months hiring someone to toil in the server room and a couple months ordering and assembling your farm that might crash the day your startup gets linked on hacker news.

There are technical reasons for this, being able to handle sudden load, but mostly it's for ideological reasons. We aren't building companies, we are building stock pumps guised as the utopian future. If you are wondering what a blue chip company looks like in tech, they are the ones that own their own infrastructure.

Maybe there is a middle road for cash poor companies, where you keep latent demand in house for the sake of cost and sense, but have some sort of insurance policy with a cloud service to step in if demand surges.
Stopping Time: An Approach to Pandemics?