- Supercontest.
- Updated version to major release (not semantically for functional change, just needed to rollover). 2.0 baby.
- Removed the modal edit/create. It goes back to redirect. But I also confirmed that editing does NOT work.
- Getting cookie header errors for cloudflare, plotly, and discord:
- A cookie associated with a cross-site resource at <x> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
- I’ll handle this later.
- Chat clients.
- Created a discord server and channel for supercontest.
- Discord offers a native embed for a read-only widget. To allow users to write messages, you need a wrapper around the embed. Titan and widgetbot are two very common options. I went with the latter, because it’s a crate instead of an iframe, and the docs/experience were much better.
- Was broken at first due to ddos on most of their shards, but an admin gave me an alternative in the meantime.
- Closed https://gitlab.com/bmahlstedt-group/supercontest/issues/22.
- Removed the create/edit/delete from flask-admin. It didn’t work, and this keeps other admin from severely affecting the db. Petty can still add late picks, see the scheduler, and view the data. That’s pretty much it.
- Deleted the 2018 paid league. It was identical to the 2018 free league because I didn’t track that data back then. I didn’t want people to see the 2018 paid league having more people than the 2019 paid league and thought it decreased, when in reality it’s just that the app kept everyone from 2018.
- As far as all players, we had 42 people submit at least 1 pick in 2018 and 45 in 2019, so there was some growth.
- Added a few clearbit logos and listed out all the flask extensions on the readme. Looks good.
- Added a pypi version badge to the readme as well.
- Changed the #general text channel to #supercontest. Deleted the voice channel.
- Created a FontAwesome5 account and added it the templates, just one script in <head> then <span style=”color: COLOR”><i class=”fas fa-ICON”></i></span>
- Added is_paid_user to the g object, for the main and season blueprints, and added a corresponding query to get this info.
- Stripe. The whole cycle.
- Navbar indicator for already-paid vs want-to-upgrade?
- Points to route that creates the stripe session and line items, then renders a template that simply redirects to stripe checkout.
- Tested with test secret key, test public key, and test card information.
- Changed bootswatch from united (orange) to yeti (black).
- The scheduler worked for the unfinished picker email.
- Sidenote – all admin have shared access to the supercontest gmail outbox, as an audit log for late pick submissions.
- Finished season 1 of succession. Gonna try to get through as much of season 2 as I can. The season 2 finale is this sunday.
- Wow. Employee fires back at employer? https://deploys.io/docs/disweb/.
- Heisenbug – a defect that you can’t find once you start looking specifically for it.
- Vorfuhreffekt – when you try to present something and the opposite happens (like a software demo).
- I agree with most of this, daily standups are more distracting than helpful: https://codethrasher.com/post/2019-10-06-the-pointlessness-of-daily-standups.
- Full spotify in your terminal! https://github.com/Rigellute/spotify-tui.
- The south park episode that talk about how ridiculous chinese censorship is got banned in china: https://www.vice.com/en_us/article/ywaq3g/after-a-south-park-censorship-episode-china-deleted-the-entire-show-from-the-web.
- Able is a new alternative to medium, with a focus specifically for software. I like it. This would be a great alternative for my blog. I created an account, and then stopped once I saw that they didn’t have a “search my blog posts” feature. So crucial, so obvious, but no one has it at first. https://able.bio/.
- Prunes are dried plums. Dates are actually the direct fruit of a date palm tree.
- Cool murder mystery in a sqlite table: http://mystery.knightlab.com/.
- Get 2 witnesses from the crime_scene_report, 14887 and 16371.
- Join all tables through interview to get the killer was at the gym on jan 9, male, membership id starts with 48Z, gold membership, and DL plates included H42W.
- Search git_fit_now_member and check to isolate the times from 20180109 1600-1700. This leaves 48Z7A and 48Z55, which is 67318 (Jeremy Bowers) and 28819 (Joe Germuska).
- Join to income to see that only jeremy bowers has a valid ssn. This is killer.
- Check his interview to find info about the person he was hired by. Query that to find that it was Miranda Priestly, id 99716. Her annual income is 310k. She has no interview. Insert her into the solution table and it tells you you’re right, break out the champagne.
- Confirmed that my 24 membership is billed to my amex. When citi arrives, I’ll have to swap over.
- Remember, the ducati is about 150hp (peak) 75lb-ft (peak) 400lbs (wet). As far as standard power to weight ratios, anytime you have over 1hp/10lbs, you’re in a really really fast car. The ducati is almost 4 horsepower per 10 pounds.
- Guy broke the record and finished a marathon in just under 2 hours. Crazy. That’s a 4:35 minute mile pace.
- ERR BLOCKED BY CLIENT is usually because you have an adblocker running, not because the service is broken in some regard. Some good (non-ad) content looks like advertisement material, like icons and such.
- CircleCI is a competitor to GitLab. Used by fb, spotify, gopro…
- Sometimes you need to test webhooks on a dev server, like my situation with stripe/supercontest right now. Services exist to forward webhooks to localhost, exactly for this.
- Tried ultrahook first, but they only have a ruby gem to run their server.
- Used ngrok next. It’s awesome. Easy to install, easy to set up, easy to inspect, easy to use. http://localhost:4040 is the interface for inspecting ngrok itself.
- Stripe CLI also comes with a tool for this.
- Oh wow, I take it back. http://serveo.net/ is the shit. You literally just run one command, no signup or anything, and you can pick the url, and it’s static.
- ssh -R bmahlstedt:80:localhost:5000 serveo.net