MurphyA/hacker-news huggingface dataset:
by tcdent | 2025-09-15 21:49:13+00:00
Ooh, great question. I don't have a good link. I would say that most of the concepts that I'm expressing come from personal experience and an interest in optimizing my own codebases for maintainability.

Pydantic is often misunderstood, and developers who aren't familiar with typesafe-python love to try to raise criticisms of it. But the way that you should think about it is that it's essentially a replacement for a built-in type system in the context of data like a dataclass. However, Pydantic takes it further by giving you serialization and deserialization that is customizable and has integrations with, for example, SQL Alchemy where you can serialize directly from your ORM. One of the major benefits that I find is that it provides common, repeatable interfaces for validation or data formatting.

Essentially, it has become incredibly popular because it provides a consistent interface that developers understand for accomplishing these common patterns.

When it comes to "leaking" derived types through things like OpenAPI specs and documentation, they don't really expose the underlying object's functionality, but they do expose the object's structure so that you can easily generate documentation that includes the expected response bodies and expected return bodies. Whether those get serialized into JSON or something else, the parameters and types and optionality of each of those is formally defined by Pydantic in a way that's straightforward for the documentation generation to interpret.

In most cases you'll disable the generated documentation links from FastAPI in production.
by dylan604 | 2025-09-15 21:49:24+00:00
That would explain the difference in experiences. My balloon was 8' diameter at launch and expanded to ~40' when it burst at ~90k'. Mine needed the radar reflector and blinky lights. They were supposed to blink at a certain rate, but we cheated and had lights blinking faster as that's all we could find for our budget/schedule.
by philipallstar | 2025-09-15 21:49:40+00:00
This is too vague. They're to make the owner(s) money by voluntary exchange of value with customers. They're not feudalism where the lord makes money off the serfs, who have no choice. It's not monarchy where..it's basically the same. It's not socialism, where the bureaucracy is enriched by the people it pretends to be a fair parent-surrogate to. It's just free interchange of value. And you can provide more value if your costs are lower.
by jauntywundrkind | 2025-09-15 21:49:49+00:00
Unfortunately the postscript to liberty being writ clear like this is quite dark. Merely a decadeatter Albert Sidney Burleson became postmaster general.

> "Has been called the worst postmaster general in American history, but that is unfair; he introduced parcel post and airmail and improved rural service. It is fair to say however that he may have been the worst human being ever to serve as postmaster general -G. J. Meyer

This guy shows up time and time again in Hochshild's amazing American Midnight, to keep careful watch over & to ban various inconvenient political, civil, labor, racial, and anti-war folks from being able to send their letters. Empowered via the 1917 Espionage Act, by a Congress where many members quite loudly vociferously argued for it for letting the government shut down the left's ability to express problems of the world and a desire for a better world. Then as now (at least at POTUS level), to wish for a better state was perceived by the right as hating America, as a form of treason, as propaganda.

Burleson solicited post offices everywhere to send him anything suspicious. He also was a frequent at Wilson's Whitehouse, and would distribute postmaster positions in return for voting certain ways on bills. But in general, banning publications is the main of his legacy as a rotten evil fucker. He banned 15 publications in the first month after passage of the Espionage Act, largely for anti-war sentiment, and sent a huge huge huge chill through what journalism was permitted.

The foes of democracy are legion and oh have mercy, the snowflakes are back in power again. At war with and trying to run out of business a press that reports after them.

Apologies for my shitty post. I'm not worthy. Please please please read American Midnight. It's insane what this country was up to 100 years ago, how lopsided & vulgarly self-dealing & unjust the power was arrayed against the left & speech & progress & peace. Hopefully this trip around to the darker side of mankind is much shorter and much less a cooption of the state for political and economic exploitation.
by 1718627440 | 2025-09-15 21:50:16+00:00
Before your comment I did not know that "woke" means something else then political behaviour of the left. I also didn't had in mind that it comes from the word "awake". I here it exclusively used in the sense I described. We don't have much black subgroups here, as far as I know, and it takes some while before terms cross the Atlantic.

Sorry that we are all misusing your term. But I think that's not a political thing, that's just language. Foreign term introduced in our language almost never mean exactly, what they meant in the origin language.

The "right" I consider myself part of (conservatism, not far right), doesn't have something against minorities. It's more resentment against "minority issues" being used to push orthogonal left ideologies. Whenever "the left" introduces some law to "free the oppressed minorities", the first people crying against it are always the interest groups of the minorities themselves. That's the case from disabled people to people with actual sexual disorders. They never want weird prescription and political flamewars, they want actual help.
by akavi | 2025-09-15 21:50:19+00:00
> I think it's more likely, drawing from biology, that we end up at a stable global population level without having to worry about moving backwards along the metrics of education, income or contraceptive access.

There's absolutely no inherent equilibrating force that will stabilize global fertility rates at replacement. Many countries have blown by replacement (the USA included) and continue on a downward trend year over year.
by epolanski | 2025-09-15 21:50:33+00:00
Imho react is to FE development what C++ is to games programming.

And I'm not saying this in a good sense.

In particular their developers demonstrate the same tendencies:

- unwillingness to leave behind all the years of experiences they've built on it. I'm not saying one should just for the sake of changing, but if you encounter certain problems, you should at least consider it

- unwillingness to really try more modern alternatives

- willingness to criticize any alternative, even stating plain wrong things about those. This also includes judging alternatives for the state they were 5/6 years ago, often on very brief experiences

- ability to deflect criticism to their favorite toy with a "skill issues" argument. Oh, it's very easy to squeeze performance, you only need to know how to get good at using useMemo, useCallback, useEffect, etc. Of course, it ain't React being the wrong tool for the problem, or having made design choices that don't fit the problem at hand. Nope, has to be skill issues.

Honestly, every time I read "React is better because X", I know there's just too much engineering nuance missing to have constructive discussions.
by Arch-TK | 2025-09-15 21:51:01+00:00
>Also, have you read the dagger.js code? https://github.com/dagger8224/dagger.js/blob/main/src/dagger...

It's 1600 lines.

I've disassembled, decompiled and reverse engineered more code than that in a day. It's JavaScript. What comments do you need? There's a bit of noise in the first 100 lines, but it's not something you couldn't figure out in half an hour if need be.

The version you linked isn't the minified version.

Edit: and yes, I did see the code before I wrote my first comment. I wanted to make sure it was in fact relatively straightforward and not some 50k line monolith.
by sebastianmestre | 2025-09-15 21:51:09+00:00
> Jevons’. Jevons’ paradox predicts that when something becomes cheaper, demand increases as the cheaper good is economically viable in a wider variety of cases.

That's just the usual behavior of any market. When prices go down, demand goes up.

Jevon's paradox specifically says when prices go down by a factor of x, demand goes up by a factor greater than x, leading to total consumption (measured in money spent) goes up.

In the context of this post we can paraphrase (replacing money with programmers) like so:

Once AI makes it so developing any piece of software takes half as many programmers, the amount of software developed will go up by more than two times, leading to a net increase in the number of programmers required.
by CharlesW | 2025-09-15 21:51:19+00:00
I've been using it for ~6 weeks, and I'm also a bit confused by the hate since it's barely changed. I'm a fan of the improved UX harmonization across form factors. My intuition is that the minor and gradual "Duploization" of macOS in Sequoia and now Tahoe foreshadows touchscreen MacBooks.
by jecel | 2025-09-15 21:51:43+00:00
"IBM had no moat around the PC." is true about the original PC and XT, but they did have 7 patents on the AT. After the PS/2 attempt didn't work out, their lawyers spent the first half of the 1990s going after the chipset makers and the second half of the 1990s getting clone makers themselves to license these patents (along with some other unrelated ones that weren't about to expire).

A quick search showed it isn't easy to find online version of these patents (because IBM has so many that even knowing these are from 1984 didn't help), but I remember that one was related to being able to split a screen into a graphics and a text part in their EGA board (though the Apple II previously did this too, but with a fixed split), one was about detecting 360KB vs 1.2MB floppy drives by seeking to track 60 and then stepping back 59 tracks and checking if we were now at track 0 (not unlike how the Apple II handled the lack of a track 0 signal, but for a different purpose), one was for the "bus master" signal in the PC AT (later ISA) bus and I can't seem to remember the other four but they were all similar in style.

So in the late 1990s you had to pay IBM if you wanted to make a PC clone (AT and up, but 8088 clones had died out in the early 1990s).
by thamer | 2025-09-15 21:51:48+00:00
> Is there a specific reason, you prefer stio servers over http servers?

Yes: the main reason is that I control which applications are configured with the command/args/environment to run the MCP server, instead of exposing a service on my localhost that any process on my computer can connect to (or worse, on my network if it listens on all interfaces).

I mostly run MCP servers that I've written, but otherwise most of the third party ones I use are related to software development and AI providers (e.g. context7, Replicate, ElevenLabs…). The last two costs me money when their tools are invoked, so I'm not about to expose them on a port given that auth doesn't happen at the protocol level.
by IncreasePosts | 2025-09-15 21:52:08+00:00
I wonder if people who do things like this and free soloing "just" have some unique wiring in their brain where they don't care about instantaneously dying because of some small mistake they make. Or, is it just a matter of continually ratcheting up the difficulty - "I did a 1 foot wave, why not a 2 foot wave, why not a 3 foot wave, etc"?
by guywithahat | 2025-09-15 21:52:08+00:00
If unionization were good Flint wouldn't have been in such a poor state it could lose clean water access. What is true is auto jobs didn't leave the US, they left Michigan, primarily for right-to-work states. The same story is true for most of the rust belt; a lot of heavy industry jobs didn't necessarily leave, they just moved to Texas or the south.

Also unions didn't get rid of 16 hour days, market competition and regulation did that. Private industry unions have been consistently behind the private market in terms of benefits. The past you're talking about never existed.
by sailingparrot | 2025-09-15 21:52:16+00:00
They are typically bigger at Nazare, but it all depends on the swell. Its not impossible for Mavericks to receive a swell that could create waves bigger than whatever Nazare has received in the last 20 years, but it's less likely.

However Mavericks is definitely the "nicer" and gnarlier wave of the two imho, Nazare is massive but has no shape, so they just surf the shoulder for 5 seconds and kick out. Mavericks has much nicer lines.
by fluoridation | 2025-09-15 21:52:21+00:00
I think that's a known quantity. Only a child would think a bag of chips is completely filled with chips. In fact, I remember first hearing about this in some science show or something; it hadn't occurred to me before then that the bags were mostly empty, it was just the way chips were packaged.

>If you can't identify when the packaging is critical to the product, why listen to any complaints?

But you can identity it. Unless this is your very first time buying the product, you more or less know what its packaging looks like. If you buy a can of soda that's half empty you wouldn't think that it's so the liquid doesn't break.

Also, I've never heard anyone complain about the size of bags of chips relative to their contents. I've heard the explanations, but not the actual complaints. Is that something people actually do?
by hunterpayne | 2025-09-15 21:52:30+00:00
If you don't live at some combination of high altitude, low latitude and low cloud cover then don't do this. You will never pay off the CO2 produced in making your installation. So it does more harm than good. This isn't true for all sites, but the large majority of where humans (especially English speaking humans) don't live somewhere where this type of setup doesn't do more harm than good.

Mexico City, Santa Fe, places like this are great for your proposed setup. Wherever you likely live, probably not.
by mgh95 | 2025-09-15 21:52:41+00:00
The chats alone are backbreakingly costly relative to the market mix of ChatGPT.

Rest of the market be damned -- combined with the poor customer mix (low to middle income countries) this explains why there has been such a push by the big labs to attempt to quantize models and save costs. You effectively have highly paid engineers/scientists running computationally expensive models on some of the most expensive hardware on the market to serve instructions on how to do things to people in low income countries.

This doesn't sound good, even for ad-supported business models.
by carlosjobim | 2025-09-15 21:53:46+00:00
You are totally comparing apples to oranges. Rent is never lower than a mortgage, not in any single place in the US or in the world. For the same unit.

What is the rent for a 1500 sqft apartment compared to the mortgage for a 1500 sqft apartment? The rent is always higher.

What is the rent for a 1500 sqft house compared to the mortgage for a 1500 sqft house? The rent is always higher.
by majkinetor | 2025-09-15 21:54:27+00:00
You are making it waaay harder than it is :)

I got this in 10 minutes and have 0 maintenance, and you want me to have account at bank A and B which can take days, if not weeks, along with the constant management. I have a life, you know.

Nah, I am gonna keep using a crypto card while my neighbor still waits for a card of the local bank 3 months later, after a tone of back&forth.
by forty | 2025-09-15 21:54:43+00:00
How is plastic on bread related with food poisoning? Here in France baguettes are wrapped in paper and are eaten within a day or two of being made (or else they get dry). if you keep them for long enough, molds will grow on it, then you see them and don't eat that old bread (even though it's unlikely to be too bad for most people, the taste is certainly not great). I'd be surprised if anyone ever got food poisoned with bread.
by s1mplicissimus | 2025-09-15 21:54:51+00:00
funny you should mention react on vite - i migrated a web-app to that setup ~3 years ago and never even considered looking back. react is still a trusty workhorse that assists me in getting things done, the ecosystem is rich (i'll take the varying quality as a given for one this size). I've been toying around with next a couple years ago, followed their development for some time, then decided they are not doing what I need. Isometric rendering turns out to sound way better than it actually is. The pain doesn't come from different programming languages on front- and backend, it comes from the difficulty of reconciling client state, server state, security etc. I actually find it helpful to have specialized languages for each side, rather than having to figure out for each piece of code wether its supposed to run on my server or in the browser.
by cosmicgadget | 2025-09-15 21:55:00+00:00
> “The whole thing is screwed up,” said John Painter, a three-time Trump voter who runs an organic dairy farm in Westfield. “We need people to do the jobs Americans are too spoiled to do.”

That seems to cover it in the words of one of the farmers. I personally wouldn't consider the article too sympathetic to them.
by dylan604 | 2025-09-15 21:55:54+00:00
> We know that better living conditions (health, income, education etc) lead to lower fertility

How do you come to this conclusion. We're seeing that our oh so clever selves have used chemicals/plastics in these nice living conditions to the point they have negative consequences on our health. Having a nice place to live with a job with a nice salary while lending to better health does not lower one's fertility. Maybe these people with the nice jobs and nice places to live are choosing not to have kids which become the reason they can't have nice things. I think you've jumped to an incorrect conclusion
by daxfohl | 2025-09-15 21:56:00+00:00
In 2025, if you're bored at work then you're probably expendable, so there's your tension.

Boring work needs automation, not tension. Free up time to work on things more valuable and rewarding. Don't assume that just because you were hired to own service X that it means you can't peek out of your box. If you get it to the point where it's self-managing, look around at other people's needs before adding artificial requirements. You'll learn more, work with more people, get more recognition, and likely be more energized by the work.
by pimterry | 2025-09-15 21:56:14+00:00
> For frida to work you need to root the device, which is impossible on ever more models

There's plenty of physical devices where it is possible, and Google publish official emulator images with root access for every Android version released to date. This part is still OK.

> there's an endless supply of very good rooting detection SDKs on the market, not to mention Play Integrity

Most of the root detection is beatable with Frida etc, mostly.

Play Integrity & attestation (roughly: 'trusted computing' on your phone, which signs messages as 'from an unmodified certified device' in a way that the server can verify, to only allow connections from known-good devices) is a much larger problem. Best hope here is that a) it creates much work for most apps to bother and b) it eventually gets restricted as anti-competitive. It's literally them charging & setting rules on their competitors for how they get a certificate which allows phones they make to function with all the Android apps on the market, and pushing app makers to restrict their apps to not work on phones from competitors who don't play ball, so I don't think anti-competition pushback here is that implausible medium term.
by strcat | 2025-09-15 21:56:43+00:00
LineageOS, iodé and /e/ are in a much different space than GrapheneOS. They greatly reduce the privacy and security of the Android Open Source Project rather than greatly improving it. They do not provide current privacy/security patches or keep all of the standard protections intact, let alone providing similar privacy and security enhancements to GrapheneOS.

https://eylenburg.github.io/android_comparison.htm is a high quality third party overview comparing them with a focus on privacy and security.

CalyxOS was not a hardened OS either, it just didn't roll back privacy and security quite as much as LineageOS.

> The long-term hope is for a non-Google Linux system with all of Android running in a sandbox (something like Waydroid), but that's not ready for everyday use yet.

GrapheneOS is a non-Google Linux distribution. Google heavily contributes to the Linux kernel and is responsible for a massive portion of the security work upstream. The same goes for LLVM, GCC and many other projects. If you have an issue with using lots Google code including as the biggest driver of security in these projects, you're going to need to avoid Linux too.

Waydroid uses an ancient Android releases and largely disables the privacy and security model. Android apps running in Waydroid are much less sandboxed than in the standard Android app sandbox. It's not a sandbox for running Android but rather a partially working way to run an insecure fork of Android on top of a less private and secure non-Android distribution at a huge cost to privacy and security. It's not a good approach and moving to a much less private and secure OS is not progress in those areas.
by yogorenapan | 2025-09-15 21:56:48+00:00
From what I can tell, the company did misuse the specific visa but it's generally a grey area that the US has historically turned a blind eye to. Given that Korea is a strong ally of the US and the project was done at the behest of Trump for reviving manufacturing, I feel like some leeway should've been given & more diplomatic means used rather than parading the Koreans around like gang members
by lysace | 2025-09-15 21:56:49+00:00
Waiting an extra year to jump on new macOS releases has been the norm for sane people for quite some time now.

It sucks if you buy a new mac which isn't supported by older macOS releases though, so maybe don't do that for a year or so. I guess you sometimes just have to put your new Apple device in storage for a year until there's functional software.
by conception | 2025-09-15 21:56:55+00:00
Usually when a company needs to send someone to another country to do training or some work for a week or two they just go as tourist because it’s incredibly expensive and time-consuming to get a proper work visa issued for them for one or two weeks. Especially if you need someone over right away to deal with an emergency so the world just sort of assumes you do that. It’s not the letter of the law but the system in place doesn’t allow for these sorts of situations.
by cosmic_cheese | 2025-09-15 21:56:56+00:00
That’s because people pulling a nice paycheck have gotten a taste of stability and don’t want to risk losing it, and this is intensified when the economy is turbulent. People making less never had stability in the first place and don’t have as much to lose.

Aside from that, it's merely observations/anecdotes, but from what I’ve seen people who have managed to achieve a massive uplift in economic status (say from minimum wage in their mid-20s → net worth north of $500k-$1m in their mid-30s) are more likely to have children than people who’ve always been wealthy. I would theorize that such individuals feel a greater degree of economic freedom, having lived at the bottom and being able to make more effective use of what they have.