pass parameter to 2nd function jsom

Hi I have the following code, how can I pass oList into function onQuerySucceeded?

function lockMandaysItems(tID,oList) {      var clientContext = new SP.ClientContext.get_current();     var oList = clientContext.get_web().get_lists().getByTitle(oList);      var camlQuery = new SP.CamlQuery();     camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef Name=\'TeamRequest\'/>' +          '<Value Type=\'Number\'>'+ tID +'</Value></Eq></Where></Query></View>');     this.collListItem = oList.getItems(camlQuery);      clientContext.load(collListItem);      clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));          }  function onQuerySucceeded(sender, args) { } 

Is there a benefit to Diffe-Hellman parameter rotation?

When setting up a web server with TLS support I’ve generated my dhparams with openssl dhparam -C 2048 some.pem. I understand that the output in some.pem are the parameters by which DH key exchange will be done, but a few questions arise that I can’t find answers to.

  • Can I rotate this parameter file and generate new file every day/hour/timestep or will my users start seeing TLS errors?
  • If I can rotate the parameters is there any benefit to doing so?
  • Is there any downside to rotation? ie could an attacker more easily masquerade as my web server?

Argument of type ‘{ description: string; siteurl: string; }’ is not assignable to parameter of type

For SpFx running gulp serve getting below error for this line its working before ,

 public render(): void {                         const element: React.ReactElement<IReactGetitemsProps > = React.createElement(                           ReactGetitems,                           {                             description: escape(this.properties.description),                            siteurl: escape(this.context.pageContext.web.absoluteUrl)                            }                         ); 

Problemas con sweetalert2 – Angular // A rest parameter must be of an array type

Date: 2019-09-23T14:48:08.494Z - Hash: 1d5dfacd2a56d00cec4b - Time: 2967ms 

5 unchanged chunks chunk {pages-pages-module} pages-pages-module.js, pages-pages-module.js.map (pages-pages-module) 404 kB [rendered] ℹ 「wdm」: Compiled successfully. ERROR in node_modules/sweetalert2/sweetalert2.d.ts(23,19): error TS2370: A rest parameter must be of an array type. node_modules/sweetalert2/sweetalert2.d.ts(361,41): error TS8020: JSDoc types can only be used inside documentation comments. node_modules/sweetalert2/sweetalert2.d.ts(361,50): error TS8020: JSDoc types can only be used inside documentation comments. node_modules/sweetalert2/sweetalert2.d.ts(361,59): error TS8020: JSDoc types can only be used inside documentation comments.

Confusing UX for Recursive report parameter

I’ve been tasked with implementing a report parameter that contains other report parameters, for a reporting software I’m working on. The UI, as described to me is really confusing, but I am at a loss to come up with a better design. It is to look something like this : enter image description here and should behave as follows:

  • When clicked upon, the child report parameter should populate on the left hand side. If that child report parameter has report parameters, then when value was selected for it, it should replace the left hand side contents and its child parameter should appear on the right and the parent appearing right above it, like :
    • enter image description here
  • User should be able to go back up to parent/main levels
  • When user enters values for the child parameters, the main checkbox should be toggled to checked
  • When user clicks the checkbox, default parameter values for all levels should be set

All of this was to be under a <select> widget, and I only had a couple hours to implement this.

The sheer confusion of this design, the model I was given for it, and what the expectations for the view-model should be, ate up so much of my time, resulting in only the stuff for the first image to be implemented (except for saving the values of the child parameters. I was lost about that), a day later.

The <select> widget requirement was scrapped (literally impossible, and even if it weren’t, it’s counterintuitive as hell), but even after that, this design is really confusing. However, I’m struggling to come up with something better. Could you help me out?

Pavucontrol How do I disable automatic parameter adjustment?

Adjust the sliders as I need ( Left channel to 0, right about 20) in order to remove noise from the microphone headset EarPods Start talking, literally about 10 seconds the sliders are changed to other values – noises appear again. If you go to Alsamixer, then there is exactly the same situation, even with this Mic Boost starts from 0 to 30 to rise. Is there a way to fix it? (All tests conducted in the browser on the site with a micro check and Discord) pic1 pic2

How to better display a long list of parameter: value items?

I would like to ask if there is a better way of displaying a number of categories containing long lists of “parameter: value” items, than what I have at the moment:

Category1

parameter1: value1
parameter2: value2

Category2

parameter1: value1
parameter2: value2

There are 4 categories. Parameters number in a list can get up to 15 items. Value can be one word as well as a number of sentences. All this info should be visible simultaneously.

Thanks

REST call in workflow throws Error The parameter URL does not exist in method Add

I have a workflow that created new sub-sites up until yesterday when it stopped working and started throwing the following error:

The parameter URL does not exist in method Add.

That parameter existed yesterday!

I haven’t changed anything in the workflow as far as I know.

The workflow is using the /_api/web/webinfos/add to create a new sub-site.

Has anyone else encountered this error?

find a maximum parameter for a range of target eigenvalues as a function of matrix dimension

I have a symbolic tridiagonal matrix of this form

a = 0; c = 0.25; sa1[b_] :=SparseArray[{Band[{1, 1}] -> a,            Band[{2, 1}, {2 l, 2 l}] -> {I b/4, I c},            Band[{1, 2}, {2 l, 2 l}] -> {-I b/4, -I c}}, {2 l, 2 l}]; 

where a and c are fixed parameters, b>0 is a varying parameter and l is the rank of the matrix. By diagonalizing this matrix as a function of b, I can obtain the largest value for b, let’s say bmax, such that the absolute value of the eigenvalues is less than 1/10^5. Note that the eignevalues always appear in pairs by symmetry. To find bmax, I have employed the Arnoldi method which has been employed also in this thread

closestEVtotarget[b_?NumericQ, target_?NumericQ] :=    Abs[First@     Eigenvalues[sa1[N[b]], -1,       Method -> {"Arnoldi", "Criteria" -> "Magnitude",         "Shift" -> target}]]; With[{target = 1/10^5},    Plot[closestEVtotarget[b, target], {b, 0, 0.5},     GridLines -> {None, {target}}]]; With[{target = 1/10^5},    plot = Plot[{target, closestEVtotarget[b, target]}, {b, 0, 2}];    bmaxval = Graphics`Mesh`FindIntersections[plot]]; 

For instance for l=6, printing the bmaxval would be

{{0.185999,0.00001}} 

where bmax=0.185999. Now the question is how I can collect all bmax values for different even values of l, let’s say

llist = {4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26}; 

and plot l vs. bmax?