Latest Questions

Why does this Sql query shows the possible changes but does not implement it?

So, I want to change the prefix of my tables and the following command shows the possible changes that will take place which seems alright but does not seem to

Validate typescript definition files for errors programatically

I am generating typescript definition files programmatically. Sometimes an incorrect definition file will be generated from user error. This cannot be changed a

Change region of firebase cloud functions of callable in v2

Hey so I am trying to upgrade to v2 of firebase cloud functions, but when trying to change the code I noticed that my functions do not have .region anymore like

How can I upgrade the Apache IoTDB for storing the new data?

"I want to upgrade the Apache IoTDB.I want to ensure that the data is not lost. Can I just deploy the latest file and modify the data path to the previously use

Azure sign-in into two different applications (with two different users) using OpenIdConnect middleware

I have two Azure enterprise applications to which I need the user to sign in. He might sign in with different active directory users. The 1st app is used to aut

Python error TypeError: list indices must be integers or slices, not tuple

def convert(data): new_data = [] for id_users in range(1, nb_users + 1): id_movies = data[:,1][data[:,0] == id_users] id_ratings = data[:,2][data[:,0]

Appending values to existing values of environment variables in go

How can I append another value to an existing value of a go environment variable? If CGO_CXXFLAGS has the value "-I/blah/blah" Since the following doesn't work

MarkLogic server-side JavaScript and XQuery

I am just starting using NoSQL MarkLogic DB and trying to choose for me the best query language to learn and use in future. On server side MarkLogic provides th

How to use multiple client certificates stored in keystore.p12 and set jmeter's system.properties while setting test in Azure Load Testing service?

I am trying to set up test (manual/yaml) in Azure Load Testing service and my test uses client certificates, so I uploaded jmx, keystore(.p12) and csv (has alia

I don't understand how nodes work in a linked list [closed]

I have a basic understanding of usage of nodes, like node = node.next, and self.head, and things like node.next = self.head self.head = new_no

how to move Javascript created DIV to bottom of page

I have swagger ui HTML page. there is generating HTML tags and divs with javascript so I want to move this whole description div to the bottom of the page. but

Power BI summarized or grouped? How to work out ratio

I have spent hours trying to solve and I dont' even know what to search an answer for: This is my base data table in Power BI PA PA FTE PERSON PERSON FTE Anne

Factory method in C++: why additional Creator interface and does factory method need a class?

I am currently unclear what constitutes the Factory Pattern in C++ given many implementations and examples in the wild. https://refactoring.guru/design-patterns

Azure Storage (classic) vs Azure Storage (V2) code not working for V2 storage

I have a worker role running and checking to see if data exists in a storage hosted on Azure. My code works when I use the connection string for a classic type

react-router-dom v6 params only numbers

I want add number regex in may param in react-router-dom v6. it work fin in v5 like it: <Route path="list/:id(\d+)" element={<MyComponent/>} /> b

Bubble sorting using function and pointers

I have this function code to bubble sort an array using pointers. However, I do not understand the second for loop (the inner one): Why did they do p < a + n

Flask SQLAlchemy Foreign Key Relationships

I'm having a lot of trouble getting my head around foreign keys and relationships in SQLAlchemy. I have two tables in my database. The first one is Request and

How can I fetch the length of a character array and put it in an array?

I'm working with my STM32 but since I'm new to c/c++ (coming from c#) i find string operations a bit difficult. Until now I'm sending serial like this: strcpy

FDConnection Informix Timeout Values are ignored

got here a FDConnection on the form . FDConnection.Params.DriverID:=Infx; FDConnection.Params.LoginTimeout:=15; FDConnection.Params.ReadTimeout:=30; FDConnectio

Deploying Solana Metaplex contracts for further extending

Helloy guys, does smb know, how to deploy metaplex smart-contracts separately from this repo??? Did smb tried it? https://github.com/metaplex-foundation/metaple

Packaging a Python script and the modules it needs

I developed a Python script that uses some libs (Pandas, Numpy, bs4, etc.). The problem is that the customer environment is shared, so I cannot install these li

Remove element from a list based on condition in pandas dataframe

a= {'A' : [1, 2,3,4], 'B' : ['FOOTBALL','BASKETBALL','HANDBALL','VOLLEYBALL'], 'C' : [[5,10,15,40],[1,4],[20,10,40],[10,40]] } How can I remove the element 40

How to map specific column in entity class

I have two tables Users and UserRoles. These are the entity class I have created, @Entity @Table(name="users") public Users { @Id @Column(name = "id") private

How do I manipulate the contents of a stat() struct?

I have a stat struct, and I'm looking for a way to get data out of it to be manipulated. The program will successfully run and print the desired st_mtime value,

Discord.py commands not running

** ** UPDATE: SOLVED Hi, So im making a bot with the code below in python and i cant figure out why the commands arent working in discord. the only one that wor

Asking the user for input until they give a valid response

I am writing a program that accepts user input. #note: Python 2.7 users should use `raw_input`, the equivalent of 3.X's `input` age = int(input("Please enter yo

Calling JDBC from Node.js: java.lang.UnsupportedClassVersionError

Not quite a duplicate of this Q&A when I try to use a JDBC driver from Node.js. For reference, Node.js runs initialize.js which is the following script: var

Gatling compilation failed

I'm trying to build https://github.com/gatling/gatling but the compilation fails. The steps I undertook: Installed sbt using the documentation. Clone the githu

Perform sklearn DBSCAN on PySpark dataframe column

I have a Spark dataframe that looks like this: +-----+----------+--------+-----+ |key1 |date |variable|value| +-----+----------+--------+-----+ | A49|2022

Pressing Scaffold's back button:Looking up a deactivated widget's ancestor is unsafe

I get the following error when I hit scaffold's back button: The following assertion was thrown while finalizing the widget tree: Looking up a deactivated widge