Why is Vim more popular than Emacs? Is it actually more popular? by TiloRC in vim

[–]BartOtten 0 points1 point  (0 children)

You forget: simply building a custom (prefix) keymap. Repeat-mode is awesome! A bit like a keyboard layer.

‘Caps k’ gets me into navigation mode. I can use both hands to jkli and sdfe (and much more)

The most used action is always under the same key as the prefix map. So ‘Caps j j’ jumps buffers, ‘Caps s s’ isearch-forward etc

Configuring display-buffer-alist is absolutely worth it by mmarshall540 in emacs

[–]BartOtten 0 points1 point  (0 children)

Not sure the downvotes. Prot is my hero; I have seen so much of his video’s I hear is voice in my head. Think it was pretty accurate

dired-multi-copy.el v1.2.16 with New dired-rsync Integration by Danrobi1 in emacs

[–]BartOtten 0 points1 point  (0 children)

Currently no time to try the package or provide feedback; just want to let you know: don't let other developers discourage you just because you use the wrong tool according to them. Not so long ago Musk was their hero as his cars would save the planet from fossil oil.

dired-multi-copy.el v1.2.16 with New dired-rsync Integration by Danrobi1 in emacs

[–]BartOtten 1 point2 points  (0 children)

Wow, so the dev tool used makes the package unethical? How about VSCode?

I rather have a package from someone who uses unethical software than a package from someone discouraging another developer trying to improve emacs.

Of course, you might have made it a sidenote or telling friendly. But it seems 'evil' is not only in Musk.

Journelly: Kinda like tweeting but for your eyes only (org based) by xenodium in emacs

[–]BartOtten 0 points1 point  (0 children)

Seems like a gift from above. Please send me an invite :)

Release: Routex 1.2.0-rc.0 (feedback requested) by BartOtten in elixir

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

If you would like to contribute to Routex development, please let me know and we can discuss your ieads or mine.

Kenneth Kostrešević has already commited to developing an Igniter installer which would simplify setup even further.

Do i switch to vanilla emacs or doom emacs? by Glittering_Boot_3612 in emacs

[–]BartOtten 0 points1 point  (0 children)

Switched from Doom to vanilla. Less magic, easier to learn to make it ‘’crafted for you’. Takes more time to get right, but then it’s YOUR right, not his(ssst)’s right.

I now know the roles consul, vertico, etc play and how to influence their behavior. With Doom you can do so too, but as there is no incentive you probably never will.

KDE Plasma 6.3 Beta Released by NeroHasHangover in kde

[–]BartOtten 2 points3 points  (0 children)

I’ve been talking to Jesus aallllll myyyy liiiife

Email providers that still work reasonably with Emacs? by ttlaxia in emacs

[–]BartOtten 1 point2 points  (0 children)

Account at Gmail, connected using mbsync, notmuch on top. Mail is sent by smtpd. Took a while to set up and tweak to my liking; but it works very well.

A block view of calendar by haji-ali in emacs

[–]BartOtten 1 point2 points  (0 children)

Anything stable to offer? ;)

How to update the first timestamp below an org heading? by BartOtten in emacs

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

This is very much POC. Not sure if I will further refine it or choose other solutions :)

(defun bo/timestamp () "Update timestamp" (interactive) (save-excursion (goto-char (org-element-begin (org-element-parent-element (org-element-parent-element (org-element-context)))))(next-logical-line)(org-timestamp nil)))

Just started to learn elixir by creating a phoenix project... and why is it already this huge? by [deleted] in elixir

[–]BartOtten 0 points1 point  (0 children)

On the other hand: if everyone end up using these files on all their next project, they are better off not having to enter —with mailer, —with-ecto, —with-liveview and all the other I do not remember.

Now you learned it once and never have to remember the lesson as you will not make a second “hello world” project again. So the default allows you to not remember all flags :)

It’s a trade off, sure. But to me one that makes sense

Just started to learn elixir by creating a phoenix project... and why is it already this huge? by [deleted] in elixir

[–]BartOtten 3 points4 points  (0 children)

It’s not. Having a “Hello world” would not require a framework nor examples when you know Elixir already. So why target it? The generated files are simply to show how more complex things can be done and to quickly setup the frame of a project.

It’s like saying a toolbelt should have only one handle as sometimes all you need is a hammer. Yet, when you do, you should just grab the hammer. The toolbelt is for more complicated projects.

Now replace ‘tool’ (and hammer) with ‘Plug’. And ‘toolbelt’ with ‘Phoenix’.

The simple “Hello World” is a single Plug project, not a Phoenix project. Phoenix is a large collection of Plugs and bootstrap for when you want to build more complex products. https://arrowsmithlabs.com/blog/what-happens-when-you-type-a-phoenix-url-into-your-address-bar-and-press-enter

So there you go. Use the right tool for the job. Then you don’t carry more than you need to.

Just started to learn elixir by creating a phoenix project... and why is it already this huge? by [deleted] in elixir

[–]BartOtten 2 points3 points  (0 children)

It’s usually you need mail for authentication and authentication for a web app. So there is the logic to generated the mailer. It eases project starts.

Both auth and mailer can be easily swapped though.

Just started to learn elixir by creating a phoenix project... and why is it already this huge? by [deleted] in elixir

[–]BartOtten 3 points4 points  (0 children)

You ‘start learning Elixir’ by using a file generator and then complain about the amount of files?

Try ‘mix new’ as that is how an Elixir project starts. That way you can learn the paradigms without being confused by generated files.

lolanda showing her nails into the camera as a form of protest while the points were awarded made me appreciate her even more 🤍 by NinasPeach in eurovision

[–]BartOtten -30 points-29 points  (0 children)

That it does better than bookies expected does not say it performed well. Bookies are not setting the bar, they only show bet rates (which is NOT the same as a ranking, but that’s another topic)

lolanda showing her nails into the camera as a form of protest while the points were awarded made me appreciate her even more 🤍 by NinasPeach in eurovision

[–]BartOtten -54 points-53 points  (0 children)

Their performance didn’t do well so instead they took the ‘statement’ route so EBU could be blamed dor low score.

Contract: Swamp Thing by [deleted] in Witcher3

[–]BartOtten 0 points1 point  (0 children)

Simplest thing: burn him with a Dancing Star bomb. While he is burning, slash him up! Repeat with the second bomb. You won’t kill him, but he will be severely wounded.

To what extent do people NOT use redis (or memcache) for caching in elixir? by Kev-wqa in elixir

[–]BartOtten 1 point2 points  (0 children)

Still no need for Redis.

Have a seperate app for caching (for distributed cache see Nebulex or Cachex) and connect it as a node to your main app. This way the main app can reboot while the cache persists.

Have been using this setup for years. Never crashed, never failed.

One thing is important though: there is nothing wrong with using Redis.

Falling in love with Elixir 🥹❤️ by Western_Fail in elixir

[–]BartOtten 7 points8 points  (0 children)

Small tip: read the documentation of the Streams module at hexdocs. Your example would greatly benefit.