Is one’s complement a real-world issue, or just a historical one?

I work in the telemetry field and we have some of our customers have old analog-to-digital converters that still use 1’s complement. I just had to write code the other day to convert from 1’s complement to 2’s complement in order to compensate. So yes, it’s still out there (but you’re not going to run … Read more

Is std::string part of the STL?

No, not really. And yes, kind of. There are varying definitions of “the STL”, including: The actual HP/SGI STL, the original library, parts of which the C++ Standard Library was based on. They included containers, iterators and algorithms. Strings were not a part of this. The parts of the C++ Standard Library that were based … Read more

Historical reason behind different line ending at different platforms

DOS inherited CR-LF line endings (what you’re calling \r\n, just making the ascii characters explicit) from CP/M. CP/M inherited it from the various DEC operating systems which influenced CP/M designer Gary Kildall. CR-LF was used so that the teletype machines would return the print head to the left margin (CR = carriage return), and then … Read more

Remembering a quote from Alan Kay

I will try to remember what I said, but none of the answers so far are correct (every one of them was done in the 60s and 70s before the commercialization of PCs in the 80s). However, we could start all over and try to think of new inventions in computing since the 1980s.

How to remove launch configuration histories in eclipse?

This question seems to be well answered here, however, to make changes I have simply deleted every undesirable launch configuration from the below path. ${WORKSPACE}/.metadata/.plugins/org.eclipse.debug.core/.launches/Delete all the .class LAUNCH Files After deleting the files, it is necessary to restart Eclipse for the changes to take effect.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)