MurphyA/hacker-news huggingface dataset:
by ekidd | 2025-09-17 11:21:23+00:00
"Sum types" (aka "Rust enums") are something that I've really come to love for representing the idea "There are 3 possible cases here, here's the data we need in each case, and please remember that these cases are strictly mutually exclusive."

Making this super easy and short to express makes a lot of designs clearer.

There's also an interesting tradeoff here between sum types and abstract interfaces:

- Abstract interfaces: "We have an unknown number of cases/subclasses, but they each support this fixed set of methods." The set of implementations is open, but the set of operations is harder to update.

- Sum types (aka Rust enums): "We know all the cases, but there may be many different methods." The set of cases is harder to extend, but the set of methods manipulating them is completely open.

A good example of the latter pattern is actually LLVM! LLVMs' intermediate representation is a essentially a small assembly language with a fixed set of operations (and an escape hatch). But because the set of basic instructions is small and known, it's possible to write dozens and dozens of optimization passes that each manipulate that small set of instructions.

And a surprising number of programs work well with an LLVM-like structure.

So in a language like Rust, which supports both abstract interfaces (via traits) and sum types (via enums), the tradeoff is whether you think you have many different types of values that you'll manipulate in a limited number of ways, or a small number of types of values that you'll manipulate in many different ways.

(Oh, and the metaphor of "algebraic types" goes deeper than you might think; there are some super interesting data structures based on taking the "derivatives" of simple algebraic types.)
by zelphirkalt | 2025-09-17 11:21:50+00:00
My current project? Not sure what that has to do with the discussion, but my current project uses only a tiny bit of JS and has a fallback for users who don't run JS. It is a few pages taking a file to upload and the all the actual sauce is in the backend, and it is rendering templates.

So I simply avoid the whole problem altogether in my current project. But aside from the JS stuff, the backend is in Python and I avoid adding dependencies from PyPI wherever possible. For example I had the choice of going with Pydantic and dataclasses and whatnot, but I resisted that, and came up with a quite minimalistic way to type check JSON documents, that is contained in one short module and easily extensible. Does it go to the same length as pydantic? No, it doesn't. If it did, I would be a genious. But it is quite sufficient for type safety in my project.

Keeping things simple is possible, if we set our minds to it. Sometimes one cannot avoid a big dependency, sure, but in many cases we actually can! We just need to beat that beast of habit of quickly adding a familiar dependency without thinking about the cost.
by m101 | 2025-09-17 11:22:21+00:00
I think the history of this is something like:

- it was an expensive vaccine

- it was therefore initially introduced to women as a cervical cancer thing

- HPV however hits men at around half the cancer rate of women but through throat cancer

Or something like that. So actually the benefit to men is of a similar order of magnitude as that to women but it was just given to women to save money. Every child should be given it.

Edit: Total Rate (of HPV caused cancers) in Women: Approximately 15.9 cases per 100,000 females per year.

Total Rate in Men: Approximately 9.3 cases per 100,000 males per year.

Edit 2: Severity-Adjusted HPV Cancer Burden:

When adjusted for the severity and impact on life, the relative burden of HPV-related cancers shifts. Cancers with higher mortality rates and more debilitating treatments, like oropharyngeal cancer, carry a heavier weight.

Total Burden in Men: Approximately 135 DALYs per 100,000 males per year.

Total Burden in Women: Approximately 125 DALYs per 100,000 females per year.
by clbrmbr | 2025-09-17 11:22:26+00:00
It depends on the domain. There are a lot of critical utilities in the systems space maintained by volunteers. The “xz” compression library was one recent infamous example where an exhausted volunteer maintainer was social engineered into a supply chain attack that briefly compromised OpenSSH.

Not a lot of applications being maintained by altruists, but look under the hood in Linux/GNU/BSD and you fill find a lot of volunteers motivated by something other than money.
by tarsinge | 2025-09-17 11:23:54+00:00
On the hiring side too, and I really don’t understand the fake resume with AI trend. How can they possibly think they’ll pass the interview? Because when I’m hiring I find it very easy to spot someone lying when questioning to go into the details of past experiences. Maybe they are betting on a broken process? Maybe you can pass (dumb) HR filters with lies, but not real interviewers, at least from what I do and have seen.
by copperx | 2025-09-17 11:24:16+00:00
The Walgreens pharmacist scolded my 35 year old girlfriend for getting it, saying that it was useless at her age. She insisted and he reluctantly administered the first dose (and later got the rest at another location). He even questioned her motives for getting it once she was in the room. I was appalled by the whole interaction.

Maybe I could have understood if I had said she was my wife. But it is still stupid to assume that there will be no other sexual partners ever again in her life.

With the prevalence of HPV, it's likely that we have one or more strains already, but who knows. Maybe the strain of a future partner is what will trigger cancer.

If anyone here can enlighten me about the pharmacist's attitude, I would be grateful.

I got vaccinated way before I met her, and even as a male I didn't get any comments from the pharmacists that gave me the shots.
by modo_mario | 2025-09-17 11:24:37+00:00
>If Britain had not committed the grave crime of colonialism and imposed it's language on the globe people from far flung places might not now be colonizing britain.

If that were the defining line you'd see it for a lot of places and contexts other than just the west no?. Including let's say the arab empires but berbers and co aren't "recolonising" north africa let alone Saudi Arabia or Yemen and the Ful, Masalit, etc are continuing to be wiped out in Sudan rather than Sudan being taken over by non arabs.
by AndyAsm7 | 2025-09-17 11:24:39+00:00
AIgoNotes - AI Note Taker AIgoNotes makes meetings and learning more productive—record, transcribe, and summarize everything from business meetings and interviews to classroom lectures, podcasts, YouTube videos, and PDFs, so you can focus on what matters most.

Who Uses AIgoNotes? Professionals: Capture meeting minutes, action items, and client discussions Students: Record lectures, review key points quickly, and reinforce memory with quizzes Researchers & Journalists: Transcribe interviews and summarize papers accurately Everyone: From voice memos to online content, AIgoNotes handles it all

Key Features One-Tap Recording & Transcription — Accurate notes with speaker labels AI Summaries & Key Points — Not just a transcript, but clear summaries of the main ideas Smart Q&A — Ask AI questions like “Who’s responsible for the budget review?” Boost Productivity — Quickly grasp meeting highlights by skimming summaries Export & Share — Save as PDF, share with your team, or keep for personal use Flashcards & Quizzes — Turn your notes into effective learning tools

Supports Multiple Input Types — Audio, video, images, PDFs, and text Multiple Templates — Choose note templates for different scenarios Multi-Language Translation — Instantly understand content in any language Private & Secure — Your data stays safe and never shared Make meetings more productive, learning easier, save time, and never miss a detail—AIgoNotes is your all-in-one AI note assistant.
by inglor_cz | 2025-09-17 11:24:46+00:00
I don't believe that any medication is completely safe, but I am fed up with all the "Gates puts 5G chips in vacciness in order to sterilize humanity" kooks who are the flag-bearers of the entire movement, and I am also fed up with the somewhat less crazy people marching behind them, who nevertheless cling to the long discredited Wakefield paper and scream 'autism, autism!'

The fraudulent Wakefield paper may be one of the most destructive pieces of information released upon mankind.
by never_inline | 2025-09-17 11:24:53+00:00
> by-product of Java's strict type system

1. Lack of first class functions till Java 8 is one reason old APIs are horrible with inheritance and reflection everywhere. You had to extend class and override methods even for simplest of tasks.

After Java 11 the code is much more succinct and functional style. But old libraries remain.

There are places where the overextensibility these libraries provide is useful. But those are few.

2. the annotation processors were late to the game - so many libraries which need to inspect object structure (such as serialization) were written with heavy use of reflection.

I will give you an example of how frameworks designed for "modern" Java look like.

Micronaut has something called Micronaut data JDBC - in which you just declare methods with few annotations eg `List<Book> queryTop10BooksByYear(int year)` and it will auto generate the JDBC + SQL code and handle injecting it into your service. The returned object can be a POJO without all the Proxy object circus ORMs come with. I haven't seen something as easy in Python yet. And all this happens in compile time with an annotation processor.
by x187463 | 2025-09-17 11:25:31+00:00
Awesome, glad you like it. The next release 0.13.0 will have a 'random_effect' option so you're not forced to handle it via shell function. It also significantly reduces the data being transferred and the CPU usage by adjusting the framerate to a more appropriate 60fps. It should perform much better on low end devices which are typically accessed via SSH such as raspberry pi's.
by cyber1 | 2025-09-17 11:25:34+00:00
Just look at this: https://pvs-studio.com/en/blog/posts/cpp/1129/ - 11 parts about C++ undefined behavior from people who specialize in finding this stuff. And that’s only the tip of the iceberg.

I use C++ daily, and it’s an overcomplicated language. The really good thing about Rust or Zig is that (mostly) everything is explicit, and that’s a big win in my opinion.

In defense of C++, I can only say that lots of interesting projects in the world are written in it.
by FridayoLeary | 2025-09-17 11:25:55+00:00
Lets address the elephant in the room. First of all, to be fair no one is ok with russia bombing hospitals. It's just that at this stage sanctions have been maxed out.

Now from watching the coverage of this war you can't help but come to the conclusion that there's an organised but invisible movement opposing the war. The various humanitarian bodies and news outlets like al jazeera and bbc all quote each other in a self reinforcing loop of anti israel talk. If it's not an organised conspiracy at least it's a very strong convergence of interests giving the impression of one.

Historically the main opposition to Israel comes from the Arabs with the European countries joining in with various levels of enthusiasm mainly for the pragmatic reason that the Arabs have all the oil.

The anti american block is also anti israel because that goes against US interests.

It's not surprising then that the UN would be completely taken over by anti israel groups. It's basic maths.

But my point is what is the historic motivation for the anti israel movements? It's definitely not out of great sympathy for the palestinians although that's definitely why most Westerners are pro palestinian, but that's just marketing.

I think i've established fairly well it all comes back to the Arabs. And their motivation without a question is genocidal anti semitism. They are just upset the Germans didn't finish off their job and they are taking everyone else along for the ride.

I'm not saying there can be no legitimate opposition to Israel, but it's my belief, backed up by a certain amount of historical evidence that most of the opposition from official sources has its roots in anti semitism.
by ricardobeat | 2025-09-17 11:26:03+00:00
> Just because you can do something doesn’t mean you should.

This implies some kind of fairness/moral contract in a license like MIT. There is none. It’s the closest thing to donating code to the public domain, and entirely voluntary.

There are plenty of standard licenses with similar clauses restricting commercial use, no need to create a custom one.

But indeed, the truth is that a restrictive license will massively reduce the project’s audience. And that is a perfectly fine choice to make.
by elp | 2025-09-17 11:26:46+00:00
I'm sure there are LOTS of issues that need to be addressed, but the demand for the chips are so high that the incentives are overwhelmingly in favor of this continuing. If the reported margins on the Nvidia chips are as high as the claims make it out to be (73+% ??) this will easily find a world wide market.

It was also frustratingly predictable from the moment the US started trying to limit the sales of the chips. America has slowed the speed of Chinese AI development by a tiny number of years, if that, in return for losing total domination of the GPU market.
by silverliver | 2025-09-17 11:26:48+00:00
This is the right answer. I'm willing to stick my head out and assert that languages with a "minimal" standard library are defective by design. The argument of APIs being stuck is mood with approaches like Rust's epocs or "strict mode".

Standard libraries should include everything needed to interact with modern systems. This means HTTP parsing, HTTP requests, and JSON parsing. Some laguages are excellent (like python), while some are half way there (like go), and some are just broken (Rust).

External libraries are for niche or specialized functionality. External libraries are not for functionality that is used by most modern software. To put your head in the ground and insist otherwise is madness and will lead to ridiculous outcomes like this.
by cedws | 2025-09-17 11:27:13+00:00
I was in a platform team using Pulumi (TypeScript) for a while. An issue I observed is that the team members with weaker programming skills were contributing not so great changes, and parts of the codebase diverged in style. The Output type also took some time for us to get our heads round and it felt awkward to work with, we were having to chain a lot of calls and had callback hell sometimes.

We were all experienced with Go but at the time the Go SDK was very awkward, although I think some of that has been resolved with generics now. TF is less expressive but I think that’s actually better for 99% of cases.
by kryogen1c | 2025-09-17 11:28:09+00:00
The technical RCA is fascinating, but im also interested in the business processes RCA.

- this sounds ubiquitous and reproducible. How did this not get fed back through tech support/RMA channels? Was there so little evidence that it wasn't correlateable, or did ASUS look and arrive at an incorrect conclusion, eg batch of bad silicon? Could it be that they had plentiful evidence and were negligent or incompetent?

- it sounds like this is plainly evident when using the machine. What is the QA process? This should not have been possible to miss?

- now that they know, what will they do?

Imo, the ceo calculus here is clear. If you're a luxury good with elastic demand, you fix the issue and fix the perception (two separate things). Multi-year, multifaceted issues like this have the potential to ruin a brand. I've bought ROG in the past, and I'm inclined to never do so again.

EDIT: on further reflection, the firmware bug itself is pretty troubling. the other bugs i get - hardware assumptions were changed, or good code was reused that didnt know or support the gpu mux, i see how those errors comes about. the method sleeping an interrupt... is awful? how did that get reviewed? what is that firmware test suite?
by conartist6 | 2025-09-17 11:28:30+00:00
I've tried making the suggestion of a standard library several times and I would consider the reaction from the standards body to be "hostile," but then again I lost a lot of faith in TC39 when I took over the future of JavaScript's core infrastructure and they didn't lift a finger to encourage me or stop me or guide me. I don't think they have even noticed at all. Given that they simply won't engage with the biggest problems facing their community, it sure feels like they are passing the wheel to me to steer the ship.
Show HN: We built Mintlify style developer docs with zero cost
by boburumurzokov | 2025-09-17 11:28:50+00:00
Mintlify Pro costs 250 USD per month. We wanted something similar (AI assistant and nice UI), but fully customizable and cheap. So we built GibsonAI docs in 1 day for about 50 USD.

How we did it:

Used Lovable for UI components + rendering MDX beautifully (Markdown stored in GitHub).

Built an AI Agent for docs using Agno + Memori → personalized Q&A and “smart educator.”

Stored embeddings in LanceDB and metadata in our SQL DB.

Bonus: We can share our reusable design templates and source code so you can deploy on Vercel (or anywhere) and skip Lovable costs.

Would love feedback on what features you would add or change?
by eqvinox | 2025-09-17 11:28:52+00:00
Next European Parliament election will be in 2029.

Edit: there was a copypaste of voting requirements here, from https://eur-lex.europa.eu/EN/legal-content/summary/voting-ri.... This is apparently wrong; you can also vote if you're not residing in the EU, only EU citizen. (I thought this was the case, and that link not saying that made me suspicious.) How it is possible that they've put up incorrect information on voting rights, I have no clue.

Actual reference, this time legal text: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A...

Any person who, on the reference date:

(a) is a citizen of the Union within the meaning of the second subparagraph of Article 8 (1) of the Treaty;

(b) is not a national of the Member State of residence, but satisfies the same conditions in respect of the right to vote and to stand as a candidate as that State imposes by law on its own nationals,

shall have the right to vote […]

So either citizenship or residency is sufficient.
by austin-cheney | 2025-09-17 11:30:01+00:00
I don’t think that is correct. VS Code developers and the TypeScript team is paid by MS. Core of React is paid by Meta, or was. Java language is paid by Oracle as is the LiberaSuite and MySQL.

Most of the Linux foundation projects, which includes Node are volunteers. Most of the Apache foundation software is from volunteers. Most NPM packages are from volunteers. OpenSSL is volunteers.

There is also a big difference between the developers who are employees on salary versus those that receive enough donations to work in open source full time.
by codeptualize | 2025-09-17 11:30:45+00:00
One interesting line in the proposal:

> Detection will not apply to accounts used by the State for national security purposes, maintaining law and order or military purposes;

If it's all very safe and accurate, why is this exception necessary? Doesn't this say either that it's not secure, or that there is a likely hood that there will be false positives that will be reviewed?

If they have it all figured out, this exception should not be necessary. The reality is that it isn't secure as they are creating backdoors in the encryption, and they will flag many communications incorrectly. That means a lot of legal private communications will leak, and/or will be reviewed by the EU that they have absolutely no business looking into.

It's ridiculous that they keep trying this absolutely ridiculous plan over and over again.

I also wonder about the business implications. I don't think we can pass compliance if we communicate over channels that are not encrypted. We might not be able to do business internationally anymore as our communications will be scanned and reviewed by the EU.
by apimade | 2025-09-17 11:30:47+00:00
Here’s a one-liner for node devs on MacOS, pin your versions and manually update your supply chain until your tooling supports supply chain vetting, or at least some level of protection against instantly-updated malicious upstream packages.

Would love to see some default-secure package management / repo options. Even a 24 hour delayed mirror would be better than than what we have today.

find . -name package.json -not -path "/node_modules/" -exec sh -c ' for pkg; do lock="$(dirname "$pkg")/package-lock.json" [ -f "$lock" ] || continue tmp="$(mktemp)" jq --argfile lock "$lock" \ ".dependencies |= with_entries(.value = $lock.dependencies[.key].version) | .devDependencies |= with_entries(.value = $lock.dependencies[.key].version // $lock.devDependencies[.key].version)" \ "$pkg" > "$tmp" && mv "$tmp" "$pkg" done ' sh {} +
by aleph_minus_one | 2025-09-17 11:30:56+00:00
> How do I vote out Ursula [von der] Leyen?

This can only be done indirectly.

Under https://www.euronews.com/my-europe/2024/11/27/which-meps-bac... you can at least find a chart ("Von der Leyen 2 Commission: How political groups voted") how the political groups in the European parliament voted regarding Ursula von der Leyen's second mandate as European Commission President.
by nxobject | 2025-09-17 11:31:31+00:00
> It's important to remember Rust's borrow checker was computationally infeasible 15 years ago. C & C++ are much older than that, and they come from an era where variable name length affected compilation time.

I think you're setting the bar a little too high. Rust's borrow-checking semantics draw on much earlier research (for example, Cyclone had a form of region-checking in 2006); and Turbo Pascal was churning through 127-character identifiers on 8088s in 1983, one year before C++ stream I/O was designed.

EDIT: changed Cyclone's "2002" to "2006".
by A_D_E_P_T | 2025-09-17 11:31:35+00:00
> proving that reality arises inside of the mind.

You've rediscovered philosophical "idealism." https://plato.stanford.edu/entries/idealism

> With the materials I have available, I can simulate parallel realities inside of a quantum computer, granting trillions in economical benefits.

Quantum computers that can simulate anything do not, as yet, exist. I would suggest you stop chatting with LLMs and seek immediate psychological assistance, and I'm not joking or trying to belittle you.
by Tade0 | 2025-09-17 11:32:01+00:00
I was considering such a device since surely those huge vents meant good thermals, right? Glad I didn't go for it.

With the ASUS I had a setup with a cooling pad where the metal grid cover was removed and the sides were sealed with foam to enhance flow from the pad's fan and only with that I could maybe get 30-45min of gameplay until throttling started.

Meanwhile the Framework has overall much higher power consumption, but still manages to whoosh all that hot air out. I can't take these companies seriously if a much smaller business that is not focused squarely on gaming is running circles around them.

My mother rocks an M1 Air which she got for pennies and it's a great all around home computer.
by LikesPwsh | 2025-09-17 11:33:15+00:00
This topic is undemocratic because it's part of the constant attempts to rephrase and resubmit the same unpopular proposal.

It's p-hacking democracy. If a proposal has 5% chance of passing just resubmit it twenty times under different names with minor variations.

It wastes time that lawmakers could spend on proposals that the public actually want.
by Yizahi | 2025-09-17 11:33:42+00:00
To see a clear and categorized list of saved sessions, for example I have 300 different saved sessions and that's not even a tenth of the hardware we have. They are categorized, so I can quickily find a specific one I need and connect to it in one click. This also mean that I can see what sessions I do not have saves and immediately go to a page with all information. Telnet sessions also live there, seamlessly. And finally I can have saved arbitrary commands, different per each session for the quick use. Especially useful with inane kilometer long k8s commands.