I have an old PC with 12.04 LTS on it, used headless for NAS.  It's set in the BIOS to boot on AC application and grub2 is set to continue after a 10 second wait time.  Every "X" number of boots (less than 10% of the time), the boot process hangs after the grub countdown finishes and a blank screen appears.  There is no hard drive activity.  The odd thing is that if I then press the power switch on the PC, it shuts off, and if I press the power switch again, the grub screen comes up with 1 second remaining (instead of the normal 10 seconds), and the boot proceeds normally.  I'd really appreciate suggestions on how to track this down.  What logs can I look at?  It's especially perplexing that it only happens every now and then.
After upgrading my laptop from karmic to lucid, my fat32 partition won't mount automatically. I get the message:  The disk drive for /osshare is not ready yet or not present Continue to wait; or Press S to skip mounting or M for manual recovery   Funny thing is, if I skip, then /osshare/ is mounted once I log in.   I've a similar setup on my desktop, and it works fine. Fstab on desktop:  UUID=4663-6853  /osshare        vfat    utf8,umask=007,gid=46 0       1   /etc/fstab on laptop:  UUID=1234-5678 /osshare vfat utf8,auto,rw,user 0 0
For some time, Microsoft has supported an option to remove the limit of 260 symbols for NTFS file name length.  The web is full of articles, describing what should be done.   Hit the Windows key, type gpedit.msc and press Enter. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem > NTFS. Double click the Enable NTFS long paths option and enable it.   However, I don't have such option. Please see the screenshot below:    Am I missing some Windows update, or is it something else? Efficient online linear regression "error: XDG_RUNTIME_DIR not set in the environment." when attempting to run nautilus as root I am attempting to run nautilus as root but when I run "sudo nautilus" from the terminal, I get the following error:     error: XDG_RUNTIME_DIR not set in the environment.      (nautilus:9341): Gtk-WARNING **: cannot open display:   The issue does not occur when I attempt to run nautilus as non-root. I am using ubuntu 14.04. Does anyone know how I can fix this? Term or phrase describing action occuring when not watching I am an IT professional. More specifically in automation. I am looking for a term or phrase that describes the event when either:  a. you are watching something closely and the issue doesn't occur  or  b. you are not watching something at all and the issue does occur I am looking for various ways of explaining to my students (in an elementary statistics course) what is a two tailed test, and how its P value is calculated.  How do you explain to your students the two- vs one- tailed test? How can I search for one label but not another? What search query will return conversations that have the label Reading but not the label Ignore?  I've tried using label:reading -label:ignore but Gmail still returns conversations that have the label Ignore:    The query label:(reading -ignore) gives me the same results. What is the difference between Clamav and Clamtk? I know that both of them are antivirus. New Google SEO benefit with SSL - with only a few sections in SSL, or always on? Cool Text Highlighting in LaTeX Luggage transfer in Dubai between flights, without a visa I am traveling from Stockholm to Dubai and Dubai to Nairobi using two different airlines. I have Kenyan nationality and can't go through Immigration because I don't have a Dubai visa.    How I will get my luggage? Independent Edit/Object mode in splitscreen When I split screen in two and switch Edit/Object mode, they both change. How to change just one? The intention here is:  use one to modelling with numkey view with transparent wireframe and the other to see the progress in perspective, with solid mesh How to fake a package version installed? Being an early adopter and using 11.04 daily builds I sometimes meet a situation when some packages require earlier versions of other packages than those I have installed. Usually newer (but refused) versions of needed packages provide all the functionality of their older versions.  If I use dpkg -i --force-depends-version to install dependent packages everything works fine, I've never seen a problem.  Instead of manually downloading and installing every package, can I just make the system pretend there is a specific package version installed when there is a newer? Or is there a --force-depends-version key equivalent for apt-get? What happens to Bruce Banner when Hulk loses a tooth? In Age Of Ultron we witnessed Hulk lose a tooth.   My question is: Has Bruce Banner lost a tooth as well? Show that unit circle is not homeomorphic to the real line Cannot find Underground Jungle Temple On my 1.2 Terraria Map I have been mining from left to right in my large underground jungle using my rocket launcher. Despite this, I have had no luck on finding the Underground Jungle Lihzahrd Temple. I have been searching the layer above where lava constantly spawns. Have I simply spawned in a world without one or am I searching in the wrong place? I have also considered using the clentimator with Dark Blue ammo to provide light, should I do that? Why, oh why, don't the Weasleys "conjure" up some diamonds/gold/etc, sell 'em to Muggles, and get rich? They could buy a mansion (like the Malfoys), and live there happily ever after.  I know there's  that prohibits one from conjuring food (which doesn't make much sense to me, either). Even if it applied to gold, what about all the other elements/compounds/materials? Could the law really be 'don't let a wizard conjure something if it'll make them richer'? That's totally nonsensical.  Why does Wizard society still have poor people, especially if they're talented? Understanding how an ETF works I am trying to fully understand how ETFs work. For the sake of simplicity, let us restrict ourselves to physical replica ETFs. Let us suppose that an ETF follows an index which tracks three stocks: Alice Enterprises (A), Bob Industries (B) and Charlie's (C). We want to invest 1000$. The prices of each individual stock are 100$ (A), 10$ (B) and 1$ (C). The index weights at this moment are 60% (A), 30% (B), 10% (C). If I am not mistaken, when we buy a fund tracking this same index, the fund manager will automatically buy 600$ of A, 300$ of B and 100$ of C. Now, if we buy an ETF the underlying process is unclear to me. I understand the concepts of authorised participant and NAV spread. If A increases its value to 110$, authorised shareholders will first withdraw shares of A from the ETF and sell those shares, and then they will buy the ETF, pushing the ETF price upwards. This way the ETF price is automatically regulated and the authorised shareholders earn a profit. Everybody is happy. In contrast to a fund, when we buy an ETF we are not generally buying ETF shares from the ETF manager. Instead, we are buying ETF shares from another investor. Therefore... as I understand it, no new shares are really bought. And thus, following the process above, if we buy the ETF we push its price upwards. This again creates a &quot;gap&quot;, this time the price of the ETF is momentarily higher than its underlying assets and, therefore, authorised shareholders will sell ETF shares and buy shares of A, B and C. So... an ETF manager only buys a fixed amount of shares when the ETF is created? I want to know if I am correct in this reasoning about how the basics of physical ETFs work. I have tried to keep things as simple as possible. I understand that there will be lots of quirks and quincks, and it is great if these are elaborated in the answers. Possible Duplicate:             Well, I remembered this after having Algebra II a year ago, is it possible that this is a valid proof that $1 = -1$?  $$ 1 = \sqrt{1} = \sqrt{-1\cdot-1} = \sqrt{-1} \cdot \sqrt{-1} = i \cdot i = i^2 = -1 $$  $$ \therefore 1 = -1 $$  So is this actually fully valid? Or can it be disproved? What happens if you call erase() on a map element while iterating from begin to end? In the following code I loop through a map and test if an element needs to be erased.  Is it safe to erase the element and keep iterating or do I need to collect the keys in another container and do a second loop to call the erase()?  map&lt;string, SerialdMsg::SerialFunction_t&gt;::iterator pm_it; for (pm_it = port_map.begin(); pm_it != port_map.end(); pm_it++) {     if (pm_it-&gt;second == delete_this_id) {         port_map.erase(pm_it-&gt;first);     } }   UPDATE: Of course, I then  which I didn't think would be related but answers my question. A composite integer n is a Carmichael number if the only Fermat   witnesses for $n$ are those $a \in \mathbb Z_n^+$ which are not   coprime with $n$. The smallest example of such a number is $561 = 3 ·  11 · 17$   I think I understand the definition, but I don't quite understand why is the smallest Carmichael number is the above mentioned number. Please clarify.