Tagged articles
Loop
46 articles · Page 1 of 1
This article argues that complex Agent systems must separate three distinct structures: Loop handles node-level convergence, Task Graph manages work dependencies and coordination, and Plugin Runtime binds capabilities like models and tools; mixing them into a monolithic Agent leads to invisible boundaries and unrecoverable failures.
Component GraphContextEvidence
0 likes · 17 min read


ArchitectAug 29, 2026 · Artificial Intelligence
The article analyzes Claude Code’s /loop and /goal commands, explaining how /loop schedules recurring checks while /goal defines completion criteria, detailing their syntax, durability options, state management, failure handling, and practical use cases for automating SDK upgrades, PR creation, and CI monitoring, and discusses how agent architecture should evolve as models become more capable.
Claude CodeGoalLoop
0 likes · 17 min read

The article explains how workflow orchestration transforms repetitive manual tasks into automated pipelines by using DAG‑based nodes, directed edges, and three fundamental programming constructs—sequential execution, conditional branching, and loops—illustrated with a daily data‑fetch‑to‑Excel‑to‑email example and the WorkBuddy platform.
DAGLoopWorkBuddy
0 likes · 9 min read


ArchitectJul 31, 2026 · Artificial Intelligence
The article breaks down agent engineering into five concentric layers—Prompt, Context, Harness, Loop, and Graph—explaining how each governs task definition, current facts, execution environment, iterative exploration, and stable cross‑task relationships, illustrated with a payment‑callback fix case and AutoResearch insights.
AI agentsAgent EngineeringAutoResearch
0 likes · 20 min read


ArchitectJul 1, 2026 · Artificial Intelligence
The article explains how to transform AI agents from single‑prompt responders into reliable night‑shift workers by defining clear goals, state files, evidence, and permission boundaries, using /goal, /loop and scheduled tasks, and provides concrete steps, examples, and a scheduling template for stable unattended execution.
AI agentsGoalLoop
0 likes · 27 min read


ArchitectJun 30, 2026 · Artificial Intelligence
This article explores Claude Code's /loop feature, showing how it can act as an in‑session observer to automate repetitive checks like CI status, deployments, and PR comments, while providing evidence, handling failures, and integrating with broader scheduling tools for reliable engineering workflows.
AI automationCI monitoringClaude Code
0 likes · 17 min read

The article compares Loop and Multica, showing how Loop’s “colleague” model—featuring a three‑layer Soul/Agent/Instance identity, explicit @‑based dispatch, rich multi‑agent orchestration, rewind capability, scheduled tasks, and precise external event routing—outperforms Multica’s simpler “outsourced task” approach despite Multica’s broader tool matrix.
AI collaborationHuman-AI InteractionLoop
0 likes · 18 min read

The article dissects the rapidly debated concept of “Loop” in AI programming, tracing its origin from a viral tweet, defining it through Boris Cherny’s explanation, outlining its five evolutionary layers, practical usage, cost implications, and how it differs from traditional cron jobs.
AI agentsClaude CodeLoop
0 likes · 11 min read

TiDB’s engineering team created Loop, a team‑oriented workspace that lets multiple AI agents cooperate like colleagues, addressing coordination problems such as broken context, manual state sync, overlapping work, and long‑task stability, and now offers a beta for early adopters.
AI collaborationLoopTeam Workspace
0 likes · 4 min read

Claude Code’s product lead Boris Cherny revealed fifteen little‑known commands and tricks—ranging from mobile coding and voice input to automated loops, worktree parallelism, and advanced CLI flags—that let developers treat Claude as a 24/7 coding assistant and dramatically boost productivity.
AI codingCLI commandsClaude Code
0 likes · 7 min read

Claude Code v2.1.71 introduces the /loop command, a session‑level scheduler that lets the AI run recurring or one‑time tasks for up to three days, turning idle waiting periods into automated work while offering flexible time formats, nesting, and clear limitations.
AI schedulingClaude CodeLoop
0 likes · 10 min read

The article explains why Array.prototype.forEach is increasingly discouraged in modern JavaScript, especially when combined with async/await, and shows how replacing it with a for...of loop resolves asynchronous pitfalls, enables proper flow‑control statements, and improves code clarity.
Array MethodsAsync/AwaitJavaScript
0 likes · 5 min read

This article explains why combining forEach with async/await leads to unexpected immediate execution, analyzes the underlying behavior of forEach, and presents three reliable patterns—sequential for...of loops, parallel Promise.all with map, and traditional for loops—to correctly handle asynchronous operations in JavaScript.
Async/AwaitJavaScriptLoop
0 likes · 7 min read

This tutorial demonstrates how to use variables and loop constructs in MySQL and PostgreSQL stored procedures to iterate over a users table, filter records by age, and simulate sending a system welcome message, while comparing syntax differences between the two databases.
LoopMySQLPostgreSQL
0 likes · 6 min read

This article explains how JavaScript closures, while powerful for encapsulation and modularity, can cause memory leaks, unexpected variable sharing in loops, and side‑effects when external variables are modified, and provides practical solutions such as releasing references, using let, IIFEs, bind, and immutable patterns.
JavaScriptLoopMemory Leak
0 likes · 6 min read

This article explains how to manage integer ranges in PHP using loops, conditional checks, and custom functions, highlighting basic techniques, advanced optimizations like bitwise operations, and best‑practice recommendations for efficient, readable code.
Integer RangeLoopPHP
0 likes · 6 min read

This article examines a puzzling Python list loop that prints nothing, explains why the loop behaves unexpectedly, and provides step‑by‑step annotated code examples to help readers understand list mutation during iteration and avoid common pitfalls.
ListLoopPython
0 likes · 6 min read

This article explains the behavioral and performance differences of positioning a try‑catch block either outside or inside a Java for‑loop, illustrating each case with code examples, execution results, memory analysis, and practical recommendations for handling exceptions during batch processing.
Exception HandlingJavaLoop
0 likes · 5 min read

This article presents four practical Python techniques—including list reversal, tuple swapping, loop placement, and function‑call reduction—that together can shave roughly 10‑20% off typical script execution times while keeping the code clear and maintainable.
ListLoopSwap
0 likes · 7 min read

This article explains how PHP's foreach loop works and demonstrates the powerful use of the & reference operator to modify array elements, create dynamic variables, handle large datasets efficiently, and outlines best practices and alternatives for safe and effective coding.
LoopPHPforeach
0 likes · 5 min read

This article walks through a Python automation question about a failing second for‑loop, explains why the variable is a generator rather than a list, shows how to convert or iterate it correctly, and offers practical tips for posting code questions and accessing learning resources.
Loopautomationcoding
0 likes · 4 min read

This article examines the advantages and disadvantages of placing try-catch blocks inside versus outside loops in Java, provides concrete code examples, references performance guidelines from the Alibaba Java Development Manual, and outlines scenarios to help developers choose the most appropriate approach.
Exception HandlingJavaLoop
0 likes · 5 min read

This article thoroughly explains PHP's foreach loop syntax, demonstrates its use with indexed, associative, and multidimensional arrays, and provides complete code examples showing how to access values and keys in each scenario.
BackendLoopPHP
0 likes · 6 min read

This article walks through a real‑world Pandas question from a Python community, presents two solution approaches—including a double‑for‑loop implementation—provides the full code snippet, and explains how the fix resolves the data lookup problem.
Loopdata processing
0 likes · 3 min read

Learn a quick IntelliJ IDEA trick that lets you set a breakpoint to pause only when a loop reaches a particular iteration, eliminating the need to manually step through each cycle and speeding up Java debugging.
Conditional BreakpointDebuggingIDEA
0 likes · 3 min read

This article examines eight common techniques for deleting elements from a Java List, explains why certain loop‑based approaches cause errors or unexpected results, and highlights the three reliable methods—including reverse for‑loops, iterator.remove, and Stream filtering—that work correctly.
ConcurrentModificationExceptionJavaList
0 likes · 9 min read

This article explains that using return inside Java 8’s forEach does not stop the surrounding method but merely skips the current iteration, similar to continue, and presents several solutions—including using a traditional foreach loop, break, return (not recommended), and throwing an exception—to correctly terminate the loop.
ExceptionJavaLoop
0 likes · 5 min read

This article explores how Java's foreach loop handles collection traversal, demonstrates why removing or modifying elements directly within a foreach causes ConcurrentModificationException, compares it with traditional for loops, and shows the correct way to delete or update elements using an iterator or element properties.
ConcurrentModificationExceptionJavaLoop
0 likes · 9 min read

This article explains x86 assembly direct and indirect memory addressing, the meaning of address length, how to use registers like BX for indexed access, and demonstrates loop‑based multiplication with detailed code examples and execution analysis.
LoopLow-Level Programmingaddressing
0 likes · 11 min read

This article walks through a puzzling Python list loop that produces no output, explains why the loop stops early, shows annotated code examples, and presents a second variant of the problem with detailed step‑by‑step analysis to help readers avoid similar bugs.
DebuggingListLoop
0 likes · 5 min read

This article compares JavaScript's five main iteration constructs—for, forEach, map, for...in, and for...of—examining their syntax, use‑cases, performance characteristics, and how they handle break/continue, helping developers choose the most suitable method for a given scenario.
JavaScriptLooparray
0 likes · 10 min read

This article benchmarks Java's traditional for loop, enhanced foreach loop, and Stream API by measuring execution time on 10,000 and 10,000,000 elements, showing that for loops are fastest for small datasets while Stream offers parallelism advantages for large data volumes.
BenchmarkJavaLoop
0 likes · 5 min read

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.
Loopcontrol statementsfundamentals
0 likes · 3 min read

The article presents a series of Java benchmarks that compare per‑iteration and cumulative string concatenation using String versus StringBuilder, explains why the compiler optimises String concatenation to StringBuilder, and draws conclusions about the most efficient usage patterns in loop‑heavy code.
BenchmarkJavaLoop
0 likes · 8 min read

This guide demonstrates how to use Ansible's when conditional to limit task execution to a specific host and how to employ loops with the user module to create multiple users across servers, including full playbook examples and verification steps.
Loopconditionaluser management
0 likes · 3 min read

This article compares the five main JavaScript iteration constructs—traditional for loops, forEach, map, for...in, and for...of—detailing their syntax, use‑cases, performance characteristics, and how to choose the most appropriate one for a given scenario.
JavaScriptLoopfor...of
0 likes · 13 min read

This guide clarifies the differences between native JavaScript and jQuery iteration functions, shows how to convert between DOM and jQuery objects, and provides concrete code examples for each looping method—including for, forEach, every, some, map, filter, for‑in, each, $.map, $.grep, $.inArray and $.filter—so developers can choose the right tool without errors.
Array MethodsDOMJavaScript
0 likes · 7 min read

This article explains why using a foreach loop to remove elements from a Java List triggers java.util.ConcurrentModificationException, analyzes the underlying iterator mechanism, and presents three safe alternatives: iterator.remove(), forward-index loop with index adjustment, and reverse-index loop.
ConcurrentModificationExceptionJavaLoop
0 likes · 6 min read

This article explains why a foreach loop over an ArrayList can throw java.util.ConcurrentModificationException when removing elements, analyzes the underlying iterator mechanism, and presents three safe alternatives—using Iterator.remove(), a forward-index for loop with index correction, and a reverse for loop—to modify collections without errors.
ConcurrentModificationExceptionLooparraylist
0 likes · 7 min read

This guide explains the essential loop constructs in Bash—basic for loops, range expansions, while loops, nested loops, dynamic iteration over system data, variable validation techniques, file line processing, and infinite loops—providing clear examples and practical code snippets for each scenario.

This article examines how the Go compiler translates range loops into low‑level assembly instructions, walks through a concrete example with code and assembly output, explains each instruction’s role, and highlights recent compiler improvements that enhance safety and scheduler interaction.
CompilerLoopassembly
0 likes · 8 min read

This article introduces Python's basic control flow constructs, including if/elif/else conditional statements, for and while loops with break/continue, iterator usage with Iterable and enumerate, and list comprehensions, providing example code snippets and their outputs for each concept.
LoopPythonconditional
0 likes · 4 min read

This article examines Java's forEach syntax, C‑style for loops, and Stream API by benchmarking their execution times on large collections, explaining the underlying mechanisms that cause performance differences and identifying the most efficient traversal method for Sets.
LoopStreambenchmarking
0 likes · 7 min read

This article explores ten puzzling Python behaviors—from implicit dictionary key conversion and generator timing quirks to list‑iteration deletions, else clause nuances, the difference between is and ==, loop variable leakage, + versus +=, try‑finally returns, mutable True/False assignments, and subtle for‑loop mechanics—providing clear explanations and code examples for each.
LoopPythondict
0 likes · 11 min read

This article compares several Java techniques—using List, Set, a simple loop, Arrays.binarySearch, and Apache Commons ArrayUtils—to determine whether an unordered array contains a specific value, analyzes their time complexities, and presents benchmark results for arrays of different sizes.
CONTAINSJavaList
0 likes · 6 min read

Learn why a Bash script that reads IPs from a file and uses SSH in a while loop only processes the first host, and discover two reliable solutions—switching to a for loop or adding the -n option to SSH—to ensure all servers are queried correctly.
LoopSSHScript
0 likes · 4 min read
