Let's say there exists a stock X that I believe will soon embark on a general downward trend. I am interested in shorting X and decide to sell some quantity of X.  I see my short position as being a long term view of the stock. This is not generally the case where one holds a short position in a stock.  I understand that if my view of the stock also become the general market view of the same stock that there may be many people wanting to hold short positions of X. How would this affect me?  To summarize:   Is there a time limit by which I need to cover a short position? If the answer to the above is no, what are the downsides to holding a short position for a longer time frame?
If I short sell stocks of a company but do not close my position by buying them back, what will happen? I realize it is a bad thing, but what exactly? I will need to pay a penalty?
Am I able to change my GPA once I submit a graduate school application? Consider the  function     $$ r(x) = \mathbb{E}(Y \mid X = x) $$   This has been called the regression function in a textbook I'm using. I'm trying to figure out the relationship between this function and the classical linear regression model.  So, I know that it is a theorem* that we may write  $$ Y = r(X) + \epsilon $$  for some random variable $\epsilon$ s.t. $\mathbb{E}(\epsilon) = 0$.  Now suppose that we have     $$ Y = \beta_0 + \beta_1 X + \epsilon $$   This is the classical 1-dimensional regression function (assuming the $\beta_0$ and $\beta_1$ minimize the residual sum of squares).  Question: Is it then a mathematical theorem that if $Y$ is defined as above, that   $$ r(X) = \mathbb{E}(Y \mid X) = (\beta_0 + \beta_1 X)? $$  And is this why the function $\mathbb{E}(Y \mid X)$ is called the "regression function"?  EDIT: The theorem that I am making use of is as follows (from All of Statistics pg. 89):     Regression models are sometimes written as      $$ Y = r(X) + \epsilon $$      where $\mathbb{E}(\epsilon) = 0$. We can always rewrite a regression model this way. To see this, define $\epsilon = Y - r(X)$ and hence $Y = Y + r(X) - r(X) = r(X) + \epsilon$. Moreover, $\mathbb{E}(\epsilon) = \mathbb{E}\mathbb{E}(\epsilon \mid X) = \mathbb{E}(\mathbb{E}(Y - r(X)) \mid X) = \mathbb{E}(\mathbb{E} ( Y \mid X) - r(X)) = \mathbb{E}(r(X) - r(X)) = 0$. I upgraded my Mega Ring and have been looking for Mega Stones, and I found . However, the Mega Stone isn't in the place it's supposed to be, and I'm sure the location is right. Why isn't my Mega Stone here? How to assign same Data to multiple object copies I made many copies of an object, then I thought it would've been better if I made them to share the same Data (being an instance of the same original object), I know how to do it one by one, is there a way to do it for all of them at once? I tried Copy Attribute add-on but didn't find what option can do that, or even if this is possible in the first place. When documenting location, should current or historical place names be used? When I am documenting records, do I use the name of a city or country as it is called today or as it was in the year an ancestor was there?  Related to: "Recent Badges" list is displayed without margins on "Home" page When the &quot;Hide Hot Network Questions&quot; preference is enabled (i.e. HNQ sidebar is hidden), we see &quot;Recent Tags&quot; and &quot;Recent Badges&quot; in the homepage instead of the HNQ. However, the &quot;Recent Badges&quot; list is displayed with no margins. ex.)   I think that the appropriate margins were set in the past. cf.) Is verbatim copying several paragraphs of text with citation considered plagiarism? Is it plagiarism if I copy several paragraphs from another's source (let's say a CS paper) into my work and then footnote Source: ..., for example, as background information? Chinese Passport Holder Transit in South Korea A Chinese passport holder with a US visa has a flight scheduled from Beijing to Los Angeles in mid-November.  This person wants to go to South Korea for a 3 day conference; the conference is one week prior to the PEK-LAX flight.  If this person buys a round-trip ticket from China to Korea, will the transit visa be sufficient? Or will they need a regular visa?    Extra info:  What if the original ticket were modified to make it ICN-PEK-LAX?  . It says "Holding a confirmed onward flight ticket for departure within 30 days." Would a return ticket to China than a flight to LAX a week later be sufficiently "onward"? Why does "unisex" mean both sexes? There are some places where men and women are segregated — for example public toilets and public swimming pool changing areas.  By this I mean, for example, that there are "Men's toilets" and "Ladies' toilets".  However, in some more cosmopolitan swimming baths, and other places, there are such things as unisex changing areas, or unisex toilets.  From my understanding uni- implies one, as in universe, unilateral or unicycle.  However when it comes to unisex, this means both sexes, so applies to two things.  How does uni- mean one in unisex? Does it mean one? unsigned int vs. size_t As an online shopper, I regularly use Amazon to purchase lots of stuff.  When I reconcile my credit card spending, I use Mail.app to search all mailboxes for specific dollar figures (e.g. command-option F, then type 24.95). Prior to Big Sur, finding dollar figures in Mail.app worked perfectly, whether the email messages resided &quot;On My Mac&quot; or on iCloud.  However, since Big Sur, doing a global Mail.app search for numeric strings, especially with a decimal point, doesn't work reliably. For example, I'll do a global search in Mail.app for 65.88 and I'll get one result from a locally archived message from years ago, however a very recent message in my InBox containing that figure is not found.  When I do a single message search (command-F) looking for 65.88, the value IS found. Unsurprisingly, using Spotlight delivers the exact same results. Using mdutil, I've manually erased and rebuilt the Spotlight index, rebuilt my Mail.app mailboxes, deleted all ~/Library/Mail/V8/MailData/Envelope* files to force the Mail.app to re-import everything, and reinstalled Big Sur.  I've also confirmed all my Spotlight settings to assure that Mail and Messages are included in searches, and that the volume where my mail resides is not excluded.  Nothing worked. I should note that I am using one SSD for macOS, and a separate SSD for my Home directory (c/o &quot;Advanced Options&quot; under Users &amp; Groups).  I've had this setup well before Big Sur, again, without any issues. Interestingly, I tried using the Spark email app, which DID successfully find dollar figures without any issue.  I suspect that Spark is not relying on Spotlight to obtain search results, and that's why it works.  (I would use Spark, however it doesn't support local mailboxes.) I've already sent Apple a report using the Feedback Assistant, and I can only hope something will get fixed. Can anyone else confirm this issue with Mail.app on Big Sur?  Any ideas on what else I can do? Why does my query run fast in Environment A, but slow in Environment B? I have a piece of SQL that seems to run really fast in Environment A, but the exact same query runs really slow in Environment B!  Environments are supposed to be the same, so what should I do and/or where should I look in order to see why the query doesn't perform the same? How does delete[] know it's an array? Was Grand Moff Tarkin under Darth Vader's control? In A New Hope, we see Grand Moff Tarkin ordering Darth Vader around. Also, it was . It's uncertain whether he knew .  But considering that Darth Vader was a Sith Lord, and a Jedi before that, are we entirely sure he wasn't secretly controlling Tarkin through a Jedi Sith mind trick? I like some of the features provided by the Vim-LaTeX suite, but not all of them.  In particular, I dislike all of the mappings like [[ = \left[ \right] and the automatic placeholder stuff with &lt;++&gt;. I am a very fast typist but with that comes more typing mistakes, which I correct almost instantly by pressing backspace. Unfortunately, if something has automatically added a bunch of place-holders or expanded some expression, I then have to move around the document and remove more characters than necessary. For example, if I accidentally press [ twice, instead of only having to delete one character, I have to delete 10.  Having already looked through the documentation, and some of the source, I have managed to disable some of these "features", but not all of them:  In particular:  let g:Tex_SmartKeyBS = 0 let g:Tex_SmartKeyQuote = 0 let g:Tex_SmartKeyDot = 0   (Turn off maps for backspace, double quote and triple dot.)  let g:Imap_UsePlaceHolders = 0   (Turn off &lt;++&gt; placeholder insertion.)  But I can't seem to find a way of turning off the other stuff. Anyone have any suggestions?  Edit: I was able to "disable" some more things by setting:  let g:Tex_Leader = '`tex' let g:Tex_Leader2 = ',tex'   (Which stops some expansions but still not all. It's not really disabling it but just making it less likely that you're going to type in `texa as opposed to the potentially more common `a, for example.)  PS: Personally, I think it is very poor practice to make an optional package that, when installed, greatly changes the default handling of your system. I don't mind some intelligent source highlighting etc, or some new commands (that don't clobber any old ones), but it seems unhelpful to enable this drastic kind of key remapping by default. WordPress and Git Workflow I know this question has been asked a thousand times, but I'm really trying to work out how to get the best out of Git when working with WordPress.  I've scoured the web and read dozens of articles, all that seem to cover the topic briefly. Here's a few of the most notable one's I've read recently.        Currently, my workflow looks like this.   Install WordPress locally Develop Theme Export WordPress Databases from local server Import WordPress Database to remote server Upload WordPress files and theme via FTP Client makes changes Download WordPress files and theme via FTP and export WordPress Databases from remote server Replace files locally Make development changes Re-upload via FTP, export and import database to remote server   I realise Git can streamline this process. It seems the best way to do this is to have a .gitignore file that ignores certain directories that don't need to be tracked, as well as having both a local and remote wp-config.php file.  But how do you handle the databases? Clients will usually make changes (posts/pages/plugins). Do I still need to export from the remote database and import back on my local server?  Can someone suggest the best workflow for me here? And walk me through the steps.  Also, I'd probably like to use Bitbucket as private repos with them are free, unlike GitHub.  Any help would be appreciated.  Thanks in advance! Adjective for someone who exaggerates emotions to get sympathy How to Implement Page Object and Page Factory Pattern in Selenium Webdriver? I am a beginner in learning selenium Webdriver. I am not able to understand how page object and factory models works and how it can be beneficial?    Kindly help me explain it with detailed explanation. It often occurs to me to add an edit summary to a question-edit immediately after submitting the edit, especially if the changes aren't obvious (formatting etc.). So I:   Click "edit" again. Fill in the summary Click on "Save Edits".   The 'edit' (no actual change has been made to the title/body/tags)  is accepted, but the summary doesn't show up, i.e. it is silently rejected.   I don't think it should work this way because the summary has been added by the original editor within the original edit's edit-window. In fact if I remember correctly, it to used to work as expected earlier; so perhaps this is a recent change. How do I fix the left mouse opening the menu instead of breaking blocks?