skysight-inc/HackerNews huggingface dataset:
Well put...

I find your first example "stays in key" if you will. Or literally, with the subject.

However, in the context of getting shit done, I'm thinking active is generally best.
Anecdotally, traffic on the main street by my home looks normal, judging by what I can see out my window in SF. Had a motorcade go by just now but apart from that.
Wow, I've just woken up to a bunch of new comments. Thanks everyone!
In your estimation, where should the homeless confine themselves?
SF is getting trailers, but not sure where they intend to put them.
Pay for engineers in Europe is abysmal for programmers. And not just absolutely, also relatively to the rest of European professions. In contrast, the United States has extremely high compensation for programmers with respect to other careers. Status is about money. And Europe doesn’t pay technical workers and by and large sees no reason to.
It’s surprising how many albums are made in home studios these days. Most of David Byrne’s stuff, Jagged Little Pill...
> that admonition is everywhere

Generally speaking, I think it's because this advice is very easy to remember and repeat. Passive voice is easy to spot. Someone reading to look for errors can easily go "Aha! You did a naughty here." because they were once told that "passive = bad".
Fortunately we're reacting ahead of time. Universities, rec centers, and public facilities are shutting down. We are also in the process of setting up a Korean-style drive through testing lab.

Hopefully we can keep it out of the nursing homes.........
Why did you leave out DigitalOcean and Terraform?
Another important one:

> Under the order, residents will still be allowed to take a walk, exercise or take a pet out to use the bathroom as long as people remain at least six-feet away from others who are not a member of their own household.
(A bit off topic) The current situation is a good argument for owning a car.

I don't own a car -- I take the subway to work (about 25 minutes each way). But it seems dumb to use the subway at this time, which means I have to work from home. If I had a car, I'd feel safe commuting.
Related SIR model: COVID-19 Hospital Impact Model for Epidemics from the Predictive Healthcare team at Penn Medicine (press release): http://predictivehealthcare.pennmedicine.org/2020/03/14/acco...

This one was made for hospital administrators and also estimates loads on their rooms and ventilators.
Pro mixers generally finish in a day or maybe two, which is why producers choose them.
I stopped commuting across the border just a little while back. For years I'd crossed it every day.

I feel like I just slid under the door in Raiders of the Lost Ark.
> The biggest concern, in my opinion, would be people who try to come to Canada in the hopes that they can get sick here and recover somewhere that isn't going to bankrupt them as a result.

do canadian hospitals not send foreigners a bill?

it seems like this sort of issue would've come up long before now.
Against Service Layers in Django
minor nitpick, "being the primary sovereign entities" is de jure. De facto, the primary sovereign entity has become the federal government.

That said I completely agree that it's a wonderful thing that these things are happening at the local (not even state) level. That's the most sensible thing, really.

Other things, like disease spread tracking, should probably happen at the federal level. But absent a missing amendment that I don't know about legally (A pity, the framers didn't know about disease theory) there's no clear mandate for that, which contributes to the ambiguity of what the feds should or shouldn't do about this, which becomes a matter of judgement, and there are certainly pros and cons to both stances.
I think your argument is largely orthogonal to mine. The virus is simply acting as a catalyst to expose the shaky underpinnings we already have. I think the impact is going to be massive, but the virus is more like the snowball getting pushed off the top of the mountain, not the avalanche that ensues.

If the middle class was on stable footing right now, lack of spending and consequently revenues wouldn't experience such a huge shock. It's a house of cards.

If you think that speculation, debt, and interest rates aren't capable of causing a system wide collapse with far reaching effects, I'll go ahead and refer you to the 2008 crisis.
This reddit comment has a good overview of the history:

https://old.reddit.com/r/csharp/comments/f9i9hc/which_one_is...
What exactly do you mean by Win32? GDI?
Under certain conditions, can eclipse the the Sun. "Eclipse" ... now there is a name I haven't heard in a long time.

But can you make a cool logo out of "Moon"?
> We had issues with a lot of payments failing with "no not honor". It was the same with other providers and did turn out to be the banks

Useful info, thanks for sharing! We've also been getting some "do not honors" and have been wondering if we might see better results with other processors.
The github initial commit was 16 months ago.

From github...

The Windows UI Library (WinUI) provides official native Microsoft UI controls and features for Windows UWP apps.

WinUI is the easiest way to build great Fluent Design experiences for Windows.

WinUI can be used in any Windows 10 UWP XAML app, or in a Xamarin.Forms app running on Windows 10 using native view embedding.
Well it seems a rather "socialist" a.k.a "handouts" or "welfare" which is an anathema in GOP circles.

Perhaps they should do some mental gymnastics and rebrand it as "US Families First Aid".
Is deno debugging there yet?
You create ticket creation points and start raking in the $$$. People will get the hint soon enough.
Serendipity is a critical part of progress and discovery.
A limited list of inventions that occurred due to serendipity:

https://en.wikipedia.org/wiki/Serendipity#Inventions
To be clear that's not what I am arguing here, I agree that package registries should, ideally, be owned and supported by the community. However NPM already had fairly significnat VC investment and as such any transition to a community supported model would be challenging.

The acquisition can be a good outcome for the current situation without it being the ideal state of things.
Not quite a full lockdown, grocery stores, pharmacies, etc are all open, restaurants can be open for takeout, etc, but certainly a big change up from business as usual.

Other discussion:
https://news.ycombinator.com/item?id=22596539
If people see precarious economic conditions, they tend to save more. By having a semblance of a safety net, they're hopefully able to continue similar consumption habits. It's likely that the supply shock were seeing today will die down in a few weeks, which is when this would start to help.
Two Techniques to Help You Instantly Bounce Back from Life’s Setbacks
Cool, I can still fly away in a plane :)
What about delivery services? That's how a lot of people have been getting food and other goods lately.
Embrace, Extend, and Extinguish:

> "Embrace, extend, and extinguish" (EEE), also known as "embrace, extend, and exterminate",is a phrase that the U.S. Department of Justice found was used internally by Microsoft to describe its strategy for entering product categories involving widely used standards, extending those standards with proprietary capabilities, and then using those differences in order to strongly disadvantage its competitors.

https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...
Edit: This person isn't being a dick, they specified below.

Don't be a dick, the homeless are going to be affected by this in a major way, probably many more deaths than the general population.
Yes, almost all current interpreters and compilers do materialize the results and making whole passes through the array in such a case. In practice, since the primitives (e.g. “=“) are implemented in tight, predictable, branch free, often SIMD code, it ends up faster than the obvious branching C-like routine despite the interpreter overhead - especially since any strung under 16K is essentially guaranteed to be in L1 for the 2nd pass (and even if it’s not - it’s predictable linear prefetched access even in the first pass, almost as good).

When was the last time you wrote prefetching branchless SIMD code for any task other than your inner loop? In APL/K you pay interpreter and GC overhead, but often get those perks for your whole program “for free”.

Indeed, k/APl make use of your visual pattern matching in ways that no other language does (or can, with standard practices, due to code density). Some APl compilers identify idioms and replace them with a faster implementation (e.g. sum which is +/ is done by essentially all, more complicated things like “average” by some); but the cognitive load is independent of that - you don’t need a manual because a semantically equivalent implementation is in front of your eyes.
It's not "full lockdown", there is one step greater, if I understand correctly. "Full lockdown" requires you to have explicit permission to leave your home, right now you can leave your home to meet basic needs, take a walk, get exercise, et cetera
I just upvoted you as I didn't see a problem with what you said, but asking people to tell you why they downvoted around here seems a losing battle. I've asked often enough without response.
Cloudflare's blog posts about COVID-19 impact on the internet is a good starting place:
https://blog.cloudflare.com/cloudflare-during-the-coronaviru... and https://blog.cloudflare.com/covid-19-impacts-on-internet-tra...
But wouldn’t going into the office also be less than ideal here?
If you didn't already need it before this went down, a car is an awfully expensive item to have just for a black swan event like this.
Call to Action to the Tech Community on New Machine Readable Covid-19 Dataset
Reread that, it's not public safety in general, but public safety due to invasion or rebellion.
Microsoft bought Github less than 2 years ago.
What does PMs mean?

Also it doesn't make sense to me that "we should leave masks for doctors", as experts and media are saying. The masks sold in the grocery stores and pharmacies are surgical masks.

Surgical masks prevent the wearer from spreading the virus...

Doctors and nurses should have N95 masks, which prevent the wearer from obtaining the virus...

I agree something is better than nothing, but if doctors and nurses are treating infected patients, surgical masks do nothing for them!

In an ideal world, IMHO - we common folks wear surgical masks to contain the spread. Hospital staff wear N95 to prevent them from getting sick.

The sooner we realize this fact - the sooner we can massively produce masks and get people to wear them when going out.
Microsoft acquired GitHub.

https://news.microsoft.com/2018/06/04/microsoft-to-acquire-g...
Can someone please flag this? IMO this comment is pretty insensitive and disrespectful.
Indeed, public transportation is the worst option when it comes to sanitation.
I was referring to commercial trucks, in line with the above commenters mention of Brazillian truck underride guards, which also are required in the US. Commercial trucks all around the world have a high profile.

The only thing in the US that is different is that passenger vehicles don't have as strict of pedestrian standards as the EU.

I'm just saying: a semi and a lorry have the same pedestrian-unfriendly profile.
One thing that has become very clear in this crisis is how little the anglosphere media is willing to actually read Italian material. 65m people, EU founder, a culture that influences most of the Western world, the seat of Catholic heads, an industrial heritage with peaks of excellence - and nobody cares to learn enough Italian even to read simple newspaper articles. What a shame.
I don't think we dealing with either Rebellion or Invasion
Embrace, extend, and extinguish

https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...
> Laws should be black and white

Laws are almost never black and white when put into practice, because that's not justice. There are plenty of times extenuating circumstances change how laws are applied by judges and by juries, and that's how it should be, because the law can never accurately portray every possible situation in real life, even if the lawmakers would have wanted an exception for that circumstance. That's why there's talk about the "spirit of the law", which is meant to convey what the law attempts to do.

> I get that the law puts the onus on companies to verify compliance and that creates an incentive for companies to draw an artificially strict rule of their own.

As soon as you shift responsibility to a company, they are going to do the thing that's best for them, whether that be thr cheapest, easiest to defend, or best to drive more business. That's their incentive structure, they will apply that to anything they are told to do. No point in us getting mad about it, if we don't want that incentive applied to the problem, don't make companies responsible for it (there are other solutions, such as implementing a tax that's used by third partied for reviewing cases, or any number of other things).

> When you're the police you don't get to hide the evidence or the charge against the person you've arrested at least in free countries.

You don't when there's a court. But without a requirement for a court, sure you do. If it's not a court, such as with state and federal fines, I think often it's down to whether the statutes give you ways to dispute something, and otherwise if it somehow infringes on your rights. I'm not sure being told you aren't allowed to use a company's service infringes on your rights, as they generally reserve the right to refuse service.
Yeah, these are unenforced “voluntary guidelines”.
First, there was Win32. That is still supported, and works reliably. It's a plain C interface, and it works on all versions of Windows. You have to do your own anchoring logic (ie all controls are positioned like HTML 'absolute'), and lots of stuff yourself, but it works, it's fast, and the docs are good.

Then, in 2000, Microsoft gave us .NET and WinForms, and we all thought that we'd be cross-compiling our C++ apps so that they ran inside of the hybrid native/.NET compiler called C++/CLR, so that we could take advantage of this improved UI toolkit. From C#, WinForms worked great. From C++, not so. But we thought that maybe we could write our GUI in C#, and interface to C++ for the heavy lifting/legacy code. I tried it a bit, and it was doable, but it ended up being very clunky to have this giant divide between the .NET world and the native C++ world.

Fast forward a couple of years, and Microsoft started talking up XAML, and it's native Windows Desktop incarnation called WPF. It had a browser sibling, which was Silverlight. This was a completely different to WinForms, and it was the future of Windows UIs. I tried it a bit. It made your app startup slowly, because it was now a .NET app. There were some interop issues between plain old C++ code, and C++/CLR, but it was OK.

Not long after that, Microsoft started talking about Windows 8, UWP, and Windows on ARM, and that's kind of where I lost track. With Windows 8, there were going to be a variety of ways that you could build desktop GUIs. Some of them seemed to be inherited from XAML. But now, instead of C++/CLR, you would use some kind of COM 2.0 thing. So you didn't need to build a hybrid .NET app, but the API wasn't great. In addition, Microsoft supported some kind of HTML-based app - which was some kind of thing inspired by Electron... but running on the IE engine instead of Chromium.

And now... this.

I don't know what most people ship these days, when they build Windows UIs. It's a mix of Electron (eg Slack, VS Code), as well as QT, and good ol' Win32, that we've had since the 90s.

So this is why people are tired. Microsoft keeps shipping yet another UI framework - and the people have stopped believing that they can invest in this thing, which is inevitably going to be replaced by yet another thing in 3 years time.

If you stick to plain ol' Win32, you can be pretty sure your app will be trivial to compile and run for decades, so that's what I do for little Win32 UIs.
1) Interesting note, I hadn't thought much about it - I don't know much about labels, the only one I follow is 4AD and what they post, I listen to. However, they're not that talked about.

2) I'll have to look into these - thanks for telling me!

3) Unfortunately I think playing simple chords in a band, when you and the two other musicians are 17, doesn't really qualify as being quite the musician ahaha thank you still!
or just practically speaking, if they catch you out and about, how do they know you're not on your way to the grocery store?
Let people tint their windows. Problem solved. My suggestions it to just drive extremely slow so the person passes by you.
More reasonable stuff is coming out of Trump now. This is encouraging.

Amusingly, this morning, there was zero Trump content on the Fox News home page. All epidemic info was from more reliable sources. The story behind that must be interesting.
The cops would need a calibrated tool to test headlight emissions. The manufacturer would have to be able to provide a theory of operation and other documentation, and be able to support cops who have to testify in court over the fines.

This is all possible, and actually I would love to build something like this for the police so that I can stop people from blinding me while I'm driving.
In many places you could use a bike (the appeal and safety level depends a lot on where you live).
> Since when has technical superiority ever determined which product wins in the marketplace?

Good point.
so I take it the battery is user replacable? That's my worry with most of these electronics, the product can be fine, but if the battery is welded in place, then it becomes a huge PITA to replace.
Corona Is Slowing Down, Humanity Will Survive, Says Biophysicist Michael Levitt
Software Product Development in a Time of Pandemic
Yes, you're forgetting Win32, which of course was an extension of the original Windows 16-bit API which I'm not sure had its own name.
Given the run on toilet paper, a better black swan hedge seems to be Shitcoin!
I bet it will be abandonware by 2023.
I have to work with WPF on a daily basis. What a nightmare, and how I miss working with Qt. I wish the people responsible for WPF were forced to use it for the rest of their lives.
The grid layout is broken. The stackpanel is broken. There are no sane defaults for anything. You can rotate any control - WHY? Default stackpanel has no control spacing. WPF code throws no exceptions. Bound comboboxes in datagrids have the performance of glaciers. Keyboard shortcuts trigger the decades-old 'edit field contents only transfer on killfocus' bug. Parent-windows and always-on-top is a mess.
Live dom is different from your static hierarchy.
I've waited for fixes to the WPF mess since.. 2007?
I sense WinUI isn't it.
Not for Javascript it doesn't.

Plus because it's tied to the OS and the phone determines the maximum OS you end up with a bunch of users stuck on ancient and buggy versions.

This is to say nothing about the remote debugger purposefully locking you out of older versions for no reason to make debugging them harder.
Take a break, take care of yourself. Be careful with energy levels and then you will know when is the right time and what you want to do.
While that speculation is plausible, it could also be explained by exhaustion and stress of being overworked well into their illness.
I don't think the main use case for service layers is to be able to some day replace the ORM, but instead to have a place to put logic that should happen in your application despite a record is created or not.

For example, suppose you want to index in ElasticSearch a blog post on creation, but only if it's state is published and after doing this, then send an email to all your users, etc. Where would you put all of this logic? Models can get pretty big even if only they have to call other modules for performing these operations.
Show HN: Across – Supercharge your customer experience in Slack
Hi HN!

We're Parthi and Kunal from Across (https://acrossapp.com). Across allows you to scale high touch experience you provide your customers when you create shared Slack channels with them. With Across, you can track customer requests, automate responses and message customers across Slack channels.

We've built and shipped 7 products recently and we always create shared Slack channels with our customers. This is great for creating a tight feedback loop between us, and making sure we're extremely responsive to customer requests.

The problem is that this experience doesn't scale. When you have 20+ Slack channels with customers, it becomes impossible to remember who to follow up with, who on your team is responsible for which customer request, etc. And there aren't great integrations between Slack and existing task management and bug tracking tools today (most just allow you to create a ticket).

So we hacked together a solution for ourselves. With Across, we've built a ticketing and task management system on top of Slack, so you can keep your team organized and on top of all customer requests. You can reply directly from a ticket and we'll automatically post the response to the right channel, customer, and thread, so you never lose track of a conversation again.

This is just the start! We're looking into building a whole suite of tools and integrations on top of Slack to make customer engagement better. Looking forward to hearing what you'd want us to build next.

Thanks for checking us out!
This is what a Win32 app's source code looks like:

https://www.paulgriffiths.net/program/c/srcs/winhellosrc.htm...
Lonely working from home? Try Twitch
This toolkit approach sounds inspired by the web. You write in whatever language / framework but the GUI runs in the browser runtime.

But what about their ReactXP? That's supposed to let you build for React for Windows & Mac and thus WinUI, and also React Native for mobile and such.
If you can identify the remaining cases and isolate them, you're fine. The danger is that some cases slip through the contact tracing procedure (e.g. the identified patient forgot about someone they were in contact with) which is why you also want to aggressively test anyone presenting with symptoms.
To add to this, I am extremely stressed right now. I have an immune-compromised 67 year old parent, I work in international freight, I have a GED so am not too marketable if I lose my job, I've got a few hundred dollars in savings, I've got enough food for a couple of months for my mother and I, that $1000 even just once would help markedly in reducing my stress.

Add to that I'm supposed to be getting married in 68 days and who knows what's going to happen now. I don't even know if the courthouse will be open to get the marriage license (it's only good for 60 days).

None of this is good for my sobriety. 7 months 25 days, 15 hours. I got this. I can keep that number growing.
How to launch and be #1 of the day on Product Hunt
this should really be titled "npm is joining Microsoft"
Pneumatic Pandemic Ventilator Project
Keep it simple and don't allow any technical debt to build up. I've worked in run down legacy systems and in clean ones. The run down ones are impossible to change without breaking. The clean ones are just as easy as a green fields project.
Dow Falls 2997 points worst drop since 1987 crash
The advanced features are there - like making API requests, Lambdas and real custom blocks/functions. Beyond, that you can write in JS to extend Snap! within itself.