[{"data":1,"prerenderedAt":197},["ShallowReactive",2],{"project-24850583":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":37,"post_text":29,"what":39,"said":52,"maker_in_thread":116,"shape":118,"grid":121,"attempts":157,"same_week":162,"maker_shows":31,"maker_hidden":190,"reader_version":191,"card":192},"24850583","Onhold","Play sounds while and after shell jobs complete","title","Show HN: Onhold – Play sounds while and after shell jobs complete","https:\u002F\u002Fgithub.com\u002Falexdelorenzo\u002Fonhold","github.com","this_machine",1603304548,2020,43,15,1162,3028,39,"shown","dev_tools","terminal utility","cli",[24,25,26,27],"shell notifications","terminal sound","long running jobs","hold music","quiet",null,{"positive":31,"neutral":32,"mixed":33,"critical":33},2,1,0,3,{"idea":36},{"positive":31,"critical":33},[33,33,33,38,33,33,33,33,33,33,38,33,34,33,33],5,{"problem":40,"audience":29,"pricing":29,"motivation":29,"time_to_build":29,"stack":50,"openness":51,"stage":51,"team_size":51},{"value":41,"source":42,"evidence":43},"Knowing when long-running shell jobs finish without watching the terminal","inferred",[44,46],{"id":45},"post",{"id":47,"by":48,"text":49},"24851065","jawns","In iTerm 2, I have it set up to play a sound when certain commands finish, but it hadn't occurred to me that having hold music while the job is still processing could be useful.…",[],"unknown",{"praise":53,"objections":66,"requests":67,"questions":75,"alternatives":83},[54,59],{"value":55,"source":56,"evidence":57},"Useful for stepping away from the desk and missing notification sounds","commenter",[58],{"id":47,"by":48,"text":49},{"value":60,"source":56,"evidence":61},"Plays nicely with Linux pipes",[62],{"id":63,"by":64,"text":65},"24850971","titanomachy","I like how it plays nice with linux pipes. I've used this on macOS before to accomplish the same thing: `afplay ~\u002Fsong.mp3 & do_something_slow; pkill afplay; tput bel`",[],[68],{"value":69,"source":56,"evidence":70},"Support for processes running in remote SSH sessions",[71],{"id":72,"by":73,"text":74},"24851247","jefurii","I wish there was something like this that worked for processes running in remote ssh sessions.",[76],{"value":77,"source":56,"evidence":78},"Tooling to map system metrics like CPU and IO to ambient sound",[79],{"id":80,"by":81,"text":82},"24852260","TeMPOraL","Here's what I'd love to have: an ambience. Turning metrics like CPU, memory, IO and network loads into subtle sounds. Some more important background jobs execution into more…",[84,95,102,109],{"value":85,"source":56,"evidence":86},"tput bel terminal bell",[87,91],{"id":88,"by":89,"text":90},"24851186","yomansat","To ring terminal bell after running process > Ctrl+g # (^g) Or any of: > tput bel > echo -n -a \"\\a\" > echo $'\\a'",{"id":92,"by":93,"text":94},"24851056","VectorLock","I used `tput bel` after everything I want to get notified on if its running long. Extra good since it works over ssh as well.",{"value":96,"source":56,"evidence":97},"sox play with a synth tone",[98],{"id":99,"by":100,"text":101},"24856366","sodimel","Here's what I did to make sound come after a command: ``` import os from random import seed from random import random seed(a=None) def rnd(): return 200 + (random() * (2100 -…",{"value":103,"source":56,"evidence":104},"macOS say command",[105],{"id":106,"by":107,"text":108},"24852563","Gys","On MacOS instead of tput bel I use: `say \"finished\"` (or something) For non-Mac users: `say` will activate a voice saying some text",{"value":110,"source":56,"evidence":111},"notify.run browser notifications",[112],{"id":113,"by":114,"text":115},"24851711","paulgb","It doesn't do hold music, but check out https:\u002F\u002Fnotify.run\u002F. It uses browser notifications so the machine that receives the notification need not be the machine that sends it.",{"comments":33,"answered":33,"key":117},[],{"commenters":15,"max_depth":31,"maker_replies":33,"first_comment_mins":119,"lifespan_hours":120},44,27,[122,124,128,131,133,136,139,140,142,145,146,147,149,152,153],[80,33,33,123,81,33],"other\u002Fneutral\u002Fidea",[125,33,33,126,127,33],"24852757","other\u002Fneutral\u002Fnone","icebraining",[129,33,33,126,130,33],"24863619","bjnord",[47,32,38,132,48,33],"project\u002Fpositive\u002Fidea",[134,32,33,126,135,33],"24851741","Siira",[137,31,33,126,138,33],"24851558","tasty_freeze",[99,34,33,126,100,33],[88,141,33,126,89,33],4,[143,141,33,126,144,33],"24852411","wing-_-nuts",[106,141,33,126,107,33],[63,38,38,132,64,33],[92,148,33,126,93,33],6,[72,150,34,151,73,33],7,"project\u002Fneutral\u002Fidea",[113,150,33,126,114,33],[154,155,33,126,156,33],"24851166",8,"psadri",[158,161],{"id":159,"t":160,"points":38,"comments":33},"24504296",1600349045,{"id":4,"t":12,"points":14,"comments":15},[163,168,173,177,181,186],{"id":164,"name":165,"points":166,"category":167},"24834636","Arturo",324,"languages",{"id":169,"name":170,"points":171,"category":172},"24842306","Bunkerized-Nginx",221,"infrastructure",{"id":174,"name":175,"points":176,"category":20},"24835219","Formito Favicon Generator",199,{"id":178,"name":179,"points":180,"category":20},"24833801","ConsoleChat",148,{"id":182,"name":183,"points":184,"category":185},"24846335","TidalWaves API",124,"data",{"id":187,"name":188,"points":189,"category":172},"24829768","Turing Pi 2",109,false,"v2",{"id":193,"name":5,"line":6,"ai":190,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":194,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":195,"url":9,"mix":196,"praise":55,"objection":-1,"sub":21},24850583,[24,25,26,27],"000500000050300",[31,32,33,33],1794036597504]