Research & engineering notebook

Notes from practice

Notes on frontend development, data processing and models, with code and references.

All notes

Updated November 2026
Engineering

Weather dashboards: observations, forecasts and update times

Apply frontend experience to forecast interfaces: distinguish observations from forecasts, stale responses from current ones, and unavailable data from zero.

Data visualizationForecast issue timeAsync state
7 min read
Engineering

File inventory: exclusions and size totals

A small Python inventory tool illustrates exclusions, report placement, stable sorting and why logical bytes are not freed disk space.

PythonCLIInventory
6 min read
Frontend

Sharing frontend logic across Web and mobile

Use the membership project to separate domain state from network, storage and device APIs; keep platform verification explicit.

大前端FrontendVue
7 min read
Frontend

Who owns an asynchronous response?

Separate search ordering, identity changes and page disposal. Check stale success, failure and finally paths.

大前端Frontend异步
7 min read
Engineering

Keep a demo safe before its scripts are ready

A real loading race in the engineering demos led to disabled-by-default controls, versioned assets and delayed-script checks.

大前端Frontend渐进增强
7 min read
Engineering

Writing setup instructions for a research demo

Turn a demo into a reviewable handoff with input contracts, versioned evidence, failure behavior and a clear separation between teaching output and paper results.

DemoReproducibilityRelease
6 min read
Model learning

When multimodal results disagree: deciding what to review

Adjust synthetic modality quality, missing inputs and disagreement to inspect rules for automatic output and human review. Includes an interactive example.

MultimodalCalibrationSelective prediction
9 min read
Model learning

Model evaluation: stopping, alignment and ensembles

Use the small KAPT evaluation utilities to examine why the best epoch, sample identity and decision threshold belong in an experimental protocol.

PythonEarly stoppingEnsemble
8 min read
Engineering

Duplicate orders, stock contention and state updates

Use a Silk Road teaching order to distinguish request retries, stock contention and state transitions, then turn those distinctions into testable decisions.

Spring BootTransactionsIdempotency
8 min read
Model learning

Prompt learning: tensor shapes and gradients

Trace task prompts, node features and gradient paths; distinguish frozen parameters from disabled gradients, and define what component checks can establish.

PyTorchPrompt learningAutograd
8 min read
Engineering

Permissions and release checks in a file system

The same file needs consistent access checks in search, download and export. Use the archive and counselor cases to inspect overlooked entry points.

AuthorizationWorkflowRelease verification
8 min read
Model learning

Digital humans: portrait animation, lip sync and local setup

Separate portrait motion transfer, audio-driven lip sync and real-time 3D avatars; follow their inputs, generation steps, quality checks and consent boundaries.

Digital humanPortrait animationAudio-visual sync
10 min read
Engineering

Keeping run records for generative projects

Record model versions, prompts, parameters and runtime details alongside successful and failed outputs for later debugging.

Generative AIExperiment designProvenance
7 min read

How to read these notes

These notes use AI-assisted drafting and translation. Code sources, teaching examples and completed checks are identified in each article. Dates refer to when a note was compiled.

More learning repositories and earlier notes