• 0 Posts
  • 59 Comments
Joined 3 years ago
cake
Cake day: August 25th, 2023

help-circle

  • Yeah I hate when I have to convert temperatures between systems, and then the nice round numbers that represent common values used in everyday life like 0, 20, 30, 40, and 100 become absolutely nonsensical values like 32, 68, 86, 104 and 212

    Metric measurements are only decimals in North America because things are fabricated to be round imperial numbers for the American market. When you buy a piece of lumber in Europe it’s cut to 45x95mm which (shockingly) converts to the absolutely nonsensical 1.77165x3.74016 inch two by four











  • Your computer is a bunch of parts that need software to make them work. The “operating system” handles talking to the hardware directly, while the programs you run only talk to the operating system. Talking to the operating system is easy, talking to the hardware is difficult, since you may need to speak a hundred different languages to work with every possible network card, sound card, graphics card, etc.

    The operating systems you have probably heard of are windows and macOS. Linux is a 3rd one.

    Windows is owned by Microsoft, macOS is owned by Apple, and Linux is developed by the community and (typically) released for free. Since anyone can work on Linux, there are tons of different versions of it floating around, that are all slightly different from one another.









  • The add function in the example above probably traverses the call stack to see what line of the script is currently being executed by the interpreter, then reads in that line in the original script, parses the comment, and subs in the values in the function call.

    This functionality exists so when you get a traceback you can see what line of code triggered it in the error message