Creating a website with a profile that can be used to log into another website (like gmail/ facebook log in) [closed]

Where would I start doing this type of project? I am new to programming and really I have only just started learning to use the "gsub" command in Komodo / ruby on rails.

I have made part of a sample website with a box for input, however it does not do anything.

Is there a description in any textbooks or instructional video?

Is there an alternative word to be used in place of Humanoid?

I find the term Humanoid to be (obviously) human centric, and am looking for a more generic term to use in place of it to define all intelligent creatures that exist in standard society of these fantasy worlds. A few examples of what I’m looking for:

  • A small hamlet town consisting mostly of gnomes, halflings, dwarves, and a small spattering of humans likely wouldn’t refer to themselves as "humanoids," so what would they call themselves?
  • A human player character is new in town and walks up to an elven resident, the elf would find it quite rude to be asked "What humanoids make up the general population here?" I suppose ‘races’ or ‘species’ might work here, but I think those would also be taken offensively.
  • A Beholder looks down on the intelligent residents of the realm and laughs at "those pitiful humanoids!" What if the beholder had never met a human, only the more rare races; where did it get the term ‘humanoid’ then?

My campaign is DND 5e set in Eberron, but any term from any setting or TTRPG or otherwise would work.

Can set_post_thumbnail be used to remove a thumbnail?

I have a way to set a thumbnail for a post if a checkbox is selected or not. The problem I’m having is if the checkbox is selected and then unselected, how do you delete the featured image that was set? I.E. remove the featured image. I tried to do set_post_thumbnail($ post->ID, ''); with the ” blank to remove the image but that didn’t work.

My code in my functions.php:

function post_extra_save( $  post_id, $  post){ if ( has_blocks( $  post->post_content ) ) { // get blocks      $  blocks = parse_blocks( $  post->post_content );     foreach ( $  blocks as $  block ) {         if ( $  block['blockName'] === 'acf/opby-cover-image' ) { // name of block             $  media_url_thumb = $  block['attrs']['data']['image_post']; // Image ID from the block             $  check_if_featured = $  block['attrs']['data']['set_featured_image'][0]; // check if checkbox is selected, will say 'sfi' is enabled             if ($  check_if_featured == 'sfi') { // if checkbox is selected                 set_post_thumbnail($  post->ID, $  media_url_thumb);             } else { // if checkbox is not selected                 set_post_thumbnail($  post->ID, '');             }         }     } }; } add_action( 'save_post', 'post_extra_save', 10, 2 ); 

Can Bardic Inspiration be used on a roll replaced by Portent?

A creature with a Bardic Inspiration die can roll it to add the result to an ability check, saving throw, or attack roll, while the Divination wizard’s Portent feature overrides the roll before the roll is made.

Because the roll has never been made, does this mean that a roll replaced by Portent cannot be improved by the Bardic Inspiration die?

Can Legendary Actions be used after a dead creature’s turn?

If a monster has Legendary Actions, can it use one at the end of a dead creature’s turn? And would it matter if the dead creature is an ally of the monster or a PC?

Relevant section from the Monster Manual:

A legendary creature can take a certain number of special actions — called legendary actions — outside its turn. Only one legendary action option can be used at a time and only at the end of another creature’s turn. A legendary creature regains spent legendary actions at the start of its turn. It can forgo using them, and it can’t use them while incapacitated or otherwise unable to take actions. If surprised, it can’t use them until after its first turn in the combat.

Does Oracle guarentee that ORA_HASH is used to determine which hash partition a row is inserted, and will this be honored in the future?

I use hash partitioning for a few of my very large tables, and occasionally I have a use case where it would be convenient to have a mechanism that would return the partition name that a row would be inserted into, given a partition value.

This blog here shows that we can use ORA_HASH function for this purpose. Incidentally, it appears this page is the only page on the entire internet that explains this.

I’ve used it successfully and it works in all cases that I have tried. It seems ORA_HASH is definitely what Oracle itself uses to pick the hash partition that it inserts data into, and that at least on the current version of Oracle it is safe to use for this use case.

However there is no guarantee in the documentation that Oracle even uses it, or will continue to use it in the future. This makes me think that using ORA_HASH in this way is not safe or future proof. What if a DB is upgraded and ORA_HASH no longer behaves this way?

For reference, you can use the following SQL to return the hash partition for a given value:

SELECT partition_name FROM all_tab_partitions WHERE table_name = 'FOO'     AND partition_position = ORA_HASH('bar', n - 1) + 1 

Where 'bar' is the value you wish to analyze, and n is the number of partitions in your table. There are some edge cases when the number of partitions is not a power of 2, which is covered in the blog article linked above.

Can Mending be used on plants?

For the purpose of mending, are plants considered to be objects? If a patch of bark falls off of a tree, or a limb or branch, could it be reattached with mending?

I understand that living creatures are unaffected by this cantrip, as they are not objects, which is directly stated in Sage Advice, here. But, while plants are living, usually, could the cantrip be cast to restore them if they’ve been damaged? It could be argued that once the plant has been destroyed, it is now an object. How would still living trees and other plants be ruled?


Transmutation cantrip

Casting Time: 1 minute Range: Touch Components: V, S, M (two lodestones) Duration: Instantaneous

This spell repairs a single break or tear in an object you touch, such as a broken chain link, two halves of a broken key, a torn cloak, or a leaking wineskin. As long as the break or tear is no larger than 1 foot in any dimension, you mend it, leaving no trace of the former damage. This spell can physically repair a magic item or construct, but the spell can’t restore magic to such an object.

Can the School of Conjuration wizard’s Minor Conjuration feature be used to summon rare, expensive, and/or consumable spell components?

Can the School of Conjuration wizard’s Minor Conjuration feature (PHB, p. 116) be used to summon rare, expensive, and/or consumable spell components?

It seems to fit within the scope of the feature in a rules-as-written manner, and I am inclined to allow it – but not having fully experienced the dynamics of higher level play where it might come more strongly into play, I have some uncertainty.

Can I twin cast a cantrip used with reaper from the death domain?

Assuming I multiclass as a death domain cleric and a sorcerer. Can I use my Twinned Spell metamagic to cast a necromantic cantrip, in conjunction with the Death Domains Reaper ability?

Reaper At 1st level, you learn one necromancy cantrip of your choice from any spell list. When you cast a necromancy cantrip that normally targets only one creature, the spell can instead target two creatures within range and within 5 feet of each other.

Twinned Spell When you Cast a Spell that Targets only one creature and doesn’t have a range of self, you can spend a number of sorcery points equal to the spell’s level to target a second creature in range with the same spell (1 sorcery point if the spell is a cantrip). To be eligible, a spell must be incapable of targeting more than one creature at the spell’s current level. For example, Magic Missile and Scorching Ray aren’t eligible, but Ray of Frost is.

My reading of this says that Reaper is an effect that happens to the cantrip the same as Twinned spell. SO both would happen simultaneously, which circumvents the Twinned spell stipulation that it can only effect one target.