this post was submitted on 15 Aug 2023
1177 points (98.5% liked)

Programmer Humor

32561 readers
399 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

I watched oppenheimer in emacs, u watched it in imax, we are not the same

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 112 points 1 year ago (1 children)

Too bad Emacs doesn’t have a good text editor.

[–] [email protected] 36 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

Modalka for me. It has exactly what you want and no more, which also makes it a lot easier to learn: useful for me that I'm not a programmer.

[–] [email protected] 52 points 1 year ago

eMacs takes a life time to learn, so the sooner you start, the longer it will take.

[–] [email protected] 40 points 1 year ago

Upvote just for "melon husk" 😂

[–] [email protected] 27 points 1 year ago (1 children)

There was another Twitler who tried to create an everything Reich.

[–] [email protected] 12 points 1 year ago

Elon is racing him to see who can collapse a thousand-year social media platform the fastest

[–] [email protected] 25 points 1 year ago* (last edited 1 year ago) (1 children)

Emacs is the GOAT computing environment.

[–] [email protected] 17 points 1 year ago (3 children)

I couldn't help but think of Emacs when I was reading A Constructive Look At TempleOS. It's like TempleOS that is actually finished, it just lacks kernel.

[–] [email protected] 13 points 1 year ago (1 children)

just lacks kernel.

Sounds like a trademark of GNU tbh

[–] [email protected] 8 points 1 year ago (1 children)

GNU Hurd is going to be mainstream any minute now.

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago

I'm sure the port to TempleOS is being worked on as we speak

[–] TopRamenBinLaden 4 points 1 year ago (1 children)

Thanks for sharing. I have never seen that deep dive into templeOS before and it is a much more interesting OS than I anticipated.

[–] [email protected] 4 points 1 year ago

Yeah it's pretty amazing system all things considered. It's kind of as if 8-bit home computer systems continued to evolve, but keep the same principles of being really closely tied to the HW and with very blurry line between kernel and user space. It radiates strong user ownership of the system. If you look at modern systems where you sometimes don't even get superuser privileges (for better of worse) it's quite a contrast.

Which is why it reminds me of Emacs so much. You can mess with most of the internals, there's no major separation between "Emacs-space" and userspace. There are these jokes about Emacs being OS, but it really does remind me of those early days of home computing where you could tinker with low level stuff and there were no guardrails or locks stopping you.

[–] [email protected] 18 points 1 year ago

Surely Elon would prefer the old Lucid fork, https://www.xemacs.org/

[–] [email protected] 12 points 1 year ago (3 children)
[–] [email protected] 54 points 1 year ago (3 children)

An extremely extensible text editor, there's jokes that it can do literally anything, you can play music, watch video, etc.

It's often at war with the cult of vi and the church of emacs.

[–] [email protected] 29 points 1 year ago (3 children)

Don't forget us nanoites. The clearly superior text editor

[–] norawibb 32 points 1 year ago (2 children)

nanoers just never figured out how to :wq

[–] [email protected] 11 points 1 year ago (1 children)

if you listen closely, you can still hear the terminal bells ringing of those that never managed to ESC

load more comments (1 replies)
[–] [email protected] 5 points 1 year ago (5 children)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

They just said :wq in school, so thanks for the tip. Hard to believe it saves even when the file hasn't been changed if you use :wq. What is the use case for that? If the file gets changed in another program and you want to revert?? Edit: Just saw the comment about the modification times being updated.

[–] [email protected] 2 points 1 year ago (2 children)

But what if you wanted to write even if there weren't changes?

load more comments (2 replies)
load more comments (3 replies)
[–] [email protected] 3 points 1 year ago (1 children)

I don't do a lot of text editing in terminal, but I used to have to at my last job and I always reached for nano and gave instructions fot nano since it's just pick up and use.

[–] [email protected] 6 points 1 year ago (3 children)

Nano just feels sluggish as soon as you know vim keybindings. Emacs is a bit overkill for some quck edits, but nano is just to basic

[–] [email protected] 6 points 1 year ago (2 children)

Nano is a fantastic default editor for gui-focused distros. If you aren't a command line wizard, nano is a better default because it's a lot more straightforward.

That said, nano is incredibly limited and if you have any experience with vi/vim/nvim, it's the best solution full stop. It's so much faster and more powerful but hot damn is it unintuitive for noobs.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

As a nanoite who couldn't be bothered to learn editor commands, I switched to turbo, which is essentially a linux port of the DOS text editor

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago

I was using vim for the first time the other day and I was running through the built in vimtutor. I got a call from a friend and they asked what I was up to, and I said I was doing a tutorial for a text editor. At that moment, I felt simultaneously very silly and very smart.

[–] [email protected] 4 points 1 year ago (1 children)

By "as soon as you know" you mean "as soon as you have put those bindings to muscle memory". Knowing them isn't really enough.

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago

Yeah, again, I don't do much terminal text editing. I have an IDE. If I'm trying to help someone across the country 1000 miles away fix something on the machine I develop for, I'm going to give them instructions on something that will be incredibly easy to use. I don't want to have to explain why the arrow keys aren't working and why they have to use jkl; to navigate or explain how enter edit mode or how so save and exit. Keep it simple stupid.

[–] [email protected] 5 points 1 year ago (4 children)

You should really convert to helixism, the latest messianic update to the cult of vi.

[–] [email protected] 4 points 1 year ago (1 children)

ill try it again when it support pulgins

[–] [email protected] 6 points 1 year ago

I mean it does support LSP, natively, I found that ultimately that's all the plugins I really need. It working out of the box and not requiring megabytes of configuration files is one of its great strengths.

If all you need is some customisation it's perfectly possible to write custom commands that execute sequences of commands. Including calling out to the shell and piping to and from external programs. Strictly static sequences though unlike the abomination that is vimscript they're not making keybindings a scripting language...

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I'm a vim and emacs user for some decades already. I had this urge one day to try and work with helix. It kind of misses some things such as file manager or editorconfig support. Nine months later I'm still using helix. It still misses these things, but I really started to like how I don't need any plugins to work with it and I need about five lines of configuration to have a usable editor. Probably going to continue using it.

And it is written in Rust, which is my main language and I can just jump in to the editor source and fix things if needed.

I miss magit and org from emacs a lot though. Every time I need to write an article, I do it in emacs.

load more comments (2 replies)
[–] [email protected] 12 points 1 year ago (1 children)

Eight Megs And Constantly Swapping

[–] [email protected] 5 points 1 year ago

Esc-Meta-Alt-Ctrl-Shift

[–] [email protected] 8 points 1 year ago

A self-documenting, extensible lisp computing environment that uses text buffers as its main data format.

[–] [email protected] 11 points 1 year ago (1 children)

Which video player did you use?

[–] [email protected] 18 points 1 year ago (4 children)

im a vim user, i dont usually put videos players in my text editor

otherwise, i use mpv for desktop

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

It's possible to watch videos in the terminal as ASCII art with both vlc and mplayer, by the way.

[–] [email protected] 3 points 1 year ago

mpv --vo=tct

load more comments (3 replies)
[–] [email protected] 7 points 1 year ago (1 children)

Late 30s dev here: I've never cared to learn emacs or vim, tried when younger, but left it. Am I a fraud?

[–] [email protected] 5 points 1 year ago (2 children)

I used to be a vim fan but now I only use it for modifying files over SSH. Other than that I code with an IDE, you can't beat all the plugins and linters with a in-terminal editor. A colleague still codes in emacs and its code is dirty af.

[–] Ajen 5 points 1 year ago

A colleague still codes in emacs and its code is dirty af.

PEBKAC - don't blame emacs (not sure why anyone would use it when vim exists, though)

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago (3 children)
[–] [email protected] 8 points 1 year ago

It's an iMac with electronics in it.

[–] [email protected] 5 points 1 year ago

It's like a Big Mac but with emu meat.

[–] [email protected] 4 points 1 year ago (1 children)

Ain't that one of them Mortal Kombat fighters?

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