skysight-inc/HackerNews huggingface dataset:
Hilary Mantel Reviews “A Life of One's Own/An Experiment in Leisure” (1986)
If you use a modern sort, it'll just go "Oh that's sorted, we're done". Pattern Defeating Quicksort will do that and so would Glidesort, Driftsort, IPNsort and so on. Most of these algorithms will also correctly shortcut trivial "almost sorted" cases like 123457689 (only longer, if you really only have nine elements you want a custom sort for that, there will be a correct algorithm and it's probably written down somewhere already)

Rust's old sorts, both of them, get this right. There's a fair chance the current version of your C++ stdlib even gets this right in its unstable sort. In 1965 it's understandable that you reach for an insertion sort for this case, in 2024 it's embarrassing if your language doesn't provide a built-in sort where this just works.
The net of law is spread so wide,

No sinner from its sweep may hide.

Its meshes are so fine and strong,

They take in every child of wrong.

O wondrous web of mystery!

Big fish alone escape from thee!

— James Jeffrey Roche (1847-1908)
Show HN: I made a song finder using ChatGPT-4o
Who knows what your doc was thinking but I figure they knew more about you and your personal situation than a random hacker news commentor. Medicine often times has trade offs so there's a chance you'd regret lens implants in one way or another if anything financially. Anyways, hope your vision is good now.
Dolibarr: Open-Source ERP and CRM for Businesses of All Sizes
Hey! my name is Pablo and today I woke up with a song in my head that I couldn't find no matter how much I thought about it.

So I created an ai wrapper to find it by simply entering a few words from the lyrics or the title.

1.- it creates an api call to chatgpt-4o to look for the input keywords
2.- if found a coincidence on the song, it tries to look it up on youtube
3.- if found, the tool displays the song video for you to listen to it

I hope I can help you out too.
Cheers!
That's nice: where can I actually buy the Titanium chips with the RV cores?

Last time I checked, those models were omitted from every vendor I could find.
Well I totally disagree that writing manual loops is ever "pretty nice", but I agree that it's not as big an issue in final-version code as it is in exploration.

And I'm also in strong agreement that making any language transition between exploration and implementation is problematic. I do think go is worse than most, because I just think it has a mostly cultural allergy to manipulating collections of data as collections rather than element-by-element, but I agree that this is mostly lost in the noise of doing any re-write into a new language.

But this is why Python is best in this space. It simply has the best promotion path from experimentation to production. It is better than other "real" languages like go, because it thrives in the exploratory phase, and it is better than purpose-specific languages, like R, because it is also a great general-purpose language.

The other contender I see is Julia, which comes more from the experimentation-focused side, while trying to become a good general purpose language, but unfortunately I think it still needs to mature a lot on that side, and it's not clear that it has the community to push it far enough fast enough in that direction (IMO).

Even very performance-critical use cases work with python, because the iteration process can follow experimentation -> productionization -> performance analysis -> fixing low-hanging bottlenecks by offloading to existing native extensions -> writing custom native extensions for the real bottlenecks.
It hurts my heart that all the examples above of companies hurting people or lying have very few consequences but bud light took a brand hit because they paid a trans person.
Or people resent the major privacy issues, inconsistent UX, and deprioritization of what they see as needed features, all to add a few hugely hyped but minimally useful AI features.
I don't really understand what I'm looking at, but I find the ability to burn or bump, huh, "things" without having to be authenticated intriguing.
How do search engines figure out the date of webpages that don't contain it in the metadata?

Poorly.

I have a blog so old I titled it an "online diary." It pre-dates search engines, so they tend to date the diary entries (blog posts) based on first crawl. Which means lot of the dates presented by the search engines are off by several years.
QR code game/experience, sorta like geocaching?
I have an idea for leaving random semi permanent but portable QR codes (maybe 3d printed or wood cuts) in places. Some would lead to a discussion board just for that code, so it would be kinda like "Where's George" (US dollar bill tracking system). Others might just be a link to a poem.

Does a community/project like this already exist?
Interesting that they’re rolling this out to Twitter/X Premium users, it was previously the biggest differentiator between Premium+ haves and Premium have-nots.
Taking HN thread replies or users as a sample for anything is almost never a good idea.

Even in this thread there's a split between people who can replicate it and people who can't, so it's more likely an edge case and not a global issue affecting all Google SSO implementations.
As recently as a few days ago, if you searched for "Donald Trump" without quotes, over 2/3 of the top results would be for Kamala Harris. Where if you searched for the inverse, it would be all Kamala Harris results. Similarly, for autocomplete, if you start keying in "Donald " then "Trump" isn't in the autocomplete results, similarly, searching for the assassination attempt.

Google did a lot of similar things in the 2020 election cycle, such as suppressing natural results for Tulsi Gabbard after she roasted Harris in the debates.

That doesn't even begin to cover results bias on video content on YouTube and expressly burying content results when specifically searching for "$ChannelName $VideoName"

The results have clearly been manipulated and I find it disturbing and contemptible.

edit: loosely related - https://time.com/5936036/secret-2020-election-campaign/
Really? My experience is that RSA in general is harder because it has so many knobs, but if you just lock it to the easiest-to-implement-securely choices then it's not so bad.

However, for DJB's point there is a major advantage for X25519/X448 specifically: it's hard to get a huge speedup by implementing them insecurely, and the same is not true of RSA.
Yep, angular is now used for basic operation of internet, just as planned.
I am not doubting you were productive with it. However that does not make it better, it just makes it what you know. User experience experts have studied this for a long time, and they all conclude that you need more than one button. (there isn't agreement on the best number as there are some trade offs, but one is clearly not enough)

The world has a real problem with people arguing what they know is best without any basis in reality. Even if there is a clear reason one choice is better, most arguments for the better choice end up being because they know it better not the clear reasons it is better (see most metric/imperial arguments)
Also nobody remembers when there is nobody alive
Is this financial outlook posted anywhere digestible (ie not investor reports). I find it wild that it is not profitable.

Video streaming is not cheap, but at their scale, they can negotiate the best peering deals or setup edge boxes a la Netflix or YouTube. Then again, maybe it is their core audience which has a different usage pattern from adults. I might watch one show a night. A child might stream for 12 hours a day.

Unless Disney went on a spending spree and bought a big number of new movies+shows to publish on the platform, I am surprised. Disney bought Hulu- they could piggy back off of all that existing infrastructure.
I think you two don’t really disagree, one of you is describing what ought to be and the other is describing how the system is currently rigged, unfortunately.
Yeah! Making explicit return types, especially of public functions, is a good practice to follow. I'd say the main reason isn't performance, though, but rather to ensure you have a stable public API for your module.

How much it actually speeds up the type checker depends on how hard it is for the type checker to infer the return type. And that depends on the return expression, but I don't think there is a single hard and fast rule here. But, if you already have a named type for the return value of the expression, I would absolutely annotate it explicitly when possible. Sometimes the inferred type won't be really the type you intend, and there might just be a more clear type you want to use for communication/documentation purposes.
Apple starting to be full of annoying bugs, that's very disappointing. My iCloud photos stop to sync completely and can't be re-enabled in any way. That's pity.
To be fair most countries rolling out ccTLDs these days aren't doing it so patriotic citizens can represent their home country - it's an international cash grab. They're fine with randoms from all over the world giving them money, so randoms from all over the world are welcome to use their ccTLDs.
Way back in high school, I remember learning the Mean Value Theorem in calculus, and I asked the teacher (little annoying asshole that I was) whether the consequence of the theorem that "for a continuous function, the mean of the values in the interval is one of the values in the interval" implies that you could track how long it took someone to get from point A to point B on the highway and conclude that even if you didn't see them speed, they must have sped.

He paused and responded "yes, but nobody will stand for getting tickets like that."

Fast-forward to the 2020s and I find there are actually plenty of people who would, in fact, stand for that.
Yep, and it helps explain why you can have some rich guy complain about another rich guy who "screwed him over in a deal" for an hour, and then he casually mentions he has to go to lunch with him for a new deal. It's just business.
https://youtu.be/QYwlsesfdLs?t=586
There are one-to-one tutoring services that target university students, and I doubt they'd have any problem with a paying customer who wasn't a student. Some of them offer tutors who have PhDs.

From what I can find on Google, prices range from "affordable for a student" to "affordable for a student with rich parents if they only need a few hours".
I dropped out of college to be a full time software engineer and I decided to go back to community college to learn more fundamental math. I'm starting a calculus class next week
I'm a game dev so no worries, I'm about as far from the minmax total comp bubble as you can get.

But yes, it was a purposeful use of extremes. Unless you rush to young retirement or are in that SV scene and move out, most people won't have the means to metaphorically move out to the pastures and become a farm hand.

But that is in fact an option for a few in tech. I recall some 20+ year googling choosing to leave and pick up comedy as a career.
At the wrong time, for the wrong amount of time, in the wrong place... Lots of ways to go wrong, but they can all be hidden in advertising.
As someone into music prod and audio engineering, I'd implore you to reconsider listening that loud. Also make sure your subwoofer sits 6-12' behind the tweeters!
> only rich people are allowed to have privacy.

We already live in a world where being wealthy can buy you more privacy. The question is only where we put the comfort slider on that fact, not whether it is a fact.
The Reuters links are an example of good links IMHO. They're not earth-shattering, and follow some fairly generic guidelines, but work quite well.

Format is
reuters.com/:category/:headline:date

which is all you need to know what you're clicking on. For example, I don't need to describe this link in order for its contents - and its time-relevance - to be understood:

https://www.reuters.com/world/us-navys-newest-air-to-air-missile-could-tilt-balance-south-china-sea-2024-08-14/

Edit: they are a bit long, though, I suppose
The problem I see with it is this: Now, instead of understanding Python, which is straightforward, you have to understand a bunch about Pydantic and type unions. In a large shop of Python programmers, I would expect many would not follow most of this.

Essentially, if this is a feature you must have, Python seems like the wrong language. Maybe if you only need it in spots this makes sense...
and it changes the dynamics of the generative AI space completely ! absolutely exciting to watch. I am bullish on generative AI even if I think scaling laws will generate diminishing returns going forward.
Gentoo Linux drops IA-64 (Itanium) support
I have been looking at Arduino or esp devices coupled with a little Bluetooth module for something like this.It seams like it should be pretty easy (just beyond beginner in the subject).

This might be a starting point.
https://www.sparkfun.com/products/20168
Canonical's Shifts to Up-to-Date Linux Kernels in Ubuntu
One big caveat to this is that it is only used for authorization - you still need your master password to unlock the vault. Kinda pointless imo. There is a component called the key connector which can allow unlocking of the vault with sso but that key connector is not in the PR and it is unknown if vaultwarden will ever implement it.
Thanks for the effect-ts suggestion! Looks pretty compelling...
Have been reluctant to use the nuclear option of freezing my credit, but since it’s likely my name, social security, and address are available from at least 1 or cross referenced between leaked and OSINT sources. It would make it trivial to open new lines of credit.

So time to freeze:

- experian

- TransUnion

- equifax

- Chexsystems

Am I missing anything else?
Batch files have been used forever (since mainframes), and I get suspicious when someone implies that APIs are the “normal” way to do things. It makes me think they don’t have enough experience outside of the app development bubble.

Files definitely have limitations (they’re almost always a single table of data—it’s hard to do data structures), and that seems to be driven by the need for someone in the chain the be able to open it in Excel.
It’s a cpp library with python bindings.
A nitpick: the author states that `kcal/kg/h = kcal/kgh`. This is false, because multiply and divide have the same priority and so are applied left to right.

The correct way to write this is:

`kcal/kg/h = kcal/(kgh)`

The actual computations in the article are unaffected.
Maybe they could use a large cluster of beams in parallel? :)
>The government took out debt in your name, to be paid back by future generations that you aren't helping to create... it's borderline fraud.

I already paid back more in taxes than I've ever gotten from the state in education. And since I don't have children I pay more taxes, making up for it more quickly.

Children would create future resource consumers that cause damage not only to my country, but to all human and animal life on this planet.

>A crazy doomsday hippy wrote a book with an unsupportable, unsubstantiated crackpot theory in 1968, and now you believe this concept that never existed and is pretty meaningless.

If you're post fact there's no purpose discussing anything with you, because you won't accept reason.

>What is the cutoff population number after which is overpopulation?

Overpopulation is any population that utilizes more resource in a year than what is regenerated by mother earth in a year. I.e. earth overshoot day moving past December.

>Did you know that in the 1980s the UK's population crashed and only a few roving cannibals still lived there?

Ok now you've really stopped making sense.

>This is bad math. You need to hug pretty close to replacement fertility (2.1 kids), but you don't need growth.

Not according to our politicians, who need an ever growing tax base to keep up social systems that are not sustainably set up. Mostly because the first generation didn't pay in, but took out massive amounts.
Disney wants wrongful death suit dismissed because widower signed up for Disney+
I bet they're still doing it ;)
Not talking about that aspect (supremacy of it vs constitution), but this and related stuff with treaties vs federal law:

> The enforceability of treaties was further limited in the 2008 Supreme Court decision in Medellín v. Texas, which held that even if a treaty may constitute an international commitment, it is not binding domestic law unless it has been implemented by an act of Congress or is itself explicitly "self-executing".[26] Law scholars called the ruling "an invisible constitutional change" that departed from both longtime historical practice and the plain language of the Supremacy Clause.[27]

https://en.wikipedia.org/wiki/Supremacy_Clause
Exercise most certainly helps you lose fat, and it helps you keep your blood sugar in check.

Exercise is often not good at helping people lose weight, but it is good at helping them lower their body fat and increase lean body mass.

You'd much rather someone be a muscular, overweight person than skinny-fat person. In particular, if you got someone lifting weights three times a week, it would have a noticeable impact on their body composition and overall health, regardless of weight.

The data also shows that exercise can lower appetite, but it has to be at least 300 minutes of vigorous exercise a week: https://www.nytimes.com/2020/12/09/well/move/to-lose-weight-...
This really was solidified by going through the course at https://type-level-typescript.com since it involves learning the type-level language of TypeScript and solve little puzzles. Doesn't really address performance much, but I think having a working-level understanding of what the type-checker is doing when it's "solving" your TypeScript type-level programs is an important prerequisite for having some intuition about type checker performance.
What a UI failure to require 5 screens for optimal use.
I've seen many videos by finance youtubers going over the classic "buy a home vs invest the savings" and the dumb mistake that all of them make is assuming that the rent price will stay the same across the entire time frame considered.

It's just not happening.

I did buy a home (a flat, really) rather than investing and my mortgage payment is pretty much the same amount I was paying in 2014 for a single room as a student (same city, high cost of living).

Housing usually is the primary and largest expense every month, so it makes much sense to get that sorted out and stabilized.

This of course assumes that you plan on staying in that city (I've been in the same city for the last 11-12 years). If you're not sure you'll be in the same city in 3-5 years then sure, go ahead and rent.
and a state license is very easy spoof/fake especially over lossy formats like email/fax
Some thoughts on OpenSSH 9.8's PerSourcePenalties feature
Would love to see a plugin/adapter for Snowflake.

BigQuery has a neat feature where it estimates the cost __before__ you run a query, which has often come in handy.
I think the economic value of SAAS is not in the first S (Software) but the second S (Service). People and businesses don't want to handle physical infrastructure or even virtualized infrastructure. They want to give people money and have all their technical issues solved for them. Self hosted or locally-run open source alternatives are popular among devs and engineers who enjoy debugging things and configuring software, but for people who are trying to run a non-tech business, it's a waste of time.
One can always find positive and negative outcomes related to any intervention to a biological system. Fasting is no exception.
The question is when and where is it beneficial, and what are the trade-offs. I'm sure if one has a clean, healthy diet, and consistent sleep and routine, it likely does not matter in the long run at what time one decides to eat or not eat. If the effect size were noticeable we'd have seen it already in smaller samples.

If one is overeating, or eating garbage all the time, then I'd hypothesize fasting to be beneficial by giving the biological system a break to try and bring itself back to a better steady-state without so much forced external input.
I like your style but you could state the same in one sense and without insults. 1968 was the year when the world population growth peaked and although it is in decline, in 2022 the population peak was estimated to peak in 2080 but later corrections point more towards 2060. So at least for the next 30 years the population will still grow worldwide, unless something unpredictable happens.
Observationally and personally true.
This is so important to me. I find its an enormous value of mine to make sure that my kid knows what can be fixed, even if not how to fix it. So many people don't even know its possible to fix many things, so they don't learn, they don't try (and of course they give professionals a huge amounts of money for things that require 30 mins and a $2 part)
Transmit uncertainty by circumference ahead of time, and low bandwidth info that resolves uncertainty through the core?
Yes, for ethical uses and purposes
I assume some schools today are still using SSNs as if its not a PII issue.
Really good book and fairly comprehensive like a course. Probably has the best explanation of memory ordering. The 'build your own' teaching method is useful for understanding how the different data structures work.
In fairness I did not see a negative connotation to that writing. You're attaching a negative tone to that writing.
https://arpa-h.gov/about/faqs
I'm not sure if invented is the right term in all cases. Discovered may be more appropriate in some.
> Double is only available to US residents.

I would have loved to see that message on the Sign Up page before I enter my email address.
Have two kids, I always wanted a family around me and I love having them but I don't blame people for making other choices, it is very hard.

We were 34 when we had our firstborn, 38 for 2nd, waiting to be financially stable enough, be on the housing ladder etc, but now one of my wife's parents is elderly, the other is dead, one of mine is still working due to delayed state pension age, and the other is raising step grand-kids. Siblings emmigrated and live thousands of miles away so we're on our own in a country that does very little to help parents with astronomical childcare costs, some of the most expensive in Europe.

It's a system set up to prevent the next generation from existing, while at the same time the country that is literally rioting against the immigration needed to plug the gap. Sure, call it the "far right" but the sentiments are muttered by many more moderate voices.

I knew then what I know now, I'm not sure I'd make the same choice.
Fearless Extensibility: Extending Think Pascal
The lack of a federal ID is almost irrelevant at this point. Most states have moved to "Real ID" which requires almost as much if not the same to get as a passport (federal ID). Requirement to have that has been coming (and admittedly pushed back several times) for a long time.
Kubernetes v1.31: a quick first look [video]
Yes it says they are probably good people.
>I thought the Americas' megafauna died after the ice age, not because of it?

There was a article that had "proof" that megafauna extinction was a result of Humans moving into that area. I think I saw it here in NH.

To me that is the theory I agree with.
"Take a firsthand look" means to experience or learn something directly, rather than being told about it by others.

By "consensual dream" I mean this reality contrived from secondhand observations and related conversation.
Datafusion-Uwheel, a Native DataFusion Optimizer for Time-Based Analytics
Damn bro, this really got to you huh? Not rebuffed much?

I'm not going to bother with a real reply. You clearly have issues.
They are not doing their reputation any favors and their legal team needs to rethink this strategy. The arbitration clause in the subscription agreement is not meant to cover these types of tort actions. Hope they reverse this course asap