MurphyA/hacker-news huggingface dataset:
by VorpalWay | 2025-12-26 17:30:50+00:00
> Typically no... which is another way of saying occasionally yes.

You might be able to avoid generating panic handling landing pads if you know that a function does not call panic (transitively). Inlining and LTO often help, but there is no guarantee that it will be possible to elide, it depends on the whims of the optimiser.

Knowing that panicking doesn't happen can also enable other optimisations that wouldn't have been correct if a panic were to happen.

All of that is usually very minor, but in a hot loop it could matter, and it will help with code size and density.

(Note that this is assuming SysV ABI as used by everyone except Windows, I have no clue how SEH exceptions on Windows work.)

> Indeed. You can mark a crate e.g. #![deny(clippy::panic)] and isolate that way, but it's not quite the rock solid guarantees Rust typically spoils us with.

Also, there are many things in Rust which can panic apart from actual calls to panic or unwrap: indexing out of bounds, integer overflow (in debug), various std functions if misused, ...
by aeontech | 2025-12-26 17:30:51+00:00
While I agree that the training/learning ecosystem is pretty heavily centered in Python, going from that to "Ruby is awful" seems like a very drastic jump, especially if we are talking about the LLM interaction only.

I probably wouldn't write a training system in Ruby (not because it's not doable, just because it's not a good use of time to rewrite stuff that is already available in python ecosystem)... but hooking up a Ruby system up to LLM's for interaction is eminently doable with very little effort.

I am assuming your situation had some specific constraints that made it harder, but it would be nice to understand what they were - right now your comment describes a more complicated solution and I am curious why you needed it.
by bee_rider | 2025-12-26 17:30:58+00:00
That seems to assume some sort of… maybe unfounded linearity or something? I mean, I’m not sure I agree that GitHub is nearly a commons in any sense, but let’s put that aside as a distraction…

The idea of the tragedy of the commons relies on this feedback loop of having these unsustainably growing herds (growing because they can exploit the zero-cost-to-them resources of the commons). Feedback loops are notoriously sensitive to small parameter changes. MS could presumably impose some damping if they wanted.
by 578_Observer | 2025-12-26 17:31:17+00:00
This is a fascinating look at the exact moment we installed the "Infinite Growth" OS into human civilization.

For over 400 years, this patch (Nova Reperta) worked perfectly. It optimized our collective CPU for "Expansion" and "Discovery," moving us away from the cyclic view of history.

But as any systems engineer knows, a process optimized purely for unbounded scaling eventually hits physical constraints—leading to thermal runaway.

We are arguably living through the late-stage bugs of that 1580s update.
The next "Nova Reperta" might not be about discovering new lands or machines, but about rediscovering "Maintenance" and "Equilibrium."
We might need to patch the kernel to handle "Duration" rather than just "Speed."
by threatofrain | 2025-12-26 17:31:30+00:00
> Most software houses spend so much time focusing on how expensive engineering time is that they neglect user time. Software houses optimize for feature delivery and not user interaction time.

Oh no no no. Consumer-facing companies will burn 30% of your internal team complexity budget on shipping the first "frame" of your app/website. Many people treat Next as synonymous with React, and Next's big deal was helping you do just this.
by Barrin92 | 2025-12-26 17:32:52+00:00
>Giving up control is how it works. It's how it's always worked,

no, it hasn't. Open source software, like any open and cooperative culture, existed on a bedrock, what we used to call norms when we still had some in our societies and people acted not always but at least most of the time in good faith. Hacker culture (word's in the name of this website) which underpinned so much of it, had many unwritten rules that people respected even in companies when there were still enough people in charge who shared at least some of the values.

Now it isn't just an exception but the rule that people will use what you write in the most abhorrent, greedy and stupid ways and it does look like the only way out is some Neal Stephenson Anathem-esque digital version of a monastery.
by FpUser | 2025-12-26 17:33:01+00:00
>"Yes that is annoying, but I don't know of any mainstream systems language that does. C and C++ can also have allocations anywhere, and C++ have exceptions."

C++ has a way to tell to compiler that the function would raise no exceptions. Obviously it is not a guarantee that at runtime exception will not happen. In that case the program would just terminate. So it is up to a programmer to turn on some brain activity to decide should they mark function as one or not.
Show HN: Motion controlled party games on the web
by oliwary | 2025-12-26 17:33:06+00:00
Hi HN!

Over the christmas days I created Motion Party, a webcam motion controlled game inspired by Eyetoy and the Nex Playground. Currently there are 8 games for between 1 and 4 players, including a ball game, a game similar to flappy bird, a memory game and a spelling game.

I made it mostly using Claude Code, and Eleven labs for sound effects. The graphics are rendered in p5.js. It should work on mobile as well as desktop, you just need a camera.

I think they're really fun, especially with more players playing together. My grandmother was able to play as well, which was cool to see. Let me know what you think, and merry christmas! :)
by anovikov | 2025-12-26 17:33:24+00:00
Caviar is now cheap to grow and is grown on a mass scale everywhere. Best caviar i got to eat is grown in Belarus.

Got to say, quality problems with caviar has indeed been fixed everywhere - even buying in questionable/untested stores or online, it's been a year+ since i saw obviously spoiled/oversalted/smashed eggs, and 10 year ago buying it was always a matter of luck.

Story of truffle - another once-prized product - is a lot more sad. It was effectively wrecked because cheaply grown mushrooms that don't smell as strongly as the real thing, are mixed with 'truffle oil' - a chemical that has nothing to do with truffles, just smells similarly - to produce a cheap mushroom that smells a lot stronger than the original - and as a result, no one buys the real thing not just because of price, but because it feels 'fake' because it doesn't smell strongly enough! As a result, there's no point buying or using truffle anymore. You could 3d print plastic mushrooms, mix with 'truffle oil', and get same result.
by synergy20 | 2025-12-26 17:33:55+00:00
just google for 'maa math cheating', 'usaco cheating',etc.
there are official statements somewhere that you can probably dig out too.
people were selling the answers before the test for $5 on discord.
my kids are taking these exams, and it saddens/discourages them so much as their classmates are bragging about those $5 answers and got super high scores.
it's a public scandal, just that the media paid no attentions, so far.
by pear01 | 2025-12-26 17:34:16+00:00
These critiques are so tiresome. Like he forced people to buy macs or something. You're not the audience. For the average consumer the fact they don't even have to think about unscrewing something is a major part of the appeal. The walled garden is a plus for them not a negative.

And then ending with the sanctimonious line about selling. Like you eat off of selling nothing. Go screw in whatever you like just understand your critique comes across as little more than entitled griping against a majority. You're the people he fought against the entire time, people obsessed with their own personal agenda/minutia with no understanding of the overarching mission or who the customer is. This video comes to mind https://youtu.be/oeqPrUmVz-o

Design without an audience in mind is not design. Don't dismiss the work simply because you're not the audience.
by CursedSilicon | 2025-12-26 17:34:29+00:00
>Everybody knows LLMs are not alive and don't think, feel, want

Sorry, uh. Have you met the general population? Hell. Look at the leader of the "free world"

To paraphrase the late George Carlin "imagine the dumbest person you know. Now realize 50% of people are stupider than that!"
by bigyabai | 2025-12-26 17:35:09+00:00
> There is literally an apple-developed way to boot securely into alternative OSs

This is not a good thing! You do not want a proprietary bootloader as your only way to launch Linux, it's not a safe or permanent solution. Apple Silicon could have implemented UEFI like the previous Macs did, but Apple chose to lock users into a bootloader they controlled. This is markedly different from most ARM device bootloaders which aren't changed by an OTA update in another OS partition.

> if only apple is hostile

I did not say that at any point in my comment. Forgeties original claim was that Apple Silicon would eventually have support comparable to Intel Macbooks on Linux. I am telling them point-blank that it is impossible, because Apple and Intel have fundamentally different attitudes towards Linux.

> where is my Xbox/ps/switch/any random Android tablet/million other device's running Linux?

Your Switch and Android tablet is already running the Linux kernel. The past 2 generations of Xbox and PS chipsets have upstream support from AMD in the Linux kernel, so you really only need a working bootloader to get everything working.

Ironically, this does mean that the Nintendo Switch has more comprehensive Linux support than Apple Silicon does.
Show HN: I was tired of link shorteners, so I built Rediredge
by trapani | 2025-12-26 17:35:40+00:00
Blazing-Fast Domain Redirects Without the DevOps Tax

Rediredge is a lightweight, self-hostable domain redirector that pairs a Go data plane with a Next.js control plane. It gives you instant 30x responses without cold starts, automatic HTTPS, and a beautiful dashboard that lets non-technical teammates manage redirects on their own.

Website: https://rediredge.app
Github: https://github.com/leonardotrapani/rediredge
Blog Post: https://leotrapani.com/blog/rediredge
by pessimizer | 2025-12-26 17:36:15+00:00
To shuffle it up in semi-random ways that make you think. If you're determined to hate LLMs for any reason or any purpose, just think of them as an elaborate game of Exquisite Corpse or Ultimate Mad-Libs.

You don't have to think LLMs are smart or real people to think of them as useful. I love it when I can make an idea clear enough in text that an LLM can completely regurgitate it and build upon it. I also love it when an LLM trips over and misses the one real novelty that I've slipped into something; what better for an originality test than trying to choke an automatic regurgitator?

Transistors have no understanding of what I'm doing, but somehow I still find them useful.
by 51Cards | 2025-12-26 17:36:15+00:00
We were on the same page. I also built something similar for a Conveyor company here in Canada in the early 90's. We parameterized all their tech drawings (or at least the initial versions) from their component libraries. Was a great project. Not sure how long they used it, they eventually acquired the resources to support it internally (I was an independent AutoLISP contractor). Good times back then. I haven't done AutoLISP in years now but great to see it's still around.
by julik | 2025-12-26 17:36:24+00:00
Interesting article, but it mixes up two concerns, I would say. One is retrieving trees from the DB and storing them - which can be annoying but has nothing to do with permissions. Another one is "hiding" unpermitted nodes/branches from the viewer (if that is what applying permissions is about - it can also handle read-only things, for instance). If these two concepts get separated and it is not a big deal to "overfetch" for the current user before doing the filtering - things become way easier. When the tree is reconstructed, you can do breadth-first traversal and compute permissions for every item in there - or retrieve the permissions for items at that level, if you are doing ACL stuff. From there - if there is no permission for the current viewer on that node - you exclude it from further scans and you do not add its' children to further traversals as you go down. Max. number of scans = tree depth. With some PG prowess you could even fold this into sophisticated SQL stuff.

Trees with RDBMSes do stay a pain, though :-)
by CamouflagedKiwi | 2025-12-26 17:36:30+00:00
You can also do it using ld - it's something like ld -r --format binary -o out.o <file>, although you do want some build system assistance to generate header files allowing you to access the thing (somewhat similar to the assembly example here). It's a bit of a performance but I strongly prefer it to generating header files in the earlier options - those header files can end up being _very_ large (they generally multiply up the size of the embedded file by 2-4x) and slow to compile.

All a bit less relevant now since recent C++ versions have this built in by default. Generally something languages have been IMO too slow on (e.g. Go picked this up four or so years ago, after a bunch of less nice home-grown alternatives), it's actually just really useful to make things work in the real world, especially for languages that you can distribute as single-file binaries (which IMO should be all of them, but sadly it's not always).
by Imustaskforhelp | 2025-12-26 17:36:36+00:00
Yes I agree although I still believe that there is some tangential truth in parent comment when you think about it.

I am not accurate about google but facebook definitely has some of the most dystopian tracking I have heard. I might read the facebook files some day but the dystopian fact that facebook tracks young girls and sees if that they delete their photos, they must feel insecure and serves them beauty ads is beyond predatory.

Honestly, my opinion is that something should be done about both of these issues.

But also its not a gotcha moment for Rob pike that he himself was plotting up the ads or something.

Regarding the "iphone kids", I feel as if the best thing is probably an parental level intervention rather than waiting for an regulatory crackdown since lets be honest, some kids would just download another app which might not have that regulation.

Australia is implementing social media ban basically for kids but I don't think its gonna work out but everyone's looking at it to see what's gonna happen basically.

Personally I don't think social media ban can work if VPN's just exist but maybe they can create such an immense friction but then again I assume that this friction might just become norm. I assume many of you guys must have been using internet from the terminal days where the friction was definitely there but the allure still beat the friction.
by massysett | 2025-12-26 17:36:41+00:00
> Externalities lead to users downloading extra gigabytes of data (wasted time) and waiting for software, all of which is waste that the developer isn't responsible for and doesn't care about.

This is perfectly sensible behavior when the developers are working for free, or when the developers are working on a project that earns their employer no revenue. This is the case for several of the projects at issue here: Nix, Homebrew, Cargo. It makes perfect sense to waste the user's time, as the user pays with nothing else, or to waste Github's bandwidth, since it's willing to give bandwidth away for free.

Where users pay for software with money, they may be more picky and not purchase software that indiscriminately wastes their time.
by ATiredGoat | 2025-12-26 17:37:19+00:00
Some doors in the Labyrinth are made of stone. Some are made of flesh. And some are made of choice. Whispers of Fate is not about monsters. It is about steps taken, bridges crossed, and corridors that listen for the sound of you deciding. This episode explores stillness, machinery mistaken for destiny, and a place where fate is not written. It is chosen.
by Workaccount2 | 2025-12-26 17:37:44+00:00
When I can replace a CAD license that costs $250/usr/mo with an applet written by gemini in an hour, that's a hard tangible gain.

Did Gemini write a CAD program? Absolutely not. But do I need 100% of the CAD program's feature set? Absolutely not. Just ~2% of it for what we needed.
by parineum | 2025-12-26 17:38:37+00:00
> Everybody knows LLMs are not alive and don't think, feel, want.

No, they don't.

There's a whole cadre of people who talk about AGI and self awareness in LLMs who use anthropomorphic language to raise money.

> We use this kind of language as a shorthand because ...

You, not we. You're using the language of snake oil salesman because they've made it commonplace.

When the goal of the project is an anthropomorphic computer, anthropomorphizing language is really, really confusing.
by rolandhvar | 2025-12-26 17:38:52+00:00
The thing that always irks me about c++ is this sort of thing:

> Explanation
1) Searches for the resource identified by h-char-sequence in implementation-defined manner.

Okay, so now I have to make assumptions that the implementation is reasonable, and won't go and "search" by asking an LLM or accidentally revealing my credit card details to a third party, right?

And even if the implementation _is_ reasonable the only way I know what "search" means in this context is by looking at an example, and the example says "it's basically a filename".

So now I think to myself: if I want to remain portable, I'll just write a python script to do a damn substitution to embed my file, which is guaranteed to work under _any_ implementation and I don't have to worry about it as soon as I have my source file.

Does anyone else feel this way or is it just me?
by Ritewut | 2025-12-26 17:39:26+00:00
I had a Framework mainboard die and I was able to replace it myself with a free replacement they sent me without need to throw away the laptop. The economics make sense when you consider they don't get the priority for chips or the volume discounts that a company like Dell would get from AMD or Intel. They are getting scraps and doing what they can to make it work.
by eigen-vector | 2025-12-26 17:39:33+00:00
Just like how you can share Claude chat sessions there's a lot of value in sharing Claude code sessions as well. So I built claudereview.

You can privately or publicly share your Claude code sessions. With a handy link for PRs or blogs or socials.

Reviewers see how the code was built, not just the diff. With data encrypted at rest and private links which you can choose to password protect, and a clean and fast TUI inspired UI.

Features include:

• Key Moments: files created, modified, commands run

• Inline diffs for every edit

• Jump between tools (Edit 10/29 ← →)

• Full-text search

• Dark/light mode

You can install from npm/bun and it also has an MCP server you can use to share sessions inli ne. You can also add a /share slash command to do this while you're coding.

It's open source and free - https://github.com/vignesh07/claudereview

I'd love your feedback!
by adrianN | 2025-12-26 17:39:38+00:00
If people depend on remote downloads from different companies for their CI pipelines they’re doing it wrong. Every sensible company sets up a mirror or at least a cache on infra that they control. Rate limiting downloads is the natural course of action for the provider of a package registry. Once you have so many unique users that even civilized use of your infrastructure becomes too much you can probably hire a few people to build something more scalable.
by basscomm | 2025-12-26 17:41:22+00:00
> Hey team! I find journaling for a fictive audience to be more effective personally; since it forces me to try digest my thoughts for an external listener.

Okay, but I don't understand the benefit of writing to an entirely fictitious AI construct instead of writing to the ideal of the kind of reader you'd eventually like to have.

I mean, I get that it's frustrating to pour effort into writing something that effectively nobody reads (i.e. you never connect with a wider audience), but engaging with an entirely fictitious audience seems hollow to me.
by Zacharias030 | 2025-12-26 17:41:27+00:00
Skimmed through it; mostly reading the paragraphs above each picture. The irony of which is not lost on me :)

Really enjoyed the part talking about Tolkien. It reminds me of my own LOTR experience:
I finished the trilogy in three consecutive summers in the hilly countryside of Italy near Rome.
The first summer I made it through the fellowship of the ring with a lot of patience and trying for the slower moving parts.
The summer after that I started over and read book 1 and 2, and in year three I felt I was finally in sync with the pace of the book and enjoyed reading through book 1, 2, and 3 in a few weeks.
by integralid | 2025-12-26 17:41:28+00:00
>many minutes

A bus can easily carry 50 passengers. 30 seconds times that many is 25 minutes. That's a lot of aggregate time wasted indeed.

Also assuming this 30 seconds delay is not compensated later, it can influence significantly more people than the bus capacity. And if someone misses a connection because of it that's even more time wasted.
Are you verifying that products are readable by AI shopping
by David_0101 | 2025-12-26 17:42:21+00:00
With more shoppers starting product discovery in AI assistants (ChatGPT, Copilot, Gemini, Perplexity), I’m curious how teams are handling the pre-visibility problem.

Specifically:

How do you check whether product data is actually interpretable by AI systems (not just indexed)?

Are you relying on schema validation, feed checks, manual prompting, or something else?

Have you seen cases where visibility tracking showed “nothing,” but the root cause was unreadable or ambiguous product data?

Interested in practical approaches, failures, and lessons learned
by Bridged7756 | 2025-12-26 17:42:55+00:00
Reading works for me, usually literature. But "learning" sounds like a good idea, though I'd need a tablet for that.

though I'm conflicted about the whole "use bed only for sleeping" bit, I find I can't really sit down or be too far from my bed or else I lose the tiredness by the time I jump in bed. Being AT bed works well, I just turn to the side and close my eyes when I feel tired.
by lunar_mycroft | 2025-12-26 17:43:13+00:00
> You refusing to write open source will do nothing to slow the development of AI models - there's plenty of other training data in the world.

There's also plenty of other open source contributors in the world.

> It will however reduce the positive impact your open source contributions have on the world to 0.

And it will reduce your negative impact through helping to train AI models to 0.

The value of your open source contributions to the ecosystem [0] is roughly proportional to the value they provide to LLM makers as training data. Any argument you could make that one is negligible would also apply to the other, and vice versa.
by borroka | 2025-12-26 17:43:18+00:00
I feel a similar way when I read Lunch with the Financial Times, which I used to love and now find tedious, partly because of the interviewer's snarky attitude and partly because they rarely, if ever, get to the point.
The idea is/was excellent, but the recent execution lacks seriousness. Excessive sarcasm and snark, especially in print, often come across as bitterness to my eyes.