Vibe coding: How I found a bug 10x faster with Copilot
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?
Claude is the way to go.
Vibe Coding habe ich noch wenig Erfahrung aber mache viel mit Claude beim Programmieren da muss ich sagen ist die KI schon extreme gut. Hab mir schon einige Programme geschrieben mit 0 Erfahrung. Also Claude kann ich nur empfehlen zum Coden finde ich mit Abstand die beste KI
!BBH
!ALIVE
!PIZZA
!LADY
View or trade
LOHtokens.@thefed, you successfully shared 0.1000 LOH with @vikisecrets and you earned 0.1000 LOH as tips. (3/19 calls)
Use !LADY command to share LOH! More details available in this post.
$PIZZA slices delivered:
@thefed(3/20) tipped @vikisecrets
Send $PIZZA tips in Discord via tip.cc!
ISSO! Nicht ganz den ganzen Code, weil der recht schnell zu macht beim Lesen, wenn man oft Updated, aber an sich ja!
Finde ich Cool das Du darüber schreibst, vielleicht animiert es andere sich auch zu trauen.
Sonst lese oder sehe ich eher negatives über Vibe Coding von oft einfach auch schon älteren Programmierern, oder solchen die gerne so tun.^^
Hive ON!
Vibe Code ON!
Viki's Website ON!
Salve
Alucian
Congratulations @vikisecrets! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOPCheck out our last posts:
I have never used it, but I can see how useful it could be. It has alot of information it can read, along with what it can find online to help narrow down the issues
Great job upgrading Zenphoto. Tools like Copilot definitely feel like having an extra teammate who knows the whole codebase inside out.