$ uname -r 4.15.0-23-generic  $ lsb_release -r Release:    18.04   First happened after upgrading kernel version to 4.15.0-23-generic but when I switched back to 4.15.0-20-generic it worked fine until now (there was an update a few days ago). Now my laptop does not wake up from suspend on either kernel version.  Any suggestions on what to look at / try out? I've tried the suggestions I've been able to find online but to no avail.
This was working perfectly on 17.10 but after upgrading to 18.04 yesterday, when the lid is closed the screen turns off but doesn't suspend properly.  I travel around a lot and immediately noticed the heat (and battery draining) when taking it out of the travel case.  I've tried uncommenting these lines in /etc/systemd/logind.conf  HandleLidSwitch=suspend HandleLidSwitchDocked=suspend   and restarted but didn't make any difference.
Print LIST of unicode chars without escape characters I recently switched from Windows to Mac. Steam says I have fewer Mac specific games than total games and it should be an equal amount unless you can only download, install, and play once from your account. I thought I bought it so that it would work across all operating systems. If this is true, is there a work around or a discount for re-purchasing for the other OSes? What’s the real-world origin of the name Azor Ahai? Azor Ahai is some mythical hero, who may or may not coincide with other mythical heros that are supposed to be born and save us from the eternal night (which is dark and full of terrors, if we are to believe Melisandre).  But I'm interested in the origins of the name, here, in our world. More specifically because in Hebrew "Azor Ahai" means (albeit ungrammatically) "Help my brothers", or if you transliterate it differently you'd get "The Living Help".   Since writers often take meaningful names to be terms from other languages (and mangle them a bit), I can't help but wonder Did GRRM reveal the origin of the name "Azor Ahai" at some point? What can cause an answer to get deleted without information about who actually deleted it? Usually when answer gets deleted directly (i.e. not as side effect of its parent question deleted) it says "deleted by [name here] [time stamp]". Plus, it always leave a revision.  However, I just stumbled over  on Stack Overflow:        Weird, don't you think? Looking in the , nothing strange in there and nothing strange in  as well.  Finally, the last straw... :        Another thought was maybe some automagical conversion to comment, but no such comment exists.  Can anyone shed some light over this phenomenon? I have a laptop with Ubuntu installed as the only OS. I also have a USB stick with a Windows 7 installation on it. I want to install Windows from the USB stick on my laptop but when I try to restart the laptop to get access to BIOS, I can't seem to find the command for it, its like it skips everything and just says Ubuntu and then takes me to the login screen.  How do I change the boot priority to USB in Ubuntu? What's the simplest way to list conflicted files in Git? I was trying to install Linux on my MacBook for class when I bricked my computer, which now in an unbootable state.   I made my partition too small, so I was going to delete and create a larger one. However, Disk Utility did not allow me to delete the small partition. I followed the instructions from   However, not only was I still unable to delete it, but upon restarting I realized my primary partition (located on the same disk) changed into FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF, and I had no options to boot.  (I am sure I performed the command on the correct disk and partition)  I saw some similar threads, but my main bootable drive is the one that got corrupt.   I don't want to lose any data. I'm not the most terminal savvy, so ANY help is appreciated, and I will kindly provide any additional information!  (Disk 0, partition 2 is my main partition, and that only one I care about)  Below are the results of  $ diskutil list and $ gpt -r show disk0.        UPDATE: :  I have followed @klanomath 's instructions. At the last step I received the following error:  Checking prerequisites Checking the partition list Checking for an EFI system partition Checking the EFI system partition's size Checking the EFI system partition's file system Problems were found with the partition map which might prevent booting Error: -69766: The partition map needs to be repaired because there's a problem with the EFI system partition's file system Underlying error: 8: POSIX reports: Exec format error    FINAL UPDATE: SUCCESS!  I just wanted thank @klanomath for helping me through this entire process. He spent 11 hours TeamViewing with me until not only my files were accessible, but until I could access my computer as could before this whole debacle (and this was after 5 hours of email correspondence).   To any future reader with this problem: PLEASE don't give up, it can be fixed! Dark matter and dark energy references I've been looking for questions about dark matter, and I've read some very interesting answers. However, I desire too look into it deeply.   This is not actually a question. I'm asking the community to recommend interesting references to understanding dark matter and dark energy.   I accept all sort of references: notes, books, scientific papers etc.  Let us assume some background on classical physics, thermodynamics and basics about quantum theory. Is the vector cross product only defined for 3D? Wikipedia introduces the vector product for two vectors $\vec a$ and  $\vec b$ as $$ \vec a \times\vec b=(\| \vec a\| \|\vec b\|\sin\Theta)\vec n $$ It then mentions that $\vec n$ is the vector normal to the plane made by $\vec a$ and  $\vec b$, implying that $\vec a$ and  $\vec b$ are 3D vectors. Wikipedia mentions something about a 7D cross product, but I'm not going to pretend I understand that.  My idea, which remains unconfirmed with any source, is that a cross product can be thought of a vector which is orthogonal to all vectors which you are crossing.  If, and that's a big IF, this is right over all dimensions, we know that for a set of $n-1$ $n$-dimensional vectors, there exists a vector which is orthogonal to all of them.  The magnitude would have something to do with the area/volume/hypervolume/etc. made by the vectors we are crossing.  Am I right to guess that this multidimensional aspect of cross vectors exists or is that last part utter rubbish? Answer draft is lost if you click to sign up How to create an iso from current installation I installed Ubuntu 14.04.1 on one of my laptops and now I want distribute that exact installation to a few of my friends. I tried making an iso with Gparted on a live session but it makes a 500 GB file (I've only used around 8 GB) .   Thanks in Advance ! Get Emacs to ignore contents of \Sexpr{} command in Sweave document to prevent incorrect $-based syntax highlighting "Compared with" vs "Compared to"—which is used when? Is only one of them correct? Are they used in different situations? Or are they interchangeable? Is JavaScript a pass-by-reference or pass-by-value language? Is it possible to make an underfull tabulary spread out? With this MWE  \documentclass{article} \usepackage{tabulary}  \begin{document}  \hrule  \begin{center}   \begin{tabulary}{\textwidth}{|L|L|L|}     foo&amp;bar&amp;baz   \end{tabulary} \end{center}  \hrule  \end{document}   I get a table which is narrower than the page:   But I'd like the table to be spread out to \textwidth like tabularx would do. Is this possible?  Or is there an alternative approach? "No such file or directory" when trying to remove a file, but the file exists? Assigning values to divergent series I have been looking at divergent series on wikipedia and other sources and it seems people give finite "values" to specific ones. I understand that these values sometimes reflect the algebraic properties of the series in question, but do not actually represent what the series converges to, which is infinity. Why is it usefull to assign values to divergent series?  The only theory I could come up with, is this:  Say you have 2 divergent series, series' A and B, and you assign each a value,   Series ($A= \sum_{n=0}^\infty a_n$), which I assigned the value Q  and series ($B= \sum_{n=0}^\infty b_n$ ), which I assigned the value P  But it just so happens that series $C=A-B= \sum_{n=0}^\infty (a_n-b_n)$ converges. Could that imply that the actual value of series $C$ is the difference of the two assigned values to $A$ and $B$, that is $\sum_{n=0}^\infty (a_n-b_n)=Q-P$ ?  If so, then that would make some sense to me, as to why people sometimes assign values to divergent series. I just purchased a D5100 and I am  slowly learning the basics.  I mostly shoot landscape/scenery shots.    I have been trying to capture the full moon unsuccessfully.  It looks focused in the viewfinder and I've experimented with slow shutter speeds and large apertures but the resulting image always comes out as a bright glare.  I'm never able to see the details of the moon.  How can I improve my shots? Are orbiting planets an  example of perpetual motion? Find $F$-related vector fields on $M\times N$, where $F(x)=(x, f(x))$ I am reading Lee's book on Differential geometry. In Chapter 4, Lee has this exercise.  Let $M$, $N$ be smooth manifolds, and let $f:M\to N$ be a smooth map. Define $F : M\to M \times N$ by $F(x) = (x, f(x) )$. Show that for every smooth vector field $V$ of $M$ , there is a smooth vector field on $W$ on $M \times N$ that is $F$-related to $V$.  I can understand that we must have $W_{(x,f(x))}=V_x\oplus Df(x)V_p$ for all $x\in M.$ The set $\{(x,f(x)):x\in M\}$ is a closed set in $M\times N.$ Therefore, if we can show that for all $(p,f(p))\in M\times N$ there is a neighbourhood $U_p$ and a smooth vector field on $U_p$ extending $V_x\oplus Df(x)V_x$ we are done by partition of unity. But I cannot show that. Can someone help me out?