MurphyA/hacker-news huggingface dataset:
by layer8 | 2025-09-11 21:40:44+00:00
> Create a parallelogram by attaching a flipped copy of the triangle.

You don’t need to duplicate the triangle. You can also turn any triangle into an equal-area rectangle like this: https://youtu.be/nVz3kCrJLWo?t=77

Bad ASCII art:

/|\ / A|B\ /____|__\ / | \ / | \ ’——————————+—————`

The middle horizontal line cuts the height of the triangle in half. Rotating the upper two “quarter” triangles A and B by 180° around the end points of the horizontal line completes the lower half to a rectangle:

________________ | A / | \B| | / | \| ’——————————+—————`

Depending on the coordinate representation/quantization, one drawback might however be that if a random point lands exactly on one of the edges of A and B, the mapping between the triangle and the rectangle is not a bijection. (For example, the single edge between A and B in the triangle becomes two separate edges in the rectangle. Likewise for the middle horizontal line, and conversely for the diagonal triangle edges.)
by mustaphah | 2025-09-11 21:40:58+00:00
> You're all extremely clever and I can't seem to understand how you missed thinking about such a simple edge case [...]

I wouldn't be surprised if they left this loophole on purpose to give some (their?) agents extra leverage.

Edit #1: I didn't mean to imply bad intent; just thinking out loud.

Edit #2: Please, downvote responsibly. I deserve every one. https://www.youtube.com/watch?v=0FHEeG_uq5Y
by tetromino_ | 2025-09-11 21:41:19+00:00
For one thing, because threads about BLM protesters and cars didn't blow up like this one with 2000+ comments.

For another, Dang judged - probably correctly - that a large fraction of people active on HN thoroughly hated Kirk. Without the warning, he might have needed to ban a lot of active and useful contributors, and he'd rather not need to do that.
by ImJamal | 2025-09-11 21:43:01+00:00
With the trans one, it is not clear if he was advocating for violence or to put them in a mental institution. It sounds more likely he is advocating for violence, but you can't tell.

With the Pelosi one, I don't think he was condoning violence, but wanted him free so there could be an interview with the attacker. "Bail him out and then go ask him some questions". I think this is due to conspiratorial views that there was a fallout between gay lovers.

Neither of these are great, but it is not clear that either are actually advocating for violence.
by dotancohen | 2025-09-11 21:43:40+00:00
For the few months that I had to use an iPhone in addition to my regular Android phone, I also tried to convince myself that some things were better and some things were worse.

But the iOS keyboard was completely unusable for me as a power user, and it cannot be replaced. I was missing so many features of Gboard. I absolutely could not consider an iPhone or any other replacement phone for that matter, if it does not support Gboard.
by mfro | 2025-09-11 21:44:04+00:00
I think the big assumption that this article hinges on is that AI will never create durable code. That cannot be true. Now that we’ve finally got a taste of the singularity, humans will never stop trying to bring about AGI, which by definition must write code that is exponentially more durable than anything a human could write. The question is ‘when’.
by rickdeckard | 2025-09-11 21:44:09+00:00
Maybe, but currently it seems that Apple prefers to not "litigate while crushing the competition", but instead "retreat and rally up the userbase". So at least in this aspect the DMA seems to work surprisingly well...

I also think there is little for them to litigate at this point, they were exchanging extensively for more than a year on how to reach compliance, then the decision [0] was made.

There are also separate procedures for the specification of compliance and investigating (non)compliance. Apple might continue to have a hard time litigating on non-compliance if they co-worked with the EU on the exact expectation of compliance beforehand.

https://ec.europa.eu/competition/digital_markets_act/cases/2...
by ThatPlayer | 2025-09-11 21:44:10+00:00
I've been using it about a year or so. Like I said, the 'killer feature' for me is tiering. I'm not using it on my main computer, but a spare parts computer with whatever storage I have laying around thrown into it, so being able to combine a 3TB HDD with a 1/2 TB SSD. All the storage stays usable, and I get better performance.

Not perfect though. Performance at times doesn't seem better than just SSD, though I didn't really test that and I'm not sure if it's just hitting the HDD at those times. And there was a kernel version that didn't boot, though I'm staying on the bleeding edge with Arch Linux.
by yesfitz | 2025-09-11 21:45:32+00:00
I take issue with the framing of the industrial-scale farming of introduced species that outcompete native pollinators as a pact between equals. That the bees choose anything.

In your comparison, neither the algae nor the polyps have the capacity to reason about or alter their arrangement.

In a fair deal, both parties must be able to reason about and/or withdraw from the arrangement.

If only one party is able to reason about and withdraw from an arrangement, the other party is being used.

In this case, bees are tools being used. I'm not willing to say that it's a great moral evil for that reason, but bees not only don't have the capacity to understand the arrangement, they will die trying to kill to defend their honey.

So my only appeal in this case is not to pretend that they choose.
by nis0s | 2025-09-11 21:46:08+00:00
It occurs to me that pain killers can cross the placenta and also affect gut microbes, and that since sometimes autism isn’t inherited, there’s a gut microbe imbalance component to autism that needs more attention, especially related to how gut microbes differ in those born with and without Caesarians. Secondly, how are genes related to autism also linked to the gut-brain axis.

Gut health isn’t mentioned in the article, so it seems like a good point to bring up.
by 0points | 2025-09-11 21:46:13+00:00
> What is so surprising to us who know history is that the Irish are supporting the colonizers. Jews are in their homeland. It's the Arabs who are colonizers.

You are being dishonest or severely brainwashed.

Ethnic groups doesn't have homelands, people born under a nation state [2] have homelands.

Israel was founded in 1948. You already know this.

1: https://en.wikipedia.org/wiki/History_of_Israel_(1948%E2%80%...

2: https://en.wikipedia.org/wiki/Nation_state
by lrvick | 2025-09-11 21:46:48+00:00
First thing I did to beat my addiction was keep my phone in airplane mode at all times, and just rely on wifi. After porting my number to a voip provider, i just canceled my cell phone subscription and then the device was no longer a phone, but a wifi tablet. a boring tool i could easily leave at home most of the time until I never took it with me again.
by kiitos | 2025-09-11 21:47:17+00:00
if you go to https://www.gunviolencearchive.org/last-72-hours as of right now (11 sep 2025 2145h utc) you actually can't find this dude's death in the list any more, and that list includes minimum 51 victim deaths since his

every one of those victims is infinitely more deserving of attention and sympathy than this absolute chucklefuck
by spwa4 | 2025-09-11 21:48:02+00:00
Except the riots on the streets aren't about wealth inequality, they're about a proposal for reduced government spending. Why? Government spending has been supported by constantly taking out new debt, and now both issuance of new debt is sputtering and increased interest payments are due.

This has, of course, not convinced the government to stop increasing debt. This is people's reaction to merely slightly reducing the rate of debt increase.

The problem is not even that the debt is too high, but because the state's demand for new debt just for this year is too high at the interest rates they're offering.
by chuckadams | 2025-09-11 21:48:21+00:00
From the horse's mouth (Hipp's): "I wrote SQLite, and I think it should be pronounced "S-Q-L-ite". Like a mineral. But I'm cool with y'all pronouncing it any way you want. :-)"

Me, I say "sequeLITE" with the emphasis on the last syllable, but now I'm thinking of switching to "SEQuelite". You'll never catch me pronouncing it "ess-cue-ell" either way dammit!

:)
by seec | 2025-09-11 21:49:40+00:00
This. Germany has been strong arming policies around electricity in the EU for quite a while. Forcing their neighbors to sell their electricity for cheap when it is the most expensive in the market while assuming none of the costs and risks.

And they are disrupting neighbors' energy production economics when they offload their overproduction precisely when nobody wants it.

That's German superiority complex in all it's "glory".
by eigenform | 2025-09-11 21:49:40+00:00
(Sorry for the self-plug but) I also wrote a bit about the behavior of PREFETCH recently in case anyone is interested in this sort of thing. See this example (for Linux on AMD):

https://github.com/eigenform/perfect/blob/e5da0c693ba5d1b654...

.. and here's another example in the case of EntryBleed:

https://github.com/eigenform/perfect/blob/e5da0c693ba5d1b654...
by withinboredom | 2025-09-11 21:49:42+00:00
It can’t learn or think unless prompted, then it is given a very small slice of time to respond and then it stops. Forever. Any past conversations are never “thought” of again.

It has no intelligence. Intelligence implies thinking and it isn’t doing that. It’s not notifying you at 3am to say “oh hey, remember that thing we were talking about. I think I have a better solution!”

No. It isn’t thinking. It doesn’t understand.
by petcat | 2025-09-11 21:50:10+00:00
> I think blaming the EU for cookie banners is wrong. Those banners are malicious disobedience, and, for the most part a legal violation.

The EU's own government websites are littered with the obnoxious cookie banners [1].

It's an unbelievably thoughtless and misguided law that has unfortunately ruined the internet. I think a lot of people rightfully blame the EU and they're terrible lawmaking for this nonsense.

https://european-union.europa.eu
by throw_a_grenade | 2025-09-11 21:50:14+00:00
I found this: https://github.com/woju/systemd-dehydrated/

It essentially creates per-domain units. However, those are timers, not services, because the underlying tool doesn't have long-running daemon, it's designed to run off cron. So I can't depend on them directly, and I also need to add multitude of dropins that will restart or reload services that use certificates (https://github.com/woju/systemd-dehydrated/blob/master/contr...). Coudn't figure out any way that would automate this better.
by 0points | 2025-09-11 21:50:40+00:00
The EU article #8 of human rights [1] is deliberately loosely defined, both sounding nice at the first glance, while allowing for Chat Control style surveillance.

Article 8 – Right to respect for private and family life 1. Everyone has the right to respect for his private and family life, his home and his correspondence. 2. There shall be no interference by a public authority with the exercise of this right except such as is in accordance with the law and is necessary in a democratic society in the interests of national security, public safety or the economic well-being of the country, for the prevention of disorder or crime, for the protection of health or morals, or for the protection of the rights and freedoms of others.

1: https://en.wikipedia.org/wiki/Article_8_of_the_European_Conv...
by stagalooo | 2025-09-11 21:51:44+00:00
There is a world of difference between shipping a feature, and shipping an api that anyone can use to ship a feature. It is such a normal progression to make an api and dogfood it internally, iterate until you have something you feel comfortable supporting indefinitely, and then expose that api publicly. It is not reasonable, IMO, to require that every feature you ship has an API that is ready for public consumption.

Granted, Apple generally doesn't do that last part unless forced. I think some kind of timeline on the DMA requirements would be more reasonable. e.g. you have two years to make a feature publicly accessible before fines start accruing.
by ath3nd | 2025-09-11 21:52:13+00:00
Netanyahu is a wanted war criminal.

Israel is doing a genocide on the Palestinian population.

You can Hamas this, Hamas that, but Netanyahu bombs hospitals, Palestinian children, starves the Palestinian population, and murders journalists. All war crimes, all stuff we have seen with our own eyes thanks to the wonders of technology.

> On 24 October [2023, right after 7th October], Ghazi Hamad—member of the decision-making Hamas Political Bureau—explained the 7 October attack: "Israel is a country that has no place on our land. We must remove that country because it constitutes a security, military and political catastrophe to the Arab and Islamic nation".

https://www.dw.com/en/netanyahu-vows-there-will-be-no-palest...

"Netanyahu vows 'there will be no Palestinian state'"

Which is funny, cause there is already a Palestinian state, recognized by 147 of 193 UN countries. Which is similar to Israel: 165 of 193 UN countries. So it seems Netanyahu...is wanting to ...destroy a whole nation...kind of...ethnically cleanse it? Sure sounds like a genocider to me.
by qingcharles | 2025-09-11 21:52:27+00:00
Statutory private rights-of-action are devastating to companies on major breaches like this because it entitles large payouts. I'm all for statutory fines, because so many of these things require other means to get payouts (e.g. tort law) which benefits lawyers and settlements much more than statutory payouts do.

IIRC, this is what caused those huge payouts on the biometrics from Facebook and Google who didn't pay proper attention to per-state laws.

I'm assuming they are only tracking obvious third-party data escapes here (e.g. page includes off-domain JavaScript) rather than the less-obvious route here where the first-party receives the data and then shuffles it off to an outside party on the back-end.
by nabla9 | 2025-09-11 21:52:56+00:00
The Nature Index 2025 Research Leaders — previously known as Annual Tables — reveal the leading institutions and countries/territories in the natural and health sciences, according to their output in Nature Index journals in 2024.

China’s adjusted Share — which takes account of annual fluctuations in the volume of articles in the database year-on-year — jumped by 17.4% in the year to 2023. At the same time, the United States’ adjusted Share plummeted by 10.1%.

https://www.nature.com/nature-index/research-leaders/2025/na...
by boplicity | 2025-09-11 21:53:15+00:00
Was this not specific enough, from my previous comment?

> For example, I run a database of information that needs constant updating. I set up automated fact checking (with a human looped in), that enables nearly live updates, which would be incredibly expensive without an LLM. There are so many projects, big and small, just like that one, that are being created right now.
by yesfitz | 2025-09-11 21:53:26+00:00
This "article" has as much substance as the tweets it criticizes. No citations, just links to other uncited tweets and posts. Basically "trust me, bro".

The crux of the article, emphasis mine. "If you spent your Wednesday absorbing thousands of posts on Bluesky—as I did, for whatever reason—it would be difficult to make an honest case that the platform’s users were celebrating en masse. There were indeed a lot of people doing that. Just not close to a majority, let alone 'every post.'"
by teraflop | 2025-09-11 21:54:16+00:00
So from a mathematical perspective, the issue is that your "line" (path) actually has zero thickness, and so there are gaps between the spiral windings. If you sample a point from any finite-length path then you have probability zero of hitting any of the points in the gaps between segments. (Maybe you don't care about this if the gaps are sufficiently small, but from a mathematical perspective it's not strictly valid.)

And you can't just say "the path is infinitely long and spirals infinitely many times" because then you have no way of uniformly sampling a random real number between zero and infinity (it can be proven that no such probability distribution exists).

But I think the basic idea is sound and you make it work by formulating it slightly differently:

1. Divide up the triangle into infinite concentric triangles

2. Choose a random triangle with probability proportional to that triangle's length

3. Choose a random point on that triangle's perimeter

The interesting part is step 2. If you parameterize the triangles by a scale factor s, ranging from 0 to 1, then the perimeter is proportional to s. So I believe you can choose s appropriately by choosing x uniformly at random from 0..1 and letting s = sqrt(x). See https://en.wikipedia.org/wiki/Triangular_distribution

Then step 3 is mathematically straightforward: if the lengths of the triangle's sides are a,b,c, you choose a random number between 0 and a+b+c, and "wrap" that length around the triangle's perimeter. Then you have to do the correct coordinate transformation to find the appropriate point on the scaled triangle you chose.

So I think it would work, but it probably wouldn't be any simpler to implement than the "accept-flip" method described in the article.
by 0xCMP | 2025-09-11 21:55:35+00:00
One has a more obvious route to building a profile directly off that already collected data.

And while they are making lots of revenue even they have admitted on recent interviews that ChatGPT on it's own is still not (yet) breakeven. With the kind of money invested, in AI companies in general, introducing very targeted Ads is an obvious way to monetize the service more.
by yoz-y | 2025-09-11 21:55:59+00:00
Anecdata but several of my colleagues moved to other countries (Poland, Switzerland, US…) specifically citing high taxes as the reason.

The middle class is disproportionately squeezed.

Also one thing to consider is that most comments here talk about income tax. On top of that you need to also count all other taxes.

Let’s say the company pays a US style salary for you, around 300k from that your actual gross salary will be only 200k from which the taxable salary will be 160k. That 160k is what you will be paying the income tax on (around 40k)

This is the real reason salaries are lower here compared to the US even though the cost of employment is similar.
Show HN: Masters Tool-Aggregate Practical Toolbox
by yangyiming | 2025-09-11 21:56:33+00:00
The purpose of masters-tool Practical Tools Website is to provide practical tools for programmers, front-end engineers, server administrators, webmasters and other friends, such as code formatting, code obfuscation, code encryption, encoding conversion, webmaster query, color comparison table, color value conversion and other commonly used tools. More practical and easy-to-use tools are being continuously added. Welcome to visit!
by vsgherzi | 2025-09-11 21:57:34+00:00
The problem is definitely real, I'd hope that as the ecosystem matures we come to better solutions. Microsoft and google are pretty heavily invested these days so I'd expect they'd be able to provide some clarity here.

I think we just need to push a culture of writing your own code for small things you're pulling in. (of course that just is pulling alot of weight :) )

I just get tired of everyone trying to burn down crates.io as an inherent evil.
by graeme | 2025-09-11 21:57:53+00:00
That's not what the law says. The law says IF they make a feature available in the EU, THEN it must be available to all competitors.

The law does not say you must make all features available in the EU. Generally speaking business regulations don't force companies to offer services. They instead regulate how the service can be offered if offered.

The hidden downside of regulation is a lot of stuff doesn't get built. It's just normally not so visible, but software is distributed worldwide so we can see the effect.
by fuzzfactor | 2025-09-11 21:58:36+00:00
This part stands on its own and applies to everything, as well-learned lessons that felt instinctively & universally American to anyone born in the decade after the war:

>Because the field was so new, using only recently-discovered natural phenomena that were poorly understood, a great deal of effort was needed to resolve this uncertainty along numerous technological axes. Thus the Manhattan Project involved a large amount of trial and error experimentation, and of pursuing multiple paths of technological development —

>It’s this last difficulty that is most relevant for other technological development projects. Developing other technologies doesn’t necessarily require building enormous, industrial scale industrial facilities to even begin, and doesn’t necessarily require rapidly proceeding before the proper information and supporting technologies are available. But it will almost certainly require investigating various promising paths of development, partially-informed groping around until the right combination of methods and components is discovered. Indeed, this sort of exploration is the very essence of technological development.

>resolving this uncertainty, and figuring out what a technology should actually be, is hard. The Manhattan Project had some of the most brilliant scientific minds in the world working on it, but even with this collective brainpower it was far from clear what the best route to the bomb was.

>Not all technologies will require expensive physical facilities to produce, or require extremely rapid, expensive development. But resolving the uncertainty inherent in a new technology — figuring out what, exactly, the arrangement of phenomena needs to be to achieve some goal, and how that arrangement can be achieved — is part of the fundamental nature of creating a new technology.

Never thought this kind of approach would be allowed to fade so far from what it once was. Almost nobody is even trying to carry the torch any more.
by jiggawatts | 2025-09-11 21:59:01+00:00
Story time!

I came across the PSL when a state government department contacted my consultancy and asked what the impact would be of uncommenting a line in the PSL. They were focused on the effect this would have on DMARC and SPF records of child agencies under the parent TLD, but I realised that it also meant that cookies that could previously be shared across agency boundaries would suddenly be siloed at a different level, potentially breaking web apps. (Think authentication portals using shared cookies across a bunch of things.)

But how to test this!?

I discovered that the PSL is embedded in browser executables when they’re compiled. So I came up with the approach of making two Chromium builds, one with the PSL change and one without the change. Since it has a nice blue icon I changed the modified build to have a red icon. I called these the “red pill” and “blue pill” versions.

The idea was that web devs could test their sites with the two nearly identical browsers side-by-side and so any observed difference is a sign of a potential issue. I also used Playwright to scan over ten thousand public URLs with both a compared the traces programmatically.

Another trick I used was to spin up spot priced “HPC” instances in Azure with 120 AMD EPYC cores to run the builds.

One of the most fun projects I’ve ever worked on.

No, they never changed the PSL, it’s still incorrect.

I only found one site that has an issue, but that made them too nervous and they gave up…