skysight-inc/HackerNews huggingface dataset:
I love the idea

I challenge you to find a group of rich folks who will fund such a thing - and will not simply demand the same profits as current structures do.

I just tried this with ~30 wealthy individuals/family funds that I have great relationships with and literally everyone said some form of the following:

“I am not going to liquidate my current investments that are on IPO trajectory for something that by definition will not IPO, and my investments are to ensure my kids go to private school/colllege fund/etc…”

You need to convince people, who currently think that the goal of making/having money is to insulate them and their families from reality, to instead choose to make/have slightly less money so that somebody else can have an easier/better experience in a way that is still concomitant with commercial transactions.
It isn't true that closed intervals can never be empty. expanding the definition of the interval is the solution. a closed interval is the intersection of 2 "rays"

x in [a,b] iff a <= x and x <=b

so any interval where a>b is empty. which is what you are testing for in the half open case, i!=j is testing for "empty array"

so you only need to change the while condition to i<=j and then you would see the termination condition wouldn't fail in the first if within the while loop

you change the semantics of your test and so it broke

half open is still better, but its not for this reason.
Sort of an absurd thing to say. However, it’s repeated all the time, and in every generation in some form.

One really has nothing to do with the other. If we could educate people at a younger age so they understand this, maybe we can make more progress in creating a better society.

Start with the fact that military spending has decreased as a percentage of GDP:

https://www.statista.com/statistics/217581/outlays-for-defen...
Homicide rate is up, and homicide is the best reported crime.
RDI/RDA is intended to be the minimum value that would be sufficient for something like 98% of the population to be maximally healthy (ie, no negative side effects). Even if people are exceeding the currently defined limits on average, that doesn't mean that it shouldn't be raised.
So who funded the original US dietary recommendations?

Edit: and the studies that the USDA cited to support its recommendation
I was wondering how 1 in 8 children could be experiencing food insecurity in a nation with a 40% obesity rate, and what food insecurity was exactly, so I poked around in their methodology a little.

https://www.feedingamerica.org/sites/default/files/2022-08/M...

Happy to be corrected if I'm misreading this. But if I understand correctly, they go into it on page 8, and there are basically two ways they calculate food insecurity.

The first is a weighted average of variables that are unrelated or indirectly related to food - including income, race and disability rate.

The second is self-reporting (basically asking households if they need more money for food).

Hmm.
Do you ever go past the 1,000 search "limit"?

I'm considering signing up; it would be one fewer service I'm relying on google for.
I guess I don't understand this strong desire to refer to oneself as a "game developer" completely regardless of one's level of knowledge or experience. I started off making games with RPG Maker 2000 and then later Game Maker when I was in middle school. I was most certainly developing games, but I would not have referred to myself as a "game developer", because I knew that I was using high-level tools to develop games, and I knew that I didn't know the first thing about Actual Game Development, really. later on, in high school, when I tried to use C# and libcairo to make a vector-graphics video game, I was confused as to why the game would run fine at 720p, but chug at 1080p. turns out I didn't know the first thing about what I was doing, and was doing all rendering on the CPU. embarrassing! but definitely the work of someone who was an aspiring game developer, but whom certainly would not consider himself to be a "game developer", unqualified, if asked.

why does the title matter so much to you? and why go to all these lengths to justify not learning the tiniest bit more about the craft of which you claim the title of craftsman, especially when I've gone the lengths I have to lay out exactly how straightforward it would be, and exactly what you have to gain from it?

this insistence over titles and outright refusal to learn basic principles is the sort of thing that makes me think that independent game development has become more of a fashion than a craft taken seriously.
Musk's Algorithm
TL;DR: Something a university research team made, they labelled PALM-ALT:

> It is made from a by-product from the linseed industry, plus natural fibre and rapeseed oil.
I think the point being made is that the fact that a user has rksh as their shell means nothing to samba, ftp, some features of ssh, httpd, cron, and etc. Fundamentally unix has pretty simple permissions, you're either root or you're not. The existence of a user account on a system is often enough to enable SMB and SSH access even if the only purpose of the account is to own files and an application process and is never intended to have interactive logins or to transfer data to and from the server.
You’re right, the scientist example is benign as you say

The difference is when there’s a profit motive for the person to inflate the actual numbers or distort their recommendation.

If the example was “professional climate scientist selling cloud seeding chemicals suggests we should do more cloud seeding to fight climate change” then there would be cause for skepticism.
On Earthing, a Holistic Medicine Trend
> Small towns will always be more expensive than cities to maintain, this should not mean that small towns should then get less facilities.

There are certain sorts of facilities which will almost never be available alongside small towns. It's not just "expensive" to maintain something like a Level 1 trauma center - if it were lightly utilized it would be economically unviable. It is something that will not exist away from a city.

That's an extreme example but even more mundane medical facilities end up being very expensive when you push out into rural areas. That those areas tend to be economically depressed, at least in the US, makes the problem that much more serious.
The contrast was good for me (ever more presbyopic) and it worked fine in Safari's reader mode.
+1 sounds like an interesting read
It's also the geographic center of the flattest most boring region to ride in America -- the midwest and great plains. The right place for a cycle museum is where it's fun to ride: near mountains like the Rockies or the Appalachians.
I was in a stealth fighter squadron. It really depends on the mission profile as to determine if the reflectors will be on the plane during CONUS training. If we're doing BVR 'tag' drills, they won't have them installed. If we're just putting butts in seats to keep certs current or maybe some air to ground training, then the reflectors will be installed.

Caveat, I was in the Air Force and I'm not too familiar with NATOPS which is what I believe the Marines would be operating under to determine SOP. I was not a pilot, but I was in operations and received the same briefings. My training was also from when we first got real stealth fighters and SOP has probably evolved a lot in the last decade.

What's most interesting about this story to me is... What sort of mishap would lead to an ejection with autopilot left functioning? That all seems very peculiar. Weird way to join the Caterpillar Club.
Except to Iran, Syria, North Korea…

Also you couldn’t just ship products with a spot where crypto went and remove the crypto. API designs had to go through mental gymnastics to allow crypto without explicitly adding crypto. Which is why you have odd constructs that take strings as arguments and give you encryption back. Sometimes.

And since new languages copy patterns from old to remain familiar, these APIs are still frequently some of the most patience-testing.
@kareem_carr:

One revelation was more fascinating to me than all of the gossip combined.

It's what the book calls The Algorithm. Elon's simple 5 step recipe for success. Read on to learn all about the algorithm and what it implies for the future of Twitter.

The Algorithm

The five steps of the algorithm are:

1. Question every requirement. Each should come with the name of the person who made it. You should never accept that a requirement came from a department, such as from “the legal department” or “the safety department.” You need to know the name of the real person who made that requirement. Then you should question it, no matter how smart that person is. Requirements from smart people are the most dangerous, because people are less likely to question them. Then make the requirements less dumb.

2. Delete any part or process you can. You may have to add them back later. In fact, if you do not end up adding back at least 10% of them, then you didn’t delete enough.

3. Simplify and optimize. This should come after step two. You should avoid doing this for parts and processes that should not exist.

4. Accelerate. Every process can be sped up. But only do this after you have followed the first three steps. Again, you should avoid doing this for parts and processes that should not exist.

5. Automate. This comes last. Wait until all requirements have been questioned, parts and processes deleted, and bugs removed.

...
This is almost certainly the case. Those of us who learned to use and mastered keyword-style search are the minority. Most people search whole phrases, expecting a contextual answer.
So what if they do?

This file is a public interface exposed by Linux to other programs. So what if Linux caches its contents when eg. Python interpreter on launch will read this file. And it's not coming from some "fake" filesystem like procfs or sysfs. It's an actual physical file most of the time.
Any system that can check balance, can link searches to a user. There's no way around it. In your case, Kagi would need to trust the client with the balance, which would be insecure.

There's only one solution, and that is that you need to put a bit of trust in Kagi. Compared to the major one, Google, you can chose between one that promises to not store data, and one that promises it does (and does a lot).

It's always a bit sad that here on HN, when companies try to do better than bigger players, there's always people who think it isn't enough. It has to be absolutely impossibly perfect.
I feel that it’s fair to point out biases, especially when there is financial self interest involved
> ... that should make Audacity crash when it tries to corrupt the data.

That'd be fairly non-optimal behaviour. ;)

When the application tries to add wrong data (eg duplicate key violating uniqueness constraint), SQLite will return an error.

The application should handle things better than by crashing. In theory anyway. :)
Also discussed at https://news.ycombinator.com/item?id=37550353
There is absolutely no mechanism in your body to signal the need for specific nutrients or macro-nutrients. The signs of protein deficiency are simply hunger and weakness[1], which is pretty vague.

[1] https://www.uclahealth.org/news/are-you-getting-enough-prote...
One personal anecdote. It did not do that great for Norway/Norwegian, I ended up switching back to google when trying to find some stuff in stores.

For recipes and stuff it was fine.
The article is designed superbly.

The story itself though… not much I can say without going on a rant that will get me flagged for language.

I have reached a point where this crap isn’t even interesting to me anymore. Yet again the elite is given some kind of special treatment and the real problems of the world get buried in ruble… yay… can’t wait for the next story highlighting the same exact thing.

And then the next… and nothing a mere mortal can do because the elite doesn’t play by the rules of the commoner.
Happy customer here! Been paying for a year with no complaints. Amazing search engine -- kind of like how Google used to be years ago before they started injecting more ads into search.
I certainly sold all my Unity stock after hearing about the ToS changes. I only invested in them in the first place because I value the indie gaming community and they seemed to be reneging on that with this change.
Kargo, a multi-stage application lifecycle orchestrator
Because I didn’t know about this, and was curious to find out more: https://www.win-rar.com/recovery-record.html

“Using Recovery Record slightly increases the size of your .rar files, but it helps to recover data should your file become corrupted by a virus, bad disc, etc. The larger recovery record allows you to restore a bigger damaged area, but increases the size of the archive and the process is slower."
Maybe I'm a dinosaur, but I prefer zip or (even better) tar.gz at this point... I never understood winrar. I always thought it was a Windows specific thing. I never even heard of people using winrar on Linux/MacOS, etc.
For any company thats public, Money. Just money.

They are not in it to make a good product, or foster good will, those are just unfortunate hurdles in the quest to bring money to the shareholders.
Can you (or anyone) supply an example where it doesn't?

I just tried a whole bunch of queries on seemingly generic-sounding sentences from old pages on niche blogs and it found every single one.

So I'd love to understand when it doesn't work and if there's some pattern -- like if certain punctuation trips it up, or if it's simply pages not indexed in the first place.
Agreed. The strong agree is that Rust's type system---and many other languages' type systems---is a parallel language to its runtime language. Parameterized types are like functions; instantiating a type parameter is like a function call; `impl ... where` does pattern matching. You get a pure functional language based on pattern matching and implemented with memoization. These type systems are often Turing complete on purpose, but yet it's surprisingly hard to get an infinite loop. Like, both Rust's and Java's type systems are Turing complete, yet I've never hit an infinite compilation loop in either by accident.

For more on type systems as programming languages: https://ductile.systems/oxidizing-the-technical-interview/ plus its links at the top.

What I would like to see is a programming language where the runtime language and the comptime language are the same, or nearly the same, and where the comptime language is type safe. Zig isn't this: its `comptime` language is essentially dynamically typed. In Zig, if a function `f` takes a `comptime` argument `t: Type`, it can call `.print()` on it, and the compiler will just assume that that's fine. If you call `f`, you had better read the docs because the type system won't tell you that `t` needs to have an `print()` method. If you're calling `f` directly, that's pretty straightforward, but the trouble comes when you actually call `h`, and `h` looks at the value of some string and based on that decides to call `g`, and `g` calls `f`, and the docs for `h` weren't entirely clear, so now you're seeing an error in `h`, which you didn't even call. Instead, if `f` is going to call `.print()` on a `t`, then its argument `t` can't just be a `Type`, the compiler should check that it's a `Type with method .print()->String`. This requirement would then flow to `g` and `h`, so the type signature for `h` is guaranteed to tell you that `t` is required to have an `print()` method.

For more on merging runtime and comptime languages in a type safe way, see 1ML: https://people.mpi-sws.org/~rossberg/1ml/

EDIT: Deleting my criticism of C++ templates lest it distract from the more substantial things I had to say above.
> There is a risk that PRC might end up subjugating Taiwan . . . so fast that the US doesn't get a chance to react,

I think this particular ship has sailed a long time ago. Taiwan is armed to the teeth right know. Everybody knows that if a major war is going to break out, it will be in Taiwan. It's been common knowledge for years. Taiwan didn't lose time and they did their best to prepare.

So if China decides to attack, they will win eventually, but will gain only scorched earth and enormous casualties. But, more importantly, they will lose access to Western markets. The EU and USA are already preparing for this - everybody knows it won't be easy, it will be much more difficult than getting rid of Russian gas, but it will be done.
> Confronted with different ideas about what is health and your response is to question the reputation of the site?

This should be your first instinct any time you read anything online. Most websites are garbage, pushing sensational "new" ideas to get clicks. If you don't immediately think critically about what you're reading (and part of that is considering reputation), you'll either fall for confirmation bias or you'll be tossed about with each new thing that trends in TikTok.
India sure seems to be borrowing a page from China with this.
As an aside and unrelated to the content of the article ... but the form of the article, with footnotes in the margin, is really useful.
Births are funded by local governments though
Once you've figured out how to make me whole for the cars and motorcycles I've invested in and can no longer use because of a 100% automated driving system then we can talk.

If you don't have a solution for that then you can just sit down and STFU.
I found this article to be clarifying: https://www.scattered-thoughts.net/writing/how-safe-is-zig/
GC often gets more flak than is deserved.

Often such flak ignores the differences between throughput and latency.

For long, lived processes you’ll end up writing some kind of garbage collection system.
100 times this. C++ is progressively making more and more of the language and stdlib available at compile time (constexpr, consteval, constinit). Once this is accomplished, there will be two very complicated Turing-complete programming languages available at compile time, one that is convenient to program (C++) and one that is not (C++ templates).

Zig jumps straight to the finish line by making the main language available at compile time out of the gate, and by using it as the "generics language", Zig's generics are both simpler and more powerful.
This shows you either didn't read what you replied to or don't understand the subject.

This file is the public interface of the Linux system to everyone who wants to get information about users on the system. It doesn't matter that alternative tools exist: they were already mentioned in the post you replied to. It's not the point...
MDPI is controversial, see

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

and also

https://www.mdpi.com/about/announcements/5482

https://retractionwatch.com/2023/05/08/article-that-assessed...

I know YOShInOn ingests a lot of articles from MDPI journals, more than any other source. The report I have at my fingertips now is "bottom scoring" articles by my preference and MDPI papers feature prominently in that but that's not because I never like anything from MDPI or because the quality of articles is necessarily bad but because I'd certainly downvote "Vaccinatiopn In Immunosuppressed Patients With Established Skin Warts and Non-Melanoma Skin Cancer: A Single-Institutional Cohort Study". It still shows me quite a few. ArXiv papers rank better overall but that's because I only subscribe to CS on arXiv.

---

It's actually a high priority for YOShInOn to have some process to track down links from articles like this that link to scientific articles because sometimes the original article is a better link than the recap and sometimes the other way around.
The problem is that it ends up being dynamically-typed, like C++ templates. See: https://nitter.net/pcwalton/status/1369114008045772804

> So instead of making it hard to write incorrect programs, Zig makes it easy to write correct programs.

Well maybe in theory, but the current state of Zig is that it makes it hard to write programs no matter how correct because the compiler keeps crashing ¯\_(ツ)_/¯
Eject-by-wire, I can envision some proponents for automated ejection in case the pilot is not responding or a machine is able to determine ejection is needed before a pilot realizes and it would be too late.
Rating can be great fun. US taxes (geocoding, urgh) are an absolute nightmare. Reversed charged calls, revenue sharing. Roaming is a pain (ASN.1 files). Even document numbering is a nightmare in some countries, as are legalities surrounding incorrect bills (corrective invoices) and crediting. Did 15 years in billing (now do finance software), and whenever I thought I knew it all there would be another curve ball thrown.
My guess (complete speculation, but I worked with the Search Quality folks about a decade ago):

1 - By interpreting your search, it leads to better "search quality" by having one model say "i think this is what they want" and another execute the search. P90 accuracy is increased at the cost of P99 accuracy.

2 - If you search for a literal string you know exists, you expect to find it. By interpreting, fewer search inputs with literal strings make it to the search function.

3 - Since Google is interpreting more searches, this gives ad-placement a route in to favorably interpret "they want to buy something" even when this isn't the case. This makes Google money.

4 - People that used to use literal searches either stop, learn how, or switch search engines.

5 - After a couple years, business metrics show that literal searches represent 0.1% of queries and make less money, is it really worth investing in? When it was a P99 issue it fell off the radar and now the P999 is lost.

So a series or rational decisions by rational actors leads to a decline of a used feature because of business incentives and chasing P90s at the cost of P99s.
No idea. I don't really keep track of Uber at all, I just happened to remember their recent announcement about it.
I mean I gave an example in Oregon but you seem to have skipped it.

If you'd like a more concrete example, how about we look at the effects that these minority/majority impacts have had on the delegates sent to the presidential college?

Here:

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

As you can see you have several states that have always voted for the same party for decades.

For example, Alaska, Idaho, Kansas, Nebraska, North Dakota, Oklahoma, south Dakota, Utah and Wyoming... Have voted for the republican candidate every single year since 1964. How many Democrats live in those states? These are literally millions of people who by virtue of being a minority have had exactly zero agency in who will rule over them.

On a more local level, how many regulations are voted on by people in cities, but will inevitably affect rural people? Or heck, any people who did not want those regulations?

For people being oppressed, who have no actual way to prevent their oppression, does it really matter if the oppression is being done by a dictator or a vote?
I was quite afraid of this, but apparently I'm around 700-800 searches a month and I search quite a lot during my work.

Kagi is also working on removing the 1000 limit on the 10$ subscription and offering unlimited searches.

Switching from the 5 $ plan to 10 $ was super smooth by the way, so if you want to try for less $, the 5 $ for a month is enough so you can get used to the product and know if you like it or not (and that's besides the 100 free you get while signing up for a trial).