Slashdot Mirror


Clojure and Heroku Predict Flight Delays

murphee writes "Flight delayed again? Should have asked FlightCaster, a new site using statistical analysis to predict the delay of your flight in real-time. What's even better, the services is fully buzzword compliant: it's built with Clojure, distributed with Hadoop, served with Rails, and hosted on Heroku. This interview with one of the FlightCaster developers gives the gory details on architecture, Clojure tips, and your boss a reason to let you have all the multimethods and macros you can eat. Seems like now that O'Reilly's publishing a LISP book, the Age of Parenthesus has come..."

15 of 109 comments (clear)

  1. Unnecessary by JohnPetrucci00 · · Score: 3, Insightful

    This is unnecessary because they tell you at the airport if your flight is delayed.

    1. Re:Unnecessary by Wuhao · · Score: 4, Insightful

      They tell you at the airport if your flight is delayed, when the airline actually posts that your flight is delayed. For various reasons, this does not necessarily happen promptly. For example, airlines may hold off announcing a delay until very close to departure, because they haven't ruled out using a different plane than what was scheduled, or because they think it'll be a close enough delay that it's worth keeping everyone at the gate ready to board, or because the information just didn't get posted. Anyone who's ever waited at the gate 10 minutes past departure next to a sign that says "ON TIME" with no plane in sight knows what I'm talking about here.

      Supposedly, this software tries to analyze airport traffic across airlines to try and figure out which flights are going to get delayed by ATC. So, its aim is to predict certain delays before they happen, much less before they make it onto the airport departure and arrivals screens, or the airline websites.

      How well it works, I couldn't tell you.

    2. Re:Unnecessary by Em+Emalb · · Score: 5, Funny

      This is unnecessary because they tell you at the airport if your flight is delayed.

      Back in my day you had to WALK over to a big sign and try to track down your flight information, or, even worse, you had to talk to the person standing behind the counter. And we all know that that ain't diet Dr Pepper they're drinking in that cup on their counter, no sir, that's 100% pureed baby souls. One time, I was taking a flight to Santa Barbara and I couldn't remember the airport code...well, that's not true. I could remember it, but I'd forgotten my tri-focals, so I couldn't read the blasted sign, and I had to go to that counter to find out about my flight. Well, after standing in line for close to 3 months, I finally get to the counter and the "lady" behind the counter shoots a 4 foot flame from her anus that burned my ticket to little cinders.

      Where was I? Oh yeah, I'm stoked for something like this. It beats havin' ta walk, sonny-Jim.

      --
      Sent from your iPad.
    3. Re:Unnecessary by ajs · · Score: 5, Interesting

      This is unnecessary because they tell you at the airport if your flight is delayed.

      Oh dear my, no.

      The airlines actually make it a strict policy to lie about delays. They don't release that information until many minutes and often hours until after they know about it. I used to work in the air traffic industry, and the data that I had access to at the time would show me delays that were scheduled by the FAA up to a couple of days in advance, but the airlines kept strict control over that information because leaking it would mean that competitors could offer to pick up passengers from delayed flights.

    4. Re:Unnecessary by Fnkmaster · · Score: 3, Informative

      Last 2 times I have flown afternoon flights on Continental from Newark to Charleston, SC I have experienced delays on both legs of the trip there and back. The flights back from Charleston to Newark have been delayed by at least 2 hours both times. I fly this route regularly and it's very frequently delayed (>6 of the 12 times I've flown it in the last year). In fact, last time (2 weeks ago), my 6pm flight took off at 8pm, and the 4pm flight still hadn't taken off yet.

      I checked this route in their system and it says it is 85% on-time, 11% delayed less than an hour, and 4% delayed an hour or more.

      I am highly skeptical of this service, based on that initial result. I'll try it out the next few times I fly though.

  2. Lack of story comments so far by loteck · · Score: 4, Insightful

    Everyone is busy Googling 75% of the terms used in the summary trying to figure out what it even says. Someone in the know care to interpret?

  3. Heroku link broken by Mr.+Sketch · · Score: 4, Informative

    The link for Heroku is broken, it points to http://slashdot.org/heroku.com.
    Here is a working link:
    http://heroku.com/

    1. Re:Heroku link broken by camperdave · · Score: 5, Funny

      Do we have to code
      in seventeen syllables
      using Heroku?

      --
      When our name is on the back of your car, we're behind you all the way!
  4. What's it good for? by GameMaster · · Score: 4, Insightful

    Can someone fill me in on what this would be good for? Since it's statistics based and not, officially, affiliated with the airlines, you can't really expect to use it to arrive at the airport later than officially scheduled (I suppose you could, but there's a good chance that your, particular, flight will buck the statistical averages and will take off sooner than predicted without you). If they worked, directly, with the airlines and got the airlines to guarantee that they wont take off earlier than the statistical model predicts then I could see it being useful but that's never gonna happen because they only care about finishing as many flights per hour as possible.

    --

    Rules of Conduct:
    #1 - The DM is always right.
    #2 - If the DM is wrong, see rule #1
    1. Re:What's it good for? by mcmonkey · · Score: 4, Insightful

      Absolutely nothing, huh! Say it again...

      Well, no. You would not use this to decide when to go to the airport for your flight. In that case, you're not interested in likelihoods, you're interested in the specific condition of your flight.

      When you would use this is in the flight booking stage. For example, your itinerary involves connecting flights. You don't to be stuck with hours to kill in the airport between flights, but you also don't want to miss the connection.

      If the schedule says I'll have 30 minutes between flights, what are the odds I miss my connection?

  5. Re:What is the "Age of Parenthesus"? by irenaeous · · Score: 3, Funny

    Oh! Lisp. Yeah. I get it now. You misspelled "Parenthesis". A Lisp book author of all people!

  6. Holy schnikes by reginaldo · · Score: 3, Funny

    From the article: 'There are only two of us that have been working on the research side of things...'

    So there are 2 guys that built this machine learning process, distributed using cascade and hadoop, and they built and distributed an app to show the results using rails and heroku?

    These guys probably eat my code as a breakfast snack. Seriously, how do I become that badass?

  7. Clojure and Heroku? by Chris+Mattern · · Score: 3, Funny

    I caught their act in Vegas! They were absolutely amazing!

  8. Re:Define "International" flights not supported by omnichad · · Score: 3, Insightful

    Oh, come on. I'm american, and I agree with GP. If it doesn't support "International," it should at least define the perspective of what defines "International."

  9. Really good ETA info is available, for a price. by Animats · · Score: 3, Interesting

    They're scraping free data from the FAA web site and FlightStats, then pumping it out into an iPhone app feed.

    But they're not using a really good data source. The high quality system is PASSUR RightETA. This system uses hundreds of radar receivers near airports to pick up the transponder signals from aircraft. It doesn't transmit. Any radar in the area that triggers an aircraft transponder causes the transponder to emit, and the PASSUR receivers pick that up. Using multiple receivers and time of flight calculations, the aircraft can be located very precisely. In fact, this is more accurate than single-point radar. You can buy a feed of this data, but it's not free.