this post was submitted on 25 Oct 2023
90 points (98.9% liked)

Programmer Humor

36876 readers
108 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

I'm trying out Obsidian for taking notes, and this made me laugh.

top 50 comments
sorted by: hot top controversial new old
[–] amio@kbin.social 22 points 2 years ago (1 children)

Funny, but unironically a pretty good idea.

[–] SatanicNotMessianic@lemmy.ml 3 points 2 years ago (3 children)

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.

[–] modeler@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

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.

[–] lolcatnip@reddthat.com 1 points 2 years ago

God, I remember the backspace thing. I hope whoever allowed a computer to be shipped in that condition got fired.

[–] psud@aussie.zone 6 points 2 years ago (2 children)

If anyone needs the command: :q!

If you want the computer to ask if you're sure: :q

If you want to save: :wq

[–] PoolloverNathan@programming.dev 3 points 2 years ago

:wq will write even if you didn't change anything; :x won't. (similar to :w vs :up)

[–] intensely_human@lemm.ee 2 points 2 years ago (4 children)

You’re nullifying that safety measure by doing this you know

[–] Oszilloraptor@feddit.de 2 points 2 years ago

Some people just want to see the world burning

[–] ArmokGoB@lemmy.dbzer0.com 1 points 2 years ago

It's the opposite of nerd sniping.

load more comments (2 replies)
[–] nautilus@lemmy.dbzer0.com 6 points 2 years ago (6 children)
[–] marduk@lemmy.sdf.org 3 points 2 years ago* (last edited 2 years ago)

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

[–] FriendBesto@lemmy.ml 1 points 3 months ago* (last edited 3 months ago)

Proudly, first thing I install on Termux.

[–] nullpotential@lemmy.dbzer0.com 1 points 2 years ago (1 children)
[–] Troz@sh.itjust.works 2 points 10 months ago

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.

load more comments (2 replies)
[–] Gentoo1337@sh.itjust.works 5 points 2 years ago (2 children)

Why would I want to exit vim?

[–] DWin@sh.itjust.works 1 points 2 years ago

I tmux my vim session so I never have to exit it, I just end the session and NOTHING OF NOTE HAPPENS

[–] lemme_at_it@lemmy.world 1 points 2 years ago

It is much easier not to

[–] Serpardum@lemmy.world 3 points 2 years ago (1 children)

It's very easy to terminate vim. I just use the power button.

[–] DNOS@reddthat.com 2 points 2 years ago

Uh... so u guys don't change the PC each time that's cool I would definitely try that ...

[–] cupcakezealot@lemmy.blahaj.zone 3 points 2 years ago (2 children)

when you click enable vim it should just start nano

load more comments (2 replies)
[–] homura1650@lemmy.world 2 points 2 years ago* (last edited 2 years ago) (1 children)

Tricky question, but I think I have a solution:

:!readlink /proc/$PPID/fd/* | grep "$(dirname %)/.$(basename %).sw" | xargs -I{} rm "{}" ; kill -9 $PPID

[–] isVeryLoud@lemmy.ca 1 points 2 years ago

Technically correct

[–] chraebsli@programming.dev 1 points 1 year ago

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?

[–] rtxn@lemmy.world 1 points 2 years ago (3 children)

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.

[–] DotSlashExecute@feddit.uk 1 points 2 years ago

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!

load more comments (2 replies)
load more comments
view more: next ›