3 ms·
I used this One Weird Trick years ago to try to recover a heavily edited but unsaved source file from a frozen text editor (emacs?) on an old SunOS system. I th
by andyjohnson0 3y ago
I used this One Weird Trick years ago to try to recover a heavily edited but unsaved source file from a frozen text editor (emacs?) on an old SunOS system. I thought I was pretty clever until I realised that the text wasn't stored in a contiguous buffer and I had to spend ages rearranging the out-of-order blocks in the strings output. I suspect now that it might have been quicker to just re-type the original file, but I was stubborn back then.
- huehehue 3y agoBefore I knew better, I would live edit code directly on the application server. I had a similar crash, deleting all of the files I had opened at the time, and had to rush to recreate those files to get the service back up. It was a low-stakes scenario, but...now I know better.