Latest Questions

calculating the average of marks from the beginning to this record

i have a table named test with the below structure like this id mark join_id 1 5 1 2 4 1 3 9 1 4 5 2 5 7 2 6 12 2 i want to write a que

How to deal with SettingWithCopyWarning in Pandas

Background I just upgraded my Pandas from 0.11 to 0.13.0rc1. Now, the application is popping out many new warnings. One of them like this: E:\FinReporter\FM_EXT

Webkit browser fullscreen request changes body colour and removes console

I am currently preparing a website which should switch the full website to fullscreen upon user request. I use the following function: launchFullScreen(document

Problem in serverless function (serverless framework) when using sequelize orm to make requests to the database

I’m trying to set up a simple serverless environment using serverless framework, there is only one lambda function that makes a call to the database using

Android Studio - blank white screen when running Ionic App on an emulator

I'm working on an Ionic App. It's running fine both in iOS emulator (via Xcode) and via ionic serve, but when trying to run it on an android emulator in Android

Trying to mock service property value

I'd like to mock the value of a service property my component uses. I can't seem to get the value to change however. The problem I'm having is getting the compo

I want to remove the first ( ) and it´s unkown content every time i loop

I tried the next code but it did not work: info = ["Mark(Sat)", "James(Sun)", "Robert(Sun)", "John(Fri)"] for x in info: info.remove(info[info.find("("):i

When I Eclipse project to maven, Why can't I export a .jar without "Fat Jar Export: Could not find class-path for ...target/test-classes

I had a working Eclipse project for which I could export a .jar file with no problems. I then did a 'configure/convert to maven'. Now, when I try to export the

Align-center for text and item not aligning?

I am trying to align the items in a div (that is within an MUI Select styled component): const SelectStyle = styled(Select)(({ theme }) => ({ width: WIDT

pixi.js: how to draw outline of container while keeping its content transparent

I have a container with several graphics containing circles. I would like to only render this container's outline, without the graphics themselves. I managed t

Why CSS file not working in my application? [duplicate]

I'm trying to use .css files in my project but it doesn't work. The directory hierarchy is: /resources/static/css/style.css. In my html file I

Disable drag to select on PHPickerViewController in iOS app

I am using a PHPickerViewController in an iOS app. I want the user to be able to select multiple media, however I am noticing that it is easily to inadvertently

Best way to manage Terraform apply infra -AWS batch- run a script (could take 1hr to 1day) - destroy infra

Hi All I am planning to build a system for my team where we can start a AWS batch infra - run a task - once job done destroy the infra. I am thinking of : Make

Populate Failed immediately a ref was indexed in Mongodb via Mongoose Schema

I had a Post Model with a ref as below const mongoose = require("mongoose"); const PostSchema = new mongoose.Schema( { _id: mongoose.Schema.Types.O

Control-M: Order date (prerequisite), two jobs with different load dates

I have two jobs with different load dates (not same day): JobA: runs at the end of month (may be 28th, 29 th, 30th). JobB: runs at the beginning of the month (m

compute with R commands?

how in Rstudio, I can compute the below command?.

Multiple actions were found that match the request - Net Framework 4.6.1

I have the following endpoints in my project A -> http://localhost:8089/products/ B -> http://localhost:8089/products/{id} I need to add the following: C

Mypy marks error when using TypeVar type inside TypeDict derived class

I have the following code: WriterMeta = typing.TypeVar('WriterMeta', GSheetWritable, S3Writable, LocalWritable) class WriterDesc(typing.TypedDict): name:

How to remove the underline in a TextField in CODENAME ONE?

I'm trying to remove the underline that shows in a TextField in codenameone. ''' TextField username = new TextField("", "", 20, TextArea.USERNAME); '''

Extracting index value from a list in R?

I want to extract the random effects from my lmer model, including the person this random effect belongs to. My goal is to create a tibble that has one column f

Combinations in all orders

I want to generate all pairs of all the numbers of a range 1..N in all orders i.e. [X,Y] and [Y,X] I found these here : http://kti.ms.mff.cuni.cz/~bartak/prolog

PineScript strange behaviour creating Table. Table is displayed as dot when using IF barstate.islast to create table.cells

Hello I isolated code which cause this strange behavior. It is caused by variable price. Is there way around? //@version=5 strategy("My script",overlay=true)

Middleware "strapi::session": App keys are required. Please set app.keys in config/server.js (ex: keys: ['myKeyA', 'myKeyB'])

Trying to set up strapi and cloudinary I watched two videos and they are all OK, but I have an error, tell me why? Middleware "strapi::session": App keys are r

failed to build react native project

I had been able to build and run the react-native project in my old intel based mac successfully. Recently I migrated my project to the apple silicon and now I'

What is an address/range of addresses that are guaranteed to be not used in x86-64?

I am writing a version of malloc that is compatible with multi-threading. Is is going to use arenas to help facilitate the parallelism. mmap is being used to cr

Can anybody explain the time complexity of this code? [closed]

Explain time complexity of the code given in the picture

Group Values in Flexgrid Vb6

I have a Flexgrid (vb6) disconnected from any Db, having some rows like sh:own in image below ... I'm not able to create a cycle to obtain how many different gr

pyenv global x.x.x does not update the python version on linux

I have pyenv installed and have downloaded python versions 3.6.15 and 3.7.12. When I run pyenv global 3.7.12 python -V the output is: Python 3.10.2 pyenv versi

libxl Library VS Code Setup

I've tried to use libxl library but there is no installation document for vs code even if I try to add header files there is an error message "no such file or d

HTTP Error 401 unauthorized when using python requests package with user-agent header

I am trying to reverse engineer a web app. So far, using the inspect tool on my browser, I have managed to log in the website using python and use multiple part