I run Ubuntu 16.04, Unity, 64 bit and just installed compizconfig-settings-manager.   When I launch ccsm, I miss settings to configure the "3D cube" plug-in though. Where are they? Do I have to install any further packages to get them?
I have read several questions regarding how to fix an already enabled desktop cube or the problems it had in 11.04. But in 11.10, how can I correctly enable desktop cube in Unity 3D?
My ceiling fixture has all of a sudden stopped working properly. Half the diodes are dark and the others are blinking. Oddly, the same exact ones on each strip work and don't work. I have included a picture to show which ones are blinking and which ones don't work. I am wondering if it is something that I can fix? Maybe replace that driver? And if so, is there a good guide online to walk me through that process? Thanks in advance. Network booting couldn't find kernel image I have a problem with PXE booting. I followed  on the Ubuntu help wiki. But I get an error on client machine:  Could not find kernel image: vmlinuz-3.13.0-24-generic   And now, question. This image should be in pxelinux.cfg folder, am I right? Finding critical points (extrema) directly without using eigenvalues If we have a function $f: \mathbb R^3\rightarrow \mathbb R$ of the form:  $$f(x)=(a_1x_1^2+a_2x_2^2+a_3x_3^2)e^{-x_1^2-x_2^2-x_3^2}$$  where $a_1&gt;a_2&gt;a_3&gt;0$.   We can find the critical points by:  $$\frac{\partial f}{\partial x_1} =2x_1e^{-x_1^2-x_2^2-x_3^2}(a_1-a_1x_1^2-a_2x_2^2-a_3x_3^2)=0$$  And solving symmetrically for $x_2$ and $x_3$. We get critical points: $(0,0,0) , (\pm 1,0,0) , (0,\pm 1, 0) , (0,0,\pm 1)$   We could determine the nature of them by looking at the eigenvalues of the Hessian, but is there a way to just analyse it directly? Obviously $(0,0,0)$ is a strict global minimum, but I can't quite see that the other points are. Any pointers/hints would be appreciated. Delete from uitableview + write to plist not working How should I transform non-negative data including zeros? If I have highly skewed positive data I often take logs. But what should I do with highly skewed non-negative data that include zeros? I have seen two transformations used:   $\log(x+1)$ which has the neat feature that 0 maps to 0. $\log(x+c)$ where c is either estimated or set to be some very small positive value.   Are there any other approaches? Are there any good reasons to prefer one approach over the others? Python provides the "*" operator for unpacking a list of tuples and giving them to a function as arguments, like so:  args = [3, 6] range(*args)            # call with arguments unpacked from a list   This is equivalent to:  range(3, 6)   Does anyone know if there is a way to achieve this in PHP? Some googling for variations of "PHP Unpack" hasn't immediately turned up anything.. perhaps it's called something different in PHP? I own a notebook running Ubuntu 16.04 with Unity DE that does not have any keyboard LEDs to indicate NUM-Lock or CAPS-Lock states.  It would be useful for me to see them anyway, ideally through an indicator in Unity's panel.   Please note that I only want to see the states of NUM-Lock, CAPS-Lock and optionally Scroll-Lock. I do not want to see whether any other modifier keys like Shift, Ctrl, Alt, Super etc. are currently pressed. I only want a replacement for my missing LEDs.  Are there any working indicators available?    I already have read , but it does not suit my needs. indicator-xkbmod only displays a wrong icon but does not react on keyboard NUM-/CAPS-Lock status changes, kbstate is for KDE only and key-mon does not show the NUM-/CAPS-Lock states but indicates key presses to modifier keys. Proving that orthogonal vectors are linearly independent I am trying to prove that $a_1$, $a_2$, $a_3$ are linearly independent.  I am asked to use vector product and prove that if $c_{1}a_{1} + c_{2}a_{2} + c_{3}a_{3} = 0$ then $c_1 = c_2 = c_3 = 0$  I am completely stuck on where to go with this problem. I would think that linearly independent then the null space of the space can only be equal to $0$. Would this prove it? Why does `ls -d *[!e]*` display all files instead of omitting all files that contain an e? ls -d *e* prints out all files containing an "e" somewhere in it. But the opposite, ls -d *[!e]* does not seem to work. Why exactly is that?  is it because ls takes * as its own argument and expands all the files?  I understand I can do: ls -d !(*e*) (in Bash with extglob set, or in ksh). "Unable to install GRUB in /dev/sda" when installing GRUB I recently bought a shiny new Lenovo Yoga 2 Pro and I want to dual boot it with Ubuntu for studying purposes. Its built-in OS is Windows 8.1 and it has a 256GB SSD.  I've made a separate 90GB partition just for Ubuntu and a live USB to install it.  The first time everything seemed to work great, I solved the wifi issued by blacklisting ideapad_laptop, the installation went flawlessly and Ubuntu worked fine.  When I got up the next morning and turned on my laptop it booted into Windows right away without ever showing the GRUB menu. So I tried to reset, and checked my partitions with the Disk Manager and everything looked fine. Since I couldn't find a solution online I went ahead and formatted the partition to try and install again. This time and every time since, the installation was aborted and I got a fatal error saying:  Unable to install GRUB in /dev/sda Executing `grub-install /dev/sda` failed. This is a fatal error.   Can anyone please suggest a solution to this problem? If any further information is needed I would be happy to provide it. Thanks.  When installing I get the following in details:  ubuntu kernel: [ 1946.372741] FAT-fs (sda2): error, fat_get_cluster: invalid cluster chain (i_pos 0). ubuntu grub-installer: error: Running 'grub-install --force failed. if R is a commutative ring in which all the prime ideals are finitely generated then R is Noetherian Prove that if $R$ is a commutative ring in which all the prime ideals are finitely generated, then $R$ is Noetherian.   Here is what I been told to do: Suppose that $R$ is not Noetherian, and use Zorn’s lemma to obtain a maximal element $I$ in the collection of all ideals of $R$ that are not finitely generated.  Then use the following proposition: Let $I$ be an ideal of a commutative ring $R$, and let $r ∈ R$. If the ideals $I +rR$ and {$s ∈ R : sr ∈ I$} are finitely generated, then $I$ is a finitely generated ideal.  Can anyone help please. thanks a lot. How to install Anaconda on Ubuntu? How to install  on Ubuntu?   Is there a way to use apt-get install?   I only have command line access to my server. How do I install Anaconda on Ubuntu 14.04 from the command line? Every affine variety in $\mathbb A^n$ consisting of finitely many points can be written as the zero locus of $n$ polynomials I am reading Gathmann's free online notes on Algebraic Geometry. One exercise asks to show that     "Every affine variety in $\mathbb A^n$ consisting of finitely many points can be written as the zero locus of $n$ polynomials".    There is a hint says "interpolation". I don't know how to start with the hint.   If $n=2$, we can use interpolation to get 1 polynomial for finitely many points. But we need to show 2 polynomials instead. I am also not sure how to apply interpolation for higher dimensions. Anyone can help? Thank you! Is it possible to add subtitles of a figure which contains subfigures I have a single image which contains two sub-images. I want the following subtitles (a) and (b) to be shown correctly.   In which, left sides is my current image which contains two rectangular. And right sides is my expected result. I found a solution is that we can use subfig package. However, it requires separating the original figure into two subfigure. In that question, I am regarding that we do not need split original figure, I want to write (a),(b) directly below figure. Thanks Current solution is  \begin{figure}[H] \captionsetup{labelfont={bf}}   \centering     \subfloat[]{\centering\includegraphics[scale=0.5]{Fig1a.png}} \\     \subfloat[]{\centering\includegraphics[scale=0.5]{Fig1b.png}}   \caption{This is main figure}   \label{fig:9} \end{figure} \foreach not behaving in axis environment Am hesitant to ask yet one more embarrassing question, but I can't seem to see the problem with the \foreach in the MWE. It should produce several horizontal lines but only produces the one with the yValue as specified in the \newcommand{\yValue}{0.3}:  Code: \documentclass{article} \usepackage{pgfplots}  \newcommand{\yValue}{0.3}  \begin{document} \begin{tikzpicture} \begin{axis} [  ymin=0,  ymax=1,  xmin=0,  xmax=1, ]  \foreach \yValue in {0.00,0.1,...,1.00} {     \draw [red] (axis cs:0,\yValue) -- (axis cs:1,\yValue); }  \end{axis} \end{tikzpicture} \end{document} Why girth of Petersen Graph is five? (Proof) I want to know, what is the mathematical proof that shows the shortest cycle in Petersen Graph has length five? How do I integrate the Poisson equation to determine the electric potential along a particular direction (e.g., $z$)? This question is a sequel of sorts to my  about .  In the paper, the authors performed molecular dynamics (MD) simulations of parallel-plate supercapacitors, in which liquid resides between the parallel-plate electrodes.  The system has a "slab" geometry, so the authors are only interested in variations of the liquid structure along the $z$ direction.  In my previous question, I asked about how particle number density is computed.  In this question, I would like to ask about how the electric potential is computed, given the charge density distribution.  Recall that in CGS (Gaussian) units, the Poisson equation is   $$\nabla^2 \Phi = -4\pi \rho$$  where $\Phi$ is the electric potential and $\rho$ is the charge density.  So the charge density $\rho$ is proportional to the Laplacian of the potential.  Now suppose I want to find the potential $\Phi(z)$ along $z$, by integrating the Poisson equation.  How can I do this?  In the paper, on page 254, the authors write down the average charge density $\bar{\rho}_{\alpha}(z)$ at $z$:  $$\bar{\rho}_{\alpha}(z) = A_0^{-1} \int_{-x_0}^{x_0} \int_{-y_0}^{y_0} dx^{\prime} \; dy^{\prime} \; \rho_{\alpha}(x^{\prime}, y^{\prime}, z)$$  where $\rho_{\alpha}(x, y, z)$ is the local charge density arising from the atomic charge distribution of ionic species $\alpha$, $\bar{\rho}_{\alpha}(z)$ is the average charge density at $z$ obtained by averaging $\rho_{\alpha}(x, y, z)$ over $x$ and $y$, and $\sum_{\alpha}$ denotes sum over ionic species.  The authors then integrate the Poisson equation to obtain $\Phi(z)$:  $$\Phi(z) = -4\pi \sum_{\alpha} \int_{-z_0}^z (z - z^{\prime}) \bar{\rho}_{\alpha}(z^{\prime}) \; dz^{\prime} \; \; \; \; \textbf{(eq. 2)}$$  My question is, how do I "integrate the Poisson equation" to obtain equation (2)?  How do I go from  $\nabla^2 \Phi = -4\pi \rho$ to equation (2)?  In paricular, where does the $(z - z^{\prime})$ factor come from?   Thanks for your time. In a perfect world, the so-important advice "do not reinvent the wheel" would be extensively followed. In practice, everyday millions of wheels are reinvented simply because someone didn't know an existing solution for a specific problem. The best way to find a library, today, is googling it, but it's not always obvious which keywords to use. The lack of a tool for finding solutions is very counterproductive for the dev world as a whole. Stack Overflow is not very receptive for recommendation threads. So what about a new SE for it? Fluid filled harmonic oscillator A vessel (preferably circular) filled with water is accelerating unidirectionally such that the level of water is higher on one end than the other. What I want to know is that if the vessel is immediately stopped, the water level will force itself back to the equilibrium point, but in doing so push the other end up. If water is an ideal fluid, what type of oscillation will occur in this situation.   I can tell that maybe the mathematical expression for this oscillation will be complex, but please do let me know if I am thinking this correctly.   I am considering, finding the oscillation equation for infinitesimally small u-tubes(considering a 2-d plane) and integrating it to get the final expression.  Thanks in advance Randomize a List What is the best way to randomize the order of a generic list in C#? I've got a finite set of 75 numbers in a list I would like to assign a random order to, in order to draw them for a lottery type application.