89
you are viewing a single comment's thread
view the rest of the comments
[-] mech@feddit.org 18 points 4 months ago

How about one that can damage your speakers and your ears, without root access?

ls -R / | aplay
[-] NEILSON_MANDALA@lemmy.world 6 points 4 months ago

so that reads out every single filepath on your computer at max volume? yeah, no thanks

[-] mech@feddit.org 30 points 4 months ago* (last edited 4 months ago)

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.

[-] tomiant@piefed.social 10 points 4 months ago

How would I play it at 25% volume? I am inclined to try.

[-] nocteb@feddit.org 9 points 4 months ago

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.

[-] NEILSON_MANDALA@lemmy.world 0 points 4 months ago

be the change you wish to see in the world

[-] NEILSON_MANDALA@lemmy.world 7 points 4 months ago

holy shit....goddammit now the intrusive thoughts are gonna make me do it, lmao

[-] squaresinger@lemmy.world 2 points 4 months ago

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.

[-] nocteb@feddit.org 5 points 4 months ago

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

[-] tomiant@piefed.social 4 points 4 months ago

I'm into this genre.

[-] emotional_soup_88@programming.dev 5 points 4 months ago

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.

[-] mech@feddit.org 4 points 4 months ago

Probably not in most systems but mine still has it. Slackware btw.

this post was submitted on 07 Jan 2026
89 points (74.1% liked)

Programmer Humor

31683 readers
1089 users here now

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.

Rules

founded 3 years ago
MODERATORS