this post was submitted on 15 Aug 2023
1181 points (98.4% liked)

Programmer Humor

32542 readers
522 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
[–] magic_lobster_party@kbin.social 111 points 1 year ago (1 children)

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

[–] exu@feditown.com 36 points 1 year ago (1 children)
[–] GadolElohai@kbin.social 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.

[–] datwillpowerdo@lemm.ee 52 points 1 year ago

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

[–] gazby@lemmy.world 40 points 1 year ago

Upvote just for "melon husk" 😂

[–] cthonctic@kbin.social 27 points 1 year ago (1 children)

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

[–] merthyr1831@lemmy.world 12 points 1 year ago

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

[–] IfolkiCoding@lemmy.ml 25 points 1 year ago* (last edited 1 year ago) (1 children)

Emacs is the GOAT computing environment.

[–] mea_rah@lemmy.world 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.

[–] ox0r@jlai.lu 13 points 1 year ago (1 children)

just lacks kernel.

Sounds like a trademark of GNU tbh

[–] mea_rah@lemmy.world 8 points 1 year ago (1 children)

GNU Hurd is going to be mainstream any minute now.

load more comments (1 replies)
[–] TopRamenBinLaden@sh.itjust.works 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.

[–] mea_rah@lemmy.world 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.

[–] subarctictundra@lemm.ee 4 points 1 year ago

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

[–] wim@lemmy.sdf.org 18 points 1 year ago

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

[–] AdmiralShat@programming.dev 12 points 1 year ago (3 children)
[–] Xylight@lemmy.xylight.dev 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.

[–] Weirdbeardgame@lemmy.ml 28 points 1 year ago (3 children)

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

[–] norawibb@sh.itjust.works 29 points 1 year ago (2 children)

nanoers just never figured out how to :wq

[–] synae@lemmy.sdf.org 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)
[–] hydroptic@sopuli.xyz 5 points 1 year ago (7 children)
[–] nekomusumeninaritai@lemmy.blahaj.zone 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.

load more comments (6 replies)
[–] drcobaltjedi@programming.dev 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.

[–] heimchen@discuss.tchncs.de 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

[–] cybersandwich@lemmy.world 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.

[–] SubArcticTundra@lemmy.ml 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)
load more comments (1 replies)
[–] AnonStoleMyPants@sopuli.xyz 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)
load more comments (1 replies)
[–] lukas@lemmy.haigner.me 6 points 1 year ago (4 children)

alt.religion.emacs

Join us 👀

load more comments (4 replies)
[–] barsoap@lemm.ee 5 points 1 year ago (3 children)

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

[–] siriusmart@lemmy.world 4 points 1 year ago (1 children)

ill try it again when it support pulgins

[–] barsoap@lemm.ee 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...

[–] pimeys@lemmy.nauk.io 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.

[–] llii@feddit.de 2 points 1 year ago (1 children)

It's probably this, for all of you whou didn't know Helix before, like me: https://helix-editor.com/

[–] barsoap@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

Indeed. Make sure to start it with hx --tutor the first time around so you know how to quit :)

And no matter what you do when giving it a try do it in a time and place where you can go at least a week without vi as the command grammar is close yet different enough to completely confuse your muscle memory, you don't want to mix them up (helix uses a strict selection-action command set so you get 'wd' instead of 'dw' and stuff).

[–] WhiskyTangoFoxtrot@lemmy.world 12 points 1 year ago (1 children)

Eight Megs And Constantly Swapping

[–] hydroptic@sopuli.xyz 5 points 1 year ago

Esc-Meta-Alt-Ctrl-Shift

[–] aport@programming.dev 8 points 1 year ago

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

[–] hackris@lemmy.ml 11 points 1 year ago (1 children)

Which video player did you use?

[–] siriusmart@lemmy.world 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

[–] goodnessme@lemm.ee 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.

[–] saud@lemmy.ml 3 points 1 year ago

mpv --vo=tct

load more comments (3 replies)
[–] victron@programming.dev 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?

[–] edriseur@jlai.lu 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@sh.itjust.works 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)
[–] Legendsofanus@startrek.website 4 points 1 year ago (3 children)
[–] derpgon@programming.dev 8 points 1 year ago

It's an iMac with electronics in it.

[–] PlantDadManGuy@lemmy.world 5 points 1 year ago

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

[–] ComradePorkRoll@lemmy.ml 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 ›