-
- Supercontest.
- Added tons of stats for the history of the league. https://github.com/brianmahlstedt/supercontest/issues/23. Super interesting.
- The submit button stays up after someone clicks it. That was the problem. Fixed it and removed a few more duplicates.
- cache.memoize on get_picks was causing problems if you made multiple pick submissions within the span of 10 seconds, because the client would be told about picks that might have been old, desyncing from the actual picks in the backend db. Fixed (by removing the cache for that query). Pick information should be live on request. Scores are different, because the user doesn’t write to the scores table from the frontend.
- Completely cleaned and reorganized my room. Cleared a bunch of space. Including closet, lights, everything.
- DigitalOcean.
- Did some research, you can upgrade any of disk/cpu/ram. It adds a decent amount to the monthly cost. Just going from 1GB memory to 2 makes it $10/mo instead of $5.
- Allowed password login on the droplet for my user, so that if anything goes wrong remotely, I don’t need my laptop and ssh key. I can just ssh from any machine.
- sudo vim /etc/ssh/sshd_config
- PasswordAuthentication = yes
- sudo service ssh reload
- sudo passwd bmahlstedt
- Confimed that I have access. You can ssh in like usual or you can go to the DO website in the browser and access a console from there. Password is one of my old SpaceX ones.
- Upgraded from the legacy metrics agent on my droplet to the current one.
- tmux shortcut reminders.
- To detach from your current session, just type your hotkey then d
- To kill your current session, just type your hotkey then : then kill-session
- If another client has another session in a different window size, just kick them off when you attach with tmux attach -d