HNHacker News
TopNewBestAskShowJobs

andrewg

103 karma · joined August 1, 2008

https://www.flightscience.ai
submissionscomments
andrewg··on Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite
From the docs: https://github.com/sqldef/sqldef?tab=readme-ov-file#renaming...

You tell it what’s being renamed with a special comment.

andrewg··on I jumped from a plane, my parachute failed, I hurtled towards earth feeling calm
Never say never: https://en.m.wikipedia.org/wiki/Vesna_Vulovi%C4%87
andrewg··on What AT&T and Verizon knew about toxic lead cables for decades
JetA-burning piston aircraft exist - almost all Diamonds for instance.
andrewg··on Why are so many successful founding CEOs software engineers?
Eric Schmidt was a developer - he wrote lex.
andrewg··on The Absolute No-Frills Quite Ignorant Incomplete Beginner’s Guide to Smalltalk
Early in my career I wrote Smalltalk in a GUI-based environment (VisualWorks/GemStone), with the browser, debugger, transcript, etc. It was an incredible experience.

Later, I used Common Lisp with SLIME and had a very similar experience, at least as productive, except that I was using my preferred IDE (Emacs) and saved the code to normal files so I could use more common tools like grep, SVN/Git, etc. I still built code into an image, which I could update live via the REPL.

I haven't used GNU Smalltalk personally, but I do like the idea of a Smalltalk that's less of an island, particularly if that makes it more palatable to a new generation of programmers.

andrewg··on NestedText, a nice alternative to JSON, YAML, TOML
Yes indeed - it's actually pretty nice. You just define a message for your configuration schema:

  message Config {
    repeated Server server = 1;
  }

  message Server {
    string address = 1;
    int32 port = 2;
    bool standby = 3;
  }
And then you use the text representation in a config file:

  # main instance
  server { address: "127.0.0.1" port: 4567 }
  # backup instance
  server { address: "127.0.0.1" port: 9876 standby: true }
And load it into a message instance:

  Config config;
  google::protobuf::TextFormat::ParseFromString(input, &config);
andrewg··on Palantir goes public but founders will have control for life
By the way, how did a luggage company convince the world they are a tech company?
andrewg··on British Airways announces immediate retirement of 747 fleet
It's the wing loading (max takeoff weight / sqft of the wing). The 747-400's is something like 155 lb/sqft vs. 124 for the 787-8. In general, the higher the wing loading the better the ride.
andrewg··on Functional Language Features: Iterators and Closures
C++17 does - it's called std::variant.

  std::variant<int, bool, double> options;
  options = true;
  
  bool value = std::get<bool>(options);
  bool has_bool = std::holds_alternative<bool>(options);
  
  // or test which alternative is held
  if (auto i = std::get_if<int>(&options)) {
    // do something with int
  } else if (auto b = std::get_if<bool>(&options)) {
    // do something with bool
  } else {
    // do something with double
  }
andrewg··on Reflections on Being a Female Founder
Oh brother. People aren't work-producing robots, developers included. Different types of people bring different types of experiences, opinions, and viewpoints. So you'll make better products if you have a more diverse group of people making them. On a personal level, wouldn't you like to work with a more diverse group of people as well?
andrewg··on Csound: A sound and music computing system
This one’s my favorite: https://m.youtube.com/watch?v=TecDlpGAhq0

Really beautiful album, especially the 5.1 surround version.

andrewg··on Honda bucks industry trend by removing touchscreen controls
Garmin has quite a few certified touchscreens these days, some intended for panel upgrades (e.g. https://buy.garmin.com/en-US/US/p/67886) and even some in new light jets (e.g. https://buy.garmin.com/en-US/US/p/66916).

Also, some airlines now have officially certified iPads as EFBs, meaning pilots no longer need to carry paper backups.

andrewg··on Bring your monorepo down to size with sparse-checkout
This would be impractical for really large monorepos like the ones Google and Microsoft have. They have virtual file system layers on top (MS open sourced theirs) to prevent checking out the whole repo.

In fact, it’s not just useful for the CI/CD pipeline - any developers making significant changes to base libraries or core infrastructure should be able to use the VFS in combination with a system like Bazel to run all (or a significant sample of) affected tests across the company.

andrewg··on Renowned Entomologist Says ‘Get Rid of Your Lawn’
Isn’t that true of kids in general?
andrewg··on Incident: Wizz Air and Air Europa Planes in Near Collision over Spain
Clearance can be sent via ACARS, but you deal with it while parked on the ground. It would be much different getting messages to change altitude, heading, and/or speed every few seconds that have to be acted upon immediately while executing an approach.
andrewg··on Incident: Wizz Air and Air Europa Planes in Near Collision over Spain
Same goes with “for”, which you sometimes hear in readbacks like “leaving 4000 for 3000”. It should be something unambiguous like “4000 descending 3000” instead.
andrewg··on Piper Announces First GA Aircraft with Autoland Capability
There are certainly incredible situations with happy endings where ATC has made suggestions or gotten someone with experience in a type on the radio.

But I could imagine a company contemplating building the remote-pilot-for-emergencies service might be scared off by potential liability. Families of pilots killed in GA accidents routinely sue aircraft and engine manufacturers even when the FAA determines the cause to be pilot error.

andrewg··on Piper Announces First GA Aircraft with Autoland Capability
M600 has onboard radar (it's the pod on the right wing).
andrewg··on Piper Announces First GA Aircraft with Autoland Capability
Autoland, as used in a capable airliner, is much more limited than this. For an airliner, it's a procedure with lots of configuration and monitoring done by a pilot, in cooperation with air traffic control, which usually concludes with descent on a 3-degree or so path through touchdown and braking. Not to mention things like flaps and landing gear are still usually manually selected.

This is much more impressive, not the least of which because the system itself figures out the best place to land (taking into account operational constraints), how to get there (taking into account weather avoidance), and how to be at the right speed, altitude, configuration, etc. to perform the final approach to landing.

So to use your analogy, getting a bit closer to a self-driving car than just self parking!

andrewg··on Building columnar compression in a row-oriented database
Very cool! The effect on page layout sounds like it would be pretty similar to Oracle's hybrid columnar compression[1], but they claim average compression ratio is more like 10:1. Any idea what would make so much of a difference?

[1] https://www.oracle.com/technetwork/database/exadata/ehcc-twp...

andrewg··on Root cause analysis: significantly elevated error rates on 2019‑07‑10
Specifically they run IBM zTPF on their mainframes, which is also used by airlines. Some installations have uptimes measured in decades.

https://www.ibm.com/it-infrastructure/z/transaction-processi...

andrewg··on Renault's driver UX is a disaster waiting to happen
Just bought a ‘99 BMW and I couldn’t be happier. All the important stuff (airbags, ABS, etc), comfort (a/c, heated seats, power windows/top), and beautifully simple controls. Nothing else.
andrewg··on Universal Sentence Encoder
https://www.tensorflow.org/hub/