tlwirtz / is-traffic-shitty Goto Github PK
View Code? Open in Web Editor NEWFront end client answering the question: Is traffic shitty (in Seattle)?
Front end client answering the question: Is traffic shitty (in Seattle)?
I don't think that the current algorithm to calculate shitty traffic is accurate.
Instead of just looking at a majority of records, we should find an average of the averages, and then an average of the actual travel times and compare.
If the actual time is over X%
of the average, then traffic is shitty.
I want to create a subtle animation to the header, with the text fading in.
Change the traffic detail list. Instead of giant green blocks, make everything with a white background and then format everything as a sentence. Statement will be color coded.
Traffic from Seattle to Downtown is 27 minutes. This is 4 minutes above average
Consider building a server that can server up traffic data and answer the simple question: Is traffic shitty?
This will allow you to remove the JSONP request and begin building a small platform for twitter bots, etc ...
This could be built in golang (or built off the existing tweet server) and should talk to the GraphQL server back-end.
What is the goal?
What does the UI for this look like? Need to make it clean and crisp...
Should group the traffic list by severity (bad, warning, good)
Gather a list of major cities and their traffic data.
In the browser, use Geo location to pick the right city.
Use cookies to remember location if Geo isn't available.
What to do for initial visit?? Other ways to detect location?
First step is to enable location detection and then throw a banner if their location isn’t supported.
Let user change/select location as well...
Is there a way to get real-time updates w/o polling the server every xx
seconds?
Is this something that the Apollo server can do?
Need a way to display a loading
status.
On load, the text / color isn't always correct. So if traffic is shitty, it will actually display green first, then red, then reload the text.
Not cool.
Work on fine tuning text placement on mobile. It is not quite centered.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.