Sunshine (she/her)@piefed.ca to Fediverse memes@feddit.ukEnglish · 2 days agoI Cant Count The TImes I Did Thismedia.piefed.caexternal-linkmessage-square32fedilinkarrow-up1189arrow-down14
arrow-up1185arrow-down1external-linkI Cant Count The TImes I Did Thismedia.piefed.caSunshine (she/her)@piefed.ca to Fediverse memes@feddit.ukEnglish · 2 days agomessage-square32fedilink
minus-squareGladaed@feddit.orglinkfedilinkEnglisharrow-up14arrow-down1·2 days agoJust save the changes, ffs. We got tools for this.
minus-squareGladaed@feddit.orglinkfedilinkEnglisharrow-up1·22 hours agoYes. But it is not an exponential growth if you only save the changes instead of the whole message oveg and over again.
minus-squareNaibofTabr@infosec.publinkfedilinkEnglisharrow-up1·21 hours agoRight, but saving an edit history of every change to every comment is a geometric increase over just saving the edit to the original comment.
minus-squareGladaed@feddit.orglinkfedilinkEnglisharrow-up1·20 hours agoIt only increases cost by the amount of data that was changed. That’s usually not a lot.
minus-squarepiccolo@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 days agogit commit --amend -m “spellcheck”
Just save the changes, ffs. We got tools for this.
save them… to the database?
Yes. But it is not an exponential growth if you only save the changes instead of the whole message oveg and over again.
Right, but saving an edit history of every change to every comment is a geometric increase over just saving the edit to the original comment.
It only increases cost by the amount of data that was changed. That’s usually not a lot.
git commit --amend -m “spellcheck”
Don’t amend!