Is there a way to view or log what applications have been opening windows in my system? I have Windows 10.  My reason for wanting to do this is that I have a really annoying issue where every hour something on my system opens a command prompt window and then immediately closes it. I've scanned with Malwarebytes and it hasn't turned up anything. I've also turned on history in Task Scheduler, but no task's run time corresponds with when it happens. I'm hoping to log all the times windows are opened to figure out what is causing this.
I'm wondering if there's any log which stores information about a particular program such as when the program has started and closed manually on Windows such as MS Word, or Chrome. Any ideas?
Is it allowed/desirable to post code snippets? Instead of asking a question I would love to share the one or other code snippet I have created that is too small to make a full article on e.g. CodeProject.com or CodePlex.com.  Question: Would it be a good idea to post it as a Stack Overflow question? Or are there any other suggestions how to share it?  (Of course I could post it on my own weblog and then twitter about it, but I would love to put it in more of a programming context) How to get keycodes for xmodmap? I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes.  For instance, using xev doesn't give me keycode for Alt   FocusOut event, serial 36, synthetic NO, window 0x4a00001,     mode NotifyGrab, detail NotifyAncestor  FocusIn event, serial 36, synthetic NO, window 0x4a00001,     mode NotifyUngrab, detail NotifyAncestor  KeymapNotify event, serial 36, synthetic NO, window 0x0,     keys:  122 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0      For Right Super key, xev and showkey give different keycodes -- 134 and 126 respectively.  What's going on with these keycodes?  I tried getting keycodes from showkey -k, and using xmodmap file below, but that gave a weird map which remapped b key:  clear Mod1 clear Control keycode 125 = Meta_L keycode 126 = Meta_R keycode 58 = Control_L keycode 56 = Control_L keycode 100 = Control_R add Control = Control_L Control_R add Mod1 = Meta_L Meta_R How can I simulate OO-style polymorphism in C? Is there a way to write OO-like code in the C programming language?    See also:       Found by searching on "[c] oo". Novel about interstellar war: Both sides win, both sides think they lost I recall reading this novel in the &rsquo;90s; my recollection is that the author was better-known for bad fantasy than for SF (but the SF of his that I&rsquo;d read was better than his fantasy).  The story opened in media res just before a battle was joined; there is a dialogue between the captain of one of the ships and one of his crew. We never see the actual battle; we instead see the conquest of Earth by the aliens - and the conquest of the alien homeworld by Earth.  It is slowly revealed that the two sides contrived a way to both avoid the destruction of actual war, and solve their respective worlds&rsquo; respective problems of overpopulation, infrastructure decay, et multae ceterae. We also see that the solution was that the conquering aliens were secretly selecting Earthmen to rule their homeworld, while the humans were selecting aliens to rule Earth.  About halfway through, there is suddenly a third world that must be &lsquo;conquered&rsquo; and brought into the network. The plot gets complicated after that. The most efficient way to implement an integer based power function pow(int, int) Chain skip happening seemingly at random with a new chain Is it possible to have several different views of one scene and set them as named "presets"? Removing intercept from GLM for multiple factorial predictors only works for first factor in model I am running a binomial logistic regression with a logit link function in R. My response is factorial [0/1] and I have two multilevel factorial predictors - let's call them $a$ and $b$ where $a$ has 4 factor levels  $(a_1,a_2,a_3,a_4)$ and $b$ has 9 factor levels $(b_1,b_2,\dotsc,b_9)$. Therefore:  mod &lt;- glm(y ~ a + b, family = binomial(logit), data=pretend) summary(mod)   The model output would then show all the information about the model as well as the coefficients.  There is a factor level for both a and b missing (a1 and b1) from the summary output. I understand that it is constrained in the "intercept" of the model. I have read that if I want to remove the intercept term and see the estimates for those factor levels I can just add -1 to the model formula, i.e.:  mod2 &lt;- glm(y ~ a + b - 1, family=binomial(logit), data=pretend) summary(mod2)   In the new model (mod2) the intercept term is then gone and variable a's factor-level a1 is given amongst the list of coefficients. But, variable b's factor-level b1 is still missing and given that there is no intercept term anymore, how can I interpret the odds-ratio for that factor level then?  Could someone please explain to me how to get the coefficient for b1 too and why this is happening? How to determine equality for two JavaScript objects? Can't get armature to move mesh! I am trying to get an armature to move one limb on a deer I have made. Here is my design process!   I made the body and limbs as separate meshes. I wasn't sure how to create limbs out of the body of the mesh and make them look good. I tried joining  the meshes, creating the armature and setting automatic weights and then moving the armature in pose mode. The mesh would not move with the armature I thought maybe it was because many vertices between the mesh and the limb were crossing so I thought maybe that was why the armature was not moving the limbs I used the cut tool to remove the intersecting mesh on the limb and the body so that there were no intersecting vertices.  I then joined this set of meshes and created a new armature, set the weights to automatic and tried to move the mesh in pose mode and it still won't work.    What should I do? I don't know what else to try. I have been following any other online instructions exactly.  File Link: Sci-Fi book female fighter pilot All I remember about the book is that the protagonist was a human female fighter pilot, she has short hair, not sure if it was blond or auburn and she was involved in making peace with the alien race.  The alien race was invading Earth, but because of her they stopped, surrendered and because of her helped Earth improve its technology. I remember that she melded with something and was starting to sort of think like them and lose a bit of her humanity.  It was set in the not too distant future. I believe I read it in the 90s. If I change the ISO settings on my camera, obviously the gain of the system is increased, amplifying the signal from the sensor. What's not clear to me is where the amplification takes place. I see several possibilities:   In the sensor, by increasing voltage or some other mechanism Via an analog amplifier outside of the sensor Digitally, after the signal has been digitized, but before storing data in the RAW file As a parameter applied solely in creating an image from RAW   If #4 is true, then you could take a 4-stop overexposed RAW picture at ISO 1600, and then in post processing produce a JPEG at ISO 100 that would be the same as if the original photo had been shot at ISO 100.  If #1 or #2 is true, then a RAW file shot at ISO 1600 would actually contain more information about shadows, and an ISO 100 RAW would contain more information about highlights. How can I solve this quantum mechanical "paradox"? Let a (free) particle move in $[0,a]$ with cyclic boundary condition $\psi(0)=\psi(a)$. The solution of the Schrödinger-equation can be put in the form of a plane wave. In this state the standard deviation of momentum is $0$, but $\sigma_x$ must be finite. So we find that $\sigma_x\sigma_p=0$. Is something wrong with the uncertainty principle? grep a file, but show several surrounding lines? If I'm standing at the equator, jump, and land 1 second later, the  Earth does NOT move 1000mph (or .28 miles per second) relative to me,  since my velocity while jumping is also 1000mph.   However, the Earth is moving in a circle (albeit a very large one),  while I, while jumping, am moving in a straight line.   How much do I move relative to my starting point because of this? I  realize it will be a miniscule amount, and not noticeable in practise,  but I'd be interested in the theoretical answer. Reasons to use opamp How can the backtick character ` be included in code? I tried before to post a shell script that contained a ` character as an answer on Stack Overflow. The parser insisted on treating the backtick as formatting instead of part of code.  How can I include it? Ubuntu 16.04 LTS Virtualbox 5.0.40 ubuntu r 115130  Today after upgrading to kernel 4.13.0-26 guest vbox machines started to crash whole ubuntu. just hard poweroff is working.  If I startup with kernel 4.10.0-42 everything works fine.  what may be the problem ? Fundamental question about dimensional analysis What is the Coandă effect? How is it defined, and what causes it? Can anybody explain to me the  well? I am finding that many definitions and explanations conflict.  I am particularly confused about the following points regarding the Coandă effect:   whether the Coandă effect is the same as normal boundary layer attachment to a surface whether the Coandă effect is only defined for convex surfaces over which a jet (of the same state as the surrounding fluid) is tangentially blown what causes the Coandă effect: the jet entraining the ambient fluid or a balance of pressure and centrifugal forces, or something else?