<commit_before>---
layout: post
title:  "Trip Split"
date:   2016-12-19
excerpt: "A web application for road trips."
project: true
tag:
comments: false
---

Trip Split is an application built for travellers. Ones who like to pack a car up with people and just drive out to a chosen destination with no plan in mind. This idea came about after coming upon the simple problem of gas division. We've noticed that either the driver or the passengers get an unfair trade for the amount they pay when dividing up the gas prices. Now, we could have whipped out a calculator and figured out exact distances, but our lazy nature and belief in approximation never lead us to be so exact. Until now. 

### UI Design

<figure class="half">
	<img src="../assets/ui/slide0.jpg">
	<img src="../assets/ui/slide1.jpg"></a>
	<figcaption>Sign up and pick your car.</figcaption>
</figure>

The application will be intuitive and easy to use, with a very simple design aesthetic. The user will sign up and will be lead to starting a new "split", through which they will be selecting the car of their choice. Currently, the application uses AJAX to create live search functionality for the user, which queries a RESTful API of automobiles that range from now the 1980's to now. The API was built using the Django-Rest-Framework. 

<figure class="half">
	<img src="../assets/ui/slide2.jpg">
	<img src="../assets/ui/slide3.jpg">
	<figcaption>Pick your Destination and passengers.</figcaption>
</figure>

Now, the user will enter in their source and final destinations, which will be visible through the Google Maps API. We will take average local gas prices from the source area to calculate the amount of gas one will spend for their journey. While this does make an assumption that the user will fill up before leaving, the estimation should be fairly exact. 

Once the destination is chosen, the user will incorporate other passengers, who will be requested a payment through the Venmo API. This way, the user can easily charge people for the journey without leaving the application. <commit_msg>changes<commit_after>---
layout: post
title:  "Trip Split"
date:   2016-12-19
excerpt: "A web application for road trips."
project: true
tag:
comments: false
---

Trip Split is an application built for travellers. Ones who like to pack a car up with people and just drive out to a chosen destination with no plan in mind. This idea came about after coming upon the simple problem of gas division. We've noticed that either the driver or the passengers get an unfair trade for the amount they pay when dividing up the gas prices. Now, we could have whipped out a calculator and figured out exact distances, but our lazy nature and belief in approximation never lead us to be so exact. Until now. 

### UI Design

<figure>
	<img src="../assets/ui/slide0.jpg">
	<img src="../assets/ui/Slide1.jpg"></a>
</figure>

The application will be intuitive and easy to use, with a very simple design aesthetic. The user will sign up and will be lead to starting a new "split", through which they will be selecting the car of their choice. Currently, the application uses AJAX to create live search functionality for the user, which queries a RESTful API of automobiles that range from now the 1980's to now. The API was built using the Django-Rest-Framework. 

<figure>
	<img src="../assets/ui/slide2.jpg">
	<img src="../assets/ui/slide3.jpg">
</figure>

Now, the user will enter in their source and final destinations, which will be visible through the Google Maps API. We will take average local gas prices from the source area to calculate the amount of gas one will spend for their journey. While this does make an assumption that the user will fill up before leaving, the estimation should be fairly exact. 

Once the destination is chosen, the user will incorporate other passengers, who will be requested a payment through the Venmo API. This way, the user can easily charge people for the journey without leaving the application. 
{'fraction_non_alphanumeric': 0.06251562890722681, 'fraction_numerical': 0.008002000500125032, 'mean_word_length': 4.154639175257732, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1983334', 'n_tokens_mistral': 1020, 'n_tokens_neox': 960, 'n_words': 625}