sxan

joined 3 years ago
[–] sxan@midwest.social 30 points 1 month ago (1 children)

This is exactly what establishment Democrats and AIPAC were afraid of. Not Mamdani himself, as mayor of NYC, but a normalization of more progressive candidates.

I love it. Be prepared for the massive media campaign though. If we thought the smear against Mamdani was bad, if he wins the general it's going to be a frenzy.

[–] sxan@midwest.social 6 points 1 month ago (2 children)

My recommendation is to put all of the variables in an environment file, and use systemd's EnvironmentFile (in [Service] to point to it.

One of my backup service files (I back up to disks and cloud) looks like this:

[Unit]
Description=Backup to MyUsbDrive
Requires=media-MyUsbDrive.mount
After=media-MyUsbDrive.mount

[Service]
EnvironmentFile=/etc/backup/environment
Type=simple
ExecStart=/usr/bin/restic backup --tag=prefailure-2 --files-from ${FILES} --exclude-file ${EXCLUDES} --one-file-system

[Install]
WantedBy=multi-user.timer

FILES is a file containing files and directories to be backed up, and is defined in the environment file; so is EXCLUDES, but you could simply point restic at the directory you want to back up instead.

My environment file looks essentially like

RESTIC_REPOSITORY=/mnt/MyUsbDrive/backup
RESTIC_PASSWORD=blahblahblah
KEEP_DAILY=7
KEEP_MONTHLY=3
KEEP_YEARLY=2
EXCLUDES=/etc/backup/excludes
FILES=/etc/backup/files

If you're having trouble, start by looking at how you're passing in the password, and whether it's quoted properly. It's been a couple of years since I had this issue, but at one point I know I had spaces in a passphrase and had quoted the variable, and the quotes were getting passed in verbatim.

My VPS backups are more complex and get their passwords from a keystore, but for my desktop I keep it simple.

[–] sxan@midwest.social 2 points 1 month ago (3 children)

I hope this isn't a step towards replacing the native app with an SPA.

[–] sxan@midwest.social 1 points 1 month ago (1 children)

I mean, you're not wrong. I don't think it's as simple, and again it's because of AIPAC. Money greatly influences elections in the US, and AIPAC has a bunch of it, while the anti-genocide group coughed up relatively none. Politicians are going to be scared of AIPAC threatening to throw all their money into their opponent's war chests. It's a kind of "hate the game, not the player" situation, except that I don't really believe that slogan: politicians should have stronger ethics. But when it comes down to brass tacks, and you believe that you're going to sacrifice a seat to Republicans by digging in your heels on Gaza because a well-funded special interest group is going to side with your opponent, it's not a black and white decision.

It should be. It should be more simple, but it won't be as long as money plays such an outsized role in politics.

[–] sxan@midwest.social 2 points 1 month ago (3 children)

Who cares about neighbour kidnapping.

Probably all those people who voted. And now, as a consequence, we still have genocide and also deportation of anybody who isn't white, normalization of violence against minorities, and a convicted felon and molester for president.

[–] sxan@midwest.social 2 points 1 month ago (1 children)

Your argument doesn't agree with my preconceived opinion that supports my self-centered world view, so I'm going to ignore it and look for another comment that does and upvote that one.

[–] sxan@midwest.social 4 points 1 month ago (5 children)

I'm afraid to vote for who I want to, like I'm afraid to not pay my taxes, or afraid to dive 60mph in a residential neighborhood. Does make it a dictatorship? I think the paramilitary abducting people off the streets and deporting them without due process is more of a bellwether for dictatorship than the fact that our system of voting - FPTP - means that you have to vote strategically if you don't want the worst outcome.

[–] sxan@midwest.social 2 points 1 month ago (7 children)

Yet Democrats for some mythical reason refuse to change their stance. (corruption)

This strategy worked pretty well for Republicans.

Things are fucked up. I see progress; I fear it's too slow, and we'll be in a dictatorship before we can repair our democracy.

[–] sxan@midwest.social 2 points 1 month ago (9 children)

Yup, agreed.

We're making progress in the US. IRV is slowly gaining ground at the grass roots, which I believe is a wise strategy; my concern is that it'll take too long. With proportional represention and balanced voting, and eliminating the electoral college, many of the issues we have will be mitigated. IRV isn't the best, but it's a huge step towards getting out of the cycle of voting for the lesser evil, the need to appeal to the base, and the inability to elect anyone who doesn't toe the party line. We still need to address the issues introduced by Citizens United, and the outsized influence in politics of special interests like AIPAC, which I suspect is behind much of the pussyfooting around the genocide; RCV won't solve that. RCV won't solve congresspersons doing inside trading.

But even if we fix some of the processes, I'm still concerned about the fact that enough people voted for a convicted, unrepentant felon and traitor that it was possible to believably fudge the election enough for him to win (if you believe some of the questions about 2024). It's conceivable that with IRC someone more leftist than Harris could have won, but I doubt it. The scales are too unbalanced; the votes in the center of the country count more than the votes on the coasts, and there's too much opportunity for voting shenanigans that go entirely unchallenged by the left/progressives/liberals.

I agree that we have important disagreements, but I also think that as long as the left is divided, they stand no chance of winning, which means the greater evil always wins.

[–] sxan@midwest.social 9 points 1 month ago (11 children)

I feel as if there's a concerted effort to spread internecine conflict and sectarianism within the liberal community - to divide.

However, I have to agree with you here: words matter, and it's not a good look for Bernie to skirt the issue, deflect, and thereby sugarcoat what's happening.

"Horrific" is a weaker word than "genocide." It's absolutely sugarcoating to call genocide by a weaker word.

He hasn't used the term "war crimes" yet, either, has he? Thing is, as long as he avoids using these terms, he gives a legal and moral pass to the people perpetrating the crimes.

[–] sxan@midwest.social 3 points 1 month ago* (last edited 1 month ago) (1 children)

This seriously got an out-loud chuckle from me. It's funny, because it's true! Thanks!

[–] sxan@midwest.social 3 points 1 month ago

Sourcehut also supports Mercurial, so you also have an option to the herd mentality.

Sourcehut also has zero, or almost zero, JavaScript in the interface, so it doesn't suck

Sourcehut is also componentized, so you can mix and match the pieces you want or need:

  • VCS hosting
  • masking list management
  • issue management
  • build server
  • man server

Sourcehut is by far the best hosted VCS option at the moment. The Mercurial support alone puts it miles ahead of the others, which are all hobbled by tight coupling to git.

 

Ok, Lemmy, let's play a game!

Post how many languages in which you can count to ten, including your native language. If you like, provide which languages. I'm going to make a guess; after you've replied, come back and open the spoiler. If I'm right: upvote; if I'm wrong: downvote!

My guess, and my answer...My guess is that it's more than the number of languages you speak, read, and/or write.

Do you feel cheated because I didn't pick a number? Vote how you want to, or don't vote! I'm just interested in the count.

I can count to ten in five languages, but I only speak two. I can read a third, and I once was able to converse in a fourth, but have long since lost that skill. I know only some pick-up/borrow words from the 5th, including counting to 10.

  1. My native language is English
  2. I lived in Germany for a couple of years; because I never took classes, I can't write in German, but I spoke fluently by the time I left.
  3. I studied French in college for three years; I can read French, but I've yet to meet a French person who can understand what I'm trying to say, and I have a hard time comprehending it.
  4. I taught myself Esperanto a couple of decades ago, and used to hang out in Esperanto chat rooms. I haven't kept up.
  5. I can count to ten in Japanese because I took Aikido classes for a decade or so, and my instructor counted out loud in Japanese, and the various movements are numbered.

I can almost count to ten in Spanish, because I grew up in mid-California and there was a lot of Spanish thrown around. But French interferes, and I start in Spanish and find myself switching to French in the middle, so I'm not sure I could really do it.

Bonus question: do you ever do your counting in a non-native language, just to make it more interesting?

 

What are you folks using for self-hosted single sign-on?

I have my little LDAP server (lldap is fan-fucking-tastic -- far easier to work with than OpenLDAP, which gave me nothing but heartburn). Some applications can be configured to work with it directly; several don't have LDAP account support. And, ultimately, it'd be nice to have SSO - having the same password everywhere if great, but having to sign in only once (per day or week, or whatever) would be even nicer.

There are several self-hosted Auth* projects; which is the simplest and easiest? I'd really just like a basic start-it-up, point it at my LDAP server, and go. Fine grained ACLs and RBAC support is nice and all, but simplicity is trump in my case. Configuring these systems is, IME, a complex process, with no small numbers of dials to turn.

A half dozen users, and probably only two groups: admin, and everyone else. I don't need fancy. OSS, of course. Is there any of these projects that fit that bill? It would seem to be a common use case for self-hosters, who don't need all the bells and whistles of enterprise-grade solutions.

 

Edit 2024-10-01

Another person posted about a similar need, and I decided to create a matrix document to track it, in the hope that those of us looking for this specific use case could come up with the best solution. The idea here is that, while many OSS social media projects are capable of being used like a Fcbook wall, they don't all necessarily provide an ideal user experience. Feature set is not equivalent to being designed for a specific use case, and the desired workflow should be the primary means of interacting with the service. The (for now) open document tracking this is here.

I'm a little surprised I can't find any posts asking this question, and that there doesn't seem to be a FAQ about it. Maybe "Facebook" covers too many use cases for one clean answer.

Up front, I think the answer for my case is going to be "Friendica," but I'm interested in hearing if there are any other, better options. I'm sure Mastodon and Lemmy aren't it, but there's Pixelfed and a dozen other options with which I'm less familiar with.

This mostly centers around my 3-y/o niece and a geographically distributed family, and the desire for Facebook-like image sharing with a timeline feed, comments, likes (positive feedback), that sort of thing. Critical, in our case, is a good iOS experience for capturing and sharing short videos and pictures; a process where the parents have to take pictures, log into a web site, create a post, attach an image from the gallery is simply too fussy, especially for the non-technical and mostly overwhelmed parents. Less important is the extended family experience, although alerts would be nice. Privacy is critical; the parents are very concerned about limiting access to the media of their daughter that is shared, so the ability to restrict viewing to logged-in members of the family is important.

FUTO Circles was almost perfect. There was some initial confusion about the difference between circles and groups, but in the end the app experience was great and it accomplished all of the goals -- until it didn't. At some point, half of the already shared media disappeared from the feeds of all of the iOS family members (although the Android user could still see all of the posts). It was a thoroughly discouraging experience, and resulted in a complete lack of faith in the ecosystem. While I believe it might be possible to self-host, by the time we decided that everyone liked it and I was about to look into self-hosting our own family server (and remove the storage restrictions, which hadn't yet been reached when it all fell apart), the iOS app bugs had cropped up and we abandoned the platform.

So there's the requirements we're looking for:

  • The ability to create private, invite-only groups/communities
  • A convenient mobile capture+share experience, which means an app
  • Reactions (emojis) & comment threads
  • Both iOS and Android support, in addition to whatever web interface is available for desktop use

and, given this community, obviously self-hostable.

I have never personally used Facebook, but my understanding is that it's a little different in that communities are really more like individual blogs with some post-level feedback mechanisms; in this way, it's more like Mastodon, where you follow individuals and can respond to their posts, albeit with a loosely-enforced character limit. And as opposed to Lemmy, which while moderated, doesn't really have a main "owner" model. I can imagine setting up a Lemmy instance and creating a community per person, but I feel as if that'd be trying to wedge a square peg into a round hole.

Pixelfed might be the answer, but from my brief encounter with it, it feels more like a photo-oriented Mastodon, then a Facebook wall-style experience (it's Facebook that has "walls", right?).

So back to where I started: in my personal experience, it seems like Friendica might be the best fit, except that I don't use an iPhone and don't know if there are any decent Friendica apps that would satisfy the user experience we're looking for; honestly, I haven't particularly liked any of the Android apps, so I don't hold out much hope for iOS.

Most of the options speak ActivityPub, so maybe I should just focus on finding the right AP-based mobile client? Although, so far the best experience (until it broke) has been Circles, which is based on Matrix.

It's challenging to install and evaluate all of the options, especially when -- in my case -- to properly evaluate the software requires getting several people on each platform to try and see how they like it. I value the community's experience and opinions.

view more: next β€Ί