MurphyA/hacker-news huggingface dataset:
by weitendorf | 2025-12-14 09:41:12+00:00
A huge number of those people only interact with computers as a consumer. Beyond that, maybe schools assignments, texting and other social media, light email, and video games (eg through steam or a console). There is a big gap between that and someone comfortable using git.

Don’t be an asshole to them about that, think about how many developers would do anything it takes to avoid calling someone on the phone. Obviously they can learn it, but they know they’re going to be bad at it for a while (true for both git and phone calls) and they don’t know how long it’s going to take, or the extent of what they don’t know.

The thing about software companies is that they know how to automate and build stuff so why invest the time in learning a CMS if it’s something they could quickly solve for their own use case? Well, the same applies to people who just want to point and click and write, wondering whether it’s worth it to learn what a rebase does.
by finaard | 2025-12-14 09:42:50+00:00
I think it's good practise to build something CMS like for fun - as long as you don't expect it to be useful or used, outside of maybe your personal page. It's useful to experiment and learn stuff that might be useful at scale in other projects.

I intentionally made a few interesting choices for my stuff, just to see how far you can push it, and to make sure no sane person would ever use that in production (like, from before Markdown was around, I was wondering how far you can get with doing a simple markup language parsed by using regexp only. Turns out, surprisingly far, but if something doesn't parse as expected later on you have a bit of a problem)
by bpavuk | 2025-12-14 09:43:47+00:00
this explains virtually everything:

- that's why OOP failed - side effects, software too liquid for its complexity

- that's why functional and generic programming are on their rise - good FP implementations are natively immutable, generic programming makes FP practical.

- that's why Kotlin and Rust are in position to purge Java and C, philosophically speaking - the only things that remain are technical concerns, such as JetBrains' IDEA lock-in (that's basically the only place where you can do proper Kotlin work) as well Rust's "hostility" to other bare-metal languages, embedded performance, and compiler speed.
by threethirtytwo | 2025-12-14 09:43:55+00:00
Exactly, performance can make it necessary to move away from a monolith.

But everyone should know that microservices are more complex systems and harder to deal with and a bunch of safety and correctness issues that come with it as well.

The problem here is not many people know this. Some people think going to microservices makes your code better, which I’m clearly saying here you give up safety and correctness as a result)
Show HN: I Ching simulator with accurate Yarrow Stalk probabilities
by jackzhuo | 2025-12-14 09:44:13+00:00
I built this because I wanted a digital I Ching that honors the original math, rather than just Math.random().

Technical detail for the curious:

The simulation follows the traditional Yarrow Stalk algorithm (Da Yan). The core of this algorithm relies on modulo-4 arithmetic on the stalks remaining after a random split.

To make it physically realistic, I used a Box-Muller transform to simulate the user splitting the stalks with a Gaussian distribution (since humans naturally tend to split near the middle), rather than a uniform random split.

I was worried this 'human bias' might skew the modulo probabilities, so I ran a 1-million-run Monte Carlo simulation to verify.

The Result: The remainders [0,1,2,3] still emerged with a near-perfect 25% distribution (deviation < 0.05%).

So, the app simulates the physics of human imperfection while preserving the mathematical perfection of the probability distribution (where Old Yin is 1/16).

Stack: Next.js + Tailwind css

Happy to answer any questions about the math or the hexagrams!
by d--b | 2025-12-14 09:44:19+00:00
I got them to install MacDown, which is a standalone Markdown editor with side by side editing (text on the left, render on the right), and print a cheat sheet for links and images. Markdown is very easy to write. Nowadays there's probably an opensource wysiwyg editor.

The yaml part was very simple, it was handling the links for the menu entries..

Yes the customers wanted customized functionalities, like different ways to access the same pages, in the same tree.

Like you have Menu Item 1 => SubMenu Item 2 => List Item 3 is the same as Menu Item 3 => SubMenu Item 1 => List Item 5. Very few CMS do this, as the usual is to have a non cyclic tree hierarchy.

Here I had a main hierarchy reflected in the folder structure, and then they could add some links to the menu tree with the yaml files.

The whole thing was very simple. It took me about 16 hours to set up the whole site.
by meindnoch | 2025-12-14 09:46:12+00:00
I have never been particularly fond of Bourdain, nor have I fully understood the widespread fascination with his jet-setting New York hipster persona.

He played a significant role in popularizing a now-familiar posture among affluent Americans: the earnest declaration that "travel is my passion", followed by carefully curated excursions to economically disadvantaged countries, enthusiastic consumption of the local cuisine, and a subsequent return home marked by self-congratulatory reflections on how much they have supposedly "learned" about other cultures.

The phenomenon is difficult to admire. It resembles a kind of cultural primitivism - an unintentional revival of archaic rituals in which consuming the body of the enemy was believed to confer insight, power, or spiritual essence. In this modern iteration, wealth functions as the enabling mechanism: privileged travelers fly abroad to ingest cuisines, aesthetics, and experiences, mistaking consumption for understanding and appetite for empathy.

One returns, enriched - spiritually, one assumes - having eaten well.
by tsoukase | 2025-12-14 09:46:16+00:00
I have a doubt if Trump's dehavior is really what is shows. Some of it might be an under the table US-EU artificial deal to promote big corp mutual interests, military expenses and public fear and compliance. I am suspicious after I realised that US bulling to Canada (aka 51th state) was made in order to keep, as a brave resistance, the same political party in government after Trudot's nosedive.
by jrflowers | 2025-12-14 09:47:22+00:00
>The abstract of the review is interesting and honestly reflects my (negative) experience with cannabis.

The abstract doesn’t say anything about recreational cannabis usage.

>lack of energy, disruption of sleep, negative impact of my cognitive abilities, increase in anxiety. I'm glad the study confirms those to be statistically common.

>I was very lucky to have a SO who really disliked me smoking and made me realize that I was just doing it to "not think"

This study about the clinical outcomes of physician-directed cannabis usage for specific conditions doesn’t really get into musing about how weed is just sort of generally bad. The only part of the study that seems to sort of touch on what you’re talking about is the section about Cannabis Use Disorder

https://jamanetwork.com/journals/jama/fullarticle/2842072?gu...

At no point in this study does it say that “share a few joints with friends, have fun, laugh a lot” has common negatives and uncommon positives. It is not in the purview of the analysis.
by pjmlp | 2025-12-14 09:49:11+00:00
WASI is basically CORBA, and DCOM, PDO for newer generations.

Or if you prefer the bytecode based evolution of them, RMI and .NET Remoting.

I don't see it going that far.

The WebAssembly development experience on the browser mostly still sucks, especially the debugging part, and on the server it is another yet another bytecode.

Finally, there is hardly any benefit over OS processes, talking over JSON-RPC (aka how REST gets mostly used), GraphQL, gRPC, or plain traditional OS IPC.
by lucketone | 2025-12-14 09:50:22+00:00
It feels too dismissive.

While I do agree, that:

- there is a chance of something other causing the instant relief AND matching the moment of cannabis use

- health policy for population, should be made based on studies of population

At the same time, we must accept also some limitations of medical trials.

Models that interpret gathered results always includes a random part. Why? World is quite deterministic, why the randomness? Because one can’t make all possible measurements (money, sample size, time), one must choose the most promising practical setup.

Imagine hypothetical situation:

- there are 30 genotypes in population

- drug is highly effective only for 1 of those

- study doesn’t make genetic testing (also, it’s a parallel group study)

Such setup inflates required sample size to get statistically significant results. And even if significance is found, it will say that effectiveness is only 1/30, so not that good of a drug.

(30 is not the limit, think of a case with 300 types or 3000 types)

Human body is amazingly complex. It is not a solved problem.

If OP experienced instant relief of pain after smoking cannabis, it would be a logical action for OP to try it second time if pain reappears. (Given that cost/risk of such personal experiment is relatively low)
by brabel | 2025-12-14 09:52:01+00:00
> One developer tried to refactor a bunch of graph ql with an LLM and ended up checking in a bunch of completely broken code. Thankfully there were api tests.

So the LLM was not told how to run the tests? Without that they cannot know if what they did works, and they are a bit like humans, they try something and then they need to check if that does the right thing. Without a test cycle you definitely don’t get a lot out of LLMs.
by Tuna-Fish | 2025-12-14 09:52:24+00:00
100% agreed. The golden age of gaming is right now, Kickstarter and Steam have opened up the field to smaller studios in a way that has never happened before.

The biggest, most advertised titles are often very good-looking and very "bubblegum", for the exact same reason that the most popular genres of pop are like they are. To appeal to the widest audience, you have to file off all the sharp corners, and if that's the market you see then modern games can seem soulless.

But that's not all of the market! No matter what genre you are interested in, there's probably more work ongoing in it and better games coming out right now that there ever has been in history. Most of them are less refined and sell a lot less than the mainstream games, but occasionally one succeeds well enough to expand past the small niche audience, which inevitably brings a lot more people into the niche, followed by imitators which grow the niche.
by anthk | 2025-12-14 09:52:33+00:00
Quick test for Perl users (so anyone there with a Unix-like). Run these as a NON root user:

cpanm -n local::lib cpanm -n Hailo ~/perl5/bin/hailo -E Scored -t corpus.txt -b brain.brn ~/perl5/bin/hailo -b brain.brn

As corpus.txt, you can use a Perl/sed command for instance with book from Gutenberg.

I forgot to put the '-E' flag in my previous comments, so here it is. It's to select a more 'complex' engine, so the text output looks less gibberish.
by yuchi | 2025-12-14 09:52:51+00:00
While the reasoning holds generally, that specific example is wrong. The type the author presents is not the “User Profile” but a “User Profile Load Resource” (or something in those terms).

When you actually design interfaces you discover that there are way more states to keep in mind when implementing asynchronous loading.

1. There’s an initial state, where fetching has not happened yet

2. There may be initial cached (stale or not) data

3. Once loaded the data could be revalidated / refreshed

So the assumption that you either are loading XOR have data XOR have an error does not hold. You could have data, an error from the last revalidation, and be loading (revalidating).
by pjmlp | 2025-12-14 09:55:00+00:00
Depends on how it is used is already a sign that WebAssembly isn't really as safe as being sold, by many of its advocates, versus other bytecode formats.

Like, C is actually really safe, it only depends on how it is being used.

People only have to enumerate the various ways and tools to write safe code in C.

Problem solved, or so we get to believe.
by porkbrain | 2025-12-14 09:56:07+00:00
Unfortunately, some apps don't support text selection and on some websites the text selection is unpredictable.

I'd actually compare screen OCR to screenshots. Instead of every app and every website implementing their own screenshot functionality, the system provides one for you.

Same goes for text selection. Instead of every context having to agree on tagging the text and directions, your phone has a quick way of letting you scan the screen for text.

To be fair, I still use the "hold the text to select it" approach when I want to continue with the "select all" action and have some confidence that is going to do what I want.
by uniq7 | 2025-12-14 09:56:23+00:00
> I was speaking from a neutral and stoic stance. Nowhere did I imply manipulation or attempting to control another person

You literally said:

> your sentences are trying to control the other person's reaction and feelings towards you

Although the tone you hear in your head may sound stoic, I don't think that stance is neutral at all. You didn't say "I think your sentences..." or "Looks like your sentences..."; you made a subjective affirmation based on two sentences I said about people's feelings in conversations, on a thread about people's feelings in conversations, on a post about people's feelings in conversations.

If my two sentences in this context really mean that I am fixated, then everyone in HN is fixated on whatever they write, which is ridiculous.

I'm starting to think you are just trying to troll me.
by threethirtytwo | 2025-12-14 09:56:50+00:00
I’m not commenting on the pragmatic part.

My thesis is logical and derived from axioms. You will have fundamental incompatibilities between apis between services if one service changes the api. That’s a given. It’s 1 + 1 =2.

Now I agree there are plenty of ways to successfully deal with these problems like api backwards compatibility, coordinated deploys… etc… etc… and it’s a given thousands of companies have done this successfully. This is the pragmatic part, but that’s not ultimately my argument.

My argument is none of the pragamatisms and methodologies to deal with those issues need to exist in a monolithic architecture because the problem itself doesn’t exist in a monolith.

Nowhere did I say microservices can’t be successfully deployed. I only stated that there are fundamental issues with microservices that by logic must occur definitionally. The issue is people are biased. They tie their identity to an architecture because they advocated it for too long. The funniest thing is that I didn’t even take a side. I never said microservices were better or worse. I was only talking about one fundamental problem with microservices. There are many reasons why microservices are better but I just didn’t happen to bring it up. A lot of people started getting defensive and hence the karma.
by beagle3 | 2025-12-14 09:57:17+00:00
Indeed. But ... do not confuse your model with reality.

There's a folk story - I don't remember where I read it - about a genealogy database that made it impossible to e.g. have someone be both the father and the grandfather of the same person. Which worked well until they had to put in details about a person who had fathered a child with his own daughter - and was thus both the father and the grandfather of that child. (Sad as it might be, it is something that can, in fact, happen in reality, and unfortunately does).

While that was probably just database constraints of some sort which could easily be relaxed, and not strictly "unrepresentable" like in the example in the article - it is easy to paint yourself into a corner by making a possible state of the world, which your mental model dims impossible, unrepresentable.
by simonw | 2025-12-14 09:57:36+00:00
I've talked to a few people who are blind about vision LLMs and they're very, very positive about them.

They fully understand their limitations. Users of accessibility technology are extremely good at understanding the precise capabilities of the tools they use - which reminds me that screenreaders themselves are a great example of unreliable tools due to the shockingly bad web apps that exist today.

I've also discussed the analogy to service dogs with them, which they found very apt given how easily their assistive tool could be distracted by a nearby steak.

The one thing people who use assistive technology do not appreciate is being told that they shouldn't try a technology out themselves because it's unreliable and hence unsafe for them to use!
by fullstackchris | 2025-12-14 09:59:42+00:00
reading these comments - wow, absolutely nobody has an idea what a CMS is. if your going to "replace it with cursor" or "AI" you've completely lost the plot as a software engineer

you guys do realize that WordPress (as much as I hate its ubiquitous existence) is the CMS model?

and still something like 40% of all pages on the internet
by sipofwater | 2025-12-14 09:59:56+00:00
bnsmb: http://bnsmb.de , https://github.com/bnsmb

1. "My HowTos for Android": http://bnsmb.de/My_HowTos_for_Android.html

2. "This repository contains a toolchain for clang19 on Android running on a arm64 CPU": https://github.com/bnsmb/clang19_toolchain_for_android

3. "This repository contains libraries and include files for Android running on a arm64 CPU": https://github.com/bnsmb/libraries-and-include-files-for-And... (github.com/bnsmb/libraries-and-include-files-for-Android-on-arm64-CPUs)

4. "[GUIDE] How to install clang20 on phones without root access" by bnsmb: https://xdaforums.com/t/guide-how-to-install-clang20-on-phon... (xdaforums.com/t/guide-how-to-install-clang20-on-phones-without-root-access.4732382/), https://github.com/bnsmb/clang20-for-Android

5. "This repository contains binaries that I compiled for Android on arm64 CPUs": https://github.com/bnsmb/binaries-for-Android
by sipofwater | 2025-12-14 10:00:16+00:00
"[GUIDE] How to share directories on the phone running Android via NFS as non-root user" by bnsmb: https://xdaforums.com/t/guide-how-to-share-directories-on-th... (xdaforums.com/t/guide-how-to-share-directories-on-the-phone-running-android-via-nfs-as-non-root-user.4756743/) via "Testing: Termux, proot-distro, Network File System (NFS)" at https://gist.github.com/NoteAfterNote/e1719f4029b91918d99621... (gist.github.com/NoteAfterNote/e1719f4029b91918d996216939d5bff2)
by jstimpfle | 2025-12-14 10:00:27+00:00
It always depends on the definition of OOP. Typical enterprise OOP is grounded of the idea of creating black boxes that you can't misuse. That creates silos that are hard to understand externally (and often internally as well, because their implementation tends to be composed of smaller black box objects). That practice may prevent some misuse but it creates a lot of problems globally because nobody understands what's happening anymore on the global scale. This leads to inefficiencies, both performance wise as well as development wise. Even with some understanding, there is typically so much boilerplate that changing things around becomes extremely tedious.

Actually, I have some similar concerns about powerful type systems in general -- not just OOP. Obsessing about expression and enforcement of invariants on the small scale can make it hard to make changes, and to make improvements on the large scale.

Instead of creating towers of abstraction, what can work better often is to try and structure things as a loosely coupled set of smaller components -- bungalows when possible. Interaction points should be limited. There is little point in building up abstraction to prevent every possible misuse, when dependencies are kept in check, so module 15 is only used by 11 and 24. The callers can easily be checked when making changes to 15.

But yeah -- I tend to agree with GP that immutability is a big one. Writing things once, and making copies to avoid ownership problems (deleting an object is mutation too), that prevents a lot of bugs. And there are so many more ways to realize things with immutable objects than people knew some time ago. The typical OOP codebase from the 90s and 00s is chock-full with unnecessary mutation.
by oulipo2 | 2025-12-14 10:01:46+00:00
Very interesting! So right now I'm developing the backend, so I can still move analytics to CH, but I'm still wondering whether it would make sense because it might not be so large that it requires it (eg 50G/year of data I'd say)

And on the other hand, I can imagine that there could be plenty of footguns with replication to another database (not instant, what about schema changes, backfills, what if some database is shutdown for update while replicating, etc), so I'm a bit cautious about having a complex setup right now

Would you have some basic examples of a "mini-backend" Postgres+Clickhouse replication, using docker-compose + Typescript/Python or something, so I could play with it and take a look at what could be the operational complexity?
by zild3d | 2025-12-14 10:02:16+00:00
> economically disadvantaged countries, enthusiastic consumption of the local cuisine, and a subsequent return home marked by self-congratulatory reflections on how much they have supposedly "learned" about other cultures.

There can certainly be a quite shallow "instagram" quality to some traveler's trips, but it's also clear an economically disadvantaged country benefits mutually from this, and if it wasn't they'd be restricting tourist visas, etc
by monster_truck | 2025-12-14 10:03:01+00:00
Was in SF a day early for a conference, place I was crashing at was right next to golden gate park so I went to hippie hill to go hang out. Cute couple invites me to smoke with them, so I offered them beers. We spoke for a very long time, I don't remember much of it. He mentioned he went to art school, was having his first solo exhibition that week and showed me some of his stuff, which I genuinely thought was great.

When he heard that I had just moved cross country for work, he insisted on giving me one of his originals and some signed prints he just had made, as a housewarming gift. I joked about how badass it was that he had signed prints, he shrugged and played it off like they were only using school supplies to make a little fun money. It was just an A4 sized watercolor, it hung on my fridge for years with the prints

A decade later I had a friend over and they were asking about them, I couldn't remember anything so they reverse image searched on their phone. His exhibition was at fucking MoMA. His career took off after that and it is worth a decent chunk of change. I went and got it properly framed the very next day