All Questions
20,689,946
questions
0
votes
0answers
2 views
Crop video {type: video/mpeg} stored in Uint8Array using JS (within Electron React)
I'm building an Electron-React application that can capture parts of the screen.
It uses a combination of DesktopCapturer, screen, and MediaRecorder.
I've managed to create a buffer of the whole ...
0
votes
0answers
3 views
cv2.error: C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:331: error: (-215) size.width>0 && size.height>0 in function cv::imshow
from cv2 import cv2
cap = cv2.VideoCapture(0)
while (1):
_, frame = cap.read()
cv2.imshow("", frame)
if cv2.waitKey(1) == ord("q"):
cv2.destroyAllWindows()
break
cap....
0
votes
0answers
2 views
Can't Unmute YouTube Videos with Revolution Slider on Mobile
I'm using Revolution Slider in WordPress and I'm running into an issue where on mobile devices, I cannot unmute YouTube videos. I have videos in the slider to be muted on load in and to autoplay. I ...
0
votes
0answers
3 views
How to Pass Data From Top Level Route to Inner Routes in React
I have a react application that has routes configured as such
/packages/:packageId/years/:yearsId where /packages returns a component that has a link to /packages/:packageId which continues rendering ...
0
votes
0answers
3 views
What does `undefined!` means in typescript?
typescript source code use undefined! in many places. For example, in binder.ts, from line 261 to 271:
file = undefined!;
options = undefined!;
languageVersion = ...
0
votes
0answers
2 views
cannot convert method grup “tostring”
This is my code
GetComponent ().text = PlayerPrefs.GetInt("skor").ToString;
error: cannot convert method grup "tostring" to non dellegate type "string"
I don't know, why? ...
0
votes
0answers
3 views
R Markdown not rendering some HTML?
When I knit an R Markdown file with the following code, not all of the HTML is rendered. Any thoughts on what is happening here?
R Markdown file
---
title: "html test"
author: "NA"
...
0
votes
0answers
3 views
I have JAVA_HOME set in the necessary environments, but a VScode plugin does not recognize it
I have JAVA_HOME set in the necessary system environments, but the VScode plugin IBM Z Open Editor gives me this error:
Your "JAVA_HOME" environment variable does not specify a valid file ...
0
votes
0answers
5 views
New Row Everytime I Refresh Page
I am new to coding and was wondering why whenever I input a new name and location I get an additional empty row? The new row appears even when I refresh the page both in SQL and in the browser. Thanks
...
0
votes
0answers
6 views
How to combine two multiple trading strategies into single strategy?
I have Two indicators with me -
1st Indicator - Stochastic with 1 hour time frame
2nd Indicator - MACD with 1 min time frame
I want combine Buy/Sell signals from these two indicators into one single ...
0
votes
0answers
7 views
python dictionary to numpy array slicing
I have a dictionary.
cars_dict=
{
'cars_per_cap': [809, 731, 588, 18, 200, 70, 45],
'country': ['United States','Australia','Japan','India','Russia','Morocco','Egypt'],
'drives_right': [True, False, ...
-2
votes
0answers
7 views
please help me to fix this problem,I make a simple counting app that did not run on my android phone,I attach the log
2021-01-17 08:59:19.375 23782-23782/? E/zygote64: Unknown bits set in debug_flags: 0x8000
2021-01-17 08:59:19.567 23782-23807/com.dhoulka875.tasbeeh E/ActivityThread: Failed to find provider info for ...
0
votes
0answers
4 views
How to fix AutoValidateMode issue on Flutter?
I am making an app for Phone Authentication with Firebase and Flutter. I am not using any form field but I am getting error of AutoValidateMode Not Found. I have been looking for solution on net since ...
0
votes
1answer
12 views
JS Regex to remove numbers after last hyphen in a string
Trying to remove numbers after the last hyphen. I tried the below but not working.
const str = 'HYC-HTY-VB23';
const result = str.toLowerCase().replace(/-\d*$/, "");
console.log('result = ', ...
0
votes
0answers
3 views
Connecting to local postgresql instance using spring boot application
Looks like my spring boot project freezes because it's trying to connect to the database you can see my first half of the question if this question is not clear.
So here I have the applicaiton....

