Remix.run Logo
▲ xscott a day ago

I'm not sure any software is so valuable that you should never consider replacing it. Vibe coding a PHP substitute probably takes less time and tears than cleaning up a PHP exploit.

Someone more qualified than me can speak to isolating device drivers. I do know that one of the virtues of microkernels was supposed to be that you can run drivers unprivileged.

▲oasisaimlessly a day ago | parent | next [-]

> Vibe coding a PHP substitute probably takes less time and tears than cleaning up a PHP exploit.

Sarcasm? Definitely not true, by several orders of magnitude. Have you seen how many built-in functions PHP has?

▲xscott a day ago | parent | next [-]

I sincerely try to avoid sarcasm. Communication is hard enough without it.

Just to clarify: I didn't mean the effort to find and fix a vulnerability in PHP (although that is also difficult). I meant the effort to reformat your system, investigate what else was compromised, and recover from backups after you get hacked through an exploit in PHP.

You probably don't use every last function, and you might be underestimating what became possible this year. You could have a model search for the features you use. You could have it loop until your existing code passes with the substitute. You could have it rewrite your code to use fewer features while still passing your existing tests.

I'm not saying you have to do this, but I think we should question which of our old approaches are based on old constraints.

▲ a day ago | parent | prev [-]
[deleted]
▲andai 20 hours ago | parent | prev [-]

Forget PHP, just vibe code a substitute for the ten lines of WordPress you actually need.

(Better yet, just regular code it!)