Skip to main content


I keep telling myself that I will never break down and add the following to my .bash_aliases file

alias mdkir=mkdir

But it's so, so tempting.

#linux

@isotopp Nope. Just fat fingers. I haven't touched MS-DOS in decades.

@dch On a related note: I can't tell you how many times I've typed the following:

pythong path/to/program

I have NO idea why I do that. It's not like I ever type "thong," but my fingers are hallucinating programming languages.

#Python

I will confess to having the following in my .bash_aliases:

alias :e="vim"

I did a somewhat opposite thing β€” my init.vim has:
cabbr nvim visual
(actually, it has additional logic to only trigger at the start of a command)

@julia That's glorious πŸ˜ƒ

I plead guilty to: cat_dir – replaces cat with ls when you try to cat a directory;

@julia I never understood WHY cat doesn't do just that instead of croaking
@massa @julia I've wondered that myself. It seems like a very sensible behavior, but I assume there would be side-effects I haven't thought of.
Same here, but with alias naon=nano
I write it like that probably some 70% of the times.

@dch

My number one typo is pyhton, for some reason.

what if alias mdkir to rm -rf instead, and see if that breaks the habit?

@luap Close, but what you really want is:

alias emacs=vim

Makes pair programming so much more fun!

:wq

#emacs #vim

alias vi=emacs

Is how I became an emacs user. πŸ™‚

@ovid: most emacsers are at least fluent enough to quit vim (a testament to how ubiquitous vim is rather than how "smart" emacsers are), so that would probably not have the intended effect. However, the inverse would anger quite a few co-workers at my workplace! (C-x C-c doesn't quite have the same ring to it)
@luap
@BryanBennett being ubiquitous isn’t inherently β€œgood”.
@dch My go-to ed/ex/vi command when my gnarly fingers get the letters out of order is "xp", to cut the next char and put it right after. Mnemonic: XP = trans-pose.

i have a script called `gi` that removes the first letter from the first argument and passes args to git

gi tpush => git push

it also leaves a harassing message to myself to type better next time

For (most probably unwelcomed) information, almost same form exist in (very informal) Polish (pytong, base form being pyton). It works as a augmentative, but is also recognized as β€œdick”.

@Curtis "Ovid" Poe (he/him) @:flan_whmage: :flan_q: I also end up typing pythong all the time, I never type thong, what is it about that?

my most common one is dokcer

@l13u7anant
alias emacs=wine notepad.exe ?

@luap @l13u7anant

Reminds me of years ago when a new developer (switching from C++ to #Perl) joined a team I was on. We asked him if he preferred #emacs or #vim. He replied, "nano."

He didn't last long.

If you would make me switch from C++ to Perl, I wouldn't have lasted long either :-)

(Generally, these programming languages are used for very different problems to solve. So switching from one to the other - if the problem space stays identical - really sounds weird)

Oh and yes, I got the Nano thing :-)

This entry was edited (6 months ago)
@holgerschurig @luap @l13u7anant Problem space wasn't identical. He needed a new job and our work was very interesting to him. If you read in the news that a particular movie made X millions of dollars over the weekend, it used to be that software I worked on gave that number. Not sure if it's still there, though.
@holgerschurig @luap @l13u7anant Though I recall a time at the BBC where they concluded an unmaintainable Perl monolith was too slow and spent years rewriting it in C++. They not only created a new, unmaintainable monolith, but it was also too slow. Turns out no one profiled the original software to find out the real reasons it was slow.

reshared this

@holgerschurig @luap @l13u7anant Elsewhere β€œwe” concluded Perl was too slow, started a 5(?) year re-write in Golang, went bankrupt. Profiling showed we had lots of opportunities for Perl improvement, but the total memory footprint was quite a problem that Golang appeared to solve. And Golang run speed was stunning.
⇧