I want to run the command HTOP, nethogs, and a bunch of other commands each in its own terminal tab as Ubuntu starts. I always have to manually start a terminal and type the same commands over and over. To be clear I want to:   Open One terminal with multiple tabs on startup In each of these terminal tabs run a different command automatically     $ vim ~/.config/autostart/Apps.desktop  #!bin/bash gnome-terminal --tab Htop -e htop --tab Nethogs -e nethogs --maximize     is that the correct format ? !wine will open a wine command with others, atleast thats how it does now in the terminal. It does not seem to work. Well it will work if you run the program as the root in the terminal. But it will not run after the boot takes place.
How could I get the terminal to be launched once I have logged in, so that typing commands is much simpler?
Can I export Shotwell pictures database saving all the tags? I've imported lots of pictures into Shotwell and spent some time setting tags. Are those tags locked-in in Shotwell or I can export them (and import again or use with other software)? Cannot turn script back on I've got an issue. When (Input.GetMouseButtonUp (0), Speedy script is disabled, thus we cannot enable it again from inside the script like shown below. How can we go around this?  public class  Speedy : MonoBehaviour {  GameObject car;   if (speed == good)     {         GameObject car = GameObject.FindWithTag ("Car");          if (Input.GetMouseButtonUp (0))          {             car.GetComponent&lt;Speedy&gt;().enabled = false;         }          else car.GetComponent&lt;Speedy&gt;().enabled = true;     } } My Android device screen got broken and I can't see what I'm doing. That's the only wrong thing with my device, the rest is apparently working OK. Is there any way to send my device screen to my computer? I don't want to work blindly anymore! Why KL divergence is non-negative? Why is KL divergence non-negative?  From the perspective of information theory, I have such an intuitive understanding:  Say there are two ensembles $A$ and $B$ which are composed of the same set of elements labeled by $x$. $p(x)$ and $q(x)$ are different probability distributions over ensemble $A$ and $B$ respectively.   From the perspective of information theory, $\log_{2}(P(x))$ is the least amount of bits that required for recording an element $x$ for ensemble $A$. So that the expectation $$\sum_{x \in  ensemble}-p(x)\ln(p(x))$$ can be interpreted as at least how many bits that we need for recording an element in $A$ on average.   Since this formula puts a lower bound on the bits that we need on average, so that for a different ensemble $B$ which brings about a different probability distribution $q(x)$, the bound that it gives for each element $x$ will surely not bit that is given by $p(x)$, which means taking the expectation, $$\sum_{x\in ensemble}-p(x)\ln(q(x))$$ this average length will surely be greater than the former one, which leads to $$\sum_{x\in ensemble }p(x)\frac{\ln(p(x))}{\ln(q(x))} &gt; 0$$  I don't put $\ge$ here since $p(x)$ and $q(x)$ are different.  This is my intuitive understanding, is there a purely mathematical way of proving KL divergence is non-negative? The problem can be stated as:  Given $p(x)$ and $q(x)$ are both positive over real line, and $\int_{-\infty}^{+\infty}p(x)dx = 1$, $\int_{-\infty}^{+\infty}q(x)dx = 1$.  Prove $$\int_{-\infty}^{+\infty}p(x)\ln\frac{p(x)}{q(x)}$$ is non-negative.  How can this be proved? Or can this be proved without extra conditions? Is there a way (eg. a binary hack into Finder) to stop it from creating .DS-Stores on LOCAL Volumes?   I am using Leopard, therefore these don't work:    (requires Lion)  (requires Snow Leopard)   Also,  slows down my computer. Why does the amount of energy transferred depend on distance rather than time? The change in energy of an object can be determined by the work equation, where work is the change in energy:  $$ W = F \cdot d $$  I conceptualize the transfer of energy as simply a series of small "packets" of energy being transferred at every Planck length. These small "packets" of energy add up to the total energy transferred (i.e. work). I'm not sure if this conceptualization is correct, so correct me if I am wrong.  However, it makes me wonder why the amount of energy transferred is dependent on distance and not time.  $$ m_1 = 10~kg \\ m_2 = 20~kg \\ W_1 = (10~N)\cdot(5~m) = 50~J \\ W_2 = (10~N)\cdot(5~m) = 50~J \\ W_1 = W_2 \\ t_1 \neq t_2 $$  If I apply a constant force on an object, why isn't the energy transferred at a constant rate with respect to time? The energy transfer rate varies dependent on how long it takes to cover the set distance.  In other words: why is the energy transferred consistent per unit of distance, and not per unit of time? Why are moderators now required to report underage users? Just today (December 2, 2020), a  was enacted, which requires moderators to report users that they find to be underage:  If you find a user claiming to be under 16 escalate it to us through the &quot;Contact Community Team&quot; button and select the &quot;underage user&quot; template - this will flag the on-duty CM for action so we can investigate and, if deemed necessary, delete that account and all personal data associated with it. [...] This policy only applies to sites where you are a moderator. If you see things on a site where you’re not, there is no obligation to escalate.  Being part of the , moderators are required to follow the instructions there, and not following them is considered a violation of the moderator agreement. However, this contradicts a , which states (bold added):  Users and moderators are not legally responsible for underage users and are under no obligation to report them to us. If out of concern you would like to report it, [...]  As part of the re-enaction of the policy on December 2, the text &quot;and moderators&quot; in the above quote was edited out of that statement. Why are moderators now required as per policy to report underage users that they come across? Is there a legal explanation as to why SE's stance on this changed? I'm aware of  from a then-employee, which stated that moderators are expected, but not required as a condition of remaining a moderator, to report underage users. However, the new policy requires reporting them. Why? An example of a case where a moderator may not want to report an underage user is if the user claims to be from an EU country that has reduced the required age from 16. While SE's Terms of Use specify a blanket limit of 16 to comply with regulations in all EU countries, individual member states do have the ability to reduce the limit, so long as it's not below 13. There is no law violation if, say, a 15-year-old user from an EU country that has reduced the age limit to 14 registers, so a moderator may not feel like reporting them (since in that case they're merely enforcing the Terms of Use, which they're not otherwise expected to do).  The policy was recanted a few days after it was originally enacted on October 15, 2020, but was enacted again on December 2 after minor revisions following a review among moderators. The same question still applies to the revised policy, however. Real World Example of the Strategy Pattern I am a beginning indie developer, and I want to get the word out about my game. What sites can I go to to ask about reviews of my game, and where might I be able to talk about and get feedback on my game from players? Ubuntu 16.04 slow boot (apt-daily.service) 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. What happens to net acceleration in a non-inertial reference frame with cenripetal force? In a non-inertial reference frame, the centripetal force is balanced by a centrifugal force. Therefore, shouldn't the net acceleration be zero? Yet, you still feel an acceleration outwards? Why is that? In the spirit of a  I would like to know if there's a basis for understanding why there  that have non-zero electric charge but zero spin?  Can such a quantum theory be written down and self-consistent? Do the current symmetries of our present QFTs not allow such a particle? biblatex – et al. beginning from second citation? Basically all I need to know is how I can use "et. al" beginning from the second citation of a source. I am using the following  \usepackage[ natbib=true, style=authoryear ]{biblatex}   I need citations to look like this:  First citation of a source     Drobetz, Schillhofer, and Zimmermann (2004)   Second and further citations     Drobetz et al. (2004)   Right now, every citation looks like the first one. With the biblatex option maxcitenames I can only adjust all citations and not all but the first one. Any help? Load your bag or Load your bike? Probably, another debatable question from my side.  When carrying items while riding, like water bottle, repair kits, pumps, or other stuffs that you might need, What is the best option.... to carry them?   On your cycle at saddle bag, handlebar bags, or pannier bags or etc.  or, On backpacks, like hydrant pack, or simple travel pack.   While loading on cycle, it will increase the weight of the bike, thus affect a lot of things, like speed, traction, more reactive on corners. Like while using pannier bags.. it will increase rear weight, making it difficult on uphill.   Also while loading on backpack, it will tire you down fast if its a big load, decreases your flexibility, agility &amp; etc.  So what is right way to do it?  Update:  The type of ride I generally, go to are commuting, mountain biking, &amp; trailing. And the items I generally carry are   Commuting: Water bottle(x2), Laptop (17"), books, copies, repair kits, hand pump, few other accessories. Mountain Biking &amp; Trailing: Water bottle(x2), repair kits, extra tubes, hand pumps, candybars &amp; few other accessories I don't have a minecraft folder. I've looked through forums and videos, followed all the steps. I just don't have one. I have windows 7, and I have "view hidden files" turned on. I have look in the roaming folder of my app data folder, with hidden files turned on. I want to find my folder so I can install a mod, could someone please tell me why my folder isn't showing up? Why does chmod 777 -R / leave the system unusable? Why didn't the basilisk bite in Chamber of Secrets destroy the Horcrux? Random bits of my chat die and come back to life during the day Can I access constants in settings.py from templates in Django? I have some stuff in settings.py that I'd like to be able to access from a template, but I can't figure out how to do it. I already tried  {{CONSTANT_NAME}}   but that doesn't seem to work. Is this possible? How is it possible for the Root Name Servers to handle all DNS requests? I was reading about DNS some days ago and learned how the requests are processed. If you surf to www.example.com, then a request will go to the Root Name Servers to see who owns that .com address, then another request will go to another, more local, DNS server to see who owns the example.com address and so on.  How is it technically possible that the 13 Root Name Servers can handle all requests done by earth's billions of Internet users simultaneosly without beeing ddos:ed?