Tagged articles
28 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Aug 25, 2024 · Fundamentals

Using Python's shutil Module for File and Directory Operations

This article introduces Python's built‑in shutil module, explains its key functions for copying, moving, deleting, archiving, and retrieving file information, and provides comprehensive code examples demonstrating how to prepare test files and perform common file‑system tasks such as copying files, moving directories, and creating archives.

Pythonarchivecopy
0 likes · 7 min read
Using Python's shutil Module for File and Directory Operations
dbaplus Community
dbaplus Community
Aug 18, 2024 · Cloud Native

Unlock Dockerfile v1.7: New BuildKit Features & Advanced COPY Tricks

Version 1.7 of Dockerfile introduces enhanced BuildKit capabilities—including #syntax front‑end selection, expanded Bash‑style variable expansions, the --parents flag for preserving directory hierarchies, and --exclude filters—allowing developers to write more flexible, multi‑stage, and platform‑aware container builds with finer control over file copying.

ContainerDockerfileMulti‑stage
0 likes · 14 min read
Unlock Dockerfile v1.7: New BuildKit Features & Advanced COPY Tricks
MaGe Linux Operations
MaGe Linux Operations
Jun 1, 2024 · Fundamentals

Mastering Go Slices: Creation, Manipulation, and Performance Tips

Go slices are dynamic, flexible data structures built on arrays, offering automatic growth, efficient memory use, and powerful operations such as creation via make or literals, slicing, appending, copying, iteration, and passing to functions, with detailed examples and visualizations illustrating their internal mechanics.

GoGolangSlice
0 likes · 17 min read
Mastering Go Slices: Creation, Manipulation, and Performance Tips
php Courses
php Courses
Oct 19, 2023 · Backend Development

PHP copy() Function: Syntax, Parameters, Return Value, Example, and Usage Tips

This article explains PHP's copy() function, detailing its syntax, parameters, return values, example usage, and important precautions for safely copying files on the server, including handling of existing destination files, limitations with directories, and cross‑filesystem considerations.

FilesystemPHPcopy
0 likes · 3 min read
PHP copy() Function: Syntax, Parameters, Return Value, Example, and Usage Tips
Cognitive Technology Team
Cognitive Technology Team
Aug 6, 2023 · Fundamentals

Common Pitfalls When Using Go Slices and How to Avoid Them

This article explains three typical pitfalls of Go slices—ignoring the slice returned by append, unintentionally sharing the underlying array which can cause memory leaks, and the value‑copy behavior of for‑range loops—while also showing how to inspect slice internals using unsafe pointers.

BackendGoappend
0 likes · 5 min read
Common Pitfalls When Using Go Slices and How to Avoid Them
Programmer DD
Programmer DD
Aug 27, 2022 · Databases

Top 10 PostgreSQL Bulk Import Optimizations for Faster Data Loading

When loading massive amounts of data into PostgreSQL, disabling autocommit, postponing index and foreign‑key creation, adjusting memory settings, using COPY or pg_bulkload, and fine‑tuning WAL and trigger settings can dramatically improve import speed and overall performance.

Bulk ImportPerformance Tuningcopy
0 likes · 7 min read
Top 10 PostgreSQL Bulk Import Optimizations for Faster Data Loading
Python Programming Learning Circle
Python Programming Learning Circle
May 4, 2022 · Fundamentals

Common Python Interview Questions and Answers

This article provides concise explanations of ten fundamental Python topics, covering differences between lists and tuples, arrays and lists, append versus extend, equality operators, shallow and deep copying, loop control statements, variable scopes, range versus xrange, decorators, and the concepts of iterators and generators.

ArrayDecoratorIterator
0 likes · 7 min read
Common Python Interview Questions and Answers
Sohu Tech Products
Sohu Tech Products
Jan 26, 2022 · Mobile Development

Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C

This article documents a runtime crash triggered by mutating an NSMutableSet while enumerating it, explains how the Objective‑C copy attribute works, demonstrates shallow and deep copy behavior for strings and collections, and provides low‑level source analysis of the copy implementation in the Apple runtime.

CrashDeepCopyMutableSet
0 likes · 14 min read
Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C
Python Programming Learning Circle
Python Programming Learning Circle
Jul 10, 2021 · Fundamentals

Understanding Shallow and Deep Copy in Python

This article explains Python's shallow and deep copy mechanisms, demonstrates their differences with code examples, visual diagrams, and discusses when to use each approach, highlighting performance and memory considerations in software development.

Pythoncopydeep copy
0 likes · 5 min read
Understanding Shallow and Deep Copy in Python
MaGe Linux Operations
MaGe Linux Operations
Nov 30, 2020 · Fundamentals

Master Python Deep vs Shallow Copy: When and How to Use Them

This article explains why copying data in Python is necessary, distinguishes between assignment, shallow copy, and deep copy, demonstrates each with code examples and diagrams, and summarizes the performance and memory trade‑offs of the two copying methods.

copydeep copyprogramming fundamentals
0 likes · 6 min read
Master Python Deep vs Shallow Copy: When and How to Use Them
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 18, 2020 · Fundamentals

Master Go Slices: Understanding make, append, copy, and Capacity

This article explains Go slice fundamentals, covering how to create slices with make, the relationship between length and capacity, the behavior of append, why zero values appear, the automatic growth mechanism, and how to safely copy slices using the copy function, illustrated with code examples and diagrams.

GoMakeappend
0 likes · 8 min read
Master Go Slices: Understanding make, append, copy, and Capacity
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 6, 2019 · Fundamentals

Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing

This article explains the internal representation of Go slices, how they are created and initialized, the mechanics of append and capacity growth, slicing behavior, deep‑copy using the copy function, and whether slices are passed by value or reference, all illustrated with source code and assembly excerpts.

GoGolangSlice
0 likes · 24 min read
Understanding Go Slice Internals: Structure, Initialization, Append, Slicing, Copy, and Parameter Passing
Python Programming Learning Circle
Python Programming Learning Circle
Sep 12, 2019 · Fundamentals

8 Must‑Know Python Features Every Job Seeker Should Master

This article compiles eight representative Python language‑feature questions—covering iterators, generators, decorators, monkey‑patching, identity vs equality, shallow/deep copying, mutability, introspection, and naming conventions—to help candidates ace technical interviews and deepen their core Python knowledge.

IntrospectionIteratorsNamingConventions
0 likes · 10 min read
8 Must‑Know Python Features Every Job Seeker Should Master
NetEase Game Operations Platform
NetEase Game Operations Platform
Apr 20, 2019 · Databases

Understanding MySQL DDL Algorithms and How to Minimize Their Impact

This article explains the three MySQL DDL algorithms (COPY, INPLACE, INSTANT), compares third‑party tools like pt‑online‑schema‑change and gh‑ost, and provides practical guidance on selecting algorithms, using ALGORITHM clauses, monitoring progress, and handling performance, space, replication lag, and metadata lock issues.

DDLINPLACEMySQL
0 likes · 13 min read
Understanding MySQL DDL Algorithms and How to Minimize Their Impact
MaGe Linux Operations
MaGe Linux Operations
Apr 6, 2018 · Fundamentals

Unlock Python’s Power: Master Magic Methods for Advanced Object Behavior

This article explains Python’s magic methods—special double‑underscore functions like __init__, __new__, __getattr__, and __call__—showing how they control object construction, attribute access, custom containers, callability, context management, descriptors, and copying, with clear code examples for each feature.

CallableObject-Orientedcontext-manager
0 likes · 15 min read
Unlock Python’s Power: Master Magic Methods for Advanced Object Behavior