Across the river from the main city you will find a scaffold in the ground near a stonecutter. If you go down it, you’ll find my no-chamber for experimentations— it’s completely invisible to and devoid of influences from the outside world.

I’ve successfully constructed prototype logic gates— an and gate and a not gate, and I probably shouldn’t have to test an or gate. If I have enough time, I might even construct a half adder somewhere.

  • commiespammerOPM
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I have no idea what those are lmao, all I know about computers I got off a 1980s children’s book about machines.

    • Sylver@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      A regular “or” gate will turn on when:

            A is on while B is off
      
            A is off while B is on
      
            A is on while B is on
      

      An x-or gate will only turn on when:

            A is on while B is off
      
            A is off while B is on
      

      It will not turn on if both A and B are on. This differs from the “and” gate because an “and” gate activate while A and B are the same state (both either on or off)

      I hope I explained this sufficiently!

      • Sylver@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        For a real-life example of an x-or gate, think of a long hallway with a light switch on either end.

        If both are on, the light is off. If both are off, the light is off. However if they are different, one on and one off, the light will be on in the hallway

        • silly goose meekah
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          It really depends. I’ve seen hallways with OR logic for the switches. But I feel like that was not on purpose, because I really can’t think of a proper use case for that.