skysight-inc/HackerNews huggingface dataset:
We asked you to stop posting in the flamewar style to HN. Since your last three comments are this one, "So what? Did you ever look at a production codebase?", and "Right, so you would rather die than risk germ infection?", it seems clear that you don't mean to use HN as intended, which is to say for curious conversation.

Therefore I've banned the account. If that ever changes, you're welcome to email us at hn@ycombinator.com and let us know. In the meantime, please stop creating accounts to break HN's rules with.

https://news.ycombinator.com/newsguidelines.html
I’m not sure I would call this a memory model per se, but here’s how async tasks are laid out in memory.

http://tmandry.gitlab.io/blog/posts/optimizing-await-1/
There's almost zero-reason for a record label or artist to turn down a kids bop cover if Kids Bop thinks they can rewrite it to work for their exclusive audience.
It probably is working, but it also seems likely that locking everyone in their houses reduces spread -- so three weeks after lockdown, there are fewer sick people to find each day.

It actually is likely that the decrease in cases is more dramatic than the numbers show -- now that the acute pressure on the healthcare system in New York has abated, they're probably detecting a higher percentage of their cases.

(And on top of that, testing has begun increasing again -- we tested 127,000 people today, up from 107,000/day just 6 days ago.)
> If your usual workflow is to defer all of the typing information to the IDE, rather than keeping it in your head. Then the second you can't access that information at a whim, you're fucked.

This is just not at all how it works in practice. You still keep it all in your head, but the compiler errors protect you from small mistakes.

No matter how great of a programmer you are, you will make transcription errors with the things you have in your head. This is literally exactly the type of "I don't make mistakes" nonsense that I said was common, and a bunch of other people said was extreme and a strawman.
the founder of zoom brought tons of people from WebEx (know someone who was part of the early webex team and now zoom)
The changes:

* .await. This feature was in development for almost five years. Landed November 2019. This is a legit new feature, with significant ramifications on the language.

* try!() -> ? . This feature was in development for two years, and landed in November 2016. This largely consists of the transformation "try!(x)" to "x?".

* impl trait: this feature was in development for two years, and landed in May of 2018. This has two major parts: one that is very rarely used that is mostly sugar, and another that's pretty useful, and is a legit new feature.

* dyn: this feature was in development for two years, and landed in June of 2018. This is largely optionally adding `dyn` in some places. You don't have to do this. You can turn a lint on that will tell you exactly where to do this, and it can be automatically added to your code.

So that's four features. One of them three years ago, two two years ago, and one last year.
Not really. The research seems to be relatively novel, not a watered down version of a different study being repeated by children as your comment would suggest. My point was that the research just wasn't overly prestigious.
This person (among others) is arguing exactly what I said that extreme type-haters will argue: https://news.ycombinator.com/item?id=22819671

Like you, I think the truth is between the extremes. My original post was just pointing out that the extreme of type-hate is not uncommon here. The opposite appears to be true as well.
> At a high level, what the bill proposes is a system where companies have to earn Section 230 protection by following a set of designed-by-committee “best practices” that are extraordinarily unlikely to allow end-to-end encryption.

As diligently stated by Signal, EARN IT makes end-to-end encryption difficult, but not impossible. All relevant companies would like to prevent having to transition their current architecture over to a design that fits the specification laid out by EARN IT. This is quite understandable as this would bring with it a heavy cost, but if push comes to shove, that’s what they’re going to have to do. I expect that we’ll be hearing a lot more about this issue over the coming months. If this bill is passed, it will quickly be challenged in the Supreme Court.
Myths about USB NKRO and how USB HID works
That's a good question and there are a number of ways to try to tackle this. One of the main reasons you cannot do QM simulations directly is that the high quality methods can cost Omega(n^6/eps) to get eps. relative accuracy (you can do better with DFT, but then you're making your life hard in other way). At a high-level (and I mean, 50,000 ft. level), here are the simplest way:

1) Do quantum mechanics simulations of interactions of a small number of atoms — two amino acids, two ethanol molecules. Then fit a classical function to the surface E[energy(radius between molecules, angles)], where this expectation operator is the quantum one (over some separable Hilbert space). Now use the approximation for E[energy(r, a)] to act as your classical potential.
- Upshot: You use quantum mechanics to decide a classical potential for you (e.g. you chose the classical potential that factors into pairs such that each pair energy is 'closest' in the Hilbert space metric to the quantum surface)
- Downside: You're doing this for small N — this ignores triplet and higher interactions. You're missing the variance and other higher moments (which is usually fine for biology, FWIW, but not for, say, the Aharanov-Bohm effect).

2) Path Integral methods: This involves running classical simulation for T timesteps, then sampling the 'quantum-sensitive pieces' (e.g. highly polar parts) in a stochastic way. This works because Wick rotation lets you go from Hamiltonian evolution operator e^{i L}, for a Lagrangian density L, to e^{-L} [0]. You can sample the last density via stochastic methods to add a SDE-like correction to your classical simulation. This way, you simulate the classical trajectory and have the quantum portions 'randomly' kick that trajectory based on a real Lagrangian.

3) DFT-augmented potentials: A little more annoying to describe, but think of this as a combination of the first two methods. A lot of the "Neural Network for MD" stuff falls closer in this category [1]

[0] Yes, assume L is absolutely continuous with regards to whatever metric-measure space and base measure you're defined over :) Physics is more flexible than math, so you can make such assumption and avoid thinking about nuclear spaces and atomic measures until really needed

[1] https://arxiv.org/abs/2002.02948
When you control both front-end and back-end, you don't have to make a breaking change that will affect anyone at all, if you're willing to do a multiple deploys and maybe wait a little bit.

If your want to change from A to B, your first deploy is deploying B without stopping A from working. It could be a totally new endpoint, or you could just throw a version field into the request body or querystring. Once everyone has switched off of A, you can remove it from your codebase so only B remains without actually affecting anyone's session.

If you don't want to pollute all your querystrings or request bodies with version fields, you could have an optional newVersion boolean field that only needs to appear during a switchover or make a temporary endpoint for updated clients to hit instead of the old endpoint:

# state at start
/foo <- uses API A

# deploy new endpoint
/foo <- uses API A
/foo/new <- uses API B

# wait for everyone to swtich to /foo/new, then deploy API to /foo, removing support for API A (this could be split into two deploys if you wanted)
/foo <- uses API B
/foo/new <- uses API B

# wait for everyone to switch over to /foo, then remove /foo/new
/foo <- uses API B
Because even between Excel / Sheets, formatting is still much easier in Excel. But formulas I cannot comment on as I just don't use that.
Really? You don’t see any way that someone who wouldn’t be willing to let the government conduct a test on them wouldn’t also be less likely to follow CDC guidelines on social distancing, etc?
> The author went to Loyola Uni, a private US uni, which according to this site at least is 50% more expensive than the national average non-profit uni [1], indicating a well-off background

Your conclusion isn't necessarily wrong, but many private universites offer fairly good financial aid packages for students whose families wouldn't otherwise be able to afford it. At the university I went to, there were definitely a lot of upper middle class students, but plenty who weren't as well; one of my good friends there actually didn't end up having to pay any tuition due to his family having fairly limited income (his father was a part time construction worker, and his mother couldn't work due to health issues). That's not to say that there weren't other advantages for students who came from more connected backgrounds, but attending a private university with a high cost isn't necessarily limited to only those from higher-income families.
The folks I talked to who worked at Microsoft Research Asia said that they worked on Bing, Office, etc.
Deeply Knowing
Is Google or Facebook any better in this regard?
On the other hand, I don't think "perfect medical care" is an accurate description of being quarantined on a boat with limited diagnostics and an illness your doctors have never seen before, and I also think the cruisegoing cohort skews much, much older than a general population.
Thank you! That's a nice feature. I've just added it: https://otf.show/rand

Turn out it's called "rand" in the spec, but not many applications support that (including browser) so they implemented it via "calt"

#todayilearn
Hangouts still exists, I'm too confused at this stage as to what is what.
I would have to assume GP used "framework" differently than you understood it. They may have meant "foundational code of an app".
Fold isn't an operation on a specific monad, it's a generic operation over any monad. Adding it to Option defeat the whole point of thinking about Option as a monad, i.e., the ability to apply generic algorithms that work on any type constructor that follows the monad laws.

(If the question is why no generic fold over any monad exists in Rust, the short answer is that Rust isn't Haskell. Which is great, it means Rust can specialize in things Haskell can't and vice versa. Personally my favorite example is that Haskell avoids shared mutable state by avoiding mutable state, and Rust avoids shared mutable state by avoiding shared mutability. Both have their downsides but each works better for different applications.)
Two years is nothing, absolutely nothing, in the grand scheme of "long term".
Thank you for sharing. I have many friends and family who work in the medical field. I will see if I can get these printed for them.
Searching Certified Nursing Assistant-CNA
The primordial soup would like a word.
Guardian Agent: secure SSH-agent forwarding for Mosh and SSH
Failure is really nice to use.

Might suit some people.

https://github.com/rust-lang-nursery/failure
“Your Business Has Been Marked as Temporarily Closed” – Quick Fix
Apollo does indeed validate responses as well as requests. If your server tries to send an object that doesn’t match the schema, you’re going to return just a 500 error, which means your clients can trust the graphql types implicitly.

Since in my current job I can’t use graphql but have to type everything in openapi, Had to resort to writing my own lib to get to the same functionality for a REST backend in TS - https://github.com/ovotech/laminar
Anyone thinking of starting a company to see if this idea is viable? Asking for a friend

https://www.fxnetworks.com/shows/devs
I'm from a country with public health care, so this comes as an interesting shock - would employees immediately lose health benefits if made redundant / fired etc?

Seems to incentivize getting rid of people when they need healthcare the most (eg "I have cancer" -> "Look, we're going to have to let you go, your performance the past few months hasn't been up to scratch"). I assume there'd be a bunch of health related after-effects to jobloss too, particularly around mental well-being.
Crazy how this was all predicted as being completely possible 20 years ago, and was really one of the catalysts for the GNOME project in the first place:

https://www.linuxtoday.com/developer/2000090500121OPLFKE

https://lists.debian.org/debian-user/1997/08/msg02286.html
While I agree with you that this aspect of Mac app installation is confusing (especially with Safari where your download just disappears into the top right toolbar) - they need to have figured that out before getting this far into the installer. Once your in the installer its all about hitting buttons.
> Can you name some examples of "frivolous sugar"?

The one mentioned in the article seemed fairly frivolous to me. I don't know if I can name one that's already been accepted into the language which I would call frivolous, per se, though they're all varying degrees of necessary. But most of the "sugar" syntaxes have made the language harder to understand for newcomers, even the ones that are arguably necessary. They all come with a cost.

The ? syntax for Results, for example, rubs me the wrong way a little bit. In that case it really does eliminate a large amount of code and is probably worth the trade-off. But now instead of Results just being a monad that can be picked apart like any other data structure, they become a Language Feature that gets special, magical treatment not expressible by the type system. You just have to know what the question mark translates to underneath. Worthwhile or not, this makes me sad. Async/await is a similar case.

> Also compile times have been a big focus of the compiler team, and have been going down YoY.

Yes but adding complexity to the language immutably increases the difficulty of that task. Even if only by a little bit, it adds debt that will have to be reckoned with for the rest of the language's lifetime.
Probably more correlated to the survival aspect of being able to smell a thunderstorm and take shelter.
It's funny how the author only concerned about YOUNG programmers worrying.
Can China be brought before an international court over Covid pandemic? Yes
There’s two things to solve really: 1) what cloud/code infrastructure will you need, 2) how will you market it?

Happy to jump on a call and, as a Software Architect, give my tips on (1), if you have a plan for (2) :)
What do you do if someone writes Haskell for a year and concludes "Actually, C++ and Java are better at this than Haskell"? Force them to write more Haskell until they reach the right conclusion?

(I personally love Rust because I found Haskell amazing but ill-suited to the work I wanted to do and I'm glad to have an option that's not C++ but is suited to the same sorts of applications as C++.)
How do you manage the audio for your games? Do you use the newer audio sharing setup, or have you rigged something up in OBS, etc?
We clearly saw this coming. In fact, in 2006 President Bush signed “National Strategy For Pandemic Influenza, Implementation Plan”, Homeland Security Council, May 2006. As an epidemiologist, what do you think went wrong? How come we are caught off guard?
Here is a comparison of our policies and fight against the Spanish flu and Covid-19. Remarkable how stay-at-home and social distancing policies worked then too. https://thepeel.news/stay-at-home-orders-worked-a-century-ag...
There's kind of a resume gap there between 2001 and 2020.
I find this fascinating. It wasn’t until embarrassingly late that I realized Jon Voight was not, in fact, Anthony Hopkins.

I also didn’t explicitly understand the distinction between Rottweilers and Dobermanns until I looked for it.

I wonder what else I’m still lumping together.
List of US Data Centers
Part of the issues here will be commercial kitchen and farming laws :( If someone has answers for those, I could help provide context on cloud/code infrastructure to make it work.
MS recommends suffixing `Async`, and VS by default names fields with underscore but the C# naming suggests Pascal. So referencing MS docs is hardly justification.
Wish the next update can improve further the blur background function, right now it consumes quite a lot CPU cycles, and is not supported on the mobile apps.

Even better, to support virtual background: https://community.jitsi.org/t/virtual-backgrounds-using-gree...

Cheers.
> common widespread use of porn from age 10 and upwards

This is a thing now? Can you expand on this point? I mean, I shouldn't be surprised due to its widespread availability, but I still am.
Greenshot exist also for Mac. The Mac version has been released on 2017, take a look here: https://getgreenshot.org/2017/01/10/mac-os-launch/
Rust is still much less complicated than C++ IMO. For now. I'm hoping it doesn't catch up in 20 years.
> What would fold do on an option, specifically? Fold is usually a list operation, but an option is a list of zero or one... so it would be a no-op?

Presumably the fold takes advantage of the fact that the default, "accumulator" value is chosen if the Option is empty and the collapse function just runs what would be the Some arm of the match statement.
linked an academic paper... 33 citations... every actual MD I've shared it with has responded with something along the lines of "very interesting" or "compelling" or "explains what some of the nurses are seeing"

if a crank takes the theory of relativity to heart, does that invalidate it?

strong pedants aren't necessarily strong thinkers
You are reading a lot of stuff into my comment that is not there.

1. I’m all for more testing, and would gladly be tested.
2. You really don’t think the cohort of people who would refuse testing wouldn’t also be less likely to follow CDC guidelines? This increasing the chance they are infected.
3. All I was trying to say, was that random testing will be confounded by things like people refusing. Perhaps it gets us close enough. Perhaps people who refuse are more likely to be infected. Or maybe less likely, because they are loners who don’t go out thanks to their doomsday prepping or something. I think it is worth being aware of.

You seem to be incredibly confident that the cohort who would refuse testing will have the exact same infection rate as everyone else. Care to share why you are so certain of that?
This is a pretty complete misunderstanding of what the previous commenter was saying. You can probably find 20+ year old C++ code that will compile just fine with the latest compiler and it will take less time to compile and the end result will run faster. But that's not what people are complaining about when they talk about C++'s ever growing scope and the insanity of trying to cope with the 1001 ways of doing something in the language.

I have it straight from the horse's (Bjarne's) mouth that there will be no more editions of "The C++ Programming Language" because the language is too big and writing a book too time consuming to actually cover the language as it currently exists and what it is going to become. It's own creator admits that the language is too big to document in book form. How does one ever expect a beginner to get to grips with it in that case!?!

Obviously Rust isn't there as it doesn't have 30 years of evolution and development like C++ does. But the rate at which it is growing and changing means it won't actually take 30 years to become the new C++. And that would be a real tragedy. What's the use of all these awesome safety features if they're in a language almost no one will be able to fully comprehend or understand?
Ah, ok. So in that case, people would probably be have to be uncontactable by default (otherwise we'd be back to the current universe). Now you'll have to explicitly opt in to being contacted by every new person you meet. This is fine for some, but it's a massive usability tradeoff. Think about all the non-tehcnical people that Signal is intended to be used by, and imagine trying to teach them about Safety Numbers and a necessarily-opt-in contacting scheme.
Media induced panic. Most people today have no idea how to use flour to make bread.
I used to do FT-on-iPhone-pointed-at-computer also. Now it's easy to do screen sharing via Messages (formerly iMessage). Comes with built-in audio also, so you don't even need to make a phone call.
We have a law called COBRA that lets you continue your employers coverage for up to 18 months I think it is. You have to pay the entire premium including the portion your employer paid so the price tag is usually a shock.
Using Zoom or any other videoconferencing app that might retain data for an internal meeting is presumably banned regardless, and unnecessary given that Google Meet exists. But some employees might need to use it to videoconference with customers and partners, and some employees might be using it for personal calls on their work laptop. Banning the native app of a company that is clearly 100% shady 100% of the time seems wise.
Python can multitask. There's a global lock, but most time consuming things don't hold it, so these things run in true parallel.
Julia Child had a great recipe for Primordial Soup!

https://en.wikipedia.org/wiki/Julia_Child

https://massasoit.instructure.com/courses/346438/pages/video...

Also a great recipe for shark repellent, that she made for the CIA.

https://www.cia.gov/news-information/featured-story-archive/...

And she showed how to bone a chicken Saturday Night Live:

https://www.youtube.com/watch?v=eSxv6IGBgFQ
More than 30k vacancies in California
Thanks. It states it is recommended you do not add personal, proprietary or other sensitive information in your accomplishments. Isn't that a bit strange? Your accomplishments you list, with the goal of building for your yearly assessment, are all about that.

I see only that I can add these notes. Not a lot more. I suppose the USP is your notifications? If I cannot store any real notes I could as well in my agenda make a recurring meeting every month that would give me a notification to add a note to onenote, Evernote, orgmode or any other note taking tool. 9.99 a month seems steep.

Am I missing something?
I had the free version of Google Analytics, but ended up buying MonsterInsights on sale today so that I can see deeper - demographics, etc.
Are there any other tools you've built internally that you can share info about?
That's correct. Rust is still a pretty young language; it's only been stable for five years. This doesn't mean that two years is meaningful in a broader sense, that is, this is one random anecdote. I know of a crate that still maintains Rust 1.13 compatibility, and that's about three and a half years. Still not actual evidence, of course.

Code that doesn't rely on soundness bugs written in 1.0 should generally compile on the latest stable release without issue. The vast majority Rust users in our annual survey report that their code never breaks, and of those that have, the majority have said that it is trivial or easy to fix.

We put a tremendous amount of work (and spend a lot of money!) into ensuring this. If upgrading your Rust compiler is a significant issue for you our anyone else, please report these things to us.
I hate free trials, especially for my site. They get you hooked and then you have to cancel. It's not productive.
Is the Internet Working for the Work-from-Home Trend?