this post was submitted on 06 Jul 2023
3 points (100.0% liked)

Shitty Life Pro Tip

5319 readers
1 users here now

image!shittylifeprotips



Welcome,

To a place for the shittiest, most mocking "pro-tips" you can think of. This Community is welcome to anything shitty pro-tip related, such as memes, discussing the best shitty tip, and much more.


RULES

1_Don't spam, post must be related to community topic

2_Do not seek mental, medical or professional help here. This is not the place, community is meant for satire.

3_No tip should be taken serious

4_No tip should single out a person

5_No racism, harassing, or discriminating against any group or any of the communities members. This will get you banned immediately.

6_Tip posts must start with SLPT

7_For posts related to SLPTs, but not a tip please use "[META]" tag

8_Self promotion will get you banned


Images/Icon

If you are interested in designing a logo or banner please privately message: @killer_penguin@lemmy.world

Icon Found Here By Gregsuj


Moderation

Looking For 2 Mods

If you are interested in becoming part of the moderation team, please privately message: @killer_penguin@lemmy.world

If you are a current mod on r/shittylifeprotips please DM any current mods.

founded 1 year ago
MODERATORS
 

Meta seems to have money to burn, so they'll gladly pay for the disk space to host your uncompressible images. Here's a Python script to generate them!

generate.py

from PIL import Image
from tqdm import tqdm
import numpy as np
import sys
import os

number_of_images = 1000
width = 2048
height = 1024

for filename in tqdm(range(number_of_images)):
	image = Image.fromarray(np.random.randint(0, 256, (height, width, 3), dtype=np.uint8))
	image.save(str(filename) + ".png")

requirements.txt

pillow
tqdm
numpy

top 4 comments
sorted by: hot top controversial new old
[–] ReCursing@kbin.social 1 points 1 year ago

Be sure to do this with a burner phone or via a virtual machine or emulator so you don;t give them everything they actually want as well.

[–] oktoberpaard@feddit.nl 0 points 1 year ago (2 children)

Doesn’t that also burden any fediverse instance that’s federated with it? Or is Threads not federated (yet)?

[–] ReCursing@kbin.social 1 points 1 year ago

Also it's not federating yet

[–] Cevilia@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago)

Nope, images don't federate, just links to them :)

What's uploaded: 1000 10MB pictures What's federated: 1000 hyperlinks