All Questions
23,438,277
questions
0
votes
0
answers
3
views
TypeError: Vonage is not a constructor
I'm trying to send an SMS message to a random phone number from a node js file. I'm using my Vonage account. When I try this from the web page of the Vonage (https://dashboard.nexmo.com/getting-...
1
vote
0
answers
4
views
Do I need to connect default firebase domain in order to get SSL certificate?
I've deployed the frontend of a web app to Firebase. Now when I try to make request I see that request is going to https://the_url but the backend link is http://the_url and I get the following error.
...
0
votes
0
answers
4
views
Python Opencv draw rectangle from smaller frame
I am currently working on a face detection algorithm using MTCNN.
With the below code, I am able to show the frame containing my face:
`def run_detection(fast_mtcnn):
frames = []
...
0
votes
0
answers
16
views
how do I access the values inside hash
I want to log the second index in hash , that is 2
I tried
function getSecondSmallest(nums){
let hash = {};
for (let i = 0; i < nums.length; i++){
let key = nums[i];
hash[key] =...
0
votes
0
answers
5
views
Asp mvc5 connect to multi database
I have asp mvc5 project I want to add multi database all database have identity tables and I want two work with databases in same controllers
Search in YouTube but not found it
0
votes
0
answers
6
views
Get the public holidays of each year using Laravel/JavaScript
I'm beginner in web programming, and now I'm trying to get the number of days between two dates excluding the weekends and the public holidays of each year of our country.
By using the JavaScript, I ...
0
votes
0
answers
6
views
Absolute positioned Container on App Bar - Flutter
I am working on a UI, it requires putting an absolutely positioned container on the top of the app bar, This is the required result
0
votes
0
answers
6
views
How can I pass my proper normalisation mean/std values used in training to the tflite Model?
I have an embedder model that takes an RGB image as input and outputs two vectors of shapes (batch_size,128) and (batch_size,512).
The model was trained with the following preprocessing of the image:
...
-1
votes
0
answers
5
views
retrieve data between dates in R
Using
mydata <- Quandl.datatable('QUOTEMEDIA/PRICES', date='2022-01-08', paginate=TRUE)
I am trying to get all the date from 2022. I have tried a few different ways. But they all return errors.
...
0
votes
0
answers
10
views
I have written this code in python and while I am pressing the buttons it should move to the right and left accordingly but it is not
here is the pic
Here i have written the code for playerX_change (it is the value which was first defined as 0)and when any key was pressed like left or right it should respond by changing the value of ...
0
votes
1
answer
7
views
From Ingress to IngressRoute with CertManager, HTTP01 Challenge and Let's Encrypt ClusterIssuer
I have a Kubernetes (v1.25.2) cluster running with cert-manager 1.11.0 and Traefik 2.9.6.
For some services I want Let's Encrypt to auto sign certificates. For some reason, it feels nicer, to use ...
-1
votes
0
answers
6
views
timestamp in PHP and Javascript
I have this timestamp how to convert it to unix timestamp
1.6749018E+12
Or is there any way to decode it in PHP let me know.
have good day!
My code
$t = '1.6749018E+12';
print date('H:i:s', $t);
Not ...
0
votes
0
answers
15
views
How to efficiently display errors in C?
I tried a new way of protecting my code through some binary flags.
I think binary flags are very handy in such situations because it is easy to check for conditions, for example the FAILURE flag below ...
0
votes
0
answers
6
views
the port is not being forwarded to the docker compose
I have docker-compose.yml file :
version: "3.7"
services:
postgres:
image: postgres:13.3
environment:
POSTGRES_DB: "PIDdatabase"
POSTGRES_USER: "postres&...
0
votes
0
answers
7
views
dynamic letter-spacing on input
How to apply letter-spacing between specific chars on input?
On EAN13 barcode values I want to apply a wider char space after char 1 and char 7. The below is how it's applied on html elements on the ...
0
votes
0
answers
11
views
Extract 2 colums out of a Dataframe
I have a very simple Problem I guess.
I have loaded an csv file into python of the form:
Date
Time
18.07.2018
12:00 AM
18.07.2018
12:30 AM
...
...
19.07.2018
12:00 AM
19.07.2018
12:30 AM
...
......
-1
votes
0
answers
8
views
Why would tsc always compile fine on Windows, but on a Debian Linux deployment server often hang indefinitely?
I create full stack MERN applications with Node/Express/Vite-React on Windows and deploy them on a Debian Linux machine in the cloud at Hetzner.
I use TypeScript on both frontend and backend, and so ...
0
votes
0
answers
6
views
django.db.utils.OperationalError: no such column: blog_follow.followed_me_id
I tried delete migration file and python manage.py makemigrations [appname]. However, this is not solve my problem
models.py
class User(AbstractUser):
followers = models.ManyToManyField("...
-1
votes
0
answers
9
views
What JavaScript SVG Viewer libraries exist for SVG inspection/annotation?
I wasn't successful after hours of research and I am looking for JavaScript SVG Viewer libraries with the following features:
Zooming (best by scrolling), panning and fullscreen (panning optional)
...
0
votes
0
answers
8
views
why can i not use ctrl + v with a virtual event tkinter text widget python
i use a tkinter text widget and i have copied the script in this answer to bind a event for every change the text widget.
the code for the text widget:
"""I found this script here: ...
0
votes
0
answers
5
views
Mismatched input 'strategy' expecting 'end of line without line continuation'
Good day, I'm new to Pine Script, please help to solve "Mismatched input 'strategy' expecting 'end of line without line continuation' " in strategy.
This error appears in 'strategy.entry'
...
0
votes
0
answers
6
views
file_put_contents permission denied due to file ownership issue
I am using PHP file_put_contents to generate PDF files inside a directory named invoices.
This was working fine for a long time but stopped working with no changes to the code generating the invoices (...
0
votes
0
answers
12
views
how to Codeigniter 3 start
I formatted the computer, then I started Codeigniter 3, but it gave such an error, can you help?
I installed xampp but it doesn't work.
-3
votes
0
answers
10
views
Eloquent JavaScript Looping a triangle from Eloquent JavaScript Variable - Reference Error [closed]
for (let i="#"; i.length < 7; i += "#"); {
console.log(i) }
ReferenceError: i is not defined
i try to run the solution but it doesn't work.
0
votes
1
answer
8
views
Getting java.lang.ClassCastException in Set java
Created two classes:
Employee
Main
In Employee class, used to initialize variables and for getters and setters.
In Main class, used for printing the Employee details using TreeSet.
During ...
-1
votes
0
answers
13
views
TypeError: object of type 'dict_keyiterator' has no len() [duplicate]
Traceback (most recent call last):
File "D:\Downloads\script.py", line 46, in word = get_random_word()
File "D:\Downloads\script.py", line 7, in get_random_word
word = random....
0
votes
0
answers
5
views
Google Identity: what is the recommended way to get a new access token after it expires
I am getting an access token like this:
private async _promptForToken(scopes: string[], prompt: "none" | "consent"): Promise<string> {
const that = this
...
0
votes
0
answers
7
views
Debug .NET runtime in Visual Studio Code
When I attempt to "step into" code from the ASP.NET itself, nothing happens.
I suppose that VSC doesn't have the source code for it? How can I do this sort of deep debugging?
Environment:
....
0
votes
0
answers
11
views
ObservableCollection<T> every elemnt every property are null
I have a rest api response of type List
public partial class BaseViewModel : ObservableValidator
{
public event NotifyWithValidationMessages? ValidationCompleted;
public virtual ICommand ...
0
votes
1
answer
11
views
on-to-many relationship on same table
I have a question about a one-to-many relationship on the same table.
So I have this two tables:
CREATE TABLE IF NOT EXISTS public.djangoadmin_animal
(
id bigint NOT NULL GENERATED BY DEFAULT AS ...
0
votes
0
answers
5
views
API requests from browsers successful but getting HttpErrorResponse 0 when making request from android device
I made an ionic app that makes POST, GET request from Laravel 9 running on a remote server. When I make API requests (GET, POST) from my browser, they work fine. When I try on an android device I get ...
0
votes
0
answers
7
views
In android studio room database how to write query to get data from 1 table of 2 different coloum
My database have 1 table name rio
In rio table there are 3 coloum srno, equipment and address.
I use query to get data from table
Select * from rio where equipment like :vid
List notes(String vid);
...
0
votes
0
answers
5
views
How can I extract the headers from multiple HTML tables using C# HTMLAgilityPack?
I'm trying to iterate through each table, and extract the headers of each table separately. This is what I've got so far, but whenever I run this it seems to be extracting the header of all tables per ...
0
votes
0
answers
6
views
Define Jackson Wrapper Name from its Inner Class
I'm creating a common class to standardize my JSON structure as written below,
public class Wrapper<T> {
private SoaHeader soaHeader;
private T payload;
}
public class PayloadFoo {
...
0
votes
0
answers
8
views
Why is do I get this error when I try to deploy Flask in Railway?
I'm using Railway to deploy my Flask server, and it runs into this message while I was trying to deploy. At this stage, it was going through my requirements.txt file...
executor failed running [/bin/...
0
votes
0
answers
7
views
Connection refused python3. st.py
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /ultrasecurity/Storm-Breaker/main/Settings.json (Caused by ...
-3
votes
0
answers
22
views
Hello! I've been working this for few days, still can't get the right solution [closed]
The program is C language, and I can't get the proper solution please help me
-1
votes
0
answers
15
views
How can i add additionional datas to the existing string array values in php?
$strarray = explode(", ",$msg_file);
$arrsize = count($strarray);
for($i=0;$i<$arrsize;$i++)
{
$fileNameToStore[$x] = "<a href='".$...
0
votes
0
answers
6
views
Postfix: lost connection after CONNECT from host
I'm trying to connect to a postfix server from roundcube in another host (all in LAN).
I get always a "lost connection after CONNECT from myhost".
This is my full log:
Jan 28 11:49:46 ...
0
votes
0
answers
8
views
Find Y Point given X point and Radius and Radius Point in Arc?
I have a Arc with Radius of 12cm and Radius position (x,y) is (12,0).
How to find Y Point given X point?
X = 6;
it can be "Y = √(R² - X²)"?
0
votes
0
answers
7
views
visual studio code doesn't give me space between curly brackets in CSS when i hit enter
i want vc code to create space when i do { + enter key
VS Code does this
h1 {
|}
i want VS Code to do this
h1 {
|
}
0
votes
0
answers
8
views
Antd form value not recieved onFinish
I am developing an admin portal using Antd and this is something the I need in the design.
I managed to develop the design using the following code
<Form
labelWrap
wrapperCol={{ span: 24 }}
...
0
votes
0
answers
17
views
Wallpaper is not setting up once set one wallpaper
I have a video wallpaper app in which I am trying to set the live wallpaper for the first time it works fine. But the second time it does not change the wallpaper unless I restart the device.
I tried ...
0
votes
0
answers
7
views
django deploy nginx auto log out
I am experiencing an issue with my Django application where I am automatically logged out when trying to access my admin panel. I suspect that the problem may be related to session preservation. To ...
0
votes
0
answers
6
views
SharePoint - How do I change senders email address from "User Name <no-reply@sharepointonline.com>"
Here is the problem:
Sharepoint was working fine on and before the 9th of December, 2022.
And by this, I mean and still want to be able to have use of the ability for the internal users of our ...
0
votes
0
answers
9
views
how can i move hamburger menu to right side on maui android?
im making android/ios app use maui.
i wanna move to my hamburger button to right side.
this is my appshell.xaml.
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class=...
0
votes
0
answers
8
views
Entity Many to Many Get Data
hello I work on a Api and when i want get data from Many to Many List i recieve a null
the connection whit db is good and Post date work
but when i get info by the database the table for the many to ...
-1
votes
0
answers
16
views
Hi why it cant print [duplicate]
I started programming yesterday and now I'm learning if elif statement and why it doesnt work?
dy = str(input("Write a number: "))
if dy.isnumeric() == True:
if dy == 1:
print(&...
0
votes
0
answers
10
views
Rewriting a function to asynchronous function
I am trying to rewrite a function to work asynchronously in order for a pop up to appear regardless of server side response time. The function:
async GetAllItems(Items) {
try {
const ...
0
votes
0
answers
8
views
Flutter installation keeps failing?
i followed angela yu steps in installing flutter on my mac but it keeps showing this
Flutter (Channel unknown, 0.0.0-unknown, on macOS 13.2 22D49 darwin-x64,
locale en-US)
! Flutter version 0.0.0-...