Finding all integral solutions of $x^4+y^4+z^4-w^4=1995$
Find all integral solutions of $ x^4 + y^4 + z^4 -w^4 = 1995 $
How to create a desktop shortcut in Unity? Is there an easy way to create a desktop shortcut for an application in Unity? The ability to right click or drag and drop icons to the desktop in Unity does not seem to be there. What is a single word in English which means to look down on others (due to their younger age, lower socio-economic position, lesser experience, etc)    Not look down upon everyone else in general, but look down upon some particular person due to a feeling of superiority of oneself over them ( this superiority may come from the fact that one feels has more money, talent, etc)?    By "look down upon" I don't mean just the feeling of having superiority over another, but acting to them in a manner that reflects this pride as well (for example, perhaps he acts very rudely to them, since he feels superior to them and feels he can get away with it, or he feels it doesn't matter at all due to his superiority) Is it possible to use `find -exec sh -c` safely? I'm trying to use find to echo 0 into some files, but apparently this only works with sh -c:  find /proc/sys/net/ipv6 -name accept_ra -exec sh -c 'echo 0 &gt; {}' \;   But using sh -c with find -exec makes me feel very uneasy because I suspect quoting problems. I fiddled a bit with it and apparently my suspicions were justified:   My test setup:  martin@dogmeat ~ % cd findtest  martin@dogmeat ~/findtest % echo one &gt; file\ with\ spaces martin@dogmeat ~/findtest % echo two &gt; file\ with\ \'single\ quotes\' martin@dogmeat ~/findtest % echo three &gt; file\ with\ \"double\ quotes\" martin@dogmeat ~/findtest % ll insgesamt 12K -rw-rw-r-- 1 martin martin 6 Sep 17 12:01 file with "double quotes" -rw-rw-r-- 1 martin martin 4 Sep 17 12:01 file with 'single quotes' -rw-rw-r-- 1 martin martin 4 Sep 17 12:01 file with spaces  Using find -exec without sh -c seems to work without problems - no quoting necessary here:  martin@dogmeat ~ % find findtest -type f -exec cat {} \; one two three  But when I'm using sh -c {} seems to require some kind of quoting:  martin@dogmeat ~ % LANG=C find findtest -type f -exec sh -c 'cat {}' \; cat: findtest/file: No such file or directory cat: with: No such file or directory cat: spaces: No such file or directory cat: findtest/file: No such file or directory cat: with: No such file or directory cat: single quotes: No such file or directory cat: findtest/file: No such file or directory cat: with: No such file or directory cat: double quotes: No such file or directory  Double quotes work as long as no file name contains double quotes:  martin@dogmeat ~ % LANG=C find findtest -type f -exec sh -c 'cat "{}"' \; one two cat: findtest/file with double: No such file or directory cat: quotes: No such file or directory  Single quotes work as long as no file name contains single quotes:  martin@dogmeat ~ % LANG=C find findtest -type f -exec sh -c "cat '{}'" \; one cat: findtest/file with single: No such file or directory cat: quotes: No such file or directory three    I haven't found a solution that works in all cases. Is there something I'm overlooking, or is using sh -c in find -exec inherently unsafe? Cannot edit posts on iOS app When I try to submit an edit in the iOS app it returns this message:        Text:     Account is not allowed to suggest edits   What happened and can it be fixed please? In Thor: The Dark World, Odin and Loki are discussing Loki's actions during The Avengers.  Loki argues that he would have ruled Earth as &quot;a benevolent god&quot;, and Odin replies:  Odin: We are not gods! We are born, we live, we die, just as humans do.  Now that's pretty definitive.  And Loki's snarky reply (&quot;Give or take five thousand years...&quot;) would seem to confirm that Asgardians have a limited lifespan, and will eventually die of old age.1  And we know that Asgardians can die in battle, because we've seen it happen over and over with supporting characters and Asgardian soldiers. Now, I've always been more of a fan of Thor stories (like Jason Aaron's Thor: God of Thunder arc) in which Thor and the Asgardians are gods.  Straight-up, genuine, higher-level-of-existence gods, not von-Däniken-esque wannabes playing on the tired old notion of magic just being super-advanced science.  BUT, despite my preferences, this exchange would seem to confirm once and for all that in the MCU, the Asgardians are not gods, but rather were mistaken for gods because of their ram-horns full of awesome-sauce and their magnificent bulging pecks. But wait!  Watch that movie for about 30 seconds longer and we come across this exchange:  Thor: She is ill. Odin: She is mortal. Illness is their defining trait.  Wait, what?  I thought Asgardians weren't immortal?  They can die in battle, and they naturally die of old age.  In my book, that makes them long-lived, but entirely &quot;mortal&quot;.  Surely Odin isn't splitting a hair so fine as to say that resistance to disease alone makes one &quot;immortal&quot;? So, if the Asgardians of the MCU aren't actually gods (grumblegrumblegrumble...), and they can't live forever (or even particularly long in a cosmic sense), and they can be killed in battle, in what sense are they &quot;immortal&quot; at all?  1 Fun fact: adjusted for a roughly 5,000 year lifespan, 1,048-year-old Loki is currently in the tail-end of his rebellious teenage phase. Why should users have to press Return twice to insert new lines? When I post a question and want to add a new line, I have to press Return two times, or else the next text will appear on the same line.  Is this really supposed to behave this way? If so, why? Expected value of sums Suppose we draw cards out of a deck without replacement. How many cards do we expect to draw out before we get an ace? Make CMD-Delete a keyboard shortcut in Apple Mail to move a message to the archive? How to upload a file of size 2GB from Apex? Is there any sobject that I can make use of? I am running Ubuntu 20.04 an  with an NVIDIA GeForce GTX 1660TI GPU. According to , the driver version for this GPU is 430. When I first installed Ubuntu, I installed 440. I'm now trying to correct that and install 430. I ran sudo apt-get install nvidia-driver-430, and then did a reboot. When I examined nvidia-smi, though, it still showed the 440: +-----------------------------------------------------------------------------+ | NVIDIA-SMI 440.100      Driver Version: 440.100      CUDA Version: 10.2     | |-------------------------------+----------------------+----------------------+ | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC | | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. | |===============================+======================+======================| |   0  GeForce GTX 166...  Off  | 00000000:01:00.0 Off |                  N/A | | N/A   55C    P0     9W /  N/A |      0MiB /  5944MiB |      0%      Default | +-------------------------------+----------------------+----------------------+  What is the appropriate way of updating this driver? Is there a way for non-root processes to bind to "privileged" ports on Linux? It's very annoying to have this limitation on my development box, when there won't ever be any users other than me.  I'm aware of , but none of them do exactly what I want:    (The version in Debian testing, 1.0, only supports IPv4)  (the "nat" table is not yet implemented for ip6tables, the IPv6 version of iptables) sudo (Running as root is what I'm trying to avoid) SELinux (or similar). (This is just my dev box, I don't want to introduce a lot of extra complexity.)   Is there some simple sysctl variable to allow non-root processes to bind to "privileged" ports (ports less than 1024) on Linux, or am I just out of luck?  EDIT: In some cases, you can  to do this. How to install Blender from the official website I installed Blender from official Ubuntu repository but its version is always behind the version available from the official Blender website.  I'm aware that I can launch the program within the downloaded folder, but i want to replace the install version with a new version downloaded from the website?   It must be present in the unity launcher.  I'm also aware of the available PPA's that are available, however I just want to install Blender manually.  Thanks in advance Should I use a canonical link which refers to the current URL with pagination? "Yesterday" time specification shown when it was actually the day before yesterday Looking for a short story title about a "weird house" I have created an ArcGIS enterprise geodatabase. There are i5, i6,... i30 tables in the sde schema of my geodatabase. What do these tables do? How to count the number of occurrences of each item in an array? Is "The empty set is a subset of any set" a convention? Recently I learned that for any set A, we have $\varnothing\subset A$.  I found some explanation of why it holds.     $\varnothing\subset A$ means "for every object $x$, if $x$ belongs to the empty set, then $x$ also belongs to the set A". This is a vacuous truth, because the antecedent ($x$ belongs to the empty set) could never be true, so the conclusion always holds ($x$ also belongs to the set A). So $\varnothing\subset A$ holds.   What confused me was that, the following expression was also a vacuous truth.     For every object  $x$, if $x$ belongs to the empty set, then $x$ doesn't belong to the set A.   According to the definition of the vacuous truth, the conclusion ($x$ doesn't belong to the set A) holds, so $\varnothing\not\subset A$ would be true, too.  Which one is correct? Or is it just a convention to let $\varnothing\subset A$? I want to attach a code file to my question, but I am not able to find a link to do it. Is attaching files possible at all? I tried to make a crouch system. In my script I changed .height and .center properties of collider in CharacterController component. But there are some problems. First, once I press "crouch button" collider is changing its height and center position but when I release the key the collider isn't returning to its previous state. Secondly, if I change its height and position by hand when collider is under a block, it's just stuck. How can I fix this problem?   Here's my script:  using System.Collections; using System.Collections.Generic; using UnityEngine;  [RequireComponent(typeof(CharacterController))] public class PlayerController : MonoBehaviour {      public float moveSpeed;     public float jumpForce;     public CharacterController controller;     public GameObject myCamera;      private Vector3 moveDirection = Vector3.zero;     public float gravityScale;      public Animator anim;      // Use this for initialization     void Start () {         transform.tag = "Player";         controller = GetComponent&lt;CharacterController&gt;();            }      // Update is called once per frame     void Update () {         Vector3 forwardDirection = new Vector3 (myCamera.transform.forward.x, 0, myCamera.transform.forward.z);         Vector3 sideDirection = new Vector3(myCamera.transform.right.x, 0, myCamera.transform.right.z);         forwardDirection.Normalize ();         sideDirection.Normalize ();         forwardDirection = forwardDirection * Input.GetAxis("Vertical");         sideDirection = sideDirection * Input.GetAxis("Horizontal");         Vector3 directFinal = forwardDirection + sideDirection;          if (directFinal.sqrMagnitude &gt; 1)         {             directFinal.Normalize ();         }          if (controller.isGrounded)         {             moveDirection = new Vector3(directFinal.x, 0, directFinal.z);             moveDirection *= moveSpeed;             if (Input.GetButtonDown("Jump"))             {                 moveDirection.y = jumpForce;             }              if(Input.GetButtonDown("Crouch"))             {                 controller.height = 1f;                 controller.center = new Vector3(0f, -0.5f, 0f);                 moveSpeed = 3f;             }         }         moveDirection.y = moveDirection.y + (Physics.gravity.y * gravityScale * Time.deltaTime);         controller.Move(moveDirection * Time.deltaTime);          anim.SetBool("isGrounded", controller.isGrounded);         anim.SetFloat("Speed", (Mathf.Abs(Input.GetAxis("Vertical")) + Mathf.Abs(Input.GetAxis("Horizontal"))));     } }   Thanks for any help!