MurphyA/hacker-news huggingface dataset:
by supermatt | 2025-04-01 08:59:39+00:00
If you just use an html button with simple styling the size is around 58kB (not the quoted 73kB, which is from other libs that they built with like ShadCN than just react), so its still impressively smaller than react.

That said, using Preact instead (a smaller and more modular react-style library) the file size is less than 5kB. Its almost a drop-in replacement for React too: https://preactjs.com/guide/v10/differences-to-react

If i make a similarly minimal app with Nue (the lib the article is about), export as production, and remove the favicon it seems to want to add automatically, the filesize is 28kB. I couldn't see a way to meaningfully reduce that in their docs, as its clearly exporting things that arent being used.

Its pretty disingenuous for them to compare an app to a single button, given their own single button implementation is massively overinflated too. It does appear to be a full app framework rather than just a view library though. So I'll definitely give it a whirl.

To the OP: From a lot of the comments here, including my own, comparing yourself in this way is only going to result in people calling you out on it. Its clear the lib has merit in its own right, but you aren't comparing like to like, and if the focus is on "button" apps, then you are still WAY behind some other libs in terms of export size.
by andorrax101 | 2025-04-01 09:00:09+00:00
Hi HN, long time lurker here. I've recently decided to start blogging about topics I've dealt with in computational geometry - mostly because I've never blogged before and have always wondered what it'd be like to have something to point to and say "yes, I wrote that"...while also having something that can actively help folks out in the wild.

This post is the first in a series of articles I intend to publish, and is a deep dive into one algorithmic solution to the question "does this point lie inside this polygon ?"

Any critique/comments would be very welcome. In fact, be as heavy with your critique as you can !
by SethMurphy | 2025-04-01 09:00:38+00:00
Recording and watching or listening to myself play has been very helpful for me. Even a temporary recording of just the current session, or most recent n minutes/beats would be nice. It's hard to evaluate execution in real time while performing it. To get it right as a user experience is not a simple task though. However, your great minimal feature set could also be seen as a plus to drive the practice routine efficiently no matter the quality, you'll get better too.
by Advertiai | 2025-04-01 09:01:01+00:00
AdvertiAI is an AI-powered ad intelligence platform designed to enhance operations for ad agencies, brands, and ad managers enabling campaigns to maximize ad revenue and reduce costs. Campaign optimzing can often be tricky - overspending, no conversions, wrong bid strategy - all of these avoided, negative ROAS, no leads, spending $$$ on ads with barely any results, using reinforced learning, simulated training with ads datasets.
by pydry | 2025-04-01 09:01:05+00:00
This rules out conversational UI for some tasks and applications but there are many where it will be useful and many where a hybrid would be best.

Even in a car, being able to control the windscreen wipers, radio, ask how much fuel is left are all tasks it would be useful to do conversationally.

There are some apps (im thinking of jira as an example) where i'd like to do 90% of the usage conversationally.
by AngryData | 2025-04-01 09:01:13+00:00
If I didn't live here I wouldn't visit the US either even before all this recent crap. High crime rates, high poverty rates, poor education, expensive, and the 5th highest incarceration rate in the world on par with Turkmenistan and Brazil. 1.5% of the US population is either in prison or on probation and a short step away from prison.
by tipiirai | 2025-04-01 09:01:46+00:00
Author here. You’re spot on. I took away the React association and added a direct link to the JS code [1] that hit the ‘Maximum call stack size exceeded’ wall. TypedArrays can do wild stuff, no doubt, but yeah, it’s not exactly vanilla JS—and still lags a tight WASM setup. Appreciating the nuance here!

[1]: https://github.com/nuejs/nue/blob/master/packages/examples/s...
by titaphraz | 2025-04-01 09:01:46+00:00
US is now shipping people to El Salvador "by mistake" without a way of getting them back: https://www.independent.co.uk/news/world/americas/us-politic...

This is from the playbook, it's a trial run for "Night and Fog": https://en.wikipedia.org/wiki/Nacht_und_Nebel
by pcthrowaway | 2025-04-01 09:01:47+00:00
In Canadian burning man discussion groups, consensus is pretty much that no one is going this year due to the tariff war (well that and criticism of the nonprofit that organizes it) . Out of hundreds who chimed in on the discussion threads, only one said they'd still go this year.

Many people I know have also cancelled travel plans and bookings. There are definitely some undeniable changes in how we're spedning our vacation time.
by cartalk | 2025-04-01 09:02:03+00:00
This paper would have been really compelling in 2005-2010, but in 2025 there's too much evidence that these approaches do not result in C++ that is secure. The author cites a number of projects that have broadly applied these techniques, like Chrome and iOS, but these code bases continue to be exploited regularly despite these protections. If you actually look at where those projects are investing, it's on moving to Rust/Swift.
by InsideOutSanta | 2025-04-01 09:03:52+00:00
Most jurisdictions have a tax-free allowance or threshold. If you're affected by an inheritance tax, you're not poor.

As I said in the comment you're responding to, this seems like an example of how this type of tax worked correctly for a very rich person, so the thread you're responding to is already a counterexample to your argument.

I agree that inheritance taxes can be implemented poorly. Still, the concept of an inheritance tax is good, and poorly implemented inheritance taxes should be fixed by improving them, not removing them.
by BrandoElFollito | 2025-04-01 09:05:16+00:00
I am indeed early in my education (I am an engineer and have a PhD in physics) but from what I know, science, roughly speaking says - "we know what we know". And what we know, we know it by thinking out some models and matching them with experimental data. If the model fits, it is good enough for now.

What we cannot model or measure yet - we do not know. Plain and simple. We do not try to push an agenda of a deity of some sort which did all of that and therefore the "explanation" is that god is great.

We admit that we do not know and, hopefully, we will know at some point but before then we do not put ourselves in the comfortable shade of someone sitting on a cloud in the sky who know it all (but does not want to share :))
by dzonga | 2025-04-01 09:05:42+00:00
this is why inertia.js is a positive path forward.

it relegates React, Vue etc to be view layers - purely view layers. all models / state etc handled by your monolith Rails, Laravel server. this simplifies a lot of things.

frameworks like Vue & Svelte have scoped styles which preserve knowledge of CSS. While Tailwind is convenient - a lot of people won't know the capability of CSS

and why it was named cascading & the customability of CSS for the user.
by isqueiros | 2025-04-01 09:05:50+00:00
This seems incredibly shortsighted. If you're building an application by yourself you're gonna remember the relations and dependencies - but even on a small team (say ~4 devs) or even if you don't pick it up after a while, there is going to be stuff you forget.

It's also nice when you move stuff around, you can rely on the LSP to rename and fix everything that breaks. If you have a simple website it's fine, but when you start to have multiple components... Losing typing is a huge deal.
by facile3232 | 2025-04-01 09:06:13+00:00
Universities aren't exactly a great model of freedom from private interests. And it's not clear why many of them do still charge tuition—i just assumed it was some effort to emphasize classism in a world where they also want to look gracious for paying for poor people.

And believe me, for the colleges I examined this at, tuition was a rounding error compared to the return on the endowment. It is just for aesthetics of charging students in a uniquely american show of stupidity.
by leptons | 2025-04-01 09:06:27+00:00
A friend of mine from Europe was very determined to visit the US this year, travelling through several states, meeting up with me along the way. He would have spent a lot of money here, but now that is not going to happen. Now there is no way he will travel here due to the hostility demonstrated by the current administration. I agree with his decision, he should stay away or risk being incarcerated because of an overzealous immigration gestapo, as has already happened to at least one European tourist. The US has gone mad, with a mad king that seems to hate everyone and everything as well as his deplorable minions.
by ignoramous | 2025-04-01 09:06:48+00:00
> What GP seems to expect is that sync.Pool() would always return a zeroed structure, just as Golang allocation does.

One could define a new "Pool[T]" type (extending sync.Pool) to get these guarantees:

type Pool[T any] sync.Pool // typed def func (p *Pool[T]) Get() T { // typed Get pp := (*sync.Pool)(p) return pp.Get().(T) } func (p *Pool[T]) Put(v T) { // typed Put pp := (*sync.Pool)(p) pp.Put(v) } intpool := Pool[int]{ // alias New New: func() any { var zz int; return zz }, } boolpool := Pool[bool]{ // alias New New: func() any { var zz bool; return zz }, }

https://go.dev/play/p/-WG7E-CVXHR
by aucisson_masque | 2025-04-01 09:06:54+00:00
Honestly if I was American, I think I'd be pretty happy about that. Less strangers, less tourists, more Americans in America.

And if people still want so desperately to come in my country, they got to follow the rules, whatever how stupid and outrageous they are.

I know it's also contributing to slowing the economy, not only tourists but new talents, qualified migrants may think twice before getting in, external investment may be lower.

But does it really matter to the American farmer or blue collar ?
by aredox | 2025-04-01 09:07:18+00:00
>This, however, is not the first time ghibli has had competition https://en.wikipedia.org/wiki/Mary_and_the_Witch's_Flower in fact they have a whole studio dedicated to copying ghibli: https://en.wikipedia.org/wiki/Studio_Ponoc

It is not "competition" and "copying", it is the fact that Ghibli almost closed for good several times, so some employees created their own studio.

>On August 3, 2014, Toshio Suzuki announced that Studio Ghibli would take a "brief pause" to re-evaluate and restructure in the wake of Miyazaki's retirement. He stated some concerns about where the company would go in the future. This led to speculation that Studio Ghibli will never produce another feature film again. On November 7, 2014, Miyazaki stated, "That was not my intention, though. All I did was announce that I would be retiring and not making any more features."[40] Lead producer Yoshiaki Nishimura among several other staffers from Ghibli, such as director Hiromasa Yonebayashi, left to found Studio Ponoc in April 2015, working on the film Mary and the Witch's Flower.
by whatnow37373 | 2025-04-01 09:08:05+00:00
It's no wonder extraverted normie and managerial types that get through their day by talking think throwing words at a problem is the best thing since sliced bread.

They have problems like "compose an email that vaguely makes the impression I'm considering various options but I'm actually not" and for that, I suspect, the conversational workflow is quite good.

Anyone else that actually just does the stuff is viscerally aware of how sub-optimal it is to throw verbiage at a computer.

I guess it depends on what level of abstraction you're working at.
by ben_w | 2025-04-01 09:08:46+00:00
I have similar thoughts on LCARS: the Doylist requirement for displays that are bold enough and large enough to feel meaningful even when viewed on a 1990-era TV, are also the requirements for real life public information displays.

At first glance it feels like real life will not benefit from labelling 90% of the glowing rectangles with numbers as the show does, but second thoughts say spreadsheets and timetables.
by saghm | 2025-04-01 09:09:25+00:00
I mean, we're talking about how the best way to externally modify things that are ostensibly supposed to be internal and immutable, right? I feel like pretty much any way of doing it is going to be spooky action at a distance by definition. Modifying private internals from the outside isn't something you can do with mundane-action-at-close-range or whatever the alternative would otherwise be called.
by regularfry | 2025-04-01 09:10:00+00:00
> a) developers don't taking any time to optimize, lazy load, cache, minimize dependencies... > ... > b) the 300 tracking scripts every site has to try to squeeze as much revenue as possible

Having seen the dynamics up close, I'd say it's far closer to the truth to say that the reason developers don't have time for a) is because they are having to spend all their time on things like b). I've not met a developer who doesn't want to build a better experience. I have met many developers who can't do so, for reasons outside their control.

Characterising it as "if the developer cares" puts the blame in entirely the wrong place.
by thworp | 2025-04-01 09:10:34+00:00
> especially on unrealised gains.

Right, absolutely brilliant idea. You live prudently, save some money every month and invest it (stocks, bonds, whatever). Due to factors entirely outside your control like a stock market bubble or an interest rate drop, the $50k portfolio you built over 30 years is now worth $70k. Your unrealized $20k gain is taxed at 10% for easier math. You don't have $2k cash on hand and are forced to sell some of your portfolio to pay the tax.

Next year, there is a crash. You now have just $40k in assets. But there is a gradual recovery, and the year after it's back to $50k. You now owe another $1k. Sound good?
by dkh | 2025-04-01 09:10:49+00:00
So in the context of this specific goal—shooting a feature film in a single unbroken shot—digital was a pain in the ass, but this was close to impossible to do on film, and Russian Ark was the first to ever do it, on any medium.

Simply shooting a feature film digitally was not that complicated by this time, or at least it didn't have to be. The Sony CineAlta F900 was the camera developed to shoot the Star Wars prequels, and was revolutionary at the time, became the gold standard for years, and very convenient relative to film. Tons of things started to be shot in 1080p around that time, and it was very nice to work with. Collateral was insane because they wanted to shoot raw and at high frame rates. Russian Ark needed a single unbroken shot in a form factor that one human would be capable of holding for that long. Aside from very specific and/or boundary-pushing needs, the arrival of the F900 in 2000 was effectively when digital was more convenient than shooting film while also meeting the technical requirements of high-end production (though it was many more years before most cinematographers agreed that the image quality was comparable)
by mariusor | 2025-04-01 09:11:33+00:00
It sounds like you're developing a turn-key highly interactive application for a very particular niche of users. It makes sense that for them the tradeoff of downloading 2MB of Javascript makes sense versus enjoying their bells and whistles.

But for the rest of the internet, where users sometimes view your page with decrepit browsers riding on hobbled connections, 2MB is too much. Worrying about these people is not blowing it out of proportion. It's basic human decency.
by soco | 2025-04-01 09:12:13+00:00
At least in today's world with citizen programmers, a few low/no-code systems live much longer than expected and get used much wider than expected so hit walls nobody was bothered to think beforehand. Getting those programs past that bump is... no expletive is hard enough for it. Now how would we dream of fixing a vibe-programmed app? More vibe programming? Does anybody you know save their chats so the next viber has any trace of context?
by MalacodaV | 2025-04-01 09:12:17+00:00
Many of us will have been there: You're trying to recruit for a role, you're in the interview and you think this candidate is rocking it! They're knocking every question you ask out of the park... But, there's the tiniest hint of doubt creeping in... Why is it consistently taking the candidate 4 seconds to respond to your questions? Is it a delay in Teams? Is it the shoddy WeWork WiFi network? Then it dawns on you, not like the sun rising above the horizon, but the headlights of our new robot overlords... They're parroting AI! But you can fight back against the machines, using these tried and tested techniques.
by bear330 | 2025-04-01 09:12:27+00:00
Great question — thanks for bringing it up!

Right now, each MailTrigger mailbox requires SMTP authentication (username/password), so unless someone has the correct credentials, they can’t inject messages. That gives us a basic layer of protection against spoofing from the SMTP side.

For forwarded emails (e.g. from Gmail), we do validate SPF, DKIM, and DMARC on inbound messages. Each mailbox acts as a gated endpoint — only verified senders are allowed to trigger actions.

As for pricing — you nailed it, we’re still working that out. We have a few rough ideas, but I’d genuinely love to hear what kind of pricing model would feel fair or sustainable to you.

Would you lean towards usage-based (like number of messages/month), flat monthly per mailbox, or something else entirely? Have you seen pricing models you liked (or didn’t) in similar tools like Zapier or SendGrid?

Your feedback’s incredibly helpful at this stage — really appreciate it!
by paulluuk | 2025-04-01 09:12:53+00:00
I'm also curious about this -- I'm pretty sure that I think actual words at about the speed at which I can speak them. I can not speak 3000 words per minute.

I also have my doubts about the numbers put forward on reading, listening and speaking. When reading, again I can read words about as fast as I can speak words. When I'm reading, I am essentially speaking out the words but in my mind. Is that not how other people read?
by TeMPOraL | 2025-04-01 09:13:03+00:00
It's easier up until it's time to drop you off, and the selected dropoff point is suboptimal or plain impossible to stop at, and you want to give the car last-minute directions. Then the traditional, "human driver way" of looking out the window and telling them where to go based on what you see is far superior than trying to perspective-switch between the 3D situated view and imprecise, finicky 2D map interface.
by trhway | 2025-04-01 09:13:28+00:00
> it's a trial run for "Night and Fog"

i think it isn't a trial run, it is just a natural progression of things when the power becomes more and more unchecked.

There is already 3rd term talk - Vance runs, Trump as VP on the ticket, Vance resigns after winning and voila. That way he can also do 4th and if medical science progresses well - 5th, etc.
by oneeyedpigeon | 2025-04-01 09:13:29+00:00
I live in the UK and this is simply not true. The Guardian is left-wing, for sure, in the sense that it is left of center. But it is not generally regarded as "very left-wing", nor are many of its columnists.

Public comments on newspaper sites are a very poor judge of the newspaper's political position. Sometimes, even Daily Mail comment threads skew left!
by jajko | 2025-04-01 09:14:05+00:00
I would expand this to any professional sport.

I know its unpopular opinion basically anywhere, but I detest most professional sports that have enough money in them for enough time. It literally and visibly corrupts game. Football (and hockey, basketball etc.) became monopoly game long time ago. Cycling became much worse re doping than bodybuilding ffs, literally everybody is dosing and the game is only about better evasion of newer compounds from ever-evolving tests. And so on.

There is very little former spirit of why games like olympics started. Just read about first few olympics how they were done. Very respectable achievements even if not the best times. But times should be largely irrelevant, it should be way more about team efforts, camaraderie, and internal motivation. Now its just chasing sponsors, promotions, routing to instagram accounts in bikinis for female athletes. I get it, it generates tons of cash, but I do sports and like them for sports, nothing else.

In contrary I still love sports cca on fringe, where sportsmen do it more for the love of it than anything more pragmatical. Thats real passion, not manufactured ones with big redbull or adidas logos all over the place and contracts running in millions or more.

When I extend it to personal level - I like running just by myself, no watch to track me. I know how much effort I do, every sporty person does very well. I don't care about my times, laps, energy spent, progression, getting better every week and so on. That's not a good reason to do it and sustain long term (apart from unhealthily competitive persons but thats another story).
by facile3232 | 2025-04-01 09:14:14+00:00
> Generating a single image at 1024x1024 resolution with Stable Diffusion on my PC takes somewhere under a minute at a maximum power draw under 500W

That's insane, holy shit. That's not even a very large image.

Apparently I was off on my estimates about how power hungry gpus are these days by an order of magnitude.
by alexdoesstuff | 2025-04-01 09:14:20+00:00
Reading through the source [1] they basically get to that huuuuge number by including AI-enabled devices such as phones that have some AI functionality even if not core to their value proposition. That's basically reclassifying a big chunk of smartphones, TVs, and other consumer tech as GenAI spending.

Of the "real" categories, they expect: Service 27bn (+162% y/y) Software 37bn (+93% y/y) Servers 180bn (+33% y/y) for a total of $245bn (+58% y/y)

That's not shabby numbers, but way more reasonable. Hyperscaler total capex [2] is expected to be around $330bn in 2025 (up +32% y/y) so that'll most likely include a good chunk of the server spend.

[1] https://www.gartner.com/en/newsroom/press-releases/2025-03-3...

[2] https://www.marvin-labs.com/blog/deepseek-impact-of-high-qua...
by globular-toast | 2025-04-01 09:14:31+00:00
After my initial surprise that teams have their own bats (presumably they don't have their own balls, though?), F1 was the first thing that came to mind. I don't follow F1 closely but I understand there is a constant struggle between allowing constructors to innovate (and thus having the constructors' championship in addition to drivers') and keeping the sport both fun and safe.
by andrewingram | 2025-04-01 09:14:58+00:00
Yeah, I think both these are true:

1. React is bigger and slower than it needs to be. There are likely better choices today. 2. Most websites will be bigger and slower than they need to be due to the endless September of new devs, and the rarity of being given space to focus on size/performance. As React is popular, it means even if React was tiny and fast, these websites would still be slow.
by vakkermans | 2025-04-01 09:15:36+00:00
I appreciate the attempt at making sense of conversational interfaces, but I don't think natural language as a "data transfer mechanism" is a productive way of doing it.

Natural language isn't best described as data transfer. It's primarily a mechanism for collaboration and negotiation. A speech act isn't transferring data, it's an action with intent. Viewed as such the key metrics are not speed and loss, but successful coordination.

This is a case where a computer science stance isn't fruitful, and it's best to look through a linguistics lens.