• 2 Posts
  • 108 Comments
Joined 1 year ago
cake
Cake day: June 4th, 2023

help-circle


  • It’s always good to support the original publisher and encourage local libraries by reading a hard copy, so I could never endorse piracy, even for people who can’t get their hands on a physical copy. Even though it’s true that both libgen and annas-archive have ebook copies of this particular book (and can easily be found via google), I could never in good conscience direct anyone to such a site.




  • Are you set on using light sources, or would you be okay with a shader that just creates the shadows without checking for specific light sources? It looks like this might do what you want, but you might need to modify it to work with your exact use case (multiple z levels).

    Generally it seems like some kind of shader might be your best option, it seems like the 2d lights are intended for casting lights within a given z level rather than between them. If you want more complex shadows across multiple z levels, you might need to create your own light objects (just a position, color, and intensity) and pass them to a shader that does something similar to the linked example, but modified based on your lights list.

    It’s possible there’s a simpler way that someone else could chime in with (I’m pretty new to godot), but as far as I can tell the built in 2d light and shadow systems aren’t designed for different z levels, so you’d need to use something else.



  • It means the overall death rate in the sample group was decreased substantially. The number of people who survived because they didn’t get lung cancer or blood clots was so large that it had a noticeable impact on the number of total survivors, even when you include death by bus. This is a useful measure for a couple of reasons. One, it accounts for the prevalence of the disease being prevented - cutting all pork from your diet prevents 100% of deaths by trichinosis, which accounts for like 0.00001% of deaths from all causes (completely made up numbers and example, without consulting any sources). Two, it could account for net change in survival, for a treatment or behavior that has both positive and negative effects - giving radiation therapy indiscriminately to everyone with any kind of lump might decrease rate of dying from breast cancer, but increase death “from all causes” because it causes more problems than it solves.

    I guess an additional way it might be useful is if we don’t yet have data on the exact mechanisms by which the treatment helps or what exactly its preventing - all we know is that we gave group A the treatment and not group B, and after 20 years there were a lot more people alive in group A, but we haven’t yet found a pattern in which causes of death were most affected and how.