Tagged articles

compact

4 articles · Page 1 of 1
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Sep 4, 2026 · Mobile Development

HarmonyOS arktoolbox compact: Remove Falsy Array Values in One Line

This article introduces the compact utility from the arktoolbox library for HarmonyOS, which removes falsy values (null, undefined, 0, false, empty string, NaN) from arrays, explains its implementation, compares it with filter(Boolean), highlights edge cases like 0 being valid data, and demonstrates practical usage in forms, API aggregation, and caching.

ArkTSHarmonyOSMobile Development
0 likes · 16 min read
HarmonyOS arktoolbox compact: Remove Falsy Array Values in One Line
SuanNi
SuanNi
Apr 20, 2026 · Artificial Intelligence

How to Stop Context Rot in Claude Code: Rewind, Compact, and Sub‑Agents

This guide explains why massive token windows can cause context rot in Claude Code, demonstrates how to monitor usage, and walks through the /rewind, /clear, and /compact commands plus sub‑agent techniques to keep the model’s context clean and efficient.

AI Prompt EngineeringClaudeSession Management
0 likes · 8 min read
How to Stop Context Rot in Claude Code: Rewind, Compact, and Sub‑Agents
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 16, 2024 · Databases

How to Resolve MySQL "Index column size too large" (Error 1709) After Upgrading to 8.0.21

This article analyzes the MySQL 1709/1071 index‑column‑size‑too‑large error that appears after upgrading from 5.6 to 8.0.21, explains its relation to compact/redundant row formats, references the underlying bug, and provides practical steps and SQL queries to detect and fix affected tables before or after the upgrade.

Error 1709MySQLcompact
0 likes · 12 min read
How to Resolve MySQL "Index column size too large" (Error 1709) After Upgrading to 8.0.21