• 0 Posts
  • 18 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.







  • I’m replying with a sample size of N=1 so don’t take too much from it, but I suspect it’s not the typical response (at least, not yet anyway).

    People do often seem to complain about bot accounts but I don’t know how much of those are in the space of stirring up hot topics to generate content, vs informational (or dis-informational) bot accounts posting on requests for help or explanations.

    I guess if people are seeking answers for something, having a bot feed responses to suit some kind of agenda is entirely a possibility, so I wouldn’t write it off as something that could happen. To that end, being wary of posts that look like they might be generated due to the tone/content is probably fair enough.




  • 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.





  • On “we as people can perceive imperial temperatures a lot better than metric,” I’d agree to disagree here - Celsius is pretty straight-forward. Temperate is temperature, it’s just about what numbers you’re assigning to which temperatures.

    0°C is when water freezes, and 100°C is when water boils. A 10°C day is cold, a 20°C day is mild, a 30°C day is hot, and a 40°C day is when you melt.

    Whatever you grew up with is probably what is going to be easiest for you to comprehend, but Celsius is no more difficult or less perceptible, just a different value range.




  • I have AussieBB and had to give them a call at one point to allow inbound traffic so I could expose my self-hosted server. They flicked a switch for my account and then everything came good.

    If you give them a ring and explain what you’re trying to do it should get sorted out very quickly. Their customer service staff are very knowledgeable and friendly - they’re the best RSP I’ve ever had.