Why Files Become Bigger in Emails - Computerphile

preview_player
Показать описание
To send binary files via a text based system, they'll need encoding. Dr Steve Bagley takes us through the attachment system used in email.

name change, formerly "Why Attachments are Larger in Emails"


This video was filmed and edited by Sean Riley.


Рекомендации по теме
Комментарии
Автор

I've always wondered what were those equal signs at the end of a base64 encoded string :)

jeromesnail
Автор

Haha I experienced this exact problem many years ago when attaching a 20 MB file, clearly within the limits of Gmail's 25 MB limit, and it kept getting rejected. Fast-forward hours of debugging, sending myself test e-mails, and analyzing headers... I discovered how grossly antiquated e-mail systems are, even to this day.

deeef
Автор

Yeah, I remember using uuencode/decode for some things in emails and newsgroups in my university years in the 90's. The Unix email programs did not separate between main text and attachments, so the uuencoded part usually was just seen after the end of the natural language part as a large block of random-looking characters of equal line length :)

pev_
Автор

I learned how to encode emails last week so that I could write a program to make it easier to attach files when sending emails from our server :D It was so satisfying to send a pdf and have it come out right.

ZedaZ
Автор

Engineer - use email for text, ftp for files. User - I will put my cat videos in email thank you!

pasan.
Автор

I love these videos. Watch for one thing and accidentally learn how the Base 64 algorithm works. Used it for nearly 15 years, but never bothered to look into the algorithm under the hood. Summed up in an easy to understand explanation in seconds in this video!

martinbean
Автор

I could really have used this video some 30 or so years ago! I still really enjoyed it :)

EddyGurge
Автор

This is a real conundrum. I've generated email attachments programmatically recently enough that I'm not sure I need this trip down memory lane... oh, who am I kidding? [presses play].

AlanCanon
Автор

Base64 encoding is 4/3 times (33%) larger. It bothers me that they wouldn't just say you can have attachments up to 20Mb in size but really allow 27Mb (or say you can have 25Mb and allow 34Mb).

Tiddle_s
Автор

I use Base64 a lot in my daily job, but never cared to find out the details about it, or where it came from. Another nice video - thanks a lot.

orlovsskibet
Автор

I used base64 back in 1989, and I still use it everyday in my job today to push binary via JSON or XML.

idjles
Автор

I wish emails would go back to being 78 characters. I'd get a lot more work done if I didn't have to read so much junk.

iammaxhailme
Автор

You need to talk about the matter transport mime type. Also, you have to worry about the email going through some really bizarre re-encodings. Sometimes, for example, email would go through a system that used one of the variants of EBCDIC. And you went on to mention that. 🙂

Omnifarious
Автор

So sum up a 18 min video in 2 words: it's base64

MaxDiscere
Автор

Then how does Unicode work if mail only supports 7 bit ASCII? Same way? Encoding the UTF16 into Base64 and send the entire message as attachment?

willemvdk
Автор

Could you do a video about the time when napster was used to share software by encoding files into mp3

banananaa
Автор

"don't make eye contact, don't make eye contact ..." 😆

_ingoknito
Автор

5:39 it really looks like he is reading the binary from a sheet in his lap

An.Individual
Автор

Phillip Seymour Hoffman still alive and even younger i see!

BasedPeter
Автор

Cool, I did not know about the = at the end, but I never cared to look either:) Thanks

olivier