When I try to remove the virtual box installed on ubuntu as follow,   sachin-verma@sachin-verma:~$ sudo apt-get remove virtualbox-5.1  Then it shows following errors:  Reading package lists... Error! N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages E: The package lists or status file could not be parsed or opened.   Please help me out ?  PS.- This is also happening, when I am trying to uninstall other packages.

The computer gave me this output in a window:  E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages E: The package lists or status file could not be parsed or opened.   How can I fix this?


Q: Let $p$ be a prime and let $e \ge 2$. The quotient ring $\mathbb{Z}/p^e\mathbb{Z}$ and the finite field $\mathbb{F}_{p^e}$ are both rings and have the same number of elements. Describe some ways in which they are intrinsically different.  My textbook confirms my understanding that $\mathbb{Z}/p\mathbb{Z}$ and $\mathbb{F}_{p}$? are the same thing.  With $\mathbb{Z}/p^e\mathbb{Z}$, there will be elements that don't have multiplicative inverses, so it is not a field. What is $\mathbb{F}_{p^e}$ if it's not the same as $\mathbb{Z}/p^e\mathbb{Z}$?

I heard that one can construct field based on $p^n$ elements where $p$ is prime. I tried with $p = n = 2$. It seemed easy as there are 2 groups which $\{0,1,2,3\}$ can form and 1 group formed by $\{1,2,3\}$. However each time I get into contradiction. Is there anything I missed or it is not possible to form $p^n$ element group?


I'm self-studying Introduction to Statistical Learning. Page 19 of the book states the following:     Consider a given estimate $\hat{f}$ and a set of predictors $X$, which yields the prediction $\hat{Y} = \hat{f}(X)$. Assume for a moment that both $\hat{f}$ and $X$ are fixed. Then, it is easy to show that      $$ E(Y-\hat{Y})^2 = E[f(X) + \epsilon - \hat{f}(X)]^2 = [f(X) = \hat{f}(X)]^2 + Var(\epsilon)$$   Question: How exactly is the step from $E[f(X) + \epsilon - \hat{f}(X)]^2$ to $[f(X) = \hat{f}(X)]^2 + Var(\epsilon)$ justified?

On page 19 of the textbook  (by James, Witten, Hastie and Tibshirani--it is freely downloadable on the web, and very good), the following is stated:  Consider a given estimate $$\hat{Y} = \hat{f}(x)$$ Assume for a moment that both $$\hat{f}, X$$ are fixed. Then, it is easy to show that: $$\mathrm{E}(Y - \hat{Y})^2 = \mathrm{E}[f(X) + \epsilon - \hat{f}(X)]^2$$ $$ = [f(X) - \hat{f}(X)]^2 + \mathrm{Var}(\epsilon)$$  It is further explained that the first term represents the reducible error, and the second term represents the irreducible error. I am not fully understanding how the authors arrive at this answer. I worked through the calculations as follows: $$\mathrm{E}(Y - \hat{Y})^2 = \mathrm{E}[f(X) + \epsilon - \hat{f}(X)]^2$$ This simplifies to $[f(X) - \hat{f}(X) + \mathrm{E}[\epsilon]]^2 = [f(X) - \hat{f}(X)]^2$ assuming that $\mathrm{E}[\epsilon] = 0$. Where is the $\mathrm{Var}(x)$ indicated in the text coming from? Any suggestions would be greatly appreciated.


I want to switch from WordPress to a site I want to build with Python and the JustPy web framework(Python wrapper built around Quasar). I plan to use things like  and other tabbed features that do not immediately show the content when the page loads. My question (fear) does that tabbed content affect SEO in some way? Also, I know Python well, but I have no knowledge of how to optimize HTML for SEO. Are there other negative outcomes of switching from WordPress to a custom-made Python site SEO-wise?

My customers are eager to show news categorized in tabs.  I recently developed it for them.  In my experience in web designing, display:none is used widely in implementing tabs. I also know that it is not good for SEO.  Is there any way to have tabs but without hurting SEO factors?


I have bought all their records after the concert. I bought all their records after the concert.  Which one is correct? I understand when we use the present perfect and when the past simple, I just wanted to know if the expression 'after the concert' could also mean the period of time since the concert and up to the present day? Would that allow the use of the present perfect?

When is the present perfect tense used instead of the past tense?    I know that the present perfect tense is used when some adverbs (e.g., never, ever) are present in the sentence; the same is true for sentences like the following one.     When you returned, I have been at home since 3:00 PM.   In which other cases should I use the present perfect? Do the following sentences require it?     I have walked downtown everyday for a year.        I have been at home since 3:00 PM.


Following is my java code block i am not able to come out of while block, the same code run's perfect in other module. kindly help me  public void current_ER(View v){         try{                  String[] parameters= {uid};                 Caller c=new Caller();                  c.url="current_ER.php";                 c.parameters=parameters;                 c.join(); c.start();                  String result=MainActivity.result;                 System.out.print("before while");                 while(result=="START") {                     try {                           Thread.sleep(10);                            System.out.print(result);                      }                     catch(Exception ex) {                            ex.getLocalizedMessage();                     System.out.print("in catch");                      }                 }                 System.out.print("after while");                     Toast.makeText(this, "ER Details->"+result , Toast.LENGTH_LONG).show();                 {                                        System.out.print("before start indent block");                     /////////to next screen////                     Intent Manage_Expense=new Intent(this,Manage_Expense.class);                     Manage_Expense.putExtra("er_details", result);                     //MainActivity.result="START";                     Toast.makeText(this, "ER Details->"+result , Toast.LENGTH_LONG).show();                     //startActivity(Manage_Expense);                 }  }catch(Exception e){                 System.out.println(e.getMessage());  }      };

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I want use db_update to update a field,instead of update a field with new value (replace) , I want add a value to last value,  I know I can do it with mysql command    UPDATE `databasename`.`tablename` SET fieldB = fieldB + 1 WHERE fieldA='2';   but I use below code, It is not add to credit field, only replace it with $credit value,  anybody know where is my problem and how can I achieve this job?  $cr_update_no = db_update('rah_cc_credit') // Table name no longer needs {}                 ->fields(array('uid' => $user->uid,'update_date'=>REQUEST_TIME,'last_code'=>$code ,'credit' => 'credit'+ $credit))                 ->condition('uid', $user->uid, '=')                 ->execute();

I am converting some module from d5 to d7, and in old code there is an update query like this:  <?php db_query("UPDATE {a_table} SET count = count + 1 WHERE field1 = %d", $some_value);   As we see, it is incrementing a field value (AFAIK it is a mysql feature). But, if I use new style of update it won't work.  <?php db_update('a_table')     ->fields(array('count' => 'count + 1',))     ->condition('field1', $some_value)     ->execute();   Are there any workaround within new style of db update without running an extra query to get existing field value to increment it?


I just purchased a new Dell Inspiron 5558 laptop with built-in installed Ubuntu 14.04, that has a single partition and I have only one problem: I  want to shrink my 1TB drive partition; this Partition has installed Ubuntu and all of my user data installed in it.  I want to make a second 500GB partition.  How do I create a second partition from this single one without losing any data?

How can I increase the size of the root partition of a system at runtime?   I have a partition that is not allocated after the root partition (which is also ext4), how can I add that unallocated space to the space allocated to the root partition without having to shutdown the server?


On Linux, we can use  sudo bash   to run a shell as the superuser.  On Windows 7, we can use     Start menu -> (in search box, type) cmd -> Right click on search result and choose Run as Administrator   to run a command prompt as an administrator. Is there also a command prompt line that is like Linux's sudo or su so as to start a shell as an administrator?

I always work on a non-administrator account on my Windows computer. Sometimes I need to install programs which requires administrator access. As I mostly use the Windows command prompt, is there a Windows command to escalate privileges, similar to the Linux terminal command sudo?


I have a basic question in java. from my research I found out that downcasting is not allowed in java because it throws an exception in runtime but in some limited cases such as   But I can't understand why this statement proceeds  HttpURLConnection connection = (HttpURLConnection) url.openConnection() without problem?  (because openConnection() returns a URLConnection object )  be specific  I'm sorry for poor english language because i am not a native speaker

Upcasting is allowed in Java, however downcasting gives a compile error.   The compile error can be removed by adding a cast but would anyway break at the runtime.   In this case why Java allows downcasting if it cannot be executed at the runtime? Is there any practical use for this concept?   public class demo {   public static void main(String a[]) {       B b = (B) new A(); // compiles with the cast,                           // but runtime exception - java.lang.ClassCastException   } }  class A {   public void draw() {     System.out.println("1");   }    public void draw1() {     System.out.println("2");   } }  class B extends A {   public void draw() {     System.out.println("3");   }   public void draw2() {     System.out.println("4");   } }


Sorry for mistakes but I'm not a native English speaker.  In the clean architecture there is a controller and a presenter, what is the sense?  Is it the same controller as in the MVC pattern? Is it the same presenter as in the MVP pattern?  Why use both together?  Look at this:   Can you give me an example?  Is the clean architecture similar to ports and adapters? If yes, where are the adapters?

When looking beyond the  (drag-drop and configure) way of building user interfaces that many tools encourage you are likely to come across three design patterns called ,  and . My question has three parts to it:   What issues do these patterns address? How are they similar? How are they different?


I have a Asus laptop which is running Windows 7. Its a first gen core i3 with a 500gb hdd & 6gb of ram. I would want to install Ubuntu as a secondary OS on my laptop. I asked a friend of mine whether my laptop can run Ubuntu smoothly when installed. He told me that my laptop hardware spec isn't good enough & my laptop will experience performance problems if I install Ubuntu. I just want to get a second opinion. Will it really affect my laptop performance if I do install Ubuntu?

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


Is there a way in ArcGIS 10.1 or QGIS (or any add-on) to create buffer based on an area (i.e. sqm) rather than using buffer distance? I'd like to create a buffer of let's say 5% of the area within the buffer. The problem is that the feature is not regularly shaped. Thanks,  Alex

I'm looking for a way to add a buffer around a PostGIS geometry, but the size of the buffer should depend on size of the geometry. That is, I want each geometry to be enlargened by, say, 5%.  The idea is I'm looking for intersecting geometries, but there could be an error of up to 5% associated with each one which I want to take into account.  Anyone know the best way of going about this?  The database has almsot a million rows, so I'd prefer it to be fairly fast.


$\lim_{x\to0}x=0$ $\lim_{x\to1}x=1$ Limit is unreachable, isn't that mean for x→0 can never be 0? That's why infinitesimal isn't 0, because its limit is 0. (By Wikipedia: infinitesimals or infinitesimal numbers are quantities that are closer to zero than any standard real number, but are not zero.) But if apply the same cases, x→1 has a limit of 1, and $x$ can never be 1. So what's the difference between the $x$ here and 0.999... ? Both of them are approaching 1, not equal to 1 and greater than all the number smaller than 1. If this is true then 1 should only be the limit of 0.999... but not equal. Just as infinitesimal doesn't exist on standard real number system, shouldn't 0.999... also not exist in standard real number system but rather than equal to 1? Where am I wrong? Really looking forward to replies. Can't really accept 0.999...=1 from such reason: there is no real number between 0.999... and 1, so they are equal. Isn't this the idea and concept of limit?

We all know that $0.99999...=1$  So does that imply $[0.99999...]=1?$  Or do we consider it as $0?$  My doubt is: any gif of the form $[0.xyz...]=0$. If $[0.99999...]=1$ won't that be contradicting?   There isn't much clear explanation in the previous post.  Here $[.]$ is the greatest integer function. I couldn't find a post containing this query on MSE. Please help :)


Show that   $$\lim_{n \to \infty} \sum_{k=0}^{2n} \frac{k}{k^2+n^2} = \frac{1}{2}\, \log 5$$  How would you prove this? I understand limits, but summations not so much.  Would I need to take the derivative of the summation first, then evaluate the limit of that?

How to find the value of $\lim_{n\to\infty}S(n)$, where $S(n)$ is given by $$S(n)=\displaystyle\sum_{k=1}^{n} \dfrac{k}{n^2+k^2}$$   is unable to calculate it.  This is a question from a questions booklet, and the options for the answer are--  $\begin{align} &A) \dfrac{\pi}{2} \\ &B) \log 2 \\ &C) \dfrac{\pi}{4} \\ &D) \dfrac{1}{2} \log 2 \end{align}$


I recently made  to which I got .  I'm very appreciative of the fact that the user took so much time to write up such a comprehensive answer and would like to give them some of my rep. Granted, he's at 53k rep and doesn't need the little extra he'll get from me, but I still want to show my appreciation; and stalking him to find his address to send him a basket of muffins is a little too creepy, even for me.  Now, I could start a bounty, but there are three problems with doing that:   I'm not looking for a better answer If I were to start a bounty, I'd have to be fair and consider all new answers as well, before awarding it The posted answer has been posted as a community wiki, so I'm not sure that he'd even get the bounty if I awarded it to his post.   So short of reading all his posts that I can understand to upvote him a lot (so he'll get the +5/10 rep for each one), is there a way that I can give him some of my own rep (a la manual bounty award) as a "thank you"? Note that I'd have to be really careful if I choose to go down the serial voting path, so as not to trip the "suspicious voting" script []  PS: I've already looked at  and  and they're not duplicates of this question

It's possible to offer and award bounties of reputation on questions.   What is a bounty? How can I find questions that have a bounty attached? How do I start a bounty? When can I start a bounty? Why is the system requiring me to choose a bounty amount that's higher than the minimum? Can I use Markdown formatting in the bounty remarks? Can I edit the remark? How long is the bounty period? How do I award a bounty? Can I award a bounty to my own answer? Can I award a bounty to an old answer? If I offer a bounty on someone else's question, can I award the bounty to their answer? After awarding the bounty, can I remove it or move it to another answer at a later time? What happens if there's no answer after the bounty period? What happens if I feel my question is still unanswered? What is automatic awarding? Are bounty awards exempt from the 200 points/day reputation limit? How does Community Wiki mode affect bounties? How does user deletion or post dissociation affect bounties? Can I award a bounty to an answer from a deleted user or one where the author was dissociated? Can I offer a second bounty after the first one has expired? Can I raise my bounty? What happens if a bounty question is closed or deleted? Why can't I vote to close or migrate a bounty question? What happens if I delete my account while I have an active bounty? Do I keep an awarded bounty when I delete my answer? What happens if a question where I awarded a bounty later gets deleted or migrated? Can I cancel my bounty? Can I affect / divide / share part of my bounty to two (or more) users? How many outstanding bounties can a single user have?      See also:  in the Help Center


In game of thrones, s03e07,      Theon is seen to be about to be sliced by Ramsay's men before the scene gets blurred.  In the succeeding episodes, there were no indications that Theon's manhood was really cut-off.  Is there any other parts in Game of Thrones that would prove that Theon's manhood was really cut off?

My friend told me that Ramsay flayed Theon; this question is in two parts:   Is this correct? and What else has Ramsay possibly done?   I have not read the books, but don't mind spoilers from them.


I want to move files from parent directory to sub-directory using command only. because i have only SSH access to remote server.  I have files on /var/www/html/ and i want to move to /var/www/html/myfolder  UPDATE: i somehow followed these steps was able to move files.

I want to move all my drupal files in www folder to html folder. I don't know how to do this in terminal and I'm not sure if all folder and files including hidden ones are drupal in the www folder, is there a way of checking the lesser obvious ones or would www have been empty before and any hidden files will auto recreate?


I don't really remember much, since it was when I was in the 2nd grade, but I read a story in which there was a boy named Arthur. I don't remember the plot nor many of the other characters, but there was a scene where Arthur steals a batch of bananas with his helibackpack? The whole setting was sort of fantasy-ish, and also the illustrations were a bit steampunk but also primitive. Also, the antagonist of the story wanted to murder cheese wheels (the cheese were alive. I know, this was a strange book), so that he could make a cheese fondue. Anyone recognize this book?

I've been looking for the name of that book for a time now, I remember it to be quite funny. Here is what I remember about it:   I read it in French. I remember that it was a book for kids (from 8 to 12 years old I think) It was read to me when I was little by my mother (so I read it between 2005-2010) The main protagonist was a boy who lived in some kind of sewer system or underground, he goes to the surface at the start of the book. I think he had a family member living with him, possibly his grandpa. There is a city on the surface, I think the boy went there to scavenge/steal supplies or other stuff. He used some kind of handmade wingsuit to hover from roof to roof. I don't remember if he could properly fly with it. I remember that cheese was seen as a very valuable ressource. There was a ridicule/surrealist feel to the story. There were water cows. Actual cows that lived in the water. Not manatees. There were walking cheese roulette which were hunted, I think there is a hunting scene at the start of the book. I think that the boy witnessing the scene put him into trouble. This would also explain why cheese was so valuable I think there was some kind of cult/scientist which created a large abominations using cheese. I remember that the main character spends some time with talking pirate rats. The talking pirate rats own a laundry business on a ship. The rat's captain is elected democratically each year or so. I think the protagonist and the rats overthrow the cult at some point but one of the rats falls into a pool of cheese which makes him grow into some kind of severely obese rat, like really big. To save the obese thing, they huddle him onto their boats and then, using some kind of tool, they pump the fat/flesh/cheese out of the rat and send it into ladies's butts. (They also launched some kind of operation to make big butts popular.)


I am currently learning German on Duolingo and one of the phrases for translation is "There is oil on the shirts" which in German comes out as "Oil is on the shirts" which works just as well in English. The addition of "there" in the English phrase reminds me of "do" support in questions: "Does he eat?" vs "He eats?" or "Eats he?" in some other languages.  What is the name of the grammatical feature using "there"?

What part of speech is there in the sentence “There is a book on the table?”  Also, while typing it out, another question pops up vis-à-vis punctuation. In my complete first sentence above, I ended it with a question mark since my main sentence is a question. The quote is not a question, but it looks like it because of the question mark. Is this the right way to punctuate?


I am an Indian citizen and I have a long term EEA residence permit. I will be traveling from Norway to India with transit in Manchester. Unfortunately, I have to check-in again at Manchester as the airlines are different (SAS and Thomas Cook airlines). Will I need a transit visa?

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


I have followed this tutorial at the end of the video to a T and when I play the animation, the bullets just fall straight to the ground and land with literally no change. In the tutorial they start to "float" in different directions as they fall which makes them scatter once hitting the ground. I have all the settings exactly the same so no idea where I went wrong. Any ideas??? See photo of after I play the animation. This is the tutorial. Fast forward to about 2 hours.

I'm having some issues with the simulated animation from learning blender. specifically my arrays of 30mm vulcan bullets, they all fall too uniformly perfect. The tips come off all at same time and start to tilt in exact same direction before unrealistically landing in a pile. separate by geometry, individual origin points. I have asked, on blender.chat, Chamferzones youtube page, chamferzones discord, and have watch the tutorial like 5 times. His results are different. I have searched for arrays and gravity rigid body physics and cannot find anything useful. This is an image at frame 5 or so as they begin to fall.   Blend file link.  I have never shared a blend file hopefully that works if not let me know how. I packed external data and made relative just in case, not sure if i needed to though.


Hi when I do in one of my user controls in a WPF application,  this.KeyUp += new KeyEventHandler(ControlViewer_KeyUp);   or   this.KeyDown += new KeyEventHandler(ControlViewer_KeyUp);   or  this.AddHandler(Window.KeyDownEvent, new KeyEventHandler(ControlViewer_KeyUp), true);   I can never get the key events to fire when pusing a key on the keyboard.  Would anyone know why?

I have a Page with a UserControl on it.  If the user presses Esc while anywhere on Page I want to handle.  I thought this would be as easy as hooking up the PreviewKeyDown event, testing for the Esc key, and then handling it.  However, when I placed I breakpoint in the event handler I found it was never getting called.  I thought perhaps the UserControl might be getting hit, so I tried PreviewKeyDown there... same result.  Does anyone know the proper place to test for a KeyDown or PreviewKeyDown on a Page object?


This is no duplicate. I have own questions to it, that I want to have explained.  I recently read about this thing Galileo discovered with severel experiments. Everything, with any mass, falls at the same speed, on the moon.  Ok maybe... explanations always mention the missing air resistance and that two falling objects with different mass are attracted with the same gravity... I'm no expert. All the calculations seem right in any way, but I have a logical problem while thinking it through.  Assumption: I have two cuboids, one made of solid steal, the other one is of hollow plastic. These two objects have the exact same dimensions. You can only differ them by lifting.  Now, I drop them both from the same hight on a flat surface. I assume, that the heavy one hits the ground first. Is that the case, because of density?  If yes: If I resize/inflate the heavy cubiod to a height (same bottom dimensions as the other, that its air resistance during falling stays the same) where it has the same density as the lighter object (weight stays also the same), will they fall at the same speed now?  Would they (same size and shape, different weight) hit the surface at the same time, if I dropped them in a vacuum chamber?

I'm far from being a physics expert and figured this would be a good place to ask a beginner question that has been confusing me for some time.  According to Galileo, two bodies of different masses, dropped from the same height, will touch the floor at the same time in the absence of air resistance.  BUT Newton's second law states that $a = F/m$, with $a$ the acceleration of a particle, $m$ its mass and $F$ the sum of forces applied to it.  I understand that acceleration represents a variation of velocity and velocity represents a variation of position. I don't comprehend why the mass, which is seemingly affecting the acceleration, does not affect the "time of impact".  Can someone explain this to me? I feel pretty dumb right now :)


In other discussions, e.g.  it is claimed that a polynomial in a field $K$ with degree greater than $1$, having a root in $K$, must be reducible. So by this criterion $X^3-1$ would be reducible over $\mathbb{Q}$ since it has a root $1 \in \mathbb{Q}$.  However other sources, e.g.  say that a polynomial in $\mathbb{Q}[X]$ is reducible only if it can be factored into two non-constant polynomials also in $\mathbb{Q}[X]$. So by this criterion it looks as though $X^3-1$ is actually irreducible, because although one factor is $(X-1)$, the other factors are $(X-e^{2\pi i/3})$ and $(X-e^{4\pi i/3})$ which are clearly not in $\mathbb{Q}$.  Is either of these definitions of irreducibility either wrong or non-standard, or are they in fact equivalent? If the latter, what have I overlooked?

Prove that $x-1$ is a factor of $x^n-1$.   My problem: I already proved it by factor theorem† and by simply dividing them. I need another approach to prove it. Is there any other third approach to prove it? If yes please share it. I will be very thankful to you.  Thanks.    †: Factor Theorem: $x -r$ is a factor of $f(x)$ if and only if $f(r) = 0$.


Problem: Let $M$ and $N$ be $n$-dimensional manifolds, where $n > 2$.  Let $M \# N$ be their connected sum.  Show that $\pi(M \# N) = \pi(M) \ast \pi(N)$.        RE-EDITED Attempt:    Let $U_2$ and $V_2$ be two small open balls from $M$ and $N$ to be removed by the connected sum operation.  Let $p_m \in U_2$ and $p_n \in V_2$, and then let $U_1 = M - \{p_m\}$ and $U_2 = N - \{p_n\}$.   We can now view the connected sum $M\#N$ as the quotient of the disjoint union of $M$ and $N$ by an equivalence relation identifying $U_2 -\{p_m\}$ with $V_2-\{p_n\}$ defined by some homeomorphism between the two. Denote $W_1$ and $W_2$ as the respective images of $U_1$ and $V_1$ under the quotient map. We have that $U_2$ and $V_2$ are open by construction.  Furthermore, since $M$ and $N$ are open, we have that $U_1 = M - \{p_m\}$ and $V_1 = N - \{p_n\}$ are also open (since open sets with a point removed are still open). Then we have the following open covers of $M$ and $N$ respectively:  $$ M = U_1 \cup U_2 $$ $$ N = V_1 \cup V_2 $$ We can then express   $$ M \# N = \underbrace{W_1}_{\text{open}} \cup \underbrace{W_2}_{\text{open}} $$  as well since $M \cup N = V_1 \cup U_1$ and $W_1$ and $W_2$ are just the images of $U_1$ and $V_1$ under the natural quotient map used to define $M \# N$. Consider that $W_1 \cap W_2$ is path connected since $W_1 \cap W_2$ is homeomorphic to $U_2 - \{p_m\} \cong V_2 - \{p_n\}$, both of which are punctured disks which deformation retract onto $S^{n-1}$.  Since spheres of dimension greater than $2$ are simply connected (hence path connected), we have that $W_1 \cap W_2$ is path connected as well.  This will allow us to later apply Van Kampen to $M \# N = W_1 \cup W_2$. Now we have that   $$ U_1 \cap U_2 = U_2 - \{p_n\} \cong W_1 \cap W_2 \cong V_2 - \{p_m\} = V_1 \cap V_2 $$  so that from above we can say  $$ \pi_1(U_1 \cap U_2) \cong \pi(V_1 \cap V_2) \cong \pi(W_1 \cap W_2) \cong \{e\} $$ Now since $n > 2$, we have that   $$ \underbrace{\pi_1(U_1) = \pi_1(M - \{p_m\}) \cong \pi_1(M) \cong \pi_1(W_1)}_{\text{removing a point doesn't change fundamental group for $n > 2$}} $$   and similarly   $$ \pi_1(V_1) = \pi_1(N - \{p_n\})\cong\pi_1(N) \cong \pi_1(W_2) $$ Then applying Van Kampen on $M \# N = W_1 \cup W_2$ yields that  $$ \pi_1(W_1) \ast_{\pi_1(W_1 \cap W_2)} \pi_1(W_2) \cong \pi_1(M\#N) $$ But since (8) yields that  $$ \pi_1(W_1) \ast_{\pi_1(W_1 \cap W_2)} \pi_1(W_2) \cong \pi_1(W_1) \ast_{\{e\}} \pi_1(W_2) \cong \pi_1(W_1) \ast \pi_1(W_2) \cong \pi_1(M) \ast \pi_1(N) $$  we then have from (9) that  $$ \pi_1(M) \ast \pi_1(N) \cong \pi_1(M\#N) $$  as desired.

Let $M$ and $N$ be two connected manifolds of the same dimension $n$.  What is the fundamental  group of their connected sum $M \# N$ in terms of $\pi_1(M)$ and $\pi_1(N)$ ?


In going through the first post queue, I came across  which was posted by a now-deleted user.  It would seem to me that most of the reasoning behind the queue is to help out and provide feedback to a brand new user, which can't happen if that user no longer has an account on the site.

On Scifi.SE, a user had their account deleted this morning.  Also this morning, about half a dozen of "their" posts were in the First Posts queue.  The posts were all roughly a month old, and they all had the same disassociated user#.   one of them.  Why'd this person's posts show up in the First Posts queue?  Why do a deleted user's posts ever show up in that queue, when it's purpose is to help the community provide feedback to new users?  A deleted user is no longer a member of the community, and they're not even going to be able to act on any feedback.


How do I delete a specific frame range in a folder?  I have   star_bg_true.0001.dpx star_bg_true.0002.dpx .... star_bg_true.0100.dpx   How do I remove only frames 0030–0050?

I have a folder which has many files. Some of the data files are labelled 1, 2, 3, ..., 300  I want to remove these data files using the terminal. How do I do this?   I want to do something like   rm some-regular-expression-giving-numbers-from-0--300


Consider:  def välgu_kaugus(aeg):     kiirus = 300 / 1000     valem = aeg * kiirus     return valem print(välgu_kaugus(float(input("Mitu sekundid kulus välgu nägemiseks müristamise kuulmiseni? "))))   This is my little shitty program. When I input 15 it gives me 4.5, but I want it to round 4.5 to 5, but using the round command it rounds my 4.5 to 4 for some reason. How can I make it to round to 5?

The documentation for the  function states that you pass it a number, and the positions past the decimal to round. Thus it should do this:  n = 5.59 round(n, 1) # 5.6   But, in actuality, good old floating point weirdness creeps in and you get:  5.5999999999999996   For the purposes of UI, I need to display 5.6. I poked around the Internet and found some  that this is dependent on my implementation of Python. Unfortunately, this occurs on both my Windows dev machine and each Linux server I've tried. .  Short of creating my own round library, is there any way around this?


For example, on Debian or Ubuntu, which package has the /sbin/shutdown command in it? I want to read the source of that command (and possibly modify it to report notification on desktop) and I didn't know which package source to download.

Say, I'm given a filename like libasound.so.2. Is there a way to query the package manager to correlate the filename with its corresponding package?  I'm interested to get answers for any package manager, but my primary focus is on apt and yum.


with console.info(hora); I print the array:    ["NO HORA", 1, "NO HORA", 1]   and with console.info(self.aEstados.estados); I print the array:   ["SI CONTIENE", "NO CONTIENE", 2]   But I need the arrays together:   ["NO HORA", 1, "NO HORA", 1, "SI CONTIENE", "NO CONTIENE", 2]    How can I do this?

How do I append an object (such as a string or number) to an array in JavaScript?


Created a VHD from a machine using disk2vhd.  File created is 61GB, partition on the VHD is set to 149GB.  Virtual PC won't let me use the VHD (as the partition is too large, has to be below 127GB).  Disk Management mounts the VHD, all accessible but won't 'Shrink Volume' (hangs).  DISKPART mounts the volume and using shrink querymax gives me the option to shrink the volume, but when shrinking it doesn't seem to complete (or show any errors why) leaving the VHD volume set to 149GB.     but it only seems to give me an option to 'shrink' the 61GB file to 149GB!  What have I missed, or any other tips? Do I need to look at repairing this VHD some how?

It seems that Disk2VHD captured an entire HD rather than the boot partition (232GB versus 125GB)  I am hoping to bring up an image of my XP Pro box inside Windows 7 Ultimate x64 as a Virtual PC.  Originally the boot partition on the XP box was 232GB but I used Acronis Disk Manager to shrink it to 125GB, resulting in unallocated space of 107GB on the HD.  Inside Disk Management console it looks like this on the XP box:  ............ primary...................unallocated Disk 0      MYVOLUME (C:)              XXXXXXXXXXXXXX Basic       125.00 GB NTFS             107.88 GB 232.88GB    Healthy (System)           Unallocated Online   and Disk2VHD has this  Volumes to include:....Size...........Free........Space required [x] C:\ MYVOLUME       125.00GB       33.26GB.....94.22GB   I checked the feature to [x] Prepare for use in Virtual PC when creating the VHD with Disk2VHD. However, Windows 7 Virtual PC cannot attach to the VHD. So I downloaded VirtualBox to see what would happen. VirtualBox just opens a black rectangle and the disk never boots; it shows the full size of the VHD as 232GB  (that is, the 125GB system partition plus the 108GB unallocated).  Is the size of the original disk what is preventing Virtual PC from attaching?  I was hoping that shrinking the boot partition would cause it to fall within the 127GB limitation.


Is the following improper integral known? $$\int_{0}^{\infty} x^{-x} \, dx$$ Wolfram Alpha gives both the proper integral from 0 to 10 and 0 to 10000 as 1.99546 so I'm assuming it's equal to 2 (though it could actually be 1.99546), but is this known?

This integral is very closely related to the sophmores dream that states  $$ \int_0^1 x^{-x}\mathrm{d}x = \sum_{n=1}^\infty n^{-n} = 1.27\ldots $$  For example here   Now I want to bound the integral, and showing that is less that 2.  For the interval $[0,1]$ a good bound is rewriting it to $\exp(x\log x)$ and using the expansion   $$ 1 - x \log(x) + \frac12 (-x \log(x))^2$$  but how does one handle $[1,\infty)$ ? In this answer here     gives bounds to the integral, but they are not tight enough.. So to taste my question again, how does one prove that   $$ \int_0^\infty \frac{\mathrm{d}x}{x^x} \leq 2 $$


$OABC$ is a regular tetrahedron. Let $E$, $F$, $G$, $H$ be the centroids of the triangles $OBA$, $OCB$, $OAC$, $ABC$, respectively. You are given that EFGH is also a regular tetrahedron. Using $OA=a$, $OB=b$, $OC=c$, find the ratio of the side length of tetrahedron $EFGH$ to the side length of tetrahedron $OABC$.  Show using vectors. Please give full proof to the answer.  Link to the picture of the tetrahedron used in this question:   the correct answer is a 1:3 ratio, however i am unsure as to how this is calculated

Suppose that $OABC$ is a regular tetrahedron with sides having centroids $\lbrace E,F,G,H\rbrace$ also forming a regular tetrahedron. What is the relationship between the side lengths of $OABC$ and $EFGH$?    I suspect that tetrahedron $EFGH$ has side lengths $1/3$ of that of $OABC$ but I'm unsure as to how to prove it.


Almost every year I have some kind of fever about D&D. I want to start DM'ing this thing. Then I realize how hard it is and give up again. So it's started again... I do have friends that want's to be a part of it but they are too lazy to read the PHB.   I'm going to create my own scenario. I'm pretty good with improvisation and storytelling. So I think it's easier to come up with any kind of wild events on a road then to follow someone's guideline.   The problem is that it seems like the basic mechanics of the game is very difficult. I need to memorize all spells, skills, racial and class features, bonus abilities and also need to explain it to players. It feels like it's so hard for me only because of lack of practice. I don't want to stop the game and say "Hold on, let me check what this spell do!"  My main question is how do I keep all that information in my head?  It feels like I know all that small things like "how does this work" "when should I do this" but it's just too much for me to memorize. I'll definitely miss some core mechanics when I'll do my first game.

Do you have tricks or techniques to remember all the rules to the games you're playing? I would like to run my first game as a gamemaster, but I'm struggling with remembering all the feats and competency rules.


Using WinEdt 10.2 on Windows, when I compiled a doc, automatically WinEdt opens  the PDF with Acrobat Reader. And If I didn´t close that viewed file, I recompiled again  and  WinEdt closes the old PDF and show me the new one.  But I made any changes, or WinEdt copied the settings from my installed WinEdt 9,... and now... If I close the PDF, and then compile, WinEdt opens the just-compiled PDF with Acrobat Reader   BUT  If I didn´t close the old PDF, Winedt can´t open the new PDF with Acrobat Reader as weeks ago, and show me that message:   How could I show the new PDFs without closing the old one just-compiled a minutes ago?  I usually use   Excuse me for my little English.

While using the 2017 release of Adobe Acrobat DC, I get the error    every time I run PDFLatex with my PDF open. When I use PDF Search, I get the same error.   Does anybody know what do I have to change in the .edt files to make it work?


If someone won a regional competition, shall we say "he/she qualified [to or for] the world finals"?

Would you please tell me whether the following fragment is grammatically correct?       ...led me to be qualified in various science Olympiads. For instance, I ranked 21st among...   I know that "qualification in" is correct, for example "we are looking for graduates with qualification in maths". But what about "be qualified in"?


Take it for granted that enumerations have secondly, …; thirdly, …; finally, … Is there any reason, except tradition, to prefer the traditional first to firstly?

Normally, if we which to illustrate our points, we can use firstly, secondly, lastly (or last but not least or finally).     There are a few pieces of information we need to notice:   Firstly,   Secondly,   Lastly,   But consider that we have only two points, are we going to use     There are a few pieces of information we need to notice:   Firstly,   Secondly,   or     There are a few pieces of information we need to notice:   Firstly,   Lastly,   It seems like firstly→secondly does not have an ending, and firstly→lastly seems to be too fast to end. Is there a better way to talk about them for when you have just two points to make?


It's someone who tends to be a nice person but hides something or there is something off about him. Sometimes, you meet this kind of people and you know that his/her kindness hides a darker side. I thought about sly or shady but they seem a bit too much, however I might be wrong. Is deceitful the correct term or is there a more specific one?  Example : "I don't like the new boss, his kindness hides something" " I don't like the new boss, he is _____"

This is not from real life, but from a movie on my local TV. A character in the movie is really bad, but when she talks with others, she pretends to be an innocent/ good woman. I want to know how to describe this kind of person.


I have a USB-powered external HDD connected to my DELL laptop. Some times, after clicking on "Safely remove" item in pop-up menu of its icon in side bar, the drive is un-mounted and is removed from /dev/ folder (sdb and sdb1 both are removed) and lsusb do not show the device, but the HDD remains spinning and I could sense the vibration by putting my finger on it. But some times a few seconds after clicking on "Safely remove", it stops spinning and has no vibration. Is there any way (may be a CLI command or a script) to force the drive stop spinning every time after "Safely remove"? I know that hdparm could stop spinning, but works while drive is connected, but I need a way that works after "Safely remove"!  Note:  When I safely removed the drive I want to keep it plugged-in but not-spinning and not-mounted. Because The access to my laptop USB port is somewhat hard when I fixed my laptop on my desk which is full of extra things and widgets! and also may be I forgot to disconnect the USB port! Considering this, there are two reasons for wanting the drive not-spinning after unmount:     If I run laptop on battery, spinning drive uses more energy!   If I suddenly take-off my laptop or move it, there may be a damage to connected USB-cable or even to the HDD (which is now spinning)!

I have a USB-powered external HDD connected to my DELL laptop. Some times, after clicking on "Safely remove" item in pop-up menu of its icon in side bar, the drive is un-mounted and is removed from /dev/ folder (sdb and sdb1 both are removed) and lsusb do not show the device, but the HDD remains spinning and I could sense the vibration by putting my finger on it. But some times a few second after clicking on "Safely remove", it stops spinning and has no vibration. Is there any way (may be a CLI command) to turn it off?


OK, I'm really confused. I run an Apache 2.2 website on a Mac 10.8.5, and have been doing so for years. I inspect the logs regularly, and I'm careful about service denial in my .htaccess to parties that aren't friendly.   So my logs list IPs. Every once in a while, the log oddly lists a hostname instead of an IP. No big deal. As of the other day, this has changed, for no apparent reason. Now, the majority of my log entries show hostnames, and a few just show IPs. So my system is working hard to look up hostnames for almost everyone!  So I go look in /etc/Apache2/extra/httpd-default.conf, where I find the default   HostnameLookups Off   I go looking around in other conf files to see where there might be a rogue HostnameLookup command, but find none.   So what's is going on? Why is my system looking up hostnames when I'm telling it not to? More to the point, why has it suddenly started doing that? I have not installed any third-party crap, nor have I been doing anything in my conf files. I restarted Apache and rebooted the machine, to no avail.   Now, interestingly, I get several log lines with host names, followed immediately by log lines with just the IP for that hostname. So it's not as if it can't get an IP for that hostname. It just suddenly decides not to.

Obviously my Apache httpd instance is doing reverse DNS (RDNS, give me the hostname for this IP address) lookups for each incoming client connection's IP address. This is bad. Especially since sometimes resolution fails with a missing PTR record - after 28secs.  Diagnostics: I added %D to my "combined" log style and looked at the response times this way: Clearly <1s for all those that are logged with their hostname and 20+s for those that get their IP logged.  This is what I tried:   Turn off the server-status extension. Check that HostnameLookups Off is in the config. Check that mod_access is not given any hostname in an Allow/Deny rule. Check that reverse proxied servers follow the same rules.   What have I missed?


Looking for some tips because Legendary is a real nightmare, and would like to know the best heroes in terms of survivability as well as damage output. It seems most of the time our group fails is not the hacking part, but the payload part, as it is very easy to get rushed by all of the nullsector laser dogs.  Is there an optimal setup to beat Uprising on Legendary?

The achievement "Distinguished Service" requires that you beat Uprising on the regular gamemode on Legendary difficulty.  This means we can't pick our usual huge DPS heroes like Bastion and Orisa, and are stuck with Torbjorn, Reinhardt, Mercy, and Tracer.  The phases are as follows:   Hack all 3 terminals Defend the Payload until it's ready Escort the Payload until the gate Destroy all 4 Orisas.   So I ask this after having failed Uprising on Legendary dozens of times.   How do I beat Uprising on all 4 phases?   Specifically asking for the latter 3 phases.    Defending the payload is hard when it gets to the Bastions that drop in because Reinhardt's shield gets melted very quickly and Torbjorn has little to no DPS.  Tracer must be relied on but it seems there is no way to stop the perfect aim of Bastion as strafing around does nothing.  If and when we actually do manage to defend it, we're stuck on escorting, which is even harder thanks to the tank mode Bastions.  And finally, even if we do make it to the final fight, which has only happened once, the fight is so tough that even if we slowly inch ourselves closer to the end we run out of time.  The previous question I asked was different because Uprising (All Heroes) allows you to pick any 4 heroes to form your squad, but the original gamemode will not let you pick. Also, the achievement requires you to play the original mode -- Uprising (All Heroes) on Legendary does not reward players with the achievement.


I have a list of master accounts that each map to a single duplicate account. I want to merge each master with its corresponding duplicate using the merge DML operation.  I'm currently doing this in a for loop:  for (Account master : listMasters) {     Account duplicate = mapMasterToDuplicate.get(master);      try {         merge master duplicate;     } catch (DmlException e) {         ...     } }   Is there a way to do this without executing DML in a loop?  I am implementing this in a batch class, and I am limiting the scope size when I execute the batch job, so I'm not too worried about exceeding governor limits. I just want to check if there's a more efficient method of accomplishing this batch merge that I couldn't find.

I am trying to find duplicate accounts in the system and trying to merge them based on our filter criteria using apex. The issue is I am hitting the governor limit of 150 DML statements while doing this.  We will have to put the merge statement inside the loop as we need the parent and child as the parameters in the merge statement. I don't think we can bulkify Merge like other DML statements due to the above reason. I am not sure if there is any better way to do it and avoid hitting governor limits.  Any help in this regard would be greatly appreciated.  Code that I have tried is included below  global class LoyaltyAccountBatch implements Database.batchable<sObject>{        global Database.QueryLocator start(Database.batchableContext info){           String query;         query = ('SELECT  Id FROM  LoginHistory LIMIT 1');          return Database.getQueryLocator(query);    }       global void execute(Database.batchableContext info, List<LoginHistory> scope){             // Get those records based on the IDs         List<Account> templst1 = [SELECT Id,UniqID from account where createddate = LAST_N_DAYS:4 and UniqID <> ''];             system.debug('templist is '+templst1);               Set<String> insertedRecords = new Set<String>() ;         for (Account a : templst1)  {         insertedRecords.add(a.UniqID);     }                 List<Account> templst = [SELECT Id,UniqID from account where NewUniqID IN : insertedRecords                                   order by NewUniqID,UniqID asc];         // Process records          for(integer i=0;i+1<templst.size();i++)          {             if(templst[i].UniqID <  templst[i+1].UniqID)                     {                 system.debug('ids are '+templst[i].UniqID+'-->'+templst[i+1].UniqID);                 String str = '1'+templst[i].UniqID.substring(1,templst[i].UniqID.length());                 String str1 = '1'+templst[i+1].UniqID.substring(1,templst[i+1].UniqID.length());                 system.debug('str is'+str);                 system.debug('str1 is'+str1);                 if(str.equals(str1))                 {                     Merge templst[i+1] templst[i];                     system.debug('value of i is'+i);                 }              }         }        }          global void finish(Database.batchableContext info){         }   }


I am working in a problem of statistical mechanics and a partition function I found is of the form: $$ Z = \sum_{n=0}^{\infty}(n+1)e^{-\beta n} $$ I used the ratio test and the series converges. I want to find a closed form for this. I tried: $$ \sum_{n=0}^{\infty}(n+1)e^{-\beta n} =  \sum_{n=0}^{\infty}ne^{-\beta n} +  \sum_{n=0}^{\infty}e^{-\beta n} $$ The second term of the right-hand side is simply $1/(1-e^{\beta})$ (geometric series). So the question comes down to: does this series have a closed form? $$ \sum_{n=0}^{\infty}ne^{-\beta n} $$ where $\beta>0$

How can I evaluate $$\sum_{n=1}^\infty\frac{2n}{3^{n+1}}$$? I know the answer thanks to , but I'm more concerned with how I can derive that answer. It cites tests to prove that it is convergent, but my class has never learned these before. So I feel that there must be a simpler method.  In general, how can I evaluate $$\sum_{n=0}^\infty (n+1)x^n?$$


Does matter simply releases energy in wood burning fire or does some matter actually convert into energy?  Blue flame considered as complete combustion but in ceramic plates gas heaters for room warming, we see/prefer red colour plates?

In a common wood fire such as a campfire, is matter converted to energy or is it simply an exothermic chemical reaction and all the mass can be accounted for in the ash and soot?


There are $6n$ flower of one kind and $3$ of another kind. Show that number of different garlands made of using all these flowers is $3n^2+3n+1$.  My approach is divide garland in form of $a+b+a=6n+3$. As it is circular but could not go ahead of it

This is my first question here.   I'm given $3$ white flowers and $6m$ red flowers, for some $m \in \mathbb{N}$. I want to make a circular garland using all of the flowers. Two garlands are considered the same if they can be rotated to be the same. My question is: how many different garlands can I make?  I tried an approach in which I divided the question into three parts:   No. of ways in which the white flowers are all together No. of ways in which two white flowers are together No. of ways in which no two white flowers are together   Can you please help?  The answer is $3m^2+3m+1$ in the book that I saw  Thanks


I've been tasked with changing someone else's integration tests into unit tests. We have business objects that talk to the database. And so our tests currently reflect that. The problem is that I have code that calls the db directly within the method - and I want it to hit mock data instead of the db. How do you do that?   List<listOfStuff> listing = getDataFromDB(DBStuff); //this is what I want to      //not happen in my test.   I can't change the method, and I read something about wrapping the method in an interface, but I'm unsure of how do that...

I've heard that unit testing is "totally awesome", "really cool" and "all manner of good things" but 70% or more of my files involve database access (some read and some write) and I'm not sure how to write a unit test for these files.  I'm using PHP and Python but I think it's a question that applies to most/all languages that use database access.


I declared an action for a single event in Wordpress which accepts an array as an argument:  $asins = array(); //I had to declare this since I'm getting a notice of undefined variable if I don't  add_action('z_purge_products_cache', array($this, 'purge_products_cache', $asins));   I also tried this one, but it doesn't perform the action either:  add_action('z_purge_products_cache', array($this, 'purge_products_cache'));   Then I schedule it:  wp_schedule_single_event(time() + 20, 'z_purge_products_cache', $asins_r);   Then here's the function that will be called once wp cron executes the action:  public function purge_products_cache($asins){   //send email here }   Any ideas?

Is a way to pass my own parameters to the function in add_filter or add_action. For example take a look in the following code:  function my_content($content, $my_param) { do something... using $my_param here ... return $content; } add_filter('the_content', 'my_content', 10, 1);   Can I pass my own parameter? something like:  add_filter('the_content', 'my_content($my_param)', 10, 1)   or  add_filter('the_content', 'my_content', 10, 1, $my_param)


Let $ X \sim \text{Bin}(n,p) $ and $ Y \sim \text{Beta}(r,n-r+1)  $. Show , without integration by parts, that  $P(X \ge r ) = P (Y \le p)$.   From which point of view I answer this question.

I'm more of a programmer than a statistician, so I hope this question isn't too naive.  It happens in sampling program executions at random times. If I take N=10 random-time samples of the program's state, I could see function Foo being executed on, for example, I=3 of those samples. I'm interested in what that tells me about the actual fraction of time F that Foo is in execution.  I understand that I is binomially distributed with mean F*N. I also know that, given I and N, F follows a beta distribution. In fact I've verified by program the relationship between those two distributions, which is  cdfBeta(I, N-I+1, F) + cdfBinomial(N, F, I-1) = 1   The problem is I don't have an intuitive feel for the relationship. I can't "picture" why it works.  EDIT: All the answers were challenging, especially @whuber's, which I still need to grok, but bringing in order statistics was very helpful. Nevertheless I've realized I should have asked a more basic question: Given I and N, what is the distribution for F? Everyone has pointed out that it's Beta, which I knew. I finally figured out from Wikipedia () that it appears to be Beta(I+1, N-I+1). After exploring it with a program, it appears to be the right answer. So, I would like to know if I'm wrong. And, I'm still confused about the relationship between the two cdfs shown above, why they sum to 1, and if they even have anything to do with what I really wanted to know.


Yesterday in a SE site there was an answer claiming that the accepted and upvoted answer was blatantly wrong and there was a gross mistake.  The poster revealed that the accepted answer was by a sockpuppet of a mod, and that he was aware that there was at least one more alias of his.  The correcting answer was deleted twice, and we'll never know if the accepted answer is misleading or not.  I was just wondering if this practice is acceptable. I suppose (or rather hope) that that mod refrains from upvoting his sock's posts, but what happened indicates that a mod can easily impose his own views (even when they are probably wrong).  Could someone who is in charge of mods clarify if such practice is tolerated or should be reported.  It seems necessary to specify that this question is not  anything, let alone suggesting a conspiracy by anyone. I simply and faithfully reported a fact, something I witnessed, that raises some questions. I appreciated the answers but, if a Manager thinks the episode deserves investigation I'll report to them (and only to them) the details of the incident through a discreet and confidential channel.  edit:  It is deplorable that this question continues to be misread or misinterpreted after so many comments and clarifications, I can't see what information can be gained if I disclose the site and the question, since there is nothing wrong there to be seen, and you need 10k+ rep in that particular site in order to read deleted stuff and you have to be a TM if you want to check multiple accounts.   I regret, also, that   insists on the conspiracy string and that the simplicity of the title has warranted a deliberately wrong, restrictive, literal interpretation of this question as a duplicate. I'll ask a new question, of course mods can have multiple accounts, as long as they do not protect them abusing of their priviledges.

A high-reputation, highly-active user has already been dinged once for a sockpuppet, and I just dinged him again. He probably has another sockpuppet as well.   What are the guidelines for handling users who game the system in this fashion? Specifically,   How can I be sure I'm looking at a sockpuppet? When should sockpuppets be considered a problem? How should moderators handle problematic sockpuppets once they've been identified? I was suspended for sockpuppetting and feel this is unfair


macOS Mojave 10.14.4  I set /Users/username/Documents/BLENDER/rendering as output path.  Is the filename from the .blend files used?

I usually am able to render successfully to the c:\tmp folder, but when I came into work today, I rendered out the image on my work laptop, and everything seems to work, but I'm not getting an output to the tmp directory.  Does anyone know how to make this work?


So i'm trying to copy all data of table CarOrders into a new table, NewCarOrders. But i only want to copy columns and dependencies and not data. I don't know if it truly matters, but i'm using SQL Server Management Studio.  Here are two things that i tried, but none worked.  SELECT * INTO NewCarOrders FROM CarOrders WHERE 0 = 1   The issue with above is, it is copying all the columns but it is not copying the dependencies/relationships. I saw some posts on some of the forums regarding this, but the suggested solution was using SSMS Wizard. I want to do it using SQL (or T-SQL).   I'm new to SQL world, so i'm really sorry if it is a stupid or no brainer question. Let me know if i am missing some important information, i'll update it.

I've spent a good amount of time coming up with solution to this problem, so in the spirit of , I'm posting it here, since I think it might be useful to others.   If anyone has a better script, or anything to add, please post it.  Edit: Yes guys, I know how to do it in Management Studio - but I needed to be able to do it from within another application.


Since getting my mb-pro 3 years ago, I've only used it as a desktop. A few times, the battery has kicked-in for a few hours while the power was out. Someday, I might want to task it as a laptop. For the sake of the battery :       Should I be unplugging my mb from the wall just to use the battery?   For how long should I run on battery?   How often should I do this?

How do you maximize the cycle count of your battery?  There seems to be a debate between:   Leave plugged in 24/7 but do a full cycle once a month Charge to ~100%, drain to ~10%, repeat.   NOTE: Taking your   Which method is better and why? How much of a difference does it really make?  Here are some of the better sources I've found about battery behavior so far. Even still I feel they don't conclusively answer the question above. See my elaborations below:           Elaborating on Option 1  Now IF Apple engineers were smart and optimized for AC draw when plugged in to not use up your charge cycles, then it seem logical to assume that you are using effectively none of your 1000 charge cycles while plugged in. If that's the case, it would seem that the LiPo drop from holding at 100% would be vastly outweighed by the fact you're not using any charge cycles.  However, this is a purely speculative assumption and I could find no evidence to either confirm or deny.  If this is NOT true, and the AC adapter only goes to charging the battery, then there would be no difference. Your battery would drain to 99%, then back up to 100%, then back down to 99%, etc. Those micro-charge cycles would add up at the same rate as 100% -> 0% -> 100%, and you would get no gain. In this case the negative effect of holding LiPo batteries at 100% would outweigh everything else.  Elaborating on Option 2  There are lots of good reasons why Option 2 is the way it is:   Because of known LiPo chemistry issues, holding a 100% charge for a long time causes the battery to degrade Apple specifically recommends not to leave it plugged in all the time  Draining a battery all the way to zero all the time is bad for the cell (Which is why ~10% is used) Heat is a killer, and when plugged in AND charging, you get extra heat that causes damage.   There are a couple reasons why I'm challenging Option 2:   It seems silly that the most intuitive use case for thousands of people that use their macs as primary computers is wrong. If the hypothesis in option 1 is true, you're just burning unnecessarily through your finite charge cycles. It's a pain to have to remember to keep plugging in and plugging out and be worried about whether or not your device is plugged in.


We have some questions about Riemann integrable, so if $f,g$ are Riemann integrable over $[a,b]$ denote by $f,g\in R[a,b]$, then $\max\{f,g\},\min\{f,g\}\in R[a,b]$.  So, it clearly ? , because in case $f<g$ then $\max\{f,g\}=g$  Since $g\in R[a,b]$ then $\max\{f,g\}\in R[a,b]$.  Similarly in case $g<f$.  Can some check that it true  ?

Let $f,g$ be Riemann integrable functions, prove that the function $ h(x) $ defined by $$ h\left( x \right) = \max \left\{ {f\left( x \right),g\left( x \right)} \right\} $$ is also Riemann integrable.


I'm trying to create a timeline that graphically shifts across the screen and a text box which displays the currently selected year as the timeline shifts.  To accomplish this, I've created a Python script - my first in Blender.  It uses the timeline's X-location to calculate what year should be displayed and then updates the text content. Everything works great in the design space.  When I scrub the timeline and play the animation, the year updates as expected.  However, when I go to render the animation, the text content is set to whatever value is currently displayed in the timeline of the design space.  It doesn't update; it's like it doesn't take the script into account in the final rendered image - but only in the animation.  If I render the current frame to an image, it displays accordingly since the timeline accurately reflects the Python update. Is there a Render setting or a change required in the Python to get this to update in the output FFMPEG animation?  Thanks. import bpy  text = bpy.data.objects['YearAD'] lbl = bpy.data.objects['ADBC'] timeline = bpy.data.objects['timeline']  def update(self):     loc = timeline.location.x          yr = round((-970 - 2020) / (122.71 + 169.293) * (loc + 169.293) + 2020)     text.data.body = str(abs(yr))     if yr <= 0:         lbl.data.body = 'BC'     else:         lbl.data.body = 'AD'  def register():     bpy.app.handlers.frame_change_pre.append(update)      def unregister():     bpy.app.handlers.frame_change_pre.remove(update)      register()

I've problem Rendering sun rotation animation. Steps to reproduce:   Create the sun object Set 1st keyframe   Select keyframe Rotate sun object using the handle "I" > Select Rotation  Set 10th keyframe (Reproduce same steps found in 2nd point)  Add frame_change_post handler to print sun rotation_euler Run Render > Render Animation   The result was 11 times (0-10) printed same rotation Euler <Euler (x=-7.9113, y=0.2392, z=-7.1615), order='XYZ'>  .But when I move from keyframe to keyframe Euler XYZ positions are updated. Why is that so?  Here is a demo plugin created to replicate the issue:  bl_info = { "name": "Sun animation using lever", "author": "karlisup", "version": (1, 0), "blender": (2, 80, 0), } import bpy from bpy.app.handlers import persistent  @persistent def sun_handler(scene, depsgraph):     if "Sun" not in bpy.data.objects:         create_sun()     sun = bpy.data.objects["Sun"]     print(scene.frame_current, sun.rotation_euler)  def create_sun():     bpy.context.view_layer.active_layer_collection = bpy.context.view_layer.layer_collection     light_data = bpy.data.lights.new(name="Sun", type='SUN')     light_data.energy = 30     light_object = bpy.data.objects.new(name="Sun", object_data=light_data)     light_object.location = (5, 5, 5)     bpy.context.collection.objects.link(light_object)     bpy.context.view_layer.objects.active = light_object  def register():     bpy.app.handlers.frame_change_post.append(sun_handler)  def unregister():     bpy.app.handlers.frame_change_post.remove(sun_handler)  if __name__ == "__main__":     register()


I have CSV data loaded into a multidimensional array. In this way each "row" is a record and each "column" contains the same type of data.  I am using the function below to load my CSV file.  function f_parse_csv($file, $longest, $delimiter) {   $mdarray = array();   $file    = fopen($file, "r");   while ($line = fgetcsv($file, $longest, $delimiter))   {     array_push($mdarray, $line);   }   fclose($file);   return $mdarray; }   I need to be able to specify a column to sort so that it rearranges the rows.  One of the columns contains date information in the format of Y-m-d H:i:s and I would like to be able to sort with the most recent date being the first row.


My cat stepped on the keyboard today and the resulting garbage caused a ">" prompt to appear. The text was something like "~~~~~~~~~~~~~~~~YYYY~~~~~~~~~~~       ]]]]]]]]". I could not get the prompt to answer me. I tried things like "?, help, ls, q" etc and it would just make no answer and the prompt would come back. Is there anyway I can figure out what the prompt is?

In sh (not Bash), how would we abort execution of command when the prompt is in > mode?  For example, when entering a string with quotes only at the beginning, it makes the prompt look like >, without the ability to quit it normally, unless hitting Ctrl + D. Example:  root@MyPC:~# echo "hello > I am > (How do I exit of this mode?)   In case that I don't know which character delimits the string (" or ' or simply escaping a newline/spaces with backslash), is there a way to let Bash know that I want to abort the execution of the current command?


What is the value of $\lim_{n\rightarrow \infty}e^{-n}\sum_{k=n}^\infty n^k/k!$ ?  I have tried initially but could not proceed any further. What I have tried is:  $$\lim_{n\rightarrow \infty}e^{-n}\sum_{k=n}^\infty{n^k \over k!}\\ =\lim_{n\rightarrow \infty}e^{-n}\left[e^n-\sum_{k=0}^{n-1}{n^k \over k!}\right]$$  I got no clue after this. I am not sure if how that limit can be be determined.  Any kind of help will be welcome.

I'm supposed to calculate: $$\lim_{n\to\infty} e^{-n} \sum_{k=0}^{n} \frac{n^k}{k!}$$ By using WolframAlpha, I might guess that the limit is $\frac{1}{2}$, which is a pretty interesting and nice result. I wonder in which ways we may approach it.


Why the limit of the following sequence is like this:  $$\frac{2 \sqrt[n]{n!}}{n}=\frac{2}{e}$$

I'm trying to find  $$\lim_{n\to\infty}\frac{n}{\sqrt[n]{n!}} .$$   I tried couple of methods: Stolz, Squeeze, D'Alambert  Thanks!  Edit: I can't use Stirling.


I'm adding 2 numbers and when click to Button - application crashes, and this error appears in Android Studio ---java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference  How can I solve it?  This is activity_main.xml file      <?xml version="1.0" encoding="utf-8"?>     <LinearLayout         xmlns:android="http://schemas.android.com/apk/res/android"         xmlns:app="http://schemas.android.com/apk/res-auto"         xmlns:tools="http://schemas.android.com/tools"         android:layout_width="match_parent"         android:layout_height="match_parent"         android:orientation="vertical"         tools:context=".MainActivity">           <Button             android:id="@+id/btnAdd"             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:layout_marginBottom="250dp"             android:text="Add"             app:layout_constraintBottom_toBottomOf="parent"             app:layout_constraintEnd_toEndOf="parent"             app:layout_constraintHorizontal_bias="0.262"             app:layout_constraintStart_toStartOf="parent" />          <EditText             android:id="@+id/etNum1"             android:layout_width="250dp"             android:layout_height="wrap_content"             android:ems="10"             android:inputType="number"             app:layout_constraintEnd_toEndOf="parent"             app:layout_constraintStart_toStartOf="parent"             tools:layout_editor_absoluteY="112dp" />          <EditText             android:id="@+id/etNum2"             android:layout_width="250dp"             android:layout_height="wrap_content"             android:ems="10"             android:inputType="number"             app:layout_constraintEnd_toEndOf="parent"             app:layout_constraintStart_toStartOf="parent"             tools:layout_editor_absoluteY="267dp" />          <TextView             android:id="@+id/txtAnswer"             android:layout_width="250dp"             android:layout_height="wrap_content"             android:text="Answer:"             android:textSize="32dp"             app:layout_constraintBottom_toBottomOf="parent"             app:layout_constraintEnd_toEndOf="parent"             app:layout_constraintHorizontal_bias="0.895"             app:layout_constraintStart_toStartOf="parent"             app:layout_constraintTop_toTopOf="parent" />      </LinearLayout>   And this is MainActivity.java file   package com.naila.triangle;  import androidx.appcompat.app.AppCompatActivity;  import android.annotation.SuppressLint; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView;  public class MainActivity extends AppCompatActivity {      EditText num1;     EditText num2;     Button add;     TextView result;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);          num1= (EditText) findViewById(R.id.etNum1);         num1= (EditText) findViewById(R.id.etNum2);         add= (Button) findViewById(R.id.btnAdd);         result= (TextView) findViewById(R.id.txtAnswer);          add.setOnClickListener(new View.OnClickListener() {              @Override             public void onClick(View v) {                 int number1 = Integer.parseInt(num1.getText().toString());                 int number2 = Integer.parseInt(num2.getText().toString());                 int sum = number1 + number2;                 result.setText("Answer: "+ sum);              }         });         } }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


Couldn’t find any other ones, no bites, is very very very small like almost fruit fly size

This bug was found on a couch in . The couch, and the two beds in the room show no signs of other bugs. Is this a bed bug that I should worry about or something harmless? It was slightly larger than a common tick.


Consider a convergent sequence $\sum\limits_{n=1}^\infty{a_n}$, with $a_n\ge 0$. Show that the series  $$\sum\limits_{n=1}^{\infty} \frac {\sqrt{{a_n}}}{n}$$ also converges.  Hint: $pq\le \frac 12(p^2+q^2)$

Problem:      Suppose that for every $n\in\mathbb{N}$, $a_n\in\mathbb{R}$ and $a_n\ge 0$. Given that   $$\sum_0^\infty a_n$$   converges, show that    $$\sum_1^\infty \frac{\sqrt{a_n}}{n} $$   converges.   Source: Rudin, Principles of Mathematical Analysis, Chapter 3, Exercise 7.


Using MySQL, I can do something like:  SELECT hobbies FROM peoples_hobbies WHERE person_id = 5;   My Output:  shopping fishing coding   but instead I just want 1 row, 1 col:  Expected Output:  shopping, fishing, coding   The reason is that I'm selecting multiple values from multiple tables, and after all the joins I've got a lot more rows than I'd like.  I've looked for a function on  and it doesn't look like the CONCAT or CONCAT_WS functions accept result sets.  So does anyone here know how to do this?


This is my code:   package net.james.filewrite;  import java.io.File; import java.io.FileWriter; import java.io.IOException;  import net.james.game.WarGame;  public class NewWriting {  public static FileWriter filewriter;  public static WarGame wg = new WarGame();  public static File f = new File("High Score.txt");    public static void createFile(){      try {          filewriter = new FileWriter("High Score.txt", true);          System.out.println("Creating file");      } catch (IOException e) {          e.printStackTrace();      }  }    public static void write(){      try {          filewriter.write("hi"); //<< line 27          filewriter.flush();      }catch (IOException e) {          e.printStackTrace();      }  }   public static void fileExists(){      if (!f.exists()){          System.out.println("NOPE!!!");          createFile();          write();          System.out.println("now it does!");      }else{          System.out.println("YEP!");          write();      }    } }   When ever I call the 'write' method it just says:   Exception in thread "main" java.lang.NullPointerException     at net.james.filewrite.NewWriting.write(NewWriting.java:27)  If anyone can help me. I would be very greatful.


I tried to disable the wireless functions at boottime like Lekensteyn described here:   But it keeps starting enabled after a reboot!  I added  the command to /etc/rc.local by running   sudo nano /etc/rc.local   Used the arrow keys / page up/down keys to navigate to the line before exit 0 and add rfkill block wifi, so that the file end like this:  # By default, this script does nothing  rfkill block wifi # for debugging: rfkill list > /tmp/wifi-state.txt  exit 0   Now in /tmp/wifi-state.txt I can see that it was blocked right after the call in rc.local But if I call  rfkill list   on the console, it shows that WiFi is enabled again:  0: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no     Additional info: I added this to disable bluetooth it works fine:  rfkill block bluetooth   and   sudo rfkill block wifi   works fine on the console

My desktop's PCI wireless card is always scanning for available wireless networks, but I only rarely use it. Can I keep the radio turned off until I need it?


I'm trying to shrink the file size of a massive log file and was wondering how I estimate the size of the log file and what the dangers in running this are

This one seems to be a common question in most forums and all over the web, it is asked here in many formats that typically sound like this:  In SQL Server -  What are some reasons the transaction log grows so large? Why is my log file so big? What are some ways to prevent this problem from occurring? What do I do when I get myself on track with the underlying cause and want to put my transaction log file to a healthy size?


I want to stop receiving messages from a certain group chat I've been made a part of. I don't want to simply "hide alerts" from it, I don't want the messages to come in at all. Is there any way to do that? Deleting the conversation doesn't seem to help.

When you send a group text message in iOS, it appears as if you automatically opt in to receive any and all replies to that message. Is there a way to avoid being included in group replies? Is there a way to remove oneself from a group chat?


...something strange here. I have a scene with a node setup with no environment texture, but in all reflections i see one. The world tab and shader nodes are empty and it should be a dark, grey background. Background under the render -> film section is also not set to transparent. In both evee and cycles. I want to find the texture, since i somehow lost it in a later version of my scene. ...i thought at first i broke blender, since all reflections were gone as i used the undo function. But somehow this secret environment texture, which is not shown anywhere else as in the reflections of the object in the scene. Any idea why this is happening or/and how i get the exact image background back?

I've made a roughness 0 glass pane, when I'm in lookdev mode it's reflecting a background that I didn't put there. I know I could just ignore it, but I'd rather be able to see what it'll mostly look like when I'm in the later stages. I also just want to know how on Earth I managed to set this background without realising it  Reflection completely ignores any objects I put in front of it. If I placed this glass inside my house, it would still just reflect trees (This is the point where I felt I couldn't ignore it - reflections are going to play a big part in my project and I don't want to be in render mode all the time)  The nodes are the default glass BSDF, except I set roughness to 0  The glass is set to 20mm thick, if that makes a difference  The background moves with my perspective and moves when I relocate the glass  I have a few HDRI's on my PC, but none look remotely like this   Also, I'm using cycles as I find Evee buggy as hell


Question solved. If you do not want to use 'Snap', install everything via the terminal sudo apt-get install ....  I don't care what snap is for. I don't want a different option to install a program. It is also not clear which snap is and which is not. I don't want /home/user/snap. I hope someone can help me.  It's rather irritating in Ubuntu software, which one to install? It is unclear. For example screenshots: Firefox, Gimp, LibreOffice and Inkscape. There is a difference, to install it "normally" or in /home/user/snap. Also the design is different. I've been having this trouble for years. Can anyone help me to solve this?

Of course for most packages the answer is trivial: if it's some tool or library, deb is the only option, while for some proprietary software snap is the only option.  It seems Ubuntu is heavily pushing and promoting Snap packages, citing advantages in packaging, isolation, security, updates, etc. yet all applications that ship with Ubuntu 18.04 are installed as deb packages.  One example is Firefox, which is a package that should be kept up-to-date for security reasons, and that in the past had conflicts with distribution package maintainers about security and branding (Iceweasel). Yet Canonical chose to ship Firefox as a deb package.  For packages that have both a snap and a deb, this raises the question: Which one should you install? And if the answer is snap, should I actively migrate installed deb's?


I checked and found that InnoDB pluginis active. By default, Innodb_log_file_size=5MB. As per the ,  its ideal values range from 1MB to 1/N-th of the size of the buffer pool, where N is the number of log files in the group.  InnoDB_buffer_pool_size=1024MB and innodb_log_files_in_group=2   So, Value of Innodb_log_file_size should be 512MB. To achieve this, I have written below line in /etc/my.cnf and tried to restart it.  innodb_log_file_size=512M   I am getting below error: Starting MySQL.Manager of pid-file quit without updating fi[FAILED]  Please note that I have only two log files -one is for slow query log file and another is error log.    Can anyone help me to find why there is a strange behavior and I am not able to edit Innodb_log_file_size?

I am following this solution here  and tried to increase my innodb_buffer_pool_size to 4G and later 1G (also 1024M) in addition to the log file size, but mysql wont start with those values. If I put it back to 512M mysql starts fine.  How can I solve this? My server is a 16GB one, and according to Webmin sysinfo:  Real memory 15.62 GB total, 3.13 GB used   Meanwhile I found the error log as well:     120529 10:29:32 mysqld_safe mysqld from pid file   /var/run/mysqld/mysqld.pid ended      120529 10:29:33 mysqld_safe Starting mysqld daemon with databases from   /var/lib/mysql      120529 10:29:33 [Note] Plugin 'FEDERATED' is disabled.      120529 10:29:33 InnoDB: The InnoDB memory heap is disabled      120529 10:29:33 InnoDB: Mutexes and rw_locks use GCC atomic builtins      120529 10:29:33 InnoDB: Compressed tables use zlib 1.2.3      120529 10:29:33 InnoDB: Using Linux native AIO      120529 10:29:33 InnoDB: Initializing buffer pool, size = 1.0G      120529 10:29:33 InnoDB: Completed initialization of buffer pool      InnoDB: Error: log file ./ib_logfile0 is of different size 0 134217728   bytes      InnoDB: than specified in the .cnf file 0 268435456 bytes!


Given that I have the following directory structure with . being the current working directory  . \---foo     \---bar         \---__init__.py         \---baz.py   When I run python -c "import foo.bar.baz" I get  Traceback (most recent call last):   File "<string>", line 1 ImportError: No module named foo.bar.baz   If I echo "" > foo/__init__.py, the above command works.  Am I doing something wrong or do I  misunderstand the point of __init__.py?  I thought it was to stop modules existing where they shouldn't, e.g. a directory named string, but if you replace foo with string in my example, I'm seemingly forced to create the module that should never be used, just so I can reference a file deeper in the hierarchy.  Update  I'm working with a build system that's generating the __init__.py's for me and is enforcing the directory structure and while I could mess with the hierarchy, I'd prefer to just add the __init__.py myself. To change the question slightly, why do I need a python package at every level instead of just at the top? Is it just a rule that you can only import modules from the python path or from a chain of packages off of the python path?

What is __init__.py for in a Python source directory?


I am almost a total beginner with blender. I purchased a model off of . which came with a .obj file, a .mb files and some .jpg textures. On the website it says its already been fully textured and UVmapped. But when I import the .obj into blender, it does not appear to have any textures applied (and when I switch to rendered view it's just black).   I also tried loading the .mb file into maya and I see this green blob, though it does appear to contain textures and material properties.    Given what you see, does the .obj file not have textures and is there no way to work with in blender?

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


I've been searching for a old fantasy book for quite some time now and desperately hoping that someone recognizes it.  The book starts out describing a princess of a kingdom - how her family is infamously small statured and has gilden colored skin. The kingdom is peaceful and prosperous and is renowned as a sort of diplomatic place.  They welcome in this travelling gypsy and her servant (a mute boy without his tongue) of sorts who was seeking refudge. Under guise of a merchant, this woman begins selling trinkets and oddities that corrupt peoples minds. Slowly, more and more of these gypsies move into the kingdom, causing the locals to sort of go a bit mad – rioting, refusing to work, etc etc. The kingdom practically rots itself from the inside. Seeing that the kingdom is now weak, a neighboring country invades, furthering to destruction of the kingdom.  The princess is told to escape. She uses an old escape tunnel in the courtyards water well, which takes her outside the walls. She seeks out some old man that was friendly to the kingdom who tells her that the only way to combat the gypdy and her corruption is to change the past with the help of the time master - a man who has the jewel/gem/gemstone that has power to control the flow of time (singular time zone). it turns out that the gypsy has a gem that warps people, making greed engulf them. the princess needs to travel to the top of the world to find out who has control over this thing. On the way, the servant boy just sort of appears and follows her, saving her a few times.  A dragon made of stones greets her at the top of the world and sends her into a cave to seek the time rock because it has no master. It gives her a red stone to light the way and 24hrs otherwise she will be forever stuck in the cave. She realizes that the red stone is in fact the time jewel.  Frustrated with being unable to find the time master, She tried to change the night when the gypsy entered the kingdom, but failed multiple times. Finally, she pushes right back into mute boys past, finding where the gypsy had kidnapped the boy To defeat her.

I read this book when I was 15 that I cant seem to find, no matter how many times I search  for it. I'm hoping that someone may have read it, and recognize the details. Its really driving me crazy and I would be eternally grateful if anyone recognizes it.  The book centers around a princess (with "gilded skin") trying to save her kingdom from destruction. It starts off with a gypsy (?) coming into the kingdom with her slave boy. She had cut out his tongue to prevent him from warning the kingdom of her power. Soon, her friend or followers, her kind began to flock to the kingdom, selling idols that corrupt the citizens with greed and suspicion. The kingdom falls into civil war. When it's too weak to fight back, its neighboring kingdom invades, leading to the princess's inevitable destruction.  The princess escapes by using a tunnel that had been hidden in a well. She goes to a old hermit or wizard that was a friend of her fathers. He tells her of Magic Stones that, in the hands of their chosen champion, can have amazing powers. She recalls that the gypsy has a pearl-like stone on her ring, and believes that it poisons people's will, entrances them - and it is because of this gypsy her kingdom has fallen. The old hermit tells her that if she finds the man who can change time, changing the past, she can stop the gypsy from ever entering the kingdom.  She is sent to to top of the world (?) to seek the cave where these stone are kept. At some point the slave boy joins her, but the reasons for this are unknown, she believes he is there to spy on her but takes pity on him and allows him to continue with her. It's guarded (sort of) by a dragon/lizard. The dragon is made of stone, and seems to be able to metamorphosize from any stone matter and although not vicious, tells the princess that she must find it before the sunsets or she will be stuck in the cave forever. The stone originally given her by the dragon guardian turns out to be stone that controls time.  The stone cannot take her into the future but allows her to affect the past. She becomes desperate at some point (I don't remember why) and tries at first to step back to the point where the gypsy is let into the kingdom. After this attempt fails, she follows the boy's life back to the point where he is ambushed by the gypsy and forced into slavery to save his dog - referred to as a "dancing hound". By doing this, the princess is able to corner the gypsy, and freeze her in time. The princess kills the gypsy by crushing her under an oak that she aged.


I made a search for "flag of switzerland" on google and i encountered with this passage.   It is one of only two square sovereign-state flags, the other being the flag of Vatican City.    I am unable to understand why being is used after the comma. I think it sould be like:   It is one of only two square sovereign-state flags, the other is the flag of Vatican City.   What is the difference between the two sentences? Is my version correct? Thanks.

What is the meaning of below sentences using was and being?     He committed suicide after he was severely beaten up by four teachers. He committed suicide after being severely beaten up by four teachers.


How does this logic work: k+=(x=5,y=x+2,z=x+y);  How it will give result k == 22. When I initialize the value of k = 10  #include <stdio.h> int main() {     int x,y,z,k=10;     k+=(x=5,y=x+2,z=x+y);     printf("value of k %d ",k); //why it will show value of k =22     return 0; }


I tried looking to find a solution but could not see anything. It might be that I am looking up the wrong thing since I not really sure what is happening. (new to java) Anyways my assignment is to: Write a console program in a class named Weather that reads an input file of temperatures, with real numbers representing daily high temperatures. Your program should prompt for the file name to read, then read its data and print the change in temperature between each pair of neighboring days. Here is what I wrote import java.io.*; import java.util.*;  public class Weather {     public static void main(String[] args) throws FileNotFoundException {         Scanner input = new Scanner(System.in);         System.out.print("Input file? ");         String fileName = input.nextLine();         Scanner file = new Scanner(new File(fileName));         double first = file.nextDouble();         while (file.hasNext()) {         if (file.hasNextDouble()) {             double second = file.nextDouble();             double diff = second - first;             System.out.println(first + " to " + second + ", change = " + diff);             first = second;         } else {             file.next();         }     }     } }  Test two throws an error, when it is asked to do 2.7-4.5 it gives -1.799999... instead of the wanted and expected -1.8. (see photo) When I tried to fix this by changing the system.out.print to " + Math.round(diff)); it still gave the wrong answer. Any suggestions or ideas what I should search to find the answer on this forum.

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


My cheats are enabled, and I was using them last night but this morning when I logged in my slash commands are reading "Unknown Command" You must have permission etc.   I do play in the dark at night is there a key on my laptop that I could have hit causing this? I've looked for answers online and tried everything I could think of with no results.

I am an operator (OP) on my friends Realm. Today I tried to play and noticed that no commands would work for me, or anyone else granted OP. They only worked for the owner of said realm.   He has de-oped us and re-oped us with no cure to the problem. What's causing this?   Also another problem that when he tries to reload the realm it fails every single time, any options that would fix this problem?


I'm very confused about why it is a consequence of special relativity.

I've heard that special relativity makes the concept of magnetic fields irrelevant, replacing them with relativistic effects between charges moving in different velocity frames. Is this true? If so, how does this work?


If $A \in \mathbb{M}_{n\times n}(\mathbb{R})$ with $n\ge 2$ has rank $1$, then the minimal polynomial of $A$ is of degree $2$.  I think it is true because i did not get any example which makes it false. So either give its proof or any counter example to disprove this. Thanks in advance.

I have come across a question about determining possible minimal polynomials for a rank one linear operator and I am wondering if I am using the correct proof method.  I think that the facts needed to solve this problem come from the section on Nilpotent operators from Hoffman and Kunze's "Linear Algebra".     Question: Let $V$ be a vector space of dimension $n$ over the field $F$ and consider a linear operator $T$ on $V$ such that $\mathrm{rank}(T) = 1$.  List all possible minimal polynomials for $T$.   Sketch of Proof:   If $T$ is nilpotent then the minimal polynomial of $T$ is $x^k$ for some $k\leq n$.  So suppose $T$ is not nilpotent, then we can argue that $T$ is diagonalizable based on the fact that $T$ must have one nonzero eigenvalue otherwise it would be nilpotent (I am leaving details of the proof of diagonalization but it is the observation that the characteristic space of the nonzero eigenvalue is the range of T and has dimension $1$).  Thus the minimal polynomial of $T$ is just a linear term $x-c$.    Did I make a mistake assuming that $T$ can have only one nonzero eigenvalue?  Thanks for your help


My scenarios is that Opportunity and section are in master detail relationship.  Section status is a picklist field on section object with the following values   1-won 2-In-market 3-Won/Mandated 4-Issued Commitments 5-Pipeline 6-Proposal Pending Risk Appr 7-Proposal Early Stage   Requirement scenarios   Opty got too many sections need to show in opty record with section status picklist value(i.e, based on priority) eg: from  section records descending order value need to pick from section status and update in opty. suppose that record gets deleted then next descending order value need to be update in opty.  For this I created a statusupdate custom field in OPty.     I am hoping to get help with coding logic for querying and update functionality.

RE: Here Opportunity and section are in master detail relationship.  Section status is a picklist field in section object with values are'1-won','2-In-market','3-Won/Mandated','4-Issued Commitments','5-Pipeline','6-Proposal Pending Risk Appr','7-Proposal Early Stage' Requirement scenarios    Opty got too many sections  Need to show in opty record with section status picklist value(i.e, based on priority) eg: from section records descending order value need to pick from section status and update in opty. suppose that record gets deleted then next descending order value need to be update in opty. For this I created a statusupdate custom field in Opty.   help me for coding logic like querying and update functionality.  for this just give idea like how to map with opty and section and querying and update functionality.. –


I just noticed a bug in the Stack Exchange Android app. A question is displayed incorrectly if the Achievements drawer is already open when the app loads a question. It looks like this:    To reproduce:   Open the Stack Exchange app, and tap the Achievements icon from the top. Leave the app without closing, then try to open a question from external source (e.g. search result, web browser, or Hot Network Question widget)   For reference, I'm running Android 5.1 on a Nexus 5, and the app version is 1.0.68.

I can reproduce that every time now, I go to a site, open an article, then to the next site, open another article. The Feed page pops up for a second, the article page lays over this with some some transparent areas (see picture). The same app-version is ok on a Smartphone with Android 4.4.2. I also sent in some bug reports.    Edit  1.0.71 isn't the solution yet. I go to Meta SE, then to an article. When I want back to Meta SE again, it crashes. Much earlier than before. I already sent in a bug report for this.  Another Edit  I can describe it better now. From the questions-page of a site I go to a post. When I use the back button, everything is ok, I can go to the next site. When I try to go to the next site directly from the post, it crashes. This only happens on the Nexus 10 with Android 5.1.1, App version 1.0.71. Hope this helps.  Edit3  This is fixed in 1.0.73 now. Thanks again.


Look, I have a computer with 960 MB of RAM. I am not going to use Firefox. With this browser, it is using %55 of my memory. Instead I am using a Firefox fork, which is called , in version 2018.02.02 (64-bit). The questions with snippets I share how I see it:  At this point in my opinion if it were for the compatibility issue, Stack Overflow shouldn't be using jQuery. Well, I don't really like that framework, but if it's for practicality when programming the site I get it. Putting that comment aside... Is it possible to make the snippet not overlap with the comments? The version of my browser I have shown, if someone wants, they can install it on your systems to see that it is true. Update the browser? Not really, as I think, because they took a lot of things from it, according to the developers due to security problems, which does not worry me in the least.

Which browsers are officially supported by Stack Exchange?  Also, what else is needed in order to use every feature of the site?