Live data from Hacker News

Ask HN: Does anyone use sound effects in their dev environment?

news.ycombinator.com

171–180 of 336 posts

Re: Ask HN: Does anyone use sound effects in their dev environment?

#172
I have a shell alias that I use sometimes when running long-running test suites locally, or doing some long task that is blocking my work (building Docker images, installing libraries). It echoes something for the shell, shows a success/failure image in the terminal, and playes an audio clip (loud and annoying ;)) when tests pass. The only way I could make it better would be to play a sad trombone on failure:

    # e.g. pytest tests/test_foo.py && SUCCESS
    alias SUCCESS="echo -e '\n\nSUCCESS' \
               && bash -c 'mpv ${media}/kazoo.mp3 &' \
               && imgcat ~/Pictures/success.png \
               || imgcat ~/Pictures/fail.png"
It's useful because I can hear that the task is done while I'm reviewing a PR, or reading documentation, or loading the dishwasher.

Re: Ask HN: Does anyone use sound effects in their dev environment?

#173

From [1] The story of PING: ping goodhost | sed -e 's/.*/ping/' | vocoder He wired the vocoder's output into his office stereo and turned up the volume as loud as he could stand. The computer sat there shouting "Ping, ping, ping..." once a second, and he wandered through the building wiggling Ethernet connectors until the sound stopped. And that's how he found the intermittent failure. [1] https://ftp.arl.army.mil/~m…

That is like the beep for continuity testing that is provided by most electronic multimeters, which is very useful because both your hands and your vision are occupied with the tested equipment.

Re: Ask HN: Does anyone use sound effects in their dev environment?

#174
post #56

This sounds like an idea borrowed from games or other media where doing certain actions results in an audible feedback. This is often done for the benefit of the audience, or to enhance the gaming experience, but I had an idea to implement this in my workspace to somehow influence my brain and make it more enticing to write code and somehow beat procrastination. I wrote a Python daemon which on startup loads small .w…

Related: Juice is the non-essential visual, audio and haptic effects that enhance the player's experience.

https://garden.bradwoods.io/notes/design/juice

Re: Ask HN: Does anyone use sound effects in their dev environment?

#175
Not sure if more people have that but I hate sounds. I turn off all system sounds on my OS. I turn off all notifications on the phone.

It is not like I get called often but still had bad memories from former work where everyone had the same phone and the same sounds and I was often working 24/7 support. Hated that work and hated my morning wake up alarm that I had to change every couple months because each one I hated more and more the longer I used it.

I love melodic music and also any sounds not aligning to melody or rhythm are super annoying for me especially if I get into the flow.

Re: Ask HN: Does anyone use sound effects in their dev environment?

#176

Earlier quoted context omitted.

Yes, this. Imagine an elevator, gas pump, vending machine, or laundromat emitting sound effects constantly. Quite the dystopian hellscape.

> gas pump Most of them play advertisements while you fuel up. I hate it. The only thing that I like about New Jersey forbidding me from touching a gas pump is that I'm not subjected to ads for diarrhea medication or low-APR loans every time I fuel up.

I’ve been doing an unfortunate amount of driving the last year, across a bunch of states, and have still only seen this at two or three stations ever. One of them in my home city, and I avoided that (conveniently-located) station for that reason.

Maybe there are a few cities where it’s a ton more common than most of the rest of the country.

Re: Ask HN: Does anyone use sound effects in their dev environment?

#177
post #64

https://github.com/kristiandupont/react-geiger This plays a click when React components rerender, to make you aware of the page performance

This one does the same thing but with beeps, with higher pitch for heavier DOM updates. It’s not as nice as the geiger click but I’ve found it more useful for figuring out exactly where the UI is slow. https://github.com/tomhicks/react-audible-debug

Cool! Found this little video of it in action https://www.youtube.com/watch?v=bM_DrpCK5i0

Re: Ask HN: Does anyone use sound effects in their dev environment?

#179
post #12

One of my friends old office had speakers and every time Jenkins failed with a build it made a short sound. It was different for each project so everyone familiar with the sound would instantly know which project pipeline failed. He liked it and had fun choosing a sound effect fitting for his own project :)

One place I worked at the success was a golf clap. The fail was crowd going 'awwww' as if someone had just missed a putt. Nice and simple. Since the build took 3-4 hours you did not hear it much. Before everyone went 'open office' it was semi fun to have sounds on different build actions. Now not so much :(

There’s… a particular sound pack that had those two sounds. Maybe different ones, sure, but this just unlocked a memory of two very particular sounds from my early Windows days. Might have been built-in, or maybe from Microsoft Plus.

Re: Ask HN: Does anyone use sound effects in their dev environment?

#180
post #56

This sounds like an idea borrowed from games or other media where doing certain actions results in an audible feedback. This is often done for the benefit of the audience, or to enhance the gaming experience, but I had an idea to implement this in my workspace to somehow influence my brain and make it more enticing to write code and somehow beat procrastination. I wrote a Python daemon which on startup loads small .w…

The old SGI IRIX workstations had sound effects. (the OS is featured in the original Jurassic Park film with the very silly 3D file manager)

It was literally like the hacker movies and predated most of them. Keystrokes, button presses, everything made a little noise. My first boss talked about the horror of the university computer lab full of them before they turned all the sounds off (as well as the absurd cost of outfitting that lab).

Post reply on HN