skysight-inc/HackerNews huggingface dataset:
> I cut myself once, as every boy must.

My 12-year-old daughter would strongly disagree that this is gender-specific :)

> If you are thinking of self-defense, you could always carry a firearm instead (or perhaps a sword or staff), since most people apparently consider that a more persuasive deterrent to violence.

Frustratingly, knife laws in the US are bad and inconsistent. It’s often the case that you can legally carry a firearm but not a good knife. Knives are also comparatively very difficult to use defensively, and extremely dangerous to the user. Every skilled knife user I know has the same opinion: If you end up in a knife fight, you will get cut.

Finally, while they can certainly be lethal, they are not typical fast-acting - for defensive purposes, it does you no good if an attacker dies hours later in the hospital from blood loss if they’re able to continue their assault in the meantime. In all circumstances where it is legal, OC (“pepper spray”) in its various forms is much better suited for defensive use. It’s relatively fast acting and has the added benefit of not killing your attacker.

> If you cannot make up your mind there is always the "Apache" knife/gun/brass knuckles:

Brass knuckles are illegal in most states, even with a carry permit in the ones that offer and require them. I couldn’t carry this in Arkansas - not because of the gun, but because of the knuckles.

> You can always carry a pistol unloaded, with ammo in a separate pocket, so you have time to think clearly whether to load should violence occur!8-)) Remember that one can both punch or bludgeon quite effectively with a pistol even if it is not loaded. This is called "pistol-whipping" and is commonly displayed in old Hollywood westerns.

This is objectively terrible advice. I’m a strong advocate for carrying a firearm, but carrying unloaded is the worst of all worlds. It’s not going to be ready when you need it, and presenting it immediately escalates the situation both legally and in the eyes of a potential attacker.

You shouldn’t carry a gun unless you have seriously considered what that means, know when you can legally use it, and are 100% certain that you understand an accept the moral responsibility that it entails. If you do, you should carry it in a way that protects it from being taken from you and makes it available for your immediate use.
In which context is it a different concept?
Hmmm, can't find support for automatic firmware update:

https://fwupd.org/lvfs/devices/
This right here is why I maintain my subscription even though I do not run the official app. :) Well, that and I mostly watch YouTube on my desktop with an ad blocker, so creators weren't getting ad impressions from me anyway. I figure that's a fair trade.
No, my understanding is that Twitter has a "bucket" of the latest 3600 tweets you've posted / liked. This bucket is faster than their database to query, so once you empty the bucket, the API returns no result, and the bucket is never "refilled" from the database.

Those are not technical terms, sorry, but this is how I currently understand it so it might help you too?
Surprised by how little people are talking about this. Those ads are the only source of income for some creators.
Preach! I wholeheartedly agree.

The CSS file is in the repo:
https://github.com/propjockey/css-media-vars/blob/master/css...

and the readme links to this in an example link tag:
https://unpkg.com/css-media-vars/css-media-vars.css

NPM is for convenience. Can't expect people to jump out of the build env all at once, so providing a vanilla CSS solution as a package is a good way to start the transition. IMO /shrug
Many people view basic healthcare as a human right. I think in a modern democratic society with rule by law, basic legal representation should be a basic human right as well. One of the biggest source of inequality in justice is the access to lawyers.

I think the solution is somewhat similar to the universal health care systems many countries have. The government will pay a certain billable rate to the lawyer a person goes to. Every lawyer as a condition of their license to practice law is required to accept these clients.

If we do this, this will eliminate a lot of the inequality that comes from rich people having access to better lawyers.
I'm not sure about this, the actions they already took with Ukraine seem to have crippled their economy.
Dear HN users:

I plea that you refrain down voting any comment that advises you to take a look at DeVos's Wikipedia page. I HIGHLY advise reading Betsy DeVos's Wikipedia page.

With no offense intended (truly) I've got the idea that quite a portion of HN users probably don't know just how much of an absolute shitshow the head of U.S. Education is. DeVos is certifiably insane
Good, that will save us from laying them all off when Online school teachers are able to teach nearly unlimited students via repeatable content like videos.

And those who are better tutors than lecturers can become tutors for those who need more help
Ask HN: Can you document things that didn't work?
While reading "Why are CEOs failing software engineers?" [1], I remembered the phrase "It took me two days to write two lines of code that work because I had to consider a dozen other solutions that didn't work".

[1]: https://news.ycombinator.com/item?id=23872625

This makes me wonder: is there a way to record all the options that didn't work, so that no one will have to consider them ever again?

The problem here seems to be that it's not enough to merely write down the things you tried. The next person should be able to actually find them.

Any ideas?
> large React applications tend to be just as heavyweight and hard to understand as Angular ones once you need a router, state manager, and 20 or 30 other "compact" libraries to do what you're trying to do.

I largely disagree with the comment you're replying to in its oversimplification of things, however, this simply isn't true. 'Create React App' plus 'React-Router' is literally all you need for the vast majority of applications.

And you don't need "20 or 30 other compact libraries", unless what you're doing is specialised and requires them.

The idea you need "a state manager" is an unfortunate fallacy, due to React/Facebook's history by accidentally implying a Flux-like solution should be added to augment React, when in fact so much more could be achieved by simply following React's component model, and React's built-in mechanisms for managing state.
> Linux package managers really verify the signature of the hash

> Code signing is the real root of trust here, not hashing.

Hashing is the root of that specific trust which says "this is the same thing it was 17 months ago when we first fetched it".

(It is not deductively implied; it is predicated on the difficulty of producing a rogue file that has the same hash.)

Maybe it was a fake then, loaded with malware; that's a related, though different concern.

The fact is that I can inspect something, like a module of shell script code, to my satisfaction to be free of problems, and debug all my stuff with it. The hash then gives a lot of assurance that it's the same thing I validated before.

> You can't escape the total insecurity of git cloning because a malicious actor will just create a branch with the name of the desired hash and every client will happily clone it

If a branch or tag can be created that has a name indistinguishable from the syntax of a hash, that's a disturbing ambiguity in git that should be arguably patched away. It is tangential to this topic.

I believe, perhaps mistakenly, that after the repository is cloned and checked out (by any means: hash or branch/release tag), a validation can be made that HEAD points to the expected commit, e.g. using

git rev-parse --verify HEAD^{commit}

That should defeat the ruse.

Language managers are based on a vested interest in popularizing a language, by maximizing the amount of activity occurring in its "ecosystem". If every dependency were pinned down by a hash, such that the upstream developers have to beg everyone to update to a new hash every time they want to publish some change, that would put a huge a damper on the party. Language package managers are not motivated by stability, reliability and security. I'm not in favor of language package managers, and none of my work or side projects depend on them.
Two patches?! Okay then, three minutes since the iron is already warm. The substantive argument is about the complete lack of process and accountability.

Since you seem to be here to reflexively argue, the only thing I have left to say is that you need to realize that the federal government deploying soldiers into American cities against the express wishes of the local governments is utterly anti-Freedom, anti-American, and straight up totalitarian. We're witnessing the destruction of our country, and you're cheerleading to the tune of Party propaganda. It's never too late to snap out of that filter bubble and come to your senses.
I dont mind paying for the feature but I do mind having google aplication on my phone (which I dont - none).

The trust in google not taking away my contacts, spying on my position, requiring to have their gms on my phone (which will further grab as much of my data they can have) is virtually zero.

And with a very good and well known couse.
In my country the schools are open without any issues. It is mind-bending that once you're over a certain amount of infected people that it becomes much more dangerous. That is the effect of infections being exponentially.
So 2 directions? The cheaper, easier, and far more deadly in person option or invest $$$ with a need for short term results. It's never that simple, but if the issue is spending the money then I don't see why it isn't a straight forward option given how much we've spent to buy bad debt and bail out administration cronies.
>It's to add condescension.

That was my assumption. Things like "um" and "uh" tend to be silence-fillers, among other things (see below). It's weird to see them being typed-out, and I've noted an uptick in how often I see it being done.

https://en.wikipedia.org/wiki/Speech_disfluency
The problem for me is that I honestly can't think of more than a half dozen instances in the last 20+ years where ads made me aware of something new that I actually wanted, and zero of those were web-based. I can't think of a single time ads swayed my opinion to purchase something I didn't want or caused me to buy something earlier than I would have otherwise. At BEST there have been a few ads that have led me explore options within that market, but the company posting the ad had zero impact on my decision (it almost deters me, since that ad money could have been spent making the product better or cheaper, so the competition is probably a better buy).

Why would I want even 1% of the content I'm consuming to be polluted with irrelevant garbage? That's a huge amount of time and mental effort filtering out stuff like toothpaste ads because I googled directions to my dentist's office.

Nope. Ad blockers on EVERYTHING and custom CSS for sites that whine about ad blockers or display a sea of whitespace to inflate page view times.
I really struggled with this with my toddler. In the end I decided to chill out and take whatever comes as a consequence rather than traumatise my child for life.
It seems like Brave must have not implemented the standard correctly or something though, I don't know of these problems in any other browser.
This reads like a UFO hysteria report. "10 ft drones that make no sound and hover in the air for hours at a time"

Do drones like this even exist that are available to civilians? Even $30,000 commercial grade drones are only a few feet wide and have sub hour flight times.
Aren't there ways of verifying the integrity of the hardware via software on boot?
> but not TLS, X509, ASN1 etc (yet)

then this may interest you:

https://blog.doyensec.com/2020/05/14/asn1fuzz.html

^^ ASN1 is really the bees-knees for fuzzing telecoms protocols in UMTS/LTE/5G etc and doesn't get enough love in other domains. It's a high learning curve but once you get beyond the "standardese" language in the docs it's opening doors to opportunities in so many industries.

> BoringSSL has fewer bugs than LibreSSL, which has fewer bugs than OpenSSL. One of the reasons for this could be that the bug count is proportional to the complexity/SLOC

the openSSL codebase is notorious but I think it's also because it has been in existing for so long. if I look around today I see 2 camps: cryptographers and software engineers. letting sw-engineers do crypto is usually a bad idea but it's often worse when cryptographers start coding. it's almost like a variation of the old joke of "the 2 most dangerous things in Tech are a sw-engineer with a soldering iron and a hw-engineer with a sw-patch" ... apart from complexity leading to bugs I'd also say there is another downside which is stronger in openssl: people end up using it wrongly which makes it a proverbial foot-gun for implenters.

> [1] https://github.com/guidovranken/cryptofuzz

very cool thanks!!
After reading this, I wonder if it's possible to document in a searchable way all the broken solutions that we try before we find the one that works.

Subthread: https://news.ycombinator.com/item?id=23875261
> Today [some subset of] people saying we messed up the lock down cheered a mob which just [destroyed some property].

There's no need to be hyperbolic; it's possible to have a nuanced view on both of these issues. When you presume the latter are the former, the only group of people you denigrate are the strawmen you created.
Group tracking crises in Middle East and Africa activates U.S. monitor
Covid19 Pool Testing in Rwanda
Interesting. What grade levels?

This seems to reflect that many of these folks seem to think what they are asked to learn is largely detached from their dat-to-day lives. I would agree with that assessment for high school students who are not college-bound.

Specifically, high school for these folks is a rehash of middle school, a simplified version of college prep (which is not relevant for folks not going to college), or both.

One thing that I have taken away from the quarantine is that the function of school as childcare is as much or more important than the function of school as a place to learn for many people.
Same. Progress isn't always smooth or comfortable. Like being at the gym and feeling your muscles burn. But the work and struggle will be worth it, and I'm confident the American spirit will pull us through to a better future.
Price gouging is based on a reasonable price and is subjective. If the present situation results in inflated prices due to lack of materials or needing to run at a higher capacity, that's still reasonable. California, for example, has this written into their penal code, limiting it to a 10% increase in price of the total cost of manufacturing, which includes the increased cost of production, transportation or storage.

If those companies decided that they were going to stop selling their current stock of masks completely until they sold for a higher price, that would be price gouging.
My girlfriend is a middle school guidance counselor. She was spending most of her week during the end of the school year dealing with referrals from teachers for students who weren't doing any work at home. Not just slacking off some, but entirely refusing to do anything. She'd try contacting the parents but many would never return her calls. The few she did contact weren't very concerned or admitted they lacked a way of making their child do their school work.

Her main concern is that this is going to widen the achievement gap between students with high parental involvement and those with low parental involvement. They've spend a lot of time trying to come up with strategies to deal with the situation but outside of sending government officials to the home for an on-site evaluation (problematic for many reasons), there's little they can do. She's worried that as time goes on, the number of students discovering they can get away with doing no work will increase.
If they are free and open to everyone, that’s a good thing! If they just skim the good students off the top, that’s a bad thing.
> A mandate that people wear masks is not acceptable.

Personally speaking I'm all good with wearing a mask if they let me out of my house. The Shelter in place thing has been such an overreaction that I'm kind of primed to rebel just because I'm so incensed by the violation of rights...

Wearing a mask is like requiring wearing a seatbelt. Shelter in place is like saying no one can drive except a few exceptionals.
It just concerns me how much power a random judge has that their decisions and opinions become law, with other judges very hesitant to challenge it
That’s a cultural problem. We need to change it so intrinsic motivation is the driving force behind education.
Thank you! ;-)
Well, the last administration literally made something called

“Playbook for Early Response to High-Consequence Emerging Infectious Disease Threats and Biological Incidents.”

AKA how to handle a pandemic for dummies

What did our current administration do? Claim it at first did not exist, and then definitely didn't look at it when they were informed it did exist.

Really, you're not putting any effort in your trolling/cynicism
The article says which agency it was (CPB), and quotes the CPB as saying that the agents identified themselves as CPB agents.
It also says that they weren't individually identifiable, which is an issue, but a different issue.
django really seems to be the trend right now ( not saying there aren't other good and popular frameworks, ofc there are I'm just saying that it's one of those atm ) which ultimately means a whole generation of websites built using Django and in turn enormous support available over the years.
> I wouldn't call it irony.

Correct. It's coincidental.
https://phys.org/news/2020-07-white-people-black-police.html debunks Harris and Trump’s claim
I exclusively used a 1st gen SE until a few months ago. All of my dozens of installed apps worked great - and still do in fact.
Israel was forced to close their schools again after infections skyrocketed with schools opened. One school had 114 students and 14 teachers get infected.

This is exactly what's going to happen in the US as well, especially in the states that are seeing explosive infection rates at the moment.
Let's see - US government instituted reasonably prompt lockdowns. They mailed one-time stimulus checks to everyone, gave 600$ unemployment insurance boosts, ramped up hospital capacities, opened up other support measures for businesses and allowed 50 parallel experiments (at state level) to see what works and what doesn't.

Was the response perfect? Certainly not. Did some other countries do better? I'm sure we could find a handful. Does this make the US a "totally failed shit-hole state"? HELL NO!!

And in case you think that the US is indeed one, it just means that you have only been exposed to Scandinavia and/or Singapore, or you have consumed too much of biased media which wants to maximize your anxiety and partisanship for their profits, or you are just trolling here to intentionally sow divisions. Assuming you are not in the last category, please go and learn about how things are in Brazil or India or sub-Saharan Africa. You will realize that the US is in a much better shape and things are handled far better than the media narratives.
I'm looking at this more from a product standpoint. When someone shows an ad for a vehicle that's priced lower than before and I'm in the market for a car, I'd like to know about it. What do you consider an advertisement? Is a business sign an advertisement? I consider a lunch special saving me the time of thumbing through a menu, I don't consider it manipulation which has negative connotations as well and seems pretty binary, any interaction you have with someone would seem to fall under manipulation. I appreciate the food for thought though.
I can barely do 2x, I should practice then! Depends a lot on the speaker too.
It's tyranny when the people being arrested have not committed any crimes. Half the country has forgotten that peacefully protests aren't just legal, but protected by the first amendment.

I know the knee-jerk reaction to this statement is that rioting isn't peaceful protest, and you'd be absolutely right.

But the media (especially on the right) has blown the number and severity of riots completely out of proportion, because riots are sensational. They're exciting and get a lot of eyeballs watching their broadcasts and reading their articles. They've successfully convinced half the country that the riots significantly outnumber the peaceful protests.

This focus has made it impossible for any change to occur, because they defend the unjust actions of the police. You can point to this massive list of over 200 videos showing police brutality during the protests [0], and they will respond with "BUT THE RIOTS!", as if that excuses any of it.

[0] https://twitter.com/greg_doucette/status/1266751520055459847
I'm very yoga curious but the woo that often creeps in is a real turn off.

For example, the first session I looked at sent me to https://youtu.be/s2NQhpFGIOg and at the one minute mark it tells me that a yoga mat (preferably made of cotton) is important because it prevents earthing of the energy that gets generated in the process.
Creación de un marketplace para vegetarianos y veganos
Estoy en busca de programadores que deseen crear un marketplace para veganos y vegetarianos, todaias no hay diseño ni nada, hay que hacer todo desde cero. Los que les interese Pueden contactarme a geroblancobv@gmail.com
Unused? Ha ha, good one. Our VAX will never die.

$ set def [.openssl]
$ run openssl
WARNING: can't open config file: SSLROOT:
[000000]openssl.cnf
OpenSSL> version
OpenSSL 1.0.0r 19 Mar 2015
OpenSSL> quit
$
The United States government is completely and utterly dysfunctional when it comes to serving the needs of its citizens. The government rarely goes out of its way to help its citizens, and the rare times it does something to help, it does so incredibly begrudgingly, intentionally making the process as painful as possible.

The pandemic payouts are a wonderful example of the government going out of its way to make helping its citizens as painful as possible. Millions of people still haven’t received their one-time payment of $1,200. Meanwhile in Canada, it took their government only two weeks to develop the infrastructure to send monthly payments of $2,000 to every Canadian.

The incompetence displayed by the American government isn’t because they can’t do better - it’s because they don’t want to do better. The same government was able to send massive financial assistance to huge corporations with very little delay.

It’s become totally evident that the United States government exists solely to serve its corporations, not its citizens. Anything it does to actively help it’s citizens is, at best, incidental.
A uniquely American view of independence and rights has become a uniquely american problem with helping our neighbor, unfortunately. Nations with more collective oriented values appear to have done much better.

Just sucks to not have a solution for people who spend their lives teaching (and babysitting, managing, mentoring, and more) our youth.
HTML Modules never shipped which is the biggest hole in the current Custom Elements ecosystem.
General Electric used to do a 10% RIF every year.