Skip to content

Instantly share code, notes, and snippets.

@kylehg
Last active December 11, 2015 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kylehg/4653143 to your computer and use it in GitHub Desktop.
Save kylehg/4653143 to your computer and use it in GitHub Desktop.

Labs Coding Challenge

Write a concise piece of code that sends an HTTP POST request to labs.yef.im with the following pieces of data:

  • javascript: Your level of comfort with JavaScript, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • python: Your level of comfort with Python, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • coffeescript: Your level of comfort with Coffeescript, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • frameworks: Your level of comfort with web frameworks, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • url: The URL of a GitHub Gist with the code that does this.(Meta! Note that you might have to edit the Gist a few times)
  • pennkey: Your PennKey.
  • sunday: You availability on Sunday afternoon, e.g., '5-11pm'.
  • monday: You availability on Monday afternoon, e.g., '5-11pm'.
  • tuesday: You availability on Tuesday afternoon, e.g., '5-11pm'.
  • wednesday: You availability on Wednesday afternoon, e.g., '5-11pm'.
  • thursday: You availability on Thursday afternoon, e.g., '5-11pm'.
  • friday: You availability on Friday, e.g., '5-11pm'.
  • saturday: You availability on Saturday afternoon, e.g., '5-11pm'.
  • hours: The amount of hours it took you to do this, e.g., '4.5'.

Don't know what a POST request is? Google does! In general, we want to see that you can teach yourself basic things and learn quickly. We think this should take under five hours, which is the amount of time you will need to devote to Labs a week as a newbie. Consequently, this is due a week from now.

To know that you were successful, you should receive a 200 response with the words "success". If something went wrong, you'll receive a 500 response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment