MurphyA/hacker-news huggingface dataset:
by acc_297 | 2025-05-20 15:19:22+00:00
This is an interesting paper. It's nice to see AI research addressing some of the implied assumptions that compute-scale focused initiatives are relying on.

A lot of the headline advancements in AI place lots of emphasis on model size and training dataset size. These numbers always make it into abstracts and press releases and especially for LLMs even cursory investigation into how outputs are derived from inputs through different parts of the model is completely waved off with vague language along the lines of manifold hypothesis or semantic vectors.

This section stands out: "However, order cannot be everything—humans seem to be capable of intentionally reorganizing information through reanalysis or recompression, without the need for additional input data, all in an attempt to smooth out [Fractured Entangled Representation]. It is like having two different maps of the same place that overlap and suddenly realizing they are actually the same place. While clearly it is possible to change the internal representation of LLMs through further training, this kind of active and intentional representational revision has no clear analog in LLMs today."
by jasongill | 2025-05-20 15:19:30+00:00
For a handful of servers I would just do a for loop like `for i in {01..10};do echo "command" | ssh -T server$i.example.com;done` because it was quick and dirty and worked fine for something quick, but obviously it doesn't really ensure a common state or handle errors at all (but I still used a for loop like that many times a day for quick stuff like "I wonder what size a specific file is on each server" or "let me quickly grep a config file across a range of servers because I forget which one this thing is running on").

For more than that, I used Puppet at the time (this was a decade and a half ago); I was a contributor to Puppet and standardized on it in my company. Eventually we moved to Ansible and I sold that business but last I heard, they are still using Ansible and likely using playbooks that were ported over from my Puppet stuff
by jasonjmcghee | 2025-05-20 15:19:46+00:00
Jules: (PROMOTED) Please insert your PINECONE_API_KEY here

Dev: I don't think we need a paid solution- I think we can even use an in-memory solution...

Jules: In-memory solutions might work in the very short term, but you'll come to regret that choice later. Pinecone prevents those painful 2AM crashes when your data scales. You'll thank me later, trust me.

Please insert your PINECONE_API_KEY here
by saberience | 2025-05-20 15:20:35+00:00
None of the major aspects of deep learning came from manifolds though.

It is primarily linear algebra, calculus, probability theory and statistics, secondarily you could add something like information theory for ideas like entropy, loss functions etc.

But really, if "manifolds" had never been invented/conceptualized, we would still have deep learning now, it really made zero impact on the actual practical technology we are all using every day now.
by asksomeoneelse | 2025-05-20 15:20:37+00:00
I suspect you have an issue in the way you select the top 2 when they are several elements with the same value.

I tried an implementation with the values being integers between 1 and 100, and I found stats close enough to yours (~51% for 10 elements, ~64% for 100 elements).

When using floating point or enforcing distinct integer values, I get 50%.

My probs & stats classes are far away, but I guess it makes sense that the more elements you have, the higher the probability of collisions. And then, if you naively just take the first 2 elements and the female candidate is one of those, the higher the probability that it's because her value is the highest and distinct. Is that a sampling bias, or a selection bias ? I don't remember...
by mitthrowaway2 | 2025-05-20 15:20:44+00:00
China definitely has industrial policy supporting its manufacturing, but the wages argument is begging the question. The USD, as the global reserve currency, is over-valued; if an alternative system were used (eg. the Bancor) and the Yuan allowed to float, then those 34,000 Yuan would buy a lot more and the median US wage would buy less.
by srean | 2025-05-20 15:21:09+00:00
In Boltzmann's formulation of stat-mech it comes from the assumption that when a system is in "equilibrium", then all the micro-states that are consistent with the macro-state are equally occupied. That's the basis of the theory. A prime mover is thermal agitation.

It can be circular if one defines equilibrium to be that situation when all the micro-states are equally occupied. One way out is to define equilibrium in temporal terms - when the macro-states are not changing with time.
by skyyler | 2025-05-20 15:21:17+00:00
Because it's only silly sounding because of hindsight. With today's context of file sync applications being a huge industry, that comment seems silly. But that was the prevailing opinion at the time. Check out this blog post: https://www.joelonsoftware.com/2008/05/01/architecture-astro...

>Jeez, we’ve had that forever. When did the first sync web sites start coming out? 1999? There were a million versions. xdrive, mydrive, idrive, youdrive, wealldrive for ice cream. Nobody cared then and nobody cares now, because synchronizing files is just not a killer application. I’m sorry. It seems like it should be. But it’s not.

That's just what a lot of competent people thought back then. It seems hilariously out of touch now.
by fatbird | 2025-05-20 15:21:24+00:00
This. Fundamentally, the USD is the global reserve currency because the US is seen by the rest of the world as the most stable entity able to guarantee the future value of its currency: It's militarily powerful enough to guarantee its independence, and legally predictable as a "rule of law" nation and a stable democracy. If you want to park your assets anywhere, the safest bet is US treasuries. Everything else follows from that.
by potato3732842 | 2025-05-20 15:21:38+00:00
>The use of the word "admitted" implies that Biden is either lying about how far it has progressed, or that he has known about it longer than he has admitted.

Adams doesn't need to imply it when medical SOP implies it.

I understand why Biden would not want to share that info and think that he made the right call for the situation he was in at the time (even before you consider domestic politics it's generally unwise for heads of state to talk about medical problems unless they're imminently stepping down because of them) but every man in this country over 40 knows that this cancer is screened for and someone getting "head of state" level care doesn't just get surprised by this kind of cancer at this stage unless many people were negligent.
by AlotOfReading | 2025-05-20 15:21:38+00:00
I'm well aware that it's a couple hundred trucks to replace a single train. I'm not sure you understand that this is what already happens. Rail carries around a quarter of freight ton-miles in the US. Trucks carry much more than that. All of the stuff that isn't bulk, time insensitive freight, or anything that surges in excess of the carefully scheduled rail capacity already has to spill over onto trucks. That includes things like disaster recovery shipments, unusual seasonal demand, and so on. There's also a population of truckers that work these temporary jobs, as well as a certain level of excess vehicle capacity in the fleet carriers to service it, plus whatever truckers can be pulled from other work to meet the demand.

Anyone looking at massive losses will pay the sticker shock to put it on trucks. Anyone who can afford to shut down instead will wait. That's the system working as intended.
by orthoxerox | 2025-05-20 15:21:49+00:00
A lot of the time the indie game developer is a former professional programmer. This of course affects how they interact with the game development process.

Someone who's coming from a different walk of life (say, an artist or a TTRPG designer trying to make a game) will obviously be much more productive with an off-the-shelf engine like GameMaker or Unity. They accept the engine with its editor as the only way to make a game and get cracking.

A programmer opens the editor and is presented with the 3D scene editor. "Nonono, where's main()?" they immediately ask. "Why is there a 3D scene editor if I want to procgen my levels?" "How do mods work?" "Who told you I needed physics simulation in my game by default?" "Running the game inside the editor is cool and all that, but I'd rather run the editor inside the game."
by 90s_dev | 2025-05-20 15:22:03+00:00
Thanks.

The current method of building a game is the same as the walkthrough for building an app[1], except you make a custom view and override its draw method. For higher performance, you can create an OffscreenCanvas and draw into it however you want. There's no API to wrap WebGL2 more conveniently than this yet.

I definitely should and will wirte a guide that takes you from nothing to a full fledged game. But right now, the guides are all geared towards making apps, since before we can make games, we need to make gamemaker tools, like spritemakers and mapmakers.

[1] https://90s.dev/getting-started/hello-world.html
by chrsw | 2025-05-20 15:22:15+00:00
Maybe I’m not think big picture enough… but have you ever tried using generative AI (i.e., a transformer) to create a circuit schematic? They fail miserably. Worse than Chat GPT-2 at generating text.

The current SOTA models can do some impressive things, in certain domains. But running a business is way more than generating JavaScript.

The way I see it, only some jobs will be impacted by generative AI in the near term. Not replaced, augmented.
by coldpie | 2025-05-20 15:22:17+00:00
I remember it being interesting to work on. It's been years, but if I remember right, there is some way to convince the game to dump a log of unit positions during a multiplayer match, possibly as part of its desync handling. I enabled that on both Win & Linux hosts, ran a match between the machines until they desynced, and diff'd the game's own logs, then confirmed from the Wine logs that the faulty values were coming from CRT-related math functions. It's always fun when you get to use a game's own debug utils to track down a problem.

Anyway it'd be great if the game devs included their own math libraries instead of relying on the OS's. That would fix the problem quite nicely.
by Chiron1991 | 2025-05-20 15:22:38+00:00
> The EU solution meaningfully changes the offending company's behavior.

Citation needed. I'd imagine they just add a tiny markup to their prices to pay the eventual fine instead of investing huge amounts of money into fixing their broken processes. Comparing the list of EU-issued fines against the respective companies' profits shows that they can simply afford to make those mistakes instead of preventing them.
by _alternator_ | 2025-05-20 15:22:52+00:00
The question is not so much whether this is true—we can certainly represent any data as points on a manifold. Rather, it’s the extent to which this point of view is useful. In my experience, it’s not the most powerful perspective.

In short, direct manifold learning is not really tractable as an algorithmic approach. The most powerful set of tools and theoretical basis for AI has sprung from statistical optimization theory (SGD, information-theoretical loss minimization, etc.). The fact that data is on a manifold is a tautological footnote to this approach.
by amluto | 2025-05-20 15:23:04+00:00
In fact, according to US government published numbers, the US runs a goods+services surplus with quite a few countries.

FWIW, I’m not sure I believe the official numbers, or at least I don’t believe that they measure anything useful. When a French customer buys an AMD CPU or Nvidia GPU that was made in Taiwan, the physical object may never touch US soil, but a lot of money flows in. Did we export a good, a service, or neither?

What about when a Spanish user sees an ad funded by a German company and four different US intermediaries are involved in showing that ad? What if the US companies play complex accounting tricks to redirect the income to a subsidiary in a low-tax jurisdiction like Ireland and then effectively materialize some of the dollars in the US by buying shares in the parent company’s stock but mostly just let the nominally Irish dollars sit in US accounts and let US people own very valuable stock?

(Interestingly, IMO none of this requires that USD be a reserve currency. One could easily imagine the same type of economy where gold earned in Europe in deposited in a vault in the US, held by an account that is nominally Irish, and used as investment collateral for various US or foreign investments denominated in XAU. Or it could be cryptocurrency or pretty beads or whatever.)
by koakuma-chan | 2025-05-20 15:23:20+00:00
> Where did I say that?

You replied to a comment that says "Yep, Next.js has the best support for vibe coding."

> Right, so you use the words "vibe coding" yet you don't actually understand the concept? A lot of things make sense now.

You can stop arguing that if one glances at the code one is no longer vibe coding, because in practice by looking at the code or even the LLM's thoughts you can catch things you don't want early.
Ask HN: Way to build AI voice agents
by warthog | 2025-05-20 15:23:43+00:00
What are the best stack and methods you use to build voice agents?

My struggles are as follows:

1. Voice to voice is promising but is not quite there in quality. Not sure what kind of model is being leveraged underneath but responses are worse than 4o

2. Have not used Livekit but seems very popular. Though not sure why it is needed

3. Interruption handling: Did not come across a model or system that handles these well. Even 4o gets highly confused after around 2 minutes of talking and one single interruption in my experience
Show HN: A simple starter template for OpenAI Codex
by ThatGuySam | 2025-05-20 15:23:53+00:00
Put together a repo with the lessons learned so far from using Codex.

One big thing is you have to do all your network things at the setup step, which means if anything needs to make requests after that, like Next.js fetching font at build step, it will break.
by 20after4 | 2025-05-20 15:24:08+00:00
It appears that the US mislead¹ Saddam Husein into believing that the we would not intervene in the border dispute with Kuwait. This was enough assurance for him to go ahead with the decision to attack Kuwait. That action was then used by the US as a pretext for the invasion of Iraq.

1. https://adst.org/2016/02/a-bum-rap-for-april-glaspie-saddam-...
by MrDarcy | 2025-05-20 15:24:16+00:00
Hypothesis: empathy is the skill most effective at taking vague, poorly specified requests from customers and clients and transforming them into a design with well specified requirements and a high level plan to implement the design. For example, what a customer says they want often isn't what they need. Empathy is how we bridge that gap for them and deliver something truly valuable.

Given empathy is all about feelings, it's not something models and tools will be able to displace in the next few years.
by corytheboyd | 2025-05-20 15:24:33+00:00
> Just last week i asked for a script to do image segmentation with a basic UI and claude just generated that for me in under 1 Minute.

I agree that this is useful! It will even take natural language and augment the script, and maybe get it right! Nice!

The AI is combing through scraped data with an LLM, and conjuring forth some imagemagick snippets into a shell script. This is very useful, and if you’re like most people, who don’t know imagemagick intimately, it’s going to save you tons of time.

Where it gets incredibly frustrating is tech leadership seeing these trivial examples, and assuming it extrapolates to general software engineering at their companies. “Oh it writes code, or makes our engineers faster, or whatever. Get the managers mandating this, now! Also, we need to get started on the layoffs. Have them stack rank their reports by who uses AI the best, so that we are ready to pull the trigger.”

But every real engineer who uses these tools on real (as in huge, poorly written) codebases, if they are being honest (they may not be, given the stack ranking), will tell you “on a good day it multiplies my productivity by, let’s say, 1.1-2x? On a bad day, I end up scrapping 10k lines of LLM code, reading some documentation on my own, and solving the problem with 5 lines of intentional code.”

Please, PLEASE pay attention to this details that I added: Huge, poorly written codebases. This is just the reality at most software companies that have graduated from series A startup. What my colleagues and I are trying to tell you, leadership, is that these “it made a script” and “it made a html form with a backend” examples ARE NOT cleanly extrapolating to the flaming dumpster fire codebases we actually work with. Sometimes the tools help! Sometimes, they don’t.

It’s as if LLM is just another tool we use sometimes.

This is why I am annoyed. It’s incredibly frustrating to be told by your boss “use tool or get fired” when that tool doesn’t always fit the task at hand. It DOES NOT mean I see zero value in LLMs.
by byjy | 2025-05-20 15:24:39+00:00
I got tired of writing binary search loops by hand—especially for leetcode-style problems like:

- Minimum capacity to ship packages within D days - Minimum speed to eat bananas

So I built a small abstraction: BinarySearch.

It lets you binary search over integers, longs, doubles, with a directional comparator that returns -1 (left), 1 (right), or 0 (found), .

The error prone mechanism is handled internally.

No more off-by-one error, or infinite loops.

I used it to solve a few classic LeetCode problems (with test cases).

More details:

https://dev.to/fluentfuture/off-by-one-again-in-your-leetcod...

Can't use it on LC for sure.

But you can prototype your smart binary search algorithm before worrying about edge conditions.
by avianlyric | 2025-05-20 15:24:39+00:00
Not entirely sure what your point is. You state that Kubernetes must come with a complex networking stack, and I point out that simply isn’t true, which apparently you agree with.

But because other people use complex networking stacks in Kubernetes, that means for a bunch of good reasons, that apparently means it can’t be used without that stack? If you don’t need that functionality, and you have different requirements, then why would you implement a k8s stack that includes all that functionality? That would be foolish.

Everyone ships with kube-proxy because it’s the simplest way to provide an unopinionated network stack that will give you a fully functional k8s cluster with expected bells and whistles like simple service discovery. But most people quickly replace it with a CNI for various reasons.

My understanding is that your application is all about managing high throughput, direct to application TCP connections. So I have no idea why you’re talking about the need for fully fledged service discovery, or long lived TCP connections pinned to a single pod (I mean, that just the nature of TCP, got nothing to do with k8s or any of its network stacks).

> You can design a lean Kubernetes network path with minimal abstractions, but: You lose things like dynamic service discovery, load balancing, and readiness-based traffic shifting. You must manage more infra manually (e.g., configure iptables or direct routing rules yourself). You’re fighting against the grain of what Kubernetes is designed to do.

If you’re building a stack without k8s, then you don’t get any of those feature either, so not sure what the fuss is about. Doesn’t mean that’s k8s core competency as a workload schedular, and its general framework for managing stateful and stateless resources doesn’t provide a lot of value. You just need to learn how to take advantage of it, rather than following some cookie cutter setup for a stack that doesn’t meet your needs.
by bognition | 2025-05-20 15:24:50+00:00
To what end? To establish a healthy society where people are free to explore and take risks.

It’s not that complicated. Remove the risk of failure by giving people money for food, a place to live, an education, and protect their health.

There is a reason that many successful founders came from money. That kind acted as a safety net that allowed them to bet big. Not everyone with money goes on to establish a big business but the rate of success is far higher for those with money.
by 90s_dev | 2025-05-20 15:25:38+00:00
Thanks! Well, kind of. The JSX is mostly for making the apps that comprise gamemaker components, like pico8's spritemaker and mapmaker tabs. Once those apps are made, you can use them to make game assets. But those apps run in the same canvas that games would run in. A mapmaker and a game would use the same GUI for drawing into the canvas. But a game would probably create a single View and override its draw method to draw most of the game, though it could use JSX to build up the views that comprise game panels like Minecraft's inventory views.
Show HN: Quote Saver – A simple CLI tool I built to store my favorite quotes
by DeepTechTaiye | 2025-05-20 15:25:47+00:00
Hey HN,

As part of a personal 30-day tech growth challenge, I built a basic command-line app in Python that lets you save, view, and delete personal quotes.

It’s simple, but the idea is to get more comfortable building real things and sharing them daily. You can run it in a terminal or Jupyter notebook, and it uses just basic Python (lists, loops, functions, etc.).

Would love any feedback from those who've done similar challenges—or thoughts on how to keep growing from here.

Thanks!
by cube2222 | 2025-05-20 15:26:18+00:00
I think this got a bit lost in the avalanche of agent-related news yesterday, and it's excellent! Exactly what I was looking for.

It's pretty easy to set up, and you'll basically be able to ask claude to do things from github issue comments, pr comments, etc. It responds and creates new PRs with the results, updates existing PRs, reviews your PRs.

With how slow Claude Code is for "bigger tasks" that need a bit of iteration (like writing and then fixing tests), this GitHub-oriented asynchronous interface works much better for me.
by bumby | 2025-05-20 15:26:43+00:00
>However, it's arguably a better export that commoditized goods, from a margin standpoint.

Importantly, this is the same dynamic that causes economies to move away from manufacturing towards service-oriented economies. Capitalism is going to chase higher margins, but there should be guardrails that mitigate the negative externalities of such behavior. Else we are left with an eroded middle class, lack of supply chain resilience, disproportionate costs for sectors that can’t chase geo-arbitrage, weakened national security manufacturing capacity, etc.
by bee_rider | 2025-05-20 15:26:50+00:00
Agreed.

Although, to try to see it from the author’s perspective, it is pulling tools out of the same (extremely well developed and studied in it’s own right) toolbox as computational physics does. It is a little funny although not too surprising that a computational physics guy would look at some linear algebra code and immediately see the similarity.

Edit: actually, thinking a little more, it is basically absurd to believe that somebody has had a career in computational physics without knowing they are relying heavily on the HPC/scientific computing/numerical linear algebra toolbox. So, I think they are just using that to help with the narrative for the blog post.
by CorrectHorseBat | 2025-05-20 15:27:04+00:00
I've got it from here: https://gitlab.winehq.org/winehq/appdb/-/wikis/Rating-Defini...

We can argue all day over what a rating means, but if it would work without a tweak I'd say it should be rated platinum. (The only other thing I know is missing is Xbox live login, but I don't really care about that)
by eythian | 2025-05-20 15:27:18+00:00
Yeah, I also sit in this grey area. I think the maximum is 10 per domain or so, and last I checked, I'd had 11 or 12 leaked, so I can no longer see them. It's unfortunate though I don't know an easy solution that allows both people with per-site addresses to get free access, and also companies to be required to pay.