MurphyA/hacker-news huggingface dataset:
by chrysoprace | 2025-10-28 02:42:24+00:00
It's in the pursuit of type inference and developer ergonomics.

The problem without them in this day and age is how do you get your backend and frontend types in sync? You can manually update your types but this is tedious and prone to error (this is what we do at work), but having type errors immediately flagged on the client when you try to use a property wrong _is nice_.

The problem in this case is that it's so opaque that you have other issues like this one. Server Functions are unfortunately a low-level API in React and so their actual implementation is left up to frameworks.
by otterley | 2025-10-28 02:42:25+00:00
> You cannot pre-emptively predict all possible bugs and race conditions. How can I create alerts for all of the failure conditions I have not thought of?

You can’t. That’s just life. The electrical and building codes didn’t start as thousand-page tomes, but as we gained experience over the course of countless incidents, the industry recorded those lessons as prescriptions. Every rule was written in blood, as they say, and now practitioners are bound to follow them. We don’t have the same regulatory framework to ensure we build resilient services, but on the other hand, nobody has died or been seriously injured as a consequence of an internet service failure.

> A better assumption is that all systems will fail, and one of the things you can do to reduce failure rate is to simplify the system.

Why not do both? However, some systems have irreducible complexity for good reason, and it is better to see whether that is in fact the case before proposing armchair prescriptions.

> Additionally, you can segment the system into shards/cells and roll out config and code changes serially to each cell to catch issues before they affect 100% of customers.

I was formerly the lead of the AWS Well-Architected reliability pillar. You’re describing an AWS design and operating principle, and many services do just that (I’m not sure about DynamoDB but it would surprise me if they didn’t). However, at the end of the day, there is a single regional service endpoint customers use.

> I am not hand waving or yelling at the clouds here. I have worked on service discovery for hyperscalars and have witnessed similar outages where the impedance mismatch between internal service discovery and DNS causes issues.

Nobody is accusing you of such behavior, but you also haven’t proposed a concretely better solution, and the one you have mentioned in other replies (Envoy xDS) isn’t built for purpose. It might work fine in the context of a Kubernetes cluster, but it’s certainly not appropriate for Internet-scale service discovery or the planetary scale edge service fabric that fly.io is building.
by bmelton | 2025-10-28 02:44:05+00:00
If you want to use any public spaces (libraries, community centers, parks) then no, you can't. Virtually every state has a prohibition on the use of public spaces that specifically prohibit discrimination on the basis of sex or gender

If you wanted to leverage the "private club" exemption per Roberts v Jaycees, then you would be disqualified from using public spaces as well, which -- my wife established a "girls who code" organization and it benefited greatly from the use of both public and lent private spaces, but she could not have done without the ability to use both as it would have been extremely cost prohibitive (and it wasn't in any way profitable anyway)
by quacksilver | 2025-10-28 02:44:55+00:00
If you are wasting time wording communication then are you doing it wrong?

I imagine the response would be looking at it briefly, seeing if it looks dangerous or reproducible and getting an AI to return a templated "PoC or GTFO" response.

The mere existence of a CVE doesn't tell anyone whether a bug is valid or not, and the security reports should be handled in the same way regardless of whether one does exist. For some odd reason people have attached value to having your name logged beside CVEs, despite it not telling you anything,
by kaashif | 2025-10-28 02:45:24+00:00
I wish that's what people did, some codebases I've seen are messes of monad transformer stacks the likes of which you've never seen.

I mean, what if you want to do IO and have mutable data structures inside a do block? I'm afraid I'm going to have to prescribe you a monad transformer. Be careful of the side effects.
by jrochkind1 | 2025-10-28 02:45:53+00:00
Have you done this? I can google or AI for the max size that postgres will allow, sure. I have googled in the past for whether this actually works well, and have gotten answers leaning towards most advice against it in real world scenarios.

So if you have experience with this and it did work well, I'm curious to hear about it! That's why i asked about if it worked well, not about the maximum size postgres allowed in various data types.

If you have no experience with it, but are just posting advice based on what AI tells you about max sizes of data allowed by pg that I can get from the same source too, then okay, fair enough, and certainly no need to give me any more of that!
by punchfunk4lyte | 2025-10-28 02:47:18+00:00
Women were marginalized for millenia. Your mother/grandmother wasn't allowed to open her own bank account until 1974. It will take a long time to correct for that. It's a ratchet from the perspective of our very brief lives.

What's the theory of harm here? If we continue educating women they may gain too much social mobility?
by acdha | 2025-10-28 02:47:18+00:00
This is one of the great parts of the web: you can tag every element with the global lang attribute and have things work the way you expect.

For example, you can have CSS generate the appropriate quotation marks even in nested contexts so you can painlessly use <q> tags to markup scholarly articles even if the site itself is translated and thus would have different nested quotation marks for, say, the French version embedding an English quote including a French quote or vice versa.

In your Reddit example, the top level page should be in the user’s preferred site language with individual posts or other elements using author’s language: <html lang=en>…<div lang=fr>
by jdlshore | 2025-10-28 02:47:34+00:00
It’s surprisingly common for managers to have no clue what’s going on in their teams. Doubly and triply so for skip-levels and higher. The reason is exactly what you’re seeing here: people will complain to each other, but not inform their manager.

One of the essential but most difficult jobs of a manager is to create psychological safety: the ability for people to raise what’s really on their mind, and to do so with the people who can act on that information.

I think you made the right call here. Telling your manager you were disappointed with their handling took courage, too. Now they can look into it further, starting with talking to the people you named.

Maybe they were just going along with you, “oh yeah, that guy’s a real jerk.” Maybe (and more likely) they didn’t raise it themselves because they’re don’t have the senior mindset you do. If your manager asks them directly, they’ll probably get a reasonably honest answer, although it’ll likely be softened a bit.

> It was also hard to get to a concrete, specific, actionable behavior change to request the difficult engineer to commit to.

Oh yeah, that’s the hell of these things. You end up playing whack-a-mole, too, because HR wants something more concrete than “don’t be an asshole,” and it turns out you can follow the letter of a PIP while finding plenty of other ways to be an asshole.
by Telaneo | 2025-10-28 02:47:39+00:00
lang="" if you don't know what language your page will be in. <html lang="en">, and then <p lang="fr"> on whatever other language content. Content from users that aren't tagged to be in a specific language doesn't really fit into this system though.

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
by yieldcrv | 2025-10-28 02:48:43+00:00
I talk to ChatGPT about topics I feel society isnt enlightened enough to talk about

I feel suicide is heavily misunderstood as well

People just copypasta prevention hotlines and turn their minds off from the topic

Although people have identified a subset of the population that is just impulsively considering suicide and can be deterred, it doesnt serve the other unidentified subsets who are underserved by merely distracting them. or underserved by assuming theyre wrong even

The article doesnt even mean people are considering suicide for themselves, the article says some of them are, the top comment on this thread suggests thats why theyre talking about it

The top two comments on my version of the thread are assuming that we should have a savior complex about these discussions

If I disagree or think thats not a full picture, then where would I talk about that? ChatGPT
by judahmeek | 2025-10-28 02:49:32+00:00
I wish you recognized the confirmation bias in your logic.

Men & women are socialized to compete in very different arenas & women are generally socialized not to compete with men.

None of that is proof that men are smarter or more talented. Men's intelligence may be more jagged than women's, but even if so, that doesn't mean 'better'.

It would mean that men & women's intelligence complements each other.
by ipaddr | 2025-10-28 02:49:33+00:00
Are you talking about:

"A significant portions of Māori land were confiscated by the New Zealand government, primarily after the New Zealand Wars of the 1860s through legislation like the New Zealand Settlements Act 1863. This process, known as raupatu, resulted in the seizure of over a million hectares of land from various iwi"

Wasn't there a Waitangi Tribunal investing breaches of the Treaty of Waitangi? Isn't there a Māori land court setup to deal with those issues?

Are there specific instances you want to refer to? We would like to understand a little more.

No one is trying to corral the black vote in the US. It generally goes to one party. It does not threaten the powerful. Black vs rich powerful isn't really an issue as many powerful people are black. Working class vs rich powerful is more of the classic stereotype.
by bawolff | 2025-10-28 02:49:54+00:00
> [1] Anybody concerned by such figures (as one justifiably should be without further context) should note that suicidality in the population is typically the result of their best approximation of the rational mind attempting to figure out an escape from a consistently negative situation under conditions of very limited information about alternatives, as is famously expressed in the David Foster Wallace quote on the topic.

> The phenomenon usually vanishes after gaining new, previously inaccessible information about potential opportunities and strategies.

Is this actually true? (i.e. backed up by research)

[I'm not neccesarily doubting, that is just different from my mental model of how suicidal thoughts work, so im just curious]
by SJC_Hacker | 2025-10-28 02:50:33+00:00
> Programming is a complex intellectual activity so it’s pretty clear that not only is there not a simple biological factor but there isn’t even a single test which would allow for there to be one. People have a wide range of skills used to find success in different areas and even if some of the low-level cognitive skills that have been speculated about such as ability to rotate 3-D shapes turned out to have a genetic component, that would be shown with something like a gender bias in people writing simulation or game engines rather than across the board

CS/EE as a field is about 80% male, depending on the year

When the pipeline is that thin, it’s hard to get an equal outcome at the professional level
by hunterpayne | 2025-10-28 02:50:47+00:00
A large dog is one of the few things that can actually prevent most break-ins.

Story time: There was a serial killer in CA a few decades ago. The police mentioned he doesn't attack homes with dogs, next victim had a small dog. Next the police mentioned he doesn't attack homes with medium or large dogs, next victim had a 30lb dog. Next the police mentioned he doesn't attack homes with large dogs. His next victim didn't have a dog. If its 80+lbs, very few people will mess with them and they will love you forever.
by SecretDreams | 2025-10-28 02:51:15+00:00
To be fair, this is week and more focused specifically on planning or intent. Over a year, you may get more unique hits to those attributes.. which I feel are both more intense indicators than just suicidal feelings on the scale of "how quickly feelings will turn to actions". Talking in the same language and timescales are important in drawing these comparisons - it very well could be that OAI's numbers are higher than what you are comparing against when normalized for the differences I've highlighted or others I've missed.
by zeroq | 2025-10-28 02:51:56+00:00
This.

I'm old enough to have a first hand experience of building a Flash website that required to load couple hundred tiny xml files for configuration only to find out that some ~300kb was taking couple of minutes to load because of limited connection pool in old http.

Back then bundling and overly complicated build steps were not yet invented, so instead of serving one large XML (which would work out of the box, as there was a root xml and certain nodes instead of having data were linking to external files) I quickly decided to implement zip compression and bundle the package that way.

Fast forward to 2025 when most devs need an external library to check if number isEven and the simplest project need a toolchain that's more complicated that the whole Apollo project.
by epicureanideal | 2025-10-28 02:52:25+00:00
TDD doesn’t ensure the code is maintainable, extendable, follows best practices, etc, and while AI might write some code that can pass tests while the code is relatively small, I would expect in the long run it will find it extremely difficult to just “rewrite everything based on this set of new requirements” and then do that again, and again, and again, each time potentially choosing entirely different architectures for the solution.
by rchiang | 2025-10-28 02:52:47+00:00
Henessey and Patterson "Computer Architecture: A Quantitative Approach" has 6 published editions (1990, 1996?, 2003, 2006, 2011, 2019) with the 7th due November 2025. Each edition would have a varying set of CPUs as examples for each chapter. For example, the various chapters in the 2nd edition has sections on the MIPS R4000 and the PowerPC 620, while the 3rd edition has sections on the Trimedia TM32, Intel P6, Intel IA-64, Alpha 21264, Sony PS2 Emotion Engine, Sun Wildfire, MIPS R4000, and MIPS R4300. From what I could figure out via web searches, the 6th edition has RISC-V in the appendix, but the 3rd through 5th editions has the MIPS R4000.

Patterson and Hennessy "Computer Organization and Design: The Hardware/Software Interface" has had 6 editions (1998, 2003, 2005, 2012, 2014, 2020) but various editions have had ARM, MIPS, and RISC-V specific editions.
by wormius | 2025-10-28 02:54:52+00:00
Oh the halcyon days of Swatch Internet Time measured in .beats (1000 .beats to a day)

https://en.wikipedia.org/wiki/Swatch_Internet_Time

I love that it's metric. One would think they'd at least give homage to 1024, but it's Switzerland so they gotta shove mod10 in our faces.
by dlivingston | 2025-10-28 02:54:54+00:00
I recently watched a debate where Curtis Yarvin argued that democracy is a mistake and the USA should be ruled by, quite literally, a CEO dictator [0].

My understanding is that he has the ear of JD Vance and other high-ranking Republicans. This terrifies me. The country I grew up in & love is dead if these philosophies take root.

[0]: https://youtu.be/irc6creOFGs
by jahsome | 2025-10-28 02:55:08+00:00
It likely doesn't account for the evolving definition of what a "close" friend actually is.

Just because Jack and Jill know a bunch of details about each others' lives owing to facebook updates or group chats, that doesn't necessarily mean they share a strong connection, at least not in the traditional sense. But I suspect they might still feel a certain connection and belonging to each other.

It used to require frequent, active, quality communication to know someone well. Now it just requires a few clicks.
by Geee | 2025-10-28 02:55:35+00:00
No, I totally agree that there's all kinds of innate knowledge, but it's very similar for humans and animals. I don't think this knowledge is intelligence. My point was that a baby is already an AGI, and it shouldn't require a lifetime of learning to become one. Also, if intelligence is just problem solving (like an IQ test) then it should be independent of knowledge.
by joshsummitt | 2025-10-28 02:56:39+00:00
We just released Faction 1.7, an open-source platform for managing penetration testing assessments at scale. Key new features: • Manager Dashboard – executive view of all assessments, custom statuses, search/filtering for program-level insights • CVE Integration – Auto-populate vulnerability details, references, and CVSS scores directly from CVE IDs • Status Workflows – Automatic assessment lifecycle tracking (scheduled → in progress → completed) with custom flexibility • Enhanced Report Editor – WYSIWYG improvements, auto figure numbering, markdown extensions for underline/centering • Expanded REST API – Programmatic vulnerability management, assessment orchestration, integration with GRC/ticketing systems Built for enterprise security teams and consulting firms managing dozens or hundreds of assessments simultaneously. We’ve focused on reducing administrative overhead so security teams can spend more time finding vulnerabilities.

GitHub: https://github.com/factionsecurity/faction Docs: https://docs.factionsecurity.com
by Telaneo | 2025-10-28 02:56:39+00:00
This breaks so hard with my own preferences it hard to believe it to be true, and relevant studies aren't all that convincing. The few websites I find that go to 150/200+ character lines are a blessing to read when I do. I only get to do this on my desktop on very odd sites or completely unstyled HTML pages (and there you don't get line-spacing, which is something I do want. I should probably write a script to fix that), and Hacker News, and I never want that to go away.

This wouldn't be the first thing I'm just weird about. Similarly, I find reading justified text to be just horrible, as I constantly lose track of what line I'm on. This one I believe has been debunked and raised as a genuine accessibility concern, but not all parts of the world have gotten around to recognising that. I'm also not a fan of serifed fonts, even in books. I'm not sure if there have been any studies made about that, as the serifs are supposed to be there to aid reading when printed on paper, but I consistently find a good sans-serif font to be better in all cases.
by zeroq | 2025-10-28 02:56:51+00:00
> not using TypeScript at this point is basically the equivalent for many people these days of saying that I use punch cards

I very much enjoy writing no-build, plain vanilla JS for the sake of simplicity and ability to simply launch a project by dragging HTML file onto a browser. Not to mention the power of making changes with notepad instead of needing whole toolchain on your system.
by fragmede | 2025-10-28 02:58:11+00:00
How precise do they really need to be? If there's 3 of a widget on the shelf in the factory, and the factory uses 1000 per day, is it crucial to know that there's 3 of them, and not 0 or 50? Either way, the factory ain't running today or tomorrow or until more of those things come in. Similarly, what's $3 missing from an internal spreadsheet when the company costs $5,000 an hour to operate (or $10 million a year). Obviously errors accumulate so the books need to be reconciled, but apl that stuff only need to be sufficiently directionally accurate with enough precision. If precision is free, then sure, but if a good enough job is cheaper? We all make that call every day.
by 827a | 2025-10-28 02:58:26+00:00
> assuming their cooling systems are a closed loop

My understanding is that the closed-loop systems are rather new; like, "we started using these things in 2024 literally because everyone's been moaning about our AI water usage" new. I'd assume that many new constructions are starting to leverage them, but its not 100%, and existing DCs would be slow to upgrade.
by mbac32768 | 2025-10-28 02:58:47+00:00
> In this setup, UML is essentially a userspace process that cleverly employs concepts like files and sockets to launch a new Linux kernel instance capable of running its own processes. The exact mapping of these processes to the host — specifically, how the CPU is virtualized — is something I’m not entirely clear on, and I’d welcome insights in the comments. One could envision an implementation where guest threads and processes map to host counterparts but with restricted system visibility, akin to containers, yet still operating within a nested Linux kernel.

At least in the first generation of UML, the guest processes are in fact host processes. The guest kernel (a userland process) essentially runs them under ptrace() and catches all of the system calls made by the guest process and rewires them so they do operations inside of the guest kernel. They otherwise run like host processes on host CPU, though.

Completing the illusion, however, the guest kernel also skillfully rewires the guest ptrace() calls so you can still use strace or gdb inside of the guest!

It's good enough that you can go deeper and run UML inside of UML.

> What’s the real-world utility here? Is UML suitable for running isolated workloads? My educated guess is: probably not for most production scenarios.

Back in the day there were hosts offering UML VMs for rent. This is actually how Linode got its start!
by canucker2016 | 2025-10-28 02:59:46+00:00
- To examine associations of step accumulation patterns with all-cause mortality and CVD incidence in persons with 8000 or fewer daily steps.

- 33 560 persons (mean age, 62.0 years [SD, 7.7]) who were engaging in 8000 or fewer daily steps and were free of CVD or cancer at baseline.

- Over an average 7.9-year follow-up (266 283 person-years), 735 deaths and 3119 CVD events occurred.

Cumulative all-cause mortality at 9.5 years decreased with bout length:

- For bouts shorter than 5 minutes, it was 4.36% (95% CI, 3.52% to 5.19%);

- for 5 to shorter than 10 minutes, 1.83% (CI, 1.29% to 2.36%);

- for 10 to shorter than 15 minutes, 0.84% (CI, 0.13% to 1.53%);

- and for 15 minutes or longer, 0.80% (CI, 0.00% to 1.89%).

Cumulative CVD incidence at 9.5 years followed a similar pattern:

- For bouts shorter than 5 minutes, it was 13.03% (CI, 11.92% to 14.14%);

- for 5 to shorter than 10 minutes, 11.09% (CI, 9.88% to 12.29%);

- for 10 to shorter than 15 minutes, 7.71% (CI, 5.67% to 9.70%);

- and for 15 minutes or longer, 4.39% (CI, 1.89% to 6.83%).
by derwiki | 2025-10-28 03:00:28+00:00
Is there’s no screenshots of it working or logs from a console showing it working, I kinda presume it won’t. In a previous role that was more front end facing (tablet experience for self driving cars), I had a few coworkers who would put out PRs that I knew could not have worked and were not tested. My nudge was “oh can you add a screenshot to the PR?” And they would realize it didn’t work and get back to me in a few days. Been dealing with this since before gen AI produced code haha.
by renewiltord | 2025-10-28 03:01:42+00:00
Not suicidal myself, but I think I'd be curious to hear from someone suicidal whether it actually worked for them to read "To whomever you are, you are loved!" followed by a massive spam of hotline text.

It always felt the same as one of those spam chumboxes to me. But who am I to say, if it works it works. But does it work? Feels like the purpose of that thing is more for the poster than the receiver.