Container issues, Reddit ads fail, content stalled.
Starting the day with a heart attack: nothing seems to be working. Containers are not starting.
Testing locally it works fine. Logs aren't showing anything.
After a lot of debugging, I found that my isContainerRunning check is returning false positives.
docker ps --filter "name=container" --filter "status=running" --format "{{.ID}}"`
This will return true if any container with name that CONTAINS 'container' is running. This is why it was failing when I tried using my alt account, just named roko. The other one also had roko in the name. Easily fixed with regex:
... --filter "name=^/container$" ...`
But this doesn't explain why demos weren't working. My guess is that the orchestrator had the port issue again, because I had some registered users' containers running and I resolved it when I restarted to add more logs. I added more logs and will be keeping a close eye on the orchestrator. Eventually I will have to resolve the port assignment.
Checked in on the Reddit ads. They aren't running. After some googling, turns out I had to enable both Campaign, Ad Group and Ads. All in different tabs. Why is such a simple thing so complicated to achieve with Reddit? I want to run an ad, how complex can it be?
I was hoping to work full time on the content today, but this whole ordeal made me waste a lot of time and tired me out. I'll take a break and maybe tackle it after. Before the break, a quick recap:
Content still left to do:
- Web API Development
- Authentication & Authorization
- Task Manager API
- URL Shortener
State of the generator:
- I fine tuned the OpenAI model, but without thousands of these I doubt I will get anything useful
- The OpenAI API is still returning much worse outline responses than Cursor
- With a good outline, OpenAI produces right format, but mediocre content for the course
I will continue iterating on the generator, as it's pretty fun seeing how far I can get with it. Not today though, as I'm exhausted.