Haenginro Lab

Haenginro Lab / Writing

Records that stay close.

Short, practical notes from real sessions — what was built, what broke, and what changed as a result. Follow by RSS

Thirty-Three Thousand Reads, Zero Checked

An image-reading line was getting through about 9,000 images a day. Of the roughly 33,000 it had read, none had been checked by a person, and the case for a bigger model turned out to have no evidence under it.

One Hundred Twenty of One Hundred Sixty

Two separate processes handed out ID numbers from the same counter by reading it and then writing it back. Four processes issuing at once produced 120 overlaps in 160; a single UPDATE … RETURNING statement brought that to 0.

The Save Button with No Handler

Images would not download from a small asset browser, and the server looked like the obvious suspect. It was fine. Two save buttons were wired to nothing, and the third download path was saving a 600×450 thumbnail instead of the original.

The JSON That Ended at the Ceiling

A film-analysis step kept returning JSON that stopped mid-way. Its usual output ran 1,400 to 1,800 tokens, and the output cap was 1,800. Raising the cap to 3,200 let every one- and six-minute segment of three long films through; one larger segment still cuts off.

The Cleanup That Deleted What Was Already There

When a registration into a file vault was rejected, its cleanup step also deleted a file that already sat at the target path. The fix was to remember which files this registration had moved, and delete only those.

The App I Replaced from the Inside

A Mac app would not open after an update, and the shell error pointed nowhere useful. The crash report said macOS was killing it at launch. The same build ran from a fresh wrapper, so the likely cause was how it had been replaced, not what was built.

Ten Epochs Was Three Hundred Steps

A character LoRA trained for the same 10 epochs as an earlier one came out with an unstable face. The new trainer batched images, so 10 epochs meant 300 steps instead of 470, and a third of those were warmup.

The Order File Written Twice

A reader that tracks who is using a shared GPU line reported two failed orders that had not failed. It assumed each order file is written once, when the order ends, but the service also writes it when the order is accepted.

The Ledger Already Named Every Caller

A shared GPU machine was taking work every 26 seconds while our observer saw nothing, because it only knew five callers. The fix looked like making callers register, but the machine’s service already wrote who sent each of its 33,256 orders. We only had to read it.

The Zero Weight That Still Got Picked

A clothing image generator was told to stop using one style of trousers by setting its weight to zero. They were not blocked, because the slot that picks a paired garment did not read that weight. A separate pair weight took the simulated count from 30 to 0.

The Ten-Second Silence That Ended the Job

Image jobs were failing as unreachable because one ten-second wait for a status reply, with no retry, was treated as final. Raising it to thirty seconds left zero polling failures in the next thousand images, and the one failure left had a different cause.

The Health Check That Only Saw One Server

A check run of sixty images came back sixty for sixty unreachable. The generation line had reported healthy the whole time, because its health check looked at one of the two image servers the jobs actually used.

The View Button That Reverted the Edit

A prototype material library app had a button labelled "View original." It did not show anything. It copied the original photo over the corrected one and saved, with no confirmation.

The Mockup That Loaded First

Opening a pipeline dashboard showed, for about 0.8 seconds, the made-up sample screen it was designed with. Until real data arrives, a dashboard should show nothing, because a plausible example is a false report.

Off by Design Is Not a Failure

A pipeline dashboard kept reporting a failed snapshot lookup. The source was a local generation server that is switched off on purpose most of the time. A refused connection there is a state, not an error; a timeout still is one.

Twenty-Seven of Thirty-Six

A weekly report for a small online store said catalog matching stood at 27 of 36. The 36 were products we had linked. The 27 mixed 19 of those with 8 the marketplace had matched on its own.

The Update That Replaced the Whole Section

Five products in a small online store’s ledger had lost their catalog IDs. A script meant to change a few search-optimization values had written its whole section back instead of merging into it.

The Data That Outgrew the Environment

An automatically generated status page sat on the same date for nearly two weeks. Every scheduled build had failed, because a growing JSON report was being passed through an environment variable and had crossed ARG_MAX.

More Sessions, Fewer People

Sessions on a fashion image site jumped to around a thousand a day. Sorting them by what they did showed at most 17% likely human use, and on the busiest day only 8%.

The Admin I Remembered Lived in Preview

I was sure I had already seen the stats screen on a site I run. The production database had never had an admin; what I remembered was the preview environment, with its own separate database.

The Grant Only the First Batch Got

Downloads on a fashion image site stalled at "File permission is pending." It looked like a policy decision. It was a step that had been run once by hand and never became part of publishing.

I Handed the Writer the Word It Kept Getting Wrong

A local model writing captions for a fashion image site kept naming fabrics it could not verify. In 307 of 332 blocked captions, the fabric word was already sitting in the hints I gave it.

The Catch Block That Erased the Page

Shared links to a fashion image site opened onto an error message. The image had rendered fine; an analytics call failed on a plain-HTTP page, and the error handler replaced the finished view.

The Runner That Reread the Rules

Setting a sampling interval to zero was meant to switch off manual inspection. An older runner, still shutting down, reread the new rule in its report step and divided by it.

The Token Only I Couldn't Read

I reported that a GitHub login had expired and asked for a fresh sign-in. The login was fine. Only my own execution environment could not read the stored credential.

The Sort Error Was a Timeout

A themes screen failed with a JavaScript sort error that looked like a frontend type bug. The real failure was a proxy timeout whose 502 response the page never checked.

The Older Answer Arrived Last

Four dashboard tabs let a slow, stale response overwrite a newer one, and one cached a failed request as if it were data. Every read endpoint returned 200 while the screens could still lie.

The Cloned Script Kept the Old Log Name

A training run script copied from the previous version still wrote its log and status to the old file names, so the overnight monitor sat watching a status file that was never created.

The Overnight Job I Forgot to Delete

An overnight fine-tune ran four times slower than normal. The GPU was not simply busy: a leftover one-time scheduled job had retrained an already-adopted model and overwritten its files.

The LoRA Wasn't What Broke the Style

Character fine-tune test images had lost the editorial look, and the fine-tune got the blame. A same-seed twelve-image split showed the short raw prompts had broken the style.

Face Share Wasn't the Dial

Four character fine-tunes with face shares from 50 to 59 percent all locked the face by the fourth epoch. Whether an outfit stuck depended on whether the captions named it, not on the face share.

The Window Lived. The Server Didn't.

A desktop app kept its window open while a missing web-view heartbeat made its local server shut itself down.

Damaged Meant Half-Signed

Finder refused a freshly built Mac app as damaged. It was not quarantined or corrupted: an incremental build right after device registration had left files signed at two different times.

The Same Theme in Two Languages

Eleven English and Korean prompt pairs kept their themes but changed some characters, details, and materials in the images.

The Product Code That Looked Like a Pack

A price watcher mistook digits inside seven seller product codes for pack quantities, putting unit-price comparisons on the wrong footing.

The Container Was Up With No Ports

After a reboot, a web container was running but answered nothing. Its port list was empty, most likely because Docker started before the VPN address it binds to existed. The fix has not yet been tested through a real reboot.

The Sentence Wasn't in the README

My audit of an open-source reverse-engineering tool said its README promised dynamic features were off by default while its code registered them unconditionally. Eight days later, the sentence turned out not to be in the README at all.

Only the VPN Routes Failed

One of four machines stayed dark in a phone monitoring app, and it looked like a network problem. The error codes pointed at a permission key that switched another one off. Whether removing it fixed the card was never re-checked.

Airplane Mode Didn't Break the Connection

With the phone in airplane mode, a mobile viewer app never showed its offline notice. A mesh VPN kept requests hanging instead of failing, so the app needed its own clock and its own probe.

The Restart That Didn't Restart the Code

A remote node flickered on a monitoring screen, a deploy to fix it changed nothing, and the reason was a two-day-old process that never let go of the port.

The Error Flag That Only Cleared on Success

A worker stayed marked as broken for almost ten hours after the machines behind it had recovered, because the only thing that cleared the flag was a success it was never allowed to attempt.

AUC 0.5, and the Canary That Said the Pipeline Was Fine

The first model run on stock-trade data came back at chance level. Before tuning anything, a canary feature with future returns was planted to prove the pipeline could learn. It scored 0.98. The result was real.

The Health Check That Checked Nothing

A dashboard's state endpoint had been dead for nearly a day with an index error on a finished phase. Its health endpoint returned ok the whole time, because it did not build the thing it was vouching for.

Seven 404s and a Last Good Copy

After a model was deleted, a nightly news briefing failed seven runs in a row and served its last successful output each time. The fallback was correct and made the failure invisible.

208 Seconds to a Wrong Answer

A reading-glossary app swapped its deleted vision model for the new default. The new model thinks before it answers. With thinking on, a JSON request took 208 seconds and returned the wrong word; with it off, half a second and the right one.

Progress: 899.9%

An analysis dashboard showed one lane as 985 assets with 8,864 read. The cache that grouped reads by source never refreshed source metadata, so assets that had been reclassified stayed counted under their old label.

Exit Zero, With an Error on Stdout

A network-status tool died with a JSON parse error only under launchd. The VPN client, finding no shell-level variable in its environment, decided it was the GUI, printed a failure message to stdout, and returned success.

The Cap Always Cut the Newest

A viewer scanned asset IDs in ascending order with a 30,000-item ceiling. Once the vault passed 30,000, the default screen silently dropped the 3,904 newest assets while reporting nothing.

Eight Thousand Order Files on Someone Else's Machine

An image-generation backend uploaded a JSON order to a remote GPU machine for every image and never deleted it. 8,938 files had accumulated there, and 1,000 more locally, before anyone looked.

Thirteen Times Slower, Cause Unproven

A video job that normally takes under five minutes ran past an hour on a shared GPU — and my first correction was wrong too.

The Grid Was Rebuilding Itself

Blank cells while scrolling weren’t a lazy-loading problem — the layout was torn down on every page append, and the first measurements were an artefact of a backgrounded tab.

Zero Results Looks Exactly Like a Quiet Day

A collector ran green for 685 rounds while bringing back nothing, because the site it scraped had quietly replaced its front end.

The Selector That Learned to Flag Itself

After a collector went quiet for a day without ever raising an alarm, the rebuild added a way for it to say, on its own, when the page had stopped matching what it expected.

Learning an API From Its Rejection Slips

A first real listing through a marketplace’s seller API, where the rules that mattered only ever appeared as refusals.

Most of My Failures Weren’t Failures

A pipeline with 168 logged failures turned out to have 44 — and the real ones traced back to an unsigned licence agreement and two bugs that ate their own error messages.

My LoRA Only Learned How to Stand

A character fine-tune held up at full strength, leaked an untrained prop into the frame, and failed every pose its training set never showed.

The Detector Passed All Four. I Liked One.

An automated collapse check cleared four generated video clips with no flags. Watching them, only one actually looked good.

When the Average Lies

Two image models scored a near tie overall — until the results were split by subject, and an AI judge turned out to have a favorite.

The Deploy That Wouldn't Deploy

Pushes kept landing but the live site never changed. The cause wasn't caching — it was a routing rule stuck on an old build.

The Header Kept Naming the Old Model

Moving an image-reading job to a different machine took one database value. The screen that displayed which model was reading kept showing the retired one.

I Told the Judge What I Was Looking For

One line in a vision model’s prompt flipped 25 of 30 answers, every one in the direction I was hoping to find.

A Transfer Protocol That Doesn't Lie About Being Done

Building a file-transfer tool that verifies every copy before it trusts it, then testing it by killing the transfer mid-way.

Three Fine-Tunes, Trained on One Word Each

A missing command-line flag meant a training script had never once read its caption files — and three earlier character fine-tunes had all been trained on a single class-token word.

The Bigger Model Translated Worse, Then Skipped the Ending

Swapping a stub translator for a real local model meant testing four sizes on the same page — and the largest one was both slower and wrong more often.

The Menu Said Two Displays and Listed Three

The count came from live state and the list came from memory — and the IDs the list remembered had been reassigned.

Stopping the Scheduler Doesn’t Stop the Work

A fix the running process never loaded, orphaned jobs that outlived their scheduler, and a deadline check built on a one-run estimate.

The Instrument Refuted Me on Its First Day

A new observation layer overturned the previous day’s conclusion: twelve confirming experiments had all shared one random seed.

Not a Ban, a Checkpoint

A publishing API locked me out for fourteen hours. It wasn’t the file format and it wasn’t rate limiting, and the failing read-only calls were the clue.

2.6 Seconds in a Shell, 62 Under launchd

The same video crop took 2.6 seconds from a terminal and 62 seconds through a resident console server. The server's launchd job was typed Background, and macOS throttles that type's CPU.

Twenty Days of Locked, Not Busy

A 48-hour retention thread had deleted nothing in 20 days: 436,672 expired rows in a 288MB file. The error was SQLITE_LOCKED, which looks like SQLITE_BUSY and is not retried by a busy timeout.

The Letter T Sorts After a Space

With the lock bug gone, a 48-hour retention still kept 60.8 hours. Python wrote timestamps with a T separator, SQLite's datetime() produced a space, and the comparison was a string comparison.

The Exchange Rate That Stopped Moving

A daily newsletter reported 0.00% change three mornings running — then wrote a paragraph explaining the stability.

The Migration Skipped One File

A schema change added a unique index and converted the collectors to upsert. One collector was missed. It died on the first day it re-observed a key, and the partial failure looked like success.

CPU 12%, Memory 48%, No Errors

A chat assistant was wired to read live project facts before answering. When the fact source was deliberately unreachable, the model produced a complete status report with numbers that came from nowhere.

A Keyword Tool Only Measures Demand

Its most promising column turned out to be an advertising metric, most of the exports were silently truncated, and the supply half of the question had no source at all.

Correct Math, Unbuyable Answer

A cross-border arbitrage screener’s very first result was a genuine 132% return on a camera sold for parts — correct arithmetic on a listing nobody should buy.

Running, but Making Nothing

The line was ready to consume work and made nothing for 9.6 hours because automatic supply was still off.

The Image With a Video Filename

A PNG named like a video showed why file contents, names, and roles belong in separate fields.

The SVG Only the Browser Could Read

The web preview worked, but the saved diagram failed in desktop viewers until the export rendered its labels differently.

Six Hundred Appearances, 194 URLs

A collector needed stable identities before it could correct its own decisions: 600 kept appearances reduced to 194 distinct URLs.

The 72GB Nobody Noticed

A backup tool quietly moved 72.5GB off a machine, and the monitor built to catch the next one worked perfectly by hand and reported nothing when run unattended.

The Browser That Quietly Dropped the File

A drag-and-drop feature looked like an app bug until a deliberately unrelated control tile proved the browser itself discards a file mid-drag between two web pages.

The Easy Benchmark Had No Winner

Three vision models passed an easy image test. Harder questions on the same images overturned my choice of the largest one.

The Quantized Model Couldn’t See

A compressed local vision model passed every text benchmark and then calmly reported that no image had been sent — the third build in a row where compression had silently broken the one thing nobody benchmarks.

The Setting Was in a Database, Not a Plist

Exposing a local model server to the LAN with a launchd environment variable worked until the next reboot. The real switch was a column in the app's SQLite settings file.

Every Save Used the Same Temp File

A tagging sidecar lost edits under real use. Every save wrote through one fixed temp file, and a threaded HTTP server let two saves interleave until the data file was corrupt.

The Page That Broke Without a Commit

A bookmark page went black five weeks after its last edit. A CDN script tag without a version had picked up a major release that changed how JSX compiles.

It Wasn't the Model. It Was the Context Window.

A local model server consumed all 16GB on a small machine. The plan was to download a smaller model. The weights were 2.5GB; the cache for a 131k-token context was the rest.

Twenty-Three Thousand Restarts Nobody Noticed

A launchd audit found an agent that had crashed and restarted more than 23,800 times with no visible effect, and a port conflict filed as 'needs checking' that had silently disabled a feature.

The App Had Two Names

A small macOS webview app hit two packaging failures: a damaged WebKit binary and a signing crash tied to its Korean bundle name.

An Empty Setting Is Not a Missing One

A message bot's data directory came from an environment file. The variable was present but blank, which resolved to the current directory, so data would have landed wherever the process started.

Sixty Spots, Fifty-Eight Pages

A place collector fetched 60 records but produced only 58 pages. Two location-based IDs had collided, so the raw records had to be rebuilt with a more precise key.

The ETA That Rounded Down to Zero

A file-moving tool projected its time estimate from real history. The only history it had was 27,601 files moved in two seconds, so every estimate came out as zero.

The Scheduler That Passed Every Test but One

A daily launchd job passed its install checks, a forced run, and two manual runs. The next morning a one-shot verifier wrote FAIL: no run, no log lines, and a state it could not read.

localStorage Existed. getItem Didn't.

A web app's home page returned 500 on a method call that appeared nowhere in its source. The runtime had exposed a half-built browser global to server-side code.

Keyword Score 1.0, Judge Score 0.16

A retrieval layer gained a vocabulary file and its top-1 accuracy rose from 37.5% to 50%. The same day, an answer that matched every keyword was rated 0.16 by a model judge.

One Feed in Five Was Alive

Three collectors launched in one day. The brief worried about two specific indicators that turned out fine, while a whole commodity group returned nothing and four of five news feeds were dead.

Forty-Eight of Sixty-Nine

A rule-based sorter made its first real run over 69 markdown files: 48 matched, 21 did not, and the unsorted share landed above a health threshold written before the run.

The Launcher Poisoned Its Own Children

A one-click start button for a local chat UI failed twice in a row. The second failure came from the launcher itself, which pushed an old Python path into every process it started.