1,356 karma · joined Jun 19, 2017 (9y ago) · 591 submissions
comment 21h ago · link · parent
comment 1d ago · link · parent
I say "I think" because I have not evaluated it yet, on account of it requires a docker login for all uses, local-only included, and I suspect that means it's going to go all Docker Desktop on us.
comment 6d ago · link · parent
comment 1w ago · link · parent
Java via maven central is similar. It’s not a popular language. We know those libraries are riddled with issues - log4j’a big vulnerability isn’t that old - and simply requiring a GPG signature on a package is a thin guard against compromised uploads.
The NPM ecosystem is uniquely suited to supply chain attacks though. It has a massive rate of churn, which makes it impossible to maintain dependencies safely. You either lock in and hope there’s no big issues or ride the wave and hope you don’t get hit by zero days.
comment 1w ago · link · parent
I hit a corner case yesterday in which assembly would give me a better result than compiled code. Emulating an eZ80 ALU on an x86_64 platform means doing a simple operation like add then taking something like 26 more instructions to sort out the flags. Or you can just use ‘mahf’ to load the x86 processor’s own flag results into a register and use them almost verbatim.
It’s still not worth doing, though, since I can easily reach performance targets without.
comment 1w ago · link · parent
Then, too, hand-crafted assembly still beats compiled output, if you consider the only upper limit on quality. The gap in quality is much, much smaller, and the gap in time and cost is much, much bigger, though, so it's almost never worth the trade-off.
Let's say that AI-generated software eventually (or already, if you like) produces better quality software than people can produce, given the same time and cost restrictions. You can still spend more time and cost to get a better result, or accept a worse result to save time and cost. Or take more time to get a good result but more cheaply using off-peak pricing (tokens or power, take your pick). Or throw more parallel agents at the problem to get a good result faster, but at higher cost.
Pick two. Always.
comment 1w ago · link · parent
The industrial revolution may have changed the bounds, but it didn't change the relationship.
Your one-off Python scripts are a bit like handkerchiefs. You can make a one-off hanky by cutting a square off an old sheet, fast and cheap, but it's clearly not as good as a re-usable one and you'll throw it out after using it once or twice. That sort of idea simply doesn't scale with complexity. A "good enough" pair of pants needs a lot more than just snipping out a shape. Even a one-off pair of pants, like for a costume, requires time and effort. So too with larger programs. They require more time and effort.
AI changes the bounds: it's cheaper and faster to produce software than it was, but it's not cheaper or faster to make something good than it was, not by an appreciable amount. It remains to be seen if software turns into cheap clothing advertised on buses that is barely fit for purpose... but the industry's track record isn't anything to praise, so probably, it will.
comment 1w ago · link · parent
But for whether a kid will have the motivation and patience to learn how it all works depends, as it always did, on the kid. I started out typing in BASIC programs from magazines. If I weren't who I am, that might have been the extent of it - typing programs in gets replaced with loading from diskette, but no curiosity about how they work ever kicks in. Certainly kids born just a tiny bit later than me cut their teeth on machines where you never saw source code except by choice, and still got the urge to figure out how it all works and to make it do what you wanted.
Plus, of course, I wouldn't, as a child, teenager, or young adult, have ever paid the equivalent then of $300 to have someone else write something for me. That's a rich man's trade-off. I still wouldn't today: maybe I could spare that sort of money but ingrained habits that say I can make that myself die hard.
(And maybe Aiden gets an interest in game design sparked, rather than in programming!)
comment 1w ago · link · parent
https://www.amd.com/en/products/processors/desktops/ryzen/90...
Obviously, you can run memory faster than the officially supported speed, including 4 DIMMS, but the Zen 5 architecture has a reputation for being finicky trying to run 4 DIMMs at higher speeds and you need a bit of care in what you pick and how you tune it.
comment 1w ago · link · parent
On the bright side, since every LLM is completely ignorant of your project's history and minutiae, the "mythical man month" doesn't have an AI equivalent and you can slap on more and more agents to convert time blow-outs to cost blow-outs.
comment 1w ago · link · parent
Messy, fragile codebases have a greater cost of change and a greater likelihood of errors with every change. AI tokens might be cheaper than developer hours but you'll still burn more of them working on a messy code base, and still have the reputational impacts of a high error rate.
If "fast" and "cheap" are the main drivers, you'll get "bad". And I think it's a great deal easier for developers to follow the path of least resistance and allow "bad" to deliver faster and cheaper when it's AI that's reading the code.
comment 1w ago · link · parent
There was, however, a batch of macbooks in 2019 that got recalled for a defect that increased the chance significantly, and perhaps that's what the parent poster has in mind.
comment 2w ago · link · parent
- punch and kick don't seem to have differences in effect, just animation - bosses don't have obvious gimmicks to beat them
But the main take-away for me is that this takes me back to computing in my youth, where you could dream up a project and bash it out in a few days. It wouldn't be polished, it wouldn't be perfect, but it would be yours. It would do what you wanted. Computing was ours, it didn't yet belong to big corporations controlling what we could do and how we could do it.
Projects like this give me hope that a new generation will experience that. Aiden won't ever forget this game, even if it's nothing special to you or me. Aiden won't ever forget that feeling of imagining a change, and having it happen. The price for it would've been somewhere around $300-$500, so not exactly broadly accessible - making AI efficient enough to run cheaply should be the main goal of humanity, but we're letting computing get locked up by a few rich sociopaths once again.
comment 2w ago · link · parent
But now I am doing all my software development back inside ephemeral VMs, AI or otherwise - the UX there is much better, I significantly mitigate supply-chain attack risks, and agents are already constrained to a secret-less, low privilege environment, should I use them. There's a significantly higher likelihood of rogue software in third party dependency trees than there is in a small subset of programs you regularly use.
comment 3w ago · link · parent
(Operating systems, by the way, are the exception to the rule for assembly: the Linux kernel today has an x86/x64 assembly source component around the same size as MSDOS 5.0: ~250kloc of it. Windows is smaller, based on the NT4 kernel leak at around 70kloc. As a percent of total they're much less, of course, but they also do much more. And have correspondingly more bugs, too.)
comment 3w ago · link · parent
comment 1mo ago · link · parent
Plumbing is fractionally less regulated where I am and I am allowed to change my own taps washers, but a whole tap assembly falls under similar issues as a power switch.
comment 1mo ago · link · parent
(I wound up building a gaming PC, much more capable but much more than the cost of streaming over an equivalent lifetime - IF streaming services don't enshittify to cost more and deliver less over time, which we all know they will.)