11,320 questions
-3 votes
0 answers
47 views
Dockerfile COPY fails with "no such file or directory" even though the file exists in build context [closed]
I'm trying to build a Docker image for a Node.js + React application and keep getting this error during the build: COPY failed: file not found in build context or excluded by .dockerignore: stat src: ...
0 votes
2 answers
136 views
Worksheet_SelectionChange Causes Clip Board to Clear
I have the code below - Essentially, if the user inputs a 1, 2, or 3 in cell N16, different sheets will show and hide themselves. This all works fine except that the clipboard gets cleared when any ...
-1 votes
1 answer
59 views
Why does changing a DataFrame in one Jupyter cell also change another variable? [duplicate]
I am working in Jupyter Notebook with pandas, and I noticed something strange. In one cell , I did this: import pandas as pd df1 = pd.DataFrame({"A":[1,2,3]}) df2 = df1 Then in another ...
1 vote
1 answer
103 views
Windows batch file cuts off file extension in for statement
I noticed that some software I use, AutoDarkMode, doesn't randomize the first wallpaper it switches to, so I thought I'd write a batch file to do it by copying one wallpaper in the folder and renaming ...
0 votes
1 answer
114 views
When should I use .copy() after filtering a DataFrame in pandas? [closed]
I am working on a project where I frequently filter my DataFrame and then return it for further processing. For example, in one file I have this code: df = df[df['Ticker'].str.startswith("...
1 vote
3 answers
132 views
XSLT: Copy the majority of XML but replace subnode with a new data
There is an outdated section within the data, and I need to replace it. The replacement data is static and needs to go in place of existing Nodes. <headerNode1> <headerNode2> <...
-1 votes
1 answer
160 views
Copy-paste stops working across Windows after using Visual Studio for a while (No error messages)
I'm facing a frustrating system-wide issue related to copy-paste, which only begins after using Visual Studio for a while. Problem Description I open Visual Studio and start working on code (sometimes ...
0 votes
1 answer
61 views
Find matching named folders (different paths) and move a specified file from one to the other in Windows
I have worked all week to get my data to this point and am stuck with the final move. I have a folder called "Batch" and within it are numerous subfolders with different names. I have ...
0 votes
1 answer
156 views
Is there such a thing as a non-copiable type in Haskell?
In short, I'm trying to understand why copying, which is such a fundamental thing in C++ (fundamental in the sense that you, as the programmer, have quite a lot of power in writing code to permit or ...
0 votes
1 answer
110 views
PHP copy() function failed to overwrite file even executed as root in Alma linux
I have a PHP script that copies a file from one location to another. The script looks like this: $success = copy('/tmp/source_test.txt', '/tmp/target_test.txt'); if (!$success) { echo "Copy ...
0 votes
1 answer
130 views
Error copying local folder to SharePoint using PowerShell
I am working on a PnP.PowerShell script to copy a local folder to a specific SharePoint site (each client has a SharePoint site). The connection between our local server and SharePoint works, but some ...
0 votes
1 answer
690 views
How to copy selected files to the system clipboard while yanking in Yazi Windows?
I'm trying to configure Yazi, a terminal file manager, to copy the currently selected files to the system clipboard while yanking them. How can I achieve this on Windows (Wezterm + Powershell)? I've ...
0 votes
0 answers
96 views
S3 Connection via a Fabric Copy Data not populating Root Directory
I'm trying to source from a S3 Bucket into my Fabric OneLake. I have set up a successful managed connection that I am able to succesfully create a shortcut in my Lakehouse utilizing. When I try to use ...
0 votes
1 answer
77 views
Trouble copy/paste with vba in excel
I have two excel documents. I'm trying to write a VBA code to simply copy a bunch of cells from the first workbook to the second workbook. The following code works when it is in a VBA code module, ...
0 votes
0 answers
45 views
How to Detect Text Selection and Handle Copy-Paste in Fabric.js?
I am using Fabric.js in an Angular application and trying to implement copy-paste functionality for text inside a Textbox. However, I am facing the following issues: Fabric.js does not provide a ...