Bash for windows 10 not opening a program
npm commands not working on WSL with zsh
Is my sugar daddy scamming me It is me who am to blame.    It is I who am to blame.      Which one is correct here? I am bewildered about these two sentences. Eigenvectors of a circulant matrix Do lens hoods need to be matched to focal length? Is it true that not all generic lens hoods work on all lenses (provided the filter diameter matches, of course)? I read that the focal length plays a role in it - but I cannot find such readings on any lens hoods I see available online. Spice containers purchase  I'm planning on upgrading my spice storage. Reading some advice online (e.g. , and ) I came to the conclusion that spice containers should:   Not be exposed to direct sunlight and high temperatures Be airtight   Which means that either you store it inside of some closed cupboard/wardrobe/room or you have containers which do block light and are in a relatively shady place. And the containers need to be airtight.  Available solutions  I've been browsing for some containers available online in my country and the 2 most sensible options I've seen are these:       The problem  The first one is hermetic (it has some rubber around the lid) but it's clear glass. The other one does not have the rubber, just a regular twist-off lid, but it's amber glass.  It'll be hard for me to find any space inside of cupboards to store all of my spices (I need at least 30), so I'd rather buy amber glass container, which I believe will effectively block the sunlight, even when kept on the counter. But I can't find any hermetic amber-glass containers, only ones with regular lid.  The question  Is that regular twist-off lid enough to keep spices airtight and fresh? Or should I focus on buying a hermetic container (like the one in clear glass). I could then for example paint them black to block the sunlight. "Items collection must be empty before using ItemsSource." I'm trying to get images to display in a WPF ListView styled like a WrapPanel as described in this old ATC Avalon Team article: .    When I try to populate the ListView with a LINQ-to-Entities queried collection of ADO.NET Entity Framework objects I get the following exception:  Exception     Items collection must be empty before   using ItemsSource.   My code&hellip;  Visual Basic  Private Sub Window1_Loaded(...) Handles MyBase.Loaded     ListViewImages.ItemsSource = From g In db.Graphic _                                  Order By g.DateAdded Ascending _                                  Select g End Sub   XAML  &lt;ListView Name="ListViewImages"           SelectionMode="Single"           ItemsSource="{Binding}"&gt;     &lt;local:ImageView /&gt; &lt;/ListView&gt;   I put a breakpoint on that line.  ListViewImages.ItemsSource is Nothing just before the LINQ assignment. How do I find out the number, type, resolution &amp; refresh rate of additional monitors I can attach to my MacBook or MacBook Pro?  This is an attempt at a canonical QA, as per the Meta QA -   to try prevent the myriad "same but different" questions we get on every possible combination of computers, cable &amp; monitors There are perfectly good resources out there that Ask Different should not have to duplicate the efforts of. Why did Superman & Supergirl start to suffocate instantly when Luthor made our yellow Sun red? Spoiler Alert: If you haven't read all comics series &amp; story arc of New Krypton Saga viz. New Krypton, World of New Krypton, Last Stand of New Krypton, Superman: War of Supermen etc, drop this question right away!  While battling the evil alien Brainiac, Superman &amp; Supergirl discovered the long-lost bottled city of Kandor which was stolen from Krypton prior to its destruction. Superman re-enlarged the city on Earth, but it wasn't welcomed by Humans. Humans assaulted the city in which Kryptonian's leader Zor-El (Supergirl's father) was killed. Using highly evolved science, Alura (Zor-El's wife) created a new planet "New Krypton". Plus, she, as a new leader, freed General Zod from Phantom Zone to command new super military of New Krypton (every kryptonians had super powers due to yellow sun).  While New Krypton &amp; Earth were at cold war, Zod ordered his military to attack Earth. When military was in space, Sam Lane (Lois Lane's father) destroyed New Krypton by a trick making their race extinct again. Kryptonian military successfully crushed Earth's Mars defense facility &amp; they headed towards Earth.  When they were about to enter atmosphere of Earth:      Many Kryptonians died under the red sun because they couldn't survive in empty space. Its somewhat plausible because they weren't under yellow sun for long. But, what about Superman &amp; Supergirl? They did survive because they were under yellow sun for very long. But, why did they become very weak instantly? If the power draining rate by radiation of red sun was that high, how did Superman &amp; Supergirl survive?  Is this a plot hole? Or, am I missing something? Which wire is negative on this PC fan? I just got this PC fan and it has a 3 pin connector, I know the wire with the white stripe is positive but how can I find out which of the other two wires are negative?  If you can't see the photo, here is a link to it: How can I know the default PGF line width? Is there some macro that will tell me what the default PGF line width is? I have tried creating my own macro by cloning \pgflinewidth before it has been modified, i.e.  \let\defaultlinewidth\pgflinewidth   but \defaultlinewidth seems to be affected by \pgfsetlinewidth anyway, and change to whatever \pgflinewidth is. So, the problem is that after I have called \pgfsetlinewidth, I don't know what the default pgf line width is anymore. Is there some way to get around this? I am trying to prove that the set of irrational numbers $\mathbb{R} \setminus \mathbb{Q}$ is not an $F_{\sigma}$ set. Here's my attempt:  Assume that indeed $\mathbb{R} \setminus \mathbb{Q}$ is an $F_{\sigma}$ set. Then we may write it as a countable union of closed subsets $C_i$: $$ \mathbb{R} \setminus \mathbb{Q} = \bigcup_{i=1}^{\infty}  \ C_i $$ But $\text{int} ( \mathbb{R} \setminus \mathbb{Q}) = \emptyset$, so in fact each $C_i$ has empty interior as well. But then each $C_i$ is nowhere dense, hence $ \mathbb{R} \setminus \mathbb{Q} = \bigcup_{i=1}^{\infty}  \ C_i$ is thin. But we know $\mathbb{R} \setminus \mathbb{Q}$ is thick, a contradiction.  This seems a bit too simple. I looked this up online, and although I haven't found the solution anywhere, many times there is a hint: Use Baire's Theorem. Have I skipped an important step I should explain further or is Baire's Theorem used implicitly in my proof? Or is my proof wrong? Thanks.  EDIT: Thin and thick might not be the most standard terms so:  Thin = meager = 1st Baire category Need assistance shrinking MDF File Verbose logging was accidentally left on for one of our database ballooning our database MDF file from roughly 90GB to 192GB.  We've disabled verbose logging, truncated the logging table but now we want to shrink the MDF file to reclaim disk space as the drive the MDF file is on is only around 200GB. I don't have the luxury of increasing its size. Our disk space monitoring tool is alerting me that drive space is less than 8% over and over and over.  Given this is the first instance this has ever happened, we don't expect to ever need that extra 102GB of disk space again. We'd like to reclaim it.   I've tried to use the GUI to shrink the database and the files but it doesn't actually change in size. I've also tried using DBCC SHRINKFILE and DBCC ShrinkDatabase with NoTruncate and TruncateOnly. No matter what I do the file doesn't seem to budge.  One potential issue is that somehow the database initial size is 188GB. Deleting and re-creating the database isn't a very practical option for us so how can I shrink the MDF file and reclaim our disk space?  Running dbcc shrinkfile('My_Data'), I get the following results:  DBID: 5  Field: 1 CurrentSize:24030464 MinimumSize: 128 UsedPages: 17770472 EstimatedPages: 17770472   The database MDF file is still the same size (192,243,712 KB).  The table has a clustered index:  Name:TRACES ObjectID: 394588594 Type: Clustered Index/b-tree   The query:  SELECT     name,     size/128.0 - CAST(FILEPROPERTY(name, 'SpaceUsed') AS int)/128.0 AS AvailableSpaceInMB FROM sys.database_files   ...for the database I am trying to shrink, returns:  Name: My_Data AvailableSpaceInMB: 48693.375000 Name: My_Log  AvailableSpaceInMB: 67028.437500   I've also tried shrinking in small chunks using a PowerShell script that shrinks in 20MB increments. That also doesn't change the size of the MDF file.  I've tried dbcc shrinkfile(My_Data) without any other options from SQL Management Studio. It runs for a long time, finishes, and the MDF file is still the same size. Specifying a target size, it runs for a good 30-40 minutes (finishes) and nothing changes file size wise.  I ran this: DBCC SHRINKFILE (N'My_Data' , 139045) and get the following results:  DbId: 5 Field: 1 CurrentSize: 24030464 MinimumSize: 128 UsedPages: 17808744 EstimatedPages: 17808744 I'm not very knowledgeable about physics generally, but know that nothing can escape a black hole's gravitational pull, not even light (making them nearly invisible?).   My question is: What has been obtained from direct observation of a black hole to prove their existence? Please note that I'm not questioning the existence of black holes, but am just curious as to how we have come to realize it. C++, array of objects without My Ubuntu laptop which was working fine until recently. My desktop disappeared and all the desktop icons are gone. All I have access to is the terminal. In an attempt to fix the problem, I installed GNOME but it made the computer give the error:     Warning! Failed to connect to lvmetad. No such file or directory Falling back to internal scanning.    I can press Ctrl+Alt+F1 to start tty1 but I can't get to a graphical user interface. What did I do wrong and how do I fix it?.  The operating system is ubuntu Linux How to avoid returning a Null if there is no "else" condition in an If construct $y'=$ ${-x+\sqrt{(x^2+4y)}}\over 2$ , $y(2)=-1$ Prove that the solutions $y_1$ and $y_2$ for the initial value problem   $y'=$${-x+\sqrt{(x^2+4y)}}\over 2$ , $y(2)=-1$  are:  $y_1=1-x$  $y_2={{-x^2}\over 4}$  And explain why the two solutions not contradiction with the theory of existence and uniqueness.  ( sorry I don't speak English well )  My answer:  For the initial condition :  $y_1=1-x$ Satisfy the initial condition  $y(2)=-1$  $y_1=1-2=-1$   And Satisfy the differential equation  ${y_1}^{\prime}=-1$  ${{-x+\sqrt{x^2+4y}}\over 2}={{-x+\sqrt{x^2+4(1-x)}}\over 2}$  $={{-x+\sqrt{(x-2)^2}}\over 2}$  $={{-x+x-2}\over 2}=-1$  L.h.s.=R.h.s.  $y^{\prime}={{-x+\sqrt{x^2+4y}}\over 2}$  Also $y_2$ Satisfy the initial condition  $y_2={{-x^2}\over4}={-4\over4}=-1$   And satisfy the differential equation.   $y_2^{\prime}={-x\over 2}$  ${{-x+\sqrt{x^2+4y}}\over 2}={{-x+\sqrt{x^2+4({-x^2\over 4})}}\over 2}={-x\over 2}$  And for second part of exercise:  ${\partial f\over \partial y}={1\over \sqrt{x^2+4y}}$  and this not defined when $x=2, \ y=-1$  So $f(x,y)$ no satisfy lipshtize condition in any rectangular has (2,-1), Lipshtize condition including uniqueness of solution, so no contradict with the existence and uniqueness.  True ?  If this also wrong I well be delet it , I answered by the same way of my teacher :( How do I test for a mob, with a given name, in a certain location? I want to testfor a sheep, by the name of Lamb, in a certain location using coordinates.  I have already tried this:  testfor @e[x=999,y=80,z=-1034,type=Sheep,name=Lamb]   But it doesn't work. I have also tried:  testfor @e[x=999,y=80,z=-1034,type=Sheep]   But it says it found a sheep whether or not there is actually a sheep in that location. How do I get AMD/Intel Hybrid Graphics drivers to work? On Ubuntu 12.04 my Sony Vaio VPCSE with Intel® HD Graphics 3000 and AMD Radeon™ HD 6630M worked fine with the Catalyst Control Center version 12.6. Also the switching between integrated and discrete graphic card was working.  In both cases, I followed this .  But it is not working on Ubuntu 12.10.   I tested the tutorial with the Catalyst Control Center from the Ubuntu Software Center, the version 12.8 and version 12.9. Always the same problem: After installation process I am able to boot in the login-screen. But after entering the password for my username, only the background-image appears. Unity seems not to be starting. I am only able to reach the context-menu by right clicking the mouse button.  I also tried , but is also does not work for me.  Any ideas what to do to fix this problem?   Update: Same problem on Ubuntu 13.04!  Update: Solution for 13.04 ist not working on Ubuntu 13.10! Prevent Adobe Reader from switching to "Fit Page" zoom when bookmark is clicked