Friends of JLH
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 10 days ago

Tell me the truth ...

piefed.jeena.net

message-square
166
fedilink
1.16K

Tell me the truth ...

piefed.jeena.net

cm0002@lemmy.world to Programmer Humor@programming.dev · 10 days ago
message-square
166
fedilink
  • kayzeekayzee@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    10 days ago

    Redundancy is nice in the event of bitflip errors

    • MNByChoice@midwest.social
      link
      fedilink
      arrow-up
      11
      ·
      10 days ago

      Is the redundancy used for bools? I mean in actual practice.

      • anton@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        9 days ago

        C/C++ considers an nonzero number, as your true value but false is only zero. This would allow you to guard against going from true to false via bit flip but not false to true.
        Other languages like rust define 0 to be false and 1 to be true and any other bit pattern to be invalid for bools.

      • kayzeekayzee@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        10 days ago

        iunno ¯_(ツ)_/¯

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: [email protected]

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.

  • 372 users / day
  • 4.33K users / week
  • 8K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.4K subscribers
  • 1.34K Posts
  • 43.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org