In Windows 7, is it possible to somehow prevent an already-running process from consuming more than a given amount of memory? Microsoft's , as far as I can tell, only allows manipulation of processes launched through it, so it's not helpful in the case of a process that's already been started.
I am running the latest version of X3 Terran Conflict (3.1) and after about 30 min - 1 hour it's memory usage goes well above 2 GB.  I only have 4 GB of ram, running Windows 7 64 bit.  As a result of X3 using more ram than is available, my hard drive starts paging and makes the game and other applications become unusable.  I have to restart the game.  Is anyone aware of this issue or how to fix it and is there any way in Windows or through some tool, to limit how much memory is given to the game?  Is this a bug in the game? Can this even be fixed?  I'm using some mods but I doubt any of them are causing this as they are simple mods like adding a tractor beam etc.
Other than looking at the profile, is there a way to find out someone's real name? A user on SO, Abhijit, referred to the OP of a question, acpigeon, as "he" (and then Aaron) .  I didn't see the name on the question page, nor on . Is there a way to look this up that I missed? Alternatives are Abhijit knows acpigeon, or maybe Abhijit was just making things up.  I'm still relatively new to these sites, so I'm still learning my way around. Is there a way short of the two alternatives above to know the OP's name? If so, how? Folders Completely Hidden Except via Save As I'm using an audio program called Supercollider on Windows 10. I have saved some files in a folder called "tunes" from SC via Save As, but Windows Explorer and CMD both seem unable to recognise access or recognise the "tunes" folder.  C:\Users\HP&gt;cd "C:\Program Files (x86)\SuperCollider-3.7.2\supercollider-robin\tunes" The system cannot find the path specified.  C:\Program Files (x86)\SuperCollider-3.7.2\supercollider-robin&gt;dir/a doesn't show it either.  However, when saving from SC with Save As, it's there clear as day. I can even shift+right-click to get the path: "C:\Program Files (x86)\SuperCollider-3.7.2\supercollider-robin\tunes"  This makes no sense to me. Can anyone explain and tell me how to access my folder tunes folder please? datetime conversion to CDT Can anyone please help me how to convert the given time into CST timezone.  Input timezone will change dynamically, so i want to convert the given timzone into CST and then need to get the hour from that CST timezone in apex. Finding an expression for $\tan (a+ b + y)$ which involves only $\tan a, \tan b,$ and $\tan y$. How to find this ?   I'm stuck at $1$ and how to $1$ to change the tangent associated with a,b or c.  I meant this ,everybody.  $\frac{tan(a)+tan(b)+tan(y)−tan(a)tan(b)tan(y)}{1−tan(a)tan(b)−tan(a)tan(y)−tan(b)tan(y)}$ How can I replace Windows with Ubuntu? My laptop is filled with viruses and Windows XP is just becoming impossible to work with.   I've been interested in Ubuntu for a while, so, would I be able to use something like Debian to clear my HDD and OS and then install Ubuntu and start fresh? Evaluating limit (iterated sine function) The limit is   $$\lim_{x\rightarrow0} \frac{x-\sin_n(x)}{x^3},$$  where $\sin_n(x)$ is the $\sin(x)$ function composed with itself $n$ times:  $$\sin_n(x) = \sin(\sin(\dots \sin(x)))$$  For $n=1$ the limit is $\frac{1}{6}$, $n=2$, the limit is $\frac{1}{3}$ and so on.  Can we define a recurrent relation upon that given hypothesis? Also, how do I involve $n$ into calculation, because the final limit will depend on it?  Any suggestions on how to tackle this?  Thank you! operators as strings I need to evaluate a mathmatical expression that is presented to me as a string in C#.  Example noddy but gets the point across that the string as the expression.  I need the evaluate to then populate an int.  There is no Eval() in C# like in others langugaes...  String myString = "3*4";   Edit:  I am on VS2008   Tried the Microsoft.JScript. = Its deprecated method (but still complies - warning)  However the Microsoft.JScript dll that I have doens work on      public object InvokeMember(string   name, BindingFlags invokeAttr, Binder   binder, object target, object[] args);   Complains that there is a missing ";"  go figure...  EDIT 2  Solution - was the codeDom one - it worked for as there are no security issue - only me ever going to be running the code.  Many thanks for the replies ...  And the link to the new Dragon Book  awesome   EDIT 3  Matt dataTable.Compute() also works - even better for the security conscious.  (parameter checking noted) Why can't I change directories using "cd" in a script? I'm trying to write a small script to change the current directory to my project directory:  #!/bin/bash cd /home/tree/projects/java   I saved this file as proj, added execute permission with chmod, and copied it to /usr/bin. When I call it by: proj, it does nothing. What am I doing wrong? How do I recreate this color overlay layer effect in Photoshop? I would like to use the overlay effect used on the screenshot(s) below.    I've tried experimenting with several Blending modes but keep missing the mark. I'm sure this has a very easy answer but I'm having trouble recreating the effect on my own.  Here are a few more images for further context:        Thanks in advance for your help. How to shut down Ubuntu 11.10 host from within a Windows 7 VirtualBox guest? I have a laptop which is connected to the internet with ADSL modem, and I would like to share the internet for any laptop connecting to wireless router from my laptop using hotspot.  This is what I want:  ┌────────────────────┐ │ ADSL modem         │ └───┬────────────────┘     │ ┌───┴───────────────────────┐ │ laptop's wired adaptor    │ │                           │ │ Hotspot software          │ │                           │ │ laptop's wireless adaptor │ └───┬───────────────────────┘     │ ┌───┴──────────────────────┐ │ wireless router(linksys) │ └───┬──────────────────────┘     │ ┌───┴─────────────────────────────┐ │ Laptop computers and cellphones │ └─────────────────────────────────┘   How can I do that? As a new DM I'm still learning how to control the monsters in a battle. A situation came up last game and although it was fine and fun, I wonder if there are better strategies for a DM to avoid a bottleneck in a doorway.  Scenario: PCs were up against a door deciding whether they should go in. Hobgoblins on the other side of the door open it and an encounter ensues. However, the encounter is basically the PC at the door trading blows with the NPC at the door, while their respective allies in the back try to shoot over their friends' heads. Although you can move through an ally's space, you can't occupy an ally's square. This leads me to assume that you can't move in to an ally's square, attack from it, and move back out of the square (though please correct me if I'm wrong).  This scenario and understanding of the rules brings me to my question.  What tactics can a DM use in a combat scenario like the one above to make sure that the NPCs are all contributing to the battle? Especially if they have no ranged weapons, is there a way that they can all try to attack? Advice/literature on combining items with different response scales into composite scales? Let's say I have some self-report items measured on a 5-point Likert scale (Strongly Disagree to Strongly Agree) and other items measured on a 4-point Likert scale (Never, Rarely, Sometimes, Often). Can anyone point me to literature (or practical advice) on combining these items into a composite scale? Let's assume for the sake of argument that we have some empirical evidence that items should be combined.  Some ideas:  1. Sum raw scores  Pro: Easy  Con: Max responses on the 5-point scale (originally 4's) drive up the total scale score more than max responses on the 4-point scale (originally 3's).  2. Rescale and sum  Put all of the items on a 0-1 scale and sum. So the 4-point items (0,1,2,3) would be multiplied by (4/3)/4 and the 5-point items (0,1,2,3,4) would be multiplied by 1/4, resulting in possible values of (0,.33,.66,1) and (0,.25,.50,.75,1), respectively. This way max responses on the 5-point scale (originally 4's) would not drive up the total scale score more than max responses on the 4-point scale (originally 3's).   Pro: Items would have equal weighting. (could be a con, depending on your perspective).  Con: Ignores differences in variability between items on different metrics?   3. Standardize and sum  A related approach would be to standardize all of the items (z score) and then sum.  Pro: Addresses differences in variability between items on different metrics  Con: Total scale score becomes less interpretable and sample-specific. The latter makes it hard to benchmark as a measure to be used in other settings/other samples.  4. PCA or other data reduction   4a. EFA to get factor loadings. Multiply scaled items by factor loadings.  4b. PCA to get score of first principal component.  Pro: Items weighted by influence.  Con: Same as #2. EFA-derived scores could vary a lot depending on rotation/extraction choices. Some would not advise on ordinal data.    Overall: I like #2 because it seems easier to compare results across different samples. Thoughts? Alternative ideas or concerns about the ideas presented? The series $\sum_{n=2}^{\infty }\frac{1}{\log (n!)}$ I'm trying to find out whether this Series $\sum_{n=2}^{\infty } a_{n}$ converges or not when $$a_{n}=\frac{1}{\log (n!)}$$  I tried couple of methods, among them: d'Alembert $\frac{a_{n+1}}{a_{n}}$,   Cauchy condensation test $\sum_{n=2}^{\infty } 2^{n}a_{2^n}$, and they both didn't work for me.  Edit: I can't use stirling, and integral.  Thank you How do I batch convert many Word documents and have them saved as [originalfilename].pdf? What does a two overlapping circles symbol mean in an electrical schematic/diagram? The reciprocal of many prime numbers p in base 10 have a set of repeating digits p-1. Why? I've noticed that the reciprocal of many prime numbers have a curious number of digits. For example. 1/7 has 6 repeating digits, 1/17 has 16 repeating digits, and 1/47 has 46. There's a rule here that makes this pattern, and I haven't quite figured it out. Does anyone have some insight on this?  There are a few other numbers that follow the pattern subversively. For example, 1/3 has two repeating digits: 33. 1/11 has ten repeating digits: 0909090909. The number 1/13 has a set of six that repeats twice, which makes a set that's 12 digits long.  For reference, here is a website that lists reciprocals of numbers 2 through 70, including non-primes.   The ones that break the rule are 1/2 and 1/5, but they seem to be a matched pair, where the 2 and 5 switch places in the equation 1/X = Y/10  What is the rule that makes this pattern? I'm very curious. How can I invest in country A to take advantage of their great interest rate while I live in country B? If I live in the US, for example, where current interest rates are practically nil, how can I take advantage of the fact that ? Moving files of specific type/extension from one directory to another? how to not commence a command depending on player health?