skysight-inc/HackerNews huggingface dataset:
You are welcome. Thanks are too rarely offered. :-)

You may also be interested in word stemming ( such as used by snowball stemmer in https://github.com/c-blake/nimsearch ) or other NLP techniques, but I don't know how internationalized/multi-lingual that stuff is, but conceptually you might want "series of stemmed words" to be the content fragments of interest.

Similarity scores have many applications. Weights on graph of cancelled downloads ranked by size might be one. :)

Of course, for your specific "truncation" problem, you might also be able to just do an edit distance against the much smaller filenames and compare data prefixes in files or use a SHA256 of a content-based first slice. ( There are edit distance algos in Nim in https://github.com/c-blake/cligen/blob/master/cligen/textUt.... as well as in https://github.com/c-blake/suggest ). Or, you could do a little program like ndup/sh/ndup to create a "mirrored file tree" of such content-based slices then you could use any true duplicate-file finder (like https://github.com/c-blake/bu/blob/main/dups.nim) on the little signature system to identify duplicates and go from path suffixes in those clusters back to the main filesystem. Of course, a single KV store within one or two files would be more efficient than thousands of tiny files. There are many possibilities.
> Enrolled in an institution with work eligibility in one of the ten countries: India, Singapore, Indonesia, Malaysia, Vietnam, Philippines, Thailand, Mexico, Nigeria, and Colombia.

Feels wrong to limit like this. Yeah GH/MS you care so much about people, definitely not a way to encourage outsourcing.
My conclusion is that using Ansible with Kubernetes is the WRONG way to go about it.
So now instead of a directory of yaml or helm charts we have a bunch of ansible uselessly wrapping the yaml for application.
There are people in the world who don't have a phone. amazing eh
I like how sleep works on my MacBook in that I can close my screen and open it back up to work in less than a second. On windows this doesn’t work. Half the time my dell or Lenovo freeze up and the other half it hangs for seconds.

However, I notice that it sleep mode it will have tons of network traffic and I wish there was a setting to make it really turn off when the lid is closed and not do anything.
Yes rust has user friendly tooling that's far superior to pip poetry pipenv and venv etc

Since rust Python can theoretically access Tokio does it make it avoid the cpython gil issues
Emphasis on should here. In the "real world" with real family pressures a lot of the time good account hygene goes out the window. In my experience account sharing is rife on "kid" iPads, especially as many of them are often hand-me-down devices that people don't want to have to go through the pain of reinstalling everything again for a new user.

The ideal solution is iOS on iPad gets multiple user account support (like general purpose Macs and PCs have had for decades....), and you could just quickly throw on a new kid account, but Apple clearly like forcing you to buy one iPad per user account and reinstall everything every time it gets a new user - shared devices aren't as great for the company bottom line.

The sad thing is this support is largely there in the OS already built; its just locked to schools/businesses and is a PITA to setup for private owners:

https://support.apple.com/guide/deployment/shared-ipad-overv...

Honestly, the lack of multiple user accounts is borderline criminal in my opinion, especially on the high spec expensive M1 iPad models that cost as much as a multi-user laptop.
Dominant? Not sure. Certainly in the anglic west, French thinkers of that time are better known, but I think the clearest thing we can say about ~18th C France is that it kept its borders intact and continued the centralizing of power begun a century before.

Russia, Austria, and at times Holland, Spain, Prussia and Sweden, were all major players in Europe, with waxing and waning influence. France was relatively stable while Russian grew and the others mostly ripped pieces out of each other.
I've been hearing about sweeteners and gut flora for years and it still seems inconclusive. If there's a smoking gun it seems like it's hard to find and we've been eating artificial sweeteners for decades. What's creepy is that it's no longer a "diet" food but showing up unannounced.
Mobile games don't really strive to be anything other than what was described. Seems pretty expected.
Are you under the impression that most wealth in a country comes from rich people? Because observation over the past few decades strongly suggests it's the reverse. Rich people drain money out of the economy; working people create value, and thus wealth.

Or what do you think is going to happen? The billionaires will pull out, but they'll make sure to retain ownership of all the businesses they ran—and fire everyone, thus ensuring that those are just losing them money? How is that going to be better for them than paying the tax?

And how long before France just nationalizes the businesses and puts people back to work without the billionaires getting a cent?
Progress indeed. It's the correct trajectory, but let's keep going!
Pay to win on mobile?? This is revolutionary!!! /s
Bluetooth is a fundamental part of the Find My and broader Location Services stack.

Low power devices like AirTag rely entirely on Bluetooth LE and the Find My network to determine their location.
So Signal isn't for everyone, because it's not for people in China who disagree with the Chinese government.

Requiring a phone number means it's not for everyone, period.
It's intentionally using the naive 2^N solution to stress test lots of tiny function calls.
Think of something you really enjoy doing. As a random example I'll pick "playing video games".

Now, imagine you've been playing the same game for a couple days in a row. And you're getting kinda sick of it. Not that it's bad, it's got its good moments. You've just had enough of it, for now. Would you continue playing it?

The answer is (hopefully): Of course not! You'd move on to something else you enjoy more. If the game was truly engaging, you'll come back to it anyways, maybe a few days/weeks/months later, when it captures your interest again.

Since a few years this is my attitude towards side projects. The flipside is that you have to accept the fact that 99% of the things you start will never get finished. But that's ok, as long as you enjoy the work itself. Of course that doesn't mean there aren't difficult moments. But there has to be a genuine, intrinsic motivation, which is independent of shipping something.

Keeping a journal/todo-list for every project (I use an infinite bulleted list like Dynalist) really helps, since you can just come back to a project anytime by looking at the end of the list.
with persons as (select * from Person)
select Name from persons
where Birthdate < '2000-01-01
Whether other OSs do by default is irrelevant. Are you saying that I just be content with the ability to turn off WiFi?

Besides, MacOS is cherished by many as a UX/UI masterpiece, yet there are many annoyances that need to be fixed by the user. For example window management is a big one, I simply haven’t been able to achieve the comfort of i3 on my work Mac. (tmux comes close, but I can’t run Firefox in there)
I do wish for that. However that isn't the same as streaming with the screen off. Phone batteries drain far too quickly.
I can definitely taste a difference between stevia-sweetened tea vs sugar-sweetened tea. "Sickly sweet" is a good description of stevia. Xylitol on the other hand feels quite similar to the regular sugar.
> You are going to be disappointed if you think anything will keep our kids safe.

Car crashes are a top 2 (often top 1) killer of children in ~every developed country. Cycling doesn't crack the top 10. Its intellectually dishonest to pretend that cars and bikes are comparable dangers to children.
> I mean this guy is literally in a wheel chair.

I didn't know being paralyzed made you immune to criticism.
Nintendo has such a great, family friendly brand. If I was in charge, I wouldn't want my brand to be anywhere close to being associated to this type of thing.
Dealing with limited breaking changes in C#
I get it. Watching some of the videos of him giving tours around the SpaceX facilities, he comes across as a real first-principles thinker. So much of tech disruption is applying first-principles thinking to problems and coming up with better solutions. Given that he's so great at it, I can see why people look up to him for it, his companies are clearly successful for having built things from first-principles – electric cars, rockets, etc.

Except... of course... it's not that simple. "First-principles" thinking is a nice buzzword and it's rooted in some truth, but it's an excuse for university engineering graduates to ignore real world problems and consequences, and jump to solutions that are certainly disruptive, but often disruptively bad, and rarely overall an improvement from the status quo. It's pure naivety, and as someone with a lot of self confidence from unearned privilege, it's something I'm constantly battling against inside myself. Can I really do a better job than experts? Probably not.

Is SpaceX much better than competitors? Yes, but not entirely because of first-principles thinking, there was a lot of winning the right contracts and clever business decisions from Gwynne Shotwell. Is Telsa much better for its reinventing the car from first-principles? Not really, it was for a bit, but the vertical integration has so far borne out fairly low quality cars relative to their price. What about Twitter? Well Musk dropped in to a working business to re-evaluate everything with that first-principles thinking and look where it's got him. He was naive. He didn't value the expertise of those actually doing the job for years, and he's effectively destroyed the business.

So yeah, I get why people like him, and in moderation I think those aspects are worthy of respect. However Musk doesn't do moderation, and so it just comes across as naive.
So? Are you claiming that means the US can't help the Taiwanese in their goal of self determination?
Disappointing to see they were flagged, but moreso to see the apparent ratio between downvotes and negative comments on those threads.

Apparently a large subset of the community felt those posts should be removed from the front page, but didn’t feel obliged to explain why. It’s like Elon is becoming a radioactive element for this community’s health too.

Edit: This submission also briefly showed as flagged sometime in the last 20m
... or whether HFCS is really that much worse than sugar water.
It's surprising more mushrooms aren't actively cultivated

I asked a mycologist acquaintance this at a party some time ago (several folks were talking about unusual recipe ingredients). He said it's just that most mushrooms don't travel well enough to be profitable enough for the grocery chains. But local mushroom growers seem to be showing up more and more at the famers markets at least around here, so we're getting more variety.
Plenty of SQL features have been added since the 70s, notably window functions (which TFA relies on heavily). Most of the major databases are from the 80s, and even new kid on the block MySQL has been around since the mid 90s.

SQL draws a very hard line between the expression of the query and the AST that is used in the actual implementation. Database vendors like this aspect because they are free to implement whichever optimizations they want, but application developers want to build queries programmatically and optimize them themselves before passing them to the db engine, hence the tension in threads like these.
Signal isn't for everyone, because it's not for people in China who disagree with the Chinese government.

Requiring a phone number means it's not for everyone, period.
That probably depends on the area where you want to live in. Check for job postings in the area you consider, see what language is used the most
Too many arguments are shoe-horning "environmental benefits" to artificially insert ethical justifications. It's getting a little tedious when it's equally applied to marriage, house ownership, office politics and LED lights (NYT even cited environmental benefits to being less tall).

Not being alive also has environmental benefits but it's not necessarily worth mentioning.
Ask HN: How to get in touch with more clinicians?
Hi HN, I am working on a healthcare startup idea and we are currently trying to validate our assumptions. For this we need to talk to a number of medical professionals within a specific domain. Since my university has access to a university hospital next door we were able to talk to 12 doctors and also the financial administrators to get info about budgets so far. While the feedback was very promising the incubator we applied for wants us to get in touch with at least 100 professionals.

Given that it took more than 1.5 months to get in touch with the previous sample group I was wondering if there was a faster way that I am not seeing. I already thought of faires, but the next relevant fair is a month away and we really need funding asap to keep going.
Don't run wifi and real-time software at the same time.
While it is great, Wazuh is not close to a static analyzer.
> How did his disability prevent him from doing his job?

It was not preventing him from doing his work, it was preventing him from doing other unrelated work he was being moved to because of musk's nonsense.

> You realize it's perfectly possible to type and code using voice control, with the right setup?

While I think it's perfectly possible to type and code with motor issue (though I also think that would not be sufficient for Musk), Halli was not hired as a dev, he was acquihired when twitter purchased his company, his job is in management, clients rel, wheeling and dealing, and probably design given his site (and that Ueno was a creative agency).
First 10M digits of π in base-2
Modern consoles are plugged into the wall and are large enough for active cooling. For a 1U rack unit they can be cooled with small server fans; noise is not an issue as the amp fans are just as loud and the music will drown them all out anyways.
Its been that what for some time now. Ever since psychology took ground: Happiness Machines, https://youtu.be/DnPmg0R1M04
Couldn't say. If I had to guess, a lot of ventilation happens through walls which act as a filter. Even window screens likely do.

Regardless of reason, my AQI will regularly be 4-13 indoors when it is 38-54 outside, even if I have windows open.

Note that this only covers PM 2.5, and not other stuff such as VOCs etc.
Recording sound from a video-only device that has been covered, with no hardware modifications would be a really really neat trick! Using Van Eck phreaking against all sorts of hardware is fascinating to me. FM radio broadcast from how RAM gets accessed and things like that. Maybe noise in the camera sensor can be used to pick up noise from the microphone on the motherboard (which is where the microphone is on Apple Silicon devices). I'm not going to say it's impossible, but it seems highly unlikely given everything else in play.
Actually, thinking about it "PM" should be sufficent to address it to the Prime Minister. So...

PM

HP

Might work. Maybe I should go and parcel up some dogshit and try it.
What sort of nonsense website is this. It tells you that it works best in landscape mode when on mobile, but switching to landscape renders half of the page off screen.
Mars Climate Orbiter has something to say about that, but you'll have to figure out where it ended up in orbit around the Sun if you want to hear it.
To build a world-renowned web design firm based in Iceland (population 370k, barely bigger than Cincinnati, Ohio) is pretty astounding. Looking at the beautiful "coming soon" homepage [0] he presumably built for his restaurant (which is named after his mom [1]), I can see why he was well-respected in the field

[0] https://annajona.is/

[1] https://twitter.com/iamharaldur/status/1633109753890058242
This is the thoughtful discourse for which I come to HN! The moderation system is working perfectly; I await this comment's upvote.
Not 4 sentences, but if this topic interests you, this is a good read:

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

American archaeologist Martin Padway is visiting the Pantheon in Rome in 1938. A thunderstorm arrives, lightning cracks, and he finds himself transported to Rome in the year 535 AD. At this time, the Italian Peninsula is under the rule of the Kingdom of the Ostrogoths...Padway initially wonders whether he is dreaming or delusional, but he quickly accepts his fate and sets out to survive...He can speak both modern Italian and Classical Latin, and quickly learns enough Vulgar Latin (which was spoken at that time) to communicate effectively. Most crucially, Padway has read with great attention the book of the historian Procopius, who described the very war at whose outset Padway finds himself.
Only the Elon absolutists think there are no good guys here. It would be sad to be that way.
Watching Elon makes me think about the things for which a large portion of the public made fun of Jack Dorsey. Regular meditation, month-long meditation retreats and emphasis on regular exercise or alternative measures are probably needed to keep operating at that level. I know I get in a much worse mental state without physical exercise and journaling or meditation.
Using custom allocators to taint memory for security checks is no better than what C and C++ toolchains have been providing for decades.

I was already using debug allocators in Visual C++ 5.0, with a memory report at the program exit.

For the latest documentation,

https://learn.microsoft.com/en-us/cpp/c-runtime-library/crt-...
I think it is unclear why you would write a list of alternatives to lodash unless you are trying to make the case that using these implementations is better than using the lodash functions. There is also a pretty long history of "you don't need to use lodash" articles and sites arguing that lodash is a crutch or simply bad.
> vast majority of the world takes a contrary position to the west on the war in Ukraine

Could you define what you mean by "vast majority" here?

What I'm seeing is:

March 2022: "The United Nations General Assembly on Wednesday overwhelmingly voted to reprimand Russia for invading Ukraine and demanded that Moscow stop fighting and withdraw its military forces, an action that aims to diplomatically isolate Russia at the world body. The resolution, supported by 141 of the assembly's 193 members"

https://www.reuters.com/world/un-general-assembly-set-censur...

March 2023: "With a thumping majority of 141 in favour, only 7 against and 32 abstentions, the assembly again issued a non-binding resolution demanding Russia's military withdrawal from Ukraine and calling for a "comprehensive, just and lasting peace".

https://www.bangkokpost.com/opinion/opinion/2517499/un-slams...

It seems disingenuous to leave it at "vast majority of the world"
@dang, it doesn't seem this post warrants a flag; the post is neither irrelevant nor inappropriate
It's more WEF agitprop.

>But parking mandates encourage car ownership and use, Mr. Shoup said. They pockmark downtowns with stretches of asphalt that separate businesses and spread out cities, leading to more driving, and more parking, even in areas with mass transit.

The damn plebians are insisting on driving even when there is public transport, because it's just become too convenient!
Elon has an ego problem. He can't stand it when his ego gets challenged, so he then tries to mock the other person. He also doesn't back down when he clearly is wrong.

It's a sign of immaturity.
Note that erythritol is commonly used to "bulk up" stronger sweeteners such as stevia.
He won both court cases I'm thinking of, which seem to be best described as "got away with it."

Public opinion might be up or down, depending on which community you're polling, but I believe he's back to being the richest person in the world[0], so I'd say he "got away with it" in every possible respect.

0. https://news.yahoo.com/elon-musk-once-again-richest-21554083...
And parse-don't-validate is often very nice to work with in Rust, I can describe how to turn some UTF-8 text into my type Foo in a function:

impl std::str::FromStr for Foo {
type Err = ReasonsItIsNotAFoo;
fn from_str(s: &str) -> Result<Self, Self::Err> {
/* etc. */
}
}

And then whenever I've got a string which I know ought to be a Foo, I can:

let foo: Foo = string.parse().expect("This {string:?} ought to be a Foo but it isn't");

Since we said foo is a Foo, by inference the parsing of string needs to either succeed with a Foo, or fail while trying, so it calls that FromStr implementation we wrote earlier to achieve that.
As the sibling said, this is mostly due to left yield on green (there's no protected left at this intersection), but some drivers do this with turn on red. Even though this intersection has no turn on red signage due to very low visibility to oncoming traffic.
I do agree that we can optimize for the cities, but the general attitude towards the people who are going to be worst affected by the ban of ICEs is to look down at them and laugh - as Colbert exclaimed, "I don't care if gas goes to $15 a gallon, because I drive a Tesla!" That's not a healthy approach (and note, I'm not accusing you of doing this, I'm just explaining the way this issue is being approached by the upper class at large).

15% of the US is about 50,000,000 people. To reduce the fraction, that's 3 in 20 Americans. That's a lot of people to just hand-wave away and leave behind. These are people, not dinosaurs. They also control our food supply. I think it's in our best interest to account for them in our plan for the future, and treat them well.
>I feel more comfortable with it than I do with OSX, Windows, or any of the other Unix/Linux distros I use for work.

I think if you're happy with it, I can't see a reason why you wouldn't keep using it. There's no reason to hop around.

I personally use PopOS which feels like a nice comfy sofa. Whatever floats your boat. :)
It's not exactly the same thing but trepanation and amputations had been practiced long before this. Same with treatment of flesh wounds.

The human body can be surprisingly resilient.
New homes are going to be built at market prices. The market prices are high, but the new homes will push them down.

A few years ago, $800k homes were consistently opposed on the basis that they aren't affordable to anyone, so not many were built. Now because so few were built, houses cost $1.6M.

Will we repeat the same mistake, and oppose $1.4M homes on the basis that they aren't affordable?

In 10 years we might be having the same discussion about $3M homes.
Guy needs an editor.
Sadly, people play and buy these games as evidenced by the dumpster fire that was Diablo Immortal. I love Diablo, but there was no way in hell (lol) that I'd download that game and even play for free.

I feel like these mobile games need regulating heavily, but it's also down to use to not support these games.
> There really should be a "Travel Mode" for MacOS that disables features like these.

Sadly that is not the Apple way. We'll have to wait years for them to come up with a "solution" that doesn't involve a disable button. If they even decide to work on it.
I think the lesson people need to start taking is that any form of declarative form of configuration will spawn an ad-hoc ecosystem to turn it imperative. The complexity of situations that can be expressed is by a configuration system is proportional to the complexity of that system. Simple and declarative is an oxymoron for anything but simple cases. Imperative systems can express arbitrary complexity and you will need it. It's why troposphere, terraform-cdk, pulumi, a billion templatating systems over k8s yaml files, and Ansible exist.