@RMartinhoFernandes That's what happened to me. I can theoretically have all the windows I can handle (company licenses) but I'm too darn lazy to even get that figured out. I ended up googling an XP key the last time around :)
@RMartinhoFernandes I concur: it is needed way too often. I don't care whether that means that dvblink or MediaCenter aren't programmed well. It just means that should have made sure the thing always operates with the keyboard, correctly, and doesn't interfere with fullscreen programs badly etc.
@RMartinhoFernandes On Vista I had to constantly disable it because 'yes' just didn't work. It would just open up a new UAC dialog. Especially common when installing DLLs or having files locked despite not being in use.
The flexibility of sudo is widely under-estimated. This leads to very poor practices (like the sudo su - canon-ball surgery method).
A much better method is to specificly allow the commands you intend to allow without use of a password:
phill = NOPASSWD: /bin/ls, /usr/bin/lprm
You can optio...
It's funny how people always call Windows an insecure OS, despite going to great lengths to disable or override every single security mechanism built into it
@ScottW Oh, I hate it, but you won't find me turning it off. It would be a hell of a relief if I could find a way to make some applications start without prompt.
@jalf I would agree. But AFAICT, I cannot even restart a service without UAC prompt. Is there a way to tell windows that it is alright for anyone to restart my own freakin' service?
anyway, isn't the point in services is that they usually run under a different user account and are not part of your specific user session? Then restarting them without an UAC prompt does sem a bit fishy, doesn't it?
> When you are logged on to Windows with a standard account, you can do almost anything that you can do with an administrator account, but if you want to do something that affects other users of the computer, such as installing software or changing security settings, Windows might ask you to provide a password for an administrator account.
So, it just makes UAC prompts prompt for the damn password.
if an expression initially has type "int&&", then it is adjusted to be of type "int" prior to any further analysis. if all that is complete, then the expression has type "int".
C++0x (Source: Iterator Invalidation Rules (C++0x))
Insertion
Sequence containers
vector: all iterators and references before the point of insertion are unaffected, unless the new container size is greater than the previous capacity (in which case all iterators and references are invalidate...
of course if you pick a point prior to the analysis of an expression, then you get to a point where the "expression" still has type "int&&". but that is not a real expression because some rules were not yet applied to it.
if you say decltype((f)) then it inspects the expression, but it does not yield the bare type of the expression. it adds a "&&" if it is an xvalue, and an "&" if it is an lvalue.
so to get the type of an expression, "decltype" can only be used if it is followed by a "remove_reference"
but current implementations solve that problem by interpreting the standard slightly differently, and instead yield the declared type of the object in such cases, instead of the actual type of the object