Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use IEC standard abbreviation for mebibytes (MiB) #2951

Merged
merged 3 commits into from
Mar 6, 2023

Conversation

dbeatty10
Copy link
Contributor

@dbeatty10 dbeatty10 commented Mar 3, 2023

What are you changing in this pull request and why?

Sing with me:

🎵 Here come the Men in Black (MiB)...

In computer worlds, sometimes units based on powers of 10 are used, and sometimes based on powers of 2 instead. I wouldn't go so far as to say this Wikipedia section is "easy" to read, but at least it's... something?

Long story short, the code here is clearly based on powers of 2, so the docs should say "MiB" instead of "MB".

1 mebibyte = 1 MiB = 1024 * 1024 bytes
1 megabyte = 1 MB = 1000 * 1000 bytes

image

Related to dbt-labs/dbt-core#7117

Checklist

1 mebibyte = 1 MiB = 1024 * 1024 bytes
1 megabyte = 1 MB = 1000 * 1000 bytes
@dbeatty10 dbeatty10 requested a review from a team as a code owner March 3, 2023 22:57
@netlify
Copy link

netlify bot commented Mar 3, 2023

Deploy Preview for docs-getdbt-com ready!

Name Link
🔨 Latest commit 3065e5c
🔍 Latest deploy log https://app.netlify.com/sites/docs-getdbt-com/deploys/6406535bf3d56b00087693d5
😎 Deploy Preview https://deploy-preview-2951--docs-getdbt-com.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added content Improvements or additions to content size: x-small This change will take under 3 hours to fix. labels Mar 3, 2023
Copy link
Contributor

@mirnawong1 mirnawong1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @dbeatty10 great explanation and callout! thanks for opening this up to correct the docs and it's approved for you to merge ✨

@dbeatty10 dbeatty10 enabled auto-merge (squash) March 6, 2023 20:56
@dbeatty10 dbeatty10 merged commit 4c9c88b into current Mar 6, 2023
@dbeatty10 dbeatty10 deleted the dbeatty/iec-standard-mebibyte branch March 6, 2023 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content size: x-small This change will take under 3 hours to fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants