[-] StrangeAstronomer@lemmy.ml 17 points 2 months ago

voidlinux: gave me much better battery life - I assume because it starts as a minimal system and one adds only the essentials to do the job - compared to the soup-to-nuts distros that pile everything in so that newbies are acccomodated. Of course, the voidlinux approach needs more linux skills - but it's not that hard and the doco is great.

Also, I love the back to basics runit init system and runsv service runner (I'm old so I like that stuff) and the ultra fast xbps packaging system.

[-] StrangeAstronomer@lemmy.ml 13 points 3 months ago

Thanks (to all the authors) for your hard work and contributions.

15

Most entries in lemmy's RSS feed have a that points to the relevant lemmy post eg

Title: Any DE or distro without touch support?
Author: https://lemmy.ml/u/tarius
Date: Wed, 15 May 2024 01:24:59 AEST
Feed: Lemmy - linux
Link: https://lemmy.ml/post/15632012

That makes sense - clicking the link takes me to the conversation.

Other entries however, include a link to the subject of the conversation eg

Title: Wayland usage has overtaken X11
Author: https://lemmy.world/u/KISSmyOSFeddit
Date: Tue, 14 May 2024 03:30:46 AEST
Feed: Lemmy - linux
Link: https://lemmy.world/pictrs/image/a71c1b49-fb63-420d-8afc-d40661ffd79c.png

The feed I'm using is https://lemmy.ml/feeds/c/linux.xml

This is unfortunate as clicking the link in my reader (elfeed) does not show the conversation - I rely on the to take me there.

elfeed being built in elisp in emacs, I have been able to concoct a fix especially for lemmy - but it really feels like a bug in lemmy as no other feed needs it. Where can I report it or discuss it?

6
submitted 6 months ago by StrangeAstronomer@lemmy.ml to c/emacs@lemmy.ml

... more an annoyance really, and not elfeed's fault at all but ...

[first posted on reddit/r/emacs but probably more interesting here]

lemmy RSS feeds (such as "https://lemmy.ml/feeds/c/emacs.xml") often (but not always) have mis-guided "Link:" elements which target an external link, an image file or other material instead of the lemmy post itself. Consequently, hitting 'b' elfeed-search-browse-url may send one on a surprising if not always useful journey.

eg

Title: Keymacs, a program to generate Emacs keybindings | Plain DrOps
Author: https://feddit.de/u/DrOps
Date: Tue, 23 Apr 2024 23:35:25 AEST
Feed: Lemmy - emacs
Tags: emacs, lemmy
Link: https://plaindrops.de/blog/2024/keymacs/

submitted by DrOps to emacs
8 points | 2 comments
https://plaindrops.de/blog/2024/keymacs/

In this case, the link to lemmy itself is in the "2 comments" => https://lemmy.ml/post/14798221

Here's a little hook to fix it up - it also marks the entry with the tag 'lemmy-fixed' ...

(defun elfeed-fix-lemmy-link (entry)
  "Fix lemmy.ml RSS feed links in elfeed."
  (when-let ((url-base-regexp "https://lemmy\\.ml/")
             (feed (elfeed-entry-feed entry))
             (feed-url (elfeed-feed-url feed))
             ((string-match-p (concat url-base-regexp "feeds/c/") feed-url))
             (entry-link (elfeed-entry-link entry))
             (link-url-regexp (concat url-base-regexp "post/[0-9]+"))
             ((not (string-match-p link-url-regexp entry-link))))
    (when-let ((content (elfeed-deref (elfeed-entry-content entry))))
      (let ((lines (split-string content "\n")))
        (dolist (line lines)
          (when (string-match link-url-regexp line)
            (let ((post-link (substring line (match-beginning 0) (match-end 0))))
              (setf (elfeed-entry-link entry) post-link)
              (elfeed-tag entry 'lemmy-fixed)
              (message "Fixed lemmy link in elfeed: %s" post-link)
              (cl-return))))))))
(add-hook 'elfeed-new-entry-hook #'elfeed-fix-lemmy-link)

Thanks to u/karthik for getting me started with this. The crappy elisp is mine not his (roast me!)

[-] StrangeAstronomer@lemmy.ml 7 points 6 months ago

virt-manager for the win!

[-] StrangeAstronomer@lemmy.ml 7 points 7 months ago

"64-128mb ram" is hardly "low memory"!

[-] StrangeAstronomer@lemmy.ml 16 points 9 months ago

You can't avoid IBM/RedHat - they contribute to the kernel and many, many other parts of Linux eg systemd. I have no idea what you mean by DIY distros, what a peculiar adjective in this context. Linux itself is DIY. Life is DIY.

That said, voidlinux is an independent distro without systemd or snaps based on runit for init and xbps for package management. It's also a STABLE rolling release.

[-] StrangeAstronomer@lemmy.ml 10 points 10 months ago* (last edited 10 months ago)

Can't believe no-one mentioned voidlinux yet. It's very tasty.

[-] StrangeAstronomer@lemmy.ml 9 points 10 months ago

I daresay there's a way to do something like this with fzf

[-] StrangeAstronomer@lemmy.ml 40 points 1 year ago

To imply that systemd is merely an init system is ingenuous at best and dishonest at worst - systemd is so much more than an init system, as that article mentioned. Since the article was written in 2014 systemd has grown massively in scope, even more than the author feared.

It manages DNS, home directories, system services, seat managment, cron, system logging, booting... the list is ever growing. As such many people fear it is becoming too dominant through making more and more software dependent on it. It is not atomic - it is very difficult to have just one piece of systemd as its parts are tightly integrated and inter-dependent.

One could even claim that systemd failed in it's original remit - to make startup as fast as macOS by running tasks in parallel and by deferring service startup until they are actually needed. The result has been a not very performant init system - many init systems are faster eg runit, dinit. The systemd people now claim that speed is not a design goal.

It is, however, open source and very widely adopted. Most people don't care - they just want to run their browser and word processor.

[-] StrangeAstronomer@lemmy.ml 31 points 1 year ago

What for? Even if they have improvements in some areas, the original POSIX standard utilities will continue to be needed for script compatibility. You're not going to swap them out - at best you can add them and then you just have an additional code base to support with additional attack surface to protect.

[-] StrangeAstronomer@lemmy.ml 46 points 1 year ago

voidlinux on my laptop (from Fedora) - why? I wanted to see what a systemd-less distro was like nowadays. I have used Linux since 1992 and Unix since 1984 so I'm used to SysVinit. What I find with voidlinux is a system I can understand easily - not that I struggle with systemd, but I felt there was just so much happening under the hood, just too clever by half. If I wanted MacOS, I'd have bought an Apple.

The packaging system on voidlinux is sooooo much faster than fedora. The really weird thing is that my battery life almost doubled. I can't explain it except to say that the laptop is much calmer than under fedora, which seems to run the fan constantly. Same workload, CPU governers, powertop tweaks etc etc - but battery life almost doubled.

The one downside is a smaller array of packages in the repositories. But since I'm happy installing from source for those few corner cases, it's no biggie.

I've left fedora on my media/file server for now as I still do some fedora packaging (mainly for sway related packages).

[-] StrangeAstronomer@lemmy.ml 10 points 1 year ago

Rock solid on my 11-yo laptop that has been running fedora and updated every 6 months since I bought it in 2012.

I've always updated late in the fedora cycle - maybe that's the go.

view more: next ›

StrangeAstronomer

joined 1 year ago