All Questions
22,511,114
questions
0
votes
0
answers
2
views
How to edit the xml file in the xlsx file with python
I want to edit the xml file in the xlsx file of the Microsoft Visio vsdx file.
I want to implement using only zipfile library and xml library without using library like Openpyxl
I was able to read and ...
0
votes
0
answers
2
views
i wish upload video but selenium don't find the element
this is my code and i tried with id,cs selector already.
driver = webdriver.Chrome(chromeDriverPath, options=chromeOptions)
driver.get('https://www.tiktok.com/upload/?lang=en')
time.sleep(2)
action = ...
0
votes
0
answers
2
views
Code printing all contents of txt file instead of specific line
I have the code written below and the goal of the program is to let the user list all cars in a list and then ask for specific details on just one specific car via input. However, when the user inputs ...
0
votes
1
answer
2
views
Is there a way to access test case and test suite details in Cypress?
I am trying to make a JSON file to store the details of Cypress Tests, but I don't know how to access them.
The details I need:
1- Test case (it block) title
2- Test suite (describe block) title
3- ...
0
votes
0
answers
3
views
PHP RecursiveIteratorIterator get value key in endchildren
Help me how to use this function
function endChildren() {
echo "Update";
}
hope : update.php?dataId=123
how i do it, thanks
0
votes
0
answers
4
views
How to upload file using Axios to NestJS (multer)?
I am using Axios and try to upload a file to NestJS. But I can't.
Please help me fix this problem? T.T
In my NestJS server, I'm using multer to handle the incoming file.
For example:
@Controller('...
0
votes
0
answers
4
views
Transforming JSON template based on JSON values posted into API
I have got a requirement of building an azure function which transforms data in our COSMOS DB based on the value posted by a calling service.
So consider this JSON template
{
"...
0
votes
0
answers
3
views
is it possible to mark the disk used only by current app using java
I want to store a license information on the disk, now I am facing a problem that when the user reinstall the operation system and rollback the system time. The license could be reused, the time check ...
0
votes
0
answers
3
views
how to validate multiple selections on a select element in playwright nodejs
I'm having a hard time getting playwright to validate multiple selections in a multiple select element.
For example, say I have the following multiple select:
<select id="colors" name=&...
0
votes
0
answers
9
views
How do I bring the entry box closer to the names in html?
I am trying to bring the entry fields closer to the names; it looks bit far. wanted to see if anybody can suggest. this is how it looks now:
<div id="container">
<h3>Add Student</...
0
votes
0
answers
5
views
How to display the shadow of Material-style in Android native UI in Unity
In my case, I had an aar file in Unity that open Android's native Material-style UI.
But UI looks different.
In Android Studio Native UI Pircure
Android Studio Native UI Pircure
In Unity Android ...
0
votes
0
answers
4
views
Excel;VBA Array Loading Time
Below is a code I use to fill an array with items, the array is "public declared"
lastrow = DataBase.Range("a3").End(xlDown).row
lastcolum = DataBase.Range("a1").End(...
-1
votes
0
answers
8
views
Vue.js Front-end Issue
Front-end with Vue configuration report errors when loading png images as blow, and the webpack.config.js has been configured.
ERROR in ./src/assets/image/background.png (./node_modules/css-loader/...
0
votes
0
answers
3
views
Excel VBA Format Number as Accounting
Workbook contains several sheets of data which are added up in a macro and transferred to another sheet. Ranges on the totals sheet are originally formatted as "Accounting". But when the ...
0
votes
0
answers
9
views
Unable to delete selected items on click event from iteration of items
I have the saved data of iteration like..
.component.ts
public saveHealthyHabits() {
let isCategoryExist = false;
let categoryDetails = {
category: this.clinicalNoteForm.controls....
0
votes
0
answers
5
views
Is it possible to lmake local modifications to built-in extensions of vscode?
I've been using markdown cells with a lot of math expressions in Jupyter notebooks. I noticed that in when I define a macro inside one math expression, the macro won't get carried over to the next ...
0
votes
0
answers
4
views
Install anchor-cli on windows using cargo
Installed anchor-cli on windows, but when I try to view the version I get this message. I don't think that I should be installing this globally.
Only x86_64 / Linux distributed in NPM package right ...
-1
votes
0
answers
4
views
The client management tool of Kingbase database does not support manually starting transactions for the select operation
After the management tool manage starts a transaction with begin, if a select statement is executed before the transaction ends, the transaction ends automatically and the previous operations are ...
0
votes
0
answers
4
views
How to filter the sku empty and remove all the coincidense that the same order number
There is an array of parent elements that you need filter and remove if the sky are empty and get the number and remove all the coincidences of the principal array.
Input:
[{"number": "...
0
votes
0
answers
11
views
Text Editor Javascript issue with additional comma's
The code below is taking input with a command and then append it to array. The result should show the history as if you keep typing and it was adding. I'm running into issue where there extra comma ...
0
votes
0
answers
4
views
Pivot table filter that keeps on resetting because its connected to a column with an equation outputting 1s and 0s
I have a pivot table, linked to a dynamic dataset. I’ve got a filter applied to the pivot table. This filter filters on a particular column in table1 (this column is populated by an equation that will ...
0
votes
0
answers
10
views
How to merge multiple tuples or lists in to dictionary using loops?
Here is my code to merge all tuple in to dictionary,
x = (1,2,3)
y = ('car',"truck","plane")
z=("merc","scania","boeing")
products={}
for i in x,y,z:
...
0
votes
0
answers
10
views
How does z%x==0 or y%z==0 imply the logic of the chicken farm question?
In Chefland, each chicken has X legs and each duck has Y legs. Chef's farm can have exactly one type of bird.
Given that the birds on the farm have a total of Z legs:
Print CHICKEN, if the farm can ...
0
votes
0
answers
13
views
Python: search - in nested list
I want to search '-' in my nested list that contains a nested dictionary. I have also tried the below solution but it didn't work.
List Output:
[[[[50.0, 23.0], [196.0, 23.0], [196.0, 46.0], [50.0, 46....
0
votes
0
answers
6
views
C# Queue using threads
thread 1 does Enqueue, thread2, 3 does Dequeue.
When Queue data Enqueues, it shows on textbox. It works same with Dequeue and it is seperated.
If 70 data Enqueues and show on textbox, it becomes blank ...
0
votes
0
answers
15
views
Typescript React: function props return type not working
This is base components Button.
这是基础组件 Button.
export interface IButtonProps {
onTap: () => void;
}
export function Button(props: IButtonProps) {
return <div>demo</div>;
}
This ...
0
votes
0
answers
7
views
I can't run django test via pycharm
When I run test via terminal 'RUN_TEST=1 REUSE_DB=1 python manage.py test blahblah -v 2 --nologcapture --noinpu -s -x'
then it works
But when I run test via pycharm, then it fails with these message
...
0
votes
0
answers
4
views
A simple method to restore the original edge order on output of networkx.minimum_cycle_basis()
networkx.minimum_cycle_basis() returns list of nodes
which forms a cycle (loop) in G. Note that the nodes are not
necessarily returned in a order by which they appear in the cycle as described in ...
0
votes
0
answers
5
views
1 to 2 matching in two dataframes with different sizes in Python/R - second part
please help me with this problem I've been struggling all day lol, solution in either Python or R is fine! Please help I'm really stuck!!!
I have two dataframes - df1 has 44 rows, df2 has 100 rows, ...
0
votes
0
answers
6
views
Removing dups from unsorted linkedlist two loops returning no output Python
For some reason my code is returning nothing. The print function works properly and returns a linked list. But once I run my removedup function I get nothing. I am suspicious of the arguements it ...
0
votes
0
answers
4
views
how make progress bar for adioplayer in python
I hope with all my heart that you are very well
I'm autodidact and I try make a audioplayer in python but i can't make it work the progress bar whith the song reproduce in this moment.
I dont know if ...
0
votes
0
answers
5
views
Difficulties using ArrayFormula
I am trying to use ArrayFormula to populate row data. I have the following formulas that work perfect when I drag down, however I am unable to figure out how I should adapt them to work with ...
0
votes
0
answers
3
views
use selected branch on workflow_dispatch in github actions
Hi everyone, I am building Github actions workflow to use master and develop branches.
I know that i can check out branch by reusing actions like below, but how do i actually pass variable form the ...
-1
votes
0
answers
4
views
Directory.GetFiles | Get only the specific file
I want to copy a specific file only but it copies all files in the directory. Is there any way to achieve it?
here is my code:
Dim dir As DirectoryInfo = New DirectoryInfo("\\SERVER-PC\...
0
votes
0
answers
3
views
Cannot locate Microsoft.Office.Interop.Outlook Reference
I have been tasked to convert an Outlook Distribution list to a CSV file.
I have seen some examples online but I can’t find the COM reference.
Question:
Do I need to have Office installed to find the ...
0
votes
0
answers
3
views
Read xlsx file and json file with url signed on azure blob storage using nodejs
I intend to read the contents of an excell and json file on an azure blob storage with the urls signed with a limited life-to-live (ttl).
I did this as :
const file = readFileSync(...
0
votes
0
answers
7
views
primality test function is_prime (n, k) based on Fermat Little Theorem,
I solved this question: Implement a primality test function is_prime (n, k) based on Fermat Little Theorem, where n is the number to be tested, and k is the number of bases to be used. The function ...
0
votes
0
answers
3
views
Unable to install or use pipreqs to create requirements.txt file for dependencies
I have a Python project that I would like to send to someone else. I am trying to create a requirements.txt file containing the required dependencies for this script so that my partner can run the ...
0
votes
0
answers
3
views
How can I extract multiple strings in a cell using regextract? (Google Spreadsheet)
I'm new to regex and I have a question.
enter image description here
From this text in the cell A1, I only want to get the items. I want them in B1 like "A, B, C".
How can I do that?
Many ...
0
votes
0
answers
4
views
Ubuntu: Docker Compose remove
I installed docker-compose ff. the instructions from this site:
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04
I want to remove it since I found ...
0
votes
0
answers
4
views
middleware return a response of error but balance function is executing and app get crashed React js
am using middleware to check quantity before update if its zero it shows error otherwise it moved to main function to update it
My middle ware
exports.checkQuantity = (req, res, next) => {
...
0
votes
0
answers
3
views
how to call call Graphql APIs with HTTP requester in Mulesoft
I need to consume a graphQL API in Mule 4.
i draft below json code in dataweave, then use HTTP requestor to post the payload.
but still return Invalid Syntax, may i know is it possible to post data to ...
0
votes
0
answers
3
views
Veins and SUMO how to analyze packet loss rate
I am currently doing research on the multi-hop broadcast technology of the Internet of Vehicles. I want to use only Veins (5.0) and SUMO to achieve it, but I have encountered problems:
Using Veins' ...
0
votes
0
answers
8
views
How does companies make staff users?
Apologies since this might not be the best way to word the question nor is this a coding question per say. I get the general process of creating a staff user within Django.
What I would like to know ...
0
votes
0
answers
3
views
Multi chat - determine which user saw the message (ejabberd)
)
I'm pretty new with ejabberd and I have two questions.
What is the best approach to check which user seen a message or to see where the user stopped reading?
Do you know any open source clients ...
0
votes
0
answers
4
views
SwiftUI: make @ObservedObject var optional?
In a view, I have something like this:
struct DriverView: View {
@ObservedObject var car:Car?
.....
}
I get this error:
Generic struct 'ObservedObject' requires that 'Car?' conform to '...
0
votes
0
answers
2
views
Teradata: How to display LOB inline(inside the cells)
I have a Teradata table which contains LOB objects in different columns.
When I do a query, it pops up window to ask where to save the LOB objects as txt files onto my disk.
LOB Information (due to my ...
0
votes
0
answers
6
views
C# string.Join with multiple lines
I'm trying to enclose each sentence in a field with opening and closing symbols "<>". I've almost got it, but I have additional symbols being generated between the sentences.
Code:
...
0
votes
0
answers
3
views
Powershell Install-PackageProvider No match was found for the specified search criteria for the provider 'NuGet
From a Windows Server 2019 server Ran as Administrator in Powershell window with the following command
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Got the following error
...
0
votes
0
answers
4
views
Cloud Storage & Manipulation with External APIs (Azure/AWS)
More of a non-technical question. Apologies if this isn't the place for it.
Background Info: At the moment I've connected an external API from an Accounting Software service to Excel where I use Power ...