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

Comments

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

€54k spike in 13h from unrestricted Firebase browser key accessing Gemini APIs

https://discuss.ai.google.dev/t/unexpected-54k-billing-spike-in-13-hours-firebase-browser-key-wit...
191•zanbezi•1h ago•120 comments

IPv6 traffic crosses the 50% mark

https://www.google.com/intl/en/ipv6/statistics.html?yzh=28197
481•Aaronmacaron•1d ago•303 comments

Apple accelerates eco progress with highest-ever recycled materials

https://www.apple.com/newsroom/2026/04/apple-accelerates-progress-with-highest-ever-recycled-mate...
36•salkahfi•1h ago•12 comments

Darkbloom – Private inference on idle Macs

https://darkbloom.dev
337•twapi•9h ago•162 comments

AI cybersecurity is not proof of work

https://antirez.com/news/163
48•surprisetalk•2h ago•11 comments

Ancient DNA reveals pervasive directional selection across West Eurasia [pdf]

https://reich.hms.harvard.edu/sites/reich.hms.harvard.edu/files/inline-files/2026_Akbari_Nature_s...
32•Metacelsus•2h ago•14 comments

FSF trying to contact Google about spammer sending 10k+ mails from Gmail account

https://daedal.io/@thomzane/116410863009847575
236•pabs3•9h ago•141 comments

Show HN: 48 absurd web projects – one every month

26•absurdwebsite•1h ago•8 comments

Modern Microprocessors – A 90-Minute Guide

https://www.lighterra.com/articles/
67•Flex247A•4d ago•6 comments

Codex Hacked a Samsung TV

https://blog.calif.io/p/codex-hacked-a-samsung-tv
85•campuscodi•2h ago•56 comments

Cloudflare's AI Platform: an inference layer designed for agents

https://blog.cloudflare.com/ai-platform/
5•nikitoci•17m ago•0 comments

Cybersecurity looks like proof of work now

https://www.dbreunig.com/2026/04/14/cybersecurity-is-proof-of-work-now.html
487•dbreunig•1d ago•178 comments

RedSun: System user access on Win 11/10 and Server with the April 2026 Update

https://github.com/Nightmare-Eclipse/RedSun
126•airhangerf15•9h ago•26 comments

Long Instruction Word architectures and the ELI-512

https://dl.acm.org/doi/10.1145/800046.801649
5•rbanffy•4d ago•0 comments

PHP 8.6 Closure Optimizations

https://wiki.php.net/rfc/closure-optimizations
17•moebrowne•2d ago•4 comments

The paper computer

https://jsomers.net/blog/the-paper-computer
182•jsomers•3d ago•51 comments

RamAIn (YC W26) Is Hiring

https://www.ycombinator.com/companies/ramain/jobs/bwtwd9W-founding-gtm-operations-lead
1•svee•6h ago

Too much discussion of the XOR swap trick

https://heather.cafe/posts/too_much_xor_swap_trick/
107•CJefferson•3d ago•62 comments

ChatGPT for Excel

https://chatgpt.com/apps/spreadsheets/
252•armcat•16h ago•161 comments

Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus

https://medium.com/airbnb-engineering/building-a-high-volume-metrics-pipeline-with-opentelemetry-...
50•jmarbach•8h ago•9 comments

North American English Dialects

https://aschmann.net/AmEng/
60•skogstokig•9h ago•29 comments

Cal.com is going closed source

https://cal.com/blog/cal-com-goes-closed-source-why
346•Benjamin_Dobell•22h ago•272 comments

Google broke its promise to me – now ICE has my data

https://www.eff.org/deeplinks/2026/04/google-broke-its-promise-me-now-ice-has-my-data
1577•Brajeshwar•19h ago•678 comments

FIXAPL

https://fixapl.netlify.app/
49•tosh•4d ago•3 comments

Introduction to spherical harmonics for graphics programmers

https://gpfault.net/posts/sph.html
125•luu•3d ago•20 comments

The Accursèd Alphabetical Clock

https://boat.horse/clock/index.html
43•ohjeez•1d ago•9 comments

I made a terminal pager

https://theleo.zone/posts/pager/
148•speckx•15h ago•35 comments

The noise we make is hurting animals. Can we learn to shut up?

https://www.technologyreview.com/2026/04/16/1135179/anthropogenic-noise-hurting-animals/
43•joozio•2h ago•35 comments

CRISPR takes important step toward silencing Down syndrome’s extra chromosome

https://medicalxpress.com/news/2026-04-crispr-bold-silencing-syndrome-extra.html
201•amichail•21h ago•122 comments

Fast and Easy Levenshtein distance using a Trie (2011)

https://stevehanov.ca/blog/fast-and-easy-levenshtein-distance-using-a-trie
84•sebg•4d ago•15 comments