1153
you are viewing a single comment's thread
view the rest of the comments
[-] pastel_de_airfryer@lemmy.eco.br 59 points 2 years ago

I once had a junior calling me in a panic because he didn't know how to quit nano. NANO!

[-] bisby@lemmy.world 70 points 2 years ago

Nano... Like... The one that has all the keybinds permanently shown at the bottom of the screen?

[-] dubyakay@lemmy.ca 36 points 2 years ago

Burnt into the old LCD screen.

[-] Jankatarch@lemmy.world 16 points 2 years ago

And your retinas.

[-] pastel_de_airfryer@lemmy.eco.br 12 points 2 years ago

Yeah, that one...

[-] Aganim@lemmy.world 11 points 2 years ago* (last edited 2 years ago)

Onscreen instructions unclear, pressed Shift+6+X. Still stuck in Nano.

[-] ICastFist@programming.dev 18 points 2 years ago

That deserves a "do you know how to read?", because the exit command is on the lower part of the screen for nano

[-] lord_ryvan@ttrpg.network 2 points 2 years ago

To be fair, they show up as “^X” or whatever, and typing [Shift]+[6] followed by the [X]-key doesn't do the trick.

[-] obinice@lemmy.world 5 points 2 years ago

Nano nano!

drinks water with finger

[-] r3g3n3x@lemmy.world 2 points 2 years ago

Ork humor. Love it.

[-] dejected_warp_core@lemmy.world 5 points 2 years ago

Huh? Isn't it like right there at the bottom of the screen?

I guess not knowing that ^X means Control+X could be the issue, but still...

[-] andioop@programming.dev 4 points 2 years ago* (last edited 2 years ago)

TIL!

Can exit nano on my own, have the common sense to not call in a panic about it before at least looking it up. (Which is how I learned how to exit it: looking it up.) But was never taught about ^ meaning "Control+" until your comment, especially since nowadays people write it out as "Control+" or "CTRL+".

I might have put two and two together when dealing with everything else in nano after I learned to exit, but never really internalized the rule "^ means Control+". So thank you for your comment!

Disclaimer: I feel like I am too stupid for most of programming.dev but participate here anyways because I learn stuff from the comments.

[-] dejected_warp_core@lemmy.world 3 points 2 years ago

Don't feel stupid. It's bad enough that all of IT is one giant impostor-syndrome support group. There's literally too much for any one person to know, and it's been that way for a very long time. Just give it your all, and memorize how to reliably search and look things up; take notes for the really important stuff. The rest will filter into your memory with practice.

Also: anyone that holds this kind of thing over your head is attempting to distract from how much they don't know. Most people in this industry understand and don't judge.

As for the ^ thing, I recall seeing that as far back as the 1990's. I want to say Microsoft actually popularized it, but it could easily be OS2 (IBM) or Apple. In hindsight, it's kind of wild to have a TUI (terminal user interface) hold your hand like this. Nano (and Pico) are kind of in a special category like that.

[-] bufalo1973@lemm.ee 4 points 2 years ago

Do you remember the "press any key to exit"? Someone asked where is the "any" key.

[-] vithigar@lemmy.ca 1 points 2 years ago

I had an intermediate not understand how to read a pipe-delimited text file.

[-] Zagorath@aussie.zone 6 points 2 years ago

Read as in, with their eyes? Or how to ingest it into some other app/script? Cos I'm vaguely aware that awk can be used in some way for this, but wouldn't have a clue how.

[-] barsoap@lemm.ee 3 points 2 years ago

awk is practically made for record processing, within the shell you can set $IFS. The reason so many ancient UNIX file formats use : as separator is because that's the default setting of $IFS.

It's all a huge PITA, though. I mean there's a reason why people started using perl instead. Nushell is great for that kind of stuff, even more so if you have random json or such lying around it loads just as easily. "Everything is a string" was a mistake.

[-] vithigar@lemmy.ca 2 points 2 years ago
this post was submitted on 07 May 2025
1153 points (96.8% liked)

Programmer Humor

34398 readers
2334 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS