When do I use List and when do I use ArrayList, also LinkedList in Java?
When to use LinkedList over ArrayList in Java?
Is it "me" or "I" and why? Can't delete the filter called My Filter I'm unable to get rid of a filter that goes by the name of "My Filter".  This is the default name you get when you click on New Filter.  There's a clickable "Delete this filter", which leads to a confirmation question on whether you really want to delete it.  Clicking "Yes" leads you back to the "New Filter" Screen,  with a new filter named "My Filter".    I don't know whether this is the same filter I was just trying to get rid of,  or whether it got rid of the old one, and now is making a new one with the same old name.  Either way, I'm stuck. Why does Windows only show about 3.5 GB of my 4 GB of RAM? I recently upgraded my computer's RAM to 4&nbsp;GB. My 32-bit Windows installation shows only 3574&nbsp;MB of the memory. How can I make Windows use the full amount of RAM? What does 's=.*/==' do in sed? I saw sed 's=.*/==' in context of sh script and I'm puzzled. I could not find in sed manual or web search (for sed s=) how s is used, not s///. Apart from s I see only one potential command here = (Print the current input line number), but in such case what the rest is doing...   Running the command in shell produces same output as input for e.g echo 'jkfdsa=335r34',  whereas echo 'jkfdsa=335r34' | sed 's/=.*/==/' does replacement as per manual. Also slightly modifying command to e.g. echo 'jkfdsa=3' | sed 's798=.*/==/' gives sed: -e expression #1, char 11: unterminated 's' command, so original should have some correct meaning. What is it? What physical properties of materials trigger the capacitive touch screen? I have watched some youtube videos about capacitive touch screen      The videos show that a conductor(finger), in which charges can be induced, can be used to trigger the capacitive touch screen. However, I tried to wear a plastic glove to hold a metal rod to touch the screen and no detection is triggered.  I really want to know the physics theory about the capacitive sensing.  Can someone tell me what physical properties or shape trigger the capacitive touch screen?  Is there any examples that something WITHOUT conducting to human body can trigger the screen?  (P.S. I have read other posts about capacitive touch screen here and do not find a good answer so this is not a duplicate) I have a shop created with drupal commerece modules,I enabled 2 currency in my shop , but only show one of them, I want to show price in 2 currency       something like this price :  10$  / 20 IRR I use multi currency module to achieve this job, but  I my problem is in payment  phase, I use multi currency module to achieve this job,in multicurrency  module's setting I don't want  use  synchronize method, if you want have two field in my product , one form $ and another for IRR, I did this job by this method     first enable IRR currency in  admin/commerce/config/currency  then in  admin/commerce/config/currency/handling under Enable dedicated price fields for Product check Iranian Rial  by doing this  another field added you my product ( ** Price for IRR** ), this is good , after this I enable  *currency selector * block ,in checking out process by switching the currency I don't see any change in current currency of billing and cart. :( why changing currency not changing cart currency? With regards to Plymouth --  Are there alternative boot screens available?  What's the easiest way to change the boot screen? How can I install packages without starting their associated services? As you're probably aware, by default when you install a package on a Debian or Ubuntu based system, if the package contains a service, that service will generally be enabled and started automatically when you install the package.  This is a problem for me.  I've found myself needing to manage templates for building LXC containers. There are several containers, each corresponding to a Debian or Ubuntu release. (There are also Red Hat-based containers, but they aren't relevant here.)  /var/lib/libvirt/filesystems/debian6_template /var/lib/libvirt/filesystems/debian7_template /var/lib/libvirt/filesystems/ubuntu1004_template /var/lib/libvirt/filesystems/ubuntu1204_template   Occasionally I will find that the templates have a missing package or need some other change, so I will chroot into them to install the package. Unfortunately when I do that, I wind up with several copies of the package's service running!  By way of example, I found the templates didn't have a syslog daemon, so I installed one:  for template in /var/lib/libvirt/filesystems/{debian,ubuntu}*_template; do     chroot $template apt-get install rsyslog done   And promptly wound up with four copies of rsyslog running. Not to mention two copies of exim4. Oops!    I read somewhere (though I can't find it again now) that it's not supposed to start services when running in a chroot, but that clearly isn't happening here.  One potentially viable  calls for temporarily replacing the various commands which actually start services, such as start-stop-daemon and initctl, though this is a lot more work than I really wanted to do. If I have no other choice, though...  The ideal solution here would be for Debian-based systems to stop doing this crap, but failing that, perhaps an obscure or undocumented command line option for apt-get?  In case it wasn't clear, I really want to keep anything related to managing the templates outside the templates, if possible. I know how to successfully duplicate an object by using  bpy.ops.object.add_named(name = 'TemplateObjectName')   If the template object named 'TemplateObjectName' has animations, particle systems and modifiers attached to it, the previous call will create a duplicate object that also has those components. However, if I duplicate an object using   template_object = bpy.data.objects['TemplateObjectName'] new_object = bpy.data.objects.new('NewObjectName', template_object.data) collection.objects.link(new_object)   how do I attach the template object's animation, modifiers, particle systems...? Change font size of the verbatim environment I want to apply small fonts inside the Verbatim environment e.g.  {\small  \begin{Verbatim}  1   double x, y; 2   double z, w; 3   main(); 4   return 0;  \end{Verbatim}}   Before the command \small and after the closing braket } text has normal size, which is obvious but the font size should be small inside the brakets.     Why is this command not applied to the environment's contents? Set root domain record to be a CNAME I need to create an NS record for a domain that is a CNAME, for the purpose of having two domains pointed at one IP, and not having to maintain the current IP address in two different places.  The DNS provider for this domain is DynDNS, but they block this operation:     CNAME cannot be created with label   that is equal to zone name   I can do this with another domain whose DNS is served by 1and1:  root@srv-ubuntu:~# dig myseconddomain.co.uk  ; &lt;&lt;&gt;&gt; DiG 9.4.2-P1 &lt;&lt;&gt;&gt; myseconddomain.co.uk ;; global options:  printcmd ;; Got answer: ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 61795 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0  ;; QUESTION SECTION: ;myseconddomain.co.uk.             IN      A  ;; ANSWER SECTION: myseconddomain.co.uk.      71605   IN      CNAME   myfirstdomain.co.uk. myfirstdomain.co.uk.     59      IN      A       www.xxx.yyy.zzz  ;; Query time: 298 msec ;; SERVER: 10.0.0.10#53(10.0.0.10) ;; WHEN: Tue Aug 18 14:17:26 2009 ;; MSG SIZE  rcvd: 78   Is this a breach of the RFCs or does DynDNS have a legitimate reason for blocking this action?  Followup Thanks to the two answers already posted I now know that 1and1 IS breaching RFCs to do this. However it does work and they seem to support it. For a company that hosts so many domains it seems very odd that they get away with doing this on such a massive scale without objection.  More followup  The output of "dig myseconddomain.co.uk ns" as requested.  root@srv-ubuntu:~# dig myseconddomain.co.uk ns  ; &lt;&lt;&gt;&gt; DiG 9.4.2-P1 &lt;&lt;&gt;&gt; myseconddomain.co.uk ns ;; global options:  printcmd ;; Got answer: ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 18085 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2  ;; QUESTION SECTION: ; myseconddomain.co.uk.             IN      NS  ;; ANSWER SECTION: myseconddomain.co.uk.      4798    IN      NS      ns67.1and1.co.uk. myseconddomain.co.uk.      4798    IN      NS      ns68.1and1.co.uk.  ;; ADDITIONAL SECTION: ns67.1and1.co.uk.       78798   IN      A       195.20.224.201 ns68.1and1.co.uk.       86400   IN      A       212.227.123.89  ;; Query time: 59 msec ;; SERVER: 10.0.0.10#53(10.0.0.10) ;; WHEN: Wed Aug 19 12:54:58 2009 ;; MSG SIZE  rcvd: 111 Changing order of features in shapefile I have a shapefile and I want to change the order of the features. Is that possible? I want to sort the features in the shapefile because I'm embedding this shapefile in a mobile app. The app will display a list of features, and although I could do the sorting at load time, I'd prefer to have them sorted. Evaluate $$I=\int_{0}^{1}\frac{x\log x}{\log(1-x)}dx$$   I try to change it to:$$I=\int_{0}^{1}\frac{(1-x)\log(1-x)}{\log x}dx$$ but I can't do next steps,help me ,thank you very much. center align equation in ‎\documentclass[11pt,twoside,fleqn]{book}‎ Only Icons Missing from desktop I opened the PC in the morning, and this is what I got:      As is visible the icons of the UWA apps were no affected and the start menu also is unaffected.    When Control Panel is in category view the entire page is empty and in large/small icons the name is visible, no icons.  I deleted the iconcache.db in %USERPROFILE%\AppData\Local folder. Following the instructions here: . But to no avail and now windows is not rebuilding the cache.   I also ran sfc /scannow but no changes took place.  What should I do?  (01/01/2016 8:00PM GMT +5:30) Edit: I tried opening the system properties and I got 0x8000ffff error and this:        Then I closed the popup and pressed the OK button on the System Properties Windows and I got 0x8007057A error:      Opening the Image Backup Control Panel page I again got an 0x8007000E error:        I tried using system restore via advanced startup but once again I got 0x800FFFF error.  P.S.: I did try restarting, didn't work. Analogue of closed graph theorem This is the analogue of closed graph theorem for compact space          Suppose that $X$ and $K$ are metric spaces, that $K$ is compact, and that the graph of $f: X \rightarrow K$ is a closed subset of $X \times K$. Prove that $f$ is continuous.      Because metric space is first countable, all we need is to prove that if $x = \lim_{n \rightarrow \infty} x_{n}$, then $f(x) = \lim_{n \rightarrow \infty} f(x_{n})$. Suppose $x = \lim_{n \rightarrow \infty} x_{n}$, then because $K$ is compact, sequence $\{f(x_{n})\}$ has a subsequence $\{f(x_{n_{i}})\}$ converge. Because the graph of $f$ is closed, we must have $\lim_{n \rightarrow \infty}\{f(x_{n_{i}})\} = f(x)$. All we need to prove now is $\{f(x_{n})\}$ converge to $f(x)$, but I can't prove that. Can any one help me. I really appreciate. Thanks Bold row in table aligned with dcolumn Was Hogwarts named such because of a connection to warthogs? Was Hogwarts named 'Hogwarts' because of a connection to warthogs?  Or was it named for hogs and warts separately, or something else entirely? enumerate in multicols The following image illustrates what am looking for:    Essentially I want the numbering to occur as shown above but using the multicol and enumitem package. But when I try it by using the following code:  \documentclass{article} \usepackage{amsmath,amssymb} \usepackage{enumitem,multicol} \begin{document} \begin{enumerate} \item Evaluate each of the following if $x$ is a non-zero real number.     \begin{multicols}{2}     \begin{enumerate}[itemsep=1cm]% The item sep is my choice here.     \item $\dfrac{|x|}{x}$     \item $\dfrac{x}{|x|}$     \item $\dfrac{|-x|}{-x}$     \item $|x|-|-x|$     \end{enumerate}      \end{multicols} \end{enumerate} \end{document}   I get:    Essentially, I want the (b) to be where the (c) is. I know this has been done but I can't seem to find it. An analytic function $f$ on $\{z \in\mathbb{C} : |z|>1 \}$