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

Programmer Humor

32410 readers
1 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 103 points 2 years ago (1 children)

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

[–] exu@feditown.com 32 points 2 years ago (1 children)
[–] GadolElohai@kbin.social 4 points 2 years 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 47 points 2 years ago

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

[–] gazby@lemmy.world 32 points 2 years ago

Upvote just for "melon husk" 😂

[–] cthonctic@kbin.social 24 points 2 years ago (1 children)

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

[–] merthyr1831@lemmy.world 11 points 2 years ago

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

[–] IfolkiCoding@lemmy.ml 22 points 2 years ago* (last edited 2 years ago) (1 children)

Emacs is the GOAT computing environment.

[–] mea_rah@lemmy.world 12 points 2 years 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 11 points 2 years ago (1 children)

just lacks kernel.

Sounds like a trademark of GNU tbh

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

GNU Hurd is going to be mainstream any minute now.

load more comments (1 replies)
[–] subarctictundra@lemm.ee 2 points 2 years ago

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

[–] TopRamenBinLaden@sh.itjust.works 1 points 2 years 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 1 points 2 years 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.

[–] wim@lemmy.sdf.org 15 points 2 years ago

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

[–] AdmiralShat@programming.dev 11 points 2 years ago (3 children)
[–] Xylight@lemmy.xylight.dev 50 points 2 years 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 24 points 2 years ago (2 children)

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

[–] drcobaltjedi@programming.dev 2 points 2 years 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 5 points 2 years 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 5 points 2 years 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 2 years ago* (last edited 2 years 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)
[–] AnarchistArtificer@slrpnk.net 2 points 2 years 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.

[–] AnonStoleMyPants@sopuli.xyz 4 points 2 years 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.

[–] russjr08@outpost.zeuslink.net 1 points 2 years ago

Well yeah, I'd say the same concept applies to using anything tech related these days. It'd be like if you "knew" where all of the keys on a keyboard layout that you don't normally use are located - you'd still need muscle memory to actually use it efficiently.

[–] drcobaltjedi@programming.dev 2 points 2 years 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.

[–] barsoap@lemm.ee 5 points 2 years ago (3 children)

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

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

ill try it again when it support pulgins

[–] barsoap@lemm.ee 5 points 2 years 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 2 years ago* (last edited 2 years 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 2 years 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 2 years ago* (last edited 2 years 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).

[–] lukas@lemmy.haigner.me 5 points 2 years ago (1 children)

alt.religion.emacs

Join us 👀

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

I've thinking of using Usenet. What client would you recommed for mobile and desktop?

load more comments (3 replies)
[–] WhiskyTangoFoxtrot@lemmy.world 11 points 2 years ago (1 children)

Eight Megs And Constantly Swapping

[–] hydroptic@sopuli.xyz 5 points 2 years ago

Esc-Meta-Alt-Ctrl-Shift

[–] aport@programming.dev 6 points 2 years ago

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

[–] hackris@lemmy.ml 9 points 2 years ago (1 children)

Which video player did you use?

[–] siriusmart@lemmy.world 15 points 2 years ago (2 children)

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

otherwise, i use mpv for desktop

[–] goodnessme@lemm.ee 6 points 2 years ago* (last edited 2 years 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 2 years ago

mpv --vo=tct

load more comments (1 replies)
[–] victron@programming.dev 6 points 2 years 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 4 points 2 years ago (1 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.

load more comments (1 replies)
[–] Legendsofanus@startrek.website 4 points 2 years ago (3 children)
[–] derpgon@programming.dev 7 points 2 years ago

It's an iMac with electronics in it.

[–] PlantDadManGuy@lemmy.world 4 points 2 years ago

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

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

Ain't that one of them Mortal Kombat fighters?

[–] Legendsofanus@startrek.website 2 points 2 years ago

My fav one.

[–] veniasilente@lemm.ee 1 points 2 years ago
load more comments
view more: next ›