stinky

joined 1 year ago
MODERATOR OF
[–] stinky@redlemmy.com 2 points 3 months ago

Are you saying that you're an American? ..then why did you say "From a minority perspective?" you still haven't answered my question...

[–] stinky@redlemmy.com 2 points 3 months ago (2 children)

the exact same thing is true of your country :)

[–] stinky@redlemmy.com 2 points 3 months ago (4 children)

What does that mean?

[–] stinky@redlemmy.com 2 points 3 months ago (6 children)

I have respectful relationships with many Americans, none of whom "keep stabbing me in the back."

Where are you getting this from?

[–] stinky@redlemmy.com 1 points 3 months ago

Hi, wanted to ask how you want me to handle this report? https://i.ibb.co/rGRqTJTt/1.png

You reported me, on my own instance, to myself... guess I'm not sure what you want me to do here? Do you think "hostility" is a violation of my instance's sidebar rules? If not, can you tell me which of my own rules I've broken? I'm eager to hear your response. :)

[–] stinky@redlemmy.com 4 points 3 months ago

The same could be said of any person on Earth. Why single out one country?

[–] stinky@redlemmy.com 0 points 3 months ago (10 children)

There's no need to be hostile toward Americans. They didn't do anything to you.

[–] stinky@redlemmy.com 1 points 3 months ago

Have you worked with many Texans? My office employs half a dozen remotely and they're exceptional team players.

[–] stinky@redlemmy.com 1 points 3 months ago

@IAmNorRealTakeYourMeds@lemmy.world

[–] stinky@redlemmy.com 1 points 3 months ago

@IAmNorRealTakeYourMeds @lemmy.world lol

 

lol

[–] stinky@redlemmy.com 0 points 3 months ago (1 children)

It seems I was too generous in my approximation of your reading and writing abilities. I'd recommend returning to your educational facility and asking for a refund but I don't think you paid for it. ciao

[–] stinky@redlemmy.com 1 points 3 months ago (3 children)

You didn't answer my question. When you said, "if you're vague enough" I asked "vague enough for what?" Please let us know what you meant. :)

 

cross-posted from: https://lemmy.federate.cc/post/4824

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!

0
submitted 3 months ago* (last edited 3 months ago) by stinky@redlemmy.com to c/photoshoprequest@lemmy.ml
 

I used AI to generate it and I'm mostly happy, but it needs some work. I don't have great photoshop skills. I'm happy to pay for your work

Would like this clocktower with the words Hamilton, NY under it. Line art, black and white, minimal level of detail. This will be engraved on a brass coin for a client

 

I have to put the bridge on myself; I told an onlooker it was called the "frog". My strings are fraying strips of cross stitch fabric, and the curtain is rising.

 

cross-posted from: https://lemmy.zip/post/51887067

I only seem to feel like my best self when I’m high on thc as I quit alcohol for the time being. I just feel as happy as a kid when I’m high. I feel very bland when I’m sober. I just can’t see being completely sober from weed too.

 

She thought for a few seconds, and then guessed purple, which is my favorite color

 

A friend Liz from high school was showing me around, we had lacrosse sticks in our hands. She's smart and athletic. I was surprised that we walked all the way to her door, so I quickly said goodbye and she said "have a nice night"

My cat Allie is scampering across the carpet at me, she's a kitten again

Using a toilet stall in a dark, large bathroom, struggling with long cloth-like toilet paper. There's no privacy at all. Someone comes in and I'm scared

Someone is working for the FBI

 

Angry, I brushed past him. By the time our shoulders made contact he had disappeared; he wiped my memory so I wouldn't know what he did.

 

I tried to feed my friend's pet rat a mouse leg and it dragged it all over his apartment getting blood everywhere

 

They were normal, nice guys but I could only talk to them through computer screens

 

My spells keep growing stronger but I don't know what they are anymore. I never get to use them; this place is hectic and stressful. I'm trying to stay above water.

Later there are some mice I'm supposed to kill so that I can graduate. I hold them in my hands and they're adorable. Sleepy little guys. I'm going to lie and say that I killed them, but hide them somewhere safe

 

cross-posted from: https://lemmy.zip/post/50834613

view more: next ›