I've played with  to jazz up my prompt, but is there a way to change the color of what I type after said prompt to make my commands a little more distinctive in the scrollback?  I can leave an open color code tag which sort-of works (not really); it bleeds up to the first colored bit in the output (which may or may not exist).
One thing I liked about Mint was that the terminal would usually show two colors: everything from the left to the $ would be one color, and everything past the $ would be another.   Is there a way to have this setup with Ubuntu?
Easy to bypass "Are You paying Attention" test by viewing question in detail I think many of us already aware, still I wanted to let you know that First Post and Late Answers review posts are generated on specific time interval. When time comes for post generation I follow some tricks   Click and till a Post appears for review Then right-click and select Open in new tab 5-8 time. Then in every page follow the below steps   Open the Question of post appeared in review in New tab If Page/Question not exists then simply downvote since post was deleted because of -ve response. Else if page exists then   Check the review post's Net Reputation If reputation is -ve then simply downvote the post came in review Else one may select No Action needed.    This way if in any case a post comes for "Are you paying attention" can be handled easily.  I think if a post comes in review should not allow to view post. Use of Website Category Landing Pages OK, here's the situation: A reasonably simple website with a primary navigation menu including drop-down list of sublevels on hover. Each navigation level may have 3 - 6 sublevels below it, none more important than the other. For example see this mockup:    My question is: What should happen if the user Clicks on one of the primary navigation options (such as 'News') instead of just hovering over and choosing a sublevel?  My instinct tells me that I should allow a click of this navigation option; it's expected user behavior to be able to click navigation options. If clicked then a landing page of some sort will be present listing all the sublevels (latest news, blog posts, case studies'). However there is no content to add to this landing page other than presenting a list of links, which is pretty useless. I could pad it out by adding iconography and descriptions of the sublevels, but that's just content for the sake of it; does 'Latest News' really need a description in order to understand what it is?  If I don't include a landing page then clicking this primary navigation will have to open something but if I open the 'Latest News' page that risks the user not knowing about the other sections of the site.  (The landing page will be useful for breadcrumb navigation too, so I don't really want to do away with it).  Is my thinking that a landing page showing the list of sublevels actually useful even though there is no actual content to display, or is there a better alternative to go with? Is the cube root of a prime number rational? A disk is stuck in my slot-loading Dell Studio Hybrid. How can I get it out? The slot-loading optical drive in my Dell Studio Hybrid has been acting up. Sometimes it works fine, sometimes it churns and makes some unpleasant sounds. Now I can't even get it to eject the disc that's in there.  Many drives have an "emergency eject" pinhole, but I don't see one here. How can I get the disc out? Zero visitors? What happened to site analytics about a week ago? I can't update my system because it freezes while installing a third-party update (zramswap-enabler)! Sometimes I get the following message in Update manager:  Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: E:The package zramswap-enabler needs to be reinstalled, but I can't find an archive for it.  I tried to remove the zramswap-enabler, but it's impossible because I get the following message: dpkg: error processing zramswap-enabler (--remove):  Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal. Errors were encountered while processing:  zramswap-enabler E: Sub-process /usr/bin/dpkg returned an error code (1)  Actually I would really reinstall that package, but it is unable to do it! If I remove this third-party PPA then the system is warning me about a very very serious problem. So why can I not install/reinstall/remove/update this package and why freezes the updater if I try to update? Tell rate-limited users how long they have to wait before asking a new question New users are limited to one question per an hour, but once they'll hit this limit, all they see is You can only post once every 60 minutes. I think it would be very appreciate to change / extend this message, adding You need to wait next xx minutes. I saw similar solutions on many forums.  Would it be hard to implement something like that?  EDIT: It could be either added as extension to above mentioned warning message or as red-colored reminder above Title field. Or even as an explanation message, preventing user from clicking on a Ask Question button? Anything would be good, to not let user write the question (can be time consuming) only to hit the wall of limit. This can be a little bit annoying or frustrating, don't you think? I am trying to show that how the binary expansion of a given positive integer is unique.  According to this link, , All I see is that I can recopy theorem 3-1's proof?  Is this polished enough of an argument. Thanks MBR recovery - Corrupted MBR after it changed to dynamic & testdisk gives up . No backup sector found I had a Windows 7 installation on my 1TB SSD laptop with 4 primary partitions. I wanted to install Lubuntu Linux but the process failed with an error which kind of said:     cannot write MBR   It gave me an option to put an MBR somewhere else or to boot without MBR. None of these options worked and it became a useless install. After this failed dual boot attempt, Windows would give a BSOD wit Code 007 ending - translated to inaccessible boot device. That is a huge NTFS partition and I don't think I have any other media to back it up before formatting it.  My only option is somehow rebuilding the old MBR. Hence I started creating a whole bunch of live USB boot environments  including Super GRUB Disk and MiniTool Partition Editor Live CD, but none of this could ever help me recover my lost MBR.  Win PE 4.0 reported the partition as bad disc and the latest version did not even have an option for MBR. I managed to create a live USB with Testdisk Running on Ubuntu. Whatever partition was seen as HPFS on quick  search was written in the MBR and after this the disc is totally unreadable. Earlier I could see my data through Linux and now I can see nothing.  Here are my questions:   When some data could be read (but Windows would not boot) the MBR was shown as dynamic MBR. As far as I know dynamic MBR is a Windows concept and my Linux attempt would not have converted it. While installing Linux I tried to delete 2 primary partitions which I found to be not really useful (I backed up their data first). So I am not sure what created the dynamic MBR.  Did my dual install convert those basic MBR to dynamic MBR? How did that happen? Here is a screenshot of my deep search attempt with TestDisk which is still in progress. I can see 4 NTFS partitions and one of these two system partitions should be the original MBR. When I tried to write both these system partitions (after stopping the deep search momentarily) I got an error like "partition not found". The file system utility showed me that there is no backup sector and that may be the reason why it cannot be read.  What other Resorts do I have, other than doing a plain format and then using some recovery tool to recover all my lost data? I am not even sure I will recover the folder names.  What other options should I be trying to restore my old MBR so Windows can boot?      Update  as of last I managed to create a live USB w/ W7  I used AOMEI Partition assistant 6.0 and on deeper  search I can see the 909 gb partition - it wont let me select it for recovery. I am sorry if my earlier Q was not clear. I referred to restoring an MBR from a partition . What happened earlier  - superficial search revealed all old partitions but NOT this one   and the later partitions showed up on Deep search &amp; I can select Other partitions for recovery but for this one. It wont let me select the partition I want  Here are some more screen shots    So in summary all that happened is   4 primary windows 7 partition -->  wanted to install Linux so I deleted 2 non bootable partitions after backing them up  ended up with BSOD ( inaccessible boot device ) and noticed that some windows partitions showed up as Dynamic MBR  (using Live USB Linux,gparted )  Use standard testdisk procedure to write MBR from the superficial NTFS-HDFS partition.  this is where I screwed up . Hindsight I should have really done a deep search and caught the 901gb partition to write MBR. I am not sure if I can undo this action  after this - life gets worse. I am  on a ventilator ! Now C is unreadable by windows and linux both and testdisk cannot list file ( see screenshots ) and I have been using a series of live USB's with some recovery s/w but no luck. ALL I want is to recreate that 901gb partition and the boot partition and put the MBR on the latter so I can get my windows 7 back again Is it wrong to write:  class A { public:     virtual ~A() = 0; };   for an abstract base class?  At least that compiles in MSVC... Will it crash at run time? What strategies, criteria, or rules to use for selecting coordinate systems? What strategies, criteria, or rules do you use for selecting coordinate systems for    (a) storing,  (b) analyzing, and  (c) displaying GIS data?     (I humbly offer  to a  about watershed analysis as an example of the considerations involved in (b).)  What are the pitfalls to watch out for?  Links to Web sites you find particularly helpful in this regard are welcome. I am creating a type of adventure map. Once you enter the map, you step on some pressure plates that are supposed to seamlessly close the wall behind you. For some reason this command does not work when in a command block or just in text. Here is the command:  /fill -17 4 -109 -18 5 109 minecraft:light_gray_concrete   The output it gives me is "That position is not loaded". I am on a singleplayer superflat world in 1.14.3. Any help would be very appreciated! Please help me to prove the following result:  I recall that the holomorph $Hol(\Gamma)$ of a group $\Gamma$ is the semidirect product $Hol(\Gamma)=\Gamma\ltimes_{\phi} Aut(\Gamma)$ where $\phi: Aut(\Gamma)\to  Aut(\Gamma)$ is the identity map.  Let $G=Hol(C_8)$. In addition let $f(x)\in \mathbb{Q}[x]$ be an irreducible polynomial of degree $8$, $L$ a splitting field of $f(x)$ over $\mathbb{Q}$ and suppose that $Gal(L/\mathbb{Q})\cong G$     Show that there is a subgroup of $S_8$ isomorphic to $G$   Thanks in advance. Second law of Newton for variable mass systems Frequently I see the expression  $$F = \frac{dp}{dt} = \frac{d}{dt}(mv) = \frac{dm}{dt}v + ma,$$ which can be applied to variable mass systems.  But I'm wondering if this derivation is correct, because the second law of Newton is formulated for point masses.   Furthermore if i change the inertial frame of reference, only $v$ on the right side of the formula $F = \frac{dm}{dt}v+ma$ will change, meaning that $F$ would be dependent of the frame of reference, which (according to me) can't be true.   I realize there exists a formula for varying mass systems, that looks quite familiar to this one, but isn't exactly the same, because the $v$ on the right side is there the relative velocity of mass expulsed/accreted. The derivation of that formula is also rather different from this one.   So my question is: is this formula, that I frequently encounter in syllabi and books, correct? Where lies my mistake. Can you use an external 301 redirect for a blog post hosted on wordpress.com? How does ACF & PACF identify the order of MA and AR terms? It's been more than 2 years that I am working on different time series. I have read on many articles that ACF is used to identify order of MA term, and PACF for AR. There is a thumb rule that for MA, the lag where ACF shuts off suddenly is the order of MA and similarly for PACF and AR.   Here is  I followed from PennState Eberly College of Science.   My Question is why is it so? For me even ACF can give AR term. I need explanation of thumb rule mentioned above. I am not able to understand thumb rule intuitively/mathematically that why -  Identification of an AR model is often best done with the PACF. Identification of an MA model is often best done with the ACF rather than the PACF  Please note:- I don't need how but "WHY". :) PHP shortest/longest string length in array why normalize and the definition of directional derivative I'm not understanding how to solve this problem.  I think the problem lies in the fact that I don't understand why normalize and the definition of directional derivative... It's in Portuguese. The question would be: Determine the directional derivative of f in P in direction of vector u: why is my screen black after rdp connection? After connecting from my home via remote desktop, both my screens are black when I arrive at work. The only thing I can see is a mouse pointer on one of the screens. I then seem to have only two choices: rebooting or working from a remote desktop connection, which works fine.  It did happen every time I tried last week.  However, I did the same from my laptop in a meeting room today, and I didn't have any problem. Mechanics around a rail tank wagon