skysight-inc/HackerNews huggingface dataset:
I recently started working within a Python codebase, and one of the things I really like about it (not sure whether this is standard Python practice) is that most directories have a "common.py" file in them. So if you just want to put something somewhere real quick, you can elevate it to exactly the appropriate directory-level instead of going to a single, global "utils" file. It's a neat pattern.
Do you genuinely think if FAANG software engineers were to unionize, those companies would out of business with their huge cash reserves, or move to Mexico or outsource to Bangladesh?
I would agree with your concern about the possibility of hospitals being overwhelmed with no lockdown. But then again that has not happened in Sweden.

You mentioned being concerned with the caseload in states that are doing graduated openings. I was thinking of this mostly in terms of hospitals being overwhelmed.

Are you thinking we can eradicate this in the U.S. with a long term lockdown? I don't think that's possible anymore.
Consider me very regretful indeed. Most people who moan seem to have nothing to contribute, well I got it very wrong this time. Apologies to @JoshTriplett if you're reading this, and Ill check out your stuff tomorrow.

Ah shit, I recognise your name too. I've just been spanked by Dan Luu. This has not been a good night.
Given the number of patients, again this is a missed opportunity to give a decent answer (also it's open label as opposed to double blind).

The median time when HCQ was given was pretty late: 16.6 days, so probably too late (wasn't there another trial with the same result that did the same, albeit with less patients?). For a comparison, at least here in Italy some hospitals are giving HCQ immediately post-symptom onset.

Also this measured the time for a negative PCR test, which does not mean the virus has been cleared earlier (so far only a German preprint I read used an alternative: a combination of the PCR test + an additional PCR against some RNA intermediate that is only present when the virus is replicating in the host cell, an indication of active replication). It does however include the time to symptom clearance (which is important).

In the end, it is IMO yet another inconclusive find which will keep breeding the debate without giving a precise answer.

Remedisivir followed the same fate: smaller trials were unable to find any decent effect, it took the NIAID trial and 800+ enrolled people to determine efficacy.

The U of Minnesota trial probably will have enough power, but their PI on Twitter said that enrollment has faltered (probably due to the FDA non-recommendation on HCQ? This is just a guess, however, take it cum grano salis)
Everyone seems to like governor cuomo now. But with time, as people begin asking questions about why there was a crisis at this level for him to manage in the first place, I think that might change. Mayor Deblasio's legacy was rightly set when he went to the gym the day lockdown started - he'll never shake off his newfound reinforced reputation as a weak, arrogant, ineffective leader. But our governor also hedged and denied initially, refusing to close schools and the city, not acting more decisively even when cases ticked into the hundreds. He's learned his lesson now, and the federal government deserves it's fair share of blame, but it took too long to put science first here, and once things get out of control in NY, it's only a matter of time before things spread elsewhere.
You valued and knew to value a suit for your purposes in 1995. Most people now or in 1995 did not drive three hours to buy a suit. The number of jobs that require a suit for everyday use is definitely down vs 1995 and you can rent a suit (not vouching for fit here) if you need one for interviews which is the primary use for most people who do not wear one on a daily basis.

I'm not disagreeing with anything you said on making a good impression but that doesn't change anything on the fact that Neiman Marcus has never been for middle class shoppers. A one-off purchase does not make a customer base.
Oooh that looks like fun!
Good for you! Congratulations!

Most of us in Germany would also love to see this happen earlier.

Unfortunately the exit date is a political decision based upon the fact that the regions where jobs in coal would be lost are already tending towards a really really right party here and they are very much pro coal. So going faster is not really an option here since you can be sure that them winning, would revert those decisions very fast.

> Issues with storing nuclear waste are almost entirely (as far as I'm aware) idiot policy from past rushes to generate weapons material and NIMBY-ism.

Well that's not true. As most of the times when downplaying nuclear waste is concerned.

The last time we chose a nice salty mine to store the stuff, it started having holes here and there with a nice groundwater inflow that now needs to be pumped out and as always with nuclear power: in the end it's the taxpayer who needs to jump in and pay it all. Isn't that nice? All that money that could be invested into renewable energy, expanding grids and other nice things is now being wasted upon fixing errors from an era where everybody believed nuclear is the way to go.

Good we're past that now.

PS. that "nuclear vs. coal" story the nuclear lobby is pushing so much lately is an ignorant myth because of the reasons I've outlined above. Not a single coal plant would have been turned off if we'd left nuclear run on and ignored the environmentalists who are against nuclear AND coal in this country so there is absolutely no reason to build arguments based upon this myth.
I mean, I agree with all of this, Kuhn's version is some bullshit that should not be called science! But then does "real science" even exist? If yes, that really means we have never changed to a new paradigm? The second in particular is really hard to believe.
Ah, so the server that hosts the room is not fully authoritative and messages from participants are all signed by their respective server owners?

This makes sense. Thank you for explaining!
At risk of being a bit uncharitable here, I think you may be overstretching the implications of the incompleteness theorems here.

FWIW I think the usual presentations of the incompleteness theorems that talk about truth may it sound much more mysterious than it is (and lead people without a grounding in model theory very far astray). In fact I don't like to really talk to about truth or really even too much about proof since again they often lead people astray.

Here's the informal-ish presentation I prefer:

First incompleteness theorem: Given a formal system of axioms expressive enough to do arithmetic, there will always be theorems which are independent of these axioms, i.e. adding that theorem or its negation as a new axiom are both consistent with the other axioms (but of course not adding both at the same time).

Second incompleteness theorem: Assuming that system of axioms is itself consistent, one of those aforementioned independent theorems will always be the theorem "all previous axioms listed are consistent with each other."

Side note: a closer inspection of the second incompleteness theorem is perhaps slightly mind-bending. Note that we're talking independent here! That is the theorem "the previous axioms are inconsistent with each other" is also a valid axiom to add and results in a system of axioms that is consistent overall!
disclaimer: former uber engineer

we ran the numbers continually and like others mentioned, it was a no-brainer to build on-prem. that said, there are a few use cases where aws/gcp are a great fit. people selling cloud without putting in real engineering work to enterprises generally make my life harder than it already is.
What the author did was build a prototype to demonstrate and explore what was possible. That is exactly what engineers do when exploring a problem.
Heh. My website is drastically outdated (by a decade), but thank you nonetheless.
I'm so confused by this comment. You're saying there is some city planning problem unique to the United States, but also cities in Canada? Could you help me understand how some friction to building in Cincinatti is relevant to Toronto or San Francisco, when different laws and political bodies apply to all?
Ah, you're probably right. I'm sorry, I believe I misunderstood. Well it would be great to figure out a vaccine for HSV-1 and HSV-2.
Yeah, newsletters seem big these days so that could work.

Alternatively you could let users make profiles with their preferences for their ideal job (remote only, MEAN stack, >£80k, etc) and notify them when a matching ad appears, you could even charge for this. This strategy allows you to also charge employers to contact/see your users, I think Dribbble does this, so it might be worth taking a look there.

Good luck and let us know how it works out, I love hearing about stuff like that.
Show HN: Deepdesigns.ai – Design a unique face covering with deep learning
I guess my question is why. What makes it inevitable?
Long haul flights have free alcohol and what not, but a lot of low cost companies charge for anything they can.
True, but for a good reason. If you take out the economic engine of Germany, you’re done. They are the banking muscle of the EU, and once that goes, everything goes.
The worst part is when it's inconsistent.

Windows itself is an offender in that regard - e.g. the setting to select when updates are (and aren't) installed is a modal dialog that itself requires confirmation. And on top of that, it has two time pickers, each of which has separate scrolling columns for hours and minutes, but then you also have to press the "Confirm" button to actually apply changes after you scroll. And if you just click away to get back to the dialog, it 1) doesn't prompt to save changes, and 2) doesn't apply them.
I'm all for smart cities, just not ones built by advertising companies.
I've been issued MBPs at my past few jobs. On each of them "all day" is about five hours, tops. You must not be doing a heckin lot of dev work if you actually get all day out of a single charge of an MBP battery.
> I am very put off by this anti-China rhetoric. Everything that even has a remote connection to China is now under suspicion. This is madness.

Personally, I don't want companies even having development groups in China simply because I don't want China deriving any benefit from the outside world given their behavior over many things (Great Firewall, Hong Kong, Uyghurs, general human rights, covering up Covid-19 to start, etc.).

We are well past the point that "giving to China" will normalize them. Evidence shows that attitude has failed. It's time to treat them like the persona non grata that they deserve to be.

That's beside the security implications.
I'm delighted to see that they have a vulnerability disclosure program for the app too [1].

That's fairly rare for the public sector - the UK Gov and NCSC are really leading on this sort of stuff.

[1] https://github.com/nhsx/COVID-19-app-iOS-BETA/blob/master/SE...
Say you own three properties in Vancouver, best case you can only occupy one at a time since you are not a quantum entity from another dimension. The city could ask for proof of a tenant renting the unit, and if you fail to prove it, you then need to pay empty unit tax on 2/3 of your properties.

Someone being gone for a stint and leaving a single apartment unoccupied for a while might not be a big issue in the grand scheme of things, if most of the problem is from people who can afford several properties. If the city wanted to go after these sort of units, maybe they could pull utility data and see a drop off in use. I'm no plumber, but with Vancouver winters, maybe you do want to have your water service shut off if you will be gone long term? No one likes coming home to a house completely encased in ice inside and out.
Damn, this looks good! Thanks for the link!
Even conservative economists are more charitable and cogent in their critique of m4a than this comment is.
Oh he will burn out, eventually.
Amp Web Vitals: a better web together
What?

US States are

1) far more powerful than Canadian Provinces, to the extent that anything not explicitly delegated to the Federal government by the Constitution is left to the States (10th Amendment)

2) nearly every single state in the US has a GDP per capita on par with whole European nation-states, which is more than enough to fund a single-payer system
Yup, precisely. In Matrix, rooms are not hosted by any single server - instead, they're replicated over all participating servers, much like git. But you need to check the provenance of the original messages to stop spoofing, hence needing to go check signatures the first time you interact with messages from a given server. Once you're joined, things should be fast however.
Thinkpad range is great. But I made the mistake of getting one of Lenovo's desktop machines (Lenovo Yoga A940) to replace our dead iMac, and to give my daughter a system with a stylus etc. for doing artwork. On paper it looks good. In practice there's been issues. Bleed and dead pixels on the screen, occasional reliability issues. Didn't want to pour out the cash for the Surface all in one, but kinda wish I had.

Wish the Thinkpad quality would extend to their other products.
First park tickets are just part of the story they are also adjusting hotel room costs and occasionally offering ‘free’ meal plans. Those prices go up and down not just for the specific day, but also how far out your doing the booking. On top of that they do various partnerships and large group discounts to try and keep the parks filled.

Most of these are either seasonal events or have prices that shift in response to time of year or just demand. https://disneyworld.disney.go.com/events-tours/
I guess it's depends on the goal. If you're looking for people to celebrate, I agree with you.

If you're looking for people to learn from, then I think there's a case to look at people who achieved more than others who started with similar circumstances.
...can you elaborate?

I can tell you ALL about M4A vs private insurance, I currently work at a claims adjuster, and adjust claims myself.
Effective Communication in Distributed Times
Python 3.9 Release Schedule – Python.org
That is true, but it is not the whole answer, as rent increases even in cities where population is stagnant or decreasing.

But yes, Toronto needs more affordable high density rental housing, as well as much better transit.
Maybe he uses a script to make commits to give the appearance of working all the time.
How to stop the spread of fake news
I have seen this question come up a lot recently when food ordering apps are on hacker news (disclaimer: I work for one of "those companies").

My answer is this: Respectfully, if you think creating & running a platform like DoorDash is not that complicated, I say knock yourself out. Show us the low-fee, "non-exploitative", reliable, "OSS" solution. There's even white-label delivery platforms[1] (you bring your own fleet) that could get you started dispatching orders right away. To be honest I'm not sure what you mean by "OSS" here as the issue is not proprietary software but the digital and physical infrastructure, payment processing, fraud prevention, merchant recruitment etc. as well as the very large support staff.

I would love to see better and better solutions to the "convenient, cheap, fair-to-couriers, fair-to-restaurants food delivery challenge." I think you'll find it's a more difficult problem than it seems at first blush.

1: https://onfleet.com for example
كود فوغا كلوسيت
https://archivesspace.mit.edu/repositories/2/resources/1265

"Access to collections in the Department of Distinctive Collections is not authorization to publish. Separate written application for permission to publish must be made to Distinctive Collections. Copyright of some items in this collection may be held by respective creators, not by the creating office."

So, I don't know, does seem a bit on the legal edge?
Infocom wasn't founded until 1979 -- this source code is from an earlier version of the game which was widely distributed among PDP-10 systems.

The original authors might have a copyright claim, but it's not clear that Infocom (or its heirs) would.
English might be his/her second language.
Thank you for shining a light on the middle class income.
I really disagree with the idea that math uses greek letters just to make things less accessible. If you have a better symbol than the large S for an integral, or Sigma for sums, I'd love to hear it.
I believe you consider phone numbers pseudo-anonymous identifiers, which I believe Matrix names also qualify as.

Is there any technical reason why Matrix servers would have to store contact lists?

Both Signal and Matrix would have store message metadata to deliver it.

I searched for what the significant difference is, but could not come up with a good document to read.
Kind of funny that I got downvoted for saying downvotes help conversations go well online.
Document Your Tests · Homepage of Hynek Schlawack
Thank you. Seems like everything is pay-walled these days...
That’s the dumbest thing I ever heard. Not only it shows a complete lack of understanding about agriculture (e.g a cheeseburger sells $1 but just the water would cost more than that if not subsidized -> which leads to water waste which is scarce) but just think about it... agriculture itself is the original sin of humanity, which lead to the few great things that humanity built but also to the destruction of this planet and everything else

And you’d just accelerate that
A major west coast earthquake, probably.
At least in Switzerland, the government pays if you are paying more than 8% of your income, the government caps deductibles, and the government prohibits profit seeking for the basic plan. Very different from the US
I’ll bite, is it slack?
I think I have the same reading of the source that you do, but let me give a concrete example to see if we are in agreement.

Suppose you need to place an order to the order fulfillment system, but that requires data from the user preferences, product catalog, and geolocation services. A typical approach would be to have the order fulfillment system call those other systems to get the data it needs.

According to SCS, the UI would be responsible for fetching that data from the other systems, and would pass all of it as part of the payload to the order fulfillment service.

I think that's a perfectly reasonable approach, but I do have some questions/concerns:

- This would make the API for the order fulfillment system more complex

- I don't quite understand how integration would work at the UI level if each of these systems (fulfillment, preferences, etc.) have their own UIs. I'm not saying it's not possible, I just don't have enough client-side experience to fully visualize.

- it seems that some level of integration at the logic layer is inevitable. Consider an order fulfilmment system that needs to interact with a third party provider.
It's enterprise sales so every contract is assumed to be above $10k.

One $22k contract may a lot for the bonus basket of the person closing the sale, but it is not be much for the company as a whole compared to the 20 other contracts being negotiated and the 200 current enterprise customers, and it definitely means nothing for the product/marketing groups who won't see a dime.

That being said I absolutely agree that if a customer is willing to pay for something, it's a very clear indicator of interest and it should be investigated. Hope it is easy enough to add and it is useful for every other customer!
Well, in reality there wouldn't be one optimal product, there would be many, for the reason that you said -and for human reasons.

However they would still be able to borrow good bits from each other and gain insight on how things could be done differently, so arguably the end result would be a win. From a technical standpoint that is -I think where it gets messy is when we try to factor in the business implications.
Bjoern: Fast and Ultra-Lightweight HTTP/1.1 WSGI Server
Not sure the numbers bear that out:

https://www.prnewswire.com/news-releases/porsche-posts-recor...

https://www.cnbc.com/2020/01/13/lamborghinis-2019-sales-jump...

Anecdotally as well, Hermes does VERY brisk business by where I live (midwest), pre-COVID
California is short by millions of units. This number can be calculated. A cheap city example is Cleveland. The reason why it's so cheap? In 1960, 900,000 people lived there. Today, 400,000 people live there. The population of LA in 1960 was 2.4 million. Today, its over 4 million in the city proper. Units in LA are on the market for a weekend, you sign your lease on monday, and move in by thursday. In Cleveland, listings stay up for months. The result is that 600k buys you two bedrooms and a bath in LA, and six bedrooms and seven baths in Cleveland. It's a very basic supply and demand problem.
You put off learning Emacs partly because you learned Vim first. But why did you learn Vim first? Because people around you were already using Vim. Because Vim came preinstalled. Because Vim was quicker and easier to just edit a file.

Startup performance isn't about persuading fence sitters. It's about becoming the default, the option people pick without even knowing why they picked it.
Silverlight is where things have started to go downwards wrt long-term stability. But Win32, MFC, and WinForms are still very much alive and well. I mean, WinForms even got .NET Core treatment and high/dynamic DPI support.
Im pretty opposite to those folks. Still im not installing anything.
Yes, using epoll with nonblocking I/O is better than blocking I/O on each worker thread. But that basically means that you are doing asynchronous programming--i.e., the exact same thing that the wonky Python/Gunicorn stack you described is doing! You're just doing it with better attention to important details.

Here, to me, is the key item:

The "listener" thread owns all of the file descriptors (listeners and clients both), and manages a single epoll set to watch over them.

This is exactly what any async server does: it centralizes all the file descriptor management and handling in one place, and only uses workers (whether they are threads or "green threads" or whatever) to read from/write to fd's that are marked as ready in the epoll set.

For your case, unless I'm misreading something, what the workers are doing in between the read/write is CPU intensive (or at least it's CPU work and not I/O work, even though it's not very "intensive" CPU work), so actual OS threads are a better choice for the workers since you can't rely on cooperative scheduling.

If what the workers were doing was I/O work (for example, sending a request to a remote database and waiting for a response), "green threads" would work fine (since their only real purpose would be to organize the I/O--the actual fd's are going to be managed by the central server that manages all the fd's and checks which ones are ready for read/write). And one definitely should not try to run "green threads" for the same server in multiple O/S threads (or worse still, multiple OS processes). For an I/O bound server, one shouldn't need to anyway.
'press i and then basically everything works as you'd expect' is pretty simple; it's got a significantly-smaller barrier to entry than Emacs, and breaks fewer core-assumptions. Is that agreeable to you?

The thread on the mailing list was basically guesses as to why Emacs has lost popularity & methods of regaining it, and the lwn article is primarily focused on just relaying it. The thread itself doesn't point to all that much dysfunction, in my opinion.
I would tunnel the connection through SSH, which if is good for X sessions (and their keystrokes) I believe is good enough for this