MurphyA/hacker-news huggingface dataset:
by maleldil | 2025-08-26 12:26:25+00:00
The argument is that there are two separate ideas: configuration for macOS apps (i.e., .app bundles) should be placed in Application Support (a platform standard), while CLI tools should be placed in .config (not a standard, but common practice). If you're going to have a single function that returns a path, you have to pick one, and Go picked the platform standard.

On the other hand, you can be more flexible and allow the user to pick how these are determined, as the Rust crate etcetera[1] does. This gives you the best of both worlds.

[1] https://docs.rs/etcetera/latest/etcetera/app_strategy/index....
by mingus88 | 2025-08-26 12:26:29+00:00
I disagree. My parents generation took photos on point and shoot cameras. They waited a week or longer to get them developed, never really knowing what they took.

These photos ended up stuck to pages in an album to be brought out occasionally, or they were really good, in a frame placed on display. They have pictures from the 80s still out on their mantle.

Maybe once a decade they would go to a studio like at Sears and get a pro to get the whole family together. These would be edited, but also very rare.

Even the thought that they would be taking pictures for anyone else to ever see would rarely cross their minds, let alone the need to make major edits. Regular people simply didn’t have this vanity or need for approval when taking pics like the smartphone era
by myrmidon | 2025-08-26 12:26:39+00:00
The big assumption here is that authoritarianism in Europe would get you better infrastructure.

My personal belief is that for good infrastructure you want capable local industry (to build it) AND a population that is not too wealthy (because this gives additional infrastructure more relative value, keeps the workforce for building it more affordable and thus citizens less likely to oppose the whole thing).

I don't think that having european dictators would really help either of those points, so my infrastructure expectations from neofascism are quite low.
by atwrk | 2025-08-26 12:27:52+00:00
This is Cinebench 2025, a cross platform application: https://imgur.com/a/yvpEpKF

You sure like that table, don't you? Trying to find the source of that blender numbers, I came across many reddit posts of you with that exact same table. Sadly those also don't have a source - the are not from the notebookcheck source.
by BirAdam | 2025-08-26 12:27:57+00:00
First, Apple did an excellent job optimizing their software stack for their hardware. This is something that few companies have the ability to do as they target a wide array of hardware. This is even more impressive given the scale of Apple's hardware. The same kernel runs on a Watch and a Mac Studio.

Second, the x86 platform has a lot of legacy, and each operation on x86 is translated from an x86 instruction into RISC-like micro-ops. This is an inherent penalty that Apple doesn't have pay, and it is also why Rosetta 2 can achieve "near native" x86 performance; both platform translate the x86 instructions.

Third, there are some architectural differences even if the instruction decoding steps are removed from the discussion. Apple Silicon has a huge out-of-order buffer, and it's 8-wide vs x86 4-wide. From there, the actual logic is different, the design is different, and the packaging is different. AMD's Ryzen AI Max 300 series does get close to Apple by using many of the same techniques like unified memory and tossing everything onto the package, where it does lose is due to all of the other differences.

In the end, if people want crazy efficiency Apple is a great answer and delivers solid performance. If people want the absolute highest performance, then something like Ryzen Threadripper, EPYC, or even the higher-end consumer AMD chips are great choices.
by aurareturn | 2025-08-26 12:28:57+00:00
Where are you getting M4 die sizes from?

M1 Pro is ~250mm2. M4 Pro likely increased in size a bit. So I estimated 300mm2. There are no official measurements but should be directionally correct.

AMD's multicore passmark score is more than 40% higher.

It's an out of date benchmark that not even AMD endorses and the industry does not use. Meanwhile, AMD officially endorses Cinebench 2024 and Geekbench. Let's use those.

The AMD is an older fab process and does not have P/E cores. What are you measuring?

Efficiency. Fab process does not account for the 3.65x efficiency deficit. N4 to N3 is roughly ~20-25% more efficient at the same speed.

The P/E design choice gives different trade-offs e.g. AMD has much higher average single core perf.

Citation needed. Further more, macOS uses P cores for all the important tasks and E cores for background tasks. I fail to see why even if AMD has a higher average ST would translate to better experience for users.

14.8 TFLOPS vs. M4 Pro 9.2 TFLOPS.

TFLOPs are not the same between architectures.

19% higher 3D Mark

Equal in 3DMark Wildlife, loses vs M4 Pro in Blender.

34% higher GeekBench 6 OpenCL

OpenCL has long been deprecated on macOS. 105727 is the score for Metal, which is supported by macOS. 15% faster for M4 Pro.

The GPUs themselves are roughly equal. However, Strix Halo is still a bigger SoC.
by Gethsemane | 2025-08-26 12:29:14+00:00
I really want to like typer, and frequently go down the rabbit hole of rewriting all my argparse into typer, but I keep getting put off by it's high import cost and that development seems to be a bit up in the air (see https://github.com/fastapi/typer/issues/678#issuecomment-319...). A shame because otherwise it's a really nice library!
by 0x3f | 2025-08-26 12:29:21+00:00
I think we're probably seeing Goodhart's law in action here.

There have been a few CEOs announcing that 'X% of our code is now written by AI', where X is some totally non-credible number to anyone that has used an LLM for this purpose.

But if you attach consequences to not using AI, engineers are just going to give AI more credit for the end product, no matter how true that is.

Being a ruthless, unforgiving parent only makes your children better at hiding things.
by ExoticPearTree | 2025-08-26 12:29:21+00:00
> It's likely the EU will cave but together with other ongoing threats, this might throw India and Brazil closer to China's orbit.

Win some, lose some. Living in the EU, I really hope the EU bends the knee on this.

India and Brazil are part of BRICS, so they don't really need that much of a push to be fully aligned with China on most things.
by gsf_emergency_2 | 2025-08-26 12:29:22+00:00
It's as much an approx as any physical measurement is. As for "real world" implications, Hinton probably deserves the physics Nobel more than (the) Hofstadter who predicted this phenom (as a grad student)

https://en.wikipedia.org/wiki/Hofstadter%27s_butterfly#:~:te...
by skydhash | 2025-08-26 12:29:58+00:00
Today I downloaded the source code of a small utility to check its internals. You know what I was not interested in? The git history. Instead I just download the tarball from Debian.

Version history is only interesting if you’re doing archeology. And I would prefer seeing a squashed commit that introduce a complete change instead of going back and forth to get the complete picture (anyone with such messy history will introduce unrelated changes too).

As for failure, put that in some tracker, with an “abandoned” status.
by const_cast | 2025-08-26 12:30:22+00:00
Play integrity does almost nothing to prevent malicious actors. In fact, id say overall it's probably more harmful because it gives actors like Banks false confidence.

Even with play integrity, you should not trust the client. Devices can still be compromised, there are still phony bank apps, there are still keyloggers, etc.

With the Web, things like banks are sort of forced to design apps that do not rely on client trust. With something like play integrity, they might not be. That's a big problem.
by rollcat | 2025-08-26 12:30:31+00:00
Apple is quite happy to patch & extend stuff. Their ssh-add(1) accepts --apple-use-keychain, --apple-load-keychain; vanilla OpenSSH doesn't even know what long flags are.

I think it's entirely OK for long-established programs to adhere to their conventions; it's less surprising for the users. If you're going to change how things work, do so with minimum impact on the UI.

(I wish their GUI teams understood that.)
by doodlebugging | 2025-08-26 12:30:38+00:00
From the map dialog for Lystra, visited on his first and second journeys:

**

>Second Journey Verses (Acts16:1-5):

>Paul came to Derbe and then to Lystra, where a disciple named Timothy lived, whose mother was Jewish and a believer but whose father was a Greek. 2 The believers at Lystra and Iconium spoke well of him. 3 Paul wanted to take him along on the journey, so he circumcised him because of the Jews who lived in that area, for they all knew that his father was a Greek. 4 As they traveled from town to town, they delivered the decisions reached by the apostles and elders in Jerusalem for the people to obey. 5 So the churches were strengthened in the faith and grew daily in numbers.

**

I guess you need to have rules if you're gonna let people play the disciple game. Rule #1 - Get circumsized. This rule may be most effective at limiting disciple group size since any uncommitted wannabees would take a hard pass. I'm left wondering whether this could be the origin of "just the tip", or tipping culture?

Luckily for Timothy, Paul was a tent-maker or leather-worker, depending on which translation you favor, so he likely had some really sharp tools and would be able to make short work of this little project. Timothy probably didn't find much delight in pitching tents for a while though. Pretty funny trying to imagine walking around preaching for converts after this operation and wondering whether they had a cone or something like your cat gets at the vet to shield the parts from scratchy robes while walking. Probably lots of talking to God on those journeys.
by aurareturn | 2025-08-26 12:31:04+00:00
Great. Here's what you're getting between an M4 Max vs an AMD AI 395+: https://imgur.com/a/yvpEpKF

And of course, the Mac Studio itself is a much more capable box with things like Thunderbolt5, more ports, quieter, etc.

I can see why some people would choose the AMD solution. It runs x86, works well with Linux, can play DirectX games natively, and is much cheaper.

Meanwhile, the M4 Max performs significantly better, more efficient, likely much more quiet, runs macOS, more ports, better build quality, Apple backing and support.
by infecto | 2025-08-26 12:31:05+00:00
Again I am not exactly sure of your position.

They maintain a small military presence? Not really, there are no bases and last report in March was 500 US military trainers. I would not really classify that as a military presence.

If China wanted to take Taiwan today? Honestly not sure what would happen. Maybe the US intervenes, maybe not. I am not even sure how I feel about either side. What I do feel strongly about is that it’s best both for the world and the US to reduce chip concentration from Taiwan. I believe in comparative advantage but also believe sometimes it’s useful to guide the invisible hand when there are crucial industries. I don’t even know how I feel about China. They have done amazing things in lifting their country, especially when compared to close neighbors like India but also I never can get a good feeling for their intentions as they play a much longer game than most of the West.

War with an actor like China would not be pretty. Their country has seen no real conflict so there is question about battle readiness but missles and drones don’t need much training and I personally don’t want to test it. So while yes I don’t think China is making a move today, I also believe it’s a highly complicated problem for its concentration risk, maybe they make a move tomorrow and the world is reliant on China for chip manufacturing.
by jader201 | 2025-08-26 12:31:24+00:00
Yeah, it’s definitely subtle, for the most part. But if you pause it and move it around frames, you can definitely see where post processing attempted to sharpen some of the out-of-focus parts.

But, again, the AI artifacts are from taking still shots and using AI to generate videos, which was done separately/intentionally by Will’s team (according to the article).
Show HN: Nyx – an AI sleep assistant to stop doomscrolling
by zham-dev | 2025-08-26 12:31:37+00:00
I built Nyx because I was stuck in the late-night doomscroll loop — telling myself “just one more thing” at midnight and then being wide awake at 1:30am.

The idea was to create something boring on purpose that helps me wind down without dragging me back into my phone. Nyx is a little AI sleep assistant that:

• Guides simple routines (breathing, short bedtime stories, white/brown noise) • Has a calming voice mode so I can put the phone face-down and just talk to it • Learns what actually helps me fall asleep and adapts over time • Keeps the interface dark, minimal, and low-stimulation (big text, no feeds, no animations)

It’s not a miracle cure, but it’s been helping me fall asleep faster and avoid the “one more scroll” trap.

I’d love feedback from the HN community:

• Would you use an AI companion like this at bedtime, or is it too much tech in the bedroom? • What routines or tools have you tried that actually improved your sleep?
by sigmar | 2025-08-26 12:31:40+00:00
>It's pretty obvious that the EU wants to ban free speech (online) ASAP and fully control the public political narrative ASAP.

What specific actions has the EU done to ban free speech and control the political narrative?

I see the US deporting legal permanent residents when they peacefully protest against US policy[1]. and I see the US searching social media accounts and forbidding private accounts[2] for visa applicants. Both of those seem like Trump is attempting to control political speech more than anything the EU has done.

[1] https://en.wikipedia.org/wiki/Detention_of_Mahmoud_Khalil

[2] To facilitate this vetting, all applicants for F, M, and J nonimmigrant visas will be instructed to adjust the privacy settings on all of their social media profiles to “public.” https://www.state.gov/releases/office-of-the-spokesperson/20...
by Mtinie | 2025-08-26 12:31:54+00:00
Quite possibly.

In my experience, the people who make unsolicited comments about others’ risk mitigations have incorrectly learned that safety precautions indicate weakness or inexperience, when experience teaches the opposite.

Seasoned professionals know that tools and environments don’t care about your skill level. A tool will injure anyone who doesn’t respect its inherent dangers.

The mockery typically comes from those who’ve either been lucky so far or selectively absorbed workplace cultures that prioritize appearing tough over staying whole.
by theyianster | 2025-08-26 12:32:11+00:00
That's really cool - you should merge the two sites!

I did feel a certain degree of trepidation commenting what I did because I didn't want to (and hate that armchair devs on this site) just hate on the product or expect you to have considered the global implications of a side project, so I'm glad it's an issue you're thinking about too! LMK if you've got something else to try out!
by ChrisMarshallNY | 2025-08-26 12:32:21+00:00
Yup. One of my arborist friends was a bit reckless (very, very good, but I thought he took unnecessary risks). Whenever he would see me, he’d hold up his left hand, to show he still had all his fingers, because I’d always tell him he’d lose one.

Not sure which of us was in the wrong. He made very good money.

I remember some electricians, working on our lighting system, at work.

They worked on live (320 Volts) fixtures. Never bothered to kill the circuit breaker.

I’ve found that pro tools tend to look pretty scruffy, while amateur tools tend to look shiny.
by csomar | 2025-08-26 12:32:57+00:00
Bingo. Same stuff was happening under previous administrations but it was quiet. There is no advantage to airing your laundry. Take the Indian case, by having the deal aired, Indian politicians have had to look tough. The US could have gotten a better deal by making the threat behind closed diplomatic channels.

Amateur hour at the white house. (Or shall I say Trump hour?)
Show HN: Hound – AI agents that find deep logic bugs in codebases
by berndtzl | 2025-08-26 12:33:18+00:00
Hi HN, I'm the creator of Hound, an open-source tool that uses AI agents to hunt for deep logic bugs in codebases. It works by building knowledge graphs of the code, spawning agent teams to generate and refine hypotheses, and simulating expert auditing processes. In tests, it replicated 10/30 findings from a real audit contest. It's language-agnostic and runs locally via CLI.

More details and examples in my blog post:

https://muellerberndt.medium.com/unleashing-the-hound-how-ai...

Excited to hear what you think!
by 1970-01-01 | 2025-08-26 12:33:35+00:00
>If you watch an expert arborist (tree man) at work, you’ll notice that they’ve removed every single safety guard from their chainsaws.

What are you actually talking about here? Tree surgeons may remove some of them some of the time, but all of them would either kill them, get them fired, or both.

Here is an old quote to put into perspective:

https://quoteinvestigator.com/2022/06/06/old-bold/
by llimllib | 2025-08-26 12:34:18+00:00
This CL documents the switch of UserConfigDir from ~/Library/Preferences to ~/Library/Application Support: https://go-review.googlesource.com/c/go/+/181177

From my perspective it makes sense as a default for go, which may be used to make either apps (things with bundle identifiers that go in /Applications) or CLI applications (which I wish would use ~/.config, but I understand that that's just my preference)
by xelxebar | 2025-08-26 12:34:32+00:00
The growth of BB is certainly mind-boggling; however, I personally find its growth rate so untouchable as obviate any attempt at understanding. There's nothing to gain purchase on.

The fast growing hierarchy, on the other hand, provides oodles of structure for us to explore, and we can construct numbers that are vastly larger than anything BB(6) is likely to hit. In fact, this is why we use the fast growing hierarchy to approximate really big numbers all the time!

When we take something like f_Γ_0 and try to unpack even just the barest surface of its size, I get a feeling of vastness similar to those videos of diving endlessly into fractals.
by giancarlostoro | 2025-08-26 12:34:37+00:00
> Android shouldn't be considered Open Source anymore

That idea died for me long ago, I had used Android since 2009 till 2020. I gave up on the dream of a Linux phone. Ubuntu had a nice sleek Phone UI they were working on. The issue is if nobody builds the phones and no carrier cares, nobody will pick it up. You need to push yourself into the market.

Microsoft could fill this weird gap if they wanted to the key things would be they would have to truly open source the OS. I could see Amazon trying again, but they'd need to invest a lot as well. It's an uphill battle needing a serious flagship phone. Your other problem is most apps need to be migrated.
by ivan_gammel | 2025-08-26 12:35:02+00:00
This is not what will happen at all. I won’t go here into much detail, but the thing is, there’s a demand in Europe that cannot be fulfilled from other sources for the time being. Europe is not going to fix America or Russia, so it has to trade with them. It is a huge market for both, that cannot be ignored, and access to that market won’t be sold cheap. If they have to compete to sell us gas, great. The lesson has been learned anyway, emission targets will be hit, alternative energy sources will make us much less dependent within next 15-20 years.
by jelder | 2025-08-26 12:35:03+00:00
I have been building web apps for long enough to remember when it was commonplace to SSH (or Telnet!) into the server and just vim index.php. As you can imagine, it was pretty easy to bring the site down like that, so we started doing what is now called Continuous Integration and Continuous Deployment: automated tests as a precondition for deployment.

Later, we adopted static analysis tools and code linters. This helped, but only so much could be done with the dynamically typed languages which were popular in the early internet.

As a self-taught programmer with no college degree, I started with dynamic languages: Perl, JavaScript, PHP, Ruby. I viewed the statically typed languages (and the programmers who could wield them) with reverence and awe. C, C++, Java, these were “real” languages that required big brains, and I should stay in my dynamically typed playpen. But as I matured, my understanding shifted: dynamic languages require hubris, require belief that you can keep an entire complicated codebase in your head with perfect recall. Statically typed languages, it turns out, invite humility.

With a static type system, each step in a program’s lifecycle can be a little contract with itself. Break that contract and the language will tell you exactly how and where. These languages can provide immediate feedback to the developer about a program’s correctness before it is even run. Bridging the gap between all of the existing dynamic code (and the developers who wrote it) and the statically typed utopia lies so-called gradual type systems such as TypeScript.

I like to use a meteorological analogy here: if JavaScript is “wintry mix,” then TypeScript lowers the temperature just enough to build a snowman.
by namibj | 2025-08-26 12:35:10+00:00
Arguably this is just a fairly poor way of thinking for quite many practical applications. Notably, memory access latency(/inverse throughput) is roughly between O(log(n)) [ https://news.ycombinator.com/item?id=12385472 ] and O(n^(1/2)) [ https://news.ycombinator.com/item?id=12383275 ](the latter aka O(sqrt(n))).

For example, in applications where the sorted form can be readily maintained, a decent B+-tree tends to massively outperform a hashmap as soon as you get the streamed/non-indexed side (of what's in a way a lookup join) to opportunistically batch items:

as when you sort your lookups you can use exponential forward search (compare at exponentially increasing distances from the cursor; once you're past the target, run binary search between this now upper bounds and the previous probe point as lower bound) in your index for each next key to reduce the per-lookup cost to be logarithmic in distance from the last-looked-up key (asymptotically always better than single isolated lookups; in practice tends to cap out at 2x the cost in pathological cases if you respect page locality of B+-tree structures). If you aren't ignorant of your LRU cache set during such, you'll get by with overall significantly fewer memory accesses to e.g. fresh DRAM pages (let alone NAND pages) than with a hashmap setup.

I've severely sped up a C++ program by replacing an `std::unordered_map` with a `std::vector` (iirc technically a pair of; for SoA purposes) by realizing that I could collect the items unordered; sort the structure; then use binary search instead of hashmap lookups. The function that I modified ran something like 3x faster as a result, and that's without anything like vectorization-friendly structures or such.
by lproven | 2025-08-26 12:35:43+00:00
> if someone wrote or pointed to a blog that has step by step instructions

You still have not answered. That is saddening.

Ah well. Here are 2 of my efforts.

This is my 1st try for my current employer. I still stand by most of it, though.

P1: https://www.theregister.com/Print/2010/06/21/reg_linux_guide...

P2: https://www.theregister.com/Print/2010/06/23/reg_linux_guide...

P3: https://www.theregister.com/Print/2010/06/24/reg_linux_guide...

My more recent take with some updated de-cruftifying steps:

https://www.theregister.com/2022/07/22/linux_nonapproved_lap...

I talked about choosing a distro here:

https://www.theregister.com/2022/05/31/the_cynics_guide_to_l...

Executive summary: use Linux Mint. The latest version, with the default Cinnamon desktop. Anyone who disagrees has an agenda and it's not ease of use, so can probably be ignored.