Verwende auf meiner VikiSecrets Website ein seltenes CMS (zenphoto), das ich die letzten Tage mühsam auf eine neue Version upgegradet habe. Dabei gab es, wie bei jedem größeren Update zahlreiche Bugs und Änderungen, die man berücksichtigen musste.
Ein seltsamer Bug war zum Beispiel, dass E-Mails, die das CMS verschickt hat, nicht richtig codiert wurden und unlesbar waren.
Dank Copilot konnte ich den Bug relativ schnell finden und zwar wurden die Felder im Header des E-Mails nicht richtig getrennt.
Mail-Header benötigen CRLF ("\r\n") als Separator und nicht nur "\n".
$additional_headers .=
"Mime-Version: 1.0\n" .
"Content-Type: text/plain; charset=UTF-8\n" .
"Content-Transfer-Encoding: base64";
Ohne KI hätte ich mindestens 10x länger gebraucht, um den Bug zu finden.
Was mich ebenfalls geflasht hat, war das strukturelle Verständnis für den gesamten Source Code, so als ob Copilot den gesamten Code auf github kennen und gelesen hat.
Das hat mich geflasht.
Was sagt ihr dazu? Habt ihr bereits Erfahrung mit Vibe Coding gemacht?
English
I use a rare CMS (zenphoto) on my VikiSecrets website, which I have been painstakingly upgrading to a new version over the last few days. As with any major update, there were numerous bugs and changes that had to be taken into account.
One strange bug, for example, was that emails sent by the CMS were unreadable.
Thanks to Copilot, I was able to find the bug relatively quickly: the fields in the email header were not separated correctly.
Mail headers require CRNL as a separator, not just NL.
$additional_headers .=
“Mime-Version: 1.0\n” .
“Content-Type: text/plain; charset=UTF-8\n” .
“Content-Transfer-Encoding: base64”;
Without AI, it would have taken me at least 10 times longer to find the bug.
What also impressed me was the structural understanding of the entire source code, as if Copilot knew and had read the entire code on GitHub.
That really impressed me.
What do you think? Have you already had experience with Vibe Coding?