sparky

joined 2 years ago
MODERATOR OF
[–] sparky@lemmy.federate.cc 3 points 1 day ago (1 children)

I would be interested to hear trans’ users opinions on whether they view themselves and/or prefer to be treated as literally the same as the other biological gender, or something different.

E.g., male-to-female trans folks, do you hold that there is only one kind of woman and you are no different from those born as women?

Or do you think that transgender people have a fundamentally different experience, and thus trans women are a little different category of women?

I don’t mean any offense by the question, I’d really just like to know how people see themselves.

[–] sparky@lemmy.federate.cc 10 points 1 day ago

Makes sense considering both NPR and PBS are reputable news sources that report fairly and do good journalism. IE, they tell the truth and can’t be paid off. Exactly what Trump hates.

[–] sparky@lemmy.federate.cc 16 points 1 day ago (3 children)

yeah I think this distinction is important. we don’t need to kill the working professionals who saved money and invested wisely throughout their careers. many of those people will eventually be millionaires, but like, ones of millions.

once you get to hundreds of millions it starts to look like there was no possible moral way to arrive at that.

[–] sparky@lemmy.federate.cc 4 points 1 day ago* (last edited 1 day ago)

But the FrEe MaRkEt!! Or something. Yeah, I don’t miss the /r/conservative idiots either.

[–] sparky@lemmy.federate.cc 1 points 3 days ago

So basically the bluesky source code is now public domain?

[–] sparky@lemmy.federate.cc 18 points 1 week ago (24 children)

Are these pieces of junk for sale anywhere outside of Trumpistan? I travel all over the EU for work constantly and I’ve never see one over here, ever.

[–] sparky@lemmy.federate.cc 3 points 1 week ago

!remindme a few centuries

[–] sparky@lemmy.federate.cc 2 points 1 week ago

Lmao, perfect. Great movie, by the way.

[–] sparky@lemmy.federate.cc 3 points 1 week ago (2 children)

Yeah, but this is such a dumb take by the rich. They have to breathe the same air and drink the same water as everyone else. You don’t get to buy your way out of PFAs.

[–] sparky@lemmy.federate.cc 6 points 2 weeks ago (1 children)

Switch cards hold a maximum of 32GB, maybe that’s why? Although it seems no excuse for Switch 2, given it’s a whole new generation, why not support larger cards? I mean you can buy a 256GB microSD for $15, and that’s a private individual buying one; at scale, the memory can’t be too expensive..

[–] sparky@lemmy.federate.cc 1 points 2 weeks ago

I guess that makes sense

 
 

Just thought I'd share this since it's working for me at my home instance of federate.cc, even though it's not documented in the Lemmy hosting guide.

The image server used by Lemmy, pict-rs, recently added support for object storage like Amazon S3, instead of serving images directly off the disk. This is potentially interesting to you because object storage is orders of magnitude cheaper than disk storage with a VM.

By way of example, I'm hosting my setup on Vultr, but this applies to say Digital Ocean or AWS as well. Going from a 50GB to a 100GB VM instance on Vultr will take you from $12 to $24/month. Up to 180GB, $48/month. Of course these include CPU and RAM step-ups too, but I'm focusing only on disk space for now.

Vultr's object storage by comparison is $5/month for 1TB of storage and includes a separate 1TB of bandwidth that doesn't count against your main VM, plus this content is served off of Vultr's CDN instead of your instance, meaning even less CPU load for you.

This is pretty easy to do. What we'll be doing is diverging slightly from the official Lemmy ansible setup to add some different environment variables to pict-rs.

After step 5, before running the ansible playbook, we're going to modify the ansible template slightly:

cd templates/

cp docker-compose.yml docker-compose.yml.original

Now we're going to edit the docker-compose.yml with your favourite text editor, personally I like micro but vim, emacs, nano or whatever will do..

favourite-editor docker-compose.yml

Down around line 67 begins the section for pictrs, you'll notice under the environment section there are a bunch of things that the Lemmy guys predefined. We're going to add some here to take advantage of the new support for object storage in pict-rs 0.4+:

At the bottom of the environment section we'll add these new vars:

  - PICTRS__STORE__TYPE=object_storage
  - PICTRS__STORE__ENDPOINT=Your Object Store Endpoint
  - PICTRS__STORE__BUCKET_NAME=Your Bucket Name
  - PICTRS__STORE__REGION=Your Bucket Region
  - PICTRS__STORE__USE_PATH_STYLE=false
  - PICTRS__STORE__ACCESS_KEY=Your Access Key
  - PICTRS__STORE__SECRET_KEY=Your Secret Key

So your whole pictrs section looks something like this: https://pastebin.com/X1dP1jew

The actual bucket name, region, access key and secret key will come from your provider. If you're using Vultr like me then they are under the details after you've created your object store, under Overview -> S3 Credentials. On Vultr your endpoint will be something like sjc1.vultrobjects.com, and your region is the domain prefix, so in this case sjc1.

Now you can install as usual. If you have an existing instance already deployed, there is an additional migration command you have to run to move your on-disk images into the object storage.

You're now good to go and things should pretty much behave like before, except pict-rs will be saving images to your designated cloud/object store, and when serving images it will instead redirect clients to pull directly from the object store, saving you a lot of storage, cpu use and bandwidth, and therefore money.

Hope this helps someone, I am not an expert in either Lemmy administration nor Linux sysadmin stuff, but I can say I've done this on my own instance at federate.cc and so far I can't see any ill effects.

Happy Lemmy-ing!

view more: next ›