KW Region Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago

Tell me the truth ...

piefed.jeena.net

message-square
26
fedilink
0

Tell me the truth ...

piefed.jeena.net

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months ago
message-square
26
fedilink
  • ricecake@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I set all 8 bits to 1 because I want it to be really true.

    • laranis@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 months ago

      01111111 = true

      11111111 = negative true = false

      • OpenStars@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Why do alternative facts always gotta show up uninvited to the party? 🥳

      • ricecake@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Could also store our bools as floats.

        00111111100000000000000000000000 is true and 10111111100000000000000000000000 is negative true.

        Has the fun twist that true & false is true and true | false is false .

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

        00001111 = maybe

        • tfm@europe.pub
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          Schrödingers Boolean

        • ThatGuy46475@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          10101010 = I don’t know

          • caseyweederman@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            0011 1111 = could you repeat the question

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

        So all this time true was actually false and false was actually true ?

        • laranis@lemmy.zip
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          Depends on if you are on a big endian or little endian architecture.

          • pocker_machine@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 months ago

            Come on man, I’m not gonna talk about my endian publicly

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.

  • 243 users / day
  • 3.71K users / week
  • 6.49K users / month
  • 6.55K users / 6 months
  • 1 local subscriber
  • 24.7K subscribers
  • 285 Posts
  • 1.8K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org