All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Python can't remove None value from list of lists

I'm trying to remove a None value from a csv file I have. I have converted blank values to None values in the first part of the below code but in the last part when I envoke filter It prints the ...
0
votes
0answers
9 views

How to bind ngModel values into select-searchable options?

Is there any way to bind ngModel values into select-searchable option in ionic to see default values from localStorage. <ion-col col-6> <select-searchable okText="Odaberi" cancelText=...
0
votes
0answers
4 views

Selenium with maven integration

Once i tried to run the project I am getting an error like this... Source option 5 is no longer supported. Use 7 or later. Target option 5 is no longer supported. Use 7 or later. MY XML POM FILE: ...
0
votes
0answers
5 views

Firebase crashlystics with Smartlook SDK not reporting crash

1) I have integrated smartlook sdk in android app for screen recording. 2) After that i have integrated firbase crashlytics in same app Now when the app crashes the screen goes black screen and app ...
0
votes
0answers
3 views

Strapi GraphQL - Sort by items count subquery

I have the following GraphQL query: query { tags(limit: 9) { id tag items { id } } } As you can see, items is a collection of values. I'd like to sort this collection by ...
0
votes
1answer
12 views

text under order details table with condition

I want to add a text under the order details table in the my account page as shown in the screenshot below but i want this text to be changed to another text if the order status is changed to complete....
-8
votes
0answers
26 views

Laravel: retrieve from db where column has boolean which equals true

So basically I have a table which is named 'Tasks' and it has a boolean value which is named 'favorited'. I'd like to have $taskfav be equal to all rows in the db where favorited = true/1 Laravel 6
-1
votes
1answer
43 views

remove \n from the end of list item

I have this code def return_not_existing_signals(list_of_signals,read_or_write) : not_used_produced_signals = [] #print(list_of_signals) if read_or_write =="read": file_to_create=...
0
votes
0answers
5 views

Sending proactive messages to ms teams from azure deployed bot

I've already deployed the bot to azure, when connecting to the ms team channel in azure, i'm able to ping the bot and receive messages which is good. I've also added a proactive messaging in the bot ...
0
votes
0answers
7 views

Triggering undo with execCommand not working after leaving textarea

I have a Button that triggers document.execCommand('undo'); when pressed. This works fine, if I made changes to one of my textareas and immediately, without clicking anywhere else, click the button. ...
0
votes
0answers
3 views

Not able to connect to elasticcache redis cluster

I have configured elasticcache redis cluster and the same has been updated in code to point to the cluster it is connecting but application is able to connect if i give redis prmiary endpoint which i ...
0
votes
1answer
10 views

Matlab: equalize to zero a different element of a matrix for each row without loop

I have an IxS matrix called numerateur and I would like to set one element per row to zero. However, the column to which this element belongs changes for each row. I can do it with a loop but would ...
1
vote
1answer
10 views

How to break a long line in a hover text Plotly?

I have a hover text that contains a long line (about 200 characters). The problem is that it becomes a long rectangle through the whole figure and it is not possible to see the complete text because ...
-1
votes
1answer
23 views

How to iterate through nested objects in ReactJS

Currently I am looking for a way to loop through the nested. As you might see the console.log(props.images) outputs the array (images: (10) [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}] ) in ...
0
votes
0answers
13 views

C# custom config section with recursive ConfigurationElement

I am trying to create a custom configuration section that represents the following xml structure: <observerSettings> <jobSettings> <filter key="location" value="de"> ...
0
votes
0answers
16 views

how to create a sliding window and apply functions in pandas dataframes

I have the following dataframe : Time A 1 1 2 1 3 1 4 1 5 2 6 2 7 3 8 3 9 2 10 1 11 1 12 1 13 ...
0
votes
0answers
6 views

.Net Core 3 Custom Authorization Policy - Access to Action Verb

I am trying to port some old code over to .Net Core 3. With the old AuthorizeAttibutes you could get an Action's verb from HttpActionContext through var verb = actionContext.Request.Method.Method; ...
0
votes
0answers
4 views

What are the appropriate steps for Canon Pixma MX490 Wireless Setup?

Want to know about steps for Canon Pixma MX490 Wireless Setup.Help me with this.
0
votes
0answers
8 views

Not able to redirect to a jsp page from @ExceptionHandler method

In Controller i am trying to download a file. If the file is not exist i am throwing a custom exception DownloadException. I am handling this exception in @ControllerAdvice like below @...
0
votes
0answers
4 views

How to Label Google AI facial expression dataset

I have been trying to label the AI dataset of Google which is provided here: https://ai.google/tools/datasets/google-facial-expression/ using this GitHub code: https://github.com/GerardLiu96/FECNet ...
0
votes
0answers
3 views

unable to map node.js app to port 80 using haproxy?

I have a node js app running on port 5000 on my ubuntu server.I can currently access it at http://206.189.22.155:5000/employeeList. Now I want to map this to port 80 using haproxy so that I can access ...
-1
votes
0answers
6 views

Share an image to facebook wall using PHP SDK

I am getting an error i.e,Graph returned an error: (#200) If posting to a group, requires app being installed in the group, and \ either publish_to_groups permission with user token, or both ...
0
votes
1answer
12 views

C#, ASP.NET, MVC, Kendo UI Multiselect

I have wrote code for select all check-box to select all items, i am trying to write function when i uncheck the checkbox it should unselect all items
0
votes
0answers
29 views

Why is my hyperlink only working offline?

I did a hotspot login page and now the problem is that my hyperlink to login is not showing up when I upload it to the MikroTik Routerboard. I don't know whats going wrong. Is there some isue with the ...
0
votes
0answers
6 views

Metabase deployed on Google App Engine doesn't work

After deploying Metabase in Gcloud, GAE app url shows error page. I followed all the instructions on this link https://www.cloudbooklet.com/install-metabase-on-google-cloud-with-docker-app-engine/ ...
-3
votes
0answers
15 views

Getting frame from live camera

It is possible to get a frame from live camera (yudor) with python ? or another script ? I have about 20 camera and i don't have time to login every camera and check if video working and position is ...
0
votes
0answers
8 views

TTF fonts don't display in the browser when bundling with webpack

I'm trying to bundle a static webpage with webpack. npm run build is working just fine with all of the javascript, sass, and font and image assets being compressed and sent to the dist file. The ...
0
votes
1answer
15 views

Merge and sort multiple Streams java 8

I have multiple streams of Student Object. I have to merge them in sorted order. class Student { private String branch; private Integer rollNo; private Date doj; // Getters and ...
0
votes
0answers
4 views

Timeout Response for Failed Elasticsearch Re-index

I'm using re-index api of Elasticsearch to move documents from an index (named index1) to another index (named index2). My problem rises when the size of index1 is too big, so the time out response ...
0
votes
1answer
17 views

How can i do that in gmail adress cannot be two or more “.”(points)?

I have to write something in my if clause, but I don't know how to write it. For example "[email protected]" or "[email protected]" should be invalid inputs, but "[email protected]" ...
0
votes
0answers
5 views

Using PsExec in Jenkins, even if the script fails, it shows Success

I am trying to run a powershell script which first logins to azure and then deploys the zip file to azure using psexec. I am using the following command: F:\jenkins\VMScripts\PsExec64.exe \\WINSU9 -...
0
votes
0answers
17 views

How to use @Transactional in non spring managed beans?

I have a bean that was initialized by myself, I want to make the method transactional. class Foo { @Transcational void method() { } } This is not working because the Foo is not managed by ...
0
votes
3answers
23 views

How to add an onClickListener that would open a new activity to a Fragment activity

I'm fairly new to android studio so I will try to explain as best as I can. I've made a menu using fragments, so my activity_home is a fragmented activity. Inside the fragmented activity I've created ...
0
votes
0answers
4 views

Simulate socket.io temporary disconnection in chrome

I have a simple chat app written in javascript(client and node server) with socket.io. Users are permanently connected to server. I need to test how my application behaves when connection with node-...
-1
votes
0answers
12 views

How to access ubuntu shared folder in vmware from local area network?

I share a folder inside ubuntu by right click - Local Network Share. when I check it with net usershare info --long I am getting the result as [testom] path=/home/edadmin/Public/testom ...
-1
votes
3answers
42 views

How to Filter out data based on Month

I am trying to filter out all the data which has month 8 I have tried as following https://jsfiddle.net/n2fypquz/2/ var json = [{ "empId": 175, "Name": "Sai", "Sal": 37000, ...
0
votes
0answers
4 views

Pytorch loss function with ignore_index cause that model doesn't converge

I was going through Pytorch official tutorial regarding the implementation of seq2eq Chatbot with Attention. To gain better understanding I used different methods to achieve similar results. One of as ...
1
vote
2answers
37 views

How to implement a do…while with a BufferedReader input

I'm trying to make a simple calculator program, and the basic functionality works, but I'm trying to implement a "do you want to do another operation" at the the end of the program so that it closes ...
0
votes
0answers
7 views

How to save datatable manually entered text after refreshing the page in dash python

Using Dash, I would like to save a Data Table output after inserting text into some cells so that next time I open the browser the information I entered manually still remains in place. How do I have ...
0
votes
0answers
4 views

Angular: Using ngb-modal, present outside a project, inside the project's component with or without reference

I am new to Angular and have been working on accessing ngb-modal outside a root project. The issue I am facing is that I am not able to access the modal by viewChild's reference or by @Input() and @...
0
votes
0answers
23 views

Tag image with custom divs which shall stick to the picture

I'm trying to tag some divs to an image which shall stay in the right place as the window size changes. It kind of works, but only until the image looses in height. How do I improve my code to make ...
0
votes
0answers
4 views

Failed to convert Tensorflow .pd to json

Trying to convert the saved model to json for tensorflow js. Followed the example from https://github.com/tensorflow/tfjs/tree/master/tfjs-converter Ran this cmd: tensorflowjs_converter --...
0
votes
0answers
5 views

How TimeDistributed layer works?

I looking for details of work of TimeDistributed to understand how backpropagation through time affect on CNN weights (in other words, can I reuse previous CNN prediction's embedding to classify new ...
0
votes
0answers
10 views

Resize image in Tkinter

So, I need to resize an image in tkinter. Before you do anything - this is not a duplicate. I have gone through every other question on this site and none have helped me. The thing with me is - I don'...
0
votes
0answers
3 views

Spring session with Mongodb creating index

I am using spring session with mongodb. It looks like spring creates indexes on the sessions collection automatically every minute. Questions 1. Why it creates the index every minute and is there a ...
0
votes
0answers
11 views

Webpack spits out errors after updating (and adjusting to new config syntax)

I have an otherwise unmodified React project where I updated Webpack and its dependencies to the latest version (webpack 4.40.2, webpack-cli3.3.9, ts-loader 6.1.0, css-loader 3.2.0, babel-loader 8.0.6,...
1
vote
0answers
6 views

Pass jenkins credentials from pipline to ansible playbook

I try to pass credentials from jenkins pipline to ansible playbook into docker as enviromental variable. jenkins pipline: steps { withCredentials([usernamePassword(credentialsId: 'creds', ...
1
vote
1answer
16 views

Junit test controller with JSON body on POST

I am having issues creating a unit test for my LinuxCommandController. The LinuxCommandController returns a string from the responsebody of it's post mapping. It invokes LinuxCommandService which ...
1
vote
0answers
30 views

How to prove the the correctness of recursive “search” algorithm in the code?

I don't know how to prove the recursive algorithm of the problem. I can't use the mathematical induction to solve the this proving.(although I am familiar with the mathematical induction). The ...
0
votes
0answers
5 views

Pausing cassandra stream for async operations

I want to pause my cassandra stream for some async operations before processing the next row. Each row is received in a readable event listener. I have tried using stream.pause but it does not in ...

15 30 50 per page