Explanation of top (CPU usage)
Can anyone explain precisely what IOWait is?
How to properly write multiple authors in bibtex file? .NET create scheduled task on server fails with E_ACCESSDENIED I have an ASP.NET website (in C#) that takes in user data and then attempts to create a windows scheduled task.  Of course, this works great on the DEV machine, but fails to run on the server.  I'm trying to figure out what permission(s) are required on the ASPNET user (or anonymous web user) to create tasks.  The error is:  Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))  Stacktrace:      at MyScheduler.NewWorkItem(String TaskName, Guid&amp; rclsid, Guid&amp; riid, Object&amp; obj)      at MyScheduler.CreateTask(String name)   I've done some searching, and the suggested resolution is to use the web.config 'impersonate' flag to force the application to run as a user with sufficient permissions, as opposed to the ASPNET account which may not have those permissions.  Example:  &lt;system.web&gt;     &lt;identity impersonate="true" /&gt; &lt;/system.web&gt;    Unfortunately, this does not seem to resolve the issue.  From the documentation I read, this should run as the anonymous web user, but it seems that user does not have enough permissions.  I altered the setting to specify a specific domain user that happens to be an administrator on the machine.  Example:  &lt;system.web&gt;     &lt;identity impersonate="true" userName="WindowsDomain\YourUserName" password="YourPassword" /&gt; &lt;/system.web&gt;    Doing this allowed the application to successfully create the Windows Scheduled Task.  So, obviously, with the correct set of Windows 2003 permissions I can get the app to perform as it does in the development environment.  However, I'm not about to place the network or machine administrator account's user credentials in plain text on a Web.config file.  Does anybody happen to know what permissions exactly need to be set in order to get the ASPNET account to behave as desired?  EDIT:  The Win32 API is being used to create scheduled tasks. What will reduce my rendertime? What would reduce the render time? Should I get a better GPU or more RAM? Proof that total derivative is the only function that can be added to Lagrangian without changing the EOM So I was reading this:  and while the answers for the first question are good, nobody gave much attention to the second one. In fact, people only said that it can be proved without giving any proof or any.  So, if I have a Lagrangian and ADD an arbitrary function of $\dot{q}$, $q$ and $t$ in such a way that the equations of motion are the same, does this extra function MUST be a total time derivative?   EDIT Ok, I changed my question a little bit:  Question: If I have a function that obeys the Euler-Lagrange equation off-shell, this implies that my function is a time derivative? (This was used in Qmechanic's answer of this other question: , equation 14.)  Also, why people only talk about things that change the Lagrangian only by a total derivative? If this is not always the case that keeps the equation of motion the same, so why is it so important? And why in the two questions I posted about the same statement on Landau&amp;Lifshitz's mechanics book only consider this kind of change in the Lagrangian? NHibernate Get objects without proxy What is the correct (most efficient) way to define the main() function in C and C++ — int main() or void main() — and why? And how about the arguments? If int main() then return 1 or return 0?  There are numerous duplicates of this question, including:       — For C++, with a very good answer indeed.     Related: Finding the maximum value of $\int_0^1 f^3(x)dx$ Find the maximum value of $\int_0^1 f^3(x)dx$ given that $-1 \le f(x) \le 1$ and $\int_0^1 f(x)dx = 0$   I could not find a way to solve this problem. I tried to use the cauchy-schwarz inequality but could not proceed further  $$\int_0^1 f(x) \cdot f^2(x) dx \le \sqrt{\left(\int_0^1f^4(x)dx\right) \left( \int_0^1 f^2(x) dx\right)}$$  Any hints/solutions are appreciated. How to restore the down arrow icon on the Downloads folder in the home directory? I removed the original Downloads folder in the home directory and created a new one with the same name, but the down arrow icon on the new Download folder now disappeared. Could someone please tell me how to restore that icon?   In addition, from the image above we see "Downloads" disappears also in "Places" category in the left panel. I think it should be there originally. If after restoring the down arrow icon, the "Downloads" is still not in "Places" category, I would also like to ask you to help me put "Downloads" back to "Places". Thank you.  PS: I am not using any theme. Windows License stored in UEFI/BIOS Since Windows 10 (or earlier?). It has become standard to store the license product key in the UEFI/BIOS.  I am in the market for buying a new (custom build, individual parts) PC with a new Windows 10 License.  However I was wondering (and can't find clear information on this subject). What the differences between the licenses are when it comes to OEM and Retail.  If in the far future I were to sell this PC:   Would the license (whether OEM or Retail), be stored in the UEFI/BIOS, where it could be used by the new owner? If so, can I remove the license key from the UEFI/BIOS?   I want to know this because I don't want to buy Windows 10 every single time I buy a new PC (since no new versions of Windows will be created, only updates). How to perform a full system dump/backup with a broken screen? So, yesterday my phone took a serious tumble.  It is now essentially useless, as the screen either fails to turn on, or when it does, there is nothing useful to see (just lines of primary colors, mostly).  I believe (from the fact that it still chirps at me when emails come in, etc), that the phone is still functional, otherwise.  I would like to perform a full system dump, so that I can get off any files from the phone (a TMobile SGS2 (hercules) running slimrom 4.3 build 1).  The sdcard probably isn't important, as I can just pull it, but the phone's own internal storage I should like to get a copy of.  When I plug the phone into a usb port, it 'mounts' the usb via MTP, and I can see all the files.  Unfortunately, when I do a select all | copy | paste operation, the paste op dies before transferring all files.  I've tried a couple other ADB shell operations, in hope of flipping regular USB mounting on, but nothing has worked.  Any ideas how I can get a full dump of my poor phone's contents?  Edit  Currently running a adb pull /sdcard/ ... Its copying files presently, but its too early to tell if its going to get evertying I'm expecting.  Edit #2  looks like its going to work...its taking a rather long time, but it appears to be grabbing everything I was expecting it to. Can there be two winners at the same time in Catan? Imagine the following setup:    Player A has 6 points, including the Longest Road. Player B has 8 points with an equally long road. Player C has 9 points with a shorter road.    Now what would happen if Player C places a village, breaking Player A's road chain? At that moment Player A would have 4 points, while both Player B and Player C would have 10.   In this case, who would be declared the victor? I recently installed the apache2 package using the Software Centre, I want to create an alias apacheres which will replace the more cumbersome command /etc/init.d/apache2 restart.  I opened the .bashrc file in my home directory, and it contains the following lines:  # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package.  if [ -f ~/.bash_aliases ]; then     . ~/.bash_aliases fi   So I created a .bash_aliases file in my home directory, and added only this line:  alias apacheres ='/etc/init.d/apache2 restart'  When I started my terminal, I get this error message:  bash: alias: apacheres: not found bash: alias: =/etc/init.d/apache2 restart: not found   The shell has obviously read the file, otherwise it wouldn't know of its existence. I have checked the directory path and I can find the file apache2 there. What do I need to do to make this alias work? Proving a trig identity: $\frac{\sin(A + B)}{\sin(A - B)}=\frac{\tan A + \tan B}{\tan A - \tan B}$ Expressing $1.24\overline{123}=1.24\;123\;123\;123\;\ldots$ as the ratio of two integers How do I share internet with Windows from my Linux box? I have a Linux (Ubuntu 12.04) PC connected to the internet with a Greenpacket WiMax USB modem. I want to share the Internet connection with another computer running Windows 7 Home Premium, connected to the Linux PC over a LAN. Is this possible? How? Is the reverse possible instead (connecting the internet to the Windows computer and sharing it with Linux)? What is the difference between 'can', 'could', 'may' and 'might'? I'm a native English speaker and I've been doing some research into English grammar for a programme I'm working on. However, on looking into modal verbs, I've only just come to appreciate how subtle and complicated they are.  What is the difference between these sentences? What possible different response might one have to each?        I can go to the cinema tonight.   I could go to the cinema tonight.   I may go to the cinema tonight.   I might go to the cinema tonight.      Granted, the first of these looks more like a statement of ability or possibility than the three that follow. But in what ways does it differ from the others, since all suggest ability and possibility? And crucially, what distinguishes the other three.  Perhaps it's a matter of tone, of context, of the speaker... The question may appear quite simple but I haven't found a satisfactory answer elsewhere.    looked quite useful in that it covered levels of confidence and certainty but it was talking about the potential state of something rather than the possibility for the person who is speaking. Are there any differences in that sense?   looked at these verbs used in question form (e.g., differences between 'Can I...?' and 'May I...?') but I'm not so interested in that for now.  Any thoughts appreciated. Iterate a list as pair (current, next) in Python Radiation– white vs black house, hot or cool? How to connect RDS from a different account with allowed IP in AWS? I just checked my server's /var/log/auth.log and found that I'm getting over 500 failed password/break-in attempt notifications per day! My site is small, and its URL is obscure. Is this normal? Should I be taking any measures?