lemmy.eirides.net
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 years ago

Tell me the truth ...

piefed.jeena.net

message-square
18
link
fedilink
1

Tell me the truth ...

piefed.jeena.net

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

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

    • Consti@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I was programming in assembly for ARM (some cortex chip) and I kid you not the C program we were integrating with required 255, with just 1 it read it as false

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      You jest, but on some older computers, all ones was the official truth value. Other values may also have been true in certain contexts, but that was the guaranteed one.

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

      01111111 = true

      11111111 = negative true = false

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

        00001111 = maybe

        • ThatGuy46475@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          10101010 = I don’t know

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 494 users / day
  • 1.17K users / week
  • 19 users / month
  • 11.9K users / 6 months
  • 1 local subscriber
  • 33.3K subscribers
  • 1.7K Posts
  • 43K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: 0.19.20
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org