Better HN
topnewbestaskshowjobs
Log inSign up

codebje

1,356 karma · joined Jun 19, 2017 (9y ago) · 591 submissions

Submissions

comment 21h ago · link · parent

Nothing does, see https://arxiv.org/html/2604.11791v2 for gory details. Many models converge almost all the time, models can be designed to be more likely to converge, but I don't think we understand how to guarantee it or verify that it's guaranteed yet.

comment 1d ago · link · parent

Docker Sandbox offers enterprise controls that so far I am not seeing as particularly common. I expect we'll see offerings from various other vendors pretty soon, but if we're talking about secure agent environments I think Docker Sandbox is leading the pack. I'd be really happy to hear people tell me I'm wrong, and what other products I should look at.

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 2d ago · link · parent

Pigouvian taxes are generally pretty effective at guiding corporations towards or away from particular behaviours without overt regulation.

comment 6d ago · link · parent

Also, egg all over my face with java4shell news today :-)

comment 6d ago · link · parent

Xirdus. (2026, November 18). Something like 20% of all internet is colocated in us-east-1 [Online forum comment]. Hacker News. https://news.ycombinator.com/item?id=50540186

comment 1w ago · link · parent

Apologies, I didn't mean to imply Maven was dead, though I can see how it comes through that way. I meant to imply Java is less popular than other modern languages, and is a bit less interesting as a target as a result. Not unpopular, not dead.

comment 1w ago · link · parent

I don’t doubt you would find a trove of issues in CPAN if you went looking. It’s not an interesting target, though, because it’s all but dead.

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

Feature churn moves faster than this sort of feedback loop does.

comment 1w ago · link · parent

That’s shifting the goal posts.

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

Better tools doesn't change the relationship between time, quality and cost. It just changes the bounds on those values. You can use a compiler to compile shoddily written high-level code just as easily as you can use it to compile well-written high-level code. The cost of writing the high-level code is cheaper than the cost of writing equivalent assembly, but the time and cost of writing good code remains higher than the time and cost of writing bad code.

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

Tailored suits vs. off the shelf ones? Cheap imports that fall apart after a few dozen wash cycles? You absolutely still pick two (at most) for clothing.

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

I've thought a bit about this. It probably depends on whether the notion that AI can actually replace programmers is hype or fact. If it's hype, we might well see a decline in the number of competent programmers in response to a reduced market (though, IMO, the people who respond to market signals about a profession are rarely the best talents). If it's fact, we'll definitely see a decline, and that'll be appropriate.

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

Distrust in allowing an unreliable vendor to control the fate of your business?

comment 1w ago · link · parent

AM5 is 3600MT/s for 4 sticks; check the specification of a CPU of interest to you, expand the Connectivity section. For 2 sticks it's 5600MT/s. The Ryzen 9 9950x3d officially only supports 5600 or 3600.

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

Ahaha we're going to re-learn a lot of the hard-won lessons of development over the next few years. Just because AI will tackle any job doesn't mean bad choices made now won't lead to time and cost blow-outs down the line. It'll just be token spend blow-outs instead of programmer hours.

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

"Good, fast, cheap" never changes.

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

It's a risk, not a guarantee, but there's nothing about macbooks that make them more susceptible to it than any other laptop with a li-ion battery. The batteries age. If they're in a machine that runs hot they age a bit faster (and my 2020 Intel MBP runs hot and is plugged in near 24/7), if they're charged to 100% all the time they age a bit faster (but battery management software like Apple has had for years nearly eliminates this risk factor).

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

The things I noticed:

- 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

I spent a long time as a younger man running general software inside ephemeral VMs. The UX was terrible, but I had no fears about browser vulnerabilities ruining my day. Ephemeral is hard, and the UX is still poor, but I did try it again a month or two back, and it's not impossible.

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

What categories of bugs would you say we eliminated going from macro assemblers to compilers?

(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

You might have that problem, but us-east-1 going dark is unlikely to impact my Australian carrier enough to knock cellular service out. But granted, I might notice something is up if I tried to use my phone for much. If us-east-1 vanished at the right time of day I might notice on my phone first, sure.

comment 3w ago · link · parent

Not by me; I couldn’t tell AWS NV was even missing without my laptop.

comment 3w ago · link · parent

Before that we need human methods to determine what 'correct' should mean for our code.

(Performance can be part of 'correct', and can be just as hard to actually get right in specification!)

comment 3w ago · link · parent

That problem is as old as commercial programming; it doesn't matter that now your actors are prompt engineer and LLM, the same story can be told with manager and programmer.

comment 3w ago · link · parent

I am pretty sure we have always been able to add holes faster than we can find them and fill them, and that this has not changed with the advent of faster hole finding tools that are also faster hole producing tools.

comment 3w ago · link · parent

Most day to day programmers prefer to keep the source code to their programs rather than the executable file, so I think it's not absurd at all, it just takes a brief moment of reflection.

comment 1mo ago · link · parent

I call an electrician to change a wall switch since an unlicensed handyman making a mistake that starts an electrical fire voids my home insurance.

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 tried #2 from here in Australia, but the experience was incredibly poor despite fibre to the home at 500mb/s. You'd be better off buying one of the gaming mini-PCs with 32GB DDR5 and a 760/780M iGPU for ~3-4yrs worth of monthly costs, but the Vimes theory of economics might prevent that.

(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.)

comment 1mo ago · link · parent

How often do you get that sort of crime attended to and resolved satisfactorily?
12345
20