Not able to receive any notification from netconf test tool [closed]

I am working with netconf test tool to simulate devices. I was able to edit configuration on the devices. I was working with notification even tough I subscribed to a stream I was not able to get any notification from the device. If anybody has an understanding or have worked on netconf test tool with notification, it would be a great help .

Here is my python code

import sys import logging from ncclient import manager from ncclient import operations  log = logging.getLogger(__name__)  CREATE_SUBSCRIPTION = '''<?xml version="1.0" encoding="UTF-8"?>   <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="{}">     <create-subscription xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">       <stream>NETCONF</stream>     </create-subscription>   </rpc>''' # Fill the device information and establish a NETCONF session def connect(host, port, user, password):     return manager.connect(host=host,                            port=port,                            username=user,                            password=password,                            hostkey_verify=False,                            allow_agent=False,                            look_for_keys=False)   def test_notification(host, port, user, password):     # 1.Create a NETCONF session     with connect(host, port=port, user=user, password=password) as m:         # 2.Set the message-id for the rpc         msgId = 1002         rpc = CREATE_SUBSCRIPTION.format(msgId)          # 3.Send rpc         result = m._session.send(rpc)         m.take_notification(block=True, timeout=None)   if __name__ == '__main__':     logging.basicConfig(level=logging.DEBUG)     test_notification(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4]) 

pick up day for woocommerce products with email notification

I searched the web for a kind of plugin or code that suits our need. We have a local food store and we want to sell products with an online shop.

The ordered products can be picked up in the local store then. So we have products which are ready for pick up a week after the customer ordered, but also have products which are ready for pick up 2,3 or 4 weeks after the order.

I want to notify the customer one day before he can pick up his order via Email!

Does anyone know a plugin or how can i achieve this instead?

I keep getting this notification from Bitdefender: chrome.exe attempted establish a connection relying on an expired certificate to logs.gettoby.com

Every two fucking minutes I get four notifications like this and it has been going on for two days. It’s driving me mad. Can anyone help me get rid of this? I don’t even own Toby, I didn’t even know what it was until this.

I also get a lot of this: chrome.exe attempted to establish a connection relying on an expired certificate to www.nottfo.com. We blocked the connection to keep your data safe since web pages must renew their certificates with a certification authority to stay current, and outdated security certificates represent a risk.

What even is Nottfo?

Recoverable/Unrecoverable Error with a Toast Notification

I’m working on a mobile app, and am trying to figure out how to display recoverable and unrecoverable errors in context with a list. If a list of items are fetched in the initial request, and a subsequent page fails to load, what should show to the user to inform about the error? Toast Notification?

In the current implementation, the toast notification shows at the top of the screen, pushing the content down. Not sure if this is the best approach and I wonder if I should have the toast floating at the top instead. Thoughts?

enter image description here

“Wifi network not secure” notification with WPA2 Personal [migrated]

Everytime I connect to my wifi-network with my Windows 10 1909 I get a notification about the network not being secure. The network does use WPA2 Personal though, which I don’t think is insecure. Is there another reason why this notification pops up? And could this have somethig to do with internet cable maintenance in my area?

Notification of Imminent Screen Lock [migrated]

My work computer Locks after 5 minutes.

The nature of my job is that I “use” my computer all day long with very little interaction via mouse/keyboard; I look at the screen and it shows me pertinent details about the current job in progress, but I don’t have to move the mouse or touch the keyboard for sometimes hours at a time. The computer locks itself (at 5 minutes) with just a few seconds of warning.

I’ve been told that due to the fact that it is running Windows 7 and we are compliant with HIPPA, there is no way to give me an advance warning of some type after 4 minutes so that I have a full minute of notice in which to touch the keyboard/move the mouse to keep it active.

Incidental: My preference: dim the display 50%

Instead, I have only a few seconds of notice (my screen goes black) before it locks me out and I have to:

  • press Ctrl+Alt+Del
  • type in my password including Capital Letters, Numbers, and Symbols
  • at times retype my password multiple times because the caps lock was inadvertently active or, due to my haste (my machine often produces at >5 pieces per second), I typed it in wrong

This results in frustration; lack of necessary, detailed attention to my job; and frustration.

A simple program could be created (I’ve done this for giggles on my home computer) that would warn me that the lock is about to become active, but I was told that installing a custom program would violate our HIPPA agreement because my computer:

runs Win7 + is connected to company server + has custom program = security violation

I was told that if the computer is upgraded to Win10, a custom program could be installed to warn me that the lock screen is about to be active, but, due to the current situation, this type of solution is currently impossible to implement.

Is there any way to have a Win7 computer on a company network that adheres to HIPPA warn me that the computer is going to lock after 4 minutes of runtime?

What’s the name for the notification pattern: waiting for the user to respond to a notification before sending the next one?

Some websites (e.g. some forums) send notifications like this:

  1. User asks multiple questions on the site
  2. Other users respond to the questions
  3. The website only notifies the user once (that there has been some activity since his last interaction with the site)
  4. The user logs into the site or interacts with the site
  5. More activities happen that the user should be notified of
  6. The website sends another single notification to the user

In short instead of sending one notification per each activity and potentially overwhelming or spamming the user, the user is only sent one notification and the system waits for the user to have an interaction with the site before sending the user another notification.

Is there a name for this pattern?