## Does the playable UA Centaur’s Charge racial feature affect both attacks if I have the extra attack feature?

The Centaur’s racial feature “Charge” reads as follows:

If you move at least 20 feet straight toward a target and then hit it with a melee weapon attack on the same turn, roll the weapon’s damage dice twice and add them together. Once you use this ability, you can’t use it again until you finish a short or long rest. (Source of wording D&D Beyond)

From this I understand that the affected attack(s) must occur after the Charge ability is triggered, and must occur during the same turn the Charge is triggered.

But, as the title question indictes, I’m in doubt whether this wording means that the doubling of the weapons damage dice only occurs on a single attack that hits after the Charge, and if so must it then be the first attack that hits or can it be any attack that hits during that turn? Or would it affect every attack that hits after the Charge during that turn?

## In DnD 5e does the Monk ability Martial Arts replace the die type, the die number or both?

I looked around and couldn’t find an answer to this question online. I’ll get more into the question’s details, but the reason I ask this is the Kensei Monk. Kensei monks cannot use Heavy weapons which results in them being unable to use all Two Handed weapons, but the Double Bladed Scimitar is a two handed weapon that is not heavy. My question is, since a Double Bladed Scimitar usually does 2d4 damage, if a level 5 monk replaced the die using martial arts to a d6, would the Double Scimitar change into 2d6 damage or 1d6 damage? Thanks in advance for any responses.

## Redshift Hash Join – Casting Varchar as Text to FK when both same type?

I have a SQL statement that is JOINing some outer table on some inner table ON “somekey”. Both the outer table’s and inner table’s “somekey” are exactly the same datatype – varchar(36). However, for some reason when analyzing the query plan, Redshift wants to cast each as text first. I imagine this might reduce performance. 1) Why is it casting? 2) Can I make it not cast? 3) Does it matter (does it actually hurt performance)?

The partial plan:

• XN Hash Join DS_DIST_ALL_NONE (cost=64.17..2067242.11 rows=28074 width=160)
• Hash Cond: ((“outer”.somekey)::text = (“inner”.somekey)::text)

## Finding covariance given mean and variance of both X and Y

Say the distribution of $$X$$ is known, and the expected value and variance of $$Y$$ is known. Don’t assume independence. Is this information enough to give the covariance of $$X$$ and $$Y$$? I am only needing to know $$\Bbb E[XY]$$ but does the exact distribution of $$Y$$ have to be known?

## Does this strict reading allow both Extra attack and Thirsthing blade to be used together?

The warlock invocation Thirsting Blade cannot be normally used with the class feature Extra attack since both feature explicitly say attack twice instead of once. But it seems to me that you could use both features when using two weapon fighting.

Assuming two light weapons, one of which is your pact weapon. You take the Attack action on your turn to attack twice with your non-pact weapon using you Extra Attack class feature.

Then, given the two fighting rules, you use your bonus action to attack once using your pact weapon this time.

Two weapon fighting rules (PHB p.195):

When you take the Attack action and attack with a light melee weapon that you’re holding in one hand, you can use a bonus action to attack with a different light melee weapon that you’re holding in the other hand.

But since your have the Thirsting Blade invocation, and you used the Attack action, you get to attack twice with your pact weapon.

Vou can attack with your pact weapon twice, instead of once, whenever you take the Attack action on your turn.

Does this combo work or is there any interaction I’m not aware of ?

## SD card is somehow read-only, from both Android and TWRP… how do I make it writable again?

My SD card is being weird.

I’m in TWRP, since a Lineage OS dirty flash (one without a wipe first) bricked my phone. Using the TWRP file manager, or the terminal, it doesn’t matter, moving files to it fails. Copying files to it fails. Deleting files from it fails. Formatting it fails. mkfs.ext2 from the terminal fails (vseek error). mkfs.fat doesn’t print any error, it may be returning a nonzero exit code but I can’t check. I’ve mounted and unmounted it multiple times, it doesn’t seem to help.

I’ve checked, and there’s no hardware switch on the SD card for read-only. Since it’s vfat, I’ve tried fsck.fat to no avail. Mounting it as rw didn’t really do anything, everything still fails (it was still mounted as rw afterwards, so it didn’t switch into read-only mode). All of that was tested from the terminal.

I’m not sure what’s going on. This is a perfectly reasonable SanDisk Ultra MicroSD card, that has worked before. Here’s the fsck output (I hit backspace on the first option, sorry for the `^H`):

``~ # fsck.fat /dev/lock/mmcblk1p1 fsck.fat 3.0.28 (2015-05-16) 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. 1) Remove dirty bit 2) No action ? 1^H2 FATs differ but appear to be intact. Use which FAT ? 1) Use first FAT 2) Use second FAT ? 1 Reclaimed 7 unused clusters (229376 bytes). Perform changes ? (y/n): y /dev/block/mmcblk1p1: 310 files, 7718/973584 clusters ``

My particular phone is a Samsung Galaxy Note 3, Verizon variant. I just rooted it and want to try a clean flash of Lineage OS but I need the ROM on an SD card for that. Either that or I can start a Windows VM to flash a ROM like that.

## First time visited nodes form a spanning tree that has a same number of edges in both BFS and DFS

I am trying to state, whether the statement is true: During a DFS/BFS, first time visited nodes form a spanning tree, that has the same number of edges whether you use DFS or BFS. Is it true? Thanks!

## Using both displaylink and the HDMI output on Ubuntu 18.04 LTS on a Dell XPS 15 9550

I’ve decided to switch my setup from Windows to Ubuntu for a while.

I have a Dell XPS 15, with three monitors attached. One via the HDMI port, one via USB-C and a third via DisplayLink (using a plugable dock). On Windows, this all works fine.

I have installed the official Ubuntu DisplayLink driver, following the instructions on the site.

My issue is that, when the DisplayLink monitor is attached, the HDMI/USB-C ones don’t work at all. Disconnect the DisplayLink monitor, and the HDMI/USB-C ones are fine.

I tried switching to Wayland, but it doesn’t work with DisplayLink at all.

I can live without the third monitor, but is that really living?

Does anybody have any advice on getting all three monitors to work? Is this just not possible currently with DisplayLink on Ubuntu?

Thanks

## aes-128 refers to the block size, key or both

What does the number used in cipher suites next to the symmetric encryption algorithm reefers to? Does it mean each block is divided into 128 bit blocks, the key size or both ?