Somebody asked this and I think it's quite interesting as I couldn't figure out how to evaluate this but the Wolfram Alpha says its limit is $\frac e2$. $$\lim_{x\to0}\frac{e-(1+x)^\frac1x}{x}$$ Could someone help here?


Which is correct, are staying or stayed?

Is the use of "are staying" in this sentence correct? I think it should be "stayed" because it is already past tense.     The loan specialist personally visited the house where Mr. A and Mr. B   are staying to let the latter sign the documents.


How to start a terminal with certain text already input on the command-line?

Rather than rephrasing my question, let me describe to you the desired user-case:  I create a short shell-script to run command "gnome-terminal --someoptionflagname 'my text to be posted'", and execute this script.  Gnome-terminal pops up, with command-line prompt followed by my text.   ie: fields@mycomputer:/$ my text to be posted  Can this be done?


I know that Electromagnetic waves undergoes a phase shift when reflected from a denser optical medium. Does this conclusion also hold for other mechanical waves like sound wave reflecting from water surface?


The use of the definite article with proper nouns

While accepting the destination argument for roads, why does the same conceit occur with countries? For example The Gambia, The Lebanon or The Argentine.


Hello I have to determine the gcd of $n^3+3n^2-5 $ and $ n+2$, but I can’t do it because I know we have to eliminate the $n$. I tried to eliminate $n^3 $ but I’m stuck for the rest.


How do I install Pillow and/or Pip in Blender Python in Windows OS

Folks, I've spent the last couple of days reviewing all the info on this and am getting nowhere fast.  The most recent information I've found is about two years old, so I'm HOPING that things have gotten better in 2.79.  I understand Pillow is a module that doesn't come with Blender's Python (referring thereafter as BP).  I also know you can install modules like Pillow with Pip, but that also doesn't come with BP.  So I downloaded a script that is supposed to install Pip if you run it on the command line () , which I tried in the BP directory that contains BP executable.  It did not throw an error, but it didn't appear to do anything and BP still reports the Pip module not found (so I obviously can't do something like:  import pip pip.main(['install', 'pillow']) from PIL import Image   which says it has no module named Pip.  At this point I'm assuming my only real option is to uninstall BP and install another, recent Python that (I guess) Blender then will default to using.  Is this the recommended procedure?  How do I safely uninstall BP?  And what version of Python for Blender 2.79 should I install?  (I don't want to screw up all my Python stuff, both that comes with Blender, as well as Sensei and the stuff I've written).  TIA for any help.


I've run sites that I've developed through various online SEO checkers over the years and some of them have checked me for my text to html ratio.  I remember reading about this once or twice as well.  I have to ask if there is any definitive proof of SEO penalties by, say, Google, when you have done your due diligence with alt/title attributes, schema.org, Facebook's Open Graph, etc, or when you are forced into one of those "div within a div within a div" designs where you end up with a LOT of code?  UPDATE I guess I wasn't clear enough in my question. I understand fully that your page should be useful and meaningful to your end user and not Google. When you have marked up your code so that your page has semantic meaning to Google(as you should!), your code ratio just keeps getting bigger and bigger. My question was if there is definitive proof that Google penalizes your page if the code outweighs the content by a certain percentage. Is this true or some sort of SEO urban legend?


change default username when ssh to another pc

When I ssh between different pcs I can omit my username (tom) and just type   ssh pc_name   instead of   ssh tom@pc_name   I like this feature, and have got into the habit of using it.  Unfortunately, on one of my computers I went for the user name tommy.  Everytime I connect to this computer I forget to write tommy@creative_pc and wonder why my password doesn't work.  Is there a way to tell ssh what user name to use when the username is omitted?  Edit: Just found the following question that is similar:   It didn't come up on my initial search.


How can we automate developer tools particularly the networks section using Selenium?  I need the preview section data of a service call to be logged while using automation.    Is it possible? If so, how do I achieve this?


Possible Duplicate:          I am an engineer who loves to read science fiction books especially when there's more science than fiction but usually I see that I lack the knowledge behind many of the relativity concepts in the novels. I've always felt curiosity in relativity so I decided that it was the time to buy an introductory book. I went to amazon and checked that there are dozens of "Introduction to general relativity" books in there. So here's my question: What book would you recommend to someone not matematician nor physicist but with (some) mathematical background as an introduction to relativity?


Geometric interpretation of eigenvalues an eigenvectors

How would one interpret eigenvalues and eigenvectors? I tried googeling, but could find anything concrete. If i have an matrix consisting of the basis vectors x((3,1),(2,2)) for $\mathbb{R}^4$ and to eigenvalues 4 and -4. What does this mean geometric? I am looking for an intuitive way to visualise it.


Curious why  (se site) doesn't have hot questions list on the right.  It also uses the old stackoverflow design.  Why has this site's design and functionality been abandoned (or at least look abandoned?)


has vs have on a singular noun that represents a plural idea

In the sentence:     I suspect 99% of the world’s population has never even heard of the term ‘Deep Learning’.   is the 'has' correct, or should it be 'have'?


Asymptotic distribution of sample variance of non-normal sample

This is a more general treatment of the issue posed by  . After deriving the asymptotic distribution of the sample variance, we can apply the Delta method to arrive at the corresponding distribution for the standard deviation.    Let a sample of size $n$ of i.i.d. non-normal random variables $\{X_i\},\;\; i=1,...,n$, with mean $\mu$ and variance $\sigma^2$. Set the sample mean and the sample variance as  $$\bar x = \frac 1n \sum_{i=1}^nX_i,\;\;\; s^2 = \frac 1{n-1} \sum_{i=1}^n(X_i-\bar x)^2$$  We know that  $$E(s^2) = \sigma^2, \;\;\; \operatorname {Var}(s^2) = \frac{1}{n} \left(\mu_4 - \frac{n-3}{n-1}\sigma^4\right)$$  where $\mu_4 = E(X_i -\mu)^4$, and we restrict our attention to distributions for which what moments need to exist and be finite, do exist and are finite.  Does it hold that  $$\sqrt n(s^2 - \sigma^2) \rightarrow_d N\left(0,\mu_4 - \sigma^4\right)\;\; ?$$


Asterism and similar breaking / non-breaking options

What are the options that can be considered an alternative to the old  symbol ?  I would like to denote a small break in the flow of the text, I noticed that this days many people like to just add more whitespace than the usual new line; but still, I would like to use a symbol, a more explicit glyph and I don't know if there are more "modern" ways to express this.


I'm trying to sort a dataset by field StartTime (datatype date, indicates when a technician is supposed to start a visit). I am including a SQL where_clause to avoid an earlier problem when it complained it couldn't compare a date to a NULL value.  for Technician in TechList:     insertFields = ["StartTime", "AssignedTech", "VisitOrder"]     sql = """"StartTime" IS NOT NULL"""     print sql     counter = 1     with sorted(arcpy.da.UpdateCursor(fcStops, insertFields, sql)) as cursor:         for row in cursor:             if row[1] == Technician:                 row[2] = counter                 cursor.updateRow(row)                 counter += 1   The problem is in the sorted (an idea I got from the , Example 5). If I take that out, it runs but of course is all out of order.  How can I sort the UpdateCursor so that I'm assigning VisitOrder the correct ordered value -- or is there another way ensure that the first visit gets 1, second 2, etc.?


Local class incompatible when deserializating

Im trying to read and write an object to a .ser file. This object is composede by and array of another objects, and an integer. Like this:  public class  Ranking implements Serializable{     private static ArrayList<Acabada> partides = new ArrayList<Acabada>();     private int tipus_ordenacio; }   When using serialitzation, the code seems to work. When I open the file generated there appears some unredeable stuff. But when writting (deserialization) I get this message:     tipus ordenacioo 1java.io.InvalidClassException: domain.Ranking; local class incompatible: stream classdesc serialVersionUID = 5620111485391998837, local class serialVersionUID = -3886134201979592842   This is the code I use to deserialize.    public void readFromFile() {           try {             FileInputStream fis = new FileInputStream("ranking.ser");              ObjectInputStream ois = new ObjectInputStream(fis);             domain.Ranking ranking = (domain.Ranking) ois.readObject();                         ois.close();             fis.close();     }         catch (FileNotFoundException e) {             e.printStackTrace();         } catch (IOException e) {             e.printStackTrace();         } catch (ClassNotFoundException e) {             e.printStackTrace();         }       }     What am I doing wrong? Thanks!


UK visa required? Wife is a German national and I have unlimited stay residence permit

Do I need to get a visa before travelling to the UK? I hold a permenant residence permit Niderlassungserlaubnis. My wife is a German national, but not working currently.


Porting Google OpenID to Stack Exchange OpenID

I've been using Google Openid for sometime to login to Stack Exchange network. Lately I started to work with another Google account on my PC. this causes Stack Exchange to try to login with the wrong Google account. I decided that I rather use Stack Exchange Openid to login instead.  Is there a way to port my Gmail openID user to Stack Exchange openID user?


The statement "$\alpha$ is a cardinal" is not absolute

Jech in his "Set Theory" states without elaboration that cardinal concepts are not absolute generally. I think this is problematic. Any thought?


Difference between known-plaintext attack and forward search attack

I am looking at the different attacks on RSA. I came across known-plaintext attack where the public key can be used to encrypt all possible messages until it finds a match on the sent encrypted message. However, on the book I found in the library it seems this form of attack is also called "Forward search attack".      If the message space is small or predictable, an adversary can decrypt a ciphertext c by simply encrypting all possible plaintext messages until c is obtained. Salting the message as described above is one simple method of preventing such an attack. -Handbook of Applied Cryptography   So are these attacks the same with different names or have I misunderstood it?


How can I prove that $T(n) = 2T(n/2) + n$ is $\mathcal{O}(n \, \log{n})$ without master theorem , if $T(1)=\mathcal{O}(1)$?  How can I continue from here?  $T(n) = 2T(n/2) + n,$$T(n) = 4T(n/4) + 2n,$$T(n) =$ $...,$ $T(n) = 2^kT(n/2^k) + kn.$


How Far is it recommended to show large table content on mobile browsers

Is it good practice to show all content that is in desktop version to mobile browser. Can mobile browser handle this kind of data,With low bandwidth. How far is it legible to read with that huge content on small screen Here i have attached screen on table from desktop version and mobile view(responsive design). Will it be good if some fields are limited in mobile version. and what are Cons of responsive design for content heavy based websites with large data and table structures.


Show that any natural number $n$ can be written on the form $n = 2^k \cdot m$, where $m$ is an odd integer and $k \geq 0$.   I know that if $n$ is an integer, it can be written on the form $n = \frac{a}{b}$ for two integers $a$ and $b$. Also, $m$ can be written as $m = 2c +1$ for an integer c, since it's odd. But I don't know how to use this to come up with a proof. Also, I have to show that $n$ is a non-negative integer


Does pointwise convergence of continuous functions on a compact set to a continuous limit imply uniform convergence on that set?

The problem is in Marsden - Elementary Classical Analysis 2nd ed. Ch.5.  My approach was   Condition : $f_k, f(\in\mathcal C) : A\to N$, $f_k \to f \ \text{(pointwise)}$ and $A$ is compact. Since $A$ is compact, the range of $f_k, f$ are all compact, so bounded. Since $f_k, f\in\mathcal C_b$, if $\|f_k-f\|\to 0$ in $\mathcal C_b$ then $f_k\to f \ \text {(uniformly)}$.   when the norm of $\mathcal C_b$ is defined by $\|f\|=\sup\{\|f(x)\||x\in A\}$.  I got stucked in 3, showing $\|f_k-f\|\to 0$. I don't even know the proposition is true. Can anyone give me some hint to solve this or a counterexample for this?


What does it mean 'exit 1' for a job status after rclone sync

I am copying some large datasets to google drive using rclone in Linux on MobaXterm. First, I copy the dataset using;  -cpu:~$ nohup rclone copy /path_to_source/. /path_to_destination &   once copying is completed, I use sync to make sure everything is copied using;  -cpu:~$ nohup rclone sync /path_to_source/. /path_to_destination &   Now when check the job status using;  ps -ef | grep rclone   For one of the jobs, it gives;   [3]+  Exit 1         nohup rclone sync /path_to_source/. /path_to_destination &   I was expecting to see 'Done' instead of 'Exit 1'. What does this mean? Does it mean sync is unsuccessful? If so what would be the reason?


Why don't electrons collaspe into black holes?

An electron has a mass of $9.10938291(40) \times 10^{−31} kg$. It also has a volume of $0 m^3$. This would imply it has infinite density. Shouldn't that make it collapse into a black hole? Why doesn't it?


Is there a rule for using gerunds and infinitives instead of memorizing the verbs? I mean when to use gerund or infinitive just by looking at the sentence.


In Java, is it legal to call remove on a collection when iterating through the collection using a foreach loop?  For instance:  List<String> names = .... for (String name : names) {    // Do something    names.remove(name). }   As an addendum, is it legal to remove items that have not been iterated over yet? For instance,   //Assume that the names list as duplicate entries List<String> names = .... for (String name : names) {     // Do something     while (names.remove(name)); }


Is there a way to display the timezone based on the user visiting my website? I built a comment box and I want the displayed comments to show the time and date, which I've set up, but I would like the user to be able to see comments' time info to be adjusted automatically for the timezone of the user, so I'd see a different timestamp than someone in another area would see.  I tried searching this, but I keep seeing questions where people are asking about how to choose a specific timezone, which isn't what I want. Sorry if I made a duplicate question.  Currently I'm displaying the date and time by using this code:  <?php echo datetime_to_text($comment_text["created"]); ?>   The function it's using is:  function datetime_to_text($datetime="") { $unixdatetime = strtotime($datetime); return strftime("%B %d, %Y", $unixdatetime); }   I think my database is currently storing this info in the UTC timezone by default. I don't know if this is relevant, but I also saw other questions referring to the php.ini file, but my server won't let me access it or upload my own.  The answer doesn't need to be in php, if something is easier, I've just never used javascript and I wrote the comment box code with php, so I just default to it.


Delete files which are older than 5 days on shared drive

I am using this code for deleting but it is not working. Please find the code below.  Current code:    @Echo off forfiles /p "G:\ABC" /s /m *.* /c "cmd /c Del @path" /d - 5   If I want to do this process in a shared drive then what should be the specific code.


Error: Exception in thread "main" java.lang.NullPointerException at Deck.toString(Deck.java:83) at DeckDriver.main(DeckDriver.java:25)   I'm completely lost as to why i'm getting this error message. The d.toString is supposed to display 52 lines of code describing the Deck d.  Deck class  import java.util.Random; public class Deck {     private Card[] deck;     private int nextCard;     Face face;     Suit suit;       /**      * Default Constructor              *      *
      * Date created: Feb 17, 2014       *      *       */     public Deck()     {         nextCard = 0;         deck = new Card[52];         int iCount;         for(iCount=0; iCount<52; iCount++)         {             Card c = new Card(iCount);         }     }       /**      * Copy Constructor              *      *
      * Date created: Feb 17, 2014       *      *       * @param existingDeck      */     public Deck(Deck existingDeck)     {         int i;         for(i=0;i<52;i++)         {             this.deck[i] = existingDeck.deck[i];         }     }      /**      * toString               *      *
      * Date created: Feb 17, 2014       *      *
      * @return      * @see java.lang.Object#toString()      */     public String toString()     {         int iCount = 0;         String description = "";         for(iCount=0; iCount<52;iCount++)         {             description += deck[iCount].toString();         }         return description;     }      /**      * Shuffles the deck             *      *
      * Date created: Feb 17, 2014      *      *
      */     public void shuffle()     {         Random r = new Random();         nextCard = 0;         int i;         for(i=0;i<52;i++)         {             int x = r.nextInt(52);             Card c = new Card();             c=deck[x];             deck[x]=deck[i];             deck[i]=c;         }     }      /**      * Deals individual card.              *      *
      * Date created: Feb 17, 2014      *      *
      * @return      */     public Card dealACard()     {         Card c;         c=deck[nextCard];         nextCard++;          return c;     }      public String dealAHand(int handSize)     {         int i;         String hand="";         for(i=0;i==handSize;i++)         {             hand+="" + dealACard();         }         return hand;     } }   DeckDriver class  public class DeckDriver {     public static void main(String[]args)     {         Deck d = new Deck();         System.out.print(d.toString()); //(this is the DeckDriver.main(DeckDriver.java:25))     } }


Alpha channel is white, not transparent, in Texture mode

I imported images-as-planes into Blender Cycle.  I clicked "use alpha" (premultiplied) and "emissions and transparent".  The images are fine in Render mode, but the transparent areas appear as opaque white in the viewport in texture mode.  I need the transparent areas to be transparent while I'm editing.  How can I fix this problem?  Thank you!


Receiving badges very long after meeting the criteria

Recently, I completed the "electorate" badge.  I voted 600 times on questions, but did not receive my badge immediately.  It was only after 10 minutes that I got it.  Is this a bug?  Or else could it be corrected?


We know that an object that feels no force should travel at a constant speed. But a body accelerating because of gravity feels no force. This seems to be a paradox. Could we possibly find the origins of gravity if we solve this paradox?


So if I have the following code:  <?php function someFunction() {     //lots of lines of code }  if ($someBooleanVariable) {     //some random code } else {     someFunction(); }  ?>   Question 1: Am I correct to assume that the server will first load the whole function, and then possibly not even use it?  Question 2: If that were the case, wouldn't it often be more efficient to place the function code inside the brackets "{}" after the else in the previous code? (assuming that the code would only run once and wouldn't need to be used anywhere else).  Since the code would only load and run if the "$someBooleanVariable" was FALSE, I assume that the server would be less used if the code wasn't in the function but rather inside the brackets after the "else". However I am basing that on the assumption that the server is loading the function code automatically every time since it is at the top of the page, which might be the root of the question.


I am new to tries and testing how it works. Right now I am building a contact list. I add 'Prashanth' and 'Pradep' to the trie and when I search 'Pra' I should receive the count as two. My approach is having the variable size in each node and returning it when the string of same length is found. There are some unnecessary things/variables like payload etc which I used for debugging. The problem I found is when I store a character and a node in hashmap, empty node is getting stored. So I am getting 0 as answer all the time.    public class tries {  public static class Node {      HashMap<Character, Node> children = new HashMap<>();     boolean endOfWord = false;     int size =0;     int payload = 10;       public void setNode(char c, Node n) {       children.put(c,n);     }      public Node getNode(char c) {         return children.get(c);     }      public void addNode( String s,int index) {         Node current = children.get(s.charAt(index));         size++;         if(index ==s.length()-1)         {             endOfWord = true;             return;         }         if(current== null)          {              current.payload = 11;             this.setNode(s.charAt(index),current);         }         addNode(s,index+1);      }      public int findcount(String s, int index) {         Node current = children.get(s.charAt(index));          if(index ==s.length()-1)         {             current.endOfWord = true;             return current.size;         }         if(current == null)         {             return 0;         }           return findcount(s,index+1);     } } public static void main(String args[]) {     String c1 = "Prashanth";     String c2=  "Pradep";     Node n = new Node();     //tries t = new tries();      n.addNode(c1,0);     n.addNode(c2,0);      System.out.println(n.findcount("Pra",0));   }   }     Error which I get If i run this code. ( I will get 0 if I alter a bit)   Exception in thread "main" java.lang.NullPointerException at tries$Node.addNode(tries.java:35) at tries.main(tries.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)


How far are the $p$-adic numbers from being algebraically closed?

A few days ago I was recalling some facts about the $p$-adic numbers, for example the fact that the $p$-adic metric is an ultrametric implies very strongly that there is no order on $\mathbb{Q}_p$, as any number in the interior of an open ball is in fact its center.  I know that if you take the completion of the algebraic closure of the $p$-adic completion you get something which is isomorphic to $\mathbb{C}$ (this result was very surprising until I studied model theory, then it became obvious).  Furthermore, if the algebraic closure is of an extension of dimension $2$ then the field is orderable, or even real closed. Either way, it implies that the $p$-adic numbers don't have this property.  So I was thinking, is there a $p$-adic number whose square equals $2$? $3$? $2011$? For which prime numbers $p$? How far down the rabbit hole of algebraic numbers can you go inside the $p$-adic numbers? Are there general results connecting the choice (or rather properties) of $p$ to the "amount" of algebraic closure it gives?


Can a GLE code be empaded in Latex document?

I am searching for a good tool for graphs and charts and found . Am I able to include a code written in GLE within a latex document? The aim is not including it as a file in the document but as a script within the latex script, is it possible?  Thank you


Do I need visa for UK visit if I have a work permit for Ireland?

I hold an Indian passport and am living and working in Ireland with a valid work permit.   Do I need a visa to go to the UK? Do they have border control?


When I look at my recently deleted answers I see a list of answers all having zero score.    But some of them have scores.  For instance


I installed these applications on my Ubuntu:   nginx php5-fpm mysql server redis ...   These applications run every time the computer turns on.  How can I prevent these applications from running on start up? So, these applications only run if I do "service nginx start".


Why is it necessary to sample from the posterior distribution if we already KNOW the posterior distribution?

My understanding is that when using a Bayesian approach to estimate parameter values:   The posterior distribution is the combination of the prior distribution and the likelihood distribution. We simulate this by generating a sample from the posterior distribution (e.g., using a Metropolis-Hasting algorithm to generate values, and accept them if they are above a certain threshold of probability to belong to the posterior distribution). Once we have generated this sample, we use it to approximate the posterior distribution, and things like its mean.   But, I feel like I must be misunderstanding something. It sounds like we have a posterior distribution and then sample from it, and then use that sample as an approximation of the posterior distribution. But if we have the posterior distribution to begin with why do we need to sample from it to approximate it?


How does the soul split when making multiple Horcruxes?

My question is regarding the size of the torn soul portions - are all the portions equal size? If yes how could it be? The soul doesn't know how many times it's going to be split. There are two ways;  Halving : So on the first split, the soul divides into equal halves. One half in the Horcux and other half in the body. When the soul is split again, the half in the body divides equally (into quarters of the whole soul). The process repeats seven times. By the seventh time, the soul in the body (as well as the final Horcux) would be extremely small. Problem: This would mean that the earlier Horcruxes are stronger than the later ones (because they have larger soul portions in them). However this doesn't seem to be the case - or is it?  Equal splitting: Voldemort made seven Horcruxes - if this theory is correct, each soul portion in the seven Horcruxes are of equal size. Problem: But this doesn't seem to be plausible because how does the soul know how many times i'ts going to be split?


Jquery validation plugin submit without validation

I'm using the jQuery validation plugin. When I click the 'My btn' button the form needs to submit without validation. Even if the title is empty it should be able submit by only clicking the 'My btn' button. Is there any way to do this?  <form class="callBkfrm" method="POST" action="/my_action">   <input type="text" name="title" />   <button class='btn' type="button">My btn</button>   <button type="submit">Submit</button> </form>   $(".myFrm").validate({   rules: {     title: {       required: true     },   } });


Are the groups $(\Bbb Q^2,+)$ and $(\Bbb Q,+)$ isomorphic?

Are the groups $(\Bbb Q^2,+)$ and $(\Bbb Q,+)$ isomorphic ?   I don't know how to proceed because I am getting all the structural  properties same.  Can I get some help?


What’s the right calculation for the Homunculus’s hit points for the 2019 UA Alchemist Artificer?

In the , the Homunculus's hit points are given as:     Hit Points equal to five times your level in this class + your Intelligence modifier   Is this calculated as \$(5\times level) + {Int Mod}\$ or \$5\times (level + {int mod})\$?


Why can't I join any Minecraft Multiplayer servers?

This just started happening today:  I have minecraft installed on Ubuntu 14.04 LTS. For some reason multiplayer doesn't work for me: I get a good ping for the server but every time I attempt to join, for the first few moments everything works and chat is working but then, all the players freeze, chat doesn't work, portals don't work, and when I type something in chat, it doesn't show up. After 5 more seconds, I get kicked from the server and it says "Connection lost Timed Out".   I've tried joining many servers (hypixel, mineplex, etc.) but none of them work (the same thing happens to all of them). I've tried restarting my computer 2 times, disconnecting and reconnecting my wifi, and I re-installed minecraft.   What can I do to fix this?


The Cayley-Hamilton theory states that every matrix $A \in M_n(\mathbb{C})$ is a root of its own characteristic polynomial $p_A(x)$. My thought is this, since by definition $p_A(x) = \det(xI-A)$, filling in $A$ into this polynomial we obtain  $$ p_A(A) = \det(AI-A) = \det(A-A) = \det(0) = 0.  $$ What is wrong with this reasoning?


Why wasn't Hunter x Hunter chapter 350 released yet?

Does anyone here know why Hunter x Hunter chapter 350 has not been released yet?  When is it coming out? I would be grateful for any answers or comments you are able to provide.


Let's say you are tasked with backing up a Windows installation. You could back up everything, but that's inefficient. One can make a backup more compact by considering these directories:     (1) Much of what can be found in C:/WINDOWS is also replaceable by just reinstalling the system from scratch (and although you may not get back the exact binaries you had on the system due to updates, there is seldom a logical reason to hold onto old versions of Windows system files).      (2) Most of the things in C:/Program Files is replaceable; for instance if you want to get FireFox up and running again, just re-download the binaries from their website. Even large pieces of software such as Adobe's over-priced Creative Suite is reconstructible provided you back up the easy to store key.      (3) The data that is irreplaceable is pretty much everything in C:/Users (especially in the oft-forgotten subdirectories related to AppData). This obviously needs to be backed up.   Aside from those three obvious locations, what other parts of a Windows can or cannot be replaced, and should be considered when backing up a Windows system?  For instance, from what I understand, the registry (which will have unique data in) is actually stored physically somewhere on the harddrive as well.


Basic Ring Theory Question involving the unit element

If $ \phi: R \to R'$ is a homomorphism of $R$ onto $R'$ and $R$ has a unit element,  $1$, show that $\phi(1)$ is the unit element of $R'$.  I am having trouble proving this. I think I just need a hint on how to start and I will be able to solve. But basically I have tried a few things like $\phi(1) = \phi(a)\phi(b)$ but I cannot assume it is a division ring. Also is it okay to assume from the wording of the question that $R'$ has a unit element.  Thanks in advance.


I'm writing a quick little conversion app for degree conversions and I'm stuck. I'm having issues updating the values by using methods of a different class. Here is my code:  public class AppInfo {     private double value;     public double getValue() {         return value;     }     public void setValue(double value) {         this.value = value;     }     public void ConvertF() {         value = (value * 1.8) + 32;     }     public void ConvertC() {         value = ((value - 32) * (5 / 9));     }     public void show() {         System.out.println(value);     } }   My second class (main) is this:  public class Working {     public static void main(String[] args) {         System.out.println("Enter degree");         Scanner sc = new Scanner(System.in);         double value = sc.nextDouble();         AppInfo newValue = new AppInfo();         String answer;         System.out.println("What unit conversion? C to convert to celsius and F for fahrenheit");         answer = sc.next();         newValue.setValue(value);         if(answer.toLowerCase() == "c") {             newValue.ConvertC();         }         else if(answer.toLowerCase() == "f") {             newValue.ConvertF();         }         newValue.show();     } }   Every time I run it, it just returns the same value the user entered in the beginning. It won't update the new value after using the ConvertF/C methods.  I don't know why this is marked as a duplicate. My question isn't about comparing strings so how the hell is it even remotely a duplicate? I just want someone to help me understand what is wrong with my code so I can have a functional program that converts degrees. Simply shutting my question down is demotivating and very irritating. All I want is to know how to fix it/what is wrong.


jQuery - mousemove on dynamically created element

I want to trigger mousemove insinde a dynamic created element called '.box'. How can I add this condition to the following code?  jQuery                  $(document).mousemove(function (event) {                   .....             });


can not hibernate Ubuntu 20.04 (no disk /sys/power/state)

The referenced answer that stated in the closed message is not answering my question as you can see from my original post, I followed that answer and was not able to enable hibernation. I am trying to follow  But when I run this command: cat /sys/power/state  I am getting this result: freeze mem  Αnd for that reason, I can not hibernate. What is the problem and how I can fix it? Τhe output of installing pm-utils and hibernate is the following: $ sudo apt install pm-utils hibernate Reading package lists... Done Building dependency tree        Reading state information... Done hibernate is already the newest version (2.0+15+g88d54a8-1). pm-utils is already the newest version (1.4.1-19). 0 to upgrade, 0 to newly install, 0 to remove and 9 not to upgrade.  Also, the swap partition exists and its size is 19 GB (I have 16 GB RAM). $ swapon -s Filename                Type        Size    Used    Priority /dev/sdb1                               partition   19104764    0   -2


Ubuntu 18.04 LTS Server npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed

My environment is a little different. I updated from 14.04 to 16.04 to 18.04.  My desktop PC 18.04 has npm installed.  $ npm -version 3.5.2  # nodejs -v v8.10.0  # apt install npm   Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed E: Unable to correct problems, you have held broken packages.


Increment and decrement operator evaluation in c

Hi I am trying to solve the expression in c. I am getting the value 10 but as per the precedence table the value should be 12. can someone please explain. void main(){      int a = 1;       a = ++a + ++a + ++a;       printf("a=%d",a); }


I've been biking to work 2-3 times/week this summer and I enjoy it for the most part.  My big problem is that my ride is mostly downhill on the way in to work and mostly uphill on the way home.  These aren't mountainous climbs or anything but for a newbie like me they're tough.  I have a 21 speed street bike and my hills are on streets in quiet residential areas.  What is the proper way to approach a hill in terms of gear selection and effort?  Someone told me you shouldn't have to stand on the pedals to go up hills, but that seems like it can't be right from what I've seen (briefly) of the pros on TV.  I'm completely in the dark on gear selection.  Obviously its easier to pedal in lower gears but then I feel like I'm just wasting my energy pedaling quickly and not getting anywhere.  Any help would be appreciated!


Single word for driving/flying tank, submarine, and plane

From a :     I have the training to fly thirteen different aircraft, two types of tanks, and a nuclear submarine.   Fly doesn't really work with tanks or submarines. What's the best way to properly state this sentence? Is there a good single word to replace fly, or do we have to say something like...     I have the training to fly thirteen different aircraft, drive two types of tanks, and [whatever] a nuclear submarine.


Circuit to supply power to USB during car brownout

I have a USB car charger plugged in the accessory port of my car and I also have a simple bluetooth USB to aux adapter plugged into it. As I start the car, the power drops to the accessory port and the adapter's bluetooth connection disconnects from my phone. It's annoying having to wait for it to reconnect and start my music every time, plus its illegal to operate a phone here in the UK.  I want to know if I could create a simple circuit to hold enough power to keep the adapter running while the power drops. I think the power drop lasts roughly 5-10 seconds and the bluetooth adapter is only 5v 0.1a. Could a capacitor help in this situation?


Is a match forfeited if a player refuses to leave after being sent off?

So, I know that according to MLB rules, the umpire in chief can forfeit the game if an ejected player refuses to leave the field.  Can a soccer/association football referee forfeit a match the same way?  Say a player gets red carded, and decides to stand and keep arguing. Can referee forfeit the game if he doesn't leave or does he just keep slapping the player with more red cards?


Brand Guideline Colors Don't Match Pantone

I'm in the process of starting a new company, and am trying to create the brand guideline document, so I'm having to learn all about RGB, CMYK, and Pantone from scratch, so apologies if this is a stupid question.  I'm using a document from an existing company as guidance for creating my own document, and my main issue is that the colors given for RGB/CMYK/Hex don't match what Pantone suggest.  Unfortunately I don't have a color bridge book, and am instead using the site;   as reference.  According to the document I have, the main color is defined using the following figures;    Pantone 303 Hex 003145 RGB 0/49/69 CMYK 100/15/0/80 RAL 5011   Now according to the above link, the figures should be:   Hex 002a3a RGB 0/42/58 CMYK 100/47/22/82   Is there any particular reason why these figures would not match?   Why would a Pantone color be specified if the conversion provided by Pantone is not being used?


I installed CUDA toolkit on my computer and started BOINC project on GPU. In BOINC I can see that it is running on GPU, but is there a tool that can show me more details about that what is running on GPU - GPU usage and memory usage?


setting environment variable as a function of another env variable

I would like to set an environment variable (that we'll call "TEST") to store the path to a sub-directory of my home directory : something like /home/myself/dir/. I would like to use the $HOME variable so that the system can get a path that is valid for any user on the system (provided they have a directory called "dir" in their home folder). I tried several possibilities, but could not get it working. Here is one of my tries:  export TEST='$HOME/dir'   We can check that the variable has indeed been created :  env | grep TEST   Which returns:  TEST=$HOME/bin   So far so good. However this is where things get tough :  cd $TEST   Returns:  bash: cd: $HOME/bin: No such file or directory   However following variant works:  eval cd $TEST   Is there any way to obtain the same result, but without invoking eval?


Image will show up with \includegraphics but non with begin figure

if I use:  \includegraphics{Graph}   the image will show up, but not if I use  \begin{figure} \includegraphics{Graph} \end{figure}   Any idea why? Missing package? I need it because in the figure I will add the caption and label...  Thanks  Minimal example:  \documentclass[twoside]{article} \usepackage[utf8]{inputenc} % Use 8-bit encoding that has 256 glyphs \usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt]{geometry} % Document margins \usepackage{multicol} % Used for the two-column layout of the document \usepackage{graphicx} \begin{document} \begin{multicols}{2} % Two-column layout throughout the main article text  I add the figure. \begin{figure}  \includegraphics{Graph} \end{figure} % \includegraphics{Graph} % with this would work \end{multicols} \end{document}   Solution:  Don't use begin and and figure.  Use direct \includegraphics{Graph} and on a new line \captionof{figure}{the caption}\label{textorefer}  Thanks all for the help!!


I would like to know if you guys would know a tool that allows to know what's actually going on during the installation of a software on Windows. I would like to know which files have been created/modified, which/where binaries have been copied, and which registry keys have been created/modified.


When is Pat going to call you?  I' am expecting him to call sometime ______ the weekend.  a)in b)on c)over


How to deal with variables that are only relevant for some people?

I am reviewing an article. I can't be specific, but it involves validating a test for a health condition. Their goal is to come up with a score for risk of the condition. One variable is pregnancy.  Does this mean that they should validate the test separately for men and women? Or is it fine to include everyone and just mark "no" for pregnancy in all men?


div1 is in the centre of screen and I want div2 in the centre of div1

   css:   #div1{       top:0;      left:0;      right:0;      bottom:0;      margin:auto;      position:fixed;      width:595px;      height:842px;      background-color:#F0F0F0;  }  #div2{  }


I am interfacing DS1307 RTC with PIC32MX795F512L. I am using I2C1 for DS1307 RTC and then using UART2 to send the RTC value to the terminal. I have written the code but don't know why I am not getting data.   In my code I am using   OpenI2C2 to open the i2c channel. StartI2C2() to start the communication StopI2C2() to stop the communication MasterWriteI2C() to write the data MasterReadI2C() to read the data   These are included in plib.h file.  Updated CODE:  OpenI2C2(I2C_EN, 163); // I2C channel Configuration  StartI2C2();             IdleI2C2();              n = MasterWriteI2C2(0xD0);  //device address IdleI2C2();               MasterWriteI2C2(0x07);       IdleI2C2(); MasterWriteI2C2(0x00); IdleI2C2(); StopI2C2();  StartI2C2();             IdleI2C2();              MasterWriteI2C2(0xD0);   IdleI2C2();  MasterWriteI2C2(0x01); IdleI2C2();  MasterWriteI2C2(0b00010011); IdleI2C2();  StopI2C2();   StartI2C2(); IdleI2C2(); MasterWriteI2C2(0xD0); IdleI2C2(); MasterWriteI2C2(0x01); IdleI2C2(); StopI2C2();  StartI2C2(); IdleI2C2(); MasterWriteI2C2(0xD1); IdleI2C2(); **res = MasterReadI2C2();** IdleI2C2(); NotAckI2C2(); IdleI2C2(); StopI2C2();   I am using 163 ((33000000/2/100000)-2)as BRG value for I2C communication. I am debugging the code and can see all the values in I2C registers are correct but at res = MasterReadI2C2(), nothing shows up in I2C2RCV register which holds  the received value and even nothing showing up in the res variable. I also used a variable n to check if the values are actually transmitting or not. So I received 0x00 as the value of n and according to document, 0 means transmission successful.   I don't know where I am missing the point.


So i was wandering is there a way to transform object 2 into object 1, without going into edit mode and deleting all extra vertice from object 2 i tried the un-subdivide option but it did something else :/ help please.


Compiling this example:  \documentclass{scrartcl}  \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf}   \begin{document} \begin{equation}   \int\limits_a^b x² \,\symup{d}x \end{equation} \end{document}   with lualatex looks a lot uglier than compiling with xelatex. The spacing of the \limits is just way out of perfect:  lualatex result:    xelatex result:


Is 'thought it to be' grammatically correct?

Does      If man continues to scathe all of Earth and its seas, then this isn’t   the world I thought it to be   make sense? Or should I just replace the 'to' with 'would'?


I would want know why when I sum 5.9 plus 4.2 in python, it returns 10.100000000000001, i.e., why 0.000000000000001? Any explain will be well received.


Finding a permutation $ \alpha $ given $ \alpha^4 $

I have the following question:  Find a permutation $\alpha ∈ S_7 $ such that $\alpha^4 = (2 1 4 3 5 6 7)$. Is $\alpha$ unique?  How should I go about this? I've tried a few different trial and error type solutions but to no avail.  Thanks


$G$ a finite group such that $x^2 = e$ for each $x$ implies $G \cong \mathbb{Z}_2 \times ... \times \mathbb{Z}_2$ ($n$ factors)

Let $G$ be a finite group such that $x^2 = e$ for each $x \in G$. I know already that $G$ is abelian and that the order of $G$ is $|G| = 2^n$ for some $n \geq 0$. Now I wish to show that $$G \cong \mathbb{Z}_2 \times ... \times \mathbb{Z}_2$$ where there are $n$ factors (we define the direct product of zero groups as the trivial group $\{e\}$).    So far I have the following partial proof:  Using the fact that $|G| = 2^n$, we prove by induction on $n$. When $n = 0$ we have $|G| = 2^0 = 1$, hence $G \cong \{e\}$, which we said above is isomorphic to the direct product of zero copies of $\mathbb{Z}_2$.  Now suppose for some $n \geq 1$ that the statement holds for all $k$ with $0 \leq k \leq n - 1$. We wish to prove the statement for $n$.  Since $n \geq 1$, the order of $G$ is $|G| = 2^n \geq 2$, hence $G$ is nontrivial. Therefore there is an element $x \in G$ such that $x \neq e$. The element $x$ generates a $2$ element subgroup $H_1 = \langle x \rangle$ which is isomorphic to $\mathbb{Z}_2$. Given any coset $xH_1 \in G/H_1$, we have $$(xH_1)^2 = (x^2)H_1 = eH_1$$ (Why? Or is this false?). Therefore we may apply the inductive hypothesis, i.e., $$G/H_1 \cong (\mathbb{Z}_2)^{n-1}$$ where $(\mathbb{Z}_2)^{n-1}$ is the direct product of $n-1$ copies of $\mathbb{Z}_2$.  What remains to be shown is that there is a subgroup $H_2$ of $G$ isomorphic to $G/H_1$, and that $H_1 \cap H_2 = \{e\}$ and $H_1 \cdot H_2 = G$. If we can show this then $G \cong H_1 \times H_2$ since both $H_1$ and $H_2$ are normal in the abelian group $G$. Then we may just substitute our isomorphic values of $H_1$ and $H_2$ to get the result.


New apacite package (2012-Feb-14) problem?

A new version of the apacite package was introduced on 2012-Feb-14, with three added options to select different citation commands: apaciteclassic, natbibapa, and nocitation. I installed the package on MiKTeX 2.9 and tried to use it. The apaciteclassic option works without any issues. However, when I try natbibapa I get this error (I paste part of the log):  ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\natbib\natbib.sty" Package: natbib 2010/09/13 8.31b (PWD, AO) \bibhang=\skip48 \bibsep=\skip49 LaTeX Info: Redefining \cite on input line 694. \c@NAT@ctr=\count89 ) LaTeX Info: Redefining \BBA on input line 3. ! Undefined control sequence. \apacite.sty-h@@k ...elist {\orig@mb@citenamelist                                                    ,citeauthort,citeauthorp,c... l.3 ? ! Emergency stop. \apacite.sty-h@@k ...elist {\orig@mb@citenamelist   ,citeauthort,citeauthorp,c... l.3  End of file on the terminal!   Here is a minimal working example (that produces the error):  \documentclass[12pt]{report} \usepackage[natbibapa]{apacite}  \begin{document}  Lorem ipsum dolor sit amet. \citet{shermis1999comparison} consectetur adipiscing elit.  \bibliographystyle{apacite} \bibliography{myrefs} \end{document}   And here is the bib entry:  @ARTICLE{shermis1999comparison, author = {Shermis, M.D. and Lombard, D.}, title = {A comparison of survey data collected by regular mail and electronic   mail questionnaires},  journal = {Journal of Business and Psychology}, year = {1999}, volume = {14}, pages = {341--354}, number = {2}, publisher = {Springer} }     Can someone install the new package and see whether he/she gets the same error while utilizing the natbibapa option? Is there something I am doing wrong?  I appreciate any help.


On the equality case of the Hölder and Minkowski inequalities

I'm following the book Measure and Integral of Richard L. Wheeden and Antoni Zygmund. This is problem 4 of chapter 8. Consider $E\subseteq \mathbb{R}^n$ a measurable set. In the following all the integrals are taken over $E$, $1/p + 1/q=1$, with $1\lt p\lt \infty$. I'm trying to prove that $$\int \vert fg\vert =\Vert f \Vert_p\Vert g \Vert_q$$ if and only if $\vert f \vert^p$ is multiple of $\vert g \vert^q$ almost everywhere. To do this, I want to consider the following cases: if $\Vert f \Vert_p=0$ or $\Vert g \Vert_q=0$, we are done. Then suppose that $\Vert f \Vert_p\ne 0$ and $\Vert g \Vert_q\ne 0$. If $\Vert f \Vert_p=\infty$ or $\Vert g \Vert_q=\infty$, we are done (I hope). If $0\lt\Vert f \Vert_p\lt\infty$ and $0\lt\Vert g \Vert_q\lt\infty$, proceed as follows. When we are proving the Hölder's inequality, we use that for $a,b\geq 0$ $$ab\leq \frac{a^p}{p}+\frac{b^q}{q},$$ where the equality holds if and only if $b=a^{p/q}$. Explicitly $$\int\vert fg \vert\leq \Vert f \Vert_p \Vert g \Vert_q \int\left( \frac{\vert f \vert^p}{p\Vert f \Vert_p^p} + \frac{\vert g \vert^q}{q\Vert g \Vert_q^q}\right)=\Vert f \Vert_p \Vert g \Vert_q.$$ From here, we see that the equality in Hölder's inequalty holds iff $$\frac{\vert fg \vert}{\Vert f \Vert_p \Vert g \Vert_q}=\frac{\vert f \vert^p}{p\Vert f \Vert_p^p} + \frac{\vert g \vert^q}{q\Vert g \Vert_q^q}, \text{ a.e.}$$ iff $$\frac{\vert g \vert}{\Vert g \Vert_q}=\left( \frac{\vert f \vert}{\Vert f \Vert_p} \right)^{p/q},\text{ a.e.}$$ iff $$\vert g \vert^q\cdot \Vert f \Vert_p^p=\vert f \vert^p \cdot \Vert g \Vert_q^q,\text{ a.e.}$$ Q.E.D. But, assuming that $\Vert f \Vert_p\ne 0$ and $\Vert g \Vert_q\ne 0$, what about when $\Vert f \Vert_p=\infty$ or $\Vert g \Vert_q=\infty$? How can I deal with it? In the case of Minkowski inequality, suppose that the equality holds and that $g\not \equiv 0$ (and then $\left( \int \vert f+g \vert^p\right)\ne 0$). I need to prove that $\Vert f \Vert_p$ is multiple of $\Vert g \Vert_q$ almost everywhere. I can reduce to the "Hölder's equality case". I can get $$\vert f \vert^p=\left( \int \vert f+g \vert^p\right)^{-1}\Vert f \Vert_p^p\vert f+g \vert^p$$ $$\vert g \vert^p=\left( \int \vert f+g \vert^p\right)^{-1}\Vert g \Vert_p^p\vert f+g \vert^p$$ almost everywhere, but again, using the finiteness and nonzeroness of $\Vert f \Vert_p$ and $\Vert g \Vert_p$.


Show that a finite cyclic group of order $n$ has exactly one subgroup of order $d$ dividing $n$ and these are all the subgroups it has

My attempt  Note- Addition is under $mod$ $d$  Let $G = (a^0,a^1,a^2.....a^{n-1})$  $n=kd$  Let $H_d = (a^{0k},a^{1k},a^{2k}......a^{{(d-1)}k})$  For $a^{z_1k},a^{z_2k} \in H_d$  $a^{z_1k}a^{z_2k} = a^{{(z_1+z_2)}k} \in H_d$  $H_d$ is closed  For $a^{zk} \in H_d$  $a^{zk} (a^{zk})^{-1}=a^0$  $(a^{zk})^{-1} = (a^{-1})^{zk}$  Since $a^{-1}$ is $a^{n-1}$ we can rewrite it as   $(a^{zk})^{-1} = (a^{n-1})^{zk}=a^{z(n-1)k} \in H_d$  Since $(a^{zk})^{-1} \in H_d$ and $H_d$ is closed, $H_d$ is a subgroup.  I can easily prove the 3rd part by using Lagrange's theorem.  I have no idea how to prove that only $1$ subgroup of order $d$ exists. Maybe by proving that the elements of the $2$ groups have to be the same?  I would really appreciate if someone could verify my proof so far and give some hints to complete the proof.


remove duplicates for a single field in a table

I have a table that is like this:  user_num, attending, processed 3243, 1, 0 5821, 1, 1 5821, 1, 0 5821, 1, 0 1482, 0, 1   What I need to do is add a constriction to user_num to not allow duplicates, but before I can do so, I need to delete all duplicates for that column. I see TONS of examples online for deleting duplicate rows, but I am struggling to find a place where I can just get rid of all duplicates for a certain column, so in this example I would like the outcome to be.  user_num, attending, processed 3243, 1, 0 5821, 1, 1 1482, 0, 1   Honestly I don't care if 5821 has a 0, 0 or a 1, 0 or a 0, 1 or a 1, 1 because every time they go to the page it copies their user settings from another table. I just need a script where I don't have any duplicates of a particular column (user_num) but I still need all the columns in the table.


Can I change my dates of travel to the UK after filling out the online form?

I have successfully applied and made payment for UK visa around 26th February. Intended date of travel I wrote on the form was 4th April which I wanted to change to mid-May but just could not because once the form is committed one can't change it. To no avail I also tried contacted the visa office and the British High Commission. Now my appointment date is 8th April, can I make a requisition for changing the date as I will not be able to travel before mid may and I would not want to risk if they issue me a visa for three months from my intended date of travel then I may not be able to make proper use of my visa and travel at all..


the isomorphism between two matrix groups

is there any isomorphism between two $n{\times} n$ matrix groups with inverse? If yes, what the isomorphism function?.  I have read that  the $n{\times}n$ group matrix or $GL(n,\Bbb C)$ is isomorphic tothe group matrix $GL(2n,\Bbb R)$. Is this true ?


UK visitor visa: I cannot see visitor option under "reason for visit" in VFS global website

I am trying to purchase priority service through vfs for my standard visa application in USA. However, no option related to visitor visa under "reason for visit" box. How shall I proceed?  Thanks!


How to download an MP3 track from a YouTube video

There are several Q&A threads that explain how to download youtube videos using the terminal.  However, I would also like to learn how to extract the video's soundtracks as MP3 files--also using only the terminal.  Answers briefly explaining how to use youtube-dl or other similar utilities before explaining how to extract the MP3 would be ideal for the sake of having all the information in one place--even though this aspect has been covered in other posts.


How to connect to sftp server and read the contents of the file using java?I have tried wring the code but I was not able to get the output,I did research a lot of things as to how to connect to sftp server by giving username,host and password.but didnt help


Trying to install Ubuntu 12.04 from USB but when booting it shows unknown keyword in 'SYSLINUX configuration file.

I am using Ubuntu 9.04 and I want to install newest version (Ubuntu 12.04). Using start-up disk creator I prepared Ubuntu ISO and saved it into USB but when I boot it it shows an error:  'SYSLINUX 3.63 Debian-2008-07-15 EBIOS Copyright (C) 1994-2008 H. Peter Unknown keyword in configuration file boot:   NOTE: I've already tried to open USB drive and open 'SYSLINUX' and delete 'ui' in it.


apt changelog for to-be installed packages

GUI update-manager is able to show the "changelog" of packages to-be installed (not downloaded yet).  I also found out how to provide the .changelog files in the right place for update-manager to show them, and now I'm happy since I'm able to tell my clients that they can see changelogs of my custom packages directly from their gui.  Unfortunately I'm not able to find any command line tool to do the same thing and that would be more useful on servers.  From what I saw it seems that this convention (putting .changelog files directly alongside the .deb files in the apt repo) is a ubuntu specific extension.  There are some debian resources (the reprepro man page for example) which point on a different way to store changelogs online,   Does anybody know if there already exists a tool like apt-cache to show the changelogs from packages which are not yet installed (nor downloaded) ?


How to solve matrix equation $AX+XB=C$ for $X$

How does one solve the matrix equation $AX+XB=C$ for $X$? It doesn't seem too difficult. I tried many times but failed.  I'm an adult student... I am now vexed about Gilbert Strang - An Introduction to Linear Algebra. I don't even understand a single word in Wikipedia: . If you have ever use some nice workable materials or lecture notes? You can generously upload and share the links of the lecture notes and assignments. Different subjects/ topics are welcome, as long as you deem they are nice and workable.   The problem origins from a system of diff equation, using undetermined coefficients (matrix) to find the particular solution. Try $y_p=X\begin{pmatrix}   e^{\alpha t} \\ e^{\beta t} \end{pmatrix}$  $\dot{y}+Ay=C\begin{pmatrix} e^{\alpha t} \\ e^{\beta t}\end{pmatrix}$   $\dot{y_p}=X\begin{pmatrix} \alpha & 0 \\ 0 & \beta \end{pmatrix} \begin{pmatrix}e^{\alpha t} \\ e^{\beta t}\end{pmatrix}$  substitute $\dot{y_p}$ and $y_p$ into the original differential equation..  $X\begin{pmatrix} \alpha & 0 \\ 0 & \beta \end{pmatrix}+AX=C$


Difference in implementation of binary splits in decision trees

I am curious about the practical implementation of a binary split in a decision tree - as it relates to levels of a categorical predictor $X{j}$.  Specifically, I often will utilize some sort of sampling scheme (e.g. bagging, oversampling etc) when building a predictive model using a decision tree - in order to improve its predictive accuracy and stability. During these sampling routines, it is possible for a categorical variable to be presented to a tree fitting algorithm with less than the complete level set.  Say a variable X takes on levels {A,B,C,D,E}. In a sample, maybe only levels {A,B,C,D} are present. Then, when the resulting tree is used for prediction, the full set may be present.  Continuing from this example, say a tree splits on X and sends {A,B} to the left and {C,D} to the right. I would expect the logic of the binary split to then say, when faced with new data: "If X has value A or B, send to the left, otherwise, send this case to the right". What seems to happen in some implementations is "if X has value A or B, send to the left, if X has value C or D send to the right". When this case takes on value E, the algorithm breaks down.   What is the "right" way for a binary split to be handled? It seems the much more robust way is implemented often, but not always (see Rpart below).  Here are a couple examples:  Rpart fails, the others are ok.  #test trees and missing values  summary(solder) table(solder$PadType)  # create train and validation set.seed(12345) t_rows<-sample(1:nrow(solder),size=360, replace=FALSE) train_solder<-solder[t_rows,] val_solder<-solder[-t_rows,]  #look at PadType table(train_solder$PadType) table(val_solder$PadType) #set a bunch to missing levels(train_solder$PadType)[train_solder$PadType %in% c('L8','L9','W4','W9')] <- 'MISSING'   #Fit several trees, may have to play with the parameters to get them to split on the variable  ####RPART mod_rpart<-rpart(Solder~PadType,data=train_solder) predict(mod_rpart,val_solder) #Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = attr(object,  :  #factor 'PadType' has new level(s) D6, L6, L7, L8, L9, W4  ####TREE mod_tree<-tree(Solder~PadType,data=train_solder,split="gini") predict(mod_tree,val_solder) #works fine  ####ctree mod_ctree<-ctree(Solder~PadType,data=train_solder,control = ctree_control(mincriterion = 0.05)) predict(mod_ctree,val_solder) #works fine


How to calculate the subnet mask for 310 subnets

So we have one task which is to calculate the subnet mask for 310 subnets. The IP of the company is 102.0.0.0.  I think the right approach would be to solve this equation 310 < 2^x which gives me approximately 8.27 so I would need 9 bits, which would make the subnet mask like this 255.255.128.0.  The question is that if this is correct, which would be the first subnet and which IP Addresses would be assigned to the first and the last of the subnet?   I am asking this because I am not sure how to get all the 310 subnets. If I look at the subnet mask on a bit level I get :  1111 1111 1111 1111 1000 0000 0000 0000 --------- -----------|----------------| net id                 host id   Our teacher explained that the first subnet would be as the following :  1111 1111 0000 0000 1000 0000 0000 0000   The second would be :  1111 1111 0000 0001 0000 0000 0000 0000   And the third would be :  1111 1111 0000 0001 1000 0000 0000 0000   Is that correct?  If yes so, I calculated the following for the first and the second subnet :  102.  0.  0.  0 255.255.128.  0  IP 0110 0110 0000 0000 0000 0000 0000 0000 SN 1111 1111 1111 1111 1000 0000 0000 0000    IP 1111 0000 0000 0000 1000 0000 0000 0000 IP 1111 0000 0000 0000 1111 1111 1111 1111      102.0.128.0     102.0.255.255  IP 1111 0000 0000 0001 0000 0000 0000 0000 IP 1111 0000 0000 0001 0111 1111 1111 1111      102.1.0.0     102.1.127.255   Please let me know if anything is wrong.


If I create a golden card, are there any special perks in battle? I am just wondering since I am planning to level Anduin to 15 and get the golden Mind Blast and I want to know if there are any perks. Thanks!


\documentclass{beamer}    \usepackage[T1]{fontenc}     %-----    \usepackage{amsmath,amssymb,amsfonts} %math     \usepackage{color}     \usetheme{Madrid}     \begin{document}     \begin{frame}{}    \begin{exampleblock}{theorem}    test    \end{exampleblock}   \begin{alertblock}{proposition}    \end{alertblock}    \begin{block}{Definition}    \end{block}   \begin{block}{lemma}    \end{block}        \end{frame}   \end{document}    Thank you!     My goal is to get the  block wich has the title definition with a new color like brown.


Is there a way for command blocks to detect how many players are nearby?

In my game called Void Wars, when a player dies they are sent to the lobby (they can't spectate). I need a command block to recognize when a winner is claimed aka after one person is left. Does anyone know a vanilla or Bukkit command to do this? Thanks in advance!


id(5) is id(5)  #returned False id(5) == id(5)  #returned True  is operator returns true if the operands points the same object. Here it is pointing to the same object (i.e., 5). But here, it is returned as False. What's the reason behind that?


dd/mm/yyyy date format: Is this weird / unnatural for Americans?

The month first format. Do you, as an American, find this unnatural?  And: If you were in a hurry, would you start typing the month first (as this is most natural for you)?  Edit: This question differs from  because I'm asking how likely you would enter mm-dd-yyy in a dd-mm-yyyy input if you were in a hurry (even if it was labelled). The other question is about appearance rather than entry. A nuance, yes, but this is UX and it is not a nuance in this context.


A single word or phrase for something that necessarily causes both harm and benefit?

What is a single word, or phrase, for something that necessarily causes both harm and benefit? For example, a coal-fired power plant will harm human health through air pollution, but will bring electricity and economic development to a poor area.


What is the appropriate action to take if you feel your question has been unjustly closed?

If one of your questions has been closed, and you feel it should not have been, what it the best course of action?  Suck it up and live with it?  Vote to reopen and hope for the best?  Flag it and ask a mod to reopen it?  What is the community consensus on this?  Note: Do not assume the question has been closed because of poor quality.


Variable being passed with single quotes using PHP and MYSQL

I have the following variable I want to pass to a prepare statement: $subject. It is done using PDO. Unfortunately it is being passed in with single quotes around it.Example is that i pass in maths and the query uses 'maths' instead. I have tried other answers such as bindParam, bindValue as well as specifying it is a string attribute, however I cannot get it to work. Thanks in advance if anyone knows what is wrong My code is below.  $query = "SELECT * FROM :subject;";         $sql = $connection->prepare($query);         $sql->bindParam(':subject', $subject);          try{                             $sql->execute();         }catch(Exception $e){             echo $e;         }   And i get the following error:  exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''maths'' at line 1' in D:\xampp\htdocs\acards\functions.php:18 Stack trace: #0 D:\xampp\htdocs\acards\functions.php(18): PDOStatement->execute() #1 D:\xampp\htdocs\acards\getMathsQuestions.php(13): Functions->getFeed('maths') #2 {main}[]


Could you please provide me with a book of calculus containing the concepts of trigonometry, hyperbolic functions, and complex numbers? thank you very much.


How to write a query for exact pairs of groups

I am given the schema: EMPLOYEE(Fname,Ssn,Dno) DEPARTMENT(Dname,Dnumber,Mgr_ssn,Mgr_start_date) PROJECT(Pname,Pnumber,Plocation,Dno) WORKS_ON(Essn,Pno) fiddle:  Primary keys are given in bold. The question: Is it possible to define a view that will report the following detail for each employee: Ssn and the number of employees who work on exactly the same set of projects? Explain why not or given an SQL query. My idea was to find unique pairs of employees and check if projects worked by first employee equal those of the second one (this was done by using set operation except as if s1 except s2 union s2 except s1 is empty than it seems like s1 and s2 are equal) My attempt for this was: SELECT e1.ssn,count(e2.ssn) FROM EMPLOYEE e1, EMPLOYEE e2 WHERE e1.ssn < e2.ssn AND NOT EXISTS (  (  (SELECT Pno  FROM WORKS_ON w1  WHERE w1.Essn = e1.Ssn)  EXCEPT ALL  (SELECT Pno  FROM WORKS_ON w2  WHERE w2.Essn = e2.Ssn)  )   UNION ALL    (  (SELECT Pno  FROM WORKS_ON w2  WHERE w2.Essn = e2.Ssn)  EXCEPT ALL  (SELECT Pno  FROM WORKS_ON w1  WHERE w1.Essn = e1.Ssn)  ) ) GROUP BY(e1.ssn)  Does this query look correct? Also is there a neater way of doing this? As a final side note what exactly determines if it is impossible for us to construct an SQL query for a problem?


(Ubuntu 14.04.2) Unity will not load on Dell Inspiron 531s with Nvidia GeForce 6150SE graphics

I have a Dell Inspiron 531s desktop computer. I have installed Ubuntu 14.04.2 on it, but I can only install it from USB when I go to the "Install Ubuntu" option and not the "Try Ubuntu without installing" option because nothing will show up. When I boot up Ubuntu, I can log in, but after that, there is only the background and my mouse and nothing else. I have tried all kinds of things from other threads, but they have not worked. I have also tried installing nvidia-current and nvidia-current-updates to no avail. None of the commands from the mentioned thread works for me. Also, I can boot into recovery mode, but only if I don't have the Nvidia driver. And I haven't been able to do a normal boot at all.


How to use a global variable for all class methods in Python?

I have a Person class, which holds an age property, now I need to make it accessible in all method inside Person class, so that all methods work properly My code is as following:   class Person:     #age = 0     def __init__(self,initialAge):         # Add some more code to run some checks on initialAge         if(initialAge < 0):             print("Age is not valid, setting age to 0.")             age = 0         age = initialAge      def amIOld(self):         # Do some computations in here and print out the correct statement to the console         if(age < 13):             print("You are young.")         elif(age>=13 and age<18):             print("You are a teenager.")         else:             print("You are old.")      def yearPasses(self):         # Increment the age of the person in here         Person.age += 1 # I am having trouble with this method  t = int(input()) for i in range(0, t):     age = int(input())              p = Person(age)       p.amIOld()     for j in range(0, 3):         p.yearPasses()            p.amIOld()     print("")    yearPasses() is supposed to increase the age by 1, but now it doesn't do anything when called How do I adapt it to make it work?


Here's the code:  render :file => @somedir + "/blah.xml"   ...but the resulting MIME type is text/html when I check in FireBug. How do I specify a MIME type in this case?


What is an adjective that can be used to describe someone who doesn't keep promises or goes back on what they said previously?

I mean a person who has said he/she was gonna do something and then didn't. Would it be something like dishonorable?


There can be small cube planets or asteroids, but as they get bigger, the gravitational force compresses them to a sphere. But what is the maximum size?


I'm am getting a NULL pointer message on getfilesdir().  I'm sure it has something to do with my implementation but I'm not really sure what it is.  Ad I'm extremely new to android development.       public class MainActivity extends AppCompatActivity {  String appFileDirectory = getFilesDir().getPath(); String executableFilePath = appFileDirectory + "/iperf3";  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);     copyFile("iperf3"); }  private static final String TAG = "MainActivity";  //This function is used to copy the iperf3 executable to a directory which execute permissions for this application, and then gives it execute permissions. //It runs on every initiation of an iperf3 test, but copies the file only if it's needed. public void copyFile(String filename) {     AssetManager assetManager = getAssets();     try {         InputStream in = assetManager.open(filename);         File outFile = new File(appFileDirectory, filename);         OutputStream out = new FileOutputStream(outFile);          Log.d(TAG, "Attempting to copy this file: " + filename); // + " to: " +       assetCopyDestination);          int read;         byte[] buffer = new byte[4096];         while ((read = in.read(buffer)) > 0) {             out.write(buffer, 0, read);         }         out.flush();         out.close();         in.close();          //After the copy operation is finished we give execute permissions to iPerf3         File execFile = new File(executableFilePath);         execFile.setExecutable(true);      } catch (IOException e) {         Log.e(TAG, "Failed to copy asset file: " + filename, e);     } }  public static void executeIperf3() {  }


Searching for flights that use (or not) Boeing or Airbus equipment

Is there a way I can search (not just see after finding flights) for flights that use a particular maker's aircraft, say if I want to avoid or have a particular affinity to one of the major makers?   question is similar but ended up (3 years ago) with a suggestion on viewing the aircraft types after completing a search, which makes it quite tedious.   It should be possible to  of airlines and use checkboxes on the search page to include only appropriate companies- but many companies (as just a couple of examples, Cathay Pacific and Hainan Airlines) run a mixed fleet directly or through their subsidiary connector airlines, complicating things, without even getting into codeshares.   Edit: Nate has pointed out a similar question with an answer that works for this situation.


Everyone. I'm a new user of Linux, very beginner to be fair. I'm trying to keep myself away from Windows/MAC. After hours of surfing,I did not success on my task yet. I would like to use my Epson v550 to digitalize my 35mm negatives. I download Epson drivers, but the programs I tried so for none of them they show up the scanner, xsane, VuScan, and also Image Scan. Any help would be appreciated. I hope there is a solution out there, instead of going to my Windows Partition.


What are the total number of ordered permutations of a list of elements (possibly repeated)?

This question is a part of a TopCoder problem. I am learning algorithms, and just got stuck at this (not homework).  Suppose we have a set $A$ of integer elements, such that $n(A) = a$ (number of elements in $A$ is $a$). Now we have some $n$ blanks, each of which can be filled using the $a$ elements in A, repetition allowed. I want to find out the total number of such sequences of length $n$ which are in non decreasing order, and can be formed using the elements in $A$.  My thoughts reduce this problem to a dynamic programming approach, but I just wanted to find out if a straightforward formula is possible or not. Thanks.


Copy file from Windows Desktop to Raspberry Pi

I'm using Putty SSH client to connect to my Raspberry Pi (w/ Raspbian) from my windows 10 computer. Now that I'm in, I'd like to be able to copy my file from my windows computer's desktop called file.txt, to my Raspberry Pi's desktop. How can I do this?


I have a , and I am not sure which site is more suitable (StackOverflow or Programmers).  I've tried to read the about it and haven't found a conclusive answer.  Is it allowed/does it make sense to ask a question on more than one StackExchange site?


Why does my material panel look different?

Complete beginner here.  I'm trying to follow  tutorial on Anisotropic shaders, but my property panel looks nothing like the property panel in the tutorial.  For example, when creating a material, this is what his property panel looks like:    But this is what mine looks like, if I follow the same path:    I'm sure I'm missing something obvious.  How can I see the property panel shown in the tutorial?


How to safely remove a device blocked by the System process with a handle on \$Extend\$RmMetadata\$Txf

I have an external HDD which I would like to "safely remove". Unfortunately, my system (Windows 7 x64) complains that "the device is currently in use".  Using  I discovered which process is holding a handle on the device:    Obviously, System is not a process that I can just kill and be done with it. I've done a bit of research and this , but no solution has been found so far (except for rebooting the machine, which I'd like to avoid if possible).  Is there any solution to this problem that I've missed?


I have a project that runs on 5V and should draw a maximum of around 500 mA. There is an existing CAT5 cable running conveniently to this project. I'm considering powering the project by using two of the wires in the CAT5 (which I assume is 24 AWG) by connecting it to a 5V - 2A power supply.   Is this safe? Is the amount of power my project draws (500mA) the determining factor for safety or the rating of the power supply (2A)?   Testing shows there is no problem with voltage drop-off.


I have two computers running Ubuntu; one is my work computer and the other is my home computer. I'd like them to behave as basically the same computer. Any programs installed or files changes on one computer would be reflected in the other computer. So for example when I come home, I could press 'sync', and the changes made during the day on my work computer would appear on my home computer.  Is this possible?


Chrome is fast and all, but seriously?    I only have 3 regular tabs open and the settings tab. I'd trade a little speed for some RAM. How can I make Chrome use less memory?  Update  The about memory page:


do i need to reinstall all my softwares after upgrading ubuntu 12.10 to 13.04?

i was stopped by my sister from upgrading Ubuntu, for the reason she explained was that i would have to reinstall all the softwares that I've installed in last 6 months. but i think if that's the case, the upgrade itself includes all softwares that i have installed. so please tell me what's the truth?     please note that i just can't afford mentally to reinstall all apps due to slow INTERNET speed.because it may take 3 to 4 days of constant downloading.   if you are an Indian living in an suburban city,you can understand my situation.   i think the question itself explains everything.still I'll explain everything in detail.i want to upgrade my current Ubuntu 12.10 OS to 13.10(now please don't ask what is 13.10). this option is available from "about this computer" and many other places.the upgrade is of about 700mb to 800 MB.    BTW, i don't know why i think it's a rule here to put some question on questions asked here,however detailed or/and simple it may be.at least that's what i feel after looking at many questions.


Given two increasing continuous functions $f,g$ prove that $(b-a) \int^b_a f(x)g(x) dx > \int^b_a f(x) dx \int^b_a g(x) dx$

Given two monotonically increasing continuous functions $f,g$ prove that  $$(b-a) \int^b_a f(x)g(x) dx > \int^b_a f(x) dx \int^b_a g(x) dx,\; b>a$$  what I have tried:  Let $$h(x) = (x-a)\int^x_a f(t)g(t) dt - \int^x_a f(t)dt\int^x_a g(t)dt $$ and trying to figure out that $h'>0$ using MVT to reform $h'(x)$ as   $$h'(x) = (x-a)(-f(x)g(\xi_1) - g(x)f(\xi_2) + f(x)g(x) + f(\xi_3)g(\xi_3))$$ where $\xi_{1,2,3} \in (a,x)$ (That method does not seem to work)


English equivalent of komorebi (木漏れ日) — "sunshine filtering through leaves"

Is there an English equivalent of komorebi (木漏れ日), which means the sunshine filtering through the leaves of a tree (or trees)?  It is made up of three kanji and the hiragana particle れ. The first kanji 木 means ‘tree’ (or ‘trees‘), the second one 漏 refers to ‘escape’ and the last one 日 is ‘light‘ or ‘sun‘.  Komorebi can also be seen as a light curtain which is more visible after the rain because of the reflecting light from the water vapor:    Source:   It is also mentioned as the interplay between the light and the leaves which is observed especially on the ground. Additionally, there is a rare phenomenon when the light of the crescent sun during a partial solar eclipse is dappled on the ground in crescent shapes (which is circular normally):   Source:   Sunray and sunbeam come to mind but they are too general. Of course, the word is the result of Japanese culture and aesthetics influenced by the nature. But there might be a colloquial usage or scientific term regarding the phenomena related to komorebi.


So, I'm supposed to write a program that takes a double value and returns the least amount of change. Everything seems to be okay but when I enter in double values such as "99.99" or "101.10" the answers are just a bit off.  public class Change {     public static void main(String[] args) {         Scanner scanner = new Scanner(System.in);         double amount;         double remainder;         int tens = 0;         int fives = 0;         int toonies = 0;         int loonies = 0;         int quarters = 0;         int dimes = 0;         int nickels = 0;         int pennies = 0;          System.out.println("Enter in a double value:");         amount = scanner.nextDouble();          tens = (int) amount / 10;         amount = amount % 10;          fives = (int) amount / 5;         amount = amount % 5;          toonies = (int) amount / 2;         amount = amount % 2;          loonies = (int) amount / 1;         amount = amount % 1;          quarters = (int) (amount / 0.25);         amount = amount % 0.25;          dimes = (int) (amount / 0.10);         amount = amount % 0.10;          nickels = (int) (amount / 0.05);         amount = amount % 0.05;          pennies = (int) (amount / 0.01);         amount = amount % 0.01;          System.out.println("tens:" + tens);         System.out.println("fives:" + fives);         System.out.println("toonies:" + toonies);         System.out.println("loonies:" + loonies);         System.out.println("quarters:" + quarters);         System.out.println("dimes: " + dimes);         System.out.println("nickels: " + nickels);         System.out.println("pennies: " + pennies);       } }   output for "99.99"  Enter in a double value: 99.99 tens:9 fives:1 toonies:2 loonies:0 quarters:3 dimes: 2 nickels: 0 pennies: 3   above, I am 1 penny short.  output for "101.10"  Enter in a double value: 101.10 tens:10 fives:0 toonies:0 loonies:1 quarters:0 dimes: 0 nickels: 1 pennies: 4   above, I am one penny short again


What is the fastest algorithm for finding the square root of a number?  I created one that can find the square root of "$987654321$" to $16$ decimal places in just $20$ iterations   I've now tried Newton's method as well as my own method (Newtons code as seen below)  What is the fastest known algorithm for taking the second root of a number?  My code for Newton's Method (*Edit: there was an error in my code, it is fixed in the comments below):        a=2   //2nd root     b=97654321   //base     n=1   //initial guess     c=0   //current iteration (this is a changing variable)     r=500000   //total number of iterations to run     while (c<r)      {         m = n-(((n^a)-b)/(a*b))  //Newton's algorithm         n=m         c++;         trace(m + "  <--guess   ...   iteration-->  " + c)     }


Scripting Access soft body modifier settings

When you add a modifier with a script like that bpy.ops.object.modifier_add(type='SOFT_BODY')  How can i change the settings, i tried with the previous method but its not working anymore variable = bpy.ops.object.modifier_add(type='SOFT_BODY') variable.mass= 2  Solution variable = bpy.context.object.modifiers["Softbody"].settings variable.mass= 2


Best version of Ubuntu for my old computer?

My computer is old.  It has a 900 Mb processor, 1.2 Gb of RAM and 500 Gb HDD. Right now I'm running Lubuntu v12 and most of my stuff is working.   System updater wants me to update to Ubuntu V14.04.5.  Should I update ?  What is the best version my my old desktop ?


Replace Ubercart radio button with image?

I have a product with three radio button options, and I want to replace those radio buttons with clickable images. This is how those radio buttons appear in the code:

      <input type="radio" class="form-radio" value="136" name="attributes[51]" id="edit-attributes-51-136">Red, +$3.00

      <input type="radio" class="form-radio" value="135" name="attributes[51]" id="edit-attributes-51-135">Green, +$5.00

      <input type="radio" class="form-radio" value="137" name="attributes[51]" id="edit-attributes-51-137">Blue, +$10.00

   Instead of the radio button and label, I'd like to simply display a image color swatch. How can I accomplish this? I assume I'd need to somehow reference the "for" value in the "label", but I'm not sure how to do so. I'd prefer not to go the "nth child" route, but I can if I need to.  Thanks!


Why is the android app showing links to deleted questions in the feed?

On Stack Overflow site, it's okay that deleted questions stick around since high rep users can see the question and see that it is pink.  This visually indicates the question is deleted. However, why does the mobile app  have the link to a question that has been deleted and you click on it and get a spinning circle only to then be alerted that the question cannot be found?  Why even bother showing it?  Can the mobile app (android) please filter out deleted questions from the feed?  I don't see any purpose in showing them.


Java - instanceof vs Casting of Generic class at runtime:

In the code extracted from Java Complete Reference by Herbert Schildt:    class Gen<T> {   T obj;    Gen(T o) {     ob = o;   }    T getob() {     return ob;    } }  class Gen2<T> extends Gen<T> {   Gen2(T o) {     super(o);   } }  class Test {   public static void main(String args[]) {     Gen2<Integer> obj = new Gen2<Integer>(99);   } }   he mentions that instanceof can't verify if a object is from a typed generic class at runtime because no Generic information is available:  if (obj instanceof Gen2<Integer>) // illegal, doesn't compile   you can only use  if (obj instanceof Gen2<?>) // legal   However, you can still Cast the same object to (Gen) as long as it is compatible:   (Gen<Integer>) obj // legal   but:  (Gen<Long>) obj // illegal   Isn't this a Java contradiction? If Java knows that obj can be cast to a Gen at runtime, why doesn't it knows that obj is an instanceof Gen class/subclass?


If I have a 18-55mm lens, is there a point in buying a 35mm prime lens?

I have the Nikon kit lens that came with a D5100 — the kit lens is  . I was thinking of getting a fast lens and I am looking to buy the .  Should I consider 35mm or instead buy a 55-200mm for better range?


Developing Apps using Adobe PhoneGap on Ubuntu OS

Hi I would like to know if its possible to develop app using HTML, CSS, Javascript and PhoneGap SDK on a Ubuntu system and uploading the app on to Adobe PhoneGap Build for packaging it into native installation files for iOS,Android and windows.  All I see on the official Adobe PhoneGap guide is, its support for OS's like Mac and Windows only.  I know I could use cordova on Ubuntu, But i need to use Adobe PhoneGap Build for packaging the app.


How to uninstall a network adapter from ubuntu 20

I followed this tutorial and have installed this adapter  and later I realized that the issue is hardware related and have fixed it. I now want to remove this installed network driver software as I'm not sure of it's origin I basically installed it using sudo make install command, I just need to revert these changes, they may even cause further config issues as some change made may tamper with the default settings of Ubuntu 20 and I prefer to have my system as new as possible. Can you help me with this


Elsevier actions following US sanctions on Iran

Elsevier has started circulating  as a consequence of the  to the editors of their journals:     Subject: US editors and reviewers can no longer handle submissions by   authors employed by the Government of Iran            Dear Dr Bruno Granier,      The Office of Foreign Assets Control (OFAC) of the US Department of   the Treasury administers and enforces economic and trade sanctions. As   a result of OFAC sanctions we have been made aware that US editors, US   Elsevier staff and US reviewers are now unable to handle scientific   manuscripts where any of the authors are employed by the Government of   Iran. This includes the research departments of the various oil and   gas companies which are deemed to be entities of the Government of   Iran. We realize that this OFAC regulation will cause some   inconvenience in your role as an editor but Elsevier is legally   obliged to ensure that all reasonable efforts are made to avoid   submissions from Iranian government agencies and companies being   handled by US editors, US Elsevier staff and US reviewers. Please be   aware that editors, Elsevier staff and reviewers from outside the US   may still handle these manuscripts and that this OFAC regulation does   not pertain to manuscripts where the authors are based at Iranian   academic and research institutes. Manuscripts originating from a   clinical setting that are not government run, for example, a hospital   or clinical practice are also exempt from this regulation.      To view the official OFAC regulation, please click here. In practice   the result of these sanctions will mean that:      • Submissions where any author is based in Iran, and is not at an   academic and research institution, cannot be handled by US-based   editors, US Elsevier staff, US reviewers, or any US citizens based   outside of the US.      • If an Iranian author has dual affiliations (eg. university and   government), their submission cannot be handled by US-based editors,   US Elsevier staff, US reviewers, or any US citizens based outside of   the US.      • Affiliations of Iranian authors should therefore be checked, and any   manuscripts which fall under this OFAC regulation delegated to a   non-US editor, before handling.      • When assigning reviewers, affiliations of Iranian authors should   also be checked, and any papers which fall under this OFAC regulation   should only be sent to non-US reviewers. (As an editor you should do   what is reasonable to determine the nationality of a reviewer e.g.   check their email address. This check does not extend to emailing   reviewers directly to confirm their nationality or location). Unless   there is specific knowledge that a non-US-based reviewer is a US   citizen, editors can send such submissions to reviewers based outside   the US.      • If your journal workflow involves all submissions being handled by   US-based Elsevier staff, they will reject these manuscripts outright   before they reach you.      • Should there be no suitably qualified editor or reviewer, please   reject the manuscript outright.      When rejecting manuscripts which fall under this OFAC regulation   please use the new EES Decision Term "Reject - OFAC Sanctions" and the   following text:      "As a result of OFAC sanctions all editorial staff who are US-based/US   nationals are unable to handle scientific manuscripts which are   authored by Iranian scientists, employed by the Government of Iran.   Based on this OFAC regulation we are unfortunately unable to handle   your manuscript. We wish you success with your submission to another   Journal."       We apologize for the inconvenience this may cause. If you do have any   questions please contact your Publisher.       Sent on behalf of Dan Lovegrove      Cretaceous Research   Has there been any public response, by US editors or reviewers, stating whether they will obey (or not) the instruction? Also, does this letter conflict with the  of the  (all Elsevier journals are members of COPE as of January 2008)?


Recently expired kit. Is the yeast still ok?

I have just received a kit which says that the expiration date is in April 2019 (2 months ago). I am quite confident that the extract is still okay, but I'm wondering about the yeast. Is it still alive?  It is not so easy to get new yeast, as there are no local brewing shops in my area and I'll have to order it online and wait for quite a while for it to arrive.


MacBook Pro early 2015 not turning on and not charging

I'm far away from civilization thats why I need your help guys. My problem is: MacBook Pro 13" early 2015 is not turning on and charging and the trackpad is also dead.   Charger's LED does not shine by any light(red/orange/green) . But I tested my charger with another MacBook and charger is working. I tried to connect another charger. First 1-2 minute I can see green light and then LED turns off. Trackpad is not react to any action (like double click). Right now this is just some plastic area Turn off and turn on battery connector also didn't help me.   The laptop did not receive any damage and was not flooded with water. Day or two before I got it from safe and checked my email then closed it and put to the safe again(hotel standard safe) (everything was okay but I didn't remember battery charge percent at that day) then I open and figured out that MacBook is dead.


Electric field in center of non-conducting sphere with non-uniform charge distribution from Gauss's law

I'm currently reviewing electricity for the AP Physics C exam, and came across a problem or general topic I don't really understand that has to do with Gauss's law.  The general form of Gauss's law we learn in AP Physics C is $$\int E \;\mathrm{dA} = q_{enclosed}/ε_0$$  So when the enclosed charge is 0, as in the case of a hollow spherical shell with uniform charge distribution, it follows that the electric field is zero in the sphere.  However, when the charge distribution becomes non-uniform, the enclosed charge is still zero, implying that the electric field is still zero. However, if all the charge on the sphere is moved to one side, there should be an electric field directed from one hemisphere to the other. I'm wondering how this application of Gauss's law here is wrong and why.  When writing up this question I found this link:  where someone answered a similar question. However, I still don't understand why if flux is zero it does not mean the electric field is zero. Please keep in mind that I only have taken Calculus up to AP Calculus BC, which I think roughly corresponds to Calculus II.


I’ve had a hard time finding the  in my world and I am wondering what the fastest way to find the  is?


How do I find all command blocks on my server?

I opened my server and I saw that my admins created a policy and since I'm an owner I can delete it.  The policy is:   3 warns = kick 3 kicks = ban   This shows up in the chat, and I want to delete it but I can't find the command block for it!    So the main question is: How do I locate all command blocks in my server?


Is there a way to change the restrictions passcode on an iPhone without restoring the phone? I haven't forgotten the passocde; I just want to change it.


What is the meaning of the equation of the change in entropy?

In my chemistry book, the formula for change in entropy is given as : $$\int{dS} = \int{\frac{δq_{rev}}{T}}$$ What is the meaning of $δq_{rev}$? I know that it is the heat exchanged in a reversible process. But why $δq_{rev}$? Why not $dq_{rev}$? What is the difference between $δq_{rev}$ and $dq_{rev}$? What exactly is the meaning of $δ$ here and how is it different from $d$?


When we do su John I switch as user John. When we do su - John I switch as user John having user John's environment. As far as I can see the first option is useless. What is the use of switching to another user and not have that user's environment? Am I wrong? What is the difference in use cases between these 2 options?


You should be able to create a generic form:  public partial class MyGenericForm<T> :     Form where T : class {     /* form code */     public List<T> TypedList { get; set; } }   Is valid C#, and compiles.  However the designer won't work and the form will throw a runtime exception if you have any images stating that it cannot find the resource.  I think this is because the windows forms designer assumes that the resources will be stored under the simple type's name.


How to describe the state of a qubit passing through two Hadamard gates?

Describe the state of the qubit at points A, B and C. How does this demonstrate that we need the “ket” (or the vector) representation of qubits, rather than just describing them in terms of probabilities (e.g. “this is a qubit with a 50% probability of being a 1”).


Approximation of measurable function by simple functions 2

consider the measure space (X,$\mathcal{M}$,$\mu$).imagine the non-negative and Lebesgue measurable function $f:X\rightarrow \mathbb{R}$ is given. Prove that there is a sequence of simple functions  $$\lim_{i \to\infty} f_i(x)=f(x), \forall x \in X$$


Can you assign a variable name to the thing a pointer is pointing at, after the pointer has been allocated?

Say I have some code where I have a variable a and I allocate a pointer to point to a:  int a = 5; int* ptr = &a;   However, after this, I want to give the memory location that variable a occupies the name b.  int b = a;  // doesn't work, because it only copies the value &b = ptr;   // doesn't work, not an assignable value  ptr = &b;   // doesn't work, this moves the pointer to point to b             // instead of renaming the location that ptr already pointed to   Is this possible? (There's no good reason for doing this - just curious.)  -- Edit: This question is not about the differences between pointers and references, but rather how to achieve a goal through using them, and thus is not a duplicate of "what is the difference between references and pointers?"


Short Story - Amnesiac Criminal has his little fingers removed to regain memory of his crime

This American short story, from its content, probably dates from the late 1960s/early 1970s. I can't remember if is was in a magazine or an anthology, but it was probably in a magazine of the time. The MC has been sent (by teleportation?) to a prison (can't remember if it was on Earth or another planet). Part of his punishment is that knowledge of his crime has been suppressed - he has no idea why he is there. The inmates rule the prison; the place is pure anarchy. The MC - who seems an innocent type - is convinced he did not commit a crime & that a mistake has been made. The other prisoners laugh at this: everyone is 'innocent', and they abuse him for it. The increasingly desperate MC finally comes across an inmate who tells him intense pain will bring back the memory of his crime & offers to cut off a finger to do it. When the MC agrees the crook ups the ante & wants to cut off both little fingers. The MC puts out his hands, the fingers are chopped off & the MC has a vision of a woman's dying face - he truly is a criminal murderer.


Anyone else have problems when running a PowerShell script, where the script just hangs in one spot until you hit Enter or something on the console window?   This happens to me all the time, and for the life of me I cannot figure out why.


trying to install libncurses dev package for ubuntu 14.04

I am trying to install libncurses for Ubuntu 14.04. But, it is showing the following error:  root@sharwariDell:/usr/src# sudo apt-get install libncurses5-dev Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package libncurses5-dev


Some equivalent formulations of compactness of a metric space

Let $(X, d)$ be a metric space. I have to prove the following statements are equivalent.   $(X,d)$ is complete (i.e., every Cauchy sequence is convergent) and totally bounded (i.e., for every $\epsilon>0$, $(X,d)$ has a finite $\epsilon$-net). $(X,d)$ is sequentially compact (i.e., every sequence has a convergent subsequence) . $(X,d)$ is Bolzano - Weierstrass compact (i.e., every infinite subset of $X$ has a limit point). $(X,d)$ is compact (i.e., every open cover of $X$ has a finite subcover). Every infinite open cover of $(X,d)$ has a proper subcover.   I have proved the following: 1$\Longleftrightarrow$2, 2$\Longleftrightarrow$3, 4$\implies$3, 2$\implies$4, 4$\implies$5 and 5$\implies$3. Although they are enough to prove the equivalence of all five statements, I tried to prove it from the other possible directions. But I'm stuck with the proof of 3$\implies$4 and 5$\implies$4. Does anybody know how to prove them without using any of the above statements? Please help.