News for hackers. Stuff that matters.
Re:Show HN: Jazz up your Python scripts with sound effects by stonewareslord on Tuesday September 15, 2020 @08:09PM (#24488172)
On Mac or Linux, I run "tput bel" to the end of expextedly long-running commands. On Mac, the icon bounces and system makes a beep sound. On linux (i3/urxvt), the window and workspace turns red until I focus it.

You can usually also type it after the command has started and it’ll still work

Re:Show HN: Jazz up your Python scripts with sound effects by uryga on Wednesday September 16, 2020 @06:40AM (#24491316)
i've always used

  python -c 'print("\a")'
without thinking too much about it, but yours is way nicer!