News for hackers. Stuff that matters.

Sillzen

Re:Safari Technology Preview Release Notes on Friday May 13, 2022 @02:07PM (#31370767)
>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].

[0] https://developer.mozilla.org/en-US/docs/Web/API/MutationObs...

Re:Sublime Text 4 (Build 4126) on Tuesday December 21, 2021 @03:57PM (#29642006)
Preferences -> Settings

Add the following to your user prefs file:

  "update_check": false
Re:Curves and Surfaces on Tuesday November 02, 2021 @04:26PM (#29086918)
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].

[0] https://www.redblobgames.com/

[1] https://www.redblobgames.com/making-of/line-drawing/

[2] https://simblob.blogspot.com/

Re:Waterfox Browser on Sunday October 10, 2021 @11:30AM (#28819157)
Indeed, but I am unsure what OP would want to avoid doing on Vivaldi but would be happy to do on Waterfox.
Re:Waterfox Browser on Sunday October 10, 2021 @06:50AM (#28817388)
What do you mean by "stuff that I wouldn't want to do on Vivaldi"?
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.
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.

Re:Cameras and Lenses on Thursday December 10, 2020 @05:15AM (#25372006)
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.

[0] https://fman.io