Identify movie about spaceship crew exercising with 'gravity body patches'

What is it?: A science fiction (TV) movie, or pilot episode. Tell us what it isn't: It is not Star Trek, Buck Rogers, Battlestar Galactica. I have skimmed lists of science fiction movies from the 70s, 80s and 90s on Wikipedia, but haven't been able to find it. Tell us what made it memorable: It felt less campy than most sci-fi of the time. The crew of a spaceship exercises using small patches on their bodies simulating gravity/weight. There was a bald villain who was related (brother?) to one of the (female?) characters of the crew. The finale takes places on a barren surface with the villain climbing some metal frame construction. When did you see this film?: Early 90's on Dutch TV. It was probably broadcast more than once.  How old was it?: Unsure, but it has an 80s (early 90s) vibe. What language was it?: English. Was it part of a series?: Probably not (though it could be the pilot of one). What details can I recall?: Set and costumes were minimalistic. Not very colourful, cool tones (blue). The pace/action was a bit slower. Other details: The intro might have shown the characters' faces partly as wireframes (or similar effect). The movie probably did not contain any aliens or non-human characters (at least not in appearance).


I'm about to start an Area 51 site and wanted the mobile app to let me post to it. Is it possible already or is this feature in the works?


Prove that the equation $\tan (z)=z$ has only real roots.

Prove that the equation $\tan(z)=z$ has only real roots. How to do it? The idea is that the increment of the argument need to look at the boundary of the square with a side of $\pi n$ and another that $\tan(z)-z$ has a pole at $0$. I do not know how to use it.


Adjust vertical space between question title and text in exam class

How do I adjust the vertical space between the question titles and the text of the questions in the exam-class.  \documentclass{exam}  \qformat{\large\textbf{Question \thequestion}\hfill}  \begin{document} \begin{questions}     \question     Some text \end{questions} \end{document}   I've tried adding some \vspace to the end of the argument of \qformat but that doesn't work. I can't figure out what controls the spacing.


Are partitions to the inner/outer edge significantly faster

Some linux dual/multi-boot tutorials / general partitioning tutorials say that the inner side of a hard disk is faster than the outer side so partitions towards the outside tend to be slower while some say that the exact opposite is true.  Which side is actually faster?  Is the difference noticeable?  How are the partitions physically placed on the disk as compared to the partition listing order-for example gparted shows a logical ribbon layout of the partitions. Are the partitions shown to the left side of this ribbon near the outer or inner edge of the disk physically?  Are there software benchmarks like testing some disk intensive stuff for the first time on identical vanilla installs of the same OS but on different partitions, inner and outer?  EDIT: Links   ctrl + f for "slower" on this page   Says outer side is faster   Says inner side is faster   Says outer side is faster(not about dual-booting)


How do I determine the result of a Saving Throw?

I'm a pretty new player, and I'm building a bard in D&D 5e. I understand how saving throws work in general, but I am a little confused about one thing. Say I cast Blindness/Deafness on a humanoid. They must then make a Constitution saving throw. My question is: what value do they have to roll in order to make the save? Does their roll (plus their constitution modifier) have to beat my constitution (plus my modifier)? This is more of a general player question than one specific to the Bard or that spell.


If $0\leq x,y\leq\frac{\pi}{2}$ and $\cos x +\cos y -\cos(x+y)=\frac{3}{2}$, then how can I prove that $x=y=\frac{\pi}{3}$? Your help is appreciated.I tried various formulas but nothing is working.


What do you call someone who is supported?

Synonym for a supportee (Which doesn't seem to be a word)?  I created products that retail and we sell them and give the proceeds to charities. Trying to figure out a single word to use as a page title for those that we support were we can list the charities (With their permission of course).  Thanks


I modified vold.fstab and lost access to my SD card

Background:  I have Samsung Galaxy Ace GT-S5830, which has very low internal memory (181 MB). I have an external micro SD card of 16 GB, but still couldn't install many apps due to insufficient internal memory.  I read on the Internet that if I modify vold.fstab and replace the word "sdcard" with "sdcard2" then my external SD card will act as internal memory.  So I rooted my phone and installed Superuser, but I haven't installed ClockworkMod recovery or any other custom ROM yet.  Problem Description:  I installed ES File explorer on my SD card and allowed root access to it via Superuser. I then went to /system/etc/ from ES file explorer, edited vold.fstab and replaced the word sdcard with sdcard2.  When I restarted my phone the external SD was no longer accessible. ES File Explorer is also gone, so I cannot undo the change that i did. I tried installing ES again from my data connection, but the installation fails (and the phone reboots immediately). I am not able to install any new apps.   I am unable to access my external SD card, so I can't put anything there via PC or via recovery. I tried pressing the power button + home button to go into system recovery mode. I see only these options     Android system recovery <3e>         reboot system now       apply sdcard:update.zip       wipe data/factory reset   wipe cache partition      When I try to select the second option, it says "installation aborted" as the SD card is not accessible. I tried to select the 3rd and 4th options, but that didn't help either - I think factory reset will not reset vold.fstab.  I only have the default apps and Superuser now. I somehow need to find a way to get write permission to /system/etc or to /system/etc/vold.fstab.  Luckily I found "Android Commander". I installed it on my Windows PC and I am able to connect my phone and access the root folder, but I am not able to push a modified vold.fstab to /system/etc because  Android Commander says "no Root Access" - It is seeing it as read only.  Can someone let me know how I can edit this file again? I have an original vold.fstab on my PC, but I am not able to push it to my phone via Android Commander as Android Commander is seeing it as read only  Is there a way to give root access (aka read-write access) to Android Commander via the Superuser app?  Is there any other way to get write permission to /system/etc/vold.fstab so that I can modify it or replace it?


We all know this old well-known idiom of lazy-init singleton:  public class Singleton {     private static volatile Singleton instance;      private Singleton()     {         // init...     }      public static Singleton getInstance()     {         if (instance == null) {             synchronized (Singleton.class) {                 if (instance == null) {                     instance = new Singleton();                 }             }         }          return instance;     } }   However, the following idiom is also lazy, by nature, because the instance will be init only when the class is first accessed, handled by the class loader:  public class Singleton {     private static final Singleton instance = new Singleton();      private Singleton()     {         // init..     }      public static Singleton getInstance()     {         return instance;     } }   So the question is, why would we want to use the first example and not the second? (not referring to the fact that it's better to use frameworks such as spring for managing your objects' life cycle..)  Even if you hold a reference to the singleton in another class, like this:  public class Holder {    private int member1;    private int member2;    private Singleton myService = Singleton.getInstance();  }   The singleton will be created when the Holder class is loaded, regardless of which approach we take  Any insights? thanks


Css force div to fill the space left between it and footer

I have a contact form in a div that fills perfectly the distance between it and the footer in smaller screen resolutions but when the screen is bigger i have a problem: there is white space between the contact-form div and the footer:  this is my css(the important part which helps me keep the footer at the bottom):   html, body {   padding: 0;   margin: 0;   height: 100%; }  body {   font: 400 16px/1.4 'Roboto', sans-serif;   display: flex;   flex-direction: column; }  .contact {   width: 100%;   clear: both;   overflow: hidden;   background: #fff;   padding: 50px 0;   margin-top: 50px; }  .footer {   background: #313a44;   border-top: 1px solid #e2e8f0;   width: 100%;   flex-shrink: 0;   padding: 50px 0 25px 0; }

    P.S The footer will have dynamic height


Chrome doesn't allow me to run Opera Mini simulator

Can anybody tell me how to fix it?    I'm using Chrome 32.


I just have a simple glass shader and that is it, is there anything i need to add so that light penetrates it? I'm using HDRI lighting and I have a sun lamp pointing directly at the glass.


Bordered Hessian matrix to find a minimum of the function

I was trying to find the global minimum for the function $$(a + b) z + (a + c) y + (b + c) x $$ subject to the following constraint: $$(xy + xz + yz)(ab + bc + ac)=1.$$ By Lagrange multipliers I found $2$ as a critical value, but calculating the  I did not find the answer. Could anyone there help me, please?


With PCRE, how can you construct an expression that will only match if a string is not found.    If I were using grep (which I'm not) I would want the -v option.  A more concrete example:  I want my regexp to match iff string foo is not in the string.  So it would match bar would but not foobar.


What are the criteria for questions to appear in the list for choosing to use on tour page?

On this page there is a list of questions, from which moderators can choose one question to be shown on the /tour page.        What are the criteria for questions to appear in the list?


Battery life calculation parallel vs series

When I'm calculating battery life in series do I add up the mah  or is is the same as a single unit?  Ex. If I take 10x 3.2v cells @3000 mah and concert them in series, I will have 32 v @ 30,000mah or 3000mah.  How does this work for parallel circuits.  Thanks


What is the difference between Unity and Gnome versions?

I want to install my first Ubuntu version on my laptop, but I have a big question about that.   I am looking for the 16.04 LTS but I see there is different versions of Ubuntu Desktops (Unity, Gnome, Mate...) and I don't know what version of these is the most appropriate for my laptop. It is an i5 with 8GB of ram and a 240GB SSD, with a 4-cell battery. I am worried about the battery life, and if it works slow or not.  Could you help me with this decision? Is it any big difference between these versions?  Sorry if it's a very common question, I cannot find another question which resolve my doubt.  Thanks


Will installing Ubuntu using the "erase entire disk" option remove and erase all currently existing partitions?

I'm considering ditching Windows 8 and doing a fully clean install of Ubuntu. However, I'm concerned because my computer came with a built-in 16 GB recovery partition that would need to be erased as well.   If I pick the "erase entire disk" option during installation, will it wipe out this recovery partition too?


Visualizing raster files stored in postgresql DB in Openlayers or Openstreetmap Layers

I am relatively new to this domain. I want to make a web app that will show raster data on openstreetmap layers or openlayers. So far I have successfuly managed to upload the files to postgresql. My main question is how are these files supposed to be visualized on an interractive map. Looking forward to your replies.


In The Big Bang Theory, is there a term for Sheldon's obliviousness on how his actions are perceived?

In 'The Big Bang Theory', is there a term for Sheldon's obliviousness between how he perceives his actions versus how others perceives his actions? His friends tolerate his rude/inappropriate behavior because they have gotten to know him.  They know he doesn't comprehend what he is doing can be perceived as possibly insulting or socially unacceptable and isn't capable of learning on his own proper social interactions. I'm just wondering if there is a term for that way of thinking.


ii) Show that $u$ is not a real part of the function which analytic on $\mathbb{C} \backslash \lbrace 0 \rbrace$

Suppose $u(x,y)=\ln(x^2+y^2)$  i) Show that $u$ is harmonic on $\mathbb{C} \backslash \lbrace 0 \rbrace$  ii) Show that $u$ is not the real part of a function which analytic on  $\mathbb{C} \backslash \lbrace 0 \rbrace$  I manage to show the first part. For the second part, note that $u(x,y)=\ln(x^2+y^2)=\ln(|z|^2)=2 \Re \log(z)$  But this only show that $u$ is not a real part of $\log(z)$. I don know how to show $u$ cannot be the real part of a function which analytic on $\mathbb{C} \backslash \lbrace 0 \rbrace$  Can anyone guide me?


Can two PS4s log in to the same PSN account?

Both myself and my boyfriend have PS4s.  Can I just get a single PSN account and sign both consoles into the same account, or do I need to get two separate accounts?


Two years ago somebody made a fanpage for our company, but that person doesn't work here anymore. We don't have any login or password. We like to see that account be deleted, please.


Where can I find the mount point for SMB shares in 13.04?

In older Ubuntu releases, you were able to access the SMB shares mounted with Nautilus by going into the ~/.gvfs/ directory. I found it very convenient, since I like to use Nautilus to mount the shares, but do all disk operations (copy, mv, find etc.) using command line.  I now have Ubuntu 13.04, and even though I can mount the share and use it with Nautilus (which I never use), I am unable to find the actual mount point. Is it still somewhere? Or has it been abandoned? Can I get it back?  I know that I can mount the shares using CIFS and /etc/fstab, but I'd rather use the user space. That way, when I install a new system or transfer my home to another machine, my preferences (including credentials) stay in my home directory and I don't need to worry about updating fstab.  Also, I do not want to mount it manually with sudo (with sudo mount -t cifs ...). Yes, I could create an alias or a script, but then I would have to either type my password every time or store my password in a credentials file. And type the sudo password. And then each time I encounter a new share, I'd need to remember how to create a credentials file. So yes, I might end up with this solution, but I would rather not change my current habits, if it is possible.  Furthermore, there is the matter of other users for which I often provide a simple command-line solution. In 13.04, this is no longer possible (for example, because the users to whom I provide the solution are not allowed to sudo mount on their machines).  In any case, I'm curious as to what happened to gvfs and why I can't see the mounted directories.


Why is this table not spanning two pages ?  \documentclass[a4paper,12pt,oneside]{book} \usepackage{amsmath,amsthm} \usepackage{setspace} \usepackage{longtable} \textheight 21.0 cm \topmargin 0 cm \textwidth 16 cm \oddsidemargin 0.0 cm \linespread{1.8} \usepackage{graphicx} \newcommand{\bra}[1]{\langle#1|} \newcommand{\ket}[1]{|#1\rangle} \usepackage{amsfonts} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{cor}[theorem]{Corollary}  \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark}  \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition}  \theoremstyle{example} \newtheorem{example}[theorem]{Example}  \theoremstyle{notation} \newtheorem{notation}[theorem]{Notation} \begin{document} \begin{tabular}{|p{0.33\columnwidth}|p{0.33\columnwidth}|p{0.33\columnwidth}|} \hline Notation &Meaning \\ \hline $\mathbb{Z}(d)$ & Integers modulo d. \\ $H(d)$ & Hilbert space d \\ $\Pi(d)$ & Finite geometry  \\ $\Gamma$ & Cell \\  $X$&  Position .\\ $P$&  Momentum . \\ $D(z)$ & Dis \\ ${\cal P}$ & Pa \\ ${\cal W}$ &  Function \\ ${\cal {\tilde W}}$  & W function \\ $ |X;a\rangle$ & position state \\ $ |P;a\rangle$ & momentum state \\ $S(\beta)$ &  transformation \\ $ |X \rangle$ & set \\ $B$ & origin \\ ${\mathfrak L}(1,2)$ & `F \\ $|{\mathfrak X}(x,y)$ & Weak mutually unbiased bases \\ $\Theta(u, \tau)$ & Theta function \\ $\varphi(N)$ & Line of  \\ ${\mathfrak K}(a,b)$ & set\\ ${\mathfrak Z}(a,b)$ & parallel lines  \\ $ \varphi (d)$& Euler totient function of $d$. \\ $\sigma_1 (d)$& Divisor function to power $1$ of $d$.\\ $ a \prec b$ & $a$ is  partially ordered in $b$.\\ $ a\cong b$& $a$ is isomorphic to $b$.\\ $\mathcal{Z}_d$ &integer modulo $d$. \\ $\{ \mathcal{D}(d) \} $& set of non-trivial divisors of $d$. \\ $ A\subseteq B$ & A is a subset of B. \\ $a \leq b$ & a is less than or equal to b. \\ $x$ & y \\ $x$ & y \\ $x$ & y \\ $x$ & y \\ $x$ & y \\ \hline \end{tabular} \end{document}


I am trying to run a binary that I have downloaded (it's part of flutter). Whenever I'm trying to run it, I get the error:    I have already disabled gatekeeper checks globally with sudo spctl --master-disable. What else can I do to get this to run?


After upgrading to ubuntu 16.04LTS my desktop will not recognize my msi R5450 graphics card.

After upgrading to Ubuntu 16.04LTS my desktop will not recognize my msi R5450 graphics card.  I used sudo ubuntu-drivers devices to search and it only shows my processor as being the graphics provider. Did I miss something on the install?


How do I set 'nomodeset' after I've already installed Ubuntu?

I know that editing the boot options line and adding 'nomodeset' solves the problem of my laptop during LiveCD mode, what I don't know is how to set it at boot up through Grub2 after I've installed Ubuntu.  So, my question is; how do I set nomodeset before I boot into Ubuntu?


Is it hour or hours when used in a phrase?

I recently joined a company as a trainee and we have to skype our priorities or task that we are going to do on that day.  For example, people write priorities like this:  1. HTML/CSS training - [0.5 hours].  2. PHP training - [9 hours].  Now I do know about quasi possessive but this doesn't sound like a quasi possessive. I want to know whether it should be 9 hour or 9 hours? Maybe it might be 9 hours because it's more than 1 but writing 0.5 hours seems a bit confusing. Please let me know what's the correct usage. Thank you.


What is the size of this microcontroller? Having trouble reading a data sheet

I am trying to find a small enough microcontroller for a project, but I am not familiar with the notation used to denote the sizes in this image:  What does that mean when it says 12,20/11,80 SQ and 7,50 TYP.  The image is from .  OR is this not where I find the physical dimensions? If these do not denote the physical dimensions of the part, then where in the datasheet is that written?


Allowing only integers and floaters as a user input, otherwise give the user a

As a user input on a Else,If, Elif statements, I only want to allow the user input to get a positive response from a number instead of letters or special characters. I have created a simple grading calculator. I am learning the basics and just playing around with different options.   So far I haven't tried anything  grade = input('what is your grade?')  if grade >= '90':   print('A') elif grade < '90' and grade > '79':   print('B') elif grade < '80' and grade > '69':   print('C') elif grade < '70' and grade > '59':   print('D') elif grade <'60':   print('F') else: print('Please enter your grade')   I inserted a word instead of a number and the return is 'F'. I want the return to be "error" or any message I choose if a number is not inserted after the question.


What will be the expression between conformal time and scale factor for $\Lambda$ CDM model (for $k=0$, $\Omega_M + \Omega_\Lambda = 1$)?

An approximation of the relationship between the scale factor and time for our universe is given by the following expression:  $\displaystyle a \approx \left (\frac{\Omega_{M_0}}{\Omega_{\Lambda_0}}\right )^{1/3} \sinh^{2/3}\left ( \frac{3 H_0 \sqrt{\Omega_{\Lambda_0}}}{2} \ t \right )$  What will be the expression of scale factor in terms of conformal time?


How to extract numerical value after a certain string within a sentence in Excel cell?

I want to extract the numerical value immediately following the string "ABS" (Case sensitive) within a bulk of text in a cell from an Excel table.   Not all the cell may contain the the string I'm looking for, so a filter is required.   The contents of the cell look something like this:     Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ante   mi, laoreet nec tristique et, sodales at dui. Vestibulum ullamcorper   augue at nibh auctor laoreet ornare nisi posuere. Aliquam convallis   nisl auctor mauris pharetra faucibus. Nullam nulla dolor, varius   viverra facilisis nec, viverra in tortor.  Integer sollicitudin, elit   in tempor interdum, sapien justo luctus justo, id varius nisi mauris   at ipsum. Vivamus tincidunt neque sed felis accumsan tempus.      ABS: 1.5, ADS: 2.5, SR: 11      Pellentesque habitant morbi tristique senectus et netus et malesuada   fames ac turpis egestas. Integer vestibulum felis et lorem pretium   molestie. Nulla imperdiet, magna vel accumsan ornare, augue quam   ornare justo, vitae volutpat turpis orci quis nibh. Nullam vitae diam   et ligula commodo pretium. Etiam et luctus dui.   The trouble is since the contents are entered manually, they may vary in structure, with slight variations such as:     ABS : 1.5 (Space after ABS)    or     ABS is 1.5 ('is' instead of colon)   or     ABS = 1.5 ('=' instead of colon)   or      ABS 1.5 (numerical value immediately after text without colon)   ....etc  The numerical value is between 0-8.5 with increments of 0.5, (i.e. 0, 0.5, 1.0, ... 7.5, 8.0, 8.5).  I have tried a combination of left() and find() functions but don't know how to just extract the numbers after finding the string "ABS". If someone can help or point me in a direction, I would greatly appreciate it. Thanks!


what I'm after is something I can feed a number into and it will return the highest order bit.  I'm sure there's a simple way.  Below is an example output (left is the input)  1 -> 1 2 -> 2 3 -> 2 4 -> 4 5 -> 4 6 -> 4 7 -> 4 8 -> 8 9 -> 8 ... 63 -> 32


How can I prove by induction that $n!>n^{\frac n2}$ for $n>2$?

First I've checked it by putting $n=3$.  Then, I've assumed it to be true for $n=k$ to get $k!>k^{\frac k2}$.  Then, putting $n=k+1$, I get $(k+1)!=k!(k+1)>k^{\frac k2}(k+1)$. Now, I'm stuck and couldn't proceed further.


Solve differential equation, $x'=x^2-2t^{-2}$

Solve differential equation:  $x'=x^2- \frac{2}{t^2}$  Maybe is it sth connected with homogeneous equation? I have no idea how to solve it.


I am having trouble proving that a matrix A and its transpose $$A^T$$ have the same eigenvalues. I tried to use the formula $\det(I\lambda - A)$ but am getting nowhere. Is anyone able to help?


If the universe is constantly expanding, shouldn't we go away from other planets?

I also saw that every point in the universe is the center. So what does it mean that the universe is expanding? It depends on the repository?


Discrepancy in duplicate messages, including the inability to edit the duplicate list

I had always seen questions that are closed as duplicates with the following message at the top of the post:  This question already has an answer here: [link to existing question] X answers  Here is a sample screenshot of a recently closed question:  Today I noticed that some duplicate questions have a different message:  Possible duplicate: [link to existing question]  Here is a sample screenshot of such a question:  It seems odd that different questions should have different duplicate messages. The first message is more direct; it tells you that the question already has an answer, and it tells you how many answers there are. The second message is possibly more accurate, as it is possible for a question to be closed as duplicate even if it does not have an answer elsewhere. Additionally, the wording "possible duplicate" seems more in line with the reality that questions can be reopened at any time. But regardless of which message is better, it should surely be standardized across all questions. More importantly, the second message suffers from a serious flaw. It is apparently not an external note pinned to the question, but merely added into the text of the post:  As such, anyone with edit privileges can simply remove it, with the result that there is no longer a duplicate message displayed:  This seems to be a problem. Additionally, when it comes to the question containing the first message, I have the ability (due to a gold tag badge) to edit the duplicate list:  But when it comes to the question with the second message, that option no longer exists (even though it's the same tag where I have the badge):  Given that this is the first time I've seen this, I'm not sure if it's always been this way or if something recently happened to change something. I will note that all the questions that I've seen the second version of the message on are old questions. Either way, this seems like something that should be fixed.  (As noted in the comments, , so I changed this from  to .)


Let $P(x)=4x^2+6x+4$ and $Q(y)=4y^2-12y+25$.  Find the unique pair of real numbers $(x,y)$ that satisfy $P(x)Q(y)=28$    I can solve this question graphically. $$P(x)Q(y)=28\implies(4x^2+6x+4)(4y^2-12y+25)=28$$ $$4x^2+6x+4=\frac{28}{4y^2-12y+25}$$ I drew the graph of $4x^2+6x+4$ and found it is a upward parabola with minimum value at $(-\frac{3}{4},\frac{7}{4})$ and I drew the graph of $\frac{28}{4x^2-12x+25}$. I found that it is a bell shaped curve whose maximum value occurs at $(\frac{1}{4},\frac{7}{4})$. So I found that the common abscissa is $y=\frac{7}{4}$ which occurs at $x=-\frac{3}{4}$ for the first curve and at $x=\frac{1}{4}$ for the second curve, so solution should be $(-\tfrac{3}{4},\tfrac{1}{4})$  But I do not  know how to solve it algebraically.


Is tap water in Munich safe to drink? If so, why do locals buy bottled water?

Before moving to Munich I did some research about the water. According to different sources, the water quality in Munich is very good and there is no problem drinking it.  But every time I'm in a store I see locals buying large amounts of bottled water. Is there a reason for that?


I have Created visualforce page and using pageblocktable shown contact list of record and every row we have a Edit link and want to redirect to their Standard edit page(contact).   <apex:outputLink value="/?id={!con.id}" target="_blank">                        Edit  </apex:outputLink>   if I'm using above code it will redirect to Home page (Salesforce home tab).   <apex:outputLink value="/e?id={!con.id}" target="_blank">                        Edit  </apex:outputLink>   it shows message url no longer available.


Can someone confirm that its not possible to change the height of a dropdown that is shown when you click on a select box.   The size attribute of the select makes it look like a list, the height attribute in the CSS doesnt do much good either.


Bimodal univariate distributions are always indicative of a mixture of two random variables. Is this correct?

Say I see a bimodal distribution like this (with the domain, or random variable, $Z$):    Does that instantly mean that I am seeing not a distribution of one independent random variable $Z$, but actually a composite of two distributions (associated with two truly independent random variable $X$ and $Y$), even though $X$, $Y$ and $Z$ all have the same range $[-6,6]$?  In this instance the figure above was obtained by: $$P_{Z} = 0.5 \cdot P_{X} + 0.5 \cdot P_{Y} $$      As an example, say that $Z$ is height. Does it mean that from a probability perspective $Z$ is actually two mathematically distinct (despite the name) variables female height and male height?


Macrons appear really wide on all characters, but especially so on the i. Is it possible to make them less wide?  \documentclass{article} \begin{document} Tac\=e, M\=arc\=o, \=unus, f\=\i li\=\i? \end{document}


Argument for/against splitting login process into checking username, then ask password?

My boss has insisted for a while that our login process be divided into two steps on separate pages: on the first page, ask the user's e-mail address. On the second page, either display "user found" and ask for password, or "user not found" and ask for e-mail again.  He insists it is much easier for our users who often forget their credentials or if they even have an account yet. I've long been against this approach because it forces every user to go through two steps every time they login. (I also wonder if it's a security concern, knowing that it will confirm when an email exists in our system.) I would prefer to have a more standard login page with e-mail (all of our usernames are e-mails) and password, and one very clear link for "forgot password?".  Neither of us have any hard data to support our theories, and we have more important things to do than A/B test something that he doesn't think is even a problem. I was just wondering if anyone here could provide some arguments or hard data for or against either approach. I enjoy considering UX design, but I am not an expert.


Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference android studio

I am trying to build an app with android studio. I am following a tutorial but the thing is, the guy paused the screen to start the emulator and when he played it again a piece of code was missing. I don't know for sure what he did but I tried all of the options presented to me. I am getting this error: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference code: public void onResponse(Call<Users> call, Response<Users> response) {     if (response.isSuccessful()) {         mediaObjectList = (ArrayList<MediaObject>) response.body().getAllPosts();         recyclerview.setMediaObjects(mediaObjectList);                  VideoPlayerRecyclerAdapter adapter = new VideoPlayerRecyclerAdapter(mediaObjectList, initGlide());         recyclerview.setAdapter(adapter);         adapter.notifyDataSetChanged();         recyclerview.setKeepScreenOn(true);         recyclerview.smoothScrollToPosition(mediaObjectList.size()+1);          } else {         Toast.makeText(HomeActivity.this, "Network Error.", Toast.LENGTH_SHORT).show();     } }  I'm getting the error on this line: recyclerview.smoothScrollToPosition(mediaObjectList.size()+1);


How can I assign a Func using the conditional ternary operator?

I am aware that Func<>s cannot be implicitly typed directly via the var keyword, although I was rather hoping that I could do the following assignment of a predicate:  Func<Something, bool> filter = (someBooleanExpressionHere)    ? x => x.SomeProp < 5    : x => x.SomeProp >= 5;   However, I get the error cannot resolve the symbol, 'SomeProp'  At the moment, I have resorted to the more cumbersome if branch assignment, which doesn't seem as elegant.  Func<Something, bool> filter; if (someBooleanExpressionHere) {     filter = x => x.SomeProp < 5; } else {     filter = x => x.SomeProp >= 5; }   Have I missed something, or will I need to stick with the if-branch assignment?


2 images in a row. Subcaption package give me errors, Subfig too , ¿solution?

I have a big .tex that runs well without errors  I´m trying to put 2 images in a row,   I tried subcaption packaes and only adding to my code  \usepackage{subcaption} gives me this errors     and then readin this post    I use this  \usepackage[caption=false]{subfig}   and.... ERROR too.  so,... how can I put 2 images in a row?


Creating double arrow / parallel arrows with pb-diagram

I made this diagram and the only thing I want are two parallel arrows that go from node A to B and vice versa by using pb-diagram package, so that I can label both arrows differently, because both nodes interact.


I'm a high school student taking IB and I'm doing my EE on Maths, more specifically on the effectiveness of Euler's totient function and Carmichael's totient function in RSA.   Am I right in thinking that Euler's and Carmichael's can be used interchangeably to generate the public key in RSA? To compare their 'effectiveness' I will first compare the amount of time it takes to generate a public key using each function based on time complexity. Secondly, I want to compare the security of the public key (meaning 'how difficult it is to guess the private key given the public key'). But how? Is there an algorithm to use to test the security of an encryption key?   Many thanks!


Is there any way to decrease the chance of never being able to cast Wish again?

When used in ways beyond the standard outlined uses,  carries a risk of stress:     Finally, there is a 33 percent chance that you are unable to cast wish ever again if you suffer this stress.   Assume here that a DM would resolve this using a d100 roll.  Are there any features/abilities in the game that can work to reduce the chance of this happening (either by modifying the roll or by some other method) when using wish in this way?


Disk space usage doesn't add up with df & du

I'm trying to free up some disk space - if I do a df -h, I have a filesystem called /dev/mapper/vg00-var which says its 4G, 3.8G used, 205M left.  That corresponds to my /var directory.  If I descend into /var and do du -kscxh *, the total is 2.1G  2.1G + 200M free = 2.3G... So my question is, where is the remaining 1.7G ?


No error being displayed with GET request

I am trying to display the results of this get request but it is not returning any results or errors.  Even when testing I have tried to hardcode and append
my job
 but that doesn't work either.  Have you got any ideas?  Here is my code:


Find sum of series $\frac{1}{6} + \frac{5}{6 \cdot 12} + \frac{5\cdot 8}{6 \cdot 12 \cdot 18} + \dotsb$

Find the sum of the  following infinite series:   $$ \frac{1}{6} + \frac{5}{6 \cdot 12} + \frac{5\cdot 8}{6 \cdot 12 \cdot 18} + \frac{5\cdot 8 \cdot 11}{6 \cdot 12 \cdot 18 \cdot 24} + \dotsb$$   I was trying this question many times but I could not get it. I was trying to solve this problem by D'Alembert ratio test, but I did not get my answer. My teacher gave me this question as a homework, I don't any hint or idea to solved this question, I was trying many times but didn't get it.  If anybody help me I would be very thankful. Thank you.


so I got similar results from a t-test output for my p-value 2.50e, but am not sure if it's correct or how to interpret.                11043     3203          Mean         11333.75   3187.833333          Variance    264633.0652 203.1014493          Observations    24       24          Hypothesized Mean Difference    0                df  23               t Stat  77.54556011              P(T<=t) one-tail    1.2505E-29               t Critical one-tail 1.713871528              P(T<=t) two-tail    2.50E-29                 t Critical two-tail 2.06865761


suggested to have templates for tags. Their example was with the  tag on Stack Overflow.  I'm suggesting a more general approach:  Templates, Mark II  I suggest that each site will have a template. That template will prefill the  textbox when a new question is asked. However, it will be completely optional.  Something like (for Stack Overflow):  ## The Problem ## { Please tell us what the problem is with as many details as possible.   Include language, operating system, and any other relevant information.   Remember to add the relevant tags below, too. } ## Attempted Solutions ## { Please tell us what you've tried so far. Have you tried searching Google?    What queries? } ## Existing Code ## { Do you have any existing code to show? Please keep it short and simple.    We should be able to detect the problem right away. }   Why am I suggesting this?  Well, it seems as though most users will stick with the default. They don't bother to read, and so prefilling the question form for them with information that we know might be relevant, will forceWe'll get to that in a second them to actually stop and read.  Scenarios:   Best case: User arrives to ask a question, actually reads the template, fills the correct information in the placeholders. (Yeah, because that'll happen a lot) Neutral: User simply removes all of the template text and rewrites their own question. Result is exact same as we have currently. Worst case: User will ignore or misunderstand the template, will use it wrong or not at all and we'll get something like  <template text here, still unfilled> <(crappy) question>   This can be solved in a couple different ways. We could detect the template tags (i.e. { }, subject to discussion), and throw an error when a user attempts to post with them still available. We could also act more autonomously and remove placeholders which still exist.    Some more points:   Templates should be per-site, not per-tag. Sure, there are differences between the tags, but all questions are expected to have the same general information, and this isn't meant to be a rule, but a guideline to help write better questions. Site templates should be editable by that site's mods, like close reasons. We could autofocus on the first placeholder, and perhaps implement TAB to jump from one placeholder to the other, similar to mixins in IDEs. This doesn't have to be implemented everywhere. This suggestion makes sense to Stack Overflow or Superuser, but not to Anime & Manga or Gaming All of the details are subject to discussion, and all discussion is welcomed.


How can I use multiple accounts with Telegram?

Is there a way to have two copies of  app in Ubuntu each with a different account?  It seems copying the app in another folder does not work.


How to reinstall Windows 10 on new hard disk

I've been using Windows 10 for a couple of month now (joined the Insider Preview).  Now my hard drive started ticking so I've bought a new SSD and I want to move the windows installation to the new hard drive, which has been connected to the computer (unpartitioned). I don't mind and I even prefer reinstalling it over again.   Since I have the free version of Windows 10 pro, can I still reinstall it anew? Does the windows 10 installation offer disk management and partition like the older Windows installations used to? How should I reinstall Winodws 10 x64 the easiest but still remain on free mode?


Review help page contains "How do I use the First posts queue?" page, but Meta Stack Exchange doesn't have "First Posts" review queue

Meta Stack Exchange  contains  page, but Meta Stack Exchange doesn't have "First Posts" . Also in other site's First Posts review queue page, "Access earned at 500 reputation", but in Meta Stack Exchange it shows "Access earned at 2,000 reputation". I hope the "First Posts" review queue page is not required for Meta Stack Exchange.


Accumulation point of open interval in real numbers

In book General Topology by Kelley it is stated: If $A=(0,1)$ is a subset of topological space $(\Bbb R,\tau)$, then every point in closed interval $[0,1]$ is an accumulation point of $A$.    I understand that in topological space, accumulation points of $[0,1]\subset \Bbb R$ are $0$ and $1$. But how is entire closed interval a set of accumulation points of the same open interval?


Why does the current directory not change after executing script?

A script is executed from the shell as ./oximeter. The script, oximeter, has 5 commands: python3 ~/Documents/oximeter/3211ipod.py ls -l pwd cd ~/Documents/oximeter/ pwd  The python script runs as expected.  I would like the script to change the directory as shown in command #4.  When control is returned to the user, the directory remains unchanged. The second pwd returns the desired directory, however when control is returned to the user, pwd indicates that the directory is not ~/Documents/oximeter. Why is this and is there a 'stronger' command that changes the target directory for the user? This is in Ubuntu 20.04.


What function does the "light" weapon property serve on the hand crossbow?

In the equipment section of the D&D basic rules, it lists "light" as a weapon property of the hand crossbow.  The "light" property offers the following attributes:     Light.  A light weapon is small and easy to handle, making it ideal for use when fighting with two weapons. See the rules for two-weapon fighting in  chapter 9.     So, this would mean I can use my hand crossbow in two weapon fighting... Great! However, in the TWF rules in chapter 9 it says the following:     When you take the Attack action and attack with a light melee weapon   that you’re holding in one hand, you can use a bonus action to attack   with a different light melee weapon that you’re holding in the other   hand.   Two weapon fighting only applies to melee weapons! Why does the hand crossbow have the light property? What purpose is it serving?  Now with the addition of the Feats in the players handbook my question still remains. The feat for crossbow expert says the following:     Crossbow Expert   Thanks to extensive practice with the crossbow, you gain the following benefits:           You ignore the loading quality of crossbows with which you are proficient.     Being within 5 feet of a hostile creature doesn't impose disadvantage on your ranged attacked rolls.     When you use the Attack action and you attack with a one-handed weapon, you can use a bonus action to attack with a loaded hand crossbow you are holding.      As you can see the feat replaces the Two weapon fighting rules, and so the light keyword is still not needed.


I recently got a Windows 10 laptop. Opposite to my Macbook, I must swipe right-to-left to go to the right virtual desktop. Is there a way to reverse this, so I swipe left-to-right to go to the right virtual desktop?


How can I fix the purple screen of death when trying Ubuntu (14-04, 32-bits) from the liveCD?

I burned a Live-CD of Ubuntu 14.04 (32-bits) and when I boot up the computer from the CD, it appears a purple frozen screen with a weird icon on the bottom. I think I've pressed every key on the keyboard to try to reach a menu of something but nothing seems to work. Most of the keys give me a "beep" sound when I press them. I have a 2007 computer running Windows Vista (32-bits).


What I need is to get first image of string... I have   notice.getFullContent()   which returns html string...p tags...strong tags...img tag...  What I need is to get the src of the first image. I'm doing this:  Document doc = Jsoup.parse(notice.getFullContent()); Element imageElement = doc.select("img").first(); imageURL = imageElement.absUrl("src");   But when i go to page, it doesn't work. I'm in jsp of liferay instance. Thanks in advance,  SOLVED  Document doc = Jsoup.parse(notice.getFullContent()); String imageURL = ""; String description = ""; Element imageElement = doc.select("img").first(); if(imageElement != null) {     imageURL = imageElement.attr("src"); } Element descriptionElement = doc.select("p").first(); if(descriptionElement != null) {     description = descriptionElement.text(); } if(description.isEmpty() || description == null) {     description = notice.getTitle(); }   The purpose was use these values to add meta og tags, like this:  <liferay-util:html-top>        <meta content="<%="WEBSITE/post?id="+id %>" property="og:url">        <meta content="article" property="og:type">        <meta content="<%=notice.getTitle() %>" property="og:title">        <meta content="<%=imageURL %>" property="og:image">        <meta content="<%=description %>" property="og:description"> </liferay-util:html-top>   thanks!


Why did the protagonists in Star Trek (2009) not try to restore the timeline?

In every other Star Trek plot involving time travel, the ultimate goal of our heroes is to restore the old time line at all costs, including moral dilemmas like people who shouldn't live and so on.  I know the official explanation is that the 2009 movie is an alternate timeline and the prime timeline does still exist (to calm down the fandom).  But what I don't understand is:   In-universe, why in this case did time travel create an alternate timeline parallel to the old one instead of overwriting it (like in all other instances of time travel in Trek I remember)? There seem to be no special circumstances this time to me. How does Spock know that this is the case and why doesn't he try to restore the old timeline (like he and others do in every other instance of Trek time travel)? If Spock knows and wasn't surprised, why didn't Nero know it? And if he knew it, why did he punish the innocent people of this new timeline? Out-of-universe, why didn't the creators insert some technobabble from Spock to explain it to the audience and make it clear. Something like "I checked the phase signature of this universe and it seems that we created an alternate timeline" or something like that?


Downloaded: xlop.sty and xlop.tex file. Which specific directory to install ?

I like to install package called :xlop from CTAN I use Mac OS X 10.9 and TeXShop 3.48.   Which specific directory do I put these two files?  Do I put it at  A. I have /usr/local/texlive/2013basic/textmf-local ?  B. or  /usr/local/texlive/2013basic/texmf-dist directory?


Why electric field due to a positive charge points radially outward?

We have always been taught and my book also says that electric field due to a positive charge points radially outwards.On the other hand for a negative charge the electric field  points radially inward.I could not understand the reason for this.Could someone give me a proper explanation?


Should online notes be cited in reference of paper for publication?

I find that some lecture notes available online as well as some websites (e.g. wiki) provide important sources of information for various scientific fields (e.g. mathematics), and are sometimes better than officially published papers or books in certain senses.   My question is that if I write a paper for official publication, can I cite them in the reference of the paper? If so, what is the format to cite them? For examples, to cite an online lecture note, may I simply write as preprint, or have to add the weblink to the note? For web sources, may I add weblinks of the websites to be cited?   For example, is it valid to cite something like: "P Schlicht. Lecture Note: A Introduction to Model Theory, Online...(or Preprint...), 2018"? I think there is no need to add the actual link to it because the link can be changed later.   Edit:  This question is different from the suggested question for duplicate because I ask also what is the format to cite online notes and websites.


What's the appeal of dividends in investing?

All company shares payout very small amounts in dividends. What is the big interest for an investor to spend tens of thousands of dollars in stocks to possibly earn maybe $1,000 per year or so in dividends? I see no big advantage there. It comprises this one pitfall that I can't get around:  Big amounts of money needed to be invested up front or over time for very small returns over time.  As an investor who wants to earn money in the near future, what would the interest be for me to invest big amounts of money for returns that won't even count as profit until many years down the road?  Even assuming I do profit, how much is the question, and will it be worth it for me to spend lots of my money to wait far down the line in life to get menial returns?   That doesn't sound appealing to me as an investor, because how does that help my "current life?"  I'm not looking for retirement -- I'm looking for money in my younger years with investing and I can't get my head around why I should invest so much money when the return is always small and slow.  No, I don't plan to get rich overnight. I also don't plan to count pennies of profit when I'm 50 either.


"ImportError: No module named _struct" configuring python-minimal

When I run sudo apt-get upgrade, the dpkg error appears and interupts the process.  Error details:  Setting up python-minimal (2.7.3-0ubuntu7.1) ... Traceback (most recent call last):   File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main     "__main__", fname, loader, pkg_name)   File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code     exec code in run_globals   File "/usr/local/lib/python2.7/compileall.py", line 16, in <module>     import struct   File "/usr/local/lib/python2.7/struct.py", line 1, in <module>     from _struct import * ImportError: No module named _struct dpkg: error processing python-minimal (--configure):  subprocess installed post-installation script returned error exit status 255 dpkg: dependency problems prevent configuration of python:  python depends on python-minimal (= 2.7.3-0ubuntu7.1); however:   Package python-minimal is not configured yet.   And this problem leads to a series of dependency problems when processing the following packages:    python  gwibber-service  libgwibber3  libgwibber-gtk3  gwibber  gwibber-service-facebook  gwibber-service-identica  gwibber-service-twitter  python-all  python-dev  python-all-dev  python-apt  python-problem-report  python-apport  python-libxml2  unity-lens-gwibber  unity-scope-video-remote   Finally, nothing I can do for this problem. And several days later, the root directory is full and I even could not uninstall any software because of this problem.


I'm new to the C language and Loadrunner.  How do I do a string concatenation in C.  Pseudo code:  String second = "sec"; String fouth = "four"; System.out.println("First string" + second +"Third" + fouth);


Cannot boot Android-x86 on PC - Emergency remount

I have a 10.1 inch notebook with Linux, but would like to dualboot with Android x86. The ISO file works perfectly in VirtualBox, VMware, and on Live USB. I have tried both install from the Install program and copying the .img files onto a partition, then adding the boot entry to /etc/grub.d/40_custom. I get the following displayed on my screen when I select the boot entry.  Detecting Android-x86... found at /dev/sda2 [     3.697517] sysrq: SysRq: Emergency remount R/0   Then it reboots to the GRUB menu.  How do I fix this, and boot Android-x86?  I have an HP-e010nr with an AMD A4 dual core@1.0Ghz, 2GB ram, and I am trying to start Android-x86_64 7.1 on a 32GB partition (no fake sdcard).  I have stored everything in the parition in an "Android" directory.  My boot code is:  set root = (hd0,2) #/dev/sda2 in the partition where Android-x86 is located kernel /Android/kernel quiet root=/dev/ram0 androidboot.selinux=permissive buildvariant=userdebug SRC=/Android/ initrd /Android/initrd.img


Which oil is best for frying Italian doughnuts?


Will Trusty/14.04 Installation Media come without Ubuntu One?

As  now, and the current build of 14.04 'Trusty' still comes with Ubuntu One (and U1 Music, etc with it):  Would Ubuntu One come with the final release as well? Please check the ; the Final Beta was released on March 27. If it does, I think it'd lead to a huge confusion for users, and also embarrassment for people like me who'd have to tell new migrants (from the Windows world) that this service has now been shut down.  Also, as U1 is now dead, how would the users of the Phone version on Trusty sync their Contacts, Files, Music, etc?  Would 13.10 LIVE DVD images also be updated to incorporate this change?


I have upgraded my system with sudo pacman -Syu, then I opened a terminal and saw this.  Any suggestions, how to fix this issue?


data structure that represent heap in c#

is there a data structure in c# that represent heap in c#  if not then what is the best data structure to use to find the minimum element in efficiently time and allow Repetition of elements  thank in advance


On a closed form for $\int_{-\infty}^\infty\frac{dx}{\left(1+x^2\right)^p}$

Consider the following function of a real variable $p$ , defined for $p>\frac{1}{2}$:  $$I(p) = \int_{-\infty}^\infty\frac{dx}{\left(1+x^2\right)^p}$$  Playing around in Wolfram Alpha, I have conjectured that we have the following closed form:  $$I(p) = \sqrt{\pi}\frac{\Gamma\left(p-\frac{1}{2}\right)}{\Gamma\left(p\right)}$$  This agrees with a number of known results, such as:  $$I(1) = \pi$$ $$I(2) = \frac{\pi}{2}$$ $$I(3) = \frac{3\pi}{8}$$  It also agrees with $I\left(\frac{1}{2}\right)$ being divergent, which follows from the fact that the antiderivative of $\left(1+x²\right)^{-\frac{1}{2}}$ is $\text{arsinh }(x)$ and the fact that $\lim\limits_{x\rightarrow\pm\infty}{\sinh(x)} = \pm\infty$.  Furthermore, this closed form agrees with any non-integer $p\geq\frac{1}{2}$ that I have tried to evaluate, such as $I\left(\frac{3}{5}\right) = \sqrt{\pi}\frac{\Gamma\left(\frac{1}{10}\right)}{\Gamma\left(\frac{3}{5}\right)}$.  However, I have not been able to prove this result. I'm thinking that perhaps the residue theorem might work, but I have no idea how to treat poles of a non-integer order in the denominator.  Any ideas?


Why is everything (except 0) to the power of 0 always 1?

Why does $x^0=1$? Also, why does this rule not apply when $x=0$? I understand that math can be difficult to explain, but this subject never seems to be thoroughly explained in simple terms.


How to deal with a binary classification problem, where the instances in the negative class are very similar?

Let's say, one wants to detect, whether a picture of a fixed size contains a cat or not. But as a dataset, you have 10000 pictures of cats, and 30000 pictures which don't contain a cat, but are very similar to each other. For example, let's assume, the 30000 pictures in the "not cat" class contain only pictures of one or two kinds of spiders. When training a CNN, you will find that you achieve a high score on the test set (here high score = almost fully diagonal confusion matrix) but when you want to use the CNN in the real world, you find that almost everything gets classified as a cat. Why does the network generalize badly in this case? Even if the dataset doesn't represent the kind of data, the CNN would see in the real world, shouldn't it be easy for the CNN to say "I have seen 10000 examples of cats, therefore anything which doesn't look like a cat is not a cat" ? How would one deal with this problem (besides gathering more data)?


How do I move files from one document library to another using JSOM?

I have two document libraries on the same web, and am wanting to move the files from one to the other using JSOM/CSOM.  Can anyone please shed some light on how to do this?  Thanks


How to add predictors to LSTM time series model?

I'm doing Long-Short-Term-Memory (LSTM) to forecast time series. I was wondering, could we add x-reg part to an LSTM model? Like adding an X-Reg part to and ARIMA model?  Say I have a response monthly time series y (for about 10~20 years observation). And say I have about 400 signals (predictor time series). Should I do feature-selection and regression first and then use LSTM to model the residuals?  Or is this the wrong way to add predictors to LSTM?  Thank you!


Which is better for long term database scalability: adding columns or having key/value store

For application, which has few (5-10) settings at the moment but will have a lot more (up to 100) in the future which would be better approach:   to add new columns to settings table every time new setting is introduced to have settings table as key/value storage   Consider that application might have millions of instances (which all run on the same db and use the same table for settings), DB might be sharded. DB is relational, i.e. either MySQL or T-SQL.  As a developer I would prefer the 2nd variant, so I could scale the application without changing the DB schema and add/remove settings at will. As far as I understand having several million records in a single table shouldn't be an issue if the index is clustered on application instance. Are there any drawbacks that I'm not aware of?  And what about 1st variant? Are there any big benefits? And what about the number of columns: is there any theoretical limit of columns that table can have? What happened if I had a table with 1000 (10 000, 1000 000) columns? Would that be slow?


the root filesystem on /dev/sd1 requires a manual fsck. How does one do this?

I'm trying to repair Ububtu 15.10 crash/lockup boots up with no icons on screen, many repairs did not sove this problem, so created a dvd install for 15.10. But after all this, It comes back with "the root filesystem on /dev/sd1 requires a manual fsck." How does one do this ? I'm not a software dev/writer etc


How to calculate the correct focal length needed for a subject of a given size and distance?

I need to purchase my first ever lens. So far I've only used lenses that were built into a camera. This specific lens is for the BlackMagic Deign Pocket Cinema Camera (a video only camera, but one that uses photography lenses). I would prefer this to be a prime lens.  I have tried to find the exact way to calculate the focal length of the lens I need but I have not been able to find a good resource to make this simple enough for my limited optics knowledge. Can you please explain a simple way to calculate the focal length of a lens given the following inputs as an example:    I would prefer a simplified mathematical explanation so that I may use it to make similar determinations in the future using a "" method.  I have . Using that method, I came up with:  Required lens focal length = 7.02mm sensor height x (77in / 36in) = 15mm   Is that correct?


How come $1^{\infty}$ = undefined, while $2^{\infty} = \infty$ and $0^{\infty} = 0$?

$1^\infty$ = undefined  $2^\infty = \infty$  $0^\infty = 0$  Why is $1^\infty$ undefined?  People were trying to explain to me that infinity isnt part of the Real numbers, yet, $2^\infty$ and $0^\infty$ somehow ARE defined?  In my opinion $1^\infty = 1$.  I mean isn't it not easy to prove  since $1\times 1\times 1 \times \cdots=1$ no matter how many times you do it?


Yesterday I was outside to do lawn weed eater to cut the grasses around the garden. So I had to plug it into the outlet at the top and bottom. It doesn't work at all. So, this morning I tried on one of these at a another place and different outlet. It was working. What might cause this jackwall not working?  I had a mouse trap equipment that is plugged earlier. I did smell something burned.. I have plugged in and check for the light to come on or not. It did not. Your thoughts for me to get it fixed? P.S. I am adding this electronic panel ...


I have a graph that consists of x and y from Z/11. Is it possible to programmatically draw the lines that have a slope of 2?  Like from (0,0) to (5,10) and (6,12) would become (6,1) because of modulo 11. Just like the graph below.    For that graph I use the following code. But I have to manually calculate the start and end points.      \begin{tikzpicture}     \coordinate (Origin)   at (0,0);     \coordinate (XAxisMin) at (0,0);     \coordinate (XAxisMax) at (11,0);     \coordinate (YAxisMin) at (0,0);     \coordinate (YAxisMax) at (0,11);      \draw [thick, gray,-latex] (XAxisMin) -- (XAxisMax);% Draw x axis     \draw [thick, gray,-latex] (YAxisMin) -- (YAxisMax);% Draw y axis      \foreach \x in {0,1,...,10}{% Two indices running over each       \foreach \y in {0,1,...,10}{% node on the grid we have drawn          \node[draw,circle,inner sep=1pt,fill] at (\x,\y) {};             % Places a dot at those points       }     }      \draw [thin, blue,-latex] (Origin) -- (5,10);       \draw [thin, blue,-latex] (6,1) -- (10,9); \end{tikzpicture}


I have a specific question and a more vague web of questions (that are, however, the motivation for the specific question). Specific: Can Zorn's lemma be proved in  (with choice, but without the axiom of regularity)? Motivation: I know that the axiom of replacement is needed to do some serious set theory, for example to discuss ordinal numbers. So Zermelo set theory doesn't suffice for that purpose. But it certainly suffices for most of the set theory mathematicians use in practice (I know the relationship to topos theory). But I wonder how many applications of set theory to "normal" mathematics can be proved within Zermelo set theory. Zorn's lemma is the first such application of real set theory that normal mathematics uses that came to my mind. How tragic is the lack of the axiom of regularity: is it used in any real application of set theory to mathematics? (By that I don't mean appealing concepts like the cumulative hierarchy, that is definitely important for pure set theoretical purposes.)


cursor-size change with dconf-editor not saved on reboot

I am using Ubuntu 16.04, and have added the below config:  $ cat  /etc/dconf/db/local.d/locks/00_default-interface  /org/gnome/desktop/interface/cursor-size   I have changed cursor-size from 24 to 60, and run sudo dconf update. It works fine for the session, but after a reboot, the setting is not saved.


Opting out of searching in online resources

I'm new to Unity. I've just installed Ubuntu Desktop LTS 14.04.  In the top-left corner there's an Ubuntu icon, when I click on it it pops up a search input box saying:     Search your computer and online resources   I'd like to remove online resources. At the right-hand side I noticed a Filter results dropdown, where I removed all the unwanted sources and left only Applications. But when I enter the letters "ter" in the search box (for "terminal"), the categories I previously unselected pop back, and I see results like News, More suggestions (shopping), Reference and many others. (See the screenshot below.)   How can I opt out of searching in online resources? What's name of this search thingy? What's the keyboard shortcut to bring up this search box easily?


Expectation of the Maximum of iid Gumbel Variables

I keep reading in economics journals about a particular result used in random utility models. One version of the result is: if $\epsilon_i \sim_{iid}, $ Gumbel($\mu, 1), \forall i$, then:   $$E[\max_i(\delta_i + \epsilon_i)] = \mu + \gamma + \ln\left(\sum_i \exp\left\{\delta_i \right\} \right),  $$  where $\gamma \approx 0.52277$ is the Euler-Mascheroni constant.  I've checked that this makes sense using R, and it does.  The CDF for the Gumbel$(\mu, 1)$ distribution is:  $$G(\epsilon_i) = \exp(-\exp(-(\epsilon_i - \mu)))$$  I'm trying to find a proof of this and I've had no success.  I've tried to prove it myself but I can't get past a particular step.   Can anyone point me to a proof of this?  If not, maybe I can post my attempted proof up to where I get stuck.


assign output of awk command to array linux

I have a scenario where I want to store values of command run output to array   I have a dat set like below  ID|SAL|COST|PER|TAG 1"|"10.1"|"12.22"|"10.1"|"A"  2"|"10.223"|"12.333"|"10.1"|"B"   after running the below command I am getting sum of column output as  awk -F"|" 'NR==1{for(i=1;i<=NF;i++){if ($i ~ /SAL|COST/){print i;}}}' demo.txt  2 3   But the issue is I want the generated output need to be stored in array I am using below approach not working using mapfile -t   mapfile -t array < <(awk -F"|" 'NR==1{for(i=1;i<=NF;i++){if ($i ~ /SAL|COST/){print i;}}}' demo.txt)   when I print echo "${array[@]}" it gives me only one output value not all the value  output: 3   **need all the output values need to be printed. when I echo array **  2 3


Java: Time taken to run the same code is different

I have a static method that consists of a nested loop going over an integer array of size 10,000. I call that method once, and measure the time using System.currentTimeMillis() (also measured with System.nanoTime()). I then call that method again and measure the time again. I am getting different time taken for both calls. The second call usually takes less time.   A slight difference is fine, but sometimes the difference is significant (more than 5 times the time taken to run the second call). E.g. first method call would take 190ms and the second call would only take 35ms. I have also tried pausing the thread in between the method calls, but the difference in time taken remains.  How can I have a stable measurement of time taken for a method call such that the time taken does not vary significantly for repeated calls?


I'm supposed to show that      $\lim_{x\to \infty} \frac {e^x}{x!} = 0$   without using any formulas for factoriel like Stirling's formula. I can see that by ploting the functions but I can't figure an algebric solution.


How to compute $\int_0^1 \frac{1}{1+x^4}\;dx$?

I am having problems trying to compute $$\int_0^1 \frac{1}{1+x^4}\;dx$$  Wolfram alpha gives an answer $$\frac{\pi + 2 \coth^{-1}(\sqrt{2})}{4 \sqrt{2}}$$


How do I spell check table in office 365?

I'm typing a minutes of meeting and the spell check doesn't recognized spelling error inside the table. I'm using office 365, word 2013.


Is gravity just electromagnetic attraction?

Recently, I  was pondering over the thought that is most of the elementary particles have intrinsic magnetism, then can gravity be just a weaker form of electromagnetic attraction? But decided the idea was silly.    But I then googled it and found  article. Is this idea really compatible with other theories as the article mentions? Is there any chance of this proposition being true?


I have in my database the values a, b, and c, as example. Now i need to format theses values to a1, b1 and c1.   a)  2000000000 a1) 20,000,000.00  b)  300000 b1) 3,000.00  c)  30000 c1) 300.00   I tried this:  '{:20,.2f}'.format(30000) # 30,000.00 and i need 300.00 '{:20,.2f}'.format(300000) # 300,000.00 and i need 3,000.00 ...   So, what i am trying is not working as expected. Anyone has an idea how can achieve the format that i am looking for?


I'm trying to install skype using  but after it installs it just opens up a blank skype application and the playonlinux wizard keeps loading (Says please wait) forever. Anyone have any idea what could be the problem ? :)


How to prove that $\sum_{n=1}^{\infty}\frac{|\sin{(n\theta_0)}|}{n}$ diverges for given $\theta_0\in (0,\pi)$?

How to prove $\sum_{n=1}^{\infty}\frac{|\sin{(n\theta_0)}|}{n}$ diverges for given $\theta_0\in (0,\pi)$?   I would appreciate any help.


Introductory book on the standard model?

I'm asking for recommendations on an introductory book about the standard model of particle physics. There's a wide berth of styles that can be described as introductory so I'll describe what I'm looking for specifically below.   I'm a fourth year engineering student. So I'm not a physics student but I'm comfortable with math. I've taken several pure physics courses for a minor so I have very basic experience with QM, relativity, and some frontier physics like dark matter, but none of those classes ever touched the standard model. So I'm looking for a book where I can introduce myself to it. I'd like a semi-technical introduction so I can gain some understanding. I don't want to read a book that tries to wow me with snappy one-liners about the origin of the universe like some netflix documentary. At the same time, I would probably get lost in a purely technical textbook. Are there any options in-between?


Why should foreign keys be implemented in my relational database?

Earlier today, I sparked a rather unexpected debate with my professional peers on the topic of foreign keys in our company's databases. In a nutshell, a software engineer who is senior to me stated that he didn't like a commit I had made to one of our repositories because I implemented a foreign-key relationship between two tables. His argument amounted to him not liking foreign keys because they restrict the data that can be inserted into the database & he believes that makes the database harder to work with. (Note: his argument was against foreign keys in general, not just the anecdotal foreign-key constraint that I proposed in our app. He believes that foreign-key constraints are a design flaw in modern relational database systems.)  At this point, I was caught completely flat-footed, and our boss chose to side with the senior developer for the time being, asking me to remove the foreign keys from my implementation of the bug-fix I was working on. The bug that I was fixing in fact stemmed from relational inconsistencies that were confusing our ORM (which itself leaves a bit to be desired, but that's a different story), and while I tried to explain this to my team, everyone sided with the senior dev & I was told to go back to the drawing board and re-implement my database fix WITHOUT relying upon foreign key constraints. In other words, I've been asked to do relational management without the built-in relational-management tools of our RDBMS (posgres, if it matters).   I reiterated that this was not the proper way to go about fixing the bug, at which point my boss told me that the discussion was taking up too much time and that if I wanted to debate the merits of formal FK-constraints, I would need to do it at a later date... which I intend to do, but I also feel like I've been tasked with arguing why water is wet.  When I go into this debate, I want to come armed with as many facts in support of foreign-key usage as possible. I know that implementing sensible FK-constraints:   serves as an automatic guardrail against relational inconsistencies (ie, prevents "garbage data" (which is a demonstrable problem with the system I'm working on currently)), clarifies the high-level relational context between two related tables to someone who is inspecting the database schema, and .   ... But I'm wondering if there are any other bullet points that I may be missing on this topic with which I should meet this debate. What other benefits should I make sure to bring up with my boss and colleagues? (Or has there genuinely been a paradigm shift away from FK-constraints & I've been living with my head under a rock when it happened?)


I'm using Ubuntu 13.04 on a Lenovo X220.  Why do I have so many .Xauthority.* files in my home directory? I.e  .Xauthority .Xauthority.0JW6UW .Xauthority.2HWRVW .Xauthority.2TA6VW .Xauthority.49F8VW .Xauthority.4E27UW .Xauthority.7CLTVW .Xauthority.8JGGXW .Xauthority.96SAVW .Xauthority.AOUFVW .Xauthority.ASDOVW .Xauthority.CGVJXW .Xauthority.E0ZSVW .Xauthority.E5VZWW .Xauthority.FE64UW .Xauthority.FIHDWW .Xauthority.HL45VW .Xauthority.HYCCVW .Xauthority.ILUEWW .Xauthority.JXJHVW .Xauthority.K1QJXW .Xauthority.KXSOVW .Xauthority.LEKEVW .Xauthority.M48WVW .Xauthority.M6QTVW .Xauthority.MW6NWW .Xauthority.N57TWW .Xauthority.O5HAWW .Xauthority.OIC5VW .Xauthority.P2RPVW .Xauthority.Q0FRVW .Xauthority.QW01WW .Xauthority.RDW5WW .Xauthority.T0TLWW .Xauthority.TSO4WW .Xauthority.U6R9VW .Xauthority.V3KAWW .Xauthority.W8Z1WW .Xauthority.XDLGVW .Xauthority.XOOHWW.Xauthority.XUICVW  They are all zero bytes except the first, with timestamps all over the place.  What are these, and are they safe to delete?


Recursively list all directories that contain one or more jpg image files

I'm trying to tidy-up my photos which are, for various historic reasons, scattered all over my system. To enable me to make a start on this task, I've been trying to use the command line to construct a list of all directories that contain one or more jpg files.  I'm certain that I don't have to be concerned about looking for other image file formats, but I do have to allow for jpg appearing in upper and lower case.  I'd like each directory name to appear only once in the final list.  To provide an example, if I have the following directories each of which contain one or more jpg or JPG files....  ~Mike/Pictures ~Mike/Pictures/London/Olympics ~Mike/Pictures/London ~Mike/Pictures/London/Holiday ~Mike/Photos ~Mike/Family History/Swaine   I'd like the results to appear with each directory listed only once - irrespective of the number of image files it might contain - preferably sorted and then written to a file  ~Mike/Family History/Swaine ~Mike/Photos ~Mike/Pictures ~Mike/Pictures/London ~Mike/Pictures/London/Holiday ~Mike/Pictures/London/Olympics   My command line skills are just not up to this!  I can use a lot of the simpler forms of single commands, but once they get complex and/or have to be piped things tend to go wrong.


In python, What are the difference between single and double slash "Division"?

How come 11 / 3 = 3.66 and 11 // 3 = 3. Also, -11 / 3 = -3.33 and -11 / 3 = -4 Based on my understanding both results in division with the difference of integer and float. At first, I thought double slash rounds up but with the provided result above, it proves that there should be another reason and I wonder what that could be?! Please someone Explain. Thank you


Finite ring having $2^n-1$ invertible elements

Let $A$ be a ring with $0\neq1$ having $2^n-1$ invertible elements and at most $2^n-1$ non-invertible elements. Then $A$ must be a field? How many elements does the ring need to have? Because $2^n-1$ is odd, the characteristic of the ring is $2$. Thank you!


Interpreting QQplot - Is there any rule of thumb to decide for non-normality?

I have read enough threads on QQplots here to understand that a QQplot can be more informative than other normality tests. However, I am inexperienced with interpreting QQplots. I googled a lot; I found a lot of graphs of non-normal QQplots, but no clear rules on how to interpret them, other than what it seems to be comparison with know distributions plus "gut feeling".   I would like to know if you have (or you know of) any rule of thumb to help you decide for non-normality.  This question came up when I saw these two graphs:    I understand that the decision of non-normality depends on the data and what I want to do with them; however, my question is: generally, when do the observed departures from the straight line constitute enough evidence to make unreasonable the approximation of normality?  For what it's worth, the Shapiro-Wilk test failed to reject the hypothesis of non-normality in both cases.


I am hoping to get an intuitive, accessible explanation of quantile regression.  Let's say I have a simple dataset of outcome $Y$, and predictors $X_1, X_2$.  If, for example, I run a quantile regression at .25,.5,.75, and get back $\beta_{0,.25},\beta_{1,.25}...\beta_{2,.75}$.  Are the $\beta$ values found by simply ordering the $y$ values, and performing a linear regression based on the examples which are at/near the given quantile?  Or do all of the samples contribute to the $\beta$ estimates, with descending weights as the distance from the quantile increases?  Or is it something totally different? I've yet to find an accessible explanation.


How do I tell QGIS that my labels should not cover features in layer 1 and layer 2, while it is OK to cover layers 3 and 4?  qgis version 2.18.7


Same word multiple times in a row - longest?

Examples:   Thanks for painting my pub sign, but could you increase the size of the spaces between Bull and "and" and "and" and Bush? All the faith he had had had had no effect on the outcome of his life.   Longest or most interesting one you know of?  Punctuation between the words is allowed, but it must be a single valid sentence.


Inside my file I need to swap places of all instances of :  grep 'search string'   and   sed '/string of text/,/string of text/{//!d}'   In VI I have tried a regex with no luck - it says something about trailing characters.   :%s/grep 'search string'/sed '/string of text/,/string of text/{//!d}'/g   I have also tried with sed outside the file: which says event not found  sed -i 's/grep 'search string'/sed '/search string/,/search string/{//!d}'/g' filename.    What am I doing wrong and how can I get this to work? I have too many instances I need to change and doing it manually is not an option.   I want to change this line of code:  succ_1st=`grep 'resulted in successful answer' $path_tmp/named.stats.tmp | sed '/localhost.localdomain/,/testdns.net/{//!d}' | awk '{ print $1 }' | grep -m1 ''`   to this:  succ_1st=`sed '/localhost.localdomain/,/testdns.net/{//!d}' $path_tmp/named.stats.tmp | grep 'resulted in successful answer' | awk '{ print $1 }' | grep -m1 ''`   THese are lines of code from a script BTW


Let $n\gt1$, and $h(n)$ denote the number of invertible residue classes $mod n$ that are self-inverses.   Show that $h(n)=\phi(n)$ iff $n=2,3,4,6,8,12, or 24$.


Is the series $\sum^{\infty}_{n=1}\frac{n}{\sqrt{n^2+1}}$ convergent?

$$\sum^{\infty}_{n=1}\frac{n}{\sqrt{n^2+1}}$$  What convergence test would one use for this, and how?


Proof that the relation $5 \mid (a + 4b)$ is symmetric and transitive

Take the relation $R$ to be defined on the set of integers:  $$aRb \iff 5 \mid (a + 4b)$$  As part of a larger proof, I have to show that $R$ is both symmetric and transitive. I'm lost.  I see the first steps, but I can't find how to progress further. Here's what I have at this point:    Proof of Symmetry  We have to prove that if $5 \mid (a + 4b)$, then $5 \mid (b + 4a)$. Clearly, this is true if $a = b$, but apart from that, it's unclear in my mind.  Proof of Transitivity  We have to prove that if $5 \mid (a + 4x)$ and $5 \mid (x + 4b)$, then $5 \mid (a + 4b)$.    I've fiddled around with sample values, but I still don't see it. I'm pretty lost here. Thoughts?


What exactly can a financial advisor do for me, and is it worth the money?

I've been managing my own expenses pretty meticulously for the past 4-5 years since being out of college and on my own. Because of this, I feel I have more of a clue about finances than the average 28-year-old.  I use  to manage pretty much all of my accounts, though I realize this is just a quick and easy personal finance solution. Plus, there's no personally customized advice on how I invest or set up my monthly budget.  These are the reasons I think I may want to find a good financial advisor. However, I don't know what I don't know. That is, there could be a long list of things I should be doing with my money to plan for retirement or just for general financial wellbeing.  Are these the functions of a financial advisor? What can I expect if I sit down to meet with one? Most importantly, how much would I be paying for this advice and is it worth it?


Hello i have problems with this prove Let $X$ be a topological space and consider a subset $A \subset X$ with the induced topology of $X$. A continuous function $r: X \longrightarrow{} A$ is called the retraction function if $r (a) = a $ for all $a \in A$. Prove that every retraction function is an identifying function. I do not know how to start


How to get the file name from a full path using JavaScript?

Is there a way that I can get the last value (based on the '\' symbol) from a full path?  Example:  C:\Documents and Settings\img\recycled log.jpg  With this case, I just want to get recycled log.jpg from the full path in JavaScript.


Can a more powerful charger burn something?

I am told that I must use 5V, 1A charger to charge power bank. If I will use 5V, 2A charger then will it burn power bank?  Is that possible?  \$I = V / R\$  Charger give constant voltage and current depends on resistance. That is why I think only Voltage is important and charger must be able to give enough current.  But battery bank may have some smart impulse chip like charger have. It may play with its resistance and voltage may jump.   Also I do not understand if I can plug battery bank in PC's USB to charge power bank.


I am trying to disable root password login and only allow root login with a ssh key on debian 7.  cat << EOF >> /etc/ssh/sshd_config PasswordAuthentication yes UsePAM no PermitRootLogin without-password AllowUsers root test Port 433 LoginGraceTime 1m ClientAliveInterval 600 ClientAliveCountMax 0 EOF service ssh restart   I run these commands as part of a deployment script and yet still I am able to login as root afterwards using the root's password (and not using a ssh key).   I've read quite a few tutorials and I can't seem to see why this is happening.


American dialects: Replacing the past-perfect participle with the simple-past form

I have come across some American media ( youtube channel comes to mind) in which the perfect participle and the simple-past form have been merged.  For example, we would have:   "We've driven there before" -> "We've drove there before" "I would've sunk" -> "I would've sank" "I've swum that distance before" -> "I've swam that distance before"   As far as I can tell, the replacement of the perfect with the simple past is consistent in this dialect, rather than just applying to some verbs (Edit in response to commment: with perhaps the exception of "to be" - "I have was ill" sounds odd enough that it would have really stood out).  Is this a feature of some American dialects? If so then in which? How common is this feature?  Related question (@sumelic):


Do any n linearly independent vectors span $R^n$? If yes, what's the proof?

This question comes from working exercises where n vectors are given and we need to show they are a basis of $R^n$ I know that for them to be a basis they need to be linearly independent and span $R^n$ but all the solutions involve only showing they are linear independent, does this imply they span the vector space as well? If yes, is there any thing to show it as intuitively I can't see why this would work.


Why doesn't INotify work with `/etc/mtab` or `/proc/mounts`?

When I used INotify with /etc/mtab or /proc/mounts, it doesn't detect changes when things mount or unmount, even though /etc/mtab and /proc/mounts both have changed when I check manually. Why is this, and how can I track mounting and unmounting things?


Creating sub certificates from a root certificate (SSL)

If I purchase a signed certificate for example.com, can I then produce sub-certificates for a.example.com and b.example.com?  These sub-certificates would have PEM files whose privacy cannot be assured.  Can I do this, maintaining the privacy of the root certificate while generating an unlimited number of disposable sub-certificates that would still be recognized as valid by the original signing authority?


When the user hovers over the element. It increases the font weight. Is it possible to make it so it doesn't move the elements besides it? Right now since the font weight increases, the space int takes increases and so the element gets bigger.     .top-nav {   list-style: none;   margin-top: 50px;   float: right;   margin-right: 30px; } .top-nav li {   margin-right: 30px;   display: inline-block; } .top-nav li a:link, .top-nav li a:visited {   font-size: 120%;   padding: 5px 10px; } .top-nav li a:hover, .top-nav li a:active {   background-color: #1BA39C;   font-weight: 700;   overflow-x: hidden; }

Kāpēc ProFoto

Portfolio

Par mani

Atsauksmes

Foto plāni


How do I automatically find all dynamic libraries my Rust program uses (and put them into one directory)?

I am building a Rust application that uses the .  When I click the executable after doing cargo build, I get an error saying that the DLL isn't in the path. I did put the DLL in the path to see if it worked and it did but it opened a command window with the GUI which it doesn't do that when I run cargo run.   I don't know a lot about how Rust builds executables and I don't know where Rust keeps the dependencies so I would like to know how I can get all my dependencies in a single path. Having something that can grab all the dependencies for me would be nice because the dependency has other dependencies that I probably need to add and I really don't know what they are.  I plan on making an installer for my Rust application and I will need all of the dependencies for it to work.


Why does dpkg give me this parsing error?

Any time I try to install software or updates, I get the following message (or a slight variation):  dpkg: error: parsing file '/var/lib/dpkg/available' near line 10650 package 'libreoffige-writev': field name `Replaces>' must be followed by colon   I have no idea what it means, but it always insists that `Replaces>' be followed by a colon.


I'm trying to find out how to turn Bluetooth On or Off by using the Terminal on macOS Catalina.  I used to be able to do it with the following commands:  alias bton="sudo defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState -int 1" alias btoff="sudo defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState -int 0 && \sudo killall -HUP blued"   Unfortunately these no longer work.


Does the 90 days VWP rule expire if you travel from the US to Canada?

I'm on a New Zealand passport.  From most US Embassy webpages:     The Visa Waiver Program (VWP) enables nationals of certain countries,   including Australia, New Zealand, and the U.K., to travel to the   United States for tourism or business for stays of 90 days or less   without obtaining a visa, if certain requirements are met. Under the   VWP, time spent in Canada, Mexico, and adjacent islands counts towards   the maximum of 90 days stay allowed under the program.   I'll be there on a 1-year working holiday visa starting when I arrive in Vancouver. I'm spending 3 days in Hawaii en route to Vancouver. This seems to imply that 90 days after landing in Hawaii, my time will be up and I won't be able to get back into the US, as my living in Canada will not reset the clock. What if after this time I want to say, pop across the border to Seattle? How can I restart the 90 days, without having to resort to say, flying to Japan and back just to reset it?


For my thesis I would like to have the best quality and therefore I use laprint.m this generates an EPS and TeX file of my figures from Matlab (R2007b).  The following is installed on my computer (that is relevant for LaTeX):  Windows 7 TeXnicCenter MiKTeX 2.9 Ghostscript 9.10  If I use LaTeX => PDF in TeXnicCenter then the labels of the axis aren't correct:     S01   instead of     power (W)   I guess that this has something to do with the psfrag options in the text file that is generated by laprint.   If I use LaTeX => PS => PDF in TeXnicCenter, then this works fine for the figures from Matlab. But when I want to include another JPG, PNG, or PDF figure it doesn't work; TeXnicCenter gives the following error:     Cannot determine size of graphic in figure.jpg (no BoundingBox).   Can someone help me?


Is there a way to see acted-upon flags on Data.SE?

I've been wanting to write a query to cough up a bunch of neat stats about a user. One of them is the ratio of helpful flags to declined and disputed flags. However, I can't find where I can get these counts. All I can see is the pending flags. Is there a way to either get the flags themselves (so I can count them) or the counts directly?


Linux command line instructions from python

Is there a method for issuing command line instructions directly from the python shell?


Are there ferries in the world capable of crossing Atlantic Ocean with passengers and cars? For instance btw Le Havre (F) and Boston (USA). I think that ferries navigating btw UK and the Continental Europe including Scandinavia are not suitable for transatlantic cruise. Are there ferries operating at another part of the world but could handle this route? If yes, can these ships cross the Atlantic in about 5 days? Did anybody or company tired this in the past? My research so far did not provide clear answers to these questions.


if $(x_0,y_0)$ is local extrema in $ax^2 + by^2 + cxy + dx + ey + l$ then its global too.

An exercise on a book asks me to prove that if a point $(x_0,y_0)$ is a local extrema for the function $$f(x,y) = ax^2 + by^2 + cxy + dx + ey + l$$ then it's also a global extrema.  The exercise asks me to consider that $g(t) = f(x_0+ht,y_0+kt)$ is a parabola, but I couldn't understand how it helps. Maybe since it's a parabola, I know that this derivative has to be $0$ in some point, and also that this function $g(t)$ has a global extrema point, but I couldn't derive anything from this. I also tried to find the derivatives, equal them to $0$ and solve the system. I got:  $$x_0 = -\frac{2 b d - c e}{4 a b - c^2}, y_0 = -\frac{   c d - 2 a e}{-4 a b + c^2}$$  But when I try to find   $$f\left(-\frac{2 b d - c e}{4 a b - c^2},-\frac{   c d - 2 a e}{-4 a b + c^2}\right)$$ so I can try to prove:  $$f(x,y)-f(x_0,y_0)$$  is either greater or less $0$ depending on the case (so I can do $f(x,y) \le f(x_0,y_0)$ and $f(x,y) \ge f(x_0,y_0)$)  things get hairy.


How can I resize/move the "canvas" of an image in the compositor?

As you can see, if I try to translate an image in the compositor, it does not affect the actual bounds of the image, only the pixels themselves.       The same thing happens when trying to scale an image:    So the image cannot be moved or scaled further than the actual dimensions of the image without clipping it.  The render border size does not seem to affect it: (Seen here with a gradient texture to define where the render dimensions are.)    For some reason skipping the blur node makes it work, but with it it gets cropped.  Aside from creating a lot of transparent space around the image in an external image editor or scaling the Pixels down with a Scale node, How can I accomplish this?


How can I find out which method (usually GET or POST) is used for the current request?


Will time machine backup my whole Adobe CS apps?

I wish to upgrade my OSX and am worried I lose my Adobe CS apps since they were issued by my (ex)college and i do not have the keys/seriel#'s  I didnt quite understand the answer given. Will a TM backup save all this apps/data so if my new osx gives me problems I can 'go back' and recover the previous osx and ALL my apps/data incl the Adobe stuff! ?  thanks D


Holding overlapping Schengen visas, may I treat one as an extension without exiting?

I have got Schengen Visa from Italy (Consulate General of Mumbai) on April 30, 2019. I got Visa from June 8, 2019 - July 6, 2019 with validity of 15 days. I had previous visa from Embassy of Netherlands from June 8, 2018 - June 8, 2019 with validity of 90 days. I have already used 15 days in June 2018, 7 days in Jan 2019 for the Schengen Visa issued by Embassy of Netherlands in June 2018.    I told Consulate General of Mumbai that I'll travel on June 9, 2019 and stay till June 16, 2019, however, my employer is asking me to travel on June 1, 2019 and stay in Switzerland till June 8 and enter Italy on June 9 and stay there till June 22. Now I know in Schengen Visa Code this is allowed, but I am anxious like hell. My company is big on cost cutting and they are saying spending INR 150,000 (EUR 2000) on Return Business Flight is useless as you are allowed to enter on one visa and leave on another visa. I am just scared that they will ask me why I didn't tell this earlier....  I was suppose to travel to Switzerland in end of May and return on June 7, 2019 anyhow, but my employer is asking why I am returning and just travel on June 9, 2019 to Italy as Hotel cost is just INR 15,000 (EUR 200)


Is the GPU inside the CPU's pack in new CPUs

I've heard that GPU is inside the package of the CPU. That is, CPU has it near itself. Is it true? If yes, what is the GPU with the graphics video card? Might we have two GPUs one with CPU and the other in the video card?  My next question: It's said the the GPU has much bigger speed in calculating/processing the instructions with less power consuming. Once again, if it's so, why don't manufactures produce only GPUs instead of CPUs?


I've managed to get my animation to a point where it works properly, now I'm trying to render it. When I go to render, or even to the Camera View in the 3D view, the scene is clipped and none of my objects are visible! I've tried altering the camera's "Clip Start" and "Clip End" values, doing so had no effect.  My scene in the 3D view:   The same scene, from the same perspective, in Camera view:   How do I get it to render correctly, even from the Camera View perspective?  Edit: .blend file available at


Why does $\Gamma (x)\ne x!$ on $x\in\mathbb N$?

From what I understand the Gamma function was created to expand the factorial to the real number line (and complex plane). So why is it that $\Gamma(x)=(x-1)!$ and is not equal to $x!$, where transitioning from discrete to continuous is much simpler?


Appending to list of lists in Python 2.7

I want to make a list of lists in python. I am initializing this list like:  n = 3 adj = [[]]*n   So now when I print adj, I get:  [[], [], []]   ...which is fine.  Now, I want to append values to a particular list (one particular index). I have done this:  adj[0].append(1)   Hence, my expected output is:  [[1], [], []]   However the output is:  [[1], [1], [1]]   I can't seem to understand why this is so. Probably I am not understanding something about how Python's lists work, or am making an utterly silly mistake. Any help would be greatly appreciated.  Additionally, I would really appreciate a suggestion as to how I can get my desired output.


Is it possible in Marketing Cloud to set custom expiration which applies only to one particular URL? We include lots of different links in our emails, these have to stay valid as long as possible as direct to product pages and so on.  But in one email we include a promotional link, which has to expire after 14 days.  Is there any way to perform this setting on single-url-level?


Is it possible to prove that a particular statement cannot be disproved without creating a contradiction?

In the following link () the authors are basically arguing that there are statements that we cannot deny without contradicting ourselves. Is it possible to prove that?   The initial reason that led me to ask this question is the following: Let us suppose someone asks you if you think it is possible for you to know something. If you reply "no", you contradict yourself. Is it possible to prove that it is impossible to deny such a statement without contradicting yourself? If not, what does it mean for the statement itself? Do we just suppose the statement is true until we find an example that falsifies it?


What is this optical illusion in which airplane propellers appear to rotate backwards? How is it explained?

This airplane's propellers are both rotating anti-clockwise. But as you see, they are seem like rotating clockwise seen from front (nose) side. This phenomenon is known as optical illusion.  My question is, how to explain it? This occurs at certain rotation speed only. When the rotation is put slower, we will see the actual rotation, so does when it put higher. Need to know the range of rotation speed when it will be seen revert the rotation.


Why system realized that my question was migrated only a month later

April 20 I asked this a question. It got one up vote and one down vote and then was migrated to Meta Server Fault. Only today, the a month later, I saw:


Disable all div contents using jquery including anchor, paragraph tags?

i need a little help in html css, i want to disable all contents in a div having class "main-wrapper" after user clicks on a logout button through a jquery function, i tried in 2 ways, but in vain! here is my jquery function,   function loadLogoutBox() {     $('#logout_box').fadeIn("slow");     $(".main-wrapper").css({ // this is just for style             "opacity": "0.3"       });     $(".main-wrapper").disable();     $(".top-menu").attr('disabled', true);  }   any help please!


I've got a ISPconfig 3 production server set up, running Ubuntu Server 9.04. My e-mail gets delivered ok to almost every other server I send mail to except for one (smtp.chello.nl which bounces my email). In my /var/log/mail.err I found the below error.  Sep 23 08:59:33 <MYHOSTNAME> postfix/smtp[26944]: 3DB2B1456149: to=<<RECIPIENT>@chello.nl>, relay=smtp.chello.nl[213.46.255.2]:25, delay=2, delays=0.02/0.01/1.9/0.04, dsn=5.1.0, status=bounced (host smtp.chello.nl[213.46.255.2] said: 550 5.1.0 Dynamic/Generic hostnames are blocked. Please contact your Email Provider. Your IP was <MY IP>. Your hostname was ??. (in reply to MAIL FROM command))   What could be the cause of this?  I did an SMTP check on mxtools.com and got the following:     OK - Not an open relay   OK - 0 seconds - Good on Connection time   OK - 1.482 seconds - Good on Transaction time   OK - 83.161.xx.xx resolves to a83-161-xx-xx.xxx.xxx.nl   WARNING - Reverse DNS does not match SMTP Banner   Update: My IP is static.


Have an object rotate on its Y axis towards mouse position

I've been looking at some other answers to similar cases but not every one used different methods, and a lot of them were not what i needed, so here's my question :   What's the best/standard way to get the X and Z positions of the mouse onto a plane, so that object can rotate to look at that position?  I'm trying to get it in a similar setting to, for example "Angry Bots" where the Player is always facing mouse position.  Also, would that be camera independent? i mean, if my camera changes its angle, it would still work because it usually is a projection of the "screen" plane onto the "player" plane, right?  I'm sorry, i'm a bit overwhelmed with the many options Camera.main. has, and i'm not really sure which one should i use.


How to pipe output from one process to another but only execute if the first has output?

How can I rewrite this command to only email if there is output from the mailq | grep?  mailq | egrep 'rejected|refused' -A 5 -B 5 | mail -s 'dd' email@email   Is this even possible on one line?  See  for a more general case than sending email.


Garlic clove turned to Dark grey/green powder?

I was using a head of garlic (from China, if that helps), And the entire thing seemed healthy and fine, but I got to one of the inner cloves and it had turned ENTIRELY into a very soft powder, I was afraid of breathing it in because some puffed out when I got to it!! I am so confused, it’s such a fine, dry dust-like powder yet the rest is totally fine! Does ANYONE know what this is?? And do I have anything to worry about health-wise now?


Rationalizing the denominator with 3 roots

Well, I can't find the example on how to solve this.  If I multiply $$ \dfrac{2}{\sqrt[3]{9}+\sqrt[3]{15}+\sqrt[3]{25}} $$ with  $$ \dfrac{\sqrt[3]{9}-\sqrt[3]{15}+\sqrt[3]{25}}{\sqrt[3]{9}-\sqrt[3]{15}+\sqrt[3]{25}} $$ or similar, it just gets even more complicated, and I get 4 terms instead of 3 in the denominator, and more can't be better...  Can someone tell me some principle by which all kinds of expressions with 3 or more terms and with different roots could be rationalised? On a test, I haven't got much time to use appropriate formula, as I can for square difference and so on, I need a principle.