• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle

  • I’m sure there are ways to suppress output from stdin presenting in the terminal but I couldn’t tell you how to do it without looking it up myself.

    The easiest entry point to this problem that I can think of off the top of my head is password input masking (e.g., when you run sudo and type your password, it prevents character output even though the characters are read by the application).

    There is almost certainly a much better and more appropriate mechanism to prevent stdin characters from printing directly to the terminal (perhaps some kind of special character? A TTY control option?) but I don’t know it off-hand.






  • It should be possible, but the answer is going to depend on your implementation, what libraries you are using, and so on.

    For example, if the play sound action is synchronous, then maybe you could start it up in another thread, and interrupt that thread if you want to cancel the sound.

    If it’s asynchronous, maybe you need to retain a reference to the sound object and then invoke a stop() call when the other button is pressed.



  • That’s fair, except I did read the page that I posted which contains details about the harvest site that only mentions the underground source and does not make any statements about the ocean.

    Given the article above, and coupled with the knowledge that Mildura is definitely not near the ocean (in this millennium), it seemed reasonable to assert that that the salt was not derived from the ocean.

    So yeah, I did read the link that I posted, but it did not mention that the salt deposits literally hundreds of kilometers inland originated from the ocean millions of years ago.

    I withdraw my original statement, and hope you have a swell day. :)