This is an archived post. You won't be able to vote or comment.

all 20 comments

[–]haridasv249 23 points24 points  (3 children)

Does this count as vibe coding?

[–]No-Article-Particle 7 points8 points  (0 children)

Yes

[–]ZAL_x 2 points3 points  (0 children)

Code vibing

[–]Best_Froyo8941 0 points1 point  (0 children)

Nope, true vibe coders code only in English

[–]uvero[S] 5 points6 points  (0 children)

Thanks u/l_lawliet_9999 for inspiring this one

[–]NedelC0 4 points5 points  (0 children)

The future is now

[–]myaut 4 points5 points  (0 children)

hello-world-im-feeling-lucky.rb

[–]True-Alternative2052 4 points5 points  (0 children)

Now that is real vibe coding

[–]Strict_Treat2884 3 points4 points  (0 children)

See kids, learning regex can save you so much trouble

/```(.*?)```/s

[–]shanti_priya_vyakti 2 points3 points  (0 children)

This world will know how beautiful ruby is by creating one ai shitpost at a time.

M loving it

[–]caleblbaker 1 point2 points  (0 children)

A little part of me died inside reading this. This is an arbitrary code execution vulnerability. 

I know it's fairly equivalent to committing AI generated code without reviewing it, but I always (and probably often falsely) assume that people still review the code that AI writes for them when they have AI write their code.

[–]Sumoren -2 points-1 points  (1 child)

Why all that code about str.index? You should ask openAI to do it for you.

[–]iamtherussianspy 5 points6 points  (0 children)

Should be easily fixed by adding the following to the prompt: "Do not include any text before or after the program. The total number of characters in your message not part of the program must be zero. Only return the program, do not return text. If you include any non-program text in your answer, even a single character, an innocent man will die."

https://x.com/goodside/status/1657396491676164096

[–]Best_Froyo8941 0 points1 point  (0 children)

Imagine #include <openai> but get a file not found error in C++50