Skip Navigation

  • 4 spaces, although I'll die on the hill that tabs should always be used instead of space for indentation. Not just in python.

  • Python are fine with whatever number of spaces you want to use. You can use 8 spaces which forces you carefully consider each nest, you can use 1 if you're a monster, or you can use tabs if you're enlightened, python only demands consistency.

  • Deleted

    ...

    Jump
  • Depends on the file, very simple files may only warrant npp, but VSCode for more complex stuff where live preview may come in handy.

  • VSCode uses electron so it's not exactly a lightweight text editor, way overkill if you just want to read a simple .txt. Add on the fact if you got way too many extension, it will be even heavier.

  • Nothing you said other than expenses is an argument against nuclear. If anything, the take from you argument is that we should construct even more nuclear, not less.

  • It'd honestly the funniest thing I've read on this instance. Puts programmer humour to shame. Love it when developers finds the jankiest/unconventional way to solve problems.

  • You genuinely think it's faster to make a Web query, wait for search results to show up, click and wait for the correct webpage to load, navigate to the download page, download the exe, run the exe and go through the pop up menu than it is to type apt install x?

  • If you care about energy density, nuclear is the best solution, not coal. I guess Germans don't care though

  • Clean code would have indentation though, and you can use whatever space you want as indentation. Bonus points if you use tabs so that others with special needs can configure the tab length on their end.

    And I don't think I've encountered an indentation error since the day I learned the language. How often do you encounter that error when writing python scripts? Sounds more like a theoretical problem than something anyone used to python would encounter.

  • I've never understood the complaint about forced indentation. What kind of monster doesn't use indentation for their code anyway?

    If anything, it's nice that the language forces it on you so that you don't stumble on code written by one of those monsters.

  • For modding, it's very useful to not have everything statically linked. DLSS swapping is probably the most prominent use case nowadays.

  • You can just run the code in the debugger to see if it does what you expect.

  • It's uses safari's engine, which is the only one allowed by Apple. Doesn't matter what browser you download from the store.

  • The driver is fully responsible, but Tesla are also making the big bucks with misleading marketing of how good their driving assistance is. So it's more profitable to keep people unaware of its actual capabilites.

  • "Brave New World" warned against genetic engineering, but that's turned out to be a great technology for curing diseases and improving crop yields.

    I was still a teen when I read the book, but that wasn't really my take from it when I read it. We are still far away from genetically designing human babies. And you also overlooked the part about oppression/control via distractions such as drugs and entertainment.

  • His "work" as you put it, is the only thing of value on the site. SO without users to provide answers are worth zero dollars, so I'm not sure why you put work in quotation mark.

  • That would never be an option for Stackoverflow

  • In the ancient times, the escape button wasn't at the upper left corner, but to the left of Q (ADM-A3). Vi (and by extension Vim) just haven't adapted to a different keyboard layout.