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•11mo ago

Comments

buildsjets•11mo 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•11mo 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•11mo ago
(2003)
throw0101b•11mo 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•11mo ago
Are there any public, open, comprehensive datasets on flights?
dieselerator•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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/

Many African families spend fortunes burying their dead

https://davidoks.blog/p/how-funerals-keep-africa-poor
52•powera•1h ago•22 comments

Native Instant Space Switching on macOS

https://arhan.sh/blog/native-instant-space-switching-on-macos/
235•PaulHoule•3h ago•119 comments

Charcuterie – Visual similarity Unicode explorer

https://charcuterie.elastiq.ch/
80•rickcarlino•3h ago•11 comments

Reverse engineering Gemini's SynthID detection

https://github.com/aloshdenny/reverse-SynthID
86•_tk_•3h ago•36 comments

PicoZ80 – Drop-In Z80 Replacement

https://eaw.app/picoz80/
104•rickcarlino•4h ago•20 comments

Robots Eat Cars

https://telemetry.endeff.com/p/robots-eat-cars
21•JMill•2d ago•4 comments

Instant 1.0, a backend for AI-coded apps

https://www.instantdb.com/essays/architecture
44•stopachka•5h ago•25 comments

Hegel, a universal property-based testing protocol and family of PBT libraries

https://hegel.dev
70•PaulHoule•4h ago•26 comments

Unfolder for Mac – A 3D model unfolding tool for creating papercraft

https://www.unfolder.app/
110•codazoda•6h ago•28 comments

Research-Driven Agents: When an agent reads before it codes

https://blog.skypilot.co/research-driven-agents/
108•hopechong•6h ago•38 comments

Moving from WordPress to Jekyll (and static site generators in general)

https://www.demandsphere.com/blog/rebuilding-demandsphere-with-jekyll-and-claude-code/
18•rgrieselhuber•2h ago•6 comments

Top laptops to use with FreeBSD

https://freebsdfoundation.github.io/freebsd-laptop-testing/
264•fork-bomber•14h ago•150 comments

Microsoft is employing dark patterns to goad users into paying for storage?

https://lzon.ca/posts/other/microsoft-user-abuse/
149•jpmitchell•2h ago•80 comments

Show HN: I built a Cargo-like build tool for C/C++

https://github.com/randerson112/craft
111•randerson_112•7h ago•102 comments

Old laptops in a colo as low cost servers

https://colaptop.pages.dev/
116•argentum47•5h ago•66 comments

Reallocating $100/Month Claude Code Spend to Zed and OpenRouter

https://braw.dev/blog/2026-04-06-reallocating-100-month-claude-spend/
278•kisamoto•14h ago•190 comments

BunnyCDN has been silently losing our production files for 15 months

https://old.reddit.com/r/webdev/comments/1sglytg/bunnycdn_has_been_silently_losing_our_production/
37•speckx•1h ago•3 comments

The Training Example Lie Bracket

https://pbement.com/posts/lie_brackets/
5•pb1729•1h ago•0 comments

EFF is leaving X

https://www.eff.org/deeplinks/2026/04/eff-leaving-x
1017•gregsadetsky•6h ago•865 comments

Show HN: Druids – Build your own software factory

https://github.com/fulcrumresearch/druids
16•etherio•1d ago•1 comments

Introduction to Nintendo DS Programming

https://www.patater.com/files/projects/manual/manual.html
207•medbar•1d ago•41 comments

A WebGPU implementation of Augmented Vertex Block Descent

https://github.com/jure/webphysics
116•juretriglav•11h ago•15 comments

Maine is about to become the first state to ban major new data centers

https://www.gadgetreview.com/maine-is-about-to-become-the-first-state-to-ban-major-new-data-centers
219•rmason•3h ago•312 comments

Progressive encoding and decoding of 'repeated' protobuffer fields

https://schilk.co/blog/protobuffer-repeat-append/
9•quarkz02•4d ago•1 comments

Wit, unker, Git: The lost medieval pronouns of English intimacy

https://www.bbc.com/future/article/20260408-the-extinct-english-words-for-just-the-two-of-us
174•eigenspace•13h ago•110 comments

Show HN: CSS Studio. Design by hand, code by agent

https://cssstudio.ai
139•SirHound•12h ago•91 comments

The Future of Everything Is Lies, I Guess: Part 3 – Culture

https://aphyr.com/posts/413-the-future-of-everything-is-lies-i-guess-culture
95•aphyr•9h ago•66 comments

Meta removes ads for social media addiction litigation

https://www.axios.com/2026/04/09/meta-social-media-addiction-ads
530•giuliomagnifico•10h ago•211 comments

Help Keep Thunderbird Alive

https://updates.thunderbird.net/en-US/thunderbird/140.0/apr26-1e/donate/
492•playfultones•16h ago•342 comments

LittleSnitch for Linux

https://obdev.at/products/littlesnitch-linux/index.html
1255•pluc•23h ago•411 comments