All Questions
20,796,764
questions
0
votes
0answers
2 views
Discord.py commands always says as existing command, even when it's completely random
I'm trying to write a Discord bot in discord.py that just responds to commands, like when you type =!firewall it says Hello! Here's my code:
import discord
from discord.ext import commands
TOKEN = ('...
0
votes
0answers
2 views
Truffle can't find minimist on Ubuntu when attempting a compile operation
I am running Truffle on Ubuntu 14.04, using NPM version 7.5.2 and Node.JS version v10.14.2. I installed Truffle with the command:
npm i -g truffle
When I try to compile something I get the long ...
0
votes
0answers
4 views
Unauthorized ajax POST to backend using FlaskWTF
Currently i am building a Machine Learning model such that i make use of my webcam from my frontend to capture a clothing, send it to the backend, process it and return the output. I used flask-login ...
0
votes
0answers
3 views
Looking for help launching a dockerized shiny app built with the golem framework on an AWS EC2 instance
Does anyone have resources or prior examples for launching a shiny dockerized app built with the golem framework on an AWS EC2 instance? Mainly, I could use some assistance configuring the Dockerfile, ...
0
votes
0answers
2 views
Sonarqube Enterprise API endpoints list and specifications
Our main goal is to be able to translate reports generated in SonarQube into Excel format. I've learned that the only way this can be done is via API endpoints of Sonarqube then translating the JSON ...
0
votes
0answers
8 views
Questions about the free version of Oracle JDK
For the documents below,
https://www.oracle.com/java/technologies/javase/8all-relnotes.html
BPR builds are commercially available to Oracle customers only.
That's the question.
Can I use GA builds ...
0
votes
0answers
5 views
Flutter App used if condition inside list view
enter image description here
resived data is part and else part. I need return if part data only. I not need else part data data and nood continule loop. I tryed return null, after not working loop. I ...
0
votes
0answers
4 views
Can't install a module on an nginx server hosted on a new ec2 instance
Problem in title. Brand new ec2 instance (I keep having to create new ones). The module is the nginx-rtmp-module. Do I have to be an Nginx Plus member in order to do this? I can't seem to find the ...
0
votes
0answers
4 views
@Html.TextBox not showing Value on Post
I am having some issues with my form. I am not getting the values on the textboxes on Post. It faults out because lstdata is null..
Here is my controller Post:
[HttpPost]
public ActionResult Add(...
0
votes
0answers
6 views
R can't find value -2.9 in specific sequence [duplicate]
R returns False when trying to identify the value '-2.9' in a specific sequence that contains '-2.9':
values = seq(-1.5, -10.5, -0.1)
values[15]
[1] -2.9
values[15]==-2.9
[1] FALSE
class(values[...
0
votes
0answers
13 views
ArrayList only showing last value (Java)
Been having an issue where the ArrayList only stores the last value in the loop. I have been trying to figure this out for hours to no avail. I know the Chromosome class is working because when I put ...
0
votes
0answers
5 views
Adding a 10px frame around a colored image
I am trying to add a 10 px boarder around my colored image.
I have the following code to do that:
myRGB = mpimg.imread(" ")
plt.axis('off')
plt.imshow(myRGB)
plt.show()
framed_color = np....
0
votes
0answers
4 views
Python 3.6, web crawler using Selenium, cannot grab the dates and ratings of user reviews from Google Play Store
I am working on a project of web crawler using Selenium with Python 3.6 in a Jupyter Notebook.
The goal is to grab the reviews and their corresponding dates and ratings of an APP. The target webpage ...
0
votes
0answers
5 views
Running test complete tests when desktop is locked
I have my desktop application tests automated and facing issue when the desktop gets automatically locked with error like that object is out of click range i.e they always require a active desktop ...
-1
votes
0answers
6 views
Implement tqdm with PyQt5 QProgressBar
Is it possible to implement tqdm with QProgressbar?
I've already seen tqdm.tk but it's not what I need
0
votes
0answers
6 views
How to add autoplay to image slider using vanilla JS
I'm a beginner and I'm having a hard time trying to implement autoplay to my image slider.
I guess I would have to use setTimeout() but I can't tell where.
I was taking a look at the w3schools ...
0
votes
0answers
3 views
Php Laravel confirm password in vuejs
I have this simple compare of string password and confirm password. But I don't know why it keeps saying that both password and confirm password is the same even I input different characters. I know ...
0
votes
0answers
3 views
www-authenticate bearer token authorization in httr
I am attempting to use a username / password provided by a proprietary website to authenticate access to a data set API with httr.
The current iteration of my API call is
response <- GET("...
0
votes
0answers
3 views
How to extract the tree structure from NLTK tree without labels?
I'm using benepar (reference here) to parse sentences in French. I would like to get a tree-stuctured syntax representation that takes NP or PP as division without any extra label.
For example
...
0
votes
0answers
3 views
Spark: Transpose Rows to Columns with Multiple Fields
May I ask what is the best way to transpose the rows into columns with multiple fields?
I have a dataframe as below.
val inputDF = Seq(
("100","A", 10, 200),
...
0
votes
0answers
5 views
How can i create a private project?
we are just transitioning to azure and dynamics. To learn more about how projects are handled in this environment I wanted to create my own private project.
I have a visual studio enterprise ...
0
votes
0answers
3 views
Retrieve dynamic objects within JSON object and put to an array Groovy
I'm new to Groovy and couldn't find any resources related to this. I'm trying to extract data from a "dates" object and put it in an array of fixed objects within it. The reason for it is ...
0
votes
0answers
6 views
Angular ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. cdkdrag
I am trying to use cdkDragDropModule in angular to create a table layout and i get the table object from the database and preload the table object in the correct spot in the drag drop container. ...
0
votes
0answers
4 views
How can I modify my zsh terminal prompt to show the current working directory and current git branch (if applicable)?
I am running macOS Big Sur v11.2. I would like my zsh terminal prompt to look like this:
/directoryName/ (gitbranch) $
Thank you!
0
votes
0answers
9 views
How do I access value outside of promise?
I need to access the value of rollingSubtotal outside of this scope..
var rollingSubtotal = oldOrderHandler.getOldOrders($pData.Title)
.then(function(oldPatientOrders){
$...
0
votes
0answers
5 views
How to install tensorflow lite c++ on windows?
I am currently trying to install Tensorflowlite in a Windows environment.
My project is based on c++ and my compiler uses mingw g++, gcc.
IDE is using a qt creator, but they can't find a suitable way ...
0
votes
0answers
3 views
Remove blending effect from 3D models in AR Viewer on iOS devices
I have been using Model Viewer to add WebAR onto my website, On android the models looks good and functions properly using ARcore, but for iOS, the model is blending into atmosphere which is not what ...
0
votes
0answers
7 views
Live reloading doesn't work with webpack serve (version: 5.21.2) and react
Try to setup react app with webpack@5.21.2, but refers to this answer: https://stackoverflow.com/a/64205610/10953109, I use the web serve instead of webpack-dev-server as command:
webpack serve --mode ...
0
votes
0answers
8 views
MIPS-32 Opcode Format: Uppercase or Lowercase?
I'm currently taking a course in computer organization and I've been studying MIPS-32 architecture. I've noticed that the book we use lists the Opcodes all in lowercase, whereas the Professor lists ...
-1
votes
0answers
5 views
Dart Exception has occurred. _CastError (type 'String' is not a subtype of type 'int' in type cast) Error
My goal is to convert my json file to the object list. But it constantly fails. What is the solution for my error?My goal is to store data over json file in a desktop application with Dart.
class ...
0
votes
0answers
4 views
Nextjs built-in api doesnt work while building
Hello i build a nextjs app with using built-in nextjs api it runs very well on development mode. But while im building app the api doesnt work, api's end points throw fetch error like "invalid ...
0
votes
1answer
14 views
How to turn a string, with numbers, into an array?
I'd like to turn the following string into an array with 3 columns and multiple rows if possible in python. I'm attempting to turn the following into a workable numerical data set - using an array, ...
0
votes
0answers
4 views
How to perform an action after branch merge/close in Azure DevOps
I want to be able to create and deploy a web application when a feature branch is created from a linked Git repository in Azure Devops and then remove the site and files when the branch is closed.
...
0
votes
0answers
5 views
How to add a custom colorer along the axis of a ggplot in R?
I want to create an additional bar along the axis of a ggplot heatmap in R. For example, if I have a data frame that looks like this:
df <- data.frame(
a = c(1,1,1,2,2,2,3,3,3),
b = c(1,2,3,...
-1
votes
0answers
8 views
SIGSEGV fuction cannot always diagnose array bounds errors for the same code
I'am writing an online judge system, and when I test a user's code,I find it gets different results(Wrong Answer or Runtime error). After I analysed the user's code, I found it had array bounds errors,...
0
votes
0answers
5 views
mySQL : insert a row dynamically in PDO
I'm trying to insert a row in a table dynamically.
I've got this array:
Array
(
[datas] => Array
(
[col1] => Lorem
[col2] => Ipsum
[col3] =>...
0
votes
0answers
6 views
Get richtext value as the raw html with javascript (ie “<div>hello</div>”)
I'm trying to get the content of a rich text area (using Quill) with the html preserved. Here is my example: jsfiddle
In this example I want to return the following exactly as written below - ie. the ...
0
votes
0answers
7 views
How to fix Whatsapp font awesome not working
All my icons are working just fine except the whatsapp one which displays nothing. Kindly assist.
<i class="fab fa-whatsapp-square"></i>
0
votes
0answers
4 views
Sendgird Web API python example code not working: 401 unauthorized
The problem:
Sendgrid web api python example code showing error 401: Unauthorized
The settings:
server-heroku, framework-django, sendgrid single sender authorized but not domain. Heroku add-on ...
0
votes
0answers
5 views
Kafka retries config and performance implications
I am considering setting the retries mechanism to cover for network blips here and there, for which I think if the retries mechanism covers a few mins, say 2-5, that will be enough for minor network ...
0
votes
0answers
4 views
Zip file is not detected as Zip by the browser in nodeJS
I am generating a zip file in nodeJS using JSZip.
I select a csv file on the webpage, then sends it to the server through a POST for processing and am supposed to get back a ZIP file with the images ...
0
votes
0answers
3 views
Why is xmlrpc not working after I changed my Wordpress theme and domain?
I have been successfully been uploading to my Wordpress site using the wordpress_xmlrpc package in Python.
client = Client('https://website.wordpress.com/xmlrpc.php', 'username',
'...
0
votes
0answers
4 views
Setting the theme of the application during execution just doesn't affect a page
I have the following code to changing my theme (the same used by Xaml-Controls-Gallery):
if (Window.Current.Content is FrameworkElement rootElement)
{
rootElement.RequestedTheme = value;
}
But ...
0
votes
0answers
4 views
Need Google Forms to validate only responses that are correctly formatted
I need students to input their student IDs, and it will be hard to collate if they make mistakes. I would love to make sure input adheres to possible ID numbers, which is three numerals followed by ...
0
votes
0answers
4 views
Issues Opening Spyder after Conda updating
I've been coding in Jupyter primarily due to a professors preference so when I opened Sypder to use recently it wanted me to update it up and I did via Conda and now it is giving me this when I try to ...
0
votes
0answers
7 views
Remove unused CTEs from a SQL
I have a query with many CTEs and more than 1000 lines, which returns about 60 columns. On some dbs it takes too long to execute (may even exit with timeout error), so I want to split the query into 2 ...
0
votes
0answers
5 views
Python: Integration over Multiple Dimensions of function taking an array input
I am having difficulty computing multiple integrals of functions with taking array inputs. I would like to use scipy.integrate's nquad function because I need to be able to integrate from -np.inf to ...
0
votes
0answers
5 views
Security role for activity in Microsoft Dynamic CRM
I would like to find out if we can restrict users to only response or close activities that only assign to them in MS Dynamic CRM 2016. Please advise which permission that I should look at?
Thank you
0
votes
0answers
6 views
how to take mobile full screenshot?
the current robot capture screenshot does not provide scrollable full screenshot.
Any other library support mobile device scroll and take screen till bottom of screen?
0
votes
0answers
6 views
How to reset Apple ID privacy question and answer?
I has an Apple ID for publishing app to TestFlight, it has no iPhone, no two-factor authentications. And I forget the privacy question and answers.
When I choose that I forget the answers, and want to ...