Perhyte@lemmy.worldtoProgrammer Humor@lemmy.ml•Python is great, but stuff like this just drives me up the wallEnglish
1·
5 months agoAnd MATLAB appears to produce 51, wtf idk
The numeric value of the ‘1’ character (the ASCII code / Unicode code point representing the digit) is 49. Add 2 to it and you get 51.
C (and several related languages) will do the same if you evaluate '1' + 2
.
For future reference: the command to kill the tmux daemon (and as a side-effect, all other running tmux processes connected to it) is
tmux kill-server
(or in tmux, typing <prefix>:kill-server
, assuming default keybindings).