skysight-inc/HackerNews huggingface dataset:
This works as expected only because id(math.nan) is always the same, if you build the nan dynamically, it will fail:

>>> d = {float('nan'): 1}
>>> d
{nan: 1}
>>> del d[float('nan')]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: nan
That is why Linux is run on top of hypervisors, alongside containers and kubernets orchestration engines, get to use that extra performance.
> Friends are good for unspecialized labor, but when you get into skilled labor it falls apart.

I wonder if this alone holds a lot of explanatory power for why people in many increasingly developed countries tend to have increasingly fewer close friends in their personal lives. Labor gets increasingly skilled and specialized (and requiring facilities, supplies, and support staff owned by large companies) leaving fewer opportunities to directly help people who live next door. And skilled/specialized labor pays more, so people have the money to just hire out any help they need.

Thus fewer friendships form around a natural need for help from neighbors and the ability to meet such needs -- because both have decreased significantly. And along with less needing/helping, human connection and trust also suffer significantly.

In the past, local community groups, especially churches and social clubs, helped significantly with fostering human connection; but those also are suffering significantly.
I feel that the likelihood of a discussion about this not devolving into a flame war is low.
Linear Method for Software Development
Honest question here: are there trans men that want to get pregnant? What fraction of trans men want to get pregnant? I get this is tangential to the discussion and I get I am betraying my ignorance, but it is not particularly easy to find information on this question and it seems somewhat pertinent to the practicalities of this issue.
A good time to learn something new!

Gender is a pure social construct (e.g. man, woman) and sex is more biologically derived social construct (e.g. male is xy, female is xx). But this doesn't cover all of the known sex chromosome phenotypes, hence there's still a strong social component here too.
Because they regard privacy as important am using Qwant https://www.qwant.com/ and Ecosia https://www.ecosia.org/
Companies centralize their infra - be it on AWS or some VPS provider.

Was at a startup that paid 5k/mo for Cloudfront and moved to Cloudflare and paid just 200/mo. DNS performance improved as we switched over to Cloudflare as well. Saw a decrease in bot traffic. No complaints about usability or being blocked.

So yes, Cloudflare was useful and helped saved $ for us
But painting a room or mudding drywall or hacking down a wall? These are not really that specialized, are they? Or like, they're skills that can taught at the basic level with a few minutes of instruction and oversight.
Tiddlywiki is a real piece of gem. I use it with github saver on a single machine. It works great for me. No server setup, no additional cloud provider since I'm already on github and I think the github saver works on mobile too with the page added to homescreen. Not completely sure about the mobile bit as I mostly work with my work machine
Someone who was born a woman, but now identifies as something else
I missed that that, yeah.
Compilers with David Beazley: a recursive descent into madness (and delight)
I imagine north America has become so politicized that they want to minimize payoffs lest they give “anti-vaxxers” ammunition.
A long time ago, I was playing Far Cry. Console was opened. Then all of a sudden IRC chat messages from the IRC client I was running in the background would appear in-game, with fronts and effects (shadows) from the game. shrugs
> Yes, just namecall :)

hey rejectfinite, it's a representative acronym, not an insult.

https://en.wikipedia.org/wiki/TERF
Why on earth would anybody care if Elon musk has a degree or not?
George Orwell was truly known for his harsh opposition of individual rights and self-recognition.
Not just in Australia
> I wouldn't consider losing territory equivalent to losing lives.

Russian behavior in occupied regions makes it quite obvious that those are equivalent, at least for people who dare to not identify as Russian.

> Also, isn't the opinion of those living in Crimea important?

To a degree, although you need to consider policies of expelling non-Russians from Crimea and intentionally settling Russians there in how much stock you give that.

> When this started, it was assumed that Russia would collapse very quickly,

There was also fairly widespread surprise how well Ukraine held on.
Right? She's a woman, which awesome... Women are cool. Some people who give birth aren't women. Those people are also cool, whether they are men, non binary, agender, or whatever else.

Can we not just let people be who they are and recognize gender minorities do exist? Acknowledging the existence of trans men doesn't reduce the incredible experiences of any woman who gives birth (or doesn't!)
I don't think oysters are rare though.

As for flavor, I can attest that good oysters have a distinctly nice (if acquired) flavor. Two to three chews, then a swallow. Served chilled.

Diamonds, on the other hand, only have a legitimate industrial use. As a "precious stone" they are not legitimate and only appear as such because of marketing and lots of terrible tactics. And for industrial uses, manufactured diamonds are superior. So this isn't really the same as oysters or other consumables.
I live next to Broad's offices and see people leaving/entering the office at odd hours on Saturday and Sunday. That (and the fact that they pay about 75% what I made as a new grad) prevented me from ever applying there.
Well, at first I also didn't like it, but I found its benefits:

1) old things do get repeated - but not like you having to jump back in the path, but by introducing things to repeat inside the current lessons. And you still have the "weights" button to practice manually if you wish to

2) what you used to have on one level in the three (e.g. three lectures on the same row) and you had to learn them one by one or mix them manually, now gets automatically mixed for you. This makes learning harder, since to get the purple level, you have to complete the purple challenges of several lectures mixed all together

3) levels in the new path are just spaces where you learn a concrete new thing. But lessons from previous levels get mixed into the new one. So it is like learning a new layer of your tree AND practicing the previous layer at once.
One reading is that despite declared mismatches between versions. There were no actual instances of incompatibility found?
“Sticking feathers up your butt does not make you a chicken” - Chuck
What helped you most getting up to speed in emacs? Every time I try I give up
It's really not possible to dispute that the Supreme Court just tells police what magic words they need to include in their reports to make unconstitutional searches constitutional.

In Terry v Ohio [0], a plainclothes policeman saw three guys casing a store, saw the outlines of concealed items that he believed to be guns, he stopped and searched them on that basis, and two of the three guys had weapons. The Court ruled that the evidence was admissible and the officer's "reasonable suspicion" made the search lawful, as the officer's safety may be endangered if they're questioning individuals with weapons. Without a reasonable suspicion that an individual has a concealed weapon, though, the frisk is an unconstitutional 4A violation.

In this NY Civil Liberties Union study of stop and frisk data [1], going through NYPD stop and frisk data, from 2003 to 2013, 2585945 frisks were performed but weapons were only found in ~2% (!!!) of frisks. If your suspicions are wrong 98% of the time, it's pretty hard to describe the suspicion as "reasonable", but the SC declared that asserting reasonable suspicion is all it takes to make those unconstitutional searches constitutional.

I'm not anti police, I'm a homicide researcher in Chicago and I have immense respect for a number of the officers and detectives I've worked with. But I can't look at these facts and then pretend they don't exist.

[0] https://www.oyez.org/cases/1967/67

[1] https://www.nyclu.org/sites/default/files/publications/stopa...
Layoff Visualizer
It's because cpython shortcuts through identity: https://github.com/python/cpython/blob/main/Objects/object.c...

/* Quick result when objects are the same.
Guarantees that identity implies equality. */
if (v == w) {
if (op == Py_EQ)
return 1;
else if (op == Py_NE)
return 0;
}

`math.nan` is always itself, and thus this shortcut is taken and the key works.
Symbian was multiserver and written in C++ - I cannot compare with HelenOS but the fact that there were separate server seemed to go hand in hand with asynchronous system calls which make Linux seem a bit primitive. I'm sure it caused a lot of problems in various ways too but I wasn't working on that at Symbian.
Using floats as hash keys is insane, no?
The blessing and curse of this website is when I make a low effort complaint I get a very reasonable and useful response, which my complaint did not deserve. Aside from any other details, thanks for that csours.

All that said, I still find this to be the kind of thing that probably feels very tight and compelling if you already believe it (and perhaps if you already know what "PREE" stands for), but for someone on the outside (like me) it just seems like a bunch of statements with broad mood affiliation and then the blog post ends.
I've been trying out Linear[0] and really like the opinionated approach. They publish a guide on how software should be developed and I'm curious what others that have been at it for a while think of it.

0 - https://linear.app/
if you make driving too hard then people don't buy cars, at 16. what's next? walkable neighbourhoods and grocery shopping in some walking distance?

greetings from Nuremberg, BY ;-)
> We've discussed this in chemistry classes. The compound is the compound. Why does it matter where it's sourced?

Because the purity might not be 100%. There might be some petroleum left in the end product. Especially given that suppliers have a financial incentive to not care about safety that much.
I totally agree and was put off by that posters assertion. Nicely put.
Comparing the raw bits using instructions intended for integers is quite fast.
Is Linux really not commonly using 64-bit file times yet? I know there are some years left, but it seems like a relatively straightforward problem that needs to be solved for everyone.
Usa had nukes during vietnam war.
I learned a lot of things there! The training I received was focused on two components, what they called Awakening and Responsibility—Awakening referring to contemplative practices and monastic structures designed to lead to classical enlightenment, and Responsibility was hands-on leadership training through helping their non-profit organization.

Learning about power was indeed one of the most valuable lessons I learned there, specifically on the responsibility side. Basically, I went from not caring about power, and subtly believing I shouldn't have it, to believing that it's worth using the power I have to do good things. Nowadays, I spend most of my time doing service projects, using my power to benefit others. My blog and this post is one of them!

My teacher had definitions of wisdom, love, and power that he shared in his teachings, which I personally found useful, but you're right, there aren't culturally agreed upon definitions of them. I find getting to know people over time gives you a sense of their character, their values, their strengths, and their weaknesses. When I meet someone I deem to be wise and loving, I want to help them, give them resources, connect them to people, and find other ways to support them.

Just a few thoughts!
People hate change. It's not news.

I have a two year streak. It doesn't really change anything for me, except making fewer choices.

If they had changed from the new UI to the old one, the same articles would be written. It's the change people don't like, not the quality of the UI.
Your muscle memory makes you push both brake and clutch at the same time, the brake slightly ahead. In a real emergency braking stalling your engine would be the last worry.
Stock Android has nothing to do with it, the same Play Services exist on every Android phone on the (western) market.
Why design a society after the minority?
Amaurote – A classic Mastertronic game has been re-released on the C64
I listened to it at the time because although I'm not a regular listener to the Bloomberg Oddlots podcast, I've actually been subscribed for years and pick out the occasional episode and saw that Levine was on it. I had zero idea who Bankman-Fried was at the time, and was very amused by the whole thing. I assumed he was some sort of fringe ne'er do well who was willing to come on and talk about how scammy the whole ecosystem was, and I didn't actually realize that he was a big deal until some time later and I was shocked at how matter-of-fact he was about the whole thing.

So that is to say, I heard it, but I didn't realize the significance. And Levine is probably the best explainer and journalist in the financial space today.
Identity is a bad concept to classify biological bodies.
It's honestly a bit shocking it's even made it to the front page.
We had a computer dedicated to encoding video that had a misconfigured date that was in the future so all of the encodes from it had the incorrect date. It played havoc with another program on a different system with the correct date. It took a few days for that program's support team to recognize the issue. There was nothing wrong with the file as in the video/audio data was not corrupt or anything. Doing a stream copy to a new file with a sane date made the program happy again.

Never did understand why the software even looked at dates, and support couldn't explain it either.
Keep saving and you'll figure it out.

I know somebody who worked 8 years saving whatever he could, and he finally opened a shisha shop.
The commons example as it relates to vehicles themselves is not optimal because you bring up a good point - in an optimal market situation, competitive forces will drive poor performers to do better or fail.

I’m not actually totally sure what point I was trying to make, or if this will ever become a problem, just food for thought/discussion.
And heat pumps produce 3-4W for every Watt of input. So replacing gas heating with heat pumps only requires 1/3 the total energy.
This won't ever be resolved so long as there is insistence on equating biological sex with what gender someone identifies as. Biological differences are real, regardless of what your brain tells you to feel.
The first LNG terminal has just been built (using a ship-based terminal I think, so somewhat different than a completely land-based LNG terminal). The plan is to buy the gas from somewhere else than Russia, and so far we're doing far better than the original predictions. Doesn't mean there won't be problems, but it's certainly not as terrible as expected.
Given Musk's actions WRT buying and owning Twitter over the past few months, I think this is one set of layoffs that are solely due to the actions of one person. He agreed to buy Twitter for a high price (because he thought it would be funny to buy it for a price with a weed reference), and now other people are having their lives turned upside down because this guy is not as smart as everyone thought.
How acknowledging a minority also exists "designing society after a minority"?
I think in this case it has some value because of the ritual or the mystique of oysters. There is something about their presentation, their distinctive texture and flavor, and of course the ancient belief that they increase sexual virility.

In a supermarket, oysters don't fit. There is nothing exclusive or sexy about most grocery stores.

But when you're at a nice restaurant terrace hanging out over the ocean, and you receive a large sculptured platter of ice with 6-12 oysters on the half shell, garnished nicely, it is a special thing. Coke vs champagne.
Ashley Madison. Was talking to my wife about that last night. One of her friends found out that her husband was using the site and I was floored to realize that, years after that hack, it's still around. I don't know why I was surprised -- it's not as if a leak / hack would curb the behavior enough to impact that companies bottom line -- but I was.
The apple springboard one - it is location aware enough. I use it the most. Otherwise it's ddg.
Instances blocking other instances is a complete deal-breaker for me.
If I were to want an “open source community” experience, I would’ve hoped that instance operators would be powerless to stop me from following whoever I want. And yet, by the sounds of it, “following” people happens on the server instead of the client.
Most folks agree on biological facts, and the science is fairly consistent at this point. There remains a group who refuses to accept that we've improved our understanding of the human condition over the past several decades, unfortunately.
oh, but regulation is bad, and annual car inspections are oppressive ... Afaik US is the only civilized country on this planed without legit technical car inspections.
I agree. Basic home ownership skills like plumbing, wiring, and painting aren’t “specialized. I’ve bonded with friends and neighbors over such things.
Current Broad SWE with 5 years’ tenure. Feel free to ask any questions.

I’m in the “bunch of software people together” department so it’s not as insular or PI driven as working in a lab.

I still mostly like the role but it has become more generic over the years as the department acquiesced to the working ways & programming languages of outside private funders.
Antidotes?
I'd hope they do follow some procedures. The problem that those procedures may be lax / subjective / easy to work around is a whole other matter...
No risk of Germany making deals with Russians + demand for American "molecules of freedom".

> Making Europe enemies instead of allies?

Oh please, who in Europe would even dare to shift the narrative towards regarding US as an enemy? Almost nobody in the whole world is THAT crazy. Definitely not in Europe - when was the last time they did (or even said) anything against the US?

They'll just blame Russia and everyone will forget that the US was even a suspect in just a few years.
Because I was at -1 after just 10 minutes and no one was engaging in discussion about why what I said would not be correct?

And, please, let's not pretend to be socially inept machines - everyone here chooses to ignore a guideline or two when it's convenient - at least I was looking for actual feedback, as I was sincerely puzzled by the situation.
> why does a font library (or, almost any program) care about the last read time of a file? Sure, the modification time is important, but it's pretty rare that code should care about when a file has been read before.

There's no separate system call for the modification time; a single system call (https://man7.org/linux/man-pages/man2/stat.2.html) returns the three times (atime, mtime, ctime) together. The font library probably wanted just the modification time (to check whether the font cache is stale), but it cannot get the mtime without also getting the atime (and ctime).
> I tried duolingo for the first time in like 6 years - pretty sure I was using the “old” design and not this latest.

It would seem unlikely that an article would appear now about a 6 year old update, and the article mentions changes made on November 1.
It's really sad that it's come to this.

Regulators asleep at the wheel and they let the "cars" get too big.
Yes, on the one side, his own declarations sound absolutely clueless, not to mention highly self-contradictory. On the other side, if he does manage to turn back Twitter into a lean and mean startup and retain the Twitter brand, he'll have done something impressive. Plus Musk has somehow become a politically loaded name, so everything you read or hear could have been twisted by one side or the other.

Regardless, right now, I'm having so much fun watching that soap opera unfold!
Why split society into a zero-sum war of factions by declaring that society should be organized around the majority, rather than attempting to accommodate as many people as possible?
Yes, why would you ever want a map with floating point keys?

I'm struggling to think of a valid use case where there is no better alternative.

Any design utilizing this language "feature" seems masochistic and begging to get sliced by sheet metal edges.
The concept of "biological sex" is not even a binary, and it's treated differently in different parts of the world. So we haven't settled on definitions of biological sex outside as a species yet.
> because we have to trust what they are delivering

Only if you're gaslighting for big pharma, which seems to be something you're very comfortable with. But keep blaming others for your own evil.
Best post this week on HN. Love it.
Because changing the sites/books/medical language that EVERYONE uses is exactly that.

I can "acknowledge" something, but I don't have to change anything.
Point I was trying to make is that the types of attacks that can be made purely by computation are very limited, and generally fall in the category of excessive resource consumption, which is something we have fairly decent tools to manage. Or put another way, no amount of computation is going to get a program access to my emails or install rootkit (or whatever) if the runtime does not provide APIs to do so.
Yes that would mean that sqrt(-1) equals to 0/0 for example, which might open a new portal to hell.
Are societies designed? And if so why not add some protections for minorities? They tend to be oppressed and ignored by majorities
LOL I was a vegetarian for 6 years then I moved to China and gave that up quickly. I'm now vegan, and I think I could go to China and make it happen now. But I lived there for a while so no longer have a desire to try everything.
Perhaps not specifically what you're looking for, but I've always found Wikipedia's current events portal to be a good source for info on major events.

https://en.wikipedia.org/wiki/Portal:Current_events
Is the point you're making here that removing the "premed" undergraduate degree (which doesn't exist) will somehow lead to reduced healthcare costs?
What self-labeling is being denied to her? She seems to be mostly complaining about labels others use, in the general case.
I don't trust Google so I don't allow Google on my device. Full stop.
NaN is not a single value, it's a multitude of them: a NaN is defined by all exponent bits being set to 1, so in a double there are 2^53 different possible NaN bit patterns (though only 2^52 values, because the sign bit is not part of the "NaN value", and possibly half that if you interpret signaling as a variable property of a fixed value)
Nobody is saying this woman isn't a woman or isn't allowed to identify as a woman. (Or mother.)
> Why design a society after the minority?

We always have an obligation to design society to accommodate everyone, not just the majority. Otherwise, with your line of reasoning, you might as well repeal the ADA, do away with ethical AI considerations to enable equal processing of richer skin tones, etc.
More flamebait, you should stop. The GOP already used their "groomer panic" card on gay people and failed, so it falls pretty flat today. Some people are trans, get over it.
> Russia can't be defeated as long as it has nukes.

Why not? The Soviet Union lost a few times, even with nukes. The US has lost repeatedly, even with nukes. I don't know why nukes would prevent it from losing. Prevent it from being taken over, maybe, but that's not really what's at stake here.
Current DSPer since 2017 and broadly agree with OP.
I didn't include it specifically because I don't come to HN for funny comments that make others laugh, that is what reddit is for. Different site, different purpose.