I have just upgraded to Ubuntu 15.04 and get this on first and subsequent restarts "ACPI PCC probe failed, starting version 219" which just hangs my computer. I have to use recovery to get the computer to boot so I can send you this message. I am relatively new to Linux and would appreciate any help to resolve this issue. I have a dual boot with Windows 8.1 and don't want to upset anything that might mean a re-installation of both Windows and Ubuntu. Thanks in advance.
I've recently updated to Ubuntu 15.04 and after installing the latest nvidia drivers (346.59) which worked on ubuntu 14.10 seems to have caused some trouble on boot.  All I get is the following when booting:   A purple screen for about a second and then  [0.514409] ACPI PPC Probe failed. Starting version 219  A black screen with a message of my monitor saying : No Signal detected.   I am using a GTX 970.
I'll be at my uncle's house just in case you need to reach me.      I'll be at my uncle's house should you need to reach me.   Could you tell me what is the difference between those? How to find the id of the last added feature using pyQGIS? Is it possible to programmatically (in python) access the attribute info of the last added feature in QGIS 2.0 before edits are saved? I'm failing to find a way to get the ID and subsequently other attributes of my feature of interest (the one most recently added).  idx = layer.fieldNameIndex('myField') myList = [] lastEdited = ID THAT I'D LIKE TO RETRIEVE for feature in layer.getFeatures():     if feature.id() == lastEdited:         print feature.attributes()[idx]   From this I'd like to get 'myField' of my most recent addition.   UPDATE: Following lead of this , I was able to achieve my goals via the Python console, but am failing to get it to work for my plugin.  def updateTableWidget(self, fid):     idx = layer.fieldNameIndex('myField')     myList = []     for feature in layer.getFeatures():         if feature.id() == fid:             myList.append(feature.attributes()[idx])   Via the python console, I was able to connect to my layer like so:  layer.featureAdded.connect(updateTableWidget)   After adding a QgsMessageLog to my function, the attributes were correctly identified. I now have a beginner python issue, however. Calling the function in my plugin as shown below gives me TypeError: updateTableWidget() takes exactly 2 arguments (1 given):  self.updateTableWidget()   The function was called from feature form python file. In general, in most places, it is said that using TeX defaults is the best. However, TeX does provide things like \, and \quad etc. When one should use them? Both in general and in math mode in particular. TV documentaries invariably show the Big Bang as an exploding ball of fire expanding outwards. Did the Big Bang really explode outwards from a point like this? If not, what did happen? Why the middle mouse button in Blender 2.80 changes the orthographic view to perspective? If I choose an orthographic view by using the numpad and then try to orbit the geometry by clicking the middle mouse button Blender goes from orthographic to perspective. Why is that the default now? Wouldn't it be more logical if instead of that Blender kept the orthographic mode? In other words: Why Auto Perspective is turned on by default? Why is pruning not needed for random forest trees? Breiman says that the trees are grown with out pruning. Why? I mean to say that there must be a solid reason why the trees in random forest are not pruned. On the other hand it is considered very important to prune a single decision tree to avoid over fitting. Is there some literature available to read for this reason? Of course the trees may not be correlated but there still will be a possibility of over fitting. Streaming large files in a java servlet The cube of any number not a multiple of $7$, will equal one more or one less than a multiple of $7$ Yeah so I'm kind of stuck on this problem, and I have two questions.   Is there a way to define a number mathematically so that it cannot be a multiple of $7$? I know $7k+1,\ 7k+2,\ 7k+3,\ \cdots$, but that will take ages to prove for each case.  Is this a proof? $$(7k + a)^3 \equiv (0\cdot k + a)^3 \equiv a^3 \bmod 7$$    Thank you. Given the galois extension $L/K$, where $L=\mathbb{Q}(\zeta, \sqrt[3]{2})$. I've already calculated that $[L:\mathbb{Q}]=6$. I'm trying to prove that the number of intermediate fields is also 6, including $L$ and $\mathbb{Q}$ as intermediate fields. I'm told that the fundamental theorem of galois theory can be useful here, but I can't find a use for it. Both the Romulans and the Federation have regularly violated the Treaty when it suits them. Starfleet has obviously developed and manufactured cloaking/stealth technology and the Romulans make regular excursions across the Neutral Zone. They obviously aren't declaring all-out war, so what penalties or sanctions have been imposed for violations?  -edit added for clarity-  Has either side ever 'punished' their own people for any violations of the Treaty? I'm trying to have a surface with soft body hold obects that are falling on it with rigid body physics, but for some reason, no what matter what mass I give it, the objects just fall trough the softbody enabled surface.  Is there a toggle or a value I need to change to make them stay there? Let $f(z)=\frac{1}{(z-1)(z-2)}$ and $g(z)=\frac{z}{(z-1)(z-2)}$. Let $\gamma$ be the circle of radius 4 centered at the origin and traveled once in the counterclockwise direction. Let $A=\{ z \in \mathbb{C}: |z|&gt;3 \}$  1) I need to show there is no analytic function $G: A \to \mathbb{C}$ such that $G'(z)=g(z)$ for all $z$ in $A$.   2) I also need to show that there is an analytic function $F:A \to \mathbb{C}$ such that $F'(z)=f(z)$ for all $z$ in $A$.  Do I have to integrate to find such function? For context, see .  In essence:     "This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation (not including the ) on this site."   Suggested addition to existing message is in bold. How to generate XML file dynamically using PHP? I have to generate a xml file dynamically at runtime. Please help me in generating the below XML file dynamically using PHP.  &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xml&gt;  &lt;track&gt;      &lt;path&gt;song1.mp3&lt;/path&gt;      &lt;title&gt;Track 1 - Track Title&lt;/title&gt;  &lt;/track&gt;  &lt;track&gt;      &lt;path&gt;song2.mp3&lt;/path&gt;      &lt;title&gt;Track 2 - Track Title&lt;/title&gt;  &lt;/track&gt;  &lt;track&gt;      &lt;path&gt;song3.mp3&lt;/path&gt;      &lt;title&gt;Track 3 - Track Title&lt;/title&gt;  &lt;/track&gt;  &lt;track&gt;      &lt;path&gt;song4.mp3&lt;/path&gt;      &lt;title&gt;Track 4 - Track Title&lt;/title&gt;  &lt;/track&gt;  &lt;track&gt;      &lt;path&gt;song5.mp3&lt;/path&gt;      &lt;title&gt;Track 5 - Track Title&lt;/title&gt;  &lt;/track&gt;  &lt;track&gt;      &lt;path&gt;song6.mp3&lt;/path&gt;      &lt;title&gt;Track 6 - Track Title&lt;/title&gt;  &lt;/track&gt;  &lt;track&gt;      &lt;path&gt;song7.mp3&lt;/path&gt;      &lt;title&gt;Track 7 - Track Title&lt;/title&gt;  &lt;/track&gt;  &lt;track&gt;      &lt;path&gt;song8.mp3&lt;/path&gt;      &lt;title&gt;Track 8 - Track Title&lt;/title&gt;  &lt;/track&gt; How do I convert Word smart quotes and em dashes in a string? What vintage movie had this blue floating holographic head talking to some kind of military installation? Does the penalty to movement speed while grappling stack if you grapple two opponents? In 5e, a player who is grappling has their movement speed halved. However, a player with two hands can grapple two opponents.  As the wording seems to indicate that the movement speed penalty applies due to the grappling status, does that mean that a player grappling two opponents is doubly penalized?  If so, how would it apply: is your speed reduced to 0 ([1 - 0.5] - 0.5), or a quarter of your regular speed ([1 / 2] / 2)? In Avengers: Infinity War, up until Thanos      gets all six Stones   in order to use the Gauntlet he needs to close his fist, as we see in the fight scene on Titan.     Doctor Strange: "Don't let him close his fist!"   So why later does snapping work? How to run scripts on start up? How can I run scripts automatically when Ubuntu starts up so I don't have to run them manually after startup? Display number with leading zeros Given: a = 1 b = 10 c = 100  How do I display a leading zero for all numbers with less than two digits? This is the output I'm expecting: 01 10 100