Victoria's Code STA / 01
MCAT — build log

Sharing it at home

The study app I built for my son ran on my desktop. He studies on his laptop, in another room.

So for a while, "using the app" meant sitting at my desk. That wasn't going to last.

Same warning as the other posts: the study content is AI-written and nobody has checked it yet.

One command, and one setting I'd never looked at

Now I start the app with a different command and it answers other devices in the house. It prints an address and a six-digit code. He types the address on his laptop, enters the code once, and he's in.

It didn't work the first time. Windows had my home network marked as "Public", which means "trust nobody here". Reasonable in a café. Not helpful in my own house. I switched it to Private and his laptop connected.

The page that asks another device for the six-digit access code
What another device sees first: a box for the six-digit code.

"This is safe, right?"

I asked myself that before I let it run, and the honest answer is: safe enough for my house, and I wouldn't use it anywhere else.

Here's what I made sure of. It's off unless I turn it on. A device that hasn't typed the code gets nothing at all, not a page, not a file. Guess wrong eight times and you wait ten minutes. His laptop can use everything but can't change the AI settings, and my API key never leaves my machine.

Here's what it doesn't do. It isn't encrypted. Someone already on my Wi-Fi who knows what they're doing could listen in. At home, that's family. I'm fine with that. I would not run it at a coffee shop.

The nice side effect is that his progress now lives in one place. He reviews flashcards on his laptop, and they're done on my desktop too.

The flashcards listed by category, each with how many cards it holds, how many are due and how many are known
His flashcards by category: how many cards, how many are due, and how many he knows.

The night it told me my files were broken

Same evening, the app told me eight of his files couldn't be read. "Probably scanned pictures," it said.

I opened one. Normal PDF. Text and everything.

I saved them all again. Still unreadable.

Akala ko (I thought) the files were the problem. They weren't. The part of the app that reads PDFs runs quietly in the background, and I'd spent the evening dragging hundreds of files in and out of folders. One of them moved at the exact moment it was being read. The reader tripped on it and just stopped. No error on the screen. It sat there showing me an answer from an hour ago.

Now when it trips, it writes down what happened and keeps going. And if a file gives it nothing, it tries again a minute later, in case I was still saving it.

Nobody watches a background job. So it has to be able to pick itself up.

Comments

Thoughts?

Comments are threads on GitHub, so a GitHub account is needed to post. No account? Email me instead — I read everything.