I am an Indian citizen applying for a visitor visa to UK for tourist purpose. I'll be accompanying my husband who will be visiting UK for business work for 1 week and he'll be sponsoring my trip (his trip is sponsored by the company). Do I need to get a letter from my husband stating that he'll be sponsoring my trip or just mentioning this in the Visa application would suffice? Are there any other documents required to support the application? Do I need to attach my bank statements as well?


characters in login screen replaced by question marks

My log-in screen appears with question marks instead of the usual text. (See screen shot - I have removed my log-in name from the picture).  I am using MacOS Sierra 10.12.3 on a MacBook Pro (early 2011).


What does this means while printing from a str1 variable in python str1[0 : -1 : 2] and how it works

str1 = ‘This is Pyhton’ print ("Slice of String : ", str1[1 : 4 : 1]) print ("Slice of String : ", str1[0 : -1 : 2])


Is there any way to backtrack to previous areas?

Since I'm out hunting for all the achievements, including Sightseer, and all the Voxophone records, I'd like to go back to past areas to finish up the rest of the achievements.  Can you backtrack to previous areas? Or is it once you leave you can't go back?


I have over sampled polygons that I need to simplify, without changing the shape. basically, I want to reduce the number of vertices, by eliminating the ones that are useless and have the polygons represented with the significant vertices only. I used to do that with ET GeoWizards Plug-in, but I don't have a license anymore. My table has 500.000 features, water polygons.   Any ideas?


Is it possible to know how many seats on a particular flight have been booked? If not, is it possible to know in which months of a year the flights usually are not  fully booked?


What does it mean "a while ago"? For how much time in the past it is said to be definite?   I saw it in the context of a  on Youtube (0:36)   Paraphrasing, the conversation was     Rakesh: Hi, Darren. Do you remember me? You took my sister out on a date. She's slightly larger.   Darren: Maybe. I think so. A while ago?   Rakesh: Yeah, it was a little while ago, right. I know, it's been a little while.


So I saw a youtube video of the following integral, which can be solved by letting u=tanx, then you get $\int \frac{1}{1+x^2} dx $ = ${tan}^{-1}x + C$ But it should also be solvable through partial fraction decomposition. $\int \frac{1}{1+x^2}dx$ = $\int {\frac{A}{x-i} + \frac{B}{x+i}dx}$ $\frac{1}{1+x^2}$ = $\frac{A}{x-i}$ + $\frac{B}{x+i}$ $1$ = $A(x+i)$ + $B(x-i)$ $x=i$:  $1$ = $2iA$ $A$=$\frac 1{2i}$ = -$\frac {i}{2}$ $x=-i$: $1 = -2iB$ $B$ = $\frac{i}2$ $\int \frac{1}{1+x^2}dx$ = $\int -\frac{i}{2(x-i)}$ + $ \frac{i}{2(x+i)}dx$ = $-\frac{i}2$ln$\lvert {x-i}\rvert$ + $\frac{i}2$$ln\lvert {x+i}\rvert$ + C = $\frac{i}2ln\lvert {x+i}\rvert - ln\lvert {x-i}\rvert$ + C This should be equal to ${tan}^{-1}x + C$ right? ${tan}^{-1}({1})$ =  $\frac\pi4$ $\frac{i}2(ln\lvert {1+i}\rvert - ln\lvert {1-i}\rvert)$ = $\frac{i}2(ln{\sqrt2}-ln{\sqrt2})$=O So these are obviously not equal, then I thought why must i have absolute value sign in the logarithmic expressions, that rule I know only applies for integarting with real constants. Thus, $\int \frac{1}{1+x^2} dx = $$\frac{i}2(ln({x+i}) - ln({x-i}))$ + C = $\frac{i}2ln(\frac{({x+i})^2}{x^2+1}) + C$ Evaluated at x=1 gives us $\frac{i}2ln(\frac{({1+i})^2}{1^2+1})$ = $\frac{i}2ln(i)$ = $\frac{i}2\cdot \frac{i\pi}{2}$ = $-\frac\pi4$ So, im quite close, but I must have missed something somewhere, and I cant find the mistake. But this triggers two other questions: How would I show that $\frac{i}2ln(\frac{({x+i})^2}{x^2+1})$ = $\tan^{-1}x$ (or some other logarithmic expression if that expression is where the error lies) and, why dont I need to take absolute value when integrating $\int \frac{1}{x+a}dx$ with complex constants? Is the explanation as easy that I can evaluate all logarithmic expressions using complex numbers?


How to identify moderators in Data SE queries?

As I can see, the Data SE doesn't contain data, who are/were the moderator currently, or in the past.  To some queries, I would like to use this data. Currently, I do this by checking the election pages manually to identify the moderatorship start dates. I check manually the review log of the ex-mods (on their user page) to identify the end dates of their mod time interval.  But, and automatized solution could be more useful.  My current best idea is to search for close/reopen PostHistory events where he was the only voter. The MIN and MAX of the CreationDate columns would be a rough estimation of the start/end dates.  Does a better way for the task exist?


Let T be a linear transformation on the real vector space $\mathbb{R^n}$ over $\mathbb R$ such that $T ^2 =μT$ for same $μ∈\mathbb R$

Let $T$ be a linear transformation on the real vector space $\mathbb R^n$ over $\mathbb R$ such that $T^2 =\mu T$ for some $\mu\in\mathbb R$ . Then which of the following is/are true?           $\|Tx\| = |\mu| \|x\|$ for all $x \in\mathbb {R^n}$     If $\|Tx\| =  \| x\| $for some non zero vector $x \in\mathbb R^n$, then $\mu=\pm1$     $T= \mu I$ where $I$ is the identity transformation on $\mathbb R^n$       If $\|Tx \|>\|x\|$ for a non zero vector $x \in \mathbb R^n$, then $T$ is necessarily singular.         I am completely stuck on it. Can anybody help me please?


Mundane means ordinary.The word is mostly used in negative sense.Can the word "mundane" be used in positive sense too? Like"Mr.K is not a wasteful man.He leads a very mundane life."Another example can be"Miss ABC does not show off in front of others.She is a mundane girl."In the examples I am referring mundane to be "ordinary" and in positive sense.Can the examples be used? or is it wrong technically?


Any finite group is a subgroup of an orthogonal group

Prove that any finite group of order $n$ is isomorphic to a subgroup of $\mathbb{O}(n)$, the group of $n\times n$ orthogonal real matrices.  Attempt:  Let $G$ be a group of order $n$. Then $G$ is isomorphic to a subgroup of the symmetric group $S_n$.  But how to go further?


So you are giving a natural number $p$ and you are told to:      Find $x$ in $x!=p?$    What would you do?  Me: I take the $\log$ and I get: $\sum_{i=1}^{x}\log i=\log p$. and I get stuck there. You:?  Thanks.


So, Thinking Again :/  If we built a tunnel, out into space far beyond our atmosphere and opened it up  Would the resulting differences in pressure then effectively suck out the interior of our atmosphere??


"Eat" is to "feed" as "drink" is to what?

I can say "I feed someone". Am I forced to say "I give someone a drink", or is there a single word for this (as in "I [verb] someone")?  Unfortunately my thesaurus can't really help me.


According to , apt-get install sublime-text was the right way to install Sublime.  Unfortunately, I can't find it in Lubuntu 18.10.  user@linux:~$ sudo apt show sub subcommander            subiquity-tools         subread                 substance-flamingo-doc  subtle subcommander-doc        subliminal              subread-data            substance-swingx        subunit subdownloader           subliminal-nautilus     substance               substance-swingx-doc    subuser subiquity               submux-dvd              substance-doc           subtitlecomposer        subversion subiquitycore           subnetcalc              substance-flamingo      subtitleeditor          subversion-tools user@linux:~$    I've already updated the system (sudo apt update && sudo apt upgrade), but still can't find it. What seems to be the issue here?


how to check if string contains '+' character

I want to check if my string contains  a + character.I tried following code  s= "ddjdjdj+kfkfkf";  if(s.contains ("\\+"){  String parts[] = s.split("\\+);   s=  parts[0]; // i want to strip part after  +  }   but it doesnot give expected result.Any idea?


How to make a deleted site collection disappear in search result?

I have several deleted site collections which cannot be seen in active and deleted sites in new SharePoint admin center. Attempting to browse them in the browser would return 404 File Not Found. However, when I type the names in the search bar, they appear among the results.  I have seen something like full crawl or re-index. But those are mostly for SharePoint Servers not Online and I cannot access the setting page of those sites. Is there any way to make those sites disappear from the search result?  Thanks in advance.


I know 10k users can see them, vote to permanently delete them, etc., but I'd like the ability to see them for users with lower rep (let's say 5000).  You couldn't act on them, but you could see them, and potentially leave comments for the 10k users to see.


"I'm going to help you like I promised." Good English? Informal? Only colloquially acceptable? Wrong?

I've often heard this kind of sentence where one substitutes the conjunction "like" for "as".  Is it acceptable in written English?  Is it considered wrong in spoken English?


How can I use my Android smart phone as a microphone for my laptop?

I have a USB cable that can connect my Android smartphone to my laptop's USB port.  This scheme is obviously cheaper than buying a separate standalone computer microphone. My computer's microphone is shoddy, and many people can't hear it well.  Does the answer differ if I receive sound thru:   my computer speakers or external speakers connected to my computer?  vs. my phone?


I am looking for a generic, bidirectional 1 to 1 Dictionary class in C# (2), ie. a BiDictionaryOneToOne<T, S> which is guaranteed to only contain one of each value and key (up to RefEquals anyway), and which can be searched using either key or value. Anyone know of one, or should I just implement it myself? I can't believe that I'm the first person to need this...  There is a BiDictionary in the answers to , but it is not for unique elements (and also does not implement RemoveByFirst(T t) or RemoveBySecond(S s)).   Thanks!


Should certain topics/tags create a wiki to summarize FAQs on those topics/tags?

I am constantly using stackoverflow as a great resource to begin any search for questions/solutions I am looking for.  As there are more and more questions/answers with the best answer bubbling to the top, wouldn't it make sense to have a wiki page to take these answers and add them to one common wiki page for this certain tag/topic?  I think this would add a great deal of benefit to the stackoverflow site.  It would not only become a place to search for a specific tag/topic, but also a quick reference manual.  Being a wiki, this could constantly be updated as better answers/solutions are found.  Just a thought.


Badges in achievements dialog appear as if they came from the current site

Notifications that inform you of a received badge show an image of the badge.  This image always appears in the style of the badges from the site you are currently viewing, not the site the badge came from.  This seems incorrect.


If lspci command shows nothing, how to check GPU is cuda-capable or not?

From the , I need to check whether my computer is capable by using the command:   lspci | grep -i nvidia   but for my Thinkpad, this returns nothing. The document further says     If you do not see any settings, update the PCI hardware database that Linux maintains by entering update-pciids (generally found in /sbin) at the command line and rerun the previous lspci command.   I just don't understand what this means, who can tell me what to do next?  Ps, this is my computer:  OS: Ubuntu 18.04 LTS x86_64 Host: 4291RF4 ThinkPad X220 Kernel: 4.15.0-24-generic  Uptime: 2 hours, 18 mins  Packages: 3252  Shell: bash 4.4.19  Resolution: 1366x768  DE: Xfce  WM: Xfwm4  WM Theme: Greybird  Theme: Greybird [GTK2], Radiance [G  Icons: Elementary-xfce-darker [GTK2  Terminal: terminator  CPU: Intel i3-2310M (4) @ 2.100GHz  GPU: Intel Sandybridge Mobile  Memory: 2265MiB / 7859MiB


Navigating the cursor on comment box using keys in Android app with 2 or more line returns the cursor to first line

After I have typed 2 or more lines on comment box, when the cursor is not on the first line, navigating the cursor using keys will bring the cursor to first line. This issue doesn't occur on Question or Answer box, only on comment box. This may be a minor bug, since user can reposition the cursor using touch screen, and not all input methods have navigation arrow.   Stack Exchange: 1.0.12 Android model: Nexus 4 Android version: 4.4.2 Keyboard:


AWK/SED Remove a specific latex command from the text AND closing bracket behind it

How to remove a specific latex command from the text AND closing bracket behind it, but to keep the text inside the brackets/  Please fill free to suggest SED, or AWK, or Perl or whatever will do the job  Input sensless example:   We \edit{Introduce a} model for analyzing \emph{data} from various experimental designs, \edit{such as 23 paired or longitudinal}.   Output:  We Introduce a model for analyzing \emph{data} from various  experimental designs, such as 23 paired or longitudinal.   PS. I am introducing a lot of small edits into my tex file. I want those edits to be highlighted, so my collaborator can see them. But afterwards I would like to remove all highlights with one or two commands.


How to preserve faces shape when UV unwrapping?

I've been trying to figure out a way not to have each face of a complex object being stretched out in the UV editor when unwrapping it. The idea is simple: I want to have a printable baked texture that I can cut and fold as an origami, and since paper can't be stretched, I got to keep each individual shape as unchanged from the original object as it can be. And by each shape I mean vertices and gons.


Redirection to file does not work properly

I have here a bash script:  #!/bin/bash  TARGET_FILE=ping_result.txt  # declare the target ip addresses declare -a ips=("XXX.XXX.XXX.XXX" "YYY.YYY.YYY.YYY")  function print_and_log() {     echo "$1"     echo "$1" >> $TARGET_FILE 2>&1 }  # loop through all ip addresses for i in "${ips[@]}" do     print_and_log "----- Begin Pinging for $i --- "     print_and_log "command: ping -c10 $i"     print_and_log $(ping -c10 $i)     print_and_log "----- Pinging for $i end ----- " done   My aim is to print the same output into a file and into console. But when I disconnect my operation system from the network, then in the console, I see (for example for the first IP address):  ----- Begin Pinging for XXX.XXX.XXX.XXX ---  command: ping -c10 XXX.XXX.XXX.XXX connect: Network is not reachable  ----- Pinging for XXX.XXX.XXX.XXX end -----    But in the file, I do no see any message, that the Network is not reachable. Why? How can I change my bash script, that I also can see this message in my logging file.


If I have two independent discrete random variables, say, $$ X \in \{1,3,10,20\} $$ and $$ Y \in \{2,3,5,9,11,15\} $$ and let $$Z = X + Y $$ be the sum of two variables. Also, each value taken by either random variable is not equally likely. How do I calculate the distribution of $Z$? More importantly, what does it mean to sum two random variables?


What documents to substitute bank statement as proof of salary received?

Hi everyone. I want to ask help and advise. My sister got her refusal notice, picture uploaded. She is from Philippines.  My sister is employed and they paid her cash. She submitted her certificate of employment, 6 months payslip and approved leave of absence from her company.  And not having bank account statement is the main ground for refusal, I believe it is, as they mentioned in the 3rd paragraph. We are planning to reapply this month as we want her to come mid of April to join us in our special event. My sister provided evidence of family ties. Her partner for 16 years, family and work are her ties and reasons to return to Philippines.  Questions:  (1) Do you think submitting Certificate of Annual Compensation received for the year 2018 or  Philippine BIR FORM 2316, Certificate of Salary Received for January and February 2019 or the last 6 months, certifying as well that it is cash payment, attached her cash voucher and payslip from her company would be sufficient proof of her income/salary received in lieu of bank account statement?  I found out today that she has savings account in a Rural Bank since 2011 up to now.. there were transactions made, deposits and widrawals, but nothing left there as the moment as she withdraw the last money last month,  could we use it as additional document? Picture uploaded  (2) Can we satistfy and prove to the ECO that my sister is a genuine visitor to the UK by providing again the letter from her partner, stating their relationship history and future plans together, their photos, our family photos, Identification cards of her family in Philippines, and will add letter from father of her partner certifying my sister and her partner live in his property, their relationship, and submit proof of residence under his name like utility bills?  (3) Is the chance of reapplying and submitting additional documents mentioned above would give us higher chance of successful visa application?  THANK YOU in advance. All advises will be appreciated.


What's the difference between "discuss" and "debate" and "argue"?

These difference are "formal" or "informal"?  Actually, by E-mail, I often use "discuss" in case of private and work. I've never used "debate" and "argue".


Create a new cmd.exe window from within another cmd.exe prompt

I am in the process of setting up CruiseControl.NET. The problem I am having is that I am running CC as a console application and when my build completes successfully and executes (using exec) it launches it within the CruiseControl DOS prompt. I am just using simple batch files to launch my app but having it run within the same prompt as CC is causing CC to think the build continues as long as my app runs.  Are there command line parameters to cmd.exe that will spawn another separate prompt window?


Why doesn't "cd" work in a shell script?

I just want to write a script which changes my directory.  I put the below commands in the file /home/alex/pathABC  #!/bin/sh cd /home/alex/Documents/A/B/C echo HelloWorld   I did   chmod +x pathABC   In the Terminal, while in /home/alex, I ran ./pathABC, but the output is just HelloWorld and the current directory is not changed.  So what is wrong?


Rigorous Proof of a Limit, where f(x) ≡ A.

Suppose that $f$(x) is a function on (0, +∞), satisfying that $f$(2x) = $f$(x). If lim x→∞ $f$(x) = A, prove that $f$(x) ≡ A for all x ∈ (0, +∞).  Hi, I am trying to understand this question but I have no idea how to approach this. I also don't fully understand why the 'identical to' sign is there rather than the equal sign. Any help would be appreciated!


The picture below is on page 7 of the datasheet of TL497, it is a switching regulator that I use as an inverting regulator (it has an inverting mode) to generate -24V from 12V in input, in the first designing equation on this page I have 2 unknowns "I(pk)" and "Io max" I don't know how can I find their values ?? In the datasheet it is wrote that I(pk) maximum value is 500mA so if I(pk) in the equation means 500mA why they didn't write 500mA simply unless of I(pk) also I(pk) max value is 500mA it can be lower than that and if 500mA means the "Io max" then I(pk) value will be 3A for VI=12V and |Vo|=24V which is impossible because I(pk) max =500mA. I hope I explained well.  datasheet:


In Skyrim, what race is best suited for a mage, a juggernaught (warrior), and a thief?

I am having trouble choosing a new character on my new game in Skyrim. I don't know whether I would like to be a Mage, Warrior or Thief. I like the sound of Thief because gold is involved, warrior because I like to be able to get in there and take damage...and deal it. And mages are cool because spells are effective against most enemies and you can upgrade your magika until you are unstoppable and learn awesome spells.  So, I'm quite stuck on choice and who would make a good vampire as well? Most people say Dark Elf, but what do you think?


Ap-hotspot not creating in Kubuntu 14.04

I installed ap-hotspot in kubuntu 13.10 and it was working but then I upgraded my os to 14.04 and then it stopped working. I tried everything I removed the ap-hotspot completely and then again started it but it is not working it gets stuck in "Starting Wireless Hotspot..."  Is there any other way of creating a hotspot in kubuntu.


What is the .NET equivalent of PHP var_dump?

I remember seeing a while ago that there is some method in maybe the Reflection namespace that would recursively run ToString() on all of an object's properties and format it nicely for display.    Yes, I know everything I could want will be accessible through the debugger, but I'm wondering if anyone knows that command?


Is there a rising trend in Number Series

I am trying to build a stock screening utility.   What  I am trying is to find if there is a rising trend in a time series of profit margins of a company. I know there can be dips in some years but I want to find if mathematically that overall there is a rising trend as well as towards the recent years there is higher margins as compared to previous years.   Is there any way we can find it mathematically?          Profit Return Year,Company A,Company B,Company C 2005,38.97,20.44,22.01 2006,22.4,20.59,20.63 2007,22.4,20.59,20.63 2008,21.56,22.01,23.87 2009,25,20,23.52 2010,25,22.38,18 2011,30,24.13,24.85 2012,32,25.43,27.47 2013,30,20,22 2014,35,27,20


What is the right way to find out which function is faster?

I have two functions in a code, one using map() and the other, filter() const eip = [...new Map(elasticIps.map(e  => [e.publicIp, e])).values()];  const eip = elasticIps.filter((v,i,a)=>a.findIndex(t=>(t.publicIp === v.publicIp))===i)  They both do exactly the same thing for me, but I don't know the best way to find out which is faster


What is the source for defaulting to plain English readings of non-game terms?

In many discussions involving rules interpretations the meaning of words is often called into question. Often, people will claim that if the game doesn't define the term that it defaults to the plain English reading of the word.  Is this stated somewhere explicitly in the rules or in designer comments? What is the source (or sources) for this claim?


In the Blender Guru Donut tutorial he made a sprinkle for a donut. He copied that sprinkle and made a smaller version of it. He Shift selected both and made a group with the shortcut Ctrl+G. When I do the same it assigns both sprinkles into a collection. I have read that the layer system is redone completely. So when I make a group out of the two objects, is it the same as a group and where can I see that group?


Arithmetic progression of four square number with the same common difference

I want to know, if is possible found the arithmetic progression of four square number, with the same common difference.  \begin{align} \ & a^2 +r = b^2 \\   & b^2 +r = c^2  \\   &  c^2 +r = d^2  \\  \end{align}  where a,b,c,d,r $\in\mathbb{N}$  Hence, I found only triple succession.  For example: 1,5,7 because  \begin{align} \ & 1^2 +24 = 5^2 \\   & 5^2 +24 = 7^2  \\  \end{align} where the ratio is 24.  but I can't found a example with four number and the same common difference. at worst. Could you demonstrate that nonexistent using reductio ad absurdum to this statement?.


For positive invertible operators $C\leq T$ on a Hilbert space, does it follow that $T^{-1}\leq C^{-1}$?

I need the following result. I think it's quite obvious but I don't know how to prove that: Let $C, T : \mathcal{H} \rightarrow \mathcal{H}$ be two positive, bounded, self-adjoint, invertible operators on a Hilbert space $\mathcal{H}$ such that $C \leq T$. Then it follows also that $T^{-1} \leq C^{-1}$. Or maybe this is even not true? If this is not true can somebody give me a counter-example or if it is true some strategy how to solve this? I would be very thankful.  mika


ssllabs.com finding Certificate #2 with wrong domain

When scanning one of the domains I have installed SSL for with ssllabs.com, Certificate #1 verifies correctly with grade 'A', although further down on the result page there is also a Certificate #2 that seems to be collected from the first of the domains with SSL certificate configured from the apache configuration for some reason and which of course gives a "MISMATCH" since the domain does not match the certificate. Wondering if anyone can point out whats wrong with the config.  Currently I'm setting up each domain hosted for ssl like this (domain names changed):  <Directory /home/info/>   Options -Indexes +FollowSymLinks -Multiviews   AllowOverride All   Order allow,deny   allow from all   Require all granted </Directory>  <VirtualHost _default_:443>   DocumentRoot /home/info/pub/   ServerName domain.at   ServerAlias domain.at www.domain.at    SSLEngine on   SSLCertificateFile    /home/info/ssl/at.crt   SSLCertificateKeyFile /home/info/ssl/at.key   SSLCertificateChainFile /home/info/ssl/at.ca </VirtualHost>  <VirtualHost _default_:443>   DocumentRoot /home/info/pub/   ServerName domain.dk   ServerAlias domain.dk www.domain.dk    SSLEngine on   SSLCertificateFile    /home/info/ssl/dk.crt   SSLCertificateKeyFile /home/info/ssl/dk.key   SSLCertificateChainFile /home/info/ssl/dk.ca </VirtualHost>  <VirtualHost _default_:443>   DocumentRoot /home/info/pub/   ServerName domain.fr   ServerAlias domain.fr www.domain.fr    SSLEngine on   SSLCertificateFile    /home/info/ssl/fr.crt   SSLCertificateKeyFile /home/info/ssl/fr.key   SSLCertificateChainFile /home/info/ssl/fr.ca </VirtualHost>   So when for example scanning "domain.fr" with ssllabs it validates correctly for .fr certificate, but then goes on to try and validate "domain.at". Should I comment out the "domain.at" config, it would try to validate "domain.dk" instead. Why is this? Grateful for help.


Scroll direction keeps changing after recent upgrade

After a recent kernel upgrade, I started noticing an annoying issue: the "Natural scroll direction" changes every time I change the keyboard/mouse set on my laptop (Dell Inspiron 15).  More specifically, I have one Logitech set at work and a different set (also Logitech) at home.  It seems as though every time I switch peripherals the scroll direction is changed.  I want the Natural Scrolling to be left by default and not arbitrarily switch to the 'regular' scrolling direction. I believe this may have started after the update to the 5.4.0-52 64-bit kernel (Ubuntu 20.04 LTS, GNOME version 3.36.3).  I should note that around the same time I purchased a new set of keyboard/mouse combination for home, though I did not notice the issue until the kernel update a few days later. What is worse, the toggle button in the Settings > Mouse & Touchpad > Mouse > Natural Scrolling is NOT changed but the scrolling direction changes.  That is, when I just change locations, the scrolling direction is 'regular' while the Natural Scrolling is turned on.  To fix this, all I have to do is to toggle the button twice and then it comes back to my preferred scrolling direction. Has anyone else experienced this issue?  If so, any way you suggest to fix it without having to change the direction every time I change peripherals.


I don't understand the formula at all:  $$e^{ix} = \cos(x) + i \sin(x)$$  I've tried reading all sorts of webpages and answers on the subject but it's just not clicking with me. I don't understand how we can define things when these are already known quantities. We've already got an exact definition for $e$ as $\lim_{n \to 0} (1+\frac{1}{n})^n$, and we've got $i = \sqrt{-1}$, and we've got $\cos$ and $\sin$ as the $x$ and $y$ coordinates of where right triangles meet the unit circle.   So I don't understand how we get from those figures to Euler's formula. Then again I also don't understand why complex numbers are of the form $a + bi$ so that might have something to do with it. I have a hard time separating what identities are "emergent" from the previous mathematics and which pieces are "by definition" and why they are defined that way. I don't understand why we start talking about "rotations" as if it's obvious that's what's happening. I don't even know why $e$ is involved in any of this to begin with.   Is $e^{ix}$ simply being written in the slightly rearranged complex form $a + ib$ where $a = \cos(x)$ and $b = \sin(x)$? Is this to be interpreted as $\cos(x)$ being the $x$-coordinate and somehow $i \sin(x)$ is the $y$ coordinate?


I am a little lost trying to derive what form $f(x)$ must have if we know $f(x)f(y) = f(x + y)$ for real inputs $x, y$.  My attempt so far:  Set $y=0$ and we have $f(x)f(0) = f(x)$ meaning either $f(x) = 0$ or $f(0) = 1$. Not sure what to do with this.  What about setting $y=x$? Then $f(x)^2 = f(2x)$. Multiply both sides by $f(x)$ and then $f(x)^3 = f(2x)f(x) = f(2x + x) = f(3x)$ and so on, so $f(x)^n = f(nx)$ for some integer $n \geq 2$. But it's also true for $n=1$ because $f(x)^1 = f(1 \cdot x) = f(x)$ and it's also true for $n=0$ (if we assume $f(0) = 1$) since $f(x)^0 = f(0 \cdot x) = f(0) = 1$, so $f(x)^n = f(nx)$ holds for integer $n \geq 0$.  For $n > 0$: raise both sides to $1/n$ and we get  $f(x) = f(nx)^{1/n}$  I don't really know where I am going with this or if it's even the right track. Am I even allowed to do that in the first place? Am I supposed to be assuming $f(x)$ is real? Or complex? Or positive? Or something? Should I be assuming $x$ and $y$ are complex? I don't really know what assumptions to make exactly. I'm just trying to prove/show that this all implies $f(x)$ has some exponential form but pretending I don't know that yet.  Could use any corrections or a push in the right direction.


Can I schedule updates for a specific time of day?

Satellite based internet is my only option.  My ISP is not reliable and I must schedule downloads (ex. updates, video) to off-peak hours.   I am very new to Ubuntu.  My ISP does not throttle my speed between 3am and 6am EDT when I am asleep, so I would like to schedule updates for this time.  Are there any methods to schedule updates to download only at a specific time of day?


Is there a phrase for making someone do something that is your duty by making it look like it is their responsibility?

In Hindi there is phrase for this which literally translates to "putting something (a task) on someone's head" and another which translates to "sticking a task on someone".


Let $g ∈ S_n$ be a permutation. Describe a method for answering the following question: does there exist a permutation $f ∈ S_n$ such that $f ◦ f = g$?  I don't want to be spoonfed the answer, but can someone give me a direction? It is getting late and my brain is running on fumes, so I can't think of a point to start.


Why are some user profile images showing up on the left side in the list of questions?

User images have always been on the right side in this list, but to my surprise, today two images showed up on the left side:  I am using the desktop version of Google Chrome on Ubuntu. Is this a bug?


Why is my directory getting quotes around it when created?

I create a directory called bob@example.com/    I wanted to use this email address as the directory name - I know - not a good idea for many reasons - but lets assume this is a very temporary directory that I delete seconds later :)  I give the command  mkdir bob@example.com   However when I check the directory I see it actually created it with quotes around it.  ... 'bob@example.com` ...   I then found this is due to the @  What are the rules for special characters in directory names and how does the system decide to quote them


Accounts on the solutions of the Dirac equation

Consider the Dirac equation $(i\gamma^{\mu}\partial_{\mu}-m)\psi = 0$. As it is well known, there are different representations for the matrices $\gamma^{\mu}$, $\mu = 0,1,2,3$, the most famous ones being the Dirac and the Weyl representations. It is not difficult to see that: \begin{eqnarray} \psi_{\pm} = e^{-iE({\bf{p}})t} P_{\pm}\phi({\bf{p}}) \tag{1}\label{1}  \end{eqnarray} are (plane wave) solutions of the Dirac equation, where $E({\bf{p}}) = \sqrt{m^{2}+|{\bf{p}}|^{2}}$, $\phi({\bf{p}})$ are arbitrary vectors on $\mathbb{C}^{4}$, and $P_{\pm}$ is a projection operator to the subspace $\operatorname{Ker}(H_{D}({\bf{p}})\pm E({\bf{p}}))$ where $H_{D}$ is the associate Dirac (Hamiltonian) operator: $$H_{D}({\bf{p}}) := \sum_{j=1}^{3}\alpha_{j}p_{j} + \beta m \quad \alpha_{j} := \begin{pmatrix} 0 & \sigma_{j} \\ \sigma_{j} & 0 \end{pmatrix} \quad \beta = \begin{pmatrix} I & 0 \\ 0 & -I \end{pmatrix} $$ with $I$ being the $2\times 2$ identity matrix and $\sigma_{j}$ the $j$-th Pauli matrix. This is a general solution in which, if I'm not mistaken, is independent of the chosen representations for $\gamma^{\mu}$. Next, we have another general solution for this equation, which is commonly used in QFT books in order to introduce the quantization of the Dirac field and which is given by: \begin{eqnarray} \psi(t,x) = \frac{1}{(2\pi)^{3}}\int_{\mathbb{R}^{3}}\frac{1}{\sqrt{2E({\bf{p}})}}\sum_{s=\pm}\bigg{(}a_{{\bf{p}},s}u_{s}({\bf{p}})e^{i(-Et+{\bf{p}}\cdot{\bf{x}})} + b^{\dagger}_{{\bf{p}},s}v_{s}({\bf{p}})e^{i(Et-{\bf{p}}\cdot{\bf{x}})}\bigg{)}d^{3}p \tag{2}\label{2} \end{eqnarray} where $a_{{\bf{p}},s}$, $b^{\dagger}_{{\bf{p}},s}$ are coefficients and $u_{\pm}({\bf{p}})$, $v_{\pm}({\bf{p}})$ are linear independent vectors which generate $\mathbb{C}^{4}$. Let me remark that the in books I've consulted the general solution (\ref{2}) was constructed explicitly by using the Weyl representation. So, maybe (\ref{2}) is a general solution given the Weyl representation while the first one is representation independent? Many actual calculations done in textbooks use the Weyl representation, so (\ref{2}) would obviously be useful in this case. My question is really straightforward: is there (and if so, what is) the connection between these two solutions (\ref{1}) and (\ref{2})? Maybe the vectors $u_{{\bf{p}},\pm}$ and $v_{{\bf{p}},\pm}$ must be eigenstates of $H_{D}({\bf{p}})$? Or are these solutions not connected at all?


How to check if given array contains any value from another array in php?

Guys please help me figure out with php. In JS i know that i can use .some or .includes, but what is analog of doing it in PHP? I read the docs of php, they are very poor about functions for arrays. I need to solve next problem: ['banana', 'apple', 'coconut']  i want to return true, if in array above contains any of values from this array ['apple'], order of elements in given array must not matter! How to solve this problem in php?


there are uncountable infinity real numbers in interval [0,1], where is my pitfalls?

i think i understand the proof using diagonalization.  butttttt!  consider the following construction step:  for c(olumn) =  1 to countable infinitely  for r(ow) = 1 to 2^c      [r][c]=(r <= 2^c/2 ? 0 : 1)      before each time the value of c get updated:          copy the whole block from [1 - 2^c][1 - c] to [2^c+1 - 2*2^c][1 - c]   c=1:  \ 1 2 3 4 5 6 7 . .  1 0 (this means 0.0  2 1 (this means 0.1  3  4  5  6  7  .  .  after block copied  \ 1 2 3 4 5 6 7 . .  1 0  2 1  3 0  4 1  5  6  7  .  .  c=2:  \ 1 2 3 4 5 6 7 . .   1 0 0 (means 0.00  2 1 0 (means 0.10  3 0 1 (means 0.01  4 1 1 (means 0.11  5  6  7  .  .  etc  i can argue that for arbitrary r, all real numbers in [0..1] with length(:=number of digits after binary point) smaller than log(2,r)  are enumerated.  since c is counting to countable infinity, all real numbers will eventually be enumerated.  whats wrong with this?


Dealing with unassigned clusters in (MiniBatch)KMeans?

I'm clustering a largeish dataset (3-4 million rows, 3+ features, all numeric), and I'm clustering with a large k (f~=2000). I'm not actually interested in finding clusters, I and just using kmeans because it relatively evenly partitions non-clustered data (by count). I need all clusters to be assigned to at least some data (ideally enough to do a linear regression on that cluster, so >50), but quite often the clustering fails and some clusters do not get assigned:  >>> mbkmeans = MiniBatchKMeans(n_clusters=2187) >>> len(np.unique(mbkmeans.fit_predict(X))) # .../k_means_.py:1381: RuntimeWarning: init_size=300 should be larger than k=2187. Setting it to 3*k   init_size=init_size) 2165 >>> kmeans.n_iter_ 12   This is not due to duplicated data - in each dataset there are no more than 5% duplicated rows. I suspect it is due to the problem described at , whereby cluster centres end up in a no-man's land between two or more other clusters that are closer to all the intermediate data.  So, the question is, is there any general procedure for avoiding this problem?  And in particular, is there a way to do that in scikit-learn? Or is there a better set of arguments than  that I could use (there are a couple that I don't fully understand)?


Let $\mathbb Q$ be group of rational numbers under addition.  Then I want to find out the automorphism group of $\mathbb Q$. In a book it is given that Aut($\mathbb Q$) is isomorphic to $\mathbb Q^*$, the  multiplicative group of rational numbers. I stuck in this.


Why does accelerating electron emits photons?

I have read that accelerating or oscillating electron emits photons. But why and how does it so? And why only photons? There are other bosons like gluons, W and Z bosons, so why does electron emit only photons? And what is the mechanism ?


Simultaneous equations and separate labels

Essentially I'm trying to obtain something like  (without the f(x) bit), but with custom labels, which I can't seem to do.  \documentclass{article} \usepackage{amsmath}  \begin{document}  \begin{align*} \begin{cases} x+y &= 3 &&& \text{5} \\ x-y &= 1 &&& \text{6} \\ \end{cases} \end{align*}  \end{document}   But it just doesn't work.  I additionally tried the numcases solution in the link, but it seems like I can't manually tag it.  Here is my attempt with the empheq package:  \documentclass[preview]{standalone} \usepackage{amsmath,empheq} \usepackage{cases} \begin{document}  \begin{empheq}{align*}  \begin{cases} x+y &= 3 \tag{5} \\ x-y &= 1 \tag{6} \end{cases} \end{empheq}  \end{document}   The problem over here is that it shows only a (5) next to both the equations somewhere vertically in the center, not a (5) for one equation and a (6) for the other ;P


As we all know, if you want to make somebody aware of an response to a comment, you have to address them using @username if it's not their answer or question you're commenting in. (Sadly - Facebook style notification of all participants in a thread would be way better. But that's a different story.)  If you forget to do this, and edit your comment to add @username a short time later, will the user see the comment on their "recent" page? Or do you have to remove and rewrite the comment to trigger the notification?


How to change the file naming scheme for screen shot

I use Ubuntu 14.04 LTS, and when I take the screen shot, the default file name is given like Screenshot from 2016-02-29 11:08:10.png. I do not want the file name to have a space () and a colon (:). How can I change the file naming scheme?


What is the best way to obtain visas for the Trans-Siberian/Trans-Mongolian Railway?

I'm planning on taking the trans-Siberian / trans-Mongolian from Moscow to Beijing via Ulaan Bataar next year and I'd like some advice on how best to organise the visa situation.   I'm a British citizen, my partner is Swedish. We'll need visas for Russia, China and Mongolia. Seeing as you can only book the train tickets like 3 months in advance and you need to get all the visas together in that time as well, the process seems likely to be a bit complicated. Especially if you end up getting declined for a visa.  What is the best process or method for obtaining the visas (in which country order) and is there any kind of trustworthy service that will do it for me? If I go through a service, what happens if one of my visas is declined?


Why can't "fi" be separated when being copied from a compiled pdf?

I notice that in a pdf file compiled from Latex, "fi" such as in "field" cannot be separated as "f" and "i" when copying text out of the pdf file. I wonder why and if this can be changed? Thanks and regards!


Can I travel on a UK visit visa's start date?

I have applied for a standard UK visit visa (6 months). I got the visa with a validity starting on 14 August 2018 (FROM DU date 14/08/18).  So can I travel from India on that date if I have a flight for the UK on 14/08/18 at 02:30 am?  My nationality is Indian. My journey starts from my country.


Certificate Install without mandatory PIN lockscreen

:     The type of lock that's acceptable may be predetermined by your system   administrator.   Where I can define what's acceptable? I can regenerate the certificate if needed.  So I can use slide lockscreen again.  (I'm using CM9 RC1, Android 4.0.4)


I want to style the last TD in a table without using a CSS class on the particular TD.

       One	       Two	       Three	       Four	       Five

  table td  {    border: 1px solid black; }   I want the TD containing the text "Five" to not have a border but again, I do not want to use a class.


What's the best way to restart Android via command line (remotely)?

I'm looking for the best / friendliest way to reboot my rooted android 4.1.1 device. I found these solutions so far:   su -c "reboot" - Causes problems with wifi after restart on my device... I read that this can cause a currupt file system in some cases... Doesn't work via ssh for me. toolbox reboot - Same concerns here, but works via ssh. reboot -d 8 -f - causes problems after restart e.g. some apps wont start busybox killall system_server - "Hot Reboot" (not really a system restart) start|stop - Starts/stops Android Runtime (not really a system restart)   What is the device doing exactly when I'm pushing the (hardware) power button? I guess that's the most friendly way.


how to split an image with a grid and export automatically every frame of the grid in a single file in photoshop or illustrator?

The goal is to export automatically every frame of the 5*6 grid in a new folder with 30 single files.


I created a BIOS boot partition on a hard drive, using gdisk :  $ sudo gdisk /dev/sdb Command (? for help): p Disk /dev/sdb: 7821312 sectors, 3.7 GiB Logical sector size: 512 bytes Disk identifier (GUID): F7F2BE49-B8D8-4910-8E69-381DEBD954DC Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7821278 Partitions will be aligned on 4-sector boundaries Total free space is 2 sectors (1024 bytes)  Number  Start (sector)    End (sector)  Size       Code  Name    1              36         7168035   3.4 GiB     EF02  BIOS boot partition    2         7168036         7821278   319.0 MiB   8300  Linux filesystem  Command (? for help): q   I need to mount this BIOS partition :  $ sudo mount /dev/sdb1 /mnt mount: block device /dev/sdb1 is write-protected, mounting read-only mount: you must specify the filesystem type   What is a relevant filesystem type to use in order to mount this BIOS partition? I read on the Internet that ext2 is fine, though I can't find an explanation why.


Am I right that conjugacy classes of group $A_n$ can be obtained from conjugacy classes of $S_n$ (which are in correspondence with Young diagrams). If class $$C(h)=\{\sigma h {\sigma}^{-1}|\sigma\in S_n\}$$ contains independent cycles of only odd length and length of all cycles are different then $C(h)$ in $A_n$ split to two classes $$C_1(h)=\{\sigma h {\sigma}^{-1}|\sigma\in A_n\}$$ $$C_2(h)=\{\sigma \tau h {\tau}^{-1} {\sigma}^{-1}|\sigma\in A_n\}.$$ I only interested in the answer.  Thanks a lot!


Where does this function have continous points?

Let $f:\mathbb{R}\rightarrow\mathbb{R}$ be defined as: $f(x)=\begin{cases}\frac{1}{\min\{q\in\mathbb{N}:qx\in\mathbb{Z} \}  } &\text{ if $x\in\mathbb{Q}$}\\ 0 &\text{if$x\in\mathbb{R/Q}$} \end{cases} $  The task is now to find every point, in which f is continous. (0 is not an element of $\mathbb{N}$ in this case). If $x\in\mathbb{Z}$, $f(x)=1$ obviously, also if $x\in\mathbb{Q}$, so $x=\frac{a}{b}$ with $a\in\mathbb{Z}$ and $b\in\mathbb{N}$, then $f(x)=\frac{1}{b}$. So this function almost looks like the Dirichlet function, which is discontinuous in every point. Intuitively, I would say that this function is continous in $x=0$, my explanation is kinda "hand-wavey" but when x becomes really small, $q$ has to get really big, so $\frac{1}{q}$ has to become really small, almost 0. So if we have divergent series $a_n$ of rational numbers,the limit of $f(a_n)$ should be 0, right? Did I make a mistake? Could you give me some advice how to prove this statement? Thanks in advance!


Show that a nonnegative harmonic function is constant

Suppose that $f(z): \mathbb{C} \rightarrow \mathbb{R}$ is harmonic and that $f(z) \ge 0 $ for all complex $z$.  Then $f$ must be constant.  I imagine that I will need to make use of Liousville's theorem or otherwise show that $f'$ is zero.  However the problem is that the book has not mentioned anything about harmonic functions other then the definition that the second partials of the real and imaginary parts add to zero.  It is clear that an analytic function is harmonic from the Cauchy Riemann equations, is the converse true?  Thanks in advance


The expected distance from origin after a random walk of $N$ steps in a $d$ dimensional space, is close to $$\sqrt{\dfrac{2N}{d}}\dfrac{\Gamma\left(\dfrac{d+1}{2}\right)}{\Gamma\left(\dfrac{d}{2}\right)}$$ for very large $N$. This was mentioned . I would be very obliged if someone can mention to me a reference (bibliographic) to an article, book or any publication, where this expression was derived or mentioned. Please restrict to references, and not explanation of the formula itself.


Best File Management Practices when you have thousands of Files

We publish over 100+ textbooks and growing (1-color, 2-color, 4-color) maninly designed in CorelDraw & Indesign with associated Image and Font Files. We also have merged multipage PDF & EPS files that we send to our offset printers.Also, some Image files are exclusive to a project while some are shared across projects.   What are the best practices to follow when it comes to management of these files? We are always working on multiple versions of the same files and often with multiple DTP operators.  Right now it is all on a Shared Drive with Individual Folders but that always creates confusion in identifying the latest version of the file and some users save the file to some other folder. Security of the Data is another issue as we work with a lot of freelancers also.  How do big design studios and publishing houses handle versioning, collaboration and the associated files with a project neatly? Do they use a CMS / Document Management System?


Why is a rainbow in the sky always an arch?

It's been raining a lot lately in the bay area of California (thankfully! keep it coming rain gods!) which puts me and my dad in a contemplative mood. The rain has given us something to contemplate: rainbows. Every time we see a rainbow my dad is amazed by their beauty. He asked the titled question: Why are rainbows always in an arch shape? We know that there can be rainbows that have a different shape when, for example, they form in oily water or when they are in bubbles. However, we want to know about the traditional rainbows that you see in the sky.  I came up with a partial explanation to why I think this happens. I do not expect this to be right because I didn't do any research or any deep thinking about rainbows. I don't even know how rainbows are formed! Additionally, I stress that this is only a partial explanation. With that in mind, here it is.  When you see a rainbow in the sky, what you are seeing is different wavelengths of light from the sun enter rain droplets and exit in an organized fashion. A little more precisely, different wavelengths of light are reflected (or refracted? IDK!) in distinct directions when they exit the rain droplet. Each rain droplet has all of the wavelengths of light exiting it, but only one wavelength is reflected in the direction of my eyes. The specific direction is dictated by the position of the rain droplet relative to the position of my eye. When you're in a car and you're driving toward a rainbow, your position is changing, so the droplets you see a moment before the next are no longer reflecting the same wavelength of light. But you normally still see the same rainbow. It must then be the case that that rainbow was already there, waiting to be seen by some ponderer.  Of course, none of this explains the arch shape. I suspect it can be explained mathematically. But I don't know any of the formulas. That isn't to say that you shouldn't put a good formula in your explanation if it helps. I am knowledgeable in mathematics up to linear algebra. My dad is not on the other hand (I don't think he can even do algebra 1). Soooo yeah...  Anyways, enough of my mumbling. Why is it the shape that it is?


Infinite nilpotent group, any normal subgroup intersects the center nontrivially

Having problems with the following statement:     If $N$ is a nontrivial normal subgroup of a nilpotent group $G$ then $N \cap Z(G) \neq \langle e \rangle$   Here $Z(G)$ denotes the center of $G$.   I've solved the finite case, where I reduced the problem to proving that a p-$group$ has this property. The infinite case resists my attempts though.   Since $G$ is nilpotent, the ascending central series ends with $G$ itself: $\langle e\rangle \subseteq Z_1(G) \subseteq \ldots \subseteq Z_n(G) = G$ where $Z_1(G) = Z(G)$. Since $N \subseteq G$, there must be a smallest $i$ such that $N \cap Z_i(G) \neq \langle e \rangle$. I would like to show that $i = 1$ in this case, or perhaps just show that $N \cap Z_i(G)$ commutes with elements of $G$. Could somebody give me a tip in the right direction?


Strategy for managing tagging? - Folksonomy or controlled vocabulary?

I've noticed that as SO has got bigger, some guidelines have introduced for tagging, taking it from a completely uncontrolled 'folksonomy' and moving it towards a controlled vocabulary.  Is there a plan for managing the tags as they grow?  Failing that, what strategies should be considered?  In a bid for an informed discussion, I've attached a good (free) book on controlled vocabularies. Other resources on tagging for very large collections like SO, would be appreciated and upvoted!    to NKOS-L Just to let you know that Patricia Harpring,s book, "Introduction to Controlled Vocabularies, Terminology for Art, Architecture, and Other Cultural Works" is now available on the Web at .  Each chapter is available as HTML and also as a printer-friendly PDF.


move (copy) IMAPMessage to another folder on the mail server

My application is checking the patterns of the subjects of the mails on the Inbox server folder and if some pattern is found, we should move the email (com.sun.mail.imap.IMAPMessage) to another folder - called 'test' for example (copy will do the job also).  I searched on the Internet for the solution but I could not find anything helpful.  Can you tell me how can I move / copy IMAPMessage from inbox to another folder on server?  Thank you


In using ubuntu 18.10 now (i used windows 10 before) but I want to change to windows 10(no dual boot).  I created bootable USB, put USB to pc, open bios settings, choosing USB, but it is not working. I can't boot. When I select USB I just see a black screen and nothing. I want to use windows 10 but I'm stuck in ubuntu. Can you help me?  Maybe the problem is nfts, legacy, ufeı settings I don't know.


There are several questions here on meta about "How to guide new users" and in particular "How to educate new users about accepting answers" (see , , , ). A common approach seems to be to comment on the post, pointing to the FAQ or proposing a certain action.  While these , they do not directly contribute to the post itself and therefore could also be considered . An alternative to comments is to have the system itself guide new users (see for example  and ).  Before engaging into the comments-vs-system-reminders discussion, we first need to get a canonical answer on this question:    How does the system currently guide (or prod) new users to participate in using the features of the system?


When writing a bash script, how do I get the absolute path of the location of the current file?

Suppose I have a bash file called myBash.bash. It resides in:    /myDirect/myFolder/myBash.bash   Now I want to use the string /myDirect/myFolder (the location of myBash.bash) inside the script. Is there a command I can use to find this location?  Edit: The idea is that I want to set-up a zip-folder with code that can be started by a bash script inside that zip-file. I know the relative file-paths of the code inside that zip-file, but not the absolute paths, and I need those. One way would be to hard-code in the path, or require the path of the file to be given as a variable. However I would find it easier if it was possible for the bash-file to figure out where it is on its own and then create the relevant paths to the other file from its knowledge of the structure of the zip-file.


Crossing UK border control while transiting through London Heathrow Airport

I know, I need to pass through UK border control if my transit time is before mid-night next day of my arrival and do not need visa as I have a valid permit to stay and live in Canada (source: ). On my return to Canada through Heathrow, I have a connecting flight from Terminal 2, next day after 18 hours of my arrival at Terminal 4. My confusion is where shall I pass through the border control, at the arrival terminal (T4) or departure terminal (T2). Can I just walk toward border control, or I needed to be told about that?  Please help to reply.  This question is not about weather or not I need transit visa, I want to know at which terminal, arrival or departure, do I need to do my immigration stuff. I am sure, I wont get my borading pass from Heathrow to Canada at my point of origin (issuing boarding pass 24 hours before the flight is not possible).


Can I locate tables based on a column value?

I am working without documentation we have a dental system that displays the status of an appointment.  I have to report on who scheduled the appt. and who confirmed. The systems displays this as 'FIRM' and 'FIXED. I have located how they store the person who scheduled the appt. but not who has confirmed it.  But since they use 'FIRM" is there a way I can locate which tables have this value? we are running sql server 2008.


In an ideal voltmeter there is infinite resistance so because of which no current is flowing through it and the voltage reading is not affected.  The ohm's law stated that      V = I * R   In an ideal voltmeter I = 0 so V = 0 but the voltmeter does show some reading which defies the ohm's law. Please tell me how is this possible.


calling both base() and this() constructors

I've looked and didn't quite find similar to what I'm dealing with.  Hopefully a solution, or offer for better implementation.  I have a class that may be passed with an optional parameter that is preserved to the instance created.  I then have a derived class with similar optional parameter, but in its non-parameter constructor does other preparation stuff regardless of the optional parameter.  What would be the correct way to have it call the base-class parameter constructor, yet still do the non-parameter constructor of the derived.  public class MyBaseClass {    protected object preserveParm;    protected int someValue;     public MyBaseClass()    {       someValue = 1;    }     public MyBaseClass( object SomeParm ) : this()    {       preserveParm = SomeParm;    } }  public class DerivedClass : MyBaseClass {    private int customSecondaryProp;    private DateTime when;     public DerivedClass()    {       customSecondaryProp = 10;       someValue = 5;    }     public DerivedClass( object SomeParm ) : base( SomeParm )    {       when = DateTime.Now;    } }   So, if I do a   DerivedClass test = new DerivedClass( "testing" );   I need it to hit the base class to preserve the parameter, yet ALSO hit the derived class's non-parameter to set the sample bogus values.  As it stands now, the Derived parameter method is hit, which then hits the base class's parameter constructor which calls the "this()" of the base class, and returns up the chain to the DerivedClass parameter constructor, finishes itself, but never hits the DerivedClass constructor.  Is there a way to force both the baseclass parameterless AND the DerivedClass parameterless constructor?


Why the reference String str1 = str + "test " is different from String str3 = "checktest"

why str1==str2 is returning false while str2 == str3 returns true in below code? As per my understanding, str1==str2 should also return true.  public static void main(String[] args) throws Exception {         String str = "me";         String str1 = str + "test";         String str2 = "metest";         String str3 = "me" + "test";         System.out.println(str1==str2); // O/P false         System.out.println(str2==str3); // O/P true      }


What is the function of "do" in the following sentence?

Only by being forced to defend an idea against the doubts and contrasting views of others does one really discover the value of that idea.   What is the function of "does" in that sentence?


Is it possible for methods to have dual access modifiers?

I have many methods that are defined internal like so:  internal static string GetAJobShaNaNaNaShaNaNaNaNaNa(string Silhouettes)   However, in order to call them from a test project added to the solution, I need to change their access modifier from internal to public.  Is there a non-tedious way to make these methods public to the tests, yet remain internal otherwise?


If  is a  which bends spacetime and  is energy which stretches spacetime, what is the difference between the terms force and energy?


Flash video appears malformed. How do I fix this?

I wiped my computer a while ago and I re installed a new version of Ubuntu, I believe I was on 11.10 now 12.04. Downloaded the Flash player as usual from the Software Center.    This is what I get when I try to go to a Youtube video (The size of the screen cap is how large the video should be.) When I encountered this, I looked through and found the extra Flash add on that Firefox said it needed being Gnash SWF Viewer, that was a waist, no change.  Downloaded Chromium, same thing happened. Re-installed the Flash player, nothing. I'm stumped frankly, can't find anything around with an answer for this so far, maybe I'm looking for it in a wrong way?


Why can't adamantium cut through vibranium?

In Avengers vs. X-Men #3, Wolverine's claws meet up with Captain America's shield.    It's always been my understanding that Wolverine's adamantium claws can cut through anything, but also Captain America's shield is made of vibranium, which absorbs vibrations. So why did Wolverine's claws not cut through vibranium?


What is this black line in my rendered donut?

What is this black line in my rendered view?  Also, I think there's a problem in my 3d view. There are also some lines in my object I can't explain.  I have tried to change the scale and modifiers, but nothing works.


Minimum sample size for kernel density estimation

I was wondering if there is any recommendation for a "decent" minimum sample size when estimating the density/distribution/quantiles of a random variable using KDE. Is it always the case that "the more data the better"?


How can I create a zip archive of a whole directory via terminal without hidden files?

I have a project with lots of hidden folders / files in it. I want to create a zip-archive of it, but in the archive shouldn't be  any hidden folders / files. If files in a hidden folder are not hidden, they should also not be included.  I know that I can create a zip archive of a directory like this:  zip -r zipfile.zip directory   I also know that I can exclude files with the -x option, so I thought this might work:  zip -r zipfile.zip directory -x .*   It didn't work. All hidden directories were still in the zip-file.


Mid-late 70's movie showing scientists exiting a control room after completing their task into a desert/badlands area

My father was a regular sci-fi genre movie viewer, and I have an unclosed thread in my past that has been haunting me over my years.  I woke up as a child to see the following events unfolding on screen:  scientists, who I believe were in white coats (and presumably about three of them), in a control room (which may have been in a room carved out of rock) utilizing their time or dimensional control machine. an exterior view window that looked out upon a desert or badlands panorama. same scientists, noting success that their journey/experiment had completed successfully, appear to show smiles of satisfaction. scientists exit the room and proceed into the badlands, viewable from the control room, and are visible walking into the environment as the credits begin to roll.


SQL syntax highlighting bug in StackOverflow

StackOverflow engine treats backslash character \ as an escape symbol for string literals. But backslash is NOT an escape symbol in SQL. So, simple statement select '\' from dual produces incorrect syntax highlighting.    Please fix the problem.


Does Tex, LaTeX support 'Tetration' & 'super square root' notations?

I would like to ask how can I use Tetration notations in this page    in TeX, LaTeX  It seems to me it does not support Tetration symbols??


How to convert a hex string into a byte array for C style and C#

I'm trying to convert a hex string into a byte array to test a SHA2-224 using the test vector from NIST. See: h**ps://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA2_Additional.pdf  The code appears to be correct when testing a string using (Encoding.UTF8.GetBytes) and even correct when testing a hex byte using (StringToByteArrayFastest) to convert. However, when I use the C style hex (0xe5e09924) the results are not as expected. It's only when I removed the 0x (e5e09924) and convert the hex to a byte array that I receive the expected results.          public static string ComputeSha224Test1(string strHex)     {         // WORKS         // #2) 4 bytes 0xe5e09924         // fd19e746 90d29146 7ce59f07 7df31163 8f1c3a46 e510d0e4 9a67062d         //         Sha224Digest hash224Test = new Sha224Digest();         // Convert to hex byte to test NIST vector         byte[] byte3 = StringToByteArrayFastest(strHex);         // Encode string for hashing         //byte[] byte3 = Encoding.UTF8.GetBytes(strHex);         hash224Test.BlockUpdate(byte3, 0, byte3.Length);         byte[] result = new byte[hash224Test.GetDigestSize()];         hash224Test.DoFinal(result, 0);         String Hash = BitConverter.ToString(result).Replace("-", "").ToUpper();         return Hash;         //     }   Is there any way to convert a C style hex into a C# style hex?  I got the (StringToByteArrayFastest) code from () and I'm using Visual Studio 2015.  Thank you.


How can I prove that all prime numbers have irrational square roots?  My work so far: suppose that a prime p = a*a then p is divisible by a. Contradiction. Did I begin correctly? How to continue?


Identical creatures entering the battlefield

If I have two cards called  in hand and I play my first, Sin Collector (A). I use its triggered ability.   "When Sin Collector enters the battlefield, target opponent reveals his or her hand. You choose an instant or sorcery card from it and exile that card."  Now, I play Sin Collector (B), I use B's triggered ability.  But now my question. Does Sin Collector (A)'s ability trigger again as well? 'Sin Collector' entered the battlefield again, right?


What method would you go through to find an $n$ such that $\phi(n)=100$?

So, clearly, 101 is a solution.  But $n=125$ is also a solution, so is 250.  How would one come to that solution without knowing these values beforehand?


Efficient computation of determinant of identity minus outer product

Suppose $\hat{x}\in\mathbb{R}^d$ is a normalized vector and $\alpha\in(0, 1)$ a scalar. Is there a way to compute the determinant of the following matrix quickly? $$ I_d - \alpha\hat{x}\hat{x}^\top $$ To me this structure seems to have a lot of structure so I'd expect some trick to do the job.


How do sharks and other fish conserve and gain water in marine environments?

With the osmolarity of the average vertebrate being around 300mOsml, and salt water having an osmolarity of 1000mOsml, why does the water from the shark not leave to the salt water around it?   I presume the scales must act as a barrier to stop water form leaving, but with the blood vessels being exposed to the saline water in the gills, why does water not leave the body?


import random import sys  player_oneN = input("Enter Name for Player One") player_twoN = input("Enter Name for Player Two") player_oneS = 0 player_twoS = 0 if player_oneN == "stop" or "exit":     c = int(input("Press 1 to continue and 0 to quit :"))     if c == 0:         sys.exit() if player_twoN == "stop" or "exit":     c = int(input("Press 1 to continue and 0 to quit :"))     if c == 0:         sys.exit()  whenever I try to run this code the options to exit the program always displays. I only want this option to come available when the user enters exit or stop in the player one and player two input.


I found some articles related to this, but they were not sufficient for me. I want to know how the localhost works and why is it the same on many different machines?   How does the localhost block the access to the website when we use it in the host file to block the website?


Why is the image of $k^+$ dense in the character group?

Let $k$ be a local field, and consider the map $\phi: k^+ \hookrightarrow \widehat {k^+}$ given by $\eta \mapsto \eta X(\cdot)=X(\eta \cdot)$ where $X$ is a non-trivial character.  Tate argues in his thesis that $\phi$ has dense image simply because we have the implication $X(ηξ)=1 ∀η⟹ξ=0$. However, I am not sure how this shows that we can multiply $X$ by some $\eta$ to get arbitrarily close of another given $X'$. For that we would have to show that for any finite collection of compact subsets $B_{1,...n}$ in $k^+$ and open sets $U_{1...n}\subset S^1$ such that $X'(B_i)\subset U_i$ we can find $\eta$ such that $X(\eta B_i) \subset U_i$ as well.


Should I assign dwellers to the storage room?

I've played Fallout Shelter for a while now and normally use dwellers with appropriate SPECIAL stats for each room (Strength in the reactor, Perception in the water supply, etc).  However, I have a question regarding Endurance. The only room which uses this is the storage room. It doesn't produce anything; it has no cooldown; it just does nothing...  Even if I just build and upgrade the warehouse, my stock capacity is increased. Is there any good reason for me to waste my dwellers by assigning them to storage rooms?


How to allow long paths in Windows (longer than 260 characters)

I am using a desktop application that reads/writes folders and files on the local filesystem.  PROBLEM: Some of these files have paths longer than 260 characters, triggering such errors:     PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.   Question: How to make Windows allow long paths? I am using a wide array of Windows versions so I appreciate answers split by versions.  Different from  as that question is only about a missing option.


I'm a first time Linux user. My laptop wasn't connecting to the wifi so I followed the instructions from .  On typing sudo apt-get update after that, I got this error:  E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list E: The list of sources could not be read.   What can I do?


Is it possible to upgrade the old cmd.exe in Windows Server 2012 to the newer one that comes with Windows 10? I like the new one much better because it's easier to paste things into it.


Is there any critical feature present in Nikon 85mm f/1.8G over 50mm 1.8G?

While comparing Nikon 85mm f/1.8G and 50mm 1.8G, I found the former to be quite a bit costlier. The differences, as I find, are obvious ones because of the focal lengths, e.g. angle of view, dimension, weight etc. All those don't apparently justify for the higher price tag. Is there any crucial/must-have feature the former offers which the later doesn't?


I see  but here I am not reporting an issue; I am asking what it's called and what it's for When I edit the tags on a question using the tag editor, sometimes I see a display of large gray bands scrolling from right to left. Once the edit is accepted they disappear. Question: What is the purpose and name of these big gray bands moving left to right when I try to save a tags edit? Details if relevant: It's generally on my old laptop: macOS 10.11.6 and Chrome version 91.0.... (incognito mode)


Gimp won't start: Gtk-Message: Failed to load module "atk-bridge"

All out of a sudden, gimp refuses to start. The following messages are printed at the console:  /snap/gimp/40/bin/desktop-launch: line 23: /home/mike/.config/user-dirs.dirs: Permission denied Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated. gtk-update-icon-cache: Cache file created successfully. gtk-update-icon-cache: Cache file created successfully. gtk-update-icon-cache: Cache file created successfully. Gtk-Message: 20:35:18.485: Failed to load module "atk-bridge" Cannot open display:    Do you have any ideas what could have caused this? Or how to repair it? Gimp used to work on the day it was first installed.   Edit:  This happens on the minimal Ubuntu installation.   Gnome's Calculator app also stopped working all out of a sudden. Looks like one of the most recent updates broke something here.  Thank you.


I am trying to install Oracle JDK in Alpine Linux. I did the following   Downloaded the  from Oracle.com and extracted it to /home/user/jdk/jdk1.8.0_111 folder. Created JAVA_HOME env variable export $JAVA_HOME=/home/user/jdk/jdk1.8.0_111 Updated the PATH env variable  export PATH=$JAVA_HOME/bin:$PATH   When test the installation by java -version I'm getting the following error.  localhost:~# java -version -ash: java: not found   How to resolve this.


What is the opposite of the ending "-cide" (as in "suicide", "pesticide")?

I'm looking for the antonym of -cide (as in suicide, pesticide, etc.). Essentially the ending to words that would mean "to create or embrace".


How to set environment variables at startup in Archlinux

When I'm using the svn client in my bash I have to set first the variable SVN_EDITOR like this:  export SVN_EDITOR=cat   So I thought it'd be easier for my if I set the environment variable at startup. I'm using Archlinux, so I referred to the ArchWiki, but there I found out there are .   Editing ~/.bashrc Editing ~/.config/systemd.user.conf Using systemctl --user set-environment Editing ~/.profile Editing ~/.pam_environment Editing ~/.bash_profile And even some more.   I'm the only user, so I don't care if the variable is set globally or per user.  Of all the ways to do it, what's the best? What's the "new standard"?  I'm using an up-to-date Archlinux with Gnome and budgie desktop.  Thank you very much.  EDIT: As @jasonwryan said, the question is similar to   But I'm also asking for what's the most "correct" way to do this, also I'm not sure if there's any new standard since that question (5 years ago). And for some things, Archlinux is quite special, not sure if there was any specific way to do this in it.


How does a Critical Strike interact with Hunter's Mark?

Would our ranger roll his Hunter's Mark damage twice on a critical hit? I believe our rogue rolls his stealth damage twice on critical strikes so it doesn't seem far-fetched.


How to set "Do Not Check Spelling or Grammar" for a section in Word?

Today I'm trying to copy-paste some code from PyCharm to Word. It works, as PyCharm preformats it as HTML, but it lights up like Christmas lights due to the fact that half of my code doesn't follow spelling rules. Is there any way to mark these sections without using a format, due to the fact that when I try to use a format, it removes the custom HTML formatting and it therefore loses all the relevant syntax highlighting?  Thanks!


What is this icon on the status bar that looks like a cracked egg? (see screenshot)

I'm using Samsung Galaxy Note 5 on Android Marshmallow. I was just wondering what that oval-shaped symbol near the top center was.


How well known were the events of the original “Star Wars” trilogy in the general galaxy? Or was it all about clandestine special operations missions?

Preface: I am aware that there are other threads that discuss the Jedi/Sith aspects of common knowledge in the Star Wars universe such as ,  and . My question is not about knowledge of the Jedi/Sith stuff as much as the “wars” of Star Wars itself. To me it seems as if the general population of the galaxy knows they are oppressed, but are not really aware there is an active war to end that oppression regardless of the “religious” aspect that seems to have started it all.    So the some of the trailers for the new film, Star Wars: The Force Awakens have a key scene where Han Solo states:     It’s true. All of it. The Dark Side. The Jedi. They’re real.   Okay, so I understand how the whole mystical concept of “The Force” might have been lost by the sands of time. But what about the rest of it? Objectively thinking of how the original trilogy was presented it seems everything was secretive or clandestine in many ways:   Star Wars: The mission to recover the Death Star plans from the Rebels was carried out by one Star Destroyer lead by Darth Vader. When the idea the plans were jettisoned to Tatooine in an escape pod, Stormtroopers are sent to the planet, but everything is somewhat secretive. Even the massacre of the Jawas was done in a way to make it seem as if Tusken Raiders (aka: Sand People) carried out the attack. The rest of the film follows the same notes including the attack on Yavin moon that contained the secret rebel base. The Empire Strikes Back: Again, Darth Vader is hunting down Rebels and they are hiding on an ice planet seemingly as far away from everything as possible. The trip to see Yoda on Dagobah was not shared by Luke with anyone, and when Han Solo heads to Bespin, it’s to seek refuge. And heck, even Lando Calrissian brags about how his operation in Cloud City is small enough to not attract the attention of the Empire. So everything that happens there is known only to the parties involved it seems. Return of the Jedi: The rescue of Han Solo from Tatooine is yet another clandestine operation carried out by a small group of friends trying to save the life of a fellow friend. When Jabba dies and his ships are destroyed, who cares and who knows what happened outside of that group? Jabba’s just a huge crime lord and his death would not mean much to other criminals let alone raise an eyebrow by others. Then the whole Death Star II operation on Endor is yet again, a secret operation.   And there we go. It seems that everything that transpires in the the original trilogy are all special operations and “need to know” operations at best carried out by two opposing sides who might be fighting for larger power, but it’s not like—for example—a World War II struggle it seems. It all seems like small scale operations in a lager conflict much like action films such as  or .  So in this context, what exactly did the “wars” in the Star Wars actually mean as far as awareness goes throughout the galaxy? My desire for “canon” extends into  the modern definition of Star Wars canon which means Disney canon as well; no fan-fiction or wild guesses please.  Again, it seems the new series of films will you touch on how “legendary” yet not real these events seem to contemporary residents in the Star Wars universe goes. But is there an canonical material that explicitly states something like, “The war against the Empire was important, yet not directly known by most inhabitants in the galaxy/universe of Star Wars.”  PS: FWIW, this all seems odd to me because to my knowledge—in the context of our own conflicts on Earth—even in pre-Internet/pre-modern communication times, wars and conflicts were known or conveyed in some way to even the most menial people in society. You talk to someone about the Crusades, the Civil War or even World War I nowadays people at least know that some kind of war happened even if they do not know any specifics of the conflict. But in the Star Wars universe, average citizens seem fairly clueless despite having apparently better technology and communication methods.


Can someone explain the difference in these two lists? Python - Adjacency Matrix

Below, in my adjacency matrix method I've created 2 arrays that produce the same results, but when changing values within the arrays I get 2 different results. The one labeled "array_matrixx" was my initial attempt, but altering values within a nested list would not just change one of the list, but would in fact change all of the nested list. On the other hand, the array labeled "array_matrix" uses a different approach to filling the array with zero's, and yields the correct result of changing the indices within the correct nested lists. Why would this occur if prior to the for loop, they are identical? I've listed all of the code needed to run the two lists to make comparisons. Just comment one or the other out. class Node(object):     def __init__(self, value):         self.value = value         self.edges = []  class Edge(object):     def __init__(self, value, node_from, node_to):         self.value = value         self.node_from = node_from         self.node_to = node_to  class Graph(object):     def __init__(self, nodes=[], edges=[]):         self.nodes = nodes         self.edges = edges      def insert_node(self, new_node_val):         new_node = Node(new_node_val)         self.nodes.append(new_node)              def insert_edge(self, new_edge_val, node_from_val, node_to_val):         from_found = None         to_found = None         for node in self.nodes:             if node_from_val == node.value:                 from_found = node             if node_to_val == node.value:                 to_found = node         if from_found == None:             from_found = Node(node_from_val)             self.nodes.append(from_found)         if to_found == None:             to_found = Node(node_to_val)             self.nodes.append(to_found)         new_edge = Edge(new_edge_val, from_found, to_found)         from_found.edges.append(new_edge)         to_found.edges.append(new_edge)         self.edges.append(new_edge)          def get_adjacency_matrix(self):         max_index = self.find_max_index()         adjacency_matrixx = [([0] * (max_index + 1))] * (max_index + 1)         print(adjacency_matrixx)         adjacency_matrix = [[0 for i in range(max_index + 1)] for j in range(max_index + 1)]         print(adjacency_matrix)         for edge_object in self.edges:             adjacency_matrix[edge_object.node_from.value][edge_object.node_to.value] = edge_object.value         return adjacency_matrix                   def find_max_index(self):         max_index = -1         if len(self.nodes):             for node in self.nodes:                 if node.value > max_index:                     max_index = node.value         return max_index  graph = Graph() graph.insert_edge(100, 1, 2) graph.insert_edge(101, 1, 3) graph.insert_edge(102, 1, 4) graph.insert_edge(103, 3, 4)  # Should be [[0, 0, 0, 0, 0], [0, 0, 100, 101, 102], [0, 0, 0, 0, 0], [0, 0, 0, 0, 103], [0, 0, 0, 0, 0]] print(graph.get_adjacency_matrix())


Delete Ubuntu from dual boot Windows 8.1 in GPT disk

I'm using Windows dual booting with Ubuntu.  I have uninstalled, and at that time my disk was formated as MBR. After deleting all partitions of Ubuntu I choose to rebuild the MBR in my disk. That way I was sure not to loose the Windows boot loader.  Now I'm using a GPT disk. I want to delete Ubuntu but I'm scared I will loose my Windows boot loader.


How to make \left, \right pairs of delimiter work over multiple lines?

I have a very long equation that must be separated into two lines, and it has several pairs of nesting \left \right delimiters. Unfortunately, it seems that they need to be on the same line in order for them to work.  Also I'm using the align environment because I need the aligning functionality. Is there a way to have the size of delimiters automatically adjusted over multiple lines?


Do you ever have to do any regular maintenance?

For example, de-fragmenting, disc cleanup, or stuff like that?


Proving a polynomial $f(x)$ composite for infinitely many $x$

Let $f(x)=a_0+a_1x+ \ldots +a_nx^n$ be a polynomial with integer   coefficients, where $a_n>0$ and $n \ge 1$. Prove that $f(x)$ is   composite for infinitely many integers $x$.   I can easily show that there are infinitely many composite numbers of the form $a_0+a_1x+ \ldots +a_nx^n$ if $a_0 \ge 2$, we just note that $f(x)$ is composite for every $x$ being a multiple of $a_0$. But I can't find a way to prove this in the case $a_0=1$.


What is the difference between myObject.someFunc = function(){...}; or myObject.prototype.someFunc = function(){...} in javascript?

Suppose I create an object in javascript.  var myObject = {};   What is the difference between...  myObject.someFunc = function(){...};    and   myObject.prototype.someFunc = function(){...}    in javascript?  I am having trouble understanding the difference or if there is a difference and how and when to use either of these syntaxes.  It seems when I code something like this that there really is no difference.  I am looking for both a client side (browser) and server side (like node.js) answers.  I want to code properly and accurately and this is really bothering me.


How to prove intersection compact problem?

If A and B are compact set, then A∩B is compact set.  How to prove this problem?.  I know compact, but not use to this problem...


Example:  "Baseball still boring"  vs   "Baseball still is boring"  Which one is correct and why?


Should "each" be followed by a singular or plural possessive?

If a possessive noun, which is plural, is preceded by "each", then should it use the singular or plural possessive form?  For example, which of the following is correct?    spend time in each other's presence spend time in each others' presence


Is there any build in Equalizer in Ubuntu 18.04 or a third party program that works with this version best?


How to find occurance of mxprod|nlsoprdc inside multiple file in a directory?

How can I:   Search for a particular pattern in the content of files in a directory and its subdirectory And list the filename if it has particular pattern?


How can I force my browser to search Google in English?

I'm too bored of seeing sites like Google and such show up in my native language, I would rather like them to be in English. Yet, I have to explicitly change the URL to .com and en and that kind of parameters in order for them to show up in English. Can I somehow force this?  So, how is Google configured?  However, it is set to English on the site itself so it has to be my browser:    Then, how does my browser land up on non-english pages, like Google?  It usually shows up in non-English when I'm performing a search, which uses:  {google:baseURL}search?{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:searchFieldtrialParameter}{google:instantFieldTrialGroupParameter}sourceid=chrome&ie={inputEncoding}&q=%s   When performing a search, it fills these variables in with non-english values.  How can I tell my browser to fill these in with the English values?  My Google Chrome options give preference to English:


I'm trying to upload a file using Selenium on Windows 7 using AutoIt following this tutorial .  The web page I'm using is this one  (click on "Choose File" button ...).  Here you are my Java code  package practiceTestCases;  import java.io.IOException;  import java.util.concurrent.TimeUnit;  import org.openqa.selenium.By;  import org.openqa.selenium.WebDriver;  import org.openqa.selenium.firefox.FirefoxDriver;  public class AutoIt_00 {  private static WebDriver driver = null;  public static void main(String[] args) throws IOException, InterruptedException {      driver = new FirefoxDriver();      driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);      driver.get("http://www.toolsqa.com/automation-practice-form");      driver.findElement(By.id("photo")).click();      Runtime.getRuntime().exec("C:/Users/xxx/Desktop/testAutoIt_03.exe");      Thread.sleep(5000);      //driver.close();     }  }   and this is the AutoIt code  #region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000410)  --- WinWaitActive("C:\Users\520\Desktop\testAutoIt_03.au3 - SciTE","") Send("{TAB}") WinWaitActive("C:\Users\520\Desktop\testAutoIt_03.au3 * SciTE","") Send("{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}") WinWaitActive("Caricamento file","") MouseClick("left",242,415,1) Send("{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{UP}{UP}{UP}{ENTER}") #endregion --- Au3Recorder generated code End ---   I've tried to move in the window where select my file using keyboard and not the mouse hoping to semplify my job.  When execute the Java code it works, connect to the web site, open the window for the file choice but after this nothing happens .....   Suggestions?  Thank you very much in advance  Cesare


footnote + bibliography with texmaker(OSX), biber, bib latex

Problems:    footnotes are not filed with info from *.bib instead only the cite key is shown no bibliography shown   I use texmaker on iOS with The MacTeX-2014 Distribution.  quick build: LaTeX + Bib(la)tex + LaTeX (2x) + dvips + ps2pdf + viewpdf As bib file I use the example bib delivered with biblatex    Here my code:  \documentclass[12pt, oneside]{Thesis}  \usepackage[%     backend=biber,%     style=verbose-ibid% ]{biblatex}  \addbibresource{biblatex-examples.bib}  \begin{document}  Lorem ipsum dolor sit amet, consectetur adipiscing elit.\autocite{aristotle:rhetoric}  \printbibliography  \end{document}     What I noticed, that no *.bbl is being created.  I don't know how to fix this am trying for days reading through manuals and stack exchange but I'm stuck here...  Solution to my problem: I changed it "/usr/texbin/biber" to "/usr/texbin/biber" %.bcf in the texmaker preferences


I am making a game which has a playing arena which renders a lot of grid of lines. The lines are colored. Now to have a good effect I thought of giving it the tron like effect of glowing lines. Now after surfing the net I came to know that I could achieve that effect using the bloom effect. Now for that I needed to GLSL in opengl which I have read to some extent but now I want to clear certain doubts of mine.  What is the difference between a shader having ".verg" and ".frag" extension against a ".glsl" shader?  Also given a ".glsl" shader. How can I get the ".verg" and ".frag" shader from it?  Any good tutorial for implementing bloom effect on the edges of a cube or edges of a rectangle?  I am using OpenGL and am programming on Ubuntu. Thanks


How to automatically label using theorem counter?

Someone please help me! I have some custom environments and I want to label them according to theorem counter. Means, that I get a numbering like Def. 1.1, Thm. 1.2 and so on. Right now, I have to enter the numbers for the labels myself and with growing content of my document, this gets messy really quick.  My goal is a modified environment for definition and theorem such that it automatically includes a label with the name of the current environment (definition, theorem, …) the chapter number and the theorem counter. See my example below.  Does anyone have an idea on how to accomplish this or even a code snippet with an implementation? I am very grateful for any help. :)  Best regards, Joe  \documentclass[a4paper,12pt]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath,amsthm,amssymb,amsfonts,hyperref} \theoremstyle{plain} \newtheorem{theorem}{Theorem}[chapter] \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \begin{document} \chapter{A first chapter} \section{Terminology} \begin{definition}\label{defi:1.1} Some first definition. \end{definition} \begin{theorem}\label{theo:1.2} Some theorem. \end{theorem} Definition~\ref{defi:1.1} is important for Theorem~\ref{theo:1.2}! \end{document}


Application of Fatou's Lemma but something simpler is better?

The question Let $(X,\mathcal{A},\mu)$ be a measure space. Let $A_n$ be a sequence of sets in $\mathcal{A}$. Define $A := \{ x \in X $ such that  for all but finitely many $n \in \mathbb{N}$ it holds that $x ∈ A_n$ $ \}$ Show that $\lim_{n\to\infty}\inf \mu (A_n) \geq \mu(A)$ My attempt $ \mu (A_n) = \int_X \chi_{A_n} d\mu$ and so by Fatou's lemma: $\lim_{n\to\infty}\inf \mu (A_n) = \lim_{n\to\infty}\inf \int_X \chi_{ A_n} \geq \int_X \lim_{n\to\infty}\inf \chi_{A_n} d\mu$ Now all I need to show is that $\lim_{n\to\infty}\inf \chi_{A_n}(x)  = \chi_A(x)$ a.e Consider $x\in A$ then eventually $x\in A_n \forall n $ eventually and so $\chi_{A_n}(x) = 1 \forall n $ and so $\lim_{n\to\infty}\inf \chi_{A_n}(x)  = \lim_{n\to\infty} 1 = 1= \chi_A(x)$ Now consider $x\not\in A$ then $\forall N \in \mathbb{N} \exists n >N$ such that $x \not\in A_n$ and so $\inf_{m \geq n} \chi_{A_n}(x) = 0 \forall n$ and hence $\lim_{n\to\infty}\inf \chi_{A_n}(x)  = \lim_{n\to\infty} 0 = 0= \chi_A(x)$ Ando so the required follows. However this feels awfully complicated and I was wondering if anyone has any tips for something simpler


So I get a square matrix $A$ is idempotent when $A^2 = A$.  How can you prove that if $A$ is an $n \times n$ matrix that is idempotent and invertible, then  $A = I$??  I'm quite confused on this.  Any help much appreciated, Thanks.


what is the meaning of the '%' appeared at the end of Unix command output

May I know what does it mean when a '%' appears at the end of the output when I execute my code?   For example:   Hello,World%   Added:   I'm using Mac Os X iTerm2 zsh shell.  My code   echo 'Hello,World' | tr "\n" "\000"   I added the tr command to get rid of the newline at the end.   I'm using vim so I want to get the output without the newline just like if I'm using emacs.  Thank you.


Short story about a crew finding an ancient alien ship filled with tons of artifacts from their society

Read it in an old collection that I can't recall.  Ultimately, a crew of astronauts find an empty alien structure/ship, and it is filled with tons of artifacts from their society.  There is some duplicity among the astronauts. I feel like its a Clarke story, but maybe not?


Make sure Excel application is quit regardless of what happens

I have a c# application that creates a simple excel file. This work fine. I however want to make sure the excel application that is created is closed no matter what happens so I don't get lots of Excel processes running in the background.  Below is some code I'm using. I guess my question is in the Dispose method is there a way to test if the XlApp is still open and if so make sure the application is quitted.  Is it just as simple as the few lines below?   if (XlApp != null)  {      XlApp.Quit();      releaseObject(XlApp);  }   My code example  public class ExcelMain : IDisposable {         public void MadeUpMethod()         {             // do some stuff here             XlApp.Quit();     // worried that if the line is not reached will the excel application be closed         }          public void Dispose()         {             Dispose(true);         }          protected virtual void Dispose(bool disposing)         {             if (disposing)             {                 if (Rng != null) releaseObject(Rng);                 if (XlWorksheet != null) releaseObject(XlWorksheet);                 if (XlSheets != null) releaseObject(XlSheets);                 if (XlWorksheets != null) releaseObject(XlWorksheets);                 if (XlWorkbook != null) releaseObject(XlWorkbook);                 if (ActiveWindow != null) releaseObject(ActiveWindow);                 if (XlApp != null) releaseObject(XlApp);             }         }          private static void releaseObject(object obj)         {             System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);         } }


I knows lots of people have been having problems with this tutorial but I haven't found anyone with the specific problem that I have (I've been looking for a while).  The script I have so far:  import bpy   rows = 5 columns = 5  r = 0 c = 0  for i in range(0, rows*columns):     if c == columns:         r += 1         c = 0      bpy.ops.mesh.primitive_cube_add(location = (r, c, 0))     bpy.context.scene.cursor_location = bpy.context.active_object.location     bpy.context.scene.cursor_location.z -= 1     bpy.ops.object.origin_set(type='ORIGIN_CURSOR')     bpy.ops.object.transform_apply(scale=True)      bpy.context.active_object.scale.x = 0.5     bpy.context.active_object.scale.y = 0.5     bpy.context.active_object.scale.z = 5      bpy.ops.anim.keyframe_insert_menu(type='Scaling')      bpy.context.active_object.animation_data.action.fcurves[0]. lock = True      bpy.context.active_object.animation_data.action.fcurves[1]. lock = True      bpy.context.area.type = 'GRAPH_EDITOR'      step = 100000/ (rows*columns)      bpy.ops.graph.sound_bake(filepath="C:\Users\Stephen\Music\Arcade Blaster - Reboot.wav", low=i*step, high=i*step + step)      bpy.context.active_object.animation_data.action.fcurves[2]. lock = true      c += 1     I don't understand any of the error.  Can someone help solve/explain the error?  Thanks!


I would like to stop a function after a fixed execution time. Here i've written an sample for you:                      Stopwatch timer = new Stopwatch();                     timer.Start();                     while (timer.Elapsed.TotalSeconds < timeLimite)                     {                        //my functions                     }                     timer.Stop();   In my own test, it does not limit  the  execution time inside my functions. In other words, it tests the stopping criterion before and after the execution of my functions but does not interrupt  the algorithm inside "my functions".


I am creating to the user after create table, but not insert the data why? Then display the message NO PRIVILEGES ON TABLESPACE 'USERS'


Story ID - ruthless criminal; legal/illegal citizen ranks

Novel written before 2000.  The story begins on a planet which has been so environmentally damaged that the atmosphere is too toxic to breathe, forcing the population to live in air-tight domes or modules connected by tunnels.  Near the beginning, the protagonist working as a low-ranking gang or mob member. He's assigned to either kill or collect money from someone; when he confronts them, they taunt him about how the floor is electrified, how their body weight is shifted forward so shooting them will cause them to fall against an alarm button, and various other reasons why he can't possibly do anything... they continue right up until they're blown apart by some kind of miniature rocket launched from the protagonist's shoe.     Afterwards, I believe, his superiors in the organisation attempt to kill him because they deem him as "too dangerous", which causes him to retaliate by blowing up one of the passages, suffocating the people who were threatening him. From this point, or shortly after, he begins his own organisation which quickly grows in power until he is virtual ruler of the planet; eventually he cleans up the planet's environment to the point where people can live outside, again. At some point he meets a woman, courts her, but ultimately leaves her abruptly, telling her he swore never to let anyone have power over him, and since he's starting to fall in love with her, she's starting to have too much influence over him.         The society in this universe has ranked legal and illegal citizenships, with either 50 or 100 being the lowest rank, and rank 1 being the highest... after the protagonists becomes a level 1 illegal citizen, he sets his sights on becoming a legal citizen, which requires him to (at least in appearance) divest himself of all his criminal ties and assets, which he does by creating a complex nested structure of ownership between himself and the illegal organisations he controls.         As his influence increases in the legal world, he begins doing business with an alien race who, in order to trust him, give him the chance to let them implant him with some kind of organism that will kill him if he even thinks about betraying them.         Near the end of the story there is a part where someone close to him is trying to figure out why he's amassing so much money and military power, when he's not intending on using it against the human race, and can't use it against the aliens.


It is me who am to blame.    It is I who am to blame.      Which one is correct here? I am bewildered about these two sentences.


Kinetic energy of different phases of water

In a closed flask at zero degrees Celsius, all three forms of water exist. Which form of water will have the maximum average kinetic energy?   The  answer is that all forms of water will have same energy. Why?


Why anova table disappear when we use robust regression

My question is When we run ols regression anova table is given and when we run robust regression then anova table disappear and adjusted r square is also not given why? I want to know the logic behind it and by ANOVA I mean analysis of variance.