MurphyA/hacker-news huggingface dataset:
by strogonoff | 2025-04-16 08:31:27+00:00
I have friendly relationships with a few people who have political opinions some of which are opposite to mine.

> Will the SE and sales guy work as well together if the former knows the latter donates half his commission money to organizations that help kill babies?

A friend of mine is a vegan. Anywhere he works, to him, most of his coworkers not just help kill conscious beings that have self-awareness and feel pain, they literally eat them. Does this mean talking about what you have for lunch should be banned? Does this mean he should throw a fit any time he talks to a non-vegan?

Incidentally, we sometimes have good debates about the nature of consciousness, the effectiveness of individual veganism on reducing suffering, utilitarianism and deontology, vegan food options, etc. I feel being converted and I don’t mind it.
Show HN: Trumpl.me – A daily game where you guess the real Trump quote
by elkaytea | 2025-04-16 08:32:33+00:00
Hey HN,

Sharing a simple daily web game I made called Trumpl.Me. Inspired by Wordle, it's a daily minigame which shows you 6 quotes, one real Trump quote and four fakes, and the goal is for you to pick the real one.

It's a (very silly) side project which started a maybe 2 months ago after playing around with LLMs and eventually generating fake "Trump-sounding" quotes. I was quite amused to see how well the LLM could capture his distinctive tone, which made telling reality from fiction pretty hard – and the game idea was born.

The game doesn’t require a signup or anything and doesn't collect any info (except for whatever Google Analytics collects).

It's mostly static, with a single API endpoint serving the quotes of the day from a JSON quotes "database" (pre-generated daily sets of quotes). I built everything in Plasmic, a first time for me using a no-code/low-code builder, which was an interesting experience.

It's all just for fun, and NOT meant as a political statement. I do hope that regardless off where you fall ont the political spectrum, you can have fun playing it.

I posted on a couple subreddits, but figured I'd post it here too as I would love to get a bit more feedback, especially anything related to design & UX where I had close to zero experience.

Happy to answer questions if you have any!
by mubou | 2025-04-16 08:32:40+00:00
NaN behavior in JS is defined in the IEEE standard for floating-point numbers and should be the same in any language.

Any two values can be less than, equal, greater than, or unordered. The > operation, for example, evaluates to true if its operands are greater than. Per IEEE 754, "every NaN shall compare unordered with everything, including itself." By making NaN comparisons unordered, positive comparisons always evaluate as false. "Is 5 > NaN? No. Is NaN > 5? No." Same for ==. But negated comparisons are always true by consequence; since A != B is the same as !(A == B), anything != NaN is true.

One could argue that the spec should have special-cased NaN for the == operator (which as defined is only true if the comparison is equal, and not unordered), but they did not.
by exodust | 2025-04-16 08:32:54+00:00
> needing summarization

Before we get too excited with disparaging those seeking summaries, it's common for people of all levels to want summary information. It doesn't mean they want everything summarized or are bad people.

I'm not particularly interested in "tariffs, what are they good for, what's the history and examples good or bad"... so I asked for a summary from grok. It gave me a decent summary. Concise and structured. I asked a few follow-ups, then went on with my life knowing a little more than nothing about tariffs. A win for summarized information.
by saagarjha | 2025-04-16 08:33:01+00:00
Suspending threads is generally not that expensive, especially if you don't do it very often. Like, it's not free, and don't do it every frame, but even if it takes even a millisecond (wildly overestimated) that's fine if you don't do it very often. Even if you're hitting a 120 Hz deadline.
by GianFabien | 2025-04-16 08:34:11+00:00
I guess the word "genius" (at least for me) implies Einstein or in more practical terms: Faraday, Watt, Newton, et al. Literally the hundreds of savants who propelled science and thus technology to ever greater heights.

The examples from the blog, Jobs: a genius at marketing; Musk a genius at self promotion.

I don't hear the thousands of hardworking engineers clapping only the mediocre assholes for whom the cloak of genius is a convenient CYA (cover your ass).
by constantcrying | 2025-04-16 08:34:36+00:00
Research. Which really is an interesting case study. While patents exist, most research is distributed freely, except for a fee to an intermediary for doing absolutely nothing. My ideas are, after I published them, free to use and I have absolutely no right to tell orhers what to do or don't do with this.

Even corporate funded researchers, e.g. for AI, will publish and most of the published results are not protected by patents. Everyone is free to implement someone else's research paper and use it for their own commercial application. Science is also gravitating more to open access, e.g. with arxiv for mathematics and CS. Nobody owns "the right" to some mathematical proof or concept.

Citation is of course encouraged, but plagiarism is not a legal matter, much less a criminal matter.
by Tainnor | 2025-04-16 08:35:11+00:00
Code review is actually one of the few practices for which research does exist[0] which points in the direction of it being generally good at reducing defects.

Additionally, in the example you share, where only one person knows the context of the change, code review is an excellent tool for knowledge sharing.

[0]: https://dl.acm.org/doi/10.1145/2597073.2597076, for example
by schoen | 2025-04-16 08:36:20+00:00
Signal was partly created with the use case in mind of political activists who may know each other informally, through loose social ties, and who might not always even know each other's offline identities.

It's also great for secure conversations among small groups of family and friends.

It seems right to me that the story of how to use Signal for professional collaboration within an organization is underspecified and underexplored. In other government (and some corporate) contexts there's historically a centralized PKI and centralized IT management, but Signal hasn't embraced that because you shouldn't have to trust anybody as an intermediary, and you should be able to communicate securely with anyone you choose.

I think those are the right ideals for humanity-in-general, but if you happen to be the actual government you probably can trust some parts of the government to help set up your communications security. The resulting top-down security plan may never mesh well with Signal's design, though. Imagine trying to convince the Signal developers that users should be able to opt in to trust a PKI (and maybe even opt out of trusting contacts outside of that PKI!). That would probably be a terrible decision for most Signal users, but probably a pretty appropriate decision for some government Signal users!
by ryao | 2025-04-16 08:37:21+00:00
I wonder if in a few years you will never want to write another line of Rust again like another developer I know who used to be enamored with Rust.

That said, I have not written perfect C code myself, but I have fixed a number of mistakes others made in their C code. Many of my commits to OpenZFS were done to fix others’ mistakes. A few of my commits even contained my own mistakes that I or others later caught. Feel free to inspect the codebase yourself. You should find it is a very well written codebase
by bruce511 | 2025-04-16 08:37:24+00:00
I'm upvoting you because you make a coherent argument, and votes here should be for that, not whether I agree with you or not.

I would agree he's not George Bush, much less Ronald Reagan. Nevertheless those who voted for Bush and Reagan also voted for Trump.

This has been "decades" in the making in the sense that since Obama was elected (in 2008), Republicans have embraced racism at the heart of their populist message. That swing rightward was made palatable to center republicans with a woman democratic candidate in 2016 (one not terribly well liked in democratic circles) and a black woman candidate in 2024.

While racism, and misogyny gather a bunch of votes, long-term distrust of institutions is sown, and fostered. Republican policy becomes protecting white guys, and especially old, rich, white guys.

Reagan was popular and competent, and worked for the good of America. Today's president is nothing like him, but wins because a bunch of people "vote Republican".
by rostigerpudel | 2025-04-16 08:37:26+00:00
Except what Russia states and what Russia does are only aligned when it serves Russia. Russia stopped delivering gas through NordStream 1. After that, Germany took note of the danger and decided it would do better without that dependency.

https://www.aljazeera.com/economy/2022/9/2/russias-gazprom-k...
by lompad | 2025-04-16 08:37:49+00:00
You are fundamentally misunderstanding the balance of power here.

In your mind it seems to be "those people come pleading for money so they can do research, giving it is essentially charity"- but it couldn't be further from the truth.

Most top-tier researchers can do their science anywhere. If you don't make stuff easy and comfortable enough to hold them, they'll just leave the country. A significant chunk of science spending is an attempt to bribe researchers to stay. Drop that and other countries are going to get those invaluable people.

I can tell you that several major EU universities have started massive outreach programs and are starting to snatch all the top researchers from the US. The damage this will cause to the US' scientific leadership is not even quantifiable, it's completely insane.

Shooting your own foot because you "don't trust bureaucrats". Oh well.

Anyway, at my university the first few top researchers already arrived, this is going to be exciting in european research. If you guys don't want this massive advantage, we'll gladly take it.
by ExoticPearTree | 2025-04-16 08:38:04+00:00
I use Edge as I used to use Internet Explorer: to download Chrome.

MS seems unable or unwilling to make a decent browser. Edge can't be started until you click next through three screens where it tries to make you to create an account with them. The default homepage is full of ads on that website of theirs. I could go on and on, but seriously, I don't think anyone cares about Edge performance.
by close04 | 2025-04-16 08:38:18+00:00
"Genuinely curious" or "honest question" are the internet equivalent of "don't shoot, I'm coming out with my hands up". The disclaimer people feel the need to put so they don't catch a bullet for no good reason, when most internet forums are filled to the brim with trigger happy people with itchy fingers and immunity from consequences (barring a few reputation points).
by porridgeraisin | 2025-04-16 08:38:39+00:00
I disagree with but understand selling AI as a hot thing that can reliably do things to other companies. False marketing has been around since "buh buh" sold a deer corpse to "bah bah" in exchange for his pretty leaf mat by telling him it's actually a cow.

But drinking the kool aid yourself? That demonstrates a new low in human mental facility.
by mitjam | 2025-04-16 08:39:00+00:00
The main costs definitely not hosting and can be quite significant. MITRE had $2.37B revenue in 2023, most if it contributions. I don't know how much of it can be attributed to the CVE, but I assume it's not an insignificant part of it: https://projects.propublica.org/nonprofits/organizations/422...
by saagarjha | 2025-04-16 08:39:35+00:00
> If you want to suspend a thread and capture stacks from it, you’ll have to do it from another process, so that you don’t deadlock with the thread you suspended.

Unfortunately sometimes you don't have the luxury of being able to do this (e.g. on iOS, especially pre-MetricKit). We shipped one such implementation in the Twitter app (which was still there last I checked) and as far as I can tell it's safe but mostly by accident–I didn't want to to pause things for very long, so the code just suspends the thread, grabs register state, then writes the backtrace to a stack buffer before resuming. I originally wanted to grab traces without suspending the process, which is something you can actually "do" because getting register state doesn't require suspension and you need to put guards on your frame decoding anyway ("is this address I am about to dereference actually in the stack?"). But unfortunately after thinking about it I added the suspension back because trying to collect a trace from a running thread could give you a fragmented backtrace as it modifies it out from under you.
by dsign | 2025-04-16 08:39:37+00:00
Indeed.

Even a bad VFX artist has so much more control over what they do. I think that the day "text-to-video" reaches the level of control that said bad VFX artist has from week one, it will be because we have sentient AIs which will, for all ends and purposes, be people.

That's not to say that there is no place for AI-generated content. Worst case scenario, it will be so good at poisoning the well that people will need to find another well.
by transpute | 2025-04-16 08:40:01+00:00
HN threads on the iOS version of this feature.

"Reverse Engineering iOS 18 Inactivity Reboot", 150 comments, https://news.ycombinator.com/item?id=42167633

"Cops suspect iOS 18 iPhones are communicating to force reboots", 250 comments, https://news.ycombinator.com/item?id=42081874
by denchick | 2025-04-16 08:40:18+00:00
> I am wondering, why it took so long for something like this to happen for Postgres

We were thinking about adding PostgreSQL support to Vitess several years ago. However, we realized that it would be more efficient if each tool was focused on a specific task.

https://github.com/vitessio/vitess/issues/7084#issuecomment-...
by bravetraveler | 2025-04-16 08:40:46+00:00
Why not? The actual clouds do.

I think folks are being facetious wanting more for 'free'. The solutions have been available for literal decades, I was deliberate in my choice.

Not the average, certainly the majority where I've worked. There are at least two well-known Clouds that enroll their hypervisors to a domain. I'll let you guess which.

My point is, the difficulty is chosen... and 'No choice is a choice'. I don't care which, that's not my concern. The domain is one of those external things you can choose. Not just some VC toy. I won't stop you.

The devices are already managed; you've deployed them to your fleet.

No need to be so generous to their feigned incompetence. Want an internal CA? Managing that's the price. Good news: they buy!

Don't complain to me about 'your' choices. Self-selected problem if I've heard one.

Aside from all of this, if your org is being hung up on enrollment... I'm not sure you're ready for key management. Or the other work being a CA actually requires.

Yes, it's more work. Such is life and adding requirements. Trends - again, for decades - show organizations are generally able to manage with something.

Literal Clouds do this, why can't 'you'?
by usrusr | 2025-04-16 08:41:32+00:00
Except that Russia did not deliver (not any meaningful amount anyways), when the pipelines were still intact. And yes, they pretended to be willing, firing off a series of excuses sufficiently transparent to make it clear between the lines that it's a demonstration of power. Get your history straight: "Russia stated clearly if would continue" has between zero and negative value.
Understanding Some Limits of DeepSeek
by hazymemory | 2025-04-16 08:42:09+00:00
Recently I asked deepseek about how to use javascript to extract and makes computations with moodle in education. I note that the program did not consider two crucial points: 1) It is of utmost importance that the answer and the grade of the answer should be in the same row. 2) Don't modify the answer of the student. In this case the answer are ten letters in response to a test with ten questions. Deepseek used html closest to look for matching elements what is highly insecure, also it did pack answers with less that 10 letters with "a" what is a ridicule measure. This trivial problem reveals that deepseek is not able to consider the importance of the two trivials facts and that you have to introduce those two crucials points to avoid code that can mix students answers and grades. I think this illustrates clearly the current limitations of deepseek and the kind of context you have to give the LLM to avoid it. It seems that deepseek while coding was not alert to the kind of errors that could happen and their consequences. So you, the user of deepseek must provide this LLM with that context, you must think about the most simple program the LLM is about to design and how you must alert it to have special care to avoid failing completely, that is in the most destructive way.

1) answerCells.forEach(cell => { const row = cell.closest("tr");

2) return res.padStart(10, "a");
by mdp2021 | 2025-04-16 08:42:13+00:00
> more critical thinking and intelligent analysis

So it's best proposed to a community who is used to suppress low quality posts (more than others).

> However, political discussions seem

to require extra care at this stage.

By the way, and importantly, I would not call this submission a political matter, because it is not a "how to administer the State" matter (let alone partisanship): as I stated in the introductory post, I see these events as emerging changes in the state of the World and its dynamics, that require assessment from an attentive public.
by dspillett | 2025-04-16 08:42:44+00:00
> None of this is controversial amongst biologists. It's fundamental to understanding sexual reproduction.

True, but nor is it generally controversial amongst the un-indoctronated that sexual reproduction and gender identity are NOT (as claimed a couple of posts above) orthogonal concepts. I don't know about you, but while my biology and mental identity happen to nicely match up, I consider myself to be more than my testicles and can accept that others don't share my cis status.
by NoTeslaThrow | 2025-04-16 08:42:51+00:00
America is split into far more than two parts. It's thousands of peoples pressed into a single space with the illusion of peace enforced by violence. The entire concept of a unifying culture is preposterous.

The partisan lens doesn't seem to offer any benefit to most people.

I don't have any hope for europe, either. They seem equally divorced from the material.
by robert-whiteley | 2025-04-16 08:43:03+00:00
Counter opinion - What tech people don't seem to realise about AI is that putting it into a user-friendly format for the average person is what has led to this current revolution, i.e. ChatGPT

This is just the next step of that. This also doesn't stop them working on 'AGI', you need the data as well as the models, as most people familiar with the field will known. I will be happy to be proven wrong on this prediction.
by rsynnott | 2025-04-16 08:43:17+00:00
European companies (basically just Nokia and Ericsson) account for about a third of the global telecoms equipment market, or almost half if you exclude China Telecom (which is a captive market for Huawei). The only US company in the top 10 or so is Cisco.

This is one area where Europe is pretty much fine, and one where the US seems rather vulnerable; unless the tarrifs are short lived or there’s yet another carve out, US infra will suffer, especially as 6G rolls out.
by belter | 2025-04-16 08:45:16+00:00
This should be work for the ENISA: https://www.enisa.europa.eu/

https://www.enisa.europa.eu/topics/vulnerability-disclosure

They have a tender going on tracking best practices: https://www.enisa.europa.eu/procurement/vulnerability-disclo...

So they will take 12 months to select for the tender...18 months pondering on the report...and in 3 years they make a tender out for a solution...
by wodenokoto | 2025-04-16 08:45:48+00:00
> It's an annoying behavior of their models and in complete contrast to say Anthropic's Claude which ime will immediately and directly admit to things it had responded incorrectly about when the user mentions it

I don't know whats better here. ChatGPT did have a tendency to reply with things like "Oh, I'm sorry, you are right that x is wrong because of y. Instead of x, you should do x"
by 2ton_jeff | 2025-04-16 08:45:49+00:00
Tomasz (of fasmg) added "one more quick thought" re: 8-bit word not being a limitation, he said that since fasm1 had macros for LZW compression [0] (from the assembler alone) and that this is even easier with fasmg the word length isn't a restricting factor with his design either. Cheers and thanks for sharing.

[0] https://board.flatassembler.net/topic.php?t=14612
by def13 | 2025-04-16 08:45:55+00:00
The politics of saying "no politics" is that you are drawing some line that separates some political issues into "politics" and others into "not politics". Because to truly avoid all politics is impossible; even if you believe banal, purely intra-personal politics are not political so much of the basic organization of a business & capitalism are politics. "Should we allow remote work" for example is a deeply political question that ties deeply into discussions about the rights/value of neurodivergent & disabled people in the workplace. To say 'I don't believe in God' is a deeply political and dangerous statement in some parts of the world, but fairly banal where I live. To contrast, in Indonesia, it is technically _unconstitutional_ to not believe in a "one and almighty God"

I wish people were at least honest about "no politics" to mean "lets avoid to unsafe, potentially divisive issues relative to our geographic location, and take the basic tenets of neoliberal, capitalistic society to be assumed". And yeah, that is a more than reasonable policy. Its a difficult policy in international spaces, because its very hard to not trespass that line when political contexts differ so strongly across the globe
by gampleman | 2025-04-16 08:46:10+00:00
I think the other angle is a deeper question of why are you reading/viewing/listening to any particular piece?

For some content, say summer blockbusters the answer may just be that it is moderately entertaining way to spend some time. I expect AI may well be able to do reasonably well in this category, although what we find entertaining may well shift if the supply/demand curve shifts drastically enough. In other words, people may still pay to see a new action film even if it hasn't anything particularly new to say.

Then there is the more cerebral kind of art. Where there is an actual message that someone is trying to communicate to us. It's a form of argument, but not purely logical, but also aesthetical. I'm completely unconvinced that present day AI architectures will ever have something to say, purely because they lack agency, and so there isn't anyone there saying it to us.

Finally, there is the art that is entirely spiritual or internal. The whole point of that kind is the author baring their soul to us. Why on earth would anyone want a soulless machine barring their non-existent soul?