Modifying Mastodon to allow 1024 character toots rather than "just" 500 (still way better than 140/280 cough cough) was fun, diff here:

gist.github.com/lindgrenj6/d28

After the diff is applied, a `rake assets:precompile` recompiles the javascript and the frontend should _magically_ accept whatever you configured as the new toot length!

Finding out I can't debug Go binaries on OpenShift without modifying scc's (Security Context Constraints) is kind of saddening.

I was really looking forward to using this workflow:

1. `oc debug <pod name>` to spin up a debug pod
2. `oc exec -it <pod> -- dlv debug --headless --listen :2345` to start the debugger on port 2345
3. `oc port-forward <pod> 2345` to forward a port
4. `dlv connect localhost:2345` to debug!

It's all just to do with the way docker handles permissions, so it's not surprising. But was a fun exercise nonetheless!

lindgren.tech blog

the private lindgren.tech micro-blog mastodon instance