MurphyA/hacker-news huggingface dataset:
by daveymoores | 2025-07-09 10:59:31+00:00
I've been working on a GitHub Action that checks producers and consumers of APIs and catches mismatches in CI across repositories. Rather than contract testing, this uses SWC to extract the routes from express apps/mounted routers to find producers, and extracts async call code which it sends to an LLM to find consumers. It then extracts request and response types from both sides and runs a minimal TypeScript compiler pass using just those types to surface mismatches between services.

You just need to add the GitHub Action to your workflow. Run it on main to analyse deployed code, and on PRs to catch divergence before merging. It’s fast, low-effort to integrate, and I’m hoping it’ll help catch bugs early across services.

I'm looking for some beta testers that have Express microservices. If this sounds interesting, let me know - happy to chat or give you an API key to try it when send them out on the 18th - https://www.carrick.tools.

Repo - https://github.com/daveymoores/carrick
by rijoja | 2025-07-09 11:00:16+00:00
being good at software design isn't about memorizing the specific details of a single language or subjects

languages are subject to change

hire people who are good at finding information

not someone who is good at blindly memorizing details of a specific instance of a language or system

someone who memorized every single detail of COBOL will be a worse coder than someone who spent time thinking about abstract thinking and problem solving

you'll want to double check everything anyway

this shows of a fundamental lack of insight into what it means to be a good developer

it's like someone who thinks they are smarter than everyone else because they spent thousands on hours on playing chess

this student who has memorized the full specification of HTML, CSS and Javascript will be useless if you ask them a question about lets say Erlang, and is easily replaced by a book
by bsenftner | 2025-07-09 11:00:51+00:00
Actually, it's a huge moat because the majority of the tech industry is like you, refusing to abandon your horseless carriage artistry for what is coming, and that is going to be natural language programming.

The issue is that the software industry as a whole has lost trust, larger society does not trust software to not have surveillance capitalistic aspects, and that is just the tip of the unethical nonsense that the software industry tried to pretend "there's nothing that can be done about it". Well, there is: abandonment of professionally published software because it cannot be trusted. Technologically, engineering-wise it will be a huge step back for the efficiency of software, but who the fuck cares when "efficient professional software" robs one blind?

The software industry is rapidly becoming an unethical shithole, and no uber productivity anything sells without trust.
by bookworm123 | 2025-07-09 11:01:09+00:00
When I was in middle school my english skills were terrible, I barely passed my english classes. At some point I was interested to build my own PC, so I did research and watched tons of videos of other people doing it, those were mainly in english and helped me a lot to learn the language. Just like you I did not use a translator, it was not necessary to understand the key messages of the videos. After some time my english skills improved substantially and in school I never had problems with english again
by lproven | 2025-07-09 11:01:16+00:00
They're both in Dublin, as well.

Clement Lefevbre is French, and Artyom and Kyrill Zorin are Ukrainian, although they grew up in Dublin. I met them and had lunch with them. They sound like it. :-)

The big difference is that Mint is free and runs on donations; the premium Zorin OS edition is paid-for and had paid support.

I can't see how the business models would combine. But, apart from that, I think you're right.

Both have an Xfce edition, and in Zorin's case, it's free.

Mint's flagship has a fork of GNOME 3 called Cinnamon. Zorin uses real upstream GNOME, but with pre-installed GNOME extensions to recreate a Windows-like desktop. Zorin sponsors Dash-to-Panel, and was involved in the original fork from Dash-to-Dock. It also uses Arc menu and a bunch of other extensions, and they're on Github, but they're not in the GNOME extensions store.

And there's also GNOME Flashback, which is a separate Windows-like desktop based on GNOME $Current tech, but maintained by the GNOME team.

There must be some way to combine these things and make a better experience with the combined efforts, but none of the three companies wants it.
by skrebbel | 2025-07-09 11:02:32+00:00
Why RAG at all?

We concatenated all our docs and tutorials into a text file, piped it all into the AI right along with the question, and the answers are pretty great. Cost was, last I checked, roughly 50c per question. Probably scales linearly with how much docs you have. This feels expensive but compared to a human writing an answer it's peanuts. Plus (assuming the customer can choose to use the AI or a human), it's great customer experience because the answer is there that much faster.

I feel like this is a no-brainer. Tbh with the context windows we have these days, I don't completely understand why RAG is a thing anymore for support tools.
by ttoinou | 2025-07-09 11:02:35+00:00
Is it the future path of any successful JIT / dynamic typed / scripting language to realize they needed all optimizations from compiled / statically typed / lower level languages ?

Would Ruby be as successful if they had all those complicated features right from the start ?

Or do all languages start from a nice simple clean slate tabula rasa to get developers hooked, until the language is enough famous to get well developed and starts to be similar to all others big programming languages ?
by sensanaty | 2025-07-09 11:02:36+00:00
Vercel's playbook with Next so far has been to make convoluted features that exist solely to pad out how much people spend on hosting costs. They also make sure that hosting it anywhere but Vercel comes with footguns, even though theoretically you can host your Next app anywhere you want (and it's gotten better recently solely because of backlash). See https://opennext.js.org/ for example.

They've been so successful with this in fact, that when you check the actual official React documentation, Next is the offering being advertised prominently [1] (I see they've actually restructured this a bit, a few months ago Next was literally the only thing mentioned here, I assume because of backlash they changed it to what it is now).

I have no doubts they'll do the same with Nuxt, demanding they implement features that solely exist to pad out hosting costs while providing next to no actual benefits to end users and devs, and I have no doubts they'll have the same shenanigans as they do with Next where hosting on anything other than Vercel gives you a broken experience. As an actual Extinguish tactic, I can even see them fully shuttering Nuxt in favor of Next. After all, they now have a monopoly over the most popular frontend meta frameworks (Next, Svelte/Kit, Nuxt, Astro) and paying people to maintain all of that is a lot more expensive than just having the 1 (that already has a huge market share to begin with). Thankfully for now it's MIT and fully OSS, so there's a ray of hope here that even if they pull some shenanigans like that, it'll continue living on independently again, but I don't trust anything that has been touched by VC money as far as I can throw it.

https://react.dev/learn/creating-a-react-app
by general1726 | 2025-07-09 11:02:36+00:00
Most people won't use that GUI, but will right click file or folder -> 7-Zip -> Add To ... and it will spit out a file without questions.

Granted Windows 11 has started doing the same for its zip and 7zip compressors.

Same trick goes for opening archives or executables (Installers) as archives.
by layer8 | 2025-07-09 11:02:55+00:00
Lone CR died with classic Mac OS over 20 years ago, I think we can ignore that. Lone LF is arguably a Unix-ism, everything else is/was using CRLF. Except that Unix text files are becoming ubiquitous, while existing protocols and formats, as well as Windows conventions, are stuck with CRLF. There’s really no good way out.
by jxjnskkzxxhx | 2025-07-09 11:03:21+00:00
TIL there actually is something called "no free lunch in search and optimization"[1].

See however that the theorem is quite weak. Requires eg the assumption that the search space has no structure. They even have the example of quadratic problems. It's mostly a useless saying, it appears to me.

[1] https://en.m.wikipedia.org/wiki/No_free_lunch_in_search_and_...
by jorvi | 2025-07-09 11:03:40+00:00
I wouldn't be too sure of the EU being a particular strong stalwart of public institutions vis a vis privacy.

They keep trying to hammer through anti-encryption or logging or scanning laws.

Big picture, there isn't a government in the world that is better for their citizens than the EU, but it's more like least-worst.

For example, free speech is a thing that the EU or its national governments love to encroach on and I am quite envious of the fiery defense it gets in the US.
by account42 | 2025-07-09 11:04:52+00:00
> you can see the expertise starting with how it capitalizes “raw” in its name (which is, of course, not at all an acronym, though like with “WASM” it is a common mistake).

Language pedantry has nothing to to with photographic image processing expertise and if anything this would be a sign that the developers care more about being "right" than what users want.
by vidarh | 2025-07-09 11:06:12+00:00
And keeping such datasets up to date is another matter entirely, because clearly a lot of companies rely datasets that were outdated before their company even existed.

A trivially simple example of just how messy this is when people try to constrain it is that it's nearly random whether or not a given carrier would insist on me giving an incorrect address for my previous place, seemingly because traditionally and prior to 1965 the address was in Surrey, England.

The "postcode area name" for my old house is Croydon, and Croydon has legally been in London since 1965, and was allocated it's own postcode area in 1966. "Surrey" hasn't been correct for addresses in Croydon since then.

But at least one delivery company insisted my old address was invalid unless I changed the town/postcode area to "Surrey", and refused to even attempt a delivery. Never mind they had my house number and postcode, which was sufficient to uniquely identify my house.
by bborud | 2025-07-09 11:06:13+00:00
> The interviewer would fail you because this interviewer > wants to feel superior and more powerful

Not necessarily. The interviewer may only be insecure, inexperienced or not terribly good at conducting interviews. Of course, to the candidate this doesn't make much of a difference.

I'm not so sure this interviewer actually feels superior. I think he feels insecure. And with good reason.
by nick__m | 2025-07-09 11:07:16+00:00
I don't understand the problem that thread solves that zigbee doesn't! The article says that thread doesn't require a hub but it require a border gateway that is almost indistinguishable from a hub. And as far as my home assistant setup is concerned, it doesn't require a hub, only a zigbee radio.

The only thing that seems to advantage thread is manufacturers support, but I don't see what's stopped them to regroup around zigbee.

Any one has clues on why Thread was needed when zigbee already existed?
by pjmlp | 2025-07-09 11:07:27+00:00
The only UNIXes that I consider ever caring for the whole experience as a full stack, for users and application developers alike, were Irix, Sun NeWS, Solaris, NeXTSTEP and its evolution as OS X.

Sure you can argue Linux distributions can also offer something similar, the problem is which flavours and for how long, which brings us to shipping the Linux kernel underneath Java and Web frameworks, as being the most successful approach thus far.
by vidyesh | 2025-07-09 11:08:13+00:00
Remix/React Router v7 was/is on a right path. I hope whatever they are planning with Remix with preact and using web standards will bring back the robust way of building websites.

I did not like how Remix to RR7 transition was made though, my project built using Remix was not an easy upgrade and I am rewriting a lot of it on RR7 now.
by leereeves | 2025-07-09 11:08:26+00:00
News media isn't separate from Hollywood. Disney owns ABC. Paramount Global owns CBS. CNN is owned by Warner Bros Discovery. NBC Universal owns NBC, MSNBC, and Telemundo; they also own Universal Pictures. All the major US news networks are owned by companies that also own Hollywood studios, except for Fox, which sold its studio to Disney recently.

Murdoch (owner of Fox, Sky, NY Post, and WSJ, among others) gets a lot of (negative) attention as a dissenting voice, but I'd hardly say he dominates news media.

And couldn't you find a better second example than someone who is only technically not Jewish, because his father is Jewish, not his mother? His father, grandfather, and great-grandfather (all Jewish) previously ran the NY Times.
Show HN: Do a chin-up, save a cat (mediapipe and threejs real-time browser game)
by getToTheChopin | 2025-07-09 11:08:46+00:00
I made a game that forces me to work out

Do a chin-up, save a cat!

Created with mediapipe AI vision (for body tracking) and threejs (for visuals and animations)

It runs in real-time in the browser

As next steps I want to:

* improve layout on mobile

* add a global scoreboard

* allow people to upload their own cat pictures to use in the game for extra motivation :)

please let me know of any feedback or ideas!

Live demo here (please help me save some cats, I am exhausted): https://www.funwithcomputervision.com/chinup/
by scrubs | 2025-07-09 11:09:35+00:00
I agree as I point out in other comments here - you said it with more detail.

AGI + robot is way beyond a mere change in product conception or implementation. It's beyond craftsmen v. modern forms of manufacturing we sometimes read about with guns.

It is a strain indeed to get from cars v.buggies to AGI. I dare say that without AGI as part and parcel to AI the internalization of AI must be necessarily quite different.
by donkeybeer | 2025-07-09 11:09:56+00:00
What is indeterminism here? I am not sure the question having or not having free will has any impact of how to make human machines. We are just as in the dark about the future, if we have free will or not. I am not certain of any physical problem in which free will or lack of it plays a role. I could be wrong. So its probably an interesting question but rather pointless.

Even with the everyday machines and programs we have, we can make it behave based on random input taken for example from physical noise. It doesn't suddenly make it a special or different type of machine.
by steveBK123 | 2025-07-09 11:10:13+00:00
Some of the threads I saw were pretty wild, how it unprompted suggested Hitler would be the best person to solve the problem and the solution was to round up your enemies, which tend to have certain surnames, and put them in camps.

So the LLM seems to have had a pretty good idea of what "do Hitler" was, and was trained to see this as a good thing.

For those "opposing woke" its interesting that one of the prominent members of the anti-woke movement accidentally?? trained their bot that opposite of woke is Hitler..

The opposite of a bad idea can be another bad idea.
by bastawhiz | 2025-07-09 11:10:27+00:00
> all optimizations from compiled / statically typed / lower level languages

Mutable strings are totally possible (and not even especially hard) in compiled, statically typed, and lower-level languages. They're just not especially performant, and are sometimes a footgun.

> all those complicated features right from the start

Arguably, mutable strings are the more complicated feature. Removing them by default simplifies the language, or at least forces you to go out of your way to find the complexity.
by Const-me | 2025-07-09 11:10:31+00:00
The NT kernel dates back to 1993. Computers didn’t exceed 64 logical processors per system until around 2014. And doing it back then required a ridiculously expensive server with 8 Intel CPUs.

The technical decision Microsoft made initially worked well for over two decades. I don’t think it was lame; I believe it was a solid choice back then.
by chrismorgan | 2025-07-09 11:10:56+00:00
Why do you say “deceptively hard” instead of “fundamentally impossible”? You can increase the probability it’ll give good answers, but you can never guarantee it. It’s then a question of what degree of wrongness is acceptable, and how you signal that. In this specific case, what it said sounds to me (as a Shopify non-user) entirely reasonable, it’s just wrong in a subtle but rather crucial way, which is also mildly tricky to test.
by roenxi | 2025-07-09 11:11:25+00:00
Are we still talking about click-to-cancel here? There aren't 'other sides' in any meaningful sense on this sort of administrative decision. There is a solid consensus that people shouldn't have to pay for subscriptions they don't want and a couple of broadly inconsequential points to debate on how to implement it.

This is exactly the sort of situation where just following all the rules and procedures is fine and it doesn't, within a pretty broad range of outcomes, who gets final say.
by TekMol | 2025-07-09 11:12:02+00:00
Votes are crucial. HN goes to great lengths to prevent votes that do not stem from real user intent.

See this post for example:

https://news.ycombinator.com/item?id=22761897

Quotes:

"Voting ring detection has been one of HN's priorities for over 12 years"

"I've personally spent hundreds of hours working on this"
by ansc | 2025-07-09 11:12:14+00:00
I doubt it to be honest. It's so distinct and non-existing.

>With Astro you're not locked into a single way of doing things. Need React for a complex form? Chuck it in. Prefer Vue for data visualisation? Go for it. Want to keep most things as simple Astro components? Perfect.

>What struck me most after migrating several projects is how Astro makes the right thing the easy thing. Want a fast site? That's the default. Want to add interactivity? Easy, but only where you need it. Want to use your favourite framework? Go ahead, Astro won't judge.

>Developer experience that actually delivers

I am downvoted so I guess I'm wrong. It's just bland and form in a way ChatGPT usually outputs. Sorry to the author if I'm wrong.
by clarionbell | 2025-07-09 11:12:34+00:00
No they don't. Why would they? Most of them are using a single inference engine, most likely developed inhouse. Or they go for something like vLLM, but llama.cpp especially is under their radar.

The reason is simple. There isn't much money in it. llama.cpp is free and targets lower end of the hardware spectrum. Corporations will run something else, or even more likely, offload the task to contractor.
by yapyap | 2025-07-09 11:12:43+00:00
I’ve been pretty disappointed with the seemingly small payouts some of the bug bounties I’ve seen submitted were / are getting.

It’s like the companies “forgot” [1] what happens when you don’t have a bug bounty program or what happens when people step to others with their bugs.

1. of course companies didnt forget, this is the benefit of the doubt I like to give but big companies like this aren’t stupid. Big companies are ruled by the business savvy but less technical and those see things like the bug bounty program as not important, until they get shook awake by a huge breach or anything of the sort that impacts the stock price ( their salary ) I doubt they will care much.
by idiotsecant | 2025-07-09 11:13:17+00:00
I think the century of American dominance is probably over. Maybe we can fight our way back to having a functional government, maybe not. I think either way our position in the world order is already diminished and will steadily diminish further. I can see a future where America is a strange backwater, reliant on resource extraction and rules over by a grubby and constantly shifting mafia state.
by aa-jv | 2025-07-09 11:13:27+00:00
I have a web server (not public) that runs on my M5Stack device ..

https://m5stack.com

And my magicShifter also serves web pages to anyone in my environment ..

https://magicshifter.net/

But I guess the standard is 'on the public web', akin to most publicly accessible web surfers .. for that, I'd be a bit uncomfortable exposing my m5stack/magicshifter to the web, for the time being ..
by rsynnott | 2025-07-09 11:14:02+00:00
The UK's nearest neighbour Ireland did. Looking between Britain and Ireland now vs then, you'd definitely want Ireland's rate of growth (ignore GDP, which is massively distorted in Ireland, but look at wage growth) and not the UK's (though realistically the Euro was not a _huge_ factor there either way).

In fact, without the Euro/EMU, Ireland's currency would likely still be tied to Sterling, as it was until 1980. This would be, ah, _not great_, especially at the moment. Clearly, at least in this case, the euro benefited a small country (in particular Ireland was spared the various fiscal shocks that the UK suffered as a result of Brexit and Truss).
by xyst | 2025-07-09 11:14:21+00:00
Pretty cool and nice find. I already have a "malicious" Chart.yaml in mind for this attack just based on the description of vuln.

Fortunately, my dotfiles are managed with nix so trying to write to those files on a read only partition will raise many red flags for me.

I don't use bash, but maybe should write a dummy .bashrc (and other start up script equivalents for fish) as some sort of canary.

If I happen to overlook the malicious shell script crafted in a dependency on helm chart, I would get nasty errors that a process was trying to write to a read only file.
by sokoloff | 2025-07-09 11:14:49+00:00
The FTC was not given unlimited rule-making power by Congress, and has to live within the power granted to them.

Issuing an NPRM (Notice of Proposed Rulemaking) and conducting a regulatory analysis for certain rules are examples of such limits. The FTC did not follow the second (as was required) in this case.

Whether I happen to agree with the change they enacted (I do) doesn’t change the fact that I want my government agencies to follow the rules laid out for them. Because as surely as the sun rises in the east, sooner or later they’ll propose a rule I don’t agree with and I want there to be a lawful process and framework in place then, and therefore also now.
by pradn | 2025-07-09 11:15:51+00:00
I think you're right. APIs have a lot of aspects to them, so describing them is hard. API users need to know typical latency bounds, which error codes may be retried, whether an action is atomic or idempotent. HATEOAS gets you none of these things.

So fully implementing a perfect version of REST is usually not necessary for most types of problems users actually encounter.

What REST has given us is an industry-wide lingua franca. At the basic level, it's a basic understanding of how to map nouns/verbs to HTTP verbs and URLs. Users get to use the basic HTTP response codes. There's still a ton of design and subtlety to all this. Do you really get to do things that are technically allowed, but might break at a typical load balancer (returning bodies with certain error codes)? Is your returning 500 retriable in all cases, with what preferred backoff behavior?
by bmn__ | 2025-07-09 11:15:57+00:00
Have you even dogfooded your quiz once before publishing to the Web?

> JS methods to select an element

> YOUR ANSWER

> getMethod: "getQuerySelectorAll"

> EXAMPLE CORRECT ANSWER

> const button = document.example('example');

TypeError: document.example is not a function

----

> Create an HTML form with an input field and submit button:

> YOUR ANSWER

> <input type="submit">Submit</input>

> EXAMPLE CORRECT ANSWER

> <button type="submit">Submit</button>

Not incorrect answer assessed as incorrect.