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

help-circle












  • None of those things are remotely associated with any future I wish to exist in.

    Machine learning has actual use cases, protein folding/alphafold or automated research/experimenting. But “AI” as the hype machine behind natural language processing is not the future of machine learning.

    If anything, it will be a driving force behind massive loss of jobs and further entrenching wealth disparity.



  • 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"
    
    

  • Why, of course they are!

    Same as Sprint! And then when the deal is complete and all the promises made and contracts signed, they will start firing the highest paid/longest tenured employees at T-Mobile for cost savings while jacking up prices with new plans with the same features every 6 to 8 months and promotional phone pricing only for those new plans.

    I should know. I was a store manager for 5 years. Before and after sprint merger.

    T-Mobile was always a shit company with a bombastically marketed CEO that was all Packing Cracking et al. Reduce and replace is a scam. They lie and say they don’t have the device if you don’t buy accessories in store.

    Wanna know how to get the phone?

    Start picking out your accessories, have them grab your phone from the back, once they start the phone sale process, say you have changed your mind on your accessories. If they then say you can’t buy it, call the corporate 611 number and ask for a bill credit for deceptive practices and report the store. Then go and report to the FCC for bill stuffing.

    Never use a third party store. They are even griftier.