8,944 questions
2
votes
3
answers
149
views
Calling exe with Start-Process is not getting arguments correctly
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....
3
votes
1
answer
126
views
Sequence association vs. modern Fortran interfaces
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, ...
2
votes
0
answers
58
views
Rust lambda parameter passing [duplicate]
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),
...
2
votes
1
answer
226
views
How can I make a function that accepts unlimited parameters of type "std::string", but only one parameter that is a pointer?
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 ...
4
votes
3
answers
81
views
How can I make the child component detect changes to properties inside an object passed via @Input()?
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'...
0
votes
0
answers
89
views
HTTP Error 500 Response Header Too Long Error In Netsuite suitescript 2.1
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 ...
2
votes
1
answer
145
views
8051: Problem to pass function parameters from C-call to Assembler function
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 ...
2
votes
1
answer
225
views
Can I have my cake and eat it w.r.t sequences of polymorphic value types?
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 ...
1
vote
0
answers
40
views
1-D flow model in lsode in r
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 ...
1
vote
2
answers
108
views
The passing of 2-dimensional arrays to functions in C by only stating the size of the second dimension
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 ...
0
votes
0
answers
42
views
Passing string variables with Start-Process powershell.exe [duplicate]
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 ...
2
votes
1
answer
122
views
Is it ok to send a value to the lvalue argument using std::move?
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 ...
1
vote
1
answer
93
views
Dynamic parameter substitution not working in HTTP connector URL with Marketo API
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 ...
0
votes
0
answers
92
views
Passing any number of parameters as a parameter [duplicate]
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() ...
1
vote
1
answer
105
views
Mocking a C# method with an out parameter to return different values with Moq [duplicate]
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 ...