Funny, but unironically a pretty good idea.
Programmer Humor
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
One of my first computer jobs was working in a student computer lab at my undergraduate university. This was back in the mid 90s-ish.
We had three types of computers - windows machines running 3.1 or whatever was current then, Macs who would all do a Wild Eep together when they rebooted en masse, and Sun X Windows dumb terminals that were basically just (obviously) unix machines for all intents and purposes. This was back when there were basically like 5 websites total, and people still hadn’t heard of Mosaic.
So everyone wanted the windows and Mac boxes, and only took the xterms when there was nothing else open. I was the primary support person for them since none of the other people wanted to learn Unix and I was the only CS major.
The X boxes suffered from two main learning hurdles. One was that backspaces were incorrectly mapped into some escape key sequence, and the other is that it would drop you from (I think) pine into emacs as a mail editor as soon as you hit it. 90% of my time was telling people how to exit emacs. It was that, putting more paper into the printers, and teaching myself more programming than I was learning in classes.
My god that brought back memories. The first commands when sitting at a new terminal was always, always:
stty sane
stty erase '^H'
It was well into the 2000s before Unix had useable defaults.
God, I remember the backspace thing. I hope whoever allowed a computer to be shipped in that condition got fired.
If anyone needs the command: :q!
If you want the computer to ask if you're sure: :q
If you want to save: :wq
:wq
will write even if you didn't change anything; :x
won't. (similar to :w
vs :up
)
You’re nullifying that safety measure by doing this you know
Some people just want to see the world burning
It's the opposite of nerd sniping.
nano crew where you at
I like nano because it has worked any time I needed it. I don't dislike nano because I'm not good enough at Linux to have ever run into its limitations
Proudly, first thing I install on Termux.
hopefully switching to micro
I made that switch a few months ago just so I could cut, copy and paste without having to lookup how to do it. it's been great.
Why would I want to exit vim?
I tmux my vim session so I never have to exit it, I just end the session and NOTHING OF NOTE HAPPENS
It is much easier not to
It's very easy to terminate vim. I just use the power button.
Uh... so u guys don't change the PC each time that's cool I would definitely try that ...
Tricky question, but I think I have a solution:
:!readlink /proc/$PPID/fd/* | grep "$(dirname %)/.$(basename %).sw" | xargs -I{} rm "{}" ; kill -9 $PPID
Technically correct
Great idea for when you start in IT! Always had trouble first year in my apprenticeship when i had accidentally opened vim. Ask for first time and after 2 months not used.
Did someone already open a pull request?
I don't mean to be all "BuT iT's cLOseD SoURce" but you should give Logseq or Zettlr a try. They're similar WYSIWYG markdown editors, but also FOSS. Zettlr also has vim keys.
Plus Obsidian is horrible at editing tables.
Coming here to recommend Joplin, been using it for years and it's a great note app, markdown + external editing supported, open source, CLI & GUI clients, encrypted... Does everything right!