Ask HN: Does anyone use sound effects in their dev environment?
loading story #41557551
loading story #41556122
loading story #41557236
loading story #41523121
loading story #41562733
loading story #41555302
loading story #41534688
loading story #41522046
loading story #41520935
loading story #41558488
loading story #41559218
loading story #41555515
loading story #41556161
loading story #41537485
loading story #41557623
loading story #41556416
loading story #41555248
loading story #41562017
loading story #41556394
loading story #41556131
loading story #41524172
loading story #41560504
loading story #41557756
loading story #41563299
loading story #41555292
loading story #41561532
loading story #41562227
loading story #41556907
loading story #41566666
loading story #41520972
loading story #41559240
I have these that come from history|grep espeak
From a particularly sunny day where I was having too much fun waiting for my builds:
while ps -49011;do sleep 3;done;espeak "IT'S DONE YOU FUCK. COME WORK.";telegram-send "done"
More regularly: gh pr checks 2850 --watch ; while true; do espeak "main done";sleep 5;done
loading story #41555514
loading story #41558215
loading story #41556731
loading story #41519481
loading story #41560163
loading story #41520951
loading story #41556649
loading story #41522722
loading story #41557224
loading story #41555903
loading story #41560213
loading story #41558181
loading story #41558942
loading story #41563225
loading story #41561286
loading story #41559920
loading story #41559505
loading story #41555929
loading story #41560006
loading story #41566575
loading story #41558346
loading story #41557379
loading story #41555388
loading story #41562260
loading story #41563920
loading story #41557131
loading story #41561320
loading story #41557423
loading story #41557977
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.
loading story #41556391
loading story #41563216
I use a command that'll play a good/bad sound effect based on previous shell command exit code.
Something like:
function boop() {
local last="$?"
if [[ "$last" == '0' ]]; then
sfx good
else
sfx bad
fi
$(exit "$last")
}
I'd then do: $ make -j; boop
or $ nmap <...>; boop
That way I can focus my attention elsewhere while waiting for stuff that'll take anywhere from 20s-2min without losing track of time.Lately I've been experimenting with throwing in notify-send in there too, but find it a bit much to both get sound and visual feedback.
loading story #41559582
loading story #41568562
loading story #41556512
loading story #41562881
loading story #41557898
loading story #41562243
loading story #41555474
loading story #41562423
loading story #41562639
loading story #41556819
loading story #41563375
loading story #41563510
loading story #41567984
loading story #41556991
loading story #41559591
loading story #41562948
loading story #41552393
loading story #41556223
loading story #41563311
loading story #41519133
loading story #41567753
loading story #41556209
loading story #41566625
loading story #41563277
loading story #41557752
loading story #41563300
loading story #41557169
loading story #41556074
loading story #41527495
loading story #41558219
loading story #41546951
loading story #41568246
loading story #41557474
loading story #41561130
loading story #41557969
loading story #41557283
loading story #41564198
loading story #41566673
loading story #41558195
loading story #41560059
loading story #41558249
loading story #41559156
loading story #41559167
loading story #41557546
loading story #41557025
loading story #41556389
loading story #41557698
loading story #41556866
loading story #41536109
loading story #41520716
loading story #41556042
loading story #41566637
loading story #41560194
loading story #41563422
loading story #41560235
loading story #41639435
loading story #41563434
loading story #41519670
loading story #41563218
loading story #41563345
loading story #41555361
loading story #41521282
loading story #41557838
loading story #41561561
loading story #41561323
loading story #41560670
loading story #41561332
loading story #41565368
loading story #41556911
loading story #41555381
loading story #41559190
loading story #41560300
loading story #41574358
loading story #41565893
loading story #41557984
loading story #41523244
loading story #41561362
loading story #41557987
loading story #41557265
loading story #41555997
loading story #41527652
loading story #41556395
loading story #41556678
loading story #41556371
loading story #41559085
loading story #41563347
loading story #41561492
loading story #41557972
loading story #41561727
loading story #41556949
loading story #41559852
loading story #41563743
loading story #41565385
loading story #41557440
loading story #41556067
loading story #41524887
loading story #41559581
loading story #41563537
loading story #41519705
loading story #41556705
loading story #41519387
loading story #41563872
loading story #41556944
loading story #41556703
loading story #41556167
loading story #41562915
loading story #41558595
loading story #41566887
loading story #41556463