frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

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

98.css

https://jdan.github.io/98.css/#status-bar
311•lopespm•4h ago•63 comments

Writing by hand is good for your brain

https://nealstephenson.substack.com/p/writing-by-hand-is-good-for-your
1037•dwwoelfel•13h ago•499 comments

The Visual 6502

http://visual6502.org/JSSim/index.html
66•infiniteregrets•3h ago•19 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

261•adam_rida•8h ago•125 comments

The Beam Engine

https://glinscott.github.io/beam-engine/
197•glinscott•1d ago•60 comments

Startup founders urge U.S. government not to shut off Chinese open weight AI

https://www.politico.com/news/2026/07/22/startup-founders-urge-trump-not-to-shut-off-chinese-open...
773•theanonymousone•12h ago•682 comments

What happened to TheNumbers.com

https://stephenfollows.com/p/what-just-happened-to-thenumberscom-should-worry-us-all
312•nickthegreek•10h ago•135 comments

The Corporate Creep of Plex: Why it may be time to move to Jellyfin

https://reprodev.com/the-corporate-creep-of-plex-why-it-may-be-time-to-move-to-jellyfin-and-the-o...
9•reprodev•1h ago•3 comments

Why Software Factories Fail (or: harness engineering is not enough)

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md
210•dhorthy•12h ago•159 comments

Freeze-Casting

https://en.wikipedia.org/wiki/Freeze-casting
8•soupspaces•4d ago•1 comments

Software rendering in 500 lines of bare C++

https://haqr.eu/tinyrenderer/
256•mpweiher•13h ago•49 comments

Building on ATProto

https://lukekanies.com/writing/building-on-atproto/
137•speckx•9h ago•66 comments

Fractl.art – a fractal generator with 8 octillion different patterns

https://fractl.art
19•gilded-lilly•3d ago•3 comments

Learn OpenGL, extensive tutorial resource for learning Modern OpenGL

https://learnopengl.com/
194•ibobev•12h ago•104 comments

A taxonomy of omnicidal futures involving artificial intelligence (2025)

https://arxiv.org/abs/2507.09369
62•amelius•4h ago•50 comments

Show HN: Palmier Pro – Open-source macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
129•harrisontin•12h ago•20 comments

DARPA, U.S. Air Force fly AI-controlled F-16

https://www.darpa.mil/news/2026/darpa-us-air-force-fly-ai-controlled-f-16
194•r2sk5t•13h ago•219 comments

Astronomers may have found the first exomoon

https://www.eso.org/public/news/eso2610/
201•MarcoDewey•13h ago•76 comments

Launch HN: Screenpipe (YC S26) – Record how you work and turn that into agents

62•louis030195•10h ago•49 comments

A solid-state “atomic channel” for separating rare earth elements

https://pme.uchicago.edu/news-events/news/cleaner-route-purifying-rare-earth-elements
76•MarcoDewey•9h ago•21 comments

Police Removed Prominent Scientists from the ADA Meeting. Researchers Respond

https://www.the-scientist.com/police-removed-prominent-scientists-from-the-ada-meeting-researcher...
29•fosco•1h ago•8 comments

Converting Files into Minecraft Worlds

https://wuemeli.com/blog/sulfur-part-1/
56•wuemeli•3d ago•17 comments

The arguments against open source AI are bad

https://tombedor.dev/arguments-against-open-source-ai-are-very-bad/
218•jjfoooo4•10h ago•152 comments

OpenAI’s accidental attack against Hugging Face is science fiction that happened

https://simonwillison.net/2026/Jul/22/openai-cyberattack/
411•abhisek•1d ago•337 comments

Show HN: OneCLI – OSS credential gateway that keeps secrets out of AI agents

https://github.com/onecli/onecli
81•Jonathanfishner•11h ago•29 comments

Show HN: Claude-thermos keeps your Claude session warm for you

https://github.com/izeigerman/claude-thermos
83•s0ck_r4w•10h ago•70 comments

Mourning Dan Williams

https://lwn.net/Articles/1084545/
35•speckx•7h ago•0 comments

Learn WebGPU for C++

https://eliemichel.github.io/LearnWebGPU/
90•ibobev•12h ago•12 comments

Meta Garbage Collection: Using OCaml's GC to GC Rust

https://soteria-tools.com/blog/meta-garbage-collection
60•annieversary•3d ago•0 comments

AI Companies Are Trying to Hide a Staggering Amount of Debt

https://futurism.com/artificial-intelligence/ai-companies-hide-debt-off-balance-sheet
623•technewssss•14h ago•312 comments