I just posted a  from android app and now trying to view it but it says "Loading the Question Failed".  Steps to reproduce:   Post a Question from Android app Now ask some one to comment on your question. (So that it can appear in your feed screen, Unfortunately in my case  did the job :) ) Delete Question from web (Oh yeh, there is no facility in app to delete question yet) Do pull to refresh in Feed screen of android app. Now click on that question/comment feed and get question loading failed dialog!


Possible for me to purchase my own health insurance pre-tax?

From what I understand, if I get insurance from my work the amount I pay is pre-tax (correct?).  Is there any way for my work to allow me to purchase my own insurance on the exchange with money that is pre-tax?  At a previous job I had used a cafeteria plan to pay for certain medical expenses pretax.  Could something like this be used to purchase healthcare on the exchange?


In phase 10, can I pick up a card from the discard pile and then relay that card back down in the discard pile?


Show that $\mathbb Q(\sqrt p) \not\simeq\mathbb Q(\sqrt q)$

I'd like to show that for $p,q$ distinct primes, the extensions $\mathbb Q(\sqrt p),\mathbb Q(\sqrt q)$ are not isomorphic. I don't really have knowledge of the "high-level language" of algebraic number theory, so my approach is going to be very bit-wise, if you will.  Here's my try:  If there were such an isomorphism, call it $\varphi$. I know that we must have: $$\left\{\begin{align}&\varphi\mid_{\mathbb Q} = \text{id} \\ &\varphi(\sqrt p) =\pm\sqrt p \end{align}\right.$$  So essentially the existence of $\varphi$ means that for any $a+b'\sqrt p$ there exist $c,d$ such that $\varphi(a+b'\sqrt p) = a+b\sqrt p = c+d\sqrt q$ (where $b$ might be a sign change of $b'$). Take, to simplify $a=0, b=1$. Let $\alpha = \sqrt p - d\sqrt q = c$, from above. We can rearrange to obtain $$\begin{align}&(\alpha-\sqrt p)^2 = d^2q \Rightarrow \\ \Rightarrow& \ \alpha^2 - 2\alpha\sqrt p + p - d^2q = 0 \\ \Rightarrow& \ \sqrt p -\frac{c^2+p-d^2q}{2c} = \sqrt p - \lambda = 0\end{align}$$  But then it has to be that $(x^2-p) \mid (x-\lambda)$, which cannot be.  This proof however doesn't satisfy me for two reasons. First of all, I'd like to have stopped at the polynomial I found in $\alpha$,  shown that it was irreducible in $\mathbb Q(\sqrt2)$, and argued in terms of extension degrees. However I don't know how to show that. The second reason is that I'm not using the primality of $p,q$ other than having it imply the irreducibility of $x^2-p$. It seems to me from the way the exercise is worded that if they were compound and $x^2-p,x^2-q$ were still irreducible, we might have a homomorphism.  Can someone clarify?


Dropbox vs Google Drive vs other for free static cloud hosting

I need to host a static website, single page deal, and instead of paying for hosting I thought I might use a cloud service, however an issue I can see of this is bandwidth allowance. Does anyone know which allows more bandwidth per link, Dropbox, Google Drive or another service?


I cant Solve Attempt to invoke virtual method 'java.lang.String com.google.firebase.auth.FirebaseUser.getUid()' on a null object reference

I am facing the above problem on my handler which checks every time if your logged in but I am facing that problem how can I solve that?  Guys I have tried several methods but I am still getting the same problem it's the splash screen which checks every time so, the app is getting crash.  Here is my welcome screen  ```public class WelcomeScreen extends AppCompatActivity {      private ImageView logo;     private FirebaseAuth firebaseAuth;     private FirebaseDatabase firebaseDatabase;     private static int SPLASH_TIME_OUT = 5000;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setFullscreen ();         setContentView (R.layout.welcomescreen);         firebaseAuth = FirebaseAuth.getInstance ();         final String user_id = firebaseAuth.getCurrentUser ().getUid ();          final FirebaseUser firebaseUser = firebaseAuth.getInstance ().getCurrentUser ();         firebaseDatabase = FirebaseDatabase.getInstance ();        final DatabaseReference databaseReference = firebaseDatabase.getReference ().child ("Users").child (user_id);              logo= findViewById (R.id.logoocaap);          Animation animation = AnimationUtils.loadAnimation (this,R.anim.splashscreen);         logo.startAnimation (animation);           new Handler ().postDelayed (new Runnable () {            @Override            public void run() {                  //check if there's internet connection                  checkConnection();                   if(firebaseUser != null)                {                     databaseReference.addValueEventListener (new ValueEventListener () {                        @Override                        public void onDataChange(@NonNull DataSnapshot dataSnapshot) {```


I'm trying to make numbers fit on a television dial like this:    But I'm having difficulty getting the numbers to align perfectly (i.e. not having the number 20 spread out but close together).  I've been trying to follow this demonstration  but I just can't get the numbers to align properly with the vertices of the circle.  This is what I am working with:    Does anyone know of a simple way to do this?  Here is the .blend   This is the .blend for LukeD


I am using PostGIS on pgAdmin3 (PostgreSQL 9.3 e PostGIS 2.2).  I have a shapefile with more than 500.000 features and I want to merge them into one.   The geometries are MultiPolygon.   I would like to have as output a shapefile with the same geometry's complexity like the input. I Have to simply the geometry after a merge...  I used several codes but none of them seem to work.  All these queries do not return what I would aspect: I have a table with the same number of feature than before.  CREATE TABLE test1 AS      SELECT gid, fid, (ST_DUMP(geom)).geom AS geom FROM land_polygons;   or  CREATE TABLE test2 AS SELECT   1::INT as gid,   ST_Buffer(ST_Collect(geom),0)::geometry(MultiPolygon,4326) FROM   land_polygons;   or  CREATE TABLE test3 AS SELECT gid, fid, ST_GeometryN(geom, generate_series(1, ST_NumGeometries(geom))) AS geom  FROM land_polygons   or  CREATE TABLE test4 AS SELECT ST_Union(ST_SnapToGrid(geom,0.0001)) FROM land_polygons;   I do not know what I could do more...


How to show ascii art at the top of the terminal when it's opened?

As you can see on this screenshot of 's Guake he has a startup message of ASCII art when he opens it, and that's what I'd like to do, can someone help me?


Why are reports written in the third person passive?

Generally it is considered to be "good practice" to write reports in the third person passive voice for a wide array of academic writing. It is even a requirement of publication in several journals.  However, I have been unable to find any sort of information for "why" this is the way it is. I can't find any studies on the effect of reports written in the passive vs active tenses nor the effect of 3rd vs 1st person.  Could anyone shed any light on why this is the way it is?


What is Stack Exchange's word cloud of sites representative of?

I saw the main Stack Exchange site  has tiles for all of their sites. Is the size of the tiles/speechbubbles representative of the (logarithmic?) quantity of questions for each site or the current activity for each site?  Regardless, very cool feature.


Revised Ranger, Beast Conclave - Blood Hawk

Ok, I'm dumb, I've read like dozens of topics and I still don't get it.   Your animal companion has abilities and game statistics determined in part by your level. Your companion uses your proficiency bonus rather than its own. In addition to the areas where it normally uses its proficiency bonus, an animal companion also adds its proficiency bonus to its AC and to its damage rolls. Your animal companion gains proficiency in two skills of your choice. It also becomes proficient with all saving throws.  Let's say I have Blood Hawk pet:        Armor Class: 12 +2 From MY PROF? = 14   Hit Points : 7(2d6)    STR 6(-2) DEX 14(+2) CON 10(0) INT 3(-4) WIS 14(+2) CHA 5(-3)    Proficiency Bonus +2 - the same as my PC   Skills: Perception +4 - what about this? is it just +2 wis and +2 prof bonus?   Senses: passive Perception 14 - is this 10 + Wis Mod +2 and Perception Prof +2?   Keen Sight.The hawk has advantage on Wisdom (Perception) checks that rely on sight. - so if PP is 14, PP that rely on sight is 19? OR it's 10+2(wis)+2(prof)+4(hawk skill)=18 + 5 adv =23? that's kinda... broken?   Pack Tactics. The hawk has advantage on an attack roll against a creature if at least one of the hawk's allies is within 5 feet of the creature and the ally isn't incapacitated.   Actions: Beak. Melee Weapon Attack: +4 to hit, reach 5 ft., one target. Hit: 4 (1d4 + 2 +2) piercing damage. - that +2 because of PC prof?       Your animal companion gains proficiency in two skills of your choice. so TWO extra beside Perception? You have an innate ability to communicate with beasts, and they recognize you as a kindred spirit. Through sounds and gestures, you can communicate simple ideas to a beast as an action, and can read its basic mood and intent. - So if I would send that Hawk for a recon it could "tell" me if there are enemies or traps?


How can i replace a specific string within a line inside a text file

$ cat text.txt my name is Steven my age is 10 i like dogs   What command will be fitting so that echo "Kate" will replace Steven on text.txt?


Perl recursively copy files of specific format

Note: The related question is solved by use of a deprecated module and is not consistent across OS. The answer to current question uses newer modules and hence is being posted here.  I have a module that in turn uses the  CPAN module for recursively copying files from  to .   The problem is - I need to recursively copy only the files of specific file type to the destination. Is there any way to filter the source by extension?   As an alternative - is there a way to copy all files except the hidden files? My main problem being the .git folder also gets copied - which is not desired.  Platform: MacOS  Alternatives explored:   1) File::Copy::Recursive module :- seems to provide only recursive copy of files or directories. Does not seem to help with either hidden files or exclude filter  2) Using rsync -avz --exclude=".*" :- unable to combine this with recursive copy functionality.  3) Homegrown solution similar to  :- Might be the last resort - but does not seem portable unless tweaked and tested across different platforms. Will be falling back to this unless a module already exists.  4)  :- Seems plausible - will be running a quick implementation using this.  Implemented Solution:  I used the recursive module and the Path::Class::Dir   dir($sourceDir)->recurse(callback => sub {      my $file = shift;       return if($file eq '.' || $file eq '..');       return if -d $file;       if (<custom filter>)      {          my $path = file($file)->relative($sourceDir);          fcopy("$sourceDir/$path", "$destinationDir/$path") or die "Could not perform fcopy: $!";      }  });   Without the relative path - the destination folder structure does not seem to be the same as the source folder structure.


How to get MIDI output from a Windows application via Wine

I develop a windows application and am curious whether it works via Wine. The application runs fine with Wine but I get no sound. In fact, I'm not sure whether my ubuntu installation has MIDI capabilities. The sound output settings shows "LFE on Separate Mono Output" one with "no amplifier" and another with "amplifier". They both function. I am using Ubuntu 12.04 as a client on virtualbox that runs on windows 7.  Thanks for any suggestion!  EDIT: virtual box hosted by windows 7, ubuntu running as a client in virtualbox.


Requesting the ability to star an answer, and just not the question

This is especially true for the IT-based stack exchanges, where the questions are all pertinent to an issue the searcher has. However, many times these popular questions have pages of answers, and the answers at the top aren't necessarily pertinent, even if the user has marked the question as answered.   Would it be possible to implement a feature to star an answer, and not the just the question? So that if we run into the problem again, we don't have to browse through pages of answers.


What does it mean when the first column is a zero in a site's STV election results file?

Looking at the  for the 2015 dba.se election, I see the first few results look like this: 1 0 1 2 0 1 0 1 3 0 1 0 2 3 0 1 0 3 1 0 1 0 3 2 0  According to Jeff's , the first column is the weight of the vote, and the last column is an end-of-vote record marker, leaving the numbers between the first and last columns indicating which candidate was voted for. What does the 0 indicate in the column directly after the "weight" column?  Does that mean the voter did not choose a "1st choice" candidate?  They only chose a 2nd and 3rd choice?  If that is what it means, why are we allowing people to not specify their 1st choice?


What goes on behind the scenes when determining if a badge should be implemented?

I understand you can probably just post a question and tag it as  to suggest one, but I was wondering what goes behind the scenes when determining whether or not a badge should be implemented? Are there things to keep in mind before suggesting a new badge?


How to view raw binary data as an image with given width and height?

Does there exist a program for Linux that can display raw binary data?  Each byte in my binary files represent a pixel, so it would be very useful if something like this exists where I could say  program_name --input=dat001.bin --width=200 --height=100   and it would display the pixels.  I wonder if gnuplot, can be used for this...?


Novel in which space traders train a spearman army for a decaying medieval empire

I read this scifi novel/short story around the 2000s in a public library, and I recall the following plot points which could be helpful in its identification:   The space traders (not sure if traders, but certainly a group of people with spacefaring abilities) somehow ended up on a medieval human planet, where the main civilization was a decaying empire much like the medieval Byzantines.   The decaying empire often fought skirmishes with the barbarians, who would handily defeat the heavily armed and armoured empire knights by drawing out their battle lines, retreating, and picking them off when they were tired and overextended.   The space traders managed to revitalise the empire by training a spearman army from the remaining peasants. This army then defeated the barbarians by holding the line against repeated assaults during a siege on the capital.   The story ends with the space traders being "exiled" to the medieval planet for violating a Prime Directive equivalent.   I believe this was a relatively old book when I had read it in the library around that time. The author was IIRC pretty famous in the science fiction genre as well, but I cannot remember any details on that. I'm rather certain about the plot points above, though.


I am writing in Latex. I am new with it and need some help. I need to add figures. I can do it with the following code:  \begin{figure}[h]     \includegraphics[width = 15cm]{figures/mlpStrSingle}     \caption{MLP neural network for one single output node}     \label{fig:mlp} \end{figure}   However, if I use this the figure goes to the next page. I need it right after the text, then the next text should start. How can I do that?


Simple past or Present perfect with today?

Please look at the following sentences and tell me the difference between them.   If you have met him today, then you must consider yourself lucky. If you met him today, then you must consider yourself lucky.   Also,    Today, I've seen your friend talking to my neighbour. Today, I saw your friend talking to my neighbour.   Thank you.


How to remove duplicate rows in a SQL Server table

I have a SQL Server table with ~100 columns including the columns Id and CreationDate. Due to a bad constraint in its initial design, there are now many duplicate rows (i.e. rows whose values are identical across ALL columns).   Can you suggest a script to remove those duplicate rows?   Also, what would be a script to select all distinct Ids with the latest CreationDate?  Thanks


What happens if flight reaches Germany 4-5 hours before Visa start date

Suppose my visa start date is 15-Aug-2019, and I book a flight that lands in Germany on the 14-Aug-2019 at 22:00 PM, will they allow me in?


I want to overlay some data whose projection is WGS-84 on Google map layer in OpenLayers. But I just can't make them in the right place. I did as follows:  map = new OpenLayers.Map('map', {                    numZoomLevels: 20,         projection: new OpenLayers.Projection("EPSG:900913"),         displayProjection: new OpenLayers.Projection("EPSG: 4326")         }); googlelayer = new OpenLayers.Layer.Google("Google street", {sphericalMercator: true}); map.addLayer(googlelayer); veclayer = new OpenLayers.Layer.Vector("vector", {                                     projection: map.displayProjection                                     }; var geojson_format = new OpenLayers.Format.GeoJSON(); veclayer.addFeatures(geojson_format.read(jsonData));   Though I have assigned veclayer in 4326 projection, but it is still interpreted as 900913, and the display coordination system is also 900913, though I set displayProjection to 4326. What mistake do I make?


Ubuntu 19.04 will not upgrade to Ubuntu 20.04

when I open Ubuntu Software Updater, and click the "Upgrade..." button, the window closes and no further events take place.


"See page as it would appear at given reputation" moderator feature

Normally, moderators are shown some things by default that even a high-reputation user does not see by default. This is useful in many situations, but can sometimes cause uncertainty about what the page will look like to a regular user.  I would like to see a feature that allows a diamond moderator only to enter any desired reputation level, and the page is re-rendered (possibly locally) to display as it would display to a regular user on the site with the given reputation.  This would seem to nicely complement the possibility of opening a private browser window and navigating to the page to see how it would appear to a user that is not logged in to the site. Since it would be for diamond moderators only, it also would not expose any information that is not already available to the user who uses said feature.


why sum of squared errors for logistic regression not used and instead maximum likelihood estimation is used to fit the model?

I have a doubt on why sum of squared errors is not used for Logistic regression and instead maximum likelihood estimation is used and also why not the vice versa.  Edited  Many were asking me to clarify the question, my intention was to know about using a squared error loss function to find β vs MLE


I am stuck on the following problem :  Let $\,f \colon \Bbb R^2 \to \Bbb R $ be continuous map such that $\,f(x)=0\,$ for only finitely many values of $x$. Then which of the following options is correct?  either $f(x)\le 0 \forall x \,\text{or}\, f(x) \ge 0 \forall x$  the map $f$ is one-to-one  the map $\,f$ is onto  none of the above    My Attempt: Since $\,f(x)=0\,$ for only finitely many values of $x$, $\exists x_1=(a_1,b_1),x_2=(a_2,b_2) \in \Bbb R^2$ such that $f(x_1)=0=f(x_2)$ whereas $x_1 \neq x_2$. So, $f\,$ is not one-to-one. Also,it is a many-to-one mapping and so can not be onto. I am confused about options 1 and 4. Can someone point me in the right direction with some explanation? Thanks and regards to all.


Using a Blender python script I want to get the world coordinate of a specific pixel (or all).  Assume a camera has been defined (focal length, fov/angle, sensor size,etc.), and orientated/pointed as desired. Also, a large surface is defined, so the camera rays would actually "hit" objects in the scene (& not cast into infinity).  For example, Given 4 corners pixels of camera, where do they in fall in world coordinates (XYZ)?  Alternatively, a script could export the world coordinates (XYZ) for all pixels, then a "camera ray hit map" could be generated.  There's probably a better name for this.  From the very similiar question, , there are recommendations to use:   &   However I'm new to blender, and ray-tracing in general, and it is not clear to me how to proceed with these functions.


I've unlocked 10 cards from the Monster Game - where are they?

The cards that it says I've unlocked aren't in my inventory. Do you just get them after the whole event? I have two from just buying games actually in my inventory, but the cards I've 'unlocked' aren't around. I'm Steam Level 7, so I know they should be dropping...


Show that $[L^2,[L^2,\vec{r}\,]\,] = 2\hbar^2\{L^2, \vec{r}\},$ where $\vec{r} = x\, {\hat x} + y\, {\hat y} + z\, {\hat z}.$  "Edit: $\{A,B\} = AB + BA$ is the anti-commutator."  I am able to solve this by brute force expanding everything, but I was wondering if there is a quicker, more elegant way of doing so.  Also, if anyone has any physical intuition behind what this result means, it would be much appreciated.


A non-noetherian ring with all localizations noetherian

If for a ring $A$ every localization $A_\mathfrak{p}$ by a prime $\mathfrak{p}\subseteq A$ is noetherian, is it true that $A$ is noetherian?   I believe not but I can't find a good counterexample.


How to generate the table in beamer using ShareLaTeX as shown in figure

I'm trying to generate a table inside which numbers are to be inserted as shown in the figure.


How to find last row_number in a table in SQL Server?

Question: how to find last row_number in a table in SQL Server? For example, I have a table named Employee without any ID and don't wanna add any identity column.  EmpName | EmpSalary --------+---------- Amit    | 5000 Sumit   | 4500 Ajeet   | 5600   I tried this:  SELECT      ROW_NUMBER() OVER(ORDER BY EmpName) row_no  FROM     Employee   but it returns this:  row_no 1 2 3   but, if 3 is the last row_no, then I want:  row_no 3   now, please help me to solve this.


Wish you happy new year or (a) happy new year

I always use google with double quotes to get the answer for similar questions by looking at results number (assuming that the majority are correct), well, it is not the case here. In these days, we intensively use the statement Wish you happy New Year and Wish you Merry Christmas, Well, I have noticed, even here, that some use (a) before happy and merry and some don't. Which one is correct ? Wish you Merry Christmas / Wish you a Merry Christmas for everybody here.


I writed some search function and I got a null pointer exception when I try add element to temporary list.   User :  public class User {      private Id _id;     private String number;     private String name;     private String mark;     private String model;     private List < Address > addresses;      public Id get_id() {         return _id;     }      public void set_id(Id _id) {         this._id = _id;     }      public String getNumber() {         return number;     }      public void setNumber(String user) {         this.number = number;     }      public String getName() {         return name;     }      public void setName(String name) {         this.name = name;     }      public String getModel() {         return model;     }      public void setModel(String model) {         this.model = model;     }      public String getMark() {         return mark;     }      public void setMark(String mark) {         this.mark = mark;     }      public List < Address > getAddresses() {         return addresses;     }      public void setAddresses(List < Address > addresses) {         this.addresses = addresses;     } }   Address :  public class Address {      private String name;     private Date dateFrom;     private Date dateTo;      public Date getDateTo() {         return dateTo;     }      public void setDateTo(Date dateTo) {         this.dateTo = dateTo;     }      public Date getDateFrom() {         return dateFrom;     }      public void setDateFrom(Date dateFrom) {         this.dateFrom = dateFrom;     }      public String getName() {         return name;     }      public void setName(String name) {         this.name = name;     } }   private List < User > findUsers(List < User > users, String park) {     List < User > tempList = null;     List < Address > addresses = null;     for (User user: users) {         addresses = user.getAddresses();         for (Address address: addresses) {             if (address.getName().equals(park))                 tempList.add(user);         }     }     return tempList; }   In line where tempList.add(user); is I get NPE.


My URLs are currently looking like  example.com/products/123/product-name   where 123 is the product ID.  I can make them like  example.com/products/product-name   by saving the URL as unique field in the database, but does it make a real difference for SEO, and is it worth the effort?  I see Webmasters SE (this question URL) uses ID in its URL, but I guess that's because there are a lot of questions with the same title. I don't have a lot of products with the same title, but some have.


What are the advantages and disadvantages of DMs showing a map of the city to the players?

I am going to start DMing Tomb of Annihilation soon; my question is mostly about the cities of Baldur's Gate, Nyanzaru, and Omu.  I see two options on how I can introduce the city to them:   I could show a city map to the players once their characters visit the city. I could use a text-only description of the city until the PCs find or buy a map of it.   What are the pros and cons of letting the players see the city map?  I am not sure if it would be OK to just give the city map to players for free. But it would make city navigation much easier for them. What are the positive and negative effects of doing so? Will there be any unintended side effects of this approach?


I would like to clone this box used on the tcolorbox manual, but I couldn't find the configuration in the manual.    Can you help me?


Is there any way to create a new line in a String that can correctly be printed in a txt file?

I was doing a project for my AP Computer Science class, when I came across this problem. I used "\n" in a string and then printed that string in a txt file. The txt file did not show a separation between each specific line. Here is my syntax.  public String toString() {   String stringOfSong = "";   for(int i = 0; i < songs.size(); i++) {      stringOfSong = stringOfSong + songs.get(i).toString() + "\n";   }   return stringOfSong; }   When printed from the system, it gives me this (This is the format I would like in my txt file).  2008    50    Ashley Tisdale    He Said, She Said 2008    123   Taylor Swift  Teardrops On My Guitar 2008    233   Finger Eleven Paralyzer 2008    258   Paramore  Misery Business 2008    264   Billy Ray Cyrus   Ready, Set, Don't Go 2008    310   Good Charlotte    I Don't Wanna Be In Love (Dance Floor Anthem) 2008    319   Wyclef Jean   Sweetest Girl (Dollar Bill) 2008    332   Taylor Swift  Our Song   While my print in the txt file contains each line directly next to each other.


Are RNA transcripts always synthesised from the same DNA strand?

The DNA is read 3'->5' (and RNA synthesized 5'->3'). But due to the DNA strands having to be complementary, it seems to me that the origin can only appear on the correct side of the ORF on one of the strands. And even if it were possible to synthesise RNA from the other strand, due to the directionailty of the strands/RNA the RNA transcript would then code for the protein in reverse. Surely the reverse synthesis of a protein, even if containing all of the same amino acids, would lead to dfferent folding and thus only on eof the proteins is correct?  Now that I am considering the origin, it seems likely to me that the strand on which the origin is dictates which strand acts as the RNA template (perhaps both starnds can, however for a given GENE the RNA is always synthesised from the same strand.  Is this the case? I have read this post:  however I found it slightly confusing. I think what the answerer said is similar to what I have suggested here, however I am not quite sure. Would greatly appreciate some input.


Can Quantum Entanglement and Quantum Superposition be considered the same phenomenon?

Quantum entanglement is known to be the exchange of quantum information between two particles at a distance, while quantum superposition is known to be the uncertainty of a particle (or particles) being in several states at once (which could also involve the exchange of quantum information for a particle that is known to be in several locations simultaneously).  I was wondering if all of this was nothing more but the exchange of quantum information between different masses, and if this could clear up all the confusion in terms of how quantum systems connect in this field of science.  A clear explanation for how both of these quantum phenomena work, and if they really are connected (the exchange of quantum information?) would be much appreciated.


error can't String to boolean when trying to use variable as String

i'm trying to make a simple code and this point in the code generates an error in the script saying String can't be used as boolean even though i'm not using it as boolean  String wc = Mt.input("asks for input") /*i have a class called Mt that basically just makes writing lines and asking for input easier*/  if (wc = "a possible input for wc") {//error occurs here     Mt.s("words");     Mt.input("");     System.exit(0); }   the error is  Exception in thread "main" java.lang.Error: Unresolved compilation problem:      Type mismatch: cannot convert from String to boolean      at Main.main(Main.java:20)//line of if statement in full code


Is asking a question with intonation {rather than the usual inversion} grammatically correct?

Is asking a question with intonation only grammatically correct? I had a discussion with colleague about the correct formal way to ask a question in English language. The usual, formal way:  "Is that your mug?"  However, someone claimed that  "That is your mug?"  is grammatically correct, despite the fact that it has the form of a statement,  and that intonation alone can be used to indicate the question. So, is the latter grammatically correct in formal language?


Is there a way to "auto login" in PuTTY with a password?

Is there a way to configure a password for a stored session in ?  I know there is the capability to specify an "auto-login username" (under Connection/Data), but is there a way to do the same with the password?


I Looked at a post here:  but the link does not work for me anymore. Can someone provide a new link or just say how it is done please? Thank You.


Where can I ask questions for networking?

Where can I ask questions regarding   Networking Cisco CCNA/CCNP/CCIE IP subnetting


I know I have to prove both sides here so: $\implies$: Suppose $|a| < b$. Since $|a|$ is a positive number, we know $b$ is a positive number greater than $|a|$:  If $a$ is positive, $a < b$ If $a$ is negative, $a < b$  But for $|a| < b$, it has to be that $a > -b$. $a < b$ and $a > -b$, therefore $–b < a < b$ is true. $\impliedby$: Suppose $-b < a < b$.  If $a$ is positive, then $b$ is a greater positive number, and $-b$ would be less than $a$ If $a$ is negative, then $b$ can only be a greater positive number for $-b < a$ to hold  So, $b$ is a greater positive integer than $a$. Therefore, it must be that $|a| < b$. This was what I came up with but it seems convoluted and kind of forced with the cases. Any suggestions?


What is the main difference of getter and setter?

I know this may be a silly question. I referred some articles. But, I am very interested to know the main difference for the following code,  using System;  namespace Business {     public class User     {         private int _id;          public int ID         {             get { return _id; }             set { _id = value; }         }     } }   And  using System;  namespace Business {     public class User     {         public int ID { get; set; }     } }   I want to know some brief details (any reference)...  Thanks


If $a,b \in G$ and has finite prime order, what is the order of ab?

Let $G$ be an abelian group and let $a,b \in G$ with $a$ having finite order $n$ and $b$ having finite order $m$. Assume that $m,n$ are distinct prime numbers. Prove that if $ab \neq e$, then the order of $ab$ is $mn$.   I got $a^mb^n$ becoming $ab$ to the power of m+n since they both belong to the group G.


Extract source commands of an existing gnome terminal session?

I have a bit of a situation. One of my co-workers just overwrote everyone's bashrc and bash_profile files. My custom settings have been lost. However, I still have a terminal open which sourced my own bash settings, before they got overwritten. Is there any way to extract the commands that got sourced at startup from an existing terminal? Thank you.


How to decompose arbitrary gates in Qiskit?

I have been exploring quantum computing, I have no idea of decomposing arbitrary gates in Qiskit. Can someone help me with an example?


Cannot Edit Python Script from ArcMap/ArcCatalog with IDLE?

I'm trying to set my Script Tool Editor in the Geoprocessing Options dialog so that I can edit a script tool within ArcMap. Currently, whenever I right-click on my script and select "Edit..." from the resulting menu, nothing happens. I've set my editor to what I think is the correct .exe file (C:\Python27\ArcGIS10.1\Lib\idlelib\idle.pyw), but selecting "Edit..." on the script tool menu still has no effect.   My issue seems to be similar to  which was never answered but I am using ArcMap 10.1 SP for Desktop Basic and Python 2.7 (I think).


I have a site where Google has already indexed about 1 million pages, and I want to change all the URL paths for SEO purposes, ensuring that we always have our keywords in the path.  Technically I know how to complete it (301 redirects, new canonical URL, update sitemap, etc.) but I'm wondering if Google will penalize the site because of it, or if links will disappear from search results until they are re-crawled?


New users can't ask for clarifications except as answers

In some situations, a question can have more than one meaning, and a new user with less than 50 rep points would like to ask for a clarification that would make sense. In this case, they have to ask in an answer field.  Shouldn't we allow at least a clarification field, if comments are not allowed for less than 50 rep?  Clarification if a new user wants to get clarification on an ambiguous question asked by another user, they can't ask in comments, instead they will ask in the answer field.  shouldn't we allow this new user to be capable of making that inquiry? does it make sense to make the user ask in answer field or ask a new question to get clarification on another question to answer it!?


command not found (2 lines) when opening the terminal

As soon as I open my terminal I get:  $: command not found  $: command not found   Even if I close and open again I get the same.  $: command not found $: command not found   How to sort out this problem?


Let's say we have a wavefunction $\psi$ and a measurement operator $\hat A$.  I understand how eigenvalues and eigenvectors of $\hat A$ describe the possible outcomes of the measurement.  I also understand that the average measurement can be computed as $\langle \psi|\hat A|\psi\rangle$.  It's still not clear to me what the direct meaning of $\hat A |\psi\rangle$ is. It is a wavefunction; how does its corresponding quantum state relate (in physical terms) to the original state $\psi$ and the measurement $\hat A$?


I am a newb to linux. I want to build a network server/file share. I have an Intel G3258 processor, 4gb ram and want to take advantage of the 64-bit processing abilities. It doesn't look like the latest stable release for Ubuntu server is for an Intel chip. Am I wrong? If not, which previous Ubuntu server release works for the 64-bit Intel chips?


$P_1 \vee P_2 $ , $Q_1 \vee Q_2 $ are semi-decidable predicates and $P_2 = \overline{Q_2}$. What can be said about $P_1 \vee Q_1 $?

We've just started studying the decidability notion in our Algorithms class. So far we've only defined it and went through some examples of problems that fit different cases : decidable, semi-decidable, undecidable. But that's it. On our test today, this question popped up:    Consider the predicates $P_1,P_2,Q_1,Q_2 : R$ $\rightarrow \{0,1\}$ such that $P_1 \vee P_2 $ , $Q_1 \vee Q_2 $ are semi-decidable and $P_2 = \overline{Q_2}$. What can be said about $P_1 \vee Q_1 $?    I looked on the web before coming here, but I don't really understand how to approach this kind of problems. Can anyone help?


Ways to use PHP 5 and 7 parallel on same LAMP Installation

Dear all I am currently having a LAMP installation with PHP v5 on an Ubuntu 16.x machine. I like now to update it with PHP v7 but I like to have both configurations available so I can easily migrate my websites to new PHP v7.  The problem of LAMPP itself is you can not have multiple LAMPP versions installed in parallel because the LAMPP installation paths are "hardcoded" and can not be changed during installation. LAMPP itself supports also not FastCGI / PHP-FPM out of the box.   It gets quite hard on an Ubuntu system to install php-fpm stuff with the standard packages because they are managed and installed outside of LAMPP and are pre-pared for the official apache installation on ubuntu (pre-defined paths etc.)  Does anyone have experience and like to share as a step to step guideline here how to install PHP-FPM without the pre-defined packag installer (apt-get) so it can be integrated into LAMPP installation?


is there any advantage in using ' ?: Operator ' vs an if else statement?

Is it simply a matter of preference or is there any good reason to use one over the other.. performance wise?? :  string x = (serialNbr != "")?serialNbr:String.Empty;   vs.  string x; if(serialNbr == "") {     x = String.Empty; } else {     x = serialNbr; }


Advanced regex for unordered characters and numbers

This seems simple but I've been struggling for hours now. The pattern is simple, a telephone number that optionally starts with a +, has 10-15 digits, and optionally has spaces, dashes or parentheses. The numbers and characters should be in no particular order.  I've tried using non-matching groups and seen so many different ways of validating phone numbers, but to no avail.  The best I have so far is ^\+?([0-9]{10-15}[)( -]*)$, but it only accepts the other characters if they're at the end of the pattern. This expression will be used in a Java context.


What is the application Wi-Fi, and why is it gobbling 2GB of memory? Running latest version of macOS Mojave 10.14.1 on a 2018 MacBook 15" with 16GB of memory total.


I have a daughter five months old has no US passport can she go to Canada with her birth certificate?


How to make div's width same as screen height?

So. I have fixed positioned div that has 100% height from screen top to bottom and I need to match its width to be same as its height on all screen sizes. How I do it?  (Edited the title question)  div {     position:fixed;     top:0;     left:0;     height:100%; }


I can't click to pick up & place items in inventory on Windows 8 Minecraft. Can this be enabled?

I have a laptop that has Windows 8 which I use for playing Minecraft. However when using the inventory, I have to hold my mouse to drag and pick the items and I don't like that.   I have tried switching mouses but that didn't work, is this possible to fix?


How to prevent getting a space after an abbreviation using the abbrevs package?

If I use the abbrevs package and define a \newabbrev using the following code  \newabbrev\gb{Great Britain}   and use it in the following example (taken from the ):  \gb, a small island off the coast of France   I get "Great Britain , a small island off the coast of France", which has a superfluous space inserted before the comma  In the xspace package documentation, they also defines an abbreviation for "Great Britain", but using \newcommand instead of \newabbrev, and they are also having the problem with the superfluous space before the comma. They solve it by putting the macro \xspace after the full name, i.e. Great Britain\xspace. When I follow their example and redefine the abbreviation as  \newabbrev\gb{Great Britain\xspace}   it has the opposite effect, i.e., an extra superfluous space is added before the comma (which I can't illustrate here). I have also tried to insert \@ before xspace (which I found out you could do in ), but that has no effect.  Any idéa of how to prevent an abbreviation defined with \newabbrev to insert a space after the abbreviation has been used? The reason I'm using the abbrevs package is because it provides a way of using one expansion of the abbreviation the first time it is used, and another expansion the resting times. I could just as well change to some other package that allowed me to do the same thing.


Prove/disprove: if $\det(A+X) = \det(B + X)$ for all $X$, then $A=B$

I have to prove/disprove this:     If $\det(A+X) = \det(B + X)~ \forall X \in M_{n \times n} (\mathbb F) \rightarrow A = B$   I believe it is true but I can not think of a direct way to prove it. Any help is appreciated!


Is this a counterexample to "continuous function...can be drawn without lifting" ? (Abbott P111 exm4.3.6)

I'm au courant with  and . They're both Abbott P111 exm 4.3.6 which proves "a continuous function is sometimes described, intuitively, as one whose graph can be drawn $\color{seagreen}{by \; dint \; of}$  without lifting your pencil from the paper. I countenance this.  But I don't think the underneath is a counterexample? I see $f(n) = n$ for all natural numbers $n$ is discontinuous over $\mathbb{R} \times \mathbb{R}$. But what if I visualize over $\mathbb{N} \times \mathbb{N}$? Then $f(n) = n$ can be drawn without lifting your pencil ?    (p 1 sur 14 )


$2\times 2 $ matrices over $\mathbb{C}$ that satisfy $\mathrm A^3=\mathrm A$

Let $\mathrm A \in \mathbb C^{2 \times 2}$. How many $2 \times 2$ matrices $\mathrm A$ satisfy $\mathrm A^{3} = \mathrm A$. Infinitely many?   If it is $3 \times 3$ matrix then by applying Cayley-Hamilton theorem I could have said that given matrix is diagonalizable. Also zero is eigenvalue of $\mathrm A$. So it would be collection of all singular diagonalizable matrices. But how to count them?  Here I have $2 \times 2$ matrices i feel I can't apply the Cayley-Hamilton Theorem here? I am stuck with these thoughts?


How to create and design hoops net and attach ot to a hoop?

I wanted to add the torus object and attach net on the torus object in blender. I am not sure how to make a circular net and attach it to a torus object.


Same working copy of the code with 2 SVN servers

Is it possible to use same working copy and to put the same into two different SVN servers(commit, update,...)?


WiFi driver not working in 20.04 LTS. When I try to install bcmwl-kernel-source it gives error eamon@eamon  ~  sudo apt-get --purge remove bcmwl-kernel-source Reading package lists... Done Building dependency tree        Reading state information... Done The following packages will be REMOVED:   bcmwl-kernel-source* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 250665 files and directories currently installed.) Purging configuration files for bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu5) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.136ubuntu6.3) ... update-initramfs: Generating /boot/initrd.img-5.8.0-36-generic  eamon@eamon  ~  sudo apt-get install bcmwl-kernel-source Reading package lists... Done Building dependency tree        Reading state information... Done The following NEW packages will be installed:   bcmwl-kernel-source 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1,544 kB of archives. After this operation, 8,068 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal/restricted amd64 bcmwl-kernel-source amd64 6.30.223.271+bdcom-0ubuntu5 [1,544 kB] Fetched 1,544 kB in 3s (555 kB/s)                 Selecting previously unselected package bcmwl-kernel-source. (Reading database ... 250665 files and directories currently installed.) Preparing to unpack .../bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu5_amd64.deb ... Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu5) ... Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu5) ... Loading new bcmwl-6.30.223.271+bdcom DKMS files... Building for 5.8.0-36-generic Building for architecture x86_64 Building initial module for 5.8.0-36-generic Error! Bad return status for module build on kernel: 5.8.0-36-generic (x86_64) Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log for more information. dpkg: error processing package bcmwl-kernel-source (--configure):  installed bcmwl-kernel-source package post-installation script subprocess returned error exit status 10 Errors were encountered while processing:  bcmwl-kernel-source E: Sub-process /usr/bin/dpkg returned an error code (1)


How to Install Xfce Desktop Environment from "xfce-4.6.1-src.tar.bz2"?

I am using Ubuntu 14.04 LTS on my other desktop PC which doesn't have internet connection.   I wanted to install XFCE desktop environment on it so I have downloaded the file xfce-4.6.1-src.tar.bz2, but I don't know how I can install it. Please, can somebody guide me step by step? Thank You


Query to insert records from one table into another table based on the column of the first table

I have a table with the structure below :  Table(customer_Num  int , Channel_Id  Varchar(50) ,  Branch_Code  int)   and some example data for this table is :                    Table __________________________________________ customer_Num  |  Channel_Id  |  Branch_Code      1         |    'I'       |     1000     1         |    'Y'       |     1001     1         |    'L'       |     1002   and the final result I want in the output is :                            Result_table __________________________________________________________ customer_Num  | I_branch_Code |  Y_branch_Code  | L_Branch_Code     1               1000             1001             1002   is there a better solution rather than using continuous Insert  queries? Cause with this query  I will have many nulls in my final table!And I also won't have the result in one record.   insert into Result_table (customer_Num  ,I_branch_Code )  select customer_Num   , Branch_Code   from Table  where Channel_Id   = 'I';   insert into Result_table (customer_Num  ,Y_branch_Code  )  select customer_Num   , Branch_Code   from Table  where Channel_Id   = 'Y';   insert into Result_table (customer_Num  ,L_Branch_Code) select customer_Num   , Branch_Code  from Table where Channel_Id  = 'L';


I'm trying to setup wake on lan. My router doesn't allow port forwarding to broadcast so I've binded the mac address of my system to a static ip in the router's control panel. I've also forwarded port 9 to the ip I've set, so when the router gets a request it should forward it to the mac address of my computer. The only problem is that, for some reason, the computer wakes through lan but not through wan. I'm using android's WolOn app to send the magic packet and I've Kali linux installed on my system. My router is a TP-Link TD-W8961ND ver 3.0. Thanks for the help!   UPDATE: I've run tcpdump, turns out that my machine receives the magic packet both on lan and wan. For some reason, it doesn't wake on wan. Could it be that the system refuses wan magic packets? They seem to be different from the lan ones


Why is Shelob not interested in the One Ring?

Gollum tries to have Frodo and Sam killed by Shelob, so he could get the One Ring back from Frodo's corpse after Shelob would kill and "drink" him. And Gollum is no stupid, so I guess he knows that Shelob is not interested in the One Ring (yeah, ok, spider means no hand, no fingers, so no place to "properly" put the ring on, but can't believe the meaning/effect/power of the One Ring has such a material restriction as being wearable only by a human-like finger). Why has she no desire to possess the One Ring? Even Gandalf, Galadriel and anybody else in the books seems to be tempted (or at least assumed temptable) by the One Ring, with the main exception being Tom Bombadil. What makes Shelob different? In the already existing questions the answers refer to Shelob just wanting to kill and eat everything (but not vegetables), so I can imagine another creature, other than Shelob, that only wants to kill pigs and eat pigs, probably a very insatiable hobbit. Or a troll. Are they also immune to the power of the ring? The last paragraph is mostly a joke to say that I'm not really satisfied with Shelob only want to kill and eat, so she's not interested in the One Ring.


What if I don't take my last transfer at British Airways

The usual return ticket path is: AMS -> LHR -> ICN and back: ICN -> LHR -> AMS  However now I'd like to do this: AMS -> LHR -> ICN ICN -> LHR, done  That way I'll end up in the UK and can take a RyanAir flight to my actual destination in Europe.  I don't believe it's possible to book these "sorta-return" tickets, but booking return would still be cheaper. I don't know why airlines can't book flexibly, but whatever.  What'll happen if I not take my last transfer? What will BA do? What will the border guards do?


Elastic IP address on EC2 instance interface without 1:1 NAT

I have a basic Amazon VPC set up with a public and private subnet. I have deployed a Vyatta router in the public subnet that does NAT for the private subnet. I have an elastic IP address assigned to the Vyatta instance which does a 1:1 NAT to the private IP of the Vyatta's eth0 interface.  The question: I am building a ipsec VPN from the Vyatta instance and that requires the Vyatta instance to be aware of the public IP address which it currently is not. Is there a way to assign the public elastic IP address directly to the eth0 interface?  If not, does anyone know a work around to using Vyatta in a VPC configured with an ipsec VPN?  Thanks!


"The earthquake, along with its subsequent aftershocks, HAS/HAVE ..." - plural or singular subject?

Is a subject singular or plural with a modifying prepositional phrase that has plural objects?  Would it be "has" or "have" in this case:     The earthquake, along with its subsequent aftershocks, has/have created an atmosphere of panic among the city's residents.


I know that the pattern manner-place-time shouldn't be taken too seriously if one wants to speak natural English.   In real life, people rarely use a string of adverbs. Speakers will easily break the pattern for emphatic or stylistic reasons (usually placing the adverb at the beginning of the sentence). Other factors such as length and specificity will also override the arrangement.  But I'm constructing illustrative sentences that highlight (and stick to) the Royal Order of Adverbs.   What all the online sources are doing is mixing adverbs and prepositional phrases, but I can't have the concept of prepositional phrases in my examples just yet. This means I should include only one-word or two-word adverbs (without prepositions).   So, I have these:    He sat quietly upstairs all day. She waited impatiently outside this morning. They gather noisily downtown every Saturday night.   Are the sentences above still correct, as in natural-sounding? Somehow they started sounding a bit off to me. I guess I just need to test them with a second pair of ears.


Suppose you have two fully finished thesis, with their own bibliography and their own appendices. When I include one into the other, there is (obviously) some interference between the two different bibliographies and two different appendices.   So my question is: what is the optimal solution so that I get only one bibliography and one appendix. Also, I would like the included file to consist of one large section with subsections and not as it is at the moment, which is: each sections of the included file gets a section of its own.   Happy for any advice.


'Unfriendly or unkind' flag not showing in flag summary

With the new comment flagging which , we have the option of:  It's unfriendly or unkind. The comment violates our .  However, after raising this flag, it does not appear in my flag summary.


Can one apply for a Schengen visa while visiting the Uk as a tourist?

My husband  and I together with our 9 month old son wish to visit Portugal  when we visit the UK  in 4 months  time , however we are resident in St Helena island , a British oversees territory . Our biggest challenge is that  there is no consulate of any country on the island . Can anyone have information on how  we can apply these visas . Thank you.


show $\lim\limits_{(x,y)\to(0,0)}\frac{|x|^a|y|^b}{|x|^c+|y|^d}$ exists and equals $0$?

suppose $f(x,y)=\frac{|x|^a|y|^b}{|x|^c+|y|^d}$ and $a,b,c,d >0$ how would you show that if $\frac{a}{c} + \frac{b}{d} >1$ then $\lim\limits_{(x,y)\to(0,0)}\frac{|x|^a|y|^b}{|x|^c+|y|^d}$ exists and equals $0$?  I've been trying to use the squeeze theorem and set up an inequality but im really struggling.


Prove that a function $f:\Bbb{N}\rightarrow \Bbb{Q}$ is injective.

How do I prove that a function $f$ is injective knowing that $ f : \Bbb{N} \rightarrow \Bbb{Q}$ is defined such that 1.) $f(2n) = \frac{1}{f(n)+1}$ and 2.) $f(2n + 1 ) = f(n)+1$ for all $n\in\Bbb{N}?$ I forgot to mention that $f(0)=0$


I need to add values to my array one integer value at a time, via user input.   I don't know how to ask it more clearly, but my goal is to define an integer array in Main(), then pass it to Interactive() where a user is supposed to enter 20 different ints and the program should add them to the array.   It would be tedious to continue defining new arguments for each object (like this):  int One = ArrayOne[0] int Two = ArrayOne[1] int Three = ArrayOne[2]   because I am filling 20 array objects, surely there is an easier way?  Can someone help?  Here is the code I am working with:      class Program     {         static void Main(string[] args)         {             int[] intArray = new int[20];         }          public static int[] Interactive(int[] args)         {             int[] ArrayOne = new int[20];              Write("\n   Write an integer >>");             ArrayOne[0] = Convert.ToInt32(ReadLine());              foreach (int x in ArrayOne)             {                 if (x != ArrayOne[0])                     Write("\n   Write another integer");                 ArrayOne[x] = Convert.ToInt32(ReadLine());                 WriteLine("\n   {0}", ArrayOne[x]);             }              ReadLine();              return ArrayOne;         }      }


what is the best for me ubuntu18.04 or ubuntu 19.10 i'm master student and i need stable and fast and new version of ubuntu

i want to use good and stable and fast and updated version of ubuntu also able to install new versions of python library and all required program in my master study like new version of tensorflow and so on


I would like to configure Safari to block cookies from specific domains, but looking at the settings I couldn't find any option. Then I searched for extensions that could implement this feature, having no success with that either.  Is there any way to block specific cookies?


How to list files that were changed in a certain range of time?

How can I list recursively all files that were changed between 22.12.2011 and 24.12.2011?


Do you need a Ranger's Feral Senses to have positional awareness of invisibile creatures?

In D&D 5e, the description of hiding (PHB p177) says an invisible creature needs to stay quiet and otherwise avoid leaving signs of its passing, while the "invisible" condition (p291) says the creature's location can be determined by any noise it makes. This seems straightforward: even a blinded creature can pinpoint the location of anything on the battlefield that isn't tiptoeing/holding its breath.   However, the Ranger's "Feral Senses" ability (p92) grants awareness of the locations of invisible creatures within 30 feet, provided the creatures aren't hiding and that the Ranger can both hear and see. I realize the ability also removes the disadvantage to attack rolls against invisible creatures, but the wording and limitations seem to imply that awareness of the location of an invisible, unhidden creature isn't a given.  I realize the hidden vs invisible question has , but I'm hoping someone can explain what changes for a Ranger when she hits 18th level. Is there a scenario where a creature who can see and hear would not be aware of the location of unhidden, invisible creatures within 30 feet? Or is this just the equivalent of giving a fighter the ability to add half of their proficiency bonus to attacks with simple weapons for which they don't already have proficiency?


How can I remove "red lines" that become permanent to my map canvas while trying to digitize different shapes. The program just leaves the outline of what I'm trying to draw. It still remains even if I close all of the layers and empty everything. I've encountered this error numerous of times when creating circles, lines etc.


Checking the new backlinks to my website  in Google Search Console I noticed many backlinks in various junk blogs pointing to my website.  One example:   I am afraid such low quality backlings can spoil my backlink profile.  There are hundreds of such backlinks pointing to my website.  Who may be doing it? Shall I disawov all those crappy backlinks?  Can such backlinks result in certain pages of my website being hit by the Penguin algorithmic sanctions?


Can one file the US tax return (federal and state) electronically when they're no longer living in the States?

I am reading this from the IRS site:    … which says the following:     Where to File      If you are a U.S. citizen or resident alien (including a green card holder) and you live in a foreign country, mail your U.S. tax   return to:      Department of the Treasury   Internal Revenue Service Center   Austin, TX 73301-0215   USA   The above would seem to suggest that electronic submission is not possible in this case.  E.g. in the following scenario:  Consider someone who met the substantial presence test for the last year of their VISA (say 2019) and then moved back to their native country and needs to file the 2019 tax return (in the Spring of 2020). According to the above, it would seem that they need to physically mail the tax return and cannot submit electronically (either directly or through their accountant).  Am I reading this wrong or can one electronically submit both the federal and the state tax returns for the last year of their presence in the US, during the tax season of the Spring of the year that follows (when they've already left the States)?


Finding the functional form of the Green Function for a parabolic diff eq.

I need help finding the functional form of the Green function G(x,t) for a parabolic equation (i.e. heat diffusion etc)  $$ \frac{\partial{}G(x,t)}{\partial{}t}=a\frac{\partial{}^2G(x,t)}{\partial{}x^2}+\delta(t)\delta(x)$$  Using this result, I'd like to write the general solution of the heat equation:  $$\frac{\partial{}T(x,t)}{\partial{}t}=a\frac{\partial{}^2T(x,t)}{\partial{}x^2}+f(x,t) $$  where f is a known source function.  I know that I need to solve for G using suitable integral transforms.  I am not sure what transforms that I should be using to solve this problem and would appreciate some help.


Traveling to the US with new passport, visa on the old one

I have a valid B1/B2 US visa expiring about a year from now. The passport it's in expired a few years ago, and I recently got a new one.   The passport number does not match, but the national ID number, mentioned in both, does (it used to be the same as your national ID, but not anymore)  Can I travel to the US carrying both passports? Or is it asking for trouble? (I read a few years ago that it was possible, but that might have changed)  Should I just get a new visa to avoid potential complications?


The word "Print" appears after every source using \printbibliography

I am using the following:   \documentclass[a4paper, 11pt]{article} \usepackage[english,swedish]{babel} \usepackage{graphicx} \usepackage[T1]{fontenc} \usepackage{xcolor,colortbl} \usepackage[backend=bibtex,style=mla]{biblatex}  \nocite{*}  ...   \begin{document}  text... \footcite{source}  \printbibliography[heading=none]   \end{document}   Why is there's an extra "print" after each source?


How many laptops can I carry to India from Australia without Duty

I am travelling to Australia on SC 400 Visa and have will have a short stay of 40 days or below.  I have to carry an office laptop with me. I also have a personal laptop. I am planning to buy a Macbook from Australia before returning.   Will duty be aplicable in India on return since I would be having 3 laptops with me when I come back!!   As per customs "One laptop computer (notebook computer) over and above the said free allowances mentioned above is also allowed duty free if imported by any passenger of the age of 18 years and above.". Since I will be taking the initial 2 laptops from India I will make sure I take an export certificate. So does this mean the macbook I buy from there will be duty free (since the other two would be in the export list) regardless off the cost of the mac.  Is my understanding correct?


Testng Failed Configuration and getting Null Pointer exception

While i try to run the below code, i get a failed configuration error like this:  [RemoteTestNG] detected TestNG version 6.14.2 FAILED CONFIGURATION: @BeforeTest setUp java.lang.NullPointerException  public class Loginpagetest extends Testbase {      public static WebDriver driver;     public static Properties prop;      Loginpage loginpage;     Homepage homepage;      public Loginpagetest() throws IOException {         super();     }      @BeforeTest     public void setUp() throws IOException {         Intialization();         loginpage = new Loginpage();     }      @Test(priority = 1)     public void loginpagetitletest() {         String title = loginpage.validateloginpagetitle();         Assert.assertEquals(title, "Free CRM software in the cloud for sales and service");     }      //@Test(priority=2)     //public void CRMlogoimgtest() {     //  boolean flag = loginpage.validateCRMlogo();     //  Assert.assertTrue(flag);     //}      //@Test(priority=3)     //public void logintest() {     //  Homepage homepage = loginpage.login(prop.getProperty("username"), prop.getProperty("password"));      //}      @AfterMethod     public void tearDown() {         driver.close();     } }


How to get Microsoft Office 2013 to associate DBF files with excel?

I just installed the trial for Office 2013. I want to associate dbf files with it so I can just double click them. This  says Office 2013 will open dbf files and I can open them through excel by navigating to the file from within excel.  When I try to associate dbf files with excel I go to "Open with" then "Browse" to this program "C:\Program Files\Microsoft Office 15\root\office15\EXCEL.EXE" but it will not let me select it. I found that path by looking at the properties of the excel shortcut.  I can select "excelcnv.exe" and that will give the dbf file the excel icon but it will not open the file. It does put an option to open with "Excel" but, like I said, it doesn't work.  I also tried setting association in command prop with "assoc .dbf=Excel" and few other things but that didn't work either.  One thing that I notice is that when I go to "Open with" on an xlsx file the excel option says "Excel (desktop)".  Right now it looks like this might be a restriction due to using the trial version or maybe there is something in user files or AppData?  Thanks in advance


Story about earth children playing with alien toys. Who wrote it?

I remember reading what I believe is a short story about a brother and sister who somehow come into possession of some toys which turn out to be from aliens. Through playing with them they develop a language their parents can't understand and start to develop mentally far faster than any human.    Does anyone recognize this story, or remember who wrote it or what it's called?


PHP Math breaks while multiplying negative number with zero

Found an very silly error with PHP 7 and checked internet for some solution, but didn't find any good answer. Below code snippet fails in PHP 7. Code Snippet: print_r( 0*-1.1 );   print_r(     floatval(     0*-1.1) );  Both Fails Desired Output: 0 Real Output: "-0" Any help is appreciated, is it a PHP bug?


I spent the last three days trying to install Ubuntu 18.04.5 LTS alongside Windows 10 Home, but without any success. The problem is that as soon as I boot Ubuntu from the USB and I start the installation process it freezes. The mouse does not move, the keyboard stops working, etc, and it justs reboots. I have tried all possibilities. Changed USB, tried Ubuntu 20.04 instead, various parameters before booting from GRUB, including:  nomodeset nouveau.modeset=0 acpi=off  but nothing seems to work. My system is a custom build pc with the following specs:  CPU: AMD Ryzen 3900 GPU: NVIDIA RTX 3060 ti SSD: NVME Vyper 1TB MB:  ASROCK PHANTOM GAMING 4 RAM: 32 GB  Any help would be much appreciated. I really tried all I could, but I am running out of options now. Thanks!


Tektro Novela MD-M311 mechanical disc brake replacement

I have bought an electric mountain bike with Tektro Novela MD-M311 mechanical disc brakes and love the bike; however I find the brakes squeal quite badly, and I am looking at replacing the rotors and calipers only with another mechanical disc brake. Can anyone suggest a better mechanical disc brake available?  I can't switch to hydraulic as the handles have electronic switches in them.


remove duplicate elements inside python list

I have lists containing sequence of numbers like below: list_1 = [4.5 ,4.5 ,4, 4 ,4, 5, 5, 5] list_2 = [6.5 ,7 ,7 ,8 ,8] list_3 = [14.5 ,15 ,15 , 15.5]   I want to remove duplicates from those list in a way that if list contain repetition keep only one occurrence, and preserve the order: list_1 = [4.5 ,4, 5] list_2 = [6.5 ,7 ,8] list_3 = [14.5 ,15 , 15.5]


countably infinite union of countably infinite sets is countable

How do you prove that any collection of sets $\{X_n : n \in \mathbb{N}\}$ such that for every $n \in \mathbb{N}$ the set $X_n$ is equinumerous to the set of natural numbers, then the union of all these sets, $\bigcup_{i\in \mathbb{N}}$ $X_i$ is also equinumerous to the set of natural numbers? (By equinumerous I mean there exists a one-to-one and onto function $f:X_n \to \mathbb{N}$.)  Is this statement false as it stands?


Code blocks are not prettified on mobile site

On Chrome on Android, code blocks on the mobile site have no syntax highlighting, are not a monospaced font, and words are wrapped.  Mobile site on mobile browser:    Desktop site on mobile browser:    Inline code has the same issue, it isn't a monospaced font.  It has been this way for as long as I can remember. Wouldn't be surprised if this is a dupe.


I have a spatial layer (shapefile) that has one row for each of one of the attributes in the table (representing management units). I also have a non-spatial CSV file that has wildlife inventory data for each of these management units. The problem is that there are multiple lines of inventory data (one for each year) for the management units in the CSV file, so when I do a join in QGIS only one line of inventory data is joined with the spatial layer and the others are ignored.  Is this possible in QGIS?   I think in ArcMap this is referred to as a one-to-many joins.


Word for a person or group who is actively preventing the progress of another person or group

I'm trying to come up with a word that describes when one person or group is actively trying to prevent the progress of another person or group but more specifically when the actions they are  preventing would be beneficial to both parties. Thanks.


I need to show that $\sqrt[7]{2}\not\in\mathbb{Q}(\sqrt[7]{3})$ but I have no idea how to do it. I've tried to reason with the extension degrees but I haven't got any satisfactory result. Could someone help me? Thanks in advance.


I read once that I can hide JavaScript using frames.   But I still cannot figure out how to do it. Some JS web pages show a blank page when you click on view source option.   I need to do the same, any idea how?


I have one table in my thesis but command \listoftables has words tables in heading {using texstudio}

My university suggest list of Table as heading of page  [Can some one please tell me how to change \list of tables command to \list of table]  "Thanks so much for kind and support"


remove unnecessary comma in text/csv file using angular 2

I want to remove unnecessary commas in file, with below code:   const data: any = utils.sheet_to_csv(ws); let blob = new Blob(['\ufeff' + data], { type: 'text;charset=utf-8;' }); let dwldLink = document.createElement("a"); let url = URL.createObjectURL(blob);   I am getting below output from 1st line:  ,,,,,       ,NTD00539,100000,01,Varsha,20180607      How to remove first 5 commas?


Google Scholar vs other academic search engines

How is Google Scholar compared to other academic search engines and catalogues such as ScienceDirect, Scopus, and universities' own online catalogues--in terms of the following?   comprehensiveness of search (i.e. can fetch all the ever published relevant titles, whether the user have access to full-texts or not) accuracy and precision of results advanced search features usability  Are there good reasons for (or against) using Google Scholar as the only literature search tool for PhD research? Does the answer of (2) depend on the research discipline?


This might seem like a very simple question, but what is the easiest way to turn a normal vertical list into a horizontal one?


How do I exclude a directory by name using find?

I have a lot of directories on my system, with a structure looking like this:  \-----data        \------- 001abc        \------- 002abc        \------- 003abc        \------- 004abc        \------- 005abc        \ ....   When I want find a certain directory, I just type find . -iname "002abc*" but how can I find a directory excluding certain name matches?    Something like this in MySQL select * from folder where filename != '0021bc'


How can I stop all docker containers from a remote ssh command?

I want to kill all containers from a remote machine through a ssh command. My current approach:  ssh user@website "docker kill $(docker ps -q)"   This is not working because $(docker ps -q) seems not to be working on a remote ssh code execution (While there is no problem if I have a ssh shell).  The host machine is a EC2 (AWS) with Amazon Linux.


Using intersect/clip for polyline to polyline features resulting in Warning 000117 ArcMap?

I am trying to measure the length of a polyline from its origin to its intersection with another polyline. The application is to find out the distance from a meteorological station to the coastline. I created polylines with origin in the met station outwards every 30 degrees. When I use clip/intersect I get 'Warning 000117: Warning empty output generated'. I have tried the online help for related topics and still have not solved it (exporting to a shp, to a new gdb, re-starting ArcMap, creating a new project, resetting extents, checking al layers have same coordinates).    Files I am trying to use:     I have tried also the solutions suggested in


Can I stay in other Schengen countries on a national type D visa for more than 90 days?

I have a Polish national type D visa, and would like to stay in Italy for more than 90  days in 180 day period.  I was actually wondering if its possible considering there are not border checks betwen Schengen countries?  Thanks


Is there an optimal font size / line height ratio?

When styling text on web pages, both font size and line height can be set. For example, the text of this post will be displayed using a font-size of 14px and a line-height of (about) 18px, set using the value 1.3em.  Looking at other websites, it seems that a ratio around 1.2 is a common practice.  What is the best practice regarding this? What are some good resources from which I can learn more on the subject?


How can be evaluated this limit: $$ \lim_{n\to\infty} e^{-n}\sum_{k=1}^n \frac{n^k}{k!} .$$ Thank you.


Is there a missing definite article before caliph in 'the group's leader, XYZ, as (the) caliph'?

I read news on the BBC (on its website) this morning. When I was reading the news I noticed the definite article the was missing in a sentence. As per my opinion, the reporter missed the article the. But I also thought that the reporter also had some point as he did not use the article there. So I just wanted to confirm so landed here to get some help on it.     On the website:      It also proclaimed the group's leader, XYZ  (name), as caliph and   "leader for Muslims everywhere".      As per my opinion it should have been:      It also proclaimed the group's leader, XYZ  (name), as the caliph and   "leader for Muslims everywhere".   Source link:


I've seen a few posts on the topic of "How to Increase Your Reputation" (e.g.  ), which say that editing is an important reputation-affecting factor, for example:     For users who don't have a lot of experience in programming and rarely answer questions, try editing posts.   However, I can't find any detail on that. I see that we get 2 reputation points when a suggested edit is "accepted" (approved), but I have some question apart of that:   Does the +2 rep apply to any edit that I do to someone else's question, answer, or comment? Does editing (or deleting) my own questions/answers/comments affect my reputation? In terms of reputation, why is it important to "Edit, But Don’t Edit Too Much"?  As far as I know the only action of mine that can readily reduce my reputation is down-voting someone else's question/answer/comment...?


I'm currently teaching myself C# after years of working only in C++. Needless to say there has been a lot I've needed to relearn. My question here is as follows:  What's the best approach in a Windows Console application to print (write to the console window) complex information, involving multiple variables, strings of text, and newline characters?  Put more plainly, how would I translate something resembling the following C++ code into C#:  int x = 1; int y = 2; double a = 5.4;  cout << "I have " << x << " item(s), and need you to give" << endl      << "me " << y << " item(s). This will cost you " << a << endl      << "units." << endl;   In C++ this would print the following to the console:     I have 1 item(s), and need you to give      give me 2 item(s). This will cost you 5.4      units.   This example is totally arbitrary but I often have short yet complex messages like this one in my programs. Will I totally have to relearn how I format output, or is there analogous functionality in C# that I just haven't found yet (I've dug through a lot of Console.IO documentation).


Is "how" a subordinator between independent clauses?

We will look at how this is used.   My question is this:   Is the word how a subordinator in this sentence? If not, what is it?   Are "We will look at" and "this is used" two independent clauses?   Are these independent clauses connected by a word "how"?


I bought a Raspberry Pi and I noticed some of the routings are not straight lines but instead they make a funny ondulatory shape (see picture at the right and bottom of the processor).  I'm not sure the reason of this shape. I have two guesses:   It makes this signals slightly delayed compared to others. It makes the the route a certain exact length which would avoid resonance frequencies.   Are my guesses correct? Or this shapes are for something else?


Bash, ... check if a program is installed or not, using bash script

I am trying to create a little script that check if a program is installed or not. I am trying with tmux, ...   `tmux --help` | grep "tmux: command not found" &> /dev/null if [ $? == 1 ]; then     echo "tmux is not installed"     exit fi   After installation of tmux, I get:  usage: tmux [-2lquvV] [-c shell-command] [-f file] [-L socket-name]             [-S socket-path] [command [flags]] tmux is not installed   If a program is not installed, appair the string "tmux: command not found". This could explain why I grep output of tmux --help command. Is a correct way to check if tmux is installed or not?  The script alwais echoes "tmux is not installed". Even if I install tmux. What's wrong with it?


Here is the exact error message:  Exception in thread "main" java.lang.NullPointerException     at Application.main(Application.java:22)   I've tried to fix it with what I know... what am I doing wrong?  My code:   public class Application {  private String guitarMaker;   public void setMaker(String maker) {      guitarMaker = maker;  }  public String getMaker() {      return guitarMaker;  }  public static void main (String[] args) {      Application[] guitarists;     guitarists = new Application[1];      guitarists[0].setMaker("Example maker");     System.out.println("My guitar maker is " + guitarists[0].getMaker());  }  }


How to access variables in regular expression

I have written a function to validate user entered password. It contains regular expression along with conditions.  conditions are    Password should be more than 8 and less than 14 Password should contain atleast a number.   Now my question, I want to pass those min and max numbers dynamically to regular expression  snippet, what I was trying :  function validatePassword(plain,minmaxValues) {   const passwordChecker = /^(?=.*[0-9])[a-zA-Z0-9!@#$%^&*]{minmaxValues.min,minmaxValues.max}$/;   return passwordChecker.test(plain); }   When I debug, I can see passwordChecker value is not updating with minmaxValues.  will be appreciate, if anyone can help.  Thanks


Cannot Vertically Center h3 element within div

I want my h3 element to be vertically centred within the div element. I tried several solutions but any of those didn't work. Could anyone figure it out for me where I am doing wrong? Below is my html and CSS code snippet. HTML:

This is a text

  CSS: #test{     height: 100px;     background-color: cadetblue;     text-align: center; } #test_h3{     vertical-align: middle; }    #test{     height: 100px;     background-color: cadetblue;     text-align: center; } #test_h3{     vertical-align: center; }

This is a text


Let $R$ be a finite ring such that $x^2=x$ for all $x$ in $R$. Prove that $R$   has unity.   I was able to show that it was commutative.  Proof:  $x^2=x$ $x^2-x = 0$ $x (x-1) =0 $  thus $x = 0$  or $x = 1$. Since   $x\cdot 1 = x$. 1 is the unity of $R$. Thus $R$ has unity.   I feel like there is something wrong with my solution.


What does it mean to cancel out or reduce a noise by another noise?

I had a question about sirens in another section that went unanswered, so I like to start from basics and go from there.  So if you're sitting at home, and hear a heavy truck go by, the kinds that almost shake your apartment.  That's one kind of noise.  You hear the wail of sirens from an ambulance or firetruck, and that's another.  Then there is someone next to you snoring.  That's a third.  I've heard people use the term "white noise" to cancel out or reduce other noise.  Granted I have used various earplugs but they only reduce certain kinds of noise and not that well either.  But looking at white noise, I realized there is so much about it that I don't know. For instance there is also brown noise and pink noise.  There is a sound's loudness, pitch, timber, direction, frequency, etc.  So I figured I ask my question here and get some constructive suggestions or guidance to help me narrow down my search and give it a sort of direction.  I appreciate all your help.    EDIT for MODS: A per knzhou's suggestion, this is not as relevant to physics as it is to biology of hearing.  I decided to post this in cog sci forum. I can't say it's "solved" because it's not, but just want to let you know you can close this if you prefer.


Our DHCP is running out of addresses.  I cannot extend the range and would like to resubnet.  Right now our addresses are:  10.1.24.1-254 255.255.255.0  Would I change the subnet to 255.255.254.0 ?  What would the available addresses be at that point? 10.1.24.1 - 10.1.25.254?


Suspicious Request, but still logs me in

I tried to log into Meta using StackExchange ID and it says :     Suspicious Request      Sorry your request could not be completed because it looked   suspicious. [...]   But it still logged me in. Wondering if there is a bug in there.


Why does lightning generate multiple branches?

Everyone have seen and knows how lightning occurs. But then I realized that lightning never occurs in straight lines but it follows branching. But Why is that so? Why can't lightning goes in straight line rather than generating multiple branches just likes in this picture ?


Is there a single discrete distribution that handles over and under dispersion?

I have some count data I am trying to model. The variance is very close to the mean, so the Poisson distribution for the entire data set seems like a good starting point. I have done and it seems to work reasonably well. But I would like to go further and model the data set over time with time-dependent parameters, and allow the model to go through periods of over and under dispersion. The negative binomial and binomial distributions seem like reasonable choices for each case, respectively. But modeling the data in this way is awkward - I am forced to have switch-points in the model where to goes from binomial to negative binomial as the variance changes between over and under dispersion.   Is there a single model that handles over AND under dispersion? Something that would likely reduce in some limit to a binomial in one limit, and a negative binomial in another limit?  One though I had is that since a negative binomial distribution is just a Gamma-Poisson mixture, simply create a XXX-Poisson mixture, where I need to find a suitable XXX distribution. This will likely result in an integral that cannot be represented in closed form, so I was trying to avoid this if there is already an off-the-shelf distribution to use for such cases.   Thanks in advance!


No sound and flash videos play super fast after daily update

I just updated my 11.10 Ubuntu from the regular auto updater. After I restarted my laptop I have no sound and the videos in YouTube (and other websites) play super fast.  Not sure if it has something to do with the case, but since last night I get hd0 out of disk error before the grub screen and on the login screen I have some delay before I can type my password. In the console I see errors like these: status: {DRDY err}.  I could say the errors have something to do with the sound problem and the flash player, but if this happened when I got the hd0 error, not now after the regular daily update.  Here is the update history log from /var/log/apt/history.log   Start-Date: 2012-04-03  10:04:39  Commandline: aptdaemon role='role-commit-packages' sender=':1.71' Upgrade: python-aptdaemon.gtkwidgets:amd64 (0.43+bzr697-0ubuntu1, 0.43+bzr697-0ubuntu1.2),  libvlc5:amd64 (2.0.1+git20120329+r134-0~r35~oneiric1, 2.0.1+git20120402+r146-0~r36~oneiric1),  python-aptdaemon:amd64 (0.43+bzr697-0ubuntu1, 0.43+bzr697-0ubuntu1.2),  vlc-nox:amd64 (2.0.1+git20120329+r134-0~r35~oneiric1, 2.0.1+git20120402+r146-0~r36~oneiric1),  vlc-plugin-notify:amd64 (2.0.1+git20120329+r134-0~r35~oneiric1, 2.0.1+git20120402+r146-0~r36~oneiric1),  aptdaemon:amd64 (0.43+bzr697-0ubuntu1, 0.43+bzr697-0ubuntu1.2),  python-aptdaemon-gtk:amd64 (0.43+bzr697-0ubuntu1, 0.43+bzr697-0ubuntu1.2),  vlc:amd64 (2.0.1+git20120329+r134-0~r35~oneiric1, 2.0.1+git20120402+r146-0~r36~oneiric1),  aptdaemon-data:amd64 (0.43+bzr697-0ubuntu1, 0.43+bzr697-0ubuntu1.2),  vlc-data:amd64 (2.0.1+git20120329+r134-0~r35~oneiric1, 2.0.1+git20120402+r146-0~r36~oneiric1),   python-aptdaemon.gtk3widgets:amd64, 0.43+bzr697-0ubuntu1,0.43+bzr697-0ubuntu1.2),  libvlccore5:amd64 (2.0.1+git20120329+r134-0~r35~oneiric1, 2.0.1+git20120402+r146-0~r36~oneiric1),  vlc-plugin-pulse:amd64 (2.0.1+git20120329+r134-0~r35~oneiric1, 2.0.1+git20120402+r146-0~r36~oneiric1) End-Date: 2012-04-03  10:05:15


My colleagues and I are chatting and none of us know why nuclear waste is waste.   That is to say, if something is still radioactive, why can't that radiation be used? Can't the energy from, at least some of the more radioactive, "waste" products be used to, say, generate energy?  If the question itself doesn't give you any clues, let me say that I have no background in anything approaching a related topic.


Why is a hand crossbow light if you need both hands to use it?

The hand crossbow has to properties, ammo, and light, but you need a free hand to load the crossbow so how is it light if you need both hands.


Let $t_n= \frac{1}{n} [1+\frac{1}{\sqrt{2}}+.....+\frac{1}{\sqrt{n}}]$, n=1,2...  Then I am asked whether series$ \sum t_n $ converge or diverge. Also whether sequence $ t_n $ converge to zero or not.  I tried About sequence $t_n$, by Cauchy's 1st theorem, that since 1/$\sqrt{n} $ converges to zero so does t_n. But the seriex part is doubtful to me.?


Question in English but code in a foreign language. Is this according to policy?

Recently, I came across , which is a English question but the code is obviously not.  I've searched around and found the  on foreign languages and wondered if this applies?  To be fair, the code is legal (as in it compiles and runs) and there isn't exactly a rule mandating language of code, but I find incomprehensible identifiers very hard to read.


Does the lens I just bought have a fungus?

I bought a used Sigma lens on ebay for my back up camera and it was said to be in "mint" condition. I got it today and look it out of the box to look at it and I was horrified to see that the front glass looks like it has frost inside it! Is this fungus? I have never had or seen fungus before. If this is fungus can it contaminate my camera or infect my other lens if I switch them out?


I just downloaded Ubuntu. But when I go to YouTube the videos play horribly and I get a window saying the plug in is needed but then when I try to add it it says it can't find a suitable plug in. I have tried to download flash player and Lightstream and I have no idea what is going on with either one. I keep launching them over and over and nothing works. I have no idea what to do, can someone help?


Javascript why cant add method to subclass prototype?

Suppose I have a Person object which I want to inherit from and make another sub-class, as follows:  var Person={     type:"human",     greet: function(){         console.log("hi im a human");     }, } Person.prototype.sayName = function(){     return this.name; }   And inheriting as follows:  var john = Object.create(Person); john.walk = function(){     console.log("john is walking"); }   Why cant I add walk method to johns prototype, like this:  john.prototype.walk = function(){    console.log("john is walking"); }


enumerated for loop that prints string without whitespace

Trying to produce this as output 1H, 2i, 3p, 4p, 5o, 6p, 7o, 8t, 9a, 10m, 11u, 12s, but keep receiving 1 H, 2 i, 3 p, 4 p, 5 o, 6 p, 7 o, 8 t, 9 a, 10 m, 11 u, 12 s, animal = "Hippopotamus"  for i, letter in enumerate(animal):     print(i + 1, letter, end = ", ")  1 H, 2 i, 3 p, 4 p, 5 o, 6 p, 7 o, 8 t, 9 a, 10 m, 11 u, 12 s,


Trying to make a simple word matching program

I've been trying to make a little program that reads what the user inputs, and if it is correct, the program prints out (user input) + " is a match", and if not, then it says NO MATCH.  The issue that I am having is that even if I input the correct word (cat), it still prints NO MATCH in the console. Would appreciate any help! Thanks :)  Here's the code for what I have:   import java.util.Scanner;  public class StringTester {      public static void main(String[] args) {         Scanner stdin = new Scanner(System.in);         String inData;         System.out.println("Enter a word:");         inData = stdin.nextLine();         String response = inData;         if (response == "cat") {             System.out.println(response + " is a MATCH");          } else {             System.out.println("NO MATCH");          }         System.out.println("End of program");     } }


Add a line at the end of GZipped file without unzipping it

I want to see if there is any command or a way to add Aline at the end of the GZipped file in Unix without unzipping the file. If yes help would be appreciated.


Is there any difference between mapping and function?

I wonder if there is any difference between mapping and a function. Somebody told me that the only difference is that mapping can be from any set to any set, but function must be from $\mathbb R$ to $\mathbb R$. But I am not ok with this answer. I need a simple way to explain the differences between mapping and function to a lay man together with some illustration (if possible).  Thanks for any help.


What to do about questions that are designed to embarrass the speaker?

I've attended a lot of seminars and lectures by now, and it's typical for the chair of the seminar to offer audience members a chance to ask questions of the speaker about their work after the presentation.  Most of the time, the questions seek clarification of some aspect of the presentation or focus on a more comprehensive understanding of the research involved.  However, occasionally, I've noticed that questions are purposefully designed to embarrass the speaker.  Things along the lines of "That method won't work at all for what you're trying to do.  Your results are completely invalid" or "So-and-so's group already did that work years ago.  Did you not read their paper?"  Perhaps more disturbingly (I just got back from a really large conference if you can't tell), is that women seem to be more harshly criticized than men, and over trivial issues.  For instance, in a few sessions I went to, female graduate students were given really hard times over their presentations while the male grad students were not.  All presentations were about the same quality.  I guess I'm a little shocked; I'd heard of sexism in academia but hadn't actually seen it (or noticed it) until this conference.  Oddly enough, I've observed that it's typically prestigious professors or researchers that are asking these ostentatious questions.  I suppose they figure they have enough "fame" or whatever that their job isn't in jeopardy, and there's no easy way to really prove they're being rude or sexist.  I don't know what's going on here, but it seems to me that these questions, even if they do have technical merit, should be held until after the seminar, where they can be discussed privately with the researcher.  My question here, specifically, is what can be done to minimize these (uncomfortable for everyone) instances?  My thoughts are that a session chair should remind the audience to refrain from questions that are accusatory in nature.  As a presenter, I'm not sure what can be done in advance to preempt and avoid these questions.  Any ideas?


What evolutionary explanations are there for death?

I know death and cancer doesn't hurt humans' reproductive success. It's not helping either.  Why do we die? Why dying humans (all of us) are common? What's the point of dying?


Can you update to macOS 10.14 (Mojave) without converting to APFS?

At WWDC 2018 macOS 10.14 or macOS Mojave was disclosed.  I am currently on macOS Sierra (10.12) and am looking forward to upgrading to macOS Mojave once its released.  I was wondering if it will be possible to update to macOS Mojave without converting to APFS, similar to  trick from OS X Daily on how to upgrade to macOS High Sierra (10.13) without converting to APFS with the command /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --converttoapfs NO.


I'm trying to put a listing and figure side by side. I tried to follow the suggestions in this link  without using caption package but the listing stays below in the figure.  \begin{figure}[htbp]     \begin{minipage}{.5\textwidth}     \centering     \includegraphics[height=0.7in]{figure}     \caption{Figure one.}     \label{fig:fig1}     \end{minipage} \end{figure} \begin{minipage}{.5\textwidth} \begin{lstlisting} #include <stdio.h>   main()  {     printf ("Hello World!\n");  } \end{lstlisting} \end{minipage}


How can I play my video files on the Xbox One?

It appears that the Xbox One has no out-of-the-box support to play one's own video files, for example by sticking them on a USB. This is in stark contrast the Xbox 360, which has an inbuilt media player app that plays a limited range of video formats.  What is the most convenient way to play video files on the Xbox one?   For example,   Obtaining a PC or tablet running Windows 8 and use the "Stream to Xbox" function touted in reviews?  Would you upload your files to a SkyDrive account and use the SkyDrive app on your Xbox?  Would you use some other app?    Or is there some other clever backdoor method?


After some searching, I find very little on the incorporation of observation weights/measurement errors into principal components analysis. What I do find tends to rely on iterative approaches to include weightings (e.g., ). My question is why is this approach necessary? Why can't we use the eigenvectors of the weighted covariance matrix?


Suppose $f'$ is continuous and positive on $[a, b]$. Prove $\int_a^b f(x) dx + \int_{f(a)}^{f(b)} f^{-1} (y) dy = b f(b) - a f(a)$

Suppose $f'$ is continuous and positive on $[a, b]$. Prove $$\int_a^b f(x) dx + \int_{f(a)}^{f(b)} f^{-1} (y) dy = b f(b) - a f(a)$$  I'm attempting to apply a change of variables but unsure where to start.


Evaluate $\mathop {\lim }\limits_{x \to 0} \left( {{1 \over {{{\sin }^2}x}} - {1 \over {{x^2}}}} \right)$

I tried l'Hospital but that will require a lot (and I mean A LOT!!!) of differentiating  Is there a shortcut? $$\mathop {\lim }\limits_{x \to 0} \left( {{1 \over {{{\sin }^2}x}} - {1 \over {{x^2}}}} \right)$$  Thanks in advance


Elements in a commutative ring ( Zero divisors , Unit)

This question was part of my algebra quiz and I was unable to solve 2 options out of 4. So, I am asking it here for help.  Let R be a finite non-zero commutative ring with unity. Then which of the sattements are true?   Any non zero element of ring is either a unit or a zero divisor.  There may exist an element which is neither a ring nor a zero divisor.   I studied algebra from Joseph Gallian. Can you please tell how should I approach this particular problem as I am really confused if there exists an element which is neither unit nor zero divisor. I can't think of any idea. Thanks


How do Clementine and Joel know that they have to meet in Montauk again?

In the movie , Joel gets a message from 'Clementine' in his dream inside his head, and since even that dream was erased  how do the real Clementine as well as the 'new' Joel know that they were supposed to meet each other in Montauk the next morning?


Sum of a complex, finite geometric series and its identity

I have the formula for summing a finite geometric series as $$1+z+z^2\cdots +z^n = \frac{1-z^{n+1}}{1-z},$$ where $z\in\mathbb{C}$ and $n=0,1,...$. I am asked to infer the identity $$1+\cos\theta+\cos 2\theta+\cdots+\cos n\theta = \frac{1}{2}+\frac{\sin(n+1/2)\theta}{2\sin\theta /2}.$$ Now, I understand that on the left hand side I'm going to get $$1+\cos\theta +\cdots + \cos n\theta + i[\sin\theta + \sin 2\theta +\cdots + \sin n\theta]$$ using $z=e^{i\theta}$ for any complex $z$. However, when I make that substitution on the right hand side, a monstrous expression occurs and I cannot simplify it down to the desired result. For instance, I get $$\frac{1-e^{i(n+1)\theta}}{1-e^{i\theta}}$$ and using identities I get $$\frac{1-\cos [(n+1)\theta]+i(\sin[(n+1)\theta])}{1-\cos n\theta -i\sin n\theta}.$$ From here I did a whole lot of manipulating, but never getting any closer to the identity asked.   If anyone could shed some light it would be greatly appreciated! ~Dom


Are there any GIS component that can be used for developing GIS applications for Android phones?

I know that ESRI has  what other options are there for me as developer, if I'm about to develop GIS applications for an Android phone?


I get the same results with these to lines, so what does apply_filters do?  Line 1 : echo $instance['title'];  Line 2 : echo apply_filters('widget_title', $instance['title']);


I have written this query,       $sql = "SELECT `candidates`.`candidate_id`, `candidates`.`first_name`, `candidates`.`surname`, `candidates`.`DOB`, `candidates`.`gender`, DATE_FORMAT(NOW(), '%Y') - DATE_FORMAT(`candidates`.`DOB`, '%Y') - (DATE_FORMAT(NOW(), '00-%m-%d') < DATE_FORMAT(`candidates`.`DOB`, '00-%m-%d')) AS `age`, `candidates`.`talent`, `candidates`.`location`, `candidates`.`availability`, `candidate_assets`.`url`, `candidate_assets`.`asset_size`             FROM `candidates`             LEFT JOIN `candidate_assets` ON `candidate_assets`.`candidates_candidate_id` = `candidates`.`candidate_id`             WHERE `candidates`.`availability` = 'yes'";              if(isset($type)) {                 $sql .= ' AND candidates.talent = '. "$type";             }              if(isset($skill))             {                 $sql .= ' AND candidates.skill = '."$skill";             }              if(isset($gender))             {                 $sql .= ' AND candidates.gender = '."$gender";             }      $query = $this->db->query($sql);      return $query->result_array();   I wanting to  the $type, $skill and $gender variable to passed as strings that whatever the variables contain are returned in the sql as wrapped in "" is this possible? How would I do this?