jazzit

Dev tools

python script utility

SHOW HN2020

162points
45comments
#368of 3,028 in 2020
Top 13%of 2020 by points

How HN took it

MixedNo clear lean

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 HN
    • 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
    • great. 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 HN
    • Regardless 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 HN
    • It'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 HN
    • Regardless 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 HN
    • Love 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 HN
    • FYI 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 HN
    • The 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 HN
    • 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…
      stonewareslord on HN
    • I 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 HN
    • If 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 HN
    • My 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

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/24485447)