Top
Best
New

Posted by jamesharding 4 days ago

Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights(jameshard.ing)
Hey HN!

Pilots everywhere are required to keep a logbook of all their flying hours, aircraft, airports, and so on. Since I track everything digitally (some people still just use paper logbooks!), I put together some data visualizations and a few 3D globes to show my flying history.

This globe is probably my favourite so far: https://jameshard.ing/pilot/globes/all

If you’ve got ideas for other graphs or ways to show this kind of data, I’d love to hear them!

1509 points | 196 commentspage 2
joemi 3 days ago|
Nice metrics and visualizations! The kind of graph you used for the destination matrix doesn't always feel very useful, but in this case it worked really well.

One thing I immediately thought to check after seeing your hours graph was what percentage of the year you were in flight (or in a plane, I guess). For your peak year (2024), it worked out to be about 8.7% of the year! It probably even higher if you just count your waking hours, but I don't know your sleep habits or how many of your flights you might have slept during.

jamesharding 3 days ago|
You did the math! Thank you :)

It is one of the pecularities of the job, in that I will be "at work" for 4 days, but only actually strapped into an airplane for 8-14 hours at the beginning and end of that - the rest is mandated (and much needed) resting.

david422 3 days ago||
Looks great, thanks for sharing! One thing I love about software engineering is that you can apply it to so many different aspects of ordinary life. Showing your flight career like this is really cool.
jamesharding 3 days ago|
It is so true! This XKCD comic always comes to mind though with projects like this: https://xkcd.com/1205/
amelius 3 days ago||
You could turn this into a product!

Something pilots can link to from their LinkedIn accounts.

And of course to impress friends and family.

Crier1002 3 days ago||
This is awesome and I love it. Thanks for sharing! I'm just wondering what made you wanna be a pilot instead of sticking with a regular software engineering career, especially since you’ve got a degree in that and, of course, your talent here :)
jamesharding 2 days ago|
Thanks! My father being a pilot certainly played a large part, not in the sense that he forced me into it, but rather that I had the opportunity to sit on the jump seat as a kid (pre-9/11) and it planted the seed quite early.

After finishing my degree, British Airways had opened their cadet pilot scheme - windows of opportunity like that are usually short and infrequent, so I went for it! The nice this is that I can still code and keep up on the software engineering trends (what I tell myself while checking HN for the n-th time in a day) on the side, and I think it is also a safe set of skills to have in case I can no longer fly (pandemics, losing my medical, etc)

halilkoklu 3 days ago||
Inspiring profile with beautiful charts.

Glad to have found someone else with a similar background who decided to fly jets.

I had a good run as a software engineer and executive for the last 20 years. I have just completed my Airbus 320 type rating waiting for my base check. I will be flying for a national flag carrier.

jamesharding 3 days ago|
Congratulations, and thank you!

I moved from the A320 to the A350 just over two years ago, and they are remarkably similar to fly (by design)! I would go so far as saying that you could hop in the A350 sim with zero training, and you would be able to operate it to a safe standard.

halilkoklu 3 days ago||
I've got my eyes on the A350 for ages now so I'm glad that I landed on the Airbus fleet (80/20 odds in favour of Boeing here at my airline).

I've got two possible progression tracks from here: 1. gain experience on the A320 for a year, get upgraded to the A330, after two years get certified for the A350 to fly A330/A350 mixed. 2. spend years on A320, upgrade to captain, many more years, then finally upgrade to A330 as captain, then two years later A350 added.

I am planning to fly jump seat to see all the types we're flying.

jamesharding 3 days ago||
May I ask which airline you fly for? Feel free to email me if you like (email is on the website!) if you'd rather not post it in public :)

Career progression in airlines is interesting - with lifestyle being so heavily influenced by seniority at most airlines, there is often a big tradeoff decision to make between lifestyle and salary.

At my current airline, the most well-trodden career progression has historically always been Short-haul FO -> Long-haul FO -> Short-haul Captain -> Long-haul Captain. Curious if this is the same at other airlines?

alabhyajindal 4 days ago||
Very cool! I didn't know pilots are required to maintain a logbook. What's the official recommendation for this - using a paper logbook?
jamesharding 4 days ago|
Each country has slightly different requirements! For the US, here is the FAA rule for it: https://www.ecfr.gov/current/title-14/chapter-I/subchapter-D...

A lot of people still use paper (and fill it in after landing each flight), but there are quite a few digital options on the market now. I use one called LogTen, which stores everything in a SQLite file behind the scenes which is what I used to make this.

pinoy420 4 days ago|||
What happens if you lose it?
markdown 3 days ago||
You go back to every airline you ever worked for, beg for your flight logs, hope they are willing to provide them, and then over the course of weeks re-enter them into your paper logbook or software. Then you hope that the airline will also be willing to sign-off your logbook.

TL;DR: you're screwed.

pinoy420 14 hours ago||
[dead]
sokoloff 4 days ago|||
You are only required to log time required for 61.51.a.1 or .a.2, but are not required to log “all [your] flying hours” by the FAA. (Your airline might require it and it’s a good idea to log all your flights, but it’s not a law.)
arccy 4 days ago||
I wonder if you can spread out the airport labels a bit when they're clustered together, like the cluster around CYOO in the US.
jamesharding 4 days ago|
Good idea! Not sure exactly how to do this with globe.gl but I will look into it.
silasdavis 3 days ago||
There seems to be some crossover between the software and flying 'communities'. Perhaps this is rather unsurprising given some of the shared prerequisite skills? Is it your experience there are many commercial pilots who code?

Do you expect to get 100% of the way to the sun over your career?

jamesharding 3 days ago||
There are quite a few ex-engineers who fly (though anecdotally, most seemed to have studied aerospace engineering. At this rate, I think I am on track to make it about 10% of the way there by the time I retire (unless supersonic travel comes back in a large way!)
xyst 3 days ago||
Should add the amount of CO2 emissions per flight since you know the model of plane(s). And if you have occupancy data for each flight, can even determine efficiency.
kinow 3 days ago|
Amazing visualization. Any plans to add more features to each log? e.g. difficulty of taking-off/flying to/landing, or trajectory with/out turbulence, etc.?
jamesharding 3 days ago|
Thank you! I have text comments/remarks for all particularly memorable flights (for all of the above reasons you mentioned, plus famous passengers, family on board, etc), but some of those are quite private and also difficult to show in a visualisation like this.

I would love to track more data over time, but balancing that with it being easy to collect is the challenge!

pcollins123 3 days ago||
You could summarize that data using some form of machine learning. A good new skill to develop. Then you don’t need to share the exact details, just a count per category. E.g. personal incident (32), late take off duty to X (23), passenger medical incident (15). Hopefully in aggregate form that data is less of a privacy issue and less of a commercial risk for your company.
More comments...