sorted by: new top controversial old
[-] cyclohexane@lemmy.ml 3 points 1 month ago

Just come ask here when you have trouble, and we'll try to help.

When troubleshooting, the biggest thing is searching the web honestly. But some more things to help you out: look for logs. Linux has loads of logs and sometimes can tell you how to fix the problem.

Logs may not be immediately apparent. Some programs have their own log files that you can look into. Sometimes, if you run the program from the terminal, it'll print out logs there. Otherwise, you read look through journalctl, although this has logs for everything so might be harder to search.

Another useful tip, particularly for system tools and terminal tools, is manual pages. Just run man ls and replace ls with any command, you'll get the documentation on how to use that tool.

[-] cyclohexane@lemmy.ml 3 points 1 month ago

OpenRC btw 😁

[-] cyclohexane@lemmy.ml 2 points 1 month ago

There are many ways to do this, but the next up from users is using groups!

For each file or data directory, create a group that owns it. This group should have the service's user as member. Then create a user for running the backups, and add it to all these groups.

The benefit of this is you don't have to use root, and you have an association of directory to group that you can always change. You can for example grant a user access to a data directory by just adding it to its group.

[-] cyclohexane@lemmy.ml 15 points 1 month ago

I use gentoo btw

[-] cyclohexane@lemmy.ml 5 points 1 month ago

Please do not care about people shitting on popular distros. As a gentoo user myself, it's as niche as it gets, but I will wholeheartedly recommend Ubuntu and mint.

[-] cyclohexane@lemmy.ml 2 points 1 month ago

This is actually exactly what I asked for, thank you!!

[-] cyclohexane@lemmy.ml 4 points 1 month ago

The appeal for json and yaml is readability, and partially ease of parsing. I say s-expressions win over both in both aspects.

Can you please expand on your references to no-sql and your reference to "lightweight markup"? I don't quite understand what you meant there.

[-] cyclohexane@lemmy.ml 9 points 1 month ago

What's so good about it?

[-] cyclohexane@lemmy.ml 6 points 1 month ago

I never really quite understood IPFS and why it gets used where I see it today. What problem is it solving?

[-] cyclohexane@lemmy.ml 14 points 1 month ago

Normal people boycotting AI models will not stop executives from being hostile to artists.

Especially people who would have otherwise not paid for art.

[-] cyclohexane@lemmy.ml 2 points 1 month ago

There are features that constantly get added. It's not only HTML (maybe the html part is stable, I don't know), but there's CSS and most importantly JavaScript.

Also, browsers don't always follow the standard exactly. Some features get added that aren't in the standard.

[-] cyclohexane@lemmy.ml 0 points 2 months ago

It's funny that I can't tell if you mean KSA or USA

835
submitted 1 year ago by cyclohexane@lemmy.ml to c/memes@lemmy.ml
119
submitted 1 year ago by cyclohexane@lemmy.ml to c/worldnews@lemmy.ml

The Western world yet again fails to live up to its moral pedestal

720
submitted 1 year ago by cyclohexane@lemmy.ml to c/memes@lemmy.ml
1760
submitted 1 year ago by cyclohexane@lemmy.ml to c/memes@lemmy.ml
46
submitted 1 year ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

I assume it doesn't, but thought I'd ask.

I really like the principles behind both gentoo and flatpak, but right now I can only do the gentoo way or the flatpak way (and I've opted for gentoo's for now).

What I'd love to have from flatpak:

  • container like sandboxing and isolation
  • customizable sandboxing and permissions

What I'd love to have from gentoo:

  • powerful build system building packages from source
  • global declarative management of compilation options
  • easy patches
  • easy to add packages that aren't in repos
  • support for many architectures or setups
33
submitted 1 year ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

Hi all,

I use a wayland Gentoo system, but I want to run Lutris for gaming. I would like to do this with at least some degree of filesystem isolation, as Lutris seems to install dependencies on its own and it pollutes the system in ways I cannot track.

What is the best way to do this? is it possible to do in a chroot? or mount namespaces? will it give me a lot of trouble?

It seems that merely installing things in a chroot and running it is not enough.

217
submitted 1 year ago* (last edited 1 year ago) by cyclohexane@lemmy.ml to c/asklemmy@lemmy.ml

Most music videos, especially modern ones, are pretty boring.

26
submitted 1 year ago* (last edited 1 year ago) by cyclohexane@lemmy.ml to c/programming@programming.dev

I mean, sure, that's probably heavily influenced by the need for bundling for the frontend.

But it isn't done blindly. Bundlers reduce the overall size of the code, either due to minification or tree-shaking (removing unused modules). It also removes the filesystem overhead of resolving and opening other modules.

Would bundling be useful in other interpreted languages?

I suppose you may count JVM's compilation to bytecode as being very similar.

76
submitted 1 year ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

What projects are out there seeking to innovate in the terminal and command line space, and improve or revolutionize the terminal environment?

  • NuShell is one such example, a shell that uses structured data in its pipelines. Many other experimental shells out there innovating in different spaces.
  • An even more daring example is DomTerm. It's a terminal emulator with more rich rendering. Supports rich text, images, etc while maintaining xterm compatibility.

Please do not shy from answering projects that are very experimental, early stage, break a lot of backwards compatibility or radically change the current way of doing things.

28
submitted 1 year ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

Most applications provide you configuration files that are data / text based. Whether it is toml, JSON, yaml or some other format, you are usually defining values for pre-determined keys and that's all.

This makes sense for many applications, but involved applications have explored configurations that make use of scripting. For example, vim uses VimScript, neovim uses Lua, but vscode uses json (as far as I remember), and Helix (vim inspired editor) argues editor configurations must be data, not scripting, and uses toml.

many tiling window managers use various programming languages (Qtile uses python, xmonad uses Haskell, Awesome uses Lua) while others stick to data configuration (i3).

Do you think that scriptable configuration is over-engineered and brings weaknesses, or is it warranted and grants the user power in these big applications? What are the benefits of scriptable configurations?

82
submitted 1 year ago* (last edited 1 year ago) by cyclohexane@lemmy.ml to c/linux@lemmy.ml

So apparently there are two editors inspired by vim, but built from the ground up (as opposed to neovim, a vim fork that seeks to improve on top of vim).

I've heard of Helix several times prior, but it never quite attracted me. Seemed like vim, but different key bindings and much worse plugin system. It also has different visual and normal modes than vim, but it didn't quite click with me. I do like it's multi-cursor ability though.

Then it turns out that Helix was also inspired by not just vim, but also kakoune. Kakoune also has different keybindings, and different modes, but its different modes make sense to me. It fuses visual and normal mode into one. Your normal mode is for both navigation and selection.

Kakoune promotes the idea that you should visually see the text you're operating on before running the command. You know how in vim, "dd" deletes a line, "dw" deletes a word, and "d$" deletes to the end of the line? In vim, you don't see what you're deleting before its gone (which is fine and works for many). In kakoune, the selection happens first before the action. So you select the word or the line, and then you delete.

But what I found to be Kakoune's killer feature was its shell integration. Kakoune seemlessly integrates into the unix shell, allowing you to offload many tasks to it. For example, instead of it having a built-in sort command, you use the unix sort command to sort your lines.

I'm surprised kakoune isn't more popular. Yes, it is still in a much earlier phase than vim, and the ecosystem is far less mature, but I am surprised to see Helix gaining more traction.

I'm still very new to kakoune and exploring it. But I like it a lot so far.

90
submitted 1 year ago by cyclohexane@lemmy.ml to c/linux@lemmy.ml

Hi all,

I am looking for recommendations on resources to learn Linux networking. I am primarily hoping for text resources such as books, guides, blog series, articles, etc. I have trouble focusing on videos.

I am mainly targeting linux networking topics, such as how the linux networking stack works, and things like iptables, network namespaces, network interfaces, sockets, NAT, firewalls, internal IP-addressing, subnetting, routing, proxying, internal DNS, and anything that I may not know exists but is related to these concepts and linux networking in general.

Any recommendations?

view more: ‹ prev next ›

cyclohexane

joined 2 years ago
MODERATOR OF