Positive semi definiteness of complex matrices [CSIR 2015]

Consider the following subsets of the complex plane:  $$ \Omega_1=\left\{ C\in \mathbb{C} :  \begin{bmatrix}         1  & C\\         \overline C &1         \end{bmatrix}\text{ is positive semi-definite} \right\} $$  $$ \Omega_2=\left\{ C\in \mathbb{C} :  \begin{bmatrix}         1  & C &C\\         \overline C &1 &C\\         \overline C & \overline C & 1         \end{bmatrix}\text{ is positive semi-definite} \right\} $$  Let $\overline {\mathbb{D}}= \{z \in \mathbb{C} :\vert z \vert \le 1\}$.Then   $\Omega_1=\overline {\mathbb{D}},\Omega_2=\overline {\mathbb{D}}$. $\Omega_1\neq\overline {\mathbb{D}},\Omega_2=\overline {\mathbb{D}}$. $\Omega_1=\overline {\mathbb{D}},\Omega_2\neq\overline {\mathbb{D}}$. $\Omega_1\neq\overline {\mathbb{D}},\Omega_2\neq\overline {\mathbb{D}}$.   $\Omega_1$ is positive semidefinite implies that its determinant $1-\vert z \vert^2 \ge 0$ impliying that $\vert z \vert \le 1$.Thus $\Omega_1=\overline {\mathbb{D}}$.  As far as $\Omega_2$  is concerned it being positive semi definite would suggest that the determinant of every principal submatrix of $\Omega_2$ is non-negative. The two diagonal ones which are basically same as $\Omega_1$ give  $z \in \mathbb{C} :\vert z \vert \le 1$.But the other submatrices result in the relation that $z^2-z$  is real and non-negative.This definitely means:  $\Omega_2\neq \overline {\mathbb{D}}$. Right?  That would mean 3 is the right answer? Am I correct?


In simple linear regression, where does the formula for the variance of the residuals come from?

According to a text that I'm using, the formula for the variance of the $i^{th}$ residual is given by:  $\sigma^2\left ( 1-\frac{1}{n}-\frac{(x_{i}-\overline{x})^2}{S_{xx}} \right )$  I find this hard to believe since the $i^{th}$ residual is the difference between the $i^{th}$ observed value and the $i^{th}$ fitted value; if one were to compute the variance of the difference, at the very least I would expect some "pluses" in the resulting expression.  Any help in understanding the derivation would be appreciated.


tried: sudo apt-get install git-hg doesn't work.


Consider the two ways of declaring an array type variable in Java:  1) Syntax : dataType[] arrayRefVar;  Example:  double[] myList;   2) Syntax: dataType arrayRefVar[];  Example:  double myList[];   Why is the first syntax preferred over the second?


I want a semi transparent particle that adds to the color behind it. Stack enough on them on top of each other it will be brighter and brighter until it is pure white. It is of course volumetrics I really want.  Example image:   I have tried this but it only decreases transparency. Not much surprise there. Is it at all possible?    My result with the Add shader. Light isn't added (then it would be white). It is only the transparency that goes away.    My node setup with the Add shader. I have also tried it with reversing the colors of the two shaders I add. Similar result.    Start of a solution  Thanks to Gandalf3, I have begun to solve this with only a shader. This is the shader.    This is a test render. I need more geometry, tweek the alphas and some more, but basicly, it is what I want.    I had to increase bounces in light path settings. This is experimental values but work for now. If not changed, the central part of the flames would be black.


Finding number of positive integers using that $p=2^{24036583} -1$ is a prime number

We know $p=2^{24036583} -1$ is a prime number. Let $s$ be the number of positive integers $c$, such that the four quadratic equations $x^2 ±px ±c =0$ all have rational roots . Find $s$ modulo $1000$.


php with mysql connection, securing script

Currently I am writing a simple register/login/reset password script in php and I am curious if do I have to especially take care of "%" sign in user inputs. I am using mysql_real_escape_string, but I don't know where "%" can make me into trouble. Any tips?


How should the end of a quotation be punctuated?

I was reading a book where the dialogues of the actors were written in paragraphs. The dialogues, were broken down by the author into pieces of sentences, and between the pieces, the author inserted his thoughts/facts/humour, and then proceeded with the dialogue. For example,  He continued, “Just after the Independence,” and rose from his chair.  Should this have been typed as ”, instead of ,”?  Or take a second example,  He said, “I am a good boy.”  This is how it is generally written. But it seems to me that there should be another fullstop at the end of the sentence to mark the end of He said, “———”. sentence.  How should inverted commas be closed?


How to bind event to callable in addEventListener('event', callable.bind(???))

EDIT 1 This question was closed almost immediately, since it's supposed to be a . I beg to differ since the "original" question is about general argument binding, where this question (correctly) resolves a new issue via @Phil's comment. I believe that .bind prepending arguments before the hidden argument event on which you may then call event.preventDefault() is not common knowledge for all. For other's sake, I believe this question will stay open. EDIT 2 Another knowledge bomb (no sarcasm) from @Phil. In original question it is shown, that instead of .addEventListener('event', callable.bind(this, data)) a possibly clearer way would be .addEventListener('event', e => callable(e, data)) meaning using an intermediate anonymous function that you may put arguments into. A bonus here is that any data fetched (e.g. from a form) is fetched at the time of triggering event, which is clearly advantageous. ORIGINAL QUESTION I likely didn't do the title rightly, so please comment a more appropriate one for me to edit. Best explaining with an example. This works: <script> form.addEventListener('submit', (e) => {     e.preventDefault();     const data = {         name: form.name.value,     };     fetch('logics-url.php', {             ...,             body: JSON.stringify(data),         })         .then(r => r.json())         .then(d => console.log(d))         .catch(e => console.error(e)); }); </script>  Then I need the same logic-url.php called with different (additional) data when a button outside of the form is clicked. First I extracted the callable from inside of the addEventListener and this still works: <script> const callable = (e) => {     e.preventDefault();     const data = {         name: form.name.value,     };     fetch('logics-url.php', {             ...,             body: JSON.stringify(data),         })         .then(r => r.json())         .then(d => console.log(d))         .catch(e => console.error(e)); } form.addEventListener('submit', callable); button.addEventListener('click', callable); // button *is* defined in this scope </script>  Now I want to send different data these two addEventListeners and this where it fails me. <script> const callable = (e, data) => {     e.preventDefault();     // Removed data here     fetch('logics-url.php', {             ...,             body: JSON.stringify(data),         })         .then(r => r.json())         .then(d => console.log(d))         .catch(e => console.error(e)); }  const data1 = {     name: form.name.value, }; form.addEventListener('submit', callable.bind(null, data1));  const data2 = {     name: form.name.value,     trigger: 1, }; button.addEventListener('click', callable.bind(this, data2)); </script>  I foolishly tried binding e, when it does not exist yet, so I removed it. Then (as you can see) I tried binding null and this and they both resulted in error: # console Uncaught ReferenceError: e is not defined at callable  I tried different variations but most resulted in the above error. I also tried passing just dataN as a lone parameter and it resulted in: # console POST {...}/logics-url.php 400 (Bad Request) Error: SyntaxError: Unexpected token < in JSON at position 0  Do I have to duplicate my code or is there another way?


Maximum length of last line in paragraph

Is there a LaTeX parameter (e.g., a penalty parameter) or any complex solution that can be setup maximum length of the last line in the all paragraphs throughout the text? Let's say, 2 em horizontal white space at the end of a paragraph?  Manual addition of horizontal space at the end of the paragraph is not appropriate.  Thank you.


How can a torque on a mass push it forward?

I was considering how a kayak travels through water, and the thought processes I came up with drove me to this question. Here's what went through my head (keep in mind, what went through my head about how a kayak works could be totally wrong, but nonetheless it's what I thought):   A person with  two oars in his/her kayak can be considered as one collective mass. Since this is a collective mass, if the person turned the boat with his left oar, there is a restoring force pushing the system in the exact opposite direction of the oar's force vector, which is towards the person, so that the water's restoring force vector is away the person. Since the system is a collective mass, this causes a torque on the mass, causing it to rotate in the positive direction. This makes sense, since the boat turns to the right if you drive the left oar.    This made sense to me, since the farther you drive the oar from you, the easier you rotate (which should make sense since torque is directly proportional to the length of the radial vector).  However, this, in my view, shouldn't drive the boat forward, but merely cause it to rotate. Even when you use the left and right oar one after the other like one would do to go forwards, in my mind this would merely make it turn left, then right all in place, each time an oar is driven.   In my view, only a force that is placed on the object's center of mass can cause it to move linearly instead of causing a torque and rotate it. However, this seems to not be true in reality. How should I expand my view of this, and my knowledge of torques, to explain how applying a torque can accelerate an object linearly (albeit not with as much force as it would if it were applied at the center of mass, I'd assume)?  Oh, and just as an aside, when I say "drive the oar" it's just a for-lack-of-a-better-term of using the oar to push the boat forward. I guess "row" is synonymous.


What is the proper way to update packages? Software Updater isn't updating all of my software

I am running Ubuntu MATE 18.04.1 x64 and noticed this today.  Ran Software Updater, it updated just one package. Then I opened up a terminal and ran sudo apt update and saw that updates to three additional packages were available.  What method should I be using to keep my machine up to date?


Who gave the Cloak of Invisibility to Harry?

On his first Christmas at Hogwarts, Harry received his invisibility cloak with a note which said:  Your father left this in my possession before he died. It is time it was returned to you. Use it well.  But there is no name/initial at the end of this note, so who sent it to Harry?


Add JavaScript to dynamic (plugin-generated) element

I have a plugin that I've downloaded that dynamically adds an element to the page upon clicking an image. I'm trying to add some JavaScript (slideUp()) to one of the newly added elements, but it's not working:  <script type="text/javascript">     $('.image').imageClick({ 'fadeSpeed': 1000, 'targetHeight': 210 });     $(".container").mouseover(function() {         $(".overlay").hide().slideUp();     }); </script>   How can I make this work?


Creating a LaTeX Template which is filled by a script

I have create some sort of Template I'm using for my reports. The Data shown in those document is collected by a script running on a webserver.   I was wondering if there is an appropriate method for creating the whole reports via scripting. My first intention was to simply replace strings withing the .texfile but this seems to be a very dirty method.  I'm considering writing my own tool which should be capable of setting some sort of variables within the .tex file. Maybe in combination with a package created for this purpose. The final goal would be, to run everything as a web-service giving you the ability to simply download the finished report.  Are there any Tools which are already doing this?


There was the following sentence in today’s (June 4) New York Times written by its Op-Ed columnist, Nickolas Kristof under the headline, “There’s a Kind of Hush.”  “Aung San Suu Kyi should be one of the heroes of modern times. Instead, as her country imposes on the Rohingya Muslim minority an apartheid that would have made white supremacists in South Africa blush, she bites her tongue.   I understand “ hero” here is used as a generic of brave or great persons to cover both male and female 'heroes' ? However, OALED defines ‘hero’ specifically as male, as;  A person, especially a man, who is admired by many people for doing sth brave or good. The main male character in a story, novel, film / movie etc. A person, especially a man, that you admire because of a particular quality or skill that they have.  CED also defines ‘hero’ as;  A very brave person, often a man, that a lot of people admire.  The main man in a book or movie.   Can I apply ‘hero’ when I’m refering to Aung San Suu Kyi singly as “Aung San Suu Kyi is the hero of Burma”?


Encrypt file using PGP/GPG having multiple recipients

I have used GPG for some time and know a little about the inner workings. For example I know how to encrypt a file with your public key so only you can open it with your private key, neat.   But actually what happens is (to my understanding):    A random passphrase is generated. File is encrypted with this passphrase symmetrically. The passphrase is encrypted asymmetrically with the public key of the receiver and stored in the file. Receiver decrypts passphrase using private key. Receiver decrypts file using passphrase.   AFAIK this is done to increase speed drastically, plus have a new secret every time makes it harder to guess the password, in theory.  So my actual question is, is it possible to have multiple recipients?  For example.. I have a 10GB file, want to share it with 5 friend or colleagues, do I really need to re-encrypt it 5 times, storing 50GB OR is it possible to encrypt the randomly chosen passphrase (for symmetric encryption) 5 times using 5 public keys and put those in the file header?  Or did I just share an idea to the world that I should have patented? =)


Cutting a shape out of an object with another object

I'm trying to recreate these F holes in the body without cutting into the bodies mesh  The F holes and body are two separate meshes.   I am completely lost as to how to cut out a hole in my main body mesh without messing it up.  Is there any way to use the F hole mesh to make a hole in the body mesh?


Why do we want norms to follow triangle inequality

What purpose does Triangle inequality serve while defining norms?   Is it important to render it as a distance metric?     What would happen if we let the condition loose?


The number 328 is written on the board.  Two players alternate writing positive divisors of 328 on  the board, subject to the following rules:   No divisor of a previously written number may be written; The player who write 328 loses.   Who has a winning strategy, the first or the second player?  The divisors of 328 are 1,2, 4, 8, 41, 82, 164.  How to think the winning strategy?


I've just had to write a string reverse function in C# 2.0 (i.e. LINQ not available) and came up with this:  public string Reverse(string text) {     char[] cArray = text.ToCharArray();     string reverse = String.Empty;     for (int i = cArray.Length - 1; i > -1; i--)     {         reverse += cArray[i];     }     return reverse; }   Personally I'm not crazy about the function and am convinced that there's a better way to do it. Is there?


Linear Operator $A$ and $B$ bounded if $(Ax,y) = (x,By)$?

Suppose $A,B$ are linear operators on Hilbert Space $\mathcal{H}$, satisfy $$ (Ax,y) = (x,By) $$ for $\forall x,y \in \mathcal{H}$. Show that $A,B$ are bounded.    What I can get so far : $A,B$ are almost 'adjoint', except that we don't know yet if they are bounded.  Thanks for helping.


I would like to know if it is possible to put ubuntu on a flashdrive and bootup from that instead of burning a disc? Thanks


Mechanism of pair production and annihilation of matter

Pair production is where an energetic photon on its interaction with strong electric field surrounding a nucleus produces an electron-positron pair. Annihilation is its converse where an electron-positron pair produces two photons on interaction with nucleus.  But how do these happen? I mean, why do they require strong electric field and nuclei?  (Is strong nuclear force necessary for this process?)


Possible to get a virus from just visiting a website?

This has been something that has been on my mind for quite some time now. I have some experience with Javascript and know that it has a function that can store files on a user's computer. My question is if it is possible to get  virus from a website by just visiting it. Thanks is advance.


How can I start automatically a command on Ubuntu 18.04?

I have a small command like this  xinput set-prop "XP-PEN G430S Pen Pen (0)" --type=float "Coordinate Transformation Matrix" 1.155756, 0.000000, 0.000000, 0.000000, 1.529, 0.000000, 0.000000, 0.000000, 1.000000   to use my XP-PEN tablet, I have to start it automatically every time that I start my PC. How can I do that?


battery backup supply switch over design

I have an application with two AA/AAA batteries (so total of 3V or less) powering a unit with a micro controller. I want to design a low cost switch over circuit that can disconnect the battery supply when an external supply is connected with 3.3V. I also want to be able to detect with a micro controller when the external cable is connected supplying 3.3V.  I am aware that this can be done with some source selector switch OR controller ICs like LTC4413. But these chips are relatively very expensive and the minimum input volt is only about 2.5V. I would need to go down as much as about 1.8V, as battery can go down to that level. Looking for some ideas how this can be done, thank you.


How can I change X11 cursor and theme in the newest Ubuntu? I can't find it. Please help.


Ubuntu 16.04.1 Released: Do I have to upgrade my system and if so how?

There are many questions with answers on Ask Ubuntu about upgrading, for example, from 14.04 to 16.04. (Between LTS versions.) I recently heard that 16.04.1 has been released.  Do I have to do anything more than sudo apt-get update && sudo apt-get upgrade to update my system to 16.04.1?  A simple question which requires little explanation! Hopefully also a simple answer?  Note: I have 16.04 currently!  Note: The linked question does not explain how to upgrade from 16.04 to 16.04.1. (For example.) However it does cover upgrading from 14.04 to 16.04. (For example.) Is the method the same? (The answer posted below and in the comments suggests no.)


Forward declaration of class in different namespaces

I already searched for questions about forward declaration but couldn't find a answer to my case.  I have a class Foo:  Foo.h  #pragma once  #include <string>  namespace aaa::xxx::yyy::zzz {     class Foo {     public:         Foo() = default;          std::string get_value() const         {             return m_value;         }          void set_value(const std::string& value)         {             m_value = value;         }     private:         std::string m_value{};     }; }   This class Foo is used in annother class Bar:   Bar.h  #pragma once  namespace aaa::xxx::yyy::zzz  {     class Foo; }  namespace aaa::bbb::ccc::ddd {     using Foo = aaa::xxx::yyy::zzz::Foo;      class Bar      {     public:         Bar() = default;          Foo get_foo() const;     private:         Foo m_foo{};     };  }   Bar.cpp  #include "Bar.h"  #include "Foo.h"  namespace aaa::bbb::ccc::ddd {     using Foo = aaa::xxx::yyy::zzz::Foo;      Foo Bar::get_foo() const     {         return m_foo;     }  }      Now i dont know what i did wrong with the forwad declaration. I declared class Foo before class Bar with its namespace but still its states that class Foo is undefined.  So the Question is how to forward class Foo correctly?  EDIT: Changing Foo m_foo{}; to Foo m_foo; as suggested still produces the same error.


Perl modules between AIX and Linux/ issue with use and require

I am trying a script to get the no. of days between now and a future date. I intend to run this script on AIX and linux from a common location. Now, I am using modules DateTime for linux and Date::Calc for AIX. For some reason, each doesn't work in the other OS. So, I am writing an if statement and checking for OS. If it's AIX, I am using Date::Calc or I am using DateTime. Here's my code  #!/usr/bin/perl use strict; use warnings; my $OS = `uname`; if ( $OS=~/AIX/i ) { use Date::Calc qw(Delta_Days); my @today = (localtime)[5,4,3]; $today[0] += 1900; $today[1]++; my @end = (2015, 11, 12); my $expiry = Delta_Days(@today, @end); print "$expiry\n"; } else { require DateTime; my $exp = DateTime->new( year => 2015, month => 11, day => 12 ); my $now = DateTime->now; my $diff = $now->delta_days($exp); my $expiry = $diff->delta_days; print $expiry,"\n";}   This scripts appears to be working fine in AIX when i use use Date::Calc in the if loop. But when i run this script in linux, it gives me an error saying can't locate Date/Calc pm in @INC. When i change it to require Date::Calc in the if loop, it gives me an error can't locate Date::Calc pm in @INC on the AIX server. And it's vice versa with the else loop for Linux OS too.  How can i achieve common ground? For some reason, i can't install these modules in one server or the other.


Email icons missing from the Panel after upgrading to Ubuntu 14.04

I have recently upgraded from 12.04 to 14.04 and then noticed the usual email icon (little envelope icon) which allowed me to run my Evolution, chat and Thunderbird applications is no longer available. Is there a simple way of getting it back?


I'm trying to create a similar effect to this photo. With a blue and red overlay, but i cant seem to get more or less the same effect. i've tried to make a photo black and white and then apply the gradient overlay and make it multiply, but it does not really match at all. Any ideas to how this has been created?


How do I report specific moderators to the actual owners of Stack Overflow?

There are several moderators that abuse their powers, and I want to seek justice and report them to the actual owners on this site. How can I accomplish this request?


What are the risks involved with a Bridge Loan?

We are buying and selling a house.  Our new house closes one day before our current house closes, therefore we require a bridge loan to make the down payment. I would like to understand the risks involved and what questions I should be asking my banker or lawyer.  IE: I understand this is high-interest loan, meant to be short term. But is there a risk of the loan going beyond that one day and the potential to pay alot more interest than anticipated?  Thank you in advance!


When is each skill used when searching for hidden objects like traps?

This actually a number of questions that conform to the title question, and which all stem from a bit of rules confusion.  Let's start with the rules confusion.  On pg 178, under the skill Investigation the rules says the following;     You might deduce the location of a hidden object,...   On the same page, directly to the right of the investigation skill, is a green box titled Finding a hidden object. In the box the rules says the following;     When your character searches for an hidden object such as a secret door or trap, the DM typically ask you to make a Wisdom (Perception) check.   Now here we have two skills that clearly does the same thing.  So my first question is: Are the skills interchangeable or mutually exclusive?  That is: can you use either skill to search for traps in any situation, or do you use Investigation only in specific situations you can't use Perception in, and Perception only in specific situations you can't use Investigation in?  My second question is: What do you use to make passive checks to spot a trap?  Do you only use Perception, as you would if a character did not have proficiency in either skill? Or, if a character is proficient in Investigation but not Perception, would you then use Investigation instead?  Which leads me to my last question: What if a character is alert to the possibility of hidden objects like traps, but isn't actively searching for them?  In other words, what happens if a player utters the oh so familiar words: "I'm prepared for the possibility that there might be traps in here." He/she isn't actively searching, but it isn't exactly passive either. If the character has proficiency in Investigation, do you then use that skill, or do you stay with Perception checks?  In other words: when do you use what skill?


Why does a loop of irregular shape carrying current located in a magnetic field change to a circular shape?  Will this always happen assuming the wire to be flexible? Even when the force is inwards?  I think the reason might be to maximise flux but why should flux be maximised?


Ordnance Survey grids - download or generate?

Does anyone know a source from which to download vector UK Ordnance Survey grids at varying resolutions? Or failing that, a tool that can create an OS grid at a specified resolution? There are plenty of ways to generate a vector grid, but I've found no way of populating the attributes with OS grid references.


Find the sum of the series $\sum_{i = 0}^{n} \frac{i}{2^i}$.   I already have a solution of it in the book but it is long, so can anyone tell me a short solution for this?


I have a Python script (worker.py) that I'd like to be running all the time. I searched for other options to make this work (such as daemonizing the process), but can't get that to work with my current Linux knowledge. So I figured that I could use cron to run pgrep to check if it was running, and if not, start it.  I've added a line to my crontab (crontab -e) as this:  * * * * * pgrep -lf worker.py || /usr/bin/python /home/debian/hypermaq/scripts/worker.py   Running pgrep -lf worker.py from the command line returns an empty line if the script isn't running, and returns the correct PID if it is started in the other SSH session. So that makes me think the command is fine.  However, this doesn't work from cron. I've tried to find more info by piping the output of the pgrep command (added >> /home/debian/templog.txt 2>&1), and I get a new PID on each line in that file. If I run the pgrep -lf worker.py command with sudo, I do get a PID as well, which I think is the command I am running with sudo itself.  I have enabled the logging for cron, and can see that it starts the job each minute. I read that cron has a minimal path definition, so I used absolute paths.  I'm not sure how to interpret what I see, and thus, why it doesn't work as I expect. One specific thing I don't understand is why running the same pgrep  -lf worker.py command has no return when ran as regular user (and when the script isn't running), but returns a PID when ran with sudo, also when the script isn't running.


If you visit the  on stackoverflow and scroll to the bottom of the page, you can see the side menu overlaps the footer section.  Screen shot from Firefox 27


Better Explanation for an already posted question

Can anyone explain why in  the answer is 5! * 2! * 10P3? I understand the 5! and 2! but for 10P3 the first thing I thought of was 3!  Thanks.


How Long Can I Keep Uncooked Sushi Rice?

I only prepare sushi rice a few times a year, so it takes me a while to go through even the smallest of bags.  How long can I keep the bag for before it "goes bad"?


I want to run MS Office on Ubuntu and have found messages saying you can do it with Wine, but I don't know what Wine is.


Null reference on gameObject that has been successfully referenced

It's exactly as the title says. I am getting a null reference error even though I have properly referenced the object. I have debugged my code to show that the result is always exactly what I need however whenever put into practical use, the code returns an error.                  if(hit == true && canSee.transform.CompareTag("Unit"))                 {                     //var Obehaviour = other.gameObject.transform.parent.gameObject.GetComponent<UnitBehaviour>().Health; <--- Error is here.                     float Health = other.gameObject.transform.parent.gameObject.GetComponent<UnitBehaviour>().Health;                     float fullHealth = other.gameObject.transform.parent.gameObject.GetComponent<UnitBehaviour>().MaxHealth;                     //Debug.Log("Object " + other.gameObject.transform.parent.gameObject);                     //Debug.Log("Component and name " + Obehaviour.Name);                     ReferenceScript.GetComponent<UnitBehaviour>(other.gameObject.transform.parent.gameObject);                     if(Health < fullHealth)                     {                         if(fullHealth - Health < Ubehaviour.supplies)                         {                             Health += Ubehaviour.supplyTransferRate;                             Health = Mathf.Clamp(Health, 0, fullHealth);                             other.gameObject.transform.parent.gameObject.GetComponent<UnitBehaviour>().UpdateHealth();                             Ubehaviour.supplies -= Ubehaviour.supplyTransferRate;                             Ubehaviour.supplies = Mathf.Clamp(Ubehaviour.Health, 0, Ubehaviour.maxSupplies);                             Ubehaviour.LoseSupplies();                         }                         else                         {                             return;                         }                      }                 }   As shown in the code above, I have tried to get the values I need by storing them in variables other than caching the entire class. But this also didn't work. What could be wrong? The debugs below work perfectly as well.


Story ID. Starfish Aliens recreate humans and then humans become immortal

Back in the 90's I read a novel where Humanity has been revived by a starfish-like alien race.  It seems we beamed our entire genome out into space and the kindly aliens decided to re-create the human race.  The aliens are in a different galaxy.  The Aliens are sad, because humans have a really short lifespan compared to thiers (150 years for humans to 1500 years for the alien starfish)  One really bright human gets access to some forbidden information and creates a virus treatment that grants most of humanity near immortality.  Humanity decides to return home, build a generation type starship that can get to nearly (but not quite, FTL travel doesn't exist) the speed of light by planning a slingshot around the galactic core. On the flyby they find the galactic core is unstable and will soon explode or collapse, destroying the entire galaxy, but due to time dilation and such, they can't warn the starfish.  They make it to earth and find that in the time between the peak of human civilization and now, Another race has risen to dominance and then fallen.  Yet another race has risen, but hasn't fallen yet.  They find dyson spheres and other amazing artifacts. The first was rats, the second was Dragonfly nymphs that never turned into dragonflies.  These are violent and try to eat humans.  I remember two twists.  The first was that the same information that led to the the immortality virus was first tested on dragonflies and stunted them.  these hyper aggressive nymphs evolved into space faring bugs that eat people.  The second twist was that little monkey like creatures end up being what humanity de-evolved into, because they "caught" the immortality virus and reverse aging.  Any Ideas?


I always remember many verbs ending in -ing.  Swimming club/cap and shaving foam for example. I now see increased use of swim club and shave foam.  Why has this happened, is it correct use of English ?


Is there a way to optimize this 2D lighting effect shader?

I'm doing a little 2D game in C++ with Direct3D 11.  In the game I want to render a sort of shadow that covers part of the screen:    To do this I am using this pixel shader:  float4 PS_Main( PS_Input frag) : SV_TARGET  {     float4 color = {0, 0, 0, 1};     for (int cont=0; cont<lights; cont++)     {         int dist = pow(frag.pos[0] - singleLight[cont][0], 2) + pow(frag.pos[1] - singleLight[cont][2], 2);          if (dist < singleLight[cont][3] * singleLight[cont][4])         {             color[3] -= 1 - (dist / (singleLight[cont][5] * singleLight[cont][6]));         }     }      return color; };   The constant buffer I pass to the shader is:  cbuffer PSbuffer : register( b0 ) {     int lights;     float4 singleLight[15]; };   I also pass an array to the shader, each element of which contains the position and radius of a light.  The code works with more than one light, but if I try to use more than ten lights the FPS drops down to 40 or 50. How can I optimize this effect?    Thank to all!! I try to optimize the pixel shader code but i earn 4-5 fps so i decide to to a "light map" in this way; I create a second Render Target View i will use to render the lights(sprite i draw). The light will be alpha-channel inverted in order to have to clear the render target view with color{0,0,0,0}; draw the light on the second target view like this: and then create a texture with this render target view and render it on the first with a shader that invert the alpha channel (color.a=1-color.a); but, since i am new in directx i dont now how to do it and i cant find a good tutorial.Can you help me??


Is there an identity  for $\Gamma(z) \Gamma(\bar {z})$?  Post-question edits:  Have you come across any, in addition to ? (there, special cases, where the real part of $z$ is integer or half integer, are also listed.)    lists the following under 6.1.45 $$\lim_{|y|\to \infty} (2\pi)^{-1/2} |\Gamma (z)| e^{\pi|y|/2} |y|^{1/2-x} =1$$


Find total number of relations that are equivalence as well as partial order set. Assume set contains total $n$ elements.     My attempt:  As equivalence relation has property reflexive, symmetric and transitive and POSET has property reflexive, antisymmetric and transitive.  Symmetric and antisymmetric will cancle each other except reflexive relation and transitive relation can case antisymmetric, so it's also absent on resultant relation.  Therefore, all diagonal element should be present to satisfy conditions of equivalence as well as POSET.  So, it's independent of number of total number of element of set and answer will be $1$.     Can you explain in formal way, please?


How fast does a Photon travel through space?  And is gravity able to influence a Photon's path?


I am reading "Commutative ring theory" by Matsumura, but find it a little hard. I wanted to find some reference books but found few books have the same details as CRT (for example, I can't find one with flatness in detail). So, please help me with some reference books.


Slightly Overstaying In Thailand Due To miss count (31 days)

I bought a ticket to Thailand I arrive in Bangkok September 2nd, and leave October second. I essentially fly out on my 31st day in the country. I also have bought a one way ticket to Laos near the end of my trip to spend a few days there then was considering just crossing back over the border by bus.  I am not a little concerned that I may have an issue without having a visa (although I am going to leave the country for a day or two or more). I have just read so many different views on this. I tried to reach the consult, which seems to be quite challenging. I also live about 7 hours away from the nearest one and I am not in a window now to apply by mail. Any advice?


I am new to Numpy and I am vectorizing a homemade function that uses numpy's  for its calculation. However I found the result has some rounding error whose culprit seems to be the . It can be shown as follows:      import numpy as np  X = np.repeat(30000.1,114569) X1 = X**2 Y = np.cumsum(X1)  Z =Y[1:] - Y[:-1] print(f'Theoretical value: 900006000.01') print(f'first member of X1: {X1[0]}') print(f'first member of Z: {Z[0]}') print(f'last member of Z: {Z[-1]}') print('They are mathematically the same, but in reality they are different')   The result is:  Theoretical value: 900006000.01 first member of X1: 900006000.0099999 first member of Z: 900006000.0099999 last member of Z: 900006000.015625 They are mathematically the same, but in reality they are different   Here are my questions:  1) Are there anyways to improve the precision of cumsum?   2a) If there are, can you show me a simple example?   2b) If not, then what's the known maximum size of a float64 or maximimum length of argument vector before cumsum run into rounding errors?  3) Are there any package in python to handle calculations with high precision floating point numbers  Thank you in advance  EDIT: changed the number to fewer decimal places to emphasize the issue here. I mean the problem of rounding error appears as early as 2 decimal places, I think it is a really big problem.  EDIT2: some people pointed out that the subtraction between big numbers also contributes to the error. My another question is that is there anyway in python to handle the numerical errors that stem from the subtraction between two big numbers?


Reputation list contains someone else question/answer?

I have noticed that there is a reference to someone else question in my reputation list. This is quite weird as I never participated in any questions related to Silverlight.    Did you noticed that issue before? Is that a bug?


What finite groups have unique cyclic subgroups?

Let $G$ be a finite group of order $n$.  If $G$ is cyclic, we then know that are subgroups are cyclic are are unique.  If $G=\langle x\rangle$, and $d|n$, then $\langle x^d\rangle$ is the unique cyclic subgroup of order $\frac{n}{d}$.   However, suppose we know that the group $G$ has a unique subgroup of order $d$ for any $d$ such that $d|n$.  What else can we say about $G$? Does it have to be cyclic? Can it be factorizable over subgroup $H$ and $K$?   Any help is greatly appreciated!


Somatic cell cloning always produces female offspring?

I was looking at the somatic cell cloning of goats.   One of the advantages of the process said was    All offspring produced are female.    Now I'm confused.  How is this the case?  I know that the embryo after electrofusion is injected into a surrogate mother, but I don't understand how the advantage is that they are "all ... female."


Why does stock go up or down with company earning?

I want to invest in the stock market, but can't get one thing clear.  It is seen that as a company's earnings increase, its stock value also increases.  Why? The company is earning more money, not the people who own the stocks.  I know that some company give dividends. But what about those that don't?  What if there is no dividends or stock buy-backs?


It has been a nice trip - present perfect It was a nice trip -past  How the first sentence could be present perfect because present perfect indicates something that has done recently then why we use such sentences like this. could not we used was instead off has been?? I wanna know the exact meaning with grammers  Another one I have been part of it


Confusion about several different definitions of continuous random variables

It seems like different books define continuous random variables differently.    pdf definition: The random variable X is continuous if a nonnegative function f exists, that is defined for all $x \in (-\infty, \infty)$ such that $P(X \in B) = \int_B f(x) dx$ (Sheldon Ross) cdf definition: The random variable X is continuous if its cdf is continuous and differentiable. Moreover, the derivative of the cdf is continuous except for a finite number of points. (Wackerly) Another cdf defintion: The random variable X is continuous if the cdf is a continuous function. (Wikipedia ) uncountable range:  The random variable X is continuous if its range is uncountable infinite/set of possible values is uncountable infinite. uncountable sample space:  The random variable X is continuous if the sample space is uncountable infinite.   My question are:   a) How do these definitions relate to each other? Are they equivalent? Why?  b) What is the difference between a continuous and an absolute continuous random variable?  c) Is it possible that the difference between continuous and discrete random variables vanishes from the point of view of measure theory? I have looked into several books about probability based on a rigid measure theoretic approach and none of them even mention the fact that there are different kinds of random variables.  d) In particular, is 4.) and 5.) equivalent? To me this doesnt seem to be necessarily the case...  e) Which is the "correct" definition from the above for a continuous random variable?  I would be happy also about answers from the point of view of measure theory, which probably answers this questions the most precisely.


Pending approvals: allow for adding reasons to rejections

Can we have an option to enter reasons when we reject edits by other users who don't have privileges?  Reason:  I was checking  for a question about .NET obfuscators, and the user edited an answer to include a tool. Even though this looked very genuine I decided to check the user's profile and he had 0 questions, 0 votes and 5 answers. All 5 answers had the link to this tool. It looked like a spam to me.  After much thought I rejected the edit. I feel it will be better to have an option to enter  reason for rejecting an edit. The answer looked very genuine and I didn't want other users to approve it. Edits get approved/rejected within seconds and I had vey little time to take an action.


Can an Arcane Trickster/Wizard multiclass write down AT spells into its spellbook?

It is said, AT are half-wizards who know their spells so well they don't need a spellbook to cast them. Wizards can read and write down spells, make Scrolls or copy them. Can these perfect entities write their own, well-known spells into their spellbook by heart?     My example:  I have a 9AT/1W character. My AT knows the Sleep spell and my spellbook contains Charm Person. After I leveled up as AT, I have an option to change one of my spells to another one which is illusion or enchantment.  Can I change Sleep to Charm Person, meanwhile I write Sleep in my spellbook?  In this case, I don't lose any of my spells but I can prepare other, more useful spells as a Wizard and Charm Person will be always "prepared". I could do the same if I changed the spells anyway and then bought a Sleep scroll somewhere but this is more time-consuming and illogical.


What's the proper and formal way of asking "Didn't we used to do ..."?

I saw it used in an article online, and it doesn't seem proper to me because of the two past tenses used together. But since "use to" can't be used here, I don't know what would be the proper way.  Care to comment please? Thanks.  [EDIT] The answer  says that "Didn't we use to do ..." is informal and not widely accepted. So what would be the formal way of phrasing it?


How to visualize on Venn diagram P(A ∩ B), P(A | B) when A, B is independent?

The equation in question is: P(A, B) = P(A | B) * P(B), and P(A,B) = P(A) * P(B). You can see in the image the portion of A ∩ B.   In , you can see that the A ∩ B portion is empty space. So according to the image, P(A ∩ B) = 0, P(A | B) = 0, which is clearly wrong.  The way I intuitively visualize the diagram is: each pixel is a event. If a pixel is in circle A, it belongs to A. If a pixel is in both A and B, it is in A ∩ B. This interpretation is clearly wrong.   So how to interpret the Vein diagram correctly? How to visualize P(A ∩ B), P(A | B) in the case where A is independent of B ?  If possible, could anyone draw an image ?  Thank you for your help.


How many possible $1:1$ functions are here that satisfy the given condition?

Let $A = \{ 1,2,3,4 \}$ Let $F$ be a set of all functions from $A \to A$.  Let $S$ be a relation defined by : $\forall f,g \in F$ $fSg \iff f(i) = g(i)$ for some $i \in A$  Let $h: A \to A$ be the function $h(x) = 1 $ for all $x \in A$.   How many 1:1 functions $g \in F$ are there so that $gSh$ ?  Is it $4*3*2*1$ $($total $1:1$ functions)$ - 3*2*1 (1:1$ that don't connect to $1)$ the answer?


Do I have to worry about copyright issues?

Suppose I find a solution in Google Books, paste it as an answer on Stack Overflow, then provide its link for further studies on that topic. Is it legal to do that?


Can an unlicensed user access a Lightning component from a managed package?

We have a Lightning component in a managed package. This component is meant to be used on Community pages. When the Community page is accessed by a Licensed user then everything works fine. This is because they have a license to our managed package.  If an unlicensed user tries to access the Community page with the component embedded then it does not work. We get the following error:     The Apex Class MyComponentController is part of the AppExchange   Package MyPackage, and requires a license to use.   Any idea how to get around this?  I am not asking how to provide access to an Apex class to unauthorized users. This question is also not related to the interface being implemented by the component. I am asking how to provide access to authenticated but unlicensed users. Licensing and permission model are different things.


I've told the immigration officer I'm staying in the UK for 1 month. Can I now change my departure date to leave at a later time?

I'm now in the UK with a Standard Tourist Visa (valid for six months until August) for my graduation ceremony and a holiday. I arrived here on the 10th of Feb and planned on leaving on the 10th of March (so I'd stay here for a month). I've written the date of my intended departure date on the immigration (arrival card) and the officer took the card when she interviewed me at the airport and then let me enter. Unfortunately three days after my graduation I caught a cold and it triggered my asthma. I was sick for over a week. Considering this, I'm thinking of extending my stay until end of this month. But I'm worried if this is allowed. Considering that I've already put my departure date in the immigration/arrival card.   If I did extend, should I inform the immigration? And if so, would this be a problem the next time I visit the country?


How to run a command block in the main shell?

I try to run a series of commands as a whole inside the main shell, but the way I was teached only works inside the subshell:  🌐 echo $BASHPID 18884 🌐 (echo "hello $BASHPID";sleep 5;echo "hello again $BASHPID") hello 22268 hello again 22268   I also tried:  . (echo "hello $BASHPID";sleep 5;echo "hello again $BASHPID") source (echo "hello $BASHPID";sleep 5;echo "hello again $BASHPID")   to use the source command, because I learned it forces the script to run inside the main shell.  I guess, it would work, if I put the commands inside a file and run it with the source command, but I would like to know if there is a way beyound a script file.


Can the Particle nature of light be explained by wave interactions?

When emitted from an atom, does a photon propagate through space-time as a sphere, in all directions, as a wave or as a directed point particle? I think it's a wave and not a directional point particle and certainly not at the same time. I think that as the Photons travel through space-time as a wave, in a spherical manner and collapses via some sort of interaction (reflection, refraction, absorption) then and only then can a directional point be determined. therefore I think the particle nature of light is simply a by-product of wave interactions, they only exist as a way to show interactions of wave functions or put in another way, light is simply the interactions of wave functions.


Question on proof : $I\leq R$ is an ideal s.t. $\sqrt I$ is maximal, then $I$ is primary.

Let $R$ be a commutative ring. If $I\leq R$ is an ideal s.t. $\sqrt I=m$ is maximal, then $I$ is primary.  Proof  Since $m$ maximal, $Nil(R/I)=m/I=:n$ is maximal.  Q1) Why $m/I$ is maximal in $R/I$ when $m$ is maximal in $R$ ? I have problem to prove this fact.  Hence, every prime ideal contain $n$.  Q2) Why is $p$ is prime in $R/I$, then $p\supset n$ ?


story or series of humans who can control elements due to exposure or ingestion of crystals

Saw this book or series on a shelf of a mall store probably in the 80's. Prologue described a war between groups of humans. By exposure or ingestion of some sort of crytal they could control an element like wind or fire. Crystals are sentient. Attempt to control more than one element is fatal because first crystal attacks the second. Main character gets exposed to all crystals at once in a battle to prevent someone else from getting the crystals and successfully gets control of all elements. Crystals had a name...something like sathid. Does anyone recognize the name of the series or book from the plot?


Does AFTER mean always after the number said?

my question is does always AFTER for example 3 something means that the 4th is the thing?  I give you two examples:     If you had 3 girls and fourth girl gave you first kiss. After how many   girls did you get your first kiss? After 3 girls I got my first kiss or after 2?   Similar example:     If you found some thing you have been looking for in third drawer.   After how many drawers you found it? I found it after 3 drawers or 2   drawers?   Thanks for help!


Propensity score matching vs non-parametric regression

I am trying to understand the benefit of propensity matching over non-parametric regression for causal inference from non-experimental data. As background: the way I understand it, parametric regressions are generally a poor choice for causal inference when selection bias exists. One can try to create a model that takes into account the different baselines between treatment and control groups, but she/he will be be extremely vulnerable to model misspecification.* Matching solves this issue by making the two datasets look "alike." The exact meaning of alike depends on the matching algorithm used, but all the algorithms strive to eradicate model dependence, with the most common types being stratified and weighted propensity matching. The mathematics for these algorithms are well-developed, and in particular, we know how to extract error bars and statistical significance. What I'm struggling with is why this is superior to just using a non-parametric regression like a decision tree or random forest, which are also designed to prevent model misspecification. After creating the forest, one could run individuals through it assuming treatment or no treatment, and call the difference the estimated treatment effect for that individual. My first guess is that extracting significance, which is critical to causal inference, from trees is difficult, but it seems that statisticians have made strides in that regard over the last decade or so. To be clear, I am not asking about using a tree to develop the propensity scores, but to use one instead of propensity matching. To help kick off the conversation, I've developed five hypotheses for why matching is preferred to non-parametric regression, but haven't been able to find anything proving or disproving any:  Empirical research demonstrates that stratified or weighted propensity matching (the most common types) yield results closer to causal experiments than non-parametric regressions like trees.  Though it is possible to extract significance from non-parametric regressions like random forests, the math isn't settled, or the notion of "significance" for a decision tree variable doesn't map precisely to the notion of "one minus the odds of a type I error."  Though it is possible to extract significance from non-parametric regressions, the code is difficult to write.  Model misspecification actually is an issue for decision trees due to the tuning required to run them. Empirical observation has demonstrated this is more of an issue for decision trees than it is for matching algorithms.  We don't actually know a lot about whether we can use non-parametric regressions for causal inference, but we do know that matching works, so it there's no reason to reinvent the wheel.   *As detailed in the first ten minutes of this wonderfully intuitive Youtube:


Probability that the sum of 6 dice rolls is even

Question:     6 unbiased dice are tossed together. What is the probability that the sum of all the dice is an even number?   I think the answer would be 50%, purely by intuition. However, not sure if this is correct. How should I go about solving such a problem?


I can't log into minecraft launcher or the website. When I use forgot password, it won't send me the email. I've had my account for a long time now..


How to correctly compute entropy near zero

I want to compute the function $f(x) = -x \log x$. AFAIK, if we postulate the extension $f(0) = 0$, then $f(x)$ is a monotonically increasing function on the interval $x \in [0, e^{-1}]$. What is the correct approach to numerically calculate $f(\epsilon)$ where $\epsilon$ is a small number? It seems that series expansion of $f(x)$ around $x=0$ does not behave well...


Not work clock! with animate with XeLaTeX  Edit Code:      \documentclass{beamer}     \usepackage{animate,color}     \usepackage[timeinterval=1,font=Helv]{tdclock}      \begin{document}      \begin{frame}     \initclock     \begin{animateinline}[autoplay,loop]{1}     \strut\emph{\textcolor{red}{Remark:}}\newframe[3]     \end{animateinline}     This is test of animate And tdclock packages.     \begin{center}     \alert{Not work clock!}     \\     \tdtime      \\     %\crono \cronohours\pdfcolon\cronominutes\pdfcolon\cronoseconds     \end{center}      \end{frame}      \end{document}   a) Windows 7 operating system b) pdfviewer: Adobe Reader XI versian 11.0.09 c) TexLive 2018  upload


Check for file on a remote server in Classic ASP

I want to check for the existence of a file on a remote server - Current code: FUNCTION CheckFiles(targetServer, prefix)     ON ERROR RESUME NEXT     Dim xmlhttp     fileURL = "<path omitted>"     Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP")     xmlhttp.open "GET", fileURL, False     xmlhttp.send     If(Err.Number<>0) then         Response.Write "Could not connect to remote server"     else         Select Case Cint(xmlhttp.status)             Case 200, 202, 302                 Set xmlhttp = Nothing                 DoesFileExist = True             Case Else                 Set xmlhttp = Nothing                 DoesFileExist = False         End Select     end if     ON ERROR GOTO 0 End FUNCTION  After reading some more examples with a sample similar to this it's always used with a web URL (should have been obvious to me by the ServerXMLHTTP but anyways... Is it possible to perform something like this but using the Windows file sharing method? For example: "\\"+targetServer+"\c$\path1\path2\path3\"+prefix+"-filename.txt"


$2$ is the $1$st prime.  $3$ is the $2$nd prime.  $5$ is the $3$rd prime.  $11$ is the $5$th prime.  $31$ is the $11$th prime.  ...  I'm just wondering if there is a name for this integer sequence, is it on ?. I find it hard to find a suitable search term for it.


Why those two identical lists act differently?

I'm making a tic-tac-toe game and wanted to make a grid, but when i try to change one value in one nested list then it mirrors to the other nested list.  I made what i think two identical lists and one works and the other doesn't, but when i print them, they are identical.  pole = '| |' table = [[pole] * 3] * 3 table_1 = [[pole] * 3, [pole] * 3, [pole] * 3]  print(table) print(table_1)  for row in table:     print(''.join(row)) for row in table_1:     print(''.join(row))  row = int(input('Row: ')) column = int(input('Column: '))  table[row][column] = '|x|' table_1[row][column] = '|x|'   Can someone tell me whats the difference and why that happens?


Show that the set has a linearly independent subset which is a basis for V

Let T : V → V be a linear transformation of a finite dimensional vector space over a field F to itself. Assume that {$v, T v, T^2v, . . . $} span V for some v ∈ V .   Show that (i) there exists a k such that $v, T v, . . . , T^{k-1}v$ are linearly independent and for some $α_i$ ∈ F  $T^kv = α0v + α1T v + · · · + αk−1T^{k−1}v$  Hence show {$v, T v, T^2v, ...,T^{k-1}v $} is a basis for V.


University's possession or possession of the university

When we state that something belongs to a university, for instance requirements, we should use university's requirements or requirements of the university?  I remember learning like a thing that belongs to a non-living thing should be written as something of something instead of something's something. However, I see usage of university's something all over the place.  Pardon for the number of "something" in my questions.


Best way to troubleshoot intermittent network outages?

We have a Comcast 50/10 line into our office.  We keep seeing very short but sometimes frequent drops in our internet service.  It's enough to kick you off of skype and stop any websites from loading, which is obviously affecting our productivity.   We've tried 4 different routers, we've tried moving everyone off of wireless and onto wired via a switch and so far nothing has helped.  Right now we're on a Cisco SB WRP400-G1 router.  Attached to the router is a 16 port switch going to the ports in all of the offices. We've moved to OpenDNS in the case that it was the comcast DNS servers going down. Today we tried putting the modem, router, and switch on a UPS to make sure it wasn't power fluctuations that was causing it.   Every time we call Comcast, by the time they are here the internet is working fine.    I'd like to somehow prove that the problem is with Comcast, so if that means plugging in a machine directly into their router and collecting data all day, I'm up for that.  I just want to hear ideas on what tools to run and how to collect this data.  I could just continuously ping google.com all day long but I'm not sure how valuable that data would be.  Thoughts?


Why are there no loop corrections to the photon mass?

I know that a question about why the photon is massless already exists, however it did not answer this question.  First off, I do understand why the photon does neither have a bare mass term due to gauge invariance of the standard model lagrangian nor does it get mass from the Higgs mechanism.   However as far as I understood it particles generally can get loop corrections to their mass (e.g. possibly generating neutrino masses). Since I am not really familiar with this mechanism I would like to know why there seem to be no loop corrections to the photon mass. Do they cancel out or am I just missing something obvious.  I'd also appreciate a link to a review-paper or book chapter dealing with this.


What's a good adjective for "possessing integrity"?

Fill in the blank: "The most ____ person I've ever met."  A reformulation of the sentence might be "The person with the most integrity I've ever met" (which in itself has problems as a sentence,) but I want the adjective form.  Wikipedia suggests "integrous" which I'm not sure is in common use.


My minecraft world is stuck on Creative mode

So I was building a farm house and as I built it, I was in creative mode. After it was built, I decided that I wanted to be in survival mode and just mess around and possibly build my farm house even bigger. Welll..... I can not get out of this weird mode. I do the correct /gamemode and I see my hearts and food bar show up but I'm not able to break blocks as if I'm in survival, they just completely disappear after i break them! Like if I was in creative mode, you know how you break a block and poof its gone, well its like that. I see the little block after i break it but its only for 1 sec. I cant fly or anything when I'm like this just to be clear, I also kill everything with one hit and get no drops and only one experience rolls my way.   I've tried restarting everything and also using a different version than my original 1.8.9 minecraft. Its also on my pc... And another thing, everything works fine in my other saved worlds, Just this particular one, that is messed up.


Site URL being displayed before TITLE on SERP

Apologies if the question is a repeated one but I couldn't find a solution for this.   I have following HTML code on the home page of my website.    <title>Sample title for illustrative purpose | example.com</title> <meta name = "description" content = "Here is an example of what a snippet looks like in Google's SERPs. The content that appears here is usually taken from the Meta Description tag if relevant."> <meta name = "keywords" content = "keyword1, keyword2">    Home Page Link
Sample Heading
   SERP shows following result:   Question: Why is example.com (the circled one in attached pic) is taken into account on SERP when it's not there in the title?


Allocate an array of fixed size arrays (and passing it to a function)

I have a function which expect a wchar_t**, I am allocating it:  wchar_t * * lFilterPatterns = malloc(aNumOfFilterPatterns*sizeof(wchar_t *)); for (i = 0; i < aNumOfFilterPatterns; i++) {     lFilterPatterns[i] = malloc(MAX_PATH_OR_CMD*sizeof(wchar_t)); }   is there a better/simpler way to make this allocation ?  edit: I would prefer to call malloc once only.  this has been proposed:  wchar_t (*lFilterPatterns)[MAX_PATH_OR_CMD] =          malloc(aNumOfFilterPatterns * sizeof * lFilterPatterns);   but then the function complains: warning C4047: 'function' :  'wchar_t * *' differs in levels of indirection from 'wchar_t (*)[1024]'   can I cast 'wchar_t (*)[1024]' into 'wchar_t * *' ?


Validity of Euler-Lagrange Equation in Quantum Theory

Lagrangian density for a single-spin 0-real-bosonic field ($\phi$) is given by, $$\mathcal{L}=-\frac{1}{2}\partial_\mu \phi \partial^\mu \phi-\frac{m^2}{2}\phi^2$$ Now if we formulate the Euler Lagrange equation for the above Lagrangian density, we will get, $$\partial_\mu \left(\frac{\partial \mathcal{L}}{\partial \phi_{,\mu}}\right)=\frac{\partial \mathcal{L}}{\partial \phi}$$ $$\Rightarrow -\frac{1}{2}\left[\partial_\mu\bigg(\frac{\partial}{\partial\phi_{,\mu}}\bigg)\right]\underbrace{(\partial_\nu\phi g^{\nu\alpha}\partial_\alpha\phi)}_{\text{New dummy indices, $\nu$ and $\alpha$}}=-m^2\phi$$ $$\Rightarrow -\frac{1}{2}\partial_\mu g^{\nu \alpha}(\delta^{\mu}_\nu\partial_\alpha\phi+\delta^\mu_\alpha \partial_\nu\phi)=-m^2\phi$$ $$\Rightarrow -\frac{1}{2}\partial_\mu(\partial^\mu\phi+\partial^\mu\phi)=-m^2\phi$$ $$\Rightarrow \partial_\mu\partial^\mu\phi-m^2\phi=0$$ So, in the end, we get the Klein Gordon Equation, which is a relativistic version of the Schrodinger Equation. Now my question is Euler Lagrange Equation is a classical dynamical equation, which gives a particular type of path in which the corresponding action is an extremum. But according to Feynman Path Integral formalism, in any quantum theory, all possible types of path has some finite probability (Unlike the classical case, where only a particular path, for which action will be extremum, will have a sharp probability, and the probability of other paths tend to 0).$$\\$$ So, my question is,  how the classical Euler Lagrange equation can formulate a quantum dynamical equation? How Euler Lagrange Equation is valid in Quantum Theory  $$$$  N.B.- Same thing I also have noticed in Dirac Field also.


Maven: test package cannot be a dependency of other test packages?

My project uses maven as the build tool, which works well so far.  I have a test module including all test cases of other modules, which is arranged under test/src/test/java/    However, when I create another module (let's call it TestB) and let it depend on the module test, all classes/interfaces defined in module test are invisible to the TestB. I wonder because I put all stuff under test/src/test/java but not test/src/main/java.  But if I move classes to test/src/main/java, the JUnit tool will stop working. Any good ideas on this?


Finitely generated module with a submodule that is not finitely generated

Can someone give an example of a ring $R$, a left $R$-module $M$ and a submodule $N$ of $M$ such that $M$ is finitely generated, but $N$ is not finitely generated?   I tried a couple of examples of modules I know and got nothing...


What is the integral of $\frac{1}{x}$? Do you get $\ln(x)$ or $\ln|x|$? In general, does integrating $f'(x)/f(x)$ give $\ln(f(x))$ or $\ln|f(x)|$? Also, what is the derivative of $|f(x)|$? Is it $f'(x)$ or $|f'(x)|$?


Why isn't Quirrell considered a horcrux?

Since a part of Voldemort is within Quirrell, doesn't that make him a horcrux by definition as well?


If $f_{n}\rightharpoonup \bar{f}$ and $f_{n}(x) \rightarrow f(x)$ pointwise a.e., then is $\bar{f} = f$ a.e.?

Suppose $f_{n}$ is a sequence of functions in $L^{p}(\mathbb{R}^{d})$ such that $\|f_{n}\|_{L^{p}} \leq 1$ for all $n$ and $f_{n}(x) \rightarrow f(x)$ pointwise almost everywhere as $n \rightarrow \infty$. If I also know that $f_{n}$ converges weakly in $L^{p}$ to an $\bar{f}$, then is $\bar{f} = f$ a.e.?


I make a html page. I want load step by step in page with jQuery but I don't know make it.  My HTML code:

   Fade-in burst in sequence!


Intermittent Failed to upload image; imgur is rejecting the request

Just now when trying to upload an image with the image uploader I'm greeted intermittently with the following error:  Failed to upload image; imgur is rejecting the request  That error comes from the POST on https://meta.stackexchange.com/upload/image?https=true I initially was on an non-encrypted HTTP connection. Switching to HTTPS seemed to resolve the issue. In this same time-frame I also  that are hosted on i.stack.imgur.com are not served or only after refreshing a couple of times. I have verified in chat that it is  and I rule out caching. Can this be looked at and if possible fixed?


I remember reading a young adult series  probably 10 years ago, with quite a few books in the series. My memory is very fuzzy but I will try my best. One thing I remember above all else is that it creeped me out.  In the first book, a colonizing space ship leaves Earth with maybe 100 people, perhaps with some sort of cryogenic sleep. The ship lands on an unkown alien planet, where I remember there was something dangerous about the grass or environment. In successive books, colonists even die or disappear. In one book there is a scene referencing the tower of babel (I think?), hellish terrain and creatures like imps.  I vaguely remember a protaganist becoming pregnant, and that being an important theme, but I could be wrong.  A lot of the series reminds me of a Salvador Dali painting or something, very abstract with a hint of creepiness. If I can remember more I will edit the question. Sorry my question is so vague.


Can a bard 10/sorcerer 1 take 6th-level spells for Magical Secrets because of the way multiclassed spellcasters' slots work?

I have a Lore bard who multi-classed into sorcerer after level 4 and went back to leveling as a bard. When he reaches 10th level bard (11th level spellcaster), he will have 6th level slots. Can he take 6th-level spells for Magical Secrets because of this?  The PHB states "Choose two spells from any class, including this one. A spell you choose must be of a level you can cast, as shown on the Bard table, or a cantrip." But the way multi-classing works means that he no longer uses the bard table and uses the spellcaster multiclass table instead, right?


Necessary and sufficient condition meaning

Suppose A is a necessary condition for B. Does this mean $A\Rightarrow B$ or does it mean $B\Rightarrow A$?  Suppose P is a sufficient condition for Q. Does this mean $P\Rightarrow Q$ or  $Q\Rightarrow P$?


I have Ubuntu 12.04 LTS, and I want to install Windows 7 (I have no interest in keeping Ubuntu on the computer). I have a Windows 7 installation DVD, but when I tell my computer to boot from the CD/DVD Drive in the BIOS, it doesn't work. It bypasses it and starts booting Ubuntu instead. I have used this Windows installation disk in the past, so I know that it works.


Should I ignore UnserInterfaceState and xcschememanagement files in git?

SourceTree with iOS project with Git question.  Two files are always in unstage file:  UnserInterfaceState.xcuserstate xcschememanagement.plist   But, actually I haven't made a any change. (Maybe I just clicked one of files the in project in the Xcode window?)   Should I   commit and push those two files? just ignore them by selecting "Ignore file"? "Remove file"?   I don't want to bother other team developers.  Usually, What is the best choice for those two files?


My most important pages does not get indexed, google search console

I have a website with blog articles. I added it's sitemap to google search console and it say that the sitemap has been processed. However, half of my articles (the important pages) have not been indexed. I am not sure why some of them are indexed and some not?   They are all built from the same php-file using url slugs. They are also all linked from the index page so it is not as if they can not be found. They are all in my sitemap.xml file that Google Search console says it has processed. They are counted for in "pages submitted by me" section in the search console. They do not come up when I do a search for site: mysite.com (50% of my articles do, not all). They are not blocked in a robots.txt file or .htaccess file. They have been online several days before Google search console said it had processed my sitemap. There are no bad content, just simple articles about whitelisted subjects. There are no crawl errors or error response codes. This is why I ask this question because I have read all the other posts about this subject and I do not deem it a duplicate unless you can point out something I missed.  There might be one thing I did get wrong: I submitted my sitemap.xml, it said "pending" then some time later it said "processed". Does this not mean that google updated my site and added the pages in the sitemap to it's index? Is it just processed and waiting to crawl or something like that?  Can anyone please give some insight into this because I am at a total loss what to do. Only thing I got so far is to maybe split the sitemap into two files: one with site structure (categories/tags etc) and one with only articles, would this be a good option?


Why don't mentions in comments get updated when username changes?

It seems that it would be a good feature, as future viewers may struggle to follow any mentions in comments after usernames have changed.   Is there a technical reason why it doesn't happen, or is it simply that this feature is relatively low value and therefore hasn't been implemented?   : Ḿűỻịgǻṇącểơửṩᛗ changed their username to Mᛜ. Sᛜ. Rᛜ. require mulligansǃ


How to model wind speed with a weibull distribution when there is excessive zeros in the distribution?

Hey I have a data set that contains hourly wind speed for about seven years. I am trying to model the data using a weibull distribution which according to literature is a good fit for hourly wind speed. However, according to the distribution I have quite a lot of zeros within my distribution. I was informed to "you will need to model zero values separately. So my first suggestion would be to try Weibull for non zero values." Anyone has any suggestions on how to go about doing this?


14.04 software centre problems after trying to download dropbox

After trying to download Dropbox I get an error message in top bar of screen:  "Unknown error ''(E:Malfomed line 56 in source list/etc/apt/sources.list(distparse))' This usually means that your installed packages have unmet dependencies."  It suggested running Package Manager or apt-get in the terminal but that produced nothing very helpful. As a newbie to Ubuntu I'm rather lost!


I have dozens of folders like this in my C:\ drive, I'm not sure what exactly they do (I think they may be related to Windows 7 updates) and I'm running very low on space so i'd like to be able to figure out if I can get rid of them or not.  I'm using Windows 7,  thanks in advance.


What is the best way to deal with cheats?

I play TCGs a lot, and often, the same cheater would challenge me to a duel. I know they are cheating, but I don't have any proof. What is the best way to deal with it? A few examples of the bad actions include:   Looking at my set cards Peering at my hand Changing LP Removing Damage Counters   All I need is a simple way to deal with the issue.


comma-separated list as a result of select statement in Oracle

I have a table named "person". It contains person's id and it's parent id (only one parent is possible). As a result of a query, I want a table with first column - a person id, and a second column - a list of it's children id's. How exactly to do this? I've read about listagg function, but I'm not sure if it is appropriate for my purpose.  And this query produces an empty second column:  select t1.id,  (select t2.id from person t2  where t2.parent_id = t1.id)  from person t1  where t1.status = 'parent';


Generating Random Numbers within a certain range

I have problems getting random numbers to stay within a certain range. I've tried a few different suggestions, but none of them worked so far. This is the latest one I tried. Using this code generates me numbers between 0-30. But I wanna stay within 50-20.  Suggestions?   void randomNumbersForEquation() {          Random randomNumbers = new Random();         int number1 = randomNumbers.nextInt(51 - 20);         int number2 = randomNumbers.nextInt(51 - 20);         textEasyNumber1.setText("" + number1);         textEasyNumber2.setText("" + number2);      }


upgrade 14.04 with errors and shows red sign on top

I upgraded to Ubuntu 14.04 but it shows a red symbol on the top and gives error message in function update  E:unknown error:<type exceptions.type error> upgrade manager or any other file is not present


2011 iMac 27": cannot upgrade to latest OSX after replaced failing drive with blank new HDD. Nasty loop

Installed a new hard drive on a iMac 2011 27": old drive would not boot (node errors which FSK cannot fix). This faulty drive was running High Sierra before it stopped booting.  Removed the old drive and installed in an external powered enclosure.    Installed new HDD -- but remote install of OSX limited to Lion (10.7), as Apple remote recovery only reinstalls original OSX imac came with. I cannot find any way to find the recovery partition on the old drive. Tried to update OSX from app store but my account purchase list does not show any OSX (lots of my apps though) Cannot check my Apple App store account settings as "To make changes to your payment information, you need to upgrade your Mac to the latest version of macOS."(Which is what I am trying to do!!) Tried to download El Capitan from the great Apple page set up for this, but on clicking 'Get' it says Paypal will send me a text to confirm the account, but that was over a day ago. Also worked out how to use terminal (fsck_hfs -r /dev/disk1s2) to try to rebuild catalogue on the now connected external enclosure with old drive. Says it can't be verified after executing command.   My question: So how can I upgrade OS, when I can't access app store or Apple App store account, or find the recovery partition on what is now the external drive, and I can't get a CD with OS?  Even if I could find the recovery partition, I cant see any information on how to use apart from starting the external disk in target disk mode perhaps? (which will not work as it won't boot)  Running out of options...thank you good folk in advance.  The best thing I can think of is to fond some way to copy the recovery partition from the old drive to the new drive (as I can read the old disk), but where is the partition?  Stefan  Melbourne Australia


Which function for creating a POINT in PostGIS?

When defining a Point in PostGIS, when do you decide to use which of the following?   ST_SetSRID(ST_MakePoint(lon,lat),4326) ST_SetSRID(ST_Point(long,lat),4326) ST_SetSRID(ST_GeomFromText('POINT(lon lat)',4326) ST_GeomFromEWKT('SRID=4326;POINT(lon lat)')   If its essentially a difference in performance, which will be the fastest?


How to keep user logged-in when disconnecting from RDP session

I connecting remotely using remote desktop to windows 7 client when i disconnect the session it automatically logged-out the user in the remote client. I want to keep the user logged-in on the remote client after i close the RDP session.  Thanks in advance


Trying to install ubuntu 13.04 64 bit with windows 8 64bit .. but its not show win 8 .. just laptop harddisk without any window's options  update .. I have installed windows 8 64bit but when i try to install  ubuntu 13.04 64bit using USB .. it dont detect windows 8 and just show me to erase disk to install ubuntu instead  of this screen


Does anyone know what is the font/style used in this article    PS: No font information included in the properties of the pdf file (File->Properties->Fonts).  Best regards


Should I backup some files if I upgrade 12.04 to 14.04 ?

Currently I'm using Ubuntu 12.04. I would like to upgrade to 14.04. Should I backup  some important such as those of the web root folder ? If I would need so,  how should I proceed ?


Prove that $\left(1+\frac1 n\right)^n > 2$

I'm trying to demonstrate that $\left( 1+\frac1 n \right)^n$ is bigger than $2$. I have tried to prove that $\left( 1+\frac1 n \right)^n$ is smaller than $\left( 1+\frac1{n+1} \right)^{n+1}$ by expanding  $\left( 1+\frac1n \right)^n = \sum\limits_{i=0}^n \left( \frac{n}{k} \right) \frac{1}{n^k}$ and $\left( 1+\frac1{n+1} \right)^{n+1} = \sum\limits_{i=0}^{n+1} \left( \frac{(n+1)}{k} \right) \frac{1}{(n+1)^k}$ but it doesn't seem to work.  What am I missing? Also, is there a method to demonstrate that without induction?


Adding numberless chapters to the table of contents

How do I include a chapter reference within the table of contents without giving it a chapter number? I am using the report document class.  Normally, I would create a chapter as follows:  \chapter{Some Chapter}   but this results in the chapter being given a number. Currently I am using  \chapter*{Some Chapter}   which gets rid of the number, but then it is absent from the table of contents.


WFS and WMS query SRS parameter and BBOX usage

WMS and WFS queries needs SRS and BBOX parameters.  http://example.com/geoserver/wfs?   service=WFS&   version=2.0.0&   request=GetFeature&   typeNames=namespace:featuretype&   srsName=CRS&   bbox=a1,b1,a2,b2&   For example I have GeoServer to publish WFS. My data SRS is EPSG:4326 and my map SRS is EPSG:3857. So I send a WFS query.  http://example.com/geoserver/wfs?   service=WFS&   version=2.0.0&   request=GetFeature&   typeNames=namespace:featuretype&   srsName=EPSG:3857&   bbox=978393.9621,2680799.4560,-430493.3433,3326539.4710&   Does GeoServer or ArcGIS server give an error? Because my data has EPSG:4326 . Or does GeoServer convert these coordinates internally and find data and send me as EPSG:3857


Chi Square and t test to select variables for logistic regression

I need to build a logistic regression model.  there are around 50 categorical variables. So, is this approach to select variables wrong?: do a chi square test of dependent variable vs independent variables, and only use those variables which show a dependency (p value lesser than .05). similarly using t test to see if continuous variables are actually different when why dependent variable is either 0 or 1.  or kindly tell how can this approach go wrong (data has got around 2000 rows, so less observation wont be a problem for sure.)


Where do you get your CA bundles (crt's) for postfix?

Learning postfix, I've set up SSL on my server and everything is working.   Google/Gmail was saying Untrusted TLS connection established until I downloaded an Equifax SSL CA bundle and added it to my CA bundle. Now it says trusted connection whenever sending an email to Google.  So now I'm trying to do the same for Yahoo and Outlook365 connections. The connections say Untrusted TLS connection established whenever I send them emails.   Am I going about this the right way? by downloading CA bundles and putting them in my CA bundle? I've tried ssl_CA_path and just putting them in there, but that didn't work, only smtp_tls_CAfile seems to work.   Centos 6.7 postfix 3.2.2


Why was Glorfindel sent back to Middle Earth?

This always confused me, as we see during the war of the ring Glorfindel stays at Rivendell and really doesn't do much else, was he sent back in an Istari styled mission in middle earth and was he granted more power. But of all the elves to send back why Glorfindel when the Valar could sent the likes of fingolfin, Ecthelion and so on.  So why was Glorfindel sent to Middle earth and what was his mission?


Which of the following is right?  I am reading a paper (math) where it says:  Demanding that A is a Lorentz scalar, ...  But I feel like it should be  Demanding that A be a Lorentz scalar, ...  I'd be grateful for help and would appreciate if someone could point out what kind of grammatical construction this actually is.


What is this Gen system in multiplayer and how does it work?

I noticed that some players have Gen 1, Gen 2 etc. next to their name. Is it like prestiging? Do you get bonus abilities? How does it work?


Why is quantum entanglement so important in the context of quantum computation?

Entanglement also allows multiple states to be acted on simultaneously, unlike classical bits that can only have one value at a time. Entanglement is a necessary ingredient of any quantum computation that cannot be done efficiently on a classical computer.      –, Wikipedia   I thought this was the definition of . Why is quantum entanglement so important in quantum computing, to the point where advances are also measured in number of qubits entangled?


Show $\lim_{h \to \ 0} \frac{f(x + 2h) - 2f(x+h) + f(x)}{h^{2}} = f''(x)$ Proof verification

Show $$\lim_{h \to \ 0} \frac{f(x + 2h) - 2f(x+h) + f(x)}{h^{2}} = f''(x)$$   Proof:  By definition:    $$f'(x) = \lim_{h \to \ 0} \frac{f(x + h) - f(x)}{h}$$  Using this idea it would imply:   $$1)\ \ f''(x) = \lim_{h \to \ 0} \frac{f'(x + h) - f'(x)}{h}$$  As such it is required that I find an expression for $f'(x+h)$. This is where I'm not sure if the step I took is legitimate.  An expression for $f'(x + h)$ is:  $$f'(x+h) =  \lim_{h \to \ 0} \frac{f(x + 2h) - f(x + h)}{h}$$  Combining this with the definition of $f'(x)$ and inserting it into 1) you arrive at: $$\lim_{h \to \ 0} \frac{f(x + 2h) - 2f(x+h) + f(x)}{h^{2}} = f''(x)$$   As required.    Concern: I feel a discomfort with this solution. Even though "mechanically" it worked out, if I am taking the limit as $h \rightarrow 0$ that would mean $x + 2h$ and $x + h$ both go to $x$. But I am attempting to use the idea that $x +2h$ goes to $x + h$. Perhaps it is a notation idea that I need to communicate better, but I feel it is larger than just that.


Racial Classification in US College Admissions Process

Elite U.S. universities are known to have affirmative action policies based on race and sex (and maybe religion?), in an effort to promote diversity.  I wonder how they can classify applicants based on race, given that it is sometimes difficult to clearly identify or prove one's race.  Is there a checkbox dedicated to race on an application form? For example, can a child of an Asian mother and a black farther choose to be categorized as black so as to improve the chance of admission?  I am asking these questions purely out of curiosity because I was born, raised and educated in Japan, a rather homogeneous society where no official records on race are kept.  I wonder the U.S. registry keeps residents' races, so it is relatively easy for Americans to obtain official documents proving their races.  As for religion, I guess it is even more difficult to obtain official documents. So, do applicants discretionally select their religions without the need to prove it, or does the U.S. government have religious records on its citizens? If applicants are free to choose, some unscrupulous individuals can choose a minority religion that gives a better chance, regardless of their true faith?  I have no idea about international applicants. Outside the U.S., it is very difficult and sometime impossible to officially prove one's race or religion, so the U.S. college admissions committee considers nationality only in the screening process?  I have no plan to apply for a U.S. university or have no interest in ideological stuff. But I would like to know practical aspects of affirmative action in American universities.


I use a Windows 10 machine remotely at work. Both the local and remote machine are in the same ISP network (not same local network, but same ISP). I've been using it like that for almost a year now and I had never experienced absolutely any issues.  Until recently. I don't know if anything specific triggered this behavior, but I feel that it started happening after I upgraded the remote to W10 1903. I later upgraded the local one as well and I feel that it only made the problem worse (but I don't really have any data).  From time to time, the session will freeze - the image stops updating. However, what I type and mouse clicks are still being sent. No error message is shown whatsoever, the image simply freezes. To make it work again, I have to close and re-open the session. Everything that I had typed and/or clicked while it was frozen is there.  Is there any way I can debug this?


PC user wants Windows/Linux key mappings

I'm a long-time PC and Linux user. Recently, I was given a mac mini (Yosemite) for my job. I've still got my full-size PC keyboard (with number pad). There are several differences. The biggest one is control key is used as command on windows. The physical location of command (right below ZXCV keys) is physically discomforting for me to use.  It's just too tight of a space for two of my sausage fingers to fit in. So I remapped the ctrl-key to command. This works, and is comfortable, except when I need to use control, because I do a lot of terminal stuff (ctrl-X(background), D(EOF), C(break),O) I don't know where I remap actual control to.  I thought option as alt, but that does not work. Additionally I use home and end keys quite a lot in terminal or chrome, and these don't function as in windows. Hitting end while typing in this box, it takes me to the bottom of the page. Hitting end in terminal takes me to the end of the scroll-back buffer. Previously, on my PC it would take me to the end of the current command, not the top of the scroll-back buffer. Modifier keys (Sys Prefs: Keyboard: Modifier Keys):  CAPS: CAPS Control: Command Option: Option Command: Control  Right of backspace I have:  Ins Home PgUp Del End PgDn  Bottom Row of keys:  Ctrl Win Alt Space Alt Menu Ctrl  To recap:  Can I use Ctrl for both Option and Ctrl (when I set Ctrl to both Command and Control, it only does one)  How can I get home and end to work per line, not per screen   I' don't mind remapping the terminal key, is that is possible, though I am using iTerm as well as regular terminal. Many thanks!


How to type the number of combinations with repetitions?

For the number of  a symbol similar to the binomial coefficient is used with additional parentheses:    What would be the proper way how to type the symbol in LaTeX? I was thinking of adding \left( and \right) to {n\choose k}, but it doesn't seem right.  Update: Also I'd be interested how to type it in MathJax, if possible.


I wish to write the name of pdfTeX's author:    I am not able to figure out how to write the middle name. I triedTh\'{\^{e}}, but it doesn't return the desired output.  It's different from the similar double accent question:  since the answer there (using TIPA) doesn't work here. This is a very specific situation.


How can I alias a domain in .ssh/config?

I can alias individual hosts in .ssh/config like this:  Host nickname     Hostname host1.example.com   But sometimes I want to alias a whole domain, so as to save typing on the command line for machines on that domain:  Host *.nick     Hostname %h.really.long.domain.example.com   That doesn't work as written, of course. Is there something that would?    Comments have suggested  as a duplicate, but that solution doesn't work for this use case; it requires all hosts to be explicitly listed in the config file. I'm looking for a global method; I want to tell SSH 'rewrite any host of the form host???.short as host???.really.long.example.com.'  Think of it like an equivalent of sed s/.short/.really.long.etc/


unable to play HEVC files on ubuntu 14.04 LTE

I have tried VLC and totem players but they are not working. I then searched and re-installed the VLC with latest version available, this time I am getting a green layer on the video. Any help?


probability that a random variable is even

Suppose $X$ is binomial $B(n,p)$. How can I find the probability that $X$ is even ?  I know $$P(X = k ) = \frac{ n!}{(n-k)!k!} p^k(1-p)^{n-k} $$  where $X=1,....,n$. Are they just asking to find $P(X = 2m )$ for some $m > 0$ ?


I had a dataset that consists of 20000 chess matches. In this dataset there are columns and variables- variables like the players’ ratings- that might have impact on a binary result, white player winning more. To test this, my lecturer told Me to perform a nested regression model where you could see the affect of each of these variables. Since it’s a binary outcome, I thought about making a nested logistic regression model. However, I don’t know how to do that and how to do that in python. Can someone please help?


"Anachronism" is to "time" as what is to "space"?

Is there a noun for something that is "out of place" in space, like an anachronism is "out of place" in time? E.g., an old-timey barber shop in a chic neighborhood.


I have this command: /data modify entity @s Inventory[{Slot:-106b}] set from storage minecraft:datapack Before It's supposed to replace the offhand with the NBT in the storage minecraft:datapack Before, which has the right NBT. But it just says Unable to modify player data. How do I fix this?


Is rigorous functional analysis useful for theoretical physics?

I'm an undergraduate physics without much quantum mechanics at all under my belt. I'm studying functional analysis, and I want to know whether or not this will be useful for me in theoretical physics in the future. Some perceived benefits of studying functional analysis are:   It gives familiarity with spaces (Hilbert spaces especially) and linear operators in their most general form, which (so I hear) pop up all the time in quantum mechanics. I have noticed that the treatment of linear forms, bilinear forms, and duals, in pure functional analysis, complement what Penrose talks about in Road to Reality, where the dual of a vector is treated as a function which takes in a vector and spits out a real number. This is "weird" because I used to think of the dual to a vector as essentially another vector, but Functional analysis seems to spell this out and give all the needed isomorphisms to make sense of it all, in whatever form desired. It defines distributions in their most general form, which seems especially useful to make sense of, say, $\delta'$ and $\delta''$, where $\delta$ is the Dirac delta, should they arise in physics while solving a differential equation.   But of course, those three things could have been learned, possibly in a shorter amount of time, by reading from a physics book and taking a less "definition-theorem-proof" approach to the whole subject. On the other hand, the rigor, I think, might help me identify which assumptions are physical, which are definitions, and which are mathematical theorems.   But I'd like to ask: In what other ways is rigorous functional analysis useful for theoretical physics? And are there any other ways that it isn't useful?


Optical microscope magnification limits?

Optical microscopes are quoted as having a maximum magnification of 1500x to 2000x - what is this calculated from?


How can I manually edit boot.ini in Windows 7

I have installed another new different copy of windows 7 on a different hard drive in my computer running a win7 version.I am seeing both my win 7 files in different drives and intact. But what I found that my previous win7 version is not showing in startup boot menu. All I find that the last installed version boots up be default without giving any options for selecting desired OS.  Is it possible I can manually add my previous windows entry (E:\Windows) in this boot menu?


Import video for editing with multiple audio strips

I'm recording with OBS. In OBS, I have two options for audio recording, Desktop Audio and Mic Audio. Each of these are mixed together and saved in the same MP4 with the video which is recorded.  When I open the .mp4 in Blender, both the Desktop and Mic audio have are in the same audio strip.  How do I separate audio sources and import them for individual editing?  I'd like to have game audio, microphone audio, desktop audio (game?), and other programs (Discord, in my case) all as separate audio strips when I pull it into Blender.  Any ideas as to how I can accomplish this?  EDIT: I should add that I've tried sending video to OBS via Dxtory. I've also tried simply recording with Dxtory only, but I do not seem to be able to record separate audio clips for use in Blender.


How to view WIFI devices names and signal strength

I want a cli utility or script that shows all the Wifi devices or hotspots or access points and their signal strength.  I want to log this data using Python. I will write the logging script myself. But I'd prefer it if the CLI utility were a python script so that I can modify it.


BEFORE YOU SAY "The idea is not to kill the party" PLEASE READ THIS  I am a fairly new DM, I have Dm'd about 6 groups, all around the levels 1 - 4 and that was because of problems within the group causing the players not wanting to play. I have finally put together a group that I find really interesting to play with, they work together and their chemistry is good.  My problem is, I build encounters to challenge the party in a way where, if they mess up, they can die.  An example of this:  is the current encounter they are in, where I am using Dire Maggots from the libris mortis book of undead. What happened was the Druid (a Female moon elf) decided to run ahead of the party to scope it out, she came across 5 Dire maggots (CR2 each) and found herself paralysed and at half health after one round.  You reading this would think, well they seem to be challenged. But thats when the 21 ac barbarian with a strength score of 19 comes in. He wields two one handed adamantine swords and hits at a +15 when in a rage, you can guess how quickly my dire maggots died.  I want to know how I can challenge them I am not good at building levelled NPCs and can't find something to aid me in this. And how do I challenge them using monster creatures?


Are downvotes on deleted posts counted in the profile vote count?

Many of my downvotes are on spam and low quality posts, and these quite often end up deleted.  So when I downvote and the post is deleted shortly after, is the downvote still counted in this number?


I'm trying to make a link using:   ln -s /Backup files/ /link 1   Instead of making the link, I'm get the following output:      ln: target '/link' is not a directory   What am I doing wrong?


I would like to make object from a child so i can edit it, there is a way to do this? I use the Duplication to a sphere from a plane, i want to make object from the result (the new sphere created).  sorry for my english i will put a screenshot for help, i read i have to select the parent and do Shift + Ctrl + A     but its not working. Thanks :)