

Apparently the client I was using didn’t render codeblock markdown. Thanks for the pointer. Found a better client.
Apparently the client I was using didn’t render codeblock markdown. Thanks for the pointer. Found a better client.
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"
What took you so long?
I’d read that study.
Balmer Peak for kids…
My question is: is it being used for inventory management? Or is it being used to feed the entire patient file in to make sure the Pharmacist doesn’t make a mistake as well. Double checking for conflict in the prescription interactions and stuff like that.
Should it be relied as the only thing? No. Is it nice to have another set of eyes on every task? Probably? Could this be solved with the hiring of more pharmacy techs and an education system not driven by profit margins for the investors that actually facilitates the workforce’s technical skills? Yes.
Idk. Just sounds like shitty companies being shitty companies all the way down.
The only line which I demand must only go up.
She was just his Type.
Yours is short. Mine was 47 points long and had so much stuff about questions I had asked.
Importantly, it did list that I explicitly do not want it to show me how to make unit tests.
Huh. I did mine too, then asked it to list it. It’s just a summary of the memory feature preloaded as context for any new first input.
That’s the only time zone I’m for!
Based on my frequent exploding and vanishing gradients, that would be a yes.
Oops. Someone hacked the server and now the code is leaked online. How terrible.
I just end up refactoring the same 3 classes, pass out, and wake up to clean code with documentation. It’s like the cobbler and the elves but code and weed.
Pretty sure it’s just general… culture? Caffeine, other than sugar, is the most normalized addiction. It’s a potion that works for multiple purposes.
I find that the balmer peak holds not just for alcohol, but tracks better for most other drugs. Coding after smoking a joint is great.
Just because it’s no longer supported doesn’t mean there’s not some poor intern refactoring spaghetti backend in a basement somewhere using it.
rEIFt —> rEFInd was this exact feeling for me.
I do that with save icons!
The legend of Little Bobby Tables lived on through him.