Questions tagged [clone]

A clone is a copy of an object with all of the same attributes, data, and methods as the original object. Or a software system that is designed to mimic another system.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
7 views

Can I clone an issue in GitHub using UI only?

Is it possible to clone an issue in GitHub using UI only and pressing come magic button? I know that there are a lot of different examples here on how to achieve this using GitHub API or git console. ...
trejder's user avatar
  • 17.2k
-1 votes
0 answers
13 views

How can I clone all submodules and update them with lg2 instead of git?

im currently using a-shell on the iPad to code on the go for uni projects and even though ive got some experience with terminal on linux systems, a-shell has many limitations that includes not being ...
r32's user avatar
  • 1
0 votes
1 answer
61 views

Cloned Form elements -> Ids updated with a number -> Get value of the dropdown

Cloned a form based on number selected in a dropdown. select and input fields ids on cloned forms are updated with a number such as OrderType1, OrderType2 etc....Now I need to retrieve the value of ...
Leeya's user avatar
  • 3
0 votes
1 answer
21 views

Create Multiple Elements in tsx with return instead of copy paste

I am creating a Game and need multiple Squares with custom ID, I designed one with some Placeholder Attributes and wanna make it 16 times. Is there a more efficient way instead of pasting it 16 times? ...
TheKamek's user avatar
0 votes
1 answer
27 views

Problem with Apache POI in Mendix: Changes to Cloned Slide Reflected on Original

I'm working on a Mendix project and am facing a peculiar issue with Apache POI. I've got a function that's meant to modify a cloned PowerPoint slide, but instead, it seems to modify the original slide....
Łukasz Walczak's user avatar
2 votes
2 answers
48 views

Clone buffer function in Neovim

I have been trying to create a Lua function that allows me to clone a Neovim buffer. Here is what I have in my init.lua file: -- Set max optimum columns vim.opt.colorcolumn = "80" -- ...
pbj's user avatar
  • 23
1 vote
0 answers
35 views

cross compile clone syscall to aarch64

I have tried to cross compile clone syscall and run with qemu-aarch64 here is the assembly: #include <sys/syscall.h> .section .text .global _start _start: bl main b . .global main main: mov ...
python3.789's user avatar
0 votes
0 answers
21 views

How to clone XMLHttpRequest object?

let xhr = new XMLHttpRequest; xhr.open('GET', '/', true); xhr.setRequestHeader('Test', 'test'); let clone = ....? xhr.send(); clone.setRequestHeader('Test2', '....'); clone.send(); Attempt 1 let ...
Ivan's user avatar
  • 1
0 votes
1 answer
77 views

How to speed up Rust clone method in my custom struct?

I have struct in Rust with following fields and their types: five i8 six f32 one bool one Vec of size 4 one Vec<Vec<Vec>> of size 4x20x7 one Vec<Vec> of size 4x20 one HashMap<i8, ...
rustbegginer's user avatar
0 votes
0 answers
19 views

unable to clone the github repository 'prework-study-guide' to the directory, 'bootcamp'

Every time I try the command, " git clone '<git@gitub.com...prework-study-guide.git>' I get this messsage: Cloning into 'prework-study-guide.git>'... <git@github.com: Permission ...
Davonte's user avatar
0 votes
1 answer
28 views

Java using clone constructor with generic field

Josh Bloch wrote in the Effective Java: Many consider clone and Cloneable broken in Java, largely because the rules for overriding clone are tricky and difficult to get right and he recommends use ...
Gleb  Shadrin's user avatar
0 votes
1 answer
38 views

Hubspot date picker clone using Jquery not working

I'm making an application form using hubspot and adding an "add+" button to allow the user to add additional education and experience fields. When I clone the fields using jquery, the date ...
Alyx's user avatar
  • 17
0 votes
1 answer
28 views

"Failed to execute 'respondWith' on 'FetchEvent': The event handler is already finished," after Request.clone().json()

In my service worker's 'fetch' listener I want to examine the body of a POST request, and then later do event.respondWith(fetch(event.request)). I clone the request and then convert the clone's body ...
Matt Miller's user avatar
0 votes
0 answers
36 views

How to suppress problems detected by Valgrind with EXPECT_DEBUG_DEATH Google test macro?

I’ve run to the problem with Google unit testing framework and valgrind interaction. When I use EXPECT_DEBUG_DEATH macro and memcheck tests code with valgrind I get massive log output. valgrind --...
Fajlip's user avatar
  • 1
0 votes
1 answer
34 views

Gerrrit to fetch only meta/project.config file?

Is there any way to fetch only meta/project.config from gerrit project, instead of cloning the full source. I.e. is there a way to fetch the meta/config tag, without cloning the complete source using ...
tej anil's user avatar
0 votes
1 answer
75 views

Stop parent from terminating when child terminates?

I'd like to spawn a process and use stdin/out to communicate to it. That all works, but I noticed when the child terminates via signal the parent does too. Here's an example below. If you uncomment ...
Spill's user avatar
  • 45
0 votes
0 answers
19 views

Is it possible to clone a USB on windows IoT via UWP?

I'm relatively new to C# and programming in general, so please bear with me. I'm working on a UWP app using an Upboard with Windows IoT. I need to clone an image to a USB device, but I'm facing ...
JoeySendit's user avatar
0 votes
0 answers
37 views

default value not displaying in new dynamic created row input field in php

I'm working on a small HTML form integrated with a table. The table has an input field named "name" which have value from some variable $name and with other two input field (city and ...
Umar's user avatar
  • 19
1 vote
2 answers
93 views

Are there differences between .to_owned(), .clone() and dereferencing (*)?

With this code on the rust playground: fn main() { let a = &[1, 2, 3]; let mut o = a.to_owned(); let mut c = a.clone(); let mut d = *a; o[0] = 7; c[0] = 8; d[...
fadedbee's user avatar
  • 42.8k
0 votes
2 answers
24 views

JS : What is the best way to clone an array and get an identical result with new references?

I know 10 different ways to clone an Array in Javascript, but none of them works as I want... Let me explain : This is my array : const a = [1, new Date(), false, { date: new Date(), name: "John ...
Simon Trichereau's user avatar
1 vote
1 answer
40 views

Cloning a table line in Javascript - How to remove slected option?

I am cloning a table line with Javascript, Step 1: cloning OK But cloning copies data. i want to set all inputs to 0 or null. it works for all input types but i am unable to have it work with a select-...
Bud's user avatar
  • 11
0 votes
1 answer
25 views

jquery: how to use selector in cloned object?

i clone a table using jquery and did not append it to the webpage. Now i like to use .show() on the cloned object to show hidden rows in the cloned object. At the end i send the cloned object to an ...
user6625547's user avatar
0 votes
0 answers
74 views

Google Colab x Gitlab Repository cloning problem

I am trying to clone my repository in Gitlab to Google Colab but kept receiving this below error. Google Colab has no issue with Github project cloning but Gitlab doesn't seem work. Cloning into '<...
Hoang To Duc's user avatar
2 votes
0 answers
37 views

How can I duplicate an object and use different values? [duplicate]

Is there a way I can duplicate a Object in JavaScript but then have different values in the duplicate? For example if the original Object is as follows: a = []; a[0] = {}; ...
Flash20's user avatar
  • 73
0 votes
0 answers
18 views

Checklist Clone

We started using Azure devops in the team and it has been very helpful with user story and checklist. So my question is: Is it possible to make a user story with different checklist and then make a ...
Toni J's user avatar
  • 1
-1 votes
1 answer
27 views

Is there any way to transfer my chrome data to new pc?

I have a ton on settings and accounts in chrome in my old PC. Now, I really need to move the data to new PC. Is there any way to do it ? I really afraid of losing data. :(( Please give me an ...
shubham kumar yadav's user avatar
0 votes
1 answer
53 views

Is there a way to do a git mirror clone on a specific branch?

I need to mirror clone on a specific branch and copy the history connected to that branch. The repo it is connected to is too large to do a mirror clone and push so need to target a specific branch. I ...
dc2023's user avatar
  • 3
0 votes
1 answer
62 views

Ext JS 6.2.0 How to clone existing rows and append the grid

I'm creating a clone function in our system. So far, I can copy the selected rows and add to the store, but the cloned data is not displaying in the grid. The number of records is incrementing, but ...
user2107624's user avatar
0 votes
0 answers
6 views

How do I clone the whole Project and export into different organizations?

Could we copy project between different organizations? I mean clone that not only the repo, included everything. Meaning - Boards with wiki,work items and pipelines with build and release. Thank for ...
Yu Kay's user avatar
  • 1
0 votes
0 answers
47 views

Solidity: Using inherited constructors with a proxy factory

I am attempting to use Chainlink VRF along with OpenZeppelin's upgradable contracts to generate a random number. In order to use VRF, I must inherit the constructor from VRFV2WrapperConsumerBase. ...
root's user avatar
  • 1
1 vote
0 answers
42 views

Difference between `http.request.clone()` and `new Request(request.clone())`

This is about HTTP Request object. I have seen both approaches, and was wondering if there is any real difference between the 2, is one a more correct or faster approach? Cloning a htttp.request ...
Chantz's user avatar
  • 5,893
3 votes
0 answers
69 views

after deploying the react app on render.com it says the site is dangerous when i click on deployed link

I have created netflix clone using tmdb api and when we click on particular movie it shows a modal which plays trailer of movie . the TMDB api key is stored in .env file when i try to access the site ...
Sahil Solkar's user avatar
0 votes
2 answers
159 views

How to implement Clone on a struct that contains dyn Iterator in Rust? [duplicate]

I have the following struct in Rust: #[derive(Clone)] pub struct EquationIterator<F> { counter: Box<dyn Iterator<Item = usize>>, formula: Arc<dyn Fn(usize) -> Equation&...
David 天宇 Wong's user avatar
1 vote
0 answers
30 views

Using WeakMap in the deepClone function can work correctly,but if think about the logic behind it, the function may encounter an endless loop [closed]

let a ={} let b ={} a.b = b b.a = a function deepClone(obj, hash = new WeakMap()) { console.log(hash) if (hash.has(obj)) { // 如果已经拷贝过该对象,直接返回 return hash.get(obj); } ...
DingdongChicken's user avatar
0 votes
1 answer
64 views

Cloning a texture created with THREE.WebGLRenderTarget

I'm using three.js and I need to create a few clones of a texture made with THREE.WebGLRenderTarget(). I can use the original texture, e.g.: scene.background = renderTarget.texture; But if I try to ...
user21999625's user avatar
0 votes
1 answer
55 views

Azure: downloaded App Service source code but no project or solution file

I'm new to Azure and have been assigned to a pre-existing project, the previous provider is not very available for questions. I want to replicate development environment on my local machine, so I ...
K. Weber's user avatar
  • 2,643
0 votes
0 answers
33 views

Module not found: Error: Package path . is not exported from package. Requests of the current directory need to start with './'

Here is the code for Home page in the components folder import React, { useEffect } from 'react' import styled from 'styled-components' import ImageSlider from './ImageSlider' import Viewers from './...
Bipradeep's user avatar
1 vote
3 answers
230 views

Cannot read properties of undefined (reading 'value')...TypeError: Cannot read properties of undefined (reading 'value')

I'm trying to access the camera image from one redux file to react file .This code is from "https://www.papareact.com/" .I'm new to redux and stuck here. This is the cameraSlice.js redux ...
Shivangi Bose's user avatar
0 votes
0 answers
27 views

CLone github into netbeans project and problem: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null I need help please! When ...
HÒA LÊ TẤN's user avatar
0 votes
1 answer
50 views

How to clone/ropo sync code from specific buildID

I am trying to clone the AOSP source code and the build ID is "9407610". I now only build ID. Is it possible to clone the source or repo sync from the build ID? I have seen some blogs, that ...
GNK's user avatar
  • 1,048
0 votes
0 answers
91 views

Ajax/jQuery Dynamic Dependent Dropdowns with PHP/mySQL - Dropdowns reset but not repopulating after cloning table rows

Working on a table that will allow users to enter multiple items/rows on a purchase order to then be insert into a mySQL database. Dynamic dropdowns work on the first row and clear back to ""...
lostest's user avatar
  • 45
2 votes
3 answers
295 views

Error: The getter 'value' isn't defined for the class 'XmlNode'

Error: The getter 'value' isn't defined for the class 'XmlNode'. 'XmlNode' is from 'package:xml/src/xml/nodes/node.dart' ('/C:/Users/User/AppData/Local/Pub/Cache/hosted/pub.dev/xml-6.2.2/lib/src/xml/...
nuerobots's user avatar
0 votes
0 answers
52 views

Can not clone image using pixel struct in C

Hello I am still new for C. I am using Clion c17 to read and copy the bmp pixel. I have check that I can copy the header properly when I was actually reading the real file hex numbers and my values. I ...
Aaron Lee's user avatar
0 votes
0 answers
33 views

Could not clone a GitLab repository using subprocess

I need to clone a GitLab repository using subprocess, here's my code: import subprocess gitlab_repo_url = "https://gitlab.int.my.company./namespace/project-name.git" destination_folder = &...
rubyhui520's user avatar
0 votes
1 answer
166 views

How do I clone a repository from a branch and not the main one to my pc?

I'm a beginner in using vscode. I'm also not a programmer. I was tasked to commit some art asset files to GitLab and I found that vscode can help me with that. I successfully cloned the repo to my pc ...
Donna Marie Magadia's user avatar
0 votes
1 answer
62 views

How can I force my console to open git credentials again?

I tried to clone a repo and typed in my username and access-token as password. Accidentally, I typed the wrong password in. Now when I try to clone again, the popup asking for my credentials is not ...
Henning 's user avatar
0 votes
1 answer
92 views

Rust code refactor. Need better way to fix borrowing error

I'm trying to write some filter to getting values from database. I have already fixed all occurring problems. But two thinks looks ugly. In my opinion, in this case copying all Vector is not necessary....
RfDzDeveloper's user avatar
1 vote
1 answer
95 views

Why can't I clone a `Vec` of cloneable constructors?

I have a structure wrapping a Vec of Box<dyn Any> constructors which I've asserted to be clone. I have a trait Ctor which takes the clone logic and produces another Box<dyn Ctor>. It ...
dspyz's user avatar
  • 5,288
0 votes
0 answers
30 views

Problem showing clon of gltf-model using model.clone()

My main purpose was to assign: let clone = model.clone(); somewhere in global scope. But then I recived a error of "cannot read property of undefined reading model" or something simillar, ...
William Knutsson's user avatar
0 votes
0 answers
30 views

Multiparallel clone app clones not showing

I have a clone app named 'Multiparallel' i created more than 500 accounts of a specific app and had 45 GB of user data. Suddenly, the app is not showing the clones apps of it. But when i checked on ...
Abdul Qadir's user avatar

1
2 3 4 5
91