Latest Questions

How adjust code functionality to specifications using data.table function

I would like to change the approach to generating Output. Is it possible to use the data.table function for this case below? If yes, could you help me adjust? I

Spring Security "Administrator" Access to all URLs

In Spring Security configuration I have something like following: http.authorizeRequests() .mvcMatchers("/admin").hasRole("ADMIN") .mvcMatchers("/studen

Outlook Web Add In can't open links in web browser

I have developed a very basic Outlook Web Add In, with the purpose of loading a Power Apps app by using an iframe object with a URL pointing to the app, all thi

When I try to print the copy string on console then instead of string they show me some "Element (id = 5131abe8-3c52-4e18-8eb6-3abedb48e19d)"

IWebElement link = driver.FindElement(By.XPath("/html[1]/body[1]/div[3]/div[1]/div[1]/div[1]/div[2]/div[1]/button[1]")); link.Click(); S

want to redirect my domain to another domain but also need to extract some data from first domain and use it in redirection using .htaccess

I have a domain http://order.pipasha.co.uk/ that is pointing to http://perkss.co/ by using IP address, this does not change current domain in url tab. Now I wan

Matplotlib: Where is the first axes object located?

Usually when I make a single plot, I just call fig,ax = plt.subplots() without specification as to where to place the axes object in the figure. But when I want

Stumped. Bool values from class objects are returning ascending integers?

Lot of code to post because I can't really tell where the issue is. I am trying to run this on an ESP32 chip and am writing the code in vscode with platformio.

A form isn't working when showing mobile view

I'm trying to set a mobile view for my site. In this particular case i have to show two different forms according to the width of the page (under 400px it shows

How to solve '@GET' not applicable to field Error while defining retrofit interface in android

I'm trying to pull a json data with a retrofit, but when using the @GET method, this error " '@GET' not applicable to field" pops up. What is the solution? My I

Rails 7 Dynamic Nested Forms with hotwire/turbo frames?

I'm very new to the rails. I've started right from rails7 so there is still very little information regarding my problem. Here is what i have: app/models/cockta

Ag-grid: how to size columns to fit contents?

Ag-grid has a sizeColumnsToFit function that sizes the columns to fit the screen, but what I want is to size the columns to fit the data. In other words I want

apple pay option not coming in stripe

backend @app.route('/create-payment-intent', methods=['POST']) def create_payment(): try: data = json.loads(request.data)

How can I center an entire DIV tag [duplicate]

I have a problem that I can't figure it out. I just started learning HTML, CSS, JS and BOOTSTRAP. My question is how can I center an entire DI

TypeError: doc is not a function at addSubCollectionDocument

I'm trying to add a new document to a non-existing sub-collection in a document(solutionsCollection/docID/commentsSubCollection). But I'm getting this error mes

Change language in DatePicker Ant Design

I have some problem with change language of month and days in my DatePicker from Ant Design. I want my DatePicker looks like this: want I try to use this https:

Subprocess $Env:Path python: The filename, directory name, or volume label syntax is incorrect

I am trying to change the windows environment variables, but I am having trouble doing so. Before I tried to use os.environ() I tried out using powershell comma

Trouble to deploy azure functions

I'm having trouble when trying to deploy via GitHub actions integration in the Azure Function. The workflow message returns me: Cleaning up temp folders from pr

coredns giving "network is unreachable" errors

I've got a cluster with Flannel as the CNI. As a check to make sure everything was working, I deployed some dnsutils pods, but they can't seem to do any dns res

Modifying Schema only for one document

I'm creating an application in the MERN stack and I stumbled upon a problem. I will start by explaining how that app is going to work. So, in that application u

MKdocs-readTheDocs: How to set the Home page?

Yes, this is a rookie question, but its not clear to me from the documentation how to set up the home page. I get a 404 on the home page. Not sure what its miss

how to print all parameters of a keras model

I am trying to print all the 1290 parameters in dense_1 layer, but model.get_weights()[7] only show 10 parameters. How could I print all the 1290 parameters of

Django- link answer choice to question and survey

I am trying to create a number of surveys in Django and put them in a survey index page. I have run into an issue: Up until now, all of my surveys had questions

Adding excel formula to appendRow

I am new to Apps Script, but I have a code that fills form data in to a spreadsheet. It's working fine, but I want to make a hyperlink using the coordinates fil

Why does the PrintWriter class (and other writers) require a call to flush after writing?

I have noticed that some I/O Classes in Java (and a lot others, like the BufferedWriter and FileWriter), require a call to flush() after writing. (With the exce

Locating all the tables on one spreadsheet using Excel VBA

I have a few spreadsheets with various tables in different formats. My task is to locate and identify anything on the spreadsheets that can be considered a tabl

why my react native dotenv is not working?

I want to use react-native-dotenv but its not working. https://github.com/zetachang/react-native-dotenv I created a .env file and added a FB_ID=21221 then I go

SwiftUI - Snapshot a variable as a value instead of a pointer so it is not updated during DragGesture .onchanged lifecycle

I am trying to move a CGPoint (greenPoint) by moving another one (bluePoint). The distance and angle must remained the same. In order to capture that, I store t

Keep gradle daemons fresh & alive

I have a custom CI runner which builds our Gradle projects. The issue we are facing is that the Gradle daemons get stopped very quickly and so each job takes a

go application build with bazel can't link when running inside container

I am trying to containerize my application build, though, when running the build that uses bazel with bazel-gazelle inside a container I will get this error: $

Unable to get Rocket Chip waveforms for GTKwaves

I want to run a program on Rocket core and observe all the signals in corresponding registers in GTKwave (e.g. PC, register file, ALU registers and wires etc.)