How to communicate with encrypted bitcoin wallet using bitcoin-core in NodeJS

I have a full node running in my local system and I am using this library named bitcoin-core to communicate with the bitcoind server. Now I have encrypted my wallet with a passphrase so I understand that for making transactions I need to have a passphrase. I am not sure what changes do I need to do for that in the library?

Can someone help me with this please?

If only SP (or IDP) uses Shibboleth in its SAML implementation, can the systems still communicate?

I was reading about Shibboleth’s metadata — , and how it’s used to identify IDPs and service providers involved in the SAML flow. If a service provider uses Shibboleth, what information does it need to see in its metadata before it will communicate with an IDP?

Further, if the IDP uses the same version of SAML (e.g. v2.0) but doesn’t implement Shibboleth, does that mean that the entities can’t communicate with each other?

Can A Ship In The Drift Communicate With Someone Outside The Drift

Traveling between worlds in the system takes 1d6+2 Days(Core pg 291) while system wide communication takes 1d6-1 Hours(Core pg. 430).

Is there any reason a ship travelling in the Drift for 3-8 days can’t communicate with someone on a planet in that system, on a non-drifting ship, or even with a ship that is also drifting with messages taking 0-5 hours to travel between communication arrays? By RAW I can’t find anything limiting it but I’m wondering if I’ve missed some rule that communications don’t function while in the Drift.

How do laptop batteries and chargers communicate with the laptop and what do they ‘say’?

I have an HP laptop that does not like its new after-market battery (original parts are no longer in production). I am having a curious problem in that when the battery finishes charging, that if the AC adapter lost power, the computer will shut down immediately. However if the power connector is pulled out of the laptop itself, it doesn’t.

What different information might the laptop be receiving from the adapter that it can tell the difference between losing AC and being unplugged at the connector. I can see the HP uses a 3 pin connector and have read that it is effectively a dual layer coax cable so I assume the centre pin is for communication.

I have tested many different chargers and found that the effect is identical with all, and even tested across several laptops. The common denominator is the battery. Batteries have many terminals, 8 in this case, so the laptop and battery must communicate. The running assumption is that the battery is not correctly switching to discharge mode when AC power is lost, however the case is very specific.

What then is the communication protocols, standards etc. that are used in the charger <> laptop <> battery that might help me unpick this issue?

Can I communicate with (and see through the eyes of) my familiar when it’s carrying me in my Bag of Holding?

So, I play a Warforged Warlock (Hexblade, Pact of the Tome). I have an Owl familiar (standard variety), which, by RAW, can carry 15 lbs times its Str score (3), or 45 lbs [halved for tiny creatures, so 22 lbs carrying capacity – thanks, @Someone_Evil].

I just received a Bag of Holding (weighs 15 lbs), into which I can fit (3x3x7 feet is less than the 64 sq ft volume, and I don’t weigh 500 lbs). I don’t need to breathe. All good so far.

According to the descriptions for the Handy Haversack and Portable Hole, the Bag of Holding creates “an extradimensional space” (and not a private demiplane).

Can I communicate with (and see through the eyes of) my familiar when it’s carrying me in my Bag of Holding?

Any other issues noted?

How to communicate data from a threaded library?

Until recently I was involved in the development of a library to be used for acquiring data from a hardware device via a server application. The server application sends out messages via a ZMQ connection whenever it has received data, and the library spins up a thread that checks if data can be received from its ZMQ connection in a regular interval.

My question is now how to properly pass this received data on to the hosting application, given that it lives in a separate thread context, while the main thread is outside of the control of the library. Our solution so far was to basically just execute callbacks from that thread itself. However, a colleague remarked that this puts the responsibility of handling thread synchronisation to the implementing party, and they need to be aware that the callback function they register needs to make sure it doesn’t cause data corruption on the main thread.

The alternative that said colleague suggested would basically be an event system, which would work by queueing up the received data somewhere in the main thread context and providing users of the library with functionality to trigger processing of that event queue and evocation of the respective callbacks. That, however, places the responsibility to keep the event loop running at the host side, and it potentially introduces delays in data processing, if the event queue is not processed frequently enough. In any case, immediate data forwarding (i.e. processing data further as soon as it arrives) would likely not be possible this way.

I honestly don’t know how performance-critical immediate processing of that data from the library is for those who implement it, so the latter use case may not be of high relevance. Nevertheless, I’m curious to know which way to make data accessible for a host application is considered “better style”.

How to best communicate color names to users more clearly

Many times in using general color names in communication, i.e. Red and Green, users are confused when the color is a non-pure form of the color.

For Example, in referring to the Red-ish color of the error box on Ask Ubuntu:

enter image description here

There is much debate as to what to classify the color as, Here are some transcripts of conversations had about these colors of user interaction:

In the second this was even a problem for communicating the location of a feature.

What are some ways to overcome this limitation of using abstract and descriptive colors.

I know we can refer to the color as a value ex C04848 as a hex value to be specific, but value systems seem not to immediately convey the color to the user.

How to connect two objects that communicate with each other?

I am writing a simple chat using Node.js, Websockets and Vue.js. Specifically, I have a Vue instance and a Websockets Client. When a user presses a “Submit” button, Vue asks the Client to send a message to a Server. When the Client receives a message from the Server, it asks the Vue to render it to the page. My first thought was for the Vue to have a reference to Client, and for Client to have a reference to Vue, but the two objects become closely coupled. Is there a better way to enforce communication between these two objects?

Nvidia-smi has failed because it could’t communicate with the Nvidia driver

My gpu is Titan xp Geforce.
and I just installed ubuntu 18.10.
am I already installed the nvidia driver?

after I typed

nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 

and also I installed the tensorflow with conda install
after I reboot it did not reboot
and shows this message

PKCS#7 signature not signed with a trusted key