dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@cm0002@lemmy.world to Programmer Humor@programming.dev • 24 hours ago

Tell me the truth ...

piefed.jeena.net

message-square
92
fedilink
897

Tell me the truth ...

piefed.jeena.net

@cm0002@lemmy.world to Programmer Humor@programming.dev • 24 hours ago
message-square
92
fedilink
  • @laranis@lemmy.zip
    link
    fedilink
    86•
    edit-2
    22 hours ago

    01111111 = true

    11111111 = negative true = false

    • @StellarSt0rm@lemmy.world
      link
      fedilink
      42•20 hours ago

      00001111 = maybe

      • @ThatGuy46475@lemmy.world
        link
        fedilink
        23•19 hours ago

        10101010 = I don’t know

        • assa123
          link
          fedilink
          2•3 hours ago

          00000001 00000000 00001111 10101010

        • @foofiepie@lemmy.world
          link
          fedilink
          18•18 hours ago

          100001111 = maybe not

      • @tfm@europe.pub
        link
        fedilink
        6•20 hours ago

        Schrödingers Boolean

    • @VonReposti@feddit.dk
      link
      fedilink
      33•21 hours ago

      What if it’s an unsigned boolean?

      • @ivanovsky@lemm.ee
        link
        fedilink
        24•21 hours ago

        Cthulhu shows up.

      • @hakunawazo@lemmy.world
        link
        fedilink
        14•19 hours ago

      • @laranis@lemmy.zip
        link
        fedilink
        3•20 hours ago

        Common misconception… Unsigned booleans (ubool) are always 16-bits.

      • @CosmicTurtle0@lemmy.dbzer0.com
        link
        fedilink
        English
        1•19 hours ago

        Super true.

    • @ricecake@sh.itjust.works
      link
      fedilink
      10•17 hours 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 .

    • OpenStars
      link
      fedilink
      English
      6•20 hours ago

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

    • @pocker_machine@lemmy.world
      link
      fedilink
      4•19 hours ago

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

      • @laranis@lemmy.zip
        link
        fedilink
        3•19 hours ago

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

        • @pocker_machine@lemmy.world
          link
          fedilink
          4•18 hours 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
  • 2.02K users / day
  • 4.21K users / week
  • 7.79K users / month
  • 17.1K users / 6 months
  • 23.3K subscribers
  • 1.39K Posts
  • 48.6K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org