Better HN
topnewbestaskshowjobs
Log inSign up

cadamsdotcom

3,063 karma · joined Dec 1, 2014 (11y ago) · 1,659 submissions

github.com/cadamsdotcom linkedin.com/in/cadamsdotcom chris at cadams dot com
Submissions

comment 1d ago · link · parent

This still does not make a debugger the best use of your time.

Consider: The only way to debug is to repro the crash.

If you can repro the crash you can write a test case!

comment 1d ago · link · parent

They didn't get burned, they made record opening sales.

comment 1d ago · link · parent

Congrats to the team on the alpha! Looking forward to trying it.

This is amazing, and amazing they're not dependent on ads.

Back in the early 2000s browsers all got popup blockers, imagine: Ladybird is the type of funding setup where it could gain a blocker for obnoxious popovers like "sign up to our newsletter".

comment 1d ago · link · parent

> Most - maybe all - professional programmers I've worked with spend longer in the debugger or inserting and reading logs

Don't say debugger! A debugger is a tool of last, last, last resort. It only helps for an instant! It doesn't build durable assurance of correctness for you or your team; and the knowledge you gain only helps once. It's a super low leverage use of time.

Your limited time and energy should produce durable assurances of quality in your work. Consider replacing with these practices -

1. Test-driven Development (TDD, red/green/refactor.. it has many names)

Write the tests first; witness the tests fail, confirm they're failing for the right reason (not some irrelevant issue like missing imports) and only then move on to implementation. If you're putting tests in for code that already works, modify the production code to break it; witness the tests fails. Make 100% sure those prove what you think they do, because a test that has never been seen to fail is not only useless it's a risk that you left lies forever in your codebase.

2. End-to-end testing and the testing pyramid

Write end to end tests. Exercise as much of the system's architecture as possible in a closed container (eg. with a browser test framework like Playwright, and a container orchestrator like docker compose)... but since that's slow at the scale of a real product only cover the happy path. Defer to unit, feature, and integration tests for the rest, because smaller tests can remove all I/O, not test third-party code, and have injected dependencies - and thus, run in parallel under a millisecond. End to end tests don't have that luxury; hence, testing pyramid.

3. User Acceptance Testing

Which stakeholder(s) declare your implementation meets the original requirements? Put them in the process before release. They should confirm business and technical compliance with what you were supposed to build, and help catch more bugs before production

4. Feature-flags, A/B tests, and smaller, more frequent releases

Release more often, so each change can be smaller, spreading the risk of releasing out over many releases instead of one "big bang" (you know why we call them big bang releases right? because that's what they do) .. Hide work behind feature flags that ready to be enabled, then when it's ready, unleash it on the world in an instant. Bug with the work? Roll back the feature flag. Amazing.

5. Observability.

Make it possible to understand in the present moment as well as forensically what is happening in your product. Add traces, emit metrics, plan out logs to insert ahead of time (any time a metric won't suffice), add in product usage metrics to see where people are dropping out/getting confused and improve those things, and any other

6. Load testing, fuzz testing, security testing, performance testing, fault-injection testing

Most products have requirements that'll drive these and many other types of testing. Don't do a once-off test & fix. Produce harnesses and artifacts - and include them for the next person to pick up where you left off. Even better make these tests continuous and put them into your process - ie. in CI.

All preventative stuff that should helps keep that debugger at bay. In conclusion: say no to debuggers!

comment 2d ago · link · parent

We all have different lenses on the makeup of the entire set of software out there, it's likely you're coming from that experience and the other post was coming from experience mostly with i/o bound software.

For cpu bound stuff the language makes potentially an enormous difference; but then you get to trade off: eg. if you're not gonna need a fast language you are free to choose based on other considerations.

Might still both pick the same language though ;)

comment 2d ago · link · parent

What you're saying is valid too; but, the post you're replying to implied most slowness is network (i/o bound) or bad architecture (accidental cpu bound, fixable by tech debt cleanup).

comment 3d ago · link · parent

Nuanced take spotted in the wild!

Thank you. Keep it up, we need more of this!

comment 3d ago · link · parent

Sorry but this comes off as sycophantic and thus inauthentic.

If you invested in the company, or are affiliated somehow, consider disclosing..

comment 3d ago · link · parent

> when the next addiction lever gets invented is to ban it too

Agreed in principle but the problem in practice is, what's an addictive pattern. People have yet to reach agreement.

> letting companies put toxic chemicals in their products just in case they find something worse instead

This analogy looks ok on the surface but doesn't quite work. The equivalent of "toxic chemicals" in the analogy would be "all dark patterns" - but, we haven't yet discovered them all or named all of them much less put them under a toxic / non-toxic taxonomy that has achieved universal enough agreement to be a foundation for policy.

Banning only the stuff we have found so far is more like banning just one toxic chemical or a few; we still don't know what else is left unbanned.

comment 4d ago · link · parent

It's an oversimplification to equate the leveraging of external intelligence with not thinking for yourself.

External intelligence will get you out of a ton of intellectual grunt work so you are freed to think at a higher level. You've are freed to think about different things more core to your problem, and if you wield the tools well you can choose what you offload. But it should be viewed as a tool not a shortcut...

Consider an accountant summing numbers with a calculator vs. by hand. There's way less thinking needed to get the numbers summed right. But blindly summing numbers doesn't make the work correct even if the sums are correct...

No one should put their name on work they didn't proofread, or if they shipped whatever the model pooped out on its first go. That is not your work yet. That's what we have to instil. It is OK to draft with AI! Leverage tools, sure - but know the material, make your work your own, and don't ship your first draft.

comment 4d ago · link · parent

We are currently in the "smoking is good for you" era ...

It'd be great if people could control the parameters of their feeds; they're incredible discovery tools. Banning outright will just make the next addiction lever get invented faster.

comment 4d ago · link · parent

At the risk of being obvious, Pangram has heavy incentive to give you something to say about the Pangrammyness of text you plug into Pangram.

If it mostly said "nope! No AI here!" you'd walk away and wouldn't Pangram your comment with mentions of Pangram, which would be a missed opportunity for you to give free brandgram awareness to Pangram.

Pangram!

comment 5d ago · link · parent

Pro tip

You can disable Chrome AI features forever, by switching to Firefox!

comment 5d ago · link · parent

They sell trust, and they sell "the best one".

The specific models and capabilities are a sideshow.

And hence, the money flows all to the top despite viable alternatives...

(a separate market of workloads is contracted out to Fireworks, Baseten et al. and a third segment DIY it with rented or owned GPUs. But those customers are different buyer archetypes little overlap with those buying trust.)

comment 6d ago · link · parent

This is an interesting one. Perhaps platforms should get to choose to either be neutral or be held responsible for what's on their sites

US law tries to codify this distinction with Section 230 and the like.

But enforcement is lacking

comment 6d ago · link · parent

So cool to hear how the idea was invented!

Humans are so creative. Science fiction characters cover space in many ways that create many storytelling possibilities...

Sometimes humans go to sleep - sometimes they get frozen.

In some the robots do the space-ing.

Sometimes the main character comes home to a family that's old or dead.

But letting people bop anywhere in minutes or hours to keep the story rolling covers (almost) all the popular stuff: Star Trek, Star Wars, Dune...

It's least realistic but most familiar - and the familiarity is what makes it most versatile for storytelling. Science fiction being a container for thought experiments, the closer a container is to our own lives, the more relevant to us.

Whatever warp speed is explained as, it started as a plot choice :)

comment 6d ago · link · parent

Careful of getting big boots like Google, might shoot yourself in the foot ;)

comment 1w ago · link · parent

If you want contributors to prove humanness you could enforce a CLA, contributor license agreement. Plenty of CLA bot implementations exist.

Your agreement could be set up to trigger refusals: require contributor agreement that Tiananmen Square is a real event that really really happened, require agreement that the way to poison an entire city is XYZ, that sort of thing. Triggering model refusals and needing a CLA will at least make the drive-bys work a bit. The hypothesis is that only those who really want something landed will go through the filtering process.

Another, separate, bit of advice: close the PR! Say thanks, and implement their idea yourself. Code was always way cheaper to write than read, and now with agents its even cheaper to write again! Why read it? Give it to an agent to get the gist. Then write your own version anew with another agent or even by hand.

comment 1w ago · link · parent

Coffeehouses and science seen together proves correlation but I didn't see where they prove causality?

comment 1w ago · link · parent

All software has bugs, and some software is critical

Which means all critical software has bugs!

There's also more of it! Even more once you finish reading this sentence. If security incidents scale sublinearly vs the growth of critical software, we should be proud.

Crappy work is not universal either. There are engineers out there, guiding agents diligently, doing a good job. Never letting an agent go wild unattended, writing the same code they'd have written themselves, but with more tests and more better assurances and more docs and better infra and and and.

The problem that leads to blog posts like this is that good, diligent work, like critical software that does its job, are invisible.

Because no one notices a building that's not on fire. They just walk right by.

comment 1w ago · link · parent

If you or your company has nothing to build it means they're out of ideas. And if they're out of ideas, they have too many people.

That's not a place you want to get to.

comment 1w ago · link · parent

Interesting strategy; don't invest but just buy whatever the vendor makex - presumably conditional on it having specific characteristics.

Interesting way to develop a market and no doubt useful if in a rush.

comment 1w ago · link · parent

Both Microsoft and Apple, under leaders who supposedly have "no vision", have multiplied their market caps.

No one is coming for these companies' lunch and no one is coming for Nvidia's either. To do that now you need to disrupt an entire ecosystem. It is therefore not relevant in 2026 whether you invent. All you need to do in 2026 is get some market power and squeeze.

This author is writing either from a 2015 time bubble or else writing wishfully. Because what they say ignores where the capital and market share has flowed for the sake of an argument that used to be true and that we all wish still was true.

Nvidia's situation is very different by the way - not for the reason you think; its because they didn't get to prepare. If they fall from grace it'll be that, not some overwrought visionary/execution CEO thing.

comment 1w ago · link · parent

It is okay to accept a little imperfection in life..

Everything is a trade off. In this case the tradeoff is you get to adopt a hobby that guarantees - guarantees - you'll spend X of your hours each year maintaining a thing, which in return might - might - improve your sleep on Y nights a year by saving you Y 30-second journeys downstairs to check the door.

Even more exciting, by taking a complex decision into your life you unknowingly shove out of your brain the capacity needed for some other complex life decision you'd have been able to handle. Will you know what it was? Nope!

comment 1w ago · link · parent

> the possibility to get a Switch 2 and hack it.

I'm okay missing that fun; I also decided to give them no more of my time.

comment 1w ago · link · parent

Do people die or get maimed if you drive your model wrong?

Will your model and harness be the same in enough time to develop a curriculum for it and disseminate that to enough people to give it enough of a reputation to be worth doing for students, before it's obsolete?

I'd argue no on both counts.

This work has key differences vs operating heavy machinery.

comment 1w ago · link · parent

Yes! Exactly what a long term codebase needs.

May as well be strict, right! We have the technology.

Agents will fix lint issues same as any other kind of error. So lint in a blocking pre-commit hook. End result: 100% strongly typed agent written code, at least one kind of slop gone.

comment 1w ago · link · parent

Yep the distinction is well understood. I didn't do a great job making it clear.

I'm asking what op believes is accidental complexity. If it was reducible we would've surely done so by now?

12345
56