Accidentally defined a keyboard macro in Emacs? There's a macro ring, so you can get your previous macro back with kmacro-delete-ring-head!
miniblog.
Related Posts
One underrated feature of Go and Julia: methods are defined without extra indentation. In e.g. Java they're inside the the class at the next indentation level.
Methods are so common and indentation is a finite resource. "Top level method" syntax is surprising at first though.
Codeforces is a huge website with a wealth of well-defined programming problems: https://codeforces.com/help#q1
(Useful for program synthesis and other situations where you want a large problem set to play with.)
Normally I don't like segfaults: they usually mean something low in the stack is broken and it'll be a pain to debug.
Writing assembly, segfaults are a good thing! They're a well-defined error state, whilst there are a whole range of messy failure states that are worse.
