Live data from Hacker News

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

news.ycombinator.com

61–70 of 336 posts

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

#62
in the late 90s i used a script someone made that would trigger callbacks on syslog patterns. there's different types of icmp traffic; i had iptables log the type that the ping command uses, and i played a submarine ping for each that my gateway received. i'm on the east coast usa, and i remember that i would get barraged with pings overnight, around 4am, as my ssh port got hammered simultaneously.

its 25 years later and the thought of having a single discoverable element on the net scares me.

i would really like an app that can create ambient music with composition: small songs that can overlay with harmony; if my network is running hot the baseline ramps up. if i have emails waiting, little tweets from a treble track that are fleeting but line up with the beat. there's so many ways i could use that soundtrack. plug it into the ide, errors in the buffer, subtle cues.

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

#63
post #4

95% of my work (web dev) isn't so much waiting for something to happen, where a notification of any sort would be useful. Most builds etc only take a few seconds, so I just wait. Most of the work is thinking through a problem, then ensuring it's coded correctly. The colors and syntax highlighting and squiggly lines and Typescript warnings etc (in Jetbrains) are all helpful because they are contextual . "Hey, this fun…

Mostly agree but this does give me an idea: having a sound that indicates a change you just made to a line caused an issue with an offsceeen line. For example deleting the last usage of a variable declared higher up.

Of course there are already onscreen solutions for that, such as indicators in the minimap, but it could be more obvious as a sound.

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

#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

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

#66
At a previous job we had a service that handled around 1 query per second.

I crafted a oneliner that `tail -f`'d the logs and played a note for each response. I believe there were different notes for different HTTP status codes but it was years ago so the details flee me.

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

#67

`$ ... && say 'Notice me father, I am complete'` (something I add to longer scripts when the job gets particularly boring)

i tried d&d during the pandemic and was taught what 'flavor text' is. a dictionary of one to many flavor texts would benefit me using this pattern because i need randomness to break through the anticipation. in fact, mapping to posix exit codes would probably be the only case i'd use - give me 1000 cute sayings for exit 0, and a dozen for 255, 1, 2, and a sensible default.

preemptively, to anyone telling me this is terrible, i'd say this is a toy and a subjective one, but that we're detailing our personal flows here, and not inventing interfaces :)

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

#70
post #66

At a previous job we had a service that handled around 1 query per second. I crafted a oneliner that `tail -f`'d the logs and played a note for each response. I believe there were different notes for different HTTP status codes but it was years ago so the details flee me.

Interesting, could set the "bad" response codes to be in a minor keys and and "good" as major and feed that into a generative player. Listen to the stream and if it starts sounding moody and broody, check monitoring.
Post reply on HN