• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: September 16th, 2023

help-circle
  • OP isn’t referencing “the imaginary numbers” as in the set of numbers that are multiples of the square root of -1. They’re referencing the fact that in grad school, you’re told “forget everything you’ve been taught about math up to now. We’re going to start with a couple of basic assumptions, and extrapolate all of Cartesian Algebra (the math taught in preschool through undergrad) from those assumptions. Now, let’s see what other algebras we can create by changing those assumptions.”

    The only two “numbers” that need to exist to derive all of Cartesian Algebra are zero (additive identity) and one (multiplicative identity). All other numbers are just convenient identifiers that can be extrapolated rather than assumed, hence the overly simplified “all numbers are imaginary”.

    This is similar to other STEM subjects, like how in Physics you’re taught Newtonian physics, then you’re taught why Newtonian physics is just a tiny subset of relativistic physics, and then in grad school you are taught everything you know is just a tiny subset of quantum mechanics. What’s taught in undergrad is “good enough” for your average person to do really complex things in typical day to day life, but for someone dedicating their academic career to the subject, they need to learn the dirty, overly complex details to have a true understanding of the subject.


  • You’re probably wanting [ -z "${VAR1}" -a -z "${VAR2}" ]. Note in bash that there are minor differences in how [ ] and [[ ]] tests are handled. You can pull up a handy cheat sheet of the operands on most distros by running man test, though you’ll need to read through the CONDITIONAL EXPRESSIONS section of man bash if you want to see the minor differences of the single vs double square bracket commands (mostly whether locale applies to string order, as well as whether operands are evaluated in numeric comparisons).


  • Simple solution is “resistant damage” - damage taken by burning your life force to power spells can only be healed by natural healing, not magical healing. It’s tracked separately, and similar to subdual damage, you add it together with normal damage to determine if the character reaches 0HP. If you choose to go this route, I suggest that HP not be your primary fuel for spellcasting, but rather have the patron grant a class feature that allows “overcasting” by burning one’s life force to power additional spells after you’ve run out of normal spell slots.