MurphyA/hacker-news huggingface dataset:
by moffkalast | 2025-11-18 08:41:03+00:00
> The other day, someone told me, “I can’t imagine you ever being awkward with people.” And I thought, oh God, yes, say it to me again, again, put it in my veins. Tell me I’m a natural performer. There are no sweeter words.

> Because of course the absolute opposite is true.

Average LLM conversation.
by fuhsnn | 2025-11-18 08:41:50+00:00
TinyCC supports cleanup[1], onramp[2] supports C2y defer (which is a superset), slimcc[3] supports both.

[1] https://godbolt.org/z/hvj9vcncG

[2] https://github.com/ludocode/onramp

[3] https://github.com/fuhsnn/slimcc
Show HN: I Created reciept scanner and expense manager for my family
by dzasa | 2025-11-18 08:42:19+00:00
Hey everyone! I'm finally ready to share something I've been working on.

So here's the thing - my wife and I were constantly arguing about money. Not because we didn't have enough, but because we could never figure out who spent what, where our budget was going, and whether we were actually saving for that new car we kept talking about. Every finance app I tried was not built for us.

That's how Famverge was born.

What it does:

You can create a group "space" and invite whoever (spouse, roommates, even your financially responsible teenager) Everyone can log expenses and incomes, but you control who sees what with custom permissions Scan receipts with your camera and it figures out what you bought or got money from automatically Talk to it - literally just say "I spent 15 bucks on lunch" and it logs it See where all your money actually goes or comes from with some pretty neat charts

The thing I'm most proud of? Everything is encrypted end-to-end. I don't want to see your financial data any more than you want me to.

Cool stuff it can do:

Handle 156 currencies Switch between your personal money stuff and group stuff instantly Voice input when you're too lazy to type

Would love to hear what you think! I'm still actively developing it, so if something sucks or you want a feature, just let me know.
by stackghost | 2025-11-18 08:42:46+00:00
>Ugh, a correct transfer function should conceptually just be the composition of our well encapsulated withdraw and a deposit functions, but defining it correctly has forced us to remove the locking from both withdraw and deposit, making both of them less safe to use.

I know OOP isn't cool any more, but the above is what OOP solves.

TFA's transfer() and withdraw() functions aren't compliant with double-entry accounting anyways, so you'd mark them private and only expose Transfer to callers. Let the class handle its own details.
by Aeglaecia | 2025-11-18 08:43:20+00:00
if you took an adhd cunt and threw him in the bush he would be fine ... but if you threw him into a cookie cutter hyper capitalist no-hope no-wife no-friends no-third-space doomscroll-to-death sealed box , that man wouldn't be fine! the man in question never changed , only his environment did. ergo , societal amphetamines are about as supportive as me handing you a set of crutches after i broke your legs. but trying to blame adhd on society is basically a copout as it reflects the way that society treats individuals ("here, take this speed and wreck your heart so that you fit better into the box we designed for you"). the only way forward is to through honest questioning as to why adhd diagnoses are thousands of times greater in the west, eg. maybe if we didn't get forced into a 9-5 schedule and instead had a bit more freedom , people would be more happy to devote energy to their work ...
by pavas | 2025-11-18 08:44:16+00:00
Yep that's a cogent, serious stance, and it sounds a lot like illusionism (famously argued by Daniel Dennett) or functionalism if you ever wanted to check out more about it.

It’s a serious stance, but the really interesting thing to me here is that its not a settled fact. What’s quite surprising and unique about this field is that unlike physics or chemistry where we generally agree on the basics, in consciousness studies you have some quite brilliant minds totally deadlocked on the fundamentals. There is absolutely no consensus on whether the problem is 'solved' or 'impossible,' and its definitely not a matter of people not taking this seriously enough or making some rash judgments or simple errors.

I find this fascinating because this type of situation is pretty rare or unique in modern science. Maybe the fun part is that I can take one stance and you another and here there's no "right answer" that some expert knows and one of us is "clearly" wrong. Nice chatting with you :)
by lll-o-lll | 2025-11-18 08:44:31+00:00
I mean, it’s literally one of the dark triad. Dark. Not misunderstood.

The DSM basically took all those “traits we think of as evil” and said “we shall make some disorder categories”. People with NPD don’t go and get help, they just run around ruining other peoples lives.

If you’ve never had such a person in your life, good for you! The rest of us don’t care if they can be saved, we just don’t ever want to interact with another one. Ever.
by superice | 2025-11-18 08:44:56+00:00
Even if you were 100% correct and the world is broken, fully causing ADHD as a disorder: Please fix the world FIRST and only once proven ADHD is caused by what once was the shape of western society and no longer applies, THEN you get to take the metaphorical wheelchair away.

The alternative is that you prevent millions of people in managing their disability while asking them to bet on your view of the world AND on our collective ability to change it. In the best case scenario where we manage that shift, that's what, 10 years of my life gone while society adjusts? Will you write my kids a nice letter explaining them their dad is going to be a deadbeat the next 10 years while we fix society, because somebody on the internet thinks daddy shouldn't be on stimulant medication?

You're just not presenting an attractive deal to anyone, whilst very politely telling disabled people making the best of their shit situation that their crutches should not exist. Hell, maybe they shouldn't need to exist, but how is that my fault? And while I can't tell if you stand on the side of 'using meds to manage ADHD is a failure of self discipline and morality', but if you do: I promise you most people with ADHD have more self discipline in their little toe than others do in their entire body. But self discipline doesn't make a cripple walk, as much as it doesn't make my brain make the chemicals I need to put my body into action. I've spent enough time of my life flogging myself into action, believing I was a fundamentally lazy human, I'll take the meds.
by ViewTrick1002 | 2025-11-18 08:45:23+00:00
The French are wholly unable to build new nuclear power.

Flamanville 3 is 7x over budget and 12 years late on a 5 year construction program. The EPR2 program is in absolute shambles.

Currently they can’t even agree on how to fund the absolutely insanely bonkers subsidies.

Now targeting investment decision in H2 2026. And the French government just fell and was reformed because they are underwater in debt and have a spending problem which they can’t agree on how to fix.

A massive handout to the dead end nuclear industry sounds like the perfect solution!
by torginus | 2025-11-18 08:47:49+00:00
Moral implications aside, It's funny to see that MS (and AI companies) sees the future of agentic AI as ChatGPT creating screenshots and clicking and scrolling around the UI.

There are tools like MS Active Accessibility and UI automation which are designed for helping impaired people use the computer, as well as very useful for testing.

UI automation in particular is designed for semantic understanding instead of representing the UI in the runtime control hierarchy, and can do things like query offscreen elements or check out whats in a combo box without having to open it.

Credit where it's due - Microsoft used to really invest heavily in making Windows accessible to the blind and impaired, I've had blind acquaintances praise them for being able to use the computer fairly well (my friends grandma was a math teacher, super smart, but sadly she went blind in old age, it's really hard to overstate how much being able to use the computer meant to her.)

Not sure how well it works nowadays, with most apps being not Windows-native.

I'd have recommended people to check out UISpy which was a neat little tool that allowed you to check out your apps in a semantic way, but turns out it was folded into Power Automate, which in turn was made a part of Office 365. I see Microsoft still working tirelessly to undo all the goodwill they have rightfully earned.
by josephg | 2025-11-18 08:48:12+00:00
> As for IDE's, [...] Emacs and VSCode work fine with C projects, even when debugging interactively.

I'm pretty sure VSCode still needs a compile commands file to do proper syntax highlighting. Again, difficult and annoying to generate automatically with makefiles.

To be clear, I'm not saying you can't set it all up. I'm just saying the IDE experience writing C is worse - obviously worse - than the experience programming in other modern languages.

> I'll go slightly slower; this is not a significant enough factor to make anyone consider switching languages.

Well, I can disprove that right now. I'm anyone. And the poor velocity writing C is a big reason I don't use it. Its just so much work to do simple things - like validate a UTF8 string. Or make a resizable array. Or write a function which can return either a value or an error.

In C, I feel like I'm a human compiler doing a bunch of things I want my compiler to do for me. C is slower to write and easier to mess up compared to more modern languages like Zig or Rust.

I did a side by side test a few years ago, implementing the same program in a variety of languages. The C code was about 2x as large as the same program in typescript, but it ran much faster. It was also much harder to debug. Zig and Rust were half the size of my C code and just as performant!

I don't see any reason to spend more work to achieve the same - or a worse - result.

> C header files can be used to automatically perform the FFI for every single mainstream language.

Every single one? I roll to doubt. Does the javascript ecosystem parse C header files for FFI? Does Java? C#? Rust? I know LuaJIT and Zig do, but I'm not sure about any others.

If C headers were only used for FFI, I wouldn't mind them so much. But they're also needed within a C program. And the semantics are idiosyncratic and weird. Want to inline something? It probably has to go in the header file as a static method. Want a global? Declare it in the header as an extern, and put it in exactly 1 C file. Structs? Did you want to declare the whole type or make it opaque? Because those are different. Functions can have different type signatures in header files and C files, but only in certain ways. And so on. So many weird, stupid rules you need to learn.

And by the time you've done all that, you're almost certainly leaving performance on the table as a result of not compiling the whole program in a single codegen unit.

Its 2025. Why waste your limited time on this earth acting as a human compiler? The computer can do a way better job of it.
by fifticon | 2025-11-18 08:48:28+00:00
We are legion,I am sorry to say. I can recognise co-sufferers, but not necessarily help them. In older parlance, we would typically just be described as 'a bore', but there is something a lot more specific going on. I am old now, but watching my child daughter now going through the exact same motions, including doing her damndest to impress people with her many skills, and tragic-ironically driving people away from her with that exact behaviour. And I can't figure out how to help her figure it out. (past-50 insights don't resonate with 11year olds, unless you can relate them in youtuber-speak).
by albertzeyer | 2025-11-18 08:49:24+00:00
The random noise is added to the model parameters, not the inputs, or not?

This reminds me of variational noise (https://www.cs.toronto.edu/~graves/nips_2011.pdf).

If it is random noise on the input, it would be like many of the SSL methods, e.g. DINO (https://arxiv.org/abs/2104.14294), right?
by fragmede | 2025-11-18 08:50:36+00:00
The UN doesn’t say that a human life is actually worth $10 million but that’s the number we’re going to use, so the question is as QALY thing how much is a liver transplant worth and it turns out the liver transplant gets you about 25 QALYs, and so running the numbers a liver is only about $3.75 million.
by throwuxiytayq | 2025-11-18 08:51:55+00:00
Amphetamines are safe, well-studied and non-addictive at prescribed doses. On the other hand, untreated ADHD VASTLY increases likelihood of addiction and many mental disorders.

Definitely DO use this medication if you need it - it's the first medication your doctor will likely ask you to try precisely because an extensive body of research says it's the most effective way for treating ADHD.
by bsder | 2025-11-18 08:53:33+00:00
> it would entail blocking 500.000 IPs, or more. That quickly becomes unmanageable as well.

Companies don't seem to have a tough time managing the blocks for all the various ranges of all the VPS providers to prevent you from using VPNs to access their services. Somehow, I don't think blocking 500,000 IPs is a technical problem.

I also suspect that once you start getting effective IP blocking, that 500,000 number will drop quite rapidly as it simply won't be so profitable to commandeer a device.

> What I'd love to see is a service where websites could report abuse to ISPs, who would then take the misbehaving customers offline, until their system or behavior is fixed.

IPv4 CGNAT is part of that problem, too. Because of CGNAT, the offending IPs get "tumbled" and are more difficult to identify from outside the ISP. Consequently, it makes it difficult to punish the ISPs. Without IPv4 CGNAT, those IPs are more stable over time and can be identified outside the ISP boundary. If ISPs start losing customers because everybody in the universe has blocked various ranges, the ISPs will start blocking devices at origin.
by pbiggar | 2025-11-18 08:53:51+00:00
I don't know about whether the feature was disabled, but there the absolute unhinged shit that people say in Hebrew is something that needs to be studied. Absolute cartoon evil shit.

7amleh documented it back in 2023: https://7amleh.org/post/7amleh-documents-19-000-violent-twee...

Law for Palestine also has a database of them: https://law4palestine.org/law-for-palestine-releases-databas...
by yawpitch | 2025-11-18 08:54:09+00:00
You’re distrusting of public knowledge, and yet you accept as factual a police training video from the 90s? You’re worried about public credulity while simultaneously engaging in it?

I’m commenting because cognitive dissonance is precisely what is being resolved when someone thinks of others as mind-controlled sheep and themselves as not amongst either the mind-controlled or the sheep.

Lawlessness is the natural state of humanity… the only laws the public should trust are those of physics, but to do that they’d need to be sufficiently intelligent to discover and recognize those laws.

I am commenting because I am not a member of a species that is yet that intelligent. And neither, clearly, are you.
Show HN: AI‑curated actual profanity list
by hypernewbie | 2025-11-18 08:55:09+00:00
I made VBW, an AI-filtered multilingual profanity list that focuses on actual abusive language, not stuff like “farted,” “willy,” or “小姐.”. It’s intended for light content moderation, e.g., filtering usernames.

Check it out here: https://github.com/hypernewbie/vbw

It's not complete, some obvious words are still missing, but I hope someone finds it useful.
by wolvesechoes | 2025-11-18 08:55:14+00:00
But the concern in this thread wasn't that people consider Zig or Rust good, so don't try to frame it this way, because it is dishonest.

Original quote:

> [Learning Zig] is about fundamentally changing how you think about software.

This is not the same. Something like it could be said about Lisp, Forth, Prolog, Smalltalk, Fractran or APL, even Brainfuck, not Rust or Zig. No, thinking about object lifetimes or allocators is not "fundamental change" in how to think about software. It is bread and butter of thinking about software. Therefore I believe this is cultish behavior - you assign extraordinary properties to something rather dull and not that much different from other mainstream languages.

> I bet you were one of the people who dismissed the iPhone as "just apple fanbois" back in the day

Wrong. I still dismiss people praising Apple, swallowing some bullshit about "vision" etc. as fanboys.
by exasperaited | 2025-11-18 08:55:56+00:00
Java is most of why we have a proliferation of VM-based languages and a big part of why WASM looks the way it does (though as I understand it, WASM is the shape it is in some measure because it rejects JVM design-for-the-language quirks).

I would also not blame Java for the worst of OO, all of that would have happened without it. There were so many OO culture languages pretending to that throne. Java got there first because of the aforementioned VM advantage, but the core concepts are things academia was offering and the industry wanted in non-Ada languages.

I would say Java also had a materially strong impact on the desire for server, database and client hardware agnosticism.

Some of this is positive reinforcement: Java demonstrates that it's better if you don't have to worry about what brand your server is, and JDBC arguably perfected ODBC.

Some of it is negative: a lot of the move to richer client experiences in the browser has to do with trying to remove client-side Java as a dependency, because it failed. It's not the only bridged dependency we removed, of course: Flash is equally important as a negative.
by whstl | 2025-11-18 08:57:28+00:00
It's very strange that people are ok with people charming others "naturally" (while it's probably because they learned by imitation, often from parents) while "practicing it" is seen as bad and manipulative.

It's the same with genetics. Getting lucky with looks is fine but working for the same goal (eg surgery) is somehow bad and people often hide it.
by afandian | 2025-11-18 08:57:29+00:00
Thanks! Reading the code again, looks like I was filling up buffer of 256 x 16 bit samples.

I think the issue with looping at arbitrary points was word alignment. You need to give it a whole buffer. So you'd have to do some nasty bit-shifting.

Per other reply, I think doing it live is probably easisest!

Thanks for the recommendation. If I ever get back into this I'll take a look.
by ben_w | 2025-11-18 08:58:08+00:00
While I agree about the coal thing:

Democracy just as lazy and apathetic is whatever the USSR counts as; the point of capitalism (which is different to democracy) redirect the laziness into something more productive — this works to an extent, but depends on competition which is greatly reduced in the case of nuclear reactors.

That it's a different axis than democracy-communism is also why the not-at-all-democratic military reactors around the world seem to be doing fine.
by redbell | 2025-11-18 08:58:12+00:00
> this was a bit of a surprise!

That's one of the coolest parts of HN! This post was posted five days ago and went totally unnoticed by the community, probably, even OP has forgotten about it. Thankfully, HN had what is called Second Chance (https://news.ycombinator.com/item?id=26998308) and since this post is a masterclass in building a physical product, the mods decided to bring it back by featuring it on the front page, where it finally got the attention it deserved. A true masterpiece indeed!
by wparad | 2025-11-18 08:58:48+00:00
This is absolutely true, but the end result is the same. The assumption is "We can fix a third party component behaving temporarily incorrectly, and therefore we can do something about it". If the third party component never behaves correctly, then nothing we can do to fix it.

Correlations don't have to be talked about, because they don't increase the likelihood for success, but rather the likihood of failure, meaning that we would need orders of magnitude more reliable technology to solve that problem.

In reality, those sorts of failures aren't usually temporary, but rather systemic, such as "we've made an incorrect assumption about how that technology works" - feature not a bug.

In that case, it doesn't really fit into this model. There are certainly things that would better indicate to us that we could use or are not allowed to use a component, but for the sake of the article, I think that was probably going much to far.

TL;DR Yes for sure, individual attempts are correlated, but in most cases, it doesn't make sense to track that because those situations end up in other buckets of "always down = unreliable" or "actually up - more complex story which may not need to be modelled".
by thrwwXZTYE | 2025-11-18 09:00:36+00:00
I am a narcissist. I haven't been diagnosed (yet), but I certainly recognize the traits and patterns, and I'm in therapy for it.

> People with NPD don’t go and get help, they just run around ruining other peoples lives.

This is objectively false. There's lots of people in therapy for NPD. And there have been case studies with people who recovered.

Which brings another point

> The DSM basically took all those “traits we think of as evil” and said “we shall make some disorder categories”.

DSM criteria for narcissism are part of the problem. You can have the exact same mental struggle but stop yourself from hurting people (at least to a reasonable degree - "normal" people also hurt others sometimes after all). And you won't be diagnosed as NPD. But you'll still have all the other problems - lack of human connection, vastly higher chance of suicide, autoimmune diseases, relationship problems, etc.

Which is like saying you only have alcoholism if you beat people on the streets. If you define it that way - of course all alcoholics are violent.

But it's not a productive way to define mental health problems. It leaves out people who struggle with it but don't cause harm.

> The rest of us don’t care if they can be saved, we just don’t ever want to interact with another one. Ever.

That's unlikely given that estimated 0.5-5% of the general population have NPD and about 20% have strong narcissistic traits.

In IT it's probably much higher by the way, it's the perfect job (little human contact, high status, well paid).
by SideburnsOfDoom | 2025-11-18 09:00:47+00:00
> Surely, not a decade has passed between have there been NO domesticated raccoons in the US?

An animal of wild parentage that was raised by humans is tame but not domesticated. So no, there's aren't really domesticated racoons, only tame ones.

Domestication is a process that takes many generations. It is a selective breeding process more than anything else. Animals that are 1 generation away from wild ancestors aren't domesticated, by definition.

And the last category is feral animals, "that live in the wild but are descended from domesticated individuals.".
by Mikhail_Edoshin | 2025-11-18 09:00:48+00:00
XML is a fantastic configuration language. Its primary purpose is text markup, right, but it can really shine as a configuration language too. It is meant to be used as a language, that is to describe structures of unbounded complexity while keeping them syntactically constrained.

The best configuration language is the one that is custom made for a specific application. A domain-specific language. But DSLs requires a parser and adding one is usually too cumbersome to merely parse a configuration. This is where XML comes in.