Craig Rodrigues!

Learning to Code: Week 18 - Problem Set 6 "Lookup"

TOTAL Β πŸ… THIS WEEK: 26

Goals For This Week:

  1. Finished β€œLinked List Problems.” (abandoned)
  2. Finish Problem Set 6 and 7.
  3. Do 25+ pomorodos.

September 08, 2016Β πŸ…πŸ…

  • Weekly goal planning. Saturday I have a good stretch of 8 hours to work. I must take advantage of it.
  • Week 7 Section Videos
    • HTTP
    • CSS
    • HTML
    • Sdfasdf
  • My invite to the RMOTR OOP course got mixed up and was listed as Sept 29th instead of Aug 29th, but Santiago sent me a recording of it. Also he invited me to their class on Monday night which I will attend.
  • Udacity - Object Oriented Javascript Playlist: https://www.youtube.com/playlist?list=PLAwxTw4SYaPmRCRPu9EjK-fWSccPwTOnc
  • Week 7 Shorts (videos)
    • CSS
    • HTML
    • HTTP

image01

Week 18

September 09, 2016Β πŸ…

September 10, 2016Β πŸ…πŸ…πŸ…πŸ…πŸ…πŸ…πŸ…πŸ…πŸ…πŸ…

  • Started work on Problem Set 6.
    • Implementing our own very basic web server (in C of course).
    • Functions to implement:
      • Indexes: Checks, in order, whether index.php or index.html exists inside of path. Returns path to first match if so, else NULL.
      • Load: Β Loads a file into memory dynamically allocated on heap. Stores address thereof in content and length thereof in length.
      • Lookup: Returns MIME type for supported extensions, else NULL.
      • Parse: Parses a request-line, storing its absolute-path at abs_path and its query string at query, both of which are assumed to be at least of length LimitRequestLine + 1.
    • Have been able to implement Lookup and Parse so far.
    • Load is a bit more difficult. Maybe check out the walkthrough for some help.
    • Currently stuck on load.
    • How to stop the server in pset6: https://www.reddit.com/r/cs50/comments/4sapms/how_to_stop_server_in_pset6/
  • Reddit post: What non technical books can I bring with me while I travel that will also help me be a better programmer?

September 11, 2016Β 

  • Nothing done today. Fucking dammit.

September 12, 2016Β πŸ…πŸ…πŸ…πŸ…πŸ…πŸ…

September 13, 2016Β πŸ…

September 14, 2016Β πŸ…πŸ…πŸ…

September 15, 2016Β πŸ…πŸ…πŸ…

Learning to Code: Week 19 - Server.c

Learning to Code: Week 17 - Problem Set 5 "Mispellings"