MTGZone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Agent641@lemmy.world to Programmer Humor@programming.dev · 6 hours ago

Did you check inside the box?

message-square
18
link
fedilink
104

Did you check inside the box?

Agent641@lemmy.world to Programmer Humor@programming.dev · 6 hours ago
message-square
18
link
fedilink
alert-triangle
You must log in or # to comment.
  • ¬∃x(∀y(y∈x↔y∉y))@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    2 hours ago

    To make things more confusing, there’s a goofy formula which tells you the actual capacity of a given advertised capacity. A drive advertised as 1 TB will always have exactly 1,000,204,886,016 bytes. It helps to have consistency, but nobody seems to knows where the formula came from.

    https://superuser.com/questions/1037272/why-does-my-500gb-hard-drive-have-a-capacity-of-exactly-500-107-862-016-bytes

    • Colloidal@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      Interesting.

  • bacon_pdp@lemmy.world
    link
    fedilink
    arrow-up
    26
    ·
    4 hours ago

    The OS uses 1024 and the drive manufacturers are using 1000.

    Which is why a 1TB drive shows 931GiB of capacity. (1024 GiB =1 TiB, 1024MiB =1 GiB, 1024KiB =1MiB, 1024 Bytes =1KiB) but the drive manufacturers using SI prefixes doing 1000 Bytes =1 KB, 1000 KB = 1MB, 1000MB = 1GB, 1000GB = 1TB.

    Thus the discrepancy.

    • heartSagan5@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      36 minutes ago

      And it gets more complicated when we get to the metadata and filesystem structure. So, you technically never get to store 931GB, I wonder what the (average) ratio of metadata to data is? 3:1?

    • kkj@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 hours ago

      The problem arises when the OS uses GiB but labels them GB, like Windows does.

    • cenzorrll@piefed.ca
      link
      fedilink
      English
      arrow-up
      13
      ·
      3 hours ago

      Look at Mr. “100 IQ” over here

      • white_nrdy@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        3 hours ago

        128 IQ*

  • Hamknight@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    4 hours ago

    The old GiB vs GB

  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    5 hours ago

    Bootlickers will then argue it’s cool that the manufacturer screws you out of almost a hundred gigs.

    • kkj@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      16
      ·
      3 hours ago

      The manufacturer is labeling the drive correctly as 1TB (1000GB, 10^(12)B). It’s Microsoft that incorrectly labels it as 931GB; it’s actually 931GiB (931 * 2^(30)B). A Mac will correctly show 1000GB and a Linux machine will correctly show 931GiB.

      • furry toaster@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        21 minutes ago

        Linux uses the unit defined by your locale, it may vary

      • Skullgrid@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 hour ago

        Told you guys.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      4 hours ago

      since it’s 69GB it’s not cool, it’s nice

    • jacksilver@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      4 hours ago

      They should just be requires to use consistent units of measurement.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    4 hours ago

    That’s your OS using base 2 units and calling it TB. The drive ships with 1TB.

  • liinux@pawb.social
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    I really love how this really applied to basically everything, the more you know about Linux for example – the most you are happy that something worked instead of asking HOW it works

    I’m talking to you, RAM memory!

    • driftwood@lemmy.zip
      link
      fedilink
      arrow-up
      5
      ·
      2 hours ago

      FML you’re telling me I need Random Access Memory Memory now? 😩 Never getting a new pc.

    • milbyte@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      is there something wrong with RAM on windows? iirc this was one of the things that worked normally for me.

  • Blibittyblah@futurology.todayBanned
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    4 hours ago

    Removed by mod

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.

  • 1.91K users / day
  • 3.14K users / week
  • 9.33K users / month
  • 16.4K users / 6 months
  • 5 local subscribers
  • 34K subscribers
  • 2.65K Posts
  • 105K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org