jazzit
Dev tools
python script utility
SHOW HN2020
How HN took it
8 positive, 7 neutral or asking, 0 mixed, 4 critical, out of 19 comments about the project. Thread score +0.22.
Idea: 7 for, 4 againstDesign: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Fun, useful idea for long-running scripts
From 3 comments
This is useful! Imagine running a long ML training script. Hearing a sound in your speakers when it ends (successfuly or not) is something I considered implementing, non…
H8crilA on HNI like this. It doesn't take itself seriously and implementing it via decorators is a great choice. Might use it in some hobby scripts!
petargyurov on HNgreat. now to add benny hill theme to all bulid scripts... https://www.youtube.com/watch?v=MK6TXMsvgQg
byteface on HN
Implemented as decorators is a good choice
From 1 comment
I like this. It doesn't take itself seriously and implementing it via decorators is a great choice. Might use it in some hobby scripts!
petargyurov on HN
Objections
Copyright of bundled sound tracks is unclear
From 3 comments
"No Copyright Infringement Intended" is a meaningless disclaimer. Either the music is public-domain or permissively licensed and you're fine, or it's not and you're probably not.…
roywiggins on HNRegardless of intent, infringement happens. Someone making the above statement seems to think “infringement” means “plagiarism.” Also, a DMCA takedown request isn’t “being…
jagged-chisel on HN> Either the music is public-domain or permissively licensed and you're fine, or it's not and you're probably not. If only copyright were actually that simple. The music might…
shakna on HN
Disclaimer is legally meaningless
From 2 comments
"No Copyright Infringement Intended" is a meaningless disclaimer. Either the music is public-domain or permissively licensed and you're fine, or it's not and you're probably not.…
roywiggins on HNIt's obviously not supposed to be a disclaimer of any legal value, judging from the sentence immediately after your quote: "I might take down these tracks or add more depending…
joan_kode on HN
Requests
Use Creative Commons or CC0 audio instead
From 2 comments
"No Copyright Infringement Intended" is a meaningless disclaimer. Either the music is public-domain or permissively licensed and you're fine, or it's not and you're probably not.…
roywiggins on HNRegardless of intent, infringement happens. Someone making the above statement seems to think “infringement” means “plagiarism.” Also, a DMCA takedown request isn’t “being…
jagged-chisel on HN
Support for Linux playback
From 2 comments
Getting mp3 to play on linux via python for some reason has been a challenge, and I ended up using this abomination: ```…
canada_dry on HNLove the idea of checking the exit code! Seems I have some modifications to do. On Linux there's usually `aplay` but you'll need play (sox) or mpv etc. to play lossy-compressed…
lozf on HN
Questions
How to get mp3 playing on Linux or Mac in Python
From 2 comments
Getting mp3 to play on linux via python for some reason has been a challenge, and I ended up using this abomination: ```…
canada_dry on HNFYI if you're on a Mac using a Virtualenv, you might need to do 'pip install pyobjc' to get the music to play.
jedberg on HN
Alternatives named
Shell say, afplay or bell commands
From 4 comments
Do this sometimes on mac, simply with: ``` long_running_command && say "That's all folks" ```
Resinderate on HNThe built-in `afplay` shell command works for mp3s and for the stock aiff sounds under /System/Library/Sounds. I use this after my long-running Maven builds to play either a…
computronus on HNOn 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…
stonewareslord on HNI have an alias called "ding" that plays a sound. Add "; ding" to a command and you're set.
nicbou on HN
Slack or email notifications on job finish
From 3 comments
Another super easy option: send a slack message on a private channel (one LOC) which turns into a combo desktop and cellphone notification, which you can disable during sleeping…
asah on HNIf you're using a cloud-based linux server, most of them have "mail": ``` some_long_command | mail -s "Command finished" email@example.com ```
mac-chaffee on HNMy personal approach is a shell script that calls the slack webhook api, so I get a slack message when my job finishes.
saboot on HN
boombox Python module
From 1 comment
Reminds me of a similar but slightly more direct module I wrote named boombox: https://pypi.org/project/boombox/
mixmastamyk on HN