Tagged articles
Clone
23 articles · Page 1 of 1
The article explains Java's Object class as the root of all classes, details its fundamental methods such as clone, equals, hashCode, toString, finalize and getClass, illustrates shallow vs. deep copying, shows how to override equals with a Book example, and warns about using finalize for cleanup.
CloneFinalizeJava
0 likes · 10 min read

This article breaks down Java's Object class, detailing its twelve core methods—including equals, hashCode, clone, getClass, notify, notifyAll, and the various wait overloads—providing clear explanations, usage examples, and best‑practice guidelines for developers.
CloneFinalizeJava
0 likes · 4 min read

This guide walks you through creating a remote GitHub repository, cloning it locally, and using essential Git commands to add, commit, push, and pull code, plus integrating Git with IntelliJ IDEA, illustrated with step‑by‑step screenshots.
CloneGitIntelliJ IDEA
0 likes · 6 min read

This article walks through the Linux kernel mechanisms for creating and destroying processes, covering copy‑on‑write, the fork/vfork/clone system calls, the kernel_clone implementation in kernels 5.0 and 6.5, the copy_process workflow, and the steps the kernel takes to wake up a new task and clean up a terminated one.
CloneLinuxeBPF
0 likes · 26 min read

nsenter, a util-linux command, lets you run programs inside a target process’s namespaces—such as network, mount, or PID—enabling container network debugging, namespace inspection, and execution of commands without needing built-in tools, with examples for Docker and Kubernetes and explanations of underlying clone and setns system calls.
CloneDockerKubernetes
0 likes · 10 min read

This article explains the purpose, usage, constraints, and example code for several PHP magic methods—including __toString, __invoke, __set_state, __clone, __autoload, and __debugInfo—showing their effects, common pitfalls, and how they improve object handling and debugging in modern PHP applications.
Cloneautoloaddebugging
0 likes · 10 min read

This article explains how the Linux nsenter command can enter a container's network or other namespaces, shows its syntax, provides practical Docker and Kubernetes examples, and details the underlying namespace, clone, and setns mechanisms for advanced container debugging.
CloneLinux namespacescontainer debugging
0 likes · 9 min read

This article explains what the nsenter command does, how to use it to enter various Linux namespaces—especially a container's network namespace—for debugging, and provides detailed syntax, examples, and the underlying principles of namespaces, clone, and setns.
Clonecontainer debuggingnsenter
0 likes · 11 min read

This article explains how the nsenter command from util‑linux lets you enter a container's network or other namespaces to run host tools for debugging, details its syntax, provides practical examples with Docker and Kubernetes, and covers the underlying concepts of Linux namespaces, clone, and setns.
CloneKubernetesLinux namespaces
0 likes · 9 min read

This article explains how Linux implements processes and threads, showing that both are represented by the same task_struct structure, detailing thread creation via pthread_create and clone, and comparing the kernel‑level steps—including flag handling, copy_process, and resource sharing—that differentiate threads from full processes.
CloneLinuxThread
0 likes · 17 min read

This guide explains how to use the nsenter command to enter specific Linux namespaces—such as network, mount, and PID—enabling container network debugging, demonstrates related commands like clone and setns, and provides practical examples for Kubernetes and Docker environments.
CloneLinux namespacescontainer debugging
0 likes · 11 min read

This article explains the difference between shallow and deep copying in Java and provides five practical techniques—including constructor copying, overriding clone(), Apache Commons Lang serialization, Gson serialization, and Jackson serialization—complete with code examples and test cases to demonstrate each approach.
CloneGsonJackson
0 likes · 8 min read

This article explains four Java array copying techniques—manual loop assignment, System.arraycopy, Arrays.copyOf (or copyOfRange), and clone—detailing their shallow or deep copy behavior, performance characteristics, and providing complete code examples with expected outputs.
Array CopyArrays.copyOfClone
0 likes · 10 min read


21CTOMar 12, 2021 · Frontend Development
This article compiles a curated list of more than seventy open‑source clone projects—ranging from 2048 and Airbnb to Netflix and TikTok—providing live demos, source‑code links, and technology‑stack details to help developers learn modern frontend techniques.
CloneLearningReact
0 likes · 10 min read

This article explains the Prototype design pattern in Go, shows how to clone objects with various implementations, compares their effects on object independence, and clarifies Go's value‑semantic parameter passing using concrete code examples and detailed analysis.
ClonePrototype PatternValue Semantics
0 likes · 8 min read

This article explains five core techniques for instantiating Java objects—including the new keyword, Class.newInstance(), Constructor.newInstance(), clone(), and deserialization—provides code examples for each method, and demonstrates their usage in a complete program with sample output.
CloneJavaObject Creation
0 likes · 8 min read

This article walks through the path from a Java program to the Linux kernel, detailing how the JVM is launched, how libjvm.so is loaded, how pthread_create maps to the clone system call, and what kernel resources are shared by Java threads.
CloneJVMLinux kernel
0 likes · 14 min read

This article explains how Java's ArrayList.clone() creates a shallow copy that shares object references, demonstrates the resulting behavior with string and custom object lists, and shows how to implement a deep copy by manually cloning each element, complete with runnable code samples and console output.
CloneDeep CopyJava
0 likes · 7 min read

This guide explains how to overcome the typical 20 kB/s GitHub download limit in China by mirroring repositories to Gitee, providing step‑by‑step instructions to achieve 1‑2 MB/s clone speeds for both main projects and their submodules.
CloneGitGitee
0 likes · 5 min read

This article explains Rust's ownership model, detailing how values are owned by variables, released when out of scope, and transferred or accessed through cloning, moving, immutable borrowing, and mutable borrowing, with code examples illustrating each rule and the compiler errors they prevent.
CloneMoveborrowing
0 likes · 9 min read

This article explains how the MySQL 8.0 CLONE plugin simplifies creating reliable replica instances by installing the plugin, granting necessary privileges, executing the CLONE SQL statement, monitoring progress via performance_schema, and verifying successful completion of all clone stages.
CloneDatabase ReplicationInnoDB
0 likes · 12 min read

This guide walks through the complete workflow for contributing code to a GitHub project, covering forking, cloning, creating a development branch, committing changes, pushing them, opening a pull request, and synchronising a fork with upstream updates.
Clonefork
0 likes · 6 min read

This article presents a collection of essential Java programming practices, covering how to correctly implement equals, hashCode, compareTo, clone, use StringBuilder, generate random numbers, manage threads, handle I/O with try‑finally, perform defensive checks, and manipulate arrays and primitive packing.
Best PracticesClonecollections
0 likes · 14 min read
