Urgent.News

What's breaking now, across thousands of outlets.

Tech

The Diff I Will Stop Reading

A compiler translates. An agent also fills the gaps. This autumn I worked on a private project, a small embedded device. Like the GStreamer patch , it was C. This time the agent wrote the code, with patterns I had never used. I started the way I would on a production system: small pull requests, each one read line by line. Then I noticed how good the code was, and I started reading only the…

In a recent private project working on an embedded device, the author experimented with an agent writing code. Initially, the author focused on reading small pull requests line by line, then shifted to reading only the tests, and eventually started asking questions about the design and potential issues. After checking the answers, they found them to be accurate every time.

The author compares this experience to treating the agent similarly to a compiler and explores the reasons why the diff (changes) seems to be losing its value.

Firstly, there is the matter of speed. The author notes that the number of changes in their repositories has more than doubled during the summer, while the median change remains around 35 added lines. Small steps help keep each change readable, but they do not necessarily make the total change more readable. When an agent produces a clean change in a few minutes, it takes the author ten minutes to read it properly, resulting in a clear arithmetic difference.

Secondly, fluency plays a role. In a previous article, the author mentioned that their hands have gone numb, making it difficult to write code from an empty file anymore. The feeling of something being off in a diff before being able to explain it comes from having written thousands of them. Diff review relies on this feeling, which is fading as the author's fluency decreases.

The author compares this to a two-thousand-line change that cannot be reviewed but only approved, which would also be true for a hundred and fifty lines.

Lastly, the diff was never where the problem broke. In a specific case, twenty clean changes to a deduplication step carried one wrong assumption for fourteen months. The author reread the change that should have caught the issue and found no objections. The diff review was the level where the author was best at, but the problem was not there.

The compiler, as a trustworthy layer, is not the same as an agent, which fills gaps and makes decisions. The compiler is deterministic, while an agent does not reveal its decisions, making it unreliable.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Manilha corrente em código: como calcular a manilha do truco paulista

O truco paulista tem uma regra que parece simples e dá trabalho em código: a manilha muda a cada mão . Não existe uma lista fixa de cartas mais fortes.

  • Manilha changes with each hand in Brazilian trick-taking game
  • ORDEM matrix represents card order excluding 8, 9, 10
  • Forca function compares cards, considering suit ranking

Freelancer Scope Creep: How to Stop Doing Free Work

Freelancer Scope Creep: How to Stop Doing Free Work The project was supposed to be a dashboard. Then the client asked for "one small extra chart." Then a second data source.

  • Clearly outline what's included and excluded in the proposal to prevent misunderstandings.
  • Record extra client requests in writing and quote a separate price to make them visible.
  • Incorporate a 15% buffer in fixed-price quotes to absorb small issues without extra work.

How to Trust Your Agent: Data Migration in Healthcare

Introduction As healthcare organisations rush to integrate AI into data migration, a critical bottleneck is emerging: how do we use probabilistic systems to deliver trustworthy outcomes?

  • Combine deterministic code with agentic investigation for trustworthy data migration.
  • Use agents only when deterministic checks fail to prevent hallucinations.
  • Implement human-in-the-loop review for final data transformation and accountability.

Circuits Cloud Is Now Open Circuits: A Free Circuit Simulator Built for Learning

If you studied electronics any time in the last decade, you may have run into Circuits Cloud , the free online simulator launched in Bahrain in 2014 and featured in plenty of "best online circuit…

  • Open Circuits, formerly Circuits Cloud, now hosted at opencircuits.net
  • Supports digital logic, analog circuits, and microcontrollers
  • Features recorded lessons and multilingual support

More from Friday 13 November →