MurphyA/hacker-news huggingface dataset:
by Animats | 2025-06-27 18:29:07+00:00
Two-pass rendering was considered and rejected by the Egui developer. What they have is sort of one and a half pass rendering. Sometimes, things are wrong on the first draw, but correct on the next draw because info is retained from the previous frame.

Back in 2023, this created a bug where a text box was misaligned on alternate frames.[1] Amusingly, I tried to capture a video of this, and the 30 FPS video looked perfect, because it was capturing only alternate frames of 60 FPS refresh.

Bugs in layout can be very strange in Egui.

[1] https://github.com/emilk/egui/issues/2810
by taeric | 2025-06-27 18:29:13+00:00
I did mean grid, there.

And don't get me wrong, I don't necessarily want everything absolute positioned. I just find it amusing when people try to get a badge or some such on something and then herculean efforts they will go through to get that badge exactly where they want it.

So, with bluesky, the amount of markup that goes into the footer menu of each post would be what I'm looking at. Tools were clearly used to get styles such as "css-g5y9jx" and this isn't the worst examples I've seen. But I am curious on why so many nested divs seem to be needed all of the time.

I am not clear what you mean by canvas-like approach? I think folks should still use elements. Just fewer of them, all told.

Direct to my claim, though; my argument is just that templates/designs are visual things. I don't think people are thinking in terms of nested div elements. They largely don't even think of sections of their template as parent/child relationships. They have a visual thing and want it filled in with whatever data.
by frollogaston | 2025-06-27 18:29:17+00:00
NodeJS about page makes its case pretty succinctly, JS was a good fit for IO-bound concurrent backends because of the event loop. This was at a time when no other major language/runtime had a good answer for this unless you count Erlang. Plenty of people using it didn't even come from the web frontend side, myself included.

npm was also maybe the first default package manager that "just works," unlike Python or browser JS.
by combray | 2025-06-27 18:29:25+00:00
I tested 15 different agents and come up with my own way to range them. Would you hire an agent? Does it spark joy? What is the output quality? It turned into a 61-page deep dive into all the nitty-gritty. From IDE beasts like Cursor and Copilot to CLI warriors like Aider and full-stack champs like Replit and v0, etc – it’s a no-BS breakdown of what these tools can actually do when you throw a real-world web app prompt at ‘em.

All the resulting code is on

So, Who’s Crushing It?

Cursor Background Agent, v0, Warp: These three scored a near-perfect 24/25. Production-ready, polished, and just chef’s kiss. Cursor Agent was like, “Huh, didn’t expect that level of awesome.”

Copilot Agent & Jules: Tight GitHub integration makes ‘em PM-friendly, though they’re still a bit rough around the edges.

Replit: Stupid-easy for casuals. You’re trapped in their ecosystem, but damn, it’s a nice trap.

v0: UI prototyping on steroids. NextJS and Vercel vibes, but don’t expect it to play nice with your existing codebase.

RooCode & Goose: For you tinkerers who wanna swap models like Pokémon cards and run ‘em locally.

Who Flopped?

Windsurf. I wanted to hate it (gut feeling, don’t ask), and it delivered – basic tests, flimsy docs, and a Dockerfile that choked. 13/25, yawn.

Pro Tips:

Software Pros: Cursor + Warp is your power combo. IDE + CLI = dopamine hits for days. Casual Coders: Replit’s your jam. Zero friction, instant hosting. Designers: v0 for quick, slick MVPs. Just embrace the NextJS cult. Tinkerers: RooCode or Goose. Total control, local LLMs, open-source swagger.

The full report’s got the juicy details – screenshots, rants, and all. I will be doing another report on agents at the end of the summer – let me know what’s your go-to coding agent in 2025. Drop your hot takes or grill me on specifics below.
by rurp | 2025-06-27 18:29:48+00:00
The tradeoffs depend a lot on how reliable the external dependencies are. Sourcing from Europe seems pretty low risk high reward for the foreseeable future. Relying on the US seemed really safe 10+ years ago but is much less so currently. If I were any non-US country right now I wouldn't want to find myself in a war critically reliant on US resources.
Show HN: IssuePay – Get paid for open-source contributions
by Mario10 | 2025-06-27 18:31:14+00:00
Hi HN! I’m Mario, and I’m about to launch IssuePay.

Problem: Open-source contributors don’t get direct financial recognition for their work. Solution: IssuePay lets maintainers post bounties on GitHub/GitLab issues. Contributors pick tasks, merge code, and get paid automatically. You can then withdraw your earnings directly to your Bank Account.

Try it out: https://issuepay.app

Questions: Would love feedback on our UX, payout reliability, or any scaling tips.

Note: Open to partnerships with OSS communities!

Thank you, guys ! <3
by rich_sasha | 2025-06-27 18:31:48+00:00
I think, sure, while Russia is fighting in Ukraine, they would really struggle to attack elsewhere.

But were they to win, which is not that hard to imagine, they would suddenly have a war-time economy and suddenly able to move troops to another border. Russia is always making threats, most recently Putin said at a Russian Economic Forum that "wherever a Russian soldier's boot stood, belongs to Russia".

As for fearing NATO... Russia was always good at salami tactics: take a slice and back off before backlash mounts. If they helped themselves to Estonia, say, over 48 hours, would the US, UK and France send nukes? Send much at all? Possibly not, and Putin knows it.

None of it pertains to the "when" question, but I can easily imagine circumstances where it happens.
by inferiorhuman | 2025-06-27 18:32:43+00:00
A few months ago I was working on a debugger for some oddball VM. Slint suffered from the same issue most (all?) rust GUI toolkits seem to suffer from: immaturity. Either the widgets I was looking for weren't there or customizing them was a huge endeavor. With Slint specifically it was the inability to style text.

For my use case it was easier to get up and running with a TUI toolkit (ratatui in my case). Plenty of limitations there too alas and I finally landed on Qt…
by fredfish | 2025-06-27 18:34:15+00:00
I've always considered NaN too definitive for general industry languages like C, JS or Cobol where not even physics with calculus should be assumed. Maybe its ok for languages that at least expect math for engineers like Fortran or up..

How about we call it "Maybe a Number" and since equality can't work for it we still need a separate way to ask like: Math.whoIsTheMaN(me)
by jayd16 | 2025-06-27 18:35:04+00:00
Wah? WYSIWYG rules the world. Web, mobile, desktop, game dev (The UI the user sees anyway). Anything where visuals matters, WYSIWYG and predefined layouts are used.

IMGUIs are almost always relegated to debug UIs and single devs because its actually terrible to maintain something that binds presentation and business logic like IMGUIs often do (and when they don't they lose the simplicity).
by LargoLasskhyfv | 2025-06-27 18:36:44+00:00
I can't stand earplugs, and think of ear buds as counter-productive. I've used (silken) eye masks, but have no use for them anymore, because successfully blacked out everything.

Don't know what to make of white-noise, do purring cats count? Or really relaxed snuggling with sexy gals after having fucked each others brains out? Or both?
by d4l3k | 2025-06-27 18:37:21+00:00
We want to be tolerant to application bugs and host/GPU failures that can be solved by replacing/restarting the machine. External services and network failures we don't have much control over so aren't aiming to solve that.

For specific types of failures check out the section on "Reliability and Operational Challenges" from the Llama 3 paper https://ai.meta.com/research/publications/the-llama-3-herd-o...
by Supermancho | 2025-06-27 18:37:30+00:00
> Every issue that any partisan has with this country is because one branch isn’t doing their job.

It's impractical to rule on a subject before allowing parties to formulate coherent prepared arguments. Ruling on circumstantial evidence is a temporary stop, leaving the ruling up to an appellate which will invalidate it due to it being founded on circumstantial evidence. The injunctions were the practical way to allows all parties to formulate their case and make a legal reasoning for a ruling. Written law has to be incremental and narrow for interpretation. Otherwise it's an interpretive dance free for all in every case.

You have repeatedly implied that the jobs of Judges are something other than what you they are. Ofc you don't think they are doing what you think they should be. That's inconsequential.
by pornel | 2025-06-27 18:37:42+00:00
This makes the language more uniform. Instead of having a special ternary ?: operator for if-else in expression position, you have one syntax everywhere.

It makes generic code work without need to add exceptions for "syntactic elements". You can have methods like `map(callback)` that take a generic `fn() -> T` and pass through `T`. This can work uniformly for functions that do return values as well as for functions that just have `return;`. Having nothingness as a real type makes it just work using one set of rules for types, rather than having rules for real types plus exceptions for "syntactic elements".
by deadbabe | 2025-06-27 18:37:44+00:00
You guys know AI already run shops right? Vending machines track their own levels of inventory, command humans to deliver more, phase out bad products, order new product offerings, set prices, notify repairmen if there are issues… etc… and with not a single LLM needed. Wrong tool for the job.

And that’s before we even get into online shops.

But yea, go ahead, see if an LLM can replace a whole e-commerce platform.
by ccvannorman | 2025-06-27 18:37:49+00:00
Yes.

The best analogy I can make is actually surprisingly from a book about romantic love, "Undefended Love" [0] where the PhD psychology author goes on to make this critical point:

We often set ourselves up for failure (e.g. negative self talk after a failed romantic outreach attempt) because it results in our progression into a safe and known pattern. They explain that our brains and emotions are somehow more comfortable with a known outcome, even though it is irrevocably and undeniably a worse outcome, simply because it is safe and known to us.

Thus. self-sabotage keeps us inside our comfort zone.

Imaging if you did win that [product launch, vc pitch, ...] your life gets catapulted into the big, scary unknown. Just quit now so we can be comfortable, easy, and lazy!

[0] by Jett Psaris & Marlena S. Lyons
by AIPedant | 2025-06-27 18:37:57+00:00
Hmm my read is this is a slight overstatement - Rust was always built with the idea of expressions as first class citizens, but practicality and performance requires expression-breaking keywords like “return” which don’t fit neatly in an ML-ish language and have a few plain old hacks associated with implementing them (not “hack” as in lacking robustness; I mean theoretically/formally inelegant). Likewise there’s some stuff (u8) which is a simple syntax quirk. But a lot of these return/etc oddities are because Rust is ultimately an imperative language with strong influence from functional programming.
by pfisherman | 2025-06-27 18:38:08+00:00
Key question is the license they attach to model and weights. I have been seeing an increasing amount of releases in this space under non-commercial licenses.

I think companies in the space should either totally open source or not publish at all.

I can see publishing like this as achieving one (or more) of a several objectives:

1. Marketing software to for sales / licensing

2. Marketing startup to investors

3. Crowdsourcing use cases or product features from academia

Now here are the problems with those:

1. Selling software (exclusively) to drug companies is a terrible business model. Very low ceiling there. You can make more from one drug.

2. Indicates company focus is producing models and not drugs. See point one.

3. Computational labs want to release open source, so not viable to build on restricted tooling. Experimental labs may just be using to algo-wash prior hypotheses / biases.

Now weigh against disadvantage of letting competitors know what you are working on, how far you have progressed, as well as your methods.
by arjvik | 2025-06-27 18:38:41+00:00
I figured out how return-as-a-value made sense only upon realizing that in the following code,

fn funny(){ fn f(_x: ()){} f(return); }

f() is never called because funny() returns before it gets called.

The reason you want return to be coercible to any type is so that you can write something like

let x: i32 = if y { 4 } else { return; // type ! coerced into i32 }

And you pick the return value of ! because return never actually produces a value that is propagated on at runtime, it immediately exits the function.

(Note this all works even with returning a value)
by soueuls | 2025-06-27 18:40:07+00:00
Getting the money back would obviously be number 1, I am not crazy enough to enjoy « revenge » above my my mother’s wellbeing.

But I already hired a lawyer, I don’t think there is any way we will win this legally.

The whole thing is rigged when the guy in front of you has been somewhat a fiend of the king when he was young.
by rwyinuse | 2025-06-27 18:40:57+00:00
Banning kids from using social media would probably have a much more significant positive impact on their mental development. Obviously kids browsing Pornhub is not a good thing, but sites like TikTok expose them to much more traumatizing violent material, and of course turns them into quick dopamine-seeking zombies that are glued to their smartphones.

Frankly speaking, even for underage teenagers the most harmful thing about porn is the potential for addiction, not the content itself.
by kurikuri | 2025-06-27 18:41:21+00:00
> Judges were using injunctions to avoid putting their name behind a ruling.

What? That makes no sense. You can lookup which court and judge (or panel of judges) issued the injunctions. I do not understand why this non-existent anonymity would motivate a judge to issue an injunction.

> They can still strike down a law or executive branch policy.

Federal courts will only look at cases if there is a party with standing who engages in a lawsuit. If someone is being deported without due process, it will be hard for them to bring suit.

> This forces judges to actually do their job., instead of a nationwide injunction while they decide if they want to do their job later.

In general there are two reasons why these temporary restraining orders which have been issued. The first being that not doing so would cause irrevocable (or ridiculously difficult to revoke) harm (e.g., deporting people to a foreign jail). The second is that the TRO is used to stop something which seems illegal on its face (e.g. deporting people to countries from which they have never been).

> It doesn’t actually alter some fabric of our democracy or checks and balances, because the judges had already gone beyond what the constitution and congress prescribed.

It does alter the power dynamic of our democracy. Now, the executive branch can repeatedly perform illegal acts and only needs to stop its behavior in cases which have been decided. This checks and balances isn’t about stopping each other branch in a vacuum, the intent is to stop the government from overreaching on its citizenry. By crippling all of the lower courts, the Supreme Court has created a bureaucratic bottleneck for itself, allowing the executive branch to effectively DDoS the judicial system with case after case.

> The disruptive aspect of this - with concern to the birthright case that hasnt been ruled on yet - is just another example of this. Judges not doing their job.

No, it was the judge telling the executive branch that the executive branch must recognize the citizenship of children born on US soil. Instead of actually appealing the TRO on grounds of the legality of their actions, the executive branch has decided to complain about the legality of a court telling the executive branch to stop.

Who is supposed to tell the executive branch to stop doing something illegal, congress? Part of the point of the executive branch was to allow for some expedience, congress is slow. A judge is in a perfect position to tell the executive branch to stop, they don’t need to wait on committee and are not beholden to the president. Without the ability, the executive branch can quite literally do whatever the president wants.
Ask HN: Why don't OSes automatically download apps/features that you might like?
by amichail | 2025-06-27 18:41:24+00:00
If the OS notices that some apps or features it downloaded and installed for you are not being used, it might remove them and instead download and install other apps or features it thinks you might like.

In this case, features could include third-party utilities that integrate smoothly with the operating system or apps.
by csallen | 2025-06-27 18:41:55+00:00
> * I in no way championed rent seeking laws *

You're simply saying "laws should be followed", and my retort is that different laws are different. You aren't really acknowledging that point, or any other points I made in defense of breaking some laws, and so our conversation has reached a standstill.

> (capital markets don't work without copyright and patents except to fund thing like existing businesses such a bakers)

I don't understand this point of view. Take software, for example. Websites have been copying each other's designs for ages, with minimal actual use of copyrights or patents. Almost no startup founder who creates a new web app is counting on defensibility coming from IP law. In fact, quite the opposite, the ethos is that whatever functionality and interfaces you develop will likely be copied by competitors, and that "moats" should come from things like a first-mover advantage, social features, brand loyalty, customer relationships, etc.

I'd say that, for the vast majority of business models that power the economy, it's obvious they could and would continue to exist without IP protection. Consulting, coaching, legal services, design agencies, marketplaces (e.g. eBay and Crisglist), social networks, online forums, SaaS tools, DTC brands, Amazon-like retail sites, food delivery, freight companies, logistic companies, live events, news coverage, platforms (eg. Shopify), restaurants, cafes, apparel companies, gyms, most apps, festivals and shows and live performances, etc. I could go on.

For those business models where it's not obvious, I'd still bet money that they would continue to thrive, and might simply take a different shape or require some creative pivots, rely on trade secrets, etc. Except to prevent bad actors and consumer abuse, the market does not need government simulation to inspire people to do business. And the vast majority of all profit models are discovered by creative individuals, not mandated by unnecessary laws.

IP law is largely just rent seeking created via regulatory capture by incumbents who stand to benefit from it. These incumbents have spent decades trying to convince the public that IP law is necessary for the economy (it isn't) and that it's also morally just because copying and riffing are identical to theft (they aren't).
by stego-tech | 2025-06-27 18:41:56+00:00
I quite like that it doesn’t. The reputation counter is all the feedback I need in order to know if I need to back off for a bit and do more research (going down) or if I’m making valid points that others find useful (going up). It also means I’m not overwhelmed with more manipulative stimuli (notification indicators) and can engage with HN at my own pace.

Honestly, if HN added notifications I’d probably just leave. I don’t need Yet Another Attention Thief in my life.
by neuroelectron | 2025-06-27 18:42:03+00:00
I hit a pedestrian because of this and with combination of blinding LED headlights someone left on while parked. Luckily I was going slow and the pedestrian admitted to walking out in front of me, assuming I would stop for them. I didn't see them at all. They didn't see me looking either since the led headlights were blinding him as well. I complained to the kid whose car was dazzling everyone and he said "they're just headlights."
by DamonHD | 2025-06-27 18:42:36+00:00
I have always used (ie since the mid '80s) something like WS layout for C and its descendants. Only much later did I hear that name for it. Often unfashionable, but I have also been a magazine editor, and like the braces to visually lead the eye down the edge of the code that they surround, like a non-indented text para.
by upghost | 2025-06-27 18:43:12+00:00
This looks absolutely fantastic, please accept my meagre professional jealousy. I have long bemoaned manual hyperparam fiddling . I have on occasion dabbled with nonparametric ("genetic") methods of hyperparam tuning inspired by AutoML... but then you still have to manually tune the evolutionary hyperparams.

Finding a way to derive this from the gradients is amazing.
by MPSimmons | 2025-06-27 18:43:12+00:00
Neither getting 40MW of power nor removing 40MW of heat are easy.

The ISS makes almost 250KW in full light, so you would need approximately 160 times the solar footprint of the ISS for that datacenter.

The ISS dissipates that heat using pumps to move ammonia in pipes out to a radiator that is a bit over 42m^2. Assuming the same level of efficiency, that's over 6km^2 of heat dissipation that needs empty space to dissipate to.

That's a lot.
by BrenBarn | 2025-06-27 18:43:28+00:00
That's true, but in another sense I think it's just that trying to "do it all" encryption-wise is significantly harder than some people realize. Having encryption that's really "safe" raises barriers to casual use that most casual users aren't really willing to accept.

Like suppose I use Matrix only on my phone, so I just have the one device. Then I lose my phone and have to get a new one. How do I regain access to my account, including all of my old messages? Or suppose I (still using Matrix only on my phone) decide I need to log out because I want to let someone else (a friend, my kid) use my phone for a while and don't want them snooping in my messages. How do I retain access to all the messages I receive while logged out?

I'm not saying these are problems with Matrix; they would be problems with any service that attempts to cover the same bases (in particular, e2ee with forward secrecy and multiple independent devices). The average user's conception of a messaging service is "I can log in with my password and then have total access to all of my messages, past, present and future." There are too many ways to break that assumption if you try to have perfect forward secrecy and all these other desiderata that encryption wonks care about but normal people don't. I think this is one reason there's still a big gap between comments on HN saying "matrix still works fine for me" and the tales of "I tried to get my grandma to use this and it was a disaster". I don't think it makes sense to try to roll Matrix out for general use, or say it's "the best messaging app" until it can smoothly handle all of those use cases.
by xenophonf | 2025-06-27 18:44:10+00:00
What is Copilot Chat but a front end to some Microsoft SaaS offering? There's nothing materially "open source" about that. All the important stuff is locked up behind the GitHub Copilot API. No one can customize the LLM design or training material. It certainly can't be self-hosted. This is just in-app advertising for yet another subscription service that sends your personal data to an amoral third party. There's no community, no public benefit, no commonwealth.