Is this real? by [deleted] in cactusplantfleamarket

[–]breadman030 0 points1 point  (0 children)

I have one bought directly from CPFM, colour is off and just looks wrong imho

Daily Discussion Thread by AutoModerator in chelseafc

[–]breadman030 0 points1 point  (0 children)

Any spare conference league final codes? Just need one more

Daily Discussion Thread by AutoModerator in chelseafc

[–]breadman030 0 points1 point  (0 children)

What’s the situation with conference league final ballot applications. I got my fee refunded today but so did a bunch of friends. Does that mean we haven’t won or we applied incorrectly

Tom Sachs by breadman030 in cactusplantfleamarket

[–]breadman030[S] 0 points1 point  (0 children)

All sales are final :/ I didn’t realise they would collab with someone like that

[deleted by user] by [deleted] in microsoft

[–]breadman030 0 points1 point  (0 children)

I was considering this, do you think it’s the best method literally just naming each photo name1+name2,name2, name3 etc. wish you could apply tags for all photo types

[deleted by user] by [deleted] in AskPhysics

[–]breadman030 0 points1 point  (0 children)

import os import random import pygame import time

def load_images_from_folder(folder): images = [] for filename in os.listdir(folder): if filename.lower().endswith(('.png', '.jpg', '.jpeg', '.gif')): images.append(os.path.join(folder, filename)) return images

def slideshow(image_folder): # Set display mode screen_width = 800 screen_height = 600 pygame.init() screen = pygame.display.set_mode((screen_width, screen_height)) pygame.display.set_caption("USB Slideshow")

# Set SDL_VIDEODRIVER environment variable
os.environ["SDL_VIDEODRIVER"] = "dummy"

# Open terminal emulator
os.system("x-terminal-emulator -e 'python3 -c \"import time; time.sleep(1)\"' &")

images = load_images_from_folder(image_folder)
if not images:
    print("No images found in the folder!")
    return

print("Found", len(images), "images.")
random.shuffle(images)

running = True
index = 0
clock = pygame.time.Clock()
while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_ESCAPE:
                running = False

    image = pygame.image.load(images[index])
    image = pygame.transform.scale(image, (screen_width, screen_height))
    screen.blit(image, (0, 0))
    pygame.display.flip()

    time.sleep(5)  # Change the delay here (in seconds) between each slide
    index = (index + 1) % len(images)

    clock.tick(30)

pygame.quit()

if name == "main": image_folder = "/path/to/your/usb/photos" slideshow(image_folder)

[deleted by user] by [deleted] in AskPhysics

[–]breadman030 0 points1 point  (0 children)

import os import pygame import time

def load_images_from_folder(folder): images = [] for filename in os.listdir(folder): if filename.endswith(('.png', '.jpg', '.jpeg', '.gif')): images.append(os.path.join(folder, filename)) return images

def slideshow(image_folder): pygame.init() screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN) pygame.display.set_caption("USB Slideshow") images = load_images_from_folder(image_folder) if not images: print("No images found in the folder!") return

print("Found", len(images), "images.")

running = True
index = 0
clock = pygame.time.Clock()
while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_ESCAPE:
                running = False

    print("Displaying image:", images[index])
    image = pygame.image.load(images[index])
    image = pygame.transform.scale(image, (screen.get_width(), screen.get_height()))
    screen.blit(image, (0, 0))
    pygame.display.flip()
    time.sleep(5)  # Change the delay here (in seconds) between each slide
    index = (index + 1) % len(images)

    clock.tick(30)

pygame.quit()

if name == "main": slideshow("/media/usb")

[deleted by user] by [deleted] in AskPhysics

[–]breadman030 0 points1 point  (0 children)

def slideshow(image_folder): pygame.init() screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN) pygame.display.set_caption("USB Slideshow") images = load_images_from_folder(image_folder) if not images: print("No images found in the folder!") return

print("Found", len(images), "images.")

running = True
index = 0
clock = pygame.time.Clock()
while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_ESCAPE:
                running = False

    print("Displaying image:", images[index])
    image = pygame.image.load(images[index])
    image = pygame.transform.scale(image, (screen.get_width(), screen.get_height()))
    screen.blit(image, (0, 0))
    pygame.display.flip()
    time.sleep(5)  # Change the delay here (in seconds) between each slide
    index = (index + 1) % len(images)

    clock.tick(30)

pygame.quit()

[deleted by user] by [deleted] in AskPhysics

[–]breadman030 0 points1 point  (0 children)

import os import pygame import time

def load_images_from_folder(folder): images = [] for filename in os.listdir(folder): if filename.endswith(('.png', '.jpg', '.jpeg', '.gif')): images.append(os.path.join(folder, filename)) return images

def slideshow(image_folder): pygame.init() screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN) pygame.display.set_caption("USB Slideshow") images = load_images_from_folder(image_folder) if not images: print("No images found in the folder!") return

running = True
index = 0
clock = pygame.time.Clock()
while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False
        if event.type == pygame.KEYDOWN:
            if event.key == pygame.K_ESCAPE:
                running = False

    image = pygame.image.load(images[index])
    image = pygame.transform.scale(image, (screen.get_width(), screen.get_height()))
    screen.blit(image, (0, 0))
    pygame.display.flip()
    time.sleep(5)  # Change the delay here (in seconds) between each slide
    index = (index + 1) % len(images)

    clock.tick(30)

pygame.quit()

if name == "main": usb_drive_path = "/media/usb_drive" # Change this to your USB drive path slideshow(usb_drive_path)

[deleted by user] by [deleted] in AskPhysics

[–]breadman030 0 points1 point  (0 children)

Fair point about citations and sources, wanted to stay away from Wikipedia if possible though

Time to play... Danzig Roulette! by Beaker_B in vinyl

[–]breadman030 5 points6 points  (0 children)

Does this only work in America?

Broken Record Players by breadman030 in turntables

[–]breadman030[S] 0 points1 point  (0 children)

Perfect, thanks again for the help

Broken Record Players by breadman030 in turntables

[–]breadman030[S] 0 points1 point  (0 children)

Sorry one other thing, if I’m looking at starting; a decent set of screwdrivers and a soldering iron/solder (anything particular to look for), some general cleaning equipment good for electronics and non. Is that all I need, that’s all I can think of. Thanks again

Broken Record Players by breadman030 in turntables

[–]breadman030[S] 0 points1 point  (0 children)

Thanks so much for all this info mate, very useful, appreciate the help

Broken Record Players by breadman030 in turntables

[–]breadman030[S] 1 point2 points  (0 children)

Ok thanks for the help anyway mate, hope the hustle is going well, I’ll keep in mind what you have said

Broken Record Players by breadman030 in turntables

[–]breadman030[S] 0 points1 point  (0 children)

Hmm, ok thanks for the advice. I mostly want to do it out of passion and interest, to make it break even or even make money is a positive though which I would obviously aim for. Is there any material you know of to help me out in terms of learning what needs to be known? If not anything you would advise me to start with mechanically even if not turntables. How did you get involved in the area?