>Suppose you want to make some DOM change, and then when that change has actually been rendered so that the user can see it you want to do something else.
>How do you actually wait for a DOM change to show up?
I believe that use case would be covered by MutationObserver[0].
For those that enjoy this style of article, Amit Patel's Red Blob Games site[0] has similarly well-written and interactive articles, mostly regarding pathfinding and map generation in games.
He also wrote an article[1] about how he creates the interactive elements of these articles, and a lot of "background" information about the articles on redblobgames.com can be found on his other blog[2].
Vivaldi is set to be very strict when it comes to ads and tracking, and that affects sometimes how sites works. I've set Waterfox to be more "liberal"; it's for dirty-dirty stuff and dirty stuff. I'm also using it as a kind of sentiment I feel to Gecko engine. I'm not using Firefox since v60 - one of updates damaged my profile in an unrecoverable way.
I'm not the GP however I do the same, and even as a fairly lousy photographer I'm able to get photos where you can usually see some reasonable detail. Here are some examples: https://imgur.com/a/Nr5NIgt
All shot on a Canon 1100D with a 75-300mm zoom lens, using manual focus with the "full auto" mode for controlling aperture, shutter time etc. Usually I am leaning out of a window or standing in my garden to capture these shots.
As you can see, none of these images are particularly "good": the subjects in the first three images are underexposed due to their dark colouring against a light background, some are slightly out of focus, some show evidence of dirt or other marks on the camera sensor, yet you can still make out various details on all of them. One would imagine that if there were an equivalent photo of an actual "alien" UFO, it would be on the front page of newspapers across the world.
(One trick that I use for family photos is to use a delay of 1 second, to avoid the movement when I press the shutter. (It's not useful when there are kids. One second later they are in another room.))
I've been meaning to pick up a shutter release accessory for a while now since the 1100D only has 10s shutter delay in automatic modes, or 2s delay in the manual modes. Fortunately the movement when pressing the shutter button isn't much of a problem for these type of shots as the camera + lens is weighty and quite well balanced.
It changes the focal length of the lens, although it does not seem to affect the lens (blue ring) in the left-hand pane which seems like a bug.
There is a demonstration later in the article (below the 5th mention of "focal length") which does affect the lens (blue ring) in the left-hand pane. Rotate the scene so that you are viewing the camera side-on, and you will see the focal length of the lens changing when you move the slider.
You may be interested in fman[0]. Dual pane file manager, actively developed. I don't believe it has feature parity with Norton Commander, but it's a good modern alternative. The developer is also active on HN.
>How do you actually wait for a DOM change to show up?
I believe that use case would be covered by MutationObserver[0].
[0] https://developer.mozilla.org/en-US/docs/Web/API/MutationObs...