• 0 Posts
  • 104 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • Haha. It’s always a vibe. Saw a little kid dressed as the warden from Minecraft and I pretended to have the darkness effect and gave him a wad of mini crunch bars. I think he was super happy to get recognized!

    And they aren’t hard and fast rules. Just a sliding scale. And after being on candy duty for the last 15 years, you kinda just internalize it.

    Plus, Halloween is all about the rules. Say trick or treat. Don’t blow out your pumpkin before midnight so the demons don’t get ya. Always check your candy.


  • There are rules for my parents house. I give out the candy there and we go through like 30 pounds of it in a night.

    Not Saying Trick or Treat? No Candy. (EDIT: If they don’t say it, I always ask them “What do you say?” Which is funny too. Sometimes they go through “Thank you” “Happy Halloween” then finally get to “Trick or Treat.” Then they do get their appropriate amount of candy.)

    Saying Trick or Treat with no costume? One candy, low tier.

    Trick or Treat with Costume? 2 pieces, probably some chocolate.

    Trick or Treat with High Effort or Very Unique costume I haven’t seen 10 of all night? 3-4 pieces def some chocolate and a ring pop.

    Within that, older siblings escorting younger? Extra piece + glow stick.

    Family Costume Set? Extra piece and my mom takes a picture of them.

    I scare the shit out of you when I rip the door open? Extra piece?

    I scare you and you cry? Extra chocolate.

    Babies? Mom deserves an extra piece.







  • Requires ffmpeg and imagemagick

    #!/bin/bash
    
    # Check if input video file is provided and exists
    if [ $# -lt 1 ]; then
        echo "Usage: $0 <input_video>"
        exit 1
    fi
    
    input_video="$1"
    
    if [ ! -f "$input_video" ]; then
        echo "Error: Input video file not found."
        exit 1
    fi
    
    # Get video duration in seconds (floating-point)
    duration=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$input_video")
    
    # Check if the duration was successfully extracted
    if [ -z "$duration" ]; then
        echo "Error: Could not retrieve video duration."
        exit 1
    fi
    
    # Calculate fps as 20 frames divided by the duration
    fps=$(echo "20 / $duration" | bc -l)
    
    # Create a directory to store frames
    mkdir -p frames
    
    
    # Extract 20 frames from the video using the fps filter
    ffmpeg -i "$input_video" -vf "fps=$fps,scale=200:-1" -frames:v 20 "frames/frame_%02d.jpg" -loglevel error
    
    # Create the collage using ImageMagick's montage tool
    montage -mode concatenate -tile 5x4 -geometry +2+2 frames/frame_*.jpg output_collage.jpg
    
    # Clean up temporary files (delete frames directory)
    rm -r frames
    
    echo "Collage created: output_collage.jpg"
    
    










    1. Billions.
    2. Little to Nothing. Because they wouldn’t make it as far as fast as the Voyager probes because they got a massive gravitational assist from a rare alignment that only happens every 176 years. All the other planets needed to be aligned appropriately for this journey at this speed. New horizons may leave the solar system in 43 if we don’t lose contact. And they already want to shut the program down. NH is about 10000 km/h slower than Voyager 1.

    Best to use targeted probes to explore things we haven’t before. Ask different questions and if they leave the solar system, good on them. But I’d prefer orbital data satellites around all the ocean moons in the outer solar system.