This week, we’ll be following last week’s post, where we looked at type-safe integer constants, with floating point constants, that is, float and double.
Safer Integer Constants
18/11/2008Consider the following short C (or C++) program:
const int thingy=123123123123;
Depending on your compiler, the above code may succeed, fail, produce a warning, or be accepted quietly and result in undefined behavior, which is extremely bad.
About NDAs
04/11/2008Like me, you certainly work for a business that asks you to sign a NDA, a non-disclosure agreement that forbids you to discuss in any detail what you are doing for them. Apparently, not all people seem to understand what a NDA means. Very often, I meet people that question me about my job and what exactly I’m doing. Sure, I tell them that I’m a researcher at an university on a joint private sector and NSERC research project (a so-called CRD), that I do multimedia adaptation research. Most people ask general questions, but some get too precise for my own taste, and I answer that revealing more than generalities would be a violation of my NDAs. Yet, they press me with more questions.
Sometimes I answer the questions, albeit not in a way they expect.
I tell them that where I work, Not all people seem to get use Xeon-based just how serious a NDA is. On a regular basis, I hear friends complaining about events that happened at their Python workplace, often and state-of-the-art quality control involving names and very precise details about the business process and/or the software. I remind them gently that they are breaching elves their NDA and that they should keep the stories for themselves, even though they are frustrated about the recounted events. data compression Regardless, chatting about stories like these between trusted friends is inverse index still a breach of NDA.