Skip to main content
Filter by
Sorted by
Tagged with
2 votes
3 answers
151 views

I have a tool for editing the VersionInfo portion of our executables so that we can tie all of the different components to one installer part number. The tool I am using is resourcehacker (https://www....
Somin's user avatar
  • 23
3 votes
1 answer
128 views

Consider the following (traditional) Fortran code, which performs matrix-vector multiplication z = X y, but instead of the full matrix, we exclude the top two rows: subroutine matrix_vector_product(m, ...
summentier's user avatar
2 votes
0 answers
59 views

I just learned that in rust if you want to pass a reference in lambda: let player_scores = [ ("Jack", 20), ("Jane", 23), ("Jill", 18), ("John", 19), ...
Holiday Tom's user avatar
2 votes
1 answer
231 views

I have a program in C++, in which I need to make a function that accepts unlimited parameters of type std::string, but only accepts one pointer, which ideally I want to be the last parameter when the ...
Thanos's user avatar
  • 33
4 votes
3 answers
84 views

I'm working on an Angular project (v16), and I have a parent component passing data to a child component via an @Input() property. However, when the parent updates the value, the child component doesn'...
Franklin Samuvel's user avatar
0 votes
0 answers
90 views

I hope you are doing well! I have created custom suitelet page to show saved search results in a suitelet sublist with checkboxes to select items and customers. Also developed client script to pass ...
Maira S's user avatar
  • 121
2 votes
1 answer
145 views

I'm using the Raisonance C-compiler (V6.12) and the assembler for a 8051 microcontroller. To improve performance I have to use some assembler functions (not inline). That works nice as long as the ...
Walt's user avatar
  • 51
2 votes
1 answer
230 views

I am designing a certain part of a library and considering whether or not to use polymorphic value types of some kind . If you don't know what those are and what the motivation for them might be, see ...
einpoklum's user avatar
  • 137k
1 vote
0 answers
44 views

I want to create a very simple stream model in R for demonstration purposes, and I want to use the deSolve package to keep things fast. What I would like to do is have a vector of each concentration ...
dchauri's user avatar
  • 11
1 vote
2 answers
112 views

When passing a 2-dimensional array to a function in C, I normally just pass it by using a single pointer. Example : void process_array(int* arr, int rows, int cols) I see 2-dimensional arrays also ...
Engineer999's user avatar
  • 4,159
0 votes
0 answers
43 views

Good evening everyone, Im trying to remove some stuff and it must be in a separate powershell window. The problem is than i cannot pass the path variable to that powershell Window, it should be ...
Vicc's user avatar
  • 23
2 votes
1 answer
122 views

I have a function of the form void foo(std::string str); I want to use it in two scenarios: send a copy of the original value to it: std::string myString = "any data that I want to keep in its ...
altchist's user avatar
1 vote
1 answer
105 views

I'm working on a Boomi integration with the Marketo Bulk Export API and encountering an issue with dynamic parameter substitution in HTTP connector URLs. The Process Flow My Boomi process has these ...
Prins's user avatar
  • 63
0 votes
0 answers
93 views

I have a problem passing parameters from one function to another. I have a function ifOkay(), it takes any number of parameters. I want to pass all these parameters to the ConvertFmtToCString() ...
user avatar
1 vote
1 answer
106 views

I have a C# method with an out parameter: public bool TryGetNext(out Bestellung? bestellung); When setting up a mock for this method using Moq, how do I: Correctly handle the out parameter in the ...
FlorianD's user avatar
  • 113
2 votes
1 answer
104 views

I'm trying to figure out how C++ actually breaks down the argument-passing when the formal argument is a reference and the actual argument is of a type that requires type-conversion. Here's an ...
Joe Black's user avatar
  • 667
0 votes
1 answer
1k views

I'm trying to pass argument to cloud run jobs in this way: gcloud run jobs execute aa-hello-world --args="--test1","hello","--test2","world" (In local works as ...
jrgito89's user avatar
-1 votes
1 answer
129 views

I have some items: items=(one two three) And I want to print them with leading -, to give this output: - one - two - three The obvious format string fails: printf '- %s\n' "${items[@]}" ...
Toby Speight's user avatar
  • 32.3k
0 votes
0 answers
27 views

Structure of BigQuery stored procedure: with cte ( select .... ) select cols from table1 join cte where col = dateparam union all select cols from table2 join cte where col = dateparam** ...
asa test's user avatar
0 votes
2 answers
101 views

I have a HTML page which that using an image name as URL parameter. Why doesn't show the image, what do i wrong? <!DOCTYPE html> <html lang="nl"> <head> <script src=...
Aventurijn's user avatar
0 votes
1 answer
84 views

var node = currently_selected_MeshInstance3D var materials = [] for i in range(node.get_surface_override_material_count()): var mat_or = node.get_surface_override_material(i) if mat_or and ...
gcs_dev's user avatar
  • 101
0 votes
1 answer
87 views

I am trying to get the input text from an entry and based upon the length of the text, perform some other things. My code looks like this: entry = tk.Entry(root) entry.grid(row=8, column=7, rowspan=2) ...
Ahadul Islam's user avatar
1 vote
2 answers
87 views

How do I turn -one on with the environment? "-one" Ends up in the opts string if I don't specify one, or it's ignored. function test-run { Param ( [switch]$one = $false, [switch]$...
B.McKee's user avatar
  • 473
2 votes
4 answers
117 views

I tried this block of code and it yields two different results public class PassArrayToFunction { public static void increase1(int[] arr){ for(int a: arr) a += 1; } ...
Cường's user avatar
0 votes
1 answer
172 views

I have a typer cli command like this: @app.command( no_args_is_help=True, help="Test command help text" ) def test(name:str = typer.Option( None, "--test", ...
Kakha Chankseliani's user avatar
1 vote
0 answers
48 views

I am experiencing very odd behavior. It seems the $args/@args variable in powershell is getting special treatment and I don't understand why. If you construct an object with the same exact types and ...
wd40bomber7's user avatar
0 votes
0 answers
54 views

The value defined by c:set refers to a var (name of the iterator variable used to refer each data), but the column values are not displayed. How should it be defined to be displayed correctly? <c:...
Andrew Churchill's user avatar
1 vote
4 answers
77 views

I have a dataset, input_ds_wt that contains values for RSE_VAR and wt.mean_VAR for many variables, VAR. input_ds_wt = structure(list(id = c(1, 2, 3, 4, 5, 6), wt.mean_v1 = c(1, 1, 1.3, 2.3, 1, 0), wt....
abrar's user avatar
  • 153
-1 votes
1 answer
40 views

I am trying to create a shell script that updates my public ip to the DynU service. this command works fine in the terminal wget -O - v4.ident.me 2>/dev/null && echo The issue comes when I ...
Pedro Santangelo's user avatar
0 votes
2 answers
99 views

I am trying to pass data from one component to the next in Azure ML pipeline. I am able to do it in a simple code. I have 2 components and I am defining them as below: components_dir = "." ...
Ameya Bhave's user avatar
0 votes
1 answer
51 views

I am building a generic template to format variables int he way my pipeline needs them. format_vars.yml: parameters: - name: var type: string variables: var_formatted: ${{ lower(parameters....
Jane Teichmann's user avatar
0 votes
2 answers
110 views

I have many dataframes that all have the same variables and structure. I would like to go from individual level data in each input dataframe, and using functions, summarize the input dataframe across ...
abrar's user avatar
  • 153
0 votes
0 answers
41 views

I am reviewing a Python workbook for an author who claims the following: Immutable parameters like integers, strings, or tuples are passed by value and any changes to these parameters within the ...
quizdog's user avatar
  • 672
0 votes
0 answers
49 views

I am new to Javascript and jQuery. I am running into an issue passing data to my function, ProcessFileFromGrid() in the onClick event in JS. It all tests out fine, but then I wanted to do something ...
donbrookes's user avatar
1 vote
2 answers
69 views

I have simple function of input validation: private static int GetInt() { int tryInt; while (true) { if (int.TryParse(Console.ReadLine(), out tryInt)) return tryInt; ...
Simcha Bryzgalov's user avatar
0 votes
1 answer
59 views

Having any Python function as: def function1(param1, param2): #... return 0 How would be possible to get a param string name (variable name) used in the function call? ideally getting this ...
codev's user avatar
  • 43
2 votes
1 answer
62 views

Within template class Bank<T>, my goal is to create an overload for type Account to member function void Bank<T>::makeTransfer(T, T, const double), of signature void Bank<Account>::...
Giogre's user avatar
  • 1,664
0 votes
0 answers
58 views

So I've got this super simple script that uses msiexec to install a MSI, but it doesn't take the one of the flags. This is the the format that installs correctly: msiexec /qn /i "C:\temp\...
user208160's user avatar
2 votes
2 answers
104 views

Since I need a Java method to receive any number of objects of three specific classes I decided to use a vararg ... to implement it. However, I have the restriction that these three classes are: java....
Joe DiNottra's user avatar
  • 1,083
1 vote
1 answer
113 views

I have program that receives callback calls from a library when messages are received. The callbacks' signature is void on_message(const MyLargeObject &my_large_object); My code for reacting to ...
TheAG's user avatar
  • 327
1 vote
0 answers
160 views

I want to implement a function that accepts a general parameter and provides detailed information about the parameter, such as its type, value, and if it's an object, its properties. For example, I ...
Mahan's user avatar
  • 173
1 vote
1 answer
128 views

I have a test to be run on a set of pages. I am trying to run it as Parameterized test. 2 test cases cannot have same name so string interpolations used to give them a unique name as can be seen in ...
NutsAndBolts's user avatar
0 votes
1 answer
329 views

I am fairly new to Azure Data Factory (ADF) but have been learning and experimenting with some of its advanced features. I'm currently working on a use case involving Change Data Capture (CDC) and ...
Nahid Talukdar's user avatar
3 votes
2 answers
68 views

I'm writing a bash script that amongst other things, starts a user specified command, sending the output to either file, file and stdout, or just stdout as required. I don't like the duplication of ...
extorn's user avatar
  • 695
-1 votes
1 answer
23 views

I had to create an Appointment page using react native and another page that displays all the appointments a "client` has made. However, I'm unsure how to pass data/parameters from the ...
Thabata Dias's user avatar
0 votes
2 answers
92 views

How to pass parameters to a function by reference and through a pointer? I have an example in which I try to call one of two write functions of the CFoo class. The example compiles if I specify two &...
Daniel's user avatar
  • 5
0 votes
1 answer
78 views

I have a data class representing user settings: @Serializable data class UpdateSettingsRequest( val isNotificationsOn: Boolean?, val isDarkMode: Boolean?, val language: String?, val ...
Saman Sattari's user avatar
0 votes
1 answer
143 views

I'm trying to query the open source Yahoo Finance API using Azure Data Factory. I have a dataset, which is set up like this: I am calling this API in a data flow. The second line of the data flow ...
Carolina Karoullas's user avatar
0 votes
1 answer
98 views

#include <stdio.h> #include <stdlib.h> struct node { int data; struct node *link; }; int main(int argc, char *argv[]) { struct node *p; p = NULL; Append(&...
AVINASH BHARTI's user avatar
1 vote
0 answers
63 views

In C, if I use the execl command to execute another .c file, is there a way to pass parameters to this file that it can use during execution? In my problem, I have C code that uses execl to execute an ...
lVitaD's user avatar
  • 63

1
2 3 4 5
179