As a follow-up to this question:   Do HSAs and 401k's fall under the same treatment as IRAs when computing tax losses?  For instance, your HSA and 401k are set to allocate biweekly contributions and reinvest dividends for a Fund X resulting in a total of 50 shares purchased during the 30 days before and 30 days after a sale of 100 shares of Fund X in your personal brokerage account. Does the loss in the personal brokerage account only apply for 50 shares of Fund X?
I sold an investment in a standard brokerage account at a small loss because I needed the money for a down payment.  I still think it is a good investment, can I buy the same investment in a standard IRA without running into wash sale problems?  I will probably just wait the 30 days any way to avoid any headaches, but I want to know if there is a definitive answer on this.    Being as the cost basis in the traditional IRA doesn't matter, I wouldn't think there would be a problem.
Vim not displaying Input mode (14.04) When I open up the Vim editor, it's supposed to show at the bottom of the screen whether I'm in Input mode or not. But it stays blank whether I'm in Command mode or in Input mode.  Also, vimtutor doesn't work. All I get is a blank screen without any instructions.  It's the same whether I open up a terminal or use a virtual console.  Any ideas what might be wrong? How do I figure out what package something is in without resorting to Google? I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me:  $ make html sphinx-build -b djangohtml -d _build/doctrees   . _build/html make: sphinx-build: Command not found make: *** [html] Error 127  $ sudo apt-get install sphinx E: Unable to locate package sphinx  $ sudo apt-get install sphinx-build E: Unable to locate package sphinx-build   googles  $ sudo apt-get install python-sphinx   Is there a better way? Reference template variable within Jinja expression Solving "mv: Argument list too long"? I have a folder with more than a million files that needs sorting, but I can't really do anything because mv outputs this message all the time  -bash: /bin/mv: Argument list too long   I'm using this command to move extension-less files:  mv -- !(*.jpg|*.png|*.bmp) targetdir/ 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: Setting DIV width and height in JavaScript Programmatically delete one entry from one field on one entity What's the proper way to programmatically delete one specific field entry for a multi-entry field from one specific entity? (that's specific fields and specific entities, not field types or instances and entity types)  Here's some possibilities I've looked into which don't work:   Loading the entity with entity_load(), setting the field entry to =null or =array(), then saving with field_attach_update(). It's the closest I've found but it leaves a zombie null field entry in the database which shows up as a blank row on forms until the form is saved and hook_field_is_empty() can kick in (hook_field_is_empty() is configured such that =null or =array() will flag as empty). Loading the entity with entity_load(), unsetting the field entry by key, then saving with field_attach_update(). This seems to do nothing - it seems that Drupal interprets the entry not being there as a sign to not modify it. (strangely I also sometimes get maximum query time expiration timeouts when trying this approach) field_attach_delete() - this is much too blunt: it kills all fields for the entity field_purge_data() - better, but still too blunt: it kills all entries of the field, not specific entries   So to clarify, I've got code that finds (and loads) an entity which has a field that has multiple entries, and finds a specific entry on that field that needs to be removed. I want to remove that entry completely, without touching any other entries or any other fields on the entity. Open subscheme of an irreducible component remains open? Google calendar sharing I am a Google Apps administrator in the process of transferring a multitude of secondary calendars from a previous Google account. So following advice from  I did the following:  Old Account   Download calendar and save as ICS   New Administor Account   Create new calendar Select "Share Calendar With Others", "Share calendar with everyone in the organization - see all event details"    However nobody in the organization can see the new calendar under "Other Calendars" nor do they get any form of notification.   It seems everyone in the organization has to now somehow add this calendar(s) via "Add a colleague's calendar" OR I have to add each user's new Google account. This is turning into an administrative nightmare.  The behavior I want is:   Maintain a list of calendars that everyone in the organization has access to By default all users in organization have "See All Event Details" access. Certain organization users have "Make Changes To Events" and Apps Administrators have "Make Changes AND Sharing" As users are added/removed to the Google Apps domain the access to these calendars are automatically granted/revoked ie. Organization users should not have to do anything to get access to the list of calendars.   I am sure there is a simple solution to this that I am missing, so if someone can point me in the right direction I would appreciate it. I have 2 hard disks, on first I have installed win xp. I boot into xp and run setup of win7 and installed it on second hard disk. Now the problem is that win7 bootloader is installed on first harddisk, so if I remove the first harddisk, I cannot boot into win7.   How I can move / install bootloader of win7 on second hard disk? Does "Delete Local Content" retain save files? If you remove a single player game installation with the Delete Local Content option from the Steam Libary, in general will save files be deleted or retained? consider $r&gt;0 , p&gt;1$ and $K \subset B(x_0 , 2r) \subset R^n$ . $K$ compact. Define the sets :  $$A = \{ u \in C^{\infty}_{0} (B(x_0 , 2r)); \textit{ such  that }  \  u=1 \textit{ in a open  neighborhood of K} \}$$  $$ B =  \{  u \in  H^{1,p}_{0} (B(x_0 , 2r)) \cap  C (B(x_0 , 2r))  : u=1 \  on \  K  ,  \  0 \leq u \leq 1\}$$  I want to show that   $$ \displaystyle\inf_{u \in A} \displaystyle\int_{B(x_0 , 2r)} |\nabla u|^p  \ dx= \displaystyle\inf_{u \in B} \displaystyle\int_{B(x_0 , 2r)} |\nabla u|^p   \ dx$$  For this i am trying to aproximate (in the sense of the  norm of $H^{1,p}$) the function of B , by function of $A$.  Somenone can give me a hint ?  thanks in advance Very similar to , except for Java.  What is the recommended way of encoding strings for an XML output in Java. The strings might contain characters like "&amp;", "&lt;", etc. What is "function*" in JavaScript? Cannot start XAMPP on Ubuntu 11.10 Which is faster/best? SELECT * or SELECT column1, colum2, column3, etc I've heard that SELECT * is generally bad practice to use when writing SQL commands because it is more efficient to SELECT columns you specifically need.  If I need to SELECT every column in a table, should I use   SELECT * FROM TABLE   or   SELECT column1, colum2, column3, etc. FROM TABLE   Does the efficiency really matter in this case? I'd think SELECT * would be more optimal internally if you really need all of the data, but I'm saying this with no real understanding of database.  I'm curious to know what the best practice is in this case.  UPDATE: I probably should specify that the only situation where I would really want to do a SELECT * is when I'm selecting data from one table where I know all columns will always need to be retrieved, even when new columns are added.   Given the responses I've seen however, this still seems like a bad idea and SELECT * should never be used for a lot more technical reasons that I ever though about. For what powers $k$ is the polynomial $n^k-1$ divisible by $(n-1)^2$? Random point uniform on a sphere If $X=(x,y,z)$ is a random point uniform on the unit sphere in $\mathbb{R}^3$,  Are the  coordinates $x$, $y$, $z$ uniform in interval $(-1,1)$? If all the roots of a polynomial P(z) have negative real parts, prove that all the roots of P'(z) also have negative real parts Predict probabilities from Firth logistic regression in R I'm using the logistf package in R to perform Firth logistic regression on an unbalanced dataset. I have a logistf object:  fit = logistf(a~b)   Is there a predict() function like on that's used in the lm class to predict probabilities for future data points? Or do I have to manually input the estimated parameters from the Firth regression.