Does a Scourge Aasimar take half damage from its own Radiant Consumption effect?

In Volo’s Guide to Monsters, the Aasimar playable race has the following trait (pg. 105):

Celestial Resistance. You have resistance to necrotic damage and radiant damage.

So they take only half damage from radiant damage.

The Scourge Aasimar sub-race also have this ability (pg. 105):

Radiant Consumption. Starting at 3rd level, you can use your action to unleash the divine energy within yourself, causing a searing light to radiate from you, pour out of your eyes and mouth, and threaten to char you.

… at the end of each of your turns, youtake radiant damage equal to half your level (rounded up). In addition, once on each of your turns, you can deal extra radiant damage to one target when you deal damage to it with an attack or a spell. The extra radiant damage equals your level.

So let’s say a level 10 Scourge Aasimar activates this ability. During their turn, they make a nearby creature take 10 radiant damage. Does the Aasimar themselves take 5 also, or do they only take half of that because of their Celestial Resistance?

In other words, does their Celestial Resistance negate (some of) their own self-dealing damage from Radiant Consumption?

How does the consumption of spell slots affect an Artillerist Artificer’s ability to create Eldritch Cannons?

The Artillerist subclass for the Artificer class has the ability to summon an “Eldritch Cannon” to support them in combat:

At 3rd level, you learn how to create a magical cannon. Using woodcarver’s tools or smith’s tools, you can take an action to magically create a Small or Tiny eldritch cannon in an unoccupied space on a horizontal surface within 5 feet of you. A Small eldritch cannon occupies its space, and a Tiny one can be held in one hand.

Once you create a cannon, you can’t do so again until you finish a long rest or until you expend a spell slot of 1st level or higher.

Eldritch Cannon, Eberron: Rising from the Last War, pg. 59

The way this feature is written seems to imply that the ability to summon the cannon becomes “unlocked” after consuming a spell slot, which would mean that an Artificer could cast a spell like Cure Wounds and thusly regain the ability to summon their cannon using their action.

Is this a correct interpretation of these rules? Or are Artificers required to spend that spell slot as part of the action used to summon the Cannon (a la Sorcerers burning spell slots for their Font of Magic feature)?

Can a scourge aasimar’s Radiant Consumption dispel magical darkness?

Scourge aasimar (Volo’s Guide to Monsters, p. 105) have the Radiant Consumption trait, part of which states:

Starting at 3rd level, you can use your action to unleash the divine energy within yourself, causing a searing light to radiate from you, pour out of your eyes and mouth, and threaten to char you.

Your transformation lasts for 1 minute or until you end it as a bonus action. During it, you shed bright light in a 10-foot radius and dim light for an additional 10 feet[.]

Can a scourge aasimar’s Radiant Consumption trait dispel magical darkness, or even encroach upon it?

I’m thinking not, but it’s a racial ability, so it doesn’t have a spell level.

Too much RAM consumption

I’ve been looking around but can’t find the answer I’m looking for so here I am. I’m a newbie at Linux so bear with me. Running Ubuntu 18.04. Linux kernel Boot up, nothing running, and I’m at 1.90 gigs of RAM after about five minutes. Any reason why this distro consumes much of my memory? Is this normal? Thanks in advance.

Memory consumption rampant when using FTP file transfer

I’m loading files in a newly installed Ubuntu 18.04 LTS server using FTP, but every single time I copy a file a new process is created on the server side and the old process not being closed, taking insanely amounts of RAM for transferring a large quantity of small size files. Right now I canceled the transfer because it took 6 GiB of RAM of the 8 GiB of the server.

Closing individual process is a mess, because there is a ton of them, so I restart the server after copying a certain amount of files. Why is happening that?

Maximum space consumption of stack and queue for DFS and BFS

I’m trying to determine the maximum memory consumption of the “pending nodes” data structure (stack/queue) for both travelings: BFS and (preorder) DFS.

Since BFS and DFS while traveling graphs have node discovery control (no loops), we can analyze the problem by thinking in terms of trees instead of graphs, where your starting node is taken as root, as usual.

I’ve started by assuming that the resulting traveling is a complete tree (all leafs have same depth), with height $ h$ , $ n$ nodes, and thus all nodes having degree $ d$ (except leafs).

Of course, since the tree is complete, $ n$ can be calculated from $ h$ and $ d$ :

$ $ n = \frac{1 – d^{h + 1}}{1 – d}$ $

Under this asumption, the worst case scenario for DFS is when you are in the deepest non-leaf node of the first branch of the tree: since each time you pop a node, you insert all of its children, for each level, you have $ D – 1$ pending nodes in the stack, except in the last non-leaf, where all of its children are inserted.

If you, instead of being in the first branch, were in another one, you would have some branch with less than $ d – 1$ pending children in the stack, and thus you have less nodes in the stack.

So the maximum memory consumption of DFS for a complete graph with homogeneus degree is ($ ms$ stands for maximum space):

$ $ ms = h * (d – 1) + 1$ $

This last + 1 represent the extra child for the last non-leaf node. For instance, for a tree with $ d = 4$ and $ h = 20$ nodes, a DFS’s stack would require as maximum:

$ $ ms_{DFS} = 20 * 3 + 1 = 81\ nodes$ $

Taking into account that this graph would have $ n = 1.4660155e^{12}$ nodes, this is a more than admisible amount. That’s the adventage of logarithmic space complexity ($ h = \lfloor log_d((d-1)n)\rfloor$ ).

However, for BFS, which have exponential space complexity, the worst case scenario is when you have all leafs pending to be discovered, while having discovered every other node, so your queue contains all leafs (so have the full last-level pending to be discovered but nothing else):

$ $ ms_{BFS} = d^h\ nodes$ $

which, from our example, equals $ 1.0995116e^{12}$ .

My problem now is relaxing the restriction of the graph to be complete, so $ d$ is not an homogeneus degree anymore, but an average degree instead (which can contain now decimals), and the tree can have any disbalance, even being a list. Consequently, the number of nodes is free, so it’s not attach to d and h as before.

If $ d$ is an average degree and $ n$ any amount of nodes, I’ve tried to model somehow an upper bound of space consumption by first modelling a complete tree with an homogeneus $ \lfloor d\rfloor$ degree, and then adding children to the last leaf until getting $ d$ (I assume that the resulting number of nodes should equal $ n$ , but I’m not sure on that either; I’ve even tried to calculate, given some $ d$ and $ n$ , a lower and upper bound for the height of the tree).

Since $ d$ is an average, if some node has more than $ d$ children is because some other node has less than $ d$ children, and thus the idea was to find the worst case scenario for DFS and BFS by removing children from one node and moving the cut branch as child of another node or, in general, finding somehow the closest upper bound as possible of memory consumption, but I couldn’t find a way.

The thing is that, if you apply this height increase repeatedly by moving sibling branches to deepest levels, you would probably end up having a lot parent or sibling paths consisting of just lists, which would be removed from the stack/queue very quickly, and thus there must be some tree state where you cannot make the space consumption worst than that. I assume though that the “worst tree” can be different from DFS and BFS though.

Is making this upper bound (or even exact amount) calculation even possible? Or the worst case scenario is just the balanced one?

Can the witch hex “Gift of consumption” be combined with Fortitude(Harmless) spells?

For reference the hex’s descriptions

Gift of Consumption (Su): The witch curses a creature to share any effects that target her vitality. Whenever the witch is exposed to an effect that requires her to attempt a Fortitude save, as an immediate action she can curse a creature within 30 feet to share the effect. The hexed creature must also attempt a Fortitude save at the same DC as the witch’s, and on a failure it is subject to the same effects as the witch. Regardless of the outcome of the saving throw, the creature can’t be targeted by this hex again for 1 day. This hex does not function with effects that require additional types of saves, such as phantasmal killer.

Greater Gift of Consumption (Su) The witch can more effectively redirect effects to her proxy chosen by the gift of consumption hex. When the witch succeeds at her Fortitude save against an effect that she has redirected to a proxy, the hexed creature takes a –4 penalty on its Fortitude save against the redirected effect. If the witch ever fails a Fortitude save or intentionally exposes herself to an effect that requires a Fortitude save, such as by ingesting a poison, she can redirect that effect to affect only the hexed creature, though the hexed creature can still attempt a saving throw to resist the effects. Once she has redirected an effect to another creature in this way, that creature cannot be affected by the gift of consumption hex again for 24 hours. The witch must have the gift of consumption hex to select this hex.

Can the gift of consumption hex be combined with beneficial effects, such as spell “Delay Poison”, which has Fortitude (Harmless) in its save descriptor, and target an ally?

Does the situation change if the witch character has Greater Gift of Consumption?

What may be the reason for unnecessary internet data consumption by Ubuntu 18.04 OS even automatic update is stopped?

In my laptop I installed Ubuntu 18.04 LTS OS as a dual boot OS alongside of Microsoft Windows 10 OS. I stopped the automatic update process. Normally I connecting my laptop with mobile tethering based Wi-Fi hotspot. Recently my laptop consumes more than 1 GB of internet data within few minutes when connecting it without doing any internet access process by manually with frequently. So I tried USB tethering also and I faced same problem. What may be the reasonable causes for my problem and how to resolve it. Guide me to resolve my problem. Thanks in advance.