Skip to content

Instantly share code, notes, and snippets.

Anthony Ciacci ciacci1234

Block or report user

Report or block ciacci1234

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ciacci1234
ciacci1234 / 01-dealing_with_AJAX_web_scraping.md
Last active Mar 16, 2018
This is sample code from my position at Penn LDC where I needed to programmatically collect links on webpages that were loaded via AJAX
View 01-dealing_with_AJAX_web_scraping.md

Lessons Learned

  • gained familiarity with the Python re and json libraries.
  • gained experiencing working with json data structures.
  • gained more understanding of how website urls are structured and how websites systematically store resources.

Context

The in-house python web scraper (which I called web_scraper) typically took ~10 configuration values which were xpaths of various pieces of information we wanted from websites in target languages. Websites that loaded resources through AJAX were more difficult to collect using the traditional method, and so for certain configuration values, we needed to write a custom file for the web scraper to use.

@ciacci1234
ciacci1234 / 01-SampleAJAXForm.md
Last active Mar 16, 2018
AJAX'ing the user's ability to bookmark(favorite) resources to his profile page.
View 01-SampleAJAXForm.md

Lessons Learned

  • Wiring together a feature relying on AJAX.*
  • Solidified my understanding of MVC concepts.

Context

This is code from my first full-stack web application built in the final week of DevBootcamp a 5-month web development bootcamp I attended. I and four others built a meditation app for beginners that presented meditations from a variety of spiritual traditions, reminded users daily of the time they committed to the meditation, and tracked their progress along the way.

My main responsibilities included building out the practices and resources pages. The code above pertains to the bookmark functionality on the resources page, so users could save their favorite resources that supplemented their chosen meditation practice.

*The code below's fairly straightforward AJAX code utilizing jQuery and the correlating view file, but it was one of the first features for a web application which I built with little guidance from teachers or peers, and so I have fond memories of tinkering around with t

@ciacci1234
ciacci1234 / 01-MatchingAlgo.md
Last active Mar 16, 2018
I created a very basic matching algorithm during a hackathon.
View 01-MatchingAlgo.md

Lessons Learned

  • For Hackathons, emphasizing how a proposed app/product solves a given pain point can be as valuable if not more valuable than the specific details of the technical implementation.
  • I discovered a handy way in Ruby to perform Array Intersection with the & operator.

Context

At the end of my bootcamp, we had a small internal hackathon. My team was assigned the hypothetical task of improving AirBnB's site to address issues of racial discrimination by hosts towards guests. Our team decided to utilize IBM Watson's Personality Insights API to analyze AirBnB users' bio descriptions (which our team proposed adding as a requirement upon signup).

The Watson analysis would quantify a user's personality and these values would help inform the matching of hosts with guests. Initially, we wanted to come up with a more involved matching algorithm, but given the short amount of time we had, I suggested a basic matching algorithm, which is what is written above.

You can’t perform that action at this time.