According to , people pay varying long-term capital gains tax based on an income-based rate schedule.    It appears that a person with single tax-filing status who earns less than $39,375 (in 2019) and that sells assets held for more than one year would essentially not pay any capital gains tax.   My question: is this $39k limit based on just income from a job or does it also include the capital gains as part of this income?  To help me be sure I understand, could you indicate the tax rate of each of the following single-filing status scenarios?   $36k income on W2  +  $4k from selling long-term assets. $10k income on W2  +  $30k from selling long-term assets.  $0 income on W2  +  $40k from selling long-term assets.   It seems to me that each of these scenarios would be taxed at the 15% rate, but I'm trying to make sure I understand this correctly.
First, my understanding is that the long-term capital gains tax rate is 0% for those whose marginal rate on ordinary income is 10% or 15%, and (ignoring the highest 39.6% bracket) the rate is 15% for everyone else. (See  and .)  My interest is in what happens at the crucial break between the 15% and 25% bracket, which is $73,800 for married/joint returns in 2013 (and presumably will be higher in 2014, though I haven't been able to find out what that is or if it has even been set yet). Let's say a household has $64,000 in wage income, and sells stock for a $10,000 profit.   Does their income for the purposes of establishing their tax bracket go to $74,000? If so, is the entire $10,000 profit subject to the 15% long-term capital gains rate? Is any part of the wage income subject to the higher marginal tax rate?   Since the amount of income subject to the higher marginal rate is, well, marginal, part 3 seems somewhat less important than part 2. The real issue is whether the capital gains rate hits the entire profit, since, in that case, it seems the household should only sell enough stock to generate a $9000 profit, and sell the remainder in a future year.
What does character set and collation mean exactly? I can read the MySQL documentation and it's pretty clear. But, how does one decide which character set to use? On what data does collation have an effect?  I'm asking for an explanation of the two and how to choose them. Over the time I've been able to vote for closure on SO, I've gotten into the habit of clicking on the reason itself in order to select the radio button corresponding to it. Since the reasons have changed, there are also now links in the middle of the text, which I also happen to accidentally keep clicking on. More annoyingly, these links don't open in a new tab so I have to click back and redo it. This happens most often with the "FAQ" link in the off-topic dialog, which is right there in the top left corner where I normally click.        Basically, those pieces of text now have two functions. One function of it is selecting the corresponding radio button and the other function is loading a new page. Obviously loading the new page trumps simple selection.  This has become even more painful now with the new off-topic messages, where a large portion of the message is a link:        A simple feature request: can the vote-to-close dialog itself not render the links? Logarithmic y-axis and restrict y to domain fails I'm trying to plot data with a logarithmic y-axis and restricting the y-data to a specified domain, but compilation fails for a reason I don't understand. This is the code:  \documentclass{standalone} \usepackage{pgfplots} \begin{document}% \begin{tikzpicture} \begin{axis}[ymode=log, restrict y to domain=1:6] \addplot coordinates {(0, 1.1e1) (1, 1.7e3) (2, 0.0e0) (2, 3.4e7) (4, 8.1e5)}; \end{axis} \end{tikzpicture} \end{document}   Running it results in an error message:  ! Missing number, treated as zero. &lt;to be read again&gt;                     i l.6 ..., 1.7e3) (2, 0.0e0) (2, 3.4e7) (4, 8.1e5)};   According to the pgfplots manual for version 1.5.1 (29 December 2011), page 272 (about restrict x/y/z to domain), For logarithmic axes, min and max are logs of the respective values. If I disable either the logarithmic y-axis or the domain-restriction, the code runs successfully and output is as expected (but not as desired).  Software versions:   pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) (format=pdflatex 2012.5.30) pgfplots 2011/12/29 v1.5.1 (git show 1.5.1-4-g53e640f )  tikz 2010/10/13 v2.10 (rcs-revision 1.76).   What's going on? What am I doing wrong? Or is this a bug? I have a website that sells music artists posters. Each artists has a page containing a small bio, and a list of posters we are selling representing the artist.  Currently our HTML looks like that  &lt;h1&gt;{Artist name}&lt;/h1&gt; bio &lt;h2&gt;Posters&lt;/h2&gt; &lt;ul&gt;   &lt;li class="poster"&gt;...&lt;/li&gt;   ... &lt;/ul&gt;   We are redesigning this page, and we have a new template that we really like. Problem is that in this new version the &lt;h2&gt;Posters&lt;/h2&gt; does not appear anywhere on the page.  As you might expect, a significant part of our traffic comes from people typing something like : "{Artist name} poster" on Google.  I fear that, by removing the word "poster" from the page, we will reduce our chances of getting these people to come to the site, since Google might down rank us.  I see several options here :   Give Google a slightly altered page that contains the H2 tags. But I think this falls into the "Black Hat SEO" category. And I don't want that. Put the heading. Hide it with CSS. Everyone wins, including accessibility tools which can determine the structure of the page using the "invisible" heading. But I do not know if this is considered a good practice. Forget about the heading, and find other ways to tell Google that we really are about posters. (via keywords, but do they really have the same "weight" as an H2?) Adapt the design to our SEO need, and find a way to put that heading nicely.   Are there webmasters out there that have been facing the same issue, how did you resolve it? Should I format /sdcard and /data if I want to wipe all personal data with Cyanogenmod? I'm trying to completely wipe all personal data from my Nexus 4 with CM installed. I've seen different advice on different sites for making sure all my data is gone:   Just do 'Factory Reset'. Do 'Factory Reset' at least 3 times. Do 'Factory Reset' and wipe dalvik cache. ...   and so on... I'm interested in erasing all traces of my personal data from the device. It's a Nexus 4, so there is no removable storage to worry about.  My guess would be to 'wipe data/factory reset' and 'wipe cache partition' in the main recovery menu. In the mount/storage menu, I would choose 'format /cache', 'format /data', and 'format /data and /data/media (/sdcard)'. Finally, in the advanced menu, I would choose 'wipe dalvik cache'.   Is this thorough enough? Should I also choose 'format /system', 'format /firmware', etc? Are there any options I should steer clear from? I would like the phone to boot to a fresh Cyanogenmod after clearing all data. Beamer: change header background color I have decided to switch from Powerpoint to Beamer, and for my first presentation I'd like to use the , and the same colors as in this goggle slide template:  .  I tried to do some research about it, the closest answers I found are the question  and the . I tried this code:  \documentclass{beamer} \usepackage[frenchb]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \usetheme{metropolis}  \definecolor{bluegreen}{rgb}{3, 166, 155} \definecolor{pitchblack}{rgb}{0, 0, 0} \definecolor{lightbeige}{rgb}{255, 251, 241} \definecolor{mediumgray}{rgb}{183, 183, 183}  \setbeamercolor{background canvas}{bg=pitchblack} \setbeamercolor{normal text}{fg=lightbeige} \setbeamercolor{headline}{bg=bluegreen, fg=mediumgray}  \begin{document} \begin{frame}     \frametitle{The title}     Lorem ipsum... \end{frame} \end{document}   I does everything I want, except that the title bar's background color is lightbeige:    What did I do wrong? Or what argument should I pass to \setbeamercolor to get it right? Thanks in advance :-). I'd like to highlight paragraphs such that the highlight color appears as one whole rectangle underlying the entire paragraph. I have looked around but nothing gives me the desired effect so far.  For example \fcolorbox{} from xcolor cannot highlight an entire paragraph; \hl{} from soul leaves out spacings between lines uncolored.  I am wondering how I can do this? Is there any example of a non-measurable set whose proof of existence doesn't appeal to the Axiom of choice? Is there any example of a non-measurable set whose proof of existence doesn't appeal to the Axiom of choice?  What would it imply if there was such an example?  EDIT: For instance, maybe this will help understand the kind of example I had in mind, it is known that an important feature to determine that the AC is needed in the Banach-Tarski case is the non-transitivity of rotations on Euclidean space, one might find an example of a transitive group for some given space keeping the rest equal and make the AC unnecessary?  I guess then it might be said that this transitivity will be in this particular case equivalent to the AC or some amount of it, but I guess that it would be important to show this if it hadn't been realized before. For those who duplicated my previous question - ; am NOT asking how to install Skype for God's sake!!   The question was rather - I already have Skype installed, the thing is there is no possible option for me to do group video call or group screen share. The interface itself resembles the times when Skype was newly born. While on Windows, Skype's latest version is around 6.(something), here it's only 4.3. In Windows group video call is now free on Skype, here I can't even do video call! I think this is a major drawback for an otherwise so good OS! Is there anything that can be done about it?  Thanks for any help!  For those who don't have an answer for me, I still thank you for at least understanding my question!!  Have a good day! I'm making a call:  myResult = MakeMyCall(inputParams, out messages);   but I don't actually care about the messages.  If it was an input parameter I didn't care about I'd just pass in a null.  If it was the return I didn't care about I'd just leave it off.    Is there a way to do something similar with an out, or do I need to declare a variable that I will then ignore? I have been using LaTeX for a long time now, and I find myself often going to this website to solve my problems. This often includes copy pasting codes which include \newcommand, \newenvironment and \def. I think it is time I start to learn how to use them so I can solve my problems myself! It is always better if you actually know what is going on inside your code.  I am wondering if there is any turtorial or book out there that handles how to use those commands. Or is the best way to learn to just mess with a random file?   Thanks in advance!  (Also this is my first time I post here after using this website for so long, I really appreciate everyone who posts and tries to help other people here!) What type of control joint is best for my concrete project? I'm looking at getting a lot of concrete work done and am looking to educate myself past the minimal anecdotal information I posses so that I can have a better conversation with prospective contractors.    Expansion joints, saw cut or hand troweled - is this just preference or is there a good reason to go for one over another? From an aesthetic perspective I like hand troweled but I've been told that the saw cut can leave the concrete stronger as you are interacting with the wet concrete less.   Google doesn't seem to provide much info by way of POV on this, just that there are options, so I look to the community here to see if there is a collective wisdom.  For perspective, this is for a standard 4" thick driveway, 6" thick apron, and garage floor. Group of order $pqr$, $p < q < r$ primes Prove that if $d$ divides $n$, then $2^d -1$ divides $2^n -1$ Prove that if $d$ divides $n$, then $2^d  -1$ divides $2^n  -1$.  Use the identity $x^k  -1 = (x-1)*(x^{k-1}  +  x^{k-2}    + \cdots + x +1)$ Low Quality review queue erroneously showing "Close" instead of "Recommended Close"? I was in the Low Quality Review queue, and the following review confused me:    It's showing eight "Close votes", which should be more than enough to close a question.  I checked the question's , and it wasn't somehow closed, then re-opened in the middle of the review.  So I then checked on each of the users, and noticed that the majority of them are under 3000 reputation, meaning they can only "Recommend Close".    However, all reviews are simply showing as "Close", which is extremely confusing.  Is this a bug, or possibly an undocumented change related to ?    Another recent example: Looking for solo (one person) RPGs - do they exist? I am looking to find out if solo RPGs exist, and which you'd recommend.  I do not mean "one-on-one" 1 player + 1 GM games. I really mean "1 person."  Update: After receiving two (fine, up-voted) answers that indicate Choose Your Own Adventure solutions (which rocks with nostalgia), I should add that I'm not looking for simple linear decision tree gaming. A counterexample: I've got my own little creative-writing mini-game where I write out a story, but once every 5 sentences a series of dice-rolls forces my written sentence into something else, and I have to adapt as writer. Not really an RPG, but also non-linear. How can you profile a Python script? and other coding contests often have a maximum time to run or people boast of how fast their particular solution runs. With Python, sometimes the approaches are somewhat kludgey - i.e., adding timing code to __main__.  What is a good way to profile how long a Python program takes to run? Why is wine made 'from' grapes, but tables are made 'of' wood? (1) Wine is an alcoholic beverage made from fermented grapes or other fruits. (Wikipedia) (2) Tables were made of marble or wood and metal (typically bronze or silver alloys), sometimes with richly ornate legs. (Wikipedia)  Why is 'from' used in (1), whereas 'of' is used  in (2)? Is it a stylistic choice whether to use 'of' or 'from'? Or, in case of chemical changing, differently from changing in shape only, 'from' is preferable? I am  with the Google login for Pokemon Go. Is there any way, be it contacting support or through Trainer Club, to either link my Google account to a new Trainer Club account or transfer my account to a Trainer Club account?  It seems like a better idea to have a Trainer Club account, so if there are Google login problems it won't matter.  Does anyone know if something like this is possible? What kind of edits contribute to the editor badges? The descriptions for the editing badges are:     Editor:    Strunk &amp; White:    Copy Editor:    Does "posts" include your own questions/answers, or are these badges just for edits to other people's stuff?  Other questions about how editor badge works:   What if I edit only a question's tags, but not its body? What if I edit both a question's tags and its body? Do edits to Community Wiki posts count? Do edits to answers count? Do edits to tag wiki pages count? Do edits to comments count? (Moderators can edit other users' comments, even outside of the usual five minute window.)