If possible, it would be interesting to collect a bunch of performance stats for my computer use over the course of a few years to see how often I bottleneck on things like “hard drive read/write speed”. Not sure if it’s worth my time and $100 to replace this SATA with NVME.
I suspect that in almost all cases where I’m reading to or writing from the hard drive, the bottleneck is somewhere else — e.g. network, a drive I’m transferring to/from, speed to parse or serialize whatever data I’m reading/writing.
I imagine my most likely bottlenecks on IO would be during start-up (which is rare and I don’t find it especially slow anyway) or if I’m reading/writing some memory-mapped file (can’t remember the last time I’ve done this), but it’d be nice to get real data on this.
Of course, once I took my laptop apart to install the new hard drive I realized that my current SSD is NVME M2 and I don’t even have a SATA cable for this… 😅
I ordered one, we’ll see if I notice a drop in speed for any of the tasks I do regularly.
This looks more like what I was looking for at the time: https://codecalamity.com/encoding-uhd-4k-hdr10-videos-with-ffmpeg/
I’ve written a little Python script wrapping the advice here and it seems to be working very well (though I haven’t tried it on any non-HDR and non-x265 content…)
I think this actually boils down to this bug: https://trac.ffmpeg.org/ticket/7037
If I had more time to play with OSS and more experience in this domain I might jump on it. Probably in the meantime I’ll try to cobble together a script to mostly-automatically carry over the HDR metadata in transcodes.
Resurrecting this because I finally got around to trying it: unfortunately, this didn’t work well for me. I get a lot more opportunity to tweak the color palette, but I haven’t gotten one that turns out quite right yet, which makes me think this approach would need about as much tweaking as manually figuring out the parameters to copy over HDR metadata.
Additionally, Tone-mapping requires using zscale
to make the inputs linear, which requires compiling with --enable-libzimg
, which Arch linux and most docker containers I’ve found don’t do. I managed to create a docker container that installs ffmpeg-full
from the AUR, but that was a whole complicated affair, unfortunately, and takes forever.
With declarative programming, you describe the end result instead of the steps you want to execute to get that result. This means that you can execute your code as more times than you meant to without getting duplicate/incorrect output – that is, you get idempotentcy for free.
The description page for the #fosdem declarative programing page consists of 2 copies of the same paragraph; apparently someone accidentally uploaded it twice
…or has a *great* sense of humor
https://fosdem.org/2021/schedule/event/declarativeminimalistic/
Google has suspended Element (@matrix) from the Play Store for "Sexual Content and Profanity". Basically same story as with Subway Tooter a while back. Element is to Matrix as Chrome is to the web. Curiously, Chrome is still on the Play Store.
For today's #FollowFriday #FF, here's a bunch of cool (mostly nature) photographers:
@david
@jett1oeil
@hoernchen72
@sohkamyung
@kristapsdz
@bobfisherphoto
@c0c0bird
@IanCykowski
@ete2
@kernpanik
If you are affected by the startWithAudioMuted/startWithVideoMuted bug in Jitsi Meet, the following workaround might be interesting to you:
https://gist.github.com/cketti/f0ed9b722d04618b33a7269d030e1072
If you think you're affected by the bird salmonella outbreak, either:
1. Take down your feeders for 2 weeks, or
2. (Daily) Clean/scrub your feeders with soapy water, dip in 1:9 bleach solution, and wash with soapy water after
Any one familiar with #ffmpeg want to take a crack at this question?
https://superuser.com/q/1613217/205461
Given how long it’s gone without any bites, I’m guessing the answer is going to be “it’s complicated/impossible” or something, but it seems like it really should be possible.
Maybe @lynne@pars.ee knows?
Two things I like in the "Getting Unstuck" ebook sampler I just released:
* "Who this book is for and what you should get out of it" but also "Who this book is NOT for"
* concrete examples and exercises to improve open source project management skills
https://changeset.nyc/resources/getting-unstuck-sampler-offer.html
I ask because I’d like to post photos of my family on various platforms but I am not yet comfortable with the idea of posting my son’s face in public or semi-public settings.
I’d love to keep the essence of the photos without necessarily posting his face, though…
BTW, some relevant context for those outside of Hyderabad who are going to watch this talk, this is what Google Image Search says Hyderabadi haleem looks like:
The video from my PyConf Hyderabad 2020 keynote, “The Stable Interface Paradox” is now available!
I had a lot of fun with this, I think it’s the first time I’ve actually felt compelled to take a selfie to commemorate a talk:
And also, if you know any Russian legislators, my perennial recommendation here is to show them this: https://codeofmatt.com/on-the-timing-of-time-zone-changes/
It would be shocking if changing the time zone with less than a week’s notice did not result in a bunch of easily avoidable problems.
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.