Do temporary hit points count as part of the HP for resisting certain magical effects?

Temporary hit points in Dungeons & Dragons are a mechanic that allows “a buffer against damage” (PHB 198). There are a few spells of note that can affect a character based on how many hit points they currently have, most notably sleep, power word stun, and power word kill.

Does temporary HP count towards the HP total for determining resistance for these effects?

How to gray out options in dropdown when certain variation is choosen instead of dissappearing

I am looking for a way to gray out the options in the dropdown of a woocommerce product page. Currently i have 520 variations for a product. Example below.

Here is the link to the product page:

So essentially it works as needed, however i wanted to know if there is a way to still show all the options for each dropdown, which would be grayed out, and the available options for a particular variation would still show as is now.

Like if i were to choose “Appliance Bases” under the “Cabinet Categories” drop-down, all the options for “Description” and “Dimensions” would still show, but be grayed out and not available to click, instead of just disappearing when it is filtered.

Any help would be appreciated:)


Ubuntu 18.04: “Add to Favorites” missing for certain qt-based applications?

OS: Ubuntu 18.04 (minimal installation option):

dkb@dkb-ubu1804:~$   cat /etc/X11/default-display-manager /usr/sbin/gdm3 dkb@dkb-ubu1804:~$   echo $  XDG_SESSION_TYPE x11 dkb@dkb-ubu1804:~$    

I installed the following qt-based applications using apt install: dolphin, featherpad, gwenview, kate and qterminal.

Out of these, dolphin, gwenview and kate did not show the “Add to Favorites” option when I right-clicked on their icons in the launcher. But featherpad and qterminal had the “Add to Favorites” option. Why is that?

(The situation persists even after a reboot.)

Their .desktop files didn’t offer any clues.

• Dolphin

[Desktop Entry] Name=Dolphin Exec=dolphin %u Icon=system-file-manager Type=Application X-DocPath=dolphin/index.html Categories=Qt;KDE;System;FileTools;FileManager; GenericName=File Manager Terminal=false MimeType=inode/directory; InitialPreference=10 X-DBUS-ServiceName=org.kde.dolphin 

• Featherpad

[Desktop Entry] Name=FeatherPad GenericName=Text Editor Comment=Lightweight Qt5 text editor Exec=featherpad %F Icon=featherpad Terminal=false Type=Application MimeType=text/plain; Categories=Qt;Utility;TextEditor; X-KDE-StartupNotify=false 

• Gwenview

[Desktop Entry] Name=Gwenview GenericName=KDE Image Viewer Comment=A simple image viewer Exec=gwenview %U Terminal=false Icon=gwenview Type=Application Categories=Qt;KDE;Graphics;Viewer;Photography; MimeType=inode/directory;image/gif;image/jpeg;image/png;image/bmp;image/x-eps;image/x-icns;image/x-ico;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/tiff;image/x-psd;image/x-webp;image/webp;image/x-tga; X-DocPath=gwenview/index.html # InitialPreference should be greater than Okular so that Gwenview is the # primary application associated with images, but less than Konqueror or Dolphin # so that Gwenview is not the primary applications for folders. InitialPreference=8 X-DBUS-ServiceName=org.kde.gwenview 

• Kate

[Desktop Entry] GenericName=Advanced Text Editor Name=Kate Comment=KDE Advanced Text Editor MimeType=text/plain; Exec=kate -b %U StartupNotify=true X-KDE-HasTempFileOption=true Icon=kate X-DocPath=kate/index.html Type=Application Terminal=false InitialPreference=9 X-DBUS-StartupType=Multi X-DBUS-ServiceName=org.kde.kate Categories=Qt;KDE;Utility;TextEditor; 

Dolphin (shown below), gwenview and kate don’t show an “Add to Favorites” option



Featherpad (shown below) and qterminal have the expected “Add to Favorites” option


Does the rule that you cannot willingly end your move in another creature’s space force or prevent certain actions?

There is a rule in the “Moving Around Other Creatures” section which states:

Whether a creature is a friend or an enemy, you can’t willingly end your move in its space…

I am wondering just how absolute this rule is and have come up with example situations where its application is unclear to me:

  1. On your turn, you are forced to occupy the same space as another creature, you have no more movement available, but you still have your action or bonus action available. Are you required to take the Dash action or to use some method (such as casting misty step) to get you out of the creature’s space?

  2. Caltrops state:

    Any creature that enters the area must succeed on a DC 15 dexterity saving throw or stop moving and take 1 piercing damage. Until the creature regains at least 1 hit point, its walking speed is reduced by 10 feet. A creature moving through the area at half speed doesn’t need to make the saving throw.

    An adjacent creature in standing on top of caltrops, and you only have 15 speed (and 15 movement left). I believe that you could not walk through them at half speed as you would run out of movement and be stuck in the creature’s space.
    However, could you walk through them normally even though they have a chance of having your move stop in the creature’s space (which, presumably, the character would know about, and thus would make it a willing decision)?

  3. Everything is difficult terrain, there is an adjacent creature, and you have 15 feet of movement left, could you move onto the creature’s space and then realize you can’t leave that space (as you don’t have enough movement to do so)?

I believe that my question is different from this one in a few ways. My second and third examples involve more willingly ending your move in another creature’s space (at least to me they seem to be more willingly done) and my first example calls into question what happens when the creature still has a way to gain the ability to leave the creature’s space (such as by taking the Dash action or casting misty step) which the linked question did not mention or address.

Does the rule preventing you from ending your turn in another creature’s space force you to take certain actions?

How would I find out how how to depict a certain set of numbers from a sum [on hold]

I’m looking for an algorithm of sorts for my problem. I have 10 buttons, Alpha = 1, Bravo = 2, Charlie = 4, Delta = 8, Echo = 16, Fox = 32, Golf = 64, Hotel = 128, India = 256, Juliet = 512, Each button can only be pressed once at the same time, so for example; If I pressed Alpha, Bravo, Charlie and Delta at the same time, I would get 15. No number will ever be a duplicate either and should only go up to about 1023 possible combinations. Any ideas?

InfoPath Approval Fields, certain users can fill in some fields

Using Infopath, I would like to have a “Approval Status” field that only certain users (the managers) can see when approving or rejecting a form. The scenario would be the following:

User fills out an item in a list which triggers a workflow that notifies both the initiator that they sent in a request and a manager that a request has been made. The form submitted has an option to select what manager you are submitting your form to for approval.

That manager would then be able to go to the form and select “Approved” or “Rejected” from a drop down. The original user wouldn’t have seen that field when filling out the form originally.

Any way to make this happen? Few options? Other suggestions?

apt-get install certain version

I have this:

 # apt-get update  # apt-get install -y postgresql-client=11.2 

and I get

E: Version ‘11.2’ for ‘postgresql-client’ was not found

but if I remove the version from the install and I try to run pg_dump command, I get:

stderr: pg_dump: server version: 11.2; pg_dump version: 10.10 (Ubuntu 10.10-0ubuntu0.18.04.1)

seems weird that there is no client version of the same value. What can I do to find the closest possible client-lib version?

Move Item from Drop Off Library to Destination Library and create folder structure in Destination Library based on certain criteria

The project i started with SharePoint from my previous question has moved to the second stage. The documents added to our Drop Off Library, after I manually run the workflow to strip the document name to its respective columns, will need another workflow to move the items from the Drop Off library to a destination library called “Employee Files” in the format below enter image description here

The Drop Off Library list has the following fields enter image description here

The workflow has to create a Root folder for example A (based on the last name index on Drop Off), then create sub-folder (a.) with last name, first name (emp ID) and sub-folder within (a.) based on the HR Employee File Category. I am able to come up with creating a folder in Employee Files library based on Last Name Index, or move just the document from Drop Off to Employee Files, but have no idea how to do all the necessary actions i.e create the complex sub folder structure, move to Employee Files and copy the document (there is an attached pdf before Name)inside one of these folders based on the HR category and the Payroll folder. Is the workflow in SP Designer 2013 doable?

Thanks again for all your help!


How do I handle a DM that plays favorites with certain players?

I am currently in a campaign where, out of everyone involved I’m the least friend of the group. My character has certain secrets and I will text the DM at times so the other players don’t know. He will go with this for a few times then start saying it in front of everyone. For example, as a warlock, I have an imp familiar that is invisible and doesn’t interact with the party. I told the DM I wanted it secret because I was using it to interact with the NPC’s as a way for me to gain power. The DM said it in front of everyone. When asked why, he said “because they will find out eventually”.

My character basically doesn’t have any secrets left because of this.

Another player that is a good friend of the DM has secrets about his character and I have personally discovered one of the big ones because of player knowledge outside the game (He cast a spell he shouldn’t have been able to). Both, the player and the DM, go to lengths to make sure the secrets stay secret for that character even when it should have been revealed. The DM just claims “oversight” when I confronted him about it.

It really upsets me that he is playing favorites.

How can I handle, in general, a situation where a DM plays favorites with their players?

Is there a certain place on the character sheet I should place Class or Background specific traits?

For example, my sorcerer character has draconic ancestry, so I am supposed to choose a dragon ancestor. I also get doubled proficiency bonus when making a check interacting with dragons. Would I put these in the “features and traits” box or is there another place? Also, would there be a correct way to write this? Another example would be my character’s Far Traveler background. I am supposed to choose a “Why are you here?” and a “Where are you from?”. Thanks in advance.