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

Programmer Humor

23911 readers
732 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
 
top 50 comments
sorted by: hot top controversial new old
[–] Lemminary@lemmy.world 12 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Are you a tits or FFMPEG filter documentation on section 11.5 man?

[–] LovableSidekick@lemmy.world 10 points 3 weeks ago

Please refer to section 8008S.

[–] Blackmist@feddit.uk 54 points 3 weeks ago (4 children)

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 2 points 3 weeks ago

ffmpeg commands are one of the best use cases for ChatGPT

[–] el_bhm@lemm.ee 9 points 3 weeks ago (1 children)

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

[–] Blackmist@feddit.uk 15 points 3 weeks ago (2 children)

Writing regex is easy.

Reading it again after a couple of weeks...

[–] Deestan@lemmy.world 1 points 2 days ago

Tbh the frequent pain from needing to read it again often happens because it was so hard to write correctly that it misbehaves on some data and you need to adjust it.

[–] Jakeroxs@sh.itjust.works 11 points 3 weeks ago

It's a write only language

[–] Zannsolo@lemmy.world 2 points 3 weeks 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.

[–] mmddmm@lemm.ee 14 points 3 weeks ago (1 children)

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 weeks ago* (last edited 3 weeks ago) (1 children)

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.

[–] glowing_hans@sopuli.xyz 2 points 3 days ago* (last edited 3 days ago)

I recommend --dry-run and reading the stdout with human readable output -h. And dont use the --delete flag if you dont know what will happen 😓

[–] mobotsar@sh.itjust.works 14 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

Pages are fractional now?

Man, I really gotta get with the times...

[–] JackbyDev@programming.dev 2 points 3 weeks ago

I've had text books that have page numbers in the corner as chapter-number. It's not unheard of. When I was in JROTC in highschool the cadet field manual had pages like this. I'm sure others did too but I specifically remember that one more because I was there for four years. (Had to be there for riflery team.)

[–] ILikeBoobies@lemmy.ca 3 points 3 weeks ago

The bible is an old western book that orders itself so

[–] sxan@midwest.social 12 points 3 weeks ago

"Section". They just used the wrong word ¯\(ツ)

load more comments