86thumbs
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Jeena@piefed.jeena.net to Programmer Humor@lemmy.mlDeutsch · 10 个月前

Tell me the truth ...

lemmy.ml

message-square
28
fedilink
188

Tell me the truth ...

lemmy.ml

Jeena@piefed.jeena.net to Programmer Humor@lemmy.mlDeutsch · 10 个月前
message-square
28
fedilink
  • virku@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    10 个月前

    Store 8 bits in the same byte then 👌

    • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
      link
      fedilink
      arrow-up
      3
      ·
      10 个月前

      Wrong direction!

      Store only bits using word-length ints (32 bits in most modern architectures), and program everything to do math using arrays of 32 int-bits to numbers!

      • virku@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        10 个月前

        Oh man! That took me down memory lane!

        I once had to reverse engineer a database to make an invoice integration. They had an int named flags. It contained all status booleans in the entire system. Took me a while to figure that one out.

        • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
          link
          fedilink
          arrow-up
          5
          ·
          10 个月前

          We’ve all been there, friend. The bit arrays can’t hurt you now.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

remote_follow_modal_title

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
community_visibility: public
globe

public_blurb

  • 284 users / day
  • 540 users / week
  • 1.9K users / month
  • 5.98K users / 6 months
  • number_of_local_subscribers
  • 41.3K subscribers
  • 1.97K Posts
  • 40.2K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org