All Questions
23,470,459
questions
0
votes
0
answers
2
views
I want to check if file name is numbers
I have folder contains folders every folder contains different number .
So I want to get the last folder and add one to it, but sometimes the last folder contains letters and I want to skip it
...
0
votes
0
answers
6
views
I want to move the floating button further down
Center docked the floating button. I'd like to move the button down a bit more though. I don't know what to do... I've been struggling all day.
i want just 10 pixel point move down
this is full source
...
-1
votes
0
answers
5
views
How to improve core web vitals when showing good in google page speed
This is my website https://www.therapyroute.com/ I have improved lot of code and improved my cls (cumulative layout shift to 0.005)
But google still says it has bad cls , any clue ? It has been 20 ...
0
votes
0
answers
6
views
How to delete huge amount of records from MySQL using Spring Data JPA?
I have a MySQL table that contains millions of records and there is a purpose to delete all this records using Spring Data JPA. But there is a problem with out of memory that occurs during deleteAll() ...
0
votes
0
answers
3
views
SQL: How to find rows which can't be deleted
We have a database structure where one table is linked to by many other tables.
That linked table often contains orphaned entries that we want to delete (based on a soft delete flag). However there ...
0
votes
0
answers
3
views
mongoose: Remove object of array schema if the ID does not exist from another array schema
I do have 2 different schemas, one for the user and one for the jobs.
Job has something like manage which is an array of objects and there goes the ID of the user that applied for that job and the ID ...
0
votes
0
answers
3
views
With GlobalProtect VPN I need to retry many times before connecting successfully
I am using macOS Ventura 13.1 (M1 Pro CPU) with GlobalProtect VPN 6.1.0-58. Once I establish the VPN connection it is stable and it's working fine. But the process of establishing the connection is ...
0
votes
0
answers
3
views
Drupal 7 dependent dropdown not working in form alter
I am trying to implement the dependent dropdown option in Drupal 7 from this URL http://w3shaman.com/article/creating-ajax-dropdown-drupal-7. When changing the first dropdown value, it is showing the ...
0
votes
0
answers
3
views
Nestjs inside login() function if x not exist, than create, if y not exist, than create with x.ID
I have a nestjs code, login() function. Inside the login I check, that if department not exist, than create a new department, after I check, that if user not exist, than create new user. But in create ...
0
votes
0
answers
5
views
Long time query execution in different same type sqlit3 database
Situation
I have two sqlit3 database:
newsn3.db --> size: 122.229 kb
Table: Logs -> [Id: INTEGER, VariableId: INTEGER, Value: REAL, Timestamp: INTEGER]
Variables: Logs -> [Id: INTEGER, Name:...
-1
votes
0
answers
8
views
How do i find the most used values in an element of panda
10.223.157.186 - - [15/Jul/2009:14:58:59 -0700] "GET / HTTP/1.1" 403 202
10.223.157.186 - - [15/Jul/2009:14:58:59 -0700] "GET /favicon.ico HTTP/1.1" 404 209
10.223.157.186 - - [15/...
0
votes
0
answers
2
views
Firebase admin issue with `signBlob`
In the context of a custom authentication flow, I want to run admin.auth().createCustomToken(userId) inside a firebase function.
Everything works without a hitch with the emulator, but once deployed, ...
0
votes
0
answers
5
views
How to get multiple key value pairs from list of JSON dictionaries
I have a JSON file called "hostnames" formatted like below
{
'propertyName': 'www.property1.com',
'propertyVersion': 1,
'etag': 'jbcas6764023nklf78354',
'rules': {
'...
0
votes
0
answers
4
views
[MongoDb][net core]Improve performance of Count and Group By for more than 50 million record
I'm using MongoDB.Driver(.net core) with MongoDB. I'm writing aggregate data and I see that mongo count and group is very very slow. My API run around 2 minutes.
Is any way to improve the performance ...
0
votes
0
answers
4
views
Read Data from Excel sheet Column wise in flutter
I am Using excel: ^2.0.1 for reading data from my file picked with File Picker. I am able to Read each cell by
void getExcelFile() async {
FilePickerResult pickedFile = await FilePicker.platform....
0
votes
0
answers
6
views
Pipe program pass back and forth
I am trying to create a pipe program. by passing back and forth between two pipes. However when the input becomes 6 or more, I get error: standard input bad file descriptor. I cannot figure out where ...
0
votes
0
answers
4
views
How to drop in and drop out from dropable zone jquery
I work with dropable zones, and i have 2 zones is a Dropbox where a create boxes and Final Destination where i drop boxes, for now it's working good but if i want to drop out from Final Destination to ...
0
votes
0
answers
6
views
python - How to add IAM bindings in GCP?
I am trying to add give a role to an user, on a folder.
I have this kind of working, but it actually replaces all the bindings on the folder:
from google.cloud import resourcemanager_v3
...
0
votes
0
answers
7
views
angular material 15 input status empty and has value
How can i set classes to check if input or daterang picker has value or not.
also the placeholder in datepicker not showing untill the focus.
how can i fix that without adding extera ts code?
0
votes
0
answers
6
views
AttributeError: module 'click.utils' has no attribute '_expand_args', when i'm tring to install en_core_web_sm
I am trying to install "en_core_web_sm",
the commands i ran is:
pip install spacy ( which ran perfectly and got installed)
python -m spacy download en_core_web_sm ( here i'm getting error &...
0
votes
0
answers
4
views
Encountered error while trying to install package. numpy error
I am trying to deploy a flask app into google cloud platform appengine and
i encountered the following error:
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build f504b76c-44b0-4d63-acf0-...
-1
votes
0
answers
7
views
I'm trying to export a GraphQLSchema using ES module but it does'nt work
const RootQuery = new GraphQLObjectType({
name: 'RootQueryType',
fields: {
projects: {
type: GraphQLList(ProjectType),
resolve(parent, args) {
return projects.find();
...
0
votes
0
answers
4
views
T-SQL Must Declare Table Variable, is it possible to have a variable that is not a table variable
I Would like to use a variable to insert values to a dynamic table name but get error message - Must declare Table Variable. Is it possible to do as similar code below? I know that one solution is to ...
0
votes
0
answers
4
views
Replace or Encode em-dash symbol in vb.net
while repalce the em-dash value as empty or another symbol then it doesn't work.
Dim sWebsiteText As String = "Hari—prasanth"
sWebsiteText = sWebsiteText.Replace("—", "")...
0
votes
0
answers
6
views
How to Automatically sign user in once verification code has verified their account in AWS Cognito sdk nodejs?
how can i automatically sign user in when they verify their verification token after registering in AWS cognito nodejs, because at the moment the user has to register verify token and then sign in, ...
0
votes
0
answers
5
views
Jenkins GIT integration issue SSL issue
I Integrated my local git (work correctly in command line )into jenkins configuration and i get the below SSL error :
"C:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- +refs/...
0
votes
0
answers
4
views
How to find the pulled date of an image in Harbor with skopeo inspect?
How to get the docker image when has been pulled with skopeo inspect?
When I use skopeo inspect --tls-verify=false docker://${image_path}:${tag} --config
I can only find the key value "created&...
0
votes
0
answers
5
views
facing network error from react axios while running e2e tests in github actions
Source Code Introduction
We are using Github as our source repository and Github Actions to run the CI workflow to execute the e2e tests.
We have one source code inside that we are using puppeteer and ...
0
votes
0
answers
9
views
Spring Boot Data class not respecting @NonNull or @NotNull if default constructor exists
Background
I have a data class
@Data
public class Data {
@lombok.NonNull
private String name;
}
a controller
@MessageMapping("/data")
public void handleData(@Validated Data data) ...
0
votes
0
answers
7
views
Extracting Device Name from Model using Python Scraping
I am attempting to scrape device information from a specific website (gsmarena) based on its model number. I would like to extract the model name (and eventually price). I'm using a headless browser ...
0
votes
0
answers
5
views
Angular : animate a component based on a dynamical :id
I'm looking for advices to make the following :
I load an item based on dynamical route. For exemple, imagine loading an Hero (comes from official Angular tutorial) from a route of type :
{ path: '...
0
votes
0
answers
6
views
Error handling in GameState Machine for menus using Singleton Style classes
Let me preface by saying I am very new to programming and c++. I have been researching various methods for creating a menu system for a simple game that allows the player to go from one menu(...
0
votes
0
answers
4
views
Create another file but don't split worksheets into separate files
Separate worksheets into separate files
Hi I am using code
Sub Split_Sheet_into_ExcelFiles()
Dim FilePath As String
FilePath = Application.ActiveWorkbook.Path
Application.ScreenUpdating = ...
0
votes
0
answers
6
views
Print single value if the records column have duplicates or same values (SQL & Laravel Livewire)
I would like to print records one time from an SQL if the records column have duplicates or same values. The table displays something like this: table name: admin
name role reg1 reg2 reg3 ...
-3
votes
0
answers
8
views
I cant jump into new web pages
What i want is ,when i click on navigation , i want that navigation'c background to be changed.Background changed but for some reason i am still at home and navigation link is not working.Example ...
0
votes
0
answers
10
views
Loop and sum array Laravel 8
does anyone know how to loop an array & sum it? So i have an array with 3 values like in the picture below
and this is my code
0
votes
0
answers
9
views
SQL count number partition by id and displaying only top 3 of each id
question
Hi everyone,
i tried attempting this SQL question but am facing difficulty in this question. particularly counting the number of deals and summing the total deals per merchant. and then i ...
0
votes
0
answers
5
views
Firebase Auth & CreateUserWithEmailAndPassword
Trying to create an user and saving the data to Firestore while being logged with another User Id,but this makes the newly created signin automatically
firebase.auth().onAuthStateChanged(function (...
0
votes
0
answers
5
views
Insert an image to a bookmark and resize
I am trying to insert and resize an image in word 2019 using vba. I have lot of images to insert and using vba will save a lot of time.
The issue is that I can select the image, but the height does ...
0
votes
0
answers
6
views
Cannot mock document.body.append in React Component
Test.tsx
import { useEffect } from 'react';
const Test = () => {
useEffect(() => {
const inlineScript = document.createElement('script');
inlineScript.setAttribute('data-name', 'john')...
0
votes
0
answers
8
views
My x axis is date, how do I draw vertical arrows pointing to specific dates?
I have created a data frame ('precip2') with 'Date' and precipitaion ('sum_precip'). I have created a bar chart in ggplot which shows precipitation on particular dates. I want to now draw vertical ...
0
votes
0
answers
4
views
QML ComboBox model can't be filled using Javascript using append()
Suppose I have following ComboBox:
ComboBox {
id: myComboBox
ListModel {
id: myModel
}
model: myModel
delegate: ItemDelegate {
text: name
}
Component....
0
votes
0
answers
4
views
React Native how to restore a firebase session with tokenid
How can I restore a sessionid in Firebase auth?
public async saveSessionId() {
return auth().currentUser?.getIdToken().then((id) => {
this.sessionId = id;
AsyncStorage.setItem('@...
0
votes
0
answers
5
views
How to bind a List of Dictionaries to a Xamarin.Forms Picker?
I'm trying to bind a list of dictionaries to a Picker's ItemsSource using MVVM pattern. But the items don't get bound.
This is the property in my Model:
public List<Dictionary<string, string>&...
0
votes
0
answers
5
views
STM32H753 (ARM Cortex M7) rounding mode
The Cortex M7 provides in the register FPSCR the bits Rmode to set the rounding mode of the FPU.
I don't understand what this means exactly.
I guess it refers to the rounding of a floating point ...
0
votes
0
answers
7
views
Get specific html element when clicked
I have a web app i'm working on, and i have a foreach loop in the cshtml file to display a list of values in boxes
@foreach(var obj in Model)
{
List<double> ...
1
vote
0
answers
16
views
Loop over list with stepsize (Python)
I'm a starter in programming, so this may be a basic question.
I want to loop over a list with a certain stepsize, and make a new order based on that stepsize. It must work for any stepsize.
What I ...
0
votes
0
answers
3
views
First part cookie deletion by brower after session is closed
Is there any of the top browsers that deletes first part cookies after session is closed before cookie expiration as default beheaviour (without installing any plugin for the purpose)?
Is there any ...
0
votes
0
answers
3
views
Custom Certificate Store with generated X509Certificate2 in gRPC
I am attempting to create a gRPC server and client using ssl (with .NET 5 and VS2019).
I want to use a generated X509Certificate2 as a root certificate to generate other client certificates. For that, ...
0
votes
0
answers
2
views
Function returns Emptylist value before inner results are finished in Kotlin with firebase call
Trying to retrieve some objects from firebase and manipulate them in this function. However the return of this statement is always an empty list. It skips the databse.child.... action which is the ...