Latest Questions

PyQT customizing specific ScrollBar

I would like to apply different colors to my scrollbars depending on their parent QListView, and I would like to do this from "higher level" than the QListView

Python/Pandas Add string to rows in a column that contain a character a specific number of times

I have a Pandas DataFrame(data) with a ['Duration'] column as 'object' type that has time durations in format: 'H:%M:%S' such as '1:47:54' with 7 characters, bu

Issue with Power BI dataset refresh

I am using Azure Logic App workflows to refresh a Power BI dataset every 5 minutes. The workflow was working for several weeks without any issues . But since la

How can I navigate to next list item on a new page?

I have a list that I fetch from a provider file and display using ListView builder. The LIST page displays only the title of the item on the list and clicking o

Symfony 6 development with Docker on Mac

I'm starting a new project on Symfony 6. Every time I make a change to the project, var/cache is completely rebuilt, therefore the next request to the app alway

how to correctly write vector to binary file in c++?

first sorry for my bad english. i am just joined this forum and search for how to correctly write vector to binary file. i just got from this forum an answer li

How to download private repo from Dockerfile with bitbucket and golang project

I want download a private repository from bitbucket, but get some error fatal: could not read Username for 'https://bitbucket.org': terminal prompts disabled h

BigQuery table creation from google cloud storage

I am trying to create a table in Google BigQuery Table in the console. I have given the correct GCS bucket address where the CSV resides. The CSV is about 140GB

Adding new dataframe colonms using information extracted from the url in the url column, but the url could be missing information

Given: A pandas dataframe that contains a user_url column among other columns. Expectation: New columns added to the original dataframe where the columns are co

Error: wsl.exe exited with code 4294967295 on Installing Rancher Desktop

I am getting the below error when installing the latest stable Rancher Desktop in my Virtual Machine. Could someone please help? Error: Error: wsl.exe exited w

Unable to create AWS CloudFormation stack

I am changing the Node version of my project to 14 and trying to custom deploy it to my staging environment for testing. But after changing the version to 14, I

how to move placeholder to top on focus and while typing

I am trying to implement a simple input box where when I click on the box the placeholder value moves to the top but have an issue that it always shows on top.

Import “nextcord” could not be resolved

I have just installed nextcord, but when I try to import it to code it says: “Import “nextcord” could not be resolved” please help me.

Does Windbg display addresses as virtual or physical when issuing a command such as

Would someone be able to clarify whether when you type a command at the Windbg command prompt are the 64 bit addresses displayed in the very first column virtua

Mimicking compile time interfaces in python

Summary This question first uses Java examples to demonstrate what I am trying to achieve, then shows Python equivalents where I attempt to replicate the compil

How do I use ffmpeg to concatenate 2 videos and add a period of silence + black screen between them?

There are several existing examples, but I'd like a single command that uses complex_filter to achieve the objective without doing extra things like generating

How to detect ID Card in react native

I'm trying to detect ID Card in react native Everything. I found was Payed Libraries that scan id card and OCR at the same time but my use only to check if this

listen EACCES: permission denied 127.0.0.1:80 - macOS

I need to serve an angular app with specific --host flag and --port 80. I added the host to my /etc/hosts file but when i use command "ng serve --host local.xxx

Sharepoint: Lookup against a large list with CAML Query

I have a SharePoint List (list_dls) which has all the Email addresses. The list has a single column with Field name "Title". I need to validate that the Item in

AttributeError: 'BaseModel' object has no attribute '_sa_instance_state'

I have the following code in my app: models.py class MainTable(Base): __tablename__ = "main_table" id = Column(Integer, primary_key=True, index=True)

How to get the partition column names for a table?

I have a table that is partitioned on one or more columns. I can do ... SHOW PARTITIONS table_db.table_1 which gives a list of all partitions like this, year=2

Does Document AI not detect the shopping receipt?

I can successfully extract the details of the shopping receipt (products, store name, etc.) with the expense parser in Document AI. I wrote the store name and p

what does method mean/do in gtag event?

I'm reading the google analytics documentation and I'm slightly confused about what method means. In their documentation they have gtag('event', 'login', {'meth

UnmarshallerImpl finalize() method leads to memory leak

I'm using webServiceTemplate in my multithread Spring app. There are my jaxb dependencies: compile('javax.xml.bind:jaxb-api:2.3.0') compile('org.glassfish.jaxb:

Dynamic Icon content in Android Compose

What I need is to adjust Icon's content accordingly to the available screen space. If the screen height is enough - I would like to display a bigger image versi

AJAX/FLASK/JS: How to POST existing array into endpoint?

I am trying to POST the songFiles array pushed from the getTableData() function (inside the ajax request) into the /api/fileNames endpoint, which is then sent t

How do I remove hours and seconds from my DataFrame column in python? [duplicate]

I have a DataFrame : Age Gender Address Date 15 M 172 ST 2022-02-07 00:00:00 I Want to remove hh:mm:ss I tried: import datetime

invalid client when POSTing JSON to get OAuth token

I am using perl to POST a JSON object to fetch an Oauth token but am getting an "invalid_client" response. (I checked, and it doesn't look like I have a Client

OpcUA address space

I'm working the first time on a project that requires an OpcUA connection. I'm using the Qt wrapper (Qt OPCUA) with the open62541 backend. The manufacturer of t

Adding Javalin dependencies

I'm trying to use Javalin in my project and I can't seem to understand how to add the needed dependencies in order to work with Javalin without compliation erro