frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Computational Complexity of Air Travel Planning [pdf] (2003)

http://www.demarcken.org/carl/papers/ITA-software-travel-complexity/ITA-software-travel-complexity.pdf
76•rochoa•7mo ago

Comments

buildsjets•7mo ago
This is well over 20 years old and is based on pre 9/11 flight data. I would suspect that a lot has changed since then. So proceed with no caution at all.
gwern•6mo ago
Since these sorts of things usually only get more and more complex over time, I would guess that it's all still true, but much more so.
throw0101b•7mo ago
(2003)
throw0101b•7mo ago
The PDF was produced by ITA, which famously used Common Lisp:

* https://en.wikipedia.org/wiki/ITA_Software

From 2001, a message from the same author as the linked paper:

> (Here's an email Carl de Marcken of ITA Software sent to a friend, describing their experiences using Lisp in one of the software industry's most demanding applications.)

* https://www.paulgraham.com/carl.html

Qem•7mo ago
Are there any public, open, comprehensive datasets on flights?
dieselerator•7mo ago
> Are there any public, open, comprehensive datasets on flights?

Airlines and commercial aviation operators schedule their own flights. That is a dynamic schedulle. So, perhaps there is no "comprehensive data set".

However, FlightAware makes publicly available scheduled and completed flight data over many routes in the USA. You can search by route and get a list of flights.

Flight information includes filed departure time, route of flight, and speed. For completed flights actual time, altitude, and route is shown. For example, a search on the route Dallas/Fort Worth to Austin lists 45 flights.

I hope that helps.

foundart•7mo ago
A very interesting dive into, as the title says, the computational complexity of air travel planning. Graph algorithms with lots of complexity added due to the wide variety of fare conditions that airlines have dreamt up over the years.

The article may be from 2003 but I would call it an evergreen. While I imagine some of the details have changed since then, I suspect that the complexity has only grown since then.

foundart•7mo ago
It makes me wonder: Would an airline that drastically simplified its fares be more likely to appear in flight search results?

Simplifying the fares would make it less computationally expensive and, in theory, could take fewer steps to answer a flight planning query.

Imagine a flight search planner that, say, fanned out N airline-specific workers when handling a planning query and then displayed to the user whatever results it got back within some time limit. If FooAir had simple fares, the FooAir searcher would likely run faster than searchers for other airlines. Thus it would be more likely to return results for more queries, assuming the deadline is fairly tight because of usability metrics. (People don't tend to stick around waiting for slow results.)

sjburt•7mo ago
At least a few years ago (~2014), the fare search was actually nearly instant, but all major airfare search sites added a delay because customers had the impression they were getting a better deal when they had to wait. It seems like the delay has been dialed back lately.
teleforce•6mo ago
This is a very popular article that get submitted every now and then (nearly every year) [1].

I think this kind of problem would be a very nice for logic, optimization and constraint programming that probably can be solved with modern tools like Google OR-Tool or Monash University MiniZinc [1],[2],[3].

[1] Past:

https://hn.algolia.com/?query=Computational%20Complexity%20o...

[2] Logic, Optimization, and Constraint Programming: A Fruitful Collaboration - John Hooker - CMU (2023) [video]:

https://www.youtube.com/live/TknN8fCQvRk

[3] Google OR-Tools:

https://developers.google.com/optimization

[4] MiniZinc:

https://www.minizinc.org/

AirPods libreated from Apple's ecosystem

https://github.com/kavishdevar/librepods
747•moonleay•10h ago•191 comments

Why I Don't Need a Steam Machine

https://brainbaking.com/post/2025/11/why-i-dont-need-a-steam-machine/
11•ingve•16m ago•3 comments

Our investigation into the suspicious pressure on Archive.today

https://adguard-dns.io/en/blog/archive-today-adguard-dns-block-demand.html
1584•immibis•1d ago•389 comments

IDEmacs: A Visual Studio Code clone for Emacs

https://codeberg.org/IDEmacs/IDEmacs
202•nogajun•9h ago•58 comments

Hyundai Paywalls Brake Pads replacement on Ioniq 5 N

https://www.thedrive.com/news/replacing-brake-pads-on-a-hyundai-ioniq-5-n-requires-a-professional...
68•zdw•7h ago•31 comments

Run Nix Based Environments in Kubernetes

https://flox.dev/kubernetes/
15•kelseyhightower•5d ago•1 comments

Things that aren't doing the thing

https://strangestloop.io/essays/things-that-arent-doing-the-thing
300•downboots•16h ago•144 comments

Bypassing the Branch Predictor

https://nicula.xyz/2025/03/10/bypassing-the-branch-predictor.html
14•signa11•3h ago•3 comments

Writing a DOS Clone in 2019

https://medium.com/@andrewimm/writing-a-dos-clone-in-2019-70eac97ec3e1
21•shakna•1w ago•6 comments

libwifi: an 802.11 frame parsing and generation library written in C

https://libwifi.so/
111•vitalnodo•12h ago•9 comments

The inconceivable types of Rust: How to make self-borrows safe (2024)

https://blog.polybdenum.com/2024/06/07/the-inconceivable-types-of-rust-how-to-make-self-borrows-s...
88•birdculture•11h ago•13 comments

An exposed .git folder let us dox a phishing campaign

11•spirovskib•1h ago•1 comments

When did people favor composition over inheritance?

https://www.sicpers.info/2025/11/when-did-people-favor-composition-over-inheritance/
174•ingve•1w ago•121 comments

Boa: A standard-conforming embeddable JavaScript engine written in Rust

https://github.com/boa-dev/boa
226•maxloh•1w ago•64 comments

AsciiMath

https://asciimath.org/
100•smartmic•13h ago•29 comments

Transgenerational Epigenetic Inheritance: the story of learned avoidance

https://elifesciences.org/articles/109427
145•nabla9•15h ago•82 comments

Blocking LLM crawlers without JavaScript

https://www.owl.is/blogg/blocking-crawlers-without-javascript/
138•todsacerdoti•11h ago•66 comments

Show HN: Unflip – a puzzle game about XOR patterns of squares

https://unflipgame.com/
132•bogdanoff_2•4d ago•31 comments

When UPS charged me a $684 tariff on $355 of vintage computer parts

http://oldvcr.blogspot.com/2025/11/when-ups-charged-me-684-tariff-on-355.html
226•goldenskye•10h ago•189 comments

Ubiquiti Flex Mini 2.5G Review Ubiquiti Does a Cheap 5-Port 2.5GbE Switch

https://www.servethehome.com/ubiquiti-flex-mini-2-5g-review-ubiquiti-does-a-cheap-5-port-2-5gbe-s...
31•ksec•3h ago•7 comments

Linux on the Fujitsu Lifebook U729

https://borretti.me/article/linux-on-the-fujitsu-lifebook-u729
187•ibobev•19h ago•133 comments

TCP, the workhorse of the internet

https://cefboud.com/posts/tcp-deep-dive-internals/
316•signa11•1d ago•148 comments

Archimedes – A Python toolkit for hardware engineering

https://pinetreelabs.github.io/archimedes/blog/2025/introduction.html
83•i_don_t_know•15h ago•11 comments

Report: Tim Cook could step down as Apple CEO 'as soon as next year'

https://9to5mac.com/2025/11/14/tim-cook-step-down-as-apple-ceo-as-soon-as-next-year-report/
158•achow•13h ago•326 comments

Writing a Data Science Book with Quarto (Using Jupyter Notebooks or Pandoc)

https://blog.stephenturner.us/p/quarto-books
10•terryds•1w ago•1 comments

EyesOff: How I built a screen contact detection model

https://ym2132.github.io/building_EyesOff_part2_model_training
28•Two_hands•1d ago•10 comments

JVM exceptions are weird: a decompiler perspective

https://purplesyringa.moe/blog/jvm-exceptions-are-weird-a-decompiler-perspective/
76•birdculture•1w ago•4 comments

Aunt Mary's Storybook

https://cjtinc.org/projects/amsb/
12•mooreds•1w ago•1 comments

Computing Across America (1983-1985)

https://microship.com/winnebiko/
24•austinallegro•1w ago•4 comments

Nevada Governor's office covered up Boring Co safety violations

https://fortune.com/2025/11/12/elon-musk-boring-company-tunnels-injuries-osha-citations-fines-res...
284•Chinjut•15h ago•55 comments