MurphyA/hacker-news huggingface dataset:
by pfg_ | 2025-08-05 11:15:44+00:00
Even when the bisect points to a large commit, it's usually not too difficult to find the source of the regression. Sometimes I've had to go into the original PR and bisect on its commits which is a bit harder. It doesn't seem worth it to me to try to maintain commit quality within a PR when as long as I commit often enough it doesn't really make a difference.
by fch42 | 2025-08-05 11:15:48+00:00
fair enough to notice though that while the Soviet Union may have had agreed to enter the war with Japan (at the Potsdam conference ?), it had not done so by the time the nuclear bomb on Hiroshima was dropped. It did declare war on Japan the day before the Nagasaki bombing. In a way ... Stalin chose the "let's go to war with Japan" date opportunistically. When it was clear there could be much gain without too much pain.

Which is not a dissimilar thing to the US "wavering" over the commitment to an invasion of Japan. The nuclear bombs "resolved" that. We'll never know what would have happened otherwise.
by zelphirkalt | 2025-08-05 11:16:07+00:00
It is mind-boggling, how in this day and age search functions can still be soooo bad in so many places on the web and inside applications. At the very least a 100% substring match should be very visible in the result. If not at the top, then there should be sorting criteria, to make it appear at the top, so that one can sane-ify the search result, when it is not sane.

A good example for bad search is the windows start menu. If you just logged in and the system is still loading (whatever it is doing all that long...) and you press the super key and then start typing, it might be too slow to find things _locally on your disk_, and might start searching online. When you have developed an automatism and just continue typing and then hit enter/return key, you will get some online shit result shown in Edge or some Microsoft store shit, instead of simply launching your already installed app. A critical race right there in the start menu. It's baffling.

Recently, there was a reddit post about a KDE menu search thing just as silly. It would not prioritize the title/name of an app, but instead, after typing 3 or more characters, find a word in the description of a launcher/starter of other apps and show those first, even though the 3 chars or more are a perfect substring of the name of an app.

People reinvent simple search and make silly searches over and over again. One of the main criteria is, that a substring match must lead to being high in the results, if not the top result. Shorter wins vs longer, because the match has higher percentage of match with the full title/name. Beginning of the string matched? Higher in results. All very basic things, that shouldn't be difficult to implement.
by xg15 | 2025-08-05 11:16:28+00:00
Fully admitting, I'm still learning about this topic. Also admitting that my current impression of the whole passkey system looks like a massively user-hostile and lock-in prone technology. But I have some questions to better understand it:

- Suppose I'm a website owner and I handle authentication of my users with passkeys. Now for whatever reason, I want/have to move my site to a different domain. How would I "move" the passkeys, as they'd still be tied to the old domain?

- Passkeys on Yubikeys or other dedicated hardware token sounds easy enough and mostly reasonable. (I could buy a bunch if yubikeys, copy the keys onto each of then and keep some if them as a backup in the drawer. The security properties of those seem a lot like regular keys or chip cards) Passkeys on phones or on cloud accounts much less so, but this is the main method that is promoted and expected to be used by "regular" users. But what happens if I have my passkeys stored in a Google account or whatever and then Google decides to ban me? Do I permanently lose access not just to all Google services but also to all services that had a passkey stored?

- I have a set of passkeys on my phone and the phone gets stolen. Do I instantly lose access to all my services? Probably not, because the keys are still in the cloud, but then how do I authenticate to Google from a new device?
by account42 | 2025-08-05 11:17:07+00:00
The point is not to come up with a simple rule that is going to give you the correct answer in every case but to come up with a simple rule that is going to give you the best outcome overall. You need to think about it in game theory terms:

For friends they are unlikely going to be randomly malicious while assuming malice for every mistake is quickly going to ruin your friendship. So Hanlon's razor makes sense.

Corporations on the other hand cannot be assumed to have morals or care about you. You are already fungible to them so assuming malice until proven otherwise is not going to make things worse for you. Meanwhile giving corporations the benefit of the doubt allows the truly malicious ones to take advantage of that who, unlike your friends, don't really have any other feedback loops that keep them honest.
by dimitri-vs | 2025-08-05 11:17:52+00:00
Yes: https://github.com/blakeblackshear/frigate/releases Ctrl+F: "Face Recognition"

> Turn on face recognition & upload your first face via Face Library → Add Face.

> Train and improve accuracy: New detections appear in Face Library → Train with a confidence score-assign each to a new or existing person to refine future recognition.
by donatj | 2025-08-05 11:18:49+00:00
I had this argument in the PHP community when the feature was being discussed, but I think the syntax is much more complicated to read, requiring backtracking to understand. It might be easier to write.

Imagine you're just scanning code you're unfamiliar with trying to identify the symbols. Make sense of inputs and outputs, and you come to something as follows.

$result = $arr |> fn($x) => array_column($x, 'values') |> fn($x) => array_merge(...$x) |> fn($x) => array_reduce($x, fn($carry, $item) => $carry + $item, 0) |> fn($x) => str_repeat('x', $x);

Look at this operation imaging your reading a big section of code you didn't write. This is embedded within hundreds or thousands of lines. Try to just make sense of what "result" is here? Do your eyes immediately shoot to its final line to get the return type?

My initial desire is to know what $result is generally speaking, before I decide if I want to dive into its derivation.

It's a string. To find that out though, you have to skip all the way to the final line to understand what the type of $result is. When you're just making sense of code, it's far more about the destination than the path to get there, and understanding these require you to read them backwards.

Call me old fashioned, I guess, but the self-documentating nature of a couple variables defining what things are or are doing seems important to writing maintainable code and lowering the maintainers' cognitive load.

$values = array_merge(...array_column($arr, 'values')); $total = array_reduce($values, fn($carry, $item) => $carry + $item, 0); $result = str_repeat('x', $x);
by jve | 2025-08-05 11:18:52+00:00
You have to justify the use of storing (or publishing, don't remember) content that includes PII. You must register the use of cameras and specify how long and why you store those recordings. Which usually states: For security purposes. You must include (at least my country) a sticker that says particular area under surveillance.

When there is collective photographing at school for children, we as parents must consent with a signature... which is a little bit annoying.

Having camera at home/yard is no issue.
by d4rkp4ttern | 2025-08-05 11:20:54+00:00
I recently dove into Tmux just to be able to combine it with Claude-Code(CC): allowing CC to watch and interact with a CLI application in a separate pane. A nice feature of tmux is that it is scriptable, I.e allows programmatically sending keystrokes to a specific pane. So I built this little tool "tmux-cli" that creates a convenient, safe wrapper (that prevents self-killing, and has built-in delays for Enter key, etc) around tmux that lets CC spawn another pane, launch a CLI script and actually interact with it. This gives CC some interesting abilities: interact with CLI scripts expecting user input; spawn another instance of CC and give it a task (like sub-agents but fully-visible); launch a CLI script with a debugger like Pdb and stepping thru it; launch UI servers and use Puppeteer MCP to check the browser.

It's easy to install via uv:

uv tool install claude-code-tools

https://github.com/pchalasani/claude-code-tools
by ffsm8 | 2025-08-05 11:21:32+00:00
Eh, as a person then uses both occasionally... I feel like they're pretty on-par?

Is the osx search performing so much better on your end? If so, in results or speed? Because for me, both osx and windows searches leave me annoyed anytime I try to use them, it's so bad that I usually prefer to use CLI tools on both platforms ...

Or were you just saying it cuz it's funny?
by rightbyte | 2025-08-05 11:21:55+00:00
> The last mid-level Python dev job I posted had 300 applicants in the first hour, with 1/4 of them being from acupuncturists and restaurant servers who have never written a line of code.

That has to be due to policy failure of forcing people on benefits to apply for jobs to get benefits, even if they already have applied to all suitable jobs there are right now?
by nickslaughter02 | 2025-08-05 11:22:14+00:00
> This is what happens when politicians decide to regulate technology they don’t understand, targeting problems they can’t define, with solutions that don’t work. The UK has managed to create a law so poorly designed that it simultaneously violates privacy, restricts freedom, harms small businesses, and completely fails at its stated goal of protecting children.

> And all of this was predictable. Hell, it was predicted. Civil society groups, activists, legal experts, all warned of these results and were dismissed by the likes of Peter Kyle as supporting child predators.

EU's equivalent is already being tested in Italy, France, Greece, Spain and Denmark.
by bell-cot | 2025-08-05 11:22:36+00:00
For those unfamiliar with the Soviet Union's Aug'45 entry into the war against Japan:

https://en.wikipedia.org/wiki/Soviet%E2%80%93Japanese_War

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

Japan had ample reason to fear the Red Army. Which, in overrunning Manchuria and surrounding areas, had just proven Japan's assessments of Stalin's resources and capabilities to be disastrously wrong.

So, from the Japanese PoV - if they didn't surrender, how many weeks would it take for the Red Army to conquer the Japanese home islands? They were under no delusions about the brutality of a Soviet occupation.
by Cthulhu_ | 2025-08-05 11:22:41+00:00
Counterpoint, if you're writing business logic - e.g. some math, a HTTP/JSON API, a database, etc - it may be better to start with your domain data and business logic. Write the most clear version of the business logic, then implement the details in their respective layers. That is, the layers may be replaced entirely over time, but your business logic shouldn't change if e.g. the data goes to GRPC instead of HTTP.
by delfinom | 2025-08-05 11:23:03+00:00
It is both underserved and overserved.

The problem for small businesses is ownership and tailoring/complexity. Self-hosted solutions sound great but you need someone that knows how to run it.

Cloud solutions sound great and every VC-funded startup (there is plenty) would love you to buy-in, but that's a massive operational risk to a small business that would become entirely reliant on it. That's on top of every ERP having different workflows and either having to adapt to one or customize it to match your small business. Small businesses often don't exist by copying the ideas and workflow of another company as several industries can be highly competitive and the smallest of "custom steps and processes" can eek out a tiny niche.

And then there's the "big brand, never going away solutions", but they cost a fortune beyond what any small business can afford and likewise need developers just to customize it.

So, with many small business owners, who most likely are not a HN user nor have a github account and work on stuff that has nothing to do with the web. They will look at the ERP offerings, look at their spreadsheet and say "yea imma just go with excel"
by Bewelge | 2025-08-05 11:23:57+00:00
My experience has been that installing AdGuard on my iPhone made no noticeable difference. To be fair, I barely browse on my phone. Basically only news sites and Reddit/HN. But apart from HN I see ads on all of those pages.

So I am just a puzzled by your point of view :) May I ask which App you are using? I would love to be proven wrong and have an ad-free browsing experience in the future.
by AWPAGE | 2025-08-05 11:24:20+00:00
IMO its all well and good for Anthropic to adhere and or justify a ban under it’s TOS. It’s been super annoying when (myself and others) have been arbitrarily banned with very little communication on how to remedy or adhere to ToS for what feels like it’s intended purpose?

The biggest lesson I learnt from my law degree is that sure you might be legally entitled to it - but you can still be receiving a raw deal and have very little in the way of remedial action.
by dkdbejwi383 | 2025-08-05 11:25:16+00:00
I used to work for Suncorp (~10 years ago) in Brisbane square, pretty sure they are no longer using the building and it’s now a super company.

I’ve not watched Bluey (don't have kids of my own or niblings the right age), but am looking forward to when the time comes, so I can point out places I know.

Like many here, I grew up in Brisbane but moved elsewhere for opportunities etc. Given the cost of everything there these days I doubt I’ll make a permanent move back, but I do get nostalgic seeing the locations and the little details represented so well.
by alexey-salmin | 2025-08-05 11:26:01+00:00
Nothing is certain of course, but I estimate the probability of someone taking your house to be significantly lower than the probability of someone taking your savings and stocks. Therefore I prefer to have at least one permanent residence at all times.

I base my estimation of probabilities on the crises I either saw myself or know well from the past. To add to the picture, the majority of stocks I've bought prior to 2022 are frozen with a chance of me never seeing them again. I'm rather glad that at the time I've had enough alternative assets to be able to relocate my family to another country and provide consistent quality of life throughout the whole process.

So yes, I can't fully hedge against everything but I see no reason not to hedge against the things I can.
by fsflover | 2025-08-05 11:27:54+00:00
A friendly reminder that uBlock Origin Lite can't protect you from modern ad tracking. Consider using Firefox with the original version on desktop and support the EU pushing Apple to allow alternative browser engines on iOS.

More details:

https://en.wikipedia.org/wiki/UBlock_Origin#uBlock_Origin_Li...

https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-as...
Show HN: Sleipner.ai – Cut Your LLM Costs by 40-70% (Private Beta)
by Arnell0 | 2025-08-05 11:28:02+00:00
We're launching Sleipner.ai, a zero-friction cost-control layer for teams using large language models (LLMs).

Here's how it works:

Intelligent model routing: Automatically selects the smallest (cheapest) model that can effectively handle your prompt.

Prompt compression: Strips unnecessary filler, reducing tokens without changing meaning.

Semantic caching: Answers repeated or similar queries instantly—no model call needed.

Real-time analytics: Detailed insights into routing decisions, costs, latency, and token usage.

Early adopters are consistently seeing their total LLM spend drop by 40-70%, all while keeping response times under a second. Integration requires zero prompt or SDK changes—just swap one base URL and add your existing API key.

Our pricing is transparent and risk-free: you only pay 25% of the savings we deliver. If we don’t save you money, you pay nothing.

We're looking for a few more teams for our private beta. If your AI costs are climbing faster than you'd like, let's talk.

More info: https://sleipner.ai

Feedback and questions very welcome!
by tphyahoo2 | 2025-08-05 11:28:50+00:00
Thanks for articulating this.

https://math.andrej.com/2010/03/29/proof-of-negation-and-pro...

also

"It’s fine to use a proof by contradiction to show something doesn’t exist. When the assumption that it does exist leads to a contradiction, then that shows it can’t exist.

It’s not so fine to use a proof by contradiction to show something does exist. Here’s the situation. The assumption that it does not exist leads to a contradiction. What can you conclude from that? You would like say “therefore it exists”. But you haven’t got any idea what it is. You may know it’s out there somewhere, but you have no idea how to find it. It would be better to have a proof that tells you what it is.

That’s a difference between what’s called “classical logic” and “intuitionistic logic”. In classical logic, proof by contradiction is perfectly accepted as a method of deductive logic. In intuitionistic logic, proof by contradiction is accepted to show something doesn’t exist, but is not accepted to show something does exist."

David Joyce, https://www.quora.com/In-math-are-there-any-proofs-that-can-...
by consumer451 | 2025-08-05 11:28:57+00:00
> The data the two missions collect is widely used, including by scientists, oil and gas companies and farmers who need detailed information about carbon dioxide and crop health. They are the only two federal satellite missions that were designed and built specifically to monitor planet-warming greenhouse gases.

> It is unclear why the Trump administration seeks to end the missions. The equipment in space is state of the art and is expected to function for many more years, according to scientists who worked on the missions. An official review by NASA in 2023 found that "the data are of exceptionally high quality" and recommended continuing the mission for at least three years.

This is another one of those posts where I find it very difficult to say something intelligent about deeply stupid events. The project has "carbon" in the name, and that's woke or something, right?
by Herz | 2025-08-05 11:29:20+00:00
> Along with migration, it's probably the two most discussed topics. Funnily for it too, everyone says "nobody cares", yet it's literally among the most discussed things.

Its disscussed here, still nobody is acting. This is a bubble.

> I get what you're saying, and there's a point at which I would agree; but I also fully consider that allowing companies to let people die and hide behind "The Algorithm" is something so fundamentally wrong, that we cannot (humanely) afford not to have regulations against it.

This sentence is fundamentally wrong, no one is dying. And for me, it perfectly sums up the issues we're discussing.

We've reached the point where if there's a risk of something happening, no matter the probability neither the magnitude, something must be done. Even if the solution is totally destructive, inappropriate for the problem, etc. Or even worse, deciding when the problem does not yet exist. Or the technology is still in its early stages. Like AI. This is what you are proposing. This is what I criticize.

Slowing down or stopping everything because MAYBE it's the right thing to do, MAYBE something we don't like might happen. This comes at a cost, especially if you apply this principle to everything around you in small doses. It's poison for productivity and efficiency.

I don't know if you are for or against nuclear power. I am quite pro nuclear power. But everyone knows about the European Pressurized Reactor (EPR) project, it is a failure in terms of costs and bureaucracy. China and South Korea are able to build reactors quickly and at low cost. The same EPR reactors built in China have low costs and short construction times (I am referring to the Taishan Nuclear Power Plant). The problem is exclusively European.

In the name of some ideology, we are destroying our productivity and efficency. Again. Why?

And I know very well that the answer is always the same. Safety. But it's just an excuse to sell you the services of yet another bureaucrat. There are very precise risk analyses that show nuclear reactors to be orders of magnitude safer than all other energy sources. So why this ideological obsession? Safety has nothing to do with it.

No one cares about risk analyses. Because the answer will always be “it's never enough.” But at what cost? Again, no one cares.

And thanks to this choices, in the name of safety, building reactors in Europe is difficult and expensive. But in the meantime, it is perfectly legitimate to build gas or coal-fired power plants.

Europe is full of this kind of hypocrisy.
by defrost | 2025-08-05 11:30:33+00:00
> it would have been very difficult for Trueman to have not ordered the use of the bombs.

He didn't really though, did he?

Hiroshima and Nagasaki were both on the "to be bombed" list since at least a month before Truman became President, well before he even learned of the existence of the ultra secret atomic bomb program.

The March 1945 Tokyo bombing marked the beginning of a total war aerial bombardment campaign that included civilian residences that might include factory workers.

That campaign had a target list of 100+ cities, 72 of which were destroyed prior to the bombing of Hiroshima.

Truman more or less did no more than agree that the new secret weapons, the Little Boy and Fat Man designs, be tested on targets already slated to be bombed.

He had little choice, not because of an electorate that knew nothing of the secret weapons and wouldn't know if they were not used, but because of the near unstoppable force of the greatest R&D weapons expenditure in the world to that point .. viewed by many in the know as entirely wasted unless used in war against the Japanese now that the Germans had surrendered before they could be used there.

The "extra US casualties" are entirely hypothetical, existing only on the assumption that there would be ground invasion of the mainland which was hypothetical given the program started before Truman became POTUS to flatten Japan to eliminate any resources of resistance and to continue to do so until the country surrendered.
by boredemployee | 2025-08-05 11:30:34+00:00
i think in reality most people are already solving some problem and for some reason (luck, influence, networking, right place right time) things can scalate. in theory, everything sounds great in these "recipes", but in real life, a lot of other things come into play: lobbying, people with influence because of inherited wealth, and so on. I know it's not the case 100% of the time, but it happens a lot