Blog

Implementing One-Click Screenshot Upload to Image Hosting with Alfred

This article introduces implementing one-click screenshot upload to image hosting with Alfred, including usage scenarios and implementation details to improve efficiency.

Apr 4, 2020

For Information Freedom — Part 3 (2020)

Notes on maintaining access to Google for learning: a working v2ray+websocket+https setup and quick deployment tips.

Apr 4, 2020

window.open Basics

A clarification on window.open URLs, relative vs absolute paths, dev vs build behavior, and why both may 'work' during development.

Apr 2, 2020

JS Precision Math: Choosing big.js vs mathjs

This post compares big.js and mathjs for JavaScript precision calculations, including pros, size, and usage considerations.

Apr 1, 2020

Eliminating Dead Code in TS Projects

How to remove dead code in TypeScript projects with compiler settings, lint rules, and tooling so you keep the codebase lean.

Mar 29, 2020

A Guide to HAR Files: Recording and Analyzing Web Requests

Learn how to use Chrome's HAR files to record and analyze web requests. This guide covers downloading, uploading, and understanding HAR files for effective debugging and troubleshooting.

Mar 28, 2020

React Project Framework Upgrade

This post describes upgrading a React project, including motivations, key areas, issues, and package versions.

Mar 23, 2020

integrity in yarn.lock

What the integrity field in yarn.lock means, how it’s computed, and why not every package has it.

Mar 19, 2020

Introducing CheckStyle to Improve Java Code Quality

This article introduces using CheckStyle to improve Java code quality, including usage scenarios and implementation details, to improve efficiency in CheckStyle Java code quality improvement.

Mar 15, 2020

lodash isEmpty

This post introduces lodash's isEmpty, including common misunderstandings, examples, and how the source code determines emptiness.

Mar 7, 2020

Deep Cloning in Redux State

Discusses the pitfalls of deep-cloning Redux state, compares cloneDeep, clone, and JSON techniques, and offers guidance on safer reducer patterns.

Mar 7, 2020

JavaScript method vs function vs member

This article explains the differences between JavaScript methods, functions, and members, including their advantages, implementation details, and related resources. These concepts help improve efficiency in JavaScript development.

Mar 1, 2020

Dash Usage Guide on Mac

This article introduces the Dash usage guide, including its advantages, implementation details, and related resources to help improve efficiency with Dash.

Feb 28, 2020

Git Team Development Process Specification - MR Conflict Resolution

This article introduces Git team development process specification for MR conflict resolution, including its advantages, implementation details, and relevant resources. These steps can help improve efficiency in handling MR conflicts in Git team development.

Feb 27, 2020

Effective JavaScript Reading Notes

This article contains my reading notes on Effective JavaScript, including key insights, implementation details, and related resources that help improve JavaScript development efficiency and understanding.

Feb 24, 2020

Important Details to Note When Using Antd

This article introduces important details to note when using Antd, including advantages, implementation details, and related resources to improve efficiency.

Feb 20, 2020

Thoughts on Code Coverage Scope in Code Review

This article examines how to consider code coverage scope during code reviews so the process stays efficient and avoids redundant work.

Feb 19, 2020

Why I Hate Lodash

This article explains why I hate Lodash, including usage scenarios and implementation details, to improve understanding of the issues with over-relying on Lodash.

Feb 16, 2020

NPM Dependency Model

This article introduces the npm dependency model, including its advantages, implementation details, and related materials to help improve efficiency in understanding npm dependency models.

Feb 16, 2020

query-string@5 vs 6

This article provides an introduction to query-string@5 vs 6, including their advantages, implementation details, and related resources. These insights can help developers improve their efficiency when working with query-string@5 vs 6.

Feb 9, 2020

Investigating Real‑Time Search Result Errors

Why type‑ahead shows stale results and how to fix it: cancel pending requests and show loading states.

Feb 9, 2020

Solving the Misalignment Between Antd Table Headers and Content Cells

This article introduces the issue of misalignment between Antd table headers and content cells, including advantages, implementation details, and related resources to improve efficiency.

Feb 5, 2020

Time Formatting in JavaScript

This post covers time formatting in JavaScript, including UTC display and locale-based formatting.

Feb 3, 2020

redux-saga-promise

Explores turning saga-driven actions into Promises, evaluates existing approaches, and shares notes on the redux-saga-promise helper.

Feb 2, 2020

regeneratorRuntime is not defined

Troubleshooting the regeneratorRuntime runtime error after adding redux-saga-promise, covering root cause and fixes in Webpack and Jest.

Feb 2, 2020