Yeah right

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





  • I have used all 3 major BSDs (Free, Open and Net). FreeBSD is ideal for servers due to its performance. OpenBSD is perfect for security appliances and NetBSD is perfect if you have exotic legacy hardware.

    This being said, I have also used OpenBSD for about two years as my daily driver on an old second hand laptop, and I really liked it. With a minimum of configuration, installing software was as easy as Debian (just your pkg_add), and configuration is just super easy since the OpenBSD documentation.

    It has improved a lot done then: installing security updates (sysupdate) and upgrading (sysupgrade) from one version to the next is amazingly simple. If your hardware is supported, OpenBSD is just a pleasure to use. Its only default is the lack of “advanced” file systems and volume managers.



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





  • If it’s several python modules, then yes, choose a license and then contact pypi and see if you can distribute your modules through them.

    One very important thing is that you have to make sure everything is ready for distribution: check your project will work (possibly starting with a blank VM), what its dependencies are, that the requirements.txt file is good and operational, that automated tests are available for people to run after installing, etc.

    In other words, the ideal project is not just a question of license but also all the scaffoldings you supply with it.

    Thanks for opening your code!