So im in this dnd campaign and there’s two main problems I have: one my character’s personality is very bard-like but I didn’t know what bards were so now another PC is filling that role and I feel useless as a rogue, two is that there are two PCs who have been very open from the get go and have imediatly formed close connections with NPCs and such. Because of that, they’ve become the center of attention- one time the dm even said that we could do whatever and another PC even said “I don’t know, I don’t have connections like everyone else,”. I know that I need to talk to my friends about this, but I’m scared about this blowing up into something (these are my only friends, we’ve had conflicts like this in the past but we were WAY younger). And I know that we’re more mature and we can probably work things out, but I’m still terrified of doing this and don’t even know how to go about this.
Consider the following CFG U -> U+U |U*U |(U) |-U |r show how the string “-(r+r)” can be generated by the grammar using left derivation and right most derivation.
If I use the starting wealth rolls of my class, do I keep any remaining money left over after I buy equipment?
In D&D 5e you can roll the 4d4 × 10 to determine starting gold, forgoing any equipment your class and background gets. This is not up for question. What is up for question is whether or not the PC keeps any remaining gold that they don’t spend on equipment. As far as I have been able to tell, this is not explicitly stated in the PHB nor in the Basic Rules documents.
I’m playing in a play-by-post Dungeon Fantasy/DFRPG (“Powered by GURPS”, based on 4th Ed.) game, and just built a healer who comes with an Ally, who is also a healer. DFRPG limits the entire Healing college, aside from Lend Energy and Recover Energy, to Cleric class characters only — and left Share Energy off the Cleric list (at least the one I have access to, in DF:1).
My character build has shown me there is at least one spell that is on the list, at a low Power Investiture level, that a single individual effectively can’t cast at a low point total without being a “one-trick pony” — giving up a lot of the template abilities just to empower that one spell. That spell is Final Rest, with a fatigue cost of 20.
A low point total character (say, a 187 point Ally) would be unable to cast this spell without drawing a number of hit points (in my case, with a shaved down Cleric template, I’d have to use 7 HP). The skill penalty of -1 per HP used to power a spell means this reduced-point character would be casting at effective skill 6 — not a recipe for success.
I know I can have a Power Item, but starting characters would have to spend points on Wealth (no spare points in the template) to be able to afford one large enough to avoid drawing on HP. Alternatively, I could cast as Ceremonial Magic, but that requires Skill 15 and either one or more partners with the same or higher skill (requiring duplication between the two healers), or a congregation who can contribute 1-3 FP each, depending on their abilities — and that’s a bit of a problem to travel potentially weeks from home base with.
My GM has suggested using paut (a potion found in DF:1), but as I read it, that only replaces spent fatigue, rather than letting the user store up FP prior to a casting.
Now, as things stand, I have a way to make the spell possible, by using a small Power Item to limit the number of HP required to cast when fully rested — and I’ll probably wind up going that way for this game — but I wanted to check if there was any statement from the game designers concerning why Share Energy was left off the lists?
My GM suggested it was mainly used in enchantment, but the limit of 5 FP, and the DF/DFRPG bar against wizards using Healing college, plus the complete deletion of Enchantment college for PCs make that argument a non-starter. In fact, as far as I can see, the most likely explanation is that it’s really only needed for this one spell, was either left off as an oversight, or it was preferred to force Clerics into ceremonial casting, large Power Reserve, or large Power Items — but I’d like to be sure.
Is it possible to keep weights of left and right subtree at each node of BST that has duplicate values?
I must be able to delete a node completely(irrespective of how many times it is present)
Currently, in my code, I am keeping count variable in each node that records the number of times it is present in tree.
During insertion, I can increase the size of left and right subtree weight at each node according to if my value is less or more. but how do I adjust the weights when I delete a node(because I may delete a node with count >1)
There are a couple of times that a game of The Quiet Year will require that you complete a task early. This causes the completion to occur this turn, narrated by the player whose turn it is.
The question is whether this can be used on a project that has one turn left (and will be finished this turn).
This is not really completing the project early, since it is completed on the same week it would be, but it does matter mechanically since it determines who narrates its completion.
Can a project be “completed early” if a card asks for it, without actually being completed any sooner than it would have?
Virtualisation can do reasonably secure nonpersistent drives. Would rather not rely on this alone but also have a host that is nonpersistent too. A live DVD as a host leaves no traces and is physically impossible to permanently infect/own but not very practical to carry around. A live USB flash drive is more practical. Another option is grub2 configured to boot from an ISO image in an internal hard drive.
In Windows there is Shadow Defender that intercepts all writes to disk and makes them nonpersistent by storing deltas instead. The deltas are stored in an encrypted format so in the event of a power-down they cannot be recovered easily. This software is hard to bypass because it uses a driver stub that loads very early in the boot sequence. What can one do in linux that is as securely nonpersistent as Shadow Defender or better?
Is grub2 boot from an ISO image as effective?
Are bootable USB flash drives made with Rufus given any bootable ISO image as effective?
What about fsprotect, is it any better than grub2 boot from an ISO image?
Distros proposed for the host: anything hardened like Pure OS, Astra Linux, Kodachi. Preferably Secure Boot signed.
Which is the most hardened option?
I have two tables – one is a data table and the other is a mapping table. I want to join them together, but only preserve the data from the right table. However, it is possible that the match table may contains multiple records that match to a single record in the right table. I cannot use a DISTINCT because there may be identical rows in the right table, and I want to preserve the same number of rows from the right-table in the result set.
Here is a sample of the data I am working with:
DataTable MappingTable +-----+-----+-----+-----+ +------+------+------+------+ | ID1 | ID2 | ID3 | ID1 | | ID1 | ID2 | ID3 | ID1 | +-----+-----+-----+-----+ +------+------+------+------+ | 1 | 1 | 1 | 1 | | 1 | NULL | NULL | NULL | | 1 | 1 | 1 | 1 | | NULL | NULL | NULL | 1 | | 2 | 1 | 1 | 1 | | 3 | 3 | NULL | NULL | | 3 | 1 | 1 | 3 | +------+------+------+------+ | 4 | 1 | 1 | 4 | | 2 | 2 | 1 | 1 | | 3 | 2 | 1 | 3 | | 3 | 3 | 1 | 3 | | 2 | 1 | 0 | 1 | | 2 | 1 | 0 | 1 | | 4 | 3 | 2 | 3 | +-----+-----+-----+-----+
Below is the join I am using. I wrote a custom function to handle the NULL-matching behavior, which I am including here as well.
SELECT * FROM DataTable P JOIN MappingTable M ON dbo.fNullMatchCheckIntS(P.ID1,M.ID1,0,1) = 1 AND dbo.fNullMatchCheckIntS(P.ID2,M.ID2,0,1) = 1 AND dbo.fNullMatchCheckIntS(P.ID3,M.ID3,0,1) = 1 AND dbo.fNullMatchCheckIntS(P.ID4,M.ID4,0,1) = 1
CREATE FUNCTION dbo.fNullMatchCheckIntS ( @Value1 INT ,@Value2 INT ,@AutoMatchIfValue1IsNull BIT ,@AutoMatchIfValue2IsNull BIT ) RETURNS BIT AS BEGIN DECLARE @Result BIT = 0 SELECT @AutoMatchIfValue1IsNull = ISNULL(@AutoMatchIfValue1IsNull,0) ,@AutoMatchIfValue2IsNull = ISNULL(@AutoMatchIfValue2IsNull,0) IF (@AutoMatchIfValue1IsNull = 1 AND @Value1 IS NULL) OR (@AutoMatchIfValue2IsNull = 1 AND @Value2 IS NULL) OR @Value1 = @Value2 OR (@Value1 IS NULL AND @Value2 IS NULL) BEGIN SET @Result = 1 END RETURN @Result END
The problem with the way the join works is that the first two rows in the DataTable match on the first two rows in the MappingTable, giving me four identical records in the result, but I only want 2. I know that I could add an identity column to the DataTable and then use DISTINCT or PARTITION to get the result I am looking for, but I would like to avoid that route if possible.
EDIT: I figured out a way to do this using EXISTS, but it looks a little ugly in my opinion. Still interested in other answers if anyone has an idea. Thanks!
SELECT * FROM DataTable D WHERE EXISTS ( SELECT D.ID1, D.ID2, D.ID3, D.ID4 FROM MappingTable M WHERE dbo.fNullMatchCheckIntS(D.ID1,M.ID1,0,1) = 1 AND dbo.fNullMatchCheckIntS(D.ID2,M.ID2,0,1) = 1 AND dbo.fNullMatchCheckIntS(D.ID3,M.ID3,0,1) = 1 AND dbo.fNullMatchCheckIntS(D.ID4,M.ID4,0,1) = 1 )
That is, the right child of a left child, or the left child of a right child. The best that I can come up with is the “opposing child” but I was wondering if anyone has come across an existing naming convention for this.
I’d like to right-align a Group block within a wide column. Is there a way I can get the Groups to show the same alignment options as an Image block does?
Group blocks by default only provide “Wide Width” and “Full Width”. I’m able to do the corresponding CSS myself, I just need an interface for the end-user.