MurphyA/hacker-news huggingface dataset:
by Lerc | 2025-10-24 14:48:08+00:00
Is this an example of https://xkcd.com/810/ ?

If you want something done by hand, I made kind-of the same thing in JavaScript ages ago. (actually, no I just looked and I made the emulator part in Haxe)

https://k8.fingswotidun.com/static/ide/?gist=ad96329670965dc...

You can load programs from gists. Save to local storage, maybe some other features, it's been a while.

Assembler is at https://github.com/Lerc/AvrAsm Emulator is at https://github.com/Lerc/kwak-8

[Edit] Taking a look at the other posts, I think that the user is using AI, but also sincere in their intention of learning by making things. You will get people at all skill levels posting to Show HN: So I don't necessarily think it's a bad thing that they are posting something that doesn't require a lot of skill. Some of these beginner efforts are quite well received.

AI moves the bar somewhat, for what a beginner can do. In an ideal world, they would also clearly indicate their methods to avoid confusion or making people feel like they have been tricked. In their defence, this too, is an attribute of beginners. They have yet to learn the expectations of the community.

It get's even more complicated with AI of course, because the expectations of the community on this are rather in flux right now. To an extent, we're all beginners when it comes to what can be made with AI, how to use it, and how to present it.
by Workaccount2 | 2025-10-24 14:48:52+00:00
This isn't a hardware start-up, it's a software start-up using off the shelf consumer hardware to give their software product a home.

If it was a hardware start-up, the camera would be $80 built with custom purpose made hardware.

Once you decide to launch a hardware product composed of completed consumer hardware products, you are already dead. All the margin is already accounted for.
by voidUpdate | 2025-10-24 14:50:02+00:00
I don't often fly, but back when I went to germany on a school trip, on the return flight I got pulled aside into a small room by whatever the german equivalent of TSA is and they swabbed the skin of my belly, and the inside of my bag. I'm guessing it was a drugs check and I must have just looked shifty because I get nervous in situations like that, but I do find it funny that they pulled me aside instead of the guys with me who almost certainly had something on them.

Also my partner has told me that apparently my armpits sometimes smell of weed or beer, despite me not coming in contact with either of those for a very long time, and now I definitely don't want to get taken into a small room by a TSA person (After some googling, apparently those smells can be associated with high stress)
by rustdebatetime | 2025-10-24 14:50:04+00:00
> There are almost no C programs without UB. So a lot of what you would call "compiler bugs" are entirely permitted standard. If you say "no true C program has UB" then of course, congrats, your argument might be in some aspects correct. But that's not really the case in practice and your language standard provides almost no practical stability nor good cross-compatibility in compilers.

If the compiler optimization is compliant with the standard, then it is not a compiler bug. rustc developers have the same expectation when Rust developers mess up using unsafe, though the rules might be less defined for Rust than for C and C++, worsening the issue for Rust.

I don't know where you got the idea that "almost no C programs [are] without UB". Did you get it from personal experience working with C and you having trouble avoiding UB? Unless you have a clear and reliable statistical source or other good source or argument for your claim, I encourage you to rescind that claim. C++ should in some cases be easier to avoid UB with than C.

> > Rust is worse when unsafe is involved.

> It's really not.

It definitely, very much is. As just some examples among many, consider aliasing and pinning https://lwn.net/Articles/1030517/ .
by saghm | 2025-10-24 14:50:06+00:00
I honestly don't understand the logic behind policies like this. As a kid, my friends and I loved to buy Pokemon and Yu-Gi-Oh cards for a few years, and while I think most adults thought it was pretty silly, I don't recall anyone ever claiming that this was somehow equivalent to gambling for children despite it basically the same mechanism as loot boxes; most booster packs were essentially not worth the value once opened because with the exception of a few specific rare cards in each set, the cards were not very valuable even to a collector or player of the game.

I could see an argument that there's an issue with closed ecosystems where value of an item can be changed after someone has obtained it due to control by a centralized provider, but that's completely different concern to the idea of gambling being harmful.
by sdenton4 | 2025-10-24 14:50:46+00:00
Hm, so you would put a hypothetical scenario on the same footing as thousands of actual deaths caused by drunk drivers each year? 30% of us road fatalities involve a drunk driver each year...

I seriously doubt that the "mass takeover and murder" scenario would ever actually happen, and further doubt that it would cause anywhere near 10k deaths if it did occur.
by mort96 | 2025-10-24 14:50:51+00:00
I have a 2021 MacBook Pro with an M1 Pro.

It's getting a bit old, so it would be nice to replace it with a new MacBook Pro in not too long. But honestly, losing Linux support would be pretty devastating.

Docker and virtualization just isn't the same. There's lots of interesting stuff you can do with your hardware in Linux, there's for example Linux-specific software which puts the WiFi card in promiscuous mode and does useful stuff with that. That sort of software doesn't work virtualized. And I have all sorts of issues with loopback devices in Docker in macOS; 'losetup --partscan' doesn't seem to work at all, even in a privileged container. For these sorts of things, having a genuine bare-metal Linux install I can reboot into is invaluable.

I wish things had turned out otherwise, and we didn't have to choose between buying a Mac without Linux support and buying a 3-5 year old Mac with Linux support. And I expect that as time goes on, Asahi will just fall further and further behind.

I'm not really sure what to do. Maybe this MacBook Pro was just a one-off, and I have to go back to buying Windows laptops and putting Linux on them. But they just aren't as nice.
by CaptainOfCoit | 2025-10-24 14:51:06+00:00
Typically legal gambling has age limits by law, while the age recommendation for video games is just that, an recommendation. It isn't illegal for a 14 year old to play a game recommended to 18 year olds. Don't know how it works in the US specifically, at least how it works in other places.

I'm guessing the video games industry's attempt at self-regulating with PEGI and similar efforts actually paid off.
by Waterluvian | 2025-10-24 14:51:28+00:00
There's something funny about how some countries try to enforce this and how Valve "solved" it, which I think demonstrates how silly "there ought to be a law!" thinking can get.

I believe for some regions, Valve just shows you what's in the "lootbox" (case, whatever), and you have to pay to acquire it before you're shown the next one.

This isn't to say I don't fully agree that this kind of thing is probably predatory and probably unhealthy. But I find most discourse on the topic starts and ends at the shoreline with a version of "there ought to be a law..."
by jordanmnunez | 2025-10-24 14:52:45+00:00
I wanted AI agents and developers to share a single source of rules that adapted to context. - A local dev might have bd installed. - A cloud coding agent might have none of them with other resistrictions.

Static AGENTS.md files don’t scale to those realities. They’re either overly general or wrong for half your environments.

How it works

Templates live in .cAGENTS/templates/ with YAML headers that define conditions:

--- name: beads when: use_beads: "true" order: 20 --- ## Issue Tracking with bd **IMPORTANT:** This project uses bd for ALL issue tracking. - Check ready work: `bd ready --json` - Create issue: `bd create "Title" -t bug -p 1` [variables.command] use_beads = "command -v bd >/dev/null 2>&1 && echo true || echo false"

When you run cagents build, it evaluates conditions and composes AGENTS.md (and CLAUDE.md, etc.) using only relevant templates.

If bd is installed → the section appears. If not → it’s skipped. Same templates, different contexts.

My goal is to have this library help me implement progressive disclosure for AI agents. I want to present the right amount of context at the right time. I'm experimenting with `cagent context` so an AI agent can look up all relevant rules for any file automatically and On-demand detail granularity. The dream is that agents that don’t need a 300-line AGENTS.md. just the parts that matter for what they’re touching.

How I use cAGENTS:

- Gitignore instruction files; commit only templates. - Auto-build on postinstall. - Keep templates small and composable.
by xbar | 2025-10-24 14:52:57+00:00
Well said. There is a large number of inexpensive, long-batteried, powerful devices with lovely designs, good keyboards and trackpads that Asahi Linux has enabled to run Linux on beautifully.

There are a 1st gen M1 Air wedge and M1 Macbook Pro 14 in my home that belong to other family members. I look forward to running Asahi on them when the users eventually upgrade.
by anon291 | 2025-10-24 14:53:04+00:00
Because population grows exponentially, either up or down, and money is a means of quantifying work and labor at the end of the day. Thus its value rises in the same way

Put another way, there is no number of children per couple C such that a population initially composed of N individuals will always add X>1 number of children per year in perpetuity.

If every person has one kid (or alternately, every couple two), then the growth rate is zero and the population constant. Constant population is exponential (exponent = 0).

If the number per couple is below two, then population declines exponentially. Fewer and fewer people die each year but also fewer are added. Eventually the population hits zero

If the number is more than two, then more and more are added each year
by cubefox | 2025-10-24 14:53:10+00:00
> Steam factually provides a huge amount of value to both developers and to players.

This is an outright falsehood. Other providers could host those games for much less than the 30% fee. Hosting costs are extremely low nowadays. It's basically nothing compared to the development cost of an AAA game. This is often many years and hundreds of people working on a game. The hosting costs are completely minor in comparison.

By your definition, any monopoly selling you strongly overpriced stuff would be a "huge success of capitalism". But it isn't. Just because something is useful, doesn't mean it can't be massively overpriced due to competition not working as it should. Proper market competition should ensure that no company can extract huge profit margins for trivial things. Like hosting games.
by pvitz | 2025-10-24 14:53:19+00:00
A shot in the dark, but maybe you could give me a hint. Recently, I was interested in extracting sprites from an old game. I was able to reverse the file format of the data archive, which contained the game assets as files. However, I got stuck because the image files were obviously compressed. By chance, I found an open source reimplementation of the game and realised it was LZ77+Huffman compressed, but how would one detect the type of compression and parameters with only the file? That seems a pretty hard problem or are there good heuristics to detect that?
by Pxtl | 2025-10-24 14:53:31+00:00
I would argue then that the Senate is extremely overpowered. The disproportionate body should be a brake on the power of the government, not be the literally stronger half of Congress.

The fact that the most democratic part of the US government, the house of reps, is now the weakest part of the US legislature is ridiculous.

If we're dreaming up fixes, I'd say

1) Senate actions should require a strict majority. If anything should require super-majorities, it should be the House of Representatives.

2) The Senate should not be in control of appointments to the exclusion of House of Reps. No idea what the ideal system is there but the disproportionate body should not be more powerful than the proportionate body.

3) The Senate should be able to at most block an action for one term of Congress. That means that every Senate action can be overridden by an election. Which means the disproportionate body is effectively calling a referendum on legislation, instead of being a hard-stop.
by jqpabc123 | 2025-10-24 14:53:34+00:00
FSD - Is there any point re-hashing how long Musk has been wrong about this?. Ride share/robotaxi is yet another dream layered on top of this failed vision.

https://www.forbes.com/advisor/legal/auto-accident/tesla-aut...

Robots - Not currently available. What does exist are demos that are being questioned as fake. Why the FTC hasn't investigated this as blatant investor fraud is open for debate.

https://www.nasdaq.com/articles/exclusive:-teslas-humanoid-r...

Hope and hype is all they have to support a market cap of $1.5T and P/E approaching 300. And this is truly absurd.
by lucideer | 2025-10-24 14:54:01+00:00
> overhead of the http layer

Detail of this well-covered in sibling comments, but at a higher-level, two thoughts on this:

1. I see a lot of backlash lately against everything being HTTP-ified, with little justification other than a presumption that it necessarily adds overhead. Perf-wise, HTTP has come a long way & modern HTTP is a very efficient protocol. I think this has cleared the way for it to be a foundation for many more things than in the past. HTTP/3 being over UDP might clear the way for more of this (albeit I think the overhead of TCP/IP is also often overstated - see e.g. MQTT).

2. Overhead can be defined in two ways: perf. & maintenance complexity. Modern HTTP does add a bit of the latter, so in that context it may be a fair concern, but I think the large range of competing implementations probably obviates any concern here & the alternative usually involves doing something custom (albeit simpler), so you run into inconsistency, re-invented wheels & bus factor issues there.
by schmidtleonard | 2025-10-24 14:54:16+00:00
Yep, the only way to convince companies to offer an API is to implement an agent that slowly but surely works around whatever trainwreck of a web experience they put in its way and then give them an option to make it smoother by offering an AI.

See: mobile websites. They sucked so badly that "desktop internet, not mobile internet" was a big selling point of the original iPhone. Then, once mobile had enough market share to "set the terms," we went back to having special mobile versions (or even mobile-first), but this time it didn't suck. Part of that was tech, but most of it was mobile acquiring a critical mass of marketshare, and the winner of the mobile wars won using an all-important temporary workaround stepping stone that solved the chicken-egg problem.
by matthewmacleod | 2025-10-24 14:54:26+00:00
This is so cliché that I have a hard time believing that this isn't just trolling… but it's kind of irrelevant how much you spend on "$20 lunches" if you are struggling to afford things like education, healthcare, and shelter.

I'm old enough to have missed the worst of this – the generation after me appear to be completely fucked in terms of what they can practically afford, and no amount of "the youth are just irresponsible!!!!" stupidity is going to to change that.
by lunias | 2025-10-24 14:54:26+00:00
Steve Wozniak left Apple in 1985 because he felt the company was no longer an engineering-led one and missed the fun of creating things rather than dealing with management.

That was 40 years ago. Jobs cared immensely, but the snowball has been rolling for a long while. Decisions used to be made by people that actually cared, but now they're made mostly by poseurs.
by CaptainOfCoit | 2025-10-24 14:54:40+00:00
I promise you're not missing much, except some commits that are implementing something, reverting it, implementing it again slightly differently, fixing typos, replacing 80% of the codebase in one swoop and similar stupid and un-needed stuff.

If the project is from the get-go supposed to be a long-lived project (like professional development for a business) then I agree, don't smoke the entire history no matter how embarrassing it is.

But for my personal projects, I can let you know that having access to the git history before I made it FOSS will make you dumber rather than being helpful for anything, compared to one clean starting commit.
by d0100 | 2025-10-24 14:54:41+00:00
As a dev trying to create 3D games on my spare time, I actually am (I'm also eager to use stableprojector once I upgrade my 10yo pc)

It's really hard having to be a 3D modeler, animator, art director, developer and having good enough taste to know you're never going to have the time to build what you find acceptable
by marcellus23 | 2025-10-24 14:55:00+00:00
It's not skimmed over, they cover it near the end in the "Requirements and challenges" section:

> The most challenging phase of the mission may be related to how the nanocraft can transfer from an unbound to a bound orbit and start orbiting around the compact object. All possible solutions should be considered carefully. In the case the transfer is not possible, we may redesign the mission to perform the scientific tests when the nanocraft passes close to the black hole. For example, when the nanocraft is close to the black hole, it may separate into a mother-nanocraft (with a wafer and sail) and a number of small nanocrafts (without sails). The nanocrafts could communicate with each other by exchanging electromagnetic signals. The mother-nanocraft could compare the trajectories of the small nanocrafts to those expected in a Kerr spacetime and send the data to Earth.

Light sales can theoretically be used to not only accelerate away from Earth, but also decelerate at the end of an interstellar journey (see Robert L Forward's work). The practicality of that is another matter.
by philbe77 | 2025-10-24 14:55:03+00:00
Hi nodesocket - I tried to do 4 CPUs per node, but Kubernetes takes a small (about 200m) CPU request amount for daemon processes - so if you try to request 4 (4000m) CPUs x 16 - you'll spill one pod over - fitting only 15 per node.

I was out of quota in Azure - so I had to fit in the 63 nodes... :)
by ElevenLathe | 2025-10-24 14:55:10+00:00
I don't know it for fact, no. BUT...I would be very surprised if the average working film director hasn't heard of Ernst Lubitch or Ringo Lam (here I'm deliberately picking names that aren't commonly known by the public at large, like Steven Spielberg). Obviously we could do this for lots of vocations, but really my statement above was about serious practitioners, people who are deliberately trying to improve their art, rather than just hammer a check (which, again, is normal and fine!).
by joezydeco | 2025-10-24 14:55:19+00:00
I had to beg to get the family to buy an Apple ][, but then someone handed me a pirated copy of VisiCalc and my dad wouldn't let it go. He was a recently minted MBA that had spent years grinding with SPSS and VisiCalc was a magical thing.

After that we always had nice printers and lots of storage as he started a consultancy and drove it all from that Apple ][. He even wrote documents in the spreadsheet, he refused all attempts to move to a proper word processor. Lots of fond memories there.
by rob74 | 2025-10-24 14:55:31+00:00
If I understood correctly, the test suite they are using are the tests used for the original coreutils. Apparently, the behavior that led to this bug wasn't covered by the original test suite (and it looks like the original coreutils just got the behavior "right" without it being tested), so the uutils guys added new tests to cover this after the bug was found.
by renshijian | 2025-10-24 14:55:37+00:00
That’s a fair point — verification itself still depends on trust in the verifier What we’re trying to test isn’t absolute truth, but transparency under uncertainty You’re right that people often misread probabilities — but maybe that’s the point If we can see uncertainty, even imperfectly, it starts a different kind of trust Not blind faith — more like “I know what this system knows it doesn’t know.”
by einsteinx2 | 2025-10-24 14:55:45+00:00
I should have been ready for the HN pedantry...

When I said base model M1, I meant the CPU as opposed to the M1 Pro or Max, not the base model machine. The M1 CPU is fast enough to be "capable for years to come."

Also Asahi currently has decent support for up to the M2 Max, which is available in significantly higher configs and very much will be "capable for years to come".

Yes they still have soldered SSDs, but I have a feeling the 4TB SSD in my personal M2 Max machine will in fact last for many years. Not to mention that it's possible to solder on different NAND chips if the existing ones fail, though of course that requires a shop with sufficient skill and tools.

My point was only to say that keeping up with each years model may in fact be impossible, but the M1 and M2 line of chips are so capable that even if they stopped there, it would be a useful operating system for many years.
by smallstepforman | 2025-10-24 14:55:52+00:00
This can be done with no tech at legit casinos. Just have a group of people with a predetermined “tell” system so that only the best hand in the group competes against the fish. In a 4 player game, with 3 teamplayers and 1 fish, thats 75% of games you’ll win. With zero tech.
by woodruffw | 2025-10-24 14:56:24+00:00
I've always found TLP confusing: it's not really clear (despite definition) what a community or organization is, which means that there's no clear decision procedure for determining whether a degree of access has been violated.

In my experience doing security embargos/disclosures, it's a lot easier to just explicitly enumerate the set of people/organizational entities who should be given access to non-public information.
by bestouff | 2025-10-24 14:56:34+00:00
I used to have the same one, with Asahi. There were some problems which were never fixed (battery drain in sleep mode, no working Thunderbolt ...). Now job will give me a brand new one (I guess M4 or M5), I don't know how I'll do to run Linux on this. Either it'll be a VM or I'll use my own thinkpad. So sad.
by jnxx | 2025-10-24 14:57:06+00:00
https://xkcd.com/2030/

Here in Germany, the Pirate Party has discussed the topic at length, since they (1) love voting innovations, and (2) have generally good knowledge on CS stuff, and so far I think no real solution is known for anonymous, confidential, secure digital voting with verifiable results, which is easy to reach with paper ballots and public observers of the counting.
by parados | 2025-10-24 14:57:19+00:00
Sort-of agree, but then I saw this code in the Visualiser[0]

try: import matplotlib.pyplot as plt except Exception: plt = None class Visualizer: def animate_combined( # Stuff... ): # Stuff... try: import numpy as np except Exception: print("numpy is required for animation") return if plt is None: print("matplotlib not available - cannot animate") return

Is AI really that bad? Or has it been written by a human?

[0] https://github.com/sql-hkr/tiny8/blob/main/src/tiny8/visuali...
by Retric | 2025-10-24 14:57:21+00:00
As a kid I viewed MtG, baseball cards, etc as gambling and often heard them referred to as such.

The loot box issue is in part how easy it is to take this stuff to excess. My 8 year old niece racked up ~1,500$ worth of charges in a game when AT&T messed up permissions after a cellphone upgrade. It’s shockingly easy for people to blow arbitrary money on this stuff as the industry is optimized to be predatory as whales make up the bulk of profits.

So I suspect physical stores being really skeptical if an 8 year old showed up to buy a grand of Pokémon cards likely tampered the backlash.