Categories
Ask Games RPG Games

Is this Will’O’Wisp Homebrew Comparable to other Pact of the Chain Familiars?

For a level 3 one shot I will be playing a Warlock who made a deal with the ghost of a wizard to help find a way to revive the wizard, and by carrying soot from the wizard’s final resting place in a locket, they stay near me and give me warlock powers. Because of […]

Categories
Ask Chemistry

Name of this bond-line formula?

I don’t know much about chemistry but I recently found the below bond-line structural formula painted on a wall near my place. I really can’t let go of trying to find the name of the compound. If anyone would be so inclined as to relieve me of my suffering, I sure would be grateful! Thank […]

Categories
Bitcoin Cryptocurrency Mastering Development

How can I open my wallet in 2009

My wallet in 2009. I’ve been looking for a long time, I found my key. I logged in with electrum, the addresses were fine, but my bitcoins did not appear. "not available for this wallet" is written in the wallet information section. I think I should use another wallet system. How can I open my […]

Categories
Cryptocurrency Ethereum Mastering Development

Make an erc20 transfer with web3py

how to send an erc20 in web3py please, I have that : tx_hash = contract.functions.transfer(destination_address, value).transact({‘from’: myaddress }) and I get this error : ValueError: {‘code’: -32601, ‘message’: ‘The method eth_sendTransaction does not exist/is not available’} I guess am missing signing that or something like that, how can I make a successful erc20 transfer.

Categories
Linux Mastering Development

cryptsetup luksOpen vs cryptsetup open

Just wanted to confirm whether my suspicion is correct or not, that is to say, are these two identical in function and the context in which they are used? cryptsetup luksOpen cryptsetup open I couldn’t see anything specific in the man page referring to ‘cryptsetup open’. I see in various places (example: https://wiki.archlinux.org/index.php/Dm-crypt/Device_encryption) that both […]

Categories
Linux Mastering Development

Find out the cause for continous disk io on raspberry pi on arch

I have a raspberry pi (3B+) that’s continously writing/reading from the SD card with no obvious reason (I see the green LED continously flashing). How do I troubleshoot and resolve this? I don’t want it to eat up all the IO cycles on my SD card. My RasPi is a headless system, running ArchARM with […]

Categories
Linux Mastering Development

Kodi bluetooth configuration

In some HTPC devices that come with Kodi, Kodi contains an entry to pair bluetooth devices. I am trying to create my own server which is also connected to the TV and I have installed Kodi from archlinux repositories. This kodi doesn’t have the interface to pair bluetooth devices. Does someone knows how to pair […]

Categories
Linux Mastering Development

Can a file disappear from an ext4 partition if an application was using it?

A Passwords file was in use by KeePassXC. After restart, file is gone. Normal operation is: File is open and when system gets rebooted, it closes it safely (so far). Keepassxc always always autosaves. I’ve rarely seen "Save" available from the menu. Could KeePass have mishandled the file so badly that it just disappears?? Is […]

Categories
Linux Mastering Development

Are the “day of month” and “day of week” crontab fields mutually exclusive?

According to Artur Meinild’s answer here, the "day of month" and "day of week" fields of a crontab are mutually exclusive. However, according to man 5 crontab (for cronie, if it matters): Commands are executed by cron(8) when the ‘minute’, ‘hour’, and ‘month of the year’ fields match the current time, and at least one […]

Categories
Artificial Intelligence (AI) Mastering Development

RuntimeError(“grad can be implicitly created only for scalar outputs”) while computing backward propagation

I have following code for train function for training an A3C. I am stuck with following error. RuntimeError("grad can be implicitly created only for scalar outputs") at line (policy_loss + 0.5 * value_loss).backward() Here is my code, can someone please help to check what is wrong with this code. def train(rank, params, shared_model, optimizer,ticker): torch.manual_seed(params.seed […]