11,322 questions
-3
votes
0
answers
36
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: ...
-1
votes
1
answer
58
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 ...
0
votes
1
answer
112
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
votes
1
answer
147
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
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
126
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
0
answers
89
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
0
answers
42
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 ...
1
vote
1
answer
70
views
Insert replace text based on a name in other file python script
I have two text files, File 1 is a list of names of meshes with a path sometimes the name is the same as the path name and can contain numbers.
I need is to insert File 1 filename/path onto every ...
0
votes
0
answers
18
views
how can I set pagination for REST API call in copy activity of ADF?
I need to read from the following public REST API via Azure Data Factory copy activity:
https://api.data.fca.org.uk/fca_data_firds_files?q=((file_type:FULINS)%20AND%20(publication_date:[2024-12-15%...
1
vote
1
answer
86
views
My function is only copying the first line. I would like it to copy all line within a range. E.g ("I7:I24")
I am using the function copyData below within another script and it works great in the original script but for another one it is only copying the first line. I would like it to copy all line within a ...
0
votes
1
answer
22
views
Trying to Move images in PL/SQL
I'm trying to write a PL/SQL program to COPY a JPG files from one directory to another.
The file names themselves are the id's in a table that I fetch and make a variable
photo_file_name := lower(...
0
votes
0
answers
26
views
Pasting data to a column and leave protected cells
I have an Excel column where some cells are locked and others unlocked.
Say my column is B, then B1 to B4 are unlocked, B5 is locked and B6 to B7 is unlocked.
I am copying data from another sheet but ...
1
vote
2
answers
121
views
Files in docker container not updated with docker compose
I have setup for my django project using nginx and uwsgi, similar to what is described here
I am now trying to use docker / docker compose to maintain it.
For the container with the django application,...
0
votes
1
answer
97
views
Copy most recent txt file based on timestamp in filename
I'm completely new to ADF. I'm working with an existing ADF set-up, and need to modify it to fulfill new requirements due to a modified source folder structure.
Previously, the source folder contained ...
1
vote
1
answer
95
views
copy a row then paste it to another row in Grid using extJS
I display a grid, there are two rows in the grid. I have a button called "Copy", when user click on the Copy button, all the data from first row will copied, then paste it into second row.
...
0
votes
0
answers
15
views
Backup / copy of files from a specific appdata folder
I'm fairly new to using PowerShell and doing something like this.
I'd like to create a PowerShell script that I can share with other to copy over specific app data folder to an alternative drive.
I ...
0
votes
0
answers
9
views
Excel VBA code to compare data in each cell one at a time, from a single row of 6 columns, to an array of 6 columns by 8 rows one cell at a time
Compare data per ROW starting with ROW CELL A2 thru F2 one at a time with the data starting in CELL A5 thru CELL F5, that fall within +2,+1,0,-1,-2 of the data as a RANGE. When parameters are met, and ...
0
votes
0
answers
108
views
S3 event integration and Auto copy Job
Inside S3 event integration, have created one AUTO COPY JOB which detects new file upload in S3 bucket and loads data into Amazon Redshift.
Its observed that after 1 hour this job doesn't do anything (...
-4
votes
1
answer
70
views
Can Python 3 copy files without overwriting?
In a 2016 blogpost, it is claimed:
def notActuallySafeCopy(srcfile, destfile):
if os.path.exists(destfile):
raise IOError('destination already exists')
shutil.copy(srcfile, ...
0
votes
0
answers
26
views
Unity Randomized Animation is synchronized across all prefab instances [duplicate]
As per title, I am randomizing animation using the following script:
private IEnumerator RandomizeAnimation()
{
while (true)
{
var rand = Random.Range(0, 100);
switch (rand)
...
0
votes
0
answers
33
views
object.assign change attribute [duplicate]
I want to copy the object of a variable to assign to another variable and only change some properties in the object of the new variable without changing the old object.
I create new object for new ...
0
votes
1
answer
83
views
Excel VBA image paste issue
I am creating a program that runs solver and then copy pastes the results of multiple runs to a summary page. Due to some bugs with excel I previously asked about on here, there is a loop to detect an ...
0
votes
0
answers
15
views
Gradle sync replaceTokens: how to specify file encoding UTF-8?
Gradle sync replaceTokens for UTF-8 files:
task syncFiles(type: Sync) {
from("/path")
into "/path2"
filesMatching (['**/*.xml']) {
filter(...
-2
votes
1
answer
97
views
have a code for copying rows from a sheet to another in google sheet but it do all of the rows not working for selected or filtered
I have a code for copying rows from a sheet (Parks) to another (Report) in google sheet. It works fine but the problem is, I have 335 rows in sheet 'Parks' and I don't want all of these rows in my ...