cyclohexane

joined 2 years ago
MODERATOR OF
[–] [email protected] 2 points 1 week ago

Oh no, now nostr is ruined

[–] [email protected] 6 points 1 week ago

And you'd still have federation issues, so doesn't solve OP's problem.

[–] [email protected] 10 points 1 week ago

Actually being able to self host and federate, and without any dependence on the main instance.

And ability to federate with other open and federated services, like how mastodon can federate with so many others like lemmy and pixelfed.

[–] [email protected] 3 points 1 week ago

Depends on the distribution, many package managers can filter by license. So you can find anything that doesn't have an open source license.

[–] [email protected] 2 points 1 week ago

So what happens, does it just not boot? Any error messages?

[–] [email protected] 3 points 1 week 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.

[–] [email protected] 3 points 1 week ago (1 children)

OpenRC btw 😁

[–] [email protected] 2 points 1 week 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.

[–] [email protected] 15 points 1 week ago (5 children)

I use gentoo btw

[–] [email protected] 5 points 1 week 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.

[–] [email protected] 2 points 1 week ago

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

[–] [email protected] 4 points 1 week 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.

 

I am looking to contribute to striker funds, if possible. I am located in the US, hence why I choose it.

I am hoping for striker funds that would be effective enough to make change. In other words, they may be the last thing a group of workers needed to decide to strike.

I am hoping the fund is efficient in managing its funds, rather than a significant fraction going to administrative costs. Very preferred if the fund's financials are fully transparent.

Any recommendations?

 

Can anyone recommend cheap laptops that have good build quality and see lightweight?

I aim to use it for programming, but I connect to my desktop for most hefty work so it doesn't need to have solid performance. 8 GB RAM, 256 GB storage are enough for me. a lower grade CPU would still be good; a i3 that's 6 cores is enough.

What's really important to me is build quality, especially the keyboard. I also don't want it to be big. 13" would be enough, but not too picky here.

Any recommendations? And are there any communities that are better to ask this in?

Budget: I am hoping to pay $400 or less, but willing to pay $1000 or even more if it's justified or the value is worthwhile

OS: Linux. I can install it myself.

80
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

Tiling window manager users: how exactly do you use yours?

Do you have advanced keybindings for bringing up frequently used programs?

Are there less common layouts you use frequently?

Do you use any advanced or fancy features?

 

Context

I want to host public-facing applications on a server in my home, without compromising security. I realize containers might be one way to do this, and want to explore that route further.

Requirements

I want to run applications within containers such that they

  • Must not be able to interfere with applications running on host
  • Must not be able to interfere with other containers or applications inside them
  • Must have no access or influence on other devices in the local network, or otherwise compromise the security of the network, but still accessible by devices via ssh.

Note: all of this within reason. I understand that sometimes there may be occasional vulnerabilities, like in kernel for example, that would eventually get fixed. Risks like this within reason I am willing to accept.

What I found so far

  • Running containers in rootless mode: in other words, running the container daemon with an unprivileged host user
  • Running applications in container under unprivileged users: the container user under which the container is ran should be unprivileged
  • Networking: The container's networking must be restricted. I am still not sure how to do this and shall explore it more, but would appreciate any resources.

Alternative solution

I have seen bubblewrap presented as an alternative, but it seems like it is not intended to be used directly in this manner, and information about using it for this is scarce.

 

Image Alt Text: "After downloading a 2.5GB movie

Me: Presses play Movie unsupported file" A person is shown with eyes on her laptop punching the wall beside her, causing it to crack.

 
 

This is a major escalation that could greatly expand the war and drag hezbollah deeper into the war, which was already involved in skirmishes with Israel in Lebanese regions that Israel occupies.

Note: the verbiage of the article is minimizing the focus on Israel, and they spend half the article justifying the attack as "not an attack on Israel" an effort to minimize how much of an escalation this is.

 

EDIT: I enabled CONFIG_MSDOS_PARTITION and that caused it to work. It had nothing to do with the device itself but the partition type on the sd card.

Thank you do much rattking for the help!

Original post:

Hi all, I am using a custom configured linux kernel (Gentoo), with very few things enabled. It has done me very well so far and taught me a bunch, but there's one small issue I have been having lately that is annoying. My SD-card reader (a USB device) is not working, but it works perfectly fine on my arch linux laptop without any kernel configurations.

Is it possible to tell which drivers or kernel configurations I need by looking at the laptop that is working?

More context about the issue

On the machine where it is not working, after plugging the device in, I see this in lsblk output:

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    1  59.5G  0 disk 
nvme0n1     259:0    0 400G  0 disk 
├─nvme0n1p1 259:1    0     1G  0 part /boot
└─nvme0n1p2 259:2    0 400G  0 part /

The device does show sda but no sda/sda1. This is opposite to the laptop, where I do see a sda1 below the sda device, which I can mount using mount /dev/sda1 /mnt/point

What I tried

I tried enabling the following kernel configurations: MMC MMC_BLOCK MMC_SDHCI MMC_SDHCI_PCI MMC_RICOH_MMC MMC_SDHCI_ACPI

Still, this did not change the result.

I tried looking into the logs, but could not find anything interesting. I am using the sysklogd system logger instead of systemd's journalctl

The reader I bought

I bought this a long time ago from amazon: https://algopix.com/products/B08N4N7Q7J-zhoubin-usb-30-sd-card-reader-for-sdxc-sdhc-sd-mmc-rsmmc-micro-sdxc-micro-sd

Yes I know I cheaped out. But it worked for me until I tried it on this one computer, so I wish to make it work.

Final Question

How can I make this work?

 

there are more options that I thought. Any reason to go with Tridactyl's competitors?

 

it seems ridiculous that we have to embed an entire browser, meant for internet web browsing, just to create a cross-platform UI with moderate ease.

Why are native or semi-native UI frameworks lagging so far behind? am I wrong in thinking this? are there easier, declarative frameworks for creating semi-native UIs on desktop that don't look like windows 1998?

 

I am wanting to self host a fediverse instance. I don't hope to make it big. Hoping for 200 users at most, and I won't advertise it heavily so it'll probably be a while before it gets there.

Is it a bad idea to host something like this on local hardware at home? I have a lot of local-only self hosted services, and I wouldn't want those to be compromised.

But my biggest fear is overloading my network. I already don't get the fastest signal in some parts of my house, and I am worried the extra traffic might put more pressure on the network.

What are your thoughts on hosting local? Should I just avoid the headache and host on public instance?

 

Something small and 2 or 4 GB RAM. Raspberry pi's compute power is good enough for me, I'm not doing anything too intensive.

Is raspberry pi 4 still the best answer?

I am a tinkerer and don't mind tinkering. I typically use Gentoo Linux as main OS. I also don't mind ARM or other architectures. I've been eyeing the RockPro64 as well.

view more: ‹ prev next ›