Do the Gauntlets of Flaming Fury infuse ranged weapon ammunition with magical properties?

The description of the Gauntlets of Flaming Fury says:

While you wear both of these steel gauntlets, any non-magical weapon you grasp with either gauntlet is treated as a magic weapon.

Does this property infuse both a ranged weapon and the ammunition being fired with this magical property, or just the ranged weapon and not the ammunition?

Do identical bonuses from random properties of different Artifacts stack?

Some Artifacts have Major/Minor Beneficial/Detrimental Properties, rolled from the appropriate table.

If I were to have two attuned Artifacts, both with, say, the Minor Beneficial Property of "While attuned to the artifact, you gain a +1 bonus to Armor Class.", would I have a +2 or +1 AC bonus?

From the DMG Errata on Combining Game Effects (p. 252):

Different game features can affect a target at the same time. But when two or more game features have the same name, only the effects of one of them—the most potent one—apply while the durations of the effects overlap. […] Game features include spells, class features, feats, racial traits, monster abilities, and magic items.

"Artifact property" isn’t listed, which is evidence for +2. But Artifacts are magic items, which may mean it should only be +1 instead. Which is correct?

Cross Domain Tracking with Multiple GA UA Properties, Single GTM Container

I have a client who wants to route page views into separate GA Properties based off a returnUrl UTM. I am trying to configure this in one tag using one GTM container. I know that using cookies for Analytics is changing rapidly and I am having trouble getting everything set up.

Here’s how I have it configured currently:

returnUrl Trigger: enter image description here

That trigger fires a Page View tag configured like so: enter image description here

GTM Preview Fires Everything Correctly, and the Tracking Values are correct: enter image description here

I have added the original domain to Referral Exclusion Lists on each GA Property for the returnUrl domains. But I am not getting page views.

Google Tag Assistant is giving an error of "No HTTP response detected" for the Analytics UA-ID (which is correct).

I’ve seen a lot of different blog posts and tried implementing a few. But I’d like to solve this as quickly and smoothly as possible. I appreciate the help!

Blog posts used:

https://www.simoahava.com/analytics/troubleshooting-cross-domain-tracking-in-google-analytics/

https://www.directom.com/cross-domain-tracking-google-tag-manager/

This post I have looked at but it looks like a lot more Tags / Triggers are involved. Before I bite this off I want to see if there’s a way to save this configuration.

https://www.simoahava.com/analytics/cookieless-tracking-cross-site-iframes/

Thanks for looking!

OOP: Instantiate plugin, passing parameters and accessing super class properties from sub class object

I would like to know the "best" – OOP-way – and WP-compatible – format for instantiating an object, while passing arguments ( which are defined as properties in the parent class ) – which are then cleanly and correctly available to all sub classes, which extend the parent.

I would like to know how to make $ this->slug ( the parent prop ) available cleanly within the sub class, without having to pass the arguments to this class constructor.

The example code concept below works, but something smells wrong:

<?php  // plugin.php  namespace Q\Plugin;  // If this file is called directly, Bulk! if ( ! defined( 'ABSPATH' ) ) {     return; }  // autoloader ## require_once __DIR__ . '/autoload.php';  // Define Class ## class Plugin {      // class properties ##     protected $  slug     = false;      // construct ##     public function __construct( Array $  args = [] ) {          // set class props, if defined - check using null coalescing operator ##         $  this->slug     = $  args['slug'] ?? false ;      }      // public init callback ##     public function init() {          // setup CPT ##         $  cpt = new \Q\Plugin\CPT([             'slug'      => $  this->slug,         ]);         $  cpt->init();      }  }  // instantiate the plugin class and make the returned object available as a (optional) global variable  ## global $  q_plugin; $  q_plugin = new Plugin([     'slug'      => 'q_cpt', // cpt slug -- singular ## ]); $  q_plugin->init();  // NAMESPACE/cpt.php  namespace Q\Plugin\CPT;  class CPT extends \Q\Plugin {      // construct ##     public function __construct( Array $  args = [] ) {          // store passed args ##         $  this->args = $  args;      }      // public init callback ##     public function init() {          // sanity ##         if(              ! isset( $  this->args['slug'] )          ){              error_log( 'Error in params passed to '.__CLASS__ );              return false;          }          // $  this->args['slug'] is now available to use in register_post_type function         // BUT, I would like to know how to make $  this->slug ( the parent prop ) available cleanly, without having to pass the arguments to this class constructor      }  } 

Thanks!

Best way to get handle on the Ticks properties

There are a lot of questions already on Ticks. However I did not find a better way to handle ticks place, size etc.

I have a simple example where I want have some handle on the ticks position and size. I found the undocumented functionality ChartingScaledTicks from some of the previous questions in this forum which I think gives a great handle to tick-size. But when comes to choosing the Major/Minor ticks position I could not so far use it. And the problem is I do not know where I will get more information on this (apart from typing ?ChartingScaledTicks).

Lets take the following example where I want to set my Major ticks on even-places like 600,800,... etc.

ListLinePlot[Table[{x,x},{x,500,2000,100}],              Frame -> True,              FrameStyle -> BlackFrame,              FrameTicks->{{Charting`ScaledTicks[{Identity,Identity},TicksLength->{.05,.02}],None},              {Charting`ScaledTicks[{Identity,Identity},TicksLength->{.05,.02}][400,2000,8],None}} 

]

After playing a bit, I am able to show the Major ticks on x-axis appearing on even-100-places, the minor ticks are gone. I am sure that I am missing something for the minor ticks in the ChartingScaledTicks options but I dont know what should I do to make them reappear. Here is an example where y-axis is automatically taking Major ticks, in the x-axis I try to force Major ticks appear at even-hundred places.

How do I set position and size of Major ticks

SQL Server Data Tools – Data Link Properties – Server Name Drop Down Empty

I’m using VS 2019 with the latest version of SQL Server Integration Services Projects plugin. I have 2 local SQL Server instances installed on the same machine which are up and running (including Browser service). SQL Server is 2017 and 2019 (default and named instance respectively) and their Hide Instance flag is set to No. When adding Data Link for Data Flow SSIS tasks server drop down not showing my SQL instances like that: enter image description here

At the same time if I type in SQL Server instance name I can connect just fine. What can be causing my SQL instances not showing up here?

How to compute a vector V when N points are given and V satisfies given properties

We are given N points P1,P2,…,PN in a 2D plane(All points are distinct and N is as large as 10^5). For each valid i, the coordinates of the point Pi are (xi,yi). Help me to find a vector V = (a, b) ( where |a|, |b| <= 1e9) such that the following holds:

For each i (1 ≤ i ≤ N), let Si= dot(V, G(Pi, Pi+1)). lets assume PN+1=P1. where G(v1, v2) = ((v2(x) – v1(x)), (v2(y) – v1(y)) and dot(V1, V2) denotes dot product of two vectors

How to choose V such that It is possible to find two integers l and r (1 ≤ l ≤ r ≤ N) such that:

Si < 0 if(i <= r and i >= l) and Si > 0 otherwise

(or)

Si > 0 if(i <= r and i >= l) and Si < 0 otherwise

I need to know if there is a way of choosing vector (a, b) to satisfy the above conditions(If the solution is possible)

Best way to code a shopping cart consisting of items with different properties

This is an interview question. Interviewer wanted a scalable solution

Goal is to find value of shopping cart. Cart could have 3 different types of items(Physical,Digital,URL).

Only Physical Items have a shipping address.

Only Digital items have a redeemable code that is used in a merchant site.

Only URL items have a URL that gives access to some online resource.

I’ve suggested having an Item class with price property which is extended by classes PhysicalItem, DigitalItem, UrlItem. Objects of these classes added to list which is iterated over to find the total order amount. Interviewer wasn’t impressed.

Is there any good design pattern/approach that is best applied here?

Is an improvised weapon treated as similar enough to a weapon to use its properties still considered “improvised”?

In PHB, the 2nd paragraph of the description of Improvised Weapons (p. 147) states:

In many cases, an improvised weapon is similar to an actual weapon and can be treated as such. For example, a table leg is akin to a club. At the DM’s option, a character proficient with a weapon can use a similar object as if it were that weapon and use his or her proficiency bonus.

If I am understanding this correctly, then the mentioned table leg (or similar object) can be treated as a club. If that is correct, then it would have the light property, as the club has it. If that is also correct, that would mean I can wield a light weapon in one hand and an improvised club-like weapon in other hand, and use Two-Weapon Fighting with those, as both are light.

If all of that is still correct, then can an improvised weapon that is similar enough to a real weapon – e.g. a table leg used as a club – still be treated as an improvised weapon for the purpose of the last bullet point in the Tavern Brawler feat (PHB, p. 170)?

Specific scenario that I am wondering about: I wield a Scimitar (a light weapon) in one hand and a table leg (treated as a club, so also light) in the other hand. On my turn, I attack with the table leg as my Attack action. Then one of two things happen:

  1. I miss – then, as both wielded weapons are light, I proceed to attack with my scimitar (per Two-Weapon Fighting)

  2. I hit – then I drop one of my weapons to free one of my hands and attempt to grapple the target.

Of course this is assuming that I have the Tavern Brawler feat, which states:

  • You are proficient with improvised weapons.
  • Your unarmed strike uses a d4 for damage.
  • When you hit a creature with an unarmed strike or an improvised weapon on your turn, you can use a bonus action to attempt to grapple the target.

Does all of that work as I’ve described, or is there somewhere a flaw in my reasoning?

Properties of Javelin Quiver?

One of my players wishes to carry javelins. It seems logical that these could be carried in a quiver (appropriately sized of course) that would reside on the wearer’s back and would serve a similar function as a quiver does for arrows.

We cannot find any reference material for such a thing (how much it would cost, how many javelins it would hold). Is there a place where such a thing is specified?