Latest Questions

Tabulator paging footer on top

In Tabulator, paging footer is normally at the bottom of the table. Is there any way to put it on the top of the table? Since my page contains something like 30

How to solve a special "select and transform: resize text" problem?

1. Background: I use konvajs to create a "table" component: structure: Stage | Layer | +-----+-------

Google play READ_CALL_LOG permission

Reading call log is the basic feature of my app, but i dont know which option to select among the following in the list in the declaration form. Default SMS han

why didn't my program write some of the fields?

So I wrote a program to write the different attributes like title, total number of comments, total upvotes, post body, author name of submissions in a CSV file.

How to mock a class of a library used by the app during instrumented test?

I am working on an Android library and I am writing an instrumented test for it using UI Automator and Mockk. The library has a class called InstallManager whic

Apollo useQuery running twice instead of once when firing multiple queries

in my <Homepage/> component I fetch an authed user and posts using Apollo and useQuery. I can see in my network tab that each one of these queries is runn

Use also the option allow access to all photos in limited access dialog

I want to show the option to give access to all photos also in the limited photo library picker. I now go to the settings, but when returning to my app, it's ki

How to call more than one function in javascript onclick event? [duplicate]

<Button onClick={(e)=>setId(_id); handleDelete()}>Delete I tried this way, but it gives error.

Why is code for prime numbers not working for the number 10?

I am trying to write a code in python to find all prime numbers of a number. My problem is that with this line of code it does not work to return the prime numb

webpack dev server error after npx create-react-app

I run npx create-react-app and when I start it I get the error: Module not found: Error: Can't resolve 'D:#MyCode\React\playground\node_modules\webpack-dev-serv

When making an API call to a Node.js REST API, how can I view which portion of the code it uses?

I have a REST API that was built with Node.js and Express.js. When making an API call, how can I view which portion of the code it uses? (without me having to i

Send csv file in pytest test using restframework ApiClient

I'm trying to test my view which requires csv_file and one parameter in request, but getting error "details": {"csv_file": ["The submitted data was not a file.

MongoDB, get documents by a field, and mergeObject from another collections grouped count

Okay, the title is a bit too verbose and complicated but I have no idea how to put it any better. So here's what I have ModelA ModelB that has reference to Mode

Mp4 segments playback in buffer gets stuck in Chromium browsers

I'm facing the following issue, Ive got a bunch of .bmp files and a .wav file that I convert to a mp4-file using the following ffmpeg command. ffmpeg -i <inp

CKEditor getting displayed twice

I am trying to integrate CKEditor with antd in a React application. This is my code: <Form {...layout} form={form} name="control-hooks" onFinish={onFinish}&

How to scale one specific Rest API without microservice?

I am developing web application backend with Spring where client and server talk through Restful APIs. There is a specific API where I assume the hit will be mu

How to concatenate two strings in C++?

I have a private class variable char name[10] to which I would like to add the .txt extension so that I can open the file present in the directory. How do I g

Removing tracked time from estimated time on AC to show correct workload

In the workload tab, that AC subtracts the tracked time on a task so only the remaining hours are shown as left. Current situation: We create tasks with an esti

Create TensorFlow tensor from two smaller tensors using boolean mask

I'm using TensorFlow and would like to create a 1D tensor t1 from two smaller tensors t2 and t3, where len(t2) + len(t3) == len(t1) and a boolean mask which ind

Unable to Transfer spring-boot-starter-parent from maven repository

Below is my pom.xml. I am getting exceptions while fetching the spring-starter-parent from maven repo. what is it that I should specify in my relative path : Wh

React scroll to element (ref current is null) problem

I have a problem I'm not able to solve. The app got a component where a do looping array and making multiple elements off it. Then I want to make buttons in ano

HLS player is not streaming

I have a stream url which is getting from server. The streaming url is working in android and web, but whenever I try to play that ham getting a black screen wi

Add body to luasocket POST request with generic form?

From https://w3.impa.br/~diego/software/luasocket/http.html, there are two ways to make a request, simple and generic. I have gotten the body to work with the s

Create JavaScript event triggers for Google Analytics 4

Articulate Storyline is a software for creating interactive learning courses. I can execute JavaScript triggers in storyline files to track button clicks with G

Material doesn't apply properly to the mesh Unity

So I created a mesh (parallelogram) in code in Unity and i have a prefab of this object with mesh renderer, I tried to apply material 1 to this renderer 2 and i

Unable to find record, no key specified

I am coming across this infamous error in my Delphi application. In my ADODataSet, I have set my CommandType to cmdText, and then set CommandText to SELECT * FR

ERROR `input` must not start with a slash when using `prefixUrl` | Changing Wordpress URL in Gatsby Error

When I move from local wordpress headless CMS to azure headless CMS I get the following errors: ERROR input must not start with a slash when using prefixUrl I h

Health Kit: How to set 'totalEnergyBurned' for workout?

Today I worked for the first time with Apple Health Kit and successfully saved a workout in Health with the basic informations (activityType, start and end). My

React + vitejs + storybook setup

I am trying to setup react that is bundled with vitejs and storybook after running the setup command as per vitejs docs storybook vite builder storybook runs bu

How to connect azure synapse and an enterprise git repo using personal access token?

Im trying to link my git repo to an azure synapse sandbox and Im facing this error Failed to list GitHub repositories. Please make sure account name is correct