Spyke

Replies

Comment on

What is the easiest way to have a self hosted git server?

The really simple setup for a single user is just a SSH server with access to storage and the git command. Assuming your laptop and desktop have SSH access to server, you can just:

ssh server git init --bare somerepo
cd somerepo
git remote add server server:somerepo
git push --set-upstream somerepo master #(or main)

and then git clone server:somerepo.

For something slightly higher-tech, I recommend going with Forgejo (the fork of Gitea). It is really easy to set up and low maintainance.

Avoid GitLab for small setups, it is fairly resource hungry.

memes

Comment on

Don't google 'solar flare'

I just looked it up on Wikipedia.

The extreme ultraviolet and x-ray radiation from solar flares is absorbed by the daylight side of Earth's upper atmosphere, in particular the ionosphere, and does not reach the surface.

What else should I know?

android

Comment on

Could a uniform interface (like the command line) ever exist for smartphones? What could it look like?

I really don't think that the command line is a uniform interface. Every command has its own syntax, its own take on what its switches mean, its own take on regexes/globs and so on. Moving and editing files is something completely different: one is a simple command to move a file elsewhere, the other is a whole experience which replaces the command line with something that looks completely different and is controlled completely differently. What they do have in common is just the medium - the terminal.

Many developers of command line tools try to at least keep a similar design language as the rest of the world, but it is far from perfect. A lot of these interfaces are like they are for mostly historical reasons without proper planning of the user interface, so imho even something like Material Design is already closer to being the "same interface" in the GUI world than the various command line interfaces are.

we can’t simply reuse the command line

We absolutely can and some of us do. I often manage my files, todo list, etc. in Termux. Its not always the best thing to do, but I like that I can keep a consistent interface no matter what device I am using. Its still the same terminal, just on a smaller screen with a worse keyboard.

linux

Comment on

I've changed hostname of my Raspberry Pi to 🌈💩

because /etc/hostname is allowed to contain only ASCII Latin characters, numbers, and dash

If you really wanna go for cursed, the syscall to change hostname doesnt have this restriction, and I do have a working system with non-ascii characters in the hostname. It takes some fighting with systemd and NetworkManager, and stuff does sometimes break, but it can be done.