From b446e277988d2398b1091fa4f2eaa17931c9eecb Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Nov 2026 11:57:15 +0000 Subject: [PATCH 1/2] Fit the multilevel feedback queue timeline on phones The MLFQ demo in round-robin-and-beyond drew its timeline with a 420 px minimum, 120 px wider than a 390 px phone. The minimum now applies from sm up; on a phone the narrowest default slice (D's 4 of 77 ms) is still about 16 px, enough for its letter, and each slice clips its label if a reader types a tiny burst. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01EC6Zzt5akQu7TEHdGquZzp --- docs/autopilot.md | 1 + src/components/mdx/OsVisualizers.tsx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/autopilot.md b/docs/autopilot.md index e88b32c..b61da39 100644 --- a/docs/autopilot.md +++ b/docs/autopilot.md @@ -92,6 +92,7 @@ Nothing. The exam-stack block (since 2026-11-06, over #68's inline practice ques Newest first. One line per run: date and run, what was done, PR link, merged or open. +- 2026-11-19 14:50 (run C): from the 2026-11-12 audit, the Operating Systems multilevel feedback queue timeline (120 px too wide at 390 px) now fits, with slice labels clipped when a slice is very narrow. Found while checking it: the footer's five links (Contact was added in 388520b) made every page scroll sideways on phones, 23 px at 390 and 53 px at 360; fixed separately in PR #106. This PR: #PRNUM, open. - 2026-11-17 14:50 (run C): from the 2026-11-12 audit, the Computer Organization `bits-and-bytes` unit ladder (124 px too wide at 390 px) now fits. Its captions now sit under their bars in a two-column grid at every width, which also fixes the desktop TB and PB captions wrapping unindented, and "2^0 = 1 bytes" now reads "1 byte". PR #99, open. Its CI check is red only because main is: The Exam Mind's round 7 (#97) renamed a heading that a bank question points at; fixed in PR #100. - 2026-11-17 10:40 (run B): exam phase 4c, Computer Organization: +26 questions over all 9 taught lessons, numbers checked by script (500 GB shown as 465.7, G = 01000111, 2¹⁶ and 2¹² locations, the disk capacity 516,096,000 bytes, 4.2 ms average wait at 7,200 rpm). PR #96, open, stacked on #94. - 2026-11-17 06:10 (run A): exam phase 4c, Microprocessors: +34 questions over all 11 taught lessons, every value checked by script (C8h + 64h flags, CS:IP and segment limits, effective address, MUL/DIV results, XOR case flip, LOOP sum, SP after push/pop, INT 21h vector at 84h). PR #94, open, stacked on #91. diff --git a/src/components/mdx/OsVisualizers.tsx b/src/components/mdx/OsVisualizers.tsx index 2766c46..e59f97f 100644 --- a/src/components/mdx/OsVisualizers.tsx +++ b/src/components/mdx/OsVisualizers.tsx @@ -2851,13 +2851,14 @@ export function MlfqDemo() { ))}
-
+ {/* fits a phone: the shortest default slice (D, 4 of 77 ms) is still about 16 px there */} +
{slices.map((s, i) => { const end = Math.min(s.to, t); if (end <= s.from) return null; return ( -
+
{s.name}
); From de503b68c52565e9e3e3621d29bcca5164100f9b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Nov 2026 11:57:19 +0000 Subject: [PATCH 2/2] Log run: PR #107 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01EC6Zzt5akQu7TEHdGquZzp --- docs/autopilot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/autopilot.md b/docs/autopilot.md index b61da39..8281700 100644 --- a/docs/autopilot.md +++ b/docs/autopilot.md @@ -92,7 +92,7 @@ Nothing. The exam-stack block (since 2026-11-06, over #68's inline practice ques Newest first. One line per run: date and run, what was done, PR link, merged or open. -- 2026-11-19 14:50 (run C): from the 2026-11-12 audit, the Operating Systems multilevel feedback queue timeline (120 px too wide at 390 px) now fits, with slice labels clipped when a slice is very narrow. Found while checking it: the footer's five links (Contact was added in 388520b) made every page scroll sideways on phones, 23 px at 390 and 53 px at 360; fixed separately in PR #106. This PR: #PRNUM, open. +- 2026-11-19 14:50 (run C): from the 2026-11-12 audit, the Operating Systems multilevel feedback queue timeline (120 px too wide at 390 px) now fits, with slice labels clipped when a slice is very narrow. Found while checking it: the footer's five links (Contact was added in 388520b) made every page scroll sideways on phones, 23 px at 390 and 53 px at 360; fixed separately in PR #106. This PR: #107, open. - 2026-11-17 14:50 (run C): from the 2026-11-12 audit, the Computer Organization `bits-and-bytes` unit ladder (124 px too wide at 390 px) now fits. Its captions now sit under their bars in a two-column grid at every width, which also fixes the desktop TB and PB captions wrapping unindented, and "2^0 = 1 bytes" now reads "1 byte". PR #99, open. Its CI check is red only because main is: The Exam Mind's round 7 (#97) renamed a heading that a bank question points at; fixed in PR #100. - 2026-11-17 10:40 (run B): exam phase 4c, Computer Organization: +26 questions over all 9 taught lessons, numbers checked by script (500 GB shown as 465.7, G = 01000111, 2¹⁶ and 2¹² locations, the disk capacity 516,096,000 bytes, 4.2 ms average wait at 7,200 rpm). PR #96, open, stacked on #94. - 2026-11-17 06:10 (run A): exam phase 4c, Microprocessors: +34 questions over all 11 taught lessons, every value checked by script (C8h + 64h flags, CS:IP and segment limits, effective address, MUL/DIV results, XOR case flip, LOOP sum, SP after push/pop, INT 21h vector at 84h). PR #94, open, stacked on #91.