All Questions
23,997,980
questions
0
votes
0
answers
3
views
Is followers api from twitter is free or need to pay?
I use twitter api v2 (Access Token and Secret are "Created with Read and Write permissions").
When I call await twitterClient.v2.followers('..id..') does it require a paied program? or it's ...
0
votes
0
answers
2
views
Two jar files in quarkus target directory
Whenever I build my quarkus project using quarkus build command it generates two jar files in the target directory of my program. One of them is at the root of the target directory and has the name of ...
0
votes
0
answers
3
views
How to install Credhub as a service broker on Korifi?
I am very new to the Kubernetes space and the Korifi management/ installation also.
Was able to install korifi over a VM (accessible publicly)
Need some answers relating to credhub.
How can I make the ...
0
votes
0
answers
4
views
SVG file is not displayed in android flutter app
This is my pubspec.yaml file code:
flutter:
assets:
- assets/logo.png
- assets/welcome_bg.jpg
- assets/logo-nbg.png
- assets/create_screen_icon.svg
- assets/upload_image.svg
...
-5
votes
0
answers
17
views
What is the best computer language for easy programing to implement database? [closed]
whats the best computer language to be used with databases
tried to connect database with c++ but didnt work
would like to have suggestion which are easier to use then python since python is the most ...
-1
votes
0
answers
6
views
How to code in HTML ,CSS and JS ,so that each page open separately when I click on the navbar items ,without creating particular html pages for each?
Is there any JS code to perform this operation.
I Tried But when I click on the navbar that open in a new page but the content are not showing on that page .I also want that content should be there ...
0
votes
0
answers
10
views
How to write unit test to cover lines inside a method of a Java class?
In my project we use mockito to write unit tests and sonar and jacoco for code analysis and coverage.
I am new to mockito, but if I have a method like below:
public void foo(String id, Date d) {
...
0
votes
0
answers
8
views
React Hook - useEffect clarification
I am a newbie trying to understand what is going on here. Would be thankful to anyone able to explain what I am missing here. I am following an example I found in the internet. Why is Steve (index ...
0
votes
0
answers
6
views
I get this error in Xcode 15 /usr/lib/libstdc++.6.0.9.dylib?
Hy guys,
all was working fine with my iOS App before updating my M1 to Sonoma and Xcode 15.
Now I get this error "Build input file cannot be found: '/usr/lib/libstdc++.6.0.9.dylib'. Did you ...
0
votes
0
answers
7
views
Local Reports in Visual Studio 2022
I took over an application (WinForms) developed a few years ago that needs to run on older computers as well. In Visual Studio 2022, when I modify a report, the schema changes from 2010/01 to 2016/01. ...
0
votes
0
answers
5
views
i have problem solving question related to compare files
i have 2 files where my products exists and i will compare both files and it will tell me these products is missing which exists in file2 and i will write another program and i will give the path of ...
0
votes
0
answers
5
views
useEffect render previous value, instead new setState
Im trying to set set an IP address into "" and (last queried value).
But its always render same state and render new state after second render.
I know its because of setState syncronomous ...
0
votes
0
answers
3
views
Flutter BLoC Login authentication
I'm building Login page for my app, with Bloc.
i think i did everything correct, because i don't have any error in my bloc folder.
my problem is that i can't see my Fields, login button and. etc
I ...
-1
votes
0
answers
13
views
Is there a way to calculate all possible permuations of a string using python? [duplicate]
I have created this program using random module, But I was think if there was a structured alogritm to do the same what would it be?
Link: https://github.com/akgupta1337/string_permutations_generator
...
0
votes
0
answers
4
views
React Native Firebase Authentication On Cold Start
I am running a react native app v0.72 and am using an emulator for ios.
I am having some issues from cold start of my app gathering currentUser. Any reading online is indicating this is not available ...
-1
votes
0
answers
7
views
Can't reach database server at `localhost`:`3306` [duplicate]
So in my next app where i used prisma to connect to mysql database and it's working fine on development whenever i deploy the app in vercel gives this error
PrismaClientInitializationError:
Invalid ...
-1
votes
0
answers
8
views
Which approach to implementing a GUI for a torrent client is better?
I am implementing a torrent client with a GUI where a user can select what torrent file he wants to download. To download a torrent file, the client connects to a tracker and sends a get request to ...
0
votes
0
answers
5
views
npm build for Laravel Vite on cPanel Shared Hosting without Local Build
I'm encountering issues deploying my Laravel Vite app on a cPanel shared hosting environment. My npm version is 5.6.0, and I'm constrained to using Node.js v10.0.0 due to the hosting plan limitations (...
0
votes
0
answers
3
views
How to decrease the font size when using the $$ environment in Rmarkdown
I am working in Rmarkdown and I want to have a pdf output. My fontsize is set to 11pt. I want to write the following sentence:
If there is gamble to win G or lose G with a probability of $\frac{1}{2}$,...
0
votes
0
answers
4
views
Django Performance improvisation with async views
I am relatively new to django!
In my django project i had lot of views and every view had database I/O operation and also had chat application in the same project using django channels (it don't had ...
0
votes
0
answers
4
views
Chat app problem with UDP discovery Java maven
I'm currently working on a chatsystem project for school and I'm experiencing issues with network management.
The goal of the application is a local chat system. When the app is launched, we need ...
0
votes
0
answers
6
views
filling in null values of location in a dataframe
data set in question
so, i have a dataframe with columns latitude and longitude that are float, along with that there are columns borough, on street name, cross street name, off street name which are ...
-1
votes
0
answers
10
views
"Error: 'ModuleNotFoundError' when trying to import a module in Python"
I am encountering an issue while trying to import a module in my Python project. The error message I'm receiving is
ModuleNotFoundError: No module named 'example_module'.
I have already installed ...
0
votes
0
answers
4
views
How to Establish Initial Connection in an Azure Web Application?
Hello StackOverflow community,
I am currently working on a web application that is hosted on Microsoft Azure. I am at the initial stages of development and facing some challenges in establishing the ...
0
votes
0
answers
5
views
React Native Reanimated entering animations does not work
My issue here this callback in entering animation on Animated.View does not work on Android while it works perfectly on IOS. Do you know any possible reasons?
const contentHeight = useSharedValue(0);
...
0
votes
0
answers
3
views
"errorMessage": "'httpMethod'", "errorType": "KeyError",
Trying to PATCH data into DynamoDB, GET and POST work just fine. when it comes to PATCH I'm getting this error
{
"errorMessage": "'path'",
"errorType": "...
0
votes
0
answers
13
views
How to split string in pandas column
I am new to Pandas. I have data like this:
Category Sales Paid
Table 1 table Yes
Chair 3chairs Yes
Cushion 8 cushions Yes
Table 3Tables Yes
Chair 12 ...
0
votes
0
answers
6
views
Executing blocking calls with Mutiny and PanacheRepository
I'm currently learning Quarkus/Microservices, starting by making a simple REST-interface with a Postgres database.
My database has two tables (Event, Tag) with an m:n relationship. To create a new ...
0
votes
0
answers
7
views
Get proper startup directory in PowerShell when executed via a shortcut file
I have a shortcut file that points to a PowerShell script file that is located in a different directory, and when that PowerShell script is executed via the shortcut file I require to obtain the ...
-1
votes
0
answers
8
views
I have an obscure border on my input in Firefox
I want to make the input element completely devoid of border, I removed the border, made its length 0, removed the outline, but still Firefox shows a border of 2px on each side. Why can this happen? I ...
0
votes
0
answers
12
views
SDL2 crashes midway through rendering fractal in C++
I'm working on a program using SDL2 and C++ to get to know how to use them better. It seems to render correctly however midway through rendering, it seems to crash immediately. And the points at which ...
-1
votes
0
answers
11
views
Problem while comparing two .toString() arrays JS [duplicate]
I have following code for comparing winning patterns that are stored in array and player position.
function checkForWin(winPattern,playerPositions) {
winPattern.forEach(element => {
...
0
votes
0
answers
7
views
Istio on GKE is not working (Connection refused)
I'm currently try to setup a Istio on my GKE cluster for some test. But I don't know why my setup is not working... When I try to use http port to check my service nothing appear Connection refused. ...
0
votes
0
answers
11
views
require to import a trait that has been imported
I get a confusing error like this,because bio_types::genome::AbstractInterval has been imported in src/main.rs:2. So can anyone explain this and how to solve it?
error[E0599]: no method named `contig` ...
0
votes
0
answers
11
views
Is this a bug in Visual Studio with modules?
Make a module file:
export module MyModule;
#include <iostream>
Then in main.cpp (not a module):
import MyModule;
#include <vector>
int main(void)
{
return 0;
}
Compiling in either ...
-1
votes
0
answers
7
views
What's the best way of emulating try/catch with golang
What's the best way of emulating a try/catch in golang . Consider the psuedo-code in java to execute a bunch of sql
db.Attach(dbFile)
try {
db.Exec(sql1);
db.Exec(sql2);
db.Exec(sql3);
} ...
0
votes
1
answer
8
views
why this app can't be scrolled in the android device?
for writing a pull up to refresh demo, I write this code
import 'package:flutter/material.dart';
void main() => runApp(App());
class App extends StatelessWidget {
@override
Widget build(...
0
votes
0
answers
4
views
Twilio SMS Error - Status 401, Code 20003
I'm trying to send SMS using Twilio in my Node.js application, and I'm encountering an issue.
const twilioClient = twilio(TWILIO_SID, TWILIO_TOKEN, {
logLevel: 'debug',
});
const message = await ...
0
votes
0
answers
15
views
Enum is not populating with the right options in Asp.net
I am new to Asp.net and am facing the problem that when I populate the enum as a list, it sets a default value and doesn't show the first option from the <option> tag as the start it shows it ...
0
votes
0
answers
19
views
How can I get the ID of a document in Firebase
I have a database where cards are stored in cloud firestore my problem is that when I run:
<View style={styles.container}>
{cards.map((card, index) => {
console.log(card.id);
...
0
votes
0
answers
8
views
How do I query a Flask SQLite database with SQLAlchemy outside of the Flask app url endpoints?
I'm creating a Flask REST API. It's working well as an API. I've had a growing need to connect to the app's sqlite database on the side for scheduled tasks (which this post could address), yet also ...
0
votes
0
answers
26
views
Unsure of how to compile this cpp project
I've been trying to get this project from github up and running, but I've encountered an issue with how the compiling works. I'm very inexperienced with compiling commands, so I looked around online ...
0
votes
0
answers
8
views
how to fix this? the "Scan Screen"
I'm trying to make a mobile app where the "Scan" button is pressed. it will have a camera access and I have another file for the scan screen. I keep getting this error. this is the only ...
0
votes
0
answers
12
views
Opening a new HTML file upon logging in
I can not get to the file success.html upon successfully logging in.
Here's my client side code
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
<style&...
0
votes
0
answers
11
views
Generic struct that can hold either Rc<RefCell<T>> or Arc<RwLock<T>>
I'm struggling with the implementing a struct in Rust that is able to hold either Rc<RefCell<T>> or Arc<RwLock<T>>.
The motivation of such a design is to allow the user to use ...
-1
votes
0
answers
20
views
Why is this linked list code causing a segfault?
Hi I am experimenting with linked lists and I joined two on-line examples together and got it to run, but why does it cause a segfault at line 44? that's what the codeblocks debugger said.
#...
0
votes
0
answers
5
views
I need to append the Id after the first step in my stepper "angular"
I need to append the ID of my Item in my stepper after the first step
EXM:
the API call is happening after the first step for initial creating the it returns an Id that I should use in the next steps ...
0
votes
0
answers
6
views
Why does WildFly not support javax packages during deployment
I'm encountering an issue when deploying my web app to WildFly. It seems that WildFly does not support javax. Consequently, upon starting the app, I'm greeted with a 'forbidden' message on a blank ...
0
votes
0
answers
8
views
Angular Signals losing state on router.navigate?
Not sure what's going on, but if an error is thrown, ObserveEmittedErrors re-routes to an error page (using route.navigate['/error']
Parent Component
This is the parent component, and this runs on its ...
-1
votes
0
answers
11
views
CSS flexbox not aligning items as expected in responsive web design
I am facing issue with CSS flexbox while working on website. The layout doesn't align when screen size changes.
The layout doesn't align when screen size changes. Following is the code that I have ...