werefreeatlast

joined 9 months ago
[–] werefreeatlast@lemmy.world 3 points 11 hours ago

That's called the Lambo effect. Once you buy one, you can't help it but to also buy it a house and an E-reader.

[–] werefreeatlast@lemmy.world 6 points 12 hours ago

What a great idea! We can do drone delivery too!

[–] werefreeatlast@lemmy.world 4 points 12 hours ago

Nobody said how big.

[–] werefreeatlast@lemmy.world 4 points 12 hours ago

I drive by the Boeing strike every day and I do my part and I hunk twice quickly! Do your part guys! Hunk! It matters!

It's not your job today, but it could be you there tomorrow at 8am wet and soggy from the rain and fog that continually falls in the PNW.

Honk like you just crashed on that big barrel of stuff burning. They burn stuff to stay dry and warm. It's cold out here....not yet but give two more months and it will be freezing temps.

[–] werefreeatlast@lemmy.world 2 points 12 hours ago

Ah see? There are benefits to getting a Lambo!

[–] werefreeatlast@lemmy.world -1 points 13 hours ago (4 children)

It's either an E-reader or a Lamborghini. Which would you prefer? 🤔

[–] werefreeatlast@lemmy.world 4 points 13 hours ago

It's a misdemeanor, let him go! If he tries it again, let's all together figure out what to do. But for the love of gorsh, leave his second amendment intact!

[–] werefreeatlast@lemmy.world 4 points 19 hours ago

Hollywood is going to make that soo dramatic! Extending the 4 nano second event into what might seem like an eternity...4 seconds tops...."Actually guys, I think we might have a......".....silence. such a Sumner moment. Oh hey, can we get rid of putin? I have an idea but we're going to need lots of toilet paper, concrete, rope, and a baseball bat! Oh this is gonna be so good! Pinatas are fun! And a tranquilizer dart! We need that or the paper won't stick. You don't want a mushy pinata!

[–] werefreeatlast@lemmy.world 8 points 20 hours ago

6 months. If after 6 months of sitting on your ass you can't tell right from wrong, fuck you, you're out.....let me demonstrate.... Epstein: pedophile. That was like 3 milliseconds... Trump: shit get rid of him he's all sorts of wrong ew! Ew! That was like 3 nanoseconds. Should women get to choose? Yes. That was a no brainier. Juanita's tree is growing over the neighbors yard and the neighbor keeps eating the apples...ohhh there's precedent here. I must research...yes it's totally legal. Juanita must not know much about trees because she planted it too close to the fence. That was complicated, 3 seconds, I will need 6 months to recover and continue judging these cases, thanks!

[–] werefreeatlast@lemmy.world 1 points 20 hours ago

Chat GPT is listening....tell it more of this science you guys talk about.

[–] werefreeatlast@lemmy.world 3 points 20 hours ago

"his kind" I a agree with that...Hitler, Putin, the Spanish kings, the Federalism kings, the various Chinese rulers that ended in massacres same for the Japanese. The Egypt old assholes and their new assholes. The Mexican government and the drug lords who rule Mexico and South America. Trump, George Bush. Sadam Hussain, fuck face who ended up under the sea like the little mermaid from the Taliban. Etc etc. it's a sea of just asshole after asshole. I agree with you. As soon as a leader seems off, the constitutions should allow the people to swiftly remove them. There are plenty of brilliant minds around, there's no need to put forward the worst ones.

[–] werefreeatlast@lemmy.world 3 points 20 hours ago

Best auto correct ever! LOL Republicans! Assemble! Shit it down! Shit it down now! Now before anyone could benefit from any of the poor services provided by the fed via our tax dollars.

 

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!

 

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
 

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

 

Well I set up my email server thru cloudflare and managed to receive emails directly to my basement server. I could live with this and the various security threats incoming thru my unifi. But one thing is for sure, my wife won't have any of it. She's a total backwards thinking give me windows or I'll jump kind of Gal. So I found that I could run a dockerized Thunderbird instance and I thought ... Wow! I can just login to it from my computer or my phone, Surely this is it! I can have emails backed up from Gmail to my server and just access my server! And you know what? It works! I can access my Gmail on my browser! It's beautiful!.... But then I login through my phone and wow! I can access my Gmail! Thru my phone! Except the interface is the same as my desktop. It's literally a VNC to the server. I can login to it on my desktop and watch the mouse move as I move my finger on my phone! Great party trick, but....the text is microscopic. So is there another way to get IMAP and SMTP interface to Gmail, archiving all emails on my own server? I literally don't want any of my emails to live on a Gmail server, but I want to be able to send receive and search emails I previously passed through Gmail but now live on my server.

 

The link makes it seem like crap hardware, and sure 4gb of ram is really crappy. But how does this compare with one of my kid's Fire tablets? Does anyone have opinions on that?

 

It's a bad title, but I'm trying to figure out how to describe what I want.

First, I got my photoprism working thru cloudflare. Now, on the same domain I would like an email address.

So mysite.com gets routed to 56.654.234.12 let's say by cloudflare such that a global user never sees my ip. But mail.mysite.com that's different, they don't proxy email so if you do a reverse lookup you can find the origin IP.

I heard about tunnels so I stupidly signed up for that, only to learn that a tunnel just lets you into an internal network. So an SMTP server can't get emails from outside that way.

Ideally, somehow I could setup one user at Gmail or proton mail, then somehow setup the same or different user...user1@mysite.com and I could then use mailu, mailcow, mail docker to house my user1@mysite.com which routes mail thru Gmail or protonmail. I know all this makes little sense because I don't know the proper way, so that's my question for you smart people who have done this twice over. Could someone point me to the best way of setting up a local mail server that routes thru cloudflare but is not easily reverse looked up? Is that even a problem at all?

 

I am currently serving a photoprism instance for my self and the wife. I want to expand to have everyone's home folder on the server. So we would have 5 home folders, all lunuxes. Anyway so I'm looking at some old servers that actually look pretty good.

HPE Proliant DL360 Gen9

I've been comparing it with other servers and it seems to be the easiest to use for the semi intrepid admin wannabe that I am. Is there anything better in the sub $300 range?

 

It feels terrible to know that we have no say now and within just a few years we won't have a say ever again. At least none of us alive today. Hopefully our kid's kids will eliminate the car.

 

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

Texas asks people to avoid using their cars

 

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

Sorry Darin, not a grass

On some things the UK is progressive, on other issues, like sustainable transport, they see it as antisocial behaviour.

view more: next ›