I've been trying to install google earth and get these dependency issues related to lsb-core. When I try to install lsb-core I get more dependency issues with it.   jacob@jacob-desktop:~$ sudo apt-get install lsb-core Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  google-earth-stable : Depends: ia32-libs but it is not installable  lsb-core : Depends: lsb-invalid-mta (&gt;= 4.1+Debian11ubuntu4) but it is not going to be installed or                      mail-transport-agent             Depends: at             Depends: m4             Depends: mailx or                      mailutils but it is not going to be installed             Depends: ncurses-term but it is not going to be installed             Depends: pax             Depends: alien (&gt;= 8.36) but it is not going to be installed             Depends: libc6-i386 but it is not going to be installed             Depends: lib32z1 but it is not going to be installed             Depends: lsb-security (&gt;= 4.1+Debian11ubuntu4) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   any advice??
Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (&gt;= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this?
how to install packages with apt-get on a system connected via proxy? I've got an Ubuntu 11.10 system connected via a proxy to the internet, and I would like to install packages via apt-get. When I try to do that I get this error message:  sudo apt-get install libboost-program-options-dev [...] Err http://gb.archive.ubuntu.com/ubuntu/ oneiric/main libboost1.46-dev i386 1.46.1-5ubuntu2 407  Proxy Authentication Required   Any ideas? are used by the Empire in a manner that is tactically identical to how a modern day army would use a tank, in that they are used as shock armour with powerful main guns which will punch through entrenched positions. (No combined arms tactics were used in the Battle of Hoth, but that's a different question altogether)  However, AT-AT walkers have a number of (rather lethal) drawbacks and no advantages that I can see compared to tanks.    They have footpads in place of treads, which greatly increase their ground pressure, and which will cause them to easily sink as compared to treads They have a high center of gravity and can be easily tripped, which was exploited in the Battle of Hoth. (granted that this was canonically presented as an oversight, albeit a rather stupid one, since most martial arts strongly emphasise lowering your CG.) They are slower than a modern main battle tank despite their long legs, which one would normally expect to grant additional mobility (max speed 60km/h on flat terrain, compared to 72km/h on flat terrain for the ). This is exacerbated by the fact that AT-AT walkers are using fusion power cells as compared to diesel engines.   It would seem that it would make far more sense for the Empire to remove the legs and mount the main chassis on treads, which would make the vehicle far more effective. Why then, did they not do this? It clearly was not the case that imperial Engineers lacked imagination, as they did produce .   Possible answers which I find implausible as advantages:  1: AT-AT walkers are tall, and therefore have a surveying advantage over the battlefield / have a better vantage point to fire from  Orbital satellites can provide the observation, and in any case air/orbital support should always be called in, especially if fire support from above is required. Force a Blender operator to always start with default values I'm writing an operator for which it is crucial that every time it gets called all the properties are set to their default values.   The ops.object.delete has 1 param. use_global. It is always false, no matter what the user put in last time it got called. I would like to replicate exactly that.   (For example: I want to modify delta scale. The default val for my_factor is 1, so nothing happens until the user alters that number. If the user calls the operator again, it will have stored whatever number the user has used last, however I want it to always start with 1.) Right now I'm using echo &quot;Hello World&quot; &gt;&gt; file.txt  to append some text to a file but I also need to add text below a certain string let's say [option], is it possible with sed? EG: Input file Some text Random [option] Some stuff  Output file Some text Random [option] *inserted text* Some stuff Theorem 13.9 in these  is the polynomial spectral mapping theorem:     Theorem 13.9 For a polynomial $p$ we have $\sigma(p(T)) = p(\sigma(T))$.     My questions:   First direction: Why would $q(T) (p(T) - p(\lambda) I)$ be an inverse for $T - \lambda I$? Update: @RobertIsrael said that instead $(p(T) - p(\lambda) I)^{-1} q(T)$ should be $(p(T) - p(\lambda) I)^{-1}$ be? According to the lines in the proof above, we have $$ (p(T) - p(\lambda) I)^{-1} = ((T - \lambda I) q(T))^{-1} \overset{?!}{=} q(T)^{-1} (T - \lambda I)^{-1}, $$ but as $\lambda \in \sigma(T)$ by assumption, $(T - \lambda I)^{-1}$ doesn't exist, right? For the second direction: Why does $x_i \in \sigma(T)$ imply that $p(x_i) - \mu = 0$? I thought that $x_i \in \sigma(T)$ only implies that $T - x_i I$ is not boundedly invertible. Since $\mu \in \sigma(p(T))$ we have that $p(T) - \mu I = c \prod_{k = 1}^{n} (T - x_i I)$ is not boundedly invertible but how does that help?   In both statements there seem to be a notion of "a product of operators is not invertible iff all factors aren't invertible", but how can that be true? Consider i.e. shift operators on a sequence spaces such that $ST = I$, i.e. the left and right shift operators, then the above mentioned notion doesn't hold, right? Is there a difference between Bayesian and Classical sufficiency? The title pretty much says it all. I wonder whether there is any difference in the way Bayesians understand sufficiency vs. the way orthodox statistics understands sufficiency, or are they equivalent?  If there is a difference, what is it? How do I access the index in a for loop like the following?  ints = [8, 23, 45, 12, 78] for i in ints:     print('item #{} = {}'.format(???, i))   I want to get this output:  item #1 = 8 item #2 = 23 item #3 = 45 item #4 = 12 item #5 = 78   When I loop through it using a for loop, how do I access the loop index, from 1 to 5 in this case? I am writing my CV using moderncv package, everythig is nice but I have a problem with \cventry command. I have something like this:   (it means 2010 - now)  I would want to have this in one line, rather than in two lines. I tried looking into the moderncv style files but with no success. What can I do to achieve the effect I want? Is the EmDrive, or "Relativity Drive" possible? In 2006, New Scientist magazine published an article titled 1 [] about the  [] which stirred up a fair degree of controversy and  that New Scientist was engaging in pseudo-science.   Since the original article the inventor claims that a "Technology Transfer contract with a major US aerospace company was successfully completed", and that papers have been published by Professor Yang Juan of The North Western Polytechnical University, Xi'an, China. 2   Furthermore, it was  that the Chinese were going to attempt to build the device.  Assuming that the inventor is operating in good faith and that the device actually works, is there another explanation of the claimed resulting propulsion?  Notes:  1. Direct links to the article may not work as it seems to have been archived. 2. The abstracts provided on the  website claim that they are Chinese language journals which makes them very difficult to chase down and verify. Why is 128==128 false but 127==127 is true when comparing Integer wrappers in Java? Why does a cork ball float to the side of a glass as illustrated in the following GIF? What is the physical phenomenon behind this observation and why does it happen? Are all algebraic integers with absolute value 1 roots of unity? how to not commence a command depending on player health? What info does Google backup? Does anyone know what exactly does Google backup (and restore) when you enable that option?  Also, are we able to see this list somewhere? (Maybe hidden n-levels deep in Google Account information?)  Reason I ask is I've had the unfortunate experience of my SD Card dying on me, put in a temporary SD Card and allowed Google to do the auto-restore.  Some things that were restored:   Saved wireless networks Background Some apps - strangely enough only a subset of my apps were restored (some with data, some without). All previous apps were installed via Android Market.   Then finally got my new SD Card, put that in and the following were restored   Saved wireless networks Some apps - again, same problem... only a subset (different subset, even fewer apps). This time no data seemed to have been restored either.   I think it would be very helpful to be able to view/manage a list of what is backed up, and thus would be restored (but I have yet to find this list... if it even exists). Folland, "Real Analysis", Chapter 5.3, Exercise 36:     Let $\mathcal{X}$ be a separable Banach space and let $\mu$ be   counting measure on $\mathbf{N}$.  Suppose that   $\left\{x_n\right\}_1^\infty$ is a countable dense subset of the unit   ball of $\mathcal{X}$, and define $T \colon L^1(\mu) \to \mathcal{X}$   by $Tf = \sum_1^\infty f(n) x_n$.  (a)  $T$ is bounded.  (b)  $T$ is   surjective.   I have proved (a).  I would like help on (b).  Here are my ideas so far.    Say we want to show $y \in \mathcal{X}$ is in the image of $T$.  Reduce to the case $||y|| = 1$ and let $x_{n_m} \to y$.  My thought is to produce for each $N$ a function $f_N \in L^1(\mu)$ such that $||y - \sum_n^\infty f(n)x_n|| &lt; 1/N$ and also such that the $f_N$ converge in $L^1(\mu)$ to some $f \in L^1(\mu)$.  Then use the continuity of $T$ to conclude $T(f) = y$.    The way I have been setting up my inequalities is as follows. Pick $M_N$ such that for all $m &gt; M_N$, $||y - x_{n_m}|| &lt; 1/N$.  Then I want to define $f_N$ so that $$\sum_n^\infty f_N(n) = \sum_{m &gt; M_N}^\infty f_N(m) = 1, $$ hence $$||y - T(f_N)|| = ||\sum_{m &gt; M_N}^\infty f_N(m) y + \sum_n^\infty f_N(n)x_n|| \leq \sum_{m &gt; M_N}^\infty f_N(m) || y - x_{n_m} || &lt; \frac{1}{N}. $$  Presumably, if the $f_N$ are appropriately chosen, then I can find a dominating function and apply the Dominated Convergence Theorem to finish up.    However, getting all these hypotheses to hold simultaneously has been difficult.  In essence, the difficulty seems to be in requiring that the $f_N$ be "normalized" as well as possess a dominating function.  If this method is feasible, at least it seems to require a bit of analysis to show the desired series all converge.  Perhaps I am missing something cleaner.  If so, a simpler solution would be much appreciated.    -Thanks. I keep getting the message MobileMe Service Stopped Working each time I open Outlook 2007. I have to click on the Close Program button in the error message twice each time it shows up while Outlook is trying to load up. Then I am able to use Outlook. I never use my iCloud account and would like to know how I can deactivate iCloud so I do not have issues with my Outlook. How to Start Web Mapping? Interfaces with static fields in java for sharing 'constants' I'm looking at some open source Java projects to get into Java and notice a lot of them have some sort of 'constants' interface.  For instance,  has an interface called , and most other core classes implement this interface. The interface is riddled with static members. Is there a reason for this approach, or is this considered bad practice? Why not use enums where it makes sense, or a static class?  I find it strange to use an interface to allow for some sort of pseudo 'global variables'.  public interface PConstants {    // LOTS OF static fields...    static public final int SHINE = 31;    // emissive (by default kept black)   static public final int ER = 32;   static public final int EG = 33;   static public final int EB = 34;    // has this vertex been lit yet   static public final int BEEN_LIT = 35;    static public final int VERTEX_FIELD_COUNT = 36;     // renderers known to processing.core    static final String P2D    = "processing.core.PGraphics2D";   static final String P3D    = "processing.core.PGraphics3D";   static final String JAVA2D = "processing.core.PGraphicsJava2D";   static final String OPENGL = "processing.opengl.PGraphicsOpenGL";   static final String PDF    = "processing.pdf.PGraphicsPDF";   static final String DXF    = "processing.dxf.RawDXF";     // platform IDs for PApplet.platform    static final int OTHER   = 0;   static final int WINDOWS = 1;   static final int MACOSX  = 2;   static final int LINUX   = 3;    static final String[] platformNames = {     "other", "windows", "macosx", "linux"   };    // and on and on  } How do I make protocol foo hostname-aware? This is a  about hostname-awareness and proxying.   I know that some protocols are hostname-aware; that is, when I connect to the HTTP server at www.example.com it knows I want www.example.com's HTTP service, not www.example.net's, even though they are on the same IP address.  How can I do this for protocol foo?  (Temporary note: this question appears pursuant to .) Locking a vehicle bicycle rack We are planning a trip with a bike rack attached to our trailer hitch. What is the best way to lock the bikes while the vehicle is unattended? I see some racks have locks on the knobs but they don't seem very strong.   What do you suggest?