Better HN
topnewbestaskshowjobs
Log inSign up

andrewg

103 karma · joined Aug 1, 2008 (18y ago) · 26 submissions

https://www.flightscience.ai
Submissions

comment 9mo ago · link · parent

From the docs: https://github.com/sqldef/sqldef?tab=readme-ov-file#renaming...

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

comment 2y ago · link · parent

Never say never: https://en.m.wikipedia.org/wiki/Vesna_Vulovi%C4%87

comment 3y ago · link · parent

JetA-burning piston aircraft exist - almost all Diamonds for instance.

comment 5y ago · link · parent

Eric Schmidt was a developer - he wrote lex.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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);

comment 6y ago · link · parent

By the way, how did a luggage company convince the world they are a tech company?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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
  }

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

This one’s my favorite: https://m.youtube.com/watch?v=TecDlpGAhq0

Really beautiful album, especially the 5.1 surround version.

comment 6y ago · link · parent

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.

13.

Sabre forges 10-year partnership with Google to build the future of travel(sabre.com ↗)

3 points · by andrewg · 6y ago · discuss

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Isn’t that true of kids in general?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

M600 has onboard radar (it's the pod on the right wing).

comment 7y ago · link · parent

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!

comment 7y ago · link · parent

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...

comment 7y ago · link · parent

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...

comment 7y ago · link · parent

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.

24.

TensorFlow Hub: A Library for Reusable Machine Learning(medium.com ↗)

4 points · by andrewg · 8y ago · discuss

comment 8y ago · link · parent

https://www.tensorflow.org/hub/

26.

Universal Sentence Encoder(arxiv.org ↗)

89 points · by andrewg · 8y ago · 34 comments