This gist provides an overview of vector (in the form of lists) ranking in Python. Ties are resolved using averages of the ranks for the tied numbers.
I translated this solution to Python from C++ by studying René Richter's StackOverflow answer.
This gist provides an overview of vector (in the form of lists) ranking in Python. Ties are resolved using averages of the ranks for the tied numbers.
I translated this solution to Python from C++ by studying René Richter's StackOverflow answer.
I prefer macOS keyboard shortcuts. I work on macOS by day and have a PC by night (WSL2 for dev), and I like homogeny.
To have a uniform development experience across multiple operating systems, I used PowerToys to create an extensive keyboard remapping of macOS shortcuts to Windows.
Briefly, the Left Alt
⎇ key is remapped to match the Left Cmd
⌘ key, and the Left Windows
⊞ key is remapped to match the Left Option
⌥ key. The Left Windows
⊞ key was accordingly relocated to the original Left Ctrl
^ key position. After this, several dozen shortcut mappings were added.