Can built-in functions deal with stochastic delay differential equations (SDDE)?

I know that functions like NDSolve can deal with delay differential equations and in the meanwhile, functions like ItoProcess and RandomFunction handle stochastic differential equations. So I wonder whether any built-in functions can handle it when the above two cases are combined together. For example, I naively tried the below codes by just slightly modifying the first example of ItoProcess (x[t] -> x[t - 1] in the square root)

proc = ItoProcess[\[DifferentialD]x[t] == -x[t] \[DifferentialD]t + Sqrt[1 + x[t - 1]^2]         \[DifferentialD]w[t], x[t], {x, 1}, t, w \[Distributed] WienerProcess[]] RandomFunction[proc, {0., 5., 0.01}] 

The first row of codes runs seemly well, but the second one just returns a RandomFunction::unsproc error, specifically RandomFunction::unsproc: The specification `<Ito process>` is not a random process recognized by the system..

Or do I have to implement a version myself with Euler method alike?

Is it necessary to encrypt a JSON Web Token more than what is built-in?

As a developer I do have some understanding of OWASP, I am also a member of OWASP community, official due paying one. Anyway, what I may not understand is information security in that I am not a security engineer and so I pose the following question:

Is it necessary to encrypt and encode a JSON Web Token?

In my experience, no secure or confidential information should be in a JSON Web Token anyway, outside of the id and email of the user. I can imagine a customer such as a bank freaking out about that, but what can someone do with an email? The password is salted and hashed and also at least in the NodeJS world that is my wheelhouse, JSON Web Token is tamper resistant.

I can verify that a token was valid by using the signing signature and if it fails due to tampering then the services will no longer trust it, that simple no? Why would it be necessary to encrypt it, Encode it And whatever else an overzealous engineer can think of? What problem is it solving or what use case is it handling that is not already built-in? Is it because in other programming languages there are no libraries built-in that can run a jwt.verify() on the JWT?

Could the case described in this post be what the institution is trying to solve?

JWT(Json Web Token) Tampering

I understand that for a customer for whom this is a big deal, encrypting the cookie contents is an option, but would that be overkill?

How do I code access to the built-in UI of a CPT when it’s placed as submenu of another CPT that is protected by role?

I am toying around with WordPress capabilities, and having some difficulty understanding where I am going wrong. Right now, I have an admin menu that appears for all administrators with STUDENTS as a submenu of SCHOOL: each of those link to (When the user is in the HEADMASTER role, the link to the built-in UI for TEACHER appears and SCHOOL mimics its link). So far, all is well.

The bump in the road is when a non-HEADMASTER administrator clicks either SCHOOL or STUDENTS, the error “Sorry, you are not allowed to access this page” appears. (As expected, when that same admin accesses, the errors “You need a higher level of permission” and “Sorry, you are not allowed to edit posts in this post type” appear.) The issue is that the STUDENTS built-in UI is not accessible to all administrators. (As expected, there are no problems for HEADMASTERs.) How can this be resolved in such a way as to give all site admins access to STUDENTS and only HEADMASTERs access to TEACHERS while at the same time preserving the layout and functionality of the admin menu and built-in UI?

What I’ve Tried: When the 'show_in_menu' => 'edit.php?post_type=teacher' line is removed from the STUDENTS CPT, everything works as expected but STUDENTS becomes a top-level menu item instead of SCHOOL. I tried putting TEACHERS as a sub-menu item as STUDENTS, but SCHOOL does not change its link when the user is in the HEADMASTER role (also the ordering of TEACHERS and STUDENTS is backwards). I also tried add_menu_page() for SCHOOL and adding the slug returned for the show_in_menu argument of the TEACHERS and STUDENTS register_post_type args, respectively, but that didn’t work because it created a page instead of forwarding to the appropriate built-in UI.

 class School {     public static function init() {         add_action('init', array(__CLASS__, 'register_cpt'));         add_action('init', array(__CLASS__, 'add_role'));         add_action('admin_menu', array(__CLASS__, 'modify_menu'));     }      public static function register_cpt() {         register_post_type('teacher', array(             'labels' => array(                 'name'          => __('TEACHER'),                 'all_items'     => __('TEACHERS'),                 'menu_name'     => __('SCHOOL'),             ),             'show_ui'           => TRUE,             'capability_type'   => 'educator',             'map_meta_cap'      => TRUE,         ));         register_post_type('student', array(             'labels' => array(                 'name'          => __('STUDENT'),                 'menu_name'     => __('STUDENTS'),             ),             'show_ui'           => TRUE,             'show_in_menu'      => 'edit.php?post_type=teacher',         ));     }      public static function add_role() {         if(get_role('headmaster') === NULL) {             $  caps = array();             foreach(get_role('administrator')->capabilities as $  cap => $  tmp) {                 $  pos = strpos($  cap, 'post');                 if($  pos !== FALSE) {                     $  cap = str_replace('post', 'educator', $  cap);                     $  caps[$  cap] = TRUE;                 }             }             add_role('headmaster', 'HEADMASTER', $  caps);         }     }      public static function modify_menu() {         global $  submenu;         unset($  submenu['edit.php?post_type=teacher'][10]);     } } School::init(); 

Using built-in validation pop-up for custom fields

I am currently adding custom fields (by custom code) to the single product page in WooCommerce using the OceanWP theme. I was about to start custom validation to the fields when I noticed that the fields already had some validation and the result looks quite nice.

When the Add to Cart button is pressed and a field is invalid I get the following message pop-up: enter image description here

I’m not sure whether the warning popup is part of WordPress, WooCommerce or OceanWP.

My question is: can I can use this built-in warning popup for my own validation messages?

Is it possible to have a script built-in into a custom resource?

Here’s a rudimentary custom resource:

extends Resource  export(Resource) var scr 

I can drag a pre-made .gd script into this exported property in Inspector, and it works as intended. I can click on the exported property field and embed a resource (like “New ShaderMaterial”), and it would also work as intended, and I would be able to edit that sub-resource normally. However, if I click on the exported property and select “New GDScript”, there doesn’t seem to be a way to open the new gdscript for editing. Is it possible to embed a gdscript sub-resource the same way you can embed a different sub-resource?

Built-in Webcam not being detected on linux mint 19.1 cinnamon

i have being using linux mint for almost a year now, and i had no problems, but recently my built in webcam was not being detected by any of the applications (Zoom, Skype, Cheese….).

This is Cheese not detecting any devices.

And zoom….

This is what comes up when i enter the lsusb command:

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching  Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0  [ThinkPad] Bus 001 Device 003: ID 1ea7:0064   Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching  Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

I’m using a ThinkPad T430s 3rd gen intel vPro i5 4GB memory, could any one help?

Best regards,

Young Fellow.

Ubuntu changes line itself while typing with the built-in Keyboard

Ubuntu community,

I have a really disgusting trouble while typing with built-in keyboard on Ubuntu 16.04.06 LTS, the problem is that (I do not know why)while I am typing the line changes or it just delete everything and a lot of weird things, I re-installed the software, update it and nothing worked.

Have you any idea? help please.

Best regards, Santiago

How to disable built-in display from boot?

Lenovo v580c Since the built-in screen had low resolution for me and was slightly broken i decided to throw it away. But when Ubuntu boots it switches to “expand” mode. So I can’t choose external display as a main screen. I tried to disable this display with xrandr but it didn’t help. I set my external display as boot screen in BIOS but it didn’t work. Is there any way to fix this disaster? Maybe some script that after boot switches automatically to “only external display” mode? It is extremely uncomfortable to press fn+f3 everytime I boot.

Convert/Change the built-in root site collection into a communication hub site

when we start a new office 365 project, we will have a classic team site created for us at the root but now we want to follow the flat structure of sites and star using hub sites. so for this i am not sure what are the appraochies we can follow to :-

  1. convert the current classic team site into a communication site. we need to convert it into a communication site, since this is the template advised (by Microsoft) to be used for hub sites. as we want to set our root site collection to be the parent hub site for our company .

so what are the approaches we can follow? can i simply delete the root site collection, then create a new communication modern site at the root url of our tenant?

Play Audio Through Computer’s Built-in Speakers

Is it possible to use the internal built-in speakers of a computer to play music from a device? I am using an audio jack male to male cable

enter image description here

And as device I am using an FM-Radio Module (TEA5767)

enter image description here

But instead of connecting the module to an external speaker, I would like to use my computer’s built-in speakers. Do you know how to do that on Ubuntu 18.04.2? Apparently something similar can be done on MAC OS,