• 0 Posts
  • 1.41K Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle







  • Rivalarrival@lemmy.todaytoAsk Lemmy@lemmy.world[Deleted]
    link
    fedilink
    English
    arrow-up
    11
    ·
    5 days ago

    You seal everything but the battery in one watertight compartment. The battery is a sealed, self-contained package, in a second compartment. Dunk the phone, the only thing that gets wet are the battery contacts, which are protected the same way that earbuds with magnetic chargers are protected: if the contacts get wet, the battery shuts itself off until it has been dried off.



  • If a die is weighted, the first roll is no longer 1/6 probability to get a 7

    Yes, actually, it is. No matter what the first die lands on, there is a 1 in 6 chance that the second die will land on the corresponding value necessary for a “7”. You could glue the first die to the table with “6” (or any other number) showing, and there will be a 1 in 6 chance that the second die will bring the sum to 7.

    Weighting one die (to favor “6”) will increase the probability of every outcome over 7, and will decrease the probability of every outcome under 7, but the probability of rolling a 7 will not change.










  • Ok, I’ll try again:

    Again a solved problem, just make a decent GUI for your application.

    You are promoting monolithic design. You completely fail to comprehend Unix philosophy:

    1. Expect the output of every program to become the input to another, as yet unknown, program. Don’t clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don’t insist on interactive input.

    GUIs are only used for human/application interaction. They are not needed for application/application interaction. While it is not unreasonable to have a GUI for interactive input within your application, it is infeasible and undesirable for a GUI to be needed for your application to interoperate with other applications.

    Go ahead and create the GUI if you really want, but expect your users to want to call it from a shell script. Give users the capability to automate away unnecessary manual interaction, and allow the machine to take up that pointless busywork.

    So googling how to do someone, copy/pasting command is better than finding it in GUI?

    Oh, absolutely. Especially for a one-off setting that you might never look for again. There’s just no sense in wasting the time building up a complex GUI to handle every possible interaction a user could ever want to employ.

    The solution to the “problem” of “needing to use the terminal” is to retrain the user to understand how limiting even the best GUI can be, and to greatly prefer the terminal.

    So, my suggestion is, rather than try to hide away the terminal, it should be featured prominently, exposing the limitations and shortage of command line applications available to windows users. An effective, powerful, well-supported terminal is one of the major benefits of Linux.


  • Smartphones are far too valuable to our efforts to be left at home. They are the difference between personally observing law enforcement atrocities, and being able to prove them. The media isn’t covering the protests. We need as much video as we can get. We need to be able to coordinate efforts, passing along troop deployments and numbers.

    While our main phones and accounts are probably linked to more information than law enforcement should ever be allowed to touch, burners add too much to our efforts to seriously consider not bringing them.