On Ubuntu 14.04:  $ sudo apt-get install xsane Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   gimp gimp-data libamd2.3.1 libbabl-0.1-0 libcamd2.3.1 libccolamd2.8.0   libcholmod2.1.2 libgegl-0.2-0 libgimp2.0 liblcms1 libmng2 libumfpack5.6.2   xsane-common Suggested packages:   gimp-help-en gimp-help gimp-data-extras liblcms-utils hylafax-client   mgetty-fax gv gocr The following NEW packages will be installed:   gimp gimp-data libamd2.3.1 libbabl-0.1-0 libcamd2.3.1 libccolamd2.8.0   libcholmod2.1.2 libgegl-0.2-0 libgimp2.0 liblcms1 libmng2 libumfpack5.6.2   xsane xsane-common 0 upgraded, 14 newly installed, 0 to remove and 3 not upgraded. Need to get 10.0 MB of archives. After this operation, 44.1 MB of additional disk space will be used.   Why does it want to install gimp as a dependency? So far, I've always been able to use xsane standalone? I certainly doubt gimp is required for xsane to run - so how can I install xsane alone without gimp?  EDIT: The weird thing is that here:  , gimp is listed with blue as "suggests", and shouldn't "suggestions" be ignored by default?
I use Ubuntu 12.04 64-bit, I did the following: sudo gedit /etc/apt/apt.conf and added  APT::Install-Recommends "false"; APT::Install-Suggests "false";    But it did not work. When I try to install a package, it still wants to install the suggested and recommended packages. How can I solve this?
Display Blank when Referencing Blank Cell in Excel 2010 For a given class I would like to have tracing functionality i.e. I would like to log every method call (method signature and actual parameter values) and every method exit (just the method signature).      How do I accomplish this assuming that:     I don't want to use any 3rd party AOP libraries for C#, I don't want to add duplicate code to all the methods that I want to trace,   I don't want to change the public API of the class - users of the class should be able to call all the methods in exactly the same way.     To make the question more concrete let's assume there are 3 classes:     public class Caller   {      public static void Call()       {          Traced traced = new Traced();          traced.Method1();          traced.Method2();       }  }   public class Traced   {      public void Method1(String name, Int32 value) { }       public void Method2(Object object) { }  }   public class Logger  {      public static void LogStart(MethodInfo method, Object[] parameterValues);       public static void LogEnd(MethodInfo method);  }   How do I invoke Logger.LogStart and Logger.LogEnd for every call to Method1 and Method2 without modifying the Caller.Call method and without adding the calls explicitly to Traced.Method1 and Traced.Method2?  Edit:  What would be the solution if I'm allowed to slightly change the Call method? Can you run Android in a VM on PC? I came across a how-to guide for running Android 1.7 in a virtual machine (VirtualBox), but 1.7 is old. I haven't been able to find a Android 2.2 or 2.3 image anywhere, does anyone have any ideas on how to virtualize newer Android OS's? Preferably a free virtualization solution like VirtualBox.  Here is the link about virtualizing 1.7:    They send you to here to download Android disk images:    But I can't find anything newer than 1.7, anyone have any ideas? What does the $\ni$ (backwards element of) symbol mean?  It doesn't appear in the , and a Google search for "backwards element of" or "backwards epsilon" turns up contradictory (or unreliable) information.  It seems it can mean both "such that", or "contains as an element".  Is this correct, and if so, which is the more common usage? Creating Indexes on DB with Hibernate @Index Annotation How do I get my Python program to sleep for 50 milliseconds? How do I get my Python program to sleep for 50 milliseconds? I need to generate random numbers within a specified interval, [max;min].  Also, the random numbers should be uniformly distributed over the interval, not located to a particular point.  Currenly I am generating as:  for(int i=0; i&lt;6; i++) {     DWORD random = rand()%(max-min+1) + min; }   From my tests, random numbers are generated around one point only.  Example min = 3604607; max = 7654607;   Random numbers generated:  3631594 3609293 3630000 3628441 3636376 3621404   From answers below: OK, RAND_MAX is 32767. I am on C++ Windows platform. Is there any other method to generate random numbers with a uniform distribution? For which values $r, s \in \mathbb R$ is the set $\{u, v, w\}$ linearly independent? How exactly do I install Minecraft Mods and what is Forge? I'm having a really, really hard time figuring out how to install mods on Minecraft. I've looked everywhere I can think of for help but the information is almost always outdated or unhelpful.  I've seen on several sites about the use of something called Forge. The Mod I want to use requires 1.6.4 Forge and I have both Forge and the Mod folders sitting in my downloads folder.  I haven't installed any kind of mods for any game prior to this and I have little clue to the technical side of Minecraft, so please keep this in mind when you give me an answer please!  Things that might help you figure out how to help me:   I want to play this mod  and am using the 1.6.4 Forge given on a link that website gives Which singular names ending in “s” form possessives with only a bare apostrophe? Many questions already ask about this topic ( , , etc.) and their answers vary, but they always give exceptions to the apostrophe-s rule, for example:      6.24 The general rule for the possessive of nouns covers most proper nouns, including most names ending in sibilants."   Examples they give include Kansas’s, Ross’s land, and Jones’s reputation. Exceptions include Jesus’  and Moses’.  Which names does this apply to?  Is the Aeneas’  form correct, or is it Aeneas’s instead? How can I add a right-click desktop menu entry to create a text file to Gnome 3 in Ubuntu 16.04.02? Do you gain current HP when you level up? Interview Question Asked In yahoo Can you find the smallest positive number such that if you shuffle the digits of the number in a particular order, the shuffled number becomes twice the original number.  Source:   I understand the answer is $125874 =&gt; 251748$  $251748$ is twice the $125874$ and have same digits $1,2,4,5,7$ &amp; $8$  but how to solve this non programmatic ? What does the Visual Studio "Any CPU" target mean? How do I get HTML5 h.264 Video working on Firefox? According the the , h.264 video should now be working in Linux.  It does also say the appropriate gstreamer plug-ins need to be installed.  Does anyone know what these are?    I used this  and the  to verify that h.264 support works in Google Chrome on my Ubuntu 12.04 64-bit, but does not work on Firefox 26. What are the light blue lines on my imported objects Living potato clock? When are you supposed to use escape instead of encodeURI / encodeURIComponent? When encoding a query string to be sent to a web server - when do you use escape() and when do you use encodeURI() or encodeURIComponent():  Use escape:  escape("% +&amp;=");   OR  use encodeURI() / encodeURIComponent()  encodeURI("http://www.google.com?var1=value1&amp;var2=value2");  encodeURIComponent("var1=value1&amp;var2=value2"); Remove all attributes from html tags How to kill applications I have been playing around with Ubuntu installing new themes and and docks. Sometimes during the installation, whole screen just hangs. What is the best way in Ubuntu to Kill a process/application? Anything similar to Ctrl + Alt + Del of windows?