For the Purpose of Detect Magic and Identify. Would a Magic item that ran out of power for the moment be considered a magic item?

If a magic item runs on "Magic Batteries" when the Item is out of power would it be considered a magic time for the purpose of the Identify and Detect Magic spell?

For example, I have a Mirror that shows through illusions, it has crystals around it that are destroyed as you used it, you can replace the crystals for more uses when it has no crystals, would it still be considered a magic item detectable by the spells?

Would the same work for items with charges that recharge at dawn? If the item has 0 charges and is not dawn yet, would it be still be considered a magic item?

Purpose of randomization/derandomization in basic randomized algorithm for MAX SAT

In Sections 5.1 of The Design of Approximation Algorithms by Williamson and Shmoys, they describe a basic randomized algorithm for MAX SAT and how to derandomize it. The algorithm is just to assign each variable 1 (true) with probability 1/2 and 0 (false) with probability 1/2. In other words, sample uniformly at random from the space of all solutions. They show that this is a 1/2-approximation.

Then in Section 5.2, they describe how to derandomize it using the method of conditional expectations. (I won’t describe the process here because it is not very complex and widely known I’m assuming.)

My question is, why bother derandomizing this way? Or even, why bother making the algorithm random in the first place?

It seems to me that an equally good algorithm would be the one-liner which deterministically sets all variables to 1. Given some MAX SAT instance as input, it seems to me that you would also expect this to (i.e., "in expectation it would") satisfy half of the clauses. To me, the analysis of the random algorithm really seems to say that any fixed guess is "good." (Rather than showing that our random algorithm is inherently good.) So why go through the process of randomizing and derandomizing in the first place?

Thanks in advance!

Is using an Eagle Whistle considered as wearing/carrying it for the purpose of Telekinesis?

The description of the Eagle Whistle from Tales From the Yawning Portal p. 228 states:

Wondrous Item, Rare

While you blow an eagle whistle continuously, you can fly twice as fast as your walking speed. You can blow the whistle continuously for a number of rounds equal to 5 + five times your Constitution modifier (minimum of 1 round) or until you talk, hold your breath, or start suffocating. A use of the whistle also ends if you land. If you are aloft when you stop blowing the whistle, you fall. The whistle has three uses. It regains expended uses daily at dawn.

While you are blowing the eagle whistle, are you considered as wearing or carrying it for the purpose of the telekinesis spell ?

Object. You can try to move an object that weighs up to 1,000 pounds. If the object isn’t being worn or carried, you automatically move it up to 30 feet in any direction, but not beyond the range of this spell. If the object is worn or carried by a creature, you must make an ability check with your spellcasting ability contested by that creature’s Strength check. If you succeed, you pull the object away from that creature and can move it up to 30 feet in any direction but not beyond the range of this spell.

This is important, as a creature flying in the air thanks to the Eagle Whistle would certainly not want its beloved whistle to be automatically snatched away.

Determining “level” of an NPC ally for purpose of budgeting encounter XP

Hypothetical party:

1st level human wizard (PC)
3x guard NPC
1x acolyte NPC

This is the player’s first time, and it’s a solo campaign. The first mini-adventure involves recovering the cargo of a supply caravan that didn’t make it to her magic academy due to bandit hijacking (as a sort of graduate-test). The guards and healer are on contract from the school to assist her. The acolyte is essentially just to hang back and tend to wounds and probably won’t engage in combat unless someone goes down or the PC is seriously wounded.

So, with that “party” makeup, how do I determine the XP budget for a “medium” or “hard” encounter since there’s no clear CR->level mapping in 5e for those NPCs (who will certainly factor into any combat as meatshields and melee damage)? I was thinking about reverse-engineering them as crumby lvl2 fighters (given the 2 HD worth of HP they have), but they certainly aren’t on par with a lvl2 fighter, given the lack of action surge, second wind, etc., so the encounters would end up being too hard compared to PCs or DMPCs.

Could they be lvl1-equivalents, essentially trading any abilities a PC would have for extra HP? How would this work at later levels with higher CR NPCs (veteran, priest, mage, etc.)? I’d rather not have to build a bunch of DMPCs as hirelings, because I want the NPCs to be a bit vanilla compared to the versatility of my player. I’m already introducing 1-2 DMPCs to the game for her to take control over as she gets a feel for the flow of the game (for now, she’ll handle them out of combat, and I’ll effectively show her how to utilize them until she’s ready).

Just to be clear, I’m comfortable with the monster-generation rules for crafting NPCs as enemies to determine their CR, but I’m confused on how to use them in the adventuring party when budgeting encounter difficulty XP.

What counts as being “wounded” for the purpose of the rules on recovering a point of Hope?

In The One Ring game, players are allowed to recover a point of Hope if their Fellowship focus is not wounded during the session. The issue is that the rules don’t seem to state if they mean the Wounded condition (which involves a successful edge hit with armor failing to overcome injury), or simply having taken damage.

Getting full (purpose, usage) Table names in SAP Hana

Each table in SAP Hana has a purpose, for example, BSEG is Accounting Document Segment and BKPF is Accounting Document Header.

Is there anything in Hana (along the lines of Select * From Tables) or a full list elsewhere on the Intertubes, that will get me the purpose\usage of each table in Hana?

I’m trying to put together a Workflow for Alfred that’ll allow me to look up the definitions and it would be nice if I can get it to tell me “Look Up BSEG (Accounting Document Segment)” as I’m searching inside the workflow.

I’ve already got the list of names, just really could do with that purpose\usage if possible!

What would it take for a villain to get his domain transported to Ravenloft on purpose?

In all the cases I can remember in which somebody got taken by the mists to become a Dark Lord, it happened to an unwilling subject (which makes sense, given the torment they suffer there).

Let’s imagine the situation where somebody knowledgeable about Ravenloft lore would try to get the Dark Powers to kidnap him, along with his domain, into Ravenloft on purpose. To make the situation even worse, his ultimate motives might be honorable – he knows that if his castle stays in the Prime Material plane for another month, the entire plane will get destroyed (or at least very seriously damaged, a mass extinction kind of event). Let’s assume no frame challenges on this point – destroying the castle itself is not an option (it won’t help and moving to other plane than Ravenloft is also not possible).

From a very good description about Dark powers, we can read:

The Dark Powers seek those who transgress. Those who become Darklords are guilty of deliberate, passionate evil, often done in full knowledge that the deed was wrong. Whether the nascent Darklord is a deluded oathbreaker like the Lady of Nidalia (Islands of Terror), a power-hungry tyrant like Azalin or the lord of Falkovia (Ravenloft Campaign Setting) or simply a murderous monster like Harkan Lucas (Ravenloft Campaign Setting), the Dark Powers seem driven to find deliberate evil and punish it in their own peculiar fashion. Dispassionate or accidental evil does not have a history of attracting the attention of the Dark Powers, and there is no Darklord capable of communication that is not canonically shown to be fully aware of the sin(s) that lead to their damnation (some Domains have unknown Darklords, like the Nightmare Lands, or alien Darklords that may or may not be capable of meaningful communication with humanoids, such as the Elder Brain that serves as Darklord of Blutspur).

The villain in question is completely amoral – he has no issues with performing bad things, including sacrificing people in cruel ways – but he has, let’s call it, a pro-ecological mind, which wants to avoid the destruction of entire world due to the event he has originally triggered.

Is there, anywhere in the lore, a way to convince Dark Powers to pull out a piece of land towards Ravenloft? Will they be swayed by ‘being evil’ when your ultimate motive is kind of proper? Can you think about any smart way to fool them ? (last question might be better for WorldBuilding forum, so ignore it if it is too much off topic)

Are druids “shapechangers” for the purpose of a Polymorph spell saving throw?

The Polymorph spell states that “A shapechanger automatically succeeds on this saving throw”

Druids have Beast Shape, and although numerous textual references refer to this ability, at no point (that I can find) are they specifically called “shapechangers”. Now I know that I would rule “yes, they are” in a seat of my pants ruling, but is there a RAW 5e reference that makes this correlation and supports the case for Druids automatically saving from a Polymorph spell?

Purpose of OPTIONS method

I’ve been seeing OPTIONS method on my web server logs, when I googled about that stuff it says the its responsible for handling request from Same Source Origin policy. So I tried to access our site and sniff through wireshark to see if I can see the OPTIONS method by filtering it. However i cannot see it on the traffic why is it?