I've got a loooong boot time again! This time it's crazily long! +10 min This has become my nightmare with Ubuntu... since I'm using it (version 14.x). Everything works slick a couple of weeks after a fresh installation but I have no idea what happens in between so that suddenly I have to wait a couple of minutes for rebooting my relatively performant Laptop (a high-end ThinkPad). On the net I couldn't find a consistent solution… there are various consumptions and suggestions on changing fstab etc. but these are not the issue… Does anybody know how I could solve this?
Long boot delay on Ubuntu loading/splash screen following regular dist-upgrade on clean SSD install (18.04) I'be been running 18.04 since a clean SSD install on the day of it's official release, without issues. Power on to login was seconds (max 10)  Then, I did a regular upgrade this morning:  $ sudo apt update &amp;&amp; sudo apt dist-upgrade   The packages installed/upgraded were:  Install: linux-headers-4.15.0-24:amd64 (4.15.0-24.26, automatic), linux-headers-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-modules-extra-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-modules-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-image-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic) Upgrade: gnome-control-center-data:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-headers-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), gnome-control-center:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-image-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), linux-signed-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), gnome-control-center-faces:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-generic:amd64 (4.15.0.23.25, 4.15.0.24.26)   I rebooted once the upgrade had completed, and noted a 2-3 minute delay on the Ubuntu loading/splash screen (prior to login) (without any progress/activity indicated on the dots).  I powered off and tried to boot again, but am getting this delay consistently now. Also close down is much slower too.  Update #1 (2018-07-03): Analysis on systemd:  $ sudo systemd-analyze blame 3min 53.073s plymouth-quit-wait.service     2min 20.699s snapd.seeded.service          49.949s snapd.service           6.186s NetworkManager-wait-online.service           1.148s dev-sda2.device           1.098s plymouth-start.service   Showing that plymouth-quit-wait.service (which I now believe is related to the Ubuntu loading/splash screen) and snapd.seeded.service were by far the longest running services to initiate. So I compared the times before the dist-upgrade and after:  $ journalctl -u plymouth-quit-wait.service --since today -- Logs begin at Fri 2018-04-27 13:01:30 BST, end at Tue 2018-07-03 12:38:05 BST. -- Jul 03 04:15:43 user-laptop systemd[1]: Starting Hold until boot process finishes up... Jul 03 04:15:46 user-laptop systemd[1]: Started Hold until boot process finishes up. -- Reboot -- Jul 03 04:21:17 user-laptop systemd[1]: Starting Hold until boot process finishes up... Jul 03 04:24:52 user-laptop systemd[1]: Started Hold until boot process finishes up.   Before the upgrade plymouth-quit-wait.service took 3 seconds. After the upgrade it took 3 minutes 35 seconds  $ journalctl -u snapd.seeded.service --since today -- Logs begin at Fri 2018-04-27 13:01:30 BST, end at Tue 2018-07-03 12:42:14 BST. -- Jul 03 04:15:43 user-laptop systemd[1]: Starting Wait until snapd is fully seeded... Jul 03 04:15:43 user-laptop systemd[1]: Started Wait until snapd is fully seeded. -- Reboot -- Jul 03 04:22:47 user-laptop systemd[1]: Starting Wait until snapd is fully seeded... Jul 03 04:24:49 user-laptop systemd[1]: Started Wait until snapd is fully seeded.   Before the upgrade snapd.seeded.service took 0 seconds. After the upgrade it took 2 minutes 2 seconds.  Update #2 (2018-07-06): This morning's boot saw the return of the delay. So I guess we're still waiting for the kernel/plymouth/snapd update.  Update #3 (2018-07-12): The problem seems to be resolved, but I didn't see any update to snap or plymouth, and I'm still running 4.15.0-24 kernel. So I'm not sure which package update fixed the problem, or if it just resolved itself somehow. Reading the bug updates on launchpad it's unclear to me what was done (or is being done) to what package/s. If anyone can clarify that would be very useful.
Keeping the time stamp when syncing with Ubuntu One? Why is torque not measured in Joules? Recently, I was doing my homework and I found out that Torque can be calculated using $\tau = rF$. This means the units of torque are Newton meters. Work &amp; Energy are also measured in Newton meters which are Joules.  However, torque isn't a measure of energy. I am really confused as why it isn't measured in Joules. Why cannot fermions have non-zero vacuum expectation value? In quantum field theory, scalar can take non-zero vacuum expectation value (vev). And this way they break symmetry of the Lagrangian. Now my question is what will happen if the fermions in the theory take non-zero vacuum expectation value? What forbids fermions to take vevs? What test can I use to compare slopes from two or more regression models? I would like to test the difference in response of two variables to one predictor. Here is a minimal reproducible example.   library(nlme)  ## gls is used in the application; lm would suffice for this example m.set &lt;- gls(Sepal.Length ~ Petal.Width, data = iris,                 subset = Species == "setosa") m.vir &lt;- gls(Sepal.Length ~ Petal.Width, data = iris,                 subset = Species == "virginica") m.ver &lt;- gls(Sepal.Length ~ Petal.Width, data = iris,                 subset = Species == "versicolor")   I can see that the slope coefficients are different:  m.set$coefficients (Intercept) Petal.Width    4.7771775   0.9301727 m.vir$coefficients (Intercept) Petal.Width    5.2694172   0.6508306  m.ver$coefficients (Intercept) Petal.Width     4.044640    1.426365    I have three questions:   How can I test the difference between slopes? How can I test the difference between residual variances? What is a simple, effective way to present these comparisons?    A related question, , suggests re-running the model with a dummy variable to differentiate the slopes, are there options that would allow the use of independent data sets? Already awarded bounty refunded on question migration? In March 2011 I offered a 500 bounty on one of my StackOverflow questions () and awarded it to Filip de Vos.   This question was later migrated to Database Administrators and has the following messages on it.     migrated to dba.stackexchange.com by Will♦ Dec 28 '11 at 12:25      This   question belongs on our site for database professionals who wish to   improve their database skills and learn from others in the community.   .     deleted Dec 31 '11 at 1:01   I appear to have been   on whereas Filip .  Is this a bug? Definitely doesn't seem fair or correct to me. The question still shows up in both our bounty tabs despite the migration. I would have hoped that the previously awarded bounty reputation points could still be honoured in this situation. difference fn(String... args) vs fn(String[] args) Whats this syntax useful for :       function(String... args)   Is this same as writing       function(String[] args)    with difference only while invoking this method or is there any other feature involved with it ? A word to describe someone or something that is not last? I'm looking for a word that describes the state of not being last. A word that would apply to everything in an ordered list that is not the last thing in that list.  From     I wasn't the last person to finish the race.   to (the phrasing is off, but it seems to illustrate my point)     I was .. person to finish the race.   One word that comes to mind is "intermediate", but I don't think that includes the first item in a list. Time traveler asks archaeologist for help in transporting a girl from dinosaur Earth to present day Many decades ago, I read a short story about a time traveler who asks an archaeologist for help.  He convinces the archaeologist that he can time travel by bringing him back a freshly killed dinosaur (small one.)  The time traveler needs help because when traveling back in time to the age of the dinosaurs he met a girl and wants to transport her back to the present.  However only one person can travel in time at a time so he needs the archaeologist at the other end to wait for the girl.  The archaeologist agrees to help.  Unfortunately after the traveler goes back he and the girl find themselves in the middle of a battle between aliens on Earth.  They are chased by a dinosaur and never make it back to the present.  The archaeologist meanwhile is digging for evidence that the traveler went back in time and the story or my recollection of it ends with that. Best way to get last identity inserted in a table Nesting HTML- anchor tags Implicit Differentiation Help I have to use implicit differentiation to find $\frac{dy}{dx}$ given:  $$x^2 \cos(y) + \sin(2y) = xy$$  I don't even know where to begin, I missed the class where we went over implicit differentiation, and because of that, I am completely stuck.   Thank you everyone.  Edit: I don't know how to make the equation look all nice and whatnot, so sorry about that How can I save the world from the spread of Hallow and Corruption/Crimson? After the Wall of Flesh, the Hallow appears and Corruption/Crimson spreads even faster.   Corruption/Crimson spreads through everything   Except Hallow  Hallow spreads through everything   Except mud (jungle) Except synthetic blocks like gray-brick  The results of Hallow and Corruption meeting are unpredictable   How can I stop them both permanently and effectively from taking over the world, considering both the top layer and underground?  (Eg, simply placing gray brick on top of the surface won't stop the underground spread?)  And, is it worth the effort? Can someone please give me some intuition as to when to choose either SVM or LR? I want to understand the intuition behind what is the difference between the optimization criteria of learning the hyperplane of the two, where the respective aims are as follows:     SVM: Try to maximize the margin between the closest support vectors LR: Maximize the posterior class probability    Let's consider the linear feature space for both SVM and LR.  Some differences I know of already:   SVM is deterministic (but we can use Platts model for probability score) while LR is probabilistic. For the kernel space, SVM is faster (stores just support vectors) How to change Windows 7 date format? Is it possible to configure Windows 7 to use YYYY-MM-DD instead of DD/MM/YYYY as the date format? How? Where? Parse JSON with R For an existing set of line features, I would like to generate a perpendicular line, of say 1km, at the midpoint of each existing line feature in ArcGIS.  I imagine that The methodology would be to:   create a tangent line at the midpoint of each existing line feature calculate the angle of the tangent line based on the angle of the tangent line, calculate the location of the endpoint of the new line create the new line with the calculated endpoint of the new line and the existing midpoint of the old line   Let's assume that we are in a UTM projection and can use coordinates to calculate distance and direction.  How would I do this with ArcGIS tools or with ArcPy? Setting up LVM Snapshot as a backup/restore point in ubuntu. Why? Well, as I see it, with all the great usefulness of Linux, its biggest drawback is with its mixed up way of installing apps. All the dlls go to one directory. All the configuration files to another. And the binaries are also put in a bunch. Yes, Windows works the same way more or less, but with the nature of system/server software installed on Linux, being that most of the software installed is only about 95% mature at any given time, messing up your system twice a month is very probable.. Of course, we can backup the system before and after each installation, but that takes a million years. System backups (as oppose to just data/files backup) requires you to turn off you computer and use some form of bootable live CD and a backup media. And, if the drive is more than 15% full, it might take a long time to do the backup, even with modern hardware. So, how can this be done? Do small title edits constitute trivial edits? Being a fairly new user something I don't seem to be able to locate is information on whether small edits to the title are considered as trivial edits. I see the usual recommendation when suggesting an edit is:     Avoid trivial, tiny one-letter edits unless absolutely necessary.   I can see the logic in that for most cases, but for example I just read a question with a title containing "Andriod" which would be trivial in one way but also affect the ability of users to locate the question using both the site and external search engines. Would it be frowned upon to suggest an edit for those cases? How did the letter Z come to be associated with sleeping/snoring? installing rtl8814AU wifi adapter driver on ubuntu 16.04