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..."
cool story, bro
This is unnecessary because they tell you at the airport if your flight is delayed.
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?
Southwest's site says my flight is delayed 45 minutes. Flightcaster says its right on time! (for those interested, its southwest flight 2978)
Kiteboarding Gear Mention slashdot and get 10% off!
Programming, I've been doing this for living for two decades, but I have no clue what those things are. Well, except for Rails I did read a bit about.
Probably all for the best, I'd guess.
Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
The link for Heroku is broken, it points to http://slashdot.org/heroku.com.
Here is a working link:
http://heroku.com/
Things you think are in the Constitution, but are not.
Yet another website that only works for people in its own country, yet doesn't bother mentioning what country that might be. Sadly, the rest of the world knows this arrogance to be an obvious American trait.
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
Summary fail.
... start naming my software with really cool names, then get somebody to intereview me, then I too could have my very own /. story!
If you're using the same "technology" as everyone else, you're not really using technology.
But if you're using something different, it's just possible you've got a competitive advantage.
So is the Summary!
GG K-dawg!
Sig Follows: "Suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself." -- Mark Twain
Hasn't FlightStats.com been doing something similar for years, just without the trendy technologies?
Thanks.
Clearly this is an application built and designed by and for the terrorists.
Let the fear mongering begin!
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?
I know this might sound less cool and trendy, but just ask either the agent working the flight or one of your fellow passengers if they know the chances/likelihood of the flight getting delayed. I have worked part-time at the Atlanta airport for 4 years now, and I can easily tell you which flights at which time are more than likely to get delayed, on what days of the week, with certain weather patterns. Along with this, I also know the patterns of our particular tower, what they are likely to do for any given situation, as well as how the crew itself will act(crews are allowed to walk at a certain point during delays depending on how long they've been on duty,which can further lengthen delays) Anyone I worked with was able to do the same, and if asked would give an honest answer. Unless this has access to airline computer systems, there is no way it could know some of these very important variables, the best way would still be to physically ask a person to get the fullest answer. I dont see this as anything particularly great or useful, I see it as another way in which technology is taking the place of social interaction.
The only thing necessary for evil to triumph is for it to be pitted against a slightly greater evil
your flight will be delayed. expect it. seasoned travellers know delays are common and should be expected. expecting to get there at the scheduled time is unrealistic. always leave large buffers. always expect delays and be pleasantly surprised if there are none.
In their faq, they mention that the don't try to predict the departure delay, they focus on the arrival delay - specifically to avoid misunderstandings that might cause missed flights.
One thing this might tell you is how long you'll be on the tarmac until you actually leave - giving you a better idea of when you'll arrive much sooner.
While that doesn't directly affect the passenger, it can be extremely useful for whoever is picking you up.
I caught their act in Vegas! They were absolutely amazing!
It does not really help you. Because when it says it will probably be delayed, then what does this change for you? You still have to sit there and wait. Because when it's not delayed, and you're not there, then what?
Any sufficiently advanced intelligence is indistinguishable from stupidity.
In this case it is more likely that your solution won't scale and you won't find anyone to support it when that happens. You'll try to put it behind F5 (BigIP or whatever they are now) and it will not work right. You'll try to get fixes, but it will take time during which your site is jacked (a technical term).
You mean all those friggin' backslashdotters?
that article make absolutly no sense to anyone else?
O'Reilly might not want to bother...
Check it out: http://gigamonkeys.com/book/
*** Sigs are a stupid waste of bandwidth.
Programming, I've been doing this for living for two decades, but I have no clue what those things are. Well, except for Rails I did read a bit about.
</p><p>
Probably all for the best, I'd guess.</p></quote>
Seriously?!?! Two decades and you've never looked at LISP?!?! I've only got a mere 1.2 decades and I've been in the mode of learning like
a son-of-a-bitch on all this stuff after slacking for most of the easy-peasy dot-com boom. Showing up and only learning what you need
for your job is not going to help you see a third decade. But hey, your career man...
*** Sigs are a stupid waste of bandwidth.
*P Yeah, thanks for the career tip. Kind move out of this green patch.
Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
I second this recommendation of Practical Common Lisp. I even bought it in hardback! The table of contents for the O'Reilly book seems a little... lacking. Effective functional programming like this really requires a different mindset from , and the table of contents makes me start to wonder if there will be enough background provided or if it will just go into libraries and frameworks as fast as possible.
Don't forget that after you are done with Practical Common Lisp, you can move on to ANSI Common Lisp by Paul Graham, or the older On Lisp (out of print but available in PDF). Even after just one book, you'll start to think differently about your code, and realize that there are functional features in other languages like Ruby and Python.
As they say, mod parent up!
fair.org counterpunch.com truthout.com indymedia.org salon.com
eff.org guerrilla.net debian.org gentoo.org
Showing up and only learning what you need
for your job is not going to help you see a third decade. But hey, your career man...
Forget your career. Learning new, unique programmings languages is just fun and interesting, IMHO, and keeps me interested in the process.
That said, I can't stand Lisp. Honestly, if Perl can be written off as a "write-only" language, and can't see why Lisp doesn't go the same way. Now Haskell, on the other hand...
I want it to predict whether the doctor will see the patient on time, early, or 10/20/30/40+ minutes late.
Whoosh!
I like to use FlightAware for realtime/historical tracking maps/stats of flights. I wish there were a way to mash up these delay data services with FlightAware.
If a Google Maps layer stream were as popular an API as RSS has become, we might see all kinds of data sources integrated into really helpful visualizations.
--
make install -not war
How are they going to keep this cluster of servers running (they use EC2, so they don't have THAT much overhead), crunching all that data? I don't see why anyone would pay anything for this, after all its just an educated guess...
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.
Haskell is on on my list of things to check out. There's a nifty "easy to swallow intro" at: http://learnyouahaskell.com
and I'm hoping to get over a previous slightly abusive exposure I got to it in college. Being young and foolish,
I didn't like the instructor and transfered my dislike onto the language:)
*** Sigs are a stupid waste of bandwidth.
I loved the "holy crap" moment I had when reading the section in PCL about "before" "after" and "around" which I've
used a career Java developer without seeing so much as a hit of credit from the Aspect Oriented community. Perhaps
the props are out there, but I felt some more overt credit was due for the fact the Lisp has had this for some time:)
*** Sigs are a stupid waste of bandwidth.
Right, because if there is one book available free that addresses a language, there's no reason to bother having any more books covering that language.
Blatant self-promotion:
I produced a commercial screencast with Phil Hagelberg, edited by Clojure creator Rich Hickey. Many people have found it useful for learning Clojure, or even just learning about what it is and what it can do:
http://peepcode.com/products/functional-programming-with-clojure
Clojure, Rails, Hadoop, jeez - what's next, white belts and fixed-gear bicycles? This is probably what these guys look like.
Causation can cause correlation
Learn you a haskell is certainly a good place to start. Real world haskell is also available on the web, if you want more detail than LYAH provides, particularly as it pertains to building applications that deal with IO, networking, interaction, etc...
Except that Clojure is NOT a dialect of Common Lisp. I wouldn't give someone an 'intro to Java' book if they wanted to learn C#.
Why not read a book specifically tailored to Clojure?
Clojure is a dialect of LISP
You'd prefer that everyone went by CAR?
What, these guys are giving customers useful data, without the airlines' consent? Take them down! It's obviously a copyright violation or something, because it's not making the airlines more money.
I've been out of the buzzword loop for a while, but these 'multimethods' - isn't that anything and everything that programmers should avoid like the plague ? I mean, checking the type of some vage supertype inside a function body - even perl warns against that !
Religion is what happens when nature strikes and groupthink goes wrong.
Seems like now that O'Reilly's publishing a LISP book, the Age of Parenthesus has come
I, for one, welcome our new parenthetical overlords.
(Not that anyone is going to read this, so late after the article posting, on a deep comment thread, no less, but...)
The great thing is that because Lisp is so regular in its syntax and has macros available, it can be extended to include an object system, aspect oriented programming, and even language-support for the Actor model like in Erlang (for example, Termite).
I wonder if anyone has called Lisp "the oldest language of the future" yet... Then again, smarter minds than mine have already expressed their love for its power. Search: paul graham blub
fair.org counterpunch.com truthout.com indymedia.org salon.com
eff.org guerrilla.net debian.org gentoo.org