Skip to main content

Questions tagged [cloning]

Cloning refers to the making of an exact copy (deep copy) of any kind of object. It is the opposite of shallow copying, in which a reference to particular object is copied, not the object itself.

0 votes
1 answer
52 views

Why does using structuredClone on an Object in mxGraph result in "Uncaught TypeError: terminal.insertEdge is not a function"

I'm trying to clone an Vertex object in mxgraph, to edit the coordinates without changing the original Vertex, but I get the Error "Uncaught TypeError: terminal.insertEdge is not a function"...
HallPl's user avatar
  • 1
0 votes
1 answer
44 views

Clone <div> and change id of img upload

So out of curiosity and teaching myself how to code I've decided to make a Twitter mimic. I've been doing decently well until now -- I'm trying to make it so you can hit the "clone tweet" ...
Lauren's user avatar
  • 11
2 votes
2 answers
313 views

Cloning project in Azure DevOps

I am trying to clone a project from one organization to another in Azure DevOps. We’ve been able to successfully clone within one org, but when we use same steps to clone between two organizations, it ...
aliya pichina's user avatar
1 vote
0 answers
69 views

due to non-UTF-8 characters in the output during command execution, leading to decoding errors

1.I am building tmiv18.0 using the prebuild script provided by that project https://gitlab.com/mpeg-i-visual/tmiv/-/blob/v18.0/doc/building.md 2.when I run python I:\qyq\Encoder18\Workspace\tmiv\...
weigui qin's user avatar
0 votes
0 answers
131 views

How to solve error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: early EOF

am trying to clone dhis2 source from a folked repository. am facing the error below Cloning into 'dhis2-android-capture-app'... remote: Enumerating objects: 169495, done. remote: Counting objects: 100%...
Jekap Jesman's user avatar
-2 votes
1 answer
78 views

Why does changing a property of a reference variable in an object changes that object's memory address?

We have the Person class, with 3 variables, "firstName", "lastName" (both String) and "Address" address. Address class has 2 properties, "cityName" and "...
Art's user avatar
  • 37
0 votes
1 answer
48 views

Firebase Commands on VS Code- Errors

I'm a beginner as a developer and I'm having trouble running a React app on Firebase. I have already installed Node.js and npm, and I'm using VS Code as my code editor. Here are the steps I've taken ...
Razlina's user avatar
0 votes
0 answers
25 views

Problem in running the environment.yml file

I cloned a repository from github and the environment.yml is not working properly. the dependencies that is present in the file are dependencies: _libgcc_mutex=0.1=main _openmp_mutex=5.1=1_gnu blas=1....
ANU JEXLINE JOSEPH 21CSME's user avatar
0 votes
1 answer
166 views

Is there a way to wrap an &str to a &T(String) without cloning?

In Rust, I frequently wrap Strings with custom structs for the purpose of disambiguating trait behavior. For example, I might have a data access trait called IGetByField<T,F> implemented like so:...
tcmoore's user avatar
  • 1,160
0 votes
0 answers
62 views

React and JS Web Component - onChange Event Gets Lost when Cloning HTML from Template to Component Output

I have a React app and I want to use a reusable JS web component that is supposed to output a <dialog> with content cloned from HTML inserted into the <custom-tag> of same JS component. ...
iChido's user avatar
  • 4,444
0 votes
1 answer
89 views

Node Cloning in JavaFX

I have a JavaFX Node object, and I wish to clone it via code. It's my understanding that Java variables are reference-types, and simply doing something like clonedNode = oldNode would result in ...
Runsva's user avatar
  • 617
0 votes
0 answers
24 views

Unable to enter user_id correctly by send_keys

I would like to input the user_id automatically using selenium, but the original characters are not input and the missing characters are input. ex. correct user_id-> [email protected] NGー> bdeg@...
DDD's user avatar
  • 1
-1 votes
2 answers
75 views

In Java : How to duplicate "entirely" a Map with Collections as value? [duplicate]

The code below is illustrating my problem : public class TreeMapCopyProblem { private static TreeMap<Integer, SortedSet<Integer>> treeMap1; private static TreeMap<Integer, ...
Etienne Savary's user avatar
0 votes
1 answer
39 views

IntValue isn't increasing, when cloning (Roblox Studio)

I have a strawberry field, where I want everyone to have their own strawberries spawn in. I'm trying to make it, so only 10 strawberries can be on the field at once. I've set it up so everytime a ...
GrandpaKartul's user avatar
0 votes
1 answer
97 views

ERROR: polling failed in /home/jenkins/test on sk-node(83) java.io.IOException: error=2, No such file or directory

I configured a Jenkins pipeline to clone my repository. When I manually click on the build now button it works fine but when I try to make a new commit in my GitHub repository and that webhook payload ...
novice_coder99's user avatar

15 30 50 per page
1
2 3 4 5
26