All Questions

Filter by
Sorted by
Tagged with
0votes
0answers
4views

I get 404 when nginx reverse proxy. nextcloud

I am having a very difficult time. Below is the configuration that originally worked in Apache. <VirtualHost *:443> ServerName example.com SSLEngine on SSLCertificateKeyFile [[[PIRVKEY]]] ...
user avatar
  • 1
0votes
0answers
4views

Error: 'Flutter\Flutter\FlutterCode\StatefulWidget\android' is not recognised internal or external command, operable program or batch file

Error: 'Flutter\Flutter\FlutterCode\StatefulWidget\android' is not recognised internal or external command, operable program or batch file. Error: Could not find or load main class org.gradle....
user avatar
-9votes
0answers
17views

You are asked to model a vehicle [closed]

Lab work 2: You are asked to model a vehicle rental management system for a car rental service provider with multiple branches across Australia in Python. A vehicle can be hired by part of day or ...
user avatar
0votes
0answers
9views

K8s operator listen to secret change

We have created few month ago controller which run great using kubebuilder, Few weeks ago we added a “listener” to a secret which when the secret is changing (secret properties) The reconcile is ...
user avatar
  • 311
0votes
0answers
8views

How pandas calculates correlation between categorical variables and continuous variables?

Suppose I have a dataframe something like below: age sex bmi children smoker region charges 19 female 27.900 0 yes southwest 16884.92400 18 male 33.770 1 ...
user avatar
0votes
0answers
6views

await user.sendEmailVerification - Unexpected internal error (Sending/Creating sign in email link)

I am just starting out with flutter and i'm using Firebase as my back-end authentication. I have been having no issues creating user accounts/logging in/logging out. But now I am setting up email ...
user avatar
  • 1
0votes
0answers
4views

PowerBI: How to assign unique values to a Column containing text data

Say I have a column with Text data like: A B A D I would like to create a new column so that the end result is: A 0 B 1 A 0 D 2 What is the correct way do this is PowerBI Power Query Editor? I ...
user avatar
  • 2,737
0votes
0answers
4views

long press or long click on Google Map implementation react

I just want to open the context menu on mobile by long pressing on the map, I looked into docs but I couldn't find anything similar.
user avatar
0votes
0answers
3views

File schema object properties in openAPI

How do i define an openAPI schema for a file? I understand that it is an object but I don't know how to define it so that the person reading the document will understand that the given request ...
user avatar
0votes
0answers
7views

What is the easiest way to use the PayPal API with Python

I am trying to create a payment method with PayPal. However, I have found it to be quite difficult. I have looked around on google and stuff but cannot seem to find a easy way to do this. This payment ...
user avatar
0votes
0answers
20views

Reading multiple csv file from txt file in c++

The main task is to read multiple CSV data files whose names are stored in the met_index.txt and then add the data in the Windlog vector. All these files are stored in the data folder. I don't know ...
user avatar
0votes
0answers
4views

Is it possible to have a circuit break for the database with Spring Boot?

Having a circuit breaker with Spring Boot for external calls (e.g. HTTP) is a common pattern that is rather easy to put into place, for example with resilience4j. I cannot find any information about ...
user avatar
  • 3,149
-2votes
0answers
12views

Any suggestion for making a desktop messenger? [closed]

I'm making a simple messenger with client/server architecture. I need help for making UI for the client-side. I'm almost done with the server-side which I wrote in java. Java is the only language I ...
user avatar
1vote
1answer
9views

How to make one button with two states of click android

I am trying to make one button make 2 functions if oneClick to give me an ID and if long click to take me to another activity this is my code: if(caseID == 1){ btn.setOnItemClickListener(new ...
user avatar
  • 159
0votes
0answers
5views

Selenium using python and configuration problem

I have installed Pycharm community edition and configured the interpreter successfully which includes selenium also. Wen I am trying to write selenium code like calling webdriver . It is not ...
user avatar
-2votes
0answers
22views

How to remove duplicate emoticaons in given text

I would like to know whether there is n approach to extract district emoticons import emoji import regex as re orig_list = ['Get 🌷🌷🌷🌷🌷🌷🌷🌷❤️❤️ extracted, 😙😙😙😙😙😍😍😍😍😍 are 👏 in this ...
user avatar
0votes
0answers
4views

Azure AD B2C Multiple Tenant Authentication

I've three different Azure AD B2C client and I'm working on setting up Multi-tenant Web API application. I know how to configure single/multi tenant from a single B2C domain. But I need to validate ...
user avatar
0votes
0answers
7views

Is it possible to upgrade log4j 1.2.8 to log4j 2.17 while using JBoss 4 and Java 1.4?

On a legacy project tech stack using is, Java 1.4, JBoss 4, EJB 1.x, MS-SQL database server 13.x Enterprise version. Is it possible to upgrade log4j 1.2.8 to log4j 2.17 without upgrading to Java 8 and ...
user avatar
  • 39
0votes
0answers
18views

Abstract class implementation in php

There is a code supporting calculation if a car is damaged. Now it should be extended to support calculating if a painting of the car's exterior is damaged (this means, if a painting of any of the car ...
user avatar
0votes
2answers
19views

numbers as command-line arguments and prints the count

I want to take numbers as command-line arguments and prints the count of numbers that end with 0, 1, 2, etc. up to 5. Example: bash test.sh 12 14 12 15 14 Expected Output: Digit_ends_with count 0 ...
user avatar
  • 449
0votes
0answers
5views

How to calculate accuracy of Latent Dirichlet Allocation in python

I have implemented Latent Dirichlet Allocation. Now I have to calculate accuracy of that model. I don't know how to do it. Please help.
user avatar
0votes
0answers
2views

Slack OAuth HTTP Post Request returns "undefined" access token

I'm using the following code in a simple slash command app to handle OAuth for public distribution of my app: const express = require("express"); const bodyParser = require("body-parser&...
user avatar
0votes
1answer
15views

Delete an element from an array (RecoilJS)

I have a form where I put a float value (1.1, 1.2, 1.9 and so on) and I want to store a bunch of them inside an array on an atom: import { atom } from 'recoil'; export const valueState = atom({ ...
user avatar
0votes
0answers
5views

Why does the computation time significantly change when I call both functions or switch functions?

I have some trouble understanding why the computation time spikes significantly in my program. I am trying to obtain some indices and I want to time which one is faster. The following code is part of ...
user avatar
0votes
0answers
7views

Accord.VIdeo.FFMPEG the type or namspace name 'FFMPEG' does not exist

I am trying to make a simple C# console app (later in WinForms) in Visual Studio which converts images into a video. I tried it with AForge.Video.FFMpeg but it always said 'Could not load file or ...
user avatar
-1votes
0answers
6views

ipmitool errors when monitor remote server

I have installed the impitool on a CentOS server 1 and want to monitor another CentOS server 2. Server 1 can ping server 2 correctly. The impitool status is as following: [root@centos7 ~]# systemctl ...
user avatar
  • 577
0votes
0answers
6views

Unable to fetch Parent data from Child

I'm trying to see whether a cab is assigned to any employee so I can fetch that Employee Id and simply to set cab as null, but @OneToMany mapping, simply returning a list of Employees & by this I'...
user avatar
  • 1
1vote
0answers
12views

Algorithm for 'pixelated circle' image recognition

Here are three sample images. In these images I want to find: Coordinates of the those small pixelated partial circles. Rotation of these circles. These circle have a 'pointy' side. I want to find ...
user avatar
1vote
1answer
13views

How do class declaration parameters work in python?

Recently I came across SQLModel package. It combines pydantic and sqlalchemy features to work with database objects. What I noticed in documentation is that table=True parameter that you use to ...
user avatar
-1votes
0answers
9views

How to avoid the outside Click from getting triggered when user tries to select from dropdown menu items [closed]

https://codesandbox.io/s/outside-alerter-hooks-forked-d6grji?file=/src/index.js here is an example that I forked from one of the solutions for a question provided on stackoverflow. Have made some ...
user avatar
0votes
0answers
10views

ITMS-90725 and iOS SDK 15

First off, not an Apple groupie. I guess I am one of those out there that have to suffer at their messy, half baked, narcissistic, broken phased roll-outs of broken updates on their publishing ...
user avatar
  • 119
0votes
1answer
13views

Restoring the state of a SearchView and filtering LiveData with the restored state

I'm using a SearchView in my layout to let a user search for categories. The problem that arises is when restoring state when i navigate away from the fragment and come back (View gets restored)... ...
user avatar
  • 1,964
0votes
0answers
7views

Have a docker-compose with spark and postgresql, cannot connect to postgres via spark-shell

I'm using docker-compose with spark and postgresql, but I get an error when I'm trying to connect to postgres from spark. My docker-compose file is: version: "3.9" services: postgresql: ...
user avatar
0votes
0answers
12views

user existence check not working - discord.js

I'm trying to write a discord bot. Now there is one command in which another user is selected. So far, all commands work except for one, checking for the existence of a user. That's how I do it if (!...
user avatar
  • 35
0votes
0answers
17views

Shift the underline to the right

Following this question of marking a position between 2 characters, somebody suggested to use decoration of Monaco Editor. I tried the following code in the playground. (* JavaScript: *) var editor = ...
user avatar
  • 8,030
0votes
0answers
7views

EF Core - Many to many relationship using EntityMappingConfiguration

I'm having a slight problem trying to configure a many-to-many relationship. I have the following classes: public class User { public int Id; public virtual IEnumerable<Group> Groups; } ...
user avatar
0votes
0answers
3views

React-tooltip doesn't close when mouse leave

I have used react-tooltip on a login page and set the tooltip to trigger on mouseclick. But I want to tooltip getting off when the mouse leaves the element. I couldn't find a way to do it. enter image ...
user avatar
0votes
0answers
9views

npm ERR! gyp info , npm ERR! gyp ERR! find VS

npm ERR! code 1 npm ERR! path C:\Users\LENOVO\AppData\Roaming\npm\node_modules\truffle\node_modules\ganache\node_modules\keccak npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /...
user avatar
0votes
0answers
6views

How do get a 2D sprite to face the camera in a 3D unity game?

I've been trying to get it to work but most of the codes are either outdated or doesn't work can anyone help i need a code for unity 2021 ? I tried finding some codes but they are pretty old like from ...
user avatar
-1votes
0answers
11views

Understanding TVL or 3VL logic in SQL

Today I was studying sql and I stumbled upon the Three-Valued Logic and I'm having a hard time to understand the TVL AND and TVL OR table. Here is the TVL AND table AND True False Unknown True True ...
user avatar
  • 1,165
0votes
1answer
7views

how to remove slashes from any commands python telegrambot using aiogram

im new to python and now im working to telegram bot using aiogram, i want to make my commands without slashes "/" in front of my commands. the code i use @dp.message_handler(commands=["...
user avatar
0votes
0answers
3views

How to set Exoplayer as a service

I am trying to make a music player with exoplayer but i am not able to set it as a service class PlayerService : Service() { var exoPlayer : ExoPlayer? = null override fun onBind(p0: Intent?): ...
user avatar
0votes
0answers
3views

How do I use pretrained 'noisy_student' weights in my efficientnetv2b0 model?

I am creating an EfficientNetV2B0 model and want to use the pretrained noisy-student weights. from tensorflow.keras.applications import EfficientNetV2B0 efficient_net = EfficientNetV2B0(weights='noisy-...
user avatar
0votes
0answers
13views

How can I hold down the keyboard key with python

Im using the PyAutoGui module, but I cant do a keyboard key hold. Who can say me what im doing wrong or recommend me another python module for keyboard control. I tryed with pyautogui.keyDown(key): ...
user avatar
0votes
0answers
6views

Why is my NFT metadata not showing on opensea?

I am developing a NFT contract on ETH using open Zeppelin, and reached the stage where, I am deploy on rinkeby. However there appears to an issue with the tokenURI and contractURI as the image and ...
user avatar
0votes
1answer
22views

Instantiate C# class object using the string name

Is it possible to instantiate a class object having the name coming from string? string objectName = “abc”; MyClass objectName = new MyClass(); I want the class object to be generated as: MyClass abc ...
user avatar
0votes
0answers
5views

How to wrap properties with Jackson (Micronaut)?

I'm creating a microservice on Micronaut using Jackson. However, I didn't find how it is possible to nest some properties inside the json without creating a separate class? Entity JPA Class looks like ...
user avatar
0votes
1answer
16views

Is there a reason my input isn't showing up?

Working on a budget application. I'm trying to get the number I'm inputting to be redirected to a p tag, but it's not showing up. I tested my code and I was able to get the text (Your Balance) to show ...
user avatar
-1votes
0answers
4views

How can I generate a list from a pandas.core.frame.DataFrame? When I try to work with the data (graph for example), get error 'must be a 1D array'

I'm having issues with working with imported data from Eikon. I imported timeseries data from Refinitiv, but I cannot work with the data (such as to calculate averages or make graphs). I receive the ...
user avatar
-1votes
0answers
5views

When I am using agora_uikit package in flutter. it's show me complete black screen

agora_uikit Show me this error in the console when I am open the chat screen W/libc (26879): Access denied finding property "net.dns1" W/libc (26879): Access denied finding property &...
user avatar

15 30 50 per page