All Questions

0 votes
0 answers
9 views

Is it possible to pass in variables through an aws autoscaling group to an instance?

I am trying to spin up 2 ec2 instances, that are essentially the exact same server, except that they are differentiated by name (ie. server-01 and server-02). I'm using an autoscaling group to make ...
user avatar
  • 1
0 votes
0 answers
9 views

Does Android play store allow old version of an app to be downloaded if the new version has higher API?

Example use case below if anyone needs a specific scenario to understand. But if you already know the answer feel free to share the knowledge. Previously the app used to support from API 17+. Now it ...
user avatar
0 votes
0 answers
11 views

Line up two tables

I have two following arrays: $array1 = [ ['date' => '2021', 'income' => 123], ['date' => '2022', 'income' => 123], ['date' => '2023', 'income' ...
user avatar
-3 votes
0 answers
30 views

How do I pull a random string from a list? [closed]

import random words = ["chair", "table", "dinosaur", "cupboard", "communist", "right", "keyboard", "radiation"...
user avatar
0 votes
1 answer
7 views

How to iterate PYODBC variable multiple times?

I am querying a SQL Server table from Python like following: query = "SELECT PN, PD, VT FROM inpat" data = cursor.execute(query) Next, I am iterating data like following for i in data: ...
user avatar
0 votes
0 answers
5 views

Composer issues when running mPDF in PHP 7.4

I get the following error when running mPDF in my browser. I have just installed the latest version of mPDF on my cloud server running PHP 7.4. The requirements page for mPDF say I should be able to ...
user avatar
0 votes
0 answers
6 views

Calculate the number of workdays between two dates in HOURS (MS ACCESS)

I have a code that I found on microsoft website : Function Work_Days(BegDate As Variant, EndDate As Variant) As Integer Dim WholeWeeks As Variant Dim DateCnt As Variant Dim EndDays As Integer On ...
user avatar
0 votes
0 answers
7 views

How to make an autocorrect from ',' to '.' whenever PyCharm notices an error

Whenever I'm coding I always find myself typing ',' instead of '.' and it costs me time and nerves. Is there a way to make an autocorrect for this kind of situation?
user avatar
0 votes
0 answers
8 views

Nextjs api route internal error in production

All apis are working just fine when serving locally but when i try to deploy the app in vercel/ heroku, the apis give me internal error code 500. So i tried to make a "test api " called ...
user avatar
0 votes
0 answers
5 views

Modeling Many-To-Many in AWS Amplify (GraphQL)

Having an issue with my data modeling for a many-to-many connection in Amplify GraphQL. Here, my connection technically works, but not as intended. I need to be able to list all the groups along with ...
user avatar
  • 61
0 votes
0 answers
7 views

Pyspark make non-streaming copy of dataframe

I have a dataframe that reads from a delta table: stream = spark.readStream.table("my_table") Before writing I want to do transformations on the stream content. I need to perform certain ...
user avatar
0 votes
0 answers
8 views

Trying to retrieve index from an list using another list in python without pandas

So I have two 1d array, one being a subset of the other. Say, one array is called main with length 600, and the other array called subset with length 230. I'm trying to find the specific index of the ...
user avatar
0 votes
0 answers
16 views

Reshaping Panda Data Frame and Create New Columns Based On a Column

I want to reshape a data frame like the following: df1 = pd.DataFrame( columns=['Serial','Seq_Sp','PT','FirstPT','DiffAngle','R1'], data=[['1001W','2_1',15.13,15.07,1.9,7.4], ['1001W','...
user avatar
  • 1
0 votes
0 answers
4 views

Facing Caused by: org.apache.kafka.clients.consumer.CommitFailedException:

Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than the ...
user avatar
  • 1,895
0 votes
0 answers
11 views

env variables in node js

I'm trying to access some env variables from a javascript server file, where both files are in the same folder, but the data I get is 'undefined' and I don't get the data itself. What am I doing wrong?...
user avatar

15 30 50 per page