All Questions
23,579,785
questions
0
votes
0
answers
2
views
onFinishFailed function not triggering when validation fails in antd
I have one antd with validations but when validations fails ,onFinishFailed does not trigger.What can be the problem?
0
votes
0
answers
2
views
I have stored historical stock data, but some data does not have trading time. How does TIMESTAMP typically handle this situation?
Excuse me, I have stored historical stock data, but some data does not have trading time. How does TIMESTAMP typically handle this situation?
0
votes
0
answers
2
views
Unexpected behavior when auto restart a process with busybox inittab in embedded Linux
I am using busybox as init in an embedded Linux system (5.10.21).
Now I want to management the lifecycle of a process, e.g. watchdog.
So I followed the instruction in SO to change the inittab as ...
0
votes
0
answers
2
views
Error while starting the server by using serverpod
Internal server error. Failed to connect to database in future call manager. PostgreSQLSeverity.error 42P01: relation "serverpod_future_call" does not exist
I want to start the server at ...
0
votes
0
answers
4
views
How to get last word from string in python
I have string trying to get last word from string like this AUTHORITY["EPSG","6737"]
a = 'PROJCS["Korea",GEOGCS["K 2000",DATUM["Geocentric_datum",
...
0
votes
0
answers
2
views
Align span element in Bootstrap 5 button groups
The span elements of the button groups don't align with each other. I would like to align the span elements of the button groups without using fixed widths.
Simple web modal using Bootstrap 5
0
votes
0
answers
3
views
Can't navigate to another page in same language (PHP lang switcher)
I work on a language switcher on a website in PHP. When I change the langauge with the switcher, the navigation menu's language changes, but when I try to navigate to another page
on the nav menu, I ...
0
votes
0
answers
2
views
VS2019 - .NET 4.7.2 - error MC3050: Cannot find the type 'VsBrushes'
I try to build a .NET project (Framework 4.7.2) on a Azure Devops build server
As I build it on my pc (VS2019 or msbuild), it works fine, but as I use the same commands on the build server, I get ...
0
votes
0
answers
2
views
Private Docker registry with token authentication not able to list the images
Hi I am having private docker registry with token based auth where I am able to do the following:
Authenticate & Login to my private registry from command line via docker login
successfully.
Push ...
0
votes
0
answers
4
views
Not In Condition nil will be empty
I search this page:https://gorm.io/docs/query.html
Find this example:
db.Not("name = ?", "jinzhu").First(&user)
When I use in my project like this:
// Ids is nil
.Not("id&...
0
votes
0
answers
2
views
AndriodStudios RecyclerViewAdapter
Can someone help me with this code? I am trying to create a recyclerview Adapter however in the override fun onBindViewHolder my textView and imageView has an error saying unresolved reference. ...
0
votes
0
answers
4
views
npm 403 Forbidden , how to resolve?
ping this ip is ok
npm i **-ui --registry http://192.168.*.127:8081/repository/npm-public/
npm ERR! code E403
npm ERR! 403 403 Forbidden - GET http://192.168.*.127:8081/repository/npm-public/ep-ui
npm ...
0
votes
0
answers
12
views
How to call function in Javascript when window is getting resized
How can i call a simple function in Javascript, for example:
function doSmt() {
alert("hello world")
}
whenever the user is going to resize the window in any way. So if he for example ...
0
votes
0
answers
3
views
Can we write a cron expression to schedule a GCP VM - Stop:9pm – 8am every day, weekend: Fri – 9pm – Mon - 8am
I am trying to create an instance schedule that can turn off the GCP VM on weekdays(mon-friday) from 9pm to 8am and also shutdown on weekends (sat and sun whole day)
I was able to write the cron ...
0
votes
0
answers
3
views
Recovering databases and their collections in Node JS with Mongoose
I'm trying to get all the Mongo databases I have on MongoDB Compass along with their collections to get an object like :
{
db_name1:{
collection_name1,
collection_name2,
},
db_name2:{
collection_name1,...
0
votes
0
answers
7
views
Extract all brackets from each line in bash
I have an input file with text, which contains the brackets. And I want to get a list of the brackets' content.
example.txt
OC(=O)Oc1n[nH]c2ccccc12
OC(=O)O[Sr]OC(=O)O
[O-][Fe+3][O-]C(=O)c1ccc(cc1)C(=O)...
0
votes
0
answers
4
views
Reading Large Text File with delimiter using PySpark and count the number of rows
I am trying to read a large Text File (Around 9 GB) and trying to print number of rows/records but it is giving following error PicklingError: Could not serialize object: IndexError: tuple index out ...
0
votes
0
answers
6
views
Java hash table based on open addressing implementation
I am trying to solve task from hash tables and I'm stuck.
I need to describe a hash table based on open addressing. Linear probing is used to resolve collisions.
I need to implement insert method:
-...
-1
votes
0
answers
7
views
Reuse named group across multiple patterns in Python involving `|` operator with single compilation
I plan to match the string(one line) with any one of the patterns.
Example String:
Pattern1: fname lname
Pattern2: fname,lname
Frank Delo
Delo,Frank
groupdict() Output should return the same for both ...
-1
votes
0
answers
11
views
Why are the values of these int variables not equal to 0? [duplicate]
This is my code :
#include <stdio.h>
int main(){
int Test1,Test2,Test3,Test4,Test5,Test6,Test7,Test8,Test9,Test10;
printf("Test1 = %d\n",Test1);
printf("Test2 = %d\n"...
0
votes
0
answers
3
views
Reading binary file and storing instructions in buffer
I have the following code in C I am trying to do two things
First I want to store the contents of the binary file in my blob.instruction_memory buffer
Second, I want to print the contents of the ...
0
votes
0
answers
5
views
best practices to integrate cypress and newman testing
We have two different GITHUB repositories for cypress and newman testing.
For now, separate declarative Jenkinsfile being used for both the testings.
The agent is docker image in both the Jenkinsfile.
...
-1
votes
0
answers
7
views
Which Machine Learning algorithm can help predict if a prospective student could complete an educational course?
I'm working on a project in which it will be beneficial to predict if a prospective student could complete an educational course or not.
The project is requested by an NGO (not-for-profit org) which ...
0
votes
0
answers
4
views
How to disable multi-touch gesture on Ubuntu 22.04
I want to disable multi-touch gesture on Ubuntu 22.04
I'm using touch screen, and I want disable top,left,bottom and right disable gesture activity.
Ubuntu system configuration
I want disable this ...
0
votes
0
answers
12
views
Python Pandas : Highlight mind values except "0"
I have a dataframe and I would like to highlight the max and min values. But excluding the "0" for highlighting the minimum
So basically starting the min highlight from > 0
This is what I ...
0
votes
0
answers
13
views
Track users in and outs using a sql table in vb.net
given a table with a column called tmpclockinbak retrieve the hours a user has spent in and hours spent out to keep record how long a user was in and how long a user was out. user going in and out is ...
0
votes
0
answers
6
views
Find index position for given latitude and longitude variables in nc file in python
I have latitude and longitude variables in nc file, it is 2d matrix with int32 pixels(pixels), int32 lines(lines), where size- pixels(2325), lines(1589). I need to find common index position ...
0
votes
0
answers
4
views
Unhandled Promise Rejection: Error: Error response received for message <get-frame-manager-configuration>
I have first time in my life error from my title:
Unhandled Promise Rejection: Error: Error response received for message .
I don't have any idea what making that error, but fortunately I have only ...
0
votes
0
answers
5
views
How to detect the inner radius and outer radius of this circle in python?
i want to detect the radius of two circles in mask image,
but cv2.HoughCircles can not detect these two circles.
what should i do? thanks in advance.
here is the code:
import cv2
import numpy as np
...
0
votes
0
answers
3
views
How to find geo-location of a point on earth's surface knowing geo-location of another point nearby?
I am trying to write a program in which I want to find a point's geo-location. Consider two points a and b on surface of earth. Assume that I know the distance between both points and geo-location (...
0
votes
0
answers
16
views
How can i resolve the problem of organization policy in my git hub acount
This is the message that I get:
You may not create private repositories by organization policy.
I did not try anything, because i dont understand well the problem.
0
votes
0
answers
5
views
Why my LLVM instructions are not added? (missing in compiled binary)
I'm trying to learn the LLVM functionality and I think I'm missing something. I've a sample modulepass, right now i'm trying to add two sample instructions to basic block (they don't have much sense ...
0
votes
0
answers
6
views
Liquibase + Springboot: Migrating the tables from one cluster to another
so we are planning to do a migration of our tables from one database cluster to another. Is there a way to approach it on an springboot application level using liquibase during startup?
0
votes
0
answers
2
views
Gatsbyjs rendering page twice when accessing directly with url
I have a website built with gastbyJs v4.12.1
I have a product search page which is built using a page template passing the products in the page context.
When navigating from menu the pages work fine, ...
0
votes
0
answers
6
views
Adjust the placement of axis tick labels in ggplot
Below is my dataframe.
structure(list(start = c(1, 899, 1648, 2024, 4101, 6001, 7124,
8982), end = c(898, 1647, 2023, 4100, 6000, 7123, 8981, 10000
), gene = c("A", "B", "C&...
0
votes
0
answers
11
views
setState from custom hook not updating
i got an issue i cant seem to resolve, problem is as follows:
i got a custom hook which opens a modal whenever an event on calendar is clicked.
it also returns the state and setState so that i can ...
0
votes
0
answers
5
views
In the Win version, the Taos cannot be opened and connected. What could be the problem?
In the Win version, the Taos cannot be opened and connected. What could be the problem?I have tried local host and 127.0.0.1.enter image description hereOther configurations have not been changed.
0
votes
1
answer
8
views
Issues with visited state for <a> tag in HTML and Google Analytics?
Every reload page, the href attribute will be different because of the change of _gl params value.So browser can't detect the visited state as I expect.
Here's a link example.
https://www.example.com?...
-1
votes
0
answers
7
views
PHP, Mysql/i and AngularJS not displaying data on HTML
I have a local dummy MySql database which works well with PHP and Angularjs on displaying data to the HTML page, but when i import the MySql database that i want to link with the current PHP Angularjs ...
0
votes
0
answers
5
views
SQLAlchemy: update and select with skip locked
I'm trying to recreate the following SQL in SQLAlchemy. So far I haven't been able to get the same results.
UPDATE link lk
SET updated_at = NOW()
FROM (SELECT lk.*
FROM link lk
ORDER BY lk....
0
votes
0
answers
10
views
Is it possible to split a cell into multiple rows matching a certain delimiter in Knime?
im knew to using Knime and and want to split a cell whenever the "&" symbol is between the different environments like in input-table below:
Input:
name
environment
Thomas Müller
DEV2 &...
0
votes
0
answers
14
views
Fetching Live Data using C#
I am actually stuck at a point of development. I have written quite a big code in C# (have not so much experience in C#). What the code basically does is that it runs an infinite loop in which it ...
1
vote
0
answers
6
views
How to format dates when using libreoffice?
I'm using following command to convert xlsx to csv, which works :
libreoffice --convert-to csv:"Text - txt - csv (StarCalc)":44,34,UTF8,1,,0,false,true,false,false,false,-1 date.xlsx
Two ...
0
votes
0
answers
6
views
why the gradle plugin download dependencies from jcenter
I suddenlly found that the gradle build failed in GitHub Actions, to my surprise the gradle download many packages from jcenter, this is the error log:
Welcome to Gradle 7.4.1!
Here are the ...
0
votes
0
answers
15
views
fatal: destination path 'xxx/xxx' already exists and is not an empty directory. Help solve it [closed]
I have this fatal: destination path 'external/jpeg' already exists and is not an empty directory. Help solve it, and i idk how to solve it. i think it's something with clone. fatal: destination path '...
0
votes
0
answers
13
views
Changing an item title, applies to all of the items in the list in flutter
I have implemented a TabBar in my Flutter application in which each individual tab represents a day that the user wants to work out and the tab's text is the title of the day. Days are stored in a ...
0
votes
0
answers
6
views
Can I set a value to a range of index of an array without using loops?
Like if a[7]={1, 2, 3, 4, 5, 6, 7}
Is there any easy solution or function to set a range of elements to another value?
For example,
for the array a[7] up there, I want to make elements 0 from index 2 ...
0
votes
0
answers
4
views
CPU Boost when starting pods in GKE Autopilot?
We're looking to migrate our standard GKE cluster to autopilot, but several pods that we have doesn't require much CPU/memory after they started up. However, during startup, we would like some pods to ...
-3
votes
0
answers
17
views
QRCode Generator not generating [closed]
qrgEncoder = new QRGEncoder(ngalan.getText().toString(), null,QRGContents.Type.TEXT,dimen );
try {
bitmap = qrgEncoder.getBitmap(0);
im_qr.setImageBitmap(bitmap);
-1
votes
1
answer
18
views
Re-exporting function from library
I am working on a npm package development, and it has {name}.d.ts for each module, which just re-exports members of the module like:
export * from "../../lib/build/some-module";
import * as ...