How to install devicemapper and brtfs header files?
Unable to correct problems, you have held broken packages
Hiding the sidebar in Ubuntu I have two questions :  First, I wanted to hide Ubuntu’s side-bar, so I set the settings in appearance to 'autohide'. The side bar did indeed disappear but when I roll over the left side, the side bar don't appear again. So, I am using a virtual box. Can it explain the fact that this bar doesn't show again when it is set to autohide.   Second, assuming I wouldn't be able to come over the problem, I pined to the dock every element of the sidebar, except the dash home. Is it possible either to pin it in the dock or to launch it from the terminal ? A lot of people write makefiles that say something like  paper.pdf: paper.tex         pdflatex paper         bibtex paper         pdflatex paper         pdflatex paper   To handle re-running TeX to get new/changed references and so forth. Is there a better way to do this? Why does Stephen Hawking say black holes don't exist? There was a great SF story I read some time ago (probably 25+ years ago) where there was a well known treasure trove, guarded by a killer robot that would ask all comers a series of difficult questions from all areas (math, physics, literature, history, etc.)  But everyone eventually failed and died... until the last person managed to make it past the robot:     By just answering gibberish to the robot.  Unfortunately, after collecting a ton of treasure, the robot casually asked him why he wanted it, he answered in a sensible way (something like "because it's valuable"), and the robot killed him, because he failed the final test.   Any ideas who wrote this?  What it was titled? Using QGIS3 Processing algorithms from standalone PyQGIS scripts (outside of GUI) I'm writing a script which must work outside of QGIS GUI. I call some API functions from qgis.core but I'd like to use the processing plugin.  I'm able to import processing with sys.path.append() but I can't run any process. Moreover, all "native" algs are missing in QgsApplication.processingRegistry().algorithms()  So is it possible to run processing that way ? What am I missing ?  import os, sys from qgis.core import * QgsApplication.setPrefixPath('/usr', True) qgs = QgsApplication([], False) qgs.initQgis()  sys.path.append('/usr/share/qgis/python/plugins') from processing.core.Processing import Processing Processing.initialize() import processing  layer1 = QgsVectorLayer('data/ROUTE_PRIMAIRE.SHP') layer2 = QgsVectorLayer('data/ROUTE_SECONDAIRE.SHP')  processing.run('qgis:union', layer1, layer2, 'test.shp') # returns nothing   I'm on QGIS 3.0.1 - Debian 9 Is there a single word for a "friend of a friend"? I am looking for a word that I could use instead of "friend of a friend". On certain occasions, it happens that you may want to talk about a friend of a friend with someone else.   In such cases how would you refer to this friend? I want to do something like String.Format("[{0}, {1}, {2}]", 1, 2, 3) which returns:  [1, 2, 3]   How do I do this in Python? How to install latest Code::Blocks from tar.xz? How to install latest Code::Blocks using codeblocks_17.12-1_amd64_stable.tar.xz?  Software center has an old version and I am not able to configure. How to install? Why is there no documentation for installing? A word for 'independent episodes' When we have a series of episodes where every single episode depends on and develops from the previous, we may call that a sequel, or maybe a continuum.  Now let us say that we have a collection of fables, episodes or anecdotes that have the same characters, the same milieu, and the same themes; yet, this time, the episodes are NOT interdependent. They don't depend on each other in that you can watch/read 'any' one of them be it (in terms of order) from a beginning, medial, or final season, without having to watch/read the previous to understand, appreciate, and enjoy it (the one you're watching/reading). What do we call the 'episode' in this case?   Examples: a sitcom comedy show, or a show like Dr Who. Or, in literature, the novels of Sherlock Holmes.       Is there a specific term to describe the 'independent episodes' of these works? Enabling Nvidia driver messes up splash screen How do I cherry pick packages from a PPA? Ignore folders/files when Directory.GetFiles() is denied access I have recently installed ubuntu 11.10. But when i try to install a software it tries to 'updating cache' but after a while, it stops, showing:                            Failed to download repository information                           Check your internet connection   so, now i am totally unable to install any software in my ubuntu.  Please,let me know how to solve the problem. How to retain HTML5 Attributes on Markup I have a page with certain html markup and element attributes as shown in the snippit below:  &lt;ul class="accordion" data-accordion=""&gt;  When I edit the page as a user with the WP Administrator Role the &lt;ul&gt; remains intact upon page update. Perfect.  Yet when a user with WP Editor Role edits the page, the ul tag saves as follows:  &lt;ul class="accordion"&gt;  Notice the data-accordion attribute is removed.  How can I get WordPress to retain markup tag attributes for users with the Editor role? GDBus.Error when trying to enable second screen I connected an external screen to my laptop, but my desktop didn't automagically extend to it, as it used to do about a year ago (older version of Ubuntu).  I went to the display settings. The screen was listed there (correct resolution, brand name, etc.). But when i put the switch on 'on' and click 'apply', i get this error:   Failed to apply configuration: %s  GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface `org.gnome.SettingsDaemon.XRANDR_2' on object at path /org/gnome/SettingsDaemon/XRANDR   It's been like this for a few months now, but i'd really like to be able to use an external screen/beamer again.  Any ideas?  Thanks. Zombie process using 100% CPU A zombie process, which should not be using any resources (RAM and CPU), is hogging up an entire core on my 8-core 64-bit Ubuntu 11.10 Desktop installation.  This is the output of ps -el|grep Z:  F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD 0 Z  1000 10317     1 99  80   0 -     0 exit   ?        19:27:15 java &lt;defunct&gt;   ... and here is an excerpt from top:    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                                 10317 deltik    20   0     0    0    0 Z  100  0.0   1170:17 java &lt;defunct&gt;  1424 root      20   0  612m 193m 158m S   14  2.4 287:17.11 Xorg 12580 deltik    20   0  710m 135m  46m S    5  1.7  27:31.07 compiz   This is how the zombie process came to existence:   I opened a Java JAR called . This launcher downloads another JAR file to ~/.minecraft/bin/minecraft.jar That JAR was executing when I locked my computer with xscreensaver. Then, I entered my password to unlock the computer, and I saw that the Minecraft window was frozen. I tried killing it (PID 10317) with gnome-system-monitor. It became a zombie. kill -9 10317 was ineffective. xkill only closed the window titled "Minecraft"; it didn't close the underlying java process.   Relevant information:   The graphics driver is FGLRX, and it has caused notorious issues with  of  and , including sometimes high CPU usage of Xorg and compiz.   I want to know:   What way is there to destroy this process of java without restarting, if any? Why is this issue happening? What can I do to prevent this issue from happening again? Relationship between gamma and chi-squared distribution If $$Y=\sum_{i=1}^{N}X_i^2$$ where $X_i \sim \mathcal{N}(0,\sigma^2)$, i.e. all $X_i$ are i.i.d. normal random variables of zero mean with same variances, then $$Y \sim \Gamma\left(\frac{N}{2},2\sigma^2\right).$$  I know the chi-squared distribution is a special case of the gamma distribution, but could not derive the chi-squared distribution for random variable $Y$. Any help, please? How does the telepathy supernatural ability work? Foreign key constraint on array member? Suppose I have a table containing job roles:  CREATE TABLE roles (   "role" character varying(80) NOT NULL,   CONSTRAINT "role" PRIMARY KEY (role) );   Suppose I further have a table, users, and each row (a specific user) can have an arbitrary number of job roles:  CREATE TABLE users (   username character varying(12) NOT NULL,   roles character varying(80)[] NOT NULL,   CONSTRAINT username PRIMARY KEY (username) );   I should probably make sure that each member of users.roles[] exists in roles.role.  It seems to me that what I want is a foreign key constraint on each member of users.roles[] such that if references roles.role.  This doesn't seem possible with postgres.  Am I looking at this the wrong way?  What is the suggested "right" way to handle this? Call of Duty MW3 Prestige token lost