skysight-inc/HackerNews huggingface dataset:
After the epidemic of green passes, lockdowns, and all kinds of extreme measures we’ve had everywhere in the « west » during the past two years, i’ve come to the conclusion people actually don’t have red lines when it comes to personal freedoms. They adapt incredibly fast, and are ready to accept every kind of measures provided the government will present them with a good narrative (generally centered around safety from a perceived danger).

Some people will laugh at me for remarking this only now, as we’ve already had those measures everywhere in the world for the past 25 years, following 9/11 attacks. I still can’t help we’ve recently fell to a new low.

Maybe the decades of SF movies showing distopian futures actually had the opposite effect on new generation : they didn’t warn them, they only made them accustomed to the idea, and accept those kind of environments more easily.
I sat in on this class in 2015. I still remember it clearly and it influenced how I think about a lot of things. Highly recommended.
They'll be on video because I'll have my phone out and recording.
A Time-Series Analysis of My Girlfriends Mood Swings
Also having worked in a large Nix dev environment, I find it quite intuitive to use and the reproducibility is a great way to ensure your bugs aren't caused by an incorrectly set environment variable or something random like that. It does get a bit annoying when you need a package not available in nixpgs but thats true of any build system
Nice, but that doesn't really address the plethora of other privacy/security concerns that Protonmail has server-side (like their IP logging which they claims never happened).
> It's amazing how some people will risk their job, their clearance, and potentially their freedom, just to impress some random dudes online for a few minutes.

Maybe they just feel alone, depressed, underappreciated and like nobody cares about them?

Revealing it to total strangers somewhat obscures potential negative impact, while still getting them to feel important for a day.
Tainted = aware of non-public information that must not be incorporated into the product, so it's easiest to just not let those people work on it at all.

By only allowing people who don't know anything secret to work on a product, you keep the product safe from allegations (justified or not) of illegally incorporating third party material.

If you don't do it, you risk that a competitor claims "your product contains our proprietary material, pay us royalties or we'll sue your customers". Even if you're 100% in the right, until you've had that decided in court, your customers have to worry about getting sued, and you'll lose business (and also spend a lot of money on lawyers).

The model is particularly known/used in reverse engineering: One team (that is not tainted with knowing any NDA'd materials, I assume) looks at the product you're trying to reverse engineer, and writes a specification. Another team (not tainted by NDA'd knowledge or knowldege of the code of the original product) then implements the spec. https://en.wikipedia.org/wiki/Clean_room_design
How Thomas Kuhn changed the way we think about science
Oh yeah, it's horrendous, my point was just that it's functionally equivalent and makes more sense as a function than a method on either object. You can actually call it like this if you want, though: `str.join(separator, iterable)`.
(Unrelated to this post) Hello! I've sent two emails to hn@ for help with my account over the past few weeks. Is there a better way for me to contact you/whoever's on the other end of that email for help?
> If we fail to resist this establishment now, the harms caused by a medicalized “show your papers” regime will far exceed the threat posed by the virus itself.

Author lost me there, I'm afraid.
(Disclaimer: I'm a franco-Canadian of mixed European descent.)

This article doesn't give China a great image, sure. I can think of a million criticisms to levy against China.

However, I feel like a lot of the comments aren't just criticizing China, they seem to be outright anti-China.

I wonder if, in the grand scheme of things, Americans/Westerners might be feeling threatened by the shift in power. I wonder if Americans/Westerners are capable of appreciating the things that China gets right, or does right. I wonder if Americans/Westerners are capable of acknowledging the things that their countries get wrong, or do wrong. I wonder if we here in the West are as fair and balanced as we tend to think.

This isn't merely an academic question, I think it goes to the core of the state of mind that is required to view situations objectively (regardless of whether we might be right or wrong in any specific context).

In this case, I'm totally on Wikimedia's side. But I feel like we in the West are standing right on the slippery slope of nationalism.
SLR Photo Webcam Open Design
I don't have time to explain to you the intricacies of antibody testing. However, it is much more difficult than to standardize on what antigens and what titres to pick and how to correlate that for a "positive" result. Testing for neutralizing antibodies is even harder, because it involves isolating the antibodies and testing them against live virus particles and a cell culture.

And yes, standardizing such testing, as complicated and expensive as it is, across all the relevant labs across the country would be a bureaucratic nightmare.

I'm not going to engage with your bullshit about doctors faking vaccinations.
Used to suffer severe bouts, perhaps once per year. Cause unknown until a doctor suggested "maybe due to caffeine". Removed most from diet and problem solved! Worth a try?
It's a poor proxy measure of mobile OS privacy comparing thousands of apps of the default app stores. It totally ignores the effect of Android device brand on privacy, and choice of ROM and non-default app stores being used.

If this was more conservatively titled "who has the worst default app store" that'd be far more accurate.
Also want to add: you can type "help" at the "ssh>" prompt.

That is, hit enter, type "~C", then prompt appears, then "help" and hit enter again.
> I'm a SWE and I don't grok it yet.

I think the biggest difficulty most people have is that it's a pure functional language, and that is quite foreign to a lot of people, even many SWEs.

It's something that's not going to change though because it's a fundamental part of why Nix works so well.
Facebook will not fix itself
Asteroids (Game Engine) in Racket
dumb article
> Toebbe allegedly asked for $100,000 in cryptocurrency, saying “I understand this is a large request. However, please remember I am risking my life for your benefit and I have taken the first step. Please help me trust you fully.”

Well, that not not even funny, more of cringeworthy.
His "I'm a deeply closeted gay man" bit was hysterical. He had Larry King completely confused when he did it in one of his interviews.
When using 100% pure beeswax, it seems to be an issue with just Smooth On Dragon Skin. Is that what you used? I've added a note to the article about it.

I've also had a few folk think they were using pure bees wax, but noticed when they poked around on the label after that it wasn't actually, it's often mixed with other oils and waxes.
Maybe Sokal Squared shouldn't be our primary concern.
Its ironic someone would invoke free thinking in defense of law like this.
I'm no astrophysicist, but I'm under the impression that the effect of the magnetosphere is popularly overstated. Rather, the reason that Earth still has its atmosphere and Mars doesn't is that Earth has the gravity to hold onto it more tightly, and Mars is just too small. Hence why Venus, which also (curiously) has no dynamic magnetosphere, still has an atmosphere: it's 80% the mass of Earth (compare Mars, which is 10% the mass of Earth).
I analysed[0] this early in 2021 based on the self repeated “nutrition labels” that Apple started requiring. There’s definitely a strong correlation between and collects significant data.

0: https://hugotunius.se/2021/01/03/an-analysis-of-privacy-on-t...
If you're going to say "the left" does this, you should be able to do better than a singular example from over year ago.
Same here. Posting an exclusive online is not satisfaying anymore. Maybe because I grew up on times where other websites used to link to your website as Source? Now "influencers" will copy your exclusive on Twitter and Instagram without giving any credit.
https://timesofindia.indiatimes.com/life-style/health-fitnes...

https://www.theatlantic.com/science/archive/2021/09/lab-leak...

https://www.fr24news.com/a/2021/09/former-chinese-communist-...
Whereami: Uses WiFi signals and machine learning to predict where you are
unfortunately there's fundamental issues with file operations on NT:

* you can't delete an opened file, which means every folder delete/move operation has to enumerate all descendents to acquire exclusive locks.

* every file operation goes through a filter driver (think virus scanners)

* the kernel parses path names, and (I think) maybe dispatches one operation per path element.

all of the above can't be fixed due to compatibility apparently. that's why WSL2 moved off of NTFS.
Have you had your eyes checked?

I used to get headaches and feel nauseous by the end of the day, it was simply that I needed glasses.
Oh, I have a fun one. The company I work at leverages Nashorn for running some user-customizable scripts and when upgrading from 8 to 11 we found out that Nashorn changed the way they express numbers under the hood. Basically, every number is either an integer or a float and it used to be that every number was a long or a float.

This silently broke a bunch of scripts and callbacks because of class cast exceptions and such. The solution was to rewrite the scripts in such a way to import the Java Long class and use that directly to express large integers.

The most important breaking issues I've found were not necessarily in our code base, but in dependencies. Libraries that include libraries that include libraries, all doing their own thing, a lot of the time involving some pretty scary reflection stuff for some unexplained reason. Blindly upgrading libraries only gets you so far, sometimes a dependency gets abandoned and you need to find a replacement and rewrite your code to call the APIs in the right manner to be backwards compatible enough.
I'm not fully clued-in to the situation (why I included the word "potentially"), but I've been hearing that the latest Pinephone shipping delay was in part due to the fact that the board schematic changed slightly. Details on this seem very sparse, but I'm sure you could get the full story if you poke someone in the right IRC channel.
This is a neat article, but it does have some errors.

One subtle point that the post gets wrong:

> So where does that come from? The answer is that Python stores everything inside dictionaries associated with each local scope. Which means that every piece of code has its own defined “local scope” which is accessed using locals() inside that code, that contains the values corresponding to each variable name.

The dictionary returned by `locals()` is not literally a function's local namespace, it's a copy of that namespace. The actual local namespace is an array that is part of the frame object; in this way, references to local variables may happen much more quickly than would be the case if it had to look each variable up in a dictionary every time.

One consequence of this is that you can't mutate the dict returned by `locals()` in order to change the value of a function-local variable.

Another, less-subtle error in the post is this:

> int is another widely-used, fundamental primitive data type. It’s also the lowest common denominator of 2 other data types: , float and complex. complex is a supertype of float, which, in turn, is a supertype of int.

> What this means is that all ints are valid as a float as well as a complex, but not the other way around. Similarly, all floats are also valid as a complex.

Oh, no no no. Python integers are arbitrary-precision integers. Floats are IEEE 754 double-precision binary floating-point values, and as such only support full integer precision up to 2^53. The int type can represent values beyond that range which the float type cannot.

And while it is true that the complex type is just two floats stuck together, I would very much not call it a supertype. It performs distinct operations.

> Accessing an attribute with obj.x calls the __getattr__ method underneath. Similarly setting a new attribute and deleting an attribute calls __setattr__ and __detattr__ respectively.

Attribute lookup in Python is way more complex than this. It's an enormous tar pit, too much so to detail in this comment, but __getattr__ is most often not involved, and the `object` type doesn't even have a __getattr__ method.
Ancient Greek Amphitheater at Laodicea Restored to Former Glory
Instead of arguing if this implementation is good or bad, can we please talk about the elephant in the room? What exactly is this snippet supposed to do? Filter out „bad“ usernames by exact match? How did they even come up with this list? There‘s infinite possibilities to spell profanity or insulting phrases, so aren’t they fighting windmills here?
If you think the words software repository and package manager are esoteric technical jargon then you don't need nix, which is completely fine. But it allows developers to identically reproduce builds of a software which depends on other software packages. Other package managers may depend on some global variables of your system, which nix avoids.
In case anyone else wants to know about it before investing their time:

The YouTube video title is "Funniest Leadership Speech ever!"

It's a little humerous, but I didn't hear anything about leadership - the word was never even said by the speaker! The speaker ended by saying "…and that's where I learned where I'm from." So yeah... not about leadership at all. Decent speech, but bad YouTube title. There wasn't any lessons or anything, just a story about the guy when he was a kid.
I wonder if its just about having competent adversaries? The West has always consisted of near-powers competing for resources and technology. A notable exception is modern history, where America hasn't had a serious technological adversary since the Space Race in the 1960s, and we've sort of slumped into this malaise. China appears to be a serious adversary now, but I don't think many Americans seriously possess the will or the skills to take on China.
Which comment about trial and error sorry? I honestly rarely do the same thing twice... ADHD and all. lol

Yes, filler primer is great and I recommend it often. I think I actually mention it in the article? It's just a LOT more work than pouring some wax in and out of a mould.
You have to calculate at least one hash and you only have to perform one query (as it can grab multiple hashes at once), and that query should not choose what to return based on the content of the hash(es).

Pseudo code is supposed to strip away details that might distract from fundamentals, yet your pseudo code and subsequent replies suggest that your understanding is contrary to the actual fundamentals of checking a password securely. Start with limiting the set by choosing by user, never by hash.

Jeremy Evans goes over many of the fundamentals[1], including why restriction of the selection is important, and why restriction of access to hashes (i.e. not sending them from the initial machine) are important. In his own framework (Rodauth) he doesn’t even allow selects of the hashes to be returned to app, let alone used as part of the where clause. Note the clause in each of the functions he defines (12:53 and 14:05).

[1] https://www.youtube.com/watch?v=z3HZZHXXo3I
Israel is a small nation (1/4 the size of Canada, which itself is a small nation) which agreed to do data sharing with the vaccine makers [1]. It effectively became a testbed. 100% of Israel's Pfizer and Moderna vaccines came from Europe.

Israel was an extreme outlier. It is not a counterpoint whatsoever. Israel got priority first shipping before Canada, and even the European countries that hosted the factories.

Many of these comments are weird in that they seem to hold Canada's vaccination effort as some sort of failure. In reality it was one of the most rapid on the planet, dramatically faster than just about every other OECD country outside of the US (courtesy of nationalizing production) and the UK (courtesy of protectionism), and then testbed Israel.

I'm not sure what you don't buy -- the fact that Canada signed up early and for massive quantities is very well accepted fact. The reality that Pfizer and Moderna's European factories became massively oversubscribed (while US factories were basically off limits to everyone else) is also accepted fact.

[1] - Even if Canada was suitable as a testbed (e.g. it's too large and distributed), healthcare is run at the provincial level. There are 13 sovereign healthcare agencies, and this is constitutionally decreed, so it was unlikely to have been possible even if the country agreed to do it.
I didn't claim it's happening now. The state legislature of California did: "The Legislature finds and declares all of the following..." I don't know for sure that the legislators who drafted this law verified that the predictions from several years ago have held up based on newer data, but it's really not much of a stretch think that they actually did check with the experts.

As for airplanes, power plants and other large-scale users of fossil fuels: like cars and unlike gas-powered lawn tools, they tend to more carefully manage combustion to burn cleaner, and power plants can treat exhaust (like cars do with catalytic converters). So those sources are cleaner per gallon of fuel than a gas-powered leaf blower, and they don't exhaust quite as close to living, breathing people.
Isn't preying on that allure the mark of successful journalism? Getting info from unofficial channels etc.
Building a basic (large, loud, inefficient, expensive, unsafe) reactor is "easy", by the standards of nuclear shit. Building one that's suitable for use in a submarine is decidedly less so.

How often do you need to refuel the reactor? That's inconvenient on land, but in a submarine you need to cut through the pressure hull to access anything and "inconvenient" doesn't even begin to describe it. Modern American reactors are designed to run for 20+ years without refueling for exactly that reason.

How much do you need to run the coolant pumps and how loud are they? A loud sub is a dead sub. If your reactor can run on convection at low power, that's wonderful.

How power dense is the reactor? You need to fit this in a relatively narrow tube, after all! And higher density means higher speed.

How safe is it? How easy is it to cause a meltdown? That directs staffing requirements, and subs don't have staff to spare. A reactor shutting down at the wrong moment can very easily cause the sub to be lost, even out of combat. See the USS Thresher for a demonstration.

And finally, how much maintenance does it need? What portion of this tractor's life needs to be spent tied up alongside a pier having work done, or even worse spent in drydock? The higher the proportion, the more subs you need in order to maintain a given number on station.

So yes, there's PLENTY of things that aren't in a textbook reactor design. And the largest current buyer of nuclear reactors is the US Navy. Number two is the People's Liberation Army Navy.
These are the nasty solutions I have to deal with at work all the time and my entire job consists of handling things when the "quick" bash cloud init script that someone wrote and various people have made additions to over the years goes wrong.

Bash scripts fail at this task because they are generally not convergent. Ansible makes a basic effort at being convergent, but most of the scripts I've seen are extremely naive about the ways in which a configuration can diverge.
> what programmers actually* do with checked exceptions*

If the only trade-off considered is 'writing "gobbledy gunk" to handle exceptions poorly' vs 'not handling them at all' then, of course, checked exceptions will look bad.

If the trade-off is whether the compiler will be able to tell me that I'm not handling an exception, well, I want the compiler to help me out. People writing low-consequence code can sprinkle "throws Exception" everywhere.

Without checked exceptions, it becomes my job to ensure that exceptions are handled, and I am nowhere near as thorough as the compiler.

> what you maybe need is a different design*

Could be. Perhaps exceptions on the whole are not a good error mechanism because of the way programmers think about them.

Picking two HN favorites, Rust has Result<T, E> and Zig has error sets, both of which effectively work a lot like checked exceptions but with better syntax (and without the bad rap). try/catch is clunky by comparison.
Hollywood gets to borrow millions in us army equipment for free if the producer runs the script by them first. Part of the deal is that the us army always have to be the good guys and not have any internal problems related to things like sexism homophobia or anything else
Too many variables to account for.

Didn't mean to imply we could get "as hot as" Venus, which is unlikely due to our distance from the Sun. But hot enough to boil water? Possibly, given a runaway chain reaction. Not sure.
For the GUI stack?
Yeah, the data is totally skewed! They didn't even include Android 12 which just hit AOSP beta last week!
> involving some pretty scary reflection stuff for some unexplained reason

This is where it always seems to end up. Why do people bend over so far backwards doing reflection that isn't specified?
Starlette, SQLAlchemy.
Almost all distros ship at least openjdk-11, and many including Debian have openjdk-17 now.
If your issue is Sleep Related Painful Erections (SRPE), then Baclofen works well.
> You, as an individual can't charge people criminally.

I can press charges. Violently holding people prisoner is a felony. It's not a joke.

> I suspect you won't get much in the way of financial compensation from a broke college student.

It'll be enough to matter to him. Future wages can be garnished.

> you'll lose your job

I don't want a job where I'm required to be a milquetoast.
Australian DVA Claims
Slater and Gordon are Military Lawyers who assist veterans in their dealing with DVA, including DVA Claims
Most people use portable generators to avoid the high cost of permanent ones.
San Diego surpasses LA in housing unaffordability – HousingWire
Sure, reality is objective. But that's not what we perceive. We perceive reality as filtered through our psyche. No human has ever perceived objective reality, and none ever will.
They did. Some software tooling still does. It's still an antipattern if it replaces documentation.

This applies to communities in general (on-line and off-line). Knowledge needs to be captured outside of the minds of select participants. It's e.g. why, in our local Hackerspace, I always insisted on the rule that anything said on IRC (or later, Telegram) is non-binding - the only things that matter are ones decided on the mailing group or documented on the wiki. To do otherwise is to force out everyone who can't keep pace with the common chat.
Valhalla isn't anywhere near complete and has been in development for 8+ years, C# had these features before valhalla was even planned.
The above are persistent and searchable, unless you're using the free version of Slack which sets a limit on persistence

But regardless, my experience is that once languages reach a critical mass they do get real documentation in a more browsable format. And I think Discord is a totally valid temporary solution for documentation, and a totally valid replacement for discussion groups.
How much math do I need to follow this? And please, avoid terms like "high school math" since I'm not from US and this means nothing to me.