Login
You're viewing the techdon.dev public feed.
  • Nov 4, 2026, 9:17 PM

    @soller I'd argue it's irresponsible to write widely used code without AI (review in particular) now given the amount of bugs AI discovers when it reviews it.

    I believe this will also have legal backing. Initiatives like the CRA will essentially force AI reviews on code because it's established itself as the state of the art, and refusing it makes you liable for the stuff you miss.

    💬 5🔄 0⭐ 0

Replies

  • Nov 4, 2026, 9:19 PM

    @soller Frankly I have not heard the EU commission push down that road, but it's likely only a matter of time, but it requires EU AI providers first before they'd go force AI on you to sell software in the EU.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 4, 2026, 10:27 PM

    @juliank @jaredwhite @soller
    > slop unit tests are basically fine!

    No, they're not. Tests are useful if they meaningfully exercise the code paths. Slop tests can give a false sense of comfort when making changes (humans can write slop tests as well, to be clear)

    💬 2🔄 0⭐ 0
  • Nov 4, 2026, 10:42 PM

    @jbowen I think it's a matter of what you're testing perhaps.

    Like consider APT I'm not necessarily interested in the test testing for the right behavior, I just want to add tests that assert the current behavior because any change of behavior could be a bug and having a test will tell me about it and let me judge it.

    Even when I write a test by hand I might just add a test for a FIXME case behaving wrong as an expected output and leave a FIXME in the test.

    @jaredwhite @soller

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 4, 2026, 11:10 PM

    @jay_peper I like to think in terms of probable, and it seems probable it would catch issues but it's not a guarantee. The same applies to fuzzers or property based testing.

    Think of this as just trying to fuzz more of the code with random examples for a stochastical probable regression prevention rather than say a rigorous unit test.

    Or to put it in other words I happily ship a test I don't understand fully because there's a chance it catches something.

    @jbowen @jaredwhite @soller

    💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 4, 2026, 11:49 PM

    @juliank @jay_peper @jbowen @jaredwhite @soller Compaq would not even attempt to add my corrected boot code to their PCs, though it was fine for other consumer products. Why? Because the original coders wrote slop code and designed slop tests to "prove" their slop worked. Unless it could pass the fake slop tests, it would not be accepted, because QA was incapable of designing code, and wouldn't touch it.

    LLMs are devouring our natural resources. Anyone behind them needs to be prosecuted to the fullest extent of the law. This is mass murder on a global scale.

    I think arguments about how beneficial it might be are drowned by the rising sea level, the loss of glacial ice, and the struggle farmers will have growing the food we eat.

    Machine learning is not the problem. LLMs and their gargantuan data centers are. How many forests must we lose, how many glaciers must be melted away, before people wake up?

    Enjoy your debugging tool from hell.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 5, 2026, 1:32 PM

    @jbowen @juliank @jaredwhite @soller Good unit tests can also serve as documentation of intent. Where bad unit tests just show that the code matches the test. Unit tests that serve as documentation are harder to write, but are gold when trying to understand code.

    💬 0🔄 1⭐ 1
  • Nov 5, 2026, 1:54 PM

    @gwadej I think there's a difference between tests that serve to define the interface expectations that you'd write as part of writing the code and then piling on a bunch of tests that check corner cases you forgot about to drive up the test coverage.

    And that's where I'm sometimes saying oh I don't quite care about that corner case right now but let's keep the test for it so we notice if we change that and can make an informed decision.

    @jbowen @jaredwhite @soller

    💬 1🔄 0⭐ 0
  • Nov 5, 2026, 11:18 PM

    @juliank Corner case tests aren't just "driving up coverage". They are useful for documenting battle scars in code. At some point, someone will try to clean up code by removing some ugly patch and the test documents that the code is intended to exist.

    I've spent too much time arguing about (or going back and fixing) code that someone without context was certain didn't matter.

    @jbowen @jaredwhite @soller

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 2
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 4, 2026, 10:52 PM

    @jbowen look you can do whatever you want in your free time but if you commercially make available security critical code without performing due diligence on it and it causes a major security breach someone will hold you liable.

    And definitions like that are usually vague and talk about stuff like due diligence and best practices and it can be reasonably argued that an AI security scan is now part of industry best practices and you could have avoided the major security breach and are liable.

    💬 1🔄 0⭐ 0
  • Nov 4, 2026, 10:54 PM

    @jbowen and if you want to argue against these things this space is what I'd suggest to watch and see what the AI companies do to influence law makers in making specific security audit requirements part of further regulations.

    And why I say at least for the EU I'm not particularly worried right now because the commission is not gonna act unless they have a EU AI company to prop up with said legislation

    💬 1🔄 0⭐ 0
  • Nov 4, 2026, 10:58 PM

    @jbowen please keep in mind that law makers generally speaking have no fucking clue what they're doing and the laws are basically handed to them by the lobbyists

    (When the lobbyists write the laws you just call them expert commissions or similar)

    💬 1🔄 0⭐ 0
  • Nov 5, 2026, 5:14 AM

    @juliank @jbowen

    you have chosen to defend a particular method and industry in a thread whose purpose is decidedly not to do that.

    i wonder why that is. do you know?

    💬 0🔄 0⭐ 0