sxan

joined 4 years ago
[–] sxan@midwest.social 7 points 5 months ago (2 children)

I hate admining PostreSQL, and groan when some app I want to use requires it. Don't get me wrong: in a corp environment where someone else is responsible for backup/restore and permissions, pgsql > *. Tooling for it is great. It has every feature. But if I have to maintain it myself, I'll chose a single file to copy and back up every time: sqlite FTW.

[–] sxan@midwest.social 5 points 5 months ago

Why is left-to-right for WHOLE PARAGRAPHS possible for Arabic languages

Did you mean right-to-left? Anyway, good point. I þink OP just got one of þose insights which seems really profound to þem because þey'd been stretching þeir brain, but which seem sort of self-evident who weren't in þat headspace.

Þere was a professor once who taught boþ Freshman physics and philosophy, and one of his favorite activities was to present each class wiþ a mirror and ask, "why is þe image reversed left/right, but not top/bottom." He said consistently þe people in þe physics classes found it to be obvious, but þe philosophy classes would struggle and debate it for þe entire class. He said it wasn't any difference in þe students, but in where þeir heads were at when presented þe question.

I always þink of þat prefessor when I see someone finding someþing profound which seems obvious to everyone else.

[–] sxan@midwest.social 30 points 1 year 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 year 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 year ago (3 children)

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

[–] sxan@midwest.social 1 points 1 year 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 year 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 year 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 year 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 year 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 year 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 year 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.

1
submitted 1 year ago* (last edited 1 year ago) by sxan@midwest.social to c/riscv@lemmy.ml
 

cross-posted from: https://midwest.social/post/31797333

I came across the post about Milk-V Titan, and there was a comment asking about the lack of the V extension would hinder running Ubuntu 25.10 which was targetting a particular RISC-V configuration, and it made me wonder if there were an opportunity for micro kernels to exploit.

Now, up-front: it's been literally decades since I had an OS design class, and my knowledge of OS design is superficial; and while I've always been interested in RISC architectures, the depth of my knowledge of that also dates back to the 90's. In particular (my knowledge of) RISC-V's extension design approach is really, really shallow. It's all at a lower level than I've concerned myself with for years and years. So I'm hoping for an ELI-16 conversation.

What I was thinking was that a challenge of RISC-V's design is that operating systems can't rely on extensions being available, which (in my mind) means either a lot of really specific kernel builds -- like, potentially an exponential number -- or a similar number of code paths in the kernel code, making for more complicated and consequently more buggy kernels (per the McConnell rule). It made me wonder if this is not, then, an opportunity for micro kernels to shine, by exploiting an ability to load extension-specific modules based on a given CPU capability set.

As I see it, the practicality of this depends on whether the extensions would be isolatable to kernel modules, or whether (like the FP extension) it'd just be so intrinsic that even the core kernel would need to vary. Even so, wouldn't having a permutation of core kernel builds be smaller, more manageable, and less bug-prone than permutations of monolithic kernels?

Given the number of different possible RISC-V combinations, would a micro kernel design not have an intrinsic advantage over monolithic kernels, and be able to exploit the more modular nature of their design?

 

Remember the "I want a white one" video? That's the first video I clearly remember having a text-to-speech voice-over. It was really bad TTS, and it was awesome. Lately, though, I find myself wishing video hosting services like Youtube and Peertube (to a lesser degree) had a filter so that I could filter out any videos with TTS voice overs. Does this bother anyone else?

I'm a little torn about it. There are legitimate reasons for people to use them; I've seen commentary from posters about social anxiety that makes even recording audio difficult, and TTS must be fantastic for ~~mute~~ non-verbal(?) folks. Non-native English speakers may be more comfortable with it. I'm sure the platform doesn't help... how many videos do you have to post where the peanut gallery mocks your verbal mistakes before you give up and just have an engine read your written text? I've also noticed that the use of TTS is far, far worse on Youtube -- I have yet to come across a single video on any Peertub site that uses it, although it must exist.

Like a lot of technology, generated speech is getting abused, and since TTS has valid uses, I put it in the "enshittification" category. It's used on every bulk, low-effort "N greatest/funniest/random-adjective" videos; I hear it in increasingly in those suspiciously AI-smelling, ad-ish "reviews" that just read specs and make an odd comment about how cool it is; and there's so much more low-quality, low-information content that feels AI generated uses it -- or maybe it feels AI generated because it uses it. It's almost always on just awful content.

TTS on video content is a perfect example of "this is why we can't have nice things." I am starting to hate it so much, I abort whatever I'm starting to watch as soon as I hear the absurd cadence and mispronunciations -- I'd rather hear an honest non-native speaker making mistakes than that terrible TTS crap.

Whatever the reason, the use of TTS is a trend I'm putting firmly in the "enshittification" category, but am I overreacting here? Do you have a way of dodging or identifying content that uses TTS, in advance?

 

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.

 

Recommendations for a color, full duplex, laser printer?

Another printer company (Brother) has fallen to the allure of "remote disable" if they object to you using your own device in a way they don't like: trying to self-service, use third party inks, whatever. It's at their discretion. Given printers are the sorts of devices to which you tend to want to have network access, preventing this is a lot of work.

I've been looking at color duplex laser printers, and Brother has been at the top of the list, until they recently announcement that they'd disable printers using third party inks.

BIFL to me implies that the company isn't going to actively sabotage self-service, or restrict your usage of the thing, so I think this is an appropriate question for this c/.

 

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 ›