Bits vs Bytes as Fast As Possible
Вставка
- Опубліковано 21 тра 2013
- Computer data is often referred to in bits or bytes. Watch this video and you'll understand what they do and how they differ!
Sponsor Link: audible.com/techquickie
FORUM LINK: linustechtips.com/main/news-re... - Наука та технологія
its crazy to see how far tech quickie has come in the past years
Yes
Very crazy
@@jaygeevaldez2210 lol
Fr
Try 2022
Anyone else try to wipe the spec of dust off your screen 😝
Yes. Yes I fucking did.
yep me too...
Me three
fucking 10 times
same lol
Linus, I'm a high school teacher teaching an A+ Certification class, and your videos have been instrumental in teaching my students! Thank you so so much for them!!
I had a class in high school that taught building computers and electronics, but only recently realized how valuable an A+ Certification class could have been. I hope your still teaching A+ because it should be a standard class in all high schools.
Bit
Byte
Kilobyte
Megabyte
Gigabyte
Terabyte
Petabyte
Exabyte
Zettabyte
Yottabyte
Brontobyte
Geopbyte
You forgot Nibble!
Luke Cahill nipples
bit (b)
Byte (B)
kilobit (kb)
kilobyte (kB)
megabit (mb)
megabyte (mB)
gigabit (gb)
gigabyte (gB)
terabyte (tB)
+Omar Aziz You forgot nibble
+Omar Aziz MegaByte =MB Megabit= Mb Mega always being in uppercase
VERY APPROXIMATE; NOT CORRECT.
Loved it.
Just devide it by 8 for a correct answer
An honest internet provider? Who?
In my country they're actually giving me faster internet than the contract I signed, (I'm paying 50 Mbps and I'm downloading at 120 Mbps (98 Mbps since my Network card is onboard)) I'm paying what I'm supposed to pay...
My ISP gives more than they tell us. We pay for 150 Mb/s and get 250. I think they put the wrong number in just don't tell them
TTNET :D (lütfen taşlamayın)
I pay for 100Mb/s and get around 110Mb/s at peak.
This is by far my favourite Fast As Possible so far. Great script, great presentation and really clear, concise content. Awesome!
Heh I guess my casual conversations are different from yours :p
wow linus, you were so young back in 2013, I love how much this channel has grown, keep it running smoothly, greetings.
Ya he was
Please make a new version, like this
Here's your calculation for internet speed, if the ISP says for example, you have a package which has 25MB/s
you just multiply the number with 1024, so in this case 25 x 1024 = 25.600, then just divide that number with 8.
The answer should be your top speed in this case 25600 / 8 = 3.200, so it would be about 3.2MB/s 'real' download speed.
In many cases the calculation was really accurate.
No, not with 1024, you need to multiply it with 1000.
A big confusion because many OSs like Windows can't (they can, but they don't do it) seperate those units.
1 Byte
1 Kilobyte = 1000 Bytes
1 Kibibyte = 1024 Bytes
1 Megabyte = 1000 Kilobytes = 1000000 Bytes
1 Mebibyte = 1024 Kilobytes = 1048576 Bytes
and so on. E. g. Linux does that. :)
ManicRobot, depends on the standard you use, IEC or JEBEC. As far as i am aware almost everyone use JEBEC whether they know it or not and the industry uses IEC when they want to screw over the customer with that increasingly bigger getting 1000/1024 difference when calculating speeds or storage.
The JEDEC misuse of SI prefixes should never have been sanctioned. SI prefixes long predate the computing industry and their core purpose is for universal standardisation. On that basis, their defilement by JEDEC is a travesty. The only correct choice for prefixes which represent powers of 2 is the IEC set, which is completely unambiguous and perfectly complements the SI prefixes by being a similar universal standard (JEDEC's transgressions notwithstanding).
Computers have used 1024 bytes = 1 kilobyte ever since they were invented, because computers count in binary (powers of 2), not decimal (powers of 10). It is only a few recent versions of Linux and Mac OS that have decided to change it to 1000 bytes = 1 kilobyte.
Oh Brother how you have grown into your frame, I love coming back to these old videos, to see the evolution...good stuff
Actually the amount of bits needed to store a single character depends on the encoding of the text.
ASCII was 7-bit long in its early times, BCD was 6.
UTF-16 uses 16 bits, UTF-32... well that's obvious.
Also, UTF-8 and UTF-16 are of variable width, but that's a longer story.
side note half a byte is a nibble. serusly no joke
And 16 bits or 2 Bytes is a Word.
No, not necessarily. Depends on the architecture.
No 16 bits is *BLAST PROCESSING*
And 1000 Bytes isn't a Kilobyte (KB)!
1000 Bytes = 1Kibibyte (KiB)
1024 Bytes = 1Kilobyte (KB)
;)
1gigabit in an exact conversion is equal to 125MBytes, if you have data in bits just divide it by 8 and you will get the EXACT conversion to megabytes. the reason people use dividing by 10 is because its easy to divide by 10 and its pretty close, enough for an aproximation :)
Already read the trilogy. Burned through them in like 4 days while I was on vacation a couple years ago. So good.
There are 8 bits to a Byte. He said to work out the speed of something (usually given in Megabits/second) in MegaBytes/second, you divide the Megabits speed by 10 to get an approximate MegaBytes speed. His example was 100Mb(its)/s would be roughly 10MB(ytes)/s, when it's closer to 12MB/s. You would only really need to use this to guesstimate how long a file (given in Bytes) would take to transfer at a known speed (given in bits/second). Hope that helped.
I always got confused when it came to bytes and bits, but now I understand better. Probably the most helpful techquickie for enthusiasts yet!
Why doesn't tpg just say 3mbs instead of 24 m bits wtf cares but they say that as misleading advertising because 3 sounds like shit which it is so they say a large number of small scale amounts to sound better. I cant watch a 2k 1440 p without interruptions and buffering. I can only watch 1080p without problems. Ergo its still shit speed in Australia.
It is physically impossible to manufacture RAM in multiples of 1000 bytes. It has to be made in binary multiples. So therefore it makes perfect sense for the prefixes to be binary as well. Otherwise the Commodore 64 would have to be called the "Commodore 65.536"!
"VERY APPROXIMATE!!"
thanks for clearing that up hahaha
Very informative video. You explained it way better than my computer engineering/science teacher in my high school.
I love your videos, thank you for explaining these concepts better than my IT training program!
Dude, these are actually getting better and better.
enjoyed watching it! Now I got an idea of bits and bytes. Thank you!
Depends on how your OS handles inodes and if it uses MBs or MiBs (sometimes it doesn't differentiate the two, and does not state which one it actually uses) to tell filesize
Next video covers this. We were going to do both topics as one video, but it was just going to end up too long...
Just now I get the clarifications about the bits and Bytes thanks for the video TechQuickie Linus
UNIX and its variants (AIX, Solaris, etc.) use 1024 bytes = 1 kilobyte too, not just Windows. It is only recent "politically correct" versions of Linux and Mac OS that have changed to decimal. So the vast majority of operating systems in use in the world use binary.
Awesome vid linus, just helped me finish of my assignment work
Best. Explanation. Ever. GREAT JOB!
Thanks so much! was very helpful in clearing out my confusion
Well not I can stop humiliating myself by complaining to my internet provider. How the fuck was I competent enough to build a PC if I can't even grasp this.
***** Well said :)
Thanks Linus! I was going to do it xD my list of topics I want to cover has been slowly dwindling since Techquickie started lol. Not that I've actually done anything at all. Need Summer to get here... lol
btw the 8086 is the 6 bit proc that all "ibm compatible" procs are based on, thus "x86", and it is a 6bit proc. they came out with the 8088 the next year (it had a math co-processor) that was 8 bit.
Bits === interface speed; Bytes === data storage; answer of the question I had for so long! You are incredibly awesome 😎
Thanks Linus, thanks for making this video so I can tell people to watch it on repeat instead of trying to explain this simple concept over and over again and try to explain to me that I'm wrong to think that a Gigabit connection can't transfer 1000MegaBytes per second and is faster than SSDs but rather it can only transfer 128MegaBytes per second...
Linus. you've come a long way Dude!...well done!
ohw, linus your commercial are awesome even in an educational video!
It depends on what you are using your sound for. If it's just for music, it may sound just fine. Once you start gaming or music recording in pro tools, you need a sound card that has good quality because you will be able to pick up sound you either didnt notice before, or in the case of music editing, pick out bad sounding notes to edit out later.
Excellent Video!
That's why you would divide by 10 instead of 8, as it's an easier number to divide by. It's not accurate, and is only a really rough estimate but it at least gets you roughly in the right ballpark area. Single digit division isn't too difficult, whereas long division (with double or more digits for both sides of the division) can be a little taxing for some. I think he only gave it as a quick and somewhat accurate technique to work out how long a file would take, but most things tell you anyway.
The term "byte" itself is inherently binary -- one byte being a group of 8 binary digits (bits). But the hard drive manufacturers ignored that and started using decimal counting of bytes in order to make their drives seem bigger than they really are -- so a "1 (decimal) terabyte" drive is actually only 930 (binary) gigabytes. Seagate uses the terms "binary gigabytes" and "binary terabytes" on their web site FAQ, but still advertises their drives in decimal capacities.
Already read it, but great suggestion.
THANK YOU linus for this video so I can finally explain this to my friends simply.
Thank you for explaining this confusing issue for us all
I got a 100Mbps Plan by my Internet Provider and he delivers it.... How is that possible you ask, Linus? Well, he is just providing everyone with 10% more than the contract says... 50 get 55, 100 get 110 and 150 will get 165 Mb/s :)
Like your Vids very much.... please keep on :)
Happy to help :)
Thanks for the video!
Great vid man ! Really helped me to understand this doodads.
02:05 Linus channeling his acting skillzzz
Thank you very much for this helpful video
thank you! you remind me a lot of one of my friends(:
Boy, these thumbnails just keep getting better and better!
nice explanation, thx for it!:D
instead of dividing by 10 you could just divide by 8 - 8 bits = 1 byte so that's a 100% accurate conversion (ignoring any inefficiency and whatnot)
Thanks, you've helped me quite a bit;
really nice this answers my question!!!
Thanks dude!
please watch this video at half speed if you wanna have a laugh
oh yeah. lol
+JDRCNetwork i usually do that when im drunk because it gives my brain time to process what hes saying lol
thats hilarious
Or watch it at .75 and it sounds normal lol
Split the binary number into nibbles (add more 0s to the left side if it's not a multiple of four), convert each nibble into denary. Each denary number represents a value, if the nibble is 0-9 then it's 0-9, however if it's 10-15 each number is represented by a letter e.g. A is 10, B is 11 etc. For example 10110111 is represented by B7. Hexadecimal is used to represent colours or IPv6 now we are running out of IP addresses.
Loving the INTRO'S!
This used to confuse me a lot,thanks for clarifying linus.
right on man good job
Giga, Mega, Kilo etc. are standard metric prefixes with an unambiguous meaning: 1000 of the previous order of magnitude. They are used for plenty of other things besides data storage. 1 Gigawatt = 1000 Megawatts, and 1GHz = 1000MHz. The binary orders of magnitude have their own names. 1GiB = 1024MiB.
2:37 - 2:40 needs to be its own video, or even its own website. I can see this coming in handy several times in comment sections.
That's a great idea! Do it Linus!
thanks mr quickie
Linus looked like a nerd, as always :3
Actually, the "byte" originally meant the bandwidth of the CPU. If this rule had been applied properly, the max RAM of the 16-bit PC would have been 320kB, however 640kB sounds better, so now the CPU bandwidth is called a "word". You may like to touch on HDD manufacturers who inflate their numbers by eliminating the computing convention of 1024 and advertising their capacities based on 1000. That is one that really screws with the heads of consumers.
Thank you :D That was helpful!!
thanks for this awsome video
That advertisement segment was totally unexpected lol.
the imperfectness of the background..
Hard drives are advertised with SI units, while Windows gives it to you with binary prefixes. As an example 1 GigaByte is 1,000,000,000 or 10^9 bytes while 1 GibiByte is 1,073,741,824, or 2^20 bytes.
Hard drives use 512 byte sectors, which is half of 1024 bytes. That's why Windows uses 1 K = 1024 bytes, because that way everything counts up evenly (2 sectors = 1 K) and there is no rounding error.
Good time to show up in my recommendations
Can you do a Techquickie about what size Case you want for your desktop computer?
"empire" by Orson Scott Card is mostly read some one besides the author with some small parts read by the auther on the audible version
No, hard drives use 512 byte sectors... 512 x 2 = 1024 bytes... so hard drives are based on binary multiples, too, as well as RAM.
so would ecc be compatible with a normal desktop?
i run mine 24/7 hosting some servers and idk if it would help with random restarts i get every few weeks or so
it would prob be a better idea to get a dedicated server...
The prefixes themselves are not metric. They're just based on Greek words, and are used in different contexts -- for example in electronics, such as kilovolts or megaohms. And the USA doesn't use the metric system in daily life, and even Canada is only partially metric, so that really has nothing to do with it anyway.
2:40
shouldn't you divide by 8 to get more accurate result since the byte contains 8 bits ??
Top this, I'm thinking the same way too
He is a bit fast but if you replay you can understand why. He says 100mb/s divided by 10 because you probably won't get the divided by 8 speed (12,5 MB/s). So it will be likely more the 10MB/s.
OMG LINUS! I don;t know how I managed to find you today and if you are actually hiding all over other UA-cam channels like this one (that are diffrent that yours and NCIX)
There was a time where you tried to be very proffesional and yeah proffesional in general and that felt REALLY DULL and bland to be honest, on your NCIX channel they always try and make you look proffesional but it always feels so fake and out of place, but OMG HERE HERE YOU SHINE LIKE A GOD I MANAGED to laugh so many times today because of the flow you kept in your videos - you are brilliant and I'm honest. Now have a great day ^-^
And that is more correct, but not easy for everyone to do in their head.
The dent on the wall has caught my eye
very nice video.
Thanks Linus
They put you in a school lesson Linus, you are special now
video on fan bearing and different types of fans, high, low pressure, dB level would be cool
People have actually sued hard drive manufacturers for using 1k = 1000 because it misleads them into thinking the drive is bigger than it actually is. And using 1k = 1000 doesn't even make sense, because hard drives are manufactured using 512 byte sectors, and 512 is half of 1024. So with 1k = 1024 everything counts up nice and evenly, while if you use k = 1000 you always end up with rounding errors.
he may have the bB nomenclature wrong, but he has a very valid point, where 1000 gigs is considered a Terabyte and 1000 bytes can be considered a K...Damn marketing versus physical reality of hard drives.
wonder what they use in merica for bits and bytes something like grains and stones.
Trying to learn Solidity and a wild Linus appears... What the hell
Can you do and episode with new vs refurbished, mainly ssd & Mechenical hard drive.
Electronics to a further extent upside down sides and what to avoid
Coming soon.
you should do a video on the difference between ebook and audiobooks too! lol j/k great video.
Metric prefixes (kilo, mega, giga) mean 1000 of the previous order of magnitude, as they do with everything else. The orders of 1024 have their own name, and Windows is the only OS that hasn't fixed their calculation yet in light of the creation of a dedicated set of prefixes for them (the standard is from 1999)
so when are you going to do a tech quickie on architecture?
this is quite cool i really understood it
I suggest Neuromancer by William Gibson (no idea if it's on audible or not). I feel like Linus would like it because it's very tech oriented.
I enjoyed this video and it is useful