werefreeatlast

joined 1 year ago
[–] werefreeatlast 15 points 2 days ago (2 children)

They keep finding brown citizens instead.

[–] werefreeatlast 7 points 2 days ago (1 children)

They'll start deporting American citizens who haven't paid their student loans. Back to America! To Guantanamo!

All office dudes are shaking in their pants.

[–] werefreeatlast -4 points 2 days ago

Do not eat eggs! Specially the ones that keep climbing. It gives you bad cholesterol.

[–] werefreeatlast 2 points 2 days ago

Its sad. I'm not getting even one "you got this".

[–] werefreeatlast 2 points 2 days ago

Your shorts, your shirt, give them to me.

[–] werefreeatlast 1 points 2 days ago (1 children)

....Trump taking notes

[–] werefreeatlast 2 points 2 days ago

Since he showed his face probably.

[–] werefreeatlast 3 points 2 days ago (2 children)

I love going to the SanDiego area swap meets. There are at least 3 big ones.. National city, El Cajon and Oceanside. There, many people come haggle and barter to get used or grade B products. Maybe Trump should start there?

Anyone who has ever gone there knows that you don't go for the jugular of your cash cow. If you're a buyer, you wanna be a nice mosquito... Look around a few times to see what you wanna get, go elsewhere, and then come back. If you are selling, you don't kill the mosquito, buy you know how much blood to give. As a buyer you find a thing you don't want, which is similar to the thing you do want so you can trade down or somehow not show interest in the actual thing you want.

Now the entire world knows that Trump is an idiot and wants 50% of all natural resources. It could have been 90% of all uranium for example. Bug nah, look, here are all my cards! Take a good look see!

That's Trump's are of the deal and it's ass. It doesn't mater if he actually gets anything from it. Its ass. We lose, they lose, ruzzia wins. Maybe we should have a well trained Lego dealing kid to negotiate a better deal.

[–] werefreeatlast 3 points 2 days ago

Trump will fight tooth and nail against the ruzzians.....

[–] werefreeatlast 5 points 3 days ago

Is this is true, then by this time we are all fucked. Like Monday someone checks their banking or retirement and it all gone. That's gonna be a crazy day.

I hope they're not using the actual SSN as the primary key. I hope its a big ass number that is otherwise unrelated.

[–] werefreeatlast 1 points 3 days ago
[–] werefreeatlast 2 points 3 days ago

Meanwhile China is probably getting ahead on all fronts. We'll all be racist in Chinese soon.

 

We all know it, AI is better than you so just move over and let AI do the job 😉.

 

So anyway, lolz, we got photos of you, give us money 🤑💰🤑🤑💰🤑💰💰🤑!

 

Recently I've been planning on designing some optics, nothing fancy just for a projector system that I'm messing around with. Anyway I got this idea that I could basically model the optics in blender using lux core to simulate the light path as it bounces the mirrors and passes through the lenses.

So I am able to create lenses and parts of any kind O can think of but I would love to be able to control the parts after I've created them via parameters like radius of curvature for example for a mirror.

Is that possible using a python script? Like somehow keep the script that created the geometry somehow linked to the geometry in such a way that I can come back to the script and change it later or maybe even change it using the timeline and key frames?

 

Oh yes! The 3D experience!

Go ahead sign in! Tell us how our shit product is broken. That's valuable information that we SOLIDWORKS can keep to ourselves and make you create a new username and password combo to remember. Ofcourse your data regarding anything is actually ours. We own it! Thanks!

 

I keep having to remove all sorts of

Elephants 🐘, penguins 🐧, and giraffes 🦒 and other funny animals from my imaginary joke fridge!

Go get me a funny 🍺 beer!

Surprise! It's another elephant.

 

1)You get thru downloading the thing since it advertises support for your printer, 2)Click on it to start using it right? 3)Right? 4)X out of the login window because you don't have a login and don't want one thanks. 5) Put the newly downloaded file in the trash bin. 6) Right click on the trash bin and "empty trash" 7-10) Relax for a bit since you don't have yet another data collecting app spying on you. But then post about how shitty the experience was.

I can't believe anyone would actually create a login to use an app like this. Fuck that. I will just use shitty chitubox for now. Fuck^2, but at least I don't live in some shit server with all my 3D models stolen or my credit card or GPS or whatever the fuck they want to get from me. I'm sure chitubox is already doing it, but hey I don't need a password for that.

-24
submitted 5 months ago* (last edited 5 months ago) by werefreeatlast to c/asklemmy
 

Would it be awesome if they put some of that vaccine and other vaccines in the bottled water, sodas and swimming pool water? Everyone eventually has to drink water, so why not to it little by little thru a global low dose in the global water supply?

All answers accepted, specially the really wrong ones.

 

That's right! Your hearing is perfect! If you allow anyone from our secret staff members who come and offer you a brand new shower to just kick your groin once, you will get it installed absolutely free!

No questions asked! A guy comes in, offers you a new shower, installs it, and if they kick you in the groin and they happen to be one of our secret staff members, you get it all installed for free!!!

Ofcourse you do need to pay for the shower and tax. But the kick is absolutely free once installed right in the groin!

 

cross-posted from: https://lemmy.world/post/19713386

SO, it started quite nicely with a fully working program. However nearing the end... or at the end of my programming experience or asking it to program something for me, it wrote in some nasty nasty screen flickering shit. I couldn't stop it and it quickly just froze my screen where the only option was to push the button. I tried it a second time to confirm, but this time I was able to quickly go to a different CLI window and kill that sonobabich. Here is what it came up with in case you want to try it. maybe it only screws up my computer:

import os
import cv2
import numpy as np
import time
import tkinter as tk
from tkinter import messagebox, filedialog

def threshold_to_black(image_path, duration):
    original_image = cv2.imread(image_path)
    
    if original_image is None:
        print("Error: Could not read the image.")
        return

    height, width, _ = original_image.shape
    gray_image = cv2.cvtColor(original_image, cv2.COLOR_BGR2GRAY)
    steps = duration * 10  # 10 frames per second

    for i in range(steps + 1):
        # Calculate the threshold value (0 to 255)
        threshold = int((i / steps) * 255)
        
        # Create the thresholded image
        thresholded_image = np.where(gray_image < threshold, 0, 255).astype(np.uint8)

        # Resize the thresholded image to fill the window
        resized_image = cv2.resize(thresholded_image, (window_width, window_height), interpolation=cv2.INTER_LINEAR)

        # Display the thresholded image
        cv2.imshow(window_name, resized_image)

        # Wait for a short period to create the effect
        time.sleep(0.1)

        if cv2.waitKey(1) & 0xFF == ord('q'):
            break

    # Display the final black image
    cv2.imshow(window_name, np.zeros_like(thresholded_image))
    
    while True:
        if cv2.waitKey(1) & 0xFF == ord('q'):
            break
    
    cv2.destroyAllWindows()

def select_image():
    current_directory = os.getcwd()  # Get the current directory
    filetypes = (
        ('JPEG files', '*.jpg'),
        ('JPEG files', '*.jpeg'),
        ('All files', '*.*')
    )
    
    filename = filedialog.askopenfilename(
        title='Select an Image',
        initialdir=current_directory,  # Start in the current directory
        filetypes=filetypes
    )
    
    if filename:
        return filename
    else:
        messagebox.showerror("Error", "No image selected.")
        return None

def get_duration():
    def submit():
        nonlocal total_duration
        try:
            minutes = int(minutes_entry.get())
            seconds = int(seconds_entry.get())
            total_duration = minutes * 60 + seconds
            if total_duration > 0:
                duration_window.destroy()
            else:
                messagebox.showerror("Error", "Duration must be greater than zero.")
        except ValueError:
            messagebox.showerror("Error", "Please enter valid integers.")

    total_duration = None
    duration_window = tk.Toplevel()
    duration_window.title("Input Duration")
    
    tk.Label(duration_window, text="Enter duration:").grid(row=0, columnspan=2)
    
    tk.Label(duration_window, text="Minutes:").grid(row=1, column=0)
    minutes_entry = tk.Entry(duration_window)
    minutes_entry.grid(row=1, column=1)
    minutes_entry.insert(0, "12")  # Set default value for minutes
    
    tk.Label(duration_window, text="Seconds:").grid(row=2, column=0)
    seconds_entry = tk.Entry(duration_window)
    seconds_entry.grid(row=2, column=1)
    seconds_entry.insert(0, "2")  # Set default value for seconds
    
    tk.Button(duration_window, text="Submit", command=submit).grid(row=3, columnspan=2)
    
    # Center the duration window on the screen
    duration_window.update_idletasks()  # Update "requested size" from geometry manager
    width = duration_window.winfo_width()
    height = duration_window.winfo_height()
    x = (duration_window.winfo_screenwidth() // 2) - (width // 2)
    y = (duration_window.winfo_screenheight() // 2) - (height // 2)
    duration_window.geometry(f'{width}x{height}+{x}+{y}')

    duration_window.transient()  # Make the duration window modal
    duration_window.grab_set()    # Prevent interaction with the main window
    duration_window.wait_window()  # Wait for the duration window to close

    return total_duration

def wait_for_start(image_path):
    global window_name, window_width, window_height

    original_image = cv2.imread(image_path)
    height, width, _ = original_image.shape

    window_name = 'Threshold to Black'
    cv2.namedWindow(window_name, cv2.WINDOW_NORMAL)
    cv2.resizeWindow(window_name, width, height)
    cv2.imshow(window_name, np.zeros((height, width, 3), dtype=np.uint8))  # Black window
    print("Press 's' to start the threshold effect. Press 'F11' to toggle full screen.")
    
    while True:
        key = cv2.waitKey(1) & 0xFF
        if key == ord('s'):
            break
        elif key == 255:  # F11 key
            toggle_fullscreen()

def toggle_fullscreen():
    global window_name
    fullscreen = cv2.getWindowProperty(window_name, cv2.WND_PROP_FULLSCREEN)
    
    if fullscreen == cv2.WINDOW_FULLSCREEN:
        cv2.setWindowProperty(window_name, cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_NORMAL)
    else:
        cv2.setWindowProperty(window_name, cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)

if __name__ == "__main__":
    current_directory = os.getcwd()
    jpeg_files = [f for f in os.listdir(current_directory) if f.lower().endswith(('.jpeg', '.jpg'))]
    
    if jpeg_files:
        image_path = select_image()
        if image_path is None:
            print("No image selected. Exiting.")
            exit()

        duration = get_duration()
        if duration is None:
            print("No valid duration entered. Exiting.")
            exit()

        wait_for_start(image_path)

        # Get the original
-64
submitted 5 months ago* (last edited 5 months ago) by werefreeatlast to c/technology
 

SO, it started quite nicely with a fully working program. However nearing the end... or at the end of my programming experience or asking it to program something for me, it wrote in some nasty nasty screen flickering shit. I couldn't stop it and it quickly just froze my screen where the only option was to push the button. I tried it a second time to confirm, but this time I was able to quickly go to a different CLI window and kill that sonobabich. Here is what it came up with in case you want to try it. maybe it only screws up my computer:

import os
import cv2
import numpy as np
import time
import tkinter as tk
from tkinter import messagebox, filedialog

def threshold_to_black(image_path, duration):
    original_image = cv2.imread(image_path)
    
    if original_image is None:
        print("Error: Could not read the image.")
        return

    height, width, _ = original_image.shape
    gray_image = cv2.cvtColor(original_image, cv2.COLOR_BGR2GRAY)
    steps = duration * 10  # 10 frames per second

    for i in range(steps + 1):
        # Calculate the threshold value (0 to 255)
        threshold = int((i / steps) * 255)
        
        # Create the thresholded image
        thresholded_image = np.where(gray_image < threshold, 0, 255).astype(np.uint8)

        # Resize the thresholded image to fill the window
        resized_image = cv2.resize(thresholded_image, (window_width, window_height), interpolation=cv2.INTER_LINEAR)

        # Display the thresholded image
        cv2.imshow(window_name, resized_image)

        # Wait for a short period to create the effect
        time.sleep(0.1)

        if cv2.waitKey(1) & 0xFF == ord('q'):
            break

    # Display the final black image
    cv2.imshow(window_name, np.zeros_like(thresholded_image))
    
    while True:
        if cv2.waitKey(1) & 0xFF == ord('q'):
            break
    
    cv2.destroyAllWindows()

def select_image():
    current_directory = os.getcwd()  # Get the current directory
    filetypes = (
        ('JPEG files', '*.jpg'),
        ('JPEG files', '*.jpeg'),
        ('All files', '*.*')
    )
    
    filename = filedialog.askopenfilename(
        title='Select an Image',
        initialdir=current_directory,  # Start in the current directory
        filetypes=filetypes
    )
    
    if filename:
        return filename
    else:
        messagebox.showerror("Error", "No image selected.")
        return None

def get_duration():
    def submit():
        nonlocal total_duration
        try:
            minutes = int(minutes_entry.get())
            seconds = int(seconds_entry.get())
            total_duration = minutes * 60 + seconds
            if total_duration > 0:
                duration_window.destroy()
            else:
                messagebox.showerror("Error", "Duration must be greater than zero.")
        except ValueError:
            messagebox.showerror("Error", "Please enter valid integers.")

    total_duration = None
    duration_window = tk.Toplevel()
    duration_window.title("Input Duration")
    
    tk.Label(duration_window, text="Enter duration:").grid(row=0, columnspan=2)
    
    tk.Label(duration_window, text="Minutes:").grid(row=1, column=0)
    minutes_entry = tk.Entry(duration_window)
    minutes_entry.grid(row=1, column=1)
    minutes_entry.insert(0, "12")  # Set default value for minutes
    
    tk.Label(duration_window, text="Seconds:").grid(row=2, column=0)
    seconds_entry = tk.Entry(duration_window)
    seconds_entry.grid(row=2, column=1)
    seconds_entry.insert(0, "2")  # Set default value for seconds
    
    tk.Button(duration_window, text="Submit", command=submit).grid(row=3, columnspan=2)
    
    # Center the duration window on the screen
    duration_window.update_idletasks()  # Update "requested size" from geometry manager
    width = duration_window.winfo_width()
    height = duration_window.winfo_height()
    x = (duration_window.winfo_screenwidth() // 2) - (width // 2)
    y = (duration_window.winfo_screenheight() // 2) - (height // 2)
    duration_window.geometry(f'{width}x{height}+{x}+{y}')

    duration_window.transient()  # Make the duration window modal
    duration_window.grab_set()    # Prevent interaction with the main window
    duration_window.wait_window()  # Wait for the duration window to close

    return total_duration

def wait_for_start(image_path):
    global window_name, window_width, window_height

    original_image = cv2.imread(image_path)
    height, width, _ = original_image.shape

    window_name = 'Threshold to Black'
    cv2.namedWindow(window_name, cv2.WINDOW_NORMAL)
    cv2.resizeWindow(window_name, width, height)
    cv2.imshow(window_name, np.zeros((height, width, 3), dtype=np.uint8))  # Black window
    print("Press 's' to start the threshold effect. Press 'F11' to toggle full screen.")
    
    while True:
        key = cv2.waitKey(1) & 0xFF
        if key == ord('s'):
            break
        elif key == 255:  # F11 key
            toggle_fullscreen()

def toggle_fullscreen():
    global window_name
    fullscreen = cv2.getWindowProperty(window_name, cv2.WND_PROP_FULLSCREEN)
    
    if fullscreen == cv2.WINDOW_FULLSCREEN:
        cv2.setWindowProperty(window_name, cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_NORMAL)
    else:
        cv2.setWindowProperty(window_name, cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)

if __name__ == "__main__":
    current_directory = os.getcwd()
    jpeg_files = [f for f in os.listdir(current_directory) if f.lower().endswith(('.jpeg', '.jpg'))]
    
    if jpeg_files:
        image_path = select_image()
        if image_path is None:
            print("No image selected. Exiting.")
            exit()

        duration = get_duration()
        if duration is None:
            print("No valid duration entered. Exiting.")
            exit()

        wait_for_start(image_path)

        # Get the original
-5
submitted 5 months ago* (last edited 5 months ago) by werefreeatlast to c/lemmyshitpost
 

Basically, you run a PBS style fund raising campaign. But it's so effective because you got a gun, you are law enforcement and the donors all need to drive that one highway. Say you need $10,000,000.00 just stop 10million people who happen to have 1 dollar. Or if you stop 100k people who happen to have 100 bucks, or 10k people who have 1000 bucks with them, you're good to go!

So PBS just needs a good cop car donation and a couple of fake badges to get their funding too!

 

cross-posted from: https://feddit.uk/post/17001898

A car park built for £51 million in Oxfordshire is lying empty because a council cannot connect it to the main road.

Planning problems are preventing motorists from using the 19-acre park and ride scheme in Eynsham until funding is secured to link it to the A40.

Aerial photographs show the 850-space site devoid of vehicles, despite its finished glossy tarmac, bus stops and green spaces. All major construction work was finished in January, followed by landscaping last month.

Although the car park could be cut off from the main road until 2027, local authorities have contracts to maintain it every week, cutting the grass and topsoiling and seeding when necessary.

Archive

view more: ‹ prev next ›