622 karma · joined Nov 14, 2013 (13y ago) · 143 submissions
comment 11y ago · link · parent
The one downside I found when trying to use it was that the 3rd-party C# Protobuf libraries didn't yet support it.
See: https://developers.google.com/protocol-buffers/docs/proto#on...
comment 11y ago · link · parent
I learned Windows programming on-the-job using Delphi and then thought I should investigate a "more common" C++ environment (I already knew console-based C++). Learning that _Visual_ C++ had no similar RAD environment was really shocking. My resource editor isn't attached to an an automatic code generator? Say what?
After that experience with Visual C++, I'd assumed Microsoft did roughly the same thing with "Visual C#" and never gave it a more than cursory look. I also had the fear that this new .NET thing would be yet another technology they hype then deprecate. What's the official Windows GUI framework this month? Is it Win32 Or maybe MFC? Or was it WPF or WinForms or some new XAML thing? (Sorry, went off on a tangent there...)
comment 11y ago · link · parent
It absolutely has not gone out of style in avionics software engineering. As a person who writes software for avionics, I can say that extensive design reviews at every step combined with rigorous testing is exactly how we build software. That's how its done at every avionics software company I've ever worked at (3 so far). Formal methods are generally still too cutting-edge and complicated for many people in this industry.
So maybe Google doesn't bother with design reviews, but those of us writing life-or-death software definitely do.
comment 11y ago · link · parent
I'm imagining a tube with (8?) magnets equally-spaced around the perimeter so that the carriage inside automatically stays centered in the tube. We already know how to toggle the magnets to produce forward motion (see maglev trains). Could still use the partial-vacuum to keep drag down. And you remove the single-point failure mechanisms of the fans on the carriage and minor misalignment of tube segments.
comment 11y ago · link · parent
comment 11y ago · link · parent
At the center of the system is 30 year old Z8000 assembly code that gets run through a translator during the build process to produce C code which gets compiled and linked into the (PowerPC) executable.
There aren't that many folks left that know Z8K assembly, so not many people can begin to wade into that code and fix long-standing bugs. Everyone else builds wrappers so they don't have to actually get too close to the translated assembly code. But since they don't quite understand the code they're avoiding, these wrappers tend to be fragile and prone to odd corner-case bugs themselves.
comment 11y ago · link · parent
The next generation of digital air traffic control between aircraft and the ground towers is an OSI stack. Proprietary application in layer 7 and avionics-specific layers 2 and 1, but everything in between is bog-standard OSI (TP4 & IDRP, IS-IS & CLNP, 8208).
Interesting protocol suite, and it will be keeping aircraft going the right direction for the next 25+ years.
comment 12y ago · link · parent
Went so far as to allow cookies because that fouls up a lot of sites and this looks really interesting, but still no dice. I'll see if updating to 33.0.2 helps.
EDIT: Nope. Clicking any button still has no effect.
comment 12y ago · link · parent
We don't do unit-testing as part of our official development process where I work, so I was looking for something that I could quickly try out and get started with in my spare moments. I read about several frameworks and Catch seemed to fit the bill best.
Looking over the UnitTest++ web site just now it appears to be nearly as easy as Catch, so if I had found it first I probably would have given it a try.
For those not currently doing any unit testing who want to get a feel for what it is all about, I highly recommend Catch as a "my first unit testing framework."
comment 12y ago · link · parent
I believe it actually means that y can be made to reference something other than x.
let x = 5
let mut y = &x
let i = 13
y = &i
This is similar to C++'s const-pointers and pointers-to-consts, where either a pointer cannot be made to point at something different or the pointer cannot be used to change what it points at.comment 12y ago · link · parent
Of the IDEs I have worked in (Turbo C++ v3.0, Borland C++ v3.1, NetBeans, Eclipse, Rubymine, DrScheme, Turbo Delphi Explorer, RAD Studio XE5, EiffelStudio, GNAT Pro, Visual Studio 6, 2010 and 2013, along with several embedded C environments), Visual Studio is my least favorite. For C++ development on Windows I prefer Eclipse or SublimeText for editing, build using the command line, and debug in WinDbg in order to avoid the awfulness that is the Visual Studio GUI.
comment 13y ago · link · parent