3 ms·
Anyone who says that young people are better with computers these days needs to keep this paragraph on file. I can’t really blame the college board for this ki
by Spivak 7y ago
Anyone who says that young people are better with computers these days needs to keep this paragraph on file.
I can’t really blame the college board for this kind of mistake. Like would he assume that taking a .docx and renaming it to .pdf converts it?
- 7786655 7y agoOn the other hand, I think there's an argument to be made software should ignore file extensions whenever possible. Is really that hard for the backend to check if the file starts with "\xFF\xD8\xFF\xE0\0\x10JFIF\0\1" or "\x89PNG\r\n\x1A\n"? That would have caught this problem.
- stefan_ 7y agoYes, just hardcode what is hopefully the magic bytes for the formats we expect, what could possibly go wrong /s The biggest joke here is that this wouldn't have helped the students either. I don't think any of them will pass the "there is a minute left on the timer and the website tells you your picture isn't JPEG or PNG" challenge.
- 7786655 7y agoI did some more research and it looks like I got the one for JPEG wrong, so maybe you have a point.