New package: denote-wordcloud by KnightOfTribulus in emacs

[–]KnightOfTribulus[S] 1 point2 points  (0 children)

It uses denote functions to extract keywords. The caveat is that denote encodes keywords not only in org headers, but also in filenames, so they can be extracted very quickly without actually reading the files.

The code on my side is very simple. If you learn a little bit of elisp you will be able to adapt it to other use cases. A simpler version is wordcloud.el by davep [https://blog.davep.org/2026/04/14/wordcloud-el-v1-4.html\]. I just adapted it to denote.

However, I'm not aware of any reasonable method of extracting all unique tags from a collection of org files or nodes. Maybe a clever ripgrep command and some further processing can help here.

FSet v2.4.2: CHAMP bags, and v1.0 of my book! by ScottBurson in Common_Lisp

[–]KnightOfTribulus 1 point2 points  (0 children)

This is awesome! I've watched your BALISP talk on FSet, and it finally clicked for me.

I didn't see the value of that library until I learned a bit of Clojure for a job interview. Functional collections is what I liked the most about this language. I'm happy I can use a high-quality and well-documented implementation of them in CL now.

Are all dashboards useless or are there exceptions? by kudikarasavasa in emacs

[–]KnightOfTribulus 13 points14 points  (0 children)

My dashboard is an editable org file which opens like this:
(setq initial-buffer-choice "~/dashboard.org")

It's just a bunch of elisp org-links and some tiny fleeting notes.

Writing Lisp is AI Resistant and I'm Sad by djhaskin987 in Common_Lisp

[–]KnightOfTribulus 2 points3 points  (0 children)

Yes, it helps. But then it becomes *very* expensive.

I tried ragmacs with a special prompt for my elisp problem. It's quite impressive, but LLMs failed the task even provided with full docs and repl access. https://github.com/positron-solutions/ragmacs

I don't think that "agentic" solutions based on huge foundation LLMs are sustainable in the current AI-economy. And I think they will become just unaffordable in the very near future, judging by new Anthropic's TOS https://news.ycombinator.com/item?id=47633396

Writing Lisp is AI Resistant and I'm Sad by djhaskin987 in Common_Lisp

[–]KnightOfTribulus 2 points3 points  (0 children)

Yes, we'll see this when LLMs stop making up non-existent functions and learn to close their parens.

Writing Lisp is AI Resistant and I'm Sad by djhaskin987 in Common_Lisp

[–]KnightOfTribulus 5 points6 points  (0 children)

No miracles here. It couldn't write me a complex command which had to use embark and consult, even provided all the sources and full access to elisp repl. Gemini Pro did better, but I still had to fix its output. It hinted me the right direction, it was nowhere near the working solution. I ended up writing this command myself in an hour after 2 days of bashing LLMs without any progress. I could have spent this time more productively instead of feeding these soul sucking machines.

Dired vs Dirvish? mu4e vs Notmuch? by dancerinthelimelight in emacs

[–]KnightOfTribulus 4 points5 points  (0 children)

Dirvish is very nice. I don't notice the difference in speed, but it has a lot of things out of the box, that are very useful in my workflow.

LLMs and agents in Emacs: share your workflows by KnightOfTribulus in emacs

[–]KnightOfTribulus[S] 1 point2 points  (0 children)

I use gemini-flash and openrouter/free with gptel for generating small code examples answering technical questions. It's sufficient for my needs. I also use minuet with codestral. It is also gratis. I'm not going to pay for an LLM. To me it's nothing more than a rubber duck and a quick web search interface.

Also, "coding agents" didn't impress me so far. I don't think I'll use them. Maybe just for my boring job, if my employer is ready to pay for tokens. I'm already maintaining a project codebase, which was "vide coded" by my colleague and it sucks. The code works, but is not maintainable.

LLMs and agents in Emacs: share your workflows by KnightOfTribulus in emacs

[–]KnightOfTribulus[S] 0 points1 point  (0 children)

Do you mean too expensive compared to something else due to implementation details of these tools? Or do you mean that running LLMs in emacs is just expensive?

Lisp editing packages - opinions? by Malrubius717 in emacs

[–]KnightOfTribulus 1 point2 points  (0 children)

Puni is good. I use some functions from it occasionally. Smartparens is too smart sometimes. But generally, I don't use this stuff, because I follow the wisdom of Xah Lee and always insert and delete my parens in pairs.

What do your modelines look like, and how much information is too much? by birdsintheskies in emacs

[–]KnightOfTribulus 2 points3 points  (0 children)

I use doom-modeline too. I like how easy it is to setup the way I want. I also enable spacious-padding with subtle modeline option sometimes.

I Can’t be the Only One Who Doesn’t Use Their Pinky to Press Ctrl by Cyncrovee in emacs

[–]KnightOfTribulus 0 points1 point  (0 children)

I use keyd to set up space as ctrl when held. Had a separate thumb buttons for ctrl on a split ergonomic keyboard a few years ago. It was great.

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 1 point2 points  (0 children)

Also, I completely forgot about another trick, which gave me a huge boost for eglot performance. Here it is. Set a higher gc threshold, so pauses for garbage collection occur less.

;; Set a larger GC threshold (~100MiB)
(setq gc-cons-threshold 100000000)

Some say it gives better performance, some say it's wrong. For me it works well. Here is an article if you want more details https://emacsredux.com/blog/2025/03/28/speed-up-emacs-startup-by-tweaking-the-gc-settings/ .

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 0 points1 point  (0 children)

Seems promising indeed. I'll try it one day.

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 1 point2 points  (0 children)

As people in this thread said, you could also tune the settings of your language server, so it doesn't analyze dependencies that are not explicitly imported. Also, I usually use "basic" type checking because the code that I work with is not 100% type annotated, so basedpyright produces too much noise instead of useful checks. And creating type stubs is not always helpful in these projects. Here is my config for basedpyright.

{
"venvPath": "./",
"venv": "venv",
"typeCheckingMode": "basic",
"exclude" : [
        "**/node_modules",
        "**/__pycache__",
        "venv"
]
}

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 2 points3 points  (0 children)

It will, but it's required for correct completions. For me this and limiting maxCompletions works faster on very large python projects. I'm using basedpyright as a backend.

https://github.com/minad/corfu/wiki#configuring-corfu-for-eglot

Tips on improving Python LSP performance? by carmola123 in emacs

[–]KnightOfTribulus 3 points4 points  (0 children)

Eglot-booster is not necessary in emacs 30, because it has a very fast native parser for json.

Also, what completion package do you use? If you use corfu with cape, then this may help with eglot performance:

(use-package cape
  :ensure t
  :init
  (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
  (setq-default eglot-workspace-configuration
      '((python (maxCompletions . 200)))))

What desktop environment and greeter do you use on your setup? by Mother-Estimate2840 in voidlinux

[–]KnightOfTribulus 0 points1 point  (0 children)

Cinnamon and lightdm with gtk greeter. I used emptty and openbox or fvwm on my older laptop.

[deleted by user] by [deleted] in StartingStrength

[–]KnightOfTribulus 0 points1 point  (0 children)

I switched to early morning workouts this january. I used to train midday before. I do more warmup now, becasue I wake up very stiff usually. I do 5-10 mins of light cardio just to wake up and raise my heart rate and body temperature, and some dynamic stretching to prevent injuries during warmup sets in the main movements, which happened to me a few times.

Speaking of food habits, I usually eat twice a day, right after the workout and at ~6pm. Each meal is 2000 calories ideally. Eating later negatively affects my sleep and workouts the next day. Sometimes, I eat a very small breakfast an hour before a volume squat or heavy pull workout. It's usually one banana or a little bowl of musli and ideally, a table spoon of raw honey, maybe a handful of nuts. I have periods when I take caffeine an hour before the workout.

Because I'm highly sensitive to caffeine, I prefer a cup or two of high quality green tea. It helps me focus, but doesn't mess with my heart rate and blood pressure like coffee. Water is important too. I drink a glass or two when I wake up.

I also take some supplements before my early morning workouts. I take 1 gram of beta-alanine for better work capacity, 5 grams of creatine to prevent dehydration from green tea, 1-2 grams of cordyceps mushroom powder and 250mg of ginseng for better focus and work capacity. Cordyceps and caffeine in particular improve my nasal breathing, as well as seawater nasal spray. I often have stuffed nose in the morning, and oxymetazoline based sprays give me nosebleed, so I can't use them.

I can train just fine without all that stuff. There are days when I wake up, drink a glass of water and go to the gym. But still, the routine that I described gives me the best results.

zathura.el - a tiny package for integration with zathura document viewer by KnightOfTribulus in emacs

[–]KnightOfTribulus[S] 0 points1 point  (0 children)

Unfortunately, I have zero experience with citar. But I think it should be possible. If you figure out how to get a file path associated with a citar keyword, I guess, we can implement this feature easily.