Death note states that if there's no other way a person would die due to a heart attack, but what if when you should die via the death note you have no heart? And no, that's not a silly question, there's a machine used for heart tranplant surgery called extracorporeal circulation system that acts as a sort of heart for the person in which the surgery is being performed on while it's done. So, technically speaking if your name where to be written you could not die due to a heart attack, unless that by heart we would also consider that machine, although this is a bit far fetched. Then if you get another heart or put yours back you have avoided the death note effect, and at this point it has failed to its own rules. From this point I'm not sure what would happen.  I don't think something like that was covered either in the anime or the manga, although I think it would have been an interesting concept to explore, as they could have experimented with that if they wished, but maybe the author explained how things would be like in a case like this one in an interview.  Is there any official explanation or any thing I missed that would give an answer to my question?  Thanks.

What would happen if a person wasn't able to die of a heart attack since they use a pacemaker or are connected to medical equipment that pumps blood for them?  This can create some sub-questions, if people couldn't die of a heart attack such as:   What would happen if the cause of death specified was impossible, so the person had to die of a heart attack? What would happen if no cause of death was specified?


It is an open problem (still open) published on a Chinese mathematics magazine, but i am asking this just because i can not figure it out. I wonder if someone can help? I won't use any answers here to contact the editorial office of the magazine.. And here is the problem: Problem. (Provider: Jiaqiang MEI, NJU) Suppose $f $ be a continuous function over $\mathbb{R}$, and if for each $x\in \mathbb{R}$ $$ \lim_{h\rightarrow 0} \frac{1}{h^3} \int_{-h}^{h} f(x+t)t\ dt =0. $$ Prove that $f$ is constant. Any help is welcomed!

Let $f(x)$ be a continuous function on $\mathbb{R}$, such that for any real number $x$ we have: $$\lim_{h\to 0}\dfrac{1}{h^3}\int_{-h}^{h}f(x+t)\cdot t\,dt=0.$$ Show that $f(x)$ is a constant function. Maybe we can use the following lemma? Lemma. If $g$ is a continuous function, then $$\lim_{h\to0}\frac{1}{2\,h}\int_{x-h}^{x+h}g(s)\,ds=g(x).$$ Proof. We may assume $h>0$. $$ \left|g(x)-\frac{1}{2\,h}\int_{x-h}^{x+h}g(s)\,ds\right|=\frac{1}{2\,h}\left|\int_{x-h}^{x+h}(g(x)-g(s))\,ds\right|\le\frac{1}{2\,h}\int_{x-h}^{x+h}\left|g(x)-g(s)\right|\,ds.$$ Use that $g$ is continuous at $x$ to show that the last expression converges to $0$ as $h\to0$.


I'm trying to find the title of an anime I saw when I was really young. Most likely pre-90's but definitely before 1995. I only vaguely remember some details. It follows a girl who journeys to find her brother. Her brother works for the villain, or has been corrupted by him or something (like a Vader/Palpatine thing).   There's like a city or fortress she travels to looking for him. She has some companions, but I don't remember any details about them or her appearance. I remember one particular scene where they're in the city/fortress, the sky is dark and I don't think the city/fortress was manned. They hear a noise and they duck and hide and then some kind of rolling patrol vehicle/robot (like it drove on wheels, not the whole thing rolled) whips around a corner and zooms by. Here's the weird thing that I'm not sure I remember correctly, I'm pretty sure the vehicle/robot was like dragon- or dinosaur-shaped.  Eventually they encounter the brother. The only thing I maybe remember about him was that he wore like a dark cloak or cape. Possibly a hat or mask.  I think the brother ends up betraying the villain and saving his sister from him.

In the late 80s or early 90s I remember watching an animated series that followed a young unicorn and a demon.   In one episode the unicorn gave the demon his horn, and the unicorn almost died.   In another episode there was a man who was able to turn people into human shaped building blocks and built a huge tower from them.   Those are the two scenes I remember with any clarity.   Does anyone have any idea?


If you root your android device, and then factory restore it... does it remain rooted?

I rooted my Dream/G1 last night and finally gave up on modding it (not for good mind you, but for the moment) and opted instead to just restore it to factory settings via Settings > SD card & phone storage > Factory data reset, which did solve all the problems I was having with multitasking (and not being able to answer it, etc.)  Curiously, I still seem to have root on the phone, despite having reset it. I'd love to understand how that is possible! Superuser Permissions is the only non-stock app still on the phone, and I'm still able to use su to gain root privileges from adb shell. Is this because BusyBox installs to my SD Card?  My phone works just fine, so this is hardly critical, but the whole exercise was/is about knowing my phone better and this is most def. a mystery. Thanks!


For example, if I google one organization, the search result shows this:    I want to do the same for my organization. We already have website, social media, etc. But how to add this info in Google Search?

Does anyone know how to get your business map location displayed in the right hand sidebar of the Google search results page? As in the screenshot below:      I already added my business to this link: .  Is adding detail in above link enough or do I need to change my website coding?


For example, if I had something like $9^{1\over 2}$, how should I determine how many times I should use the base (the number being raised to the power of the exponent) as a factor?  I just need something specific and readable.  Should I use a root symbol or something?  I'm asking this because I'm thinking it might be the opposite of a normal power.

Why is ${x^{\frac{1}{2}}}$ the same as $\sqrt x $?   I'm currently studying indices/exponents, and this is a law that I was told to accept without much proof or explanation, could someone explain the reasoning behind this.  Thank you.


Selected Files/folders:  I don't know who these files belong to, but I'm afraid deleting them might cause something to break. How do I hide these files and folders so that they do not appear in Nautilus, but they are accessible by Windows, if they belong to it.  I have seen some guides where each file and folder to be hidden is prepended by a period (.), but that would change the file name, which may or may not break something.

The OCD in me wants directories I do not like the name of to be hidden since I do not interact with them directly.  How can I hide directories without using the dot notation?


This code create the table printed below:  \documentclass[a4paper,11pt]{article}  \usepackage{array} \usepackage{booktabs} \usepackage{tabularx}  \begin{document}  % outline different types table \begin{table}   \centering   \footnotesize   \begin{tabularx}{\linewidth}{lXl}     \toprule     Type & Example & Reference \\     \midrule     Habitat & Three tree-climbing species used different parts of trees & \textcite{LaraEtAl2015} \\     Diet & Three species of dabbling ducks \textit{Anas} foraged on seeds of different size and mass & \textcite{BrochetEtAl2012} \\     Temporal & Different species of \textit{Gyps} vulture visited carcasses at different times of day & \textcite{Kendall2014} \\     Spatial & Different species of \textit{Sterna} tern foraged in different parts of the sea & \textcite{RobertsonEtAl2014} \\     Acoustic & A large community of vocalising rainforest species partitioned the sound environment & \textcite{Luther2009} \\     \bottomrule   \end{tabularx}   \caption[Types of niche partitioning]{Different types of niche partitioning with examples. Note that these types of niche partitioning are not mutually exclusive. For example, two species could partition habitat, which might be a consequence of partitioning diet.}.   \label{table_niche_partitioning} \end{table} %%nichepartitioning  \end{document}   ]  When a line spills over onto the next line, how can I have the line indented, like this:  ]

I am using longtable and I cannot find a way to adjust its column spacing. I want a table like this:    But I am getting this:    This is what I am doing for defining table size:   \begin{longtable}{p{.1\textwidth} p{.2\textwidth} p{.2\textwidth}p{.3\textwidth}}     xxxxx & xxxxx & xxx & xxxxx\\     \end{longtable}


What is the difference?     To try doing something   Try to do something     I found that try + infinitive means: make an effort to achieve something while  try + -ing means: do something as an experiment to solve a problem.     Why don't you try holding your breath for a minute or two?   Why don't you try to hold your breath for a minute or two?    The answer key indicates that the meanings of these two sentences are different. How are they different?

Are both try to save the file and try saving the file grammatically correct? If so, is there any difference in meaning?


Last night a window popped up on my version 13.10 desktop asking if I want to upgrade to 14.04.  I said yes, since you should keep software up to date and such.  The install went smoothly, but now it boots fine, gives me the user list, and boots to a blank desktop no matter what user I select.  There is no response to left or right clicking.  Pressing <ctrl><alt><F1> gives me a prompt:     Ubuntu 14.04 LTS Media tty1      Media Login:   There are a bunch of entries that talk about using <ctrl><alt><F1> to get a terminal prompt.  I can not get to a prompt.  <ctrl><alt><T> does nothing.  I really do not want to go to the trouble of re-copying all my media files, and re-installing and re-configuring Plex.    Is there any way to fix this?  If not, is there a way to revert to 13.10 or re-install 14.04 without destroying all my data and configuration?

When I login, nothing happens.   I am presented with my desktop wallpaper.    No Dash, no Launcher, nothing.


The following method not returning any value (true or false).  \Drupal::service('path.matcher')->isFrontPage();   How to check if the page is front or not?

Im trying to show content when I'm on the front page of my Drupal 8 test website, but the content shows on every page:  {% if front_page %}        {% if logo %}                            {% endif %}
TESTTESTTESTESTAET

test</h1      {{ page.header }}    {% endif %}   Why doesn't this work and how can I make this work?


I want to install central air conditioning in my home but my current service is 100 amps. If I were to upgrade to 200 amps service, could the breakers be configured where I have two 100 amp main breakers, one will be the already existing breaker box servicing the house as usual, and the other would be just for the central air conditioning. Is this possible to configure like this?

I want to install central air conditioning in my home but my current service is 100 A, I believe. If I were to upgrade to the 200 Amp service, could the breakers be configured where I have two 100 Amp main breakers? One will be the already existing breaker box servicing the house as usual, and the other would be just for the central air conditioning. Is this possible to configure like this?


Suppose that $\sum_{k=1}^{\infty}a_k$ is nonabsolutely convergent. Then does  $$ \sum_{k=1}^{\infty}a_k = a_2+a_1+a_4+a_3...? $$  I'm not sure how to determine whether this rearrangement changes the value of the sum. Would it depend on the fact that the original series does not converge absolutety? How would I prove this?

Is the computation $$\sum_{k=1}^{\infty}a_k = a_2+a_1+a_4+a_3...$$ valid?   I think that it is a valid rearrangment because the permutation function is bijective, and the computation is valid if the original series is unconditionally convergent. Is my thinking correct?


I have a weird problem with Windows 7. It started about 14 months ago. I had 10 GB free space on C on maximum 146 GB. D was okay. Tomorrow, 8 GB free! Next day, 6 GB free until 250 KB free. I cleaned up space somehow and got 3 GB free. Now everyday I have lower and lower free memory. I disabled Windows Update. I think do games write on the disk. I play only LOTR: The Return Of the King. Antivirus is Bitdefender the latest, installed a few days ago. How can I stop filling my hard disk? Programs Files on C is 20 GB but on D 40 GB. I think Windows is filling my HDD with cache and other junk files. How to resolve this?

Possible Duplicates:             does anyone know a free software that will graph the directories on my hard drive and sort them in order of largest size?  or provide me a solution for me to quickly determine what drives/ files are consuming my hard drive space?


how to replicate this type of scratch card effect in Unity3D considering its for mobile.    Two cases 1. Clear part of screen where user touches. 2. How to trigger rewards after certain amount of image get reveal?

I want to create a scratch-card-like effect in new Unity UI's new Image tag.  I know it's possible with setPixels, but that's prohibitively expensive on mobile devices.  Something like this:    I'd like the user to be able to drag on any part of the image to "scratch off" the top layer and reveal the content underneath it.  How can I do this?


I am writing a script which takes a directory name from user, then find files inside it. The script may fail if the user use some special characters with their directory name.  $ var="-foobar"; $ find "$var"; find: unknown predicate `-foobar'   For a lot of commands, it is easy to avoid the problem by giving -- to indicate that it is an end of options. But it does not with with find:  $ find -- "$var"; find: unknown predicate `-foobar'   What should I do to handle directory with unpredictable characters?

How do you remove a file whose filename begins with a dash (hyphen or minus) -?  I'm ssh'd into a remote OSX server and I have this file in my directory:  tohru:~ $ ls -l total 8 -rw-r--r--    1 me  staff  1352 Aug 18 14:33 --help ...   How in the world can I delete --help from a CLI?  This issue is something that I come across in different forms on occasion, these files are easy to create, but hard to get rid of.  I have tried using backslash  rm \-\-help   I have tried quotes  rm "--help"   How do I prevent the minus (dash or hyphen) character to be interpreted as an option?


OS: Lubuntu 16.04  I recently had a problem with login to TTY (1-6). When I press ENTER after the username a newline character seems to repeat every 3 seconds or so.  Halfway through typing the password, a newline occurs and I get Incorrect Login. This continues to repeat a newline every few seconds until I press Ctrl+C.  Has anyone come across this before? It does not happen in a Terminal window or GUI login, only when pressing Ctrl+Alt+F2 to F6.

I upgraded from 16.04 to 18.04. When I press Ctrl+Alt+F3 I get the terminal which prompts for the username. When I type my username and press Enter, it doesn't wait for my password (its as if I pressed Enter without entering anything). Even if I enter something, the text shown in plaintext and then it keeps on saying my password is wrong. After few times, the screen is cleared and it prompts for my username again and the same loop goes on.


As per standard model, particles like electron and quarks are considered as the elementary particles (no further division into simpler particles possible).  Are those particles really elementary or people don't have enough resources (theories, instruments, energy) to break them into simpler particles at present?

When we first discovered the proton and neutron, I'm sure scientists didn't think that it was made up of quark arrangements, but then we figured they could be and experiments proved that they were.  So, what is it about the electron that leads us to believe that it isn't a composite particle? What evidence do we have to suggest that it it isn't?


I wonder how SE reports the "Today's Featured Site" on the right side of its homepage. How does it consider a site as "featured"? is it the site with max number of views? or maybe max number of hot questions? what is it?

I saw the featured site on .  How is the featured site being decided? Is there any formula or is it just an editor's pick? Can a site be repeated even before any site is featured?


How would punctuation be used in a sentence ending with an abbreviation?  Example: I live in the U.S.. Do you live in the U.S.? We all live in the U.S.!

Possible Duplicate:    When a sentence ends with an abbreviation, should there be two periods or one?  Welcome to ACME Inc. We are glad to have you on board. Welcome to ACME Inc.. We are glad to have you on board.  I would assume that only one is appropriate because I've never seen two used (and it looks awful), but if so, does the period "belong" to the end of the sentence or the abbreviation? I ask because I came across this while writing HTML, and the last word needs to be a link, so I wasn't sure if the period belongs within it.  Welcome to  We are glad to have you on board. Welcome to . We are glad to have you on board. Welcome to . We are glad to have you on board.  Usually a link should not include punctuation at the end of the sentence, but should include it as the end of an abbreviation in the middle or beginning of a sentence. Which of these links seem more appropriate? If only one period is used, who "owns" the period: the abbreviation or the sentence?


Assume I have a lot of files like these in a directory:  foo.exe foo.com foo.vbs foo.js foo.msi foo.bat foo.cmd   Now I run foo in Command Prompt in this directory. Which one will be executed? What is the searching order of the extensions of these executable files?

On Windows 10, I have a file called truffle.js in my current folder. I write truffle in the cmd window, expecting to invoke the truffle program which resides elsewhere on my path.  Instead, truffle.js is opened in my favorite IDE (.js files are associated with that IDE). I thought this behavior is only like this for executable files, .bat, .com and .exe. Why does it happen for a .js file?  Note: I subsequently discovered I have no truffle at all installed on my path, but my question remains: why is Windows completing the extension which I did not specify on a non-executable file?  Even after installing truffle and restarting cmd, I can't get the real truffle to run in a folder that contains a file truffle.js.


code is very simple:    <form method="get" action="/category" role="form">
         Category         <input id="categoryName" class="form-control" placeholder="category name" name="categoryName">
     <button type="submit" class="btn btn-default" onclick="return checkInput()">add</button> </form>     Problem is after I click the input, then chrome shows a select list which has input history below it. When I choose one of them and submit, I cannot get the value. I am a new student in web,  anyone can help?  detail is like this picture:

How do you  with Apache Subversion using the TortoiseSVN client?


Currently, I can press the mute button on my keyboard, making my sound turn off. Is it possible to do this through cmd.exe so that I can run it with other things I have in that program?

Is it possible to change the volume in Windows XP via the command line?


I just realized that /usr/bin/poweroff and /usr/bin/shutdown are symbolic link to systemctl, but I don't know how systemctl is being run.  so is there any difference between /usr/bin/poweroff and /usr/bin/shutdown?    EDIT: when I call any of these two programs, systemctl is being executed but I don't know what command/parameter is passed to systemctl.  when I type systemctl --helpthere are two options that may come into play     halt                Shut down and halt the system poweroff             Shut down and power-off the system   but something tells me that both poweroff and shutdown are the same in here (I'm guessing)  I'm running Archlinux

Reading  , I generally have an idea what does the command shutdown does, with or without -h/-r options.      The "halt" command performs power off of the system to run-level 0 of   the system.      The "shutdown" command performs a power off of the system to run-level   1 without -h or -r command.   What about the command "poweroff" does it goes into run-level 0 or 1 ?  Is this the only main difference between these three commands?


i have windows 8.1 currently and i want to switch to Ubuntu especially or any Linux OS would be fine and my computer specs are as below:  Processor:Intel(R)Pentium(R)D CPU 2.66GHz 2.67GHz RAM: 1.25GB System Type: 32bit Operating System, X64 Based Processor   my PC is very old and as i am school student i dont need a PC better than this still i finish my schooling. Please suggest me a Linux OS,  I dont need Linux for gaming purpose but just for my programming place as such.  Thanks

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


I have mysql server running fine on 19.04 disco dingo, but there is no workbench in the repository. Downloading the deb file, and I am hitting a snag installing as the dependency libzip4 can't be met - libzip5 being the libzip version for 19.04. Has anyone installed workbench on 19.04 or have any ideas?

I tried to install MySQL Workbench by:   apt-get install mysql-workbench-community   But I get the following errors and I am unable to install it manually:  Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable Depends: libzip4 (>= 0.10) but it is not installable   How can I install it?


Also, From Wikipedia     When writing polynomials, the coefficients are usually taken to be known and the indeterminates to be unknown, but depending on the problem, all variables may assume either role.   Isn't it is the case that coefficients are constants and not variable? What it is referring towards by 'inderminates'-variable?  Is it related to dependent variable and independent variable?

I was just wondering about the formal definition of equation, I mean in terms of logic and the theory of sets. Suppose for example I wanted to define an equation on $\mathbb{R}$, of course it might be anything instead. I know every number is a set, and also I know that equality of sets has been defined previously. So I often hear people say something like "A linear equation is an object of the form $a_{1}x_{1}+a_{2}x_{2}+ \cdots + a_{n}x_{n}=b$".  But how do you justify the part of "$x_{i}$ is an unknown". Because in that case I would also say that $3(2)+4(5)=0 $ is an equation.


I have a computer with this configuration  Processor: Intel(R) Core(TM)2 CPU 6300@ 1.86GHz  RAM: 2GB Hard disk : 500GB  Please suggest me which ubuntu is working good in my computer i have ubuntu 16.4 with 32bits and 64bits  Please tell me which bit is better for my computer.  Thanks


I have this list:  List = [1, 2, 3]   ...and I want to print out all possible combinations such that the output is like:  [1] [1,2] [1, 2, 3] [2] [2, 3] [3]   So far my code is this:  E=[] i=0 for seq in L[i:]:     E.append(seq)     i += 1     print(E)   Which gives my first 3 outputs. Is there a way for me to loop it so that the index goes up by 1 so I can get my desired output?  Edit; so I basically want to write a code which summarizes this:  List = [1, 2, 3] E = [] F = [] G = []   for seq in List[0:]:     E.append(seq)     print(E)  for seq in List[1:]:     F.append(seq)     print(F)  for seq in List[2:]:     G.append(seq)     print(G)   I pretty much want to know if I can loop the index so that I don't have to create multiple for loops and maybe apply it to a longer list.

I have a list with 15 numbers in, and I need to write some code that produces all 32,768 combinations of those numbers.   I've found  (by Googling) that apparently does what I'm looking for, but I found the code fairly opaque and am wary of using it. Plus I have a feeling there must be a more elegant solution.  The only thing that occurs to me would be to just loop through the decimal integers 1–32768 and convert those to binary, and use the binary representation as a filter to pick out the appropriate numbers.   Does anyone know of a better way? Using map(), maybe?


Can you recommend me a good textbook on group theory? I am interested in particular in tensor representation of a group, e.g. why $ 3 \otimes 3 = 6 \oplus \bar 3$ for $ \rm SU(3) $. Is there any textbook that can explain clearly that?

I am looking for a good source on group theory aimed at physicists. I'd prefer one with a good general introduction to group theory, not just focusing on Lie groups or crystal groups but one that covers "all" the basics, and then, in addition, talks about the specific subjects of group theory relevant to physicists, i.e. also some stuff on representations etc.  Is Wigner's text a good way to start? I guess it's a "classic", but I fear that its notation might be a bit outdated?


I created many fields for content type.Now I don't need these fields anymore.  I deleted the fields from the content type but the fiels data remains in the database.  How can I delete the field and all its related data?

I have a content type with 20 different fields.   Now the project requirement changed and I dont need 15 fields of them. So I removed all those unwanted 15fields from content type.   But the database is still holding all the 15 tables and also the revision table, Why? What happens if I remove it?  I feel like having these many unused tables in database might impact the performance. Will it really have impact on the performance?


I wrote this post instead of a comment:      It doesn't let you comment because you are using a different account now from the one with which you asked the question. Use the contact form to request account merge.   That's the account I started with:   Somehow it forgot all my data and created a new one when I clicked the link in the email?? Your workflow for new users is really messed up, might be worth asking on UX how to improve it.

I accidentally posted a question without being logged in. Is there a way to associate that question with my account?   For more information, visit "" in the .   a.k.a. How can you link a registered account to a cookie-based account? a.k.a. How do I merge an unregistered account with a registered account a.k.a. Merging users a.k.a. How do I associate anonymous questions I’ve asked with my registered account? a.k.a. Is there a way to claim an unregistered user? (in case anyone searches with those terms)


I have installed Ubuntu 16.04 on a drive where I already had Win 7 installed in UEFI mode. Ubuntu installer nicely detected Windows and added it to the GRUB menu. However, when I choose the appropriate option in the menu, Windows doesn't boot showing just a black screen.  Pressing F12 I can get a so-called one-time boot menu, from which I can choose from which device a system should boot. There is a legacy section with all physical drives, and UEFI with two options: windows and Ubuntu. When I select Windows here, it starts normally. Ubuntu starts into GRUB.  How can I fix GRUB to load Windows properly?  Ubuntu was installed from USB formatted as GPT for UEFI.

I followed this  to install Ubuntu as dual-boot with Windows 8.1 pre-installed as(UEFI),but I am not able to dual-boot and tried    I first burned an Ubuntu ISO on a blank DVD-R to create the LiveCD. Even with secure boot disabled, when I tried restarting my computer, it never booted to the installation screen, and it just skipped to Windows.  After a lot of skimming, I thought I had to put my computer in Legacy Mode in order to get give my CD/ROM drive priority. I installed Ubuntu and used my existing EFI partition. Ubuntu works, but Windows doesn't, probably because my laptop is stuck in Legacy Mode. I tried switching back to UEFI using boot-repair on the Linux Terminal, and going into Advanced Properties -> Grub Location -> Ticking the checkbox for EFI, but it says I need to be in an EFI session, and now I'm just really lost and confused at what I've all done. I can see my Windows8.1 OS on a partition but I want to dual-boot Windows 8.1 along with Ubuntu?   Did I just brick my computer?


When I was trying to use the alignment environment in latex to write a function, I found it hard to insert \therefore or \because in the environment and there were a few error notice.`From the equation, we know that:  \documentclass{article}  %Prevent the ff \usepackage{microtype} \DisableLigatures[f]{encoding = *, family = *}  %Make full use of the paper \usepackage[letterpaper, margin=1in]{geometry}  %Necessary for Math Mode \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb}  %For items \usepackage{enumitem}  %Add necessary new command \newcommand{\RR}{\mathbb{R}} \newcommand{\NN}{\mathbb{N}} \newcommand{\QQ}{\mathbb{Q}}  %1.5 space \usepackage{setspace}   \begin{document}   \textbf{Problem 1:}\\\\ \begin{enumerate}[label = (\roman*)] \item From the equation, we know that: \begin{proof} \begin{equation*}[] \begin{aligned}[] (\frac{a_{n+1}}{a_n})^2-1 &= \frac{2+a_n-a_n^2}{a_n^2}\\ {\because} 0<a_n<2\\ {\therefore} \frac{a_{n+1}}{a_n})-1 &>0\\ {\therefore} a_{n+1} > a_n >0 \end{aligned}  \end{equation*} We can know that the sequence is increasing. \end{proof}   \end {document}   There were multiple errors, how may I solve this?

Why blank lines between equation makes error? there are a lot of commands in latex and almost for all of them these blank lines are not important,  but why in this case is important and is there any similar function?


• English verbs can be placed in various classes depending on their   meaning. In other words, they can be classified “semantically.” The   most important of these classes are: event verbs and state verbs.      • Event verbs refer to events—happenings that begin and end at a   definite time. For example, the verb build as it is used in the   sentence Jack built a beautiful house by the beach is an event verb.      • State verbs refer to states—conditions or situations that are seen   as not having any definite beginning or end; they are seen as   permanent, in other words. For example, the verb own as it is used in   the sentence Jack owns a beautiful house by the beach is a state verb.   Why state verbs are seen as not having any definite beginning or end?  Now see this sentence "I am at home" ("to be" is a state verb in this case). And, if you have a good watch, you can pinpoint the precise time you enter your house & the precise time you walk out of your house.  Another example, "I see her! I see her!" ("to see" is a state verb in this case). If you have someone watch your behavior, that person can define the specific time that you start seeing her & the time you stop seeing her.

I think it’s punctual because an attempt in my view is a specific action and not a process, but I’d appreciate your thoughts on it.


Consider the following list of elements.   h = [38, 203, 1, 45, 39, 10, 34, 90, 10, 2, 100, 1]  If make this into an array based heap it will look in the following way.   import heapq  heapq.heapify(h) # now we have a heap that looks like this # [1, 2, 1, 10, 39, 10, 34, 90, 45, 203, 100, 38]   What is the best way of finding out the position of 39 in this heap?  One way of finding out would be to pop items from the heap until it returns 39, that way we know its position if we keep track of the number of times we popped an item from the heap. However, that's not very efficient as we modify the heap itself.  Is there a better way to solve the problem?

Given a list ["foo", "bar", "baz"] and an item in the list "bar", how do I get its index (1) in Python?


Is there somewhere from a Linux guest that will show me if the VM is running on VMWare's hypervisor?   Ideally a method that doesn't require vmware tools to be installed... maybe something in /proc or /sys?

An interesting question.  I have logged into a Linux (most likely SuSE) host.  Is there some way that I can tell programmatically that I am a VM host or not?    Also assume that the vmtools are not installed.


I just can't find the answer I am looking for so I hope you can help me!  I am a bit confused because of the new rules from October 2013.  So we are Australian, and were in Schengen between 23/07/14 and 26/09/14 (66 days) and came back in 27/12/14 and the end of the 180 day period is 18/01/15 (23 days) ... so my question is... do we need to leave schengen for the new 180 day period to begin? And then we would get 90 days within the 180 day period?  We are in France, so thinking we could go to the UK or Andorra for a day (I just found out that Andorra is not Schengen, is this true?!)  Or is it that you can spend a maximum of 90 days in any 180 day period, so we couldn't spend 90 days from 20th january because we spent 23 days already (so could only spend 67 days until we need to leave).

I have searched the web a lot and could not find an answer that fits my situation. Here are two links that are quite contradictory:       My situation:  I've visited Portugal in December 2012 for 29 days on a Schengen visa valid from December 1st, 2012 to February 1st, 2013 for research purposes (I am a Ph.D. student). I want to visit Sweden from February 10th, 2013 to May 10th, 2013 (89 days). I have applied for a Schengen visa again (for research). How will the 90/180 rule work in my situation?


I am writing a Python (Python 3.3) program to send some data to a webpage using POST method.  Mostly for debugging process I am getting the page result and displaying it on the screen using print() function.  The code is like this:  conn.request("POST", resource, params, headers) response = conn.getresponse() print(response.status, response.reason) data = response.read() print(data.decode('utf-8'));   the HTTPResponse .read() method returns a bytes element encoding the page (which is a well formated UTF-8 document)  It seemed okay until I stopped using IDLE GUI for Windows and used the Windows console instead.  The returned page has a U+2014 character (em-dash) which the print function translates well in the Windows GUI (I presume Code Page 1252) but does not in the Windows Console (Code Page 850).  Given the strict default behavior I get the following error:  UnicodeEncodeError: 'charmap' codec can't encode character '\u2014' in position 10248: character maps to <undefined>   I could fix it using this quite ugly code:  print(data.decode('utf-8').encode('cp850','replace').decode('cp850'))   Now it replace the offending character "—" with a ?.  Not the ideal case (a hyphen should be a better replacement) but good enough for my purpose.  There are several things I do not like from my solution.   The code is ugly with all that decoding, encoding, and decoding. It solves the problem for just this case.  If I port the program for a system using some other encoding (latin-1, cp437, back to cp1252, etc.) it should recognize the target encoding.  It does not.  (for instance, when using again the IDLE GUI, the emdash is also lost, which didn't happen before) It would be nicer if the emdash translated to a hyphen instead of a interrogation bang.   The problem is not the emdash (I can think of several ways to solve that particularly problem) but I need to write robust code.  I am feeding the page with data from a database and that data can come back.  I can anticipate many other conflicting cases: an 'Á' U+00c1 (which is possible in my database) could translate into CP-850 (DOS/Windows Console encodign for Western European Languages) but not into CP-437 (encoding for US English, which is default in many Windows instalations).  So, the question:  Is there a nicer solution that makes my code agnostic from the output interface encoding?

When I try to print a Unicode string in a Windows console, I get an error . UnicodeEncodeError: 'charmap' codec can't encode character .... I assume this is because the Windows console does not accept Unicode-only characters. What's the best way around this? Is there any way I can make Python automatically print a ? instead of failing in this situation? Edit:  I'm using Python 2.5.  Note: @LasseV.Karlsen answer with the checkmark is sort of outdated (from 2008). Please use the solutions/answers/suggestions below with care!!  is more relevant as of today (6 Jan 2016).


Edited  I made a curve path in the shape of wire hanging from two support beams, in a scene I'm creating. I want to incorporate wind simulations to affect the wires so that they sway to the side/in the direction of the wind. How would I go about doing? I've im not sure whether to use rigid body or soft body as I'm kinda new to this sort of thing. Any help appreciated, please!  Using Blender 2.82  I was linked this post    Although useful I still need help with making created wires get influenced by wind physics :)

So I've created a "noodle" with a path and a bezier Circle that has soft body so that when I click play it will drop and flop about.    What I'm trying to do is have one of the cubes stationary while the other moves around having the noodle between them stretch and move around like its a cable.   Any tips on this?


So, I used to be around level 40 on Skyrim and I haven't played the game in ages but now i've started to play it again, and when I played it, it took me back to Level 18. I went onto 'LOAD GAME' and all my progress had been deleted. If there a way to recover them so I can get back to playing at level 40?

I have got really far in my second profile in Skyrim, level 41. It took a long time to get back to that level, because I had got a game-breaking bug on my last profile and I erased it by accident as well as my other messed up profile.  Is there anyway to get my saved data back on the Xbox 360? If there isn't, I will not play Skyrim again for a very long time and I have no other option. Please help.


I wonder what is the reason for wave function in quantum mechanics to have an imaginary part... How do we interpret the utility of the imaginary part?! As we know the wave function it self does not have any physical meaning but why should it have an imaginary part as well?

1.  Why is the wave function complex? I've collected some layman explanations but they are incomplete and unsatisfactory. However in the book by Merzbacher in the initial few pages he provides an explanation that I need some help with: that the de Broglie wavelength and the wavelength of an elastic wave do not show similar properties under a Galilean transformation. He basically says that both are equivalent under a gauge transform and also, separately by Lorentz transforms. This, accompanied with the observation that $\psi$ is not observable, so there is no "reason for it being real". Can someone give me an intuitive prelude by what is a gauge transform and why does it give the same result as a Lorentz tranformation in a non-relativistic setting? And eventually how in this "grand scheme" the complex nature of the wave function becomes evident.. in a way that a dummy like me can understand.  2.   A wavefunction can be thought of as a scalar field (has a scalar value in every point ($r,t$) given by $\psi:\mathbb{R^3}\times \mathbb{R}\rightarrow \mathbb{C}$ and also as a ray in Hilbert space (a vector). How are these two perspectives the same (this is possibly something elementary that I am missing out, or getting confused by definitions and terminology, if that is the case I am desperate for help ;)   3.   One way I have thought about the above question is that the wave function can be equivalently written in $\psi:\mathbb{R^3}\times \mathbb{R}\rightarrow \mathbb{R}^2 $ i.e, Since a wave function is complex, the Schroedinger equation could in principle be written equivalently as coupled differential equations in two real functions which staisfy the Cauchy-Riemann conditions. ie, if $$\psi(x,t) = u(x,t) + i v(x,t)$$ and $u_x=v_t$ ; $u_t = -v_x$ and we get $$\hbar \partial_t u  = -\frac{\hbar^2}{2m} \partial_x^2v + V v$$ $$\hbar \partial_t v  = \frac{\hbar^2}{2m} \partial_x^2u - V u$$ (..in 1-D) If this is correct what are the interpretations of the $u,v$.. and why isn't it useful. (I am assuming that physical problems always have an analytic $\psi(r,t)$).


My knowledge about Expectation Maximization (EM) is limited, from my understanding, EM is just an algorithm to do optimization. It works well when we have some hidden / latent variables, such as Hidden Markov model or Mixture of Gaussians.  On the other hand, I learned many other continuous optimization algorithms such as gradient decent, newton's method, etc.   So what is the relationship between EM and these continuous optimization algorithms? And is that possible for anyone to give me an example of using EM in a quadratic optimization  $$ \min \mathbf x^\top A \mathbf x $$

What is the difference between the algorithms EM (Expectation Maximization) and Gradient Ascent (or descent)? Is there any condition under which they are equivalent?


Using Cycles I rendered a object inside a tube (it's glass material). The problem is the object edges are striped as shown here:    The same thing happened for another project too:     In the first render I tried different options but the issue is still there. Is there any way to fix this?

a newbie question that has probably been answered before, but I couldn't find a definitive answer:   I'm trying to render a simple glass container with some dark liquid in it, but I'm getting weird "seams" on the round edge of the container in rendered image. It's as if the normals are somehow miscalculated and causing the refractions to render incorrectly. This should not be the case, as I have recalculated the normals for the outside, as you can see from the image. I used the Solidify modifier to get the container, original mesh only had single faces for all the sides (and the rounded end) minus the top face, no other modifiers used. The liquid is a separate object that I created by copying the inside of container.  So, what's causing those seams to appear and what can I do to get rid of them?  The problem, circled with red:   A view from my editor, as you can see, normals seem to be OK:


Searching for things online is pretty easy since the invention of search engines. However, there are situations, where you are searching for a product with specific details, which can be a very long process.  For example, just a couple of days ago I was searching for an open-source talking caller ID app for Android, and it was very hard for me to find one finally. (Just incase someone came here from a search engine, the app I have found is called Announcify.)  So, is there such a thing as a Stack Exchange site for asking other people if such a thing exists, or is it allowed to ask if such a thing exists on the product's related Stack Exchange site? That is for example, if you are asking if a programming tool exists, can you ask it on Stack Overflow? If no, why isn't this the case? It would be very helpful.

My question was closed for being a "shopping list question", even though it was very much related to the topic of the site. Why?


I have managed to make a decent Table of Contents. However, it does not include the following items:   List of Abbreviations List of Symbols Abstract Acknowledgements   My Table of Contents has no problem listing the item from Introduction onwards (set in arabic numerals) but the items highlighted above (and set in roman numerals) do not appear. Basically, I want List of Abbreviations, Symbols, Abstract and Acknowledgement to appear BEFORE Introduction, and under roman numerals. Thank you so much.     I have posted my code below:  \documentclass[12pt]{article}   \usepackage{fullpage}   \usepackage{siunitx}    \usepackage{siunitx}    \usepackage[left=1.5in, right=1.5in, top=1.25in, bottom = 1.25in]{geometry}    \usepackage{amsmath, amsfonts, amssymb}   \usepackage{enumitem}   \usepackage{booktabs}    \usepackage{graphicx}   \usepackage{caption}   \usepackage{subcaption}   \usepackage{rotating}    \usepackage{placeins}    \usepackage[font=scriptsize,labelfont=bf]{caption}    \DeclareMathSizes{12}{12}{12}{12}    \begin{document}   \pagenumbering{roman}   \tableofcontents    \pagebreak   \listoffigures    \pagebreak   \listoftables %Includes List of Tables%   \pagebreak   \section*{List of Abbreviations}   \pagebreak   \section*{List of Symbols}   \pagebreak   \section*{Abstract}   \pagebreak   \section*{Acknowledgment}    \pagebreak   \pagenumbering{arabic}

Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents?  So in the the table of content there will be a line saying List of figures ... 19 for example?


We have that $$(x+y)^n=\sum_{k=0}^n\binom{n}{k}x^ky^{n-k},$$ but is there such a formula for $(x+y+z)^n$ ?

I wonder as if there exist a equivalent forumla to newton binomial $$(x+y)^n=\sum_{k=0}^{n} {n\choose k} x^{n-k}y^k$$ for three coefficients $(a+b+c)^n$ ?


If a black hole is defined as an area where gravity is so great, it has a theoretical escape velocity that is faster than the speed of light. So how, since the carrying particle of magnetic force is a photon, can a black hole have a magnetic field? Maybe the debris in the accretion disk around the black hole have a magnetic field, but surely not the black hole itself?  I am probably wrong in my understanding.

reported strong magnetic fields escape out of black holes. Does that rule out photons being a component off a magnetic field since light/photon are trapped by the black hole?


This is something I was wondering about for quite a while.   Is it possible to construct a statement that can only be proven by using 'proof by contradicition' or contraposition? Or to put it differently: If we do not use contradictions or contrapositions, would we be able to build the same mathematical framework that we would get without using them?

Are there some proofs that can only be shown by contradiction or can everything that can be shown by contradiction also be shown without contradiction? What are the advantages/disadvantages of proving by contradiction?  As an aside, how is proving by contradiction viewed in general by 'advanced' mathematicians. Is it a bit of an 'easy way out' when it comes to trying to show something or is it perfectly fine? I ask because one of our tutors said something to that effect and said that he isn't fond of proof by contradiction.


I have created a theme, and its all working fine.   Within the WordPress control panel under "Appearance -> Themes", you can see the available themes (Twenty Fourteen, Twenty Thirteen etc etc) and they all have a splash image demonstrating what your blog could look like.  My theme just shows a blank canvas. Is there a way of adding an image or something to represent my theme?  I bet I have missed something really obvious. :/

I followed the beginner steps for creating a .  The child theme was created and it appears as an option on my Themes page. But unlike the other Themes on the page (including its parent), there is no preview.  The other themes ("Twenty Twelve," "Twenty Thirteen," and "Twenty Fourteen") are all listed with an image preview.  My child theme ("Twenty Fourteen Child") does not have any image. The child theme can be applied without issue.  This issue arises when I create child themes from other themes as well. Any ideas why this is happening and if I can resolve?


Given the following try/catch block in java:  try{   return; } catch(SomeException e){   System.out.println(e); } finally{   System.out.println("This is the finally block"); }   and according to this post: "" I can see that the program's output will be 'This is the finally block'. However, I can't figure out how that would be possible since the print statement is preceded by a return...  I suspect that this behaviour has something to do with threading, however I am not certain. Please enlighten me. Thank you.

Considering this code, can I be absolutely sure that the finally block always executes, no matter what something() is?  try {       something();       return success;   }   catch (Exception e) {        return failure;   }   finally {       System.out.println("I don't know if this will get printed out"); }


I would like to delete one of my questions because (1) it is closed and (2) it has been downvoted, but I am unable to do so since it had received an answer. It is found on the Linguistics SE and I have already flagged the question but no change has resulted, which brings me to ask on meta: "How (selecting which option) should a user  support for requesting deletion of a question."

What circumstances can cause a question or answer to be deleted, and what does that actually mean?    How can a post be deleted? When can't I delete my own post? Can I still see my post even after it's deleted? Can I see a list of my deleted posts? How can I undelete one of my posts? What does deletion mean for a post? How do votes to delete work? What are the criteria for deletion? What else should I know about deleted posts? If I flag my question with a request to delete it, what will happen?       For more information, see the articles about  and  in the .


I couldnt found good answer for that i cant change Active status in Setup->Contact->Trigger Mailchimp Trigger Like This   if you cant see Look here =   I want to make deactive but i couldnt see anything i dont want to uninstall

My client have installed a managed package in his salesforce org. Now he want to disable some of the trigger in this manages package. From my researcher I am able to understand that the trigger can only be disabled by the developer who have developer the manage package. Or is their any other way to disable the trigger. Just what to confirm is their any other option from our side to disable the trigger.


For $0<b \leq a$ prove that $$\frac{1}{8}\left(\frac{(a-b)^2}{a} \right) \leq \frac{a+b}{2}-\sqrt{ab} \leq \frac{1}{8}\left(\frac{(a-b)^2}{b} \right) $$ I was trying compare the following expressions $$\frac{a+b}{2}-\sqrt{ab} =\frac{1}{2}(\sqrt{a}-\sqrt{b})^2$$ $$\frac{1}{8}\left(\frac{(a-b)^2}{a} \right)=\frac{1}{2a}\left(\frac{a-b}{2}\right)^2\leq\frac{1}{a}(a-b)^2$$ and use the fact that $\sqrt{a}  \leq a$ when  $a>0$ but I don´t get good results. Any hint of how I should start?

I'd like to prove that $$\frac{(a-b)^2}{8a}\leqslant\frac{a+b}{2} - \sqrt{ab}\leqslant\frac{(a-b)^2}{8b}$$ when $ 0<b\leqslant a\,$. I have been brushing up on inequalities and I cannot figure this one out. I have searched this site, and found this  , but haven't seen how to apply it. I have tried to find a factor that I can multiply the entire inequality with that will allow me to simplify the middle term. So far no luck there. I have also tried assuming that $b > a$ and looked for a contradiction to either of the terms individually. Does anyone have any hints that can get me somewhere?


Does it mean "A master has only one apprentice, if he becomes a master we part and search for new apprentices each" or always "enter random number here" masters with apprentice, or even "There can only be two" in Highlander fashion?

I know Darth Bane came up with the Rule of Two to ensure the survival of the Sith, but, in reality (or in the Star Wars reality), does it (or any Sith rule) serve a true purpose?  And why does each successive Sith bother with it?  Due to the nature of the Sith, Sith Lords tend toward arrogance and self-importance.  Both the Sith master and Sith apprentice seem to regularly break the rule by training others.  Deceit and personal interest over loyalty is a way of life for the Sith.  What is to keep any Sith from following the Rule of Two (or any rule, for that matter) if it is against their own self interest?  If a Sith Master can stay in power longer by training a 2nd apprentice and pitting the two against each other, is he really going to worry about the Rule of Two more than his own plans and survival?  The Rule of Two also assumes that every Sith Master would place the survival of the Sith over his own survival, as opposed to attempting to ensure his own immortality in whatever way he could (like Plagueis).  When you have a group that, by default, is arrogant and self-serving, as well as deceptive, why would they want the Sith to survive themselves?  I can see how the Rule of Two, and any other Sith beliefs would be possible guidelines, but it terms of the nature of ambitious people (and the Sith are ambitious), it's hard to believe that each new Sith Master would follow this rule faithfully.  So does this rule, or any Sith rule, actually work?  Or is it more of a suggestion that is broken when convenient?


you have helped me (Present Perfect)   you helped me (Past Simple)    Which one is correct and why?

Non-native speakers often get confused about what the various tenses  and aspects mean in English. With input from some of the folk here I've put together a diagram that I hope will provide some clarity on the matter.  I offer it as the first answer to this question. Consider it a living document. Input is welcome, and good suggestions will be  incorporated into the diagram.    Nota bene: What this is not is a discussion of whether there are  more than two tenses in English. , to which this question is not intended to supply arguments one way or the other.  Here, the aim is to provide an overview of what constructions English-speaking people use for conveying information about actions referring to past, present, and future, and to provide it first and foremost to precisely the people who are likely to use "tense" as a catch-all term in their search, rather than to linguists who know better.  Breaking News There is now an excellent ELU blog article titled  . It is highly recommended reading.


using certain USB C hubs. There even is an Apple support article that shows that this happens. Now that's okay—I've come to accept that some dongles just don't cut it when coming to proper shielding. However, I have a hub and it exhibits some peculiar behavior. Most of the time it doesn't interfere with WiFi. However, it occasionally (once every one or two weeks) seems to cancel my WiFi signal. I know it's the hub's fault because when I unplug it, my WiFi starts working again. However, it starts working fine again after a while. What could be a possible explanation of this?

I recently switched from my beloved MacBook Pro Retina (Late 2013) i5 2.6/16/512 to MacBook Pro (2017) Non-TB i5 2.3/16/512.  I purchased what from the build-quality looked like a good USB-C-to-DisplayPort cable with 4k/60Hz support, just to run into the very problem the Logicboard repair guru Louis Rossmann had described in : As soon as you plug in the USB-C dongle, the (2.4 GHz) Wifi stops working despite full antenna signal. Unplug the USB-C connector and you are immediately back in the game.  The big question I'm asking myself now: Who is to blame? Is this a design flaw in the current generation MacBooks with improper shielding or is it a design flaw in the various dongles?  I mean the fact that even Apple’s very own USB-C Digital AV Multiport Adapter is causing these WiFi issues (as you can learn from the many horrific ; but AFAIK have been fixed through a ), show that there’s something going horribly wrong.


I have a div called #highlights which swaps article titles and illustrations. When I change to a new illustration using jQuery like this  $("#highlights").css("background","url("+path+")");   the background picture being set shows up slowly for the first time. How could I fix this?

I'm looking for a quick and easy way to preload images with JavaScript. I'm using jQuery if that's important.  I saw this here ():  function complexLoad(config, fileNames) {   for (var x = 0; x < fileNames.length; x++) {     $("<img>").attr({       id: fileNames[x],       src: config.imgDir + fileNames[x] + config.imgFormat,       title: "The " + fileNames[x] + " nebula"     }).appendTo("#" + config.imgContainer).css({ display: "none" });   } };   But, it looks a bit over-the-top for what I want!  I know there are jQuery plugins out there that do this but they all seem a bit big (in size); I just need a quick, easy and short way of preloading images!


I tried all other queries mention in this forum but none worked on Azure database. my query:  SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='dbName';   but it didn't work. I tried almost every stackoverflow solution. Please help to query all table from azure database. thanks.  my code:  <?php     try {      $conn = new PDO("sqlsrv:server=tcp:sahilpaudel.database.windows.net,1433 ;Database=dbname", "usernam", "password");     $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);      $query = $conn->prepare('SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='dbName'');     $query->execute();      while($rows = $query->fetch(PDO::FETCH_ASSOC)){     echo $rows['TABLE_NAME'];     } }  catch(PDOException $e) { echo $sql . "<br>" . $e->getMessage(); }   ?>

What is the best way to get the names of all of the tables in a specific database on SQL Server?


I encountered the ideal $\sum_{i \in I} \mathfrak{a}_i$, where the $\mathfrak{a}_i$'s are ideals of an entire ring. However, no explanation was given about this ideal. Is it the ideal $\lbrace \sum_{i \in I} a_i \mid a_i \in \mathfrak{a}_i \rbrace$? Is it possible to express this ideal as the ideal generated by some set, i.e. the intersection of all ideals containing some set?

I've been trying to prove that given a ring $R$ and a collection of ideals $\{I_{\beta}\}_{\beta \in B}$ in $R$, the set $$\sum_{\beta \in B} I_{\beta}=\{f_1+\cdots+f_r:f_j \in I_{\beta_j}, \mbox{ for some } I_{\beta_j}\}$$ is an ideal and is the smallest ideal containing $\cup_{\beta \in B} I_{\beta}$.  I've already proved when I only have two ideals, and so, using induction, I've seen it for finite sums. But I don't see how to generalise that to an arbitrary family of indexes (maybe infinite) $\beta$.   Could someone please give me a hand? Thank you.


i could not find any examples on how i can set a password using scp to transfer files remotely via from command like    currenty wrote this:  scp “/localFolder/localFile.txt” userName@172.11.111.345:”/RemoteFiolder/AA/”   Where do i enter the password on this script that wil run automatically?

I know it is not recommended, but is it at all possible to pass the user's password to scp?  I'd like to copy a file via scp as part of a batch job and the receiving server does, of course, need a password and, no, I cannot easily change that to key-based authentication.


Is      In the park is a tree.   grammatical as      In the park there is a tree.   ? Moreover, how about inaccusative verbs like:     In the park sits a dog.   ?  Thanks for any help.

I understand inversion but I have a difficulty when it comes down to "there."  A: Under the window there stood a vase. B: Under the window stood a vase.  Here my teacher said that option B is correct.  C: Under the window there was a vase. D: Under the window was a vase.  And here he said that option A is correct.  Could someone explain why I can't say option D?


When considering 3 first numbers in pi, we get 'fixed numbers' 314. However, three integers can have 999 =10^3-1 versions, of which only one 'belongs' to pi. Thus, for n first digits of pi we have 10^n-2 versions of integers which do not belong to pi ratio being 1/(10^n-2)-> 0.0, when n increases. Thus, for increasing number of n, the probability of finding n random numbers in n 'fixed' numbers of pi approaches zero?

I came across the :    Which states:     $\pi$ Pi      Pi is an infinite, nonrepeating $($sic$)$ decimal - meaning that   every possible number combination exists somewhere in pi.  Converted   into ASCII text, somewhere in that infinite string of digits is the   name of every person you will ever love, the date, time and manner    of your death, and the answers to all the great questions of    the universe.   Is this true? Does it make any sense ?


I have a Ugandan passport and i will be traveling from Dubai to Mexico via armsterdam very soon. So do I need a transit visa

I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland


I have a SharePoint 2013 list, and I want to hide certain columns based on a users selection from a drop down list in another column in the same list.  Anyone help?

I am trying to hide a column on page load and when a value is selected from a drop-down list, have the hidden dropdown appear. I am able to hide the column but when I choose the value in the drop-down, nothing happens.   This is the code I'm using:    $(document).ready(function(){   //Define which columns to show/hide by default  $("h3.ms-standardheader:contains('Project Subtype')").closest("tr").hide();  //Show/hide columns based on Drop Down Selection   $("select[title='Project Type']").change(function() { if ($("select[title='Project Type']").val() === "Photo")  {      $("h3.ms-standardheader:contains('Project Subtype')").closest("tr").show(); }  else {       $("h3.ms-standardheader:contains('Project Subtype')").closest("tr").hide(); }     }); });       I've also tried to use this one with the same results:  $('nobr:contains("Project Subtype")').closest('tr').hide();    UPDATE: I've added alerts to try and filter out the issue and it seems like   $("select[title='Project Type']").change(function() {   seems to be the issue. But I have no idea why it's not being read.  Thank in advance for any ideas on this one!


Why does this pipeline truncate the file: awk '...' file | tee file  while cating it first doesn't? cat file | awk '...' | tee file   The file is just a regular config file with hundreds of lines. And I use tee to avoid using sponge (as I have to install moreutils first).

I encountered a behaviour that I don't understand while testing a script that sums the outputs from repeated executions of a program. To reproduce it create the text files out, which represents the output of my program, and sum, the file that holds the sum of the values returned on previous executions and which starts out as a copy of out,  cat > out << EOF 2 20 5 50 EOF cp out sum   The strange thing happens on running  paste out sum | awk '{$1 += $3; $2 += $4; NF = 2; print}' | tee sum   several times (15-20 times might be needed). Each time it runs, this command should add to the values in sum the corresponding values in out and write the results back to sum. What I get is that it works an unpredictable number of times, then sum reverts back to  2 20 5 50   I have later learned that  and solved the issue using a temporary file, still, this behaviour baffles me:   why does … | tee sum work at all (even if only for a limited number of iterations), while … > sum never overwrites sum? why doesn't it work a predictable number of times?


I have been trying to install Ubuntu on my new machine. The specs are:  -Gigabyte x299-UD4 (rev. F2)  -i7-7820x  -32gb 2400mhz-DDR4 kingston CL15  -960 M2 ssd samsung  These errors appear while i try to boot up the installer:      I should return this motherboard right? Windows setup runs fine. It is really strange i cannot even boot the ubuntu setup. I have searched everywhere and i can't find a reference for this. I'm really disappointed with Gigabyte. I bought this machine exclusively for linux usage and i find it hard that nobody on the MB development team boot up linux once.

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


R is a computer language (). When describing a function written in R, I want to know which of an R function or a R function is correct. I initially thought an R function was correct according to the conventional rule (e.g., ), but Google search shows that substantially more people use a R function. So I thought a special rule may apply here.

I was reading a comic book and I noticed that the author used "an A" and "an N" in a particular phrase (screenshot below). While I understand the usage of "An A" here (A being a vowel and what not) and "N" having a pronunciation which has a sound similar to "A".  Since most of English alphabets have pronunciations which start with a syllable similar to one of the vowels or semi-vowels; is it OK to prefix the letters using "An"?  For eg. An X, or An Y.        Zenescope's Grimm Fairy Tales - Werewolves: The Hunger, page #8 (Click to enlarge)


After watching  with the following examples:   I appreciate your coming here. He resents Marry's being promoted. I am tired of Migel's complaining.   I do not understand why in  (on the last page) they wrote:        We sat and watched the girls dancing.      instead of:        We sat and watched the girls' dancing.      Can somebody explain me which variant is the correct one and why?

The rule says that we can use a possessive adjective or an object pronoun before a gerund. Is there a rule  that says when to use each or are they interchangeable? Some say that it's wrong to use an object pronoun before a gerund.


A enemy  cast  while within five feet of a tempest domain .  The cleric inquired if the lightning bolt triggers the wrath of the storm feature since the enemy wizard was "attacking him."   Wrath of the Storm description says:     When a creature within 5 feet of you that you can see hits you with an attack, you can use your reaction to cause the creature to make a Dexterity saving throw. The creature takes 2d8 lightning or thunder damage

I was looking over the class feature of the 'fiend' patron warlock in 5e. I'm a bit confused on what actions the player needs to take before they can use the 'Hurl Through Hell' ability on an enemy. The PHB states:     Starting at 14th level, when you hit a creature with an attack, you can use this feature to instantly transport the target through the lower planes.   I'm not clear on what an 'attack' means in this context. Does it have to be a physical attack like a sword or crossbow? Do magical attacks like Eldritch Blast that require an attack roll count? What about spells with no attack roll?


I want to write something like  F : X ----> Y x |---> 2x  in LaTeX where the  x |---> 2x  appears directly below  F : X ----> Y  Any suggestions on how to do this?

I would like to define a mathematical function by its action. Something like       \documentclass{article}      \begin{document}      \[         \begin{array}{cccc}          f\colon & R\times R & \rightarrow & R\times R\\                  & v & \mapsto & f(v)         \end{array}       \]       \end{document}   In this way, spacing is horrible. What is the best way to produce it?  I want the elements in the second line centered with respect to the element of the first line.


Assuming that the person stands parallel to a wall. The person and the wall are at the same ground level. The person takes a picture of the wall (Considering that the person always captures the bottom edge of the wall).  Hypothesis:  It is obvious that when the person is closer to the wall, the bottom edge of the wall tends to be at the bottom in the image. As we move farther, the edge moves more closer towards the center in the image.  So, there exists a relationship between "Distance from wall" and "Position of edge of the wall in the image".   The known parameters are:   -> Height of the camera from which the image is captured  -> Angle(Orientation of the camera)  -> Position of the edge in the image   How can I formulate the distance(depth) based on the above parameters? Are there any other parameters that affect the above relationship?  Note: I don't know any of the size of the objects in the screen.

If I took a picture of a windmill on the horizon — given that I know the sensor size and the focal length of the lens and other factors to do with the shot — could I calculate how far away an object is from the photographer?


If $(X, Y)$ is bivariate normally distributed with marginals means $1$, marginal variances $1$ and correlation coefficient $\rho=0.2$, what is the distribution of $X + Y$ ? How can I start the problem ?

I need to give the distribution of $X+Y$ and $X-Y$ knowing that $(X,Y)$ is bivariate normally distributed with marginal means 1, marginal variances 1 and correlation $p=0.2$.Is it right that the marginal mean are simply $E(X)=1$ and $E(Y)=1$ ? I don't see where I should start knowing that.


"I've called you a few times, but you haven't picked up or called back."  Does "a few times" put emphasis on how few times something is or is it similar to "a couple of times" which just tells a number?

What are the differences among “little”, “few”, “a little” and “a few”?   Are “little” and “few” synonyms?


I am having the hardest time finding something like this on Mouser. I have find things similar, without the screw for example, but never exactly this. Is there a generic name for this type of connector?  If you type something like PCB 2 Way Connector into Google then your search is through, but Mouser apparently has a different naming convention for these little connectors.   This is the closest thing I could find, but I either need a 4-way connector or a 2-way. Ideally I would like to find the same connectors as shown below.    Examples:

Here is a picture of two of them:    I searched for these connectors in  and  for an hour, but couldn't find anything similar. Can you please name these connectors for me and/or give a link to their subcategory in one of these part seller websites?


How should this sentence be written?  The crux of the problem is the two trees in the way. The crux of the problem are the two trees in the way. The cruxes of the problem are the two trees in the way.  The third seems grammatically correct, but also the most awkward.

My fish's native habitat is rice fields. My fish's native habitat are rice fields.   Which one is correct? I'm pretty sure it's the first, since 'is' modifies 'habitat,' but it still sounds weird...


Whenever I press play on my Minecraft launcher it starts to load, then goes back to the launcher. This is what it tells me:  ---- Minecraft Crash Report ---- // Everything's going to plan. No, really, that was supposed to happen.  Time: 4/30/17 8:47 PM Description: Initializing game  org.lwjgl.LWJGLException: Pixel format not accelerated     at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)     at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)     at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:252)     at org.lwjgl.opengl.Display.createWindow(Display.java:306)     at org.lwjgl.opengl.Display.create(Display.java:848)     at org.lwjgl.opengl.Display.create(Display.java:757)     at org.lwjgl.opengl.Display.create(Display.java:739)     at azi.ad(SourceFile:325)     at azi.f(SourceFile:688)     at net.minecraft.client.main.Main.main(SourceFile:152)   A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------  -- Head -- Stacktrace:     at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)     at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)     at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:252)     at org.lwjgl.opengl.Display.createWindow(Display.java:306)     at org.lwjgl.opengl.Display.create(Display.java:848)     at org.lwjgl.opengl.Display.create(Display.java:757)     at org.lwjgl.opengl.Display.create(Display.java:739)     at azi.ad(SourceFile:325)  -- Initialization -- Details: Stacktrace:     at azi.f(SourceFile:688)     at net.minecraft.client.main.Main.main(SourceFile:152)

Similar to  on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.


I'm currently running Sierra and would like to revert back to El Capitan. Is there any way I could use a backup done on a newer OS with Migration Assistant?

I'm having major 'disagreements' with Sierra, compatibility issues with software etc, & have decided to revert to El Capitan.  I have done this many times in the past, tested an OS then gone back to the earlier version. I make a clone of the old drive, then update; clone back after a few days & all is well. Most I lose is a few non-essential emails which doesn't bother me. This time, I've left it too long to do that. My clone is 2 weeks old, my POP email will only sync back one day. I have no real trace of what else may have changed in that period, but let's say with the best of intentions I'll miss something that I later discover I should have made a safety of.  I have Time Machine, up to date, but of course it's now syncing Sierra. I also have Backblaze. So ultimately I should have the resources to go back & find anything I may have missed.  My worry is if I use a clean install & migrate from Time Machine, some old authorisations on the drive will be lost. Some cannot be retrieved if they break because the servers that authorised them no longer exist. [Old pro audio plugins etc, still working but no longer supported.] These survive a clone, but I don't know if they'd survive a migrate. [I didn't migrate from my old 3,1 to this 5,1, I just moved the boot drive from the old to the new machine.]  I have all old installers in my Purchase History, so obtaining El Capitan is not an issue.  I'm on a Mac Pro 5,1 so dropping in a spare drive is no problem, if that would help. I've never tested whether this machine will boot from USB, my older 3,1 never would - I shall test that & update the question. Edit I've tested, it will successfully boot from an El Capitan installer USB. I've also made a clone of the boot drive as it is right now, belt & braces.  I see my options as... 1. Restore from the clone & try to find anything I missed. 2. Nuke & pave, then migrate Time Machine    Is there a 3rd option?  Some method to restore to my current backup, but sitting on El Capitan rather than Sierra?  Late Edit Well, option 2 just went away. The installer simply refuses to migrate from a newer OS to an older one, whether from a mounted or remote drive, or Time Machine.   may help future Googlers too.


I am trying to write an generalised limit operator, which look approximately like the standard \lim, except it has an additional symbol in front, connected by a hyphen (see example below). I would very much like this generalised limit to really look like the good old \lim; in particular, if I take limit over a variable x, then I would like the symbol x to be placed below. I almost managed to accomplish this by exploiting the old \lim, and adding the prefix:  > p \!\! - \!\! \lim_x    However, if I replace x by a longer string (say, several variables), I get too much whitespace. I tried grouping the limit into a single object, like below, but this leads to the variable being placed right of the limit symbol, not below:  > {p \!\! - \!\! \lim}_x    Could someone please advise me what is the best way of writing such a limit?  Here is a minimal example and the output.  \documentclass{article} \usepackage \begin{document}  Naive example:  $$ p-\lim_{x} f(x), \qquad p-\lim_{x_1,x_2,\dots,x_n} f(x_1,x_2,\dots,x_n) $$  With \verb"\!" used for indentation, without grouping:  $$ p\!\!-\!\!\lim_{x} f(x), \qquad p\!\!-\!\!\lim_{x_1,x_2,\dots,x_n} f(x_1,x_2,\dots,x_n) $$  With \verb"\!" used for indentation, plus grouping  :  $$ {p\!\!-\!\!\lim}_{x} f(x), \qquad \operatorname{p\!\!-\!\!\lim}\limits_{x_1,x_2,\dots,x_n} f(x_1,x_2,\dots,x_n) $$  \end{document}

I am looking to make a log-like operator that looks the same as $p \text{-lim}$. The best way so far I found to do this is  \DeclareMathOperator*{\plim}{\text{$p$-lim}}   Question: Is this the best way to do this? It seems like a bit of a hack.  If I remove \text{...} then it doesn't work.  (Also, I know I can use \operatorname* to give a more flexible implementation like  \newcommand{\plog}[1]{\operatorname*{\text{$#1$-lim}}  where now I can change the p to, say, a p+q when needed.)


that Anakin was conceived by midi-chlorians after Shmi told him there was no father.  Senator Palpatine tells Anakin that his former master, Darth Plagueis, learned how to influence midi-chlorians to create life.  The thought just occurred to me: did Palpatine learn this skill from his master, and create Anakin himself by manipulating the midi-chlorians? He was always very interested in Anakin, and seemed to set up his plans very far in advance. So it makes sense if those assumptions are true.  After I realized this might be a possibility, in my research I found this small  discussing a very similar thing. It goes into further suppositions about this theory, but doesn't definitively answer the question.  Is this theory ever confirmed or denied in any expanded universe canon?

In Episode 1: The Phantom Menace, Anakin's mother, Shmi, said that he does not have a father, although it seemed to me that she doubted that.  Is there a canonical answer as to who Anakin's father is?  If so, who?


I want to make a number appear in the hexadecimal alphabet but I don't know how.  For example I used the number  255.I wanted the number to appear as "FF FF" but it appear as "15 15"  number is the number I want to convert  base is the desired alphabet (bin,dec,oct,hex)  str is the table with the digits  digits is how many digits I have   # include <iostream> using namespace std; class Number {     private:         int number;          int base;         int str[80];         int digits;         void    convert();      public:         Number(int n);         Number(int n,int b);   printNumber prints the number          void    printNumber(); };   convert is the function that converts the number  void    Number::convert() {     int icount=0;     int x=number;     while(x!=0)     {         int m=x % base;         x=x/base;         str[icount]=m;         icount=icount+1;     }   digits count the number of digits I have      digits=icount; }   this function uses as base dec   Number::Number(int n) {     number=n;     base=10;     convert(); }   this function uses as base an integer b  Number::Number(int n,int b)  {     number=n;     base=b;     convert();  }  void    Number::printNumber() {     int i;     for(i=digits-1;i>=0;i--)       cout<<str[i]<<" ";      cout<<endl; }   int main() {     Number n1(255);     Number n2(254,16);     n1.printNumber();     n2.printNumber();     std::cout << "Press ENTER to continue...";     std::cin.ignore( std::numeric_limits<std::streamsize>::max(), '\n' );     return 0; }

I want to do:  int a = 255;  cout << a;   and have it show FF in the output, how would I do this?


App Version: 1.5.3.5 Device: iPhone 6s OS Version: Version 10.0 (Build 14A5309d)

As you can see in the below screenshot, some of the the icons (e.g. Stack Overflow, User Experience, and more) are showing with white box around them.         App Version: 1.5.3.5 Device: iPhone 6s OS Version: Version 10.0 (Build 14A5297c)   Can this please be fixed?


On the UX Stack Exchange, recently there was a .  As shown , the voting buttons are not there, unlike other posts:        , it says that because nobody can vote, it doesn't show it. The accidental discovery could show a message like You can't vote on locked posts, kind of like the 'you need 15 rep', or 'you can't vote on your own posts' messages. While the rationale is 'it's a global state', it's inconsistent with the rest of the site.  Can we please put the vote arrows back in those posts, same way we have in other locked posts?

I understand  that they don't hide the vote buttons, instead they display an error message if the action is not allowed (for example upvoting your own answer). But then why doesn't the vote buttons shown in locked questions? According to his design logic there should be vote buttons in locked questions too and clicking them should give a message like:     You can't vote on locked questions/answers.


I am trying to set prompt of the shell to show atleast last 3 directories.  I am using the following to show present working directory,  set prompt = " %~>" (Home directory will be replace with ~ in the prompt)   Right now, the prompt shows up like this  /root/MyDir1/MyDir2/MyDir3/MyDir4/MyDir5> _   I want it to be shown like this or so  MyDir3/MyDir4/MyDir5> _   Is there a way to set the prompt to show atleast the last 3 directories?

I have command prompt in tcsh that shows the current working directory. The problem is that the command prompt becomes very big once I am in a deep hierarchy of folders. How do I set the command prompt to show, let's say, only the last 3 directory names?


Why did the solution to the first question only have one scalar, and the solution to the second had two scalars? Is it up to the solver's preference?  Question 1:     Define $T : \mathbb{P}_3 \to \mathbb{R}^4$ by $$T(p) = \begin{bmatrix} p(-3) \\ p(-1) \\ p(1) \\ p(3) \end{bmatrix}$$ Show that $T$ is a linear transformation.       Question 2:     Let $T : \mathbb{P}_2$ -> $\mathbb{P}_4$ be the transformation that   maps a polynomial $p(t)$ into the polynomial $p(t) + t^2 p(t)$. Show   that $T$ is a linear transformation.

Does it matter that in the first line it's written $T(\alpha p+ \beta g)$ and not $T(\alpha p(t)+ \beta g(t))$ but at the end it is written with $\alpha T(p(t)) + \beta T(g(t)))$ with the $t$'s.     Define $T : \mathbb{P}_3 \to \mathbb{R}^4$ by $$T(p) = \begin{bmatrix} p(-3) \\ p(-1) \\ p(1) \\ p(3) \end{bmatrix}$$ Show that $T$ is a linear transformation.


I need to manually enter a list of six-digit codes in a column. Each code starts with the same two-number prefix, 03.  e.g.:  030144 030289 030283   Is there a way that I can type just the last four digits of the code but have the cell AND formula bar show the full six-digit code?  In other words, a custom number format will not do because the full six-digit code won't be displayed in the formula bar.

In column B I have contact number. I want to add a country code to all of them.  For example, if the number is 123456, I want it to become 88123456.    Each number is in 1 row, and there are about a thousand of them, so I want an automatic way to do this that allows me to add the country code to each of them without a space.


I was trying to prove one of limit theorems by two ways..  I figured out to prove it by SCL but failed in using definition way..  If $\lim_{x\to p} f(x) = L$, $\lim_{x\to p} 1/f(x) = 1/L$ ($L$ is nonzero)  I tried taking $\epsilon = |L|/2$ but couldn't advance further...  I really appreciate it..

While I was reading the book Exploratory examples for real analysis, I came across this:     to show that : $$\lim_{x\rightarrow x_o}\frac{1}{h(x)} = \frac{1}{\lim_{x\rightarrow x_o}{h(x)}} = \frac{1}{M}$$      Discussion:Let $\epsilon \gt 0$.we want to find $\delta \gt 0$ such that       if  $0 \lt |x-x_0| \lt \delta $,then $\Big|\frac{1}{h(x)}-\frac{1}{M}\Big|\lt \epsilon$.      In order to get expression involving $|h(x)-M|$,we first find the common denominator:        $\Big|\frac{1}{h(x)}-\frac{1}{M}\Big|=\Big|\frac{M-h(x)}{M~h(x)}\Big|$      $~=\Big|\frac{h(x)-M}{|M|~|h(x)|}\Big|$.      As we have to deal with variable term $|h(x)|$ in denominator.We can construct bound .Let $\epsilon =\frac{|M|}{2}$ ,since lim$_{x\to x_o}h(x)=M$,there exists $\delta_1\gt 0~~$ s.t.       if $0 \lt |x-x_0| \lt \delta_1 $,then $|h(x)-{M}|\lt \frac{|M|}{2}$.      As you study steps below,identify that step where $h(x)\neq 0$ for all $0 \lt |x-x_0| \lt \delta_1 $ plays a critical role:      $|M|=|M-h(x)+h(x)|$      $~~~~~~\leq |M-h(x)|+|h(x)|$      $~~~~~~= |h(x)-M|+|h(x)|$      $~~~~~~\lt \frac{M}{2}+|h(x)| \implies$      $\frac{|M|}{2} \lt |h(x)| \implies$      $\frac{1}{h(x)}\lt \frac{2}{|M|}$,where $0 \lt |x-x_0| \lt \delta_1 $.      Now that we've bound for $1/h(x)$,we can apply the definition to term $|h(x)-M|$.      Since     lim$_{x\rightarrow x_o}h(x)=M$,we can find $\delta_2 \gt 0$ such that,       $~~~~~~~~~~~~~~~~~~~~~~~~~~~~$if  $0 \lt |x-x_0| \lt \delta_2$, then $|h(x)-M|\lt \frac{|M|^2 \epsilon }{2}$   The thing I can't understand is for what purpose did the author work with such complicated expression involving $\epsilon $ in the end of the discussion?


I have this code:  Scanner reader = new Scanner(System.in); System.out.println("Enter the first number"); String l =reader.next(); String[] a = new String[2];  a[0] = l ; a[1] = "5";  if((String) a[0] == "5" ) {     System.out.println("hey"); }   however if I enter "5" as my input, "hey" is not printed how do I get it so that I can use an if statment to see if what is entered is a certain character or word

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I am completely ignorant on the subject and am trying to understand the fundamentals of finance in order to better understand some topics for example how the exchange market works. This is what I understood: if a company is listed on the stock exchange, it issues shares, for example 100 shares at a value of 1 euro each. If I buy a share I "own" 1% of the company and the dividends will be proportional to the number of shares I own (I assume). Problem # 1: If the value of the stock I own increases due to demand, what benefit does the company get? After all, it made 1 euro from my initial purchase and it is not affected by the fact that I can sell my share to someone else at a higher price. Problem n2: a possible answer to my question is that the company can place new shares on the market that will be purchased at a higher price than the initial 1 euro given the higher demand. In this case, however, I would "own" less than 1% of the company as more people have bought it. Consequently my dividends could be lower, forcing me to sell the shares to maximize the profit. And this does not really make sense to me to be honest, as it would generate negative feedback. Would anyone be kind enough to explain to me what am I wrong with my reasoning?

Whole Foods is :     To approve an amendment to the Company’s Articles of Incorporation to   increase the number of authorized shares of the Company’s common stock   from 600 million to 1.2 billion   As a common shareholder, why would I want to approve an increase in the number of authorized shares? It seems to me that this just dilutes the earnings per authorized share, and consequently the value of the shares that I hold (both in terms of control/ownership and dividends). I understand that there may be some upsides to this proposal with respect to managing the company, but it seems to me that these are severely offset by dilution.  As stated in the proposal:     If the amendment is approved, except as may be required by law or   NASDAQ rules, no further shareholder approval would be required prior   to the issuance of the additional shares authorized by the amendment.   While adoption of the amendment would not have any immediate dilutive   effect on the proportionate voting power or other rights of the   Company’s existing shareholders, any future issuances of additional   shares could significantly dilute the equity interests of current   shareholders and could have a negative effect on the market price of   the Common Stock. Current shareholders have no preemptive or similar   rights, which means that current shareholders do not have a prior   right to purchase any new issue of common stock in order to maintain   their proportionate ownership.


When trying to extend a script, for some reason, if a sed expression is inside a variable it won't run. Minimal example: echo lorem >> /tmp/testsed CMD="sed --debug -i.bak -e 's/lorem/ipsum/' /tmp/testsed" $CMD  results in: sed: -e expression #1, char 1: unknown command: `''  I've looked at a few (, ,  and  ) similar posts, but none solved the issue. For now I'm using eval (like 4 initially suggests), but it's not an ideal solution; also creating a function is not an option. I feel like it's related to having to escape some characters on the expression, but from my tests I could not find which. This sed expression is set as a action that another script executes after some specific action.

$ ls -l /tmp/test/my\ dir/ total 0   I was wondering why the following ways to run the above command fail or succeed?  $ abc='ls -l "/tmp/test/my dir"'  $ $abc ls: cannot access '"/tmp/test/my': No such file or directory ls: cannot access 'dir"': No such file or directory  $ "$abc" bash: ls -l "/tmp/test/my dir": No such file or directory  $ bash -c $abc 'my dir'  $ bash -c "$abc" total 0  $ eval $abc total 0  $ eval "$abc" total 0


I have a shapefile that show this description under Geometry type of the features in this layer:  Point (WKB type: "PointZ")   I need to use is it in some plugins that seems to work only with points:  Point (WKB type: "Point")   I know how to access the Z value,  z($geometry ), but how can I convert the geometry type?

It seems there is no geoalgorithm to drop z values in the QGIS processing toolbox. Can this be done programmatically using the Python console? At the moment I have to save the layer with unchecked 'Include z-dimension' checkbox (non automatic geometry type):


What does  mean in physics? What is its role in physical theories?  Is it possible to break physical postulates?

Is there a difference between a postulate and a principle in physics?  Both seem unproved statements taken as true. If thats correct, why the different names?


I am trying to use specific coloring in an table of ybar plots. Maybe someone can help me out here. I have read other threads concerning the coloration of ybars but none of them really worked.  This is what I have:    This is what I want:    That the "mean" symbol in the legend has 3 bars is especially tricky. The coloring is just something I can not accomplish.  Here is the code I used.  \documentclass[12pt,a4paper]{memoir} \usepackage{pgfplots} \usepackage{pgfplotstable}  \begin{document} % data1      \pgfplotstableread{          x            y      y-min   y-max A   -9.647  0.524   0.468 B   -12.114 0.089   0.087 C   -14.902 0.483   0.435 }{\TabA}             % data2          \pgfplotstableread{          x      y        y-min   y-max A       -10.185 0.196   0.187 B   -12.656 0.283   0.265 C       -15.307 0.412   0.376 }{\TabB}                     % mean           \pgfplotstableread{          x            y      y-min   y-max A   -9.698  0.775   0.657 B   -13.608 2.495   1.575 C   -14.974 0.564   0.499 }{\TabSijMean}  \pgfplotsset{small} \begin{center} \begin{tabular}{lr} \begin{tikzpicture} \begin{axis}[width=8cm, legend pos=north west, y dir=reverse, enlarge x limits=0.2, ybar=0, xtick=data, bar width=10pt, symbolic x coords={A,B,C}, legend cell align=left ]  \addplot [ybar, fill=black!70]    plot [error bars/.cd, y dir=both, y explicit]   table [y error plus=y-max, y error minus=y-min] {\TabA}; \addplot [ybar, fill=black!50]    plot [error bars/.cd, y dir=both, y explicit]   table [y error plus=y-max, y error minus=y-min] {\TabB};   \addplot [ybar, fill=blue]    plot [error bars/.cd, y dir=both, y explicit]   table [y error plus=y-max, y error minus=y-min] {\TabSijMean};     \legend{\tiny data1,\tiny data2,\tiny mean} \end{axis} \end{tikzpicture} & \begin{tikzpicture} \begin{axis}[width=8cm, ybar, xtick=data, symbolic x coords={A,B,C}, bar width=10pt, enlarge x limits=0.2, ] \addplot[fill=blue,error bars/.cd, y dir=both, y explicit] coordinates{(A,62.37) +-     (0,5.65) (B,67.90) +- (0,5.527) (C,64.04) +- (0,4.654) }; \end{axis} \end{tikzpicture} \\ \end{tabular}% \end{center} \end{document}   I am really getting crazy here. Hopefully someone can help me.  Thanks BR

I am beginner in LaTeX, trying to use it for industrial documents. I wonder if there is a way to change the color of only one bar of the plot below, ie "TestDetails", to illustrate it is a local macro and not a LaTeX keyword. I have been trying to experiment with point meta, but could not find a way.  \documentclass{article} \usepackage{filecontents}  \usepackage{pgfplots}  \usepackage{pgfplotstable} \pgfplotsset{width=.95\textwidth, compat=newest}   \begin{document}  \begin{filecontents}{data.csv} {Occurences}, {keyword} 215, item 159, SI 134, subsubsection 106, TestDetails 58, caption \end{filecontents}  \pgfplotstableread[col sep=comma]{data.csv}{\datatable}  \begin{tikzpicture} \begin{axis}[ /pgf/number format/.cd,1000 sep={}, width=0.8\linewidth,height=6cm, xbar, xmin=30, xmax=250, xtick=\empty, enlarge x limits={value=0.1, upper}, enlarge y limits=0.1, ytick=data,  y dir=reverse, xlabel= {}, y tick label style={major tick length=0pt}, yticklabels from table={\datatable}{[index]1}, nodes near coords, nodes near coords align=horizontal, ] \addplot [draw,fill=blue!50]table[ y expr=\coordindex, x index=0]{\datatable}; \end{axis} \end{tikzpicture}  \end{document}


When I first started with Stack Exchange I created a profile through a Facebook link. I am about to delete that Facebook account and was wondering if there was a way to 'unlink' my current Facebook profile and replace with another?  Or alternatively just to replace with a standard email login?

I no longer use the service that I originally used to register, and would like to change the service I use to log in, or at least add a second account.  Is this possible? How do I change my login provider or associate a backup method to log in?     For more information, see "" in the .


I am new to VBA (I wish I could stick to Javascript) and I have a problem with sorting an array. I have this 2 dimensional array in keeping track of player scores like this  P1 P2 P3 P4 P5 P6 P7 P8 P9 23 12 34 11 21 56 32 35 27   And I would like to sort the array so the players are in order of scores from lowest to highest like this  P4 P2 P5 P1 P9 P7 P3 P8 P6 11 12 21 23 27 32 34 35 56   I haven't got a clue how to do this in VBA. I tried looking for a sort function, to no avail. Do I need to include some library or something?  Does anyone know how to tackle this problem if a library isn't available to do this?  Regards Crouz

I'm looking for a decent sort implementation for arrays in VBA. A Quicksort would be preferred. Or any other  other than bubble or merge would suffice.  Please note that this is to work with MS Project 2003, so should avoid any of the Excel native functions and anything .net related.


Hi I have to divide two numbers in #!/bin/sh  $x = 5678 $x/1000   but calculations return only integer: 5.  I need 5,678.  I've tried   $x/1000.0  $x/1000.0 | bc   on first method expect integer  second method: I don't have bc.

Using echo "20+5" literally produces the text "20+5".  What command can I use to get the numeric sum, 25 in this case?  Also, what's the easiest way to do it just using bash for floating point? For example, echo $((3224/3807.0)) prints 0 :(.  I am looking for answers using either the basic command shell ('command line') itself or through using languages that are available from the command line.


I am trying to find points that fall within a polygon. Both layers are vector ESRI shapefiles. I used the fTools based intersect under Vector>GeoprocessingTools>Intersect. The output is an empty shapefile and I get the following warning:  Warnings: Feature geometry error: One or more output features ignored due to invalid geometry. Some output geometries may be missing or invalid.  I first tried this with layer of ~519 points and a complex polygon layer outline of the city limits of a city. I then made a new shapefile with just 6 points with some inside and some outside a polygon in a separate layer that I also drew. I got similar results. With this error:  Warnings: Feature geometry error: One or more output features ignored due to invalid geometry. Some output geometries may be missing or invalid.  I used the geometry check tool to check both layers and got no errors. If I use the same two simple layers and clip the point layer with the polygon layer I get what I want (i.e. all the points that fall within the polygon but not those outside the polygon). If I use the spatial query tool (Vector>SpatialQuery) I get the results I want as a selection. In my original use and with the simple polygons, both shapefiles share the same CRS. My question is, am I misunderstanding what the Geoprocessing tool Intercept does or am I missing some requirement of this tool or is it just working incorrectly?

I want to intersect two layers (shapefiles) with QGIS 2.18. For both layers, I tested validity with   QGIS Vector / Vector Tools / Check validity and GRASS v.build.check (with default parameters)   both tests report no errors for both layers, but QGIS Intersection reports invalid geometry for one or more input features.  The two layers may have some boundaries, that should be equal, but may actually have slight differences (unprecise manual digitalisation of one layer) possibly resulting in several very small slices.  What do you recommend me to try?


Is it better to type hint classes or type hint interfaces?  If I type hint a class I could basically pass in every class with the exact same name, but maybe not with the same methods the class I'm injecting it into needs to work properly.  While with interfaces I can pass in any class (of any name) as long as the type hinted interface has been implemented.  What are the actual pros and cons of type hinting classes and interfaces?

I understand that programming to interfaces helps with loose coupling. However, is there a guideline that explains when its most effective?  For example, I have a simple web application that collects data on employees, their training plans, expenses and computes their expense for the year etc. This is a fairly simple application and I can of course use an interface but wonder if there would be any use. I will be using it for the sake of using it.  It can always be argued that as the application grows in complexity and I pass around objects it would make more sense to pass the type (interface) than an implementation. So, should I wait for the application to become complex or use it right away? I'm wondering the best practice might turn out to be "this guy is over doing things".