installation – Sources disagree on hashes for supposely identical version when trying to install CUDA 11.2 toolkit

I am new to GPU computing and I am trying to install CUDA on my linux 20.04 focal with kernel 5.4.0 workstation that is equipped with NVIDIA quadro p4000 GPU.

I have followed the instructions in this link:

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions

and when I did step 3.8 (sudo apt-get install cuda) I get this message:

Sources disagree on hashes for supposely identical version ‘11.2.2-1’ of ‘cuda-command-line-tools-11-2:amd64’
and when I tried nvcc –version after the installation finished with the above message and a few other similar messages I got nothing which means it didn’t install.

Actually I am trying to do the installation on a remote machine so I was not able to do any restarts during the installation if that is actually needed, because I don’t have access to the physical machine.

can you please help me figure out what is going wrong with my installation?

dnd 5e – The descriptions of the Swashbuckler rogue’s Rakish Audacity feature in XGTE and SCAG disagree. Which is correct?

In the Sword Coast Adventurer’s Guide (p. 136), the second paragraph of the Swashbuckler rogue’s Rakish Audacity feature description reads:

In addition, you don’t need advantage on your attack roll to use your Sneak Attack if no creature other than your target is within 5 feet of you. All the other rules for the Sneak Attack class feature still apply to you.

However, in Xanathar’s Guide to Everything (p. 47), which reprints the Swashbuckler rogue subclass, the description of the Rakish Audacity feature reads:

You also gain an additional way to use your Sneak Attack; you don’t need advantage on the attack roll to use your Sneak Attack against a creature if you are within 5 feet of it, no other creatures are within 5 feet of you, and you don’t have disadvantage on the attack roll. All the other rules for Sneak Attack still apply to you.

I can’t find any acknowledgement of the text change either; I’d imagine that one or the other would have been subject to errata that makes them have the same wording.

Which wording is correct? I’m assuming SCAG since it was printed later, but would like a source.

Additionally, does the SCAG wording mean that the ability can be used with range attacks? I assume that RAI it should not, but I’m having a hard time interpreting “if no creature other than your target is within 5 feet” as meaning that the target must be within 5 feet.

terminal – “shutdown” and “wake” system logs disagree

My MacBook appears to show different times for when it shut down and woke up. Why did this happen?

Here’s the relevant logs.

~ % log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
Filtering the log data using "composedMessage CONTAINS "Previous shutdown cause""
Skipping info and debug messages, pass --info and/or --debug to include.
Timestamp                       Thread     Type        Activity             PID    TTL  
2020-06-12 23:30:34.855961+0800 0xae       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: -128
2020-06-12 23:47:57.943856+0800 0xae       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 5
2020-06-13 03:42:08.849993+0800 0xae       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 5
2020-06-13 04:16:13.811852+0800 0xb0       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: -128
--------------------------------------------------------------------------------------------------------------------
Log      - Default:          4, Info:                0, Debug:             0, Error:          0, Fault:          0
Activity - Create:           0, Transition:          0, Actions:           0
~ % log show --style syslog --start "2020-06-12" | fgrep "Wake reason"
2020-06-12 10:31:32.317410+0800  localhost powerd(170): (powerd:sleepWake) Wake reason: "<private>"  identity: "<private>"
2020-06-12 10:31:51.112085+0800  localhost kernel(0): (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EC.SleepTimer (SleepTimer)
2020-06-12 10:31:51.112089+0800  localhost kernel(0): (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EC.SleepTimer (SleepTimer)
2020-06-12 23:31:27.787286+0800  localhost powerd(170): (powerd:sleepWake) Wake reason: "<private>"  identity: "<private>"
2020-06-12 23:31:46.885999+0800  localhost kernel(0): (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EC.LidOpen (User)
2020-06-12 23:31:46.886002+0800  localhost kernel(0): (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: EC.LidOpen (User)

Agree or Disagree. Using the words Black Lives Matter is Racism & Prejudice. BLM says that if a person from a different race gets murdered?

Disagree..it is specific, not exclusionary. Example: If a kid did not know that the various colors of M&M candies are only food coloring, and they actually all taste the same, but he started throwing out the blue ones, thinking they were bad. Someone tells him, “Hey, kiddo,, don’t throw those out, blue ones are good”. ┬áThat is not saying that all other colors are not good, and that he should throw away all of them “except” the blue ones. Get it?

Do you agree or disagree? If Trump hadn't had to deal with Peolsi America's impeachment headache, would he have had a much needed lead?

Disagree. Trump did not take the first reports of the corona virus seriously because he believed it was "under control". After all, he relied on previous outbreaks, SARS, MERS, Ebola, etc. However, his mind changed when it turned out to be out of control and the stock market fell.

However, he did not make it worse than other western countries.

bip 32 hd wallets – Why does my BIP32 implementation produce different results than other web implementations? They also disagree

I am implementing bip32 for my wallet as a Bitcoin learning project.

I follow this documentation:
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

Since I am not yet implementing bip39, I get the private master key and the code chain from the BIP39 master key from this web:
https://iancoleman.io/bip39/#english

with a random set of words that are:

praise vague cruise stem test gesture twin long donate violin special hamster horror rough loan

what throws:

xprv9s21ZrQH143K2E7weJFDreP9A8dFkx18swFoAJ6DBdsVuSPoFBLzekLca8vEG1i6ikCcvzZb79joaEZAjeM8Nz1DZ549aCnv3YFXy33mLoW

Compare this edition with another web implementation here: https://iancoleman.io/bip39/

These two outputs match. After this point, however, they no longer do so. And my implementation doesn't match any of these implementations!

Here is my Python code in which I deserialize the extended BIP32 key. This fits perfectly with the private master key and the chain code from the second web app:

def deserialize_xprvk(s):
    version = s.read(4)
    depth = s.read(1)
    fingerprint = s.read(4)
    index= s.read(4)
    chain_code = s.read(32)
    s.read(1)
    privkey = s.read(32)
    return (version,depth, fingerprint,index,chain_code,privkey)

decoded =deserialize_xprvk( BytesIO(decode_base58_extended(xtprvk)))

I get print "decrypted":

0x488ade4
0x0
0x0
0x0
0x10e85c06826fdcd006c244ff6c44200044c1418bdd82cc088c33e48ae7b4c2ca
0xf214c0afd9b311544fdb686cae5100f1ac0ac8aba2b6c55719ba41ac2d4f2d12

This fits perfectly with the second implementation (the first does not show the private master key or chain code).

Then I try to follow the instructions from here:
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
To derive the PRIVATE KEY with index 0 for this master key and chain code as follows:

#The order of the ciclic group in the finite field of the ecliptic curve
N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141

#creates a string to emulate the index in a 4-byte hex format.
def str_i(i):
    i_str = hex(i)(2:)
    while len(i_str)<8:
        i_str="0"+i_str
    return i_str

pub_key = PrivateKey(int.from_bytes(master_priv_key,"big")).point.sec()

#I put an extra "0" because every public key begins with a "02" or "03" but
#the hex() function commits this character.
#The str_i(0) means I am trying to get the index 0.
msg=("0" + hex(int.from_bytes(pub_key,"big"))(2:) + str_i(0)).encode() 

I= hmac.new(
            key = hex(int.from_bytes(chain_code,"big"))(2:).encode() ,
            msg=msg ,
            digestmod=sha512).digest()

I_L, I_R = I(:32), I(32:)

child_privkey_int = (int.from_bytes(I_L,"big") + int.from_bytes(master_priv_key,"big"))%N

child_privkey = PrivateKey(child_privkey_int).wif(compressed= True)

child_chain_code = I_R

When I run this code and try to get the child private key for path m 0 0 , I get:

L29Rc5PyDkbUr2z1VcL2DuAhTQkNo3qwF7ENgRotS86ADUkiXPJF

But in the first web app you get:
"KwuPS3DGMnCc3jMJWtqVVzkCoMyhybxGZrf68fPBEBtFfujBdPGs"

And in the second you get:
"L1TcvgkPZFa6DyXhv9vYWceTXZhoAR7ZQMdt5rqV6LW3Zutpsqr8"

Is it OK to disagree with different implementations? or am I really doing something wrong? I'm starting to pull my hair out to find out where I screw it up.

Thank you very much.

Do you agree or disagree with the following comments? Why or why not? ?

Feminism is not about "equality", but about special rights, rules, laws, programs and subsidies that are intended to benefit women and only women. If you disagree, feel free to list how feminism benefits men, children, or anyone other than women.

Re: Abortion, with dozens of forms of contraception, there is little excuse to make fetuses only to kill them, certainly not millions of them. If women are "in control of their reproductive system", they should stop getting impregnated if they don't want children.