Tagged articles
345 articles
Page 4 of 4
Programmer DD
Programmer DD
Dec 31, 2018 · Backend Development

Essential Spring Cloud Stream Resources: From Basics to Advanced Failure Handling

This curated list compiles essential Spring Cloud Stream articles covering quick start, core concepts, consumer groups and partitions, common FAQs, and four detailed failure‑handling strategies, providing developers with a handy reference to master message‑driven microservices.

Backend DevelopmentError HandlingMicroservices
0 likes · 3 min read
Essential Spring Cloud Stream Resources: From Basics to Advanced Failure Handling
Programmer DD
Programmer DD
Dec 18, 2018 · Backend Development

Simplify Message Failure Handling with RabbitMQ DLQ in Spring Cloud Stream

This tutorial demonstrates how to use RabbitMQ's dead‑letter queue (DLQ) with Spring Cloud Stream to automatically capture failed messages, configure retry and DLQ settings, and later reprocess those messages through simple console operations, providing a complete error‑handling workflow for backend services.

Error HandlingJavaMessage Retry
0 likes · 8 min read
Simplify Message Failure Handling with RabbitMQ DLQ in Spring Cloud Stream
21CTO
21CTO
Nov 30, 2018 · Fundamentals

Go 2.0 Is Coming: Inside the New Proposal Evaluation Process

After five years of dormancy, Go 2.0 is finally arriving, and the Go team has unveiled a community‑driven proposal evaluation process that outlines how selected language and library changes—such as generics, error handling, Unicode identifiers, and binary literals—will be reviewed, implemented, and potentially released.

Error HandlingGenericsGo 2
0 likes · 9 min read
Go 2.0 Is Coming: Inside the New Proposal Evaluation Process
MaGe Linux Operations
MaGe Linux Operations
Oct 30, 2018 · Databases

Top 10 MySQL Error Cases and How to Fix Them

This article presents ten classic MySQL error scenarios—from connection limits and replication conflicts to permission issues and character‑set problems—explaining their root causes, diagnostic commands, and step‑by‑step solutions to help beginners and DBAs troubleshoot efficiently.

Error Handlingdatabase troubleshootingmysql
0 likes · 16 min read
Top 10 MySQL Error Cases and How to Fix Them
Programmer DD
Programmer DD
Oct 25, 2018 · Backend Development

How to Create a Custom RestTemplate ResponseErrorHandler in Spring

This tutorial explains how to implement a custom ResponseErrorHandler for Spring's RestTemplate, inject it via RestTemplateBuilder, and test it with a mock server to gracefully convert HTTP errors into meaningful application exceptions.

BackendError HandlingJava
0 likes · 5 min read
How to Create a Custom RestTemplate ResponseErrorHandler in Spring
UC Tech Team
UC Tech Team
Oct 24, 2018 · Frontend Development

React v16.6.0 Release: New Features such as React.memo, React.lazy, Context API Enhancements, Error Boundaries, and StrictMode Updates

On October 23, React 16.6.0 was released, introducing React.memo for function components, React.lazy with Suspense for code‑splitting, a simpler static contextType API, new error‑boundary methods, and deprecations in StrictMode, along with installation instructions and a detailed changelog.

Error HandlingJavaScriptReact
0 likes · 7 min read
React v16.6.0 Release: New Features such as React.memo, React.lazy, Context API Enhancements, Error Boundaries, and StrictMode Updates
21CTO
21CTO
Sep 21, 2018 · Frontend Development

Mastering React’s New Lifecycle Methods: A Complete Guide

This article explains how React 16 introduced new lifecycle methods, phased component lifecycles, deprecation of old methods with UNSAFE_ prefixes, error handling, and provides practical examples and best‑practice recommendations for building robust React components.

ComponentError HandlingLifecycle
0 likes · 10 min read
Mastering React’s New Lifecycle Methods: A Complete Guide
Java Captain
Java Captain
Sep 21, 2018 · Backend Development

Common Mistakes in API Design and the Benefits of a Unified ResultBean in Java

The article outlines frequent pitfalls in Java API design—such as inconsistent return formats, neglecting error cases, irrelevant or overly complex parameters, and missing essential response data—and advocates using a standardized ResultBean to improve readability, AOP integration, and automated testing.

Error HandlingJavaResultBean
0 likes · 4 min read
Common Mistakes in API Design and the Benefits of a Unified ResultBean in Java
Architecture Digest
Architecture Digest
Mar 12, 2018 · Frontend Development

Top 10 Most Common JavaScript Errors and How to Prevent Them

This article analyzes the ten most frequent JavaScript errors identified from over a thousand projects, explains why each occurs, and offers practical code examples and preventive techniques to help developers avoid these common pitfalls.

DebuggingError HandlingJavaScript
0 likes · 12 min read
Top 10 Most Common JavaScript Errors and How to Prevent Them
Architecture Digest
Architecture Digest
Jan 6, 2018 · Backend Development

Comprehensive Guide to Building Web Applications with Koa

This tutorial walks you through setting up a Node.js environment, installing Koa, and progressively building a web application by covering basic HTTP services, context handling, response types, routing, middleware, error handling, cookies, form processing, and file uploads with clear code examples.

Error HandlingKoaNode.js
0 likes · 19 min read
Comprehensive Guide to Building Web Applications with Koa
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Dec 5, 2017 · Backend Development

Mastering JavaScript Error Objects: Clean Error Handling and Reporting

This article explains how to leverage JavaScript's built‑in Error object and custom error classes to separate normal output from exceptions, improve readability, enable unified handling, and automatically report issues, offering practical code examples for both front‑end and Node.js back‑end development.

Error HandlingException reportingNode.js
0 likes · 7 min read
Mastering JavaScript Error Objects: Clean Error Handling and Reporting
ITPUB
ITPUB
Nov 26, 2017 · Operations

How to Prevent Accidental Deletion in Linux Shell Scripts

This article explains common scenarios where Bash variables, spaces, or special characters cause unintended rm -rf deletions and provides practical safeguards such as parameter expansion checks, quoting, set options, logical short‑circuiting, and friendly prompts to avoid catastrophic data loss.

BashError HandlingShell scripting
0 likes · 5 min read
How to Prevent Accidental Deletion in Linux Shell Scripts
21CTO
21CTO
Sep 20, 2017 · R&D Management

Turning Errors into Innovation: Anti‑Fragile Systems in Digital Business

In today's fast‑moving digital landscape, waiting for perfect products is impossible, so companies like Amazon and HARTING adopt anti‑fragile, error‑embracing approaches—using systematic root‑cause analysis, agile micro‑services, and tools like Chaos Monkey—to transform failures into rapid innovation and competitive advantage.

Agile DevelopmentDigital TransformationError Handling
0 likes · 10 min read
Turning Errors into Innovation: Anti‑Fragile Systems in Digital Business
ITPUB
ITPUB
Aug 9, 2017 · Backend Development

8 Essential Shell Scripting Practices Every Developer Should Follow

This article shares eight hard‑earned recommendations for writing robust Bash scripts, covering shebang selection, debugging flags, static analysis, variable expansion, proper scoping, signal trapping, defensive coding, and knowing when to switch to a more suitable language.

BashDebuggingError Handling
0 likes · 10 min read
8 Essential Shell Scripting Practices Every Developer Should Follow
MaGe Linux Operations
MaGe Linux Operations
Jul 21, 2017 · Operations

Master Linux Troubleshooting: 9 Common Errors and Their Fixes

This guide walks you through a systematic approach to diagnosing and resolving nine frequent Linux system problems—from read‑only file systems and argument‑list limits to inode exhaustion, space‑not‑released files, too many open files, and Apache startup failures—providing clear command‑line solutions for each.

Error Handlingfsckinode
0 likes · 18 min read
Master Linux Troubleshooting: 9 Common Errors and Their Fixes
21CTO
21CTO
Jun 12, 2017 · Frontend Development

Mastering JavaScript Error Handling: From Try‑Catch to Global onerror

This article explains why proper JavaScript error handling is essential, compares syntax and runtime errors, demonstrates good and bad try‑catch patterns, shows how to use global onerror listeners, capture stack traces, and handle asynchronous exceptions to improve frontend code reliability.

AsynchronousDebuggingError Handling
0 likes · 13 min read
Mastering JavaScript Error Handling: From Try‑Catch to Global onerror
MaGe Linux Operations
MaGe Linux Operations
Mar 12, 2017 · Backend Development

How to Build a Reliable Python Script for Memcached Testing and Error Handling

This article walks through the step‑by‑step process of creating a Python script to test Memcached servers, covering installation of python‑memcached and umemcached, retrieving server stats, handling connection errors with try‑except, logging failures, and refining the script into a reliable monitoring tool.

Error Handlingscriptumemcached
0 likes · 5 min read
How to Build a Reliable Python Script for Memcached Testing and Error Handling
ITPUB
ITPUB
Mar 2, 2017 · Frontend Development

Build a Lightweight JavaScript Error Tracker for Small Web Projects

Learn how to create a simple, custom JavaScript error‑tracking system that logs client‑side exceptions to a server, stores them in a database, and notifies users, offering a low‑cost alternative to heavyweight services for small web projects.

Custom TrackerError HandlingJavaScript
0 likes · 5 min read
Build a Lightweight JavaScript Error Tracker for Small Web Projects
Taobao Frontend Technology
Taobao Frontend Technology
Nov 10, 2016 · Frontend Development

How to Isolate Null Pointer Errors in Frontend JavaScript: Strategies & Tools

After launch, frontend apps often face API failures, missing data, and unexpected behavior that cause JavaScript null‑pointer errors and page crashes; this article explores practical solutions—including safe getters, async schema validation, Babel compile‑time transforms, and static type checking—to isolate and prevent such issues.

Error Handlingnull pointertype checking
0 likes · 8 min read
How to Isolate Null Pointer Errors in Frontend JavaScript: Strategies & Tools
Node Underground
Node Underground
Oct 17, 2016 · Backend Development

How Promises Change Post‑Mortem Debugging in Node.js Servers

This article explains how using JavaScript Promises in a Node.js HTTP server affects error handling, crash behavior, and core‑dump generation, contrasting a traditional callback server with a Promise‑based one and offering practical debugging options for post‑mortem analysis.

Error HandlingNode.jsPost-mortem debugging
0 likes · 6 min read
How Promises Change Post‑Mortem Debugging in Node.js Servers
Architecture Digest
Architecture Digest
Sep 2, 2016 · Fundamentals

Programming Philosophy: Writing Elegant, Modular, Readable, and Robust Code

The article presents a comprehensive programming philosophy that emphasizes repeatedly refining code, writing elegant, modular, readable, and simple programs, handling errors and null pointers robustly, and avoiding over‑engineering, offering practical guidelines applicable to any software development language.

Error HandlingSoftware Engineeringnull safety
0 likes · 41 min read
Programming Philosophy: Writing Elegant, Modular, Readable, and Robust Code
Node Underground
Node Underground
Aug 30, 2016 · Backend Development

Avoid Common Node.js Pitfalls: DecodeURIComponent, Promises, and HTTP Errors

This article shares real‑world Node.js pitfalls—from unsafe decodeURIComponent usage and hidden Promise errors to unhandled HTTP request failures—explaining why they occur and providing practical code‑level solutions such as try‑catch wrappers and proper error event handling to keep applications stable.

BackendError HandlingHTTP
0 likes · 4 min read
Avoid Common Node.js Pitfalls: DecodeURIComponent, Promises, and HTTP Errors
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 5, 2016 · Frontend Development

Mastering JavaScript Promises: Common Pitfalls and Best Practices

This article explains the fundamentals of JavaScript Promises, illustrates typical mistakes such as callback pyramids and missing returns, and demonstrates proper usage of chaining, Promise.all, resolve variations, error handling with catch, and state propagation to write clean, maintainable asynchronous code.

AsynchronousError HandlingJavaScript
0 likes · 23 min read
Mastering JavaScript Promises: Common Pitfalls and Best Practices
ITPUB
ITPUB
Apr 25, 2016 · Databases

Common MySQL Errors and How to Fix Them: A Practical Guide

This guide lists frequent MySQL error messages, explains their underlying causes, and provides step‑by‑step solutions—including configuration tweaks, permission adjustments, and server‑side fixes—to help developers quickly resolve database connectivity and query issues.

Error HandlingMySQL configurationdatabase troubleshooting
0 likes · 25 min read
Common MySQL Errors and How to Fix Them: A Practical Guide
ITPUB
ITPUB
Apr 22, 2016 · Databases

Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive

This article explains how the Oracle oerr utility works as a shell script, shows how it maps facilities to components, locates the appropriate message files, and demonstrates using sed and awk to extract detailed error descriptions, causes, and actions for any ORA code.

Error HandlingOracledatabases
0 likes · 7 min read
Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive
Aotu Lab
Aotu Lab
Apr 15, 2016 · Frontend Development

Master Clean JavaScript: Coding Style, Variables, Error Handling, and Design Patterns

This article provides a comprehensive guide to writing maintainable JavaScript, covering coding conventions, variable best practices, error handling techniques, object creation methods, prototype and module patterns, and practical examples to help developers build clean, modular, and loosely‑coupled code.

Design PatternsError HandlingJavaScript
0 likes · 16 min read
Master Clean JavaScript: Coding Style, Variables, Error Handling, and Design Patterns
High Availability Architecture
High Availability Architecture
Mar 30, 2016 · Backend Development

Lessons Learned from Building Teamwork Desk Services with Go

This article shares practical lessons and common pitfalls encountered while developing numerous Go‑based microservices for Teamwork Desk, covering topics such as framework choices, panic handling, request body reuse, SQL handling, pointer usage, naked returns, variable shadowing, concurrent map access, and vendoring best practices.

BackendError Handlingbest-practices
0 likes · 15 min read
Lessons Learned from Building Teamwork Desk Services with Go
21CTO
21CTO
Feb 8, 2016 · Fundamentals

Master Defensive Programming in PHP: Prevent Errors Before They Happen

This article explains defensive programming concepts for PHP developers, illustrating why anticipating failures, never trusting user input, avoiding assumptions, maintaining narrow focus, and keeping consistent syntax can dramatically reduce bugs and improve code reliability.

Error HandlingPHPcoding best practices
0 likes · 8 min read
Master Defensive Programming in PHP: Prevent Errors Before They Happen
Qunar Tech Salon
Qunar Tech Salon
Dec 23, 2015 · Fundamentals

Writing Impervious Code: Proper Use of If‑Else, Error Handling, Null Safety, and Avoiding Over‑Engineering

The article explains how to write robust, error‑free code by always using two‑branch if statements, handling return values and exceptions correctly, avoiding null‑pointer pitfalls, and steering clear of over‑engineering through practical examples and clear best‑practice guidelines.

Error HandlingSoftware Engineeringbest practices
0 likes · 21 min read
Writing Impervious Code: Proper Use of If‑Else, Error Handling, Null Safety, and Avoiding Over‑Engineering
21CTO
21CTO
Dec 14, 2015 · Fundamentals

How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety

This article explores practical programming philosophies for writing robust, maintainable code by using exhaustive two‑branch if statements, proper error handling, disciplined null‑pointer management, and avoiding over‑engineering, offering concrete examples and guidelines for Java and other languages.

Error HandlingSoftware Engineeringbest practices
0 likes · 21 min read
How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety
ITPUB
ITPUB
Nov 13, 2015 · Backend Development

Eliminate Code Segregation: Writing Cleaner, More Elegant PHP

This article shows how to transform fragmented PHP snippets—such as disjointed loops, scattered timing code, and split error‑code definitions—into cohesive, readable structures using for‑loops, functional helpers, shutdown callbacks, and modern constant arrays, improving both aesthetics and maintainability.

BackendError HandlingPHP
0 likes · 5 min read
Eliminate Code Segregation: Writing Cleaner, More Elegant PHP
21CTO
21CTO
Nov 1, 2015 · Product Management

What Makes an Error Dialog Truly Helpful? Lessons from Apple and Windows

This article examines why many error dialogs frustrate users, outlines Apple’s human‑interface guidelines for clear notifications, critiques real‑world examples from Windows Phone, Google Chrome and Twitter, and distills three essential principles for designing useful, user‑friendly error messages.

Error HandlingUI designUser experience
0 likes · 9 min read
What Makes an Error Dialog Truly Helpful? Lessons from Apple and Windows
JD.com Experience Design Center
JD.com Experience Design Center
Jun 3, 2015 · Frontend Development

Creative 404 Error Page Designs: Turning a Boring Error into an Engaging Experience

This article explores the evolution of the 404 error page from a simple "file not found" notice to a variety of creative designs—including textual art, stylized graphics, storytelling illustrations, humorous cartoons, interactive games, and dynamic redirects—aimed at improving user experience and engagement.

404 pageError HandlingUser experience
0 likes · 4 min read
Creative 404 Error Page Designs: Turning a Boring Error into an Engaging Experience