Yeah right

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

help-circle


  • I have done quite a few martial arts. Anyone who tells you you can learn X and fight against someone who is armed (knife or gun) is simply spouting B.S.

    If someone pulls out a gun on you, give that person what he wants and pray you are not going to end up shot anyway.

    If someone pulls out a knife on you, again, don’t try to be a hero: give that person what he wants. Don’t play hero, especially if the guy holding the knife seems to know what he is doing.

    Martial arts are just a way to train your body and your mind, both trainings are valuable in and out of themselves. They will keep you calm in a tense situation, they may even save your life since no one wants to mess with a dude that keeps his cool. Ultimately, a street fight can be avoided just by looking calm and composed.


  • How do I configure my Linux, on a laptop, to consume as little battery as possible?

    A bit of context: one of my laptop ran Ubuntu, with acceptable battery drain (up to 3h30 of usage, running desktop applications: Firefox, terminal, vim, etc). This is a high-end laptop: 12 AMD Ryzen + AMD Rembrandt.

    I switched to open use, and now battery drains in one hour, running the exact same applications. Installed tuned, selected power save, tried power top, applied different parameters, etc, but no result: battery still dies after 1h. No improvement at all.

    I am going to investigate on my own, but any help is greatly appreciated.




  • Quick answer: no.

    Longer answer: if a USB key is inserted but not mounted (as you mentioned) the system does not interact with it in any way, except to log that something has been inserted, so there is no way Linux will be infected.

    Longer longer answer: if you insert a USB key, then mount it (for instance read only) the system will no interact or execute anything on the key unless you specifically start a program that is on the key. So it will not be infected either.

    Since most viruses and malware are for Windows, you can therefore mount a USB key and start an antivirus program to clean your malware without risking the integrity of your system.