Can't boot Vista after installing Ubuntu 13.04 alongside Vista - after Boot-Repair

Have installed Ubuntu 13.04 alongside Windows Vista. I was able to boot either for a while but now only Ubuntu - if I select Vista from menu it returns to the menu after failing to Boot. Have tried System Repair on Vista but doesn't correct problem. There must be a simple solution to this - I really don't want to reinstall Vista from old Recovery Discs. The guys at Ubuntu can't push this dual use with it failing so easily! Or can they? Have looked at some related problems but no help to me.    I ran Boot-Repair as per forum advice. Rebooted but still can't get Vista.  url was   (Also sent to boot.repair@gmail.com)


whats is the easiest way to make C# dictionary access thread safe? Preferably just using lock(object) but any other ideas welcome!


Is this series converge ?   $$\sum_{n=1}^{\infty} \frac{\tan(n)}{2^{n}}$$  My class disscussed this problem in some hours . Finally , my teacher used  a lemma which isn't basic ( i.e : a result in a research paper ) . I hope someone can give me a more simpler proof .


`g++` commands isn't working and APT is reporting `g++` is installed

I installed Ubuntu 20.04 and I installed g++ using sudo apt install g++  sudo apt install build-essential  but when I want to check the version using this command g++ --version  it showed me and also for gcc same the situation Command 'g++' not found, but can be installed with:  sudo apt install g++  Is there any way to check whether the g++ installed or not?


I'm trying to do this problem out of Atiyah-Macdonald:     Show $\Bbb{Z}_m\otimes_{\Bbb{Z}}\Bbb{Z}_n=0$ if and only if $m,n$ are coprime.   First, suppose $m,n$ are coprime. Then there exist $s,t$ such that $sm+tn=1$. For any pure tensor $a\otimes b$, we have  $\begin{align*} a\otimes b&= ab\otimes 1\\ &= ab\otimes(sm+tn)\\ &= ab\otimes sm+ab\otimes tn\\ &= ab\otimes sm\\ &= abm\otimes s\\ &= 0 \end{align*}$  so $\Bbb Z_m\otimes\Bbb Z_n=0$. Is this correct?   I also don't know how to prove the other direction. If $m,n$ are not coprime I'm pretty sure that the element $1\otimes1$ is nonzero, but I don't know a good way to show this.


Classes have not been declared but they were included?

I have these two classes that need each other and inherited from the same class. Wehn I compile Seller.h, it compiles fine but when I compile Buyer.h I get errors from Seller.h.  So when i compile Buyer.h I get errors such as :  Seller.h:14:16: error: âBuyerâ has not been declared    void addBuyer(Buyer*);                  ^ Seller.h:15:14: error: âBuyerâ was not declared in this scope   std::vector<Buyer*>  getBuyers() const;  Seller.h:20:17: error: âOrderâ has not been declared   void fillOrder(Order*);              ^   They are #included but it still says out of scope.  #ifndef SELLER_H #define SELLER_H #include "Entity.h" #include <string> #include <vector> #include "Inventory.h" #include "Buyer.h" #include "Order.h" class Seller : public virtual Entity { public:         Seller(const std::string &, const std::string &, double=0.0);         virtual~Seller(){}         void addBuyer(Buyer*);         std::vector<Buyer*>  getBuyers() const;         void setInventory(Inventory*);         Inventory* getInventory() const;         virtual void list() const override;         virtual void step() override;         void fillOrder(Order*); private:         Inventory* inv;         std::vector <Buyer*> buyers; }; #endif   Buyer.h   #ifndef BUYER_H #define BUYER_H #include <string> #include "Entity.h" #include <queue> #include "Order.h" #include "Seller.h" class Buyer : public virtual Entity { public:         Buyer(const std::string &, const std::string &, double =0.0 );         virtual ~Buyer(){}         void addSeller(Seller *);         std::queue <Seller *> getSellers() const;         void addOrder(Order *);         std::queue <Order*>  getOrders() const;         virtual void list() const override;         virtual void step() override;  private:         std::queue <Order*>  orders;         std::queue <Seller*> sellers; }; #endif


Achievements view loads forever, never showing

When opening the achievements view in the android app, it's showing the spinner as if loading, but never finish the loading.  I've waited for this one to go away but it's survived the app being killed as well as a reboot of my phone. I'm posting this question from the Android app now, so the app itself works.  App version 1.0.77


Proposed improvement to flagging, for answers

Currently the Flag feature, on answers, offers five choices. Three of them request moderator attention:   Not an answer Very low quality "Other"   In the spirit of reducing the burden on moderators, and distributing that work a little bit more evenly around the community, I'm proposing a couple of small tweaks to the way answers are flagged.   Eliminate  as an option. Very low quality posts that are, nevertheless, genuine answers do not need moderator attention - they should just be downvoted. (Further justification for this is  and ) Replace  with four specific options:   Should have been a comment - this is not an answer, it is a comment on the question or on another answer. Flagger would then be required to choose which post it should have been a comment on. Should have been an edit - this is not an answer, it is additional information about the question from the original asker. Only appears if the answer is from the same user as the question. Me-too! non-answer - this answer consists of nothing more than "Me too!" or "Did anyone find the answer?" Conversational and irrelevant - this is not an answer, just a random conversation or rant, or meaningless typing that should be deleted    This makes life much easier on the moderators, because now the moderator is not expected to clean up after the bad answer, they merely have to peek at what happened and click "Agree" or "Disagree". If they agree:   Should have been a comment converts the answer to a comment Should have been an edit converts the answer to an edit and it is appended to the question Me-too! non-answer deletes the answer and leaves a form-message for the poster explaining that we don't like "Me too", but they should upvote the question if they think it's important or valuable Conversational and irrelevant - deletes the answer and leaves a form-message for the poster explaining that we are a Q&A site, etc. etc.   In fact, if enough people with high enough flag weight or reputation (FORMULA TBD) apply the same flag, the moderation happens automatically, without moderator involvement.  To prevent the moderation queue from filling up with problems that might cure themselves, these flags don't even go in the moderator queue until some period of time (TBD) has passed.  Thoughts?


convertValue issue with Jackson - alternative?

I'm trying to get my head around the convertValue method of Jackson. Initially I thought it would be somewhat equivalent to the Gson#fromJson method but this doesn't seem to be the case.  Here's the problem:  // Map<String, Object> map = ... ObjectMapper mapper = new ObjectMapper(); MyPojo pojo = mapper.convertValue(map.get(key), MyPojo.class); for (Map.Entry<String, Object> m : map.entrySet()) {     System.out.println("k=" + m.getKey() + "    v=" + m.getValue()); } pojo.name = "Banana"; for (Map.Entry<String, Object> m : map.entrySet()) {     System.out.println("k=" + m.getKey() + "    v=" + m.getValue()); }   Output  k=66e8c013   v=MyPojo{name='Apple'}  k=66e8c013   v=MyPojo{name='Banana'}   Note: Code and output has been stripped down to the relevant part  So, if I modify my pojo object, it's also getting changed in the original Map. For me it seems like Jackson doesn't call "new MyPojo()" internally and set the values for each found variable afterwards.  What can I do to prevent this? Is there an alternative method? Do I need to create a copy constructor in order to get a truly new object without references to the values in the Map? Additionally it would be cool if someone could tell me what convertValue actually does.


Ubuntu 17.10 new install, Firefox 57.0 (64-bit) can't play videos on Google Photos

Brand new install of 17.10, love it so far.  I especially love the new Firefox browser but I can't seem to get my videos to play on photos.google.com.  All I get is a static screen with "This video format is not supported".    I did install Chrome and they do play through that browser, so I know I'm just missing something on my Firefox install.  I tested Flash and that seems to work on the Adobe flash test site after I allow it, but I never get a prompt to allow Flash on the Google photos page, I assume they're using something else anyway.  Any ideas?


Google has material design guidelines for its multi-step forms: .  Are there similar guidelines for iOS? If not, are there some de facto standards apps adhere to?  I'm especially curious about the behavior of the back button and if it should be there at all (on Android, this button acts as an "up" button and it wouldn't make sense in a multi-step form, because all the steps are on one level in the screen hierarchy), what the best placement for the stepper is, and whether it should be fixed or scroll with the page.


How do I configure internet connection for Terminal on Ubuntu 14.04?

I've installed on Ubuntu 14.04 and with I've Broadband connection setup, Browser connection is OK,  but Terminal not connection via internet, when command type "sudo apt-get update" by terminal then showing me Error, see screenshot, How I can fix this ?


Dominos ($2 \times 1$ on $2 \times n$ and on $3 \times 2n$)

How many ways are there to tile dominos (with size $2 × 1$) on a grid of $2 × n$?  How about on a grid of $3 × 2n$?


If there are more than 200 internal links in a post, only the first 200 display question titles

When you post  with more then 200 internal links, only the first 200 are automatically converted to show question titles. All internal links after the first 200 just display the URL.


What does the 1412 in Magic Kaito 1412 means?

The title of the show is Magic Kaito 1412. It is based on a character from Detective Conan, Kaito Kid. In Detective Conan he is called Kaito Kid, Phantom Thief, but no 1412. If it is read in Japanese it would be Ichi Yon Ichi Ni (One Four One Two) or Sen Yon Hyaku Juu Ni (One Thousand Four Hundred Twelve). The real name of the first Kaito Kid is Kuroba Touichi. The current Kaito Kid is Kuroba Kaito, doesn't sounds like 1412 at all. So, what is this 1412 means?


Find the last two digits of $9^{{9}^{9}}$

I have to find the last two decimal digits of the number $9^{{9}^{9}}$.  That's what I did:  $$m=100 , \phi(m)=40, a=9$$ $$(100,9)=1, \text{ so from Euler's theorem,we have :} 9^{40} \equiv 1 \pmod{100}$$  $$9^{{9}^{9}} \equiv 9^{9^{2+2+2+2+1}} \equiv 9^{9^2 \cdot 9^2 \cdot 9^2 \cdot 9^2 \cdot 9} \equiv 9^{81 \cdot 81 \cdot 81 \cdot 81 \cdot 9} \equiv 9^{(40+40+1) \cdot (40+40+1) \cdot (40+40+1) \cdot (40+40+1) \cdot 9} \equiv (9^{(40+40+1)})^{(40+40+1) \cdot (40+40+1) \cdot (40+40+1) \cdot 9} \equiv 9^9 \equiv 9^4 \cdot 9^4 \cdot 9 \equiv 6561 \cdot 6561 \cdot 9 \equiv 3721 \cdot 9 \\ \equiv 21 \cdot 9 \equiv 89 \pmod{100}$$  So,the last two digits are $8 \text{ and } 9$. $$$$But,is there also an other way two calculate the last two digits of $9^{{9}^{9}}$ or is the above the only one?


SD card has CURRENT Read-only State : Yes

DISKPART> attributes disk Current Read-only State : Yes Read-only  : No Boot Disk  : No Pagefile Disk  : No Hibernation File Disk  : No Crashdump Disk  : No Clustered Disk  : No  DISKPART> attributes disk set readonly  Disk attributes set successfully.  DISKPART> attributes disk Current Read-only State : Yes Read-only  : Yes Boot Disk  : No Pagefile Disk  : No Hibernation File Disk  : No Crashdump Disk  : No Clustered Disk  : No  DISKPART> attributes disk clear readonly  Disk attributes cleared successfully.  DISKPART> attributes disk Current Read-only State : Yes Read-only  : No Boot Disk  : No Pagefile Disk  : No Hibernation File Disk  : No Crashdump Disk  : No Clustered Disk  : No  DISKPART>   How do I set the "Current Read-only State" to "No"? The regedit "writeProtect" method doesn't work. Re-formatting doesn't work. No physical switch on a microSD.  Card is read by card reader of the same brand.  What happened prior to this situation: Card was working top-notch. Then I didn't use it for a couple of months, so it was just laying around in a suitable environment. Now I plugged it in and it is set to read-only.  P.S.: It is a Transcend card, not SanDisk.


Science fiction story about a "smart house" that made breakfast for the owner

What was that Science Fiction story about the (what we would today call) "smart house" that made breakfast every morning for the owner, had a list of activities, etc. But the owners had died (in a nuclear war - can't remember) centuries before.


How to Send Group Name From MailChimp Plugin Sign Up Form

I am using  so that user's can sign up to a MailChimp mailing list. I want the signups to go into a specific group in my list. The plugin doesn't appear to work correctly with mailing list groups.  Can I just dive into the plugin code and add a hidden field to force the users into a certain list?  I tried digging around in there and it looks like the group is determined from an input called "interests". I have tried sending the form with a hidden field with this name having the value of the name of the group I want to use, like this:  <input type="hidden" name="interests" value="Group Name" />   But this does not work. Digging around on Google doesn't seem to offer much help either, as there only appears to be other confused users or not much interest in this particular aspect of the plugin.  How can I do this?


TypeError: 'set' object is not subscriptable? (tkinter)

I am trying to make a random shell in python... But the problem is i get an error with my code i have tried to remove __commands__[0] from my code but then nothing comes. My error: Exception in Tkinter callback Traceback (most recent call last):   File "C:\ProgramData\Anaconda3\lib\tkinter\__init__.py", line 1705, in __call__     return self.func(*args)   File "C:\Users\User1\Downloads\Stuff\untitled2.py", line 14, in commands     if text in __commands__[0]: TypeError: 'set' object is not subscriptable  my code: from tkinter import *  def tk_shell(Name=None):     def commands():         __commands__ = {'-v',                            '-e',                            '+a',                            'DATA'}                           text = (cmd.get("1.0","end"))                           if text in __commands__[0]:             print("version 1.11")                  else:             print("NOPE")                       tk = Tk()     tk.resizable(width=False, height=False)     tk.geometry('700x490')          tk.title('Server Prompt-'+str(Name))          #main     cmd = Text(tk,bg='black',fg='#00FF00')     cmd.config(height=600,width=480)     cmd.pack()               r_button = Button(tk,width=12,height=2,text='Run',bg='#00FF00',command=commands)     r_button.place(x=610,y=0)                         tk.mainloop()  tk_shell()


Functional equation $f\left(\frac{x+y}{2}\right)+f\left(\frac{2xy}{x+y}\right)=f(x)+f(y)$ implies $2f(\sqrt{xy})=f(x)+f(y)$

Prove that if the function $f$ is defined on the set of positive real numbers, its values are real, and $f$ satisfies the equation $$f\left( \frac{x+y}{2}\right) + f\left(\frac{2xy}{x+y} \right) =f(x)+f(y)$$ for all positive $x,y$, then $$2f(\sqrt{xy})=f(x)+f(y)$$ for every pair $x,y$ of positive numbers.    Source: Miklos Schweitzer Memorial Competition 2001    I can see how the repeated application of the functional equation condition upon itself forms a bound, but how can I formally prove this?


The next upgrade I am likely to get is "ASCENSION" for Amenhotep.  The mouseover text on the ability says it restarts the game and gives a single hero soul.  Does anything else cross over (heroes, gold, achievements, etc.)?  When would be the best time to Ascend?  Should I wait until I unlock all the heroes or buy all their abilities?  I'm on level 85 now (not yet beat the boss), should I wait until a specific level?


Why and when does the comment overflows to the text on the right side?

I noticed that the comments after a certain length overflows to the right side and makes the test illegible. Is it because of the browser or for some other reason?   I went through the following link    which led me to     which I found is deleted and does not exist. So what is the way out?  The screenshot:(As requested by Mosa)


Is there a way for normal, non-moderator users to search for deleted questions, or could one be added?

This is a fairly straight-forward question/request that I couldn't find a direct, specifically on point answer to with the search, though it seems like there would be one by now.  I've seen the meta questions , and , but nothing that seems to definitevly answer wanting to search deleted questions.  How can I, as a mere user (or 10k+/20k+ user), with no blue diamond, include deleted questions in a search result?  And could such functionality be added into the Stack Exchange search?  If not, is there another way for me to achieve what I want?  I recently noticed, through my flagging history, that before the new locking feature ("locked for historical significance"), I'd successfully flagged a thread for deletion, that with this new feature, should probably be undeleted and locked for historical significance, .  I have since flagged it for moderator attention, but I'm quite sure there are good number of other threads like this, with high page views and good information, whose deletion status probably ought to be reviewed in light of the changes to the lock feature, and I would like to find them and flag them for review.  So, is there any way for me, as a non-moderator, to search for questions like this, that with the changes to the lock feature, ought to be brought to a moderator's attention for possible undeletion and locking?


How to read the output of a previous command in a shell script?

I executed  a command in a shell script and the command  ends with "completed successfully" or "completed unsuccessfully". How can I read that in the script and use it for if and else conditions?


Selecting pixels in raster using polygon selection tool?

I want to reclassify landcover image manually with respect to online imagery. I am looking for a software/plugin/script to manually select raster pixels using polygon selection tool and could be able to enter new value.  I have Arcgis with spatial analyst license.


We thank everyone who have donated, helped set up, etc.   Is "have" correct or "has"?


Review low quality answer whose question is already deleted

I'm referring to  answer. If the question is already deleted then why do we need to review the answer.


Mt command prompt will not run any default windows commands because I changed my PATH to jdk (Java Development Kit). Is there a way to fix this without changing the PATH back? If there isn't what should the default PATH be?


Showing that something is a sufficient statistic

I tried to do the following task:  Let $X_1,\ldots,X_n$ be a random sample with the pdf $$f_{X_i}(x|\theta)=\begin{cases}e^{i\theta-x},&&x\ge i\theta\\0,&&x<i\theta\end{cases}$$ Show that $T=\min_i \frac{X_i}{i}$ is a sufficient statistic for $\theta$.  First of all, I don't know what the notation $f_{X_i}(x|\theta)$ should mean. Does it mean that $f(x_1,\ldots,x_n|\theta)=\prod_{i=1}^{n}e^{i\theta-x_i}1_{x_i\ge i\theta ,\forall i \in\{1,\ldots,n)\}}$? (I plan to use the factorization theorem)


How would you suggest I go about solving this question? I've been thinking about it for ages and nothing comes to mind.   $$\arcsin x + \arccos x = \frac{\pi}{2}$$


80s or earlier fantasy series about a world without metal

I’m looking for a fantasy series (at least 2 books) I read in the mid-80s. Most of it was set on a world without metal, so they had found other ways to make weapons. A second world, with metal, tries to take it over. I remember two main characters -brothers- on the first world, one becomes a ruler and the other is trying to learn about the second world.


Given the permutation $\sigma=\left(\begin{array}{ccccc} 1&2&3&4&5\\ 3&1&2&5&4 \end{array}\right)$

Given the permutation $$\sigma=\left(\begin{array}{ccccc} 1&2&3&4&5\\ 3&1&2&5&4 \end{array}\right)$$ the matrix A is defined to be the one whose $i$-th column of the identity matrix $I$. Which of the following is correct?   $A=A^{-2}$ $A=A^{-4}$ $A=A^{-5}$ $A=A^{-1}$


How do I fix vertices that aren't following the armature?

I wanted to report a problem I had recently with my rigged and clothed character. Whenever I move the head or body, there is ONE vertex that does not follw the rig : Here it is in T-Pose:  Now positioned :  How could I find the exact vertice creating this issue and how could I fix it? I am currently checking the weight paints of every bone and did not find anything so far. I think this has mostly something to do with the head bone as every head part has this issue. Also this appears everytime the head moves, even under the influence of another bone like spine or neck. P.S. I would also love to ameliorate my cloth rigging. you can see that the denim part is pretty sloppy. I applied a Solidify Modifier, but it seems the weight paint is not the same on the inside than the outside.


Logistic regression on aggregated counts

Normally when we do logistic regression, we would have a dataset something like:     X1 X2 Y 1:  A  3 0 2:  A  4 0 3:  A  3 0 4:  B  4 1   (4 observations)  However, for some reasons, I only have the aggregated version:     X1 X2 count Y_count 1:  A  3     2       0 2:  A  4     1       0 3:  B  4     1       1   (i.e. a summary table. e.g. 2 records with X1 = A and X2 = 3 but the number of Y = 1 is 0)  Now, I understand that I can simply replicate and do the logistic regression normal way; but my question is whether I can simply use the summary table to do logistic regression (potentially in R). Any implications?  There're other posts of similar questions: . Also I'm aware that "weights in logistic regression differs from ... weights in linear regression) ()


Can i have more than one desktop installed and then choose which one to use?

My friend just told me, That i could have more than one desktops in Ubuntu and then choose which one to use when the Ubuntu starts up and goes to login screen. I have Ubuntu 12.10 and i think my default desktop is unity, so can i have gnome desktop and more desktops? And if so, How and where to install them and how to use them?


Book or web site resources for an absolute beginner to learn about stocks and investing?

I'm completely new to the world of investing and stocks. Knowing that I shouldn't invest or buy stocks until I know it well enough, I was wondering which cheap or affordable resources would be the best to get started?  I've seen quite a lot of books and websites that teach investing, but it's hard to choose.  To narrow it down, what book and/or what website would you recommend that does a good job teaching investing in stocks to beginners?


Design properties of the Rijndael finite field?

So we've already had a question on . My question is - can we use a different finite field other than the one given by $x^8 + x^4 + x^3 + x + 1$ in $GF(2^8)$. In other words, would any irreducible polynomial over this field do the trick or are the special considerations and properties of that particular reducing polynomial?  If a more general discussion on appropriate fields for cryptographic operations, such as those used in ECC, is necessary, then I'd be happy to hear it. What I'm trying to get to is an understanding of whether there are any important properties in terms of the "randomness" of the operation - for example, are there weak fields to operate over? For example, $x^8 + x^3 + x + 1$ ought to also be irreducible - so would it be suitable? I ask partly because of the  which lead me to think not all fields might hold equal strength. Right? Wrong? Inconsequential?


Where and how does Stack Overflow store its data?

Where does Stack Overflow store its data - MySql, CouchDB? And how does the "related questions", shown at every page, work?  Basically I want to know the ontology used here to store the data so that the data is easily accessible, and on what basis it suggests the related questions - using tags?


I need a list of geographical places where the article "THE" is used

I need a list of places where the article "THE" is used  For example:  The USA but not "the" India"  Why does one country have the article the and the other not?


Traveling to UK and Ireland on Indian Passport BIVS

I am traveling to Ireland later this month and I had the following questions:   I am looking to enter Ireland from Belfast (taking a train from Belfast to Dublin on during end of May). I will be spending half a day in Dublin, a few days in Galway and the last day in Cork after which I will return to London. Since most of the places on the internet say that there is no immigration check between Northern Ireland and Ireland while traveling by train or bus, I am worried that I will not have an entry stamp on my passport. I hope this will not be a problem when I am exiting the country through Cork, or on subsequent return. What should I do in order to get my passport stamped? I will be spending a week in England after that and returning to visit Dublin with my husband on in June once again. Will this be okay? I have a multiple entry BIVS visa with a validity of 6 months.


How to solve java.lang.NullPointerException while reading same file in two java programs?

I am trying to run one Java program from another. One makes a copy of a file and another reads that copied file. But while doing so, I get java.lang.NullPointerException. Can someone explain why? And how can I solve this?  Following is my code :  FirstProgram.java   package test;   import java.io.BufferedReader;  import java.io.BufferedWriter;  import java.io.File;  import java.io.FileNotFoundException;  import java.io.FileReader;  import java.io.FileWriter;  import java.io.IOException;   import secondprogram3.SecondProgram;   public class FirstProgram {    public static void main(String[] args) throws IOException, FileNotFoundException, InterruptedException {      BufferedReader input = null;     BufferedWriter output = null;      try {         String filePath = "1.txt";         input = new BufferedReader(new FileReader(filePath));         output = new BufferedWriter(new FileWriter("input.txt"));         String line="";         while ((line = input.readLine()) != null) {             output.write(line);             output.newLine();         }       } finally {         output.close();         input.close();     }       String args[] = {"Hello"};     SecondProgram.main(args);   }   }   SecondProgram.java  package secondprogram3;  import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException;   public class SecondProgram {      public static void main(String[] args) throws IOException, FileNotFoundException, InterruptedException {          BufferedReader input = null;          try {                         input = new BufferedReader(new FileReader("input.txt")); // I get java.lang.NullPointerException here            String line="";           while ((line = input.readLine()) != null) {              System.out.println(line);           }         }  finally {           input.close();         }     } }


I'm currently working on a project with Unity 3D, and my plan is to design everything with Blender. But I didn't know until today that Cycles renderer is meant for animations and HD images.  Can I use Cycles for a game in Unity as well?  I've heard about baking, but I don't know how it works, other than creating a UV image with light impact to the mesh of an object. But would this mean that moving an object around the scene will make it look like the light is till glued to the object?  This doesn't sound that good if objects in a game are supposed to move around.


i managed to install Xubuntu 16.04 on a inspiron 1012. After almost 2 weeks of struggle with the black screen problem i finally got to get it going. My PCI ID is 14e4:4315  Everything is fine, everything works, buuut: When i try to enable monitor mode i get   Error for wireless request "Set Mode" 8B06  I´ve read in other post that this is cause by the "wl" "b43" driver problem.  Im pretty new to Linux, so im just looking to get the driver change done.


Is it possible to statically initialise part of a struct?  The stuct I have:     struct data {     char name[20];     float a;     int b;     char c; };   When initialsing and printing:  struct data badge = {"badge",307}; printf("%s,%d\n", badge.name, badge.b);   This will print out "badge", but not '307'.  How can I get this to use char name[20] and int b whilst ignoring float a.


How to tell a faculty member that I don't need him on my thesis committee anymore?

Out of five needed members for my doctoral thesis committee, four are fixed. For the fifth member, I approached Mr.A. He has no real connection to my research or topic but I contacted him because he was just as good a fit as anybody else in the department to be the fifth member. I have never worked with him or taken any classes but we did talk a lot in the first few years where he would just ask about my progress by the copy machine, etc. We don't even have a "rapport". The relationship is absolutely neutral, nothing positive/friendly, and nothing negative. I asked him to be on my committee and he said yes. I said I'll get back to you with dates, etc. He is a senior tenured professor.  Then about a month later, I was looking at the CV of some of the new hired (junior) faculty in the department Mr.B (this is his first year) and I see that we have a collaborator in common. Mr.B has published multiple papers with him and Mr.B is working with the same code and the code managing team that we are working with. He is definitely a good person to have on my committee. I finally see Mr.B after a few more months (because of busy schedule/travel/etc.) and he agrees to be on my committee.  The question is, how can I tell Mr.A, as tactfully as possible, after about four months of being quiet that he is basically rejected from my committee because I didn't know about Mr.B but now that I know, Mr.B is a much better match than he is? That I don't need him but I do appreciate his offer? I don't want to antagonize Mr.A or burn any bridges. Should this be in email or in person? Should I explain or just keep it terse? Should I keep it vague that I don't need him and thanks for his time? Or should I tell him about Mr.B and why he is a better match?  FYI, this was before anything official/paperwork was done so there is no problem with that.


Find element within another element using explicit wait

I have the following code:  List<MobileElement> messages = driver.findElements (By.id ("body_bubble")); //find all messages MobileElement lastMessage = messages.get (messages.size () - 1); //get last message  // xpath query to check if the message is delivered String xpathDeliveryStatus = ".//*[contains(@resource-id, 'delivered_indicator') or contains(@resource-id, 'read_indicator') or contains(@resource-id, 'sent_indicator')]";  MobileElement deliveryStatus = lastMessage.findElement (By.xpath (xpathDeliveryStatus));   I want to do the same except that I want to find the deliveryStatus variable using explicit wait.  So I want to find the deliveryStatus variable inside the lastMessage variable using  wait.until (ExpectedConditions.visibilityOfElementLocated (By.locator))   How can I do this?  I don't want to do it using one immense Xpath. Besides, I don't even know how to find the last element with the id body_bubble using Xpath, as the number of these elements is not fixed and always changing.  P.S. For example, in Python we can define WebDriverWait with an element in the constructor instead of driver:  WebDriverWait(webelement, self.timeout)  Unfortunately, it does not work in Java.


Do I need to pay the visa fee separately for all of my party?

I am a Nigerian applying for a UK Visa for me & my wife & my daughter. I have already finished my UK Visa application and paid the fee, but on registering with TLSContact Process, i saw the message below;     If you are planning to travel with family members (parents, spouse, children), it is mandatory to have each person in registered the same group. This also applies to unrelated persons who plan to travel together on the same itinerary.      Here is the list of applicants for this group.   Click on the name of an applicant to change any information.   Children on parent's passport should be individually filled in this group.   From the above message I think it implies that I have to fill another UK visa application form for my wife and daughter and pay the UK VISA fee too. Please help me to know if I am right or if the message should be ignored.


Is it really possible for most enthusiasts to crack people's Wi-Fi networks?

Can most enthusiastic users (even if they are not professionals) use well-known techniques to break through the average home router's security?  Some basic security options are:   strong network password with various encryption methods custom router access password WPS no SSID broadcast MAC address filtering    Are some of these compromised and what to do to make the home network more secure?


Assume that $A,B \subset R^2$ and $A,B$ are compact and connected. And $A,B$ are homeomorphic. are$A^c$ and $B^c$ homeomorphic ?  I don't have a good idea to solve that.


Why do some bad traits evolve, and good ones don't?

If a trait would be advantageous to an organism then why hasn't it evolved yet?  Conversely, if a trait is not advantageous or mildly disadvantageous, why does it exist?  In other words why does evolution not make the organism more "perfect"?    This is a general question that would be applicable for any kind of trait. Please keep the answers precise and scientific.   Read this meta post for more information:


Can I pack a cardboard box as checked luggage?

As mentioned in , I'm planning on traveling with a desktop computer as checked baggage. After considering the options, I've decided to take it in its original cardboard box (used for shipping), making sure to pad everything inside very well.  What should I do to securely prepare the box before checking it in? Some suggestions others have given me so far:   Spray paint the box black so it's not obvious there's a computer inside. Wrap the entire box with duct tape to reinforce it. Use tape to seal the "hand holes" on either side used for carrying the box. Run packing tape around all the edges to reinforce the box.


Is there a way to use Git to flag code for future review?

I am currently developing a desktop application in C#.  As I am going through my code, I keep finding other pieces of code that need a second look or can be improved on... but I don't want to derail from my current mission.  Is there a way in Git or Visual Studio that allows me to highlight a block of code for "future review"?


How to get the thumbnail of animated .gif files without losing animation if any one contains using c#

I have a animated .gif images. I want to resize the images to specific height/width without losing the aniamtion part and want an output as stream.  or Getthumbnail for the same images without losing the animation.  I have gone through the solutions mention related the same but not being able to solve.   Would any one mind providing sample code for the same.  Thanks in advance for any help.


Will using a DX lens on an FX Body compromise ISO performance?

In terms of ISO, is the ISO performance compromised?  Say I was using a 50mm DX on my FX body, would I have a lower quality ISO performance vs an FX 50mm on my FX body?


how to soql query from ContentDocumentLink for batch?

i'm struggling with understanding the logic behind this query i need to do for a batch job. i am querying the contentdocumentlink object because i need to capture files (potentially multiple) related to specific campaigns. since its a batch i want to query all campaigns that had files added to it each day and store the URLs of the files for each campaign. i have: final ID campId; List<Campaign> campList = [Select Name, Content_Link__c FROM Campaign];  global String soqlQuery = 'Select ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId=:campId';     any help means a lot, thanks!


Understanding Auth Logs on Ubuntu Server

I have a web application that I'm hosting on an Amazon Ubuntu server, and it has a public IP address - and very little traffic.  I was observing the authorization logs in /var/log, and noticed several like the following, typically 15-30 times/day, and all with a different username.  Sep  9 01:15:37 ip-xx-xxx-xx-xxx sshd[24944]: Invalid user zabbix from 192.69.90.218
 Sep  9 01:15:37 ip-xx-xxx-xx-xxx sshd[24944]: input_userauth_request: invalid user zabbix [preauth]
 Sep  9 01:15:37 ip-xx-xxx-xx-xxx sshd[24944]: Received disconnect from 192.69.90.218: 11: Bye Bye [preauth]   Most of these come from Vietnam and China. I assume this is typical, that somebody has programmed a bot to trawl the web and attempt logins. There are similar threads about understanding logs, but my question is this:  Is this volume normal, and how do I establish a baseline for normal activity levels?  If I'm assured about security - and I am, I use locally saved SSH keys - is there any harm to these failed requests, even as they grow in number over time?


Find the largest number from the SQL Table?

I was asked to find the largest number from the table (including all rows and columns) using SQL.  Here is the sample data. It should return 90 as the largest number.  row1    row2    row3 10      20      30 40      50      60 70      80      90


Wait for user to update question before voting

I was reviewing questions with close votes in StackOverflow and for some of the questions, the question was voted to be closed because the user had not updated the question with enough details on the problem they are facing, or proper code examples.  For new users, I feel it to be discouraging for the user when the question gets closed soon before the user can update more information on the question. Right after the question is posted, some user or the other immediately posts a link for rules to be followed when posting a question. So shouldn't we wait for some time before we allow that question to be voted for closure?  Can we consider something about this behaviour?


Correlation between a percentage and a real number

I have two datasets, one containing the percentage of people with flu and one which has the number of searches for Tea-recipes in google. Problem is, I get different results when i choose to include the percentage number instead of the real number of people with flu.  Im using Excel function Correl(peoplwithflupercentage, teasearches)  My question is, can I somehow use percentages to look for correlation with real numbers. Like correlation between a dataset (percentage numbers) and another dataset (real numbers)? I know this probably is a simple question, but  can't seem to find a good example in the forum or google.


How can I screencast purely from the tty?

How can I do a screencast (having a video file out from my screen output) without X server? I mean, purely from the tty, no KDE, no LXDE, no Xorg beneath them. Like if I were in single-user mode.


Is there any difference between the terms 'Central Processing Unit' and 'Processor,' or are the terms interchangeable?


\emph{} no longer works as expected in XeLaTeX / LuaLaTeX

Compiling with either XeLaTeX or LuaLaTeX, \emph{} no longer displays text as expected, i.e. in italics. \textit{} works fine. Here is a MWE demonstrating the issue.  \documentclass{article}  \usepackage{fontspec}  \begin{document}      \emph{lorem ipsum}      \textit{lorem ipsum}  \end{document}   Here is the output I get :   I have TeXLive 2016 (MacTeX) installed. I updated it an hour ago with sudo tlmgr update --self --all.  I guess there is something wrong but what ? I'd be happy to have some help. Thank you.


I am trying to write a python script that converts normal text into latex code. So I have to replace $, &, and % by \$, \&, and \% respectively. Also, I have to replace contents inside a square bracket by a blank string since the text was copied from Wikipedia. Here is my code :  import re square_bracket = r"\[[^\]]*\]"   def formatting(text):     no_brackets = re.sub(square_bracket, '', text)     and_ = re.sub('&', '\\&', no_brackets)     percentage_ = re.sub('%', '\\%', and_)     dollar_ = re.sub('$', '\\$', percentage_)     return dollar_   print(formatting("aca & akhil[3255d] 56 $ 72 %"))   Output is:  [Command: python3 -u /home/aca/Documents/python/basics/test.py] aca \& akhil 56 $ 72 \$ [Finished in 0.131s]   I am ok with square bracket, & and %. But dollar sign makes the things messy as it converts normal text into mathematical argument in latex. How do I fix this?


How to add a progress bar to a shell script?

When scripting in bash or any other shell in *NIX, while running a command that will take more than a few seconds, a progress bar is needed.  For example, copying a big file, opening a big tar file.  What ways do you recommend to add progress bars to shell scripts?


Evaluating $\int_0^{\pi/4} \ln(\tan x)\ln(\cos x-\sin x)dx=\frac{G\ln 2}{2}$

In order to compute, in an elementary way,   $\displaystyle \int_0^1 \frac{x \arctan x \log \left( 1-x^2\right)}{1+x^2}dx$   (see  )   i need to show, in a simple way, that:  $\displaystyle \int_0^{\tfrac{\pi}{4}} \ln(\tan x)\ln(\cos x-\sin x)dx=\dfrac{G\ln 2}{2}$  $G$ is the Catalan's constant.  PS:  This formula is equivalent to:  $\displaystyle \int_0^1 \dfrac{\ln x\ln(1-x)}{1+x^2}dx-\dfrac{1}{2}\int_0^1 \dfrac{\ln x\ln(1+x^2)}{1+x^2}dx=\dfrac{G\ln 2}{2}$  It's not a trivial formula for me.  PS2:  $\displaystyle \ln(\tan x)\ln(\cos x-\sin x)=\ln(\sin x)\ln(\cos x-\sin x)-\ln(\cos x)\ln(\cos x-\sin x)$  Compare to:  $\displaystyle \ln(\cos x-\sin x)\ln(\cos x) dx-\ln(\cos x+\sin x)\ln(\sin x)$


"Your explorers failed to find anyone.", what I need to find someone?

I have only 3 trading possibilities, Lizards, Sharks and Griffins. I have 13 Tradepost, yet I can't find anyone else. The game doesn't suggest that you can only have 3 trading options either, so, what I need to find someone else?


Can I anyone tell me what these circle icons are?

Can anyone tell me what these circle icons are


Need easy method to make SciPy available in my scripts

Thanks for taking notice, but in my original question I stated (I have put the operative part in bold font):  "I would like to use SciPy special functions in Blender scripts, e.g:  from scipy import special as spe   I am running Blender 2.70a in OSX 10.8 on a MacBook Air, and making meshes from mathematical expressions. I have looked  and  but I am not experienced enough to do this yet. Is it possible to have an answer of the format "download X file from Y site and put it in Z folder (for example /Applications/BlenderApplication/blender.app/Contents/MacOS/2.70/python/lib...), and possibly use the Blender User Preference/file tab to link to what I have downloaded?"  But my question was removed. I see the file scipy-0.14.0-py2.7-python.org-macosx10.6.dmg on sorcefogrge.net and I have downloaded it, but I need to understand exactly how so use this file to "install" it into the blender.app/Contents/MacOS/2.70/python/lib/python3.3 folder safely. If I do something wrong I am not in a position to know how to repair the damage. Is it really OK to install scipy for python 2.7 inside the 3.3 folder?   Besides the scipy.special submodule, another submodule would be helpful, so I need to use much of the python 2.7 scipy: "Being able to use:  from scipy import fsolve   would also help me "


Dynamically adding custom attributes to SAML response

I've implemented Single Sign On with Salesforce as Identity Provider scenario using SAML.  I want to pass additional attributes via SAML response to the Service Provider. Out of the box the Connected App allows adding custom attributes based on User/Profile/System objects:    I want to add attributes from other objects.  Is it even possible? Should I implement some interface to have specific fields visible?


Story about aliens nicknamed 'Eechees' who have created a network of tunnels on Mars

I read that story in the 90's or early 2000's. I'm quite sure it was a series, but I read only the first book. It was the French translation, so it is very possible that the story dates from earlier.  What I remember so far:   The aliens had created a vast network of underground tunnels under the surface of Mars. The tunnels had been scrubbed spotless way before the humans arrived. The humans found a sort of warehouse, not sure if it was in orbit or not, with a huge number of ships belonging to the aliens. The aliens have been nicknamed the 'Eechees' because that's the sound made by their ships. Based on the way the ship's are built and the internal arrangements like chairs, it was determined that the aliens look quite different than humans, though they are bipedal (not 100% sure on that one). The humans managed to activate the alien ships, but they are pre-programmed with specific destinations and the humans never found a way to change the programmed destination. One scene I remember is a ship with 3 or 4 people being sent near a globular cluster, which wasn't that impressive or interesting, and wouldn't fetch the crew much money when they come back, only to discover that there was a black hole nearby when the light from the cluster began to get heavily distorted. I remember one sentence that made me smile at the time: 'Something is eating the cluster!' The book ends on a sort of teaser/cliffhanger where it is revealed that the 'Eechees' took refuge in the black hole at the centre of the galaxy to escape some danger. It is heavily hinted that, while eons passed in the galaxy, due to time dilation caused by the black hole, the aliens living inside it where alive when their whole civilisation took refuge in the black hole.


Drafts for edits get lost on leaving the Android app

When editing in the Stack Exchange Android app and navigating away to get some reference URLs the text is gone when I go back into the app.  Seems like the edit isn't kept in memory. Can you please save them in memory? (drafts)


How does R2-D2 not remember Yoda or Dagobah

R2-D2 joined Yoda on a trip to Dagobah in the episode "Voices" from season 6.  R2-D2 did not have his memory wiped.  Why did R2 not tell Luke that he's been there before with Yoda?  I know it was a long while after, probably around 22 years, but I feel like I must be missing something...


Python: Checking if new file is in folder

I am relatively new to python, but I am trying to create an automated process where my code will listen for new file entries in a directory. For example, someone can manually copy a zip file into a particular folder, and I want my code to recognize the file once it has completely been copied into the folder. The code can then do some manipulations, but that is irrelevant. I currently have my code just checking for a new file every 5 seconds, but this seems inefficient to me. Can someone suggest something that is more asynchronous?


In a double-slit experiment, interference patterns are shown when light passes through the slits and illuminate the screen. So the question is, if one shoots a single photon, does the screen show interference pattern? Or does the screen show only one location that the single photon particle is at?


How can I get the % height of an element (not the px) with javaScript?

When I click on a button, I want to increment a div height by 25%, so I would like to be able to get the last div height value as a % and simply add 25 to this.   Is there a javaScript method that would return '80%' which is the height define in the CSS, and not return the calculated px value of the element at 80%?       <div class="container"> </div>  html, body {   margin: 0;   height: 100%;   width: 100%; }  .container {   height: 80%;   background: #eee; }  let container = document.querySelector('.container');  console.log(container.style.height); //Empty console.log(container.clientHeight); //Calculated px value at 80% //I am looking for a method/way to return '80%'


REST API - Server to server connection via API key / permanent token?

I am looking to set up a connection from our website, to populate leads, and am struggling to find the right authentication method. Previously (using a different CRM), we simply POSTed a json payload to a specific endpoint (/api/leads) with an auth token header. The token was generated via the CRM admin panel, and valid until revoked, so was simply 'hard coded' into the app (actually using environment variables). curl      -H "Authorization: Token token=sfg999666t673t7t82"      -H "Content-Type: application/json"      -d '{"lead":{"first_name":"Eric", "last_name":"Sampleton", "mobile_number":"1-926-652-9503"}'      -X POST "https://domain.freshsales.io/api/leads"  I cant seem to find anything similar for Salesforce though. Since this is automated, OAuth doesnt seem suitable. Web-to-lead appears to be outdated, and doesnt provide a response, so we cant access the salesforce lead id, and I have no intention of even looking at SOAP docs! Is a similar flow available for salesforce (permentant token / API key), and if not, what is the simplest alternative


I would like to get the name of a variable or parameter:  For example if I have:   var myInput = "input";  var nameOfVar = GETNAME(myInput); // ==> nameOfVar should be = myInput  void testName([Type?] myInput) {    var nameOfParam = GETNAME(myInput); // ==> nameOfParam should be = myInput }   How can I do it in C#?


Replaced my rim with a wider one - will my tire still fit?

I was running Shimano RS on my road bike (not sure the width) and switched to Bontrager Paradigm Comp. A sticker says 622x19 - I'm guessing 19 is the rim width. It's definitely wider than my old wheel. The tire is 25 mm.  On the old wheel, I had zero flats in over 3500 km - same tire and tube models. Since the replacement, I had two flats in about 100 km travelled. After the first one, I figured I must have pinched it, but I was super careful with the replacement and it happened again.   If it matters, I'm quite a heavy rider. My guess is that there is just a risk of a pinch when I hit a bump.  I'm wondering if my tire is just too narrow for the new rim? I can probably still return the wheel (although I'm happy with it other than the flats) - or should I just swap my tire for a 28 mm one?


How do I prove that the vectors $\vec v_1$, and $\vec v_2$ form a basis?

I know that for vectors to form a basis, they must span the subspace. Other than that, I'm not sure how to solve this problem.


Im trying to format this String into DateTime.  String     2019-01-03T00:26:01.711-02:00   Code   String data = '2019-01-03T00:26:01.711-02:00';  Datetime dt = DateTime.parse(data);   Exception     System.TypeException: Invalid date/time: 2019-01-03T00:26:01.711-02:00


Long site title messes up SEDE site list formatting

On the , if you scroll down a bit, you'll encounter a site with a very long title: . A title this long messes up the formatting of the list (at least in the latest Firefox and Safari on macOS Mojave):


Analytical expression of the log-likelihood of the Binomial model with unknown $n$ and known $y$ and $p$ and its conjugate prior

I'm trying to derive the MLE and Bayesian posterior for $n$ in the Binomial model, $\mathrm{Binomial}(n, p)$ with known $y$ and $p$. The following questions arise  How to derive analytically the negative log-likelihood (and its first-order conditions)?  What is an uninformative prior for $n$ in this case (e.g., for $p$ one can use a $\mathrm{Uniform}(0, 1)$)?  Is there a conjugate prior for $n$?  What if the prior on $n$ is improper, i.e. discrete prior on $\{y_{max}, \mathbb{N}\} \subset \mathbb{N}$? Is there a proper solution?   I tried to look around to found references but I was able to find rather technical papers that do not directly address this (simpler) case. References found so far:  [1] ,  [2] .  [3] : the most informative so far  [4]  addresses the case I'm interested in but does not show a direct log-likelihood maximization


My company uses the Univers font as its official typeface and I'm looking for a good Web-safe alternative. The options are limited, but typefaces are really my weak point and I can't tell which ones are more like it.       To me Arial looks like my best bet, but there may be subtle differences I'm not seeing. However, using a Web-Font is not an option. I am looking for the most similar base font.  These are the only options:  Arial, Helvetica, sans-serif "Arial Black", Gadget, sans-serif "Comic Sans MS", cursive, sans-serif Impact, Charcoal, sans-serif "Lucida Sans Unicode", "Lucida Grande", sans-serif Tahoma, Geneva, sans-serif "Trebuchet MS", Helvetica, sans-serif Verdana, Geneva, sans-serif


I have a problem which is probably linked to the internet problems.  I have an ubuntu 14.04 LTS as a partition on MBP, and I have very recently got the Wi-Fi driver working. However, it is very slow. Sometimes, it even does not detect the server. This behavior is probably linked to the main problem. Whenever I try to install any package using apt-get install I can think of, I get this type of error (for example):  $ sudo apt-get install squid3 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package squid3   And when I try issuing squid3 into the Terminal, it shows:  The program 'squid3' is currently not installed. You can install it by typing: sudo apt-get install squid3   The same error applies to all the packages I can think of. Is this because the access to ubuntu being blocked? Is it a different issue?


Is it possible to remove hidden iCloud folders in Mobile Documents?

I discovered that inside the ~/Library/Mobile Documents folder is a trove of directories for what seems like every app that has been granted access to a user's iCloud drive. Some of these folders can be accessed via Manage Storage and selecting the associated app. However, there are folders from apps that have been uninstalled. Is there a way to remove these folders? I've tried using Terminal, but it acts like the folder doesn't exist.


Could you recommend any approachable books/papers/texts about matroids (maybe a chapter from somewhere)? The ideal reference would contain multiple examples, present some intuitions and keep formalism to a necessary minimum.  I would appreciate any hints or appropriate sources.


Is $(e^\pi-\pi^e)$ positive or negative? why?


String.ValueOf() to replace NULL with string null when calling a method

I'm trying to use String.valueOf() to replace the null when i'm calling some method.But it still shows nullpointerexception. This may be simple but i'm missing something.  I have statement like this   myvar = this.kind.name().toLowerCase()      It is throwing java.lang.NullPointerException. Im trying to keep string "NULL" whenever i get NPE. so i tried this  myvar = String.valueOf(this.kind.name().toLowerCase()) -- not working   I have found from other posts that it may not work as we have overloaded method String.valueOf(char[]) and String.valueOf(object) and suggested to use below. But still it s not working. How do i assign string null in this case?  myvar = String.valueOf((this.kind.name().toLowerCase()) null))


Coefficient of $Y$ on $X$ and Coefficient of $X$ on $Y$

Under what circumstances the coefficients from simple linear regression of $Y$ on $X$ is equal to that of $X$ on $Y$? Will it hold when the standard deviations of $X$ and $Y$ are the same? I would very appreciate it if anyone can give me any idea of it! Thanks.


Examples of conjectures that were widely believed to be true but turned out to be false

Note:  is the same question, but it does not have enough answers and it is almost a year old.  question is similar, with many answers, but a conjecture is similar to, but not the same as a pattern. For example, one of the answers is: "Choose n points around the circumference of a circle, and join every point to every other with a line segment. Assuming that no three of the line segments concur, how many regions does this divide the circle into?" It is clear that this is not a conjecture. Mathematical conjectures are proposed (usually) after being computationally tested for many cases. Because of this computational evidence, many are thought to be probably true, and many theorems are derived considering that they are true. But this not always the case. Some conjectures that were thought to be true (because of computational evidence) were false, for example that $\pi(x)-\mathrm{li}(x)$ is always positive (disproved by Littlewood). So my question is  What are some conjectures that were widely believed to be true but turned out to be false?  Like many big list question, please give only one example per answer. Some include (these are from the answers, I wrote these because if this question gets many answers, than it would be inconvenient to scroll all the way down to see them):  Squaring the circle Euler's sum of powers conjecture


Incorrect Tag Scores in Profile Activity Summary

Issue:  My  shows that I have one answer and all of that answer's current tags show in the Tag section, however the points of the answer do not align with the points of (all) the tags.  An image just in case it does resolve itself over time to show what I am referring to specifically:    What I have looked at:  First I thought perhaps my answer was answered before the tags were added and thus incorrectly tallied, explaining that one of the tags shows the correct value but the other tags don't.  It does appear that all of the tags that were added after are incorrectly tallied, but they were all added before my answer.   discussion Tag (Question Asked): 2020-02-04 00:43:22Z stack-exchange and community Tags: 2020-02-04 00:53:34Z featured Tag: 2020-02-04 00:54:08Z welcoming Tag: 2020-02-04 17:06:42Z My Answer: 2020-02-05 00:34:49Z   I've cleared caches, checked with multiple browsers (Firefox and Chrome), and the results show the same metric.  I thought perhaps caching on SO server side, but that would be odd because the tags were all added same day and all nearly a day before my answer besides one (and the numbers don't show that one differently than the other added tags).  As for the reason I am posting this here as opposed to there:  I have only noticed this issue on SO Meta specifically, however I do not have very many data points to say that this could not be an issue elsewhere.  A similar question was asked  (I like that the similar questions was able to pick that out), but the status has been marked completed. It also appears to be an ongoing issue that keeps surfacing without any additional word.  I don't think it is the same because one of the five tags in question is actually the correct value.  Is this something that will resolve itself given time, or is this a bug that needs to be revisited?


Vim LaTeX-Suite syntax highlighting seems wrong

The underscores and carrots are highlighted red which is really an eyesore. How can I change/remove this?    The plugin works fine, so I don't think it's an installation issue.  Update for more details:  Vim 8.1, I doubt I have any conflicting plugins. I have a tex.vim file located at /usr/local/share/vim/vim81/syntax/.


Action-Reaction pair in case of rocket accelerating in space

I understand Rocket works on Newton's 3rd law. So there has to be action-reaction pair acting on two different bodies.  I know rockets accelerate in space, where there is nothing. So now I want to know those action reaction pair that keeps the rocket accelerating.    Specifically I want to know which part of the rocket (which physical component/structure/fuels/gases?   ) is giving action on which other part/components (this part cannot be air, since it is in space) and in turn which other part is giving reaction and on which part of rocket?  I am trying to identify this pair. Please help me.   Thanks


Appending values of a dictionary created using zip produces inconsistent results

I'm creating a dictionary using the dict(zip(..)) method, but I'm finding when appending its values i get differing results to appending a dictionary created in the default x = {key: value} or dict([key, value], ..) way..  Heres my example - i have a list of dictionaries:  my_values = [{"a": "blue", "b": "red"}, {"c": "blue", "d": "red"}]   I find the common colours from this list:  for item in my_values:      data = []     data.append(set(item.values()))  common_colors = data[0]  for item in data[1:]:     common_colors &= item   And create a dictionary using zip from these common colors:  colors_a = dict(zip(common_colors, [     []] * len(common_colors)))   If i append to this dictionary created via zip method:  # Colors A  for item in my_values:     for key, value in item.iteritems():          if value in colors_a:             colors_a[value].append(key)   I get odd results:  print colors_a  # {'blue': ['a', 'b', 'c', 'd'], 'red': ['a', 'b', 'c', 'd']}   When compared to if i create the dictionary using standard way:  colors_b = {"red": [], "blue": []}   And append to it:  # Colors B   for item in my_values:   for key, value in item.iteritems():        if value in colors_b:           colors_b[value].append(key)   I get the correct results:  print colors_b  # {'blue': ['a', 'c'], 'red': ['b', 'd']}   Even though before being appended the dictionaries are identical:  colors_a = dict(zip(common_colors, [     []] * len(common_colors)))  colors_b = {"red": [], "blue": []}  print colors_a == colors_b  # True   Any know any clues to what going on is much appreciated!


I recently tried to install Ubuntu Desktop on my laptop, but it wasn't successful, as I had the same problem on every startup.  The Ubuntu version I tried to install is 14.04, and it was downloaded from the official site. I had no clean disk, so I tried to install it from my USB. I went Ubuntu forums and found several ways to write my ubuntu.iso to USB. I had tried a lot of them, but every time I had the next problem: when Ubuntu is only loading, it writes something like No caching mode page found, which is going before Assuming drive cache: write through. After that the Ubuntu logo appears and five white dots under it. For 4 seconds all of them become red, and them nothing happens. The Ubuntu logo is just staying on the screen even after an hour of wating. For all this time the USB indicator is not flashing. I've tried to google this, but I had found nothing.   Then while searching forums, I found a way to install Ubuntu inside Windows (maybe it is important to mention that I have Windows 7 and Windows 8 installed on my laptop). So I mounted my ISO again and started wubi.exe where there was not any button to install it from inside. After several minutes I've got the issue: I typed H:\wubi.exe --force-wubi in my cmd, and it worked. I pressed Install Ubuntu inside Windows, followed the instructions, and reached the end of the installation. After this I really got a possibility to choose Ubuntu as the OS, but even than I get the same problem: nothing happens. But this time I got the message, which says that installation of Ubuntu will continue on Ubuntu booting. I can press the Esc key and choose different ways of its loading, but any of the options leads to the same problem. Except Verbose Mode, where text is first displayed and then the same problem appears.   Ubuntu is installed on the clean logic disk.  How can I fix this and continue the installation?  P.S.: Setting "nomodeset" in F6 menu on booting solved my problem.


Open more than one instance of Windows 10 settings

How can I open more than one instance of the Windows settings?  It wasn't a problem with the old style, but with the new one I can't seem to open multiple settings simultaneously and side by side.  Example of the new settings window:


What is the fastest way to count all set bits? The number from which I am counting bits is from 1<=n<2^63, only positive values. For now I use bitset from the library and it is pretty fast, but if there is any faster option I would like to know.  In the worst case scenario I have over 1 billion iterations, so I am looking a way to speed it up.  This is the part of my loop where I am counting the setted bits: if (std::bitset<64>(currentNumber).count() == numofOnes) ++counter;


I am trying to use the tcpdump command in a project and I have some difficulties understanding the help page.  SYNOPSIS    tcpdump [ -AbdDefhgHIJKlLnNoOpPqRStuUvxX ] [ -B buffer_size ] [ -c    count ]            [ -C file_size ] [ -G rotate_seconds ] [ -F file ]            [ -i interface ] [ -j tstamp_type ] [ -k (metadata_arg) ]            [ -m module ] [ -M secret ]            [ -r file ] [ -s snaplen ] [ -T type ] [ -w file ]            [ -W filecount ]            [ -E spi@ipaddr algo:secret,...  ]            [ -y datalinktype ] [ -z postrotate-command ] [ -Z user ]            [ -Q packet-metadata-filter ]            [ expression ]   First, what is this "[ -AbdDefhgHIJKlLnNoOpPqRStuUvxX ]" at the top ? What is the meaning of that ? I also see a lot of people on the internet doing crazy things with this command, for example tcpdmp -nnvvXSs 1514 ... what is that -nnvvXSs, and how can we know this can be used ?  I see codes examples that according to me does not correspond to the man page, I just don't get how to read, how to understand this help file.  Anybody tell me how to read this and understand it ?


Here is my calculator program  /*program calculator */ import java.util.Scanner; class calculator       { public static void main (String args[])     {   System.out.println("First enter two number , then type Sum for addition, Sub for  subtraction, Mul for multiplication, Div for division");         int x, y;         Scanner in = new Scanner(System.in);         System.out.println("Enter 1st number");         x = in.nextInt();                System.out.println("Enter 2nd number");         y = in.nextInt();                System.out.println("Enter Sum for addition, Sub for  subtraction, Mul for multiplication, Div for division");         String z = in.next();         if (z = "Sum") {a = x + y;};         if (z = "Sub") {a = x - y;};         if (z = "Mul") {a = x * y;};         if (z = "Div") {a = x / y;};        System.out.println("Result of entered two number = "+z);       } }    It is showing an error "incompatible types" in statement if (z = "Sum") {a = x + y;};  and I think it must have more mistakes. I am a beginner. I would like to make this program perfect with no errors, so it work exact same like a small calculator.


Exponential Word Problem $s(x)=5000-4000e^{-x}$.

I need help with this word problem. Much appreciated.  Sales of a new model of word processor are approximated by $S(x)=5000 - 4000e^{-x}$, where $x$ represents the number of years that the word processor has been on the market, and $S(x)$ represents sales in thousands of dollars. When will sales reach $4,500,000$?


Can I find out the return value before returning while debugging in Eclipse?

Is it possible to see the return value of a method after the line has been run and before the instruction pointer returns to the calling function?  I am debugging code I can't modify (read: don't want to re-compile a third party library), and sometimes it jumps to code I don't have source to or the return expression has side effects that stop me being able to just run the expression in the Display tab.  Often the return value is used in a compound statement, and so the Variables view will never show me the value (hence wanting to see the result before control returns to the calling function).  UPDATE: I can't use the expression viewer as there are side-effects in the statement.


How and why would I "claim ownership" of a paper on arXiv?

My colleague has just published a paper on which I am co-author. This is the first paper that has my name on so I am not familiar with the systems yet.   He has received an email from arXiv to confirm his submission and it gave a "paper password". It recommended he forward this to the co-authors so "They may use it to claim ownership."  What does this mean, why would I want to do it and how do I go about it?


How to get a random function with a truncated normal distribution?

My goal is to have a function that given an input value will output a random value that follow a truncated normal distribution,  could you please suggest a function that can do that ? Or guide me a good reference


Past Perfect Tense or simple past tense for two past actions

Are the below sentence constructions are correct for past perfect tense? I am aware that past perfect tense is used to tell about past of past i.e. if there are two actions in the past and we want to emprise on which action completed first.   My question is, Are the below sentence constructions are correct as past perfect tense because these sentences have two past? Or simply simple past tense will do?  I want to tell someone that  1 Past) He had called me 2nd Past) but I could not picked his call because of xyz reason.  1 Past) I had gone there for interview 2nd Past) but did not get select due to xyz reason.  1 Past) Where you had gone 2nd Past) when I called you?  Or simply simple past tense will do?


Safari won't let me access hardware web front-ends anymore

I use to be able to login to most hardware, even after the message This connection is not private popped up. I just had to enter my admin password and I was fine but now this no longer works.  Anyone else with this issue? It works fine if I use Google Chrome.


How do you clean and season a cast iron pot?

Unlike a cast iron skillet I'm having a much harder time keeping a pot clean and rust free. I use it mostly for roasts on occasionally some stews, any tips or difference in care between the two?


How to calculate $\lim_{(x,y)\to(0,0)}\frac{xy^4}{x^2+y^6}$?

$$\lim_{(x,y)\to(0,0)}\frac{xy^4}{x^2+y^6}$$  I know the limit is 0 if it exists. I want to solve using squeeze theorem but I don't know what to use for the upper function.


Prove that Open Sets in $\mathbb{R}$ are The Disjoint Union of Open Intervals Without the Axioms of Choice

There are several proofs I have seen of this, but they all seem to use choice subtely at some point. Is there any way to prove this without choice, or is it possibly unproveable?


My OBJ file for a model on the game robux has color but when I import it into the blender it comes out gray? Can anyone assist me


What is the rule when the ball touches both the bat and the batsman's body?

If a ball bowled to a batsman hits the bat first and then hits the pad/any part of the batsman's body, what is the rule on getting runs or boundaries or catch at this situation? If a ball bowled to a batsman hits the pad/any part of the batsman's body first and then hits the bat, what is the rule on getting runs or boundaries or catch at this situation?   We can see the above situations most of the times in international cricket matches.


Continuity equation for a charged particle

I am trying to prove the continuity equation for a charged particle moving with some speed v. So, I start with the charge density and current density as, \begin{align} \rho(x,t) & = q\delta(x-vt) \\ J(x,t) & = q v \delta(x-vt) \end{align} It seems that one would have to take a derivative of the delta function to prove the continuity equation. How does one take such a derivative?


I want to have a data structure conformed by a list of deques. So, taking advantage of the FIFO disposition of elements in a queue, I instantiated the following:  Deque<String> pathQueue = new ArrayDeque<>();   and also,  Queue<Deque<String>> myQueueOfDeques = new LinkedList<Deque<String>>();   However when I add each deque and print myQueueOfDeques, it appears with the correct size of empty fields, e.g. when it is supposed to store three deques it shows [ [], [], [] ]. Here is the portion of the code.  for (Element leaf; (leaf = (Element)walker.nextNode()) != null; ) {             for (Node node = leaf; node.getNodeType() == Node.ELEMENT_NODE; node = node.getParentNode())             {                 pathQueue.addFirst(((Element)node).getAttribute("id"));             }             myQueueOfDeques.add(pathQueue);             pathQueue.clear();         }  System.out.println(myQueueOfDeques);   Clearly the problem is that I keep thinking it as the way data structures work in c++, however I know this is java and I'm having a hard time. I already read the documentation for different structures found here


I was ask by my daughter, "May you tell my brother to call me"? Is this the correct way to    ask this question?


Where is the Viewer node located at? Blender manual says it is an Output node but it is not under output. I have blender 2.77.  Regards, Koreenium


System restore with no mouse or keyboard

I accidentally installed some USB drivers to my Windows 7 system, they were the wrong ones and now my keyboard and mouse won't work. A system restore would get rid of them, but obviously I can't control my computer to make that happen.  Keyboard and mouse still work before windows has loaded, in the BIOS and boot system, so can I do anything from there? I've already tried booting into another OS, accessing my windows filesystem and deleting the Program Files entry, but it didnt work so they must go deeper than that. Or could i launch it from a remote machine? I've got some VNC server insalled so if i could get that running that could work.


Multiple addons with the same name found!

How do I fix this problem? I don't even know know which add on is duplicated and how to remove it.


How to convert Face Duplication to a permanent single/many objects?

I want to convert a face duplicated object into a permanent object.  For example: If I have a Plane with 100 faces and each face is duplicated by an object (let say: a cylinder), then the converted Plane should create 100 individual cylinders or a single object with 100 cylinders.  Is there any way to do it?


How can I upgrade from Mac OS X Tiger 10.4?

If I buy a regular retail Snow Leopard disc (i.e. the £25 version), can I use it to upgrade a Mac from Tiger (10.4)?   on the Apple Store’s Q&A site suggests it’ll work, but Apple seem to imply that you need the (significantly more expensive) Mac Box Set (“”).


Introduction  This is less of a "how to" on using 2D simplex noise and more of a quest to understand what is happening both in the math and visually. I would rather not copy and paste the code I've found. I really would like to understand it.  I have done my homework on the subject and have read through  and other sources many times. I feel like I understand about 70% of what my sources are saying, but when I try to manually follow my code loop through to check my understanding I either get hung up on what the variables represent or the math just doesn't add up.  I have begun to rename the variables in the code I've found in order to better understand what's going on. If someone with some knowledge of what is actually happening can cross reference the original code (basically Gustavson's code) with  that would be most excellent. I'm not actually done with renaming the variables though, partly because I'm stuck.  My Understanding  Let's say I pass pixel (2, 3) into my noise function. At this point I'm working with a normal grid and my goal is to translate this normal grid into a simplex. This simplex is in the form of many triangles since we're working in 2D and supposedly this is better for various reasons.  To translate this point from the normal grid to the simplex grid, I must scale the point along the main diagonal line. After doing that, I apparently don't care about the decimals because I then Floor the results putting it back near the closest previous grid point.  Now I'm going to align the simplex cell to the normal grid by unskewing the simplex cell. Why I do all this work to get to the simplex cell, then undo it I'm pretty hazy on. Seriously, I think the best way for me to understand this is if someone could whiteboard out in steps what the heck is going on here. Super lost.  I didn't walk away empty handed though. I now have what I believe to be the distance between the original grid point I passed in and the simplex point I translated from that original grid point. Woo.  I think I'll stop here for now, just because I don't want this to turn into a huge wall of text. I'm pretty sure the rest of this will click once I understand the the beginning part.  Weird Math  Using the (2, 3) point from earlier, this is what I get by stepping through my own code on paper:  x = 2 y = 3  skewfactor = 1.830 unskewFactor = 1.479 unskewed_x = 1.520 unskewed_y = 2.520 simplexCell_i = 3 simplexCell_j = 4 x_distance0 = -1.520 y_distance0 = -1.520 i1 = 0 j1 = 1 x1 = -1.309 y1 = -2.309 x2 = -2.5207 y2 = -2.5207 ii = no idea why this isn't i2 or something like that. No idea what this is. jj = same   Not sure if plotting on a graph would work, but I tried and it looks so bad. I used the original parameters (2, 3), simplexCell_i & j, i1, j1, x1, y1, x2, and y2. Doesn't make any sense visually.  Not just visually, but mathematically as well. What's with (2, 3) returning negative numbers that go off the chart? What am I doing wrong here?


Turning automatic placing of tables/figures off

I have noticed that table or figure is sometimes (I haven't figured the pattern yet) automatically placed before its reference, regardless of the code and [!h] (or [!ht]). Is it possible to turn this off? Better said, can I stop LaTeX playing with MY figures and tables (and do everything manually)?


I was having some trouble with the following exercise from Atiyah-Macdonald.     Let $A$ be a subring of $B$ such that $B$ is integral over $A$. Let $\mathfrak{n}$ be a maximal ideal of $B$ and let $\mathfrak{m}=\mathfrak{n} \cap A$ be the corresponding maximal ideal of $A$. Is $B_{\mathfrak{n}}$ integral over $A_{\mathfrak{m}}$?   The book gives a hint which serves as a counter-example. Consider the subring $k[x^{2}-1]$ of $k[x]$ where $k$ is a field, and let $\mathfrak{n}=(x-1)$. I am trying to show that $1/(x+1)$ could not be integral over $k[x^{2}-1]_{\mathfrak{n}^{c}}$.  I have understood why this situation serves as a counterexample. But I am essentially stuck at trying to draw a contradiction. A hint or any help would be great.


How to extract delimited entries that match criteria?

I have a log file where each entry is delimited by a series of ---, similar to this:  ----------------- Name=Operation1 Time: 100 Status=Success ----------------- Name=Operation1 Time: 500 Status=Failure ----------------- Name=Operation2 Time: 200 Status=Success ----------------- Name=Operation2 Time: 800 Status=Failure -----------------   I would like to extract all of the entries matching certain criteria (i.e. all entries where Name=Operation1 or all entries where Status=Failure). I thought I could use agrep as follows: agrep -d "---*" -e "Name=Operation1" mylogfile > myfilteredlogfile but after inspecting the file it doesn't seem to filter as I expected. What's wrong with my filtering and how can I extract my desired entries?


I had two installations of PHP, PHP5.6 and PHP7.0, working as PHP-FPM/PHP_CGI packages in Ubuntu 14.04 with Apache2. I installed 16.04 thinking that it would not interfere with the third-party (ie: non-linux, non-ubuntu) software installations already in place, but I was obviously very much mistaken in that assumption. It seems that my PHP 5.6 installation was purposefully targeted by the installation and "nullified", but why? Security fixes will be made to PHP 5.6 until the end of 2018!  Why break all the work that I did in setting that up?  All the other posts that I have seen seem to want me to have PHP5.6 or the default PHP 7.0 on my server, but not both. Is there anyway I can have both installations working in 16.04, or do I have to (and can I) revert back to 14.04?  Thanks to anyone who can help.


Create shapefile from data postgis / kml using java

I'm working on a geographic information system project, whose products form shapefile. I am using java language, and PostGIS database. Is there a way to generate a shp file from PostGIS or kml using java language?


small cakes/muffins not rising correctly

My small cakes for example muffins are not rising correctly.  They rise lopsidedly and spill over the paper cases.  Nothing wrong with oven.  I've tried various things, eg wetter mixture, drier mixture, smaller quantity in case, larger quantity in case, it's as if the fan  is blowing the cake mixture off to once side.  Doesn't happen with all my cakes mainly the small ones.  Any ideas ?


Adding popup message box before tool execution with ArcPy and ArcMap

I want to add a box message to pop up before execution of a button tool. When I click a button which will do geoprocessing, I want a box to appear on view before processing with message that I am about to do xxx processing. How do I do it?


Powering circuit directly from USB while charging li-ion battery side by side

What I am thinking of implementing: 1. I have remote monitoring circuit using gsm which senses electrical parameters like phase, power, ac supply etc. Now considering case of no ac supply available then also device should be able to send notifications. to achieve this I am thinking of running module on battery(3.7v Li-Ion). 2. As it is remote monitoring system, so battery will always be connected to supply for charging.  As per my knowledge one should avoide keeping battery connected for charging for all the time, it will reduce life of battery/overheating/overcharging are the parameters comes into the picture.   If I do like |Wall Adapter((ac-dc smps)|-->|battery charger|-->|circuit| above mentioned parameters will participate. If I do like Wall Adapter and battery to use in parallel using OR ing with two diodes or using relay or using IC's like TPS2104/MAX 6326/TPS2110 etc then how can I take care of side by side battery charging?   I googled so many things to implement this but not found useful or may be I am not looking into right direction. I referred similer link '' but no luck. Even I looked into the data sheets and videos for li-ion charging circuits using MCP73831 or TP4056.  I am totally confused how to proceed further. Is it a good idea to use |Wall Adapter((ac-dc smps)|-->|battery charger|-->|circuit| or using Wall Adapter and battery in parallel and side by side charging battery. or to use wall adapter when supply is available and side by side charge battery so that I can use battery when power will be absent.  I know UPS works same way like it powers directly from supply all the time and charging battery side by side. At the time supply is interrupted it switched to the battery. I am looking for simple solution, and I think this is a right forum I am looking for a solution. Thanks in advance...


No space left on device -- but there is space

I'm running an Ubuntu 12.04.1 server in a VMware virtualized environment that has a strange issue. Twice now, at seemingly random times, the machine has suddenly been unable to write to the root partition despite plenty of space seemingly available. I'm at a loss trying to figure out what's wrong.  "df -h" shows all mounted volumes with 40% or more free space. Both times this has happened, rebooting resolved it for a few minutes, and then it was back to saying "no space left on device." Restoring it from a snapshot seems to fix it for longer, but since this has now happened again, I'm not sure what to do with it.  If it helps, the machine is a network print server running CUPS 1.5.3 and Samba 3.6.3.


I'm trying to use Ubuntu to create a Mac Boot USB using a Mac installation iso file. I tried Startup Disk Creator, but that won't recognise the iso file. Can anyone here point me in the right direction to achieving this?


"You are going to fight in the war like David once did."   I have two questions:    Should "like" be replaced with "as"? Is it ever acceptable to use "like" in this sentence even though "as" is the proper word to use?


It has been a while I write javascript and I never used try catch. I prefer if else. When you used try catch and why it's useful compared to a simple if else statement?


Cannot get an access to one of my user accounts

I have two administrator and one guest user accounts on my computer. I have set password to one of my administrator accounts and forgot.   Can I get back access to that account trough the second administrator account, or how can I recover my password?


When I'm running through Sanctuary killing the forces of Hell, sometimes I find myself in so much of a hurry that I fail to pickup a particular item or bundle of dropped coins.  Assuming I survive the pack of demons chasing me, how long do I have to pick up items left behind on the ground before they disappear into the aether?


No wifi on HP Pavilion DV7 with Ubuntu 12,04

I recently updated to 14.04 but I found a whole lot of problems and decided to revert my changes with a clean install of 12.04. I didn't have any problems with the wifi before but now I can't seem to get it online  running nmcli nm  RUNNING   STATE        WIFI-HARDWARE WIFI     WWAN-HARDWARE  WWAN running   disconnected enabled       enabled  enabled        disabled   running vi /var/lib/NetworkManager/NetworkManager.state  [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true   running iwconfig  eth0  no wireless extensions lo    no wireless extensions   running ifconfig only gives eth0 and lo so no wlan interface  running lspci -nnk | grep -iA2 net  07:00,0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06) Subsystem: Hewlett-Packard Company Device [103c:165a] Kernel driver in use: r8169 -- 0d:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 10) Subsystem: Hewlett-Packard Company Device [103c:145a] Kernel modules: bcma   running sudo apt-get install bcmwl-kernel-source  sudo apt-get install bcmwl-kernel-source  [sudo] password for timothy:  Reading package lists... Done Building dependency tree        Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I just finished installing mysql-server, and then installed phpmyadmin which came with Apache and PHP. It set it up alright and made a phpMyAdmin database, but I can't seem to find the URL to get to it -- I tried going to  but it doesn't seem to be there.  I can't find the location in any of the manuals, does anyone know where this is located? Thanks.


Reprojecting lyr file of Tiled Internet Layer created in ArcGIS Online?

I have an ArcGIS lyr file describing Tiled Internet Layer (according to Data Source tab in properties). This file was created in ArcGIS Online by defining a new tile layer and downloading it.  Everything is OK with it except the projection. ArcGIS Online sets the projection of any newly created layer as WGS_1984_Web_Mercator_Auxiliary_Sphere which is not correct in this case.  I need to change it to a proper one.  What i've already tried:   Change projection by redefining it via toolbox (Data Management -> Define Projection. This gave me an error in ArcMap. Rough text edit of lyr file (by replacing a WKT-string with projection definition). This gave me an error when I'd tried to add it to a MXD (something like "Adding the selected layer file failed. Maybe it was created using a newer version of ArcGIS" which is not true) Change projection in ArcGIS Online   Is there any way to change the projection of such layer?


How to reorder pages in a beamer handout?

I would like to export the 8 slides of a Beamer presentation in 2 pages (4 slides per pages) in such a way that, when those pages are printed recto-verso, folded and cut, I get a "Scientific Comic book" of the presentation, to hand out to the audience. (I am starting with 8 to simplify, I would later like to scale to 3*8 = 24.)  Beamer handout is almost doing the trick, but one would need to put the slides in a distinct order to that after folding one does see the slide in the correct order (e.g. (n,1,n-1,2,n-2,3,...,n/2,n/2+1)). Hence my question: can one specify in which order the slides appear in the beamer handout (and how)?  I was almost sure that someone, somewhere, must have developed an entire package to make comics in LaTeX (there are package for music and many other things), but could not find any mention of any such package (using beamer or not). Maybe I am using the wrong words to describe what I am looking for (latex comic book brings many other types of results...)


I love using zsh but there is one feature that bash has that I miss. It is this one:  ➜  ~  bash  dbugger@mercury:~$ man2html The program 'man2html' is currently not installed. You can install it by typing: sudo apt-get install man2html-base  dbugger@mercury:~$ exit exit  ➜  ~  man2html zsh: command not found: man2html   When I type a command that is not install, but it can be easily installed, bashtells you so, but zshno.  Is there any way to fix this?


How to extract fractional digits of double/BigDecimal

Say we have a double value of 12345.6789 (should be dynamic)  Now the requirement is split the number and get the decimal digits and fractional digits, which would be:  double number = 12345.6789; int decimal = 12345; int fractional = 6789;   I get the decimal part work out but could you please give a hint on the fractional part? Thanks a lot.


If $f : D(0,1) \rightarrow \mathbb{C}$ is a function, $f^2$ is holomorphic, and $f^3$ is holomorphic, then prove that $f$ is holomorphic.   MY ATTEMPT SO FAR:  If $f^3$ is holomorphic, then we can say that $\frac{\partial}{\partial z}(f^3)$ must be holomorphic. Since the chain-rule for differentiation still applies with complex-valued functions, we can say that  $$\frac{\partial}{\partial z}(f^3) = 3f^2\left(\frac{\partial f}{\partial z}\right) \implies 3f^2\left(\frac{\partial f}{\partial z}\right) \textrm{ is holomorphic}$$  Now it may be unclear whether this implies that $\frac{\partial f}{\partial z}$ is holomorphic even knowing that $f^2$ is holomorphic. Certainly the product of two holomorphic functions must be holomorphic, but the case in which one is holomorphic and the other isn't but the product of those two function is holomorphic isn't as clear, so it will be shown.  Suppose we have two functions, $g$ and $h$. Suppose $g$ is holomorphic on some open subset $\Omega \subset \mathbb{C}$. Now suppose their product, defined as $\eta = g\cdot h$, is holomorphic. This means that $\eta \cdot (1/g)$ is holomorphic except at those points in $\Omega$ where $g$ is zero. Thus, $h$ must be also holomorphic at all points except those in which $g$ is zero, so $h$ is at least meromorphic.  Using that, we can see that $\frac{\partial f}{\partial z}$ must be at least meromorphic, being holomorphic at all points with no guarantee as to whether it has singularities at those points where $f^2$ is zero.  And that's where I'm stuck. I know that $\frac{\partial}{\partial z}(f^3)$ and $3f^2$ are related, but as long as the possibility that $\frac{\partial f}{\partial z}$ blows up at those points where $f^2\rightarrow 0 $ has to be considered, I'll stay confused.  Is my approach alright, or should I completely change what I'm doing? Have I gone wrong anywhere? Should I be more explicit anywhere? Could you give me a small minor hint as to which direction I should go?


Illustrator: Opacity Mask Makes Image Grayscale

I have text that I am trying to turn into a opacity mask, but when I do the image that I am masking turns into grayscale. Any ideas why?


Creating a template class for a pair that returns a pair

the code isn't working and I'm not sure where I've gone wrong any help would be much appreciated this is the details of the assignment create a class template by writing a template for a class named "Pair". This class will represent a pair of data members of a type that is parameterized in the template definition. For example, you could have a Pair of integers, a Pair of doubles, etc.  /* so I'm trying to implement this driver this is the driver.cpp file and  * I'm trying to do it with a template class */  int main() {    Pair<char> letters('a', 'd');    cout << "\nThe first letter is: " << letters.getFirst();    cout << "\nThe second letter is: " << letters.getSecond();     cout << endl;    cin.get(); }  //this is my .h file code template <class T> class Pair {    private:       T first;       T second;    public:       Pair(const T, const T);       T getFirst();       T getSecond(); };  //this is my Pair.cpp #include "Pair.h"   template<class T> Pair<T>::Pair(const T first, const T second) {    return first, second; }  template<class T> inline T Pair<T>::getFirst() {    return first; }  template<class T> inline T Pair<T>::getSecond() {    return second; }


Do any one-key-of-many cryptographic schemes exist?

I'm pretty sure I understand how public/private key cryptography works. Anybody can encrypt a message using a well-known public key, but only the person who holds the private key can decrypt it.  My question concerns securely sending a message to multiple people. Say there are n public/private key pairs. Is there a way to encrypt a message using the n public keys such that any one of the private key holders can decrypt the message in its entirety, but nobody else can?  Further, unrelated to public/private key cryptography, is there any scheme where there are n shared keys such that anybody who knows the n keys can encrypt a message such that any one of the shared keys can decrypt the message in its entirety, but nobody else can?


Please read the following text. This text is part of Leonardo Sauskind's book. It says that the relation F = m v is reversible. Why?


Can there be a feature that redirects an off-topic question to the appropriate Stack Exchange site?

Background  I was on Stack Exchange today, asking a regular ol' question, the gist of which was:     What library do you use to make GUI-based apps in Java?   I asked it based on how apps that have used those libraries fared historically. Now, I understand that it was my fault for not reading the help center manuals and asking a question that was off-topic. However, almost immediately, my question began to get downvoted and in less than 10 minutes it was deleted.  So What?  Now, I understand that this reflects Stack Exchange's hardcore policies for questions that don't serve their purpose on X website, but to a beginner user of Stack Exchange and a beginner in the world of technology in general, I feel quite upset and demotivated when such action is taken so abruptly. The reason I come to Stack Exchange is because I don't want to ask my questions on a more controversial platform like Reddit,  when I know that there exists a larger community of well-experienced developers who can help me.  Now, in light of that, my question was closed due to being 'off-topic', which is totally understandable. However, when I asked whether there was any place that could accept this question, I was replied to in the negative. So here is my feature request:  Is it possible that when someone finds a question to be off-topic, they can request to have it redirected to the appropriate Stack Exchange  website? If not, then could a request be opened to potentially open a Stack Exchange website with the intent of addressing such issues if they appear in a large enough quantity?  I understand that then a large number of user requests would then have to be processed for websites that would serve little to no purpose for the larger community at whole. In that case, could the question simply be marked as something like Not A Valid Question but still have users respond and answer to it so that at the very least an answer is reached? This type of question wouldn't affect the reputation of any respondent or asker or have its upvotes/downvotes affect its appearance on the website. Then perhaps you could warn the user about such a question in the future and direct them to the appropriate places to ask such a question should the need arise.  Thank You for reading this!     NOTE: I added the off-topic tag because I am afraid that this may be off topic.


I have read  that a quotient set may have a cardinality strictly greater of the starting set in ZF. I would to know if we add to ZF the axiom "for every set $X$ and equivalence relation $\thicksim$ on $X$, we have $|X/\thicksim|\leq|X|$". I was wondering what theory we obtain, certainly it is strictly stronger than ZF and weaker than ZFC, but is strictly weaker than ZFC or is equivalent? I was looking to proof that is equivalent considering a nonempty family $\{X_i|i\in I\}$ of nonempty set and i considered the relation on the product $X=\prod\{X_i|i\in I\}$ fixed a factor $X_j$, and let $p_j$ the projection, $(x_i)\thicksim(y_i)$ iff $x_j=y_j$, my idea was that the quotient $X/\thicksim$ is substantially $X_j$ (in particular they are in bijection) but now i think this doesn't work.


I've this image:    I'd like to softly "blend" the borders of the "grey" one, let it fade to white, so not a heavy separation between the two colors. Not sure how its call in Graphic Design; blend right?  How can I do in Photoshop? (I'm using the CS6).


localhost refused to connect after upgrading to High Sierra

After upgrading Mac to High Sierra and some other upgrades there is a problem connecting to localhost. Actually, upgrading to High Sierra was OK but according to the Mac update history the last update was to MacOS High Sierra 10.13.3 Supplemental Update.  It was kind of strange because the problem started after I hit restart with update but this update required one more specific restart.  The Spring Boot applications work fine. I can connect to them from a test client using opened ports. A connection to the Apache server form the browser also works fine. However, the browser connections to my applications are not working


I am trying to populate Field B based on the value in Field A and the next value in Field A. I'm having trouble with the syntax for getting the "next" value in Field A. Here is my current code:  with arcpy.da.UpdateCursor(copyFile, ['OID@', 'FieldA', 'FieldB']) as cursor:     counter = 1     for row in cursor:         row[2] = counter         fieldA = row[1]         # get next fieldA         if fieldA == fieldA_next:             counter += 1         else:             counter = 1         cursor.updateRow(row)   And here's what I'm trying to produce (FieldA is known):