Better HN
topnewbestaskshowjobs
Log inSign up

drooby

1,775 karma · joined Mar 6, 2021 (5y ago) · 504 submissions

Submissions

comment 3d ago · link · parent

This is the future, I'm convinced.

I’ve been building a framework of my own and it’s already found dozens of important and critical bugs on my team at work.

The next problem to solve after this, though, is formalized intent.

A bug is often a bug if the app is not behaving as intended. What we intend is not always so clear, and it will remain an area of the engineer's and product designer's responsibility, because software is complex, and what we want cannot be computed so simply. Defining and understanding intent will remain a "human bottleneck" for many companies.

comment 5d ago · link · parent

This is truly a fascinating comment.

Do you know what art is? Art has always challenged taboos, authority, religion, or comfortable assumptions.

Art is very often, offensive. The art is not what you think it is.

comment 5d ago · link · parent

Without a clear eyed view of everyone post-mortem. We have no clue if AI slop code is the underlying culprit.

This blog post is just another speculative hot take.

Here are a few facts that don't necessarily point to slop or "capitalism bad" as the culprit.

1. Code is moving faster. Code quality may have even improved or stayed constant, but simply more code means more bugs overall. 2. Malicious actors are moving faster. Malicious agents don't sleep, and security teams, and existing mitigation and prevention techniques haven't caught up yet. 3. Existing bugs, written by "people that gave a shit", are revealing themselves under new levels of load.

But yeah, "capitalism bad, they laid off all the smart people, and I'm smart" ... is a satisfying take... honestly kinda sad that these kinds of posts get upvoted.

comment 1w ago · link · parent

Most folks here didn't even know, but a Bitrise security outage hobbled our entire CI this weekend. Friday to Sunday night.

The security issue motivated all Bitrise customers rotating their secrets. this was a big deal for mobile deployments but didn't get much attention on HN..

comment 1w ago · link · parent

I'm glad they're taking this seriously

comment 2w ago · link · parent

That feels like a pretty uncharitable interpretation of my original comment.

I was describing general strategy, that when applied in concert is more than the sum of its parts.

E.g I mentioned property-based testing, that is another angle at which a test avoids assertions that are too fine grained.

comment 2w ago · link · parent

What do you mean "exact output rather than behavior"?

If you mean asserting against hardcoded literals, then that is the preferred testing shape in most cases. And for good reason.

If you change production code and a unit test fails, that is useful. Idk why that's silly. If you want to test more complex interaction write a UITest or integration test.

I honestly think we're all living in different worlds. There's probably large differences in capability on a per-language, per-team, per-codebase, per-engineer environment that are producing wildly different perceptions in output quality.

comment 2w ago · link · parent

Step 2: Prompt the agent to comment out the "when" code and check if the tests fail. (If tests don't fail it's a poor test)

Step 3: Prompt the agent to write mutation tests to harden the suite

Step 4: Prompt the agent to write property-based tests.

Step 5: Prompt the agent for 100% code coverage

Step 6: Keep a look out for small issues with steps 2-5 above and refine a Skill or Rule to package the workflow and plug gaps in the model's current shortcomings.

Step 7: Dedicate some time to manually reviewing and thinking about interesting edge cases worth testing.

---

If you follow these steps, you will have better test coverage than 99.9% of any code an engineer ever wrote pre-AI... and it will be almost completely automated.

My team's incidents and bugs are DOWN this year while we're shipping more.

Leveraging AI effectively requires a new paradigm of interaction. The name of the game is to use techniques and strategies and guardrails that create an environment that produce good software.

comment 1mo ago · link · parent

Let's be more ambitious with the scaffolding and tooling that makes software correct, secure, and easy to reason about.

comment 1mo ago · link · parent

What do you mean?

Are you saying he's not accounting for the multi-verse where other worlds killed themselves and we just so happen to survive?

comment 1mo ago · link · parent

I'm a staff engineer on team of 20+ engineers working in a single codebase. We're all pretty heavy users of AI, like most engineers today.

I worry about a lack of understanding creating risk, and we are creating tools and conventions to address this risk.

But I don't yet see evidence that we're losing touch with what we're building.. yes, code is shipping faster, but I'm honestly just not seeing this "sleep-walk-engineering" issue in reality.

Code isn't shipping so fast that the engineer doesn't understand the intent and general implementation details of the PR.

PRs are required to be small (400ish lines), and have tests, and good PR descriptions must be present. And two humans must approve the PR.

The time it takes to understand, verify and validate the change is fast, often as fast as or faster than the time it takes for AI to implement.

As it stands right now, our level of understanding, PLUS our new verification tools... is all we seem to need.

We're not like the hyperscalers, but we're considering how some of their approaches might fit into our workflow.

And much like Anthropic, we aren't seeing bugs increase with the rate of code increase.

Engineers are still able to understand enough of what they need to.

comment 1mo ago · link · parent

Well.. again, you might be in for a surprise if you read the article. The also use codeowners to require authentication related code receive human eyes.

comment 1mo ago · link · parent

You're in for a surprise if you read the post.

The post explicitly says they use codeowners to require a human in the loop for billing related code.

comment 1mo ago · link · parent

I use Claude Code every day. And I find the product to work smoothly, and effectively. From the user's perspective, that's good software. I'm impressed with what they've built. Truly. They are using a novel approach to write good software. That's fascinating. TBH this community has lost touch with reality. AI is making people lose their minds.

comment 1mo ago · link · parent

The US government...

comment 1mo ago · link · parent

Starshield is owned by the US government...

comment 1mo ago · link · parent

I agree. AI + Discipline is the super power of the next generation of software engineers. Crafting guardrails on one's self, and the AI.

I think OPs point though is that, like addiction, discipline is hard to maintain. Humans are irrational, and sometimes, some people just need to go cold turkey.

comment 2mo ago · link · parent

It's a great analogy.

In short: explore versus exploit. Both are necessary, both are valuable.

I largely agree with the OP, because I can only see an explosion in both camps.

The explore side might be automated by compute, and that breaks the social contract of the existing academic incentive structure.

But people who are inherently curious will continue to be inherently curious. Nothing will stop anyone from exploring their curiosity, and the speed and depth at which they explore will only increase. We will build tools that enhance and automate our pedagogical compression.

And for the people who want to cook to feed the family, that automation is coming too.

Or perhaps we'll find a new ceiling: the frontier failure modes that still require a human mathematician in the loop, because discovering some class of novel insight doesn't scale with current AI architecture.

comment 2mo ago · link · parent

I too noticed this and liked it..

This feels more like an "e-bike for the mind" and less of a chauffeur.

comment 2mo ago · link · parent

You might be misreading him.

He doesn't make a claim that implies "don't train" might not matter in the way you might think.

They cannot rule out that the data was trained because they have no per-user provenance tracking through the training pipeline once data is de-identified..

The entire point of de-identification is the inability to know the source of data. If the researcher forgot to hit "do not train" then that's that..

The only thing they have is a coincidence and the fact that the LLM may have used the training data that then researcher technically may have agreed to share.

Whether or not that's smoking gun of anything is hard to say. And the fact may remain that the proofs are significantly different, we do not know.

comment 2mo ago · link · parent

It gets an incredible amount of mileage. And I believe it is the interface that allows the model to learn and eventually bake that intelligence into the model.

Look at how Astra scored 100% on Arc-AGI-3. It was largely because of the harness.

The harness increases the chances (often to 100% chance) of a non-deterministic LLM to perform deterministic actions.

Not only that, the harness provides the feedback that becomes training data for the model. So, over time the model bakes those lessons in, and the harness becomes less necessary and the agent becomes more efficient at some tasks.

A harness will likely always be necessary, we may hit some level of complexity or some level of compute that never allows us to bake the lessons into the model, and external tools provide the model with the ability to find leverage and make up for those short comings.

comment 2mo ago · link · parent

I don't believe, but this feels a bit like:

"Hey... we need to improve our porn detection AI... but we want to avoid paying for all that porn... is anyone open to taking on some personal liability for a nice bonus this year"

I'm just saying... maybe...

comment 2mo ago · link · parent

There is not. You'll have to explain yourself.

Perhaps you're realizing why this makes no sense?

comment 2mo ago · link · parent

Sell to who? The company is loss-making. Investors WANT the founder to have shares so that the founder is invested in being the force behind making the company NOT loss-making.

comment 3mo ago · link · parent

I mean.. human judgment still applies. But as an automated first pass the clamp works in 90% of cases. I scan for correctness and make small edits here and there.

comment 3mo ago · link · parent

well... _of course_ the skill does more than write 3-5 sentences. We have a lot more that it automates into the description that makes it worth using.

comment 3mo ago · link · parent

My team solved this by creating a PR draft skill that clamps the length of the description to 3-5 sentences max. Those 3-5 sentences must only say WHAT is changing and WHY.

I find it to be far more useful than when humans wrote PR descriptions. Many engineers didn't write one, and those that did were poorly written... this problem is mostly solved for us.. it still has LLMism speak.. but it's useful enough for me to get the context I need to do my review.

comment 3mo ago · link · parent

If Claude is conscious he just instantiated hell.

comment 3mo ago · link · parent

Hooks..

CI runs. Local Git hooks. Cursor also has hooks built into their agent. Other agent APIs probably have something similar.

comment 4mo ago · link · parent

I don't follow, the words make perfect sense together in most software engineering contexts.

"Seam" is an industry standard term coined by Michael Feathers in Working Effectively with Legacy Code.

To call a seam load bearing means it's performing critical work for the dependent class, perhaps a database query.

A seam that is not load-bearing would be something that is just injected for testability - maybe a date provider that provides some constant time to avoid flaky tests.

Tbh, this is quite literally the opposite of vapid. A whole book was written about them and their importance, and how to leverage them.

In my experience, Claude uses the word accurately. Code has a lot of seams, and seams are an important thing to communicate when working with code. Therefore, expect to see the word often.

Personally, I don't mind it at all. I'm glad the industry is finally standardizing our language more. Makes it easier for me to communicate with other engineers.

12345
17