Shell script runs two functions as child processes (via &amp;). Both of them went to sleep (via sleep command).  Is it possible to wake them?  I have their pids.  P.s.  I don't want to run sleep with &amp; and wait
In the bash terminal I can hit Control+Z to suspend any running process... then I can type fg to resume the process.  Is it possible to suspend a process if I only have it's PID? And if so, what command should I use?  I'm looking for something like:  suspend-process $PID_OF_PROCESS   and then to resume it with  resume-process $PID_OF_PROCESS
How to use AT commands in Android by 'root' the phone We have various Android devices from Spike, Samsung, Micromax, etc. How can we issue AT commands from Android to the modem? We searched in Google Play but did not find any app related to this.   suggests:     [F]irst you have to root the phone...`    How can we do this? What is accountsd and why does it want to use the "login" keychain? In natural language parsing, what is the feature function? I'm working in the area of natural language processing, to be specific I'm reviewing the parsers that take advantage of data-mining techniques.   I've read an introduction to natural language processing, specifically the  by Della Pietra and others. In that paper, the authors explain that features are indicator functions that take into account certain aspects of the text. The problem is that this aspects affect the maximum entropy function.  In the case of parsing, I have problems understanding the concept of features. For parsing one must have:   Two sets, $X$ for the sentences and $Y$ for the parses For each sentence $x \in X$, one must have the N-best list of candidate parses; denoted $GEN(x) \subset Y$. Training samples $(x_j,y_j)$. The $x_j$ are sentences and the $y_j$ are parses. And a feature mapping $\Phi(X,Y)$ that maps each pair (x,y) to a vector of feature values.   The problem of parsing will consist of finding the weight vector such that the following expression is minimized  $$ -\sum log P(y_j|x_j,w) + \lambda ||w||_1 $$  where   $$ P(y_j|x_j,w) = \frac{exp \{w^T \Phi(x_j,y_j)\}   }{ \sum_{u \in GEN(x)} exp\{ w^T\Phi(x_j,u) \}  } $$  My question is, what are the features in this case? Some codified version of the parsing tree? Are the features a statistical concept?  I will also appreciate any bibliography that can be useful in tackling this issue.  UPDATE: I've talked to a professor and he had just told me that the features are obtained after doing a classification algorithm based on the parse-tree. Do you know what kind of classification is done with the parse tree? How to adopt SD card as internal storage on Samsung devices? I am faced with the following problem: Servers get saturated since current load balancing strategy is based on client IP. Some corporate clients access our servers from behind large proxies so all clients appear with same IP to our load balancer. I think we are using some hardware load balancing device (can investigate further if necessary). We need to maintain session affinity (site is constructed in ASP), so all requests with same IP get routed to the same node.  Since all the communication goes over the HTTPS, no request data (like session Id) is available to balancer as a client discriminator. Is there a way to use some other data besides the IP to distinguish between clients and route the clients even when coming from same IP to different nodes?  Note: I need to maintain the traffic between the balancer and nodes safe (encrypted). Select values that meet different conditions on different rows? This is a very basic query I can't figure out....  Let's say I have a two column table like this:  userid  |  roleid --------|--------    1    |    1    1    |    2    1    |    3    2    |    1   I want to get all distinct userids that have roleids 1, 2 AND 3.  Using the above example, the only result I want returned is userid 1.  How do I do this? Showing that the orthogonal projection in a Hilbert space is compact iff the subspace is finite dimensional Suppose that we have a Hilbert Space $H$ and $M$ is a closed subspace of $H$. Let $T\colon H\rightarrow M$ be the orthogonal projection onto $M$.   I have to show that $T$ is compact iff $M$ is finite dimensional.  So if we assume that $M$ is finite dimensional then $\overline{T(B(0,1))}$ is a closed bounded set in a finite dim vector normed space and so it is compact. Which gives that $T$ is compact.  But I am unsure how to prove that if $T$ is compact then $M$ is finite dimensional?  Thanks for any help Has a movie from a movie series ever been removed/retconned due to fan/general outcry? A petition to strike the events of  from the main Star Wars timeline that is going around online has made me wonder if there has ever been a retcon/removal of a movie from a movie series or just renunciation of a movie by those with creative control due to backlash, as opposed to the director(s) just deciding to go a new direction/starting fresh. Google just produces said petition when searching (please note this is not for or against Star Wars).  Addendum, by removal I am referring to the events in the movie no longer being recognized in the universe. How to create a Customized Ubuntu Server ISO? Could someone provide me with a good explanation of why $0^0=1$?  My train of thought:  $x&gt;0$  $0^x=0^{x-0}=0^x/0^0$, so  $0^0=0^x/0^x=\,?$  Possible answers:   $0^0\cdot0^x=1\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined   PS. I've read the  on mathforum.org, but it isn't clear to me. I want to make a JavaScript application that's not open source, and thus I wish to learn how to can obfuscate my JS code? Is this possible? I have a very simple component:  PushTopicTest.cmp &lt;aura:component implements="flexipage:availableForAllPageTypes" access="global"&gt;     &lt;lightning:empApi aura:id="empApi"/&gt;     &lt;aura:handler name="init" value="{!this}" action="{!c.onInit}"/&gt; &lt;/aura:component&gt;    PushTopicTestController.js ({     onInit: function(component, event, helper) {         var empApi = component.find("empApi");         empApi.setDebugFlag(true);         empApi.subscribe("/topic/AccountChanges?Id=0011t0000033C9QAAU", -1, function(message) {             console.log("Event Received : " + JSON.stringify(message));         });     } })   I also have PushTopic created like this:   What I am trying to do, is to only receive events for specific record Id. Based on documentation this should work: "/topic/AccountChanges?Id=0011t0000033C9QAAU", but it doesn't.   "/topic/AccountChanges" works though.  I've tried Id='0011t0000033C9QAAU' aswell, but no luck.  Do you know if it is possible at all? How can I use an array modifier to create individually manipulatable objects? I often use an array modifier (or two) to quickly create a grid of identical or symmetric objects, which can be really useful when modeling all sorts of man-made objects. Once I've made the grid, though, is there any way for me to make it so that each of the objects are individually manipulatable?  Simply applying the modifier does not seem to be the full answer, since it still only allows me to select the grid-of-objects as a whole in object mode. Is there any way to separate them so I work with them each individually? sed append after a line containing multiple unordered strings I'm trying to use sed to append appendstring after a line that contains both Hello and World.  Hello something here World World fsf Hello   This works if I do consider order:  sed -i '/Hello*World\|World*Hello/a appendstring' file   But if I have many strings to match and they are not in order, this is definitely not effective.  Then I tried solutions from another link which discussed deleting a line that contains both strings without considering their order.     However,  sed -i '/Hello/!b;/World/d' file   This does not even work for deletion.   The following one, also one of the answers to that question:  sed -i '/Hello/{/World/d}' file   works, so I tried to implement it to append. Using:  sed -i '/Hello/{/World/a} appendstring' file   But received error:  sed: -e expression #1, char 0: unmatched `{'   Update: The post in the link stated the solution with !b, and it was not working in cshell because of the exlamation mark, but it is working in sh and bash. And it can also be easily extended to inserting many lines when running sed inside a script and the appending a large paragraph.  sed -i '/Hello/!b; /World/a \ addline \ addanotherline ' file Can a concentration spell be cast without actually concentrating on it for an "instant" effect? The book says:     Concentration. Some spells require you to maintain concentration in order to keep   their magic active. If you lose concentration, such a spell ends.   So what happens if, for example, you are already concentrating on a spell, and cast Witch Bolt without concentrating. Would you get the initial arc of blue energy, or would it not even go off?  I am asking if you can cast a spell that says concentration without concentrating for an immediate effect. This would be useful to avoid interrupting your existing concentration. In essence, if you are concentrating on thing A (doesn't have to be a spell since other things need concentration), can you cast a concentration spell getting an immediate effect without losing concentration on thing A?  Since the definition of concentration is to keep the spell active (meaning it is already active) I would think that you would get the initial effect (if it had one) without the need to concentrate on it. What is currently the most reliable VPN for China? I will soon be spending a few months travelling across China and want to get a VPN service to get around the Golden Firewall.   When I was in China in 2014/15 the general consensus was that Astrill offered the most reliable service, but I heard that they have been targeted quite strongly by the government over the last year.   Therefore, I am wondering what is the best VPN for China these days? Is Astrill still as good as it used to be?   Any recent experiences would be very helpful! I am writing a cover letter and CV using moderncv. Everything works fine so far, but the text in the cover letter is not justified. I think it is good that it is not hyphenated, but it would look much nicer if the text was justified.  Here is a minimal example:  \documentclass{moderncv} \moderncvstyle{classic}  \usepackage{lipsum} % just for dummy text  \firstname{John} \familyname{Doe}  \begin{document} \recipient{Prof.\ Dr.\ Foo Bar}{} \opening{Dear Professor Dr.\ Bar,} \closing{Yours sincerely,} \enclosure[Attached]{curriculum vit\ae}  \makelettertitle \lipsum[1] \makeletterclosing  \clearpage  \makecvtitle  \section{Education} \cventry{2009--present}{PhD Student}{here}{and}{there}{} \end{document} What is a reliable method to locate floating islands in Terraria? Badge request: "Practically Perfect in Every Way" How can I get dramatic shallow DOF with a kit lens?