• 14 Posts
  • 28 Comments
Joined 2 years ago
cake
Cake day: April 4th, 2025

help-circle

  • Just to get that straight: Legacy code is practically always large code with countless hidden requirements, and with insufficient or no tests and without documentation. But which works somehow. Any change needs to meet numerous unwritten requirements, and it can often only be tested in the real world. If you have N features, you have N*(N-1)/2 interactions between two features, so it is quadratic growth with N. This is why it is very hard and time-consuming to change.

    It shouldn’t be that way, but writing large software - especially in commercial environments - is often like climbing a high roof on a ladder, and then throwing away that ladder. Modifications are only incremental, and usually not documented. Incremental modifications are one of the only two working engineering approaches for software we know - and the only one used for commercial software.

    The other way - which is used in aviation for example - is to specify, document, and test everything, right from the start.

    Now the problem is you can rewrite legacy stuff as much as you like, but it is near impossible to make sure that large changes work. Because in order to do that, you would need to run the tests that do not exist, or create tests from specifications and requirements which do not exist either.

    And GenAI tools are not going to change that. The agentic tools kinda work by filling in missing requirements with assumptions and average observed stuff. It can generate reams of code, fast. But while this kinda works for a small phone app, it doesn’t for large complex stuff. If the code does not fit in the head of one person working for months on it, it will never fit in the context window of an LLM.






  • I agree that using a VPN is much more secure. And together with not allowing remote temperature control, this would have prevented this specific issue.

    Still, if you have a VPN in a large supermarket chain, you need to manage the access keys - in a way that when one user of the VPN quits the organization, their access is revoked.

    And also, it isnot a good idea that many people share passwords to devices which give administrative rights. So, you should give a unique password to every user, similar as every guest in a hotel gets an NFC card with a unique code.

    The best way I know of to do that would be a PKI and smart cards. This also prevents users from using dumb passwords or using the same ones in multiple places.

    But my impression is that very few organizations like supermarkets do that.

    It gets even more complex with the modern rush to outsource every little thing.



  • You are right. But also, authentication in a distributed industrial infrastructure is hard, and it is not really a solved problem. You would need to set up a public key infrastructure, giving each shop clerk, service worker, and manager a smart card, revoking them when they leave, recover lost access credentials, and so on. For every class of devices.

    And it gets even more difficult if you want machines to securely talk with each other (think in administering every smart home thing un your house with a smart card…).




  • What the article does not even mention is the increasing strength of the much cheaper Chinese OpenWeight models like Qwen.

    To be clear, if a genie in a bottle would grant me a free wish, I would request that this technology disappears from existence at least until we have solved the climate problem, found a solution how to compensate creative people and artists, and remedy its impacts on democratic discourse and mental health. But while one is allowed to wish for a better future, this is not the reality we face.

    I was requested at work to try out one of the local open weight models yesterday. They are not free, requiring substantial hardware costs, but require less energy than the US models. And it seems with a more modest and more sane approach, companies are not going to pay many hundreds of dollars per month per seat for Claude licences when they can do with far smaller costs.

    True that the “weaker” models will still require substantial and qualified human oversight for things like software development, but fully autonomous systems are more like a febrile hypercapitalist pipe dream than something technically desirable.