All Questions
18,115,783
questions
0
votes
0answers
2 views
Spring Boot app @Request mapping not working after deploy into Google App Engine
The same spring boot app is working fine if i run it from locally using
mvn spring-boot:run
And able to run and test the expected data back from
http://localhost:8080/getCustomer/1
But when I ...
0
votes
0answers
2 views
Why does Django run server hang when using docker-compose up?
When I run docker-compose up, Django starts to load. It goes thru the about four steps. After it does a system check and identifies (0 issues), it stops at displaying the current date and time. This ...
0
votes
0answers
7 views
Is there a way to improve performance of this query (aggregation)
Here is the query:
SELECT COUNT(1) from
(SELECT dp.CompanyID
,ds.ClassID
,fs.PeriodID
,fs.LogID
,sum(fs.Volume) AS Volume
,sum(fs.Dollars) AS Dollars
...
0
votes
0answers
7 views
How to open and later close another program from c++ in another terminal?
I would like to open some other programs from my c++ code in linux and save the handle/pid so I can terminate them later. It is important that the programs that I start open up in a new terminal ...
0
votes
0answers
6 views
Decryption of string returning empty
I am working with trying to decrypt a string using openssl_decrypt. For some reason or another no matter what I have tried, this always returns empty. Here is a little function I am working with; not ...
0
votes
0answers
4 views
Update menu on automatic login with firebase on ionic/angular
I have a slide menu in my app.component. It has a Link to a login page and a logout button. They are toggled with a *ngIf which checks if there is currently a user logged in like this: firebase.auth()....
0
votes
0answers
2 views
getting stuck when started on editor with no any logs (perhaps because of time string parsing)
I'm making a 3D game on unity, and want to add the energy increasing functionality.
I tried the below code which made my game stuck when trying to test on editor
void Start()
{
// to ...
0
votes
0answers
7 views
Is there a way to loop threw methods and changing objects names
I have a method that needs to be called on a lot of objects, and the code is getting extremely long because of that. I want to have a way of looping threw objects names so the number of lines will be ...
0
votes
0answers
9 views
php echoed results being duplicated
The following code works but the results arnt being displayed as i require.
if i use the word Anagram the output result is
Anagram Anagram Anagram Anagram Anagram Anagram
This is due to there being ...
0
votes
0answers
11 views
Check if a string contains balancing bracket
Problem
Write a function that takes in a string made up of brackets ("(", "[", "{", ")", "]", and "}") and other optional characters. The function should return a boolean representing whether or not ...
0
votes
0answers
3 views
Get Data From Post Request Angular/.NET Core
I'm having trouble getting a JSON response from a POST Request from my .Net Core server. In essence I would be using this POST request like a GET request from the server. I believe I'm passing in the ...
-1
votes
0answers
3 views
what the the best HPC services in AWS?
I have been using AWS ECS to solve a big data problem.I want to know from the experts if there is a better way to do this.
So we have this huge data that needs to be processed parallely. I have ...
0
votes
0answers
3 views
Socket io - Wrong socket address calling
I have the following code:
var socket = io.connect('https://rancher.mysite.com/', {
'path':'/mymodule/socket.io'
});
socket.on('mymodulefunction', function (msg) {
/// Do something (it doesn'...
0
votes
0answers
3 views
I installed flutter on ubuntu without Android studio and it has been working then all of a sudden its throwing me an error,why?
francis@homelaptop:~/project/flybird$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64.
If you are deploying the app to the Play Store, it's ...
0
votes
0answers
2 views
RCTPushNotification - Command Analyze failed with a nonzero exit code
I'm trying to setup push notification on a react native app.
I keep getting this error: Command Analyze failed with a nonzero exit code.
This is the image:
I'm also getting this error in my ...
0
votes
0answers
4 views
How do I cast Node into different glisten components with Gluon JavaFX?
I have a small issue here. I have add a GridPane into a ExpansionPanel
ExpandedPanel expandedPanel = new ExpandedPanel();
GridPane gridPane = new GridPane();
expandedPanel.setContent(gridPane);
And ...
0
votes
0answers
2 views
PHP-script: Write IP-Adress in mySQL-Database. Doing that twice is not working
I use a PHP-Script to submit my IPv4 Adress to my own PowerDNS-Server using that link:
script.php?domain=test.dns.com&ipaddr=11.22.33.44&passwd=auth-phrase
Therefore I modifyed the link in ...
0
votes
0answers
5 views
To create a seperate window using Win32 API's so that Taskbar icon is created
I am new to Win32 GUI Programming, I need help in creating seperate window with extended style bit WS_EX_DLGMODALFRAME set and WS_EX_APPWINDOW set so that taskbar icon is created on clicking button in ...
1
vote
0answers
5 views
How can I reorder rows in a heatmap dendogram?
I have produced a heatmap using heatmap in base R, but would like to change the order of the rows appearing in the dendogram. I would like to know how I can alter my code to achieve this. I have tried ...
0
votes
0answers
2 views
Cannot Sideload Win10 UWP App. Without Developer Mode/Developer License
I'm developing a Line of Business application to be installed on multiple PC's, but I cannot get the Sideload to finish successfully.
I receive the error: "Could not acquire a developer license" ...
-1
votes
0answers
19 views
How to delete multiple bracket in list python?
I have an exercise where I have to remove multiple bracket from a list, I'm new to python and I don't know how to do it. I can remove simply bracket by using ' '.join(map(str, function)) but in this ...
0
votes
0answers
4 views
File Structure Parsing of String value: SWIFT
I'm trying to cleanly display a file structure.
I have this string value:
var filePath = "testFolder/DeepDiveFolder/WoWClassic.jpg"
I'd like to take out "testFolder" and keep /DeepDiveFolder/...
0
votes
0answers
2 views
How to send image file to google cloud functions via curl and read with python?
I want to send an image.png file via curl to google cloud functions and make a keras-model prediction on it. (the model is not specified here..)
I have looked through various of Threads but no one ...
0
votes
0answers
2 views
Transition and Function call on button press
I want to show a waiting screen while doing some stuff in the background. Actually, the screen does not show the waiting screen although the root.transition.current works correctly.
.py file
class ...
0
votes
0answers
5 views
Scraping PrestaShop URLs with Python
I'm looking for a way to scrape URLs from a PrestaShop store.
I need help with a script that goes to a URL like https://www.harryfay.co.uk/silver-rings/207-love-lettering-silver-ring.html, and ...
0
votes
0answers
5 views
Need help writing a regex which matches every string against a given format
Can someone please help me writing a regex which matches every string against below format.
format : @<AnyString>,T<digits>
e.g. @Bob,T20
-2
votes
0answers
6 views
How to download the docker 1.2 version of the source code
I am want to learn golang , I would now like to download docker1.2 version of the source code to learn, I can't find the download link to download, hope you help me,thank you.
0
votes
0answers
6 views
Get Id object from a json array object in Angular 7
I am still green to Angular, I hope this makes sense. I am working with a third party api in my Ionic/Angular app and trying to fetch the record ID from a JSON array but it grabs the ID of the array ...
0
votes
0answers
2 views
DIsplay Canvas image in WPF Datagrid Column using converter
I am total beginner trying to learn WPF/C#, Basically I want following:
Show canvases in multiple places (usualy datagrid columns based on value)
To use Convertor that will fetch right canvas (based ...
1
vote
0answers
9 views
C++ Using AVX instructions with STL
I'm fairly new to optimization and I'm having difficulty in getting AVX instructions to work with STL. Here is an example:
std::vector<__m256> v1;
__m256 avx_test_data = _mm256_set_ps(1,2,3,4,5,...
0
votes
0answers
9 views
Short Question: Editing a data frame in Python/Pandas
I think this is a really easy question but I just wanted to clarify.
Do you have to continuously rename a dataframe when changing it?
df18gdp = df18[df18.series=='GDP (current US$)']
df18gdp = ...
0
votes
0answers
8 views
Remove Duplicate object from array - javascript?
I know it's a pretty simple question but I don't know why not work with me!
I'm declaring an array and after getting the data from the server I pushed them into these empty array and when I log them ...
0
votes
0answers
5 views
How to 'press' a button in mechanize?
I'm creating a bot to interact with a chat program, but I've gotten stuck on a certain aspect: how do I press a js button (NOT a link, as the page has no links, and also not a form) with mechanize?
0
votes
1answer
15 views
filter returns an empty array while looping an object's property (array of objects)
I can't understand why do filter returns an empty array when I try to loop through the object's array property.
Though, When I try to do console.log(this.users) inside the getFilteredUsers method, I ...
0
votes
0answers
17 views
How to distribute a decimal by .5 as evenly as possible with no rounding
I have an input number that is guaranteed to be specified as n.0 or n.5
Example inputs:
0
0.5
13.0
13.5
13337.5
28091.0
I need to distribute this number by n values so that all values ...
0
votes
0answers
10 views
I KEEP GETTING THESE RUNTIME ERRORS
I keep getting these error. When I Run the app, there are no errors but when i try to login into the app (testing), the app crashes and these are errors show in the log. The error comes from the ...
0
votes
0answers
4 views
MarketingLibrary.GetTargetedCampaignItems displays ads in product page
I have a sitecore website with Ucommerece tool, I set up two marketing campaigns for different products. I have one campaign with 2 ads which appears on all pages and another one with one ad which ...
0
votes
0answers
2 views
“We couldn't retrieve the real-time tile history” when using IConfidentialClientApplication WithClientSecret()
I am experimenting with the app-owns-data (or "embedding for your customers") model for Power BI. I have set up a very basic test workspace with a real-time streaming dataset (with historic data ...
0
votes
0answers
2 views
I am creating introduction app to java ee and APIs of java ee and i want know if my code is ok
I am creating introduction app to java ee and APIs of java ee and i want know if my code is ok (like its working but if it could be done better) and what should i avoid in future
package sk....
0
votes
0answers
4 views
How do I use dask to efficiently compute custom statistics?
Problem
I have a custom class Digest that holds a dask dataframe and has custom defined methods that can depend on dask methods or other custom defined methods.
A simplified implementation is the ...
-2
votes
0answers
5 views
Mathtype equation editor shows different equation from that file
In the particular ms word file, faced a problem with Mathtype: Mathtype equation editor is showing different equation from that file. I could not find whats happening. It will be great help if anyone ...
0
votes
0answers
7 views
CNN compiling error : Failed to get convolution algorithm. This is probably because cuDNN failed to initialize,
I just try to build up VGG-19 Model by myself, but every time I try to compile, the error rise, though it works clearly on Alexnet. please let me know the problem.
Setting
CPU : AMD RYZEN 2700x
...
0
votes
0answers
3 views
How to ignore certificate verification while using openssl s_client connect?
I am trying to connect to a server using the following command:
openssl s_client -connect xx.xx.xx.xx:443
Error:
CONNECTED(00000005)
depth=0 L = XXXXXXX
verify error:num=20:**unable to get local ...
0
votes
0answers
3 views
Access the EntityManager from Spring Data JPA
Spring Data Jpa allows to acces the database layer via repositories interfaces without the need to manually use the entityManager.
As I'm learning to use Spring Data Jpa with hibernate, I'm wondering ...
0
votes
0answers
6 views
How to run typescript-eslint on .ts files and eslint on .js files in the same project in VSCode
I have a mixed codebase with javascript and typescript files. I'd like to have eslint run on .js files and typescript-eslint run on .ts files in VSCode.
I've managed to configure my .eslintrc.json ...
1
vote
0answers
5 views
SpeechRecognizer not transcribe voice from speakerphone on Samsung Galaxy S7 and above
I am developing an app to transcribe conversation during phone call, it works fine in Samsung Galaxy S5 and S6 (was able to transcribe voice on both mic and speakerphone). However, it not working (...
0
votes
0answers
5 views
loop through dbf files, convert dbf to dataframe, and write out separate output for each file in list of files
I need to loop through dbf files (from ArcGIS), convert to dataframe, sort, concatenate with another dataframe, then write a unique file from the result of the operations performed in the for loop. ...
0
votes
0answers
5 views
how to show loading activity on splash screen in react-native
I created a splash screen in react native app but i want to show a loading animation upon the splash screen.
here is my AndroidManifest.xml
<application>
<activity
...
-2
votes
0answers
11 views
Which is the best method to analyse binary data in mixed models? [on hold]
Which is the best method to analyse binary data in mixed models? I have found different methods but maybe someone has a very good suggestion! :)
0
votes
0answers
6 views
The grid columns render incorrectly
Im having some issues with the height of the columns, it is using a lot of space and i cant understand why
Here is the gridOptions:
$scope.gridOptions = { enableFiltering: true,...