File /etc/udev/rules.d/90-test.rules: ACTION==&quot;add&quot;, SUBSYSTEM==&quot;usb&quot;, ENV{DISPLAY}=&quot;:0&quot;, ENV{HOME}=&quot;/home/user&quot;, RUN+=&quot;/etc/udev/rules.d/test.sh&quot;  File /etc/udev/rules.d/test.sh: #!/usr/bin/env bash /usr/bin/kcalc &amp;  When I plug in an USB device, kcalc starts as expected (2 times because the rule is kept simple). But after 4 to 5 seconds, kcalc closes again. I also tried it with nohup but without success. Same occurs for other applications like konsole and kate. When I don't run kcalc in the background (no &amp;), it doesn't close but it seems like further processing is blocked. The Device Notifier notifies me only after I closed kcalc. I dislike this solution because it affects other parts of the system. So why do the applications close and how can I prevent it?
I want to run a ppp connection when my USB modem is connected, so I use this udev rule:  ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="16d8",\     RUN+="/usr/local/bin/newPPP.sh $env{DEVNAME}"  (My modem appears in /dev as ttyACM0)  newPPP.sh:  #!/bin/bash /usr/bin/pon prov $1 &gt;/dev/null 2&gt;&amp;1 &amp;   Problem:  The udev event fires, and newPPP.sh is running, but newPPP.sh process is killed after ~4-5s. ppp does not have time to connect (its timeout is 10s for dial up).  How can I run a long time process, that will not be killed?  I tried using nohup, but it didn't work either.  System: Arch Linux  Update  I found a solution , thanks to .  I use at now to run my job detached from udev process.  But the one question remains unanswered: Why do nohup and &amp; not work?
I would like to know the model of my graphics card. I think it may be an ATI, but I want to be sure!   I have Ubuntu 11.10 (32 bit) and an Asus A6 VA laptop. Changing the resistor to be in front or behind an LED doesn't affect brightness? Note: I am very new to the more advanced side of electricity. I do not have a firm grasp on the exact mechanics.  Lets say I have an example circuit:  5V Power Supply -&gt; LED -&gt; Resistor -&gt; Ground  Now the LED is receiving 20ma and 5V. If I were to switch the LED and the resistor however, the LED should receive less voltage but the same current, so wouldn't it be dimmer? Or would it receive the same voltage?  I've looked at these two threads and their answer doesn't help. Node for setting render colour, regardless of lighting I'm trying to make a material node setup to set final render colors, regardless of lighting conditions. Is such a setup possible? I was wondering if there is a viable place on Stack Exchange to ask economics-related questions.  Questions I'd have in particular could be equation-based or theoretical.  I suppose the equation-based questions could possibly fit into mathematics but I haven't checked their FAQ. Calculating MEAN and STANDARD DEVIATION confussed [] ** calculate the mean and standard deviation of each investment, assume that both returns come from independent samples, are both normally distributed and that the (true but unknown) variances are the same,, Can someone could check my  calculations for  mean and standard deviation? I did calculations but not sure what to do with negative values of distances(If if am correct Investment A MEAN= 78.6875 when it comes to calculating standard deviation i have to power difference by 2 ?  ** Does casting a spell from an item allow you to apply class abilities that are used when casting a spell? This question is updated to request additional answers and details in light of information now available in the Dungeon Master's Guide. In the released DM basic rules, Lost Mine of Phandelver, Hoard of the Dragon Queen, and the DMG teaser there are wands, staves, and rings that you can use to cast spells.  Do abilities that trigger from casting a spell activate when casting a spell from an item?  Can the character modify the spell using class abilities when casting a spell from an item?   Examples include:  An abjurer Wizard's arcane ward recovering hit points from a Dispel Magic cast from a Ring of Spell Storing  A sorcerer using Twinned Spell on a ray of enfeeblement from a Staff of Power  An evocation wizard using Sculpt Spell on a fireball from a Wand of Fireballs.   Now that the DMG is out we have some clearer rules on casting spells from items (DMG p. 141):  Some magic items allow you to cast a spell from the item.  The spell is cast at the lowest possible spell level, doesn't expend any spell slots, and requires no components, unless the item's description says otherwise  The spell uses its normal casting time, range and duration, and the user of the item must concentrate if the spell requires concentration. A magic item, such as certain staffs, may require you to use your own spellcasting ability when you cast a spell from the item.  Does whether or not you can apply class abilities to the casting of the spell depend whether the item uses the user's own spellcasting ability (such as the Staff of Fire) versus an item that comes with a fixed spellcasting ability built-in (such as the Wand of Fireballs)? Does it matter if it's something that triggers more or less automatically like Arcane Ward, versus something you have to control, like Careful Spell? Can an integer of the form $4n+3$ written as a sum of two squares? Proof that $\suṃ̣_{k=1}^{n}k {n \choose k}$ for $n \in \mathbb N$ is equal to $n2^{n-1}$.  As a hint I got that $k {n \choose k} = n {n-1\choose k-1} $.  I tried solving this by induction but, in the inductive step I'm not arriving to the correct result. tail -f equivalent for MySQL logging database How to store and preserve film negatives and slides? I bought 35mm dedicated film scanner (Nikon CoolScan III) and I'm planning to digitize old negatives and slides I found at home.  How should I store and preserve these slides and films after I cut them and scan? How to choose best negative pages/sleeves, binders etc. and what to avoid? What's the term for using the wrong word because it sounds the same? I was reading about various terms for incorrect words, but they didn't seem to fit.  I saw a post where someone said "what do you like to do when you're board?".  That kind of thing.  Also, would that be considered a mistake in grammar?  I didn't think so, but my friend insists it is.  I'm not sure if there even is a word for that kind of mistake, but was just curious about it.  Thanks! What is the association bonus, and how does it work? I was just awarded +100 reputation on all of my Stack Exchange accounts.  What is this bonus for? It simply says "Association Bonus" on my reputation overview.  Also:   What privileges does the association bonus grant users? Can I lose the association bonus? Does it make my reputation 101 everywhere? Can I earn the association bonus on sites I haven't joined yet? Does it matter which site I earn the 200 reputation on? Will I get an association bonus every time my reputation on a site crosses 200 points? Does the association bonus allow me to answer protected questions? Does the association bonus count towards the reputation cap? Can I get the association bonus if I only have a profile on one site? What else is there to know about the association bonus? I'm trying to figure out the name of a movie I saw on TV as a kid, in the mid-to-late 90s, in the US, in English, on daytime TV.  I remember it being kind of Starship Troopers-esque, but everyone had these glowing lights in their chests.  They glowed in different colored patterns, and I think it had something to do with whether you were attracted to someone or not (I was probably like 7 when I saw it, I didn't really understand the context of that part yet). $M /K \land L /K$ algebraic $\implies ML/K$ algebraic? In what occasion could the word “precious” be taken disapprovingly, or sarcastically? I understand that the word “precious” in the following quote of Maureen Dowd’s article “Heart of Darkness” (NYT, March 20) literally means “2. valuable or important and not to be wasted” as defined in OALD:     Congressman Jones read an e-mail from a former boss of General   Allen’s, giving the congressman this unvarnished assessment:   “Attempting to find a true military and political answer to the   problems in Afghanistan would take decades. Would drain our nation of   precious resources, with the most precious being our sons and daughters. Simply put, the United States cannot solve the Afghan   problem, no matter how brave and determined our troops are.   But I didn’t know “precious” has another meaning as defined in OALD: 5. (disapproving, people and their behavior) very formal, exaggerated and not natural, and Readers English Dictionary: 2.(colloquial) terrible, almost worthless, until I was told by my respected forum mate a few days ago.   Being encouraged by his suggestion for me to “ask another question if I’m not sure of what he means by describing his input as “precious” is actually rather “precious” phrasing, I would like to ask:   What is an example of “precious” being used as “disapproving” or sarcastic way (as neither OALD nor CALD provides examples)? Is there an easy way to discern the instance “precious” being used as “disapproving” from the case being used in the sense of genuine “great value” as used in the above quote other than judging from the context? Given fields $K\subseteq L$, why does $f,g$ relatively prime in $K[x]$ imply relatively prime in $L[x]$? $K,L$ are fields, $K\subseteq L$. $f,g \in K[x]$. Suppose that $f,g$ are relatively prime as elements of $K[x]$. Prove they remain relatively prime  in $L[x]$.  I've tried everything I can think of. I feel like working with the contrapositive may be helpful but that's just a feeling. single email limit exceeded salesforce very frequently..? Relationship between (algebraic) vector bundle and (topological) vector bundle on $\mathbb{RP}^{1}$($\mathbb{P}^{1}$) Does the harmonic series converge if you throw out the terms containing a $9$? I found this very amusing comic on the internet the other day:   The last frame seems to claim that the harmonic series converges if you throw out all the terms with a $9$ in the denominator. Is this true? Where could I find a proof? Is it only true for terms with a $9$ or is it true for any number? If it's only true for $9$, why is that? I was thinking of the noted 1980 paper by Sidney Coleman and Frank de Luccia--"Gravitational effects of and on vacuum decay"-- about metastable vacuum states that could tunnel to a lower energy "true vacuum" with catastrophic results. I suspect the answer is that if our vacuum is a false one, we wouldn't "see" the true one til it hit us.