Why can i put my laptop to sleep without sudo myself in a terminal, but not in a cronjob
command not running in cron (systemctl suspend)
"Hot" tab in is badly skewed and misleading - time to replace it with actual hot questions? Each site got a &quot;hot&quot; tab, where its contents are calculated based on . However take a look on the screenshots below and see for yourself that &quot;hot&quot; got nothing to do with many of the questions listed there. :    :    As you can see, there are questions with negative score, no answers, and even closed. I won't be surprised to see spam in there as well. This can't be any worse. What I suggest, instead of fixing the formula or patching it, simply have the hot tab show the same questions as the Hot Network Questions sidebar. (from the specific site only, of course.) Since the hot questions &quot;pool&quot; (as seen ) is limited to 100 for the whole network, either expand it or have the per-site list show questions with less hotness points - it would still be better than what we have now. How do I align an image to centre? How do I align an image to centre?  In a beamer presentation I have a 2-3 items on a slide followed by an image. The image is not wide enough to cover whole slide, so it leaves around 30% space from right. How do I adjust it to leave enough space on both sides?  \begin{frame} \frametitle{Outlook} \begin{itemize} \item apps \item apps \item apps \includegraphics[scale=0.3]{P2P}     \end{itemize} \end{frame} Engines that play Mangala? Live USB for installation does not boot, black error screen followed by visual artifacts on a purple screen Integrate $$\displaystyle \int_{0}^{\pi}{\frac{x\cos{x}}{1+\sin^{2}{x}}dx}$$ Given $a>b>2$ both positive integers, which of $a^b$ and $b^a$ is larger? How do I effectively defeat the Wall of Flesh? Why do universities have to spend money on journals? Obviously this is a question in the light of the recent Elsevier boycott. Currently we do have an arXiv, maintained by academia and where researchers regularly upload parts of their work. In such a case,   Why do universities spend lots of money to publish in third-party journals?   The question especially applies to journals that operate with a rigorous profit motive. The subscription is very high, so wouldn't publishing in such journals affect the paper's citation count and deter the spread of knowledge about the work within academic circles?   Why should not universities collaborate to create free, open access, peer-reviewed journals?   Moreover, given the need to conserve paper, why should journals spend on printing research papers? Wouldn't an online version suffice, as most people use only local computer printouts anyway? In other words, why can't we have a Wikipedia-like system of sharing research knowledge, having properly established standards for such journals? Changes to "close as duplicate" (part deux) This one has me kind of stumped. I want to make the first word of all the paragraphs in my #content div at 14pt instead of the default for the paragraphs (12pt). Is there a way to do this in straight CSS or am I left wrapping the first word in a span to accomplish this? How can I put the computer to sleep from Command Prompt/Run menu? How to make tr aware of non-ascii(unicode) characters? I'm trying to remove some characters from file(UTF-8). I'm using tr for this purpose:   tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat    File contains some foreign characters (like "Латвийская" or "àé"). tr doesn't seem to understand them: it treats them as non-alpha and removes too.  I've tried changing some of my locale settings:  LC_CTYPE=C LC_COLLATE=C tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat LC_CTYPE=ru_RU.UTF-8 LC_COLLATE=C tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat LC_CTYPE=ru_RU.UTF-8 LC_COLLATE=ru_RU.UTF-8 tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat   Unfortunately, none of these worked.  How can I make tr understand Unicode? How can Kitty Pryde achieve time travel with her phasing abilities? In X-Men: Days of Future Past, how does Kitty Pryde suddenly get the power to send people's minds back in time? Initially she was only able to phase through objects and could extend this power to other people. The explanation of this cited molecular spaces.  How does she go from there to time travel all of a sudden?? Google sheets split multi-line cell into new rows (+ duplicate surrounding row entries) I'm compiling a database of business address info, including key staff for each business. The Google spreadsheet I've inherited for this project includes a column for 'key staff' (in column B), with multiple key staff names listed in the same cell, separated by line breaks (ie CHAR(10) ). There is one business per row. The number of lines in the 'key staff' cell varies row-by-row.  My initial sheet looks like this:    I need to do the following to optimize this sheet:   split each multi-line ‘key staff’ cell so each key staff name appears on its own row. This requires that new row/s be inserted beneath the original row. duplicate the data from all other cells on the original row (i.e. from columns A &amp; C:E), so that each new row contains the full data for each business I need an automated process - I'll have about 1000 businesses to process so can't do this with any manual steps   The sheet should then look like this:    Using =TRANSPOSE(SPLIT(B1,CHAR(10))) obviously only goes part of the way - it doesn’t insert new rows and doesn’t duplicate the surrounding column entries. All help gratefully accepted! How to get Text to follow semicircular path, read left to right and oriented counterclockwise I'm using adobe illustrator, and I'm trying to get the text to orient from left to right(counterclockwise) and not upside down but I cannot get it to do that on the path I've created. Im pretty beginner with illustrator, any help would be greatly appreciated. thank you I have heard that there are some Pokémon that are region specific.  Could someone please clarify which Pokémon are region specific and in which regions that they can be found in? How do I calculate the voltage needed to heat up a wire to a certain temperature? The wire I am using is standard temp. nitinol wire which needs to be heated up to 45 degrees Celsius in order to be effective (move). What voltage do I need to achieve this? When do you use Quantum Mechanics? Given a problem, how does one know whether to use quantum mechanics or classical mechanics?   Take for example electron scattering from a nucleus. The electrons are given a wavefunction in this case. Why not use the classical approach? No, actually I didn't, but that was a close call and I'm really curious how would one go about that one.  On my third or fourth visit to the Nether, I still didn't realize the risk, and didn't place marks that would help me get back to the origin (currently I like to use flint and iron to create big flaming arrows towards the exit, visible from afar.) I wandered past one hill, and then I couldn't locate the place I came from. I wisened up and started placing marks in form of torches, towers of netherrack with glowstones on top etc. The bunch of wood I had in my stash has proven invaluable as I ran out of steaks, and had to craft a bowl and start making mushroom soup. I realized the fastest way back would be to simply die, but since I had no clue where I was, that would mean losing my quite precious equipment, which cost me a lot of time and effort to gather and enchant, for that trip specifically. I also knew I had traveled rather far from the portal before starting placing marks, so the chances of finding it again by going in any random direction were rather slim.  By sheer luck I found one of the caverns I had explored before, and found my way back, but that was really a close call and I'd prefer to know any hints what to do in Nether if you're already lost (no Obsidian to build a new portal, not willing to die and forgot the direction to the exit.) Can a regular salaried (w2) employee opt to pay quarterly taxes? As a consultant, I got used to paying quarterly taxes. Now that I'm a regular w2 salaried employee, I'm subject to normal withholding on each pay statement. I would like to keep making exact quarterly payments instead of having a (generally incorrect) amount held back each paycheck.   I haven't been able to find any information on the 1040-es that would make me think I'm ineligible to do so, but I suspect that it may be the case. I'd have to stop paycheck withholdings by updating my w4 to either have a high number of exemptions or mark myself as exempt from taxes, which I assume is where the rub lies.   So, as a regular salaryman, is it possible for me to pay taxes exclusively through quarterly payments in lieu of traditional withholdings?