Lemmy LIETUVA
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 2 months ago

megabool

lemmy.blahaj.zone

message-square
33
link
fedilink
1

megabool

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 2 months ago
message-square
33
link
fedilink

https://infosec.exchange/@catsalad/112133060746939956

https://en.wikipedia.org/wiki/Truth_table

alert-triangle
You must log in or # to comment.
  • lime!@feddit.nu
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    missing the classic

  • RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Missing the truth nuke

    • Klear@piefed.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      And DAMN_LIE

      • nimisnimi@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        MEGABULL ,

      • floquant@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        FAKE_NEWS (true but I don’t like it)

        • Klear@piefed.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          I also propose a new binary operator CARES_ABOUT_YOUR_FEELINGS

      • BlackRoseAmongThorns@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        and megabool::Statistics

  • gapa@feddit.nu
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Needs more emojis.

    • FunkyCheese@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      👍 = true

      • rustydrd@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        👎 = false
        🫳 = maybe
        🤌 = Italian false

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    PANTS_ON_FIRE,

  • Elvith Ma'for@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    DOUBLE_PLUS_UNTRUE

  • toynbee@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Yes, no, maybe, I don’t know, can you repeat the question?

    • SkunkWorkz@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

    • Aurenkin@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      You’re not the boss of me, now!

    • Zoop@beehaw.org
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      You’re not the boss of me now! You’re not the boss of me now! You’re not the boss of me now, and you’re not so big! Life is unfair…

      • toynbee@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        Stop singing and get back to work.

    • Klear@piefed.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Splunge!

      • toynbee@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        I’m curious of what that means, but that link put me through five captchas in a row and I ran out of patience.

        • Klear@piefed.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          Youtube is giving you captchas? Ouch.

          It’s a Monty Python sketch. Here it is in text form.

          • toynbee@piefed.social
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 months ago

            Thanks! I’m on a VPN using graphene, so that’s probably why YouTube doesn’t like me.

  • luciole (he/him)@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    megabool is_boy(const Coder *coder);

  • smaximov@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    BIG_IF_TRUE

  • Yorick@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    May I introduce the VHDL STD library where you can set an output to “don’t care”:

    Wikipedia IEEE-1164

    As an embedded electronics engineer discovering VHDL was a blast and a mindfuck!

    • white_nrdy@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Don’t worry, VHDL is still a mindfuck sometimes even after being an FPGA engineer for years (mostly only using VHDL). It’s such a cool language, and I am glad you discovered and are enjoying it!

  • ranzispa@mander.xyz
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I’m confused as to the use of double true.

    I’ve been running a query adding TRUE entries to other TRUE entries, but I just get TRUE as result.

  • SaharaMaleikuhm@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Damn JavaScript

  • bitjunkie@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I’d have gone with “truthy” and “falsy”, but I like the cut of the jib all the same

  • fruitcantfly@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I prefer the classic Bool:

    enum Bool 
    { 
        True, 
        False, 
        FileNotFound 
    };
    
    • DasFaultier@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Ah yes, the three genders.

    • noughtnaut@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      If this classic isn’t linked from that Wikipedia article (I never checked) it really should be. Like the “static cling” image, evnen encyclopedias need to know when to step out of formal style. 🤭

  • jballs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    While working on some client code, my coworker and I came across a case statement that said something like

    if myBoolean == TRUE
    then blah
    else if myBoolean == FALSE
    then blah blah
    else if myBoolean is null
    then blah blah blah
    

    Ever since we’ve always laughed at the “trinary bit”.

  • hoohoohoot@fedinsfw.app
    link
    fedilink
    English
    arrow-up
    0
    ·
    23 days ago

    This is goooold!

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 191 users / day
  • 462 users / week
  • 1.41K users / month
  • 3.38K users / 6 months
  • 0 local subscribers
  • 32.6K subscribers
  • 754 Posts
  • 11.5K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org