MurphyA/hacker-news huggingface dataset:
by CharlieDigital | 2025-10-06 15:57:20+00:00
> But I haven't used source generators in C# in at least 10 years, and I honestly don't know why anyone would at this point.

A challenge with .NET web APIs is that it's not possible to detect when interacting with a payload deserialized from JSON whether it's `null` because it was set to `null` or `null` because it was not supplied.

A common way to work around this is to provide a `IsSet` boolean:

private bool _isNameSet; public string? Name { get; set { ...; isNameSet = true; } }

Now you can check if the value is set.

However, you can see how tedious this can get without a source Generator. With a source generator, we simply take nullable partial properties and generate the stub automatically.

public partial string? Name { get; set; }

Now a single marker attribute will generate as many `Is*Set` properties as needed.

Of course, the other use case is for AOT to avoid reflection by generating the source at runtime.
by johnnyanmac | 2025-10-06 15:57:23+00:00
we didn't get here in a day, or even a decade. So it won't be solved overnight.

But sure, in the ideal world:

1. Call every bluff Trump makes. Do not capitulate to anything. Drown him in lawsuits. He's lost at least a 3rd of the DOJ so they cannot handle suing every company, college, and state at once.

2. Anyone in a red and especially purple states, make it a habit to call your represenatives every day. emails can (and probably will be) ignored. Don't let their lines be anything but people telling these congressmen to knock it off and actually do their jobs. Collorary: anyone in a blue state calls in and makes sure their congressmen know they need to also resist, fight back, and not capitulate.

3. If you can, townhalls are even better than calling. If you see the local townhalls you know this scares the GOP congressmen stiff.

4. if you see federal agents in the wild, always be recording. The truth is the beth antidote to corruption. Make sure you livestream as well so they can't just seize your phone. The more live feed out there the harder it is to spin.

5. heck, if we're really dreaming big we plan some general strike. Shut down the country for a day and you'll have everyone reeling to try and backpedal.

Varying levels of realism there, but the theme is clear: resist and make sure others resist. They can't ignore us all if we work together. But that "working together" in such a hyper-individualistic society is the hard part. It may just be more realistic to wait until someone dies or midterms happen.
by the_jeremy | 2025-10-06 15:58:24+00:00
> * Utterly useless to people who have no clue what they're doing

I disagree.

I'm making a board game of 6 colors of hexes, and I wanted to be able to easily edit the board. The first time around, I used a screenshot of a bunch of hexagons and used paint to color them (tedious, ugly, not transparent, poor quality). This time, I asked ChatGPT to make an SVG of the board and then make a JS script so that clicking on a hex could cycle through the colors. Easier, way higher quality, adjustable size, clean, transparent.

It would've taken me hours to learn and set that up for myself, but ChatGPT did it in 10min with some back and forth. I've made one SVG in my life before this, and never written any DOM-based JS scripts.

Yes, it's a toy example, but you don't have to knwo what you're doing to get useful things from AI.
by lucianbr | 2025-10-06 15:58:24+00:00
Where is this other $300B coming from? Is OpenAI paying AMD $400B or what? I looked at the article but it seems disjointed and hard to parse for me. And I don't see where it mentions some $400B coming to AMD one way or another. It's implied... how?

Sorry, this isn't sarcasm or anything like it. I just don't get it and your answer does not help.
by AlexandrB | 2025-10-06 15:58:57+00:00
That's just the first-order effects. Ads inevitably corrupt the mediums they exist in. The canonical/obvious example is cliffhangers before ad breaks in shows intended for broadcast TV. I don't think it's a coincidence that the era of "prestige TV" started on HBO and other ad-free networks that were not constrained by making room for ad spots in their scripts.

We'll see how ads will warp gaming as ad-based monetization proliferates, but given that it's an interactive medium it could be very intrusive.
by roncesvalles | 2025-10-06 15:59:03+00:00
And their value prop that you need expensive hard-to-find AWS DevOps Engineers to run your AWS infra is just fear-mongering.

I think people vastly overestimate how hard it is to learn AWS. It may seem daunting at first but it only takes like a week -- one good YouTube series to cover the basics like IAM, and a lot of playing around with the GUI console, CloudFormation, and pestering support till it all clicks. Multiple backend devs in your team should be able to own your CloudFormation/Terraform scripts and your cloud infra. I basically did exactly this in my new grad SWE job.

Just fucking learn it. You don't need to hire someone for every little thing. Don't treat AWS like some complex arcane machine that only a 3x AWS-certified "Cloud DevOps Engineer" with 10 years of experience should touch. And for the love of God don't add more 3rd party layers like TFA. Most of the world is raw-dogging AWS, why is your company an exception?
by ntoskrnl_exe | 2025-10-06 15:59:03+00:00
It's rooted in what smartphones are and have been since 2007, locked-down rectangles where the user has minimal control over the software. On a PC anybody can install anything, be it a program or operating system, this wouldn't be an issue if smartphones worked the same way.

I'm afraid it's only a matter of time before somebody tries to extend this to the world of computers.
by BobaFloutist | 2025-10-06 15:59:16+00:00
> Why are we being "fair" to a machine?

We aren't, that turn of phrase is only being used to set up a joke about developers and about Unicode.

It's actually a pretty popular form these days:

a does something patently unreasonable, so you say "To be fair to a, b is also patently unreasonable thing under specific detail of the circumstances that is clearly not the only/primary reason a was unreasonable."
by hedora | 2025-10-06 15:59:22+00:00
I haven’t seen these problems at much larger scales than are being discussed here. I’ve heard of people buying crappy nfs filers or trying to use the Linux server in prod (it doesn’t support HA!), but I’ve also heard of people losing data when they install a key value store or consensus protocol on < 3 machines.

The only counterexample involved a buggy RHEL-backported NFS client that liked to deadlock, and that couldn’t be upgraded for… reasons.

Client bugs that force a single machine/process restart can happen with any network protocol.
by dijit | 2025-10-06 16:00:09+00:00
I think you're still missing the main point, and the Daniel Penny case perfectly illustrates it.

You're arguing that statistically, a number of deaths from random attacks or involving mental illness occur every day, which is true for a country the size of the US. But newsworthiness is not based on raw numbers; it's based on narrative friction.

The Daniel Penny case became a national flashpoint not because a man died, but because it created a political crisis for the media and political establishment. The victim was Black, the assailant was a white former Marine, and the incident raised questions about public safety and vigilantism in a major Democratic city. This was a story that fit the national, race-and-politics-driven script, so it received instant, wall-to-wall coverage, and a $2.9 million legal defense fund was raised internationally.

The Iryna Zarutska case created a different kind of political crisis; one that did not fit the pre-approved progressive script and was potentially "toxic" for the establishment's narrative (an innocent white refugee killed by a Black man who reportedly made a racist remark). This is why the coverage was perceived to be slow-walked.

Both cases became newsworthy because of their political utility or lack thereof. My initial argument stands: the fury over the Zarutska case was about the perceived attempt to downplay a narrative that made "their side" look bad. The media's visible selectivity is precisely why people are driven to "untrustworthy" sources in the first place.
by floundy | 2025-10-06 16:00:13+00:00
Lmao, any comments critical of the piece are being flagged immediately, faster than anybody can even write a reply to them. Remind me again how HN isn't just Reddit-lite? This is a political soapbox piece falsely equivocating the author's opinions with facts and reasonable interpretations. Google also deleted ICEBlock, where's Doctorow's "Google's Unlawful Evil" piece? Did anybody seriously still think that mega tech companies are anybody's friends?
by legitster | 2025-10-06 16:00:14+00:00
This reminds me of that incident in 2015 where two police officers were shot and killed in a targeted stack after someone tracked them down using Waze. Police unions put a bunch of pressure on Google to remove the police tracking functionality.

So on one hand, there is a legitimate precedent to be concerned about this being used for targeted attacks. But also Google never caved to pressure in that situation, and the benefits and legal rights seem much more important than the risks.
by xpe | 2025-10-06 16:00:27+00:00
>> (me) The NIST report, of course, implicitly promotes ideals of western democratic rule over communist values

> (antonvs) If only that were true.

Using a charitable reading of your comment, it seems you are actually talking about the effectiveness of NIST, not about its mission. In so doing, you were not replying to my actual claim. If you read my sentence in context, I hope it is clear that I'm talking about the implicit values baked into the report. When I write that NIST promotes certain ideals, I'm talking about its mission, stated here [1]:

> To promote U.S. innovation and industrial competitiveness by advancing measurement science, standards, and technology in ways that enhance economic security and improve our quality of life.

This is explained using different words in a NIST FAQ [2]:

> Everything in science and technology is based on measurement. Everything we use every day relies upon accurate measurements to work. NIST ensures the measurement system of the U.S. meets the measurement needs of every aspect of our lives from manufacturing to communications to healthcare. In science, the ability to measure something and determine its value — and to do so in a repeatable and reliable way — is essential. NIST leads the world in measurement science, so U.S. businesses can innovate in a fair marketplace. We use measurement science to address new challenges ranging from cybersecurity to cancer research.

It is clear NIST's mission is a blend of scientific rigor and promotion of western values (such as free markets, free ideas, innovation, etc). Reasonable people can disagree on the extent to which NIST achieves this mission, but I don't think reasonable people can deny that NIST largely aims to achieve this mission.

My take on the Trump and his administration: Both are exceptionally corrupt by historical standards. They have acted in ways that undermine many of the goals of NIST. But one has to be careful to distinguish elected leaders and appointees from career civil servants. We have to include both (and their incentives, worldviews, and motivations) when making sense of what is happening.

[1]: https://www.nist.gov/about-nist

[2]: https://www.nist.gov/nmi
by sudosysgen | 2025-10-06 16:01:02+00:00
> Iran hasn't been neutralised. It was just reduced to a non-threat during the war. Of course it maintains future capabilities that could be threatening.

I wouldn't call 10 ballistic missiles hits in a day a non-threat. If they were accurate that's a significant threat: enough to disable all BMD radars in a day, and over a week to disable airbases.

The most important factor that made them less threatening is the lack of pinpoint accuracy, and that is not something that changed over the course of the war.

> Why not? It's an information war.

Getting caught using fabricated imagery is inevitable within a couple days, so that's not something you'd want to do in an information war if you are looking for long term effect, unless you have to.
by kordlessagain | 2025-10-06 16:01:12+00:00
ӨӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨӨӨӨӨӨӨӨӨӨӨӨ ӨӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨӨӨӨӨӨӨӨӨӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨ ӨӨ ӨӨ ӨӨ ӨӨ ӨӨӨӨӨӨ ӨӨ ӨӨ ӨӨӨӨӨӨ
by beaker52 | 2025-10-06 16:01:18+00:00
Of course.

And perhaps? For me, the reward comes from the learning. (Who would have thought, being a software engineer by trade).

Luckily my brain has a self-invalidating cache, but my home, not so much. Perhaps I will find the right hobby, but it should not be something that involves the accumulation of things, because the things weigh a hidden cost of possession. It’s this hidden cost that hurts, like a tax, an inefficiency of the mind, or being. It’s insidious because it’s almost impossible to attribute the friction with the possession, because you’re often not actively dealing with it, but it’s there. It’s like, you know you have 32gb of RAM, but for some reason you’re only working with 20gb but you can’t inspect what’s stealing the other 12gb. It’s only after removing things from disk, do you start to see the RAM getting freed up, and then you begin to appreciate the extra mental resources.
by robotresearcher | 2025-10-06 16:01:22+00:00
Perhaps someone could release a source code app that fills this gap.

Apple provides the tools to sideload software you build from source in Xcode, whether it’s your own code or someone else’s.

You have to use a Mac, and with an unpaid account there are limitations like app signing timing out after a week.

It’s much more hassle than the App Store, but you can run whatever you want for free if you build it yourself.

I know it’s not the same as ‘download app and tap on it’, but it’s possible. iPhone developers do it all the time.
by Aurornis | 2025-10-06 16:01:49+00:00
> The "genius" of this deal is that AMD is "giving away" 10% of the company (at $0.01/share) to OpenAI.

There's no giving away of anything in the deal. The $0.01 per share price is only available if they purchase the GPUs.

It's more like one of those "free with purchase" deals where you're still paying for the product, but they throw in something to sweeten the deal.

They're not actually getting AMD shares at $0.01 each with no strings attached like many of the comments are assuming.
by troupo | 2025-10-06 16:01:59+00:00
You can't have an article that is 100% one content and at the same time 100% the other content.

It's an article criticizing Apple for caving in to dictatorial demands, and for other failures. It's not an article on government failures.

And it's not an article that claims that government needs more guns as you claim that every article is.
by karmelapple | 2025-10-06 16:02:45+00:00
Just like the ideal political candidate to vote for generally does not exist for anyone, the ideal company with perfect stances and behavior on everything generally does not exist.

So yes, scale back your purchasing, but as you said: the options are limited, just like political candidates. Choose who matches up best with you, support them, but unlike your relationship to Apple, political participation has a VERY different piece.

You can't just show up and start influencing policy at Apple headquarters.

But you CAN just show up to some local organizing meetings of local grassroots organizations and political parties and influence things. You can have a direct impact, and these groups are usually small enough with few enough participants in your town that you WILL have a decent impact.
by intothemild | 2025-10-06 16:02:50+00:00
No. You're not being sarcastic here. PFs config files can't really be any more complicated or easier in json than in its native form.

So, other than validation or something... Which, if you are already parsing the file into json and back again... Means you already can parse pf.conf files, and just do validation directly there.

So if it's just backing up, then yeah why add the extra step of converting the file before backing it up
by gopalv | 2025-10-06 16:02:53+00:00
> Clearly useful to people who are already competent developers

> Utterly useless to people who have no clue what they're doing

> the same way that a fighter jet is not useless

AI is currently like a bicycle, while we were all running hills before.

There's a skill barrier and getting less complicated each week.

The marketing goal is to say "Push the pedal and it goes!" like it was a car on a highway, but it is a bicycle, you have to keep pedaling.

The effect on the skilled-in-something-else folks is where this is making a difference.

If you were thinking of running, the goal was to strengthen your tendons to handle the pavement. And a 2hr marathon pace is almost impossible to do.

Like a bicycle makes a <2hr marathon distance "easy" for someone who does competitive rowing, while remaining impossible for those who have been training to do foot races forever.

Because the bicycle moves the problem from unsprung weights and energy recovery into a VO2 max problem, also into a novel aerodynamics problem.

And if you need to walk a rock garden, now you need to lug the bike too with you. It is not without its costs.

This AI thing is a bicycle for the mind, but a lot of people go only downhill and with no brakes.
Show HN: Stat – a social platform where everything is a poll
by kyryl_shulga | 2025-10-06 16:03:00+00:00
I made Stat. A social platform centered around polls.

What it offers:

Create polls with instant feedback Filter results by demographics (age, gender, country, etc.) Add a short blog-style post to each poll Question and discuss surprising or funny results

Visualize opinions with clean charts Most survey tools feel too heavy for quick insights. I wanted something lightweight and social, where opinions can be explored and compared in real time.

Curious how you’d use a platform like this (research, blogging, product testing, casual fun)? What features would make it engaging without turning it into just another social network?
by xorvoid | 2025-10-06 16:03:14+00:00
Same. I am (1) Moving to GrapheneOS. And (2) exploring other alternatives such as PostmarketOS for when Google makes it impossible for Graphene to operate. And (3) even pairing down my smart phone usage entirely.

But I'm also thinking a lot about the impact on ordinary non-tech-literate folks. They really don't have great options. I think we need some serious technical focus into FOSS and freedom-respecting alternatives

Reach out and let's talk.
by swiftcoder | 2025-10-06 16:03:20+00:00
Steam hardware survey suggests <15% of gaming PCs are running a high-end GPU. I'm defining "high-end" as "outperforms a top tier integrated GPU", which makes it 3070/4070/5070 or above on the NVidia side of things.

That's a rough upper bound of 20 million on the whole market, and NVidia + AMD already have it buttoned up - a newcomer can expect to attract a tiny fraction thereof

But I think more importantly, you can see this in NVidia's focus. Most of their profits are not in the gaming space anymore.
by metalman | 2025-10-06 16:03:25+00:00
vote was unanimous in both of Utah's legeslatures and the bill allows for other systems like wind ,up to 1.2kw, which is quite small, but there will be presure to allow for whole home systems, imediatly, which of course, they know. also, I am sure thatdetermined and interpid people can get any system aproved as long as they can show that it meets the engineering requirements for a safe and reliable system, as all the pieces are there, and proven in many juristictions now.
by tracker1 | 2025-10-06 16:03:43+00:00
https://marco.org/2013/10/25/linkedin-intro-insecurity

I don't recall all of the specific details, but I just remember reading about it at the time and how they bypassed some of iOS security protections to do it. Adn that they didn't get perma-banned from the various app stores back then is beyond me. It's a huge part of why I avoid installing apps on my phone in general.
by tracker1 | 2025-10-06 16:03:52+00:00
https://marco.org/2013/10/25/linkedin-intro-insecurity

I don't recall all of the specific details, but I just remember reading about it at the time and how they bypassed some of iOS security protections to do it. Adn that they didn't get perma-banned from the various app stores back then is beyond me. It's a huge part of why I avoid installing apps on my phone in general.
by chermi | 2025-10-06 16:04:04+00:00
Subsidies are part of the reason. Definitely not the whole reason, but part of it The Chinese provinces pump a bunch of money in to try to make their region's car manufacturers succeed. And every province is doing it. So you have a bunch of carmakers competing for market while being kept alive, so they do the most rational thing possible to gain share: lower prices.

Of course, they're also just good at building things since they do so much of it. And cheaper labor. Much better supply chain.
by snovymgodym | 2025-10-06 16:04:05+00:00
Yeah you clearly don't have "no clue" of what you're doing in this example though.

You're someone who knows the difference between a PNG and an SVG, knows enough Javascript to know that "DOM-based" JS is a thing, and has presumably previously worked in software/IT.

You're smart enough to know things, and you're also smart enough to know there's a lot that you don't know.

That's a far cry from the way a lot of laypeople, college kids, and fully nontechnical people try to use LLMs.
by marcosdumay | 2025-10-06 16:04:20+00:00
From your source, it's "at least 4 times more expensive", while at the same time it doubts the correctness of the numbers on large-scale plants and thinks it's too low.

Besides, it's all numbers from 4 years ago, when people weren't all putting solar panels on their balconies. And the report about gains from scale mention things like the lack of tracking in small scale installations, that the large-scale ones haven't used for many years now. So propose that your numbers are all wrong.
by c-hendricks | 2025-10-06 16:04:51+00:00
(no offense, I'm probably missing something)

Isn't running tasks in various folders kinda low hanging fruit for monorepo tasks? I've wanted a language/CI agnostic `monorepo-build-tool` build tool for a while, and getting something that allows for `monorepo-build-tool run-affected -- script/test` was one prompt to an LLM.

The bigger problem is caching and determining which projects need to be run when calling `run-affected`.
by Lammy | 2025-10-06 16:04:57+00:00
This is outdated information. These issues have been solved by various BitTorrent Enhancement Proposals. You do create a new torrent, but you distribute it in a way that to a swarm member is functionally equivalent to updating an old torrent. Check out BEP-0039 and BEP-0046 which respectively cover the HTTP and DHT mechanisms for updating torrents:

https://www.bittorrent.org/beps/bep_0039.html

https://www.bittorrent.org/beps/bep_0046.html

If that updated torrent is a BEP-0052 (v2) torrent it will hash per-file, and so the updated v2 torrent will have identical hashes for files which aren't changed: https://www.bittorrent.org/beps/bep_0052.html

This combines with BEP-0038 so the updated torrent can refer to the infohash of the older torrents with which it shares files, so if you already have an old one you only have to download files that have changed: https://www.bittorrent.org/beps/bep_0038.html