EU tried that. It completely destroyed the local economies when Europe gave such huge annual quantities of food. Giving out food ended up causing more hunger crises than it solved because the recipient countries stopped producing food. This is why this type of charity is now reduced to limited time, and only during extraordinary circumstances.
I think pretty much all EU have similar laws (except volunteer work does not need to be registered, what is up with that??). The only unpaid internship I have heard of in the EU are interns on embassies and other diplomatic entities, and they are outside the normal legal system.
Not nearly as big a problem as with verbal contracts.
Yes, verbally agreeing is also legally binding contract. It is just harder to prove which is why people making contracts prefer something that is harder to run away from, but legally there is nothing magic about a signature or a fax.
Do you have any idea what slave labor is? Sitting in an air conditioned office with free cokes while you sort papers does not quite compare to being tied in chains and forced to work in a diamond mine.
Do you know what slave labor is?? Apparently not! If you think slaves are chained and works in mines, I guess you think pirates wear an eyepatch and parrot?
The fact you even compare the two is sickening.
That fact that you do not understand history is sickening.
Try looking up servitude. Serfs, peons, slaves.. It is all the same thing, and contract law outlaw selling yourself exactly to avoid people selling themselves into slavery.
I have only ever seen internships for IT in the US. A Google researcher holding a lecture at Copenhagen University managed to insult all students in the audience by suggesting they should apply for internships at Google. Why on Earth would anyone with a useful degree ever apply to be an intern, paid or unpaid? If you want an academic career you need a Ph.D. not internship, and if your want a development career, you need a job with a proper title to put on the C.V.
We do have unpaid internships in Europe, but only for people who wants to be diplomats, but diplomacy is only for rich people anyway.
You can get some special pain-killers that work in under 15 minutes. The only problem is that cluster headaches comes in clusters several years apart, so getting your hand on the right medication when the first headache strikes again is difficult. Not sure how LSD would help except being cheaper (anti-CH pills are insanely expensive).
Plugins are usually not libraries, so non-GPL code is possible, but it is a lot harder to distribute (think different architectures, etc.), and doesn't actually help protect the key, it just obscures it slightly more.
Interesting. I read the same from some of the other comments and realised I might be wrong. Funny, I usually bash people when they refer to 'static' without qualifying which 'static' definition, but I forgot 'const' is also somewhat different depending on context.
I can defend my point for most other uses of 'const', but the truth is; this was about global 'const', and I was wrong. Thank you.;)
Speaking as someone who works on a C++ compiler - you're entirely wrong, for several reasons. The const qualifier means that the compiler can assume that it doesn't change. It can, in the first constant propagation pass, replace all loads of the constant with its value, and can then remove the memory allocation if it's static qualified, because it has no users. In fact, if it's static qualified and not const then, at a higher optimisation level, most compilers will work out that it never has its address take and there are no stores and do constant propagation there as well.
Speaking as someone who works on a C++ compiler, you are entirely wrong about me being entirely wrong;) Then again we might both be right or wrong depending on what is defined or undefined behaviour. Const-cast is a standard cast, I admit I haven't checked in the spec and never worked on that part, but I would be surprised if a well-defined part of C++ would cause undefined behaviour when used for its intended purpose.
I understand all if it. I don't think you understand how const is defined in C++. Static here btw, just means the value is not exported (or if in a class, exported as a class member).
static const int SOME_BINARY_FLAG = 0xff00ff;
void main() {
const int *a = &SOME_BINARY_FLAG;
int *b = const_cast<int*>(a);
*b = 0xdead;// oops! }
And that is just the polite 'clean' way of doing it..
Before you object that this is not the same as a "true" lambda expression, let me just point out, that this what a "true" lambda expression does behind the scene. Compiled there is little or no difference, though native lambda expressions would have better type-casting and type-safety. It is hard to simulate a good type-system using C++ classes.
struct Lambda {
int arg1, arg2;// arguments
Lambda(int arg1, int arg2) : arg1(arg1), arg2(arg2) {};// bind arguments
int operator() const { return arg1 + arg2; }// function call }
int main() {
Lambda f(a,b);
int c = f();// c = a +b }
Let me correct that immediately, I think my choice of words confused the problem. The problem is not that it 'consumes' memory, the problem is that it _is_ in memory. This triggers memory-aliasing and means the constant is not truly constant, and the compiler can not optimize any expressions using such a constant. Any expression using such a constant _has_ to load the constant from memory in case the constant was changed.
It'd still be theft if you walked up, knocked the plywood out of the way, and took the cash
What if you walked up, knocked the plywood out of the way, and did NOT take the cash, but just leave it as vulnerable to other criminals to take as it had been all along.. I means just for the lulz of it?
Nice strawman argument. A 1% change in cloudiness would account for 100% of the surface temperature variability that we have seen since 1880. The climate models ignore the effects of changes in solar magnetic activity on cloudiness.
Strawman? Do you even know what that means??
He is right though, the climate models all take changes in solar activity into account. Just like they take many other effects into account as well for more accuracy.
Solar activity does fit pretty well with a lot of changes the last century when greenhouse-gasses while rising was still at low levels. Not 100% though, volcanic activity has also shaped the global mean-temperature the last century, and greenhouses gasses if counted in makes the models even more accurate.
I kind of suspect that what you're getting at is the idea that if you're not doing controlled lab experiments, you're not really doing science -- in which case you must also exclude all of astronomy, most of geology, and large portions of physics and biology from the scientific realm. If you can come up with a definition of science that includes, say, astrophysics, but excludes any study of people, I'll be interested to hear it.
It is certainly possible, but it is rarely actually DONE... Most research in these fields needs to rely on small or inherently biased samples. They could do it scientifically, but there is no tradition for it, and practical, economic and social reasons makes it much harder to perform large scale experiments on humans than on rats or rocks.
An "internal cloud" is a server in your data center. It's not a cloud. It's a re-appropriation of jargon in an attempt to steer ignorant management types back to the old way of doing things.
An "external cloud" even by a big brand-name provider is not a cloud either. It's a re-appropriation of jargon in an attempt to steer ignorant management types into buying old hosting services with a new fancy name.
Almost all cloud-services are actually mainframe-services with a new name and less security. So read the same articles again and replace "mainframe" with cloud, and "personal computer" with internal IT.
IT may have rules and procedures in place for stupid reasons, and all too often those rules are followed in a passive aggressive manner, because management does not trust their own employees as much as they trust outsiders, and has forced stupid rules on IT and denied them a budget of their own.
There fixed that for you. As a developer, I probably fight more against IT every day than most other employees, but IT departments are a product of the company environment. They ignore new issues because taking on more responsibility is not something they are paid extra for, and more often than not, they are punished for being helpful when their other projects slip. Punish people for being helpful often enough, and they will stop helping.
Sol is Latin for sun. Just like Earth is called The Earth, Sun is called The Sun. Very clever naming huh?
EU tried that. It completely destroyed the local economies when Europe gave such huge annual quantities of food. Giving out food ended up causing more hunger crises than it solved because the recipient countries stopped producing food. This is why this type of charity is now reduced to limited time, and only during extraordinary circumstances.
I think pretty much all EU have similar laws (except volunteer work does not need to be registered, what is up with that??). The only unpaid internship I have heard of in the EU are interns on embassies and other diplomatic entities, and they are outside the normal legal system.
Not nearly as big a problem as with verbal contracts.
Yes, verbally agreeing is also legally binding contract. It is just harder to prove which is why people making contracts prefer something that is harder to run away from, but legally there is nothing magic about a signature or a fax.
Do you know what slave labor is?? Apparently not!
If you think slaves are chained and works in mines, I guess you think pirates wear an eyepatch and parrot?
That fact that you do not understand history is sickening.
Try looking up servitude. Serfs, peons, slaves.. It is all the same thing, and contract law outlaw selling yourself exactly to avoid people selling themselves into slavery.
I have only ever seen internships for IT in the US. A Google researcher holding a lecture at Copenhagen University managed to insult all students in the audience by suggesting they should apply for internships at Google. Why on Earth would anyone with a useful degree ever apply to be an intern, paid or unpaid? If you want an academic career you need a Ph.D. not internship, and if your want a development career, you need a job with a proper title to put on the C.V.
We do have unpaid internships in Europe, but only for people who wants to be diplomats, but diplomacy is only for rich people anyway.
You can get some special pain-killers that work in under 15 minutes. The only problem is that cluster headaches comes in clusters several years apart, so getting your hand on the right medication when the first headache strikes again is difficult. Not sure how LSD would help except being cheaper (anti-CH pills are insanely expensive).
Plugins are usually not libraries, so non-GPL code is possible, but it is a lot harder to distribute (think different architectures, etc.), and doesn't actually help protect the key, it just obscures it slightly more.
Interesting. I read the same from some of the other comments and realised I might be wrong. Funny, I usually bash people when they refer to 'static' without qualifying which 'static' definition, but I forgot 'const' is also somewhat different depending on context.
I can defend my point for most other uses of 'const', but the truth is; this was about global 'const', and I was wrong. Thank you. ;)
Speaking as someone who works on a C++ compiler, you are entirely wrong about me being entirely wrong ;)
Then again we might both be right or wrong depending on what is defined or undefined behaviour. Const-cast is a standard cast, I admit I haven't checked in the spec and never worked on that part, but I would be surprised if a well-defined part of C++ would cause undefined behaviour when used for its intended purpose.
Thanks, I thought I had heard talk of making this more accessible. Amazingly how many people are objecting to the fact that it is necessary.
Does constexp also force (or compiler-time assert) all right-hand expressions to be constexpr?
I understand all if it. I don't think you understand how const is defined in C++. Static here btw, just means the value is not exported (or if in a class, exported as a class member).
static const int SOME_BINARY_FLAG = 0xff00ff;
void main() { // oops!
const int *a = &SOME_BINARY_FLAG;
int *b = const_cast<int*>(a);
*b = 0xdead;
}
And that is just the polite 'clean' way of doing it..
Before you object that this is not the same as a "true" lambda expression, let me just point out, that this what a "true" lambda expression does behind the scene. Compiled there is little or no difference, though native lambda expressions would have better type-casting and type-safety. It is hard to simulate a good type-system using C++ classes.
struct Lambda {
int arg1, arg2;
Lambda(int arg1, int arg2) : arg1(arg1), arg2(arg2) {};
int operator() const { return arg1 + arg2; }
}
int main() { // c = a +b
Lambda f(a,b);
int c = f();
}
Nope, that is why we have namespaces and the real name is std::string.
Qt:
foreach(QObject *qo, qlist) {
awesomeStuff(qo);
}
Let me correct that immediately, I think my choice of words confused the problem. The problem is not that it 'consumes' memory, the problem is that it _is_ in memory. This triggers memory-aliasing and means the constant is not truly constant, and the compiler can not optimize any expressions using such a constant. Any expression using such a constant _has_ to load the constant from memory in case the constant was changed.
It consumes memory, use #define or enum instead, or wait for C++ to standardize compile-time or interface constants.
C++ have had lambda expressions for more than a decade, they were just really inconvenient to declare and use. Now it is easier.
What if you walked up, knocked the plywood out of the way, and did NOT take the cash, but just leave it as vulnerable to other criminals to take as it had been all along.. I means just for the lulz of it?
Strawman? Do you even know what that means??
He is right though, the climate models all take changes in solar activity into account. Just like they take many other effects into account as well for more accuracy.
Solar activity does fit pretty well with a lot of changes the last century when greenhouse-gasses while rising was still at low levels. Not 100% though, volcanic activity has also shaped the global mean-temperature the last century, and greenhouses gasses if counted in makes the models even more accurate.
It is certainly possible, but it is rarely actually DONE... Most research in these fields needs to rely on small or inherently biased samples. They could do it scientifically, but there is no tradition for it, and practical, economic and social reasons makes it much harder to perform large scale experiments on humans than on rats or rocks.
An "external cloud" even by a big brand-name provider is not a cloud either. It's a re-appropriation of jargon in an attempt to steer ignorant management types into buying old hosting services with a new fancy name.
Almost all cloud-services are actually mainframe-services with a new name and less security. So read the same articles again and replace "mainframe" with cloud, and "personal computer" with internal IT.
There fixed that for you. As a developer, I probably fight more against IT every day than most other employees, but IT departments are a product of the company environment. They ignore new issues because taking on more responsibility is not something they are paid extra for, and more often than not, they are punished for being helpful when their other projects slip. Punish people for being helpful often enough, and they will stop helping.
You mean like in the connected aquariums simulators? What is up with space-themed aquariums anyway?