[-] CMahaff@lemmy.world 1 points 1 week ago

It looks like there are instructions here about hosting your own flatpak instance: https://docs.flatpak.org/en/latest/hosting-a-repository.html

[-] CMahaff@lemmy.world 2 points 2 weeks ago

Doubling what Klaymore said, I've seen this "just work" as long as all partitions have the same password, no key files necessary.

That said, if you needed to use a key file for some reason, that should work too, especially if your root directory is one big partition. Keep in mind too that the luks commands for creating a password-based encrypted partition vs a keyfile-based encrypted partition are different, so you can't, for example, put your plaintext password into a file and expect that to unlock a LUKS partition that was setup with a password.

But the kernel should be trying to mount your root partition first at boot time where it will prompt for the password. After that it would look to any /etc/crypttab entries for information about unlocking the other partitions. In that file you can provide a path to your key file, and as long as it's on the same partition as the crypttab it should be able to unlock any other partitions you have at boot time.

It is also possible, as one of your links shows, to automatically unlock even the root partition by putting a key file and custom /etc/crypttab into your initramfs (first thing mounted at boot time), but it's not secure to do so since the initramfs isn't (and can't be) encrypted - it's kind of the digital equivalent of hiding the house key under the door mat.

[-] CMahaff@lemmy.world 3 points 3 weeks ago

Another solution to this situation is to squash your changes in place so that your branch is just 1 commit, and then do the rebase against your master branch or equivalent.

Works great if you're willing to lose the commit history on your branch, which obviously isn't always the case.

[-] CMahaff@lemmy.world 3 points 3 weeks ago* (last edited 3 weeks ago)

Sounds like a problem with Memmy. Does this link work? https://lemm.ee/c/sfah@hilariouschaos.com

You should be able to search communities in your app and could have searched "sfah@hilariouschaos.com" too.

But basically communities on Lemmy are in the form of "name@host". The "name" can be whatever someone wants, and the "host" is the website / Lemmy instance where that community originates from. But because it is federated it's all available everywhere (generally speaking). For example, if you visit https://lemmy.world/c/sfah@hilariouschaos.com it should be the same content just loaded via lemmy.world instead of lemme.ee. However if theoretically someone went and made a "sfah@lemmy.world" community, that would be a completely separate community from the above, hosted on a different Lemmy instance.

[-] CMahaff@lemmy.world 11 points 1 month ago

Out of curiosity, what content are you looking for? Discovery on Lemmy can be a problem, but sometimes the communities are there and even active, just buried.

But may I also suggest searching by Top Day/12-hour/6-hour to see the most active posts. Lemmy's scaled algorithm still doesn't get it quite right IMO.

[-] CMahaff@lemmy.world 12 points 1 month ago

The CEO said they were going to add pay-walled subreddits at an earnings call.

So... Yep.

[-] CMahaff@lemmy.world 6 points 1 month ago

I know for me, at least with gnome, toggling between performance, balanced, and battery saver modes dramatically changes my battery life on Ubuntu, so I have to toggle it manually to not drain my battery life if it's mostly sitting there. I don't know if Mint is the same, but just throwing out the "obvious" for anyone else running Linux on a laptop.

[-] CMahaff@lemmy.world 23 points 2 months ago

Found a blog post that gives a quick overview of how to do git via email in general: https://peter.eisentraut.org/blog/2023/05/09/how-to-submit-a-patch-by-email-2023-edition

So at least from my understanding you'd make your changes, email the contents of the patch to the maintainer, and then they'd apply it on their side, do code review, email you comments, etc. until it was in an acceptable state.

There's also the full kernel development wiki that goes into all the specifics: https://www.kernel.org/doc/html/v4.16/process/howto.html

(I never got through the whole thing)

[-] CMahaff@lemmy.world 93 points 2 months ago

I'll also throw out: aging infrastructure, build systems, coding practices, etc.

I looked into contributing to the kernel - it's already an uphill battle to understand such a large, complex piece of software written almost entirely in C - but then you also need to subscribe to busy mailing lists and contribute code via email, something I've never done at 30 and I'm betting most of the younger generation doesn't even know is possible. I know it "works" but I'm really doubting it's the most efficient way to be doing things in 2024 - there's a reason so many infrastructure tools have been developed over the years.

The barriers to entry for a lot of projects is way too high, and IMO a lot of existing "grey" maintainers, somewhat understandably, have no interest in changing their processes after so much time. But if you make it too hard to contribute, no one will bother.

[-] CMahaff@lemmy.world 4 points 4 months ago* (last edited 4 months ago)

Out of curiosity, what switch are you using for your setup?

Last time I looked, I struggled to find any brand of "home tier" router / switch that supported things like configuring vlans, etc.

[-] CMahaff@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

Maybe I am not thinking of the access control capability of VLANs correctly (I am thinking in terms of port based iptables: port X has only incoming+established and no outgoing for example).

I think of it like this: grouping several physical switch ports together into a private network, effectively like each group of ports is it's own isolated switch. I assume there are routers which allows you to assign vlans to different Wi-Fi access points as well, so it doesn't need to be literally physical.

Obviously the benefits of vlans over something actually physical is that you can have as many as you like, and there are ways to trunk the data if one client needs access to multiple vlans at once.

In your setup, you may or may not benefit, organizationally. Obviously other commenters have pointed out some of the security benefits. If you were using vlans I think you'd have at a minimum a private and public vlan, separating out the items that don't need Internet access from the Internet at all. Your server would probably need access to both vlans in that scenario. But certainly as you say, you can probably accomplish a lot of this without vlans, if you can aggressively setup your firewall rules. The benefit of vlans is you would only really need to setup firewall rules on whatever vlan(s) have Internet access.

[-] CMahaff@lemmy.world 3 points 5 months ago

I loved the original Hades, but I played it after it left Early Access.

It's going to be really hard to resist jumping in early with Hades II.

1
submitted 1 year ago by CMahaff@lemmy.world to c/lemmydev@lemm.ee

You will want to change your Cargo.toml to point to the Lemmy Github repository + either a specific tag or branch for the version you want to target.

See the examples here: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories

542
submitted 1 year ago* (last edited 1 year ago) by CMahaff@lemmy.world to c/youshouldknow@lemmy.world

(Full disclosure: I made one of the tools)

cross-posted from: https://lemmy.ca/post/1292268

lemmy.world cross-post link: https://lemmy.world/post/1251192

With the vlemmy situation ongoing, i feel like it would be useful to put this here (i did not make either of these tools)

Lemmy Account Settings Instance Migrator (LASIM) copies all your subscribed communities and blocks and lets you upload them to another account, in just a few clicks

lemmy-migrate does the same thing but without a GUI and support for uploading your backup to multiple accounts at once

16
submitted 1 year ago by CMahaff@lemmy.world to c/lemmy@lemmy.ml

See the linked page for information about how it works, limitations, etc. and I’ll of course answer any questions below!

Right now supports just Lemmy BE 0.18.1 (rc9, rc10, and final release).

37
submitted 1 year ago by CMahaff@lemmy.world to c/lemmy@lemmy.ml

cross-posted from: https://lemmy.world/post/1171660

cross-posted from: https://lemmy.world/post/1060796

See the linked page for information about how it works, limitations, etc. and I'll of course answer any questions below!

As I have stated in the release section, this software is alpha so please don't be afraid to report bugs!

Releases are here: https://github.com/CMahaff/lasim/releases

Right now the program only supports Lemmy BE 0.18.1-rc9, but new releases will try to support new versions as they are released. The Lemmy API is changing a ton right now, but I'll try to keep up.

Note: Supports 0.18.1-rc9+ - I have tested it with rc9, rc10, and the final release of 0.18.1.

9
submitted 1 year ago* (last edited 1 year ago) by CMahaff@lemmy.world to c/lemmy_support@lemmy.ml

Or have I misunderstood?

I suspect the response will be that content on your instance should always be considered public, and that you can't really stop a bad actor from spinning up fake instances or scraping your site for the data regardless, but I just wanted to confirm.

32
submitted 1 year ago by CMahaff@lemmy.world to c/fediverse@lemmy.ml

Or have I misunderstood entirely?

180
submitted 1 year ago by CMahaff@lemmy.world to c/general@lemmy.world

See the linked page for information about how it works, limitations, etc. and I'll of course answer any questions below!

As I have stated in the release section, this software is alpha so please don't be afraid to report bugs!

Releases are here: https://github.com/CMahaff/lasim/releases

Right now the program only supports Lemmy BE 0.18.1-rc9, but new releases will try to support new versions as they are released. The Lemmy API is changing a ton right now, but I'll try to keep up.

16
The Fall of Reddit (lemmy.world)
1

I'm working on a little tool for Lemmy using the rust backend (lemmy_api_common crate 0.17.4).

I've tested it against some 0.17.4 instances with no issues, but yesterday I went to test it more thoroughly on the official testing instances and had JSON parsing issues. I realized later that these servers are currently running 0.18.X.

Is this a bug? Or are we expecting that even within the "v3" APIs that you'll have breaking changes between Lemmy versions?

5
submitted 1 year ago* (last edited 1 year ago) by CMahaff@lemmy.world to c/selfhosted@lemmy.world

Over the next week or so I'm sure a lot of people are going to try spinning up Lemmy instances - I've certainly been looking at it.

Does anyone have any recommendations for a VPS provider / resource allocation?

From what I have read, it sounds like you're going to want a host that focuses on storage / bandwidth (at least if you are allowing image upload), but maybe those of you already operating an instance have a different opinion?

2
submitted 1 year ago by CMahaff@lemmy.world to c/asklemmy@lemmy.ml

This could be either site tools or popular Reddit bots that need to be ported over.

I think a big reason so many subs are going dark tomorrow is due in large part to how hard Reddit is about to make moderation - so it might make sense to make this an area of focus for Lemmy.

view more: next ›

CMahaff

joined 1 year ago