Waiting for process started by bash to end and get its PID
How to wait in bash for several subprocesses to finish and return exit code !=0 when any subprocess ends with code !=0?
1.13 Detect if no mobs with a specific tag exist and execute commands My 1.12 solution can be found . When trying to update command blocks to 1.13, I have the following:  scoreboard objectives add invert dummy   (run at start) then:  scoreboard players set FakePlayer invert 1   (impulse unconditional repeat) chained into:  execute at @e[tag=summoned] run scoreboard players reset FakePlayer invert   (chain unconditional repeat) chained into:  execute if score FakePlayer invert = 1 invert run say "All summoned animals are dead!"   This should reset FakePlayers score continuously until all entities with tag "summoned" are dead, then it should run the final condition. This does not happen, and I can't see why. How can I format my active hard drive to NTFS? I'm trying to install Windows 7 with a 4GB flash drive, but my error that comes up is that my hard drive I'm trying to install on is in ext4. I need to format it to read NTFS. I can't seem to find any topics on how to format an active hard drive. I found a topic that explains how to move Ubuntu to a new drive, but it's a bit confusing to me. When is the graph of the divisor relation on $[n]$ planar? I am constructing a thought experiment about a spinning object that is floating in intergalactic space.  I assume that this object is about the size of a planet so that it will have enough gravity so that a Foucault pendulum will work, although I'm not sure that this is necessary for the thought experiment.    I can easily determine that this object is spinning if I stand on the object and observe the galaxies around me rise and set.  Similarly, I can determine the axis of rotation.    For simplicity, I go to one of the poles of my object, and I set up my Foucault pendulum.  What will I see?  And why will I see it?  I assume that in intergalactic space, the gravity is very small (galaxies are very far away, and the mass of my object is very small compared to the mass of a galaxy) so that there will be little coupling between the gravitational field of my object and the gravitational field of the galaxies around me. Order discrete x scale by frequency/value Proof of Divergence for a Sequence Maven project with native dependency and copying files Google Maps Location History is showing an incorrect location I have a major problem that I hope someone can help with. On my Google Maps feature under my Location History it shows a location that I was never at at any point, but when my wife happened to see that location she doesn't believe me that the GPS could be wrong and pinpoint that location if I was never there.  I was first wondering myself how could that could be possible if I was never there or my phone was never at that location that was 35 miles away from me and second is there any way I could prove the GPS being wrong? Can I contact Google Maps and can they give an official printout of that certain day and every location I was? I really need to prove my honesty to her and hope there is a way. I am developing my first 2D game in Unity and I have come across what seems an important question.  How do I handle data between scenes?  There seems to be different answers to this:   Someone mention using , while other people told me this should be used to store other things like screen brightness and so on. Someone told me that the best way was to make sure to write everything into a savegame everytime that I changed scenes, and to make sure that when the new scene loads, get the info from the savegame again. This seemed to me wasteful in performance. Was I wrong? The other solution, which is the one I have implemented so far is to have a global game object that isn't destroyed between scenes, handling all the data between scenes. So when the game starts, I load a Start Scene where this object is loaded. After this ends, it loads the first real game scene, usually a main menu.   This is my implementation:  using UnityEngine; using UnityEngine.UI; using System.Collections;  public class GameController : MonoBehaviour {      // Make global     public static GameController Instance {         get;         set;     }      void Awake () {         DontDestroyOnLoad (transform.gameObject);         Instance = this;     }      void Start() {         //Load first game scene (probably main menu)         Application.LoadLevel(2);     }      // Data persisted between scenes     public int exp = 0;     public int armor = 0;     public int weapon = 0;     //... }   This object can be handled on my other classes like this:  private GameController gameController = GameController.Instance;   While this has worked so far, it presents me with one big problem: If I want to load directly a scene, let's say for instance the final level of the game, I can't load it directly, since that scene does not contain this global game object.  Am I handling this problem the wrong way? Are there better practices for this kind of challenge? I would love to hear your opinions, thoughts and suggestions on this issue.  Thanks How much money do I need to make in order to generate 1k/month for the rest of my life? Is that even possible? If yes, in what way? Edit: I am 30 years old. I recently upgraded to Ubuntu 20.04 lts from 18.04 lts. After reboot audio is not working. I tried to reinstall pulseaudio and alsa but still not working. sudo apt-get install --reinstall alsa-base pulseaudio sudo alsa force-reload still not working. output  └─▶ inxi -SMA System:    Host: Wizard Kernel: 5.4.0-26-generic x86_64 bits: 64 Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa)  Machine:   Type: Portable System: Dell product: Vostro 2520 v: N/A serial: &lt;superuser/root required&gt;             Mobo: Dell model: 0V1NDP v: A11 serial: &lt;superuser/root required&gt; BIOS: Dell v: A11 date: 02/24/2014  Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel             Sound Server: ALSA v: k5.4.0-26-generic     output └─▶ lspci  00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4) 00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation HM75 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04) 07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01) 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07) How can you get the names of method parameters? If I have a method such as:  public void MyMethod(int arg1, string arg2)   How would I go about getting the actual names of the arguments? I can't seem to find anything in the MethodInfo which will actually give me the name of the parameter.  I would like to write a method which looks like this:  public static string GetParamName(MethodInfo method, int index)   So if I called this method with:  string name = GetParamName(MyMethod, 0)   it would return "arg1". Is this possible? SEO preference: does a site with WWW rank better than without WWW? What is the resolution I need to make a picture to make curves look smooth and not pixelated? how to add object to a keyframe range? lets assume we have an iron man pointing his hand to a target and shooting few frames later as shown in the picture below:    frame 0 to 10 he will point frame 11 to 15 he will shoot, which is just a long cube with one larger face to give idea or a laser projectile   how can I add the projectile cube only on frame 11? I don't what it to exist before that  thanks How to respond to "How much funding will you bring?" as an interview question for a faculty job? What's the starting wealth for higher levels? The PHB only gives starting wealth for Level 1 PCs. Based on my experience in other games, specifically Pathfinder, I would expect to get more at higher levels. Where can I find an appropriate table or calculation? When should I vote to delete a question? I've recently reached enough reputation on one of the sites to be able to cast delete votes. I am not sure when a question is supposed to be deleted as opposed to just remain closed.   What criteria should I use when deciding whether or not to cast my delete vote? Trying to show that $\ln(x) = \lim_{n\to\infty} n(x^{1/n} -1)$ How to include PHP files that require an absolute path? I have a directory structure like the following;     script.php      inc/include1.php   inc/include2.php      objects/object1.php   objects/object2.php      soap/soap.php   Now, I use those objects in both script.php and /soap/soap.php, I could move them, but I want the directory structure like that for a specific reason. When executing script.php the include path is inc/include.php and when executing /soap/soap.php it's ../inc, absolute paths work, /mnt/webdev/[project name]/inc/include1.php... But it's an ugly solution if I ever want to move the directory to a different location.  So is there a way to use relative paths, or a way to programmatically generate the "/mnt/webdev/[project name]/"?