I have an HP Laptop with Ubuntu 16.04 installed (dual boot with Windows 10). The system takes over 1m to boot, as you can see from the following:  $ systemd-analyze time &amp;&amp; systemd-analyze blame Startup finished in 3.504s (kernel) + 1min 7.512s (userspace) = 1min 11.016s          24.675s apt-daily.service          16.924s apt-daily-upgrade.service          15.427s dev-sda4.device          11.694s systemd-journald.service          11.549s systemd-tmpfiles-setup-dev.service           8.627s systemd-sysctl.service           6.496s NetworkManager-wait-online.service           5.204s snapd.service           3.586s gpu-manager.service           3.033s systemd-modules-load.service           2.285s NetworkManager.service           2.067s udisks2.service           1.856s thermald.service           1.633s ModemManager.service           1.595s accounts-daemon.service           1.468s apparmor.service           1.368s lightdm.service           1.181s iio-sensor-proxy.service           1.035s systemd-rfkill.service            986ms grub-common.service            915ms keyboard-setup.service            778ms upower.service            734ms plymouth-start.service   CPU: sudo lscpu (see also inxi -C)  Architecture:          x86_64 CPU op-mode(s):        32-bit, 64-bit Byte Order:            Little Endian CPU(s):                8 On-line CPU(s) list:   0-7 Thread(s) per core:    2 Core(s) per socket:    4 Socket(s):             1 NUMA node(s):          1 Vendor ID:             GenuineIntel CPU family:            6 Model:                 42 Model name:            Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz Stepping:              7 CPU MHz:               1995.596 CPU max MHz:           2900,0000 CPU min MHz:           800,0000 BogoMIPS:              3991.19 Virtualization:        VT-x L1d cache:             32K L1i cache:             32K L2 cache:              256K L3 cache:              6144K NUMA node0 CPU(s):     0-7 Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts   Graphics HW: lspci | grep VGA (see also inxi -G)  00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] (rev ff)`   So, what can I do to make boot faster (if it’s possible in my case)?
My boot is horribly slow, and I don't know why.  $ systemd-analyze  Startup finished in 10.975s (kernel) + 49.732s (userspace) = 1min 708ms $ systemd-analyze blame           34.971s apt-daily.service          20.590s snapd.refresh.service          17.113s grub-common.service          16.033s apport.service          16.027s networking.service          15.894s ondemand.service          15.860s irqbalance.service          15.655s speech-dispatcher.service          11.695s ModemManager.service           9.772s accounts-daemon.service           8.626s NetworkManager-wait-online.service           8.058s systemd-logind.service           8.053s bluetooth.service           7.944s gpu-manager.service           7.896s alsa-restore.service           7.892s pppd-dns.service           7.882s rsyslog.service           7.860s avahi-daemon.service           7.844s dev-sda1.device           7.842s systemd-user-sessions.service           7.648s lightdm.service           7.610s teamviewerd.service           6.445s apparmor.service   Also, during boot-up, I see a message that says something like:  device descriptor read/all, error -62 ata1 softreset failed (device not ready) #most of the times error loading journal #(sometimes) Test WP failed, assume Write Enabled Asking for cache data failed     #most of the times Assuming drive cache: write through   apt-daily.service slows the boot the most. Any idea on how to tackle that?  I have Ubuntu MATE 16.04.
Words with different meanings in American and British English This is similar to , but not quite the same.  There are quite a few words which have totally different meanings in American and British English and which are likely to cause confusion when heard by non-local speakers.  What are they?  We are looking for the same word with different meanings (for example jumper), and not words which are different between the two dialects (for example truck and lorry). My laptop is filled with viruses and Windows XP is just becoming impossible to work with.   I've been interested in Ubuntu for a while, so, would I be able to use something like Debian to clear my HDD and OS and then install Ubuntu and start fresh? How do I suppress the "New release '12.10' available" message? JavaScript: getting ImageData without canvas How to switch between tty and xorg session Is there any way to get real-time compilation for LaTeX? I would really love to have a software or tool which provided real time compilation of my LaTeX document (to be able to see the final pdf or dvi document as I type the latex code), especially for when I am drawing pictures using tikZ. So far, I know of two things, but none of them work for me. They are:   : This is only for tikZ, which would be perfect for me, but unfortunately as far as I know it only works with Ubuntu and Debian, and I use Mac OS X (so I have never actually tried it, though I did dig a lot to see whether I would be able to install on my mac and from what I see it is really what I want - I am even considering installing Ubuntu just to use it!). : This is a minor mode for Emacs. It was extremely hard to get it to work on the mac (see my quest ), and it is not all that fast. The speed is not all that big of a deal for me, but the fact that it does not work with tikZ pictures is (the nodes all collapse in one point so that the words are all one on the top of the other).   So my question is: is there a software ideally like KtikZ or another type of editor which provides real-time compilation and that I can use on my mac? I guess if you know of a Windows/Linux option I would also like to know, and the same for a way to set up a script to get the document compiled every 5 seconds or so (I am sure I have seen this written somewhere, but I don't know whether I can do it with a mac or whether it is editor/pdf viewer dependent), but what I really want is a software/tool which would work with a mac.  To be clear, I am not after something like LyX, that is, I am not after a WYSIWYG-type thing, but rather something where I can type real LaTeX and see my code, but have at the same time another window showing me the pdf (or dvi) file compiled. What does this residuals versus fitted plot mean about my model? Is it possible to understand the One Piece storyline by watching the movies only? Displaying attachments on visual force page I need to display attachments on a visual force page for the Case object.  This is the code I am using. I had it working for awhile, but it somehow broke down. It gets all the attachments, but it will not show the images.   &lt;apex:repeat value="{!Case.attachments}" var="att"&gt;             &lt;apex:panelgrid columns="1"&gt;                 &lt;h1&gt;Image/h1&gt;                 &lt;apex:image url="/servlet/servlet.FileDownload?file={!att.Id}"/&gt;             &lt;/apex:panelgrid&gt; &lt;/apex:repeat&gt; I had an (extremely minor) identity crisis when I clicked on my username and saw a different identicon than I'd had previously. :)  According to , your identicon is based on a hash of your last known IP address.  Since a user's profile picture part of their identity, I would prefer if my profile picture only changed through deliberate action on my part.  Since the user's IP hash is already saved (the identicon has to be displayed to people even during the unthinkable periods when we're not actively browsing), I propose preserving the first one assigned to a user, and not updating it even if the user's IP address changes.  Are there any upsides to the current behavior that I haven't thought of? I got a stomach flu or I got the stomach flu or I got stomach flu? When I googled stomach flu, there were many questions and statements like      How do you get the stomach flu?    Or     Difference between a stomach flu and food poisoning    Or      Six facts about stomach flu   When do you use the, a or nothing? And which should I use for a sentence like "I got a stomach flu from someone" ? $\mathbb Z[1/2]$ is not finitely generated ?   Maybe I misunderstood, what finitely generated means.  it says, we need finitely many elements and I think $1$ and $1/2$ suffices as generators.  But , at the end of Proposition $5.1.4$, from the fact that $\mathbb Z[1/2]$ is not finitely generated it is concluded that $1/2$ is not integral. Possessive 's for things I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file.  Deleting /etc/lightdm/unity-greeter.conf and then running sudo apt-get install --reinstall unity-greeter doesn't create a new config file as you might expect.   How can I restore a missing config file? Fibonacci Sequence and series limits 1) Let $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \geq 3$.   How do you prove that  $$\sum_{n=2}^\infty \frac1{F_{n-1} F_{n+1}} = 1$$   $$\sum_{n=2}^\infty \frac{F_n}{F_{n-1} F_{n+1}} = 1$$   Do you even use the formula $n(n+1)/2$?   I tried using $F_{n-1} = F_n - F_{n-2}$ and $F_{n+1} = F_n + F_{n-1}$ and then trying to figure out how to substitute those, but I've been going around in circles. How would you solve this? What tips can you give me to solve this? Is there any website that teaches this? I tried searching google and youtube but none were helpful.   2) Let $s_x = \tan(2/x)$. Where does this become nonincreasing? While using monotonic limits to establish there is a limit.   I was guessing you need to use upperbound and lowerbound but doesn't it go to infinity? First off I did try the power options setting and it's on 'Never' but that did nothing. The drive still spins down after 15-20 seconds of not being used. I need it to spin all the time because it's more efficient with my way of using it. Also listening to music from that drive is absolutely destroying the drive making it spin up and down all the time causing immense wear and tear. Any ideas on how to stop it from spinning down? Please don't suggest bat files that keep creating editing a file.  &nbsp;  Oh and here is the model of the drive: wdc wd10jpvx-22jc3t0 and my OS is Windows 10 64 bit. Ownership of .Xauthority transferred to root Somehow, while playing around with LightDM and Webkit Greeter, the ownership of the .Xauthority file in my home dir was given to the root user and I couldn't login because I hadn't the privilegues to lock the file.  I was able to regain ownership of the file and I could login again. (After several hours of reinstalling LightDM and it's greeters)  So now everything's working fine again. But I'd like to know how this happened. Is this a bug in LightDM or Webkit Greeter or something else? I have this run.sh file, and I've create a symbolic link into my desktop.   When I double-click on it the file the following dialog appearsr    And I have to click on "run" each time. How can I create a link that runs by default? I would like to get a USB token to secure my keys. My use case is protection of 3 GnuPG keys that I will be using 10 times per day at least. I plan to create a new key ring from scratch. Because ECC seems more future-oriented than RSA, this is what I chose to use. I'm wondering which USB token to choose as well as which curve.  On  it is said that many people think curves recommended by the NIST or defined by Brainpool have a doubtful origin; therefore, they recommend the non-standardized Bernstein’s Curve 25519. On  one poster says that    He is not aware of any profound criticism of Brainpool curves, and Bernstein’s Curve 25519 is hard to protect against side-channel attacks when implemented in embedded devices.   As a result, I'm a bit lost as to which key/curve to choose. number of trailing zeros