All Questions

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

Powershell Invoke-Command Perfmon counter is not storing into variables

I was trying to collect the perfmon counters using powershell with two options , one with and without Invoke command Get-Credentials. Basically I want to use different credentials to collect the ...
0
votes
0answers
3 views

How to run autoconf and make from bazel after “tf_http_archive(…)”?

I am trying to import an autotools project in Bazel (Running systemC inside tensorflow). I am able to download my autotools project with: workspace.bzl ... tf_http_archive( ...
0
votes
0answers
2 views

Programmatically enabling/disabling accessibility settings on Android device 2019

How can I programmatically enable/disable an android screen reader service such as TalkBack? I am developing an app to help people get more accessibility, I want to be able to change android settings ...
0
votes
0answers
4 views

VS Code not launching browser in ASP.NET Core project

Here's my launch.json file. The project builds and listens correctly on the specified port, but it's not launching a browser. I'm on Mac OSX and Chrome is my default browser. What needs to be ...
0
votes
0answers
7 views

sorting elements File[] array

I'm fairly new to java.io in general (so please be patient :) I'm trying to sort filenames that's in fList array. Originally fList is sorted like this https://i.stack.imgur.com/OCqJR.jpg and after ...
0
votes
0answers
4 views

prototool generated files aren't visible in main package

I have my proto files structure like this in my project $ tree -L 3 proto proto └── namespace ├── one │   └── one.proto ├── two │   └── two.proto └── prototool.yaml here is what ...
0
votes
0answers
3 views

how does flutter framework call createSate() method & generally how does framework calls your code

class Myclass extends StatefulWidget { @override State<StatefulWidget> createState() => MyclassState(); } i was wondering how flutter framework calls the createState() method,since in ...
0
votes
0answers
4 views

unwanted error 401 caoused by ErrorINterceptor

I have a problem with a stackblitz that relates to authentication, login and user registration. The problem is that when I try to access the HomePage, having not yet logged in, 'ErrorInterceptor' ...
0
votes
0answers
12 views

Trying to convert a .py file to an .exe one but the process runs with many errors and .exe fails when completed

Here is the run from windows cmd, I'm using the command: pyinstaller pythonfile.py C:\Users\fpt84\Downloads\Case>pyinstaller Reserve_estimation.py 1922 INFO: PyInstaller: 3.5 1922 INFO: Python: 3....
-1
votes
0answers
9 views

How long would it take an AI Program

How long would it take for an AI program to be fully autonomous once fed all necessary data to perform it's initial functions? Will it always have to be monitored and fed new data?
0
votes
0answers
4 views

Posting method in Nodejs app to SharePoint

I am trying to run a post method in my node js app and it connects with SharePoint. When I do it in Postman it works and also my GET method is working but I seem to be doing something wrong with my 2 ...
0
votes
0answers
4 views

How to design JSON parser Entity Objects for Currency Converter API with below Output

I am writing an application to consume currency values from external API converter https://exchangeratesapi.io/ to convert one currency to another. For ex., https://api.exchangeratesapi.io/latest?...
0
votes
0answers
5 views

How to Properly Manage Memory in Unity

I have quite a bothersome memory issue. I'm using the package called Memory Profiler to help me try and identify the problem, but I'm not sure if I understand it properly. Basically I'm loading a map ...
0
votes
0answers
8 views

Find the percentage of color on a canvas ?? HTML, JS, CSS

I was making a background where I am trying to make the background as a canvas and then I added the mousePosition as the painter brush. The concept is while anybody is moving the mouse will paint ...
-1
votes
0answers
7 views

Trying to create a way to have an interactive lesson plan

I’m trying to develop a lesson plan that is modular. The idea is that one user could input the class from a list of classes they want and then customize the class by inputting the module(s) from the ...
0
votes
1answer
4 views

Parse json array to a case class in scala using playframework with the fields in json not matching the fields in case class

I am trying to parse a simple json array to a case class using scala and play framework. Below is the code package com.learning.avinash.query import play.api.libs.json.{JsPath, Json, Reads, Writes, ...
0
votes
0answers
8 views

Find gradient in R without using for loops

Here's a sample data frame Here's the dataset for you to copy Sample X Y TestID 1 32.03487341 1.419067 1 2 51.87034518 391.471651 1 3 51.56993777 401.279123 1 4 51.54132754 411....
0
votes
0answers
3 views

Drracket implements function fold

I want to implement the function fold with is doing: L = (v0, v1, ..., vi) a0 = 0 an+1 =vn +vn ∗an Example: L = (1,2,3,4) 64 = 4 + 4 ∗ (3 + (3 ∗ (2 + 2 ∗ (1 + (1 ∗ 0)))))
0
votes
0answers
3 views

Attaching a log file to an Azure Devops Test Run

I'm trying to attach the log file that I have generated, during the run of my automated tests in the Azure Release pipeline. I am running Automated UI tests using selenium and MSTest. Originally, I ...
0
votes
0answers
10 views

I want to check if the first letter of user first input is similar to the first letter for second user input

The program will prompt user to enter his name then enter different names Then it will check if the first letter of these dofferent names is similar to the first letter of his name I tried Scanner ...
0
votes
0answers
4 views

Clone an existing table using EF code first in .net core

There is a requirement to create a new report table (using schema of an existing table using EF and.net core) each time a new tenant is added.
0
votes
0answers
11 views

Iterate only through the rows corresponding to a specific hour of a Pandas DataFrame?

How to iterate through a pandas DataFrame based on the hours, let's say we want to iterate only through the rows corresponding to the 10:00 hours; I've been using the "between_time()" method but is ...
0
votes
0answers
6 views

Typescript - TypeError with abstract getter

Am I misunderstanding the usage here? If so, what is the correct way of implementing this? Or is this a bug in Typescript? interface Foobar { foo: string; bar: string; } abstract class ITest { ...
0
votes
0answers
7 views

Locating first element that matches reg expression

I would like to check if the first element in a single page equals the number showing on the picture, I have the idea as you guys can see but i have a feeling i have wrong reg expression settled. ...
0
votes
0answers
3 views

Outlook Addin with Vue Code Will Only Display on OWA and Not Desktop

I have developed an outlook addin using Vue. The addin works completely fine on the outlook web app, however, when loaded in the outlook desktop app, only Vue code is shown (moustache curly braces). ...
0
votes
0answers
2 views

D3 - Attempting to Project Polygon Creates MultiPolygon leading to SVG Creation Failure

I am using the command line tools from the d3-geo-projection library to try and create some SVGs of some polygons that I have data for. It is not working consistently for me. In the instances where it ...
0
votes
0answers
10 views

Linux using grep

This is a LINUX questions my file is called poem, how can I use grep to do these things in LINUX Use grep or egrep to pick out the lines in a text file which satisfy: Exactly 3 letters from abc Of ...
0
votes
0answers
5 views

force linked static libraries with cmake not working

We have a multi-project cmake setup that includes some IMPORTED static libraries. For one of our executables we need to force-link in all symbols in a few of these IMPORTED libraries so we need to ...
-1
votes
0answers
7 views

Union WP table with external database table

I want to write a query and display results on html page. the query takes orders list and adds another column from other database table. both tables have same order id column that can be used to ...
0
votes
0answers
3 views

Validations isn't work when edit fields with simple-form

I've created a litle form with a some fields, in my model I used validades function to validates the entry data, it works when I register, but when I want to edit my data, for example sending an empty ...
0
votes
0answers
5 views

Add to exception web route in laravel when 1 parameter missing

I have problem with laravel framework where i have two parameters in web route and exact value to find something in my database. When i remove one character, there is error. Route is: Route::get('/...
0
votes
0answers
3 views

how can you convert KML to WKT in c#?

I can easily convert WKT to KML using the nettopologysuite, with something like: WKTReader wktR = new WKTReader(); GeoAPI.Geometries.IGeometry geom = wktR.Read(wktString); KMLWriter writer = new ...
0
votes
0answers
6 views

SwiftUI using @EnvironmentObject with picker causes ScrollView contentOffset binding warning

I have a watchOS app which has two screens. When I navigate to the second screen I get the following warning in the console: ScrollView contentOffset binding has been read; this will cause grossly ...
-1
votes
0answers
7 views

Using re.search multiple times inside for loop to extract different field values in python

I want to retrieve all percentage data as well as integer/float numbers with units from an input text, if it is present in the text. If both are not present together, I want to retrieve atleast the ...
0
votes
0answers
4 views

Can not locate AWS login page' s mail adress box

I am trying to locate email input box of AWS login page. I tried css selector and xpath but selenium still can not locate the element. My css selector is, #resolver_container > div > input ...
0
votes
0answers
3 views

Convert json format CCD to xml -Mirth Connect/ Java Code

I am receiving CCD document in JSON format and I need to convert it to normal XML CCD format. I tried convert this JSON using inbuilt JSONtoXML function available in Mirth connect but it didn't work. ...
0
votes
0answers
3 views

Referencing and running TensorFlow FSharp from Visual Studio 2019

I am trying to run the example from https://github.com/fsprojects/fsharp-ai-tools from Visual Studio 2019 (community edition). I would like to use it in a .NET Framework application and to experiment ...
0
votes
0answers
7 views

conditional calculation within a function

I have a function where one of its parameters is a character variable called var. var is a dynamic character variable that takes on different combination of elements at different times. To give a ...
0
votes
0answers
9 views

React: How to check X is selected or not

I'm trying to develop React Component changed if it is selected. So I set up isSelected for checking if the item is selected or not like below: src/components/common/Youtube.js const Youtube = ({ ...
0
votes
0answers
14 views

Passing a functor into a templated function

I am new to templating, but I am trying to make my primms algorithm work with two different distance calculators(thats what the functors are for) based on different constraints for a school project (...
0
votes
0answers
3 views

Gitlab CI/CD check that program runs successfully

I've got a program that runs in an infinite loop, and I'm looking for the gitlab-ci.yml commands to verify that it runs successfully (all dependencies installed). My issue is that just running the ...
0
votes
0answers
7 views

Can I separate two fill legends in ggplot in R?

I have a data set that I'm trying to plot using ggplot2 in R where I want to use the fill aesthetic twice in two different ways (yes/no for one variable, scaled for another). An example data set: df ...
0
votes
0answers
4 views

How to know if a score already exists in a sorted set in redis without knowing the member itself?

I have a sorted set that contains unique JSON strings. Each string has a unique score (sorted sets does not force unique scores though). Is there any way to know if a certain string in the set has the ...
0
votes
0answers
6 views

How to debug this NodeJS error: TypeError: Cannot read property '_writableState' of undefined

I am trying to write a NodeJS application and running into an error. I can't tell why it is happening. It seems completely unrelated to the part of the code where it is happening. I have a ...
0
votes
0answers
7 views

How do I set the output of my neural network in keras?

I'm trying to make a neural network in Keras, but in doing so have come across a problem: the output size of the network isn't the same as the output I'd like, which is a single number. I have tried ...
0
votes
0answers
9 views

Python: Overshoot target, need vectors or PID tuning?

So, i'm working with a UAV, and I want to place it in the center between two objects, however, the UAV will overshoot the move operation, then proceed to go back to the center in the opposite ...
0
votes
0answers
6 views

sniff POST request on server with python scapy

i'm doing a simple application to sniff all inbound POST data received on my apache server but seems to not work: from scapy.all import * from scapy.layers.http import HTTPRequest def urltest(packet)...
0
votes
1answer
10 views

Asp.net core 3 Web Api post request not working

I am trying to post a request to my controller just to post some data, but it is not working. It is not hitting the post method in the controller. I have tried so many things after searching on google,...
0
votes
1answer
10 views

Validation for Either-Or Field Logic in Angular Reactive Forms

Is there anyway to do 'Either Or, one or the other validation in Angular Reactive Forms? Currently, want form to be valid, if City is inputted Or Zip Code is inputted, either 1, and form is valid. If ...
0
votes
0answers
7 views

Redirect page react auto based on condition

Currently I am trying to redirect the user based on a conditional statement. So if the number is dividable by 10 the user will be redirected to winner page, else to lose page....no click need (if ...

15 30 50 per page