Show newer

I've made this a few times now and this time around my wife finally reminded me to take a picture of it when it was done 😅

Paul Ganssle  
Made katsu curry for the first time last night. Not so bad, but it made me want to go visit Japan again, which I fear won’t be possible for a few y...

Also, earlier this month I finally got a picture of a red-breasted nuthatch!

I've been hoping to get a photo of one of these ever since I thought I saw one during PyTexas 2020: qoto.org/@pganssle/10509100760

Show thread

Got my first ever Cedar Waxwings in the back yard the other day! Just as I was thinking that all the interesting birds were gone for the winter, a small flock of these guys came in.

Very cool-looking birds.

@benoit If you have a second phone the Google translate app has an AR type mode that might help.

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.

Show thread

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.

Show thread

Recently got a new 2TB SSD for my laptop and I transferred everything over from my old SSD using a USB 3.0-SATA cable and it took about 30 minutes to transfer ~400 GB with rsync, which I found extremely impressive (especially since it was a lot of little files).

This looks more like what I was looking for at the time: codecalamity.com/encoding-uhd-

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...)

Show thread

I think this actually boils down to this bug: 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.

Show thread

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

fosdem.org/2021/schedule/event

@benoit Plot twist: HR is full of tax protesters, and they send you a bunch of literature on how you never needed to pay taxes in the first place.

en.wikipedia.org/wiki/Tax_prot

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.

@timorl If it's an open instance you could also make an account there and try following someone here.

If you are affected by the startWithAudioMuted/startWithVideoMuted bug in Jitsi Meet, the following workaround might be interesting to you:

gist.github.com/cketti/f0ed9b7

#jitsi

@freemo I mean, the crowd did kill two of those people... One deliberately, the other accidentally.

@freemo Looks like one of those deaths was trampled by other rioters, one had a heart attack and another had a stroke.

Hard to blame the police for any deaths except the woman who was shot.

@freemo Yeah, should have been multiprocessing.RLock or whatever specific re-entrant lock you are using. I probably shouldn't have even namespaced it 😛

@freemo Hmm, weird. If there is no solution that allows you to have more than 500 RLocks, maybe you can get a larger array by locking "blocks" of the array for your atomic operations. Then you can have 500 locks spread across 20,000 elements.

Python is always pass by reference, so you can do something like this:

locks = [threading.RLock() for _ in range(500)]
locks = locks * int(math.ceil(len(array) / 500))
random.shuffle(locks)
locks = locks[:len(array)]

Each element is randomly assigned a block of locks, so even if the access pattern is non-random the lock distribution will be. At any given time you have 32 processes contending for 500 locks, which seems like good odds.

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.