89
y'all are gonna hate me for this, but it's the truth
(lemmy.world)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
this is another way to write code without having any idea what you're doing. just post it on lemmy world as a meme, copypaste a comment that makes the code better along with the original code into the AI agent
Sounds like a good way to remove the French language pack from your system. :P
oh yeah, THAT line.....trust me i know a MUCH more damaging one liner than the "remove french" one. it send an email from you to the secret service
How about one that can damage your speakers and your ears, without root access?
Haven't checked my low level sound drivers in a long time - I'm using pipewire and wireplumber to control it all. Is ALSA still there at the bottom/as a dependency? Arch btw.
Probably not in most systems but mine still has it. Slackware btw.
so that reads out every single filepath on your computer at max volume? yeah, no thanks
It doesn't read it out.
It just feeds the characters directly into your sound driver as raw data, which will play it as a cacophony of noise at max volume, with no regard for your speakers' frequency limitations.
How would I play it at 25% volume? I am inclined to try.
Pull the master slider in alsamixer. I don't think it will break anything anyway (except your ears if it's loud). Most audio outputs are AC coupled meaning they will filter out DC and very low frequency which is the most dangerous part for a speaker.
be the change you wish to see in the world
holy shit....goddammit now the intrusive thoughts are gonna make me do it, lmao
I'd be very surprised if that was able to damage your speakers. If it could, then so could any sound you play. It would have to be an exceptionally bad design if playing a youtube video could destroy your speakers.
No it interprets the list of filenames as raw sound data which basically makes random noise maybe with a few bleeps when there are patterns
I'm into this genre.
I'm curious if you succeeded with this approach here - have you gotten your LLM to produce a bash function which you can use without needing to understand how to specify an ffmpeg filename pattern yet?
btw, if want to try learning the old-fashioned way, have a look at
man ffmpeg-formatswhere you can find perhaps-useful information like this:From the
image2section, here is how the filename pattern works:And btw, the
ffmpeg-formatsmanual does also include examples:It is actually possible to figure out how to do this and many other ffmpeg tasks even without internet access :)
i really need to spend more time reading the
mans and less time asking the bot. themans are guaranteed to be right, but with the bot, who the fuck knowsAnd with a command like ffmpeg a wrong bot command might just as well overwrite your source file.