• 1 Post
  • 79 Comments
Joined 1 year ago
cake
Cake day: August 3rd, 2023

help-circle
  • When WSL first came out, all the documentation i read from Microsoft led me to believe it was intended to help developers who are cross-developing software for both Linux and Windows to more easily test features and compatibility and to ensure software behaves consistently. It never seemed like they intended it to be used to run Linux programs fully and integrate into the Windows environment. It always seemed like it was just there for convenience so a smaller budget developer could develop on one machine and not need to be constantly rebooting or running VMs.


  • CheezyWeezle@lemmy.worldtolinuxmemes@lemmy.worldThese people...
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    6 days ago

    So, wait, you are claiming that a Windows update broke your hardware so bad you had to reinstall the firmware, but it magically worked on a linux distro? First of all, that means it wasn’t “permanently stopped [from] working”. Second, I hate to break it to you, but it sounds like Windows might have fucked up a setting, and then you user-errored your way into breaking things. I’ve never had something break that can’t be fixed with a full system restore or reinstall, and it sounds like you had a problem just like that. If it worked on Linux, you could have gotten it working on Windows, too, because it’s clearly a software error at that point.







  • I never said this was a bad value, but I think we all know that these prices will not remain. They will increase because people will pay it once they are locked in. And if someone buys a used car, they have to pay that subscription to get these features, ensuring the manufacturer gets a slice from used sales. I can understand the cost, but it sets a dangerous precedent. It should be one time fee that grants the VIN access to the severs permanently. What would be really nice is if we had legislation that requires companies with a certain amount of revenue to maintain services for older products so they can’t just pull the plug later anyways.






  • CheezyWeezle@lemmy.worldtoProgrammer Humor@lemmy.mlGender.js
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    11 months ago

    Kind of. With hoisting, the compiler/interpreter will find variable declarations and execute them before executing the rest of the code. Hoisting leaves the variables as undefined until the code assigning the value to the variable is executed. Hoisting does not initialize the variables.

    For example:

    console.log(foo);
    var foo;
    //Expected output: console logs ‘null’

    foo = ‘bar’;
    console.log(foo);
    var foo;
    //Expected output: console logs ‘bar’

    console.log(foo === undefined);
    var foo;
    //Expected output: console logs ‘true’

    This means you can essentially write your code with variable declarations at the end, but it will still be executed as though the declarations were at the beginning. Your initializations and value assignments will still be executed as normal.

    This is a feature that you should probably avoid because I honestly cannot think of any good use case for it that won’t end up causing confusion, but it is important to understand that every variable within your scope will be declared at the beginning of execution regardless of where it is written within your code.



  • Maybe you should go read the article and actually read my comment. The article literally agrees with everything I said within the first few paragraphs. Negative temperatures do not and cannot exist under the classical definition, but the overall state of a system can reach a configuration that behaves like a negative temperature would, yet this is achieved by raising the temperature above what would tend towards infinity. Once again, it can be useful to represent certain configurations of systems of matter as a negative temperature with added context, and that’s why negative temperatures are a thing in science. It’s also why there are things like the summation of all natural numbers (1+2+3+4+…) being equal to -1/12. If you actually add up the natural numbers you get infinity, but ignoring that can yield useful results.

    You are also absolutely wrong about temperature being dependent on all energy. Temperature is literally defined as the measurement of kinetic energy in a system. Are you actually suggesting that if I put an apple on an elevator, it’s temperature is going to be increased when I send it up? Or that if I inject that apple with cold diesel fuel it will heat up? Those things would increase the energy of the apple, but not increase the kinetic energy and therefore the temperature does not rise.


  • What makes you say that isn’t what an absolute scale is? It definitely is what an absolute scale is. For example, distance is measured on an absolute scale. Negative ten meters would be equal to positive ten meters. In the classic definition of temperature measuring the total kinetic energy of matter, a negative temperature would be equivalent to a positive temperature, as it is measuring how much the particles are moving. Similar to velocity (also an absolute scale), if a particle is moving at a particular speed, X, then moving at that same speed backwards would be -X, but it is still the same speed.

    Negative temperatures are used to express something different from the classic definition of temperature, because the particles are not doing less than zero movement. Once a particle reaches absolute zero, it cannot move any less, but it can still have other properties that are directly tied to temperature change. Therefore, if purely expressing the classic definition of temperature, a negative temperature cannot exist, so any negative temperature would necessarily have to be equivalent to the same positive temperature. Of course, in any actual scientific conversation, the classic definition of temperature would be understood to be inadequate.




  • Lmao you are actually incapable of good faith, probably because of how obviously angry you are hahaha

    You are still trying to argue that your idealized theoretical version of communism is what needs to be accepted, but that a corrupted and condemned version of capitalism is what capitalism is inherently at its core. By your own standard, communism is equally abhorrent because of how it has been actually implemented in the past.

    A company getting bailed out is not capitalism. It is socialism. A capitalist society implementing corporate socialism is a corruption of the core ideology of capitalism. I will agree that it is the end goal of corporatism, but corporatism is a corruption of capitalism.

    And wow you really still don’t get the “no true scotsman” thing… I mean you probably do but once again, you are only putting bad faith forward. Since you clearly need it spelled out in detail, let me just copy this excerpt from the Wikipedia article on “No true Scotsman”:

    The “no true Scotsman” fallacy is committed when the arguer satisfies the following conditions:[7][3][4]

    not publicly retreating from the initial, falsified assertion

    offering a modified assertion that definitionally excludes a targeted unwanted counterexample

    using rhetoric to hide the modification

    Oops, you accidentally did all those things. You never retracted your assertion, you modified the assertion with further qualifiers, and tried to downplay that further qualification. You actually pulled a “no true scotsman” on a statement about someone being a scotsman. It’s so on the nose that you MUST be a troll lmao