[-] polarity_inverter@startrek.website 5 points 1 week ago* (last edited 1 week ago)

making things look old or low quality like a acreengrab is the easiest way of hiding obvious AI generation problems

Debian is a Linux distribution, which means a "version" or "flavour" or Linux. Many distributions are just variations of other distributions. As you already said for instance Ubuntu is based on Debian, but adds additional stuff on top of it. Devuan is another distribution based on Debian.

Ubuntu is unpopular in some circles because the company behind it made some very unpopular decisions. Like keeping the server software behind their new way of packaging software ("snaps") closed source.

The init system of a Linux system is the first process the operating system starts, which then starts all the other processes - it initializes the system. It is also often responsible for managing running background processes and other things.

Systemd is one such init system and widely used by most of the biggest Linux distributions. It is sometimes critisized for "doing too much" and taking over more functions of the system than an init system should, but many people think thats what makes it so practical. Devuan was created by people who wanted to use Debian, but not Systemd.

If you do not know about the specifics and want to use Debian, I would recommend going with its default version, as most of the resources you find online will help you with that.

Maybe check out postmarketOS if you want the chance the run mainline linux

5

So I wrote a little function for how I use eat.

In eat, you can have multiple terminal buffers open, and they are differentiated by incrementing numbers. The official way to open an additional buffer is to run eat with a prefix argument like C-u M-x eat. I wrote my little function to do this for me, because I don't use prefix arguments/C-u anywhere else and just couldn't remember it.

So this function checks the buffer list for existing eat buffers. If there is one with a number at the end, it takes this number, increments it by one and then opens a new eat buffer with this incremented number. If there is just one without a number, it opens a new buffer with the number one, since the first buffer is created without a number per default. If there is no eat buffer at all, it just calls eat to create one. This is the function:

(defun eat-more ()
  "Open a new terminal"
  (interactive)
  (if (match-buffers "\*eat\*")
      (if (string-match ".*<.>" (prin1-to-string (last (match-buffers "\*eat\*"))))
	  (eat (funcall eat-default-shell-function) (+ (string-to-number (substring (prin1-to-string (last (sort (match-buffers "\*eat\*")))) -4 -3)) 1))
	(eat (funcall eat-default-shell-function) 1))
    (eat)))

This works as intended, but the line getting and incrementing the buffer number looks really awkward. So my question is: How could I improve that to make it more readable without changing the logic completely?

There are probably shorter ways to do this by just calling eat with a prefix argument in the function itself, or something like that. But I am interested in interacting with the buffer list and all this nested string slicing and converting feels off. The actual eat function is defined here in eat.el Do you have any suggestions?

You could either copy them to the top of your template, or you could take a look at the blockinfile module

No, he was feared when he was alive. Most people actually celebrate his death...

They already did. The war sped up a process Zelensky's party already started beforehand.

[-] polarity_inverter@startrek.website 1 points 2 years ago* (last edited 2 years ago)

in parts of europe you can get some kobos branded as "tolino" - they have the same hardware, but actually run on android

It's okay, definitely was worth it for me.

But I still think its kinda weird to put out a 400$ device and then say: "here's full ssh root access, but don't use it"

no, it is quite fancy hardware, almost a4 paper sized, very thin and with an amazing hand writing experience and pretty good ocr.

Its a good device, but also quite expensive

the remarkable software is proprietary. they just run it on linux and give you root via ssh, but installing anything voids your warranty...

nice. replying to a mastodon-post as a comment in a lemmy-thread is fancy 🖖

30

Some piece of fediverse history as a start for this new account.

view more: next ›

polarity_inverter

joined 2 years ago