Can Dispel Magic be used on a specific magical effect without removing other spells?

During tonight’s game, the party’s wizard became confused because of a failed save against Yeenoghu’s flail, which had the effect of:

The target must succeed on a DC17 Wisdom saving throw or be affected by the confusion spell until the start of Yeenoghu’s next turn.

The wizard was in this position because they’d had multiple buff spells placed on them like Shapechange, Haste, and something else.

However, being confused was a big problem that the party decided needed to go. So the cleric cast Dispel Magic with the intent to just target the magical effect of confusion caused by Yeenoghu.

Dispel Magic says:

Choose one creature, object, or magical effect within range. Any spell of 3rd level or lower on the target ends. For each spell of 4th level or higher on the target, make an ability check using your spellcasting ability. The DC equals 10 + the spell’s level. On a successful check, the spell ends.

With this in mind, the question I have is two-fold.

First all, is the confusion effect targetable by dispel magic? It seems like it should be because the effect is described to be like a specific spell’s effect.

Secondly, if the cleric casts dispel magic on the wizard to end the confusion, can they do so without risking removing all of the other buff spells?

PHP Codes to removing duplicate url from one list compared to other list

First i was trying to removing same urls from 2 different urls list and can’t found it so I’m deciding to make it using php to removing urls from List 1 if found on List 2 on the same filename.
With this codes you can make sure that there is no duplicated urls on the other urls list if you need to run multiple urls list on your GSA SER

To make this codes work, you need to identifying first the raw urls using GSA Platform Identified or GSA SER and then putting them to 2 different folder then setup the path

Feel free to modifying or improving this codes

<?php
$ files = glob('D:\GSA\List\GlobalList\*.txt');
$ comparepath = "D:\GSA\List\IndonesiaList";
//$ comparefile = "D:\htdocs\serpresults\betresultsEN.txt";
foreach ($ files as $ key => $ value)
{
    clearstatcache();
    $ i = 0;
    $ file_path = pathinfo($ value);
    $ comparefile = $ comparepath."/".$ file_path['basename'];
    if (file_exists($ comparefile))
    {
        echo "Removing duplicate from ".$ value." and ".$ comparefile." ";
        $ contenta = file($ value);
        $ contentb = file($ comparefile);
        if (!empty($ contenta) && !empty($ contentb))
        {
            foreach ($ contenta as $ keyc => $ cvalue)
            {
                $ grhost = parse_url($ cvalue, PHP_URL_HOST);
                if (!empty($ grhost))
                {
                    if (empty(preg_grep("/\b$ grhost\b/i", $ contentb)))
                    {
                        //$ result = $ grscheme."://".$ grhost;
                        $ cleanurl[] = $ cvalue.PHP_EOL;
                    }
                    else
                    {
                        $ i++;
                    }
                }
            }
            //$ diff = array_diff($ contentb, $ contenta);
            $ cleanfile = fopen($ value, 'r+');
            $ cleanarr = implode($ cleanurl);
            ftruncate($ cleanfile, 0);
            rewind($ cleanfile);
            fwrite($ cleanfile, $ cleanarr);
            fclose($ cleanfile);
            unset($ contenta);
            unset($ contentb);
            unset($ cleanarr);
        }
    }
    echo "Found ".$ i." duplicate on ".$ value."\n";
    unset($ i);
}
?>

Shield spell – removing the special effects of a hit


Background

A Shield spell is cast as a reaction to an attack that hits. It applies its AC bonus even against the attack to which it is a reaction, meaning that it can make the attack that hit, retroactively miss and thereby not do damage.

Shield ‘interrupts’/potentially cancels its trigger, as stated in the DMG in the ‘Adjudicating Reaction Timing’ section.

Since the hit has retroactively become a miss, what happens to effects that were triggered by the hit in the first place? Are they undone as well, or do they persist?

This question has two answers of nearly equal popularity, with one arguing that other effects triggered by the hit still persist, and the other arguing that they do not. On the side of the argument that they do not occur is a (now-unofficial) tweet from Jeremy Crawford stating

If the attack has a special effect that relies on it hitting, that effect doesn’t occur if the attack is turned into a miss.

However, the discussion therein focusses on a narrow interpretation of ‘effects’ as discrete, measurable things that happen to specified targets – the hit on the caster of the Armor, and the resulting damage to the creature making the attack.

Are the ‘special effects’ of an attack referred to limited to things like damage or conditions that affect just the target of the attack, or do they include intangibles like knowledge for all intelligent observers?

Scenario

A party is traversing wilderness with abundant natural cover as well as opponents who are seeking to ambush them.

A hidden opponent fires a missile weapon at a party spellcaster and hits. In response, the spellcaster uses the shield spell and turns the attack into a miss. However, the ambusher has now revealed their location to the spellcaster and everyone else in the party, since according to the rules of Unseen Attackers and Targets

If you are hidden–both unseen and unheard–when you make an attack, you give away your location when the attack hits or misses.

The party members begin to defend themselves and target the ambusher.

The next round, a second hidden ambusher also fires at the spellcaster, hits, and also reveals their presence to the caster and the rest of the party. The spellcaster again uses shield, and again converts the hit into a miss.

This second ambusher, however, possesses the Skulker Feat (PHB 170)

When you are hidden from a creature and miss it with a ranged weapon attack, making the attack doesn’t reveal your position.

Since the attack was now actually a miss, does the knowledge of ambusher’s location persist as revealed, or is this knowledge undone?

Does…
…the shield spell travel back in time, converting the hit to a miss before the party had knowledge of the second ambusher’s location?

…knowledge of the ambusher’s location count as a ‘special effect’ of the attack hitting, that now does not occur since the attack resolved as a miss?

…the ‘special effect’ of the knowledge of the ambusher’s location get removed from only the caster, while their companions still know where the ambusher is?

…the knowledge of the ambusher’s location not count as a ‘special effect’ of the attack, but rather as mundane effect, that is not changed by the shield spell?

A good answer may use the Crawford quote or not. If it does, it should convincingly interpret what is a ‘special effect’ and to whom it applies. If the answer does not use the Crawford tweet, it should explain from where it draws its reasoning.

How to stop WooCommerce from removing link functionality in uploaded PDF products

my site uses WooCommerce to sell downloadable PDFs which should have clickable links, but when these PDFs are downloaded after purchase, the links are no longer clickable. I’ve searched everywhere I can think to try to find a resolution to the problem. Has anyone encountered this before?

I’ve tried downloading with multiple browsers and opening the files in Acrobat and Preview, to no avail, so I think it looks like the links are being removed on upload to the site. I use an image optimiser (Smush) to process images on upload to the site, but this doesn’t affect PDFs.

I’m a little perplexed, any insight would be much appreciated.

Site rankings tanked after removing 1750 Blog tags

I recently removed 1750 tags from my company’s blog. Many of them were irrelevant or synonyms created by someone who didn’t know how to use tags, some were even misspellings. I removed 1730 of them, removing them from the tag section in WordPress, as well as from the actual article in the QuickEdit section.

I was under the impression this would add to SEO efforts, as many articles detail that, such as this one from Yoast. However, rankings for the keyword "recruitment software" dropped from #17 to #30. Other more niched keywords lost rankings for the homepage altogether, and a blog post appeared there instead (albeit a few ranking spots lower).

I’m worried that removing all those tags have produced 404 errors which have caused the nose-dive in rankings :/, should 301 redirects be created for each lost tag webpage? In the WordPress backend, Yoast was suggesting I do that with their app’s premium version as I was deleting. Any ideas would be much appreciated, as you can imagine the fright and dread I got from losing rankings like that overnight.

FYI, it has been a week since the fall in rankings, fluctuations seem to have slowed.

Removing focus ring for non-tab users (vanilla JS to jQuery conversion)

I’m working on an accessibility issue for a client with Genesis Theme on WordPress and some custom jQuery. They need to remove the onFocus indicator border for mouse users, while leaving it intact for tab users. The following JS was suggested on Medium:

function handleFirstTab(e) {          if (e.keyCode === 9) { // the "I am a keyboard user" key         document.body.classList.add('user-is-tabbing');          window.removeEventListener('keydown', handleFirstTab);    }}  window.addEventListener('keydown', handleFirstTab); 

What might this look like if implemented in JQuery instead? For more context see: https://medium.com/hackernoon/removing-that-ugly-focus-ring-and-keeping-it-too-6c8727fefcd2

Is the Change Data Capture __$update_mask value still valid after removing and adding columns to table?

Let’s say I have table I enabled cdc for.

Now, if I want to add some columns to the table and also remove some columns and preserve the CDC data for the old columns, is it going to mess up the update mask values of the historical data?

Based on my tests, dropping columns can leave gaps in the column_id values and new columns receive new column_id values. The column_id field seems to work like an identity field for columns.

So, even if I re-enable cdc for a table after removing & adding columns, the column ids of new columns should be assigned new numbers therefore the masks for historic data should still work, of course as long as I have all the columns that were ever added to the table stored somewhere (cdc.captured_columns contains only the current captured columns).

Thanks

What are the consequences of removing the potential for critical hit extra damage on spell attacks?

Current table has a house rule that spells attacks can not deal extra damage through critical hits. They have the rule that you can critically succeed or fail on a natural 20 or 1 on saving throws.

I brought up how I was worried about how this would affect the balance of the game, fairly certain this would impair characters who are primarily casters in the long run. (Most of the PCs are half casters or not at all, save for mine and a couple others.)

I was told they are going with this ruling because it is more balanced, but I’m not convinced. Could someone with a more thorough understanding of the rules elaborate on how this could unbalance the game? Or am I just worried over nothing?

This is a pay to play table that I’ve already paid a subscription for so I’d like to not be told to just walk away as an answer. The DM has told me if there really is a balancing issue he’d see to fixing it.

2nd half of this question.

Removing left factoring from Context-Free Grammar

I know that, removing left factoring is a simple task.
And i understand following procedure:

$ S→aA | aB$
Becomes:
$ S→aS’$
$ S’→A|B$

Yet I’m running into problems with this particular grammar:

$ S→AD|bbS|bScS|BS $
$ A→aAbb | abb$
$ B→aB|ba|b$
$ D→cDd|cccd$

How to remove left factoring from it, I’m trying to convert it into LL(1) grammar