• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle
  • Isn’t writing tests with AI like a really bad idea? I mean, the whole point of writing separate tests is hoping that you won’t make the same mistakes twice, and therefore catch any behavior in the code that does not match your intent. But If you use an LLM to write a test using said code as context (instead of the original intent you would use yourself), there’s a risk that it’ll just write a test case that makes sure the code contains the wrong behavior.

    Okay, it might still be okay for regression testing, but you’re still missing most of the benefit you’d get by writing the tests manually. Unless you only care about closing tickets, that is.



  • Except there’s Simulink, which has been around since the 80’s, and is anything but a failure. For a few specific usecases, like modeling complex physical systems and developing control algorithms for them, it’s far better than any traditional text based language. Especially when it comes to maintainability of that code.

    Though I have to admit that if you try to use it as a general programming language, you’ll learn that while that’s possible, it’s also very painfull. And even while implementing said control algorithms you’ll occasionally run on to some bits of logic that prove to be annoyingly difficult to implement with it compared to any text based language.


  • The goal of such recommendations is not to ensure people can survive 72 hours without access to additional supplies, but to ensure that the society as a whole can function at such a situation - that requires a lot more than just a drop of water and barely enough calories to stay alive. If the enemy can collapse your society just by destroying a couple of power plants and water treatment facilities, you’ve already lost the war. Or climate change, or blizzard or what ever it is you are facing.

    That being said, I do agree that the food you store doesn’t need to be anything special or tasty - just something to keep you working your job and taking care of those that depend on you.