i have a user_meta for users that them is array like below:
user_saved_posts = [31289,31482,27641]
and i want to get users that their user_meta include an item of an array like below:
goal_posts = [31289,31422,77641,41289,21482,17641]
if user have an item of goal_posts array must returned them. i use below code but this code worked if i have a value for search in user_meta
$ args = [ 'meta_query' => [ [ [ 'key' => 'saved_posts', 'value' => sprintf(':"%s";', 31289), 'compare' => 'LIKE' ] ] ] ]; get_users($ args);
I have an script that uses IMPDP over a database link (no expdp used) to import some data from our PROD environment to a DEV environment.
Some tables are rather gigantic and partitioned, and we want just a sample of it like the last 30 days of data. I noticed that even specifying a QUERY parameter, impdp still slowly goes thru every partition displaying several 0 rows imported and taking time to get tot he desired partitions.
Is it possible to specify the partition names inside the INCLUDE parameter (this is where i am listing desired tables, its a subquery of table names on the PROD environment)?
I know there’s a TABLES parameter that is usually used for this, but it can be dinamically populated like the INCLUDE one can, from a query?
I imagine i can generate a string in the script prior to calling impdp, but would prefeer a native solutuion using impdp itself.
Bellow is a sample command structure i am using, its not filtered as it is.
impdp user/"pwd"@bd directorySOMEDIR NETWORK_LINK=somelink schemas=someschema logfile=somefile.log remap_tablespace=TBS_BLA:TBS_BLE CONTENT=DATA_ONLY PARALLEL=40 include=TABLE:\"IN \(\'MY_TABLE\' \)\"
If I use TABLES=MY_TABLE:SYS_P01 it works, but I would like to dynamically define this as everyday a new partition is created.
Would be nice if I could specify partition names in the INCLUDE parameter, but not sure its suported.
In D&D 5e, most characters can craft or otherwise benefit from downtime. I love the idea and when I DM I always include time for the players to build something with all the gold they have acquired.
Unfortunately, I have found that most DMs, especially those that work from modules, refuse to let characters take a break, preferring to go from cliff hangar to cliff hangar.
My current DM is one of those.
I would love to hear some arguments, that might convince her, it is to her benefit, as well as the players, to allow for some downtime. Obviously I have already made some suggestions, but Id like more options before I turn this into a direct discussion. Worth noting, is that she is a tiny bit sexist, and dislikes taking any advice, or suggestions from men.. so I have to be a bit delicate in my communication.
I want to know how to calculate the average damage of a spell that also deals half damage on a successful save. For this example, I’ll be taking the most popular evocation spell, Fireball.
As far as calculating damage goes, I know how to calculate the expected damage of attacks using an attack roll, using the following formula:
Expected damage = Probability x Damage + Crit chance x Additional damage on crits
Probability = (21 – target’s AC + attacker’s attack roll modifiers) x 5%
Now I would assume that you just need to reverse the probability formula to calculate a spell that forces a saving throw’s chance of success, like so:
Probability = 1 – (21 – your save DC + target’s save modifiers) x 5%
However, calculating Probability x Damage (omitting the crit chance in the process) using the above formula does not take into account the half damage dealt on a successful save. So how to take this into account when calculating expected damage of spells like Fireball?
I have created a custom page template with option to select a tag from posts Categories to query the respective posts with that tag when the page is opened.
Page with name Trips are created, custom template selected and also category tag Trips is selected.
Page is then added to the menu under About Us menu item.
When I open the page site.com/about-us/trips/ A custom template are loaded with all the posts with term Trips.
When I open the post, the URL of the post is site.com/trips/post-slug where "trips" are the category tag slug.
Is there any option for those posts to include their "parent" page slugs like in this example it would be site.com/about-us/trips/post-slug ?
I could set the category base as ‘about-us’, but that is not a solution because there could be multiple pages with that custom template and another category tag selected f.e. site.com/about-us/interviews/post-slug
I am sorry, I have no code example for what I have done so far as I dont even know where to start 🙂
In D&D 5e, the last part of the Sentinel feat contains this text:
When a creature within 5 feet of you makes an attack against a target other than you (and that target doesn’t have this feat), you can use your reaction to make a melee weapon attack against the attacking creature
Thematically, why shouldn’t you get the opportunity attack if the target has Sentinel? I can’t think of any flavor/narrative reasons why your ally having an ability would prevent you from using your own ability.
If that clause was included strictly to prohibit combos among fellow sentinels, is there an official source that says as much?
I read somewhere that spells like Darkness and Silence, where the effect of the spell spreads from a point I choose within range, can be cast on the surface of a moveable item. But after extensive googling, I couldn’t find confirmation on it anymore. These are the relevant parts of the spell descriptions:
Magical darkness spreads from a point you choose within range to fill a 15-foot radius sphere for the duration. …
For the duration, no sound can be created within or pass through a 20-foot-radius sphere centered on a point you choose within range. …
So theoretically, does this mean that a Warlock with the Devil’s Sight incantation can cast Darkness on their armor and "carry" it around with him? Giving him semi-permanent (Concentration) advantage to targets without Devil’s Sight/Truesight?
Another example would be someone casting Silence on an enemy mage, rendering them unable to cast spells with Verbal components also semi-permanently (Concentration)?
If an animal companion advances to a e.g. a savage companion (through a feat, most of the time), its stats increase:
[…] increase its Strength modifier by 2 and its Dexterity, Constitution, and Wisdom modifiers by 1. It deals 3 additional damage with its unarmed attacks. […]
Does this mean that its attack damage increases by 5 in total? (3 additional damage + 2 because of the increased strength modifier), oder is the 3 additional damage meant to already include Strength modifier?
The situation is the same with a nimble companion, though I would assume that the answer is the same for both, so I decided to focus on Savage in this question.
When Google Authorship was very much still a thing several years ago, the conclusion was that it was better not to include more than one
<link rel="author"> on any given page.
- 2012 – How to implement rel="author" on a page with multiple authors?
- 2013 – Is Google OK with multiple rel="author" links?
Google Authorship is now a distant memory (Mountain View stopped using it several centuries ago in 2016) but I’m concerned that there may still be something invalid or nonsensical about including more than one
<link rel="author"> in the
<head> of a given document.
My use case involves referencing both an About Page and humans.txt:
<link rel="author" href="https://example.com/about-us/" /> <link rel="author" href="https://example.com/humans.txt" type="text/plain" />
Is there anything – I can’t find explicit confirmation – from the WHAT-WG to confirm that this is valid usage?
Or is there a viable alternative to using more than one
<link rel="author"> element?
In the Basic Rulebook for D&D, on page B19, it states that characters can move 120′ in a dungeon per turn (10 minutes). Later it states that this movement assumes players are mapping carefully, searching, and trying to be quiet.
What is meant by ‘searching’? Are characters automatically getting a detect trap and detect secret door roll (every 10′ or per trap/door) as part of this movement rate? It seems unclear what searching exactly means in this context.