Hacker News new | past | comments | ask | show | jobs | submit | textread's comments login

> performance hiccups

I am sure you have tried all these, but just listing them if you havent:-

1. lib-gccjit native compilation

2. GCMH

3. explain-pause-mode

4. Buy a new PC

5. Compiling emacs with -O3 for your own hardware

6. --with-x-toolkit=lucid

Please dont abandon emacs in haste. It was home for 10 years for good reasons.

Would somebody please explain to me how 'casouri/vundo' compares to the semi-abandoned 'emacsmirror/undo-tree'?


I can also vehemently endorse Andrea Corallo's work on native-comp/libgccjit. The compilation can be finicky so I recommend looking at the AUR script here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs... or this lovely article: https://www.masteringemacs.org/article/speed-up-emacs-libjan...

Also, for those of you who didn't know what GCMH was:

https://github.com/emacsmirror/gcmh

> GCMH - the Garbage Collector Magic Hack

> Enforce a sneaky Garbage Collection strategy to minimize GC interference with user activity. During normal use a high GC threshold is set. When idling GC is triggered and a low threshold is set.


I used Emacs from 2012-2018.

I originally started using Emacs because its haskell-mode and erlang-mode beat anything out there. (I stayed for a lot of other things, too.)

I stopped using Emacs because of its poor LSP support. VSCode's Haskell LSP was better.

I briefly tried to reboot using Doom Emacs for Rust development this year, but the LSP support was still quite terrible.

There are reasons to stop using something after 10 years.

(Also, I've been using Vim on the side 1997-now. It never dies, but I never turned it into an IDE.)


Just help improving it. There are many reasons to stick with something after a decade, especially something as powerful as emacs. LSP support is fixable.


I’m not interested in writing Emacs Lisp. It is not just the lack of LSP support, but also that after 6 hours of configuring, I don’t have an IDE that just works. VSCode, Zed and Neovim all have less legacy and fewer moving parts I need to be concerned about when starting from scratch.

In my opinion there is too much to fix for me to enjoy Emacs, compared to the alternatives.


That is a big ask when one could instead be productive using VSCode which has fantastic LSP support and use emacs or vim keybindings in that IDE for editing without having to retrain muscle memory.


> The notion of a "controller" is also quite flexible.

Are you refering to the "view" or the "controller"; "django view" or "rails controller" :-)

If we were to coin a new name, say "Zeitgeist" to refer to the notion of a thing that does 'controller things' and more, are we compounding the problem further, or are we simplifying the problem?

https://xkcd.com/927/


> eventually far too much was built on it

Incumbents dilemma right?

Shouldnt it be possible to "Rip off the band-aid" when releasing, say Django-6.0 and rename things the way most people not already familiar with Django name things.

> names are rarely changed later

So refactoring APIs is really hard, especially when those are being consumed outside the organization... Shouldnt be an impossible task. After all, API versioning happen all the time internally...


Impossible, no. Worth it? The names are annoying, but not as annoying as the transition would.


> all your endpoints went through some function

Are you refering to CGI?

> I’d be afraid a young dev would have no idea

/s But then, I want to reinvent the wheel, it will be square and better.

> treating data as data in the abstract

Now you are really sounding like Sussman from SICP :-)

> “controller” is the balance-of-system

In Django, they call this as a View!


> a powerful set of custom primitives like terminal, compiler, formatter objects with a lua-like table structure powered by ht and eieio

Very interesting approach. Would you please share a small gist showing the custom primitives you are exploring?

Your experience mirrors mine in using Doom, Spacemacs etc. Esp, regarding unnecessary fancy features, with no explaination why they are there.


> a trip to Europe

Do it! dont wait. A change of location will reboot your brain. Trekking, Swimming, Sunburn will give you some much needed break.

Its easier to aquaint with new people when you are traveling. I am sure you know of all these things already. I just wanted to confirm that your idea of travelling is the right medicine.


i have $70 in my bank account, I'm getting inheritances (lower 5 digits).

It'll definitely have to wait. I'm wanting to do Iceland, and Mediteranean though for maybe a month just nomad it..


Is it possible to tangle the Readme into pretty.h? In other words, are the codeblocks in the orgfile exhaustive.

I love the literate way you have explained your thought process in the readme.


Yes, code blocks in Org are executable, but I was aiming for simple embedding and zero build-time, thus conservative choice of separating README and the actual header.


> Gwynne's Latin

Would you kindly share how it influenced you. I am really interested in the intersection of human languages and programming languages.

Have you explored Sanscrit, with a similar lens as a programmer?


I have a related question: Is learning interlinked with writing?

PG tweeted:-

    You can't replace reading with other sources of information like videos, 
    because you need to read in order to write well, and 
    you need to write in order to think well.


Are you using the following workflow?

orgmode file --> export to pdf (aka weave)

orgmode file --> org babel tangle

Would you please help me understand your workflow for > jumping to the chunk which the code came from in the tangled source code on the pretty printed PDF

Do the codeblocks in your pdfs contain hyperlinks back to the org file where they came from?


No I'm using noweb. There is an option in noweb to add comments in the tangled code with the line and file from which they originate. Then there's an Emacs mode that let's you jump to that code. I wrote a little function that let you instead jump to the line in the same like in pdf using SyncTeX.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: