

Sorry to be an idiot but what recently happened to make Portugal not want Americans?
I made the icy-nord and icy-nord-darker themes.
@promitheas:matrix.org
Sorry to be an idiot but what recently happened to make Portugal not want Americans?
Have you not been screaming about guns for as long as anyone alive can remember?
Thanks
Check out stremio
Could you elaborate on what you mean please?
Edit: I seem to be getting downvotes, so Id just like to clarify, I wasnt being smart or sarcastic in any way, just genuinely didnt understand what the comment OP meant xD
Vital sign monitoring system
Usb in something like my finger so i can connect to any pc and use it with my brain
Robotic limbs, mainly because its kind of a dream of mine to create affordable, diy-capable working prosthetics for people who cant afford them, especially if theyre for children/teens who seemingly double in size every half year.
Oh, Im sorry. If I’m honest I completely forgot. Here it is:
You will need ffmpeg installed, and I did write it for Linux, so I’m not sure if there are differences for windows. Worst case you need to slightly modify it to work on windows.
#!/usr/bin/env python3
import requests
import os
import subprocess
from urllib.parse import urljoin
import sys
def download_video_chunks(base_url, output_file):
"""
Downloads video chunks from the given base URL and merges them into a single file.
:param base_url: The URL to the playlist or base directory containing the video chunks.
:param output_file: The name of the output video file (e.g., "output.mp4").
"""
try:
# Get the playlist file (e.g., .m3u8 or .ts index file)
print(f"Fetching playlist or video chunk URLs from: {base_url}", flush=True)
response = requests.get(base_url, timeout=10)
response.raise_for_status()
# Parse the playlist to get the chunk URLs
lines = response.text.splitlines()
chunk_urls = [urljoin(base_url, line) for line in lines if line and not line.startswith("#")]
if not chunk_urls:
print("No video chunks found in the provided URL.", flush=True)
return
# Create a directory for storing chunks
os.makedirs("video_chunks", exist_ok=True)
# Download each chunk
chunk_files = []
for idx, chunk_url in enumerate(chunk_urls):
chunk_file = os.path.join("video_chunks", f"chunk_{idx:04d}.ts")
print(f"Downloading {chunk_url}...", flush=True)
with requests.get(chunk_url, stream=True) as chunk_response:
chunk_response.raise_for_status()
with open(chunk_file, "wb") as f:
for chunk in chunk_response.iter_content(chunk_size=1024):
f.write(chunk)
chunk_files.append(chunk_file)
# Merge the chunks into a single file using ffmpeg
print("Merging chunks...", flush=True)
with open("file_list.txt", "w") as f:
for chunk_file in chunk_files:
f.write(f"file '{chunk_file}'\n")
subprocess.run(["ffmpeg", "-f", "concat", "-safe", "0", "-i", "file_list.txt", "-c", "copy", output_file], check=True)
print(f"Video saved as {output_file}", flush=True)
except requests.exceptions.RequestException as e:
print(f"An error occurred while downloading: {e}", flush=True)
except subprocess.CalledProcessError as e:
print(f"An error occurred while merging: {e}", flush=True)
finally:
# Clean up temporary files
if os.path.exists("file_list.txt"):
os.remove("file_list.txt")
for chunk_file in chunk_files:
os.remove(chunk_file)
# if os.path.exists("video_chunks"):
# os.rmdir("video_chunks")
if __name__ == "__main__":
base_url = input("Enter the URL of the video playlist or base directory: ")
output_file = input("Enter the output video file name (e.g., output.mp4): ")
print(f"Starting download process for playlist: {base_url}", flush=True)
download_video_chunks(base_url, output_file)
If you guys can recommend a fair and open pastebin alternative for me I will upload it there as well and edit this with the link
When a page is so bloated with crap, certain elements load much after certain others, leading me to believe the page has loaded, and to click on something jus as somthing else loads and pushes it down/to the side.
I think i wrote a short python script to do this on another site. Let me get home and see if i can help you out
Will test and edit. Ill leave my automatic upvote on, so first person to read this please downvote this comment
Edit: no no guys, stop upvoting 🤣
Edit 2: sorry OP, guess i cant test out my theory, which was that if you leave your upvote, but get downvoted once, it shows up as 0
Then people call me insane for not wanting to make it past 40
Just a sidenote about ntfs & ext4.
ntfs doesnt require defragmentation on SSDs, and it actually might lower the lifespan of your SSD because of the increase in unnecessary read/writes.
ext4 IIRC works just fine as long as your drive is at most 90% full and you keep that last 10% free.
Its been a while since i read up on that fact about ext4 so someone more experienced can correct me if im wrong
Because thats what you’ve been brainwashed to think the world wants, so thats what you hear
Not sure of exact date, but it was around 2005-2006 and I had saved up enough money to get me a lego N1 starfighter kit from star wars. Last time remember feeling genuine joy
Is it weird that i dont want to be remembered? I just want to fade into nothingness. None of it matters anyway
Eve online for me too. Ill be logging in in a few minutes 😃
As for the social aspect, even though im in one the big alliances, if i just dont feel like it on any particular night then theres no need to be social. I can do my own thing.
I changed how i look at communities when i switched to lemmy. Instead of just looking at the part before the @ i look at the whole thing and consider that to be its name.
So instead of the gaming community its gaming@xyz.qr and gaming@abc.de as a whole.
Tl;dr: theyre different separate comminities and the name is for all intents and purposes the entire thing.
I suggest subscribing to all of them for the topics you want and slowly through exposure learning which ones youd like to keep.
Use chapstick
Read a book in public
Not go to gym
Play certain more “feminine” games
Those off the top of my head. I live in a nation of backwards idiots, so there for sure are more
I’m almost done with my CS degree, I started learning programming at age 10, low-level software development like drivers and embedded really interests me and that’s the direction I want to go in for a career, but I had to ask my friend who was studying with me to help me build my PC. Hardware just scares me. I’m worried ill bork something :3
And that stops the non-morons from using the guns to end the morons rule how?