• cybervseas@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 hours ago

      Trick TRUE Treat?

      Trick FALSE Treat?

      I don’t remember what we called those in my intro comp sci class.

  • fossilesqueOPM
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 hours ago

    Toasted pumpkin seeds:

    Using running water seperate seeds from pumpkin guts. Soak them in salt water while you carve. Preheat and bake at 220C for 15-20 mins. Eat them whole.

    • lud@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      33 minutes ago

      XNOR (Exclusive NOR) is the opposite of XOR (Exclusive OR)

      A way to remember XOR is “must have one or the other but not both” XNOR is the opposite so it’s “must have both” so either both inputs are 1 or 0.

      XNOR or XOR is very common in homes with staircases so that you can turn on and off the light in the staircase regardless of which floor you are on.

      If you google staircase switches, you will be told that they mostly use XOR but according to the wiring diagrams they use XNOR.

        • lud@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 minutes ago

          Wiring a staircase switch is actually very easy, you pretty much just need two wires going from one switch to another and then a light