MurphyA/hacker-news huggingface dataset:
by kldg | 2025-06-27 10:16:28+00:00
If you have the money, there's nothing wrong with quitting and doing your own thing for a while. Alternately, working for a fundamentally different kind of company can be rewarding. I found working at a small business (a sales company where tech was an afterthought) to be delightful and weird; everything was non-standard and many roles were just not hired for, but everyone's door was open and there's no bureaucracy, so whatever I wanted to be would be in my domain. The workload was low, so I made my own work and got into Facilities work, learned how to check the fire extinguishers, smoke detectors, and elevators. -And you know what? I opened up some of the smoke detectors and detected prior smoke in them; visual charring and melted plastic. The smoke detectors had been recalled for catching fire. I filed for replacement costs from the company, and now our smoke detectors won't burn the building down, which I think's pretty neat.
by cb321 | 2025-06-27 10:16:58+00:00
While long-def's might be nice, you can even back in ANSI C 89 get rid of the backslash pattern (or need to cc -E and run through GNU indent/whatever) by "flipping the script" and defining whole files "parameterized" by their macro environment like https://github.com/c-blake/bst or https://github.com/glouw/ctl/

Add a namespacing macro and you have a whole generics system, unlike that in TFA.

So, it might add more value to have the C std add an `#include "file.c" name1=val1 name2=val2` preprocessor syntax where name1, name2 would be on a "stack" and be popped after processing the file. This would let you do types/functions/whatever "generic modules" with manual instantiation which kind of fits with C (manual management of memory, bounds checking, etc.) but preprocessor-assisted "macro scoping" for nested generics. Perhaps an idea to play with in your slimcc fork?
by Sesse__ | 2025-06-27 10:18:10+00:00
> It's interesting that systemd is mentioned there, because a socket unit would have had systemd doing the privileged opening of the sockets with low-numbered UDP ports, and the dropping of privileges, before starting up Kea.

Can systemd give you the raw sockets you need to answer DHCP on a local network?

One rather annoying thing that ISC dhcpd couldn't do was reload its config file without a full restart (and I believe Kea can). That's pretty hard to do if you insist on someone else opening sockets for you, although you could of course demand a restart in this case.

TBH my problem (well, one of my problems) with Kea is more that it's _too_ many different daemons that you have to configure separately and get to talk to each other, and it's not immediately obvious if any given configuration is secure or not (e.g., can others open a socket of the same name?).
by pickledoyster | 2025-06-27 10:18:49+00:00
So many quotable parts in the post, a must read for anyone, not just those working on software.

Internalizing the plight of someone with different needs and life circumstances (and this is not just about different abilities, such as sight) is how you actually support, work on, and provide more freedom to others. Took me a while to check my own privilege, but I believe I'm a better person for it.
by JdeBP | 2025-06-27 10:18:52+00:00
I'm not seeing anything new that prompted The Grauniad to report this, this week in particular. Maybe it is because it's news to Anglophones.

But Jakob Engel-Schmidt has been talking about this in the Danish news since April/May, back when two opposing political parties created a computer-generated fake video depicting Mette Frederiksen saying things that would have outraged voters.
by ihiep | 2025-06-27 10:19:08+00:00
Update: Just released v0.3.1 with Terminal.app compatibility fixed! The tool now auto-detects your terminal and adapts gracefully. You'll see a beautiful progressive breathing animation that flows like: Inhale: · → ○ → ●○○ → ●●●● (building up) Exhale: ●●●● → ●○○ → ○ → · (releasing down) Try the latest version - it should breathe beautifully on Terminal.app now. Thanks for helping make mindfulness accessible to everyone!
by rsynnott | 2025-06-27 10:20:19+00:00
> I assumed, like President said, that it will be China, not me, who pays the tariffs. I was very much wrong.

... Wait, why did you assume that? Like, you looked at, in one corner, essentially every economist in the world, and on the other corner ol' Minihands, with his background in failing to sell steak and run casinos, and thought "yeah, this guy's probably right"?

I'm genuinely kind of fascinated; was this a kind of active "expertise is bad, people who don't know anything are more likely to be right about things than experts in those things" thing?

> and even with 24% VAT (local tax) it is way cheaper to produce your merch and then send it to USA

If you are paying VAT on product which you are then exporting to the US, then you need to urgently talk to an accountant. You should likely not be paying this, and depending on the country you may have a limited window to reclaim such overpayment.
by andyto1224 | 2025-06-27 10:21:00+00:00
Ros Games offers over 10,000 free online games playable instantly in your browser, no downloads required. From action-packed titles like Stickman Shooter Bros to puzzles like Mahjong Pet Quest, it covers genres like casual, racing, simulation, and more. The platform supports both PC and mobile, with a clean interface and new games added regularly. Curious if anyone’s tried building or scaling a browser-based gaming platform like this—what tech stack would you use to handle such a diverse, high-volume game library?
by thephyber | 2025-06-27 10:21:14+00:00
In fact UK car companies WERE soot covered factories (eg Jaguar and Land Rover) as recently as the 1990s (when Ford bought them and completely upgraded their production lines).

The UK going alone on military equipment:

- loses out on comparative advantages - needs to make redundant capital outlays - loses allied buffer countries - can’t maintain their own nuclear weapons (the uranium wasn’t sourced from Wales, ya know…) - needs to spend MUCH more than the average NATO member country (military spending as a percentage of GDP) - it’s not like the UK government budgets are overflowing with surplus to spend.
by remus | 2025-06-27 10:21:33+00:00
Depending on their approach this might not be as bad as it seems.

Some large percentage of physical books really aren't a precious commodity. They may be precious to you as an individual but chances are no-one else is going to be that bothered. For example, a second hand book wholesaler I just found with a quick google will sell you pallets of books for 25c/book which would only go down as your purchase size went up. If they don't sell then it seems pretty likely those books are going to get pulped anyway.

If they were buying the books new and then essentially pulping them after scanning that does feel wasteful, but if they were buying in bulk from a second hand wholesaler then Im kinda glad the content of those books is going into something useful before they get pulped.
by Arathorn | 2025-06-27 10:22:18+00:00
which features are you actually missing? the only gap now is threads (in beta), spaces (in final design) and widgets (which were very very rarely used). the whole "i can't use X until it has precisely the same featureset as Y" feels a bit spurious, especially as you can run each app side by side and revert to the old one if you really need a given feature.
by latexr | 2025-06-27 10:22:43+00:00
> the same reason approximately no one in the West repairs their clothes or appliances; they just throw the damaged thing away and buy a new one.

And how is that turning out for us? We have a climate crisis which is already causing immense destruction and deaths and will only get worse.

I’m not sure you could’ve picked a worse argument, you’re refuting your own point.
by bambax | 2025-06-27 10:26:01+00:00
I made many transformation pipelines with XSLT back in the days, and even a validation engine using Schematron; it was one of the most pleasant experience I had.

It never broke, ever.

It could have bugs, of course! -- but only "programmer bugs" (behavior coded in a certain way that should have been coded in another); it never suddenly stopped working for no reason like everything does nowadays.
by yorwba | 2025-06-27 10:28:01+00:00
If you have the correct furigana, you could even detect when the TTS model picked the wrong reading and regenerate.

But how do you know the furigana are correct? Unless you start out fully human-annotated text, you need some automated procedure to add furigana, which pushes the problem from "TTS AI picked the wrong reading" to "furigana AI picked the wrong reading."
Ask HN:How do you audit your team's 'black box' workflows?
by kirthi35 | 2025-06-27 10:28:09+00:00
Hi HN,

I'm obsessed with a problem in many high-stakes industries (insurance, fintech, logistics): the core operational work is a complete 'black box'.

Take insurance claims as a prime example. Right now, managers can see the outcome (a claim was paid $5,000), but they have zero visibility into how the adjuster arrived at that number. This lack of a "flight recorder" creates massive, tangible problems:

Financial Leaks: Small, repeated errors in how adjusters apply policy rules inside the software can lead to millions in overpayments.

Efficiency Gaps: The best adjusters might be 2x faster than average, but it's impossible to capture their specific techniques to train the rest of the team.

Compliance Nightmares: During an audit, you can't prove the standard operating procedure was followed click-by-click.

This seems like a huge, unsolved operational risk that is being managed mostly by spreadsheets and hope.

So, for managers in operations, compliance, or QA:

How do you get visibility into these critical digital workflows right now?

When a costly error is found, how do you perform a post-mortem to prevent it from happening again?

Are you just resigned to managing by the final numbers and not knowing how the work actually gets done?

I'd be fascinated to hear any stories or frustrations.
Show HN: Oh-my-logo – Generate colorful ASCII-gradient logos with one command
by shinshin86 | 2025-06-27 10:29:24+00:00
Hi HN,

I just open-sourced oh-my-logo, a tiny Node.js CLI that turns any text into a vibrant, gradient-filled ASCII logo (inspired by the banners you see in Gemini CLI and Claude Code blocks).

Demo Image: https://raw.githubusercontent.com/shinshin86/oh-my-logo/main... Demo GIF: https://raw.githubusercontent.com/shinshin86/oh-my-logo/refs...

Quick try (no install): npx oh-my-logo "HELLO HN" fire --filled

Key points - Two rendering modes: outlined ASCII or filled block characters - 13 color palettes (sunset, matrix, etc.) and custom schemes - Vertical, horizontal, and diagonal gradients - Multi-line support - Zero dependencies; runs instantly with npx - Cross-platform (macOS, Linux, Windows/PowerShell)

I’d love your feedback: - Does it render correctly in your shell/OS? - Extra features or fonts you’d find useful? - Any cool use-cases you can think of?

Thanks for checking it out!
by Someone | 2025-06-27 10:29:57+00:00
They also do not make use of the fact that matrix multiplication is associative, so M⁴ = M² × M², M⁸ = M⁴ × M⁴, etc. That means one can compute F32 using 5 matrix multiplications. This uses 31.

It wouldn’t surprise me at all if doing those 5 matrix multiplications on a CPU were faster than doing 31 on the GPU.

Also, FTA: “To calculate extremly large fibonacci numbers we need to avoid integer overflow. A simple way to avoid that is to just take everything modulo a given number in the matrix multiplication“

⇒ This also is NOT calculating the Fibonacci numbers, copping out when things get difficult on a GPU.

If you want to compute Fn mod some constant for 1 ≤ n ≤ some large constant fast on a GPU, I think I would compute quite a few of the intermediate matrices using the fast way, then spin up some ‘threads’ to compute the intermediate versions by copying those with the ‘standard’ matrix.
by WesolyKubeczek | 2025-06-27 10:30:05+00:00
The truth is, big tech corporations could probably skimp on accessibility as well, but they want their government contracts very much, and software used in governments, as far as at least the proverbial first world is concerned, has an accessibility bar it must meet. And it just so happens that these corporations have large chunks of money to invest in that.

If requirements for being in such lucrative markets loosen up, I'm willing to bet accessibility in Apple/Microsoft offerings will get defunded and rot away.

Of course you can question Red Hat and Canonical for not doing enough in the space, but truth be told, the grassroot open source efforts to make everything in open source more accessible amount to afterthoughts at best. How many GUI toolkit have appeared recently? How many of them are accessible? How many terminal applications gain TrueColor support and draw fancy stuff in the terminal? How many of them are of any use to someone who can't see your efforts in repurposing Unicode symbols to draw pictures in the console?
by mattmanser | 2025-06-27 10:30:39+00:00
I wouldn't say it had widespread adoption. We used XSLT in my day job at the time to do client-side updates, even had a special SQL API that turned sql queries into XML automatically by naming the columns with a special syntax and it was virtually unheard of (2007?).

It was actually great when you got it, but the learning curve was so steep many developers couldn't use it effectively to begin with. For complex pages only certain developers could make changes or fix the bugs. Precisely because it was functional and most developers at the time really only understood imperative.

In fact, I remember the DailyWTF had a WTF about using XSLT as client-side transforms a few years later:

https://thedailywtf.com/articles/Sketchy-Skecherscom

But doing something like that was in fact so much faster than doing it in js, and when you groked it (deliberate throwback), it was so much simpler. I actually wrote a pivot table control in XSLT which completely blew away the performance of the pre-v8 javascript one. Pre-V8 javascript was so slow most developers wouldn't believe you now. A 10,000 iteration loop of even basic operations was often enough to cause IE6 to show a pop-up saying the page wasn't responding.

The pivot table in javascript would crash with just a few hundred lines of data, in XSLT it was instant with even 10,000s.

A really interesting use of XSLT on the web at the time was the WoW character viewer. You could view (and share) your character on Blizzard's website, with all their gear, skills, etc. It was blazingly fast for the time and it was all written in XSLT.
by lrvick | 2025-06-27 10:32:18+00:00
In the decade prior to me abandoning cell phones entirely I used E2EE email frequently on Android via OpenKeychain and K-9Mail with a Yubikey.

I did not want to be locked into Google or Apple ecosystems and the ship on a truly FOSS Android device has long sailed, so I ported my number to a VoIP provider and only use PCs now.

To your point -any- E2EE on proprietary platforms like iOS or Android cannot be trusted for high risk comms, so at my infosec job we exclusively use Matrix from QubesOS workstations.

But yes email is normally the go-to fallback except with Gen Z who almost universally refuse to use it having grown up exclusively using corpotech.
by cometapi | 2025-06-27 10:33:14+00:00
Starting with Gemini 2.5 Flash-Lite via CometAPI is an exciting opportunity to harness one of the most cost-efficient, low-latency generative AI models available today. This guide combines the latest announcements from Google DeepMind, detailed specifications from the Vertex AI documentation, and practical integration steps using CometAPI to help you get up and running quickly and effectively.
by bambax | 2025-06-27 10:33:35+00:00
> i have a static website with a menu. keeping the menu synchronized over the half dozen pages is a pain

You can totally do that with PHP? It can find all the pages, generate the menu, transform markdown to html for the current page, all on the fly in one go, and it feels instantaneous. If you experience some level of traffic you can put a CDN in front but usually it's not even necessary.
by Toorkit | 2025-06-27 10:34:39+00:00
Linux is just a base that people stack other software on top of. Audio crash? Pulse or Pipe wire?

Then the dozens of desktop environments, each doing things differently, split between X11 and Wayland.

I feel like blind devs should get together and make a distro that, out of the box, has as many accessibility features as possible, because it seems a lost cause to wait for some other distro to pick the right combination of tools.
by JimDabell | 2025-06-27 10:37:00+00:00
Web components were such a big disappointment. 200% the complexity for 20% of the functionality. Everything coming out of that area seems to be hideously over-engineered while failing to solve the problems people wanted them to.

My feeling is that they were focused on designing something that is aimed at building form controls, not the kinds of components web developers use in practice. They are designed to make browser vendors’ lives easier, not web developers. That’s often excused with “web components excel at ‘leaf‘ components” when what is actually meant is “web components are bad at everything else”.

I would expect an actually good solution that fits in with the web’s architecture to come from the direction of HTMX, not web components.

> Safari argued that there should be a declarative ways for this 15 years ago

True, but they were equally able to propose and deploy alternative solutions and mostly just went along with web components (with exceptions of course).
by tomaytotomato | 2025-06-27 10:37:19+00:00
and that is wrong morally/politically/national pride; we should re-industrialize and pronto.

China, Russia (gotten lean and mean from Ukraine war) are going to outpace us.

You seem to be "ok" with this, but I think that is apathy and must be corrected for our national standing, otherwise we will be laughed at and outcompeted.

What good is designing a processor if we can make the silicon itself?
by smoe | 2025-06-27 10:37:57+00:00
In Switzerland, where people have the legal right to control whether and how their image may be photographed and published, exemptions are made if the image/person is of public interest. This is decided on a case-by-case basis, so the news org has to be willing to argue this in court.

Let's say, as an example, a married politician having an affair with someone. Generally, news sites will publish photos with the face of the politician visible but would blur the other person. The former is clearly a person of public interest, the latter is not. Even if it's a photo taken in a public space.
by sneak | 2025-06-27 10:38:12+00:00
Nah. Apple’s commitment to pervasive accessibility features has been around for so long and has had so much investment into it it is clear it is in their DNA.

It’s probably the nicest thing about the company, and it stands out even more in the last ten or twenty years as the company becomes more and more scummy and despicable. It’s deep down and was established back when it was run by humans with deep empathy.
by thenoblesunfish | 2025-06-27 10:40:11+00:00
Let's all go to San Marino!

I think the proximal answers for "why" are in the World Health Report, which tells you why people die.https://www.who.int/data/gho/publications/world-health-stati...

Some of those you'd assume are to do with health care in general, but some (alcohol and tobacco consumption) are more like direct causes in and of themselves.
by keiferski | 2025-06-27 10:40:11+00:00
Any analysis like this that doesn’t factor in the East needing to catch up after 50 years of communist policies is misleading. I would be curious to see the improvement rate in say, Poland and Croatia over the last twenty years factored in and projected into the next two decades. Especially if we include economic success; Poland for example is probably going to be more economically successful than places like Portugal, if it isn’t already.
by rsynnott | 2025-06-27 10:41:15+00:00
This was somewhat common with Brexit; small business owners promoting Brexit, then suffering or going out of business when it actually happened. It's even less excusable in this case, though; the reasons that a hard-but-not-no-deal Brexit (which is what the final result was) are bad for businesses, and particularly small businesses, are often at least somewhat subtle and non-obvious (to the extent that _new_ problems which economists hadn't really predicted are still being discovered), whereas it's hard to imagine something simpler than "making stuff more expensive to buy is bad for people who buy stuff".
by codeulike | 2025-06-27 10:41:42+00:00
Ok. Perhaps 'namespace the query' wasnt quite the right way of explaining it. All I'm saying is, whenever I've used xpath, instead of it looking nice like

/*bookstore/*book/*title

its been some godawful mess like

/*[name()='bookstore']/*[name()='book']/*[name()='title']

... I guess because they couldn't bear to have it just match on tags as they are in the file and it had to be tethered to some namespace stuff that most people dont bother with. A lot of XML is ad-hoc without a namespace defined anywhere

Its like

Me: Hello Xpath, heres an XML document, please find all the bookstore/book/title tags

Xpath: *gasps* Sir, I couldn't possibly look for those tags unless you tell me which namespace we are in. Are you some sort of deviant?

Me: oh ffs *googles xpath name() syntax*
by diggan | 2025-06-27 10:42:20+00:00
> I get the feeling that Universal Healthcare (medicare for all) would probably level the difference?

Sometimes my wife convince me to try American candy/foods that we buy in these "foreign foods stores" locally, because she grew up eating some of them in her country.

And every time we check the contents by reading the nutrition-labels or checking with apps like Yuka, it turns out that the stuff Americans put in the mouth and stomach are filled with stuff that is outright illegal to put in foods here in Europe.

So if I were to guess, it would be related to what is legal to put in foods/consumables.
by dhx | 2025-06-27 10:44:08+00:00
How do these changes make sense being included into existing copyright law, as opposed to dedicated personality rights law? What is the original and creative work being copied? Is the idea that someone simply existing and doing mundane everyday activities such as walking their dog down around the park is performing an original and creative work as themselves on a daily basis with a likeness that others cannot derive their own performance of until 70 years after the person's death? If they increase the original and creative nature of their performance by wearing sunglasses with one rectangular pink frame with green lens, and a circular blue frame with yellow lens, and put on a clown wig, does this make their performance of walking a dog around the park creative enough to be copyrightable?

Is a Donald Trump impersonator (example[1]) copying the creative performance of Donald Trump (president)? What if someone did intend to create deepfakes of Donald Trump (president) and instead of using an image or audio of Donald Trump (president) as source material, use the Donald Trump impersonator as the source material?

[1] https://www.youtube.com/watch?v=S2tWDJmdXH8