Latest Questions

generate Table of contents from outline and prepend to existing PDF file with PdfSharp / Migradoc

I have PDF file like this https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf which has one item defined in the bookmarks section (or Outlin

Proxy with CefSharp

how can I set up a proxy that has username and password in CefSharp browser in visual basic? I tried with this code but doesn't work: Dim proxy = "IP:PORT@USERN

How to send a bulk email with csv file and a jpg image attachments using gmailr

I want to send a bulk email with an attachment. The list of receiving email addresses and the body of the email are in a CSV file as below. I want to attach a

Ungraded Visual Studio 2022 - Debugging Error

I just upgraded to Visual Studio 2022. When running a project (developed in VS 2019) I get the following error/warning message: enter image description here Yo

R memory issues after reinstall

I have been running several R scripts without issue until one day I tried to open RStudio and it said "Fatal error: unable to open base package in R." I uninst

How to convert the elements of a python list of lists?

I have a python list (vals) containing lists of strings like this: [['540.0 ', '0.0 ', '0.0 ', '162.0 ', '2.5 ', '1040.0 ', '676.0 ', '28 ', '79.99 \r'], ['54

Unrecognized part 'mnc*' in configuration mcc*-mnc* on android studio

About compile project come below error: Task :Messaging:mergeDebugResources FAILED Execution failed for task ':Messaging:mergeDebugResources'. Unrecognized par

when do we use secondary ip address in linux os?

I get to know why we use secondary IP or VIP on routers or switchs. But why we need to set secondary IP in linux OS. I have seen 'how to' but haven't seen 'why'

Creating a new column in a dataframe based on the answer choices in the other columns

I'm a bit confused on how to populate my new column based on character combinations I have from each of my other columns. Here is my original dataframe: df <

Centering all the components in jpanel

I'm having a problem centering all the checkbox inside the panel I already tried using some layout for the panel however It doesn't match the output that I want

PYTHON Left Join Based on Partial Matches of Column

I have two dateframes: df1 = pd.DataFrame([ ['ABC, TX', 'P1'] , ['NA BCD, CT', 'P2'] , ['CDE, MN', 'P3'] , ['CDE, MN', 'P4']

Error when attempting to run update.php following Wikibase install

I am attempting to install Wikibase using the documentation on a remote Ubuntu server. I have successfully installed everything up to this point that I can thin

CodeIgniter 4 Inner Join in Codeigniter

Just want to ask if how can I use the INNER JOIN function on CodeIgniter 4? I'm trying to convert the SQL statement below to CodeIgniter 4 but since I'm just ne

How to retrieve large datasets from Firestore in chunks?

My app has around 50K objects. And I need to retrieve atleast 10000 objects to build charts for stats; I am not able to get more than 600 objects in a single ca

Join by specific length of character [closed]

I want to join items in a list of lists based on these conditions: Item 1 is exactly 6 characters of length, and Item 2 is exactly 4 character

Came across this date time format

Working with data and trying to figure out what date and time this data is? Any clue? Any help is appreciated. { "time-base-schedule-number": 9, "time-base-sche

Change nested object with one function in react

I have this kind of object where I want to change the Ethereum value for example; const [reportData, setReportData] = useState({ nameOrganization: "test5",

CdpVersionFinder findNearestMatch WARNING: Unable to find an exact match for CDP version 100, so returning the closest version found: 99 with Selenium

I created a bunch of scripts which worked fine in December 2021. I'm running them now and a few of them execute and pass but suddenly the execution stops and it

vue-chartjs not able to update the chart

I'm trying to understand how can I render a chart dynamically so after I can adapt it so can I send data to it trough MQTT so I can display data in real time. T

Unable to restrict access to an API endpoint in lambda using IAM policy

I want to construct an IAM policy that explicitly allows invocation of lambda function for a particular API and deny for the rest. My API : /api/v1/type/{type_i

Not able to push data to real time database with react native

I am using this code to push to a real time database with NodeJS and this is working fine import admin from "firebase-admin"; admin.initializeApp({ credenti

Mutation observer not being called when there's a change in Shadow Dom tree

i have a running extension where i use combination of mutation observer and tree walker to filter out text nodes and embed React component on that page where i

Why would we use Connectionist Temporal Classification(CTC) in speech recognition?

I am new to speech recognition. I've read some blogs about CTC. It tackles sequence problems where the timing is variable. One piece of speech signal may contai

Typescript: Why Partial Utility Type doesn't work on Indexed Access Types

When using Partial on indexed access type, it doesn't set the properties to optional: e.g. class Klass { prop = { a: true, b: 42, };

How to make the dataframe faster ? either by using dictionary or numpy?

I am new to data structures and I would like to make my code faster (this is just part of a bigger code). Using dataframes while looking up variables is slowing

Instead of showing some modified files, Git shows all files in Solution as Added/Modified

I am using Visual Studio for development. I am on my local branch and I was about to commit/push. In Git changes I had about 16 files which were modified. Now s

kustomize: how to pass `newTag` as Label

I am using https://kustomize.io/ have below is my kustomization.yaml file, I would like to pass newTag image version to labels on deployment.yaml when i use Arg

Acces to XMLHttpRequest at 'https://api-link/login' from origin 'http://localhost/3000' has been blocked by cors policy. (React, , firebase, JWT))

When I try to implement a secure login system in React application with firebase using JSON Web Token (JWT) I am getting this error: Acces to XMLHttpRequest at

How to add an Ontology IRI with the Python rdflib library?

My problem is described here but the (maybe old) proposed solution does not work for me! https://github.com/RDFLib/rdflib/issues/817 I would like to use rdflib