654
I am easy to amuse (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] Blackmist@feddit.uk 52 points 3 days ago

ffmpeg command lines are straight up black magic.

Anyone who understands them is not to be trusted.

It's even worse than tar.

[-] gamer@lemm.ee 1 points 1 day ago

ffmpeg commands are one of the best use cases for ChatGPT

[-] el_bhm@lemm.ee 9 points 3 days ago

If they know Regex, assume you are in Sarumans tower and held captive until a hawk comes in.

[-] Blackmist@feddit.uk 12 points 3 days ago

Writing regex is easy.

Reading it again after a couple of weeks...

[-] Jakeroxs@sh.itjust.works 11 points 2 days ago

It's a write only language

[-] mmddmm@lemm.ee 14 points 3 days ago

GNU tar is easy and straight-forward.

It's also completely incompatible with any other Unix, but then, what difference does it make is nobody can use them?

[-] eugenevdebs@lemmy.dbzer0.com 8 points 3 days ago* (last edited 3 days ago)

A more complex but more commonly used program is rsync

rsync -rav /home/user/Documents /mnt/usbdrive is treated differently than rsync -rav /home/user/Documents/ /mnt/usbdrive which is different than rsync -rav /home/user/Documents /mnt/usbdrive/ which is different than rsync -rav /home/user/Documents/ /mnt/usbdrive/

It's a great tool for making copies onto drives, even servers. But man you have to double check how each folder path is laid out, otherwise it'll write the files of one folder to the main drive, unorganized.

[-] Zannsolo@lemmy.world 2 points 3 days ago

The biggest pain in the ass I've dealt with was using a directshow lib to implement flash on a new camera we were supporting for a desktop application. Working with a device graph and pins is beyond frustrating. We're porting functionality to the Web and my dev working on the camera just needed to call capture image to trigger the flash.

this post was submitted on 14 May 2025
654 points (97.9% liked)

Programmer Humor

23310 readers
870 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS