-
- TJ Dillashaw suspended two years for EPO! That’s the blood doping that Armstrong was involved with. It’s a severe performance enhancer for cardio. Brendan Schaub said before this breaking news that USADA had found a better way to screen for EPO, and fighters were going to start getting popped: https://www.youtube.com/watch?v=NABFMFHnstw&feature=youtu.be&t=3963. Amazing. Cody Garbrandt also specifically called him out for EPO before this.
- Cleaned kitchen and organized utensils into a compartmental drawer finally.
- Ran the SSL Labs tests against the encryption I set up for southbaysupercontest.com:
- You can deduct state and local taxes (SALT) from federal taxes, up to the max (right now it’s 10k). TurboTax accommodates this, but you have to itemize. Worth looking at if you’re paying a lot in state taxes.
- In docker-compose yamls, ‘expose’ means the port is exposed for linked services (like flask<->nginx) but not to the host computer. ‘ports’ are for exposing to the host.
- Letsencrypt limits to 5 cert requests for the same domain per week.
- FW.
- Docker has the .dockerignore file available, just like git. This can be used to skip files/directories from COPY, etc.
- Use apt-get and apt-cache in scripts instead of apt. Much more parseable output.
- First ever image of a black hole! Good description here (and it preceded the image!) – https://www.youtube.com/watch?v=zUyH3XhpLTo.
- Watched a tonnnn of alt shift x game of thrones videos to prepare for the premiere of the final season.
- I always forget the history of the north. The first men came and attacked the natives, the children of the forest. The children needed help, so they captured a man and stuck dragonglass in his heart. This turned him into the first white walker, the night king. Eventually, the children and men came to a pact. Fast forward, and the army of the dead has grown uncontrollably, and it’s men+children vs them. This war was called the long night, or war for the dawn. The dead lost and were pushed back. Bran the builder (the first stark) and the children helped build the wall. The night’s watch was created to keep them north. Wildings then became a thing. They don’t have a historical significance like the dead/children/firstmen, they’re just free folk in the risky north.
- While that account is the most historical, and is common in the north (called “old gods” with nature, weirwood, ec), there are other religious beliefs of the history. King’s landing obvious believes in the seven (Andals), hence the hesitance to believe in the white walkers. Melisandre believes in the lord of light, R’hllor, who use a sword called lightbringer. A prophecy says he’ll be reincarnated as the prince that was promised, who Melisandre believes to be Jon Snow.
- The Andals came much later. They are from Essos and invaded Westeros, becoming the main culture we see in the show, with the exception of the north (they didn’t invade that far).
- Wargs can possess animals. Bran is a warg. Bran also has greensight (visionary time travelling dreams).
- White walkers are the captains. The hordes they convert are wights.
- Dragonglass is obsidian. It is different than Valyrian steel, which is manmade. These two are the only materials that kill white walkers (+wights).
- The three eyed raven is just a human. He was hand of the king back in the targaryan days, when his name was bloodraven, then left to become lord commander of the night’s watch, then disappeared north of the wall. He went to a cave at the base of a weirwood tree and basically mated his body with the trunk. He’s the last of the greenseers and can use visions to communicate (called greensight). This is how he finds and teaches Bran, ultimately bringing him to the cave. Then the night king killed him.
- Supercontest.
- Docker/letsencrypt
- Remember, now that my uwsgi file is listening on a socket :8080, it can’t serve http directly. It needs to be wrapped with a web server. To run in develop mode locally, you need to forward to a tcp socket and specify the protocol as http.
- I enabled this by rearranging the compose and uwsgi configurations. It’s now modular for prod and dev.
- A service (or dockerfile) can only have one CMD. A RUN is called when the image is built. A CMD is something that’s called every time the container starts. You can have multiple RUN calls. The state of the container after they’ve finished will be built into the image.
- Oh man, I spent a while trying to debug my services. It was just that LetsEncrypt was down, so my requests for certs (even dummy certs from staging) were getting ReadTimeout errors. You can check status here: https://letsencrypt.status.io/.
- https://letsdebug.net/ is a great site for troubleshooting why you might be failing letsencrypt http challenges.
- Another great site: https://transparencyreport.google.com/https/certificates. You can publicly view the certificates that have been granted to any site! Useful for debugging your own.
- Certbot can either run an HTTP challenge or a DNS one to verify ownership of domain.
- After a very long and frustrating (but educational!) sequence of troubleshooting, I made some progress. `docker-compose exec container_name command with no quotes` yielded some interesting info. My nginx container had an old conf file at /etc/nginx/conf.d. In all of my iterations on init-letsencrypt, the web_server container hadn’t been rebuilt to serve the webroot files at /var/www/certbot, so the challenges were failing when they requested them. Rebuild your images when you change anything in their dockerfiles!
- This allowed my changes to ingest, isolating the problems faster. I rewrote nginx.conf with clearer simplicity, and removed the ‘www.southbaysupercontest.com’ from all entries. It’s just specified in the certbot command line call, not the nginx conf anymore.
- Upgraded to Python 3.7 finallyyyyy
- sudo apt list –installed *python*
- sudo apt remove <the python packages you want>
- You can accidentally remove wayyyy too much if you autoremove *python*
- sudo apt update && sudo apt upgrade
- sudo apt install python3.7
- The service brought up and the main page was functional on the very first docker-compose up with the 3.7 python image, no problems! I’ll do more advanced digging soon.
- Accidentally messed my machine up during some uninstalls. Would only boot into a terminal. Ended up being a reinstall of ubuntu-desktop.
- Enabled automatic backups of my home folder on Google Drive.
- `apt list –installed | wc -l` is 1782!
- gnome-tweak is the package that offers extended settings (like removing the trash icon from the desktop).