Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Confession. This vaguely reminded me of something (now admittedly, terrible) I did way back in highschool to give myself a bit more time on an assignment: submit a corrupted docx by putting in some random bytes in the file.

This would give you time until the teacher would get to grading (and opening) the file at which point you’d hopefully have finished.

Learning not to procrastinate as much turned out to be the better life skill.



LOL this was a common thing in high school for me but one teacher was more technically literate than we gave him credit for and in class (with overhead projectors LOL) called the student out in front of the whole class and had printouts of the hex where he had fucked with it and gave him a 0. I don't think you could drag a kid publicly that way today, some parent would get the administration up your ass.


Back in high school in ye olden days of 2003, the trick was to put a powerful magnet on your floppy disk prior to turning in the assignment. Floppy disk failures weren’t too uncommon, so it was hard to prove intent.

Frankly I’m amazed computers were trusted by anybody back then. Imagine if iCloud randomly corrupted 1 in 100 photos.


Seriously, the magic of error correction is hardly appreciated or noted by younger hackers these days.

I had one important project (I don‘t remember anymore which one it was), so I put it on THREE 3,5‘‘ disks, one after each other.

All three were unreadable by the time I arrived. I was devastated.

(note I had heard stories about rotating current brakes ruining disks so I took care not to go by rail, must have been something else)


Not exactly the same story, but there was this one time when I was working on a long document, several days work, on an Amstrad PPC 640 (this was the early 90s). Saving the file on a floppy took around 1 minute I think (maybe more) so I didn't do it often and had no copy or backup of any kind.

It was around midnight, I was done and hit save. I had an external monitor, and for no particular reason, decided to move it around during the save. It was big and heavy, and while moving it I accidentally hit the power switch of the PC.

Powering off the machine during disk write destroyed everything. I couldn't believe it, I stared at the machine for a while.

Then I spent the rest of the night recreating the document from memory, while making frequent copies on different disks.

It was a horrible moment that I remember vividly, but it taught me a valuable lesson. I never again lost any file for lack of appropriate backup.


Either the drive you wrote the disks on, or the drive you used to read them, were misaligned.

Putting the disks back in the original drive and they probably would have been readable.


And they computers don't have a sense of humor.


To be honest if iCloud corrupted 1% of my photos I’m not sure I would notice.

1.44 MB pretty much fits in my head.

But “infinite” storage over 15 years now? How would I even audit that?


> 1.44 MB pretty much fits in my head.

That the size of a zipped plain text bible.

There are some people that knows the bible by heart, and I suppose if you work with it a lot, you have a general idea of the order of all things, and what's going on in each part without having to know the exact words. Like an essay you've been working on for months.

So seems about right.

Maybe it's time for a new metric: 1 floppy is what you can hold. More is too much.


More like what you can hold as a single entity in your head. The sum of your knowledge is vastly more than that.


Yes.

I can memorize so many docs and API, but there is a threshold for a project size above which I cannot hold the entire code base in my head.


You'd be surprised how much data "cloud" services lose or intentionally delete every year.


That man believed in teaching more than what was in the textbook. Kudos for the lesson in integrity.


how could he be sure the kid did it though, seems like he should have better proof than the file was screwed up.


The hex was clearly corrupted manually, something had been typed there. I don't think it was just the word "fuck" but I think the word "fuck" was in it. Was decades ago.


Ah, it was only "hjfsagufsaiugasfigsaigsg78wafg7fas fuck you teacher! fhadiuofashofhsaibsaiu" Notepad corruption? Huh, that's a fun one! /s But seriously, I'm impressed by that teacher.


What could parent complain about? I'm lost.


There are ways to corrupt a file without messing with the hex content of the file


No there isn't. It is a fundamental property of CS that all bitstrings with the same bits are equivalent for computing.

So if file 1 is a bitstring, you don't modify the bits to produce file 2, then file 2 has the same bitstring and will be processed the same as file 1.


Not the parent and not sure what s/he meant, but one could imagine software that borks when there are invalid (but nonobvious) characters in the filename, for example. Or file permissions or other extended filesystem attributes / resource forks if somehow you can get them delivered to the teacher that way.


The files are also often delivered via USB Stick which are usually formatted with a filesystem without bitrot detection. That would be indistinguishable from someone manually screwing with the file too.

You can never be certain wherever the damage was caused by bitrot or a person screwing with the file, but certain patterns are very unlikely to occur naturally so a reasonable guess is at least somewhat possible


My whole form of copy protection on AIR apps through about 2013 was basically to have the login system side-load another SWF once the user logged in - but the SWF's bytecode would be tweaked and corrupted in a way that required a valid response to the login to de-corrupt on the client side before it could be executed. Probably just the fact that you would've had to decompile the side-loader was enough to prevent it from being stolen.


Hey, I had a similar copy protection scheme for binaries during the 90s :)


Hah. It's pretty awesome to hear that from a Firefox dev. I look back at it and wonder... what was the point? I think I was just having fun. I even went as far as having two "patches", where the first one made the software work but without the second one, it would send your VM and browser into a death loop after about 30 seconds. It was just the right amount of time to cause an SWF decompiler on Windows to crash the whole system. Anyone who wanted it badly enough would have gotten it, and I doubt anyone ever put in the effort to hit that spiral, so I must have just been entertaining myself ;)


Based on OP comment about showing the hex to the clas, my bet is the perp opened the file in notepad, jammed on the keyboard (ascii characters) or worse yet, typed a message proceeding or following the content (depending on the format), making it very obvious that it was an intentionally introduced error.


You could just do what I did instead. To make it less evident that it was tempered with, I'd copy a random chunk of the original file and insert it a few times with random offsets.


Another way: corrupt the formatting such that the file doesn’t show anything. Think the equivalent of adding a CSS property like body {margin-left: -10000px}. File would be perfectly valid but display as blank.


That's not too useful when plenty of students just send in a plain blank document. Corrupting it in one way that looks like a -different- way of slacking isn't so useful.


Why not send a blank file then? The point is that you want the editor to error and fail to read so they can’t tell that you didn’t do the work.


Because a blank file will have a tiny file size and will look like... a blank file. You want it to look like something went wrong such that the file couldn't be opened, but that it would have content if you could.


I'd bet that for the average tech illiterate teacher that's used to lazy students, it would be more work to explain how it could possibly NOT be the student's fault if they got an empty(looking) docx.


Mr. McGuire : I just want to say one word to you. Just one word.

Benjamin : Yes, sir.

Mr. McGuire : Are you listening?

Benjamin : Yes, I am.

Mr. McGuire : Metadata.

(also see https://en.wikipedia.org/wiki/Resource_fork)

"The Windows NT NTFS can support forks (and so can be a file server for Mac files), the native feature providing that support is called an alternate data stream."


you could just truncate it at page (4k multiple) boundary. very hrad to prove intent


One of my college compsci professor didn't know anything about manipulating SMTP headers or manually crafting email messages. Couldn't abuse it too much, but could certainly turn in an assignment 8-12 hours late... because the timestamps would be before the cutoff. Any questions were allayed with "oh, you know email. Strange things happens, delays and all that".

We weren't even sending email on a public server, we were just using email on the local compsci server. Checking our messages with pine/alpine. The excuses didn't make any sense... but....


> Any questions were allayed with "oh, you know email. Strange things happens, delays and all that".

The funny thing is, on the real internet with SMTP (so, not in your case but commonly), that's actually true; I once worked at a company that sent a massive amount of email to customers with our own postfix clusters, and it turns out things like "MX was down for a few hours" or "customer's email system rate limited us" - or rarely even "our servers are overloaded and trickling mail out" - are real things and sometimes emails do get held up for hours or days.


dunno the back-story, but I've had some "valid for 5 minutes" password reset emails that would arrive expired (after 6 minutes+). And it didn't seem like the kind of company to do shenanigans, just technical voodoo.


Public SMTP server issues reminds of the classic 500 Mile Email: https://www.ibiblio.org/harris/500milemail.html


Nitpickingly, while some SMTP (reicpients list) duplicated that in the email message, SMTP doesn't care about timestamps. It's the MIME stamp that can be messed with.

Most servers add a "Received" line to the MIME contents with some SMTP info, and you can't fool the timestamp inside that.


As a kid I did manage to send emails in other people's names but I never really used it for anything serious.


Wow, I totally forgot about doing this. It was a great trick in a pinch. Dropbox offered me a much better solution to do the same thing in college, which was to submit my assignment on time, via a Dropbox link in email, but to a blank word file. It always gave me several hours to finish my papers.

Now, I'm on the other side of it. My spouse is a teacher and I get to see the base tactics that some students try to pull off and the hair-pulling toll that hundreds of these paper cuts inflict on teachers when they have to chase down students.


My memory of what happens when they are caught is that that “<something something>, stress, grandma, sick, boyfriend/girlfriend, dog, car, flatmate <something something>, I’ve learned a lesson, please let my attempt at cheating slide.”

Faculty gives compassionate consideration and everyone moves on. Used to infuriate me.


When I worked retail at a big box store in college, the operations manager kept a spreadsheet tally of the death, disease and mishap that afflicted store employees.

After Christmas at the annual party he announced the total death toll (it was like 80 people and 50 pets for a staff of 120), and presented the person with the most fake death a funeral basket of flowers and summer sausage.


The payoff here (looking like a giant asshole) doesn't seem worth the risk (publically humiliating someone who had the worst year of their life and lost a ton of family and friends)


It was a joke. Nothing was injured other than the brain cells killed by binge drinking.

The guy was notorious, the dude didn’t realize that managers spoke to each other. His poor grandmother “died” about 8 times, just in one year.


One way to solve it is to say the final grade for the year will exclude your worst 3 assignments.

Then any technical issues just get awarded a zero, but it doesn't matter because 'it won't affect your grade anyway'.


That totally won't be abused.


How would you abuse that? Choose to drop 3 results, that's your choice. Then get an emergency and have to forgo a forth. Well, that truly is your own fault since you chose to drop the first 3.


But when dad calls up the administration and reminds them of how much he's paying for the course, little Karen gets allowed to have that '3' number increased to 6...


Or in years like 2020-2021 where some people have actually lost more than 3 family members / close friends.


There was a 90s era Saturday Night Live commercial for "Jiffy Express" that made your late packages look sent on time.

https://youtu.be/e134NoLyTug


There’s a machine called a postage machine which will print stamps on envelopes so you don’t need to run to buy stamps all the time. My dad had one at his law office that you could change the date to and the date printed on the stamp, and in doing so you could essentially post-date mail like it was mailed at an earlier date. If we ever missed deadlines or needed an extra day to work on a project it could have been an indispensable tool, but I bet that would count as some sort of mail fraud so of course we never did that…


This reminds me of an unrelated but interesting story an old Art teacher told.

She spoke of someone else submitting three pieces of artwork for a job or college app, but the person only included two pieces of art in the envelope. A letter was also included, which suggested the third piece was on the outside of the envelope. On the outside was a stamp, which was hand-made but good enough to get the package delivered.

As I think about it today, I doubt that would get you a job or access to college, but it’s an interesting story. And, it was impressionable enough that I’m recalling it 30 years later.


I recall a counterfeit artist with a "similar" story - he meticulously forged currency and claimed the fact that it was passable as the real thing proved its value as being at /least/ as much as the value of the bill it represented, and therefore was not, in fact, counterfeit money but was an art trade. I don't think the feds agreed.

Edit - i believe I'm thinking of J. S. G. Boggs - https://en.wikipedia.org/wiki/J._S._G._Boggs He didn't actually try to pass his bills as money, they had clear indicators that they weren't real (like being one-sided), and he'd trade them for the equivalent amount in goods and services as a performance art.


Do envelopes that were printed with a postage meter not get postmarked? My impression is that the stamp the postage meter puts on is just proof of payment (ie. instead of a stamp), but at the sorting facility they still apply a postmark which has the real date it arrived at the facility.


generally no; only mail with stamps on it will end up with a postmark cancellation most of the time.


It’s only fraud if you get caught.


This gave me a good laugh. Why does it seem actually viable.


In college most profs were aware of this and explicitly stated that malformed files would be graded either as a 0 or under whatever late policy they had.


There isn’t a great excuse for it anymore, as Canvas (or your favorite other LMS) has a big button pre and post submit that will show your document as it appears for the teacher.


Well then just blame Canvas. Blame anything but yourself!


Canvas will not preview contents in zip archives or formats like ipynb.


Obviously at this point you’d explain quantum bit flips and point out how absurd their policy is. :)


My solar flare ate my homework.


“Obviously the universe doesn’t want you to pass my class” - professor


I'd be curious to know what the natural rate of docx corruption is, and what the sources are. What are the odds of cosmic rays flipping a meaningful bit right as the docx is written to disk but not before, and in a way that doesn't cause a crash? What are the actual error modes with both spinning and solid state disks, across a variety of filesystem types and usage patterns? Is the damage normally like one bit, or a would it normally flip a few in some (physically) localized region?

(It's just not something I think about very often, and only now do I realize how useless my knowledge is! I could speculate based on the flux of high-energy particles and the layout and energies involved in various storage media. I would expect the energies on non-volatile storage to be much higher than volatile storage, and so for bit flips to be rare. I would expect flips to be singular, and not come in groups - but if they did it would be temporal, not spatial - something like a solar flare. The interesting flips would be the least likely ones, where the serialization code is running. The threat-model here is the relatively large memory region consisting of the union of something like [cpu, kernel, jvm, thread, bytecode]. That's quite a surface area, and while it's fun to speculate about what a bit flip could do at various interesting points, but I assume for simplicity they all just crash your code. (I wonder how often random bit flips are why restarting software is unreasonably effective at fixing problems - or is it just an epidemic of thoughtless race conditions as I've always assumed?)


I've found the hard way that emailing a saved presentation that's still open in power point has a failure rate of 100%. No idea why.

(I. E. hit save, create email , attach the file, does not work. Must close PowerPoint first).

I imagine other usability issues exist which are similarly much more frequent than cosmic rays.


Conferences are aware of it too! At least one major conference requires you to either upload your documents at the deadline, or a cryptographic hash of your documents, which can be submitted up to a week later. That way, they mitigate the load from the thundering herd of last minute submissions, and thereby avoid the inevitable excuse that the submission server died or that the internet was too clogged to upload their gargantuan video figure by the deadline.


You weren’t the only one! My email client in high school also had a terrible tendency to “corrupt” words docs. It was a good way to buy a few days extension.


I did a similar thing and handed in a bogus file to buy me some more time to actually finish the assignment … but then I got an A from the teacher, turns out she didn’t look at it at all!


Oh yeah, I used to do that quite a lot. At first, just a docx file of random jumbled characters was enough, as everyone was used to compatibility issues around the Office 2003 -> 2007 migration. After everyone moved on to 2007, corrupting the file and saying "I did it on a Mac" was a common excuse, since everyone knew the Mac version of Office was kind of trash. I figured out a way to get Office to give you the "corrupted file, attempting repair" dialog and have it actually succeed, but then the contents was just random unicode with a couple sentences from Wikipedia in between, so it looked like there was something there, but the auto repair couldn't quite recover it.

Teaching others to do this, even classmates teachers knew I wasn't friends with, meant that there wasn't a pattern for them to see and so they never suspected we were faking it. They just assumed "it's just a thing that happens sometimes".


On the other side of avoiding it, I started college using OpenOffice, which worked fine until one day I got queried from a professor about why I had opted to go with a 5 column layout for the assignment submission when he opened it in MS Office for Mac. The content was all there, so it clearly wasn't a case of "Oops, corrupted, let's resubmit after the date".

The doc in OpenOffice that I had made had the most basic formatting, just headings, a table of contents, paragraphs and the required double line spacing. Certainly no columns of any kind.

After that I switched to PDF submissions for every module where they would be accepted.


That is brilliant. Especially the part where you teach this to others.

I can't help but wonder, how much more time did you spent on all of this, since you would presumably still need to do the assignment?


Not too much, especially after the first few times. And I had the bad habit (still sort of do) of spending far more time avoiding things that I found boring than it would take to actually do them.

And yes, I did have to do it eventually, but this helped stretch the deadline by a week or so, which is quite nice when you get like 4 assignments dumped on you in the same month (because god forbid the teachers work together and make us an evenly-loaded schedule).


One of my bosses did this to a VP of a telecom company early in my career. Answered several questions in an email and then said “and I’ve attached the graphic.”

Did not actually attach the graphic, knowing that the message wouldn’t be checked until EOD.

Sent the completed version the next morning with a “whoops”.


A few students tried that on me but I just used the strings command to see if there is actually any text inside or just looked at the file size. Game on


Our trick was zipping the file and renaming it to have the original file extension again. You get some plausible deniability this way (which we ended up never needing to invoke)


As someone who has worked long hours to finish difficult homework assignments during my student years, it really annoys me when I get blank submissions corrupted by sites like corruptmyfile.com. Recently, a few colleagues have started grading such files with a zero and will report it to student affairs if the corruption process is extremely obvious.


In the future this will be more difficult: Is this not signed with your private key at exactly 23:59 Feb 5 parhamn? Are you claiming inconsistency of the system? You’re of the hook when you can prove that.

No doubt the kids will find a way, they have practically infinite time.


For me it was "corrupted floppy disc".


With a magnet.


If you can submit a docx file why not embed an image with an external URL?


At the expense of the teacher/prof thinking you're a Luddite who typed up their assignment, took a screenshot, and posted that in a new document.


Glad to learn I wasn't the only one. When it comes to solving issues resulting from my procrastination, my ingenuity knows no bounds.


Same, but with a zip.

Well, technically, docx are zip, but they didn't exist back then.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: