I'm following  guide to install WPS Office but when I run the dpkg command, the following appears in the terminal:  (Reading database ... 291111 files and directories currently installed.) Preparing to unpack wps-office.deb ... Unpacking wps-office (10.1.0.5672~a21) over (10.1.0.5672~a21) ... dpkg: dependency problems prevent configuration of wps-office:  wps-office depends on libpng12-0; however:   Package libpng12-0 is not installed.  dpkg: error processing package wps-office (--install):  dependency problems - leaving unconfigured Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.13.3-6ubuntu5) ... Processing triggers for desktop-file-utils (0.23-1ubuntu2) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for shared-mime-info (1.8-1) ... Processing triggers for hicolor-icon-theme (0.15-1) ... Errors were encountered while processing:  wps-office   Then, when I run:  sudo apt-get install -f &amp;&amp; rm wps-office.deb   The following is output:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages will be REMOVED:   wps-office 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 367 MB disk space will be freed. Do you want to continue? [Y/n] n Abort.   I switched to Ubuntu from ChromeOS about a week and a half ago so this is all very new to me and any help you can give would be greatly appreciated.
I'm using Ubuntu GNOME 16.10 and was trying to install WPS Office. I tried to install using software centre But it wasn't installing without giving any error logs. Then I opened it with Gdebi installer. Here is what I saw.    I have already trying enabling multiverse repositories.  Edit: I have downloaded the amd64 package from the WPS official site, but even now installing through terminal I still get the missing dependencies error.
Always wanting more , of anything, never has enough,never contented with what they have I need to prove that if $f: (0,1) \rightarrow \mathbb{R}$ is Uniformly continuous then it is  bounded.   Thank you. I have a program which I am trying to run, however when I run it; it just complains that it can't find a particular file.  However I have no idea which folder it is trying to find this particular file in. I have a copy of the required file, I just need to know which folder to copy it too.  Is there any way to show in real time which files are being accessed or which files are trying and failing to be accessed?  I am using Ext4 filesystem if that helps.  Thanks Show that $f(X - D) \cap f(D) = \varnothing$ with $f$ continuous in $X$, $D$ dense in $X$ and $f|_{D}$ homeomorphism Recently I created a website with hundreds of thousands of unique pages. A week ago, Google had indexed about 250,000 pages. It has now decreased to 90k URLs (using a site:domain.com query).   What should I do to have Google index all the pages again? Why did all these pages get de-indexed from Google?. My computer name in System Preferences &gt; Sharing is set to &quot;archos&quot;, but is showing as &quot;iphone&quot; on Terminal. It just started doing this after I loaded Xcode for doing iPhone development: Last login: Mon Nov  7 14:46:55 on ttys001 iphone:~ travis$   Any ideas what could be causing this? If I take a screenshot, often the next action is to paint on it. Sometimes I paint a circle around something, sometimes I blank parts to anonymize them.  Below is an example of the window after the screenshot was taken:    It would be great if I could directly go to "edit image".  BTW, I use Pinta, not Gimp.  I guess this is impossible.  Off-topic but nevertheless relevant:  I know the terms "Wayland", "Xorg", "Gnome".  But my grand mother is a user, not a geek. She does not know these terms. And it would be great, if she could use ubuntu without learning these terms. So this is something I just found out about that I find odd:   Opportunity attacks—trigger off of movement that uses the creatures movement (action, move action, bonus action, reaction.)  Sentinel—Whenever a creature within 5 ft of you makes an attack at a creature other than you.   Booming blade—If the target willingly moves.   Mental Prison spell—if it moves, attacks through it, or reaches any part of body out of it.   So the “willingly” is different than other rulings for how effects related to movement works. However what exactly fits willing?   Cause fear—nope magic is having them move. Dissonant whispers—same thing. They have to immediately move.   So the creature has to want to move completely of its own accord.   Crown of Madness—Humanoid creature you choose must make a wisdom saving throw. On a fail it is charmed by you. (Next is flavor text so skipping.) While charmed in this way the target must make an attack on a creature other than itself that you mentally choose on each of its turns before moving.  It can act normally if you choose no creature or if none are within reach.   Crown of madness isn't making them move but doesnt specifically say willing.  And if the ruling for willing is movement not caused by magic what about magic causing situations where you take damage if you don't move. Would a creature shimmering with evocation energy be spared because he moved out of the magical blender that is cloud of daggers? If no, then what is the go-to rule for willing movement that I should be using?  In short, what movement counts as willing, and where can it be found? Is moving out of obvious danger caused by magic, willing? Is moving away from an ally so you don't hit them, willing?   If there isn't any actual ruling on willing, that's fine; I'll go back to running it with my interpretation, so that it has same wording as AOO. If there is an actual 5e term or explanation for willing (that isn't Sage Advice), please let me know. I just don't see why it was necessary to put a term in the spell that isn't used anywhere else. I understand it could have been overlooked since it was in a splatbook or has just been ignored since most people probably assume that there is "Forced " and "Willing" movement, with the willing being defined as: any movement from an action, move action, bonus action, or reaction. In same way AOO work. Related:    The helpcenter has . It still links to the  for further details. Besides that, the question ban message .  Now that we have the helpcenter, could the following changes be implemented?   Link to the help center instead of the meta post Remove the link to the meta post from the help center, and instead incorporate its contents into the helpcenter itself Why must the eigenvalue of the number operator be an integer? My apologies if this question has already been answered. Using the notation of Sakurai, we have an energy eigenket N and an eigenvalue n.  $$N | n \rangle = n | n \rangle$$  For the number operator $N = a^\dagger a $. My question is precisely why does n have to be an integer. I do understand that it must be positive definite due to the norm condition on $ a | n \rangle $:  $$\langle n | a^\dagger a | n \rangle \geq 0$$  I can see that we can show:  $$ a | n \rangle = \sqrt{n-1} | n-1 \rangle $$ and similarly for $a^\dagger | n \rangle$  Sakurai argues that the sequential operation of $a$ operators leads to the form which he does not write, but I will write here for clarity:  $$ a^k | n \rangle = \left(\sqrt{n}\sqrt{n-1}...\sqrt{n-k+1}\right) | n - k + 1 \rangle $$   Since  $$ a|0 \rangle = 0 $$  the sequence must terminate, but can only terminate if n is an integer. How can we make that jump? Is there a formal mathematical proof that the sequence $\left(\sqrt{n}\sqrt{n-1}...\sqrt{n-k+1}\right)$ will terminate if and only if n is an integer? Run a program X times Do spells with a range of "Self" target the caster? New to D&amp;D, and thought about creating a Beast Master. I was wondering if spells with a range of "Self" would count you as the "target" of the spell. There's some debate in my group, as unlike something such as Cure Wounds, which specifies "A creature you touch," there's technically no mention of a target in a Self range spell within the description. A fair amount of people in my playgroup come from a TCG background, where the presence (or lack thereof) of keywords like "target" are essential for determining interaction.  tl;dr Would Paladin Smites or Thunderwave count as "targeting" yourself, and therefore be affected by Beast Master's Share Spell? Is there a way to merge to two bars in GNOME 3? Best case scenario would be to have one single bottom or top bar that has all the symbols on the left side and the rest like the time indicator, connections, on/off button, etc. on the right side.  Is that possible in any way? Python/Matplotlib - Is there a way to make a discontinuous axis? Can Superman see through his eyelids? Given that his x-ray vision allows him to see though skin, can he use this ability with his eyes closed? Or do they prevent it somehow? Order of a homomorphism of groups What is the best way to put a backdoor in an encryption system? How can you put a backdoor into an encryption algorithm? Are there any techniques that can be used to reduce the time it takes to break a key?  I am looking for practical examples encryption schemes that have backdoors, because they were designed to or new techniques exposed them. It is my understanding that you can use a lack of entropy and diffusion in block ciphers which will reduce the necessary time that it takes to break a key. This is especially true with s-boxes, which can be designed to not increase the strength of the key. As for one-way algorithms, using none-primes can make it easier to reverse keys. What are other decisions that can be made to make a broken encryption algorithm?   The goal is find examples that can be used for encryption pedagogy, by collecting a sample of weak ciphers to practice on. I know the so-called textbook definition of unit tests and integration tests.  What I am curious about is when it is time to write unit tests... I will write them to cover as many sets of classes as possible.  For example, if I have a Word class, I will write some unit tests for the Word class.  Then, I begin writing my Sentence class, and when it needs to interact with the Word class, I will often write my unit tests such that they test both Sentence and Word... at least in the places where they interact.  Have these tests essentially become integration tests because they now test the integration of these 2 classes, or is it just a unit test that spans 2 classes?  In general, because of this uncertain line, I will rarely actually write integration tests... or is my using the finished product to see if all the pieces work properly the actual integration tests, even though they are manual and rarely repeated beyond the scope of each individual feature?  Am I misunderstanding integration tests, or is there really just very little difference between integration and unit tests? How to make sure that Thinkpad discharges external slice battery first? The thing is that when an external slice battery pack is connected, the laptop first discharges the internal one. This is a problem because then it is impossible to switch between multiple external battery packs without powering off the laptop. It is also not possible to just disconnect the external battery pack when you e.g. need to insert it into a docking station.  Thus, my question: how to change the discharge order under Linux?  For my use cases following order would make much more sense: when an external slice battery is connected, first discharge it completely before using power from the internal battery.  Background: For some Thinkpad models (e.g. X220) there are slice battery packs () available that you can connect to the bottom of the laptop (similar to a docking station).  They seem to be supported well on Linux - e.g. the Gnome Shell battery applet includes both batteries (internal and external) when connected - including displaying the current capacity for each. Cannot favorite once up voted I'm not sure whether this is exactly the same bug as  or whether this is a new bug.  If you up vote a question and then attempt to add it to favorites too you get Question is already favorited:    This also happens if you up vote on the web site and then try to favorite it from Android. If you don't up vote or if you favorite it first and then up vote it appears to work fine.