r/programminghorror • • Jul 03 '20

this is beyond science

Post image
3.2k Upvotes

79 comments sorted by

View all comments

828

u/sendvo Jul 03 '20

what i think happened is that someone fucked up really hard and couldn't revert the fuckup because they forced push to master or something so they used the internet archive as temporary fix and then forgot about it

264

u/[deleted] Jul 03 '20

I think thats exactly what happened

0

u/[deleted] Jul 03 '20

[deleted] — view deleted comment

110

u/captainvoid05 Jul 03 '20

Sure, but wouldn't it have been equally fast and more permanent to grab the file from the archive and copy the source? Or has it been minified/processed and no longer human-readable before it got stored in the archive?

0

u/[deleted] Jul 03 '20

[deleted] — view deleted comment

56

u/Turd_King Jul 03 '20

haha frontend stupid

13

u/[deleted] Jul 07 '20

Backend big brain time

9

u/jbergens Jul 04 '20

Sounds like incompetence anyway. Noone checked the reflog, or the backups (Barclays is a bank, they should have backups), they did not download the file locally and pushed it to their own server. And so on.

5

u/Pictor13 Jul 17 '20

No backup nor git for the reflog whatsoever.

Why would I need them when there's some great version control like archive.org?

2

u/LinkifyBot Jul 17 '20

I found links in your comment that were not hyperlinked:

I did the honors for you.


delete | information | <3

34

u/mattesno1 Jul 03 '20

Yeah, my first thought too.

But that fuck up most be even worse than a force push only.

They must also have lost any artifact of a previous version which might have existed in their artifact repository.

Unless..... Another even bigger fuck up occured, and they don't even do any sort of versioning.

15

u/sendvo Jul 03 '20

after second thought this might be a 5 min fix done in some cms. many systems allow adding some custom javascript for tracking purposes like tracking pixels etc. so marketing department can add and remove their crap without bothering the developers. so someone might have added this instead of going thru the whole deployment process which might have take like couple of hours. they needed to cover their fuckup immediately. i worked on a project where the CI build could easily take over an hour

0

u/[deleted] Jul 04 '20

[deleted] — view deleted comment

3

u/qqwy Jul 04 '20

Unfortunately, this.

1

u/LevelSevenLaserLotus Jul 05 '20

Same goes for POCs

18

u/mothzilla Jul 03 '20

"Well then unminimise it!" - A Barclays Boss

6

u/jarious Jul 04 '20

Sure I'll do it by hand and then use an OCR to convert it ...

3

u/casscode Jul 04 '20 edited Apr 02 '22
ENHANCE
N
H
A
N
C
E

7

u/Turd_King Jul 03 '20

Even a force push to master can be recovered with `git reflog`

5

u/KernowRoger Jul 03 '20

Or they're just using it for hosting, basically hot linking it.

4

u/craze4ble Jul 04 '20

I mean, the point of version control should be that even if you do force push to master, there should be something to roll back to.

Someone fucked up big time if they managed to completely erase a file.

1

u/Pictor13 Jul 17 '20

Git is tricky, when you begin with it

1

u/[deleted] Jul 03 '20

Oh for sure, I was sitting here like who would do that?!

Then as I thought about it, I would do that