Why camera does not have a USB port to connect to PowerBank for power?
Is there really no way to power a DSLR by USB?
pgfplots external with large dataset (lualatex?) I have fairly large datasets with densely strucutred data that i cant downsampe much without loosing structure. I use TexMaker on Ubuntu 14.04LTS. I use   \usepackage{tikz,pgfplots,pgfplotstable} \pgfplotsset{compat=1.9} \usepgfplotslibrary{external} \tikzexternalize   and   \tikzsetnextfilename{figs/test1}   to externalize the figures. This works good compiling with pdflatex -shell-escape. But as the data becomes to large I am out of memory. I am trying to compile using LuaLaTeX -shell-escape instead of pdfLatex but get the following error message:   ! Package tikz Error: Sorry, the system call 'pdflatex -halt-on-error -interact ion=batchmode -jobname "figs/test1" "\def\tikzexternalrealjob{article}\input{ar ticle}"' did NOT result in a usable output file 'figs/test1' (expected one of . pdf:.jpg:.jpeg:.png:). Please verify that you have enabled system calls. For pd flatex, this is 'pdflatex -shell-escape'. Sometimes it is also named 'write 18' or something like that. Or maybe the command simply failed?   so pgfPlots seem to call pdfLatex without the appropriate -shell-escape flag and without me specifying it. How can i get this to compile in LuaLatex? or can i compile only the figures in LuaLatex and the rest in pdfLatex (the opposite of what is happening now)? I found  and  example but neither helped me...  Thankfull for help and i am also thankful for any general advice that can help me resolve the problem of ploting larger data sets in pgfplots.   Cheers /J Which is the biggest object which can interfere with itself? Difference between 'such as' and 'like' This one never ceases to confuse me. When to use 'such as' and when to use 'like' while giving examples? Is there any clear rule?        Metros like Mumbai, Delhi and Karachi are unsafe after dark.    Metros such as Mumbai, Delhi and Karachi are unsafe after dark.       (Before anyone points out, Delhi and Karachi are unsafe round-the-clock, but it's just an example.) "Meet my boss" or "meet with my boss"? What is the difference between "meet" and "meet with"?  For example, which of these should I say?        I met my boss yesterday    I met with my boss yesterday   I'm meeting my friends tonight    I'm meeting with my friends tonight How to decide which glm family to use? I have fish density data that I am trying to compare between several different collection techniques, the data has lots of zeros, and the histogram looks vaugley appropriate for a poisson distribution except that, as densities, it is not integer data. I am relatively new to GLMs and have spent the last several days looking online for how to tell which distribution to use but have failed utterly in finding any resources that help make this decision. A sample histogram of the data looks like the following:   I have no idea how to go about deciding on the appropriate family to use for the GLM. If anyone has any advice or could give me a resource I should check out, that would be fantastic. Can't view deleted questions via Android app Can you attack with different weapons using Extra Attack? The fighter's  feature (PHB, p. 72) says:     Beginning at 5th level, you can attack twice, instead of once, whenever you take the Attack action on your turn.   Assuming I am holding two different weapons, and don't want to spend my bonus action on Two-Weapon Fighting, can I attack once with each weapon? I've made a roughness 0 glass pane, when I'm in lookdev mode it's reflecting a background that I didn't put there. I know I could just ignore it, but I'd rather be able to see what it'll mostly look like when I'm in the later stages. I also just want to know how on Earth I managed to set this background without realising it  Reflection completely ignores any objects I put in front of it. If I placed this glass inside my house, it would still just reflect trees (This is the point where I felt I couldn't ignore it - reflections are going to play a big part in my project and I don't want to be in render mode all the time)  The nodes are the default glass BSDF, except I set roughness to 0  The glass is set to 20mm thick, if that makes a difference  The background moves with my perspective and moves when I relocate the glass  I have a few HDRI's on my PC, but none look remotely like this   Also, I'm using cycles as I find Evee buggy as hell WPF Binding to Grid Column Width I'm attempting to bind a DependancyProperty in one of my usercontrols to the Width property of a Column in a Grid.   I have code similar to this:  &lt;Grid x:Name="MyGridName"&gt;     &lt;Grid.ColumnDefinitions&gt;         &lt;ColumnDefinition x:Name="TitleSection" Width="100" /&gt;         &lt;ColumnDefinition Width="*" /&gt;     &lt;/Grid.ColumnDefinitions&gt;      &lt;Grid.RowDefinitions&gt;...&lt;/Grid.RowDefinitions&gt;      &lt;GridSplitter x:Name="MyGridSplitter" Grid.Row="0" Grid.Column="0" ... /&gt; &lt;/Grid&gt;   In a separate Usercontrol I have the followingDependancyProperty defined.  public static readonly DependencyProperty TitleWidthProperty = DependencyProperty.Register("TitleWidth", typeof(int), typeof(MyUserControl));  public int TitleWidth {     get { return (int)base.GetValue(TitleWidthProperty); }     set { base.SetValue(TitleWidthProperty, value); } }   I am creating instances of the Usercontrol in code, hence I have a binding statement similar to this :  MyUserControl Cntrl = new MyUserControl(/* Construction Params */); BindingOperations.SetBinding(Cntrl , MyUserControl.AnotherProperty, new Binding { ElementName = "objZoomSlider", Path = new PropertyPath("Value"), Mode = BindingMode.OneWay }); BindingOperations.SetBinding(Cntrl , MyUserControl.TitleWidthProperty, new Binding { ElementName = "TitleSection", Path = new PropertyPath("ActualWidth"), Mode = BindingMode.OneWay }); /* Other operations on Cntrl */   The first binding defined works fantastically, although that is binding to an actual UIElement (in this case a Slider), but the Binding to "TitleSection" (which is the ColumnDefinition defined in the Grid) fails. Putting a breakpoint in the code and doing a watch on "TitleSection" returns the expected object.   I am beginning to suspect that a x:Name'd ColumnDefinition can't be bound to. Can anyone suggest how I might be able to bind to the changing width of the first column in my grid?  EDIT #1 - To answer comments  The databinding 'fails' in the sense that with a breakpoint set on the setter for the TitleWidth property, and using the GridSplitter control to resize the first column, the breakpoint is never hit. Additionally, code I would expect to be fired when the DependancyProperty TitleWidth changes does not get executed.  The usercontrol is being created and added to a Stackpanel within the Grid in the Window_Loaded function. I would expect that the Grid has been rendered by the time the Usercontrols are being constructed. Certainly the x:Name'd Element TitleSection is watchable and has a value of 100 when they are being constructed / before the binding is happening.  EDIT #2 - Possibly something to do with this?  I've been having a sniff round the MSDN pages for the Grid ColumnDefinition documentation and have come across  but I can't get my head around how I can use this in a binding expression. I cannot use the associated GridLengthConverter as a converter in the binding code as it does not derive from IValueConverter.   I am leaning towards somehow binding to the ActualWidth property of one of the cells in the Grid object. It doesn't seem as clean as binding to the column definition, but at the moment I cannot get that to work. Is there any way to tell Google to use a particular account for all Google services by default? I typically use 2 Google accounts simultaneously in my browser. So whenever I fire up any Google service like Google Maps or YouTube or Google Search, it uses one of the accounts. The problem is that I don't want that account to be used and no matter how many times I switch the account for these services, they seem to default to same account.  Is there any way to tell Google to use a particular account for all Google services by default?    I am not talking about using Google account to sign in to third party websites. I am talking only about Google's own services.  I am using Chrome if anyone is going to suggest client-side solution. How does the 'passwd' command gain root user permissions? How does Linux know that it has to give euid 0 (uid of root) to only certain process like passwd, setuid, etc.  If a process can gain root permissions, will it not lead to potential security breaches in the Linux platform?   For example, if I write a program that can can gain root user permissions like passwd, I may corrupt important system files like /etc/passwd, /etc/groups.   How does Linux manage to still be secure? What is the difference between "gender" and "sex"? What is the difference between gender and sex?  says that gender is The mental analog of sex but that's too high English for me.  Basically, I'm developing a web-application that stores people's profile along with a field for gender/sex. Which name would be more appropriate?  __  [UPDATE]  After getting these good answers, I can figure out that,   Sex - Biological characteristics  Gender - Social characteristics   And, well, for my web-application, I went with the term sex, as it sounds more scientific and less political. P.S. Values for sex are clearly defined and can be easily validated (only two values * + an optional blank value).  * plus some anomalies. How to print colored text to the terminal? Is redirecting homepage to a page with keyword it's targeting helps in SEO? I want to make some changes to Windows that require using the Group Policy Editor (gpedit.msc).  Unfortunately the Group Policy Editor is not included with the Starter Edition, Home and Home Premium editions of Windows.  How can I install it? How can I port forward with iptables? I want connections coming in on ppp0 on port 8001 to be routed to 192.168.1.200 on eth0 on port 8080.  I've got these two rules  -A PREROUTING  -p tcp -m tcp --dport 8001 -j DNAT --to-destination 192.168.1.200:8080  -A FORWARD -m state -p tcp -d 192.168.1.200 --dport 8080 --state NEW,ESTABLISHED,RELATED -j ACCEPT   and it doesn't work. What am I missing? Are all multiplicative functions additive? Suppose $cf(x)=f(cx)$ and $f:\mathbb{R}\to\mathbb{R}$. I believe it follows that $f(x+y)=f(x)+f(y)$.   Proof: There is some $c$ such that $y=cx$. Then  $$f(x+y)=f\left((1+c)x\right)=(1+c)f(x)=f(x)+cf(x)=f(x)+f(cx)=f(x)+f(y)$$  QED.  I wonder if the same thing holds for when $f:\mathbb{R}^n\to\mathbb{R}^n$? I can't use the same trick, because all vectors are not scalar multiples.  I tried thinking of it in terms of basis units, but didn't get anywhere. How do I calculate a time delta in my Google Spreadsheets? External hard disk detection issue what exactly happened:  I have a Seagate 1 TB external hard disk.It was working fine till now.The problem started when I plugged it in my android phone and then back in my pc then simply it does not showup anywhere and :  It does not appear in file explorer   It does not appear in disk management   It is not listed in Diskpart command   It only appears in Device Manager under disk drives   It does not appear in BIOS  only makes sound when plugged and unplugged.  disk spins and light is also showing.   . What I already tried:   updated usb drivers.  used new cable also.  plugged in another pc  usb mass storage is also enabled in BIOS  no issue in any usb port  Anything else i can do? Proof that an integral domain that is a finite-dimensional $F$-vector space is in fact a field I'm reading Galois Theory by Steven H. Weintraub (second edition), and finding that I'm at least somewhat short on the prerequisites. However the following proof looks wrong to me - am I misunderstanding something, or is it actually an incorrect proof?  Lemma 2.2.3. Let $F$ be a field and $R$ an integral domain that is a finite-dimensional $F$-vector space. Then $R$ is a field. Proof. We need to show that any nonzero $r \in R$ has an inverse. Consider $\{1, r, r^2, \cdots\}$. This is an infinite set of elements of $R$, and by hypothesis $R$ is finite dimensional as an $F$-vector space, so this set is linearly dependent. Hence $\sum_{i=0}^n{c_i r^i} = 0$ for some $n$ and some $c_i \in F$ not all zero.  It then goes on to show, given the above, that we can derive an inverse for $r$. However, if I consider examples like $r = 2 \in Q[\sqrt{2}]$, $r = \sqrt{2} \in Q[\sqrt{2}]$ or $r = 2 \in Q[X]/{&lt;X^2&gt;}$, the set $\{1, r, r^2, ...\}$ doesn't look linearly dependent to me. I do believe the lemma is true (and might even be able to prove it), but this does not look like a correct proof to me. Am I missing something? [Edit] Well yes, I am. Somehow I had managed to discount the possibility of any $c_i$ being negative, despite repeatedly looking at each fragment of the quoted text in an attempt to find what I might be misunderstanding.