Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TR
Posts
0
Comments
334
Joined
2 yr. ago

  • Not really. Current battery technology is to put it lightly not the type of thing you want to rely on for long term life support. Lithium ion the current go to for rechargeable batteries physically degrades as you charge it. One of the main things you can do to reduce this is don't fully charge the battery. For example if the battery degradation from 0% to 100% is a cycle then 50% to 80% is only 21% of a cycle. That'll extend the lifetime of the battery (not the capacity) by about 5 times! That's pretty significant but you lose out on 20% of the batteries capacity permanently, even as the capacity decreases from degradation.

    You've probably seen the hype about Sodium batteries which are currently 50% less energy dense which just immediately means NOPE for use in space.

    Lithium ion batteries are extremely difficult to actually fully discharge (controller won't let you)

    Lithium ion batteries should never be fully charged it causes them excessive damage so the controller prevents this from happening

  • Looking at code on somebody else's screen is entirely missing the point of using tabs over spaces. The entire point is that mine looks like how I want and theirs looks like how they want even though the file is identical. We can each have wildly different tab width and it'll look wildly different to each of us when we program. That's again the point.

    Code formatters are great! I love them. Using tabs over spaces is objectively a better formatting option. One of my favorite features in code formatters is that they'll swap out spaces to tabs for you insane people who insist on mashing the space bar to indent.

  • What's yaml have to do with anything? It's like python with syntactic whitespace which is unrelated to this discussion. The Tab vs Space debate is entirely around non syntactic whitespace which doesn't effect how the code is parsed. And yes Python technically does both tabs and spaces but it's all sorts of fucky.

    Terminal editors while still used a ton aren't really what I was referring to. Newer terminal editors such as Helix have tab width configured per language most of which default to a width of 4 spaces but toml/yaml both default to 2 spaces. I was mainly referring to GUI editors as frankly that's just what most people use nowadays. JetBrains IDEs, Visual Studio, Eclipse, VS Code, Notepad++ were primarily what I was thinking of as I've used all of them and they all default to a tab width of 4 hence why I said nearly universal. Also I said nearly terminal editors being the only editors I've used that don't default to a width of 4 seems like a fair usage of the term.

  • Then don't? The whole reason nearly all the spaces guys do 4 spaces is cause that's the nearly universal tab width. You won't like this but the same exact argument can be made for spaces yet I'd bet you haven't even once configured the width of those.

    I don't actually change tab width, it's the default 4 spaces equivalent for me but just because I don't take advantage of the ability doesn't mean I should prevent others from doing so.

  • Sometimes. I love auto formatting, I spam the shit out of it more than I spam save but it's definitely not perfect. It gets real confused with inconsistent indention like that. Especially with Python it'll fuckup

  • Tabs are objectively the better choice as it allows each dev individually to decide tab width in their editors. Spaces in contrast don't allow this same flexibility as they are used for much more than simply indentation, for example you likely put a space after each argument or operator IE func(arg1, arg2) or 1 + 2.

  • Incredibly I don't think that the USSR is "as bad as the Nazis" nor did I say anything like that. Is that why you morons are calling me a Nazi? Do you guys need a paragraph explaining that yes I do think the Nazis are bad?

    I'm not trying to win fuckn internet points I'd still be on reddit if I got turned on by that kinda shit. You people are.