skysight-inc/HackerNews huggingface dataset:
> Then we shouldn’t be allowed to drive… or just go out altogether. Too many dangers out there, you see.

No, and don't be ridiculous. Do I have to explicitly spell out every piddling nuance of an idea for you to get it? There's obviously other factors involved, but my point was "most common symptoms" (if they're mild) is not one of them.
Thanks for the nice site/review.

As a side note somehow (and as I see it) "evolution" has a positive connotation, i.e. an evolution step brings something that is seen as "better", and unfortunately, in the case of Windows Control Panel, this is very hard to state.

By reading the title only I had the at first sight impression of the article being some form of MS fanboysm.

Something like "How the Windows Control Panel design changed over 36 years" would IMHO be more neutral.
My favorite line from the movie Lost in Translation:

"The more you know who you are, and what you want, the less you let things upset you."

There's nothing wrong with admiring and respecting and feeling inspired by what others have accomplished, but I've found it has very little to do with my own personal feeling of self-worth.
Hooks are great!

Although, when I see code snippets on the internet I always wonder how do people test this.

The fact that dependencies are declared as imports and all the logic is inside the component function, it feels like you have to shuffle things around just to make the thing runnable outside of React.
Do you think? I wasn't sure because although he doesn't have access to production systems a lot of controls are around access to the code, e.g. Github.

But quite possibly you are right.
This argument has been addressed a couple weeks ago on HN: https://news.ycombinator.com/item?id=29419276

The truth is that Germany's government is to blame for this problem in the first place; if you are losing infrastructure during a prolonged crisis instead of bolstering it, you are failing/losing/incompetent. To put restrictions on the population instead of addressing the problem might as well be criminal.
Evervault
The underlying problem is they are asking you to trust Drata implicitly, sight-unseen, and give them unfettered access to their laptop. There is nothing preventing Drata from changing their minds and altering how their agent works or what it collects.

Then there's the unintentional aspect. There is, of course, no guarantee their agent is bug-free. Data leaks and compromises happen all the time, by every facet of company (large, small, respected, hated, etc).

This is really a huge risk IMO. If anything, it's being downplayed and far from "nonsense".
These sort of things are like driving container ships, they're big, slow, and their moves are heavily telegraphed.

When Boeing thinks about inking a contract, they crow about it. By the time the contract is signed, any changes in the stock are reflected.

"Three months without the ability to cancel" is a very naive solution and creates a whole new host of problems while not really solving much.
Please describe with specificity your goal for Covid and how masking, vaccine mandates, lockdowns, or any other coercive policy is going to get us there. Be sure to first review infections and deaths per capita in free states like Florida (lower) versus Covidistan states like New York and California (higher). Vaccines are freely available and remain effective against severe disease. That’s all there is.
(on mobile)
You could use Nimssequence iterators

[x.name for x in someList if x.age > 5]

Is the same as:

x.filterIt(it.age > 5).mapIt(it.name)

In a way it reads better.
Something like this should work:

import os
import sys
from tqdm import tqdm as _tqdm

def tqdm(*args, **kwargs):
try:
disable = bool(int(os.environ['NO_PROGRESSBARS']))
except KeyError:
disable = not sys.stdout.isatty()
except (ValueError, TypeError):
disable = False
kwargs.setdefault('disable', disable)
return _tqdm(*args, **kwargs)

Then import that instead of tqdm.tqdm.

sys.stdout.isatty() isn't a perfect answer to what people ask when they want to know "am I running in an automated environment, or is a human user looking at my output?", but it's close. More nuance is available online.
Best No-Code App Builder for 2021 (and 2022)
Possibly. They don't seem to have Europeans as the audience, but I don't know about the details of how the rules work exactly.
Okay, well what I say refers to the US which has had general availability of the vaccine for a long time now. I would not argue places where people haven't had access to the vaccine should go back to normal yet.
Thank you, it seems to be an incredible resource, really appreciate you sharing this.
Based on the latest report, what is your estimate for the % of UK people who have been reinfected?
They wouldn't have to if they didn't invade your privacy to begin with.
One of the key issues is around deposits for homes.

When prices are lower, so are deposits. When they're consistently increasing for long periods (with low/no wage growth to boot), deposits become impossible to achieve because price growth outstrips the ability to save.

What you end up with is a large class of renters who can clearly service a mortgage (they service their landlords) but cannot save for a deposit.

Was it a walk in the park in the 70s and 80s? No. But it was possible for a great majority of people. These days, without help for a deposit, you're screwed as an "average" worker in a population centre.
Ask HN: Learning resource for an overview of security for application developers
Is there a book out there, or any other type of resource (website, video series, online course...) about practical security for (web?) application developers, that is highly regarded as a good overview of the field?
I'm looking for something similar to Designing Data-Intensive Applications, that is able to present the theory and protocols in an accessible manner, how those concepts are implemented in state-of-the-art products and libraries, and how to understand the tradeoffs of picking one over the other.
Either centered on authentication and authorization (SSO, OAuth, SAML, OpenID Connect, bearer authentication, JWT, etc.), or ideally more generally discussing the main security concepts that you encounter day-to-day as an application developer: encryption, hashing, salting, signature, certificates, etc.
I've found some books but none particularly stands out.
Nim can walk: https://nim-lang.org/docs/os.html#walkDir.i%2Cstring
>For example if you have ads or external analytics

It is not about ads or analytics and about collecting private data without consent. Just to remind americans GDPR does not specifically target the Internet, it apples for real world places with physical paper (like you got to a lab and want to do some tests they are forced to tell you what they will do with your private data and you have to agree or not).

You can have no tracking ads or analytics that do not record private data just fine, you can also have non tracking cookies without a popup. But honestly it makes sense that there is a big rich group that spread a lot of FUD about this stuff so many places will just decide not to server EU. If you never seen such GDPR popup maybe you should try to have a look at some of them, see how many "partners" this people share your tracking data with and how scummy the UX patherns they use are.

Btw I am 100% fine with some US resources blocking me, I can go read soemthing else and for sure not try workaround for accessing this people page.
My favourite part of the windows 10 Settings is it needing Explorer to be the shell. I have to close my shell and run Explorer to be able to open it.

Thanks Microsoft
Or they could just not track readers with cookies and not collect their private data.
It should be of interest to fence sitters that skeptics exactly like yourself often take pride in their lack of understanding and use that to express how obvious it is that the whole thing is a sham. What really spurred me to go all in a year ago was reading the best and brightest from HackerNews absolutely tearing into 'crypto' and seeing clearly that they didn't know what they were talking about.

Made good profits, and took an optimistic approach to learning about real problems crypto has, meaning I had a good idea of what new projects were going in the right direction. You're only contribution to the list of issues is that "it feels cool," and "some people bought it without fully understanding it," which I fail to see your authority in saying as you have only just done the inverse: gathered a superficial understanding and not bought. So far it seems you're astrology has picked the wrong horse.
I'd love to learn more about the disintermediation thesis. Especially: Did it even happen? Or was it just merely the defunding of news institutions?

The best notion I've come up with is reapplying Chomksy's five filters of mass media model to social media. My hunch is the Owners stole the Advertisers lunch money. But I'm no media critic (academic), so it's just a guess.

It'd also be cool if someone "followed the money", as you suggest. It'd be pretty wild if the shareholders behind the Owners remained the same.

Huh. Writing this out, it's now obvious that Flak stole almost all of Media Elite's power and money.
> I believe it uses the API used by the Android app, instead of by the youtube.com website

Clever.
Why would they be fined if they're not violating their readers' privacy?
How many grandmas, specifically, are they willing to sacrifice in the name of the economy?
And my original comment was flagged. If it weren't accurate, the response would be eye rolling, not flagging
> 451: Unavailable due to legal reasons

A touch over dramatic, verging on smug given that it’s a nerd in-joke.

(If you didn’t know, this HTTP status code is a tongue in cheek reference to the dystopian sci-fi novel Fahrenheit 451 where information is outlawed.)

I could elaborate but unfortunately due to our safety and security policies I am unable to comment further. Your wellbeing is my number one priority.
Just a reminder that Pfizer's PAXLOVID's trials have been halted because the results were so positive it was unethical to keep the control group away from the real drug. The FDA is just sitting on this data waiting for a scheduled meeting to decide to do an emergency authorization. You know no rush FDA just take your time, don't want to mess up you busy schedule for this review.
> Not OP, but they are referring to `import std/strformat` (from homepage).

> That just imported things into the global namespace.

That's what tripped me up: there's definitely no such thing as importing into GLOBAL namespace. That's an import into a top-level (true) namespace of a MODULE. In Python, if you put something into the dict returned from `globals()`, you are indeed importing into global namespace, but I've never seen it actually done. Anyway, that might seem like nitpicking, but it's an important distinction. [EDIT: C `#include`s are an example of actually importing into global namespace]

With that out of the way: the wildcard imports are frowned upon for a reason. What reason? Basically, it's hard to tell a) what identifiers were imported, b) if any of them are still used in the module (ie. if it's safe to remove the import). With multiple wildcard imports in one file you also get c) hard to tell where a given identifier comes from.

Now, none of these problems apply to Nim. Nim is statically typed. The compiler and the tooling knows exactly which identifier comes from where. If you delete all the places you used identifiers from a wildcard import, the compiler and the tooling will tell you that it's safe to delete the import. Another problem with wildcard imports is that the imported modules can change, leading to disasters like silently shadowing an identifier imported from somewhere else. Again, this cannot happen in Nim - it simply won't compile.

Every single linguistic feature has its pros and cons, but you have to remember to only weigh those in the particular context they're used in. What I mean is that wildcard imports in Python and Nim are very, very different beasts, and shouldn't be directly compared, if at all. It would make more sense to compare Nim to Elixir or Scala in this regard.

Note: obviously, Nim also has selective imports and whole module imports, too.
You just described japan.
It is indeed one great famous weakness of democratic systems, the fact that they typically end up incubating anti-democratic systems that replace them. The ones who do not (e.g. UK Parliament) usually manage to survive by negating their democratic nature when it is expedient to do so (i.e. limiting representation with very draconian measures, so that "revolutionaries" are kept out of power).
Lives for most people under authoritarian regimes is "not that bad". That is from personal experience living in Russia, my life was pretty great, as far as I can tell from coworkers/visits to China it's similar there.

And they (the governments, and many if not most citizens) will tell you that police coming to somebody's home after an online post about organizing a protest against government policies, and such, are for greater good and anyone who says otherwise is a foreign agent "spinning a narrative". Even Russia didn't prevent people from leaving, impose internal borders, or arrest people for going to a park, as far as I know :)
Vaccines are freely available and highly effective against severe disease. The pandemic IS solved.

Might also help to remember that NYC built 10,000 ICU beds in five days (that were never used). Our ability to surge hospital capacity is unparalleled. We put men on the moon, FFS.
> There is no firing quota.

It's called planned attrition.
> 1) Where? Where specifically are patients being turned away today from care due to overcrowding due to COVID-19?

https://www.rtbf.be/info/societe/detail_coronavirus-des-hopi...

> Not all hospitals are there yet, but all are tearing their hair out to deal with the situation because it is such a headache. A Chinese puzzle, or a tetris, except that it is not a game. “We have already been making an effort to smooth out the programming for a few weeks,” explains Fabrice Chariot, anesthesiologist, and coordinator of the operating room of the CHR of the Citadel, to avoid having too many operations on the same day. We are now starting to postpone cases. ”

> 2) If there are clear answers to #1, why in tarnation isn't our response, "OK, we need to improve the health care systems in these marginalized communities?" Why instead would we even consider repeating the failed, class-based horizontal interdiction efforts which have terrorized these same communities and cut them off from their centers of support (eg, schools)?

What ?
population density of Germany is comparable to that of the state of Maryland (from 2013 data). Can't really compare a single EU country to the entirety of the US
Ranked choice voting seems far easier to me. In quadratic the total number of votes you have depends on the distribution. Very hard for innumerate people to understand.

Ranked choice is just ranking your preferences. You don’t need to understand the underlying math
> Vaccine mandates taking qualified healthcare workers out of the workforce is one of the biggest own-goals I've seen.

Bzzzt. Thank you for playing. Also, you fail to understand that capacity is down because of burnout, so advocating against vaccination, especially for health care workers, is hypocritical in the most cynical way. You are advocating for the onset of chaos.
This. Sure, floating point numbers come with a footgun, but the title is so clickbaity, would it really hurt to name it: "What I wish I knew about floating numbers before relying on them?"
It's a multiple decade long process to bleed and drain out health-care in Germany. No one working there finds this fascinating.
I understand.

Still, this is a state effort. The state/ccp made of people. The other students, the chinese officers.. the parents who got a visit in China. This is not all that different from how college "censorship" works in china itself..
If you keep hearing this, maybe take a look at all the despicable bullshit that Purdue have been caught in. If you like the video format, you can start with John Oliver's "Opiods" episodes.
In all fairness to people who want mandates, we still need to prevent hospital overruns from unvaccinated people who show up with serious symptoms expecting treatment, thus putting a life threatening strain on medical resources to handle routine health emergencies. But this is something we can monitor and do incrementally, of course.
something something price discovery something something emerging market
The “anti vax crowd” is disproportionately people of color and immigrants who don’t trust the medical industry so your viewpoint here is highly racist and discriminatory. You have been warned.
> New data out of South Africa showed that the risk of hospitalization from Omnicron was 29% less than the original strain which was already pretty unlikely for young, healthy people

Did they account for previous immunity from other strains when they said Omicron is 29% less severe than original strain? How did they study this? Magically find people who (1) Never had a strain of Covid and (2) Aren't vaccinated at all.
No, you're absolutely correct. I put my point far too weakly. Any truly unregulated market quickly becomes dominated by monopolies, cartels, scams, etc.
Depends on what you want your search results to be. Do you want a list of documents, sorted by relevancy? Or a list of sentences? Or paragraphs? Personally, I find paragraphs a good middle ground. However, if many of your documents contain very long paragraphs, it would still be tedious to go through your search results. So what might work better in this case would be to slide a window of, say, 1-3 sentences over each document. This way, you'll be able to find the most relevant 1-3 sentence snippet, both within one document, and within your entire corpus.
> because they insist on violating their readers' privacy rights and that would be illegal in the EU.

Bad assumption. Maybe an unpopular fact, but many sites simply block EU access to avoid potential legal pitfalls of navigating foreign laws. Getting the site compliant would require review from legal teams and work from (likely contracted) web developers, which is almost certainly not in the budget for a side site like this.

Not every website is backed by a corporation with on-staff web developers and corporate counsel to double-check everything. Their audience is primarily a local one, so allocating the budget to do this and maintain it isn’t worth it.
> Vaccine mandates taking qualified healthcare workers out of the workforce is one of the biggest own-goals I've seen.

OR, we've filtered to the people that actually believe in medical science, ones that are willing to do what needs to be done to prevent the spread of contagious disease.

> Why haven't we increased hospital capacity to deal with a highly transmissible disease we knew was never going away? Lockdowns, mandates, personal freedom restrictions are all just cover for not handling the basic blocking and tackling of fortifying our medical systems. All that money and none of it increased the ability to care for COVID patients. What a shame.

Ounce of prevention is worth a pound of cure. Your freedom ends where my nose begins.
We have come full circle. It’s the flu.
I don't know in what country you reside in but where I live (somewhere in Europe), we have way too many patients on the ICU and way too many other patients in hospital care. And we have way too many operations delayed due shortage of ICU beds.

I call this unsolved.
That's an easy stand to take. It would be more interesting to see what stand would they take on more controversial subjects that also support free thought and expression.
It's oscillated a few times; some of the early ones are quite murder-y, and the Reg version has sometimes been a bit more normal (though I think he's in a murder-y phase at the moment).
> Clicking authorize on nytimes subscription every month?

Why is that a good thing?
As someone who has asked that question to a series of lawyers, the answer is surprisingly expensive.
If they want "ownership" then they could / should supply you with a laptop dedicated to your work for them.

Three of the last four (marketing) agencies I worked for supplied me with a MBP.
I wonder about OP's reasoning for submitting this to HN.

`itsdangerous` has been around for a while and is actually required by `flask`.
What does "almost nobody" mean?
They are complying with EU regulations in place to protect the right to privacy, I can respect it.
The new variant is basically a bad cold if you're already vaccinated against the existing variants. In general it seems to be about as dangerous as the alpha and delta variants, though the data isn't completely in yet. So it's still a serious threat to non-vaccinated people, and anyone that's immunocompromised, whether they're vaccinated or not.

From a public health perspective, non-vaccinated populations are a petri dish for new variants to develop in, and those future variants could potentially be more dangerous.
You are too easily offended
1) Yes I'm seriously asking this. And administratively delayed 'elective' surgeries are orthogonal to patients being turned away after presenting with illness. I don't deny the former is happening, but it is not clear that it is related to capacity.

2) Yes you absolutely can; it has been done with great success many times in epidemics, including this one. Moreover, longer-term improvements to health care remain an imperative if indeed a completely predictable respiratory pathogen can so easily overwhelm capacity in marginalized communities.
What powertoy does snap zones?
European supermarkets pull beef products linked to Brazil deforestation
I am not saying the PCR-tests are false. See my added example.
Students, privileged ones at least, are still living in a fairly black and white life and have not seen that the world is many colours of truth. So defending one broad ideology is pretty easy for them, until they live a little longer and experience that we are more greys than hard edges.
> Omicron being “mild” refers to the double or triple vaccinated.

Is that true? It was mild in South Africa, where vaccine rates are low.
I found that vid on vimeo but the quality is awful. Do you know of any better source of this talk?
In practice they don't need to be perfectly associative across all possible values, because most real-world calculations tend to stay within a few orders of magnitude, and don't require more than 10-15 significant digits (even for Earth orbital calculations). Once you need more than that, you'd have to use a multi-word numeric format regardless (same as if your operations started overflowing your largest int type).
Flipper Zero pre-orders officially start
This reminds me of people from a certain generation who say "You'll be more conservative as you get older!" which happened to them because they accrued wealth and assets and (somewhat naturally) want to protect them.

But when you can't accrue wealth or assets (for all of the reasons other posters have listed above), you probably don't end up becoming more conservative as you get older. Quite the opposite.

You're trying to tell us the rules for a game that no longer exists in the way you played it
I am not saying the PCR-test are unreliable. See my added example.
No, it does not just apply to the vaccinated because South Africa is largely unvaccinated but yet are not experiencing any increase in hospitalizations or mortality, they are actually seeing a decline.

https://www.washingtonpost.com/world/2021/12/14/south-africa...

https://www.reuters.com/business/healthcare-pharmaceuticals/...
Yeah the silent edits by Vox et al. of past articles to make them seem less biased and inflammatory has been annoying to see.