SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Masimatutu@lemm.ee to Programmer Humor@lemmy.ml · 2 years ago

trick OR treat

media.infosec.exchange

message-square
21
fedilink
1.14K

trick OR treat

media.infosec.exchange

Masimatutu@lemm.ee to Programmer Humor@lemmy.ml · 2 years ago
message-square
21
fedilink
alert-triangle
You must log in or register to comment.
  • CanadaPlus
    link
    fedilink
    arrow-up
    50
    ·
    2 years ago

    Ah, so that’s why your house gets egged even if you give candy.

  • _cnt0@feddit.de
    link
    fedilink
    arrow-up
    45
    ·
    2 years ago

    What about trick implies treat?

    • Masimatutu@lemm.eeOP
      link
      fedilink
      arrow-up
      55
      ·
      2 years ago

    • JackGreenEarth@lemm.ee
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      2 years ago

      Implies sign is an arrow, what do you mean?

      • BeigeAgenda@lemmy.ca
        link
        fedilink
        arrow-up
        26
        ·
        2 years ago

        I think they refer to the truth table of Implies.

        A | B | A => B
        T   T      T
        T   F      F
        F   T      T
        F   F      T
        
        • _cnt0@feddit.de
          link
          fedilink
          arrow-up
          5
          ·
          2 years ago

          Yes, they do.

  • stebo@sopuli.xyz
    link
    fedilink
    arrow-up
    43
    ·
    2 years ago

    So since you’re expecting to get either tricked or treated, the correct way to say it is “trick XOR treat”

    • nothacking@discuss.tchncs.de
      link
      fedilink
      arrow-up
      18
      ·
      2 years ago

      You mean we are not supposed to trick after getting candy? That ruins the fun!

  • moosetwin@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    28
    ·
    2 years ago

    I like trick and treat

    • curiosityLynx@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I’m partial to Trick NOR Treat

  • Pasta Dental@sh.itjust.works
    link
    fedilink
    arrow-up
    16
    ·
    2 years ago

    LEFT OUTER treat

    • m_r_butts@kbin.social
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      2 years ago

      deleted by creator

  • frippa@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    2 years ago

    Trick or treat is Turing complete

  • driving_crooner@lemmy.eco.br
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    Tiis give me flashbacks of my probability classes of me doing little diagrams to help me visualize what set in probability space im looking for.

  • AntiOutsideAktion [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    2 years ago

    Me, fresh out of COMP301, bragging about how I can make any halloween costume out of only xor gates

    • wvstolzing@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      You mean NAND gates?

      (Trick NAND Trick) NAND (Treat NAND Treat) <-> Trick or Treat

      • AntiOutsideAktion [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        pretty sure both work

        • wvstolzing@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          NAND and XOR aren’t equivalent, though

          | X | Y | X NAND Y |
          | 0 | 0 | 1        |
          | 1 | 0 | 1        |
          | 0 | 1 | 1        |
          | 1 | 1 | 0        |
          
          | X | Y | X XOR Y |
          | 0 | 0 | 0       |
          | 1 | 0 | 1       |
          | 0 | 1 | 1       |
          | 1 | 1 | 0       |
          

          & XOR can be reduced to NAND; not sure if NAND can be reduced to XOR

          • myslsl@mastodon.social
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            @walthervonstolzing @AntiOutsideAktion

            If ya’ll get bored and wanna read more about this, this is a property called functional completeness. I’m pretty sure nand and nor are the only functionally complete binary operators, so xor shouldn’t be functionally complete.

            https://en.m.wikipedia.org/wiki/Functional_completeness

          • AntiOutsideAktion [he/him]@hexbear.net
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            edit-2
            2 years ago

            pretty sure I meant to say nor

  • macniel@feddit.de
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    I believe in XNOR (neither or) supremacy

    • vsh@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Removed by mod

  • iAvicenna@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    What about 1/2 Trick + 1/2 Treat until you observe

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 191 users / day
  • 724 users / week
  • 1.76K users / month
  • 10.4K users / 6 months
  • 437 local subscribers
  • 35.6K subscribers
  • 1.72K Posts
  • 38.1K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org