alias clang="aplay metalpipe.mp3 && clang"
@hertog complete dumbass question but won't this just play metalpipe.mp3 infinitely? is it meant to run clang after playing metalpipe.mp3 or just play it agian? ​
@cody Oh I don't have a clue I just use aplay for /dev/urandom
@cody @hertog aliases aren't recursive; some common aliases are e.g. ls='ls --color=auto', which works just fine
@hertog oh yes will do this
@hertog ok so . guess how i found out thay aplay interprets the data as a .wav by default .
@fiore
@hertog this is a great rabbit hole look what ive found https://github.com/joshuatshaffer/metal-pipe
GitHub - joshuatshaffer/metal-pipe: Play the falling metal pipe sound effect when the pipe character is typed.

Play the falling metal pipe sound effect when the pipe character is typed. - joshuatshaffer/metal-pipe

GitHub
@hertog why not just one ampersand? is the sound alert a safety feature?
@hertog @mi Compilation cannot complete until i hear the falling pipe sound
@hertog please specify `/usr/bin/clang` before you get an infinite recursion of metal pipe noise
@hazel no the infinite recursion is a feature

@hertog actually compiling C code was a pipedream, made up by the utterly deranged

trillions of runs of clang and yet no real world use found beyond playing metal pipe SFX

they have played us for god damn fools

@hazel @hertog did you mean "$(command -v clang)"?
@hertog i like this hypothetical person who for sure will always have metapipe.mp3 in every project folder
@ida @hertog recursively adding a symlink to that file into every filesystem dyrectory for every user
@ida @hertog can you do this ? like . of course you can but i mean , can you do this easily ?
@fiore @ida what if metalpipe.mp3 is also an alias
@hertog @ida 5d posix shell here
@fiore @hertog well now i know what today's project is
@ida @hertog you should also implement a way to clean that up .. yknow .. in case theres a bug .. you dont want millions of broken symlinks all over your filesystem
@fiore @ida the past lives with us forever thus is the way of clang
@hertog @ida they should make an animation of the llvm dragonn roaring and the metal pipe sound comes out instead thatd be funny i think
@hertog @fiore i mean while read; do rm $REPLY; done < <(locate metalpipe.mp3) should be fine
@ida @hertog im bad at shell scripting so i will believe you and curl | bash anything you make /j
@fiore @hertog http://im.nota.live/metalpipe-infect.sh yeah it's quite easy to do this, actually
@ida @hertog wow everybody should run this as soon as they install their first linux distro i think
@fiore @hertog i personally think it should be a preinstalled cron job on distros
@ida @hertog well of course, how else are you going to have a different metalpipe.mp3 per project

@hertog
OK so on my Linux machine putting this in ~/.local/bin/clang (remember to chmod +x) actually works when building software with make CC=clang:

#!/bin/sh
paplay /full/path/to/metalpipe.mp3 &
exec /usr/bin/clang "$@"
@stylus this is so hype finally some good fucking innovation
@hertog @stylus 🦆🦆🔎: how to play audio from nix build sandbox
@hertog same but with cargo and “nyooomm.mp3”
@hertog change it to a & so it plays in the bg and doesnt interrupt with compilation <3
@hertog alias tail="aplay /usr/local/share/sounds/gex/TAILTIME.WAV && tail" 
наб (@nabijaczleweli) on X

clang! (audio very much on)

X (formerly Twitter)
@hertog metalpipe.mp3: No such file or directory

@hertog I'd probably switch the order

so you get a nice notification when your code has compiled (successfully)