I am printing my QGIS Print Composer maps in black and white, and I want to make sure that all the different attributes are distinguishable. But I can't select 5 colors that all look distinct from each other in black and white. Is there any way to add like a striped texture or a dotted texture into the QGIS print composer?
I am looking to replicate black &amp; white maps in QGis, using hatching patterns and greyscales to indicate different categories of a continuous variable (example below).  It is possible/straightforward to do so in QGis? At first sight I only see color gradients and symbol fills.   ).
Where does top command get all the data for CPU Utilization? Understanding my electrical panel I just purchased .  I'll be installing it in my RV.  Current will be supplied by a 12VDC to 120VAC, 3000W inverter.  I'll be using Single-Pole Type BR breakers.  Here's a picture of the box:    My current understanding is that I must install a grounding bar to the box.  This is my current understanding of how to connect the breaker to the main supply.:    Here is my understanding of how I would wire in new circuits:    Does this look right?  I would really appreciate your help -- I've been beating myself over the head about this. How can I switch back to Nvidia card from Intel with Nvidia-prime So I updated to Ubuntu 14.04 and found that the primusrun command no longer works, so ditched bumblebee in favour of nvidia-prime. This lets you switch video card from nvidia-settings rather than running through the command line (I prefer the old method, but want the primus performance).  The problem is that after switching to Intel from nvidia-settings, I can no longer open it up again to switch back to the nvidia card. When I open nvidia-settings I get a segmentation fault (according to the terminal).  Is there any way to open nvidia-settings switch back? I would like the ability to be able to switch between the two since having the nvidia card on all the time kills my battery and heats up the laptop a lot. Some observations I made is for $\frac{a}{b}+\frac{b}{a}$, is either:   the denominator has to be one, the numerator has to be a multiple of the denominator or  the numerator and denominator have to be the same.    Obviously, with the given conditions case 3 is eliminated since  $a \neq b$.  For case 1, if $b=1$, then $a=1$ which is a contradiction to the given condition that says $a \neq b$.  For case 2, I would think of examples. For example if $b=2$ then a multiple is $4$, so $a=4$. Then we have:  $$\frac{a}{b}+\frac{b}{a}=\frac{4}{2}+\frac{2}{4}=\frac{10}{4}$$  which is not an integer, but how would i proceed to show this case for all integers. Please consider gathering Meta feedback before the "ship" stage I'm trying to make a page where a user provides an ID of a attachment and the site will set the headers and deliver that file instead of a 404 page. so /download/1754 would lookup the attachment with that Id and output it for viewing/download depending on the file type.  I just can't think of a wordpress friendly way to do this from inside a plugin. I considered using add_rewrite_rule but couldn't see a good way around it, also considered checking $_SERVER['REQUEST_URI'] to deliver the content before any HTML but then I'd have to stop the page from rendering a 404 and I was not sure of a Wordpress friendly way to do this.  My current idea was to have my plugin make a download page, assign a template and have that template run the logic instead of my plugin class. while I have used this before for another situation it was very messy as I had to write a lot of code to force users to be unable to update or edit the file and recreate/delete it on activation.deactivation. so ideally I'd like to avoid that. Nvidia graphics card no longer works in Windows 10 (error: Code 43) but works in Ubuntu Currently, when I boot into Windows, one monitor stays black (undetected), and the other can only display 800x600 resolution.  When I look at Device Manager &gt; Display Adapters &gt; NVIDIA GeForce GTX 970 &gt; General &gt; Device Status, it says "Windows has stopped this device because it has reported problems. (Code 43)".  Details &gt; Problem Code says "00002b". Details &gt; Status says:  01802400 DN_HAS_PROBLEM DN_DISABLEABLE DN_NT_ENUMERATOR DN_NT_DRIVER   When I then click into the Events tab, it says "Device PCI\VEN_10DE&amp;DEV_13C2&amp;SUBSYS_29763842&amp;REV_A1\4&amp;25438c51&amp;0&amp;0008 requires further installation."  I have a EVGA Nvidia GeForce GTX 970 graphics card with the latest drivers (376.19 from 12/1/2016).  My Windows 10 Pro has the latest updates and is at Version 1607, OS Build 14393.576.  My ASRock Z170 Pro4 motherboard BIOS is also updated to the latest version (7.00 from 10/4/2016).  I have dual Acer monitors with 1920x1080 resolution.  I downloaded Ubuntu 16.04.1 LTS onto a bootable USB drive and booted into the Ubuntu operating system instead of Windows. Both monitors immediately worked at full 1920x1080 resolution. So the hardware seems functional! My remaining challenge is to figure out why my video card has stopped working within Windows.  What I Have Tried   I've tried using Display Driver Uninstaller from Guru3d in Safe Mode to delete all drivers and try to install fresh.   I've tried many different versions of the driver dating back more than 12 months. I've tried reseating the card. I've tried moving the card to a different slot. EVGA's phone support told me to reinstall windows (Windows &gt; Reset this PC &gt; Keep my files). Unfortunately, I followed their advice (and now don't have any of my programs), and I still get Code 43 with the EVGA Nvidia card.   What I Have NOT Tried   I would love to try installing this card onto a different Windows 10 computer to see what happens, but I don't have access to any other computers. If you live northeast of Atlanta, let me know. ;-)   I'd appreciate any other ideas you have!. Showing that $f_0 (x_1, \ldots, x_m) \mathrm tr A =\displaystyle{ \sum_{i=1}^n} f_0(x_1, \ldots, Ax_i,\ldots, x_m)$ Checking out  and  (and some papers) was a bit difficult for understanding Group Action. The closest to understanding was this part:    I understand the definition of homomorphism (a structure-preserving map between two algebraic structures of the same type). And from what I understand the symmetric group is a group of functions (bijective functions) mapping elements of a set $X$ onto itself.  However I get confused at this line:     ...an action of $G$ on $X$ may be formally defined as a group homomorphism $\phi$ from $G$ to the symmetric group of $X$.   That seems to be the definition of group action, but I am having trouble understanding how to apply that.  What that says to me is it is a homomorphism (function) $f \colon X \rightarrow S$ where $S$ is a set of bijective functions on $X$. That itself seems weird, I thought a group action would result in a number or something related to $\{1, 2, 3\}$ (defined next).  Continuing, if we have a set $X = \{1, 2, 3\}$ and a group $(*,\{4, 5, 6\})$, then the symmetric group of $X$ would be something like $S = \{1 \rightarrow 2, 2 \rightarrow 3, \dots \}$, and $\phi$ would be something like $f : \{4, 5, 6\} \rightarrow S$. That doesn't make sense to me and I feel like I'm interpreting something wrong. I don't see how mapping to a set of functions $S$ will result in an action on the set. How is missing data calculated on Likert Scale? proof by induction: sum of binomial coefficients $\sum_{k=0}^n (^n_k) = 2^n$ Recovering added/staged file after doing git reset --hard HEAD^? Why can't I just think the spin as rotating? I'm going mad about the problem.  I really don't understand why do electron have 1/2 spin number, why they are not actually spinning.  I can accept that the electrons have their own magnetic field, which is certain, but why do they have $\hbar\sqrt3/2$ of angular momentum, and I don't know what the heck is spin number.  I've read the definition of  and  more than a hundred times but there is no betterment. I've smashed my head in my desk more than a hundred times either.  My question is the title. Why can't I just think the spin as rotating?  What I've saw recently,     electron's hypothetical surface would have to be moving faster than the speed of light in order for it to rotate quickly enough to produce the necessary angular momentum. Deep Format of a Harddrive on a Linux System I've got an original Asus Eee PC Netbook that I'd like to sell.  When I've sold old computers in the past, I've typically done a deep/secure/zeroing out style format.  How can I do this on a Linux Netbook?  I'm looking for   The command that will let me do this Advice on how I can do this on a device with (seemingly?) non-removable media   Thanks in advance! Complicated FOR loop nesting. Having trouble cleaning up legacy code Horizontal line inside a matrix I tried to make a horizontal line inside a matrix by the attached code. However, it didnot work the compiling process gives a time out message. It work normally without the \hline command. Any help!  \documentclass[journal,draftcls,onecolumn,12pt,twoside]{IEEEtran} \usepackage{array} \usepackage{blkarray} \begin{document} \begin{equation}  \centering W_b(1)=\begin{blockarray}{cccccc} \begin{block}{(ccccc)c}  a      &amp; b     &amp;     &amp;  &amp;  &amp; \matindex{\leftarrow d=0} \\ \ddots &amp; \ddots&amp;     &amp;  &amp;  &amp; \matindex{\vdots} \\    &amp;     a &amp; b   &amp;  &amp;  &amp; \matindex{\ \ \ \   \leftarrow d=d_b-1} \\   %\hline  c      &amp; d     &amp;     &amp;  &amp;  &amp; \matindex{\leftarrow d=d_b} \\   \ddots &amp;\ddots &amp;     &amp;  &amp;  &amp; \matindex{\vdots} \\    &amp;   c   &amp;  d  &amp;  &amp;  &amp; \matindex{\leftarrow d=D}  \end{block} \end{blockarray}, \label{eq:eq4}  \end{equation}  \end{document} Why NuGet adds app.config with assemblyBinding to LIBRARY projects during a NuGet package update? Calculating lat/lons from PostGIS table which has projected coordinate system? I have a PostGIS table in a projected coordinate system (EPSG: 28355 or MGA94 Zone 55). In QGIS (with the PostGIS manager plugin) I calculate a coordinate by performing the following SQL:  UPDATE gisprod.buildings SET easting = x(centroid(the_geom))    Now I want to add a "lat" and "lon" field to this table and calculate the values using the appropriate coordinate system, in this case that would be (EPSG:4283 or GDA94).   Is there a way I can specify in the SQL statement to calculate the x/y coord using a different coordinate system? Subgroups of $U(n)$ isomorphic to a direct sum of cyclic groups Let $U(n)$ to be the set of all positive integers less then $n$ and relatively prime to $n$. Then $U(n)$ is a group under multiplication modulo $n$.  A. Find integer $n$ such that $U(n)$ contains subgroup isomorphic to $Z_5\oplus Z_5$.  B. Show that there is an $U(n)$ containing a subgroup isomorphic to $Z_3 \oplus  Z_3$, but not isomorphic to $Z_4 \oplus  Z_4$. So, @AndrewO mentioned recently that he has had 'encounters' with people wondering why D-Wave has a lot more qubits than IBM. Of course, this comparison is faulty, since the IBM and D-Wave's machine may both exploit quantum effects to a certain degree, IBM's machine matches the thing the TCS people call a 'Quantum computer' a bit more than D-Waves's alleged quantum annealer.   How do you explain to a novice why IBM is still reaching important milesstones, even though the D-Wave has a lot more 'qubits'. I understand that an easy answer is, 'well, you're comparing apples and pears', but that is merely relying on your possible authority and simply doesn't explain anything!   How can you explain that those devices are different, how can you dispell the myth that the number of qubits is not the only metric to judge quantum devices? (preferably to a layman, but assuming basic (undergrad?) physics knowledge is ok, if needed)