All Questions
0
votes
0answers
2 views
Spring property coming out as null
I am using Spring boot test to create an application that performs smoke tests on a given environment. I want the environment URL to be injected into the test application so that we can point it at ...
0
votes
0answers
2 views
Is there a function in ATS that can remove an element at a specified position from an array?
More specifically, I am in need of a function that takes an array and a valid index and then returns another array obtained from removing the element at the given index from the original array. The ...
0
votes
0answers
2 views
Javascript invoke constructor function once when object instantiated with new
I am instantiating an object in javascript using a constructor. Like so:
var Constructor = function(){
this.property1 = "1";
}
var child = new Constructor();
console.log(child) // Constructor ...
0
votes
0answers
2 views
How to do a PHP POST to external webapi in Grav CMS?
I'm really new to Grav CMS and I'm trying to figure out the best way to do a post request to an external webapi to pass form data.
Normally I will have PHP Code that gets executed after a form ...
0
votes
0answers
4 views
Comparing a file's numeric content in if (linux)
I want to compare a value from a .txt file with user's input
e.g.
read -p 'Enter the ammount you want to withdraw:' amm
if [ $amm > bank.txt ];
then
echo 'You dont have enough money in your ...
0
votes
0answers
3 views
PostgreSQL: Column must appear in the GROUP BY clause or be used in an aggregate function
I’m having an issue with a PHP application using PostgreSQL. I have a simple SQL statement that looks like this:
select count(*) as aggregate from "categories" where "promoter_id" = ? order by "...
0
votes
0answers
6 views
C++ Is it legal to initialize a struct with only one array as member using a initializer list directly?
#include <iostream>
class vec
{
public:
int arr[2];
};
int main()
{
vec a = { { 1,2 } };// works
vec b = { 1,2 };// works too
std::cin.get();
}
vec has not constructor other ...
0
votes
0answers
2 views
Understanding and Resolving File Transferring issue using Netty
Greetings All,
I need help resolving a file transferring issue. I implemented Netty code to transfer a single 10MB binary file from one host (Node 0) to another host (Node 1) but only 8.5KB of the ...
0
votes
0answers
2 views
Configuring dead letter message queue in Masstransit
I'm using Masstransit with Request/Response pattern, I want to specify the dead letter message queue name and other configuration related to this queue if available, I see that there is a ...
-3
votes
2answers
18 views
Why does this block the program
I am using this program in c++:
int a[10];
for(int i=10; i>=0; i--) a[i]=i;
to store values in descending order but the program stops working
0
votes
0answers
2 views
What can I do to fix the error “Thread 1: signal SIGABRT”?
I'm following this tutorial on Github to try and learn how to use SwiftyDropbox, but I've run into this error
import UIKit
import SwiftyDropbox
@UIApplicationMain
class AppDelegate: ...
0
votes
0answers
2 views
Move in qt chart
I have created Spline chart from points.
Now I would like to move on this chart using arrows on keyboard (left and right) and print all points (x,y) while moving.
How to do this?
0
votes
0answers
6 views
Submit multiple forms With one Submit
I am trying submit two song forms with one submit button. Here I have a songs_field form that the user can add 3 fields at a time with a link that says 'Add fields'.
_songs_field.html.erb
<...
0
votes
0answers
4 views
When changing a subscription, how to know if CC is in stripe?
Say a customer already exists within stripe, but the credit card (source) may or not be present in the system.
If a customer is changing a subscription, how do I know wether I need to display the ...
0
votes
0answers
7 views
Runtime error - Insertion sort
Code directory structure,
$ pwd
/home/Personal/../Computing
$ ls -LR
.:
list testList.c testList.exe type.h
./list:
arrayImpl.c linkedListImpl.c list.h
/********* type.h ********/
#ifndef TYPE_H
#...