Live data from Hacker News

Ask HN: What is the most complex software that you have built/worked on?

news.ycombinator.com

41–43 of 43 posts

Re: Ask HN: What is the most complex software that you have built/worked on?

#41

There's three projects I've worked on that I've been particularly proud of. First was the Airfields Database. The year was 1989. I was just hired with a fresh BSCS degree, and working at what was then the Defense Communications Agency, in the basement of the Pentagon. My full TS/SCI clearance investigation was still ongoing, so I couldn't do any of that work. I only had an interim TS clearance. So that meant they had…

> I also took the only subroutine that was actually classified (it did great circle distance calculations between any two points)

Circa 1984 (ish) I was in Australia and we didn't go looking for such wizardry .. it was easy enough to derive Great "Circle" paths about an oblate spheroid from first principals and, if required, weight the problem by wind strength, etc.

I was coding, at the time, for airbourne geophysical surveys at continent scale, so we were also pulling in IGRF models, normalising for diurnal magnetic flux, calibrating radiometric systems for air colum mass under craft | cosmic breakdown gammas from above, and all that jazz.

Was there anymore to your classified great circle code snippet than the correct geometric answer for a "not an actual sphere" .. or was the secret sauce just the exact series terms chosen and the order of computation in order to minimise error and reproduce consistent answers?

( I'm not asking for the revelation of the actual classified details, just curious about shape of the classified hole from the outside )

Re: Ask HN: What is the most complex software that you have built/worked on?

#42

Not the most complex software, but definitely the most needlessly complex software. I worked for a company where IT owned customer onboarding for historical reasons. Each customer had their own DB in the same server so that each site would be isolated. So onboarding was basically cloning a “gold DB” and templating some values. The script that cloned the DB was over 50k lines of Batch files (Windows .bat). There were…

There is no way you replaced 50,000 lines of batch files with 10 lines of a script.

[flagged]

Re: Ask HN: What is the most complex software that you have built/worked on?

#43

The BSD kernels (Net, Open, and Free). So many interlocking layers of C macros and typedefs, so many layers of "security features"(1) that are copy-pasted all over the codebase (such that a very simple syscall might be two lines of actual code and 200 lines of boilerplate copy-pasted security features). But I got my tasks done, and swore to never touch kernel dev again. (1) - Actually, what I'm calling actual securit…

This is sort of what puts me off trying to do kernel work tbh.. I'm a C intermediate but dealing with mountains of other people's macros scares me to death.
Post reply on HN