Giter Club home page Giter Club logo

isseptafcked's Issues

Content Type

The API returns headers Content-Type: text/json, should return Content-Type: application/json.

CORS Error when trying to access the API

Hey!

I'm trying to build an Ionic application that consumes your API, and I keep running into CORS problems when making a GET request to get some data.

Would you mind enabling cross-origin requests on whatever server hosts your API?

Thanks!

Include line suspensions & general alerts in RR status

In general, the status for RR depends on cumulative lateness of trains, and the status for city transit/buses depends on line cancellations. There are sometimes edge cases for the SEPTA system where an RR line is entirely suspended, but therefore has no late trains and does not count towards the level of fucked-ness. I'd like to propose somehow factoring that into the RR status, possibly from the other SEPTA alert API. This could also go the other way, factoring in cumulative lateness of buses on a route towards the bus network status, but I'm less sure of how to go about doing that. Could perhaps be done w/ the Transitview API but seems a bit harder to determine if any given route is meaningfully delayed, since we effectively get perfect service if (for example) all buses on a route with a 15 minute headway are exactly 15 minutes late.

I think the first part of my suggestion (factoring in some modifier to the fucked-ness if any RR lines are totally suspended) is pretty simple, and I plan to have a stab at it in a PR in the near future. Thanks!

Splunk Heroku logs

The heroku CLI app has a nice logs command.

I should consider running heroku logs --tail or similar and dump the logs into a file which I can then feed into Splunk Lab to analyze and look for anything interesting.

Set up Slack for Alerting

  • Set up a Slack with channels for alerting status changes
  • There should be a separate "dev" channel for development
  • Slack hooks would be passed in via an environment variable
  • Put Slack info on the FAQ, with guidance for setting alerts on channels

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.