Commit Graph
236 Commits
Author SHA1 Message Date
hoelee 419c962e2f feat(architecture): implement consultant review r4 (stream separation, nav upgrade, internal cta, schema & anchor fixes)
Deploy / build (push) Successful in 25s
2026-10-27 01:19:38 +08:00
hoelee cc28722c79 docs: archive consultant review round 3 regarding about page conversion
Deploy / build (push) Successful in 20s
2026-10-27 00:45:11 +08:00
hoelee 4a3c329fc6 feat(about): upgrade about page into dual-track work-with-me conversion hub 2026-10-27 00:44:44 +08:00
hoelee a1f3eb585a docs: upgrade post guideline to v2 standard SOP
Deploy / build (push) Successful in 24s
2026-10-27 00:44:10 +08:00
hoelee 355fecd348 feat(content): implement consultant review recommendations (executive summary, dynamic cta, homelab cleanup)
Deploy / build (push) Successful in 25s
2026-10-27 00:31:50 +08:00
hoelee 5ecf25d37c feat(hero): use the workstation-to-server-racks render as the hero banner
Deploy / build (push) Successful in 22s
Replaces the generated isometric diagram with the supplied 2752x1536
render (engineer at a multi-monitor desk, container streams flowing into
server racks). Re-exported at 1024/1280/2048 widths; alt text and the
lightbox caption now describe what the image actually shows.
2026-10-26 11:24:24 +08:00
hoelee 2747950eac feat(hero): replace banner with full-frame architecture illustration
Deploy / build (push) Successful in 22s
The previous hero-banner was composed as a wide banner with an empty left
40% reserved for overlay text. In the 50/50 hero column it rendered as a
shrunken half-width picture with dead space on both sides.

New illustration fills the whole 16:9 frame edge to edge (code/CI/CD left,
container + host cluster centre, observability right) so the right hero
column reads as a system diagram at its native 518px width, with the
2048w lightbox for detail reading.

Also add a 1280w WebP so DPR2 desktops do not pull the 2048w asset on
first paint.
2026-10-26 11:11:22 +08:00
hoelee f0b98843e9 feat(home): upgrade hero with lightbox banner, infra stats grid, tech pills, and category shortcuts
Deploy / build (push) Successful in 17s
2026-10-26 10:39:59 +08:00
hoelee d5a0fc089d feat(hero): refactor home hero to 2-column desktop grid and mobile visual flow
Deploy / build (push) Successful in 24s
2026-10-26 10:16:14 +08:00
hoelee 9fd02b8320 feat(hero): add AI-generated 'From Code to Production' architecture banner to homepage
Deploy / build (push) Successful in 23s
2026-10-26 09:46:24 +08:00
hoelee af9694593a docs(project-state): record the header brand + two-row mobile nav change
Deploy / build (push) Successful in 30s
2026-10-26 09:10:20 +08:00
hoelee 18145b5db2 feat(header): logo mark + Lee Teong Hoe in brand, two-row mobile nav
Deploy / build (push) Successful in 29s
- brand: three-colour Hoelee mark (rasterised from the brand vector,
  transparent, public/images/hoelee-mark-96.png) followed by the name
- section links grouped in .nav-links so the mobile header puts them on
  their own row instead of wrapping past the search/lang/theme controls
- measured 320/360/390/414/600/768/1280: scrollWidth == innerWidth,
  header 91.6px two rows (<600px) / 60.3px one row, mark loads at 22/26px
2026-10-26 08:26:01 +08:00
hoelee 753e87d930 fix(audio): calibrate 60-track LRC timestamps with faster-whisper & strip rogue Korean characters
Deploy / build (push) Successful in 27s
2026-10-26 07:22:25 +08:00
hoelee 6ad1288ec7 fix(styles): prevent info overflow with dedicated full-width line and enlarge desktop cover to 38%
Deploy / build (push) Successful in 24s
2026-10-26 04:22:47 +08:00
hoelee af37f7ff1b style(posts): expand cover art to 1/3 width on desktop and 100% full-width on mobile
Deploy / build (push) Successful in 27s
2026-10-26 04:09:31 +08:00
hoelee 2b495efe43 feat(posts): publish 60-song full-length YuE2 BF16 tutorial with track navigator & lazy loading
Deploy / build (push) Successful in 25s
2026-10-26 03:58:10 +08:00
hoelee 0a4fc47fce feat(categories): replace procedural SVG art with Gemini-generated WebP editorial banners
Deploy / build (push) Successful in 23s
2026-10-26 02:48:06 +08:00
hoelee fa156b0b9d feat(posts): publish 3-part agent orchestration series across historical dates with full EN+ZH assets
Deploy / build (push) Successful in 27s
2026-10-25 19:47:54 +08:00
hoelee d5ab7dec81 feat(posts): publish 4-part windows-mcp series across historical dates with full EN+ZH assets
Deploy / build (push) Successful in 22s
2026-10-25 18:45:43 +08:00
hoelee 4cfbc33a6f feat(posts): update banner, og, and article body with face-swapping pipeline
Deploy / build (push) Successful in 22s
2026-10-25 11:59:42 +08:00
hoelee 6ab9526db1 docs(posts): reflect real workflow with gemini argon 4, iterative rerolls, and filmora editing
Deploy / build (push) Successful in 19s
2026-10-25 11:47:30 +08:00
hoelee e2fba8ee40 fix(assets): update og and banner images with crescent bay cover
Deploy / build (push) Successful in 17s
2026-10-25 11:40:20 +08:00
hoelee 103ccedd63 feat(posts): publish 4-minute ai music video case study (en+zh)
Deploy / build (push) Successful in 22s
2026-10-25 11:37:07 +08:00
hoelee f530311f45 chore: ignore .codegraph/ index directory 2026-10-23 02:05:39 +08:00
hoelee 38c243b783 docs(content-guide): voice rule — 'the infrastructure I manage', never a home lab or host count
Deploy / build (push) Successful in 21s
2026-10-23 02:04:11 +08:00
hoelee 1b795cee9d feat(posts): PHP2Shell — every PHP runtime I manage was vulnerable
Deploy / build (push) Successful in 23s
Adds EN + ZH post php2shell-patching-every-php-runtime-i-manage: measured
PHP versions across the fleet, the order the fixes shipped in, the 8.5
package trap, the OLS vhost handler switch, and the silent bot-block bug
the sweep uncovered. Ships og cards (EN/ZH), banner + webp, 2 thumbs.
2026-10-23 02:02:50 +08:00
hoelee bebc3272ce docs(state): record the consultant-review round as it actually shipped
Deploy / build (push) Successful in 1m4s
§4d now carries the real commit chain (f32ae90 → 04a1082 → cf4504e), the
verification that matters (Actions 292/293/295, six pages 200, artwork md5 vs
live, check-assets 162/162) and an owner queue with three items.

The task doc is rewritten around that queue: (1) confirm whether the four stage
timings (14.2 / 2.1 / 32.4 / 48.6 s) were measured — they have no trail in the
repo and the reviewer's complaint was exactly about unmeasured numbers;
(2) supply the before/after jitter clips; (3) decide which session owns edits to
these three posts, since two sessions on the same files put one session's
paragraphs into the other's commit.

Also drops a claim inherited from the parallel session's completion block: the
reviewer's meta descriptions were never adopted, the frontmatter keeps the
originals.
2026-10-22 23:09:02 +08:00
hoelee cf4504ed21 fix(posts): one render number per page — 38.0% everywhere (352s -> 218.3s)
Deploy / build (push) Successful in 29s
The benchmark table derives its figures from 218.3 s ((352-218.3)/352 = 37.98%),
while the TL;DR said 38.1% (that one came from rounding 218 exactly). Same page
carried both numbers; now the TL;DR matches the table. 1.61x throughput is
unchanged (352/218.3 = 1.6125).
2026-10-22 21:14:40 +08:00
hoelee 64e8410b3c feat(assets): replace TTS posts placeholder banners/OGs with Ideogram 4 3D cyber-bento renders
Deploy / build (push) Successful in 36s
2026-10-22 20:45:00 +08:00
hoelee 04a1082e94 docs(blog): complete consultant review enhancements with compositing diagrams and benchmarks
Deploy / build (push) Successful in 16s
2026-10-22 19:31:10 +08:00
hoelee f32ae90cf0 fix(posts): correct the 3 video posts after consultant review, with fresh artwork
Deploy / build (push) Successful in 39s
Reviewer's five "highest priority" items, each checked against the source before acting:

* 38% speedup -> 38.1% less render time (352s -> 218s, 1.61x throughput); says it was
  a single run each, same clip, same machine, same encoder settings.
* "microsecond-accurate" -> frame-accurate: at 30 fps one frame is 33.3 ms, and the text
  now states that word-level timestamps are not microsecond-accurate.
* "Three minutes later" -> "a few minutes later", plus the one measured number (218 s
  render for the 4-minute track) so the claim is checkable.
* Zero Jitter / Zero Light Flashing -> "no visible jitter" / "no dark flash at the cut",
  scoped to the clip that was measured.
* ti.mode 0o666 -> 0o644. Hygiene, not the syntax error he reported: source and live HTML
  both read 0o666 (the live page splits it across two highlight spans and his text
  extraction inserted a space), and 0o666 is legal Python.
* "0 MB RAM spike in Chrome" now scopes itself to the Chrome container and says the
  Python client still buffers the whole tar. New "What this pattern does not solve"
  block: client buffering, target directory must already exist, tar member names become
  container paths, Portainer key / CDP 9222 are root-equivalent.

All three posts get a TL;DR and inline cross-links (the trio had zero internal links
before); the ZH links use the real /posts/zh/<slug>/ path.

Not done, because it needs the owner's data rather than invention: end-to-end timing
table, benchmark conditions, whether 1.89 s was a single run, before/after jitter clips,
the "what still needs a human" list. Task list:
docs/consultant-review-2026-10-22-3-video-posts.md.

Artwork for the three slugs regenerated (1600x900 banner, 1200x630 share cards EN+ZH,
400/800 list thumbs); the ZH pipeline card already carries the corrected description.
2026-10-22 19:29:26 +08:00
hoelee 6409f751a9 feat(posts): add 2 local TTS posts (EN+ZH) on CosyVoice 2 stack and percent-encoding post-mortem
Deploy / build (push) Successful in 25s
2026-10-22 19:16:25 +08:00
hoelee 19023d2e4e feat(posts): add 3 video automation posts (EN+ZH) backdated into 2025 archive gaps with full artwork suite
Deploy / build (push) Successful in 31s
2026-10-22 18:47:41 +08:00
hoelee b5bb69937e feat(posts): publish case study on why I built a video knowledge base with generated art
Deploy / build (push) Successful in 21s
2026-10-21 07:46:44 +08:00
hoelee 2af0f38774 feat(posts): add case study on why I built a video knowledge base (EN+ZH, draft)
Deploy / build (push) Successful in 22s
2026-10-21 07:33:31 +08:00
hoelee 200dd46848 fix(css): add scroll-margin-top to headings for sticky header offset
Deploy / build (push) Successful in 15s
2026-10-21 06:54:13 +08:00
hoelee 2c10cad52b feat(ui): add article TOC and interactive VRAM calculator for Wan 2.2
Deploy / build (push) Successful in 22s
2026-10-21 06:44:04 +08:00
hoelee 0dae8b0daa fix(art): give both 2026-10-20 posts their artwork, and gate the build on it
Deploy / build (push) Successful in 34s
The YuE2 and subtitles posts shipped text-only: render_from_art.mjs only READS
ogImage/banner, and after the 2026-10-19 bulk migration no script had to write
them, so both pages advertised /og-default.jpg and rendered no hero banner.

- new metaphors (in build_captions.py, frozen here via sync_prompts_catalog.py),
  captions, art-meta evidence, banner plan and the five derived files per slug
- frontmatter: ogImage + banner in EN and ZH for both posts
- scripts/check-assets.mjs is now step 1 of npm run build, so CI fails when a
  published post lacks a language-correct og card, banner, banner .webp or
  400/800 list thumb. It reported 16 problems on the unfixed tree, all here.
2026-10-20 23:37:52 +08:00
hoelee 557f312bc7 feat(tags): tag pages get the archive filter bar and topic chips
/tags/<tag>/ passed chrome={false}, so a tag page showed a bare list — no filter
input and no chips — while /posts/ had both. Enable the chrome and add a
chipPosts prop: the tag strip is built from the whole language collection because
its chips navigate (page-scoped counts would lie), while category chips and the
row filter stay scoped to the posts on the page so their counts match the rows.
The current tag is marked is-active + aria-current instead of looking clickable.
2026-10-20 23:37:44 +08:00
hoelee 84b412470b style(related): two-up on desktop, one-up on phones
Deploy / build (push) Successful in 33s
Six photo cards in 2 columns (3 rows) at desktop widths; phones collapse to a
single full-width column and still show only the first four. Drops the 900px
two-column step (now the base) and the cramped-card type overrides that only
existed for the 2-up phone grid.
2026-10-20 23:16:17 +08:00
hoelee 7f2680ea92 feat(related): photo cards — 6 on desktop, 4 on phones, each post's own share card
Deploy / build (push) Successful in 33s
Related posts were 4 text-only cards. They now carry the post's language-specific
ogImage (/og/<slug>.jpg for EN, /og/zh-<slug>.jpg for ZH), so an English page never
shows Chinese art. Grid is 3 across above 900px, 2 across below, and phones show the
first 4 only; read-time is dropped under 600px so the date fits.

Verified in the built HTML + headless Chrome at 1264/884/500px: 3/2/2 columns,
6/6/4 visible cards, no horizontal overflow, all six images decoded.
2026-10-20 22:50:37 +08:00
hoelee c8cb2a25f4 fix(subs): literal arrow in the .srt button, flex header instead of float
Deploy / build (push) Successful in 24s
The ::before used CSS escapes written through a Python string, which ate them
(octal escape) and shipped control bytes — the button read as mojibake.

- use a literal UTF-8 arrow instead of \2193\0020
- figcaption is now flex, so a long title wraps under the button rather than
  being crowded by a float; verified at 360px and 680px
- round the shown duration down so it matches the player's clock (197 s = 3:17)
2026-10-20 22:16:34 +08:00
hoelee 92f38184fb post: generating subtitles for songs that ship without timestamps
Deploy / build (push) Successful in 30s
Tutorial on turning untimed AI-generated audio into LRC + SRT: align ASR word
timestamps against the KNOWN lyrics (SequenceMatcher) instead of trusting a
transcript, then a governor that rejects impossible anchors, refills runs by
unit-proportional duration, and enforces a 1.2 s minimum line gap.

Ships 18 English songs (342 subtitle lines, mean anchor coverage 0.96, 9/18
fully anchored) with synced lyrics plus downloadable .srt per track. Documents
both player bugs and the headless-Chrome numeric probe that finally caught them.
2026-10-20 22:09:34 +08:00
hoelee cf327211df fix(lyrics): centre the active line with rect deltas, not offsetTop
Deploy / build (push) Successful in 42s
offsetTop is measured from the nearest positioned ancestor, so inside an
unpositioned .yue2-box it returned the line's distance from the page top
(thousands of px). scrollTop clamped that to maxScroll, so the box jumped to the
bottom the moment singing started and the text was unreadable.

Now: box.scrollTop += (pr.top - br.top) - (clientHeight - lineHeight)/2, plus
position:relative on the box. Verified in headless Chrome with a numeric probe:
the active line sits ~124px into a 274px box at t=48/100, nothing is highlighted
and scrollTop=0 at t=0, and the box settles at maxScroll only for the final lines.
2026-10-20 21:32:43 +08:00
hoelee 6e2a55fe34 fix(lyrics): stop the LRC box pre-highlighting the last line at t=0
Deploy / build (push) Successful in 28s
findIndex(t > now) - 1 returned -1 before the first line started, which the
`if (i < 0) i = lines.length - 1` guard turned into the LAST line — so playback
began scrolled to the bottom. Use a last-passed-index scan instead (-1 = before
the first line), centre the active line inside the box (so upcoming lyrics are
visible), and scroll the box itself rather than scrollIntoView(), which dragged
the whole page. Also bumps the box to 250px. Fixes yue2 post + both Suno posts.
2026-10-20 21:00:29 +08:00
hoelee 7a9906ec96 post: YuE2 on a 12GB GPU — why 240.000 s songs lose their endings
Deploy / build (push) Successful in 27s
Twelve Mandarin songs came back exactly 240.000 s with the outros cut.
Documents the ffprobe tell, the BPM myth, the seed-cache trap, the
2.0-2.8 hanzi/s spread, the 300 s VRAM ceiling, and the archive-the-clipped
policy. Ships 11 finished tracks with ASR-derived synced lyrics (EN + ZH).
2026-10-20 20:11:55 +08:00
hoelee 5dde9dc770 post: update running-ai-video-locally demo to 35s 1080p Guofeng MV take
Deploy / build (push) Successful in 26s
2026-10-20 14:30:10 +08:00
hoelee d3eb7ff9b0 post: cap embedded video/iframe to the column (1920px clip overflowed), swap demo to the 2 s 1080p take
Deploy / build (push) Successful in 15s
2026-10-20 07:28:07 +08:00
hoelee abef1e178d docs: record the 2026-10-20 topic queue (post shipped, two optional follow-ups)
Deploy / build (push) Successful in 19s
2026-10-20 05:57:46 +08:00
hoelee df4e1937b4 chore: remove a stray curl output file from the repo
Deploy / build (push) Successful in 16s
2026-10-20 05:55:26 +08:00