<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ViewsEngineer on Medium]]></title>
        <description><![CDATA[Stories by ViewsEngineer on Medium]]></description>
        <link>https://medium.com/@ViewsEngineer?source=rss-5e01b45175be------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tOLat1y-TcxMWG4qKbY5zA.jpeg</url>
            <title>Stories by ViewsEngineer on Medium</title>
            <link>https://medium.com/@ViewsEngineer?source=rss-5e01b45175be------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:26:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ViewsEngineer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My Travel Photos Slept on a Hard Drive for 13 Years. Their Timestamps Held the Story.]]></title>
            <link>https://medium.com/@ViewsEngineer/my-travel-photos-slept-on-a-hard-drive-for-13-years-their-timestamps-held-the-story-96ae1595fa8b?source=rss-5e01b45175be------2</link>
            <guid isPermaLink="false">https://medium.com/p/96ae1595fa8b</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[storytelling]]></category>
            <dc:creator><![CDATA[ViewsEngineer]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 04:31:27 GMT</pubDate>
            <atom:updated>2026-11-26T04:31:27.522Z</atom:updated>
            <content:encoded><![CDATA[<h4>769 unsorted photos from Jordan and Jerusalem became an 11-minute narrated travel film, and the plot came from the files themselves.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*90n0K3wGifu3FLbE.jpg" /><figcaption>Left: the photos as they sat on the hard drive. Right: the Treasury at Petra, one of them.</figcaption></figure><p><em>I used AI (Claude) for parts of the writing and for the English translation of my Japanese original. The film was built by Claude Code, an AI coding agent, from my photos. The narration uses AI voices, and the music was made with Suno.</em></p><p>In January 2013 I spent six days in Jordan and Jerusalem and took 769 photos with a 5-megapixel compact camera. For the next thirteen years they sat on a hard drive, unsorted, still named the way the camera named them: IMG_1061.JPG to IMG_1835.JPG.</p><p>This autumn I asked Claude Code to make a travel film from those photos alone. No video footage. The first version was a six-minute montage with music. Then I asked for more: a narrator, less explaining of how it was made, and a story told the way a TV travel documentary would tell it. The English version is below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhZDQXKoMV34%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhZDQXKoMV34&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhZDQXKoMV34%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/12c84a4bd091f33e1056aa63da9a1882/href">https://medium.com/media/12c84a4bd091f33e1056aa63da9a1882/href</a></iframe><p>There was no script to start from. The story came out of the photos and their timestamps, which I had never looked at.</p><h3>Twenty-eight minutes in the Siq</h3><p>The way into Petra is the Siq, a narrow gorge more than a kilometre long. I had taken a little over twenty photos while walking it, and each one carries the time it was taken. From the first photo at the entrance to the first photo of Al-Khazneh, the Treasury, the camera clock moved 28 minutes.</p><p>In August 1812 the Swiss traveller Johann Ludwig Burckhardt walked the same path. Europeans had not seen Petra for centuries; he got there under an Arab name, saying he wanted to sacrifice a goat at the tomb of Aaron. In his book, <em>Travels in Syria and the Holy Land</em> (1822), he writes of the Treasury:</p><blockquote><em>“…after having traversed for nearly half an hour such a gloomy and almost subterraneous passage…”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yX8MJ8Yb4bFwrE-I.png" /><figcaption>The Siq, by the camera’s own timestamps</figcaption></figure><p>So the film reads his sentence, then walks the Siq again with a small counter in the corner: minutes since the entrance, taken from the photo timestamps. When it reaches 28, the music stops for two and a half seconds and the Treasury appears.</p><h3>The last two frames were black</h3><p>Sorted by time, the final two of the 769 photos look almost completely black. Raising the brightness shows the edge of a wing and, below it, the lights of a city. They were taken from the window of the flight home.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QFk1oeNUFYDbx9dV.png" /><figcaption>The second-to-last photo, as shot and brightened</figcaption></figure><p>The second-to-last one became the ending. It starts as a black print with a date stamp, slowly brightens until the lights come through, and later the camera pulls back to all 769 photos at once.</p><h3>The wind in Wadi Rum</h3><p>Around midday on January 6 in Wadi Rum, the wind picked up and the mountains faded behind blowing sand. Looking up the news from those days, the agent found that a major winter storm reached Jordan that evening. A few days later Jerusalem had what was reported as its heaviest snowfall in twenty years, and the level of the Dead Sea rose for the first time since 2003. The narration says only: “That night, the storm came.”</p><h3>Things that slept</h3><p>When the agent looked up each place in the photos, the same idea kept coming back.</p><ul><li>A statue in the museum on the hill in Amman is about 9,000 years old. It had been laid carefully in a pit and was dug up in the 1980s.</li><li>Across the Dead Sea from where I stood, scrolls that had lain in caves for nearly 2,000 years were found in 1947.</li><li>In Madaba, families who settled there around 1880 found mosaic floors under the ground when they built their houses.</li></ul><p>The Western Wall in Jerusalem runs the other way: the prayer notes pushed between its stones are collected twice a year and buried on the Mount of Olives.</p><p>The film follows that idea. Photos that sat unseen for thirteen years visit places where things lay hidden for much longer, and the film opens and closes on the hard drive.</p><h3>Checking the story</h3><p>The narration has 64 lines. A separate AI agent checked fifteen historical claims against the original sources, and several changed. The popular version says Burckhardt sacrificed the goat at Aaron’s tomb; his own account says he never reached the tomb and killed the goat in sight of it. The narration now says only that he told his guide he had a goat to sacrifice. The pipeline that carries water from the southern desert to Amman was completed in July 2013, after the trip, so the film says “from the summer of that year”.</p><p>The Japanese narration needed one more kind of check. A speech recognizer like Whisper fixes mispronunciations by guessing the intended word, so it hides them. The agent used two recognizers that write down the sound in Japanese kana without correcting meaning, and re-generated every line where both went wrong at the same spot. Five of 64 lines were redone. For example, “nijū-happun” (28 minutes) kept coming out as “mijū-happun” until a short pause was added before it.</p><h3>How a still photo moves</h3><p>Every shot is one photo. For each one, a depth model (MoGe-2) estimates how far away every pixel is. The renderer then moves a virtual camera into the photo and traces each screen pixel back into that depth map, so near rocks slide past faster than far cliffs. Where the camera reveals what was hidden behind an edge, an inpainting model (LaMa) fills a thin strip. The sky is a separate layer, so the clouds can drift on their own.</p><p>Each chapter opens with a flight over the day’s route, drawn from open elevation data and NASA’s Blue Marble imagery, and the first photo of each day appears as a 2013 print with a date stamp before it opens up into a moving scene.</p><h3>What is not real</h3><p>The motion of clouds, water and light is added, and so are the moving fog, sand and dust. The sandy haze in the Wadi Rum photos is real. The strips behind edges are painted by AI, and the photos were upscaled with an AI model (Real-ESRGAN). People in the photos never move. I left out photos where people’s faces are large, and a person standing on a rock was turned into a black silhouette. Nobody has checked the narration’s accent and intonation by ear yet; the checks above were run on transcripts.</p><h3>If you have a folder like this</h3><p>If you have a trip you never sorted, the photos still carry their timestamps. Counting them can show how long you walked somewhere, and a frame you wrote off may show something once it is brightened. The Japanese write-up has a prompt for animating a single photo first, and the Japanese version of the film is here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQRRGMMDil4M%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQRRGMMDil4M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQRRGMMDil4M%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/31c798dd29917246ea02a30b6ac0d50f/href">https://medium.com/media/31c798dd29917246ea02a30b6ac0d50f/href</a></iframe><p><a href="https://note.com/views_of_life/n/n47b310baaac3">The Japanese write-up on note, with the prompts</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96ae1595fa8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Explain This Code” Got Me a Wall of Text. So I Had the AI Make a Video Instead.]]></title>
            <link>https://medium.com/@ViewsEngineer/explain-this-code-got-me-a-wall-of-text-so-i-had-the-ai-make-a-video-instead-7965405c0689?source=rss-5e01b45175be------2</link>
            <guid isPermaLink="false">https://medium.com/p/7965405c0689</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[ViewsEngineer]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 15:58:44 GMT</pubDate>
            <atom:updated>2026-11-22T17:07:52.423Z</atom:updated>
            <content:encoded><![CDATA[<h4>The same 105 lines explained twice, once as text and once as a 3-minute video, and how the video is built with HTML, Playwright and ffmpeg.</h4><p><em>I used AI (Claude) for parts of the writing and for the English translation of my Japanese original. The game code, the video and the tool described below were also made with Claude Code; that is the subject of the article.</em></p><p>I ask an AI to write some code, then ask it to explain the code. A long answer comes back. It looks right. After reading it, I still have no picture in my head of what the code does.</p><p>I tried asking for the explanation as a video instead of text, and I could follow what happens inside the code right away.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*coL1ngCyCov6tApx.png" /><figcaption>Left: the code. Right: a frame from the video the AI made about it.</figcaption></figure><p>The subject does not seem to matter. Whatever hard problem I give the AI, and however far it is from my own field, a video made this way lets me understand what the AI did in a short time.</p><p>Below, the same code is explained twice, once in text and once as a video. After that I describe how the video is produced: the screen is written in HTML as a function of time t, Playwright captures it frame by frame, and ffmpeg joins the frames.</p><h3>The subject: a Breakout clone written by an AI (105 lines)</h3><p>This is the code Claude Code produced when I asked it, in Japanese, to make a Breakout-style game. I have not edited it, so the comments and the on-screen labels are in Japanese. I work in Japanese, and the other snippets in this article have Japanese comments too. I explain them in the text where it matters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yQhoENQad0usvsbF.jpg" /><figcaption>The Breakout game the AI wrote</figcaption></figure><pre>// ブロックくずし。マウスで板を動かして玉を打ち返し、ブロックをぜんぶ消す。<br>const W = 480, H = 600;<br><br>// 新しいゲームを用意する<br>function newGame() {<br>  const bricks = [];<br>  for (let r = 0; r &lt; 5; r++) {<br>    for (let c = 0; c &lt; 8; c++) {<br>      bricks.push({ x: 12 + c * 57, y: 60 + r * 26, w: 51, h: 20, row: r, alive: true });<br>    }<br>  }<br>  return {<br>    ball: { x: 240, y: 420, vx: 3, vy: -4, r: 7 },<br>    paddle: { x: 200, y: 560, w: 80, h: 12 },<br>    bricks, score: 0, lives: 3, over: false, clear: false<br>  };<br>}<br><br>// 1コマぶん進める<br>function step(g, mouseX) {<br>  if (g.over || g.clear) return;<br>  const b = g.ball, p = g.paddle;<br><br>  // 板をマウスの位置へ<br>  p.x = Math.max(0, Math.min(W - p.w, mouseX - p.w / 2));<br><br>  // 玉を動かす<br>  b.x += b.vx;<br>  b.y += b.vy;<br><br>  // 壁と天井ではね返る<br>  if (b.x &lt; b.r || b.x &gt; W - b.r) b.vx = -b.vx;<br>  if (b.y &lt; b.r) b.vy = -b.vy;<br><br>  // 板ではね返る。当たった場所で向きが変わる<br>  if (b.vy &gt; 0 &amp;&amp; b.y + b.r &gt;= p.y &amp;&amp; b.y - b.r &lt;= p.y + p.h &amp;&amp; b.x &gt;= p.x &amp;&amp; b.x &lt;= p.x + p.w) {<br>    b.vy = -Math.abs(b.vy);<br>    b.vx = ((b.x - (p.x + p.w / 2)) / (p.w / 2)) * 5;<br>  }<br><br>  // ブロックに当たったら消す<br>  for (const k of g.bricks) {<br>    if (k.alive &amp;&amp; b.x + b.r &gt; k.x &amp;&amp; b.x - b.r &lt; k.x + k.w &amp;&amp; b.y + b.r &gt; k.y &amp;&amp; b.y - b.r &lt; k.y + k.h) {<br>      k.alive = false;<br>      g.score += 10;<br>      b.vy = -b.vy;<br>      break;<br>    }<br>  }<br><br>  // 下に落としたら残りを1つ減らす<br>  if (b.y &gt; H + b.r) {<br>    g.lives -= 1;<br>    if (g.lives &lt;= 0) g.over = true;<br>    else { b.x = 240; b.y = 420; b.vx = 3; b.vy = -4; }<br>  }<br><br>  // ぜんぶ消したらクリア<br>  if (g.bricks.every(k =&gt; !k.alive)) g.clear = true;<br>}<br><br>// 画面を描く<br>const COLORS = [&quot;#e2553b&quot;, &quot;#e0a100&quot;, &quot;#1f9d6b&quot;, &quot;#3d6fb6&quot;, &quot;#8a5cc2&quot;];<br>function draw(ctx, g) {<br>  ctx.fillStyle = &quot;#16202e&quot;;<br>  ctx.fillRect(0, 0, W, H);<br>  for (const k of g.bricks) {<br>    if (!k.alive) continue;<br>    ctx.fillStyle = COLORS[k.row];<br>    ctx.fillRect(k.x, k.y, k.w, k.h);<br>  }<br>  ctx.fillStyle = &quot;#eef2f7&quot;;<br>  ctx.fillRect(g.paddle.x, g.paddle.y, g.paddle.w, g.paddle.h);<br>  ctx.beginPath();<br>  ctx.arc(g.ball.x, g.ball.y, g.ball.r, 0, Math.PI * 2);<br>  ctx.fill();<br>  ctx.font = &quot;bold 20px sans-serif&quot;;<br>  ctx.textAlign = &quot;left&quot;;<br>  ctx.fillText(&quot;点 &quot; + g.score, 14, 34);<br>  ctx.textAlign = &quot;right&quot;;<br>  ctx.fillText(&quot;のこり &quot; + g.lives, W - 14, 34);<br>  if (g.over || g.clear) {<br>    ctx.textAlign = &quot;center&quot;;<br>    ctx.font = &quot;bold 40px sans-serif&quot;;<br>    ctx.fillText(g.clear ? &quot;クリア！&quot; : &quot;ゲームオーバー&quot;, W / 2, 330);<br>  }<br>}<br><br>// ゲームを始める。1秒に約60回、進めて描き直す<br>function start(canvas) {<br>  const ctx = canvas.getContext(&quot;2d&quot;);<br>  let g = newGame(), mouseX = W / 2;<br>  canvas.addEventListener(&quot;mousemove&quot;, e =&gt; {<br>    mouseX = (e.clientX - canvas.getBoundingClientRect().left) * W / canvas.clientWidth;<br>  });<br>  canvas.addEventListener(&quot;click&quot;, () =&gt; { if (g.over || g.clear) g = newGame(); });<br>  function frame() {<br>    step(g, mouseX);<br>    draw(ctx, g);<br>    requestAnimationFrame(frame);<br>  }<br>  frame();<br>}<br><br>if (typeof module !== &quot;undefined&quot;) module.exports = { W, H, newGame, step, draw, start };</pre><p>Before reading on, consider three questions.</p><ul><li>How does the ball move?</li><li>How does the code decide that the ball hit a brick?</li><li>In what situations does this game never end?</li></ul><h3>What “explain this” returns</h3><p>I gave the code to an AI and asked only, in Japanese, “Explain this code.” The reply was about 1,300 Japanese characters. Here is all of it, translated into English.</p><blockquote><em>A Breakout game that runs on a browser canvas. You move the paddle left and right with the mouse to hit the ball back. Clear all 40 bricks and you win; drop the ball 3 times and the game is over.</em></blockquote><blockquote><em>The code is split into four functions.</em></blockquote><blockquote><strong><em>1. newGame(): creates the game state</em></strong></blockquote><blockquote><em>The screen is 480 wide and 600 tall. There are 40 bricks in 5 rows of 8, each 51×20. </em><em>row (which row a brick is in) is used for the colours. The ball starts at (240, 420) and moves 3 sideways and 4 upward per frame. Its radius is 7. The paddle is 80 wide and sits near the bottom (y=560). The score, the 3 remaining lives and the end flags (</em><em>over / </em><em>clear) are kept here as well.</em></blockquote><blockquote><strong><em>2. step(g, mouseX): advances the game by one frame</em></strong></blockquote><blockquote><em>After the game has ended it does nothing. Otherwise it processes things in this order.</em></blockquote><blockquote><em>1. </em><strong><em>Move the paddle</em></strong><em>: centre the paddle on the mouse position and stop it from leaving the screen.</em></blockquote><blockquote><em>2. </em><strong><em>Move the ball</em></strong><em>: add the speed to the position.</em></blockquote><blockquote><em>3. </em><strong><em>Walls and ceiling</em></strong><em>: at the left and right walls reverse the horizontal direction, at the ceiling reverse the vertical direction.</em></blockquote><blockquote><em>4. </em><strong><em>Hitting the paddle</em></strong><em>: if the ball is moving down and overlaps the paddle, bounce it upward. The horizontal speed depends on where it hit: straight up from the middle of the paddle, and more sideways the closer to the edge (5 at most).</em></blockquote><blockquote><em>5. </em><strong><em>Hitting a brick</em></strong><em>: remove one overlapping brick, add 10 points and reverse the vertical direction. Because of the </em><em>break, only one brick disappears per frame.</em></blockquote><blockquote><em>6. </em><strong><em>Dropping the ball</em></strong><em>: when the ball leaves the bottom of the screen, reduce the remaining lives by one. At 0 the game is over; otherwise only the ball returns to its starting position (bricks and score stay as they are).</em></blockquote><blockquote><em>7. </em><strong><em>Clear check</em></strong><em>: if every brick is gone, the game is cleared. The full score is 400 points.</em></blockquote><blockquote><strong><em>3. draw(ctx, g): draws the screen</em></strong></blockquote><blockquote><em>Every frame it fills the screen with navy, then draws the remaining bricks (5 colours, one per row), the paddle, the ball, the score at the top left and the remaining lives at the top right. If the game has ended it shows “クリア！” (cleared) or “ゲームオーバー” (game over) in large text in the centre.</em></blockquote><blockquote><strong><em>4. start(canvas): starts the game</em></strong></blockquote><blockquote><em>It remembers the mouse position whenever the mouse moves, converted to game coordinates (0 to 480) so that it still matches when the canvas is scaled by CSS. A click starts a new game, but only after the game has ended. </em><em>frame() repeats “advance, draw, schedule the next frame” with </em><em>requestAnimationFrame.</em></blockquote><blockquote><em>The last line makes the functions usable from outside when the file is loaded in Node.js. </em><em>step does not touch the screen, so it can be run as it is in tests. In a browser the line does nothing.</em></blockquote><blockquote><strong><em>Things worth knowing</em></strong></blockquote><blockquote><strong><em>The call that starts the game is not in this file.</em></strong><em> The page has to provide a 480×600 canvas element and call </em><em>start(canvas).</em></blockquote><blockquote><strong><em>The speed depends on the display refresh rate.</em></strong><em> The comment says “about 60 times a second”, but on a 120Hz display the game runs twice as fast.</em></blockquote><blockquote><strong><em>A brick hit from the side still only reverses the vertical direction.</em></strong><em> When the ball hits from the side it can burrow into the neighbouring brick and remove several in a row.</em></blockquote><blockquote><strong><em>At the walls the code only reverses the direction and does not push the ball back.</em></strong><em> If the ball hits a wall and the paddle in the same frame at the left or right edge, it can occasionally stay stuck to the wall and bounce up and down.</em></blockquote><p>Everything in it is correct. I think it is a well-written explanation.</p><p>Try answering the three questions from it, though.</p><p>The answers are in there somewhere: “add the speed to the position”, “remove one overlapping brick”, “it can occasionally stay stuck to the wall and bounce up and down”. To find them you have to read the whole reply and run the game in your head. That is not much less work than reading the code.</p><p>It gets harder as the volume grows. The more I have an AI build, the more of these long explanations I get.</p><h3>The same code, explained as a video</h3><p>This is the same code explained in a video that the AI made itself (just over 3 minutes).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FrPyKVvP0er8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrPyKVvP0er8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrPyKVvP0er8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2b68d898a5cc9a6212f294c66830fbe7/href">https://medium.com/media/2b68d898a5cc9a6212f294c66830fbe7/href</a></iframe><p>This is the English version. I made the video in Japanese first (<a href="https://youtu.be/4vlXE18ZcR8">the original is here</a>). For the English one, the script and the on-screen text were translated and the same tool rendered it again. The labels inside the game and the comments in the code window stay in Japanese, because the code is unchanged.</p><p>In the video the actual game advances one frame at a time. The window on the left shows the real code, and the line being explained is highlighted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UI0sEeIn2cAoJWOu.jpg" /><figcaption>A scene on hit detection, with the game advanced frame by frame</figcaption></figure><p>After three minutes of watching, the three questions have answers.</p><ul><li>The ball moves by having its speed added to its position about 60 times a second (at the start, 3 to the right and 4 up per frame).</li><li>A hit is when the square around the ball overlaps the rectangle of a brick.</li><li>The game never ends when you keep catching the ball with the middle of the paddle, and also when the ball gets stuck in a wall.</li></ul><h3>What differed between the text and the video</h3><p>Things appear one at a time, in order. Text puts everything in front of you at once. A scene in the video shows one thing.</p><p>The numbers move. “Add the speed to the position” appears in the video as the ball moving, 240 → 243 → 246.</p><p>You can see which line is being discussed. The explanation and the line of code it refers to are on the same screen.</p><p>The real thing is running. What runs on screen is the same game.js shown above.</p><p>The difference was largest at the bugs. In the text, the last line says the ball “can occasionally stay stuck to the wall and bounce up and down”. In the video it looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dz2EC3lytq8zVNDU.jpg" /><figcaption>The ball stuck inside the wall, with one brick left and the game unable to end</figcaption></figure><p>The ball is caught inside the wall and cannot get out, one brick remains, and the game does not end. A sentence with “occasionally” in it is easy to skim past. Seen as a picture, what happens is clear at a glance.</p><p>The video also contains one bug that the text did not mention. If you keep catching the ball with the middle of the paddle, it only travels straight up and straight down. After the game was advanced by 10 minutes’ worth of frames, 29 bricks were still left.</p><h3>Hard problems and unfamiliar fields can be followed the same way</h3><p>I used a small Breakout game here, but the approach does not depend on the subject. Whatever hard problem you give an AI, and however far it is from your own field, having it explain its work as a video lets you understand what it did in a short time.</p><p>Here are two videos made with the same idea. Both are in Japanese, and both were made with a different tool from the one in this article.</p><p>The first explains the University of Tokyo entrance exam in mathematics (2026, all six problems of the science track).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FV7WFb_NbNqQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DV7WFb_NbNqQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FV7WFb_NbNqQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7658192c59afd4a2ee0579148b0a1cb3/href">https://medium.com/media/7658192c59afd4a2ee0579148b0a1cb3/href</a></iframe><p>The second explains an announcement, made by a mathematician working with an AI, that the Riemann hypothesis had been proved. The code that came with it is 17.37 million lines, more than a person can read through. The video takes 8 minutes to show what has been checked and how far. (Whether the announcement is correct was still being verified when I published the video.)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYD6TNqkdQjE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYD6TNqkdQjE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYD6TNqkdQjE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e2902c5805603d3fdb415b4ebd0b9651/href">https://medium.com/media/e2902c5805603d3fdb415b4ebd0b9651/href</a></iframe><h3>A video that only reads the code aloud did not work</h3><p>Not every kind of video works. My first attempt scrolled through the code from the top while an AI voice read it aloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Bo4dVBIGSBj4P3Xx.jpg" /><figcaption>The first video: the code on screen, read aloud</figcaption></figure><p>After four minutes of watching, nothing stayed in my head. What I cannot take in by reading, I could not take in by listening either. It was the same as the long text explanation.</p><p>So I changed the format.</p><ol><li>Show the code only for the first few seconds and ask, “Can you tell what this does just by looking?”</li><li>Put three questions up front</li><li>Say in one sentence what the thing does</li><li>Pictures in which concrete numbers move (4 to 7 scenes)</li><li>One pitfall, shown by actually running it</li><li>Return to the same three questions and answer them</li></ol><p>The frame below is from the same program (a 91-line aggregation script) remade in this format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iurj4v-BKM4H8OY0.jpg" /><figcaption>The remade video: scores being filled into a table</figcaption></figure><p>The three questions follow a fixed pattern.</p><ul><li>What goes in and what comes out? (Or: how does it work?)</li><li>Where is someone most likely to stumble?</li><li>When does it stop working properly?</li></ul><p>Because of the third question, the AI has to actually run the thing and try it.</p><h3>How it works</h3><p>The overall flow is this.</p><pre>story.json (script)  ───┐<br>make_data (numbers)  ───┤→ check (cross-check) → voice (audio and timeline) → render (frame capture) → mp4<br>scene.html (visuals) ───┘</pre><h4>1. The script is a JSON list of scenes</h4><p>One scene looks like this.</p><pre>{<br>  &quot;id&quot;: &quot;move&quot;,<br>  &quot;src&quot;: [[27, 29]],<br>  &quot;quote&quot;: [&quot;b.x += b.vx;&quot;, &quot;b.y += b.vy;&quot;],<br>  &quot;say&quot;: &quot;玉を動かすのは、足し算です。最初の玉は、1コマごとに、右へ3、上へ4ずつ動きます。&quot;,<br>  &quot;yomi&quot;: &quot;玉を動かすのは、足し算です。最初の玉は、ひとコマごとに、右へさん、上へよんずつ動きます。&quot;<br>}</pre><p>src says which lines of the code the scene is about, and quote lists strings that appear in those lines. Before the video is rendered, a program checks that each quote really is in the src lines. If the AI writes a line number that is off, the build stops here.</p><p>say is the narration. This is the Japanese script, and this scene says: “The ball is moved by addition. At the start, the ball moves 3 to the right and 4 up every frame.” yomi is the same sentence spelled out in kana for the speech synthesiser. Japanese text-to-speech often misreads words such as “1コマ” (one frame), so the AI writes yomi only where a misreading is likely.</p><h4>2. The AI does not write the numbers into the script</h4><p>A video is easy to follow, and that also means a wrong number in it gets believed as it is. So every number in the script comes from a small program that runs the real code. If the behaviour differs from what was expected, it stops on the spot.</p><pre>// make_data.js（一部）: ゲームの本体をそのまま読み込んで、実際に進める<br>const G = require(&quot;./game.js&quot;);<br>const assert = (c, m) =&gt; { if (!c) { console.error(&quot;止めました: &quot; + m); process.exit(1); } };<br><br>let g = G.newGame();<br>const s0 = snap(g); G.step(g, 240); const s1 = snap(g); G.step(g, 240); const s2 = snap(g);<br>assert(s1.x === s0.x + s0.vx &amp;&amp; s1.y === s0.y + s0.vy, &quot;玉の位置が、位置＋速さになっていない&quot;);</pre><p>The assert message means “the ball’s position is not position + speed”. At the end, this program prints the numbers the script is allowed to use, one per line.</p><pre>最初の2コマ: 横 240→243→246（速さ 3）、縦 420→416→412（速さ -4）<br>まんなかで受け続ける: 36000コマ（10分）たってもクリアせず、ブロックは29個のこり</pre><p>The first line says that over the first two frames x goes 240→243→246 (speed 3) and y goes 420→416→412 (speed -4). The second says that catching the ball in the middle for 36,000 frames (10 minutes) does not clear the game and leaves 29 bricks.</p><p>The script contains these lines word for word. check re-runs the program and only looks for each line in the output.</p><pre>for f in story.get(&quot;facts&quot;, []):<br>    out = subprocess.run(f[&quot;cmd&quot;], shell=True, capture_output=True).stdout.decode(&quot;utf-8&quot;, &quot;replace&quot;)<br>    for e in f[&quot;expect&quot;]:<br>        if e not in out:<br>            bad.append(f&quot;確かめのコマンドの出力に「{e}」が無い&quot;)</pre><p>When the code changes and a number changes with it, the build stops before any video is made.</p><h4>3. The screen is a function of time t, captured frame by frame</h4><p>The visuals are a single HTML file. There is one rule: the state of the screen is determined only by the t passed to window.__setTime(t). No timers and no CSS animations.</p><pre>// 骨組みだけにした書き方です<br>window.__setTime = function (t) {<br>  Kit.draw(t);            // 共通の部品（コードの窓、字幕、3つの問い）<br>  drawGame(frameAt(t));   // 本物のゲームを、t に当たるコマまで進めた状態で描く<br>};</pre><p>Kit.draw(t) draws the shared parts (the code window, the subtitles, the three questions), and drawGame(frameAt(t)) draws the real game advanced to the frame that corresponds to t. Written this way, the capturing side only has to pass a time and take a screenshot. The same t gives the same picture whenever it is captured.</p><pre>from playwright.sync_api import sync_playwright<br><br>FPS = 15<br>with sync_playwright() as p:<br>    page = p.chromium.launch().new_context(viewport={&quot;width&quot;: 1920, &quot;height&quot;: 1080}).new_page()<br>    page.add_init_script(&quot;window.__DATA = &quot; + json.dumps(timeline) + &quot;;&quot;)   # 台本・時間割・数字を渡す<br>    page.goto(scene.as_uri())<br>    page.wait_for_function(&quot;window.__ready === true&quot;)<br>    for i in range(int(total * FPS)):<br>        page.evaluate(f&quot;window.__setTime({i / FPS:.4f})&quot;)<br>        page.screenshot(path=f&quot;frames/{i:05d}.jpg&quot;, type=&quot;jpeg&quot;, quality=90)</pre><p>A 3-minute video is about 2,700 frames. The frame range is split into four and captured by four processes in parallel. ffmpeg joins the frames.</p><pre>ffmpeg -framerate 15 -i frames/%05d.jpg -i voice_mix.wav -vf fps=30 \<br>  -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a aac -b:a 160k -shortest out.mp4</pre><p>If the thing being explained is an HTML page, it goes into an iframe and runs as it is. Because the real page is what runs, the picture in the explanation and the real thing do not drift apart.</p><p>Before the full capture, one still is taken per scene and the stills are assembled into a contact sheet. This is where I check for overlapping text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Oy2fwozo2WRlfSPY.jpg" /><figcaption>The contact sheet of scenes, checked before the full capture</figcaption></figure><h4>4. Three options for the voice</h4><ul><li>No voice (subtitles only). The length of each scene is derived from the number of characters.</li><li><a href="https://github.com/rany2/edge-tts">edge-tts</a>, a free text-to-speech tool</li><li><a href="https://voicevox.hiroshiba.jp/">VOICEVOX</a>, a free Japanese speech synthesiser</li></ul><p>The Japanese video uses “VOICEVOX:青山龍星” (Aoyama Ryusei). The English video above uses edge-tts with the voice en-US-BrianNeural.</p><p>Generating the voice fixes the length of each scene. That becomes a timeline (the start and end time of every scene), which is passed to the page. Subtitles are made by splitting a scene’s sentence at punctuation and allotting time in proportion to the number of characters.</p><h4>5. A separate agent reviews the script</h4><p>A sub-agent other than the one that wrote the script gets the following request (translated from my Japanese prompt).</p><pre>You are the reviewer. There is a script for explaining &lt;file&gt; to someone who will not read it.<br>Check, one by one, whether the numbers and the wording in the script and on screen match what the file actually does.<br>For numbers, recount them yourself or run the code to check. Do not accept anything as &quot;probably right&quot; on a guess.<br>Return only the items that have a problem, most serious first. No praise is needed.</pre><p>For the Breakout script, the reviewer reported problems in 11 of 49 claims. The “stuck in the wall” scene in the video came from this reviewer. It did more than read the script: it ran the game itself and tried many ways of moving the paddle.</p><p>On another subject (a video explaining the results of an aggregation) it found this. A regular expression that counts articles with “AI” in the title had re.I set, so it also matched the ai inside Brain and Pairs. The recount I had done as a precaution used the same regular expression, so the two counts agreed and the number looked correct.</p><p>Counting twice with the same method and getting the same number is not a check. A recount should use a different method, and a count made by searching for a word should also print the list of matches. I added both to the rules for the programs that produce the numbers.</p><h3>Testing it on a different file</h3><p>A tool working on the example I built it for proves little, so I gave only the tool and the prompts to a fresh agent with no other context and had it do a different subject. The subject was a bill-splitting calculator page written by an AI (one HTML file, 80 lines).</p><p>It went through the three questions, the script, the numbers, the visuals and the review, and produced a 3-minute video. This is what the video showed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9DgEUbRP3k-DC3or.jpg" /><figcaption>The bill-splitting video: collecting the displayed amount leaves the total 100 yen short</figcaption></figure><p>Split 10,000 yen among 3 people in units of 100 yen, and the page shows 3,300 yen per person. Collect what it shows and you have 9,900 yen, which is 100 yen short. The page does not say that anything is missing.</p><p>Results from that test:</p><ul><li>The tool raised no errors, but the run took about an hour and a half from start to finish. Five rounds of rework went into fitting the video into 3 minutes.</li><li>Rebuilding the sample (the Breakout video) took about 5 minutes without a voice and about 16 minutes with a VOICEVOX voice.</li><li>Pasting the same prompt into Codex (gpt-6.1-terra) also produced the sample video to the end. I have not tried having Codex build a different subject from scratch.</li><li>I have only tested on Windows 11.</li></ul><h3>The three questions work without a video</h3><p>Even without making a video, the three questions change how I take delivery of what an AI made. After the AI builds something, instead of “explain it” I ask this (translated from my Japanese prompt).</p><pre>For the output you just produced, write three questions that someone who does not read the contents would be in trouble if they could not answer.<br>The first is &quot;What goes into this, and what comes out?&quot;<br>The second is about the place where people are most likely to stumble.<br>The third is: when does this stop working properly, or when is it easy to misread?<br>Add the answers, and where in the output to look to find each one.</pre><p>Reading from the three answers is much faster than reading a long explanation from the top.</p><h3>What this does not do</h3><ul><li>Watching the video does not tell you the code is correct. It shows what happens inside and where the risks are, and no more than that.</li><li>The easier an explanation is to follow, the easier it is to accept without checking. That is why the numbers come from running the code and the script goes to a separate agent for review. The reviewer can still miss things.</li><li>The tool has been tried on single files of about 100 lines. For something larger, you would narrow down what to explain and build scenes for that part.</li><li>I have not measured, with a group of people, whether the text or the video is easier to understand. This is what I saw when I put both side by side for the same code.</li></ul><h3>About the tool</h3><p>The code above is excerpts. The full kit (the program that does the capture and the voice, the shared parts, two samples, and seven prompts to paste into Claude Code) is attached to a paid article on note, a Japanese publishing platform. That article and the prompts are in Japanese. What is written here is enough to build the same setup yourself.</p><p><a href="https://note.com/views_of_life/n/ndb85c30e5cff">The paid article with the kit, on note (in Japanese)</a></p><p>The Japanese version of this article is on <a href="https://qiita.com/ViewsEngineer/items/c9c77e1c95b8ca187072">Qiita</a> and <a href="https://zenn.dev/viewsengineer/articles/ai-output-video-explainer">Zenn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7965405c0689" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“AI Will Stunt New Hires” Is Only Half True]]></title>
            <link>https://medium.com/@ViewsEngineer/ai-will-stunt-new-hires-is-only-half-true-86a3971096d8?source=rss-5e01b45175be------2</link>
            <guid isPermaLink="false">https://medium.com/p/86a3971096d8</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[future-of-work]]></category>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[ViewsEngineer]]></dc:creator>
            <pubDate>Sat, 26 Sep 2026 16:28:15 GMT</pubDate>
            <atom:updated>2026-09-27T06:53:20.172Z</atom:updated>
            <content:encoded><![CDATA[<h4>The dividing line: did they hand over the thinking?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*StVSJGrDzTYZbU-F.png" /></figure><p><em>I used AI (Claude) for parts of the writing and for the English translation of my Japanese original, which I published on note, a Japanese blogging platform.</em></p><p>“The AI implemented it that way, so I assumed it was right.”</p><p>That was a new engineer’s answer in the code review of the first big feature he had left to AI to build. The review drew 830 comments, automated checks included.</p><p>The manager banned the new hire from using AI.</p><p>After the three-month ban, with some AI access restored, he had started putting the AI’s output through the same pointed questions the manager used to put to him.</p><p>The manager, an executive officer in the development division of ielove GROUP (a Japanese real-estate tech company), told this story in a December 2025 post on Qiita, a Japanese knowledge-sharing site for engineers.</p><p><a href="https://qiita.com/WdknWdkn/items/9b7dea889fec59194df5">The AI ban for new hires, and how it turned out (Qiita, in Japanese)</a></p><p>I read the experiments and surveys of the past few years side by side to see whether letting new hires use AI stunts their growth. The answer was “half true.” High school students who practiced with an answer-giving AI lost points once the AI was taken away for the exam. Yet some new hires using AI suggestions reached in two months the level that colleagues without AI took more than six months to reach.</p><p>The people whose skills held up without AI were using AI too. What differed was whether they had handed over the thinking steps: understanding why, making the call themselves, and seeing the result after it went out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QgzJlfiuTwT5pYgU.png" /><figcaption>What you’ll take away from this article</figcaption></figure><p>This is part 1, “At Work,” of my series “Growing People with AI,” written for people who train new hires or design training and for employees in their first three years.</p><h3>Junior staff already turn to AI</h3><p>In a survey of 500 people who joined companies in Japan in spring 2026, 83.2% had used generative AI by the time they started, and only 3.6% said they fully trust AI’s answers (SANNO University).</p><p>Asked where they turn first when they lack knowledge at work, 25% of company employees in Japan in their 20s and 30s named their manager and 21% named generative AI (Interg; multiple answers allowed).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ahJZLG_Csqi-AVrM.png" /><figcaption>How close juniors are to AI today</figcaption></figure><p>Among mentors of new engineers in Japan, 77.9% said the burden of mentoring had grown since the new hires started using AI. Asked how new hires react when something breaks, 45.8% picked “I don’t know — it’s the AI’s output” (Job Support), much like the reply in the opening story.</p><p>And there aren’t enough teachers: in a fiscal 2025 survey by Japan’s Ministry of Health, Labour and Welfare, the problem workplaces most often reported in developing their people was “a shortage of people who can teach” (59.5% of workplaces that reported problems).</p><h3>Answer-giving AI raised practice scores and lowered exam scores</h3><p>In an experiment in math review sessions at a high school in Turkey, with about 1,000 students, those who practiced with an AI that gave full answers scored 48% higher in practice than students without AI, and 17% lower on an exam taken without AI.</p><p>When the same GPT-4 was given the teachers’ solutions and common mistakes and limited to giving hints, practice scores were 127% higher, and exam scores didn’t drop (Bastani et al., PNAS 2025).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uT-h4cvZHTiK3b-_.png" /><figcaption>Same GPT-4, different exam results</figcaption></figure><p>The hint-only AI didn’t beat the no-AI group on the exam. But since juniors already turn to AI, the realistic comparison is with the answer-giving AI, which cut exam scores by 17%; the hint-only AI didn’t.</p><p>The same held at work. In an experiment where 52 engineers, mostly junior, learned a programming library new to them, the group that used AI averaged 50% on a comprehension test and the group that didn’t averaged 67%. The widest gap was on debugging questions (Anthropic, 2026).</p><p>In an experiment with more than 480 consultants who weren’t data-analysis specialists, those given AI wrote analysis code that reached 86% of the expert benchmark. On a knowledge test afterward, they did no better than people who hadn’t done the task. The researchers called this an “exoskeleton” (BCG, 2024).</p><p>To try this at work, pick one thing a new hire made, close the AI tool, and have them spend five minutes explaining why they did it that way.</p><h3>Doing well in the moment feels like learning</h3><p>The students with the answer-giving AI saw their exam scores fall, yet didn’t feel they had learned less. Learning researchers have long known this gap: people easily mistake how well they do in the moment for evidence of learning (Soderstrom &amp; Bjork 2015).</p><p>In an experiment with college students and short prose passages, the group that read a passage four times won on a test five minutes later (83% vs. 71%), and lost a week later to the group that read it once and then wrote down what they could recall three times (40% vs. 61%). The more a group had reread, the more confident it was that it would remember (Roediger &amp; Karpicke 2006).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bF_j1Dz3xHU3lu88.png" /><figcaption>The side that won on the spot lost a week later</figcaption></figure><p>AI answers read smoothly too. Feeling you understand because you read an AI’s answer is probably a lot like this rereading.</p><p>To check yourself, take one task you did with AI last month and spend 30 minutes on it without opening the AI tool. Where you get stuck is what you had been leaving to the AI.</p><h3>Why people drift toward being handed answers</h3><p>Three things besides laziness push new hires to use AI for answers.</p><p>The first is how the AI is built. AI built to be helpful tends to hand over answers right away, as even the Google researchers who built an AI for learning pointed out (Jurenka et al. 2024). In my own test, I asked a GPT-family model for no finished text or sample, only a rough direction at first. Its very first hint still listed, in order, everything the apology email should contain. Claude’s didn’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sUlM5uHCcV32KsY4.png" /><figcaption>Even when told “hints only,” the AI mixed in answers</figcaption></figure><p>The second is how learning feels: the more smoothly a method goes, the more it feels like learning. In a survey cited by Soderstrom &amp; Bjork (2015), 84% of students favored rereading, and only 11% said they used retrieval practice.</p><p>The third is deadlines. At work, mistakes and delays are costly, so people fall back on familiar methods. Research on expertise notes that the job itself is far from ideal as a place to practice (Ericsson et al. 1993).</p><p>There is also a loop inside each person. In a survey of 319 people who use AI at work, the more confident people were in their own abilities, the more they reported thinking critically (Lee et al. 2025; a correlation in self-reports). While your skills are thin, it is easy to use AI output as-is, and using it as-is makes skills hard to build.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0d59QRCF-yXmoqKi.png" /><figcaption>The loop that, left alone, turns them into answer-takers</figcaption></figure><p>Told only to “use AI for hints,” people tend to slide back in a busy week, so the fixes below are workplace rules.</p><h3>The people who improved kept the thinking steps</h3><p>The new hires who caught up with more experienced colleagues in two months worked in chat support at a large U.S. company (most of the agents were outside the U.S.). The agents who stayed fast even when the AI went down were the ones who had followed its suggestions closely in their first month, sending the suggested text almost word for word (Brynjolfsson et al., QJE 2025; the estimates are imprecise). Even text sent as-is gets a customer reaction right away, and the authors explained that agents who tried the suggestions saw customers’ reactions for themselves.</p><p>College students who asked the AI for explanations improved more in their writing a week later, while the on-the-spot gains of students who had the AI write for them vanished once the AI was removed (an experiment with 211 people; Contractor &amp; Reyes, 2026).</p><p>Adults who learned some principles of writing cover letters and then practiced with AI improved on a test without AI, even though they put less effort into practice (an experiment with thousands of people; Lira et al., not yet peer-reviewed).</p><p>Among 244 junior BCG consultants, the 14% who kept control of the analytical reasoning and judgment grew their skills. The 27% who handed everything to AI showed no discernible skill gains, and 44% of that group submitted AI output without changing a single word (Randazzo et al., 2025).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3xhm44yOFVxACC62.png" /><figcaption>Whose skills held up, and whose didn’t</figcaption></figure><p>Across these studies, wherever skills held up, at least one of understanding, deciding, or seeing the result had stayed with the person; where they didn’t, the AI had taken over those steps.</p><p>The largest group of BCG juniors, about 60%, worked alongside AI and had it check their work; they gained skill at using AI more than expertise in the subject. More workers who use AI say their learning opportunities increased than say they decreased (Japan Institute for Labour Policy and Training, 2024). Perhaps what they are learning is how to use AI.</p><p>One caveat: most of these comparisons are between usage styles people chose for themselves, so we can’t say the way people used AI caused the difference.</p><h3>When to start from a worked example, and when to try first</h3><p>Trying and failing first, then being taught, often leads to deeper learning (a meta-analysis of 53 studies; the reverse held for grades 2 to 5 and for general skills not tied to a subject). But solid research also shows that worked examples help beginners. Which method works best can flip as expertise grows (the “expertise reversal effect”; Sinha &amp; Kapur 2021; Kalyuga 2012).</p><p>For a completely new kind of task, start from a worked example. From the second one on, do it yourself first, then compare it with the AI’s version or go over it with your manager. In the new-graduate training at SHIFT, a Japanese software-testing company, the first 5 minutes of each daily 15-minute exercise are done without AI.</p><h3>Grunt work is moving to AI</h3><p>New hires have traditionally learned at the edges of real work. A tailor’s apprentice in a busy shop starts by sewing pieces that are already cut, and learns cutting later. Learning theory calls this movement from the edge to the center “legitimate peripheral participation” (Lave &amp; Wenger 1991; the tailor example is from Collins et al. 1991).</p><p>McKinsey wrote that research, documentation, data cleanup, and basic coding, the tasks through which juniors built their judgment, are being “streamlined or absorbed into AI systems” (July 2026).</p><p>New hires often end up checking AI output before they have done the work by hand. Microsoft Azure CTO Mark Russinovich and his Microsoft colleague Scott Hanselman wrote that agentic coding assistants give senior engineers “an AI boost” while “imposing an AI drag on early-in-career (EiC) developers,” because those developers still lack “the judgment and context to steer, verify, and integrate AI output” (February 2026).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5lWlduOMUSLBTfdr.png" /><figcaption>New hires work their way in from the edges to the center</figcaption></figure><p>The main problems among those 830 comments included generating HTML inside the layer meant for data, having no tests at all, and names that broke the conventions of the company’s existing code.</p><p>To try this at work, sort a new hire’s first three months of tasks into three kinds: tasks they can leave to AI, tasks they do first and then compare with AI, and tasks they do entirely without AI. A real-estate company described by McKinsey had juniors walk the neighborhood and write their own assessment first, even though AI could produce a more detailed one, and only then compare it with the AI’s.</p><h3>Catching AI’s mistakes takes skill built by working by hand</h3><p>The new hire who got those 830 comments also said this:</p><blockquote><em>Honestly, part of me really does think the code it outputs is more correct than what I’d come up with myself.</em></blockquote><p>The 3.6% figure among new employees measured trust in AI. This new hire is describing whether he trusts himself or the AI more.</p><p>Radiologists in one experiment read mammograms alongside what they were told was an AI’s assessment. Inexperienced radiologists were correct 79.7% of the time when the suggestion was right and 19.8% of the time when the researchers had made it deliberately wrong. Very experienced radiologists scored 82.3% and 45.5%, a smaller drop (Dratsch et al., Radiology 2023).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*abbX5tso3_eYEGI1.png" /><figcaption>The less experienced you are, the more the AI’s mistakes sway you</figcaption></figure><p>In the junior engineers’ experiment, too, the widest gap was on debugging questions. If you keep re-asking the AI without reading the error message, you hand it the very moments where you would get something wrong and learn why.</p><p>A paper from more than 40 years ago, “Ironies of Automation,” described the same pattern in factories and cockpits: the more automated the work, the fewer chances to do it by hand, yet noticing that something is wrong takes knowledge gained from manual work. The automated systems of its day, it said, were “riding on” the skills of operators who used to do the work by hand (Bainbridge 1983).</p><p>In an experiment with pilots, manual flying skills were mostly retained; the trouble was with “thinking” tasks, such as noticing an instrument failure (Casner et al. 2014). Many of the senior people who can fix new hires’ AI output today learned the job without AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IkRko6xT3F56hKNQ.png" /><figcaption>The ability to spot AI’s mistakes comes from time spent working by hand</figcaption></figure><p>Warning people not to take AI output at face value won’t build this ability. One review concluded that the tendency to follow an automated aid’s errors can’t be prevented by training or instructions (Parasuraman &amp; Manzey 2010). The 1983 paper recommended doing the work by hand for a little while every shift.</p><p>In medical research, asking people to explain their own decisions is listed as one way to reduce this bias (Goddard et al. 2012). To try this at work, when an error comes up, have the new hire read the error message and write one line on what they think happened before pasting it into the AI.</p><h3>What three months without AI changed</h3><p>The manager in the opening story took AI away after judging that the new hire didn’t yet have the foundation to evaluate its output. With the ban in place, the manager also noticed that AI produces the design, the logic, and the visuals all at once, so you can’t fix things in the order design → logic → visuals.</p><p>The manager had the new hire read the official documentation and similar code in the company’s codebase, and put the design into words before writing any code. In the weekly check-ins, reviews were split into four stages: class and function names; the processing flow written only as comments; the substance without the visuals; and finally the visuals. For a proposal document, the order would be headings, one line per heading, the content, then the formatting.</p><p>The new hire’s questions changed:</p><blockquote><em>Before the ban: “I’m getting this error. What should I do?”</em></blockquote><blockquote><em>After the ban: “With this design, it looks like the implementation will pile up in the Controller. Should I move it out into the Service layer?”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U2_kO2SClvZeYTbG.png" /><figcaption>A new hire’s questions change across four levels</figcaption></figure><p>Three months later, the feature the new hire built reached what the manager called “a passing level.”</p><p>When AI was partly allowed again, the new hire split his requests into steps (“First, propose a data model design,” “Next, come up with test cases for this design,” “Then give me the implementation code”) and started challenging the proposals that came back. The manager wrote:</p><blockquote><em>The back-and-forth I used to have with him, he’s now having with the AI.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9yVn965ZfyaVJ35x.png" /><figcaption>What changed in the 3 months AI was taken away</figcaption></figure><p>Workplaces that can’t take AI away might do the same thing by splitting submissions into stages.</p><h3>The cost of taking AI away, and how to keep it small</h3><p>Taking away an AI that works can look like a detour, and if the intent doesn’t come across, it is just inefficiency. But most fixes don’t require taking AI away. In the high school experiment, the hint-only version changed only the AI’s role, and practice scores rose far more than with the answer-giving AI (+127% vs. +48%, compared with no AI). SHIFT removed AI only for the first 5 minutes of a 15-minute exercise.</p><p>Keeping AI in use doesn’t make the effort disappear. When new hires hand everything to AI, the checking shifts to whoever reviews the work later. Among the mentors surveyed, 77.9% said new hires’ AI use had made mentoring more of a burden. The manager in the opening story wrote that fixing things at the early stages greatly reduced rework later.</p><p>Short-term efficiency does drop. Russinovich and Hanselman wrote that “we must keep hiring EiC developers, accept that they initially reduce capacity, and deliberately design systems that make their growth an explicit organizational goal.” McKinsey put it in one line:</p><blockquote><em>Passive reliance builds output; structured comparison builds experts.</em></blockquote><p>If you do take AI away, share the intent and the end point up front. The manager called the ban “strength-training time for thinking for yourself,” and laid out what comes next: allow AI again once the CRUD basics (create, read, update, delete) are solid, then take it away again while the new hire learns the next thing. Knowing up front what is off-limits and what ends it makes the ban easier to take as practice than as punishment.</p><h3>Four things trainers should decide in advance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pxi94fSr2LdaHXwd.png" /><figcaption>Four fixes that break the loop</figcaption></figure><p>First, how you check. At minimum, once a week for 5 minutes, close the AI tool and have them explain why they did it that way. If you have time, once a month for 30 minutes, have them do the same kind of task without AI. Tell them up front that the result won’t count in their evaluation. You don’t need to see all their AI chats; one they pick themselves is enough.</p><p>Second, the order. A first-time task starts from a worked example; from the second one on, the new hire goes before the AI. Once their questions reach level 3 of the four question levels shown earlier (asking with options in hand), move on to asking the AI in separate steps. McKinsey recommends what it calls the “answer-key model”: the employee attempts first, the AI grades the attempt, and a manager goes over the differences with them.</p><p>Third, work you keep for them rather than hand to AI: in the first three months, always include tasks they do first and then compare with AI.</p><p>Fourth, time working by hand: time without AI, and a place to practice where failing doesn’t hurt. Sumitomo Life, a major Japanese life insurer, citing coaching that varied from manager to manager, introduced a system for new sales reps to practice alone with an AI playing the customer.</p><p>If you don’t have time for all of it, five minutes a week is enough. The manager in the opening story didn’t set up anything new either; the staged reviews happened inside the weekly check-ins.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1DW0jfB6s-BpnUEh.png" /><figcaption>How to assign work in the first 3 months</figcaption></figure><h3>Six prompts you can start using on your own</h3><p>Replace the parts in [square brackets] with details from your own work and paste the prompt into ChatGPT or Claude. Use #0 for a completely new kind of task, #1 from the second one on, and #2 once you have your own draft. For work that’s due today, use AI as usual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WE8L9YrJnIKgB_6s.png" /><figcaption>The 6 prompts keep these steps with the new hire</figcaption></figure><h4>0. For a first-time task, get an example and the reasons behind it</h4><pre>I&#39;m about to do a kind of task I&#39;ve never done before. First, give me one finished example I can use as a model.<br>- After the example, write the three most important reasons you chose this order and this wording, one line each, most important first.<br>- After that, I&#39;ll put the example away and write my own version without looking at it.<br>- When I paste my version, compare it with the example and point out up to two things that are missing or weak. Don&#39;t give me corrected text or sample rewrites.<br>Task: [describe the task]</pre><h4>1. Don’t let it give you the answer first</h4><pre>You&#39;re a senior colleague who looks over my work. I&#39;m about to work on the task below.<br>- Don&#39;t give me finished text or answers until I write &quot;show me the answer.&quot; Don&#39;t give me sample openings or example sentences either.<br>- Give me only one hint at a time. Make the first hint only about which direction to think in. Listing what to include or in what order also counts as an answer, so don&#39;t do that yet.<br>- When I write &quot;next hint,&quot; make it one step more detailed.<br>- After each hint, add just one question for me to think about.<br>- When I write my own draft, tell me one thing that&#39;s good and one thing that&#39;s missing. Don&#39;t give me corrected text.<br>Task: [describe the task here]</pre><h4>2. Have it poke at the weak spots in your draft, with questions</h4><pre>Below is a draft I came up with. Read it as a strict but kind manager.<br>- Don&#39;t give me a revised draft or rewritten text. Don&#39;t give me a model answer either.<br>- List up to three weak spots in my draft, most important first, phrased as questions to me.<br>- For each question, add one line on why you think that part is weak.<br>- When I answer, if my answer still has weak spots, reply with more questions. Never give me a revised draft, even at the end.<br>Task: [describe the task]<br>My draft:<br>[your draft]</pre><h4>3. Have it list the decisions that are yours to make</h4><pre>I&#39;m about to do the task below. Don&#39;t do the task yet (don&#39;t give me a finished version or a draft).<br>List 3 to 5 things I&#39;ll need to decide myself for this task, most important first.<br>For each one, briefly write:<br>- 2 or 3 options I could choose<br>- for each option, one thing that gets better and one thing that becomes a problem<br>Don&#39;t write which one I should choose. I&#39;m the one who decides.<br>Task: [describe the task]</pre><h4>4. Get exactly two drafts, and choose yourself</h4><pre>Give me exactly two drafts for the task below.<br>- Make the two drafts clearly different in what they prioritize.<br>- Before each draft, add one line starting with &quot;This draft prioritizes:&quot;<br>- Don&#39;t say which is better or which you recommend. I&#39;m the one who chooses.<br>- When I pick one and write one line on why, point out up to two things the chosen draft is missing in light of that reason. Don&#39;t give me corrected text.<br>Task: [describe the task]</pre><h4>5. Have it slip in exactly one deliberate error</h4><pre>For practice, do the task below, but deliberately include exactly one error in your answer.<br>- Make the error something I can find by checking against the source material below (a wrong number, a missing condition, a claim that goes further than the source, and so on).<br>- Include only one error, and keep everything else accurate to the source.<br>- Don&#39;t say where you put the error. No hints or markers either.<br>- Number each sentence.<br>- When I write &quot;check answers,&quot; tell me the number of the wrong sentence, what&#39;s correct, and where it conflicts with the source.<br>Task: [describe the task]<br>Source material:<br>[the original material]</pre><p>I tested the Japanese originals of all six in September 2026, one or two runs each on a GPT-family model and on Claude, and they behaved as asked. The tests ran in developer tools; I didn’t test them in the chat apps or in Gemini. The English versions above are translations and haven’t been re-tested.</p><h4>A spot-the-error quiz set at work</h4><p>Prompt #5 works with your own work materials. Here is a question built that way: an AI summarized meeting notes for a department head who wasn’t at the meeting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OJ3PU5MBNWKMdMAs.png" /><figcaption>AI spot-the-error quiz: Question 1</figcaption></figure><p>AI mistakes come in four types: a wrong number, a mixed-up condition, a dropped caveat, and added meaning that isn’t in the source (the grouping is my own rule of thumb). Decide which type it is, then check the answer.</p><p>This question and nine more are on my site (in Japanese); checking your answers shows where each error conflicts with the source and your results by error type.</p><p><a href="https://yuichi916.github.io/method/machigai-shinjin.html">Spot the AI’s error: 10 questions for new hires (in Japanese)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FgGlB6YdmPKYvcy9.png" /><figcaption>Checking the answer</figcaption></figure><p>Knowing the types doesn’t catch every error. I check the numbers in my video scripts against the original announcements. When I tested that check by planting six deliberate errors, only one survived: the overstatement “output is 40% faster.” It got through because 40% did appear in my ledger, but as a pricing figure rather than a speed. My full checking process for videos is in an earlier article.</p><p><a href="https://note.com/views_of_life/n/n369f6ab0b9d5">How I check my videos before they go out (note, in Japanese)</a></p><p>For errors with no source to check against, such as whether a design is good, the skill comes from reading good examples inside your company and comparing your reviews with those of senior colleagues.</p><h3>Limits of the evidence</h3><p>Most of the studies involve students or look at changes over a week or so at most. I couldn’t find any that followed people until they were fully competent, or any comparisons in Japanese workplaces. Some papers are not yet peer-reviewed. The company examples come from the companies’ own posts or from articles about them.</p><p>These parts are my own synthesis, and no study has tested them: applying the research on doctors, factories, and cockpits to new hires; where I drew the line between worked examples and trying first; the three-month plan; and the four fixes.</p><h3>Summary: hand the questioning over to the new hire</h3><p>When people let AI take over the thinking steps, the output looked polished but skills tended not to stick. People who kept at least one of understanding, deciding, or seeing the result built skills that held up while still using AI.</p><p>After three months of the ban, the new hire from the opening story began aiming the manager’s probing questions at the AI’s output himself. The manager ended the article by writing that it’s “not a binary choice between banning and allowing.”</p><p>To begin, try five minutes a week: close the AI tool and ask, “Why did you do it that way?”</p><p>Thanks for reading.</p><h3>About me</h3><p>I go by ViewsEngineer. I finish videos, games, and research notes with AI and publish how I made them, with the numbers I measured. I believe finishing things is the fastest way to learn.</p><p><a href="https://yuichi916.github.io/">Views Engineer: stories and games made with AI, and how I made them (mostly in Japanese)</a></p><p>On X, I post new articles and work in progress from AI-assisted projects. If you try this at your workplace, tell me there what happened.</p><p><a href="https://x.com/ViewsEngineer">@ViewsEngineer on X</a></p><p><em>Quotes from Japanese sources were translated into English for this version.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86a3971096d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reinstalling Didn’t Fix It. That’s What Told Me Where to Look.]]></title>
            <link>https://medium.com/@ViewsEngineer/reinstalling-didnt-fix-it-that-s-what-told-me-where-to-look-44497ddc7533?source=rss-5e01b45175be------2</link>
            <guid isPermaLink="false">https://medium.com/p/44497ddc7533</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[ViewsEngineer]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 07:38:56 GMT</pubDate>
            <atom:updated>2026-09-27T06:29:27.259Z</atom:updated>
            <content:encoded><![CDATA[<h4>How a Windows app that crashed one second after every launch was diagnosed with Python and a minidump, without a debugger.</h4><p><em>I used AI (Claude) for parts of the writing and for the English translation of my Japanese original. The investigation itself was carried out by an AI agent (Claude Code); the last section lists exactly what I typed.</em></p><p>A desktop app on my Windows machine started closing about one second after launch. There was no error dialog and no crash message: the window appeared and then disappeared. It crashed twelve times that day, and the last of those came after I had installed the newest version of the app.</p><p>That reinstall turned out to be the most useful piece of evidence in the whole investigation, because the crash did not change at all when the code did. Below is the investigation in the order it happened.</p><p>The app was pCloud Drive, but the method works for any Windows app that dies without leaving anything useful in its log.</p><h3>Finding out when it started</h3><p>The first source was the Windows event log rather than memory:</p><pre>Get-WinEvent -FilterHashtable @{LogName=&#39;Application&#39;; ProviderName=&#39;Application Error&#39;; Id=1000; StartTime=(Get-Date).AddDays(-14)} | Where-Object { $_.Message -match &#39;AppName&#39; }</pre><p>In the last fourteen days, crashes appeared on only one day, with none before it. By the end of that day there were twelve.</p><p>Filter on Application Error (ID 1000). Each crash also leaves one record from Windows Error Reporting (1001) and one from .NET Runtime (1026), so if you query all three providers, the count triples.</p><p>The app’s own log had a heartbeat message it writes every hour. The last one was at 05:54:59, and the next, due at 06:54, never appeared. The first crash was at 06:15:33, between the two.</p><p>So twenty minutes before the first crash the app was still running normally, and from then on it crashed on every launch. A sudden switch like that points to something that happened at a specific moment (an event) rather than a state that slowly drifted, and that changes what you look for.</p><h3>What the four exception values mean</h3><pre>Exception code:     0xc0000005<br>Exception address:  0x0000000000000000<br>Faulting module:    unknown<br>Parameters:         [0x8, 0x0]</pre><p>The exception address is zero. Something tried to execute code at address 0, and there is nothing there.</p><p>The first parameter, 0x8, gives the kind of access: 0 is a read, 1 is a write, and 8 is an instruction fetch, meaning a jump to an address that cannot be executed. On x64 with DEP enabled, a jump to an unmapped address such as 0 is also reported this way. The second parameter, 0x0, is the address that could not be accessed.</p><p>The simplest reading is a call through a null function pointer: a variable that should have held the address of a function was empty, and the code jumped to that empty address. A corrupted stack that leaves a zero in a saved return address produces the same signature, however, and this evidence alone cannot tell the two apart. Nothing later in the investigation separated them either, and the fix did not depend on it.</p><p>unknown as the faulting module is expected, since address 0 is not inside any DLL&#39;s range.</p><p>A note on Fault offset: it normally holds an offset from the faulting module&#39;s base, not an absolute address. Here the module could not be resolved, so it happens to hold the absolute value. The .NET Runtime record states the address explicitly as exception address 0000000000000000.</p><h3>The app’s log recorded no exception</h3><p>The app is a .NET (WPF) application and writes its own log. These are the last lines before it died:</p><pre>10:47:48 INFO start<br>10:47:48 INFO Set tray baloon<br>10:47:48 ERROR Show main window<br>10:47:49 INFO CRYPTO_STATUS_NEW<br>(ends)</pre><p>The one ERROR line, “Show main window”, appears on every launch and has nothing to do with the crash. What is missing is any record of an exception.</p><p>Months earlier, when the app hit a different bug, it had logged a FATAL line with the exception type and a full stack trace. So its exception logging works; this time it simply wrote nothing.</p><p>Windows did record the crash, in an event from .NET Runtime:</p><pre>Description: The process was terminated due to an unhandled exception.<br>Exception Info: exception code c0000005, exception address 0000000000000000</pre><p>There is no exception type name. If a .NET exception had gone unhandled, its type and stack trace would be in this record. Instead there is only a raw SEH code. That suggests a hardware exception in native code rather than something the managed layer would recognize. It does not prove it (the stack analysis later does), but it decided which layer to suspect first.</p><h3>Ruling out the usual suspects with records</h3><p>Each common cause was checked against a record:</p><ul><li>Graphics driver: no display-related error events in fourteen days.</li><li>OS update: the last cumulative update was five days earlier, and the app ran normally for four days after it, so the timing does not match.</li><li>Corrupt local database: SQLite PRAGMA integrity_check returned ok, so the file itself was not damaged.</li><li>Something in the environment: other apps do crash now and then, but on different days and with different signatures.</li></ul><p>Then I tried what most people try first. The app was on 5.0.20, and I installed the current 5.2.2 over it. The release notes for the versions in between listed fixes for recovering file transfers after interruptions and a new way to handle failed upload items, which sounded relevant. The install succeeded, and on launch the app died after one second with the same exception.</p><h3>What the reinstall changed, and what stayed the same</h3><p>This is what the update replaced:</p><ul><li>App version: 5.0.20.0 → 5.2.2.0</li><li>Executable build date: 2025–12–06 → 2026–06–15</li><li>.NET runtime: 9.0.12 → 9.0.18</li><li>Local DB schema: dbversion 24 → dbversion 28</li></ul><p>Both the application binary and the runtime under it were different versions, built six months apart. The crash was the same: one second after launch, same exception, same behaviour.</p><p>The crash fingerprints that Windows Error Reporting recorded were also identical, character for character:</p><pre>Stack hash:      ac462b2fd07cc853b652b5104a1cf381 -&gt; ac462b2fd07cc853b652b5104a1cf381<br>Exception data:  0000000000000008 -&gt; 0000000000000008</pre><p>When a process dies, Windows Error Reporting computes a hash from the stack at the crash site. In a different build the code sits at different places, so this value normally changes. Here it did not. Two binaries with six months of changes between them produced the same fingerprint: the same stack shape, failing at the same spot.</p><p>If you replace the code entirely and the symptom does not move at all, the code is not the variable. What remains is the data the app reads. The new version had also migrated that data to a new schema on its first start and still crashed, so the cause had to be something the app carried across the migration.</p><h3>Reading the crash dump with Python</h3><p>That still left the question of which data. For that, the crash site was needed.</p><p>Version 5.2.2 writes a minidump into a crashes folder, and there was a 1.4 MB dump in it. By the next launch the folder was empty, because the app sends the report and then deletes the dump itself. If you find one, copy it somewhere else before doing anything else.</p><p>No debugger was installed, and a Python library was enough:</p><pre>pip install minidump</pre><p>The method has four steps:</p><ol><li>Get the ID of the thread that died from the dump’s exception record.</li><li>Take that thread’s stack memory.</li><li>Walk through it eight bytes at a time.</li><li>For each value, find which DLL’s address range it falls in, and count.</li></ol><p>No symbols are needed for this; the counts alone show which module dominates. These are the key lines of the script that was run (mf is the parsed minidump, raw is the dump file&#39;s bytes, and owner() returns the module whose range contains a value):</p><pre>mods = sorted(((os.path.basename(m.name), m.baseaddress, m.baseaddress + m.size) for m in mf.modules.modules), key=lambda x: x[1])<br>th = [t for t in mf.threads.threads if t.ThreadId == mf.exception.exception_records[0].ThreadId][0]<br>data = raw[th.Stack.Rva : th.Stack.Rva + th.Stack.DataSize]<br>hits = [owner(struct.unpack(&#39;&lt;Q&#39;, data[i:i+8])[0]) for i in range(0, len(data)-7, 8)]</pre><p>One implementation note: reading memory through mf.get_reader() throws an error as soon as it touches an address the dump did not capture. Slicing the file directly from th.Stack.Rva works reliably.</p><p>The result:</p><ul><li><strong>pSyncLib.dll: 26</strong></li><li>ntdll.dll: 7</li><li>msvcr100.dll: 5</li><li>KERNELBASE.dll: 3</li><li>pthreadVC2.dll: 1</li><li>kernel32.dll: 1</li></ul><p>Read from the bottom of the stack up, the chain is ntdll → kernel32 → msvcr100 (thread startup) → pthreadVC2 → pSyncLib.dll.</p><p>pSyncLib.dll is the app&#39;s native sync engine, the component whose whole job is moving files to and from the cloud.</p><p>This way of counting has limits, though none change the conclusion. 26 does not mean twenty-six nested calls. Stacks are reused, so stale values left by calls that already returned are mixed in; pointers into a module’s data are counted too; and a minidump may not capture the whole stack region. What the counts show is what the thread was mostly busy with, and 26 against 7 is a clear margin.</p><p>The rendering DLLs and the resident software that had been suspects for interfering did not appear on this stack even once. The thread that died was a worker thread inside the sync engine, so this was neither a UI problem nor interference from other software.</p><h3>The cause: a sync queue that was never processed</h3><p>The sync engine keeps its work queue in a local SQLite database. The queue tables held:</p><ul><li>fstask: 5</li><li>fstaskupload: 73</li><li>fstaskdepend: 1</li><li>fstaskfileid: 0</li></ul><p>Every task had status=0, meaning not yet processed, and all of them pointed at temporary files in the same folder.</p><p>The timeline:</p><pre>06:09        an 843 MB temp file last modified<br>06:11-06:14  the app&#39;s local cache last modified<br>06:15:33     first crash</pre><p>I had set a downloader to save straight into the sync folder, which this app mounts as a virtual drive. My reading is that the app tried to upload a file that was still being written, the file was renamed or the transfer was interrupted partway, and the queue was left in a state the engine could not process. That part is inference from the timeline; I never observed the race itself.</p><p>What I did observe is narrower: with these tasks in the queue the app crashed every time, and with the queue emptied it did not. I cannot tell whether the rows themselves are malformed, or whether they are fine and the code path that handles them has a hole. The fix is the same either way.</p><p>This also explains the ok from the integrity check earlier. PRAGMA integrity_check inspects page structure and the schema. Data that makes an application crash is outside what it is designed to detect.</p><h3>The fix: move the queue aside instead of deleting it</h3><ol><li>Quit the app.</li><li>Back up the database files.</li><li>Write the contents of the four queue tables out to JSON, then empty the tables.</li><li>Launch the app.</li></ol><p>Step 3 is the important one. Writing the rows out first means the decision can be undone. I did not need to undo it, but I could not have known that when I made it. (Restoring the rows unchanged would bring the crash back.)</p><p>The app launched and stayed up. The virtual drive mounted normally, Explorer’s context-menu integration (which only works while the app is alive) responded, twelve minutes of monitoring showed zero crashes, and 24 minutes after launch it was still running.</p><p>What was lost were the interrupted uploads. Nothing that already existed in the cloud was affected.</p><h3>What I would do next time</h3><p>If a reinstall does not fix a crash, open the app’s data folder next rather than the uninstaller. On Windows that means looking under %APPDATA% and %LOCALAPPDATA%. When a different executable gives the same symptom, that result has eliminated half the suspects.</p><p>If an app dies silently, look for a dump. Check whether the app writes one itself. If it does not, Windows can be configured to save one through the LocalDumps registry key. Copy it quickly; some apps delete their dumps after reporting.</p><p>A stack tells you where to look even without symbols. Counting which module dominates is enough to decide the next step.</p><p>Do not point a downloader at a cloud-sync folder. Let the download finish on a local disk, then copy the file. A file still being written should not sit in a folder another program is watching.</p><h3>The vendor’s part</h3><p>This app has a real defect. Whatever is in that queue, jumping to address zero and dying instantly (through a null function pointer or a corrupted stack) is not adequate handling. That is for the vendor to fix. Waiting for that fix, though, would not have got my machine working.</p><p>My own view is that the number of people who can build things will keep going up, while the number of people who can separate what is ruled out from what is still a suspect when something stops working is not going up. The roughly forty minutes this investigation took were spent almost entirely on that separation.</p><h3>What I actually typed</h3><p>The investigation was carried out by an AI agent (Claude Code). This is everything I entered, in full. I typed in Japanese; the lines below are translations.</p><p>First:</p><pre>the pcloud app keeps force-quitting</pre><p>That was all: no version, no error text, nothing about when it started. From there the agent queried the event log, decoded the exception, found when the crashes began, and reproduced the crash on its own.</p><p>Second: the agent presented four options (update to the latest version, park the sync queue and test, report to the vendor, or examine the unsynced data first), and I picked the first.</p><p>Third:</p><pre>installed it</pre><p>When the latest version crashed the same way, the agent found the dump in the crashes folder, ran pip install minidump, analysed the stack, and identified pSyncLib.dll.</p><p>Fourth: the agent asked for permission to park the queue, and I approved it. That got the machine working again.</p><p>I gave no technical instructions. Which log to read, how to parse a dump, which table to suspect: none of that came from me. My part was choosing which hypothesis to rule out first and approving the step that dropped the unsynced uploads.</p><p>The decisions that stayed with me were these:</p><ul><li>When to stop. When the reinstall failed, was that the end of the investigation or the beginning?</li><li>What to rule out first, meaning which of the four options to spend time on.</li><li>What may be lost. Seventy-three unsynced uploads are not something an agent should decide to drop on its own.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44497ddc7533" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Short Story to Fully Voiced Game in a Day]]></title>
            <link>https://medium.com/@ViewsEngineer/from-short-story-to-fully-voiced-game-in-a-day-fc64cead892d?source=rss-5e01b45175be------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc64cead892d</guid>
            <category><![CDATA[indie-game-development]]></category>
            <category><![CDATA[localization]]></category>
            <category><![CDATA[visual-novel]]></category>
            <category><![CDATA[creative-writing]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[ViewsEngineer]]></dc:creator>
            <pubDate>Sun, 23 Aug 2026 10:17:14 GMT</pubDate>
            <atom:updated>2026-09-27T06:31:01.436Z</atom:updated>
            <content:encoded><![CDATA[<h4>How I turned a finished short story into a voiced browser game, and then into seven languages.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*XTHWefx9jL1Sjml3.jpg" /></figure><p><em>I used AI (Claude) for parts of the writing and for the English translation of my Japanese original. The game’s text, illustrations and voices are also AI-generated (Claude / Stable Diffusion / ElevenLabs), built on my own premise, plot, characters and revisions.</em></p><p>On a Saturday I finished a short story of about 10,000 Japanese characters. By Sunday it was a fully voiced, illustrated sound novel you could play in a browser tab. The day after that, it was available in seven languages.</p><p><strong>Play it:</strong> <a href="https://yuichi916.github.io/hyaku.html?lang=en">The Hundred Misdeeds</a>, free, no install, about thirty minutes.</p><p>Below is the whole pipeline. No single tool made the difference. What mattered was the order of the steps, and one rule I set at the start: finish the prose completely before writing any engine code. If you work on both at the same time, you carry two open questions at once (is the story good, and does the code work), and neither one settles.</p><p>So I start with the story.</p><h3>Part 1: Getting the prose right first</h3><p>A voiced game amplifies whatever you feed it. Thirty minutes of mediocre text read aloud by a good voice is still mediocre, and now it takes longer to skip. The prose has to hold the game up.</p><h4>Find a premise that is not crowded yet</h4><p>Before writing anything, I ran a frequency count over a personal library of 29,308 book records. I counted words in the titles rather than the blurbs. In the Japanese web-novel market, titles describe the plot beats directly, so they work as a machine-readable map of which themes are already crowded.</p><p>“Demon lord” appeared in 347 titles and “villainess” in 125. Both shelves are crowded. “Letter” appeared in 24, “devotion” or “self-sacrifice” in 2, and “metafiction” in 1.</p><p>That gave me the brief: a demon-lord story, because that shelf is crowded and readers are already there, but built around the rarer elements of devotion, a found document, and a narrator with an agenda.</p><p>This step took one afternoon, and it decided the direction of everything after it.</p><h4>Five decisions I keep; the rest I delegate</h4><p>I use AI heavily in this project. It is very good at keeping things consistent and very bad at knowing what should hurt. So I keep five decisions for myself and write each one as a single line:</p><ol><li>The feeling left behind after the last page (not the plot). Mine: make it impossible to hate this villain properly.</li><li>The protagonist’s strength and its price, in one sentence. Mine: he can hate hard enough to survive anything, which is the only reason he survived.</li><li>The pressure the world applies. Mine: people cannot unite without an enemy.</li><li>The central asymmetry, since two equals produce no story. Mine: the one person who knows the truth about her is the one who killed her.</li><li>The ending and the size. Mine: one short story; it ends on the hundredth entry.</li></ol><p>Everything else can be delegated: supporting cast, place names, prose drafting, continuity. That works only because those five lines are fixed first. If you give a model a vague brief, you get something coherent that nobody remembers.</p><h4>Track foreshadowing in a ledger and check it with a script</h4><p>The whole story is a verification. A hero audits a ledger of one hundred crimes, and one by one the crimes turn inside out. For that to work, every planted detail has to pay off.</p><p>So I kept my own ledger, items A through Q. Each item records where it is planted, where it pays off, and what it changes the meaning of. Then I checked it the way I would check code: a script asserts that every payoff keyword appears in the final text, after its setup. It is a crude test, but it caught two things I had dropped.</p><h4>A passage from the story</h4><p>Here is one passage. The hero is verifying misdeed number twenty-two: three hundred children, stolen. He has found the ledger’s marginal notes.</p><blockquote><em>“Mira, six. Hives from tree nuts.” “Toto, nine. Cries at night. Do not put out the lamp.” “Sena, five. Deaf in the left ear. Speak from her right.”</em></blockquote><blockquote>I held the page, and for a while I could not move.</blockquote><blockquote>Why would a record of crimes note nighttime crying? Why would a book of abductions log an allergy? This is not the record of a crime. It is — a handover. Written by someone who cares for children, for whoever will care for them next.</blockquote><p>Those nine lines show how the whole story works: the same document, read twice, means opposite things.</p><p>The prose was the slow part and took several days. Everything after it took about a day.</p><h3>Part 2: The pipeline, stage by stage</h3><h4>Keep the script as data and the engine as code</h4><p>A converter turns the prose into a flat list of beats. Scene markers become background and music changes. Dialogue becomes a line with a speaker and a voice file:</p><pre>{ n: &#39;Mia&#39;, t: &#39;&quot;Lord Ash. Your tea is ready.&quot;&#39;, v: &#39;k-799491426&#39; }</pre><p>Two rules keep this reliable.</p><p><strong>Don’t trust automatic speaker attribution.</strong> It is right most of the time. When it is wrong, the wrong voice comes out of the wrong character, and players notice at once. Lines the converter cannot resolve are flagged, and I fill them in by hand.</p><p><strong>Split long lines at build time.</strong> Anything over about 110 characters is broken at sentence boundaries. An overflowing message window is the most common way a finished game ends up looking unfinished.</p><h4>The engine follows one rule</h4><pre>if (b.bg !== undefined) { setBG(b.bg); continue; } // never blocks<br>if (b.t !== undefined) { say(b); return; } // waits for the reader</pre><p>Commands that change the screen continue immediately. Commands that need a human return and wait. If that stays consistent, the engine stays simple, and I can add story without touching it. For a thirty-minute piece, the only features that matter are save, skip, backlog and chapter select. I treat everything else as decoration.</p><h4>Voice only the two leads</h4><p>This was the biggest cost decision in the project.</p><p>Full voice for every character means half a gigabyte of audio and a bill to match. Voicing only the two leads costs a fraction of that, and it also reads better: when only two characters speak aloud, the game is telling you whose story this is. Supporting characters shown as plain text come across as background, and the game does not look unfinished because of them.</p><p>Voice files are named by a hash of speaker|text (h = (h * 31 + charCode) | 0, the classic Java string hash), so there is no manifest to maintain. Add a line, generate its audio, and it plays.</p><p>There is one problem with this. <strong>If you edit a single character of a line, that line goes silent for good.</strong> The engine asks for a file that no longer exists, the browser returns a 404, playback fails without a message, and the game carries on. Nothing shows an error. On an earlier project I shipped 161 muted lines this way.</p><p>The fix is bookkeeping. After every revision, I recompute every expected filename from the script and compare it with the files on disk in both directions:</p><pre>referenced=237 on disk=237 missing=0 orphaned=0</pre><p>A missing file means a silent line. An orphaned file means something changed and I did not notice.</p><h4>Art: lock the seed and share the prompt prefix</h4><p>Every character is generated from a shared style prefix with a fixed seed, and only the expression tokens change. That keeps the cast looking like one production instead of the work of five different artists. For cutouts I use rembg with its anime-tuned model, which handles line art much better than the general model.</p><p>One trap: adding “flat color, anime style” to the prompt gives a thin-lined flat look that does not match anything else you generate. Leave it out.</p><h4>Deploy with no build step</h4><p>The game is static HTML on GitHub Pages. There is no bundler, no CI and no build. I push, and it is live in under a minute.</p><p>I count this as the main reason the whole conversion fit in a day. Once “deploy” means “build, wait, check”, the iteration loop gets longer and you stop making small fixes. The entire configuration is one empty .nojekyll file.</p><h3>Part 3: Seven languages from one change</h3><p>Localization is often the point where projects like this stop. This one kept going because of one change at build time: <strong>every dialogue beat got a stable index.</strong></p><p>After that, each language is a JSON array aligned to those indices:</p><pre>return { t: L.t[b.ix] ?? b.t, n: L.names[b.n] ?? b.n }; // fall back to the original</pre><p>The languages are Japanese, English, Chinese, Korean, Spanish, French and German. The English voice acting was generated the same way as the Japanese, from the same indices. I chose separate voices for each language instead of reusing one set, because a voice that sounds warm in one language often does not in another.</p><p>A feature I had not planned came almost for free. Since any line can be fetched in any language at the same time, the message window can show two languages at once: Japanese on top, English underneath. That turns the thirty-minute story into reading practice, and it is now the mode I use most.</p><p>The logic was easy; the layout took work. Two text blocks in one window crowd each other, so the second block sits under a thin divider at 85% size with lower contrast. The window’s maximum height grows in dual mode, and line height tightens for each viewport. To verify it, I asserted in a headless browser that the top edge of the second block never crosses the bottom of the first, at desktop, portrait and landscape sizes.</p><h3>Three checks I would use on any project like this</h3><p>Most of the above is specific to this game. These three checks are not:</p><ol><li><strong>Inventory generated assets in both directions.</strong> A missing file means something is broken. An orphaned file means you changed something and did not notice. Run the check after every revision, not only before a release.</li><li><strong>Check synthesized audio by transcribing it.</strong> Transcribe every generated clip back to text and compare it with the source line. A wrong pronunciation, a cut-off clip or an invented sentence throws no error, but a transcription shows all of them.</li><li><strong>Test the deployed version, not your working copy.</strong> I once shipped a localization where the new engine was deployed but the rebuilt script was not. The fallback I had written for safety rendered the whole game in the original language, correctly and without any error, in all seven language modes. My local test passed because the correct file was on my disk. Now the checks fetch the live URL.</li></ol><h3>The game</h3><p><em>The Hundred Misdeeds</em>: a hero kills the Demon Lord, is ordered to write the official history, and finds her handwritten ledger of one hundred crimes. He starts verifying them, and they start turning inside out.</p><p><a href="https://yuichi916.github.io/hyaku.html?lang=en">Play The Hundred Misdeeds free in your browser (about 30 minutes, 7 languages, voiced in Japanese and English)</a></p><p>Text, illustrations and voices: Claude / Stable Diffusion / ElevenLabs, on my premise, plot, characters and revisions. The original Japanese text is published on <a href="https://ncode.syosetu.com/n4922mq/">Shosetsuka ni Naro</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc64cead892d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Working With Claude Code Sent Me Back to John Dewey’s How We Think]]></title>
            <link>https://medium.com/@ViewsEngineer/i-used-claude-code-for-a-month-and-reached-the-exact-same-conclusion-john-dewey-did-in-1910-917036bc00c7?source=rss-5e01b45175be------2</link>
            <guid isPermaLink="false">https://medium.com/p/917036bc00c7</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[ViewsEngineer]]></dc:creator>
            <pubDate>Sat, 02 May 2026 10:18:20 GMT</pubDate>
            <atom:updated>2026-09-27T06:13:14.844Z</atom:updated>
            <content:encoded><![CDATA[<h4>A coding agent handled the later steps of Dewey’s five-step model well; noticing the problem, defining it and deciding what to hand over stayed with me.</h4><p>In April 2026, I muttered to myself: “Claude Code is too good. Do I even have a job anymore?”</p><p><em>I used AI (Claude) for parts of the writing.</em></p><p>Anthropic’s Claude Code takes plain-language instructions in the terminal, then writes files, runs tests and commits to git on its own. It can also run sub-agents in parallel. In my use, some tasks that used to take about three hours finished in about fifteen minutes.</p><p>For a week I felt like the kind of person who gets replaced by AI. Then I used it intensively for another three weeks and noticed a clear line between the sessions where it worked very well and the sessions where it fell apart. Where that line sat matched a description of thinking that John Dewey published in 1910.</p><h3>Dewey’s five steps</h3><p>Dewey, the American pragmatist philosopher, wrote <em>How We Think</em> (D. C. Heath &amp; Co., 1910; the full text is free on <a href="https://www.gutenberg.org/ebooks/37423">Project Gutenberg</a>). In Chapter VI, “The Analysis of a Complete Act of Thought”, he breaks reflective thinking into five steps:</p><blockquote><em>Upon examination, each instance reveals, more or less clearly, five logically distinct steps: (i) a felt difficulty; (ii) its location and definition; (iii) suggestion of possible solution; (iv) development by reasoning of the bearings of the suggestion; (v) further observation and experiment leading to its acceptance or rejection; that is, the conclusion of belief or disbelief.</em></blockquote><p>Put simply: you sense that something is wrong, you work out what exactly the problem is, possible solutions occur to you, you reason through what each one implies, and you test one in practice.</p><h3>What Claude Code does with “fix this bug”</h3><p>When I hand Claude Code a task such as “fix this bug”, its work goes roughly in this order:</p><ol><li>It receives the task (“fix this bug”).</li><li>It greps and reads across the codebase to find where the issue lives.</li><li>It generates several candidate fixes.</li><li>It reasons its way to the candidate most likely to be correct.</li><li>It runs the tests, looks at the result and repeats if needed.</li></ol><p>This follows Dewey’s five steps closely, with one difference at the start. Dewey’s first step is a felt difficulty, and in my sessions that part was always mine. The agent began from the sentence I typed. Whether that sentence pointed at the right problem was settled before the agent did anything.</p><h3>The loop is older than the tool</h3><p>I also spent a month re-reading books on problem solving: Hajime Karatsu’s <em>How to Solve Difficult Business Problems</em> (2002, Japanese), Kazuto Ataka’s <em>Issue Driven</em> (Japanese), McKinsey’s <a href="https://www.mckinsey.com/featured-insights/leadership/7-steps-to-solving-business-problems">7-step problem-solving framework</a>, the Harvard Business School case method and Napoleon Hill’s <em>Think and Grow Rich</em>, plus over a hundred blog posts and Medium articles on the topic.</p><p>Karatsu was a Japanese technology critic. His argument, roughly, is that problem solving is a form of adapting to the environment, and that the cybernetic loop of plan, act, measure, compare and adjust applies to everything from single-celled organisms to nation-states. People call versions of this loop the OODA loop, the Build-Measure-Learn cycle or “test, fix, re-test”. The mechanism is the same in each. What a coding agent changes is the speed of the loop and how many copies of it can run in parallel.</p><p>Cybernetics itself is usually traced to Norbert Wiener’s wartime work on anti-aircraft fire control. The target plane can change course, so a single precise prediction is not enough; the aim has to be corrected again and again from what is observed. Karatsu draws a practical rule from this. As I read him, what counts is reaching the goal, and proving that your prediction was right does not count for much. When the result moves away from the prediction, you drop the prediction and keep the goal. In my experience this is the step people resist most, because they have already invested in the original plan.</p><h3>Where my sessions went wrong</h3><p>The prompts that produced the worst results looked like this:</p><pre>make something nice</pre><p>The problem was never stated, so there was nothing for the solution to be right about. Looking back over the month, how well I had done Dewey’s first two steps before typing mattered more to the outcome than anything the agent did afterwards.</p><p>The two Japanese books say this in their own ways. Ataka, a former McKinsey consultant and former CSO of Yahoo Japan, argues that the quality of the issue you choose decides most of the result, and that grinding through every possible question without choosing (what he calls “the dog’s path”) wastes the effort. Karatsu, years earlier, wrote that the most dangerous problems are the ones nobody has noticed, and that finding the problem is what decides success in business.</p><p>I see a confusion of means and ends around AI agents. One team starts with “We bought Claude Code. What can we make AI do?” Another starts with “We need to achieve X. How does Claude Code serve X?” The first way tends to produce solutions looking for a problem.</p><p>A GLOBIS article (<a href="https://globis.jp/article/57554/">in Japanese</a>) makes a related point: in the AI era, people will need to combine logical thinking, an understanding of computers and AI, and design thinking that stays close to human feelings. My own shorter version is that the most valuable skill now is being able to design what you delegate.</p><h3>How I split the work now</h3><p>This is the process I settled on by the end of the month. It borrows from Dewey’s steps, Karatsu’s loop and Ataka’s focus on the issue, and uses Claude Code’s parallel sub-agents in the middle.</p><ol><li><strong>Define the issue (me only).</strong> I spend ten minutes writing down what I am actually trying to figure out, before opening a chat window or talking to the team. If I cannot write it clearly, I write down why I cannot. That is useful information too. When I skip this step, everything after it goes wrong.</li><li><strong>Break it down (with AI as a sparring partner).</strong> I give the issue to an AI and ask for a MECE (mutually exclusive, collectively exhaustive) logic tree. Current models are good at this. My job is to add what the model cannot see: domain knowledge, how the organization works, how customers feel.</li><li><strong>Test hypotheses in parallel (the agent’s strength).</strong> For each branch I write a hypothesis and give it to sub-agents. One collects evidence for hypothesis 1, another actively tries to disprove hypothesis 1, a third does the same for hypothesis 2.</li><li><strong>Interpret the results (me).</strong> I do not take any output at face value. I run the loop of plan, act, measure, compare and adjust. When a result differs from what I predicted, I ask the AI why that might be, but the interpretation is my call.</li><li><strong>Decide, with a fallback (me).</strong> I pick a path and keep what negotiators call a BATNA (best alternative to a negotiated agreement): one backup plan, written down, for when the chosen path fails. This keeps a failure by the agent from turning into a much bigger one.</li></ol><h3>Three habits outside the terminal</h3><p>None of these need programming.</p><p><strong>Ask “why?” five times.</strong> This is Toyota’s “5 Whys”. Once a day I take one issue and ask why it happened, then why that cause happened, and so on for five layers. It takes about five minutes, and it is practice in finding what the actual problem is.</p><p><strong>Write down what you will not delegate.</strong> I keep one sheet with two columns. Things I hand to AI: first drafts, summarizing data, boilerplate code. Things I keep: final decisions, value judgments such as whether something is right, and direct emotional contact with customers.</p><p><strong>Run a small loop on yourself.</strong> Every weekend, for five minutes, I write what I intended to get done that week, how far the result was from the intention and what I will change next week.</p><h3>What stayed the same</h3><p>Dewey in 1910, Karatsu in 2002, Ataka in 2010 and my month with Claude Code in 2026 point to the same few things: choosing the right question, running a loop of hypothesis, action and adjustment, and keeping means and ends apart. The agent took over much of steps three to five. The first two steps, and the choice of what to hand over, were still mine.</p><p>I still trip over step one often. Knowing Dewey’s map helps.</p><h3>Books and sources</h3><ul><li>John Dewey, <em>How We Think</em>, D. C. Heath &amp; Co., 1910. Full text on <a href="https://www.gutenberg.org/ebooks/37423">Project Gutenberg</a>.</li><li>Hajime Karatsu, <em>Bijinesu nanmon no tokikata</em> (How to Solve Difficult Business Problems), PHP Shinsho, 2002. Japanese.</li><li>Kazuto Ataka, <em>Ishū kara hajimeyo</em> (Issue Driven), revised edition, Eiji Press, 2024. Japanese.</li><li>Napoleon Hill, <em>Think and Grow Rich</em>, Japanese edition, Kiko Shobo.</li><li>Takahisa Takata and Tomoyuki Iwasawa, <em>Problem Solving</em>, Eiji Press. Japanese.</li><li>Takashi Hirai, <em>Essential Thinking</em> (on MIT-style problem definition), Toyo Keizai. Japanese.</li><li>Isao Hosoya, <em>Meta-Thinking Training</em>, PHP Business Shinsho. Japanese.</li><li>Dokushozaru, <em>Encyclopedia of Problem Solving</em>, Forest Publishing. Japanese.</li><li>McKinsey, <a href="https://www.mckinsey.com/featured-insights/leadership/7-steps-to-solving-business-problems">7 steps to solving business problems</a></li><li>Anthropic, <a href="https://www.anthropic.com/claude-code">Claude Code</a></li><li>GLOBIS, <a href="https://globis.jp/article/57554/">article on three ways of thinking for the AI era</a> (Japanese)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=917036bc00c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>