MurphyA/hacker-news huggingface dataset:
by aappleby | 2025-06-15 19:25:56+00:00
Minor note for those wanting to try this at home - these cheap dummy plugs only have a 256 byte eeprom, which is not enough for storing the various extended EDID blocks needed to specify high-refresh high-resolution configs. If you just want 1080p60 they're fine, but you won't be able to simulate a 4k240 monitor with them.

Also, some of them have the write-protect line pulled high (or low? don't remember) and you'll need a bit of surgery to actually write to them.
by kjksf | 2025-06-15 19:26:43+00:00
Don't worry about being nice, 15 years doing open source develops a thick skin.

But you didn't respond: which language should I use?

Go didn't exist when I started SumatraPDF.

And while I write pretty much everything else in Go and love the productivity, it wouldn't be a good fit.

A big reason people like Sumatra is that it's fast and small. 10 MB (of which majority are fonts embedded in the binary) and not 100MB+ of other apps.

Go's "hello world" is 10 MB.

Plus abysmal (on Windows) interop with C / C++ code.

And the reason SumatraPDF is unportable to mac / linux is not the language but the fact that I use all the Windows API I can for the UI.

Any cross-platform UI solution pretty much require using tens of megabytes of someone else's reimplementation of all the UI widgets (Qt, GTK, Flutter) or re-implementing a smaller subset of UI using less code.
by alephnerd | 2025-06-15 19:27:18+00:00
Because just about every country is greenwashing "Energy Security" as "Alternative Energy".

Countries that are supporting BEVs are those countries that have slip capacity to other fuels (renewable AND coal) and rare earth processing, just like those pushing for Hydrogen are those with alternative sourcing supply chains for biofuels and coal, those pushing for continued ONG usage have plenty of access to refining capacity, and those continuing to push for biofuels have the ethanol processing capacity.

The brutal reality is large countries can eat the financial and humanitarian cost of climate change easily, but those worst affected live in countries that cannot. There is a moral case to be made for multilateral climate engagement, but NatSec will always trump morality.
by josephcsible | 2025-06-15 19:28:06+00:00
That's the "cover story" use case. The real use case is so that passkeys created on Apple devices can only ever move to other Apple devices, and ditto for on Microsoft or Google devices, and the real point of attestation is so that they can force you to use theirs by cryptographically ensuring that you're not using open-source ones like KeePassXC.
by kmicinski | 2025-06-15 19:28:58+00:00
For materialization-heavy workloads (program analysis, etc.), we often find that optimized binary join plans (e.g., profile-optimized, hand-optimized, etc.) beat worst-case optimal plans due to the ability to get better scalability (less locking) without the need to use a trie-based representation. Within the space of worst-case optimal plans, there are still lots of choices: but a bad worst-case optimal plan can often beat a bad (randomly-chosen) binary plan. And of course (the whole point of this exercise), there are some queries where every binary plan explodes and you do need WCOJ. There's also some work on making more traditional binary joins robust (https://db.in.tum.de/people/sites/birler/papers/diamond.pdf), among other interesting work (https://arxiv.org/html/2502.15181v1). Effectively parallelizing WCOJs is still an open problem as far as I am aware (at least, this is what folks working on it tell me), but there are some exciting potential directions in tackling that that several folks are working on I believe.
by jiriknesl | 2025-06-15 19:30:17+00:00
Sorry for a super late answer.

The reason those studies are just correlational, is because in social sciences, you don't really have many other tools.

There are no axioms, deduction is impossible. So that part of the argument is not really all that much valid. You have no mechanism to make social sciences more exact.

--

Yes, there are also negative outcomes. But positive ones are stronger than the negative ones.

And also, some of your examples are not negative at all. The point of fear of damnation for example is the reason why ethics were enforceable for hundreds or thousands of years, when the state was significantly weaker, there weren't real courts, etc. Shame and guilt are important motivators. They developed in humans to make correction of antisocial behaviors possible if you don't want just violently punish people for everything. Having no shame and guilt is an attribute of psychopaths.
by harmmonica | 2025-06-15 19:30:42+00:00
Can it be both? Maybe semantics, but a lot of folks are taking Waymo because there's no human driver. Now "no human driver" may now be considered "premium," but saying that automation is not a significant factor doesn't quite ring true. As a single point of reference, the automation is a big part of what makes it attractive to me as a rider, both because there's no human driver (not super critical to my experience, but I prefer being in the car solo) and, more importantly, because of the driving behavior; it just feels like a better driver than most drivers on the road and that's due to the automation.
by Aurornis | 2025-06-15 19:31:04+00:00
> the same process works to modify the edid stored on a typical monitor

That would be a strange oversight by the hardware developers.

Typically they would buy pre-programmed EPPROMs and then place it on to a board where the write enable pin is never pulled high.

It would be strange to put an EEPROM into a product like a monitor and leave it writable, but I’ve seen stranger things on shipping hardware.
by duskwuff | 2025-06-15 19:31:08+00:00
> Maybe the new "containers" stuff in macOS 26 is going to be a good replacement for that?

It is not. The Containerization framework [1] is, in its own words, "a Swift package for running Linux containers on macOS" - it's more or less an Apple-branded Docker runtime. It's not applicable to macOS software.

[1]: https://github.com/apple/containerization
by TeMPOraL | 2025-06-15 19:31:23+00:00
> how do you think people survived and thrived for the other 248000 years?

In small tribes, where everyone knew everyone intimately because they lived together, and everything was managed by feels.

Things like rules, laws, money, banking, hierarchies, well-defined private vs. public ownership, are all things that came with scale, because interpersonal relationships fail to keep group cohesion once it reaches more than ~100 people.
by jit_hacker | 2025-06-15 19:31:34+00:00
I started using "The Cloud" in 2012 to build apps. At the time they called it Google App Engine. In the last 13 years a lot has changed and I've used all the main cloud offerings.

I've been a part of many outages that originated on our cloud provider. And what I've learned is the best practices rarely save you. We pretend multi-az, global DBs and fail overs protect us, but they don't. They make us more scale able, but not more resilient.
by Not4Hire | 2025-06-15 19:31:48+00:00
Maybe take the loss and find EU based employment? Thats how our plan for moving has developed, the loss is theoretical based on the idea that values might recover at some later date, but the value of the move in terms of stability and progress is also theory, so its a matter of comparing probabilities and acting accordingly. At least in our case, the likelihood of future appreciation of assets is significantly lower and getting worse versus increasing value for efforts in safer markets. FWIW
by giantg2 | 2025-06-15 19:32:27+00:00
"Why should a surgeon with 20 years of experience working in Mumbai be forced to become a resident alongside fresh-faced med school grads in the US?"

Perhaps you could have them in some accelerated program, but i think it makes a lot of sense to require doctors to train or prove themselves in the specific country/region using the standard practices, tools, etc customary there. I wouldn't want a US doctor operating on me in India since they're likely to make assumptions and recommendations for treatment that overlook local practices, resources, etc.
by kjksf | 2025-06-15 19:34:27+00:00
I don't know fancy C++ so I don't understand your point about perfect forwarding.

But I do know the code I write and you're wrong about performance of Func0 and Func1. Those are 2 machine words and all it takes to construct them or copy them is to set those 2 fields.

There's just no way to make it faster than that, both at runtime or at compile time.

The whole point of this implementation was giving up fancy features of std::function in exchange for code that is small, fast (both runtime and at compilation time) and one that I 100% understand in a way I'll never understand std::function.
by Someone | 2025-06-15 19:34:27+00:00
Reminds me of https://en.wikipedia.org/wiki/Insert_Knob_A_in_Hole_B:

“Plot summary

Two men on a remote space station receive all of their equipment from Earth unassembled, and must assemble it with only vague and confusing instructions ("composed by an idiot", one says); as a result, it often fails to work properly or at all. They eagerly await the arrival of a sophisticated positronic robot that will repair existing equipment and assemble new ones.

Upon its arrival, they discover that the robot has been shipped in 500 pieces with vague, confusing assembly instructions.”
by jiriknesl | 2025-06-15 19:34:29+00:00
If you look for examples of something good, or something bad, you will always find them.

I think, when we look at all social phenomenons, we need to look on the whole system. What is the role of religion? When religion is not there, what fits the hole? (Nowadays, there are many non-religion religions like consumerism, extreme-individualism, or global warming; all of those have their own prophets, the story of fight between good and evil, rituals, inherent sin and a way to 'buy out' out of that sin)
by mrbombastic | 2025-06-15 19:35:17+00:00
The more fine grained “only allow access to select photos” was introduced in iOS 14 and before that your only option was to ask for permissions for all photos. Not to say devs shouldn’t have converted by now but just to say it is possible they just implemented it that way at the time and never got around to updating rather than they really want the broader access.
Show HN: YoRecord – a free zero-login screen recorder that lives in the browser
by drabekj | 2025-06-15 19:36:14+00:00
Hey HN,

I’m a PM who just wants to show teammates where things break / give feedback without paying $15–$30/month for Loom, Tella, or Screen.studio. Most of the time all I need is: click record, talk, hand over a link.

So I built YoRecord.com for two simple reasons: 1. Save time—no installs, no Google-OAuth dance 2. Save money—recordings are free, HD, and downloadable in one click.

Open the site, pick a tab or your whole desktop, talk through the issue, hit Stop. Now you can already get a link for sharing, this will upload the recording to cloud. Or you can download as MP4 - in that case your data never leave your computer. If you want you can do some simple edits, like trimming or auto-subtitle generation.

That’s the whole app. Hope it scratches your itch the way it scratched mine. I’d love any feedback or bug reports.

Thanks!
by AlienRobot | 2025-06-15 19:36:24+00:00
In my phone "phone's app" I have the option to message on whatsapp next to each number, but when I click on it, whatsapp doesn't let me just message the number, it asks for permission to view all my contacts.

I feel like we have solved this a billion years ago with the tel: protocol. You don't need full access just to get passed 10 digits by another program?

It feels like permission models are stuck in engineering for low-level programs and nobody thinks about how actual people will use it, or perhaps their developers assume normal people are too stupid to manage fine-grained permissions for all the random apps they put in their PC's?

Maybe the real conspiracy is that the OS developers make the end-user security management terrible to make users afraid of running programs that weren't vetted either by their own proprietary app store where they get paid fees (or in Linux' case, by their distro). Forcing normal users to run a VM to be able to run untrusted apps is prohibitive and restricts the freedom of computer users, in my humble opinion.

As a programmer I dread writing any line of code that deletes files. I feel like there should be a low-level API that required me to say the file extension that my application is allowed to delete or something like that. It's still crazy to me that any single program can just delete all user files even though no user would ever grant it that ability. Until that is fixed the whole user permission model just feels like a big joke to me.
Show HN: Seastar – Build and dependency manager for C/C++ with Cargo's features
by AI314159 | 2025-06-15 19:36:32+00:00
Hi hackers!

I'm a self-taught solo teenage dev working on Seastar, a unified build system and dependency manager for C and C++. It is capable of compiling and linking projects, managing recursive dependencies and headers, and even has a template system -- your C++ library is one `seastar new mylib --lang c++ --lib` away! Also, everything is configured in TOML, because TOML is awesome.

C is one of my favorite languages, but I usually end up writing stuff in Rust because I love Cargo. Unlike C, Cargo handles the dependencies, linking, globbing, and so much more for you. So I wrote Seastar to give that function in C and C++.

What's planned? A package registry like crates.io, compatibility with CMake projects, commands to migrate, and so much more. If you have more ideas, please give them!

I am trying to reach 150 stars by the end of summer, and thus a star would be greatly appreciated! This project is still in development, and a star helps out a ton.
by Kaibeezy | 2025-06-15 19:37:01+00:00
OK, how about this one? Better source, but the other one had really interesting info.

I bought a stainless container and was gobsmacked to see it was microwaveable. If you don't like the one that was flagged, find a better article. I couldn't.

Flagged article: https://ssalloy-steel.com/blog/can-you-microwave-stainless-s...

Their other blog articles are interesting too: https://ssalloy-steel.com/blog/
by grep_it | 2025-06-15 19:38:18+00:00
These are all great projects! When I find myself getting burnt out in my job I find that writing a little toy project usually helps be get back some spark. Some projects that weren't listed that I've enjoyed:

- GUI based bot for a small video game

- raft consensus algorithm

- ray casting

- simple b-tree or lsmtree storage engine

I'll also second chip8 emulator as being a good quick fun one! It helps there are ROMs that help quickly validate your implementation also (https://github.com/Timendus/chip8-test-suite)
by quintes | 2025-06-15 19:39:43+00:00
I am a senior architect with plenty of years behind me, and I can say that as an IC some senior managers love me and some hate me. I will say there is a skew here and sometimes i think the dogs think it’s a turf war. I provide advice and guidance, advisory and technical leadership and it is interesting how sometimes these aren’t received well and the receiver will do what they want. Which makes it interesting because I give advice and then they don’t actually want it.

I’m also older and stand up for myself. This is not without its own troubles.

I am however thinking about what the next 20 years are gonna look like career, location and opportunity wise as I can see some challenges ahead where I live
by sethammons | 2025-06-15 19:40:11+00:00
We had a hell of a time attempting to roll out OTel for that kind of work. Our scale was also billions of requests per day.

We ended up taking tracing out of these jobs, and only using on requests that finish in short order, like UI web requests. For our longer jobs and fanout work, we started passing a metadata object around that appended timing data related that specific job and then at egress, would capture the timing metadata and flag abnormalities.
by WarOnPrivacy | 2025-06-15 19:40:39+00:00
> ... Allowing foreigners to join political protests in your country...

Protests are protected by the 1st Amendment. The constitution applies to everyone in US jurisdiction. Gov actions here are not appropriate or accepatble.

> ...obviously insane thing to advocate for.

Advocating for this individual's right to join a protest is not insane. Safeguarding constitutional rights is wise by default.
by tverbeure | 2025-06-15 19:40:51+00:00
I did a tear down of this Monoprice dongle: https://tomverbeure.github.io/2023/11/26/Monoprice-Blackbird....

It terminates as an HDCP 2.0 endpoint and converts to HDCP 1.4. You’d still need an HDCP 1.4 sink to make it work though.
by prmoustache | 2025-06-15 19:41:22+00:00
you can get a driver license with an automatic. But it just means you can only drive automatics.

It would have been a huge deal not being able to drive manuals 20y ago but hybrid and ev all being automatic it is not that much of a downside nowadays unless you want to buy old cars or borrow friend's car. Most renting fleets have autos available nowadays.
by echelon | 2025-06-15 19:42:20+00:00
> Mononoke is also my favorite film.

How are there that many of us? It really is a spectacular film.

> equally good both in sub and dub.

The dub has decent voice acting, but is plagued with changing the meaning of several scenes. Kaya is Ashitaka's little sister, not betrothed. They inserted fart jokes. Moro's voice is significantly different [1]. Also, Neil Gaiman was involved in the localization. I've never been a fan of his.

There was also a really great anecdote about Miyazaki winning out over Harvey Weinstein [2]. "No Cuts!"

Back when I was a kid, I bought Miramax's old Princess Mononoke marketing site [3]. I still have it floating around, I think.

[1] https://www.out.com/film/2022/8/24/meet-japanese-drag-queen-...

[2] https://www.youtube.com/shorts/f4BgE1kdTGQ

[3] http://www.princess-mononoke.com/ (not SSL, whoops!)
by karlperera | 2025-06-15 19:42:35+00:00
the article says you're more likely to be struck by lightning than for this gate to fail. The accuracy is a record-breaking 1-in-6.7 million operations.

But this is for a single-qubit gate. The article claims that the best two-qubit gates still have error rates of around 1-in-2000.

My question is: how much does this incredible single-qubit improvement change thinks, given that two-qubit gate errors are still a major problem? Does a breakthrough like this directly translate to improving two-qubit operations, or are they completely separate challenges?
by bob1029 | 2025-06-15 19:42:45+00:00
This is the best path in my experience. I typically store timestamps as 64-bit unix seconds in the same way.

On the application side, I use Dapper and DateTimeOffset to map these to a domain type with proper DateTime/UTC fields.

I've found that storing time as integers in the database has some interesting upsides. For example, range queries over the field tend to be faster.
by walterbell | 2025-06-15 19:42:57+00:00
For more Linux history, see the "Free Software Business" mailing list, https://web.archive.org/web/20001219073400/http://www.crynwr...

In 1999, RedHat acquired Cygnus for $674M, https://www.redhat.com/en/about/press-releases/press-cygnusa...
by gnabgib | 2025-06-15 19:43:18+00:00
Discussion at the time (311 points, 2023, 78 comments) https://news.ycombinator.com/item?id=38570677

Related: A New Jailbreak for John Deere Tractors Rides the Right-to-Repair Wave (219 points, 2022, 94 comments) https://news.ycombinator.com/item?id=32457590

Alabama farmer sues John Deere for ‘right to repair’ (392 points, 2022, 172 comments) https://news.ycombinator.com/item?id=30049315
by vidarh | 2025-06-15 19:44:24+00:00
Yes, love it. Rewritten large parts of my stack in it (editor, shell, font renderer, terminal, window manager, file manager)

I started from a background of heavy C++ use, including a lot of template metaprogramming. Convincing me to even give Ruby a chance took a lot, but once I'd tried it I abandoned C++ pretty much immediately, and don't miss it.
by neilv | 2025-06-15 19:44:49+00:00
> On Tuesday morning, August 8th, the public-affairs department of Citibank, Citicorp's chief subsidiary, put out the long-delayed press release. In language as bland as a loan officer's wardrobe, the three-paragraph document said unnamed "engineers who designed the building" had recommended that "certain of the connections in Citicorp Center's wind bracing system be strengthened through additional welding." The engineers, the press release added, "have assured us that there is no danger." When DeFord expanded on the handout in interviews, he portrayed the bank as a corporate citizen of exemplary caution -- "We wear both belts and suspenders here," he told a reporter for the News -- that had decided on the welds as soon as it learned of new data based on dynamic-wind tests conducted at the University of Western Ontario.

> There was some truth in all this. [...] At the time, LeMessurier viewed this piece of information as one more nail in the coffin of his career, but later, recognizing it as a blessing in disguise, he passed it on to Citicorp as the possible basis of a cover story for the press and for tenants in the building.

Seems questionable to lie to conceal that kind of catastrophic risk.

Knowing that the skyscraper would fail in some kinds of winds is information that could be used by rational people to help protect themselves and their businesses.

> Shortly before dawn on Friday, September 1st, weather services carried the news that everyone had been dreading—a major storm, Hurricane Ella, was off Cape Hatteras and heading for New York. At 6:30 a.m., an emergency-planning group convened at the command center in Robertson's office. "Nobody said, ‘We're probably going to press the panic button,' " LeMessurier recalls. "Nobody dared say that. But everybody was sweating blood."

> As the storm bore down on the city, the bank's representatives, DeFord and Dexter, asked LeMessurier for a report on the status of repairs. He told them that the most critical joints had already been fixed and that the building, with its tuned mass damper operating, could now withstand a two-hundred-year storm. It didn't have to, however. A few hours later, Hurricane Ella veered from its northwesterly course and began moving out to sea.

I see gambling people.

Presumably, some were gambling to avoid temporary public disorder in the city, or temporary disruption to general commerce there.

But it sounds like others of them wanted cover up a scandal in which they and the company were now implicated. And they were willing to gamble with other people's lives and businesses to do so.
by alephnerd | 2025-06-15 19:44:58+00:00
My hunch (based on how my grandfather would cultivate) was to provide a mount of fertilizer for added nitrogen along with the added irrigation aspects.

It's surprising ("I'm shocked, shocked, well not that shocked") how this style of farming somehow made it all the way to my ancestral village for cultivating these New World crops.

Gotta love proto-globalization.