communism

joined 2 years ago
[–] communism@lemmy.ml 1 points 3 hours ago

I mean, I only have one GPU, so if passthrough is required then that does make gaming more inaccessible.

[–] communism@lemmy.ml 3 points 11 hours ago (2 children)

I've never daily driven it as my main machine but I've used it as an auxiliary driver for a more high-security machine. Afaik things like gaming are sort of a no-go on Qubes still.

Qubes does not just do sandboxing. It runs all user programs in VMs, which adds non-negligible overhead and makes it an unsuitable OS for many more lightweight systems like laptops. And even if your PC can run Qubes without issue, you may not want that additional overhead if you want to do anything computationally intensive.

[–] communism@lemmy.ml 3 points 11 hours ago

Maybe block on your router and save your router password such that you need to jump through several hoops to unlock it, eg password saved in one password manager DB whose master password is in another DB whose password is in another DB, etc. If you have to unlock like 10 password databases to get into your router, you'll probably give up on whatever bad habit you were trying to do as it's too much effort.

[–] communism@lemmy.ml 19 points 20 hours ago

Enjoying the term daemond.

[–] communism@lemmy.ml 1 points 2 days ago

People do pick based on career (not sure about UK specifically but generally sperm recipients can see that kind of biographical info), but it's not like nutting in a cup is difficult, and someone might want sperm and not care what career the donor has. Why not just donate in case if someone wants it?

I'm not sure how long sperm lasts, but when I was doing egg retrieval I was told that frozen eggs can last at least 10 years, probably a lot longer but they only store them for 10 years as they have limited space. If sperm is similar then there's a decent enough chance someone will want to use it.

[–] communism@lemmy.ml 2 points 5 days ago (1 children)

I self-host on a VPS, so my off-site copy is the VPS, and my on-site copy is the emails downloaded to my email clients.

I figure that Proton or Tuta are probably still safer than Google.

Define "safer". If you are receiving unencrypted emails (which is the case in the vast majority of cases), there is nothing stopping Proton or Tuta from reading them. Fundamentally, if something arrives at a server unencrypted, the server can read it—nothing can be done about that.

If you're exchanging e2ee emails, then it doesn't matter if you use Google, because the body of the email can't be read by Google. A lot of metadata is required to be unencrypted though (this is the case for Proton and Tuta too).

I don't really see the benefit to using an email service like Proton or Tuta from a perspective of meaningful data privacy. If it were between e.g. Proton and Google I'd probably pick Proton to avoid my emails being used to serve me ads from Google, but I wouldn't have any illusions about Proton being able to read unencrypted incoming mail.

[–] communism@lemmy.ml 5 points 5 days ago (4 children)

Tbh for email I'd say don't bother with privacy as it wasn't meant to be private, as Dessalines said. If you care about data sovereignty (which is different to privacy, though often hand-in-hand), you can self-host email—it's not as hard as it's reputed to be. I've self-hosted my main email address for a couple years now and not had major hiccups. For the most part, after initial setup, it just runs. And if you're daunted by configuring it, there are out-of-the-box solutions like Mailcow you can use. I'd only really recommend it if you already have a VPS/home lab/etc where you already self-host things.

[–] communism@lemmy.ml 12 points 6 days ago (4 children)

He gets away with it because he makes a high quality OS that people want to use. I don't see it as much worse than e.g. using Linux when Torvalds is kind of an asshole.

[–] communism@lemmy.ml 6 points 1 month ago

Most animals don't use verbal communication. As an analogy, most humans don't use sign language. Imagine if someone wanted to create a human translator that recorded what humans do with their hands and translate them into meaning. There would be a lot of noise there because most humans don't talk with their hands, so most of it would be ascribing meaning that isn't there. Sometimes the person is just itching their back, or just doing the dishes, etc, not trying to say something. Similarly, most other animals vocalise for other reasons, not because they want to make a specific sound to communicate something.

[–] communism@lemmy.ml 5 points 1 month ago

It's their attack dog in the SWANA region. As Biden said, if Israel did not exist the US would have to create an Israel.

[–] communism@lemmy.ml 1 points 1 month ago

I don't think I'm familiar with the term. If it just means inherited wealth, though, I'm afraid that's a thing everywhere there's private property.

[–] communism@lemmy.ml -2 points 1 month ago (4 children)

You know that there are countries where the majority of people are Black (ie all of Africa...), or majority of people are Asian (ie all of Asia...), or majority of people are Hispanic (ie LatAm... not to mention that "Hispanic" is not a racial category in LatAm—there are white settlers, indigenous people, Black people, etc in LatAm too), right? You know that non-white countries also colonise and plunder, and may have colonial wealth from that (eg Japan)? You know that inequality and class exist in these countries and some families will be wealthy for the same reason that families are wealthy in majority-white countries? And you know that white supremacy is not the only racist system in the world—in a place where Hindu nationalism is the order of the day, for example, being a brown Hindu is not going to cause you disadvantages in society.

35
submitted 4 months ago* (last edited 4 months ago) by communism@lemmy.ml to c/linux@lemmy.ml
 

Is there a daemon that will kill any processes using above a specified % of CPU? I'm having issues where a system is sometimes grinding to a halt due to high CPU usage. I'm not sure what process is doing it (can't htop as system is frozen); ideally I'd like a daemon that automatically kills processes using more than a given % of CPU, and then logs what process it was for me to look back on later. Alternatively something that just logs processes that use a given % of CPU so that I may look back on it after restarting the system.

The system is being used as a server so it's unattended a lot of the time; it's not a situation where I did something on the computer and then CPU usage went up.

Edit: Thanks to the comments pointing out it might be a memory leak instead of CPU usage that's the issue. I've set up earlyoom which seems to have diagnosed the problem as a clamd memory leak. I've been running clamd on the server for ages without problems so might be the result of an update; I've disabled it for now, and will keep monitoring the situation to see if earlyoom catches anything else, or if the problem keeps occurring I'll try some of the other tools people have suggested.

 

I'm going to be delivering an online intro to programming session to a non-technical crowd who will be "following along at home". Because it's online, I can't provide them with machines that are already set up with an appropriate development environment.

I'm familiar with Linuxes and BSDs but honestly have no idea how to get set up with programming stuff on Windows or macOS which presumably most of these people will use, so I need something I can easily instruct them on how to install, and has good cross-platform support so that a basic programming lesson will work on whatever OS the attendees are running. Remember they are non-technical so may need more guidance on installation, so it should be something that is easy to explain.

My ideas:

  • C: surely every OS comes with a C compiler pre-installed? I know C code is more platform-specific, but for basic "intro to programming" programs it should be pretty much the same. I think it's a better language for teaching as you can teach them more about how the computer actually works, and can introduce them to concepts about memory and types that can be obscured by more high-level languages.

  • Python: popular for teaching programming, for the reasons above I'd prefer not to use Python because using e.g. C allows me to teach them more about how the computer works. You could code in Python and never mention types for instance. Rmemeber this is only an intro session so we're not doing a full course. But Python is probably easy to install on a lot of OSes? And of course easy to program in too.

  • Java: good cross-platform support, allows for teaching about types. Maybe a good compromise between the benefits outlined above for C and Python?

Any opinions?

68
submitted 9 months ago* (last edited 9 months ago) by communism@lemmy.ml to c/selfhosted@lemmy.world
 

I have a server with a bunch of services just as Docker containers. I see that Proxmox is popular among the self-hosting community. I was wondering why?

I understand that running things in a VM provides better security than running them in a container. But is the difference so important given the relatively low risk that an exploit happens inside a container that leads to doing damage to the host machine?

There's also obviously the additional overhead of using Proxmox. It wouldn't be an issue for me as I should have enough resources to, say replace all my Docker containers with VMs. I'm more wondering if the security difference is so massive, or if there is another reason I'm missing why people use Proxmox.

Or am I misunderstanding how people use Proxmox? I was assuming people would use it like how you use Docker, i.e. different services get their own VM/container. If you have a different kind of setup I'd be interested in hearing it.

Edit: I would appreciate if people stop being pedantic and actually read the post. Obviously I am aware that you can run containers in VMs, or containers on bare metal alongside VMs. That's not what the question is and you know it.

 

The issue with Google's personalised search results is, imo:

  1. Not only is it not opt-in, but you can't even opt out of it. Personalised search results should be opt-in and disabled by default.
  2. The data kept on you is used to sell you ads
  3. The data kept on you will be handed over to state entities fairly easily

Given those three problems, how feasible would it be to self-host a search engine that personalises your results to show you things that are more relevant to you? Avoiding issues 1 & 2 as you're self-hosting so presumably you have made the decisions around those two things. And issue 3 is improved as you can host it off-shore if you are concerned about your domestic state, and if you are legally compelled to hand over data, you can make the personal choice about whether or not to take the hit of the consequences of refusing, rather than with a big company who will obviously immediately comply and not attempt to fight it even on legal grounds.

A basic use-case example is, say you're a programmer and you look up ruby, you would want to get the first result as the programming language's website rather than the wikipedia page for the gemstone. You could just make the search query ruby programming language on any privacy-respecting search engine, but it's just a bit of QoL improvement to not have to think about the different ways an ambiguous search query like that could be interpreted.

 

I've finally started having some free time lately and have been working through my Steam library, most of which is Windows games I'm playing with Proton.

I wanted to install some mods, and wanted a mod manager for this. Nexus Mods has Vortex, which is not available for Linux. In any case, running Windows games on Linux through Proton on Steam is fairly specific; the game files will be at certain locations on a Linux filesystem, not at the same locations as they would be on a Windows filesystem. So I think I would need software that has specifically been designed for this use-case (Windows games from Steam running on Proton).

Are there any such mod managers out there? What do other people do when playing games on Linux? I can't be the only person who wants to play video games with mods.

 

One example is bread. I was baking bread the other day, and obviously the cost of the ingredients I put in the loaf are less than the cost of buying a loaf at the supermarket, but that doesn't include the cost of putting the oven on.

Or dry beans vs canned beans; does the cost of boiling the beans actually bring the cost up to be equivalent to canned beans?

I know that everyone's energy costs are different so it's not possible for someone to do the calculations for you, but I've never bothered to do them for my own case because bills I get from the energy company just tell me how much I owe them for the month, not "you put the oven on for 30 minutes on the 17th of June and that cost you X". It sounds like a headache to try calculate how much I pay for energy per meal. But if someone else has done that calculation for themselves I'd be interested to read it and see how it works out. My intuition is that, in general, it's cheaper to make things yourself (e.g. bread or beans like above), but I couldn't say that for sure without calculating, which as I said seems like it would be a pain in the ass.

 

Meaning that the author is maybe not very good at their craft, but inadvertently created a work with a lot more meaning than they intended, or they accidentally did something quite clever that they didn't mean to. Or maybe a work which is good in its own right but there's a particular "unofficial" interpretation which makes it so much better.

Obviously a bit of this question involves knowing authorial intentions, but in a lot of instances authors have been able to state that they did or didn't intend a particular interpretation.

 

It appears to work fine (it contains my home partition for my main machine I daily drive) and I haven't noticed signs of failure. Not noticeably slow either. I used to boot Windows off of it once upon a time which was incredibly slow to start up, but I haven't noticed slowness since using it for my home partition for my personal files.

Articles online seem to suggest the life expectancy for an HDD is 5–7 years. Should I be worried? How do I know when to get a new drive?

 

I was interested in hosting my own mail server that provides a similar level of privacy for users as Protonmail, ie the server admin cannot read any emails, even those which are not E2EE with PGP. Is there a self-hostable solution to this?

I'm aware the server admin can't read emails that were sent encrypted using the user's PGP key, but most emails I get are automated emails from companies/services/etc without the option to upload a public key to send the user encrypted email. If you're with a service like Protonmail, the server admin still cannot read even these emails.

view more: next ›