All Questions

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

Problem in opening the link to external browser from PWA loaded in mobile APP

I have created a PWA in Vue. That PWA is loaded in an android app webview. There is a form in PWA, all the data entered in form will stored by vuex. There is also a link for 'Terms & Conditions'. The ...
1
vote
0answers
4 views

Jump to L1 cache before physical address computation

This question comes in context of a section on virtual memory in an undergraduate computer architecture course. Neither the teaching assistants nor the professor were able to answer it sufficiently, ...
0
votes
0answers
5 views

Using a large API via custom connectors. API's definition exceeds the 1MB file size limit

The company I work for uses a product named Pension Pro for workflow management. They offer an API and we would like to look into using it for automating tasks and connecting multiple systems. We want ...
0
votes
0answers
16 views

it says that there is no matching member function to call for 'insert'. This is for a school project, and I really am stuck

So where it says "num.insert" is where the problem is. I have no clue how to fix this. This is for a school project, so I need the answers soon. Please be nice. Also, please try not to change my code ...
0
votes
0answers
9 views

JPA/Hibernate: How to persist duplicate values in same session for field having @Id annotation?

Customer said no Primary Key Required in Child Table. So Child table has two column "ID" and "Value" where ID can be duplicated. When i remove @Id then hibernate says "No identifier specified for ...
0
votes
0answers
4 views

How do I convert Unix timestamp to date in CockroachDB?

I've looked everywhere for this but can't find exactly what I need. I have a table that has a column in it containing the unix timestamp for the date of a transaction. In MySQL, I can convert this ...
0
votes
1answer
14 views

Exclude conditional routes in Laravel

I'm building and application in Laravel and Vuejs where I'm having Laravel routes as below: Route::get('/admin/{view?}', '[email protected]')->where('view', '(.*)')->name('admin'); Route::...
0
votes
0answers
5 views

How to get bokeh widget to interact with plot .on_change()

I am trying to create a graph with 3 lines, one for each column in my dataframe. I want to be able to select in the widget which lines are shown in the visualization. The plot comes up with the widget ...
0
votes
2answers
25 views

C++ std::maps and class values with constructors

It's been a long time since I've seen C++ -- 30 years of more, and obviously, things have changed a lot. I'm also spoiled with Scala, Julia etc, which take care of this magic under the covers, but... ...
0
votes
1answer
6 views

Using v-slot and v-chip does not allow editing of chips

I am trying to programmatically change the color of chips inside of a v-combobox if there is an error for that element. I was just using v-combobox with chips before. This allowed editing of the ...
2
votes
1answer
24 views

remote: Repository not found. on my own github

OS: Windows10 git version: 2.23.0.windows.1 few months ago I've forked a repository and everything worked perfectly. I've had to hard reset my windows, now whenever I try to clone forked repository ...
0
votes
0answers
4 views

Selenium IDE plugin extension

Is it possible to write a custom browser plugin that will forward variables to the Selenium IDE plugin? Note: Triggering a Selenium CLI does not work in our case as we need the "current" browser ...
0
votes
0answers
8 views

Sass selector with ampersands, plus with OR on another class

I have a list of buttons that look like this: <button class="PatientImage-button"> <img src="1"> </button> <button class="PatientImage-button"> <img src="2"> </button&...
0
votes
0answers
3 views

Checkedlistbox in excel ribbon

I have created an Excel ribbon. It contains a drop down in which the name of all the sheets in the workbook are populated when you open the workbook. Now I want to select more than one sheet from the ...
0
votes
0answers
12 views

Perl wait till the status message changes and execute next step

I need to execute the perl script to check if the STATUS is changed from 'starting' to 'healthy'. If the status is changed to 'healthy', i need to proceed to next set of execution. Could you please ...
1
vote
0answers
22 views

How do I use a group element to remove the previous input?

The code I have been working on will take a user input and create an ellipse with certain vectors drawn on it. I have already successfully coded the ability for the program to receive new input, ...
0
votes
0answers
12 views

Replacing substrings based on lists

I am trying to replace substrings in a data frame by the lists "name" and "lemma". As long as I enter the lists manually, the code delivers the result in the dataframe m. name=['Charge','charge','...
0
votes
0answers
11 views

Opacity transition doesn't work in SwiftUI, how can I get it to work?

The view doesn't fade in and out when using .transition(.opacity). (However .transition(.slide) does animate) How can I get opacity to work without using withAnimation{}? This doesn't work: @State ...
0
votes
0answers
10 views

subquery treated as char in subquery codeigniter

I tried to use subquery in codeigniter to get the result and use the result as the parameter in where in clause. but i got this error. and here is my codeigniter active record query: $session['hasil'...
0
votes
0answers
19 views

Format date using DateTime.ToString() based on TimeZone

I read the following question Creating a DateTime in a specific Time Zone in c# and was able to create a DateTime with TimeZone information. But I need to convert the DateTime to string value based on ...
1
vote
0answers
13 views

Deserialize jagged array with unknown dimensions

I'm currently trying to parse a Json file in Unity using Json.NET and can parse 80% of the data at the moment. I've come across a section that is formatted like this. { "features": [ { "...
0
votes
0answers
8 views

Any kotlin ORM for SQL?

Is there any useful and easy-to-use kotlin ORM for SQL? Like ORMLite. I'm making an app for android and i need to keep data classes there. Honestly, I'm rewriting an android lasertag configurator ...
0
votes
2answers
39 views

If else statement problem in android studio

I know this is a very silly question. But i am stuck in this and I have no idea how to solve it. There are some variables with values: float total = 74.67 ; String grade = "", point = ""; ...
0
votes
1answer
16 views

API returned JSON data wrapped in a function, breaking json.loads

I'm trying to work with JSON data that is pulled from USGS Earthquake API. If you follow that link, you can see the raw JSON data. The JSON looks great; however, the returned request is wrapped in ...
-3
votes
0answers
22 views

combine two arrays together to look like an object [closed]

I have two arrays and I'd like to use the values of the arrays as they key's and values respectively for an object to store it in my backend here are the arrays const propertyKeys = Object.keys(...
0
votes
0answers
5 views

Getting error while restoring the mongodump file using mongoDB

I am getting the following error while restoring the database using mongoDB. Error:: 2019-12-11T10:05:50.140+0530 E QUERY [thread1] SyntaxError: missing ; before statement @(shell):1:16 I am ...
0
votes
0answers
7 views

How to do phrase classification / extraction with Elasticsearch

I have been stuck for 2 days on this and I am sure it can be done with Elasticsearch. Any help would be really appreciated! I receive products from various sources and I want to integrate them to my ...
0
votes
1answer
10 views

The value of the local variable executor is not used

Could you please tell me why that is happening? enter image description here
0
votes
0answers
11 views

Difficulty finding df for Ljung-Box test in r

I'm trying to calculate the Ljung-Box test for three different models. The first is a time series linear model, the second is an arima(0,1,1)(0,1,1) and the third is an arima(2,1,2)(0,1,1). However I'...
0
votes
1answer
15 views

Python: Allowing validation of specific characters

Alright I'm trying to allow user input to include only letters, numbers, and dashes. Any other characters would be invalid. I also only want the characters to be 1-9 characters in length. Here is ...
0
votes
0answers
4 views

Creating a custom calendar in Python 3 with only using a main function

Creating a custom calendar in Python 3 with only using the main function, several appropriate secondary functions that communicate with each other using arguments, parameters and functional values in ...
0
votes
0answers
9 views

Can I render 2D images or GIF images on surface using AR CORE sceneform API?

I am trying to recognize one 2D image and once image tracking/recognition is successfully done I have to place one 2D image or GIF image on the surface. I am using sceneform API. I can render 3D ...
-1
votes
0answers
11 views

IQR problem in boxplot funcrion in python

I noticed a discrepancy in the use of box plots (using pandas.dataframe.boxplot). My calculated IQR (using numpy.quantile) and mean (using numpy.mean) show sometimes very different values than what ...
0
votes
0answers
9 views

SSL Certificate chaining error in WAS happened intermittenly

I'm facing a certificate chaining error in a Websphere application server. After installing the certificate, it is working for first request and getting Certificate chaining error for the subsequent ...
2
votes
0answers
11 views

How can I host an Angular 8 app on Github Pages with 2 separate repos for front/backend?

I was wondering if anyone has had any experience with, or if anyone knows, if it's possible to host an Angular 8 app through Github pages. I've seen multiple guides and have ran into issues with all ...
0
votes
0answers
9 views

Style shadow dom root in ngbootstrap

I have a forked version of ng-bootstrap I've been trying to style. The root is a shadow dom root, but it looks like it's possible to add box-shadow to the root. It's just not reflecting the true ...
0
votes
0answers
6 views

mockmvc: when I use mockMvc to test a controller, how to deal with the parameter Authentication?

I am going to test my controller using springsecurity. @PostMapping("/xx") public String xx(Authentication auth){ String userId = (String)auth.getPrincipal(); .... } I have no idea how to ...
-1
votes
0answers
13 views

Human detection with webcam python openCV

I wanted to do a human detection with a webcam, but I cannot get pass this error. --------------------------------------------------------------------------- error ...
0
votes
1answer
30 views

Position div below fixed div and to the right of another fixed div

I looked at some of the other answers for this, but none of them seem applicable because, although my fixed divs' dimensions are fixed, they're unknown until the page actually renders. I have a fixed ...
0
votes
0answers
4 views

Call scribe solution from Power BI report

I am using scribe online and I was wondering if there is any way that we can call and run a scribe solution when the user selects something on a power bi report. Or if there is a workaround for this, ...
-2
votes
0answers
20 views

Which is faster and why? PHP [closed]

public function testdata() { for($i=0; $i<=10000; $i++){ $record= new \test\result\Dto\data( array( "sid" => "4001", "name" => "dk" ...
0
votes
1answer
26 views

Friends profile page

I am designing a web app that is similar to Facebook. Right now I am stuck on how to load a friends profile page... On the users main page there's a section with all the user's friends. Each friend ...
0
votes
1answer
8 views

Powershell: Using send-mailmessage after PSFTP in script

I have written a small script that are using PSFTP to connect to a FTP server, download some files and conclude by sending an email with a summary of downloaded files. I get a problem with the send-...
0
votes
0answers
3 views

Trying to create a cycle withing an adjacent matrix, not sure why the Python code is not running

I am trying to write a code that contains an adjacent matrix, and the code must find a cycle within that matrix. I am not sure why I am getting errors within in my code.Picture of the Code Picture of ...
0
votes
1answer
19 views

PYTHON: Trying to get every .sql file in a directory as an input. So I can open() then read() each one

import os from os import walk import psycopg2 take = [] for root,dirs,files in walk('C:\\Users\\sebastian\\Documents\\Code\\sql_tests'): for file in files: if file.endswith('.sql'): ...
0
votes
2answers
22 views

Check if value exists in external file array php

I have this code which is to check if google exist in the external array file, it gives me the blank result but when i transferred the array into the same file or inline the list, it works. I'm using ...
0
votes
0answers
9 views

Docker-compose volume doesn't save state of container for Keycloak

docker-compose.yml services: idprovider-app: container_name: idprovider-app build: dockerfile: Dockerfile context: . environment: KEYCLOAK_USER: admin ...
0
votes
0answers
6 views

@conduitvc/[email protected] install error

Error while installing @conduitvc/[email protected] install with npm All other npm install runs and is being installed using vscode in a Windows environment. $npm install > @conduitvc/...
0
votes
0answers
5 views

Drone SDK supporting free-flight control

This is my first time getting into drones. I am looking at DJI drones, currently as it seems most promising from a documentation and reviews point of view. Basically, I would like to program a drone(...
0
votes
0answers
10 views

This is my tranning and validation accuracy is there something wrong with code ? or data?

This is my classification code with pytorch. it classify the image like cifar10. The problem is I trained the classification model but when I submit the result it always has very low accuracy so I'...

15 30 50 per page