I think the dissenting / mocking comments here are missing the spirit of the post. Since bash can evoke any Turing complete program, feasibly anything could be done with one line of bash. The authors intent as I saw was to show what that line was. Would you have known without this article? Whether or not people are just being sarcastic, I feel we should definitely not mock but rather encourage any open and free attem…
Make an internet radio station with one line of bash
31–40 of 55 posts
Re: Make an internet radio station with one line of bash
#32Re: Make an internet radio station with one line of bash
#33Earlier quoted context omitted.
It's also visible in the process table (ps auxww). It can be erased by rewriting the arguments from inside the process (I think this is OS-specific, not the same as changing argv in-place), but that is a race condition. The safe way is to either read it from stdin/fd (maybe call isatty(3) to check if someone doesn't echo password | ./foo), or open a file (check if permissions are 600). You could also have a named soc…
another option is in an env variable (from an encrypted file). gpg -d ~/secrets/nuclear_launch_codes.gpg source ~/secrets/nuclear_launch_codes where the gpg key has a password and is stored on a hardware dongle that doesn't allow copying the private key off. If you really want to be fancy, there are some hardware security keys that also require a biometric to confirm. The other option is something like Hasicorp Vault…
Re: Make an internet radio station with one line of bash
#34https://www.edn.com/1st-public-radio-broadcast-january-13-19...
Re: Make an internet radio station with one line of bash
#35Re: Make an internet radio station with one line of bash
#36Re: Make an internet radio station with one line of bash
#37Earlier quoted context omitted.
The original title of the article is: > Your own internet radio station in one line
OP here. The original title did include the word "bash" (it was the one and only instance of the word "bash"). I removed this word from the main article because including the word "bash" superseded a conversation that was nominally about internet broadcasting. Maybe the title of this HN submission can be changed too. I appreciate the commenters that picked up on the main theme of article and shared some interesting l…
Re: Make an internet radio station with one line of bash
#38Fascinating. I recall two other interesting uses of ffmpeg: to stream to twitch[1], and to record video[2]. [1] https://stackoverflow.com/questions/54273291/streaming-a-str... [2] https://www.youtube.com/watch?v=HO6oU5oT6uU
Re: Make an internet radio station with one line of bash
#39Does anyone have experience with https://www.liquidsoap.info/ for simple radio stations? Is it any good?
[0] https://github.com/mmmnmnm/lahmacun/blob/master/azuracast/li...
Re: Make an internet radio station with one line of bash
#40I think the dissenting / mocking comments here are missing the spirit of the post. Since bash can evoke any Turing complete program, feasibly anything could be done with one line of bash. The authors intent as I saw was to show what that line was. Would you have known without this article? Whether or not people are just being sarcastic, I feel we should definitely not mock but rather encourage any open and free attem…