- alanalevinson: Ok so the Fyre festival is actually just a cautionary tale of what happens when too many men are involved in something
-
-
View on Instagram http://bit.ly/2FSfQu5
-
A month or so ago, Christopher commented on Facebook how much he missed my annual sock monkey Oscar Contest. I admitted that I’d thought of reviving it, but I hadn’t had any inspiration for a good monkey… and then it hit me! FREDDIE MONKCURY.
I had a monkey mostly put together from a few years ago, so he took shape fairly quickly. I found a very basic pattern for doll pants in the right size and used material from an old pair of jeans. His “I Want to Break Free” outfit was a little harder. The “leather” for his skirt is actually polyurethane from a $5 bag I found at Kmart. His bouffant wig started out as sculptural felt that I then handsewed black chenille pipe cleaners onto. (I also fashioned a very basic vacuum cleaner too!)
Ready to submit your entry? Just head over to https://krishoward.org/oscars.html and register. I have a new system this year (more on that in a second) that allows you to return to update your predictions if you change your mind later. You can also see the current aggregate predictions.
Application Architecture
For the first 11 years, the Contest consisted of a custom PHP and MySQL application that I’d built. For this year, I decided to challenge myself to completely rebuild it on Amazon Web Services (which is where I work!). Here’s how the architecture ended up:
Oscar Contest application architecture As a starting point, I worked through this Web Application serverless workshop. I was already using Route53 to serve krishoward.org from S3, so I decided to put the Contest files there. Upon finishing the workshop, I had a working web app using Amazon Cognito for user authentication and a serverless backend consisting of an API Gateway-fronted Lambda function that writes data to DynamoDB.
The next step was to customise it! After I changed the images and CSS to my own branding, the next thing to change was the data saved to the database – I changed it to a form with all the Oscar categories and nominees. Next, I wanted users to be able to review and update their votes, so I added another Lambda function that retrieves a logged-in user’s votes so the form can be populated correctly. I then added a third Lambda function that scans the complete database, processes the votes, and publishes an aggregate JSON file to S3. (This is triggered whenever the DynamoDB table is updated.) For actually displaying the prediction graphs, I used ChartJS.
I think that covers everything! Please have a go and let me know if you encounter any issues. Many thanks to the Snook (my rubber duck and eternal programming mentor) as well as David, Jody, and Amy for their help with testing.
I’m stupidly proud of this promo image. In
-
- josh_salisbury: Overheard at the British Museum: "Why is it free? They should at least charge the foreigners."
Steady on, we've al… https://t.co/EQ015UnGxj
- josh_salisbury: Overheard at the British Museum: "Why is it free? They should at least charge the foreigners."
-
- aurynn: It's not because I don't like you, it's because I actually really like the "mute low-quality tweets" filter (in reply to aurynn)
- sarahramos: I'm not sure why God chose me to tell this story but I have to fulfill my calling: a couple months ago I went to th… https://t.co/aysUsg8Yfk
- PatrickFlynnFP: Oh yeah. And to avoid any doubt, Google+ automatically falls into that category. (in reply to PatrickFlynnFP)
- wheelswordsmith: the body of genghis khan has been discovered buried under the car park of a red rooster in dubbo
-
- DavidTennantPod: I’m just going to leave this here… https://t.co/JxJLXQ7YEw
-
- unixbigot: Day four of https://t.co/4g9FmlGHd6 kicks off in beautiful Christchurch. I will be charitable and infer that cogn… https://t.co/uIHZWIHir3
- DrCris: @web_goddess Yes! This is a major problem in medicine, too. I want you to have the information, but lead with the punchline. (in reply to web_goddess)
-
View on Instagram http://bit.ly/2UbRKgM
-
- The_McJones: Brain: Tim, you’re off to the US soon and you’ve not organised an ESTA
Me: shit
Brain: nah just kidding you got o… https://t.co/DbIXPsWrKc
- gilmae: I have witnessed the prize.
It will set you free. https://t.co/6PIc9DDrwY
- The_McJones: Brain: Tim, you’re off to the US soon and you’ve not organised an ESTA
-
View on Instagram http://bit.ly/2U9gvtX