Skip to main content
Filter by
Sorted by
Tagged with
4 votes
1 answer
51 views

Consider the following piece of code: (define p (make-parameter 'outer)) (reset (parameterize ([p 'inner]) (displayln (p)) ; prints 'inner (shift k (begin (displayln (p)) ; ...
Joseph Camacho's user avatar
5 votes
3 answers
152 views

I want to write a Raku grammar to check a monthly report about work contribution factors, written in Racket/Scribble. The report is divided, at the highest level, into monthly sections, and beneath ...
sailortailorson's user avatar
0 votes
1 answer
66 views

In the function int main() { int *p=new int; return 0; } is p an explicit heap dynamic variable or stack dynamic variable? I am aware that p is a variable pointing to a value in the heap, but ...
gauri's user avatar
  • 13
0 votes
0 answers
38 views

I’m trying to make dynamic variables, based on the names of columns of the tables of some data sets. This is my Code: varnammes = ["SpeedGoatT" "imu1_accel_x" "imu1_accel_y&...
Tondre Benjamin D's user avatar
0 votes
2 answers
74 views

I'm trying to solve multiple ordinary differential equations in Python using odeint. A simple version would look like: import numpy as np from scipy.integrate import odeint def lotka_volterra(xy, t): ...
kramerey's user avatar
0 votes
2 answers
102 views

The script accepts input as binary of various character length. For example input can be 00011010 or 001101001101101110111011 (up to 9 sets of 8bits) I have managed to split them per 8 bit. ...
texonec238's user avatar
1 vote
0 answers
20 views

Context: I have a table of disease and symptoms which was downloaded online. Each row represents a disease and has a variable number of populated columns which contain a string with both the symptom ...
Gabrielle's user avatar
1 vote
0 answers
193 views

Link to minimal working example. Here is the part of the code I am dealing with: "params": [ { "name": "Supervisor", "value": "Amy", ...
skeggjason's user avatar
0 votes
2 answers
79 views

I am trying to create a new variable out of part of another variables value. I have gone through multiple other SO threads but I am trying to figure out how to make the new variable its own instance. ...
rolinger's user avatar
  • 3,196
0 votes
1 answer
134 views

I want dynamicVariable below to hold different name each time Price.dynamicVariable.Item1 Data.cs: namespace ProjectName.Shared.Price { public class Price { public ...
Sarahrb's user avatar
  • 719
0 votes
0 answers
825 views

It is known how to pass a known variable from one job to another as shown in the answer here: How to pass job level environment variable between jobs - Github Actions But, my case is different. In my ...
Ashar's user avatar
  • 3,195
0 votes
1 answer
48 views

I have 2 requests Claims and update claims, for a user if I get 5 claims I need to run all the claims in the next request submitting all the claim values. Claims=234,456,789,876,987 The above values ...
Mikey8997's user avatar
0 votes
1 answer
2k views

I am trying to create checkboxes in Google Collab, and I know that I can use the following code to create a single checkbox: boolean_checkbox = False #@param {type: "boolean"} However, I ...
Birkan's user avatar
  • 151
-1 votes
1 answer
895 views

We have an angular/express app that is dockerized and deployed in k8s. Dockerfile: FROM node:18 WORKDIR /usr/src/app COPY . . EXPOSE 1234 CMD [ "npm", "run", "prod" ] ...
Alphie's user avatar
  • 51
0 votes
0 answers
87 views

I am trying to create dynamic variables using Window. The exact thing I want to do is working fine with eval. But as you may know, that’s not advised. Some examples. I may define some variables like ...
ThomasM1's user avatar
0 votes
1 answer
639 views

Suppose a google sheet column name, PERSON_ID, retrieved by code. How can I dynamically create a variable with this name? I'm envisioning something like this: var columnName='PERSON_ID'; var [...
Kenton Sparks's user avatar
-1 votes
1 answer
93 views

I'm working on a python function that dynamically creates and uses variables. When i try to speed it up with numba I get this error message: 'numba.core.errors.TypingError: Failed in nopython mode ...
Talleros's user avatar
1 vote
1 answer
180 views

I know this is a no-no...and yes, I still want to do it or at least know how to do it. I would like to set the value of a variable in Perl for which the name is dynamically created (I am looping ...
gj.'s user avatar
  • 13
0 votes
1 answer
146 views

I use dynamic values inside RMarkdown to insert numbers inside my documents. Often I need to print a number contained inside a data.frame. I would like to know what the most efficient way to do this ...
Patrick's user avatar
  • 1,037
1 vote
1 answer
217 views

I've so far been using variables by saving them in a local entry file, and then using $ctx to call them and use them in my proxy. I want to know if there's a way in wso2 Integration studio wherein I ...
ahinsa's user avatar
  • 81
1 vote
1 answer
46 views

I have a data frame with a large number of variables, one of them, the probability of death to be predicted by all others. As a preliminary step I want to compute the PoD by counting the death rate in ...
sSoGah's user avatar
  • 15
1 vote
1 answer
1k views

I have this simple app and I would like to be able to "catch" the active tab. For example, if I'm on "tab1", my selectInput at the top would be c("a","b","...
K.Hua's user avatar
  • 799
0 votes
0 answers
596 views

I have to create an SQR that generates a list of EEIDs, if there were any changes to the Pension data in the past day. The SQR compiles and works perfectly when I hardcode in the table names. However, ...
Tommy's user avatar
  • 85
1 vote
2 answers
594 views

How can I create a dynamic Javascript variable using a PHP String? This approach doesn't work. How should I fix it to make it work? <?php $dynamicHTMLElementId = rand(); ?> <script type=...
Program-Me-Rev's user avatar
0 votes
1 answer
1k views

I have a bunch of ssh keys in key=value form in a Hashicorp Vault which i have setup Ansible to be able to address. I am trying to setup some new users with the keys i have stored, and failing. Basic ...
Gé Fa's user avatar
  • 96
1 vote
1 answer
1k views

I am creating a new variable name by combining existing variables, however, I cannot find a way to reference the new variable names dynamically through using my existing variables. $count = 1 New-...
truekoa's user avatar
1 vote
1 answer
105 views

In a project I'm working on, I find myself creating a lot of small, hand-written arrays of structs that need to be stored in dynamically allocated memory (mostly for testing with small datasets before ...
catlover2's user avatar
  • 295
0 votes
0 answers
264 views

I would like to be able to create a dynamic link list from .lnk files in a folder with powershell. I want the link list to be presented to the user in a form that can be minimzed, but will stay active ...
Marc_S's user avatar
  • 1
1 vote
1 answer
455 views

I seek assistance in figuring out how to capture new dynamic variables and add them to an array. Below is a sample code that creates the variables. foreach ($user in $users) { New-Variable -Name &...
Run.Bat's user avatar
  • 105
10 votes
1 answer
129 views

It seems that a a sub cannot access dynamic variables when it is used inside a map and that map is "return"ed. Consider this piece of code: sub start { my $*something = 'foobar'; ...
Julio's user avatar
  • 5,316
0 votes
1 answer
1k views

I have developed a Word Office AddIn using Office.js. The AddIn works fine but now I want to deploy the AddIn to an Acc. environment. Of course, the used UR's in de Manifest have to be changed when ...
Stephan's user avatar
  • 665
0 votes
0 answers
4k views

PS: Thanks for your understanding, my English isn't very good. ;-) I use DBeaver and when I run this sql : @set deb_period = 202010 @set end_period = 202109 WITH tmp AS ( --Permet de ...
Questvba's user avatar
0 votes
0 answers
387 views

I have a WHERE statement where a DateOfService must be bookended between date ranges that could change. Because of this, I build an IF statement to trap the conditions and build the BETWEEN part of ...
TxGeekGirl's user avatar
0 votes
2 answers
2k views

I'm very new and I was practicing with react. The TL;DR of this post is that I want to dynamically create some variables in react and I can't. I'm creating a web page of a store with React. So in ...
Fabian's user avatar
  • 11
0 votes
0 answers
55 views

I'm really struggling with getting some dynamically assigned variables working, even though I've been through the rather wonderfully informative SO article that I've been staring at for a couple of ...
bnoeafk's user avatar
  • 549
0 votes
1 answer
390 views

this is my code and it works quite well in normal PHP but not working in Laravel helpers.php file $t = [13]; function subtraction() { global $t; $t[] = 14; var_dump($t,gettype($t)); } ...
pichanakian's user avatar
0 votes
0 answers
518 views

I am trying to use dynamic coding in order to conduct different kinds of analyses in R. I found different suggestions and managed to create dynamic variables, however, little information is available ...
frohmic's user avatar
2 votes
2 answers
2k views

I am trying to list multiple companies in a combobox. These companies populate from database table tbl_companies. Combobox value should be id of table(Which is primary key of the table). Text should ...
AsifRehmani's user avatar
1 vote
3 answers
804 views

I have multiple pandas dataframe, with same columns but different values. Ind I need to run an analysis from values of specific columns. I have 7 dataframes to work with, but let's suppose I had only ...
Andrea P.'s user avatar
8 votes
1 answer
156 views

I recently noticed that that re-initializing dynamic variables does not have the semantics I expected in most cases using assignment (binding works the way I expected it to, however). Specifically, in ...
codesections's user avatar
  • 9,620
0 votes
0 answers
154 views

I have an array: var arr = ['a', 'b', 'c']; I need to declare within a for loop, variables value_x- when x is each one of the array value. what I've tried: var i; for(i=0;i<3;i++){ var x = '...
riki's user avatar
  • 186
1 vote
1 answer
468 views

I'm using Google Sheets and I have this issue: is there any way to save the logical condition in the IF function into a cell? For example, we have this function: =IF(B1>0; "Positive"; &...
Arncil's user avatar
  • 11
0 votes
1 answer
1k views

I have found that the emotion.js will create and append new style every time the styled props changes, this has a performance cost, especially when variable changes rapidly like when dragging an ...
cyrus-d's user avatar
  • 843
1 vote
1 answer
564 views

I'm trying to assign different colors to similar items using an SCSS @for loop. Can I append the $i variable used in the @for loop to $color-? <div> <h1>Hello</h1> <h1>...
ezeYaniv's user avatar
  • 600
2 votes
1 answer
232 views

Considering the behavior of dynamic and lexical bound variables, I understand the output of symbol-value in the following code (dynamically bound variable a is shadowed by a lexical bound variable a (...
jue's user avatar
  • 487
3 votes
1 answer
4k views

I need to use the same value into two different elements/attributes on the one XML request body. I tried to add it as a collectionVariable and recall it from there but Postman generates two different ...
aurora.borealis's user avatar
0 votes
1 answer
77 views

In my test plan written using JMeter, I have a create account request in which the username was generated via Random Variable config element. It was then passed to my next request which is updating ...
Chrysheight's user avatar
0 votes
1 answer
805 views

What is the diffrence between {p = NULL ;} and {Delete p; } When I executed this code: int *p ; p = new int; * p = 4; cout << *p; // = 4 delete p ; cout << *p; // In the last line, I ...
Sarah's user avatar
  • 1
2 votes
2 answers
971 views

I need to copy the email address when someone clicks on the associated image. I had it all written in a html file, but now I'm transferring my code in a .js so I can use JSON to store the staff data ...
ChrEliGroux's user avatar
1 vote
2 answers
794 views

I have an XML file in the following manner: <pools> <pool>aaa</pool> <pool>bbb</pool> <pool>ccc</pool> <pool>ddd</pool> <...
Pankaj's user avatar
  • 13

1
2 3 4 5 6