All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Is Groovy 3 syntax an exact superset of Java syntax?

The question, Is Groovy syntax an exact superset of Java syntax? has not been updated in nearly a decade. My understanding is that Groovy 3 has closed the remaining gaps with Java syntax, to become a ...
0
votes
0answers
2 views

Why is Android Studio acting strangely?

What has happened Errors like "adb has stopped working" Building my app fails Adb driver is obsolete despite the fact that I have the latest version of android studio What I have done to ...
0
votes
0answers
3 views

How to get the same connection from mysql pool of connection in node application? node + 2 Phase Commit + serverless

I am trying to implement 2 web app, one on AWS lambda as a serverless web app with MySQL pool of connections. there will be 2 API calls, one for MySQL XA start, end and prepare. another API call for ...
0
votes
0answers
2 views

How to pre-select an option of a dynamically created elements

I have a table that is dynamically created. here is the script for that. function getreferData(dataArray) { var ray = dataArray.splice(0,1) let table = document.getElementById('...
0
votes
0answers
6 views

Looping through a list in R and applying it to a function

I have a list of IP Addresses: address <- c("172.26.17.138","172.26.17.145","141.21.27.14") I want to apply these ip addresses to a function that I've written. The ...
0
votes
0answers
4 views

PHP Contact for not working when I press submit, saves PHP file instead

I cannot get my PHP contact form to work. I uploaded the code to my website www.doughboyz.org but when I click on the "Send Message" button it wants me to save the PHP file to my computer. ...
0
votes
0answers
7 views

React/CSS: Pushing the first element of ul to left and keeping the rest to the right

I'm trying to create a nav bar with the logo to the left and the rest elements to the right. For some reason the :first-child keeps pushing all of the elements within ul to the left. JS: function ...
0
votes
0answers
4 views

Why does a JSON response in Spring REST contain a method as one of the fields?

So I have a Spring REST project which has a class: public class Location { @Id @GeneratedValue(strategy= GenerationType.IDENTITY) private int id; ... ... ... public ...
0
votes
0answers
9 views

Multi-Dimensional Arrays and Tables

This is my code, it's mostly completed. The issue I'm having is trying to get it to display the results in the table as "heads" or "tails" instead of 1's and 0's. I'm sure the ...
0
votes
0answers
7 views

How to update value of second column of array

I'm trying to update the state value of an array that takes a value from a string in my state. I was able to do this and store a string value into a column of an array. But now I want to store another ...
0
votes
0answers
7 views

How to remove Hetrogenius elements in a dataframe?

Suppose I have a column named as the country country A B C D A,B D,A I want to make a new entry of each mixed row like country A B C D A B D A Can anyone help me with that?
0
votes
0answers
3 views

Node with open id connect

I use the following library to use oidc with nodejs https://github.com/auth0/express-openid-connect#getting-started When I use the code I got error, (node:19) UnhandledPromiseRejectionWarning: Error: &...
0
votes
0answers
6 views

Chrome extension showing background page content inside content script's iframe

I have a content script in my chrome extension and I want to use the google maps api to dynamically add a map to the current tab. Since I can only use the API in my background script, I send a message ...
0
votes
0answers
6 views

A margin-right of unkown origins

I have a table (a tracklist) that i want to center right under the album cover and the title, the problem is that there's this huge margin to the right that i've never specified and only discovered ...
0
votes
0answers
4 views

scrollIntoView ain't working on my react component

I'm working on a chatbot. Below is my React component.I am tring to scroll the MessageListWrapper to the bottom every time messageList gets updated. But it doesn't seem to work, in the sense the div ...
-2
votes
0answers
8 views

GIT: Cannot clone repository with another account

I am using a Windows 10 machine. Earlier multiple git accounts were working fine with GIT. One day I tried to set credentials store so that I don't have to write username/password every time. After ...
0
votes
0answers
3 views

Web application not running on clients with port 444 on https

Good time I installed my web application on windows server R2 as localhost on port 81. I also used port 444 for https. web aplication runs on the server with both port 81 and port 444. Clients that ...
0
votes
0answers
3 views

How can I make it add a role to someone who reacted the message with specified emoji

As I showed before, this code is supposed to give an role to whoever reacts with the specified emoji, my trouble now, is to make the Reaction Collector to undestand who reacted and give him the role. ...
0
votes
0answers
4 views

CakePhp How to load multiple context in create form in cakephp3

I have a form that affects multiple models, but when a model fails validation I want to send error messages to the form. If I create a form like this $this->Form->create($context) works, how can ...
0
votes
0answers
4 views

celery hangs on taskname.delay() when running with flask + rabbitmq

I have a flask app, it has an endpoint, which should send a celery task to queue and then responds to user with task id. however, when it comes to executing taskname.delay(), the program hangs and ...
0
votes
0answers
3 views

How to stretch textfield dynamically when text is too much large in iReport

I have recently been working with a report that has a textfield that its text is too long at times.
0
votes
0answers
7 views

Python Requests 403 error in one environment and not another?

I'm working on a web scraping project using Python Requests library to fetch data from a public API. I'm able to fetch the data I want without error from my local machine, but when I try to fetch from ...
0
votes
0answers
7 views

Flutter Firebase Complex Queries

I am developing a social media application using Flutter and Firebase. This is the like / dislike structure in my Firebase database. when the user clicks on the like button system get the user id and ...
0
votes
0answers
6 views

How can password2 be null in django rest auth registration

I don't want to write password2 in the rest auth. So I want to use RegisterSerializer to remove the value of password2, what can I do?
0
votes
1answer
7 views

InteractiveViewer class in flutter is not defined

I was reading about InteractiveViewer from here https://api.flutter.dev/flutter/widgets/InteractiveViewer-class.html But when I tried to use InteractiveViewer in my code It gave me an error :- The ...
0
votes
0answers
3 views

xkey morris chart undefined get data from json

Here I want to do a data take of morris chart line through the ajax, for the call of data json is successful but when the value setting xkey and ykey I get udenfined please help me ajax script $(...
0
votes
0answers
12 views

How to turn 3D image matrix to 2d matrix without a for loop? Python and numpy

Currently working on a lab from a Data course at school. What I want to do is convert matrix_a with shape (26,64,64) to a new matrix_b (64,1664). The (64,64) inside matrix_a is the bits that make up a ...
0
votes
0answers
3 views

Puppeteer application on heroku (timeout problemes after sometime of running the app)

i recently created a web scrapping app with nodejs using Puppeteer library , working perfectly in localhost , so i moved on to online hosting, went to heroku as first try, and tried the free hosting , ...
0
votes
0answers
5 views

Cómo resolver el problema XOR con percepton simple?

Estoy intentando resolver el problema XOR para un perceptón simple. El problema es que no encuentro ningún codigo base para el cual guiarme. Alguien sabe o ha resuelto este tipo de problema o tiene ...
0
votes
2answers
20 views

obtain the sum of all the elements in two lists in python

I have two lists a=[1,2,3,4] b=[5,6,7] what i want is to find the sum of each element in both the lists and store the sum to another variable i.e 1+2+3+4+5+6+7=28 and store it to any variable MY CODE ...
0
votes
0answers
5 views

Sorting by value in rocksdb

Rocksdb allows to sort the records by keys but I want to sort them by value. Is it possible to do that?
0
votes
0answers
7 views

iOS swift send message after idle for more than 30 seconds

i'm fixing chat application bug. When i send message at offline mode and go to background mode. I can only resend the message automatically under 30 seconds after go to background mode. If i don't go ...
0
votes
0answers
6 views

How to turn off JS Bundling for ASP.NET ZERO

I added a new js for my view. It's called Edit.js. When I check my console errors, it's looking for Edit.min.js. My question is two parts, how do I resolve this error so that Edit.min.js will be ...
0
votes
0answers
4 views

If a nuget package dependencies is on .NetFramework and .NetStandard - is it compatible with .Net core and runs on Linux?

I have a confusion to install one nuget package, example: Serilog.Sinks.Async - if we see this package in nuget console, it says Dependencies are: .NetFramework 4.5 / 4.6.1 and also .NetStandard We ...
0
votes
0answers
4 views

While importing from keras_squeezenet import squeezenet I am getting import error

While importing I am getting this error ImportError Traceback (most recent call last) in 5 import os 6 from tensorflow.keras.utils import to_categorical ----> 7 from ...
0
votes
0answers
2 views

How to solve, problem to activate “operator control and monitoring” for a symbol in symbol editor?

After right click on a symbol(in "symbol editor" window,in step7 v5.6),and select, "special object properties---> "operator control and monitoring" ,then when i want to ...
0
votes
0answers
7 views

SQL, Laravel score/rank results from array using like

This works for a single name... Result::whereIn('id', $log->result_ids) ->select('*') ->selectRaw("(owner LIKE ? ) + (owner LIKE ? ) + (city LIKE ? ) AS score", ['%...
0
votes
0answers
4 views

How to read SELECT after INSERT in Dapper

I'm new to dapper. I'm trying to put validation on my storedprocedures. Below is my Code: USE [DapperDB] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[sp_blzr_Video_Insert]...
0
votes
0answers
4 views

VB.Net Program Modified Detection

Is it possible to add a detection to your program that if someone modified your program for example with dnspy that it wont start or delete itself? Just checking by its own creation and modified date ...
1
vote
0answers
7 views

Spark SQL - Is there a difference between spark sql syntax and hql syntax

AFAIK , the syntax is similar. However, the phrase sounds like there are certain differences. IF there are, what are they ? From https://spark.apache.org/docs/latest/sql-data-sources-hive-tables.html ...
1
vote
0answers
6 views

.LCD35-show changes resolution on HDMI instead of changing screen

so the command LCD-hdmi changes resoluution to my monitor correctly but lately I decided go back to LCD35 waveshare by using LCD35-show command like under THIS link and PI says LCD configure 0 right ...
1
vote
0answers
4 views

Conditional Multiselect data

What is the best way to list data in multiselect conditionally(depends on the data selected)? For example: data = [...laboratoryUsers, ...technicianUsers, ...receptionUsers] if a laboratory user is ...
0
votes
1answer
20 views

Repeating HTML element with php variables passed to a function in PHP

I am trying to create a simple products catalog website I want to display cards for each product. I am trying to show cards through a PHP template variable and pass name, img src, price etc as ...
1
vote
0answers
10 views

Is it possible to rescind a web push notification

In the scenario that a push service sends push messages to multiple user agents and they all call showNotificafion. After one user agent acknowledges the notification is it possible to close the shown ...
0
votes
0answers
6 views

Flutter - type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>

I'm new to Flutter. I'm trying to display data from Strapi which contains my data as a database. Also I'm using Redux as a state management. My problem is that I'm gettings this error E/flutter ( 4942)...
1
vote
0answers
9 views

JS/html Game to Android app without using webview

I want to implement a js/HTML game into the android app, without using webview. basically I want to use javascript code as back end code and use android XML file for the frontend, I don't want to use ...
1
vote
1answer
7 views

Unable to open localhost H2 db console with Spring security enabled

I am using SB 2 and created a Config Server, Eureka Server, and a Login microservice which has some db containing user info. I have started my config server, no issues, started eureka server no ...
0
votes
0answers
6 views

turning a complex JSON list into a clean data.frame in R?

I am struggling for two days to find a way to create a specific data.frame from a JSON file. First of all, I am sorry if I don't explain my issue correctly I am one week new to StackOverflow* and R (...
0
votes
0answers
4 views

VCL style affects non-VCL window

I have a problem with VCL styles in Embarcadero C++ Berlin 10.1. I have an application written in BCB C++ and it calls pspiHost.dll (written in VS 2017), that executes Photoshop 8bf plugin filters (...
1
vote
1answer
8 views

How to move 3 alphabets backwards in lowercase letter?

I am trying to implement Caesar Cipher in Kotlin. In Caesar Cipher you encrypt the message by substituting a letter with some fixed number of positions down the alphabet. You can look here for more ...

15 30 50 per page
1
2 3 4 5
399089