Okay so I've done alot of trial and error on the subject of gaming on Ubuntu and Mint, all on fresh installs fully updated. Lately I installed the latest Ubuntu LTS 64 bit on my rig.  I installed all updates, my 32 bit libraries, Steam, and my amd graphics driver first off. Then I installed Team Fortress 2 on steam.  I've heard a lot of peoples controllers work right off the bat on steam but all of mine did not.    My controllers are as follows:     -Blue Rock candy brand 360 controller      -Official Microsoft Hard Wired 360 Controller      -White PowerA brand Micro 360 controller   Okay so first its plugged in and it shows the first player light on like it should be working. All of them do this so that's good i assume as the driver at least detects it in someway as its not just blindly blinking. So I go into TF2 to see if it works. The options wont detect any input and when I bring up valve's console and exec 360controller everything says all joy buttons are not valid keys.  So I do some digging and ran across this  page.   I used the command to see if it would list my pad anywhere but it said just usbcore driver no "led device" or "pad1" just nothing. I have tried both my USB 2.0 &amp; 3.0 Ports Obviously this is a driver problem of sorts Any help would be highly appreciated.   My Computer's Hardware is as follows:         Am3 AMD Phenom X4 965 3.4 CPU  * HIS Radeon HD 7750 PCI ex  * 2013 MSI 970A-G43 Mainboard  * 8GB DDR3 RAM Gskill Ripjaws  * 5.1 Diamond Extreme   sound pci sound card.      I will be digging into this issue as i have been this week in other words   What should I do ?  please :3 I will be quick to respond and will post things as I find them.
I have a Microsoft XBOX 360 gamepad with the wireless adapter and I was wondering what I would have to install to use them with Ubuntu I do know that when using this on Windows I have to manually install the drivers for the wireless receiver (if that is relevant.)
How do you find the transfer function of a controller? Below is a block diagram of the system. I thought the circle symbol with the plus and minus sign was an op-amp but I'm not sure whether that's the case. I want to find the closed loop transfer function. If there was no feedback (open loop), then I think I could find the output as Y(s) = Vin*G. This would mean that the transfer function is Y(s)/Vin = G.  Any ideas for how to find the closed loop transfer function and what the circle means? A group $G$ with $G'$ abelian and every abelian normal subgroup finite Let $G$ be a group such that  $G'$ abelian  and any abelian normal subgroup of $G$ is  finite. Show that $G$ is finite. Sum of the alternating harmonic series $\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{k} = \frac{1}{1} - \frac{1}{2} + \cdots $ Short story about a robot who wants to become a writer How to use custom icons with mapKit framework? It seems like maybe cancelled downvote might be less...weird? Short story (+radio play?) in which astronauts outside their ship slowly drift apart in space Looking for a short story in which the crew of a spaceship for some reason find themselves outside the ship, drifting apart in outer space. They can communicate via their radios but are individually drifting apart.  One by one, they lose communication as they drift further away from each other.  Might have also been adapted into a radio play? Asking feedback/rating for a mobile app? Fig.1: A typical prompt, asking user for feedback/rating in iOS Background Any serious smartphone users must have seen a message similar to Fig.1 above at least once. Variations of such prompt include: &quot;Please give us 5 star ratings if you love this app!&quot;, &quot;Rate us :)&quot;, &quot;Your rating helps improve this app!&quot;, etc. Basically, Fig.1 asks user to leave a (nice) feedback/rating for the app on its AppStore(or equivalents).  The Shorter Question  When and how often should a mobile app user be asked to leave a feedback/ratings?   The Longer Question #1. Which User-statistics? What are the significant user's behavioral statistics that should be based on to generate Fig.1? For example:  Number of runs since install/reinstall of the application Time elapsed since current application run Time elapsed since first application run Time elapsed since first application install Certain events (e.g. after certain number of stages are cleared for a game app)  #2. When to Ask? If multiple user-statistics are chosen to be calculated to generate Fig.1, specifically how should the user-statistics satisfy the condition of the event? For example:  Form a unified equation (e.g. X^2+Y^2=Z^2) with all significant user-statistics partaken fairly to trigger the event. Create (multiple of) &quot;absolute&quot; event triggers (e.g. every 10th app run; elapsing 2 hours since current application run). Both of the two. Generate Fig.1 whichever comes true first. Neither of the two. &quot;There's a better way!&quot;  #3. How often? What would be the optimal min/max frequency of Fig.1 generation? By optimal, I mean users are not to be bothered too much, yet developers gain maximum output of great feedbacks from users? #4. &quot;Don't bother me again :(&quot; Should users have an option to opt-out from receiving Fig.1 at all? #5. Universal User-statistics for All Mobile Apps? Should apps under different categories be based on different user-statistics? There are significant differences in size and type of user-statistics in apps under different categories. For example, a &quot;Flashlight&quot; app is not typically run for one hour straight, while a music/movie streaming app may be run for over one hour. #6. &quot;This app does not need more feedback.&quot; Should every app of all kinds of user base ask this message? If any, should any mobile app stop generating Fig.1 when target conditions are met (e.g. downloads count, active user count, feedback count)? #7. Feedback/Rating Before Deletion Should users be asked to leave a feedback before deleting as seen in Fig.2 below? Users are more likely to leave very critical review on app deletion, but this kind of feedback will be very helpful for the developers to strengthen their app's weakness for next version release.                                                                                                 Fig.2: Asking user for rating before app deletion Structuring game narrative. Handling NPC, Quest, General Dialogue. Is Json/XML the right way to go? Or any other solutions? Hello guys I'm try to make some games that have more to it than just simple high score scrolling shooters etc.  I'm trying to design my own systm of handling narrative. I want to be able to place NPC's in the game world, with scripts attached to them. Some of the NPC's would just have n random greetings. Others will be mission givers and will offer you a quest of sorts. (The quest could be go speak to Bob in the pub, or it might be bring me the Holy Grail and Crown Jewels, or something in between).  I've wracked my brain for a long while over this but sadly keep slipping back to the only way I know how, which is to manually code all the strings that people can say and have a horrible web of if statements and other such insanity to give me a rudimental dialogue system. Its not good enough even with just a few characters, but if I had dozens/hundreds of characters it would be even worse.  I've read lots about it already but I'm still very confused when I start trying on my own project. I've read that Json/XML might be the way to go and that I can add custom markups in the Json text to call methods in my code, but I dont even know if this is right and if so how I can do it.  The back of my brain is screaming at me that there is a simpler way to do it, but I've sat here for a very long time without managing to think of ideas.  Here is a diagram I drew which pretty much shows the flow of how I want my NPC to behave. If anyone can see this and then tell me how they might do something like this that would be fantastic!! (note: if Json is the correct advise, please give me a exact example of how exactly to format the Json in order to check the bools I mention in my flowchart - thanks!):    note: The circles denote an output from the data as Text for the dialogue system. The bools will need to be checked against by the data file to see which output to give (hope that makes sense and is possible) Why crontab scripts are not working? Participles to modify the subject of the main clause "Essos is an immense landmass located to the east of Westeros,   extending into the far east of the known world." (Here, "extending"   describes the Essos or does it describes the landmass? )   Having seen this sentence above, I question came to my mind.   Can I use participles to modify the subject of the main clause when there is no connection between main clause and participle clause. For example:      1- "He is a bookworm, living in Canada. (He is a bookworm + He lives in   Canada, there is no connection between being bookworm and living in   Canada)      2- He, living in Canada, is a book worm. (I suppose, this placement would be more correct) How to integrate $\int_0^{\infty} \frac{e^{ax} - e^{bx}}{(1 + e^{ax})(1+ e^{bx})}dx$ where $a,b > 0$. Using principal component analysis (PCA) for feature selection I understand that the alphabet for the English language is not strictly English as languages such as French, Dutch and many more use the same alphabet, with few additions in other languages. Is Roman alphabet the common term to refer to this set of symbols for writing texts? Do redirection operators always open file descriptors in parallel? 1. Consider snippet#1:  $ cat test.txt &gt; test.txt cat: test.txt: input file is output file   It seems that cat makes its input file descriptor point to test.txt and then when it tries to set its output file descriptor to test.txt it throws the above error. Here it seems that cat is aware of the redirect operator and so proceeds to attempt to set the output file descriptor to test.txt  2. Consider snippet#2:  $ cat 1.txt 1:CAT 2:dog $ sed 's/cat/CAT/g' test.txt 1:CAT 2:dog $ sed 's/cat/CAT/g' test.txt &gt; test.txt $ cat test.txt # Note that test.txt is now empty $   Here we see that sed opens test.txt (last argument) in read mode and at the same time sets test.txt as its file output descriptor. Also the '&gt;' operator overwrites the contents of the file BEFORE sed starts to read from it.   I am aware that commands in a pipeline execute in parallel but have not come across any info on how redirection operators behave. Any supporting links would be helpful. How to access a SQL Server database from other computer connected to the same workgroup? Generalized Second Borel-Cantelli lemma Calculate Time Remaining sed fails to remove newline character What is the physical meaning of commutators in quantum mechanics? This is a question I've been asked several times by students and I tend to have a hard time phrasing it in terms they can understand. This is a natural question to ask and it is not usually well covered in textbooks, so I would like to know of various perspectives and explanations that I can use when teaching.  The question comes up naturally in what is usually students' second course in quantum physics / quantum mechanics. At that stage one is fairly comfortable with the concept of wavefunctions and with the Schrödinger equation, and has had some limited exposure to operators. One common case, for example, is to explain that some operators commute and that this means the corresponding observables are 'compatible' and that there exists a mutual eigenbasis; the commutation relation is usually expressed as $[A,B]=0$ but no more is said about that object.  This naturally leaves students wondering     what is, exactly, the physical significance of the object $[A,B]$ itself?   and this is not an easy question. I would like answers to address this directly, ideally at a variety of levels of abstraction and required background. Note also that I'm much more interested in the object $[A,B]$ itself than what the consequences and interpretations are when it is zero, as those are far easier and explored in much more depth in most resources.    One reason this is a hard question (and that commutators are such confusing objects for students) is that they serve a variety of purposes, with only thin connecting threads between them (at least as seen from the bottom-up perspective).   Commutation relations are usually expressed in the form $[A,B]=0$ even though, a priori, there appears to be little motivation for the introduction of such terminology. A lot of stock is placed behind the canonical commutation relation $[x,p]=i \hbar$, though it is not always clear what it means.  (In my view, the fundamental principle that this encodes is essentially de Broglie's relation $\lambda=h/p$; this is made rigorous by the  but that's quite a bit to expect a student to grasp at a first go.) From this there is a natural extension to the Heisenberg Uncertainty Principle, which in its general form includes a commutator (and an anticommutator, to make things worse). Canonically-conjugate pairs of observables are often introduced, and this is often aided by observations on commutators. (On the other hand, the energy-time and angle-angular momentum conjugacy relations cannot be expressed in terms of commutators, making things even fuzzier.) Commutators are used very frequently, for example, when studying the angular momentum algebra of quantum mechanics. It is clear they play a big role in encoding symmetries in quantum mechanics but it is hardly made clear how and why, and particularly why the combination $AB-BA$ should be important for symmetry considerations.  This becomes even more important in more rigorous treatments of quantum mechanics, where the specifics of the Hilbert space become less important and the algebra of observable operators takes centre stage. The commutator is the central operation of that algebra, but again it's not very clear why that combination should be special. An analogy is occasionally made to the Poisson brackets of hamiltonian mechanics, but this hardly helps - Poisson brackets are equally mysterious. This also ties the commutator in with time evolution, both on the classical side and via the Heisenberg equation of motion.   I can't think of any more at the moment but they are a huge number of opposing directions which can make everything very confusing, and there is rarely a uniting thread. So: what are commutators, exactly, and why are they so important?