Latest Questions

Ignore Typescript errors in submodule

I have created a Typescript React project using create-react-app. I have also added a library via submodule. However, Typescript keeps reporting error on the su

Determine when the popup of a combobox encounters the edge of the screen and changes target origin changes to the top-left corner of the target area

I have an issue with popup placement. If the combobox encounters the edge of the screen then the target origin changes to the top-left corner of the target area

git gc: error: Could not read 0000000000000000000000000000000000000000

git gc error: Could not read 0000000000000000000000000000000000000000 Enumerating objects: 147323, done. Counting objects: 100% (147323/147323), done. Delta com

Predict on test data, using plm package in R, and calculate RMSE for test data

I built a model, using plm package. The sample dataset is here. I am trying to predict on test data and calculate metrics. # Import package library(plm) library

Trouble scrapping sports table - python

I'm having a lot of trouble scrapping results off a sporting table in Python. I am new to scrapping and have tried everything I can find online. The website is

How do I get JSON returned from a Playwright POST?

I have created a small Playwright program in C# which submits a Url, finds a button on the returned document, selects a button on that document and 'clicks' it.

How to make svg added as css ::after content scale to the size of the font

I have some generated html that has headers with appended anchors (no content, but with a unique id), and I'm adding a 'link icon' that pops up when you hover t

How do I calculate the percentage (counted non-numerical values) in Pandas?

Basically, I have the columns date and intensity which I have grouped by date this way: intensity = dataframe_scraped.groupby(["date","intensity"]).count()['sen

Canvas LTI launch gives Unrecognized token \'iss\'

New to canvas LTI. Trying to implement a basic launch to see what data parameters LMS(canvas) will be send to my endpoint. Before that: Created a Developer Key

Function parameter description

I've been building a blog on Symfony and noticed something in my code. This is my query builder and when I set these two min and max parameters, in this order p

I want to know a form of a "Repeat until" block in scratch in python? [duplicate]

I need some help, you know those "repeat until" blocks in scratch? Well I need to know how to do that in python. What I want to do is this, wi

UML Activity diagrams: how to select between two objects in an expansion region

I'm trying to express that an action inside an expansion region should take its first parameter from outside the expansion region on the first iteration and fro

How can I compare User and password input to a text file?

Heyoo! I'm creating a simple login form using the swing package in java and I am having trouble in checking if the username and password is correct or not. this

How do I group a list of numbers based on fixed recurrance

I have a list: x <- c("1", "2", "2", "3", "3", "3", "2", "2", "3", "3", "3","2", "2", "2", "2") What I need to do is make them shortened like this. 1 2 3 2

How to fix exception in Tkinter callback error?

The main part of this assignment was to create a calculator but every time I push a button it pops up an error message at the top saying Exception in Tkinter ca

How to get table and it's element with Python/Selenium

I'm trying to get all the price in the table at this URL: https://www.skyscanner.it/trasporti/voli/bud/rome/?adults=1&adultsv2=1&cabinclass=economy&

remove all git tags cross-platform

I'm trying to remove all local and remote git tags I found several methods to accomplish this, but none of them works natively for cross-platforms for example:

dockerfile, output evaluated commands

Is there anyway to have docker create output the evaluated line? for example # Dockerfile COPY ${SRC}/file . will echo Step 1/1 COPY ${SRC}/file . I want it to

I can't draw responsive custom button with Path in SwiftUI ( I used Paint Code)

I was using PaintCode app for line to code. But I can't use this code.. Because this code is not responsive.. I don't want button sizes to be static. I don't wa

Loop and HTML table in Angular

I have a problem in my loop... I would like to display the Belgique value once. The variable is called PAYS_LIB. Here is the JSON file. The path => REGROUPEM

Using redux toolkit in NextJS without next-redux-wrapper

I'm new to NextJS and I'm trying to figure out on how to implement RTK, I stumbled on this github repo example from Jack Harrington and basically his slices has

Windows Explorer context menu shellex does not work with Office file extensions

I have created a shellex DLL per the link below to pass multiple file selections to a single program. It works fine on my computer and for several coworkers. A

Getting error "Unknown error during import: <class Keyerror> : 'Field1' at row 2 resolve other errors first" in odoo 14

I have a custom module in which i want to import some of the updated data but getting an error Unknown error during import: <class 'KeyError'>: 'field1'

What is the best practice for solving the number of cases of N searches in Spring JPA?

What is the best practice for solving the number of cases of N searches? There are 3 search conditions for me. There are search conditions of A, B, and C. In th

Adding coupon form to side cart on shop page

First, here's the website: https://aypac.de/woocommerce/shop/ (please don't mind the CSS fuck-ups or the absence of a redirection button to the cart/checkout).

Laravel Socialite works in Postman but not in SPA

I am in a weird situation where when i test the request to /auth/social/facebook in postman i am successfully redirected to the facebook page, but when making a

String allocation behaving strangely

This compiles fine (from the rust lang book): fn main() { let mut s = String::from("hello"); s.push_str(", world"); println!("{}", s); } This does

BottomSheet in flutter under the SystemNavigationBar

When updating flutter, bottomsheet hidden under the systemnavigationbar in android, app should be like above image but show below image my code that show bott

How to optimise a condition which checks for each object of an array of objects whether specific properties are not undefined?

I want code optimisation for an if-statement because I otherwise have to add more key-value pairs into this condition with &&. I have an array of object

Is JFrog Back Up in case of data loss

Please can someone advise? Our business is new to JFrog and i would like to know if JFrog automatically backs up the data. Or is this something that we need to