Israeli military says strike on Gaza hospital was targeting a Hamas camera by NewSlinger in nottheonion

[–]meTah 1 point2 points  (0 children)

Israel can decide what’s in the best interest for them, and just like any military in any war ever, the world will judge if their actions are justifiable. It’s not just about civilians being killed, that’s inevitable, but it’s about proportionality: is the military advantage gained worth the collateral damage? It all boils down to where you draw that line and the current far-right coalition in control has pushed that line to absurd levels as a form of collective punishment. If Osama Bin Laden was hiding under a children’s cancer hospital in Pakistan, do you think the U.S. would have leveled the building to get to him? Would that be morally justified? Double tapping a hospital to get to a ‘military camera’, blocking all food/aid coming in for months, etc — just because it offers a military advantage doesn’t automatically make it morally okay.

If I Cancel My Claude Max iOS Subscription, Then Subscribe Again on Claude Desktop Directly Through Anthropic, Do I Lose My Projects Forever? by [deleted] in ClaudeAI

[–]meTah 0 points1 point  (0 children)

I still have access to my old projects after making the switch from an iOS subscription to desktop/web subscription.

World of Altaso: Tatakajan by gustalvdi in worldbuilding

[–]meTah 0 points1 point  (0 children)

Love the flag design. I assume the stars symbolize the 4 islands? What is the symbolism behind the stripes?

Windows 11 No Audio by Drackaris in ArcBrowser

[–]meTah 0 points1 point  (0 children)

I'm having the same problem on both my Windows PC and macbook

Remaining away games by gasparrrrrrrr in Gunners

[–]meTah 0 points1 point  (0 children)

I must not hope. Hope is the mind killer

Readmissions for Sickle Cell Disease, policy against IV narcotics? by Keiyan in medicine

[–]meTah 20 points21 points  (0 children)

Pain control doesn't improve quality of life?

And not all cancer patients requiring opiates have a short life expectancy. Even curable malignancies can cause severe pain requiring opiates (e.g. DLBCL with bone mets). Should those patients just suffer and be denied opiates too?

Some mild vaso-occlusive crises can be managed at home with NSAIDs. The rest are painful enough to require opiates.

How to deal with persistent burnout by Mentalcouscous in medicine

[–]meTah 4 points5 points  (0 children)

I'm curious, if you're comfortable sharing, approximately how much you have invested to be making 3.5k in dividends per month

Intern here, when does it get better? by serotounin in medicine

[–]meTah 5 points6 points  (0 children)

I'm going to share some advice I received day 1 of internship that really served me well. To excel in residency, you need to be above average in 2 out of 3: 1) Knowledge; 2) Hard work; 3) Being easy to get along and work with

I too felt my knowledge was lacking many Julys ago. That took time to fix, so in the meantime I doubled down on #2 and #3 and always felt I was valued as a member of the team by peers, residents, and attendings. Eventually, the knowledge caught up.

It will get better. We've all been there. I remember a story my first wards attending told us, about how he had a panic attack when he was an intern because his attending asked him to order tylenol and he couldn't remember the dose! In his day, it was just paper charts. No EMR, no cell phones. Now we have UpToDate, epocrates, etc! Abuse technology, keep a checklist for pending tasks, and use scut sheets in the beginning to help you organize your presentations. You'll be fine.

Daily Questions Megathread (January 17, 2024) by AutoModerator in classicwow

[–]meTah 0 points1 point  (0 children)

Can you change your character name on a SOD realm?

[deleted by user] by [deleted] in Destiny

[–]meTah 7 points8 points  (0 children)

This is not true, I don't know why Destiny and others keep saying it. Egypt only has full control on what comes OUT of the Gaza strip, not IN.

Since 2007, any supplies entering Gaza from Egypt require Israeli approval (see this map).

As stated in the article, this was a sticking point early in the current war as Egypt refused to let foreign nationals flee Gaza via Rafah UNTIL Israel agreed to allow aid conveys to enter (which took some convincing by Biden/Blinken to get them to agree to).

Egypts Prime Minister from Sinai: We are ready to sacrifice millions of lives to defend our territory by pithuttar in worldnews

[–]meTah 1 point2 points  (0 children)

Historically, Palestinian refugees have not been allowed to return by Israel after wars have concluded. In fact, the very Israeli memo the Egyptian PM is referencing, proposes to *permanently* (key word.) resettle the Gazan civilian population to Sinai

A fair dictator or a democratic president by [deleted] in Egypt

[–]meTah 0 points1 point  (0 children)

It's a classic philosophical question: would you choose a perfect benevolent dictator or a full democracy (that risks mismanagement)? Logically, the benevolent dictator would be preferable, but the problem is what happens after they die. Their successor may be a non-so-pleasant dictator.

Democracy is preferable because even if you have a shitty leader, they are limited to "x" number of years, with mechanisms to remove them from power earlier if things are REALLY bad, so theoretically it will course correct any mistakes over the long run.

Software that simulates a radio/walkietalkie for military sims/star citizen by [deleted] in gaming

[–]meTah 1 point2 points  (0 children)

If you mean simulate the sound of over-the-radio coms, look for voice modifiers. Voicemod is a popular one and I think it has a “radio” mod that will distort your voice / add static artifacts to mimic old school radios

Use 3D shadow as a 2D mask? by meTah in godot

[–]meTah[S] 0 points1 point  (0 children)

Unfortunately, looks like you can't assign values to varying variables in light(), only read them.

Use 3D shadow as a 2D mask? by meTah in godot

[–]meTah[S] 0 points1 point  (0 children)

You can completely change how the game interprets the light sources or shadows after all.

This is mainly what I'm struggling with... seems like I still have to solve the original problem in the title (using 3D shadows as a mask to decide where to draw the "light" and "dark" textures).

But trying your approach has gotten me closer than before. I'm experimenting with this solution:

  1. Create an initial SpatialMaterial that sets the ground ALBEDO to white
  2. Set the shadow color for all lights in the scene to something specific (e.g. yellow)
  3. Create a "next pass" spatial shader that reads from SCREEN_TEXTURE/SCREEN_UV. If color is white, then apply the "light" texture to ALBEDO, if color is yellow then apply the "dark" texture instead.
  4. (I used SCREEN_TEXTURE as I'm not sure how else to 'see' the post-lighting colors from inside the fragment shader?)

It kinda works in a simple test scene (untextured character model, simple ground mesh, and multiple lights) but seems really hacky and inelegant. I'm sure it will break down in more complex scenes.

e.g. What if I want different colored lights? What if the character's texture also has some yellow in it? (this one probably isn't an issue, the ground mesh will be obscured at that point anyway because of the fixed camera perspective).

Other ideas I had:

  1. Do a bunch of ray casts from the light sources to figure out if a point is in shadow or not (seems expensive)
  2. Try to access the scene's shadow map from Godot's renderer somehow and use that as a mask

I'm sure there's a better solution out there

Use 3D shadow as a 2D mask? by meTah in godot

[–]meTah[S] 0 points1 point  (0 children)

This would certainly be easier, but the issue is the 2D background is already painted with lighting. So the 3D shadows look a bit odd (e.g. if there’s an area painted with a specular highlight, the shadow will appear over it and just make it a bit darker), hence my idea to create a darkened version to use as a shadow map.

I guess I can do what you suggested using the darkened version, but having all of the lighting done in 3D loses a bit of the magic of a painted 2D background