Tagged articles
Command
14 articles · Page 1 of 1
This article demonstrates a concise method to empower Webman command modules with event‑loop capabilities by extending the Worker class, creating an AbstractCommand base, and defining a concrete command that runs within the event‑loop, complete with runnable code examples and execution output.
CommandWebmanevent-loop
0 likes · 7 min read

This article explains how LangGraph's interrupt() and Command mechanisms enable safe human‑in‑the‑loop approvals for risky AI actions such as data deletion, financial transfers, and email sending, balancing security with efficiency through a clear pause‑resume workflow.
AI workflowCommandInterrupt
0 likes · 6 min read

This article systematically explains LangChain’s four fundamental design patterns—Command, Chain of Responsibility, Decorator, and Pipeline—showing their definitions, core implementations, and practical code examples to help developers understand and extend the framework.
Chain of ResponsibilityCommandDecorator
0 likes · 34 min read

This article walks through three advanced LangGraph 1.0 features—using the Command object for conditional routing, checkpoint‑based memory for state persistence across invocations, and interrupt‑driven human‑in‑the‑loop control—providing concrete code examples, execution traces, and a comparison of design trade‑offs.
AI agentsCommandLangGraph
0 likes · 15 min read

This article explains how to expose a lightweight, dependency‑free client API for a Rust‑based database by defining a simple TCP‑based JSON serialization protocol, detailing non‑functional and functional requirements, the Message and Command structures, and providing a concrete Ping command implementation in Rust.
APICommandRust
0 likes · 7 min read

The article explains the Linux ‘command’ utility, detailing how it identifies a command’s type, executes it while bypassing shell functions, and reveals the full path of external commands, and provides common options, usage examples, and scripting scenarios to ensure reliable command execution.
CommandLinuxscripting
0 likes · 3 min read

This article explains the CQRS and Mediator patterns, compares CQRS to CRUD, discusses trade‑offs, and provides a step‑by‑step guide to configuring MediatR in an ASP.NET Core Web API, creating commands, queries, handlers, and testing the setup with Postman.
ASP.NET CoreCommandMediatR
0 likes · 12 min read

This article recounts Ken Thompson’s 1975 teaching stint at Berkeley, the emergence of Bill Joy’s contributions to Unix, and explains vi/vim’s core command structure—operators, motions, and modifiers—illustrating how mastering these fundamentals transforms the editor from daunting to powerful.
CommandViVim
0 likes · 7 min read

The article explains the purpose, syntax, options, and practical examples of the Linux unset command, showing how to remove shell variables, environment variables, and functions, while noting its limitations with read‑only variables and providing step‑by‑step demonstrations.
CommandLinuxfunctions
0 likes · 2 min read

This guide walks through setting up a Linux‑Nginx‑MySQL‑PHP environment, generating a Laravel Artisan command, configuring the Kernel schedule, and adding the necessary cron entry to run the task automatically each night at the specified time.
ArtisanCommandLaravel
0 likes · 6 min read

This article enumerates common Redis pitfalls—including unexpected key expiration loss, command‑induced blocking, memory‑intensive bitmap operations, AOF and RDB persistence issues, and master‑slave replication quirks—explaining their causes, real‑world impact, and practical mitigation steps.
CommandMemoryRedis
0 likes · 29 min read

This guide walks through creating a ThinkPHP command that sends birthday SMS messages each day, detailing folder setup, PHP code, command registration, and crontab scheduling with testing instructions.
BackendCommandPHP
0 likes · 3 min read

The article explains how to use the 'display interface brief' command to view interface status, interpret various state symbols, read input/output utilization percentages, and calculate actual traffic rates for each interface on a network device.
Commandinterfacenetwork
0 likes · 3 min read

This guide shows how to manage MongoDB indexes, covering creation with ensureIndex, listing with getIndexes, checking total index size, reindexing, and removing specific or all indexes using dropIndex and dropIndexes, complete with code snippets and illustrative screenshots.
CommandIndexMongoDB
0 likes · 2 min read
