Tag

range

1 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Feb 26, 2025 · Fundamentals

Understanding Python's range() Function: Syntax, Usage, and Practical Examples

This article introduces Python's built‑in range() function, explains its syntax and parameters, and provides ten clear code examples that demonstrate basic counting, custom start‑stop values, step sizes, reverse iteration, list creation, summation, string traversal, bulk list updates, 2‑D coordinate generation, and spaced element access.

iterationloopspython
0 likes · 7 min read
Understanding Python's range() Function: Syntax, Usage, and Practical Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 12, 2023 · Frontend Development

Detecting Text Ellipsis and Showing a Popper on Hover with CSS and JavaScript

This article explains how to apply CSS ellipsis to truncate overflowing text, then use JavaScript—particularly the createRange API and temporary DOM measurements—to detect when truncation occurs and display a popper tooltip only on hover, comparing several practical implementation methods.

CSSDOMEllipsis
0 likes · 9 min read
Detecting Text Ellipsis and Showing a Popper on Hover with CSS and JavaScript
Yuewen Frontend Team
Yuewen Frontend Team
Feb 24, 2022 · Frontend Development

Master Selections and Cursors in Web Development: Complete Guide with Code Samples

This comprehensive tutorial explains how selections and cursors work in web pages, covering the underlying Selection and Range APIs, handling editable and non‑editable elements, manipulating text in inputs, textareas, and rich content, and providing practical code snippets for every scenario.

CursorDOMJavaScript
0 likes · 21 min read
Master Selections and Cursors in Web Development: Complete Guide with Code Samples
Architecture & Thinking
Architecture & Thinking
Dec 6, 2021 · Databases

Master MySQL Partitioning: 5 Strategies, Performance Tests, and Management Tips

This article reviews MySQL horizontal partitioning, explains five partitioning strategies (HASH, RANGE, KEY, LIST, COMPOSITE), demonstrates how to create and test partitioned tables, compares performance with and without indexes, and covers partition management operations such as adding, dropping, and rebuilding partitions.

PerformanceSQLhash
0 likes · 23 min read
Master MySQL Partitioning: 5 Strategies, Performance Tests, and Management Tips
Practical DevOps Architecture
Practical DevOps Architecture
Mar 15, 2021 · Fundamentals

Understanding Python range() and Loop Control Statements

This article explains how Python's range() function generates numeric sequences with various start, stop, and step parameters, demonstrates converting ranges to lists, and describes loop control statements like break, continue, pass, and the else clause within for/while loops.

FundamentalsLoopcontrol-statements
0 likes · 3 min read
Understanding Python range() and Loop Control Statements
Laravel Tech Community
Laravel Tech Community
Dec 26, 2020 · Backend Development

PHP range() Function: Creating Arrays with Specified Elements

The PHP range() function generates an array of sequential values based on a start, end, and optional step, allowing numeric and character sequences, with examples demonstrating default steps, custom steps, and reverse ordering.

ArrayExamplePHP
0 likes · 2 min read
PHP range() Function: Creating Arrays with Specified Elements
Python Programming Learning Circle
Python Programming Learning Circle
Sep 23, 2019 · Fundamentals

Master Python Lists: Access, Modify, Sort, and Slice Explained

This tutorial explains Python lists—how to create them, access elements by index, modify items, add or remove entries, sort permanently or temporarily, generate numeric lists with range, perform basic statistics, and use slicing to extract or copy sub‑lists.

Indexinglistmanipulation
0 likes · 7 min read
Master Python Lists: Access, Modify, Sort, and Slice Explained
Architect's Tech Stack
Architect's Tech Stack
Apr 27, 2019 · Databases

Hybrid Hash‑Range Sharding Strategy with Group‑Based Allocation

This article presents a hybrid sharding approach that combines range partitioning to assign ID ranges to groups and hash modulo on the total number of tables to achieve uniform data distribution while avoiding hotspots and eliminating the need for data migration during scaling.

DatabaseShardingdistributed systems
0 likes · 7 min read
Hybrid Hash‑Range Sharding Strategy with Group‑Based Allocation
Test Development Learning Exchange
Test Development Learning Exchange
Aug 29, 2018 · Fundamentals

Understanding Python's range() Function: Syntax, Parameters, and Examples

This article explains Python's range() function, detailing its return type differences between Python 2 and 3, syntax variations, parameter meanings, and provides multiple code examples illustrating usage with various start, stop, and step values, as well as converting the result to lists or tuples.

iterationlistpython
0 likes · 3 min read
Understanding Python's range() Function: Syntax, Parameters, and Examples
Practical DevOps Architecture
Practical DevOps Architecture
Sep 30, 2015 · Fundamentals

Using range(), enumerate() and zip() for Flexible Loops in Python

This article explains how Python's range(), enumerate() and zip() functions can be combined to create more flexible loops, allowing iteration by index, simultaneous access to indices and elements, and parallel traversal of multiple sequences.

enumerateloopspython
0 likes · 4 min read
Using range(), enumerate() and zip() for Flexible Loops in Python
Qunar Tech Salon
Qunar Tech Salon
Dec 1, 2014 · Backend Development

Guava Range API: Concepts, Construction, Operations, and Discrete Domains

This article explains Guava's Range class, covering its mathematical definition, how to construct open, closed, and bounded ranges, perform containment, connectivity, intersection, span, and query operations, and use DiscreteDomain for enumerating values, with extensive Java code examples throughout.

APIDiscreteDomainGuava
0 likes · 12 min read
Guava Range API: Concepts, Construction, Operations, and Discrete Domains