Fanaticus
  • 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@lemmy.sdf.org
    link
    fedilink
    50•2 years ago

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

  • _cnt0
    link
    fedilink
    45•2 years ago

    What about trick implies treat?

    • @Masimatutu@lemm.eeOP
      link
      fedilink
      55•2 years ago

    • JackGreenEarth
      link
      fedilink
      5•2 years ago

      Implies sign is an arrow, what do you mean?

      • @BeigeAgenda@lemmy.ca
        link
        fedilink
        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
          link
          fedilink
          5•2 years ago

          Yes, they do.

  • stebo
    link
    fedilink
    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
      18•2 years ago

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

  • moosetwin
    link
    fedilink
    English
    28•2 years ago

    I like trick and treat

    • @curiosityLynx@beehaw.org
      link
      fedilink
      1•2 years ago

      I’m partial to Trick NOR Treat

  • Pasta Dental
    link
    fedilink
    16•2 years ago

    LEFT OUTER treat

    • m_r_butts
      link
      fedilink
      1•
      edit-2
      2 years ago

      deleted by creator

  • @frippa@lemmy.ml
    link
    fedilink
    13•2 years ago

    Trick or treat is Turing complete

  • @driving_crooner@lemmy.eco.br
    link
    fedilink
    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]
    link
    fedilink
    English
    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
      link
      fedilink
      4•2 years ago

      You mean NAND gates?

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

      • AntiOutsideAktion [he/him]
        link
        fedilink
        English
        2•2 years ago

        pretty sure both work

        • wvstolzing
          link
          fedilink
          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
            link
            fedilink
            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]
            link
            fedilink
            English
            0•
            edit-2
            2 years ago

            pretty sure I meant to say nor

  • macniel
    link
    fedilink
    5•2 years ago

    I believe in XNOR (neither or) supremacy

    • @vsh@lemm.ee
      link
      fedilink
      English
      0•
      edit-2
      1 year ago

      Removed by mod

  • @iAvicenna@lemmy.world
    link
    fedilink
    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.
  • 65 users / day
  • 977 users / week
  • 3.22K users / month
  • 9.83K users / 6 months
  • 37K subscribers
  • 1.81K Posts
  • 38.1K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org