Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
2 answers
88 views

Windows 11 powershell run executable with parameter switches when IF statement false

Windows 11 Power shell I'm trying to run the following IF statement in power shell - basically to check if a file exists on encrypted drive P, if it doesn't then create the encrypted drive. I get an ...
Cholokom's user avatar
2 votes
2 answers
177 views

how to get PowerShell to gracefully accept a multi line, array, system.object input to a `[string]` parameter?

ff I have a function foo, it needs to accept a string, this string can be passed to it directly by typing at the terminal, from a variable or from the clipboard. function foo{ [CmdletBinding()] ...
Ralf_Reddings's user avatar
0 votes
0 answers
29 views

Why my argoevents webhook payload parameter is not being passed to inputs.parameters?

I try to use a webhook with a json body containing a single parameter But the inputs.parameters... does not get replaced by the proper value Here is my webhook sensor (note it is escaped as part of a ...
pf12345678910's user avatar
-2 votes
1 answer
57 views

How can I include two separate unions in a Typescript object function argument and allow properties with values that overlap both?

playground link type Props = ( | { endpoint: 'constant-a' | 'constant-b'; property: object } | { endpoint?: 'constant-c'; property?: object } ) & ({ isMulti: true ...
Adam A's user avatar
  • 14.7k
0 votes
0 answers
84 views

How to apply the Best Parameters From Optuna To Predictions

I have done a XGBoost model, and used Optuna to get the best parameters. I saved the trained model and the features used. My question is, when I got to load the model and use it when making ...
Brandy Horne's user avatar
0 votes
1 answer
35 views

How to introduce an option to specify the outputdir/publishdir in a nexflow pipeline?

How should one ideally encode the outputdir/publishdir in a nextflow pipeline to make it more usable in the end? I am trying to decide, whether it's good practice to introduce a parameter in the main....
UtaHar's user avatar
  • 1
1 vote
1 answer
21 views

Date Calculated Field is not showing in parameter in Tableau

I am trying to create a date parameter based on a calculated field. Here is the calculation: SetMinDate: DATE(MIN([Gift Date])) but when I go to create the paramenter, it doesn't appear as an option ...
juan alonso's user avatar
0 votes
1 answer
136 views

How to add only edited and non empty params to service call

Adding textfields like this in ui for textfields: now if i change value that parameter only i ned to pass in service call not all or "" parameters dont want to send... how? please guide ...
Swift's user avatar
  • 1,180
1 vote
1 answer
96 views

Is there a tsconfig flag or eslint rule to disallow unrelated types as function parameter?

Is there a tsconfig flag or eslint rule to disallow this ? interface Order { title?: string; orderName?: string; } interface Product { title?: string; productId?: string; } var product: ...
TSR's user avatar
  • 21.5k
0 votes
1 answer
133 views

Streamlit: Manually setting Selectbox and Date_Input to values

I'm building an app that, on default, sets date_input and selectbox options dateoption = st.sidebar.date_input("Select Date", value=get_previous_business_day(dt.date.today())) nameoption = ...
mmv456's user avatar
  • 33
1 vote
1 answer
149 views

SupplyParameterFromQuery vs Parameter in Blazor

I already know that I could use the [SupplyParameterFromQuery(Name = "status")] from a URL parameter in Blazor. To get the value from the URL parameter using the given attribute, I had to ...
DevQt's user avatar
  • 1,920
0 votes
0 answers
24 views

Custom query to accept parameters at runtime in jbpm version 7.74.1 but not working in kie-server

For this I am using curl: curl -X POST "http://localhost:8080/kie-server/services/rest/server/queries/definitions/jbpmHumanTasksWithAdminc" -H "accept: application/json" -H "...
Shikha's user avatar
  • 1
0 votes
0 answers
87 views

SSRS Parameter Filter on Tablix, Strings with Special Characters

I have an SSRS report that returns records based on date span. My customer wants added filter options for a string field, all of which contain special characters, like 2025-01-1234. I created a Tablix ...
paaskanama's user avatar
0 votes
0 answers
56 views

How to access the base train class in YOLOv11 from the Ultralytics GitHub repository?

I'm currently working on training a custom object detection model using YOLOv11, and I'm diving into the Ultralytics GitHub repository to better understand the internal structure of the training ...
NewPartizal's user avatar
  • 1,298
1 vote
2 answers
72 views

Vector from Class objects vector as 2D vector function parameter

Solution requirements: Pre C++11 Statements: Function someFunction exists, that accepts 2D vector as vector of string vectors: vector2d. Class someClass exists, that contains 1D vector of strings: ...
KamilK's user avatar
  • 11
1 vote
1 answer
118 views

Take user input and use as a visibility filter in BIRT report writer

I have a simple SQL Script SELECT id, name FROM traders WHERE tradertype = 'C' AND id LIKE ? I have added a parameter which is a static combo box with the values 'Toilet', 'Parts'....
MKD's user avatar
  • 13
0 votes
1 answer
81 views

None default values in XGBoost regressor model [closed]

I am encountering a problem regarding XGBoost regressor. It produces NONE' default values as shown in figure below. What could be the reason behind for getting 'NONE' default values for XSGBoost ...
tom's user avatar
  • 75
-1 votes
2 answers
121 views

convert a VHDL string to an integer ascii equivalent

Suppose I have VHDL code that has a generic string STACK with the value "top". I want to pass it to a SystemVerilog module as a parameter, but SV does not have a type compatible with VHDL ...
jmhiu's user avatar
  • 1
0 votes
1 answer
89 views

Passing variable values from powershell script in Jenkins job to another job

In a powershell build step in job1 in Jenkins I am filtering/calculating values that I want to use in Jenkins job2, also in a powershell build step. How can I do this? It is a Freestyle project. I ...
HammerOfSweden's user avatar
0 votes
1 answer
67 views

Android Studio parameters hints

Please advise, I have a problem in Android Studio version Meerkat where, for example, when I type Image and press Tab, it only generates Image(). However, I’ve seen that it’s possible to set it up so ...
Veday's user avatar
  • 1
0 votes
1 answer
106 views

How to parse url parameters and use it when build with jenkins UI interface

Is it possible to parse url parameters and then use it for build? Take the snapshot as example, I would like to parse HelloWorld into my parameters user_name when I hit the url \ https://\<jenkins-...
swchen's user avatar
  • 823
4 votes
2 answers
82 views

How to use ValidateScript on a collection instead of the elements in the collection?

Microsoft docs mention that if I apply the ValidateScript attribute to a collection, it will evaluate each element of the collection: If this attribute is applied to a collection, each element in the ...
Tilman Koester's user avatar
1 vote
1 answer
99 views

Eigen parameter in c++ function

I use Eigen library in my C++ project and I don't understand how to pass an Eigen::Vector in parameter of my function. I have in my main function : Eigen::Vector<double, 3> direction_vector_ned =...
LnlB's user avatar
  • 320
0 votes
1 answer
35 views

How to declare a string for use in file-function params and function body?

I have the following powershell script, which I call from the command line: param( [Parameter(Mandatory = $true)] [string]$Name, [Parameter(Mandatory = $true)] [ValidateScript( ...
Bassie's user avatar
  • 10.5k
1 vote
1 answer
74 views

Why make cls a position-only argument in __init_subclass__?

The docs for the __init_subclass__ hook (see PEP-0487 for background) give this example: class Philosopher: def __init_subclass__(cls, /, default_name, **kwargs): super().__init_subclass__(...
Jason S's user avatar
  • 191k
-1 votes
2 answers
256 views

Laravel12, create global exception for missing uri parameters

I am trying to create a global exception handler for handling the exception for the api routes to catch the missing uri parameter. routes/api.php Route::resource('zones', ZoneController::class)->...
Mr.Singh's user avatar
  • 2,045
2 votes
1 answer
91 views

How to resolve command name and parameters from a CommandAst

With writing custom PSSA rules and just parsing PowerShell scripts, I find myself often in the same use case where I would like to resolve command name (which is not that difficult) and the parameters ...
iRon's user avatar
  • 24.4k
3 votes
2 answers
120 views

Why does scanf() read only after specified text?

I was doing a CTF reversing challenge when I came across this C code in Ghidra: int main(void) { int iVar1; char input[32]; fwrite("Password: ",1,10,stdout); __isoc99_scanf("...
1zverg's user avatar
  • 875
1 vote
1 answer
108 views

Snowflake SQL stored procedure: reference parameter in SQL query

I have been trying to figure out a smooth way to use parameters in a Snowflake SQL stored procedure using this syntax: CREATE OR REPLACE PROCEDURE Schema1.TestProc (Param1 FLOAT) RETURNS VARCHAR ...
EliSquared's user avatar
  • 1,581
1 vote
0 answers
19 views

How can I call different types of an agent in source block (or any other blocks in process modeling library?

I want to define an agent with two different types, A and B and then I want to separate each type and do some calculation of each type. for this aim, I defined an agent, called Product. Then I defined ...
KaSher's user avatar
  • 11
-4 votes
1 answer
48 views

Passing Parameters to a URL

Ok, been looking at examples and answers given for this problem and so far none of them have worked. I either get the parameters aren't being passed or an error. I have an SSRS report setup where when ...
Wayne's user avatar
  • 15
0 votes
0 answers
49 views

Using JavaScript with Node.JS to post data to a SQL Server database and return query results from the database

When I attempt to pull data from the database I am getting zero results although my parameter is correct. From my index.js where CustID is a parameter app.get('/contacts', (req, res) => { ...
Carlosa1771's user avatar
0 votes
0 answers
99 views

How to pass command line arguments from a tcsh alias to a bash script

At the bottom of my bash script, after all of my needed bash aliases and functions have been defined, I've got just a single line to be executed when the script is run: echo "$# args: $@ passed ...
David Sieving's user avatar
0 votes
0 answers
20 views

How to access the dbcp connection in the processor group which is already defined globally within nifi settings

I have created dbcp connection within the nifi settings which is considered to be defined globally. So now when I create a processor group consisting of different processor (take one as example :- ...
Impu's user avatar
  • 1
0 votes
3 answers
134 views

How do I give the possibility to call multiple optional methods onto one parameter in a constructor in JAVA

I would like to make a constructor with an optional parameter, to avoid giving in Strings all the time, because I need to use the constructor like a thousand times, so I would like to call methods ...
Agnes Nycs's user avatar
0 votes
1 answer
84 views

I am struggling with parameters in VB.net when building the Insert Into SQL statement

The parameters within the Using block don't seem to align. My suspicion is the primary key is at fault, but I am using Scope_Identity. If String.IsNullOrEmpty(InvoiceID_TextBox.Text) Then Using ...
Lyall Pivo's user avatar
1 vote
2 answers
84 views

How to pass multiple parameters from client script to suitelet?

I am trying to pass values entered in a textarea field on suitelet (new line/space/comma/pipe separated) from client script to suitelet. There is limitation of suiteleturl length. I am trying to pass ...
Maira S's user avatar
  • 121
0 votes
2 answers
80 views

Escape backslashes in a Visual Studio template parameter

Creating a Visual Studio project template, I need to use the $solutiondirectory$ parameter in the "commandLineArgs of a launchSettings.json file. $solutiondirectory$ return a string with single ...
gileCAD's user avatar
  • 2,633
0 votes
1 answer
289 views

maven password or parameter using special characters

I am using maven jarsigner plugin and ant to make the last part of the deployment to move the jar to the server that I need, I am not using any pipeline tool like jenkins or circle ci. I don't want to ...
pguzman's user avatar
  • 113
0 votes
0 answers
54 views

SyntaxError: Unexpected non-whitespace character after JSON at position 221 (line 1 column 222) by ajax in asp.net

When form load at that time I am calling .asmx.cs page via Ajax at that time getting error SyntaxError: Unexpected non-whitespace character after JSON at position 221 (line 1 column 222) Here is my ...
s.k.Soni's user avatar
  • 1,410
0 votes
1 answer
47 views

Razord Page specifying Parameter and SupplyParameterFromQuery for Property gives null result for Parameter

There are 2 routes to my .NET 8 razor page: https://localhost:7215/DemoForm/30030443-2b0c-4b94-959d-fb6132dc164f https://localhost:7215/DemoInfo?oid=30030443-2b0c-4b94-959d-fb6132dc164f Demo.razor: @...
HTK's user avatar
  • 1
0 votes
1 answer
91 views

How to Use a SQL Result As a Parameter In Another Mapping in Informatica Cloud?

I am trying to create an incremental load for a table that has no created/modified date fields, and no CDC on the source database. Since records are only inserted into this table, I would like to ...
Zebediah Jenkins's user avatar
-1 votes
1 answer
86 views

Is a reference parameter in a static method in a static class in C# .NET thread-safe?

Please consider the following class/method being called from a Blazor page instance class. My question is: if two threads call the MyStaticMethod concurrently passing the same ref int index reference ...
David Rosenblum's user avatar
0 votes
0 answers
27 views

Postman not stopping execution when there are 2 service methods

I have a reg form. I am using it to save a regform entity and InfoDM entity. InfoDM is called in regProcessService @PostMapping("/regprocess") public String regProcessController(@RequestBody ...
Venkatesh's user avatar
0 votes
0 answers
49 views

Pass multiple cells as parameter in Excel query

Let´s say I have a column with 10 unique ISIN values in Excel. I want to pass these ISINs as an argument/parameter to query. I know it works with a single cell, where I put "?" in the query ...
Vladimír Ondrášek's user avatar
0 votes
2 answers
263 views

Calling a SQL Server stored procedure with parameters in VB.NET

I have a SQL server stored procedure with an input parameter @ClientID which I am trying to call from a VB.NET application. The following code always fails on the line which sets the parameter with an ...
BiigJiim's user avatar
  • 307
0 votes
1 answer
55 views

Using SSIS parameters in a SQL command text in a oracle source

I try to develop a SSIS Package with an oracle source that uses a parameter. Here's is that parameter : Here's my SQL command in the oracle source : The problem is that the syntax doesn't work Here'...
SylvainKrier's user avatar
1 vote
1 answer
112 views

Issue with parameters of SQLAlchemy execute()

I have the following: def execute_query(sql_query, engine, params_tuple=None): params_tuple = params_tuple if params_tuple else {} with engine.connect() as connection: result = ...
DDigits's user avatar
  • 157
0 votes
1 answer
91 views

React Native Expo Router Parameters

Beginner react-native programmer here. I'm trying to learn how to pass parameters from one router to another using router.push(). I've tried just about everything the documentation was saying, as well ...
Vince's user avatar
  • 2,666
0 votes
0 answers
58 views

Where in a MySQL statement can I use pyformat variables/parameters?

Here's an example that doesn't work: stmt = ''' SELECT `date_new`, `event` FROM `events` WHERE `date_new` > TIMESTAMP(DATE_SUB(NOW(), INTERVAL %(days)s day)) ''' args = {'days': 30} c....
Dennis Williamson's user avatar

1
2 3 4 5
463