News for hackers. Stuff that matters.
Re:Heard of Idempotency but unsure what it is? by phoe-krk on Monday June 10, 2024 @05:51PM (#40639591)
Idempotency: the ability to be able to hit Ctrl+C several times in a row, just to be sure.
Re:Heard of Idempotency but unsure what it is? by erik_seaberg on Monday June 10, 2024 @07:28PM (#40640512)
Oddly, C-g in Emacs isn't idempotent when it's hung or doing something slow.

https://www.gnu.org/software/emacs/manual/html_node/emacs/Em...

Re:Heard of Idempotency but unsure what it is? by o11c on Monday June 10, 2024 @07:59PM (#40640729)
A more subtle case is that C-d (EOF for anyone except DOS) is widely not idempotent. Depending on the exact programs involved, it changes after pressing it about 10 times.