• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle


  • I’m still trying out different editors from time to time. I always feel like they are lacking in some way in comparison to Emacs. Like, when there’s no key binding to focus the list of references, or one cannot navigate to the beginning of a block, or one cannot navigate by subword. Let’s not forget sexp. Cannot live without it. Or marks, for that matter. Or proper clipboard history that is properly searchable. It’s like the developers has not seen the light yet. Most editors are very mouse driven, and maybe does not focus enough on actual code navigation. I’m biased of course. Though, Helix seems cool.

    Side note: Even though I use Emacs, I have nothing against Vim. Heck, I even use it every now and then.










  • EmasXP@lemmy.worldtolinuxmemes@lemmy.worldWhy is this so hard?
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Over the years XFCE is the DE I’ve used the most. Kept getting back to it. It simply does a lot of things right. That does not mean it’s my favorite, though. There are plenty of good ones out there. LXqt is one I find to be excellent, but it does not get much attention. Enlightenment too, for that matter. Enlightenment feels like it comes from a different era, but it’s quite charming. That said, I think I’m finished with these “small” environments, and will be on KDE from now on. You get the “batteries included” experience, and things generally work very well together. Sure, maybe it’s a bit more resource heavy, but I can’t say I notice.




  • I’ve only used Caddy as a reverse proxy in production, but on my development machine I use Caddy with php-fpm. That makes me a bit unsure if I understand your questions correctly.

    For me that would look something like this:

    test.example.com {
    	root * var/www/html
    	php_fastcgi unix//run/php/php7.4-fpm.sock
    	file_server
    }
    

    (Yeah, PHP 7.4, I know)

    It looks like your Docker (?) image is exposing the php-fmp socket? I did not even know that was possible, but I don’t doubt it is.

    Caddy has no issues serving multiple hosts from the same server, it can even be with different php-fpm sockets. Caddy will just nod at you, maybe silently question your choice of still running PHP 7.4, but it accepts it and runs. Just make another block with a different host in the same Caddyfile, and it will work just fine.