Email or username:

Password:

Forgot your password?
Top-level
Hector Martin

This post brought to you by gdb and grep -a, because after typing all that out as a quote toot and deciding that nah, I wanted it standalone, I clicked the "x" next to the quote box (which implies removing the quote association) and that didn't just cancel the quote, it deleted all the text.

So I attached gdb to the Firefox content process hosting this tab, took a core dump, and grepped it for the lost text. I wasn't about to write all that again from scratch.

cc @ariadne.

15 comments
Graham Spookyland🎃/Polynomial

@marcan oooooooooooh, I'm 100% using Cheat Engine for this next time I accidentally hit a close button like that

Ariadne Conill 🐰

@marcan we can probably change it to do something more intuitive. right now clicking the X on a reply or a quote just resets the model entirely, as you discovered. problem is that upstream probably won’t accept it 🙃

miunau

@marcan there seems to be a pretty hard compressor on the mac mini, stuff like notifications etc. have a very noticeable transient and sometimes are quite painful to hear. haven't really seen anyone talk about it

gudenau

@marcan That's a cool hack. Honestly this is the biggest issue I have with handling passwords, terrified I'll leave them in memory somewhere.

John Siracusa

@marcan @ariadne There was an app for classic Mac OS that would rummage through all RAM looking for a string of your choice. I once used it to rescue a long, unsaved text document. Perhaps the only time I was thankful for the lack of memory protection.

Someone tell me to get up

@marcan @ariadne there's an addon called Form History Control (III) that I use ever since I lost an entire page of writing to a network failure. So now I mostly don't worry about losing my writing in Firefox

snowyfox

Screenshot of terminal showing composition text iintact within a pond of undisplayable bytes, and another string is nearby.

J.V.B.

@marcan They should change it so it supports ctrl z like most web text boxes

Gabriel Pettier

@marcan @ariadne ah, it's a bit less blunt that what i did years ago, when facebook lost one of my posts in a network error, and i dumped /proc/kcore to grep it inside and not retype it. Thanks for the tip.

Go Up