Why is a Context Free Grammar that is simultaneously in Chomsky Normal Form and Greibach Normal Form regular?

In my course materials, there is one sentence about how if CFG is in Chomsky Normal Form, it is not regular, and if it is in Greibach Normal form, it also is not. But when a grammar is simultaneously both GNF and CNF, it somehow implies that the grammar is regular – why is it so?

I struggle to understand what would the productions of the grammar that is both in CNF and GNF look like. As in GNF, the production rule is in form: $ A \rightarrow aA_1A_2…A_n$ such that the nonterminal sequence can be empty, I think that the only way a grammar can be in both normal forms, is when the production rules are in form: $ A \rightarrow a$ .

Even if this is the case, why does it imply that the grammar is regular? What is the relationship between regular and context-free grammar?

Does UA Psionic Wizard’s Though Form let you ignore non-consumed material components with a cost?

UA Psionic Wizards get a special ability called Thought Form where they become beings of pure energy. Part of that ability is Psionic Spellcasting.

Thought Form

Psionic Spellcasting.

When you cast a spell while in thought form, you can cast the spell psionically. If you do so, the spell doesn’t require verbal, somatic, or material components that lack a gold cost.

What does this mean? Functionally, you have an arcane focus as a class feature so material component usually doesn’t matter.

This means you can’t cast spells like Glyph of Warding (200gp dust, consumed) for free. However, can you cast spells that don’t consume the materials like Chromatic Orb (50gp, diamond)?

Otherwise, the “no material component” seems irrelevant as you have your psionic focus already to activate the ability.

UA Psionic Wizard Subclass: Thought Form interactions

From https://media.wizards.com/2019/dnd/downloads/UA-PsychicSoulPsionics.pdf

Psionic Wizards get a special ability called Thought Form where they become beings of pure psionic energy.

While you are carrying your psionic focus, you can use a bonus action to magically transform your body into pure psionic energy. The transformation lasts for 10 minutes, until you use a bonus action to assume your normal form, or until you are incapacitated or die.

While in thought form, you are a figure of luminous psychic energy, with your psionic focus hovering within. Your form can appear as anything you wish, but it is obviously magical, is the same size as you, and sheds dim light in a 5- foot-radius. Any other equipment you are wearing or carrying transforms with you and melds into your thought form.

  1. Can you still physically interact with the world in Thought Form? Eg, can you open doors, pick up items, attack with weapons?
  2. Would you still need to breath? Seems unlikely that you could breath, especially since you can take nearly any form.
  3. What happens if you are hit with Dispel Magic?
  4. Is your form fluid, or fixed by whatever you first appeared as?

UA Psionic Wizard Subclass: Thought Form & Psionic Casting

From https://media.wizards.com/2019/dnd/downloads/UA-PsychicSoulPsionics.pdf

Psionic Wizards get a special ability called Thought Form where they become beings of pure energy. Part of that ability is Psionic Spellcasting.

Thought Form

Psionic Spellcasting.

When you cast a spell while in thought form, you can cast the spell psionically. If you do so, the spell doesn’t require verbal, somatic, or material components that lack a gold cost.

What does this mean? Functionally, you have an arcane focus as a class feature so material component usually doesn’t matter.

This means you can’t cast spells like Glyph of Warding (200gp dust, consumed) for free. However, can you cast spells that don’t consume the materials like Chromatic Orb (50gp, diamond)?

Otherwise, the “no material component” seems irrelevant as you have your psionic focus already to activate the ability.

Secondly, do you still physically exist in this form? If an enemy leaves your space can you make an op attack with a dagger, for example? How about opening doors, chests, etc?

Move form validation error messages to top of page

When a user registers on our site (using Ultimate Member plugin, but I think it’s a generic issue) and the form doesn’t validate, it reloads the page with an error message right down the bottom, where users don’t see it, and they assume the form submitted correctly. This seems like a crazy choice! Is there a way to move the error message to the TOP of the page, so it’s more obvious when the form submit fails?? Or scroll the page to the bottom when it loads? Thanks so much! Julie

Reaction Spell for Fire Form [closed]

Pretty new to 5.0, I’ve been playing 3.0/.5 for about 25 years. I was wondering with the reaction spell that if you hit a fire elemental in its fire form, and you take damage, can you call the reaction spell into use, or does the fire elemental need to attack the PC. Very new to the fifth edition rules, but I have some savvy players, and this came up. I ruled it was fine until I figured it out. Though, I believed the PC was not attacked by the monster, so you shouldn’t be able to spend the spell slot.

custom form submission

I’m a bit new to custom wordpress pages and I purchased a HTML theme that I successfully converted into a WordPress site. The thing is, that there is a contact form that I would like to use and I’ve followed the codex instructions on using admin-post.php file but the form is not getting submitted.

Below is the form in my footer.php:

<form id="contact-form" method="POST" action="http://tvans.gr/wp-admin/admin-post.php">     <input type="hidden" name="action" value="send_form"/>     <input type="hidden" name="custom_nonce" value="<?php echo $  custom_form_nonce ?>"/>      <input class="form-control form-text" id="name" type="text" name="name" value="" placeholder="Please Enter Name" required />     <input class="form-control form-text" id="email" type="email" name="email" value="" placeholder="Please Enter Email" required />     <textarea class="form-control form-text" id="message" name="message" placeholder="Message" rows="4" required></textarea>     <input type="submit" class="btn-1" id="submit" name="submit" value="SUBMIT">     <input type="reset" class="btn-1 distab-cell-middle cancel" name="clear" value="RESET"> </form>  

And here is my functions.php file:

function prefix_admin_send_form(){     echo $  _POST['name'];     print($  _POST['email']);     exit; }  add_action('admin_post_send_form', 'prefix_admin_send_form'); 

The data in functions.php is for testing purposes but still I’m not getting any response. Is it something I did wrong here or is is something that I’m missing? Thanks in advance for any help.

Third Normal Form and Boyce Code normal form

I know that this is not a question answer site but for sake of explaining my doubt I have to post the entire question..

Consider the following statements.

If relation R is in 3NF and every key is simple, then R is in BCNF If relation R is in 3NF and R has only one key, then R is in BCNF  Both 1 and 2 are true 1 is true but 2 is false 1 is false and 2 is true Both 1 and 2 are false 

Ans given is $ a$ , but how can it be so?

I agree with the first statement but for the second one consider that we have a relation $ R={\{A,B,C,D\}}$ where $ AB$ is the key, and say $ C->B$ then it satisfies $ 3nf$ right? But it is $ NOT$ in $ BCNF$ right? as here we have $ non-prime$ $ deriving$ $ a$ $ prime$ $ attribute$