We are planning to submit our app in app exchange and we are currently in security review step. They have asked us to confirm that our app is lightning ready and asked us few screenshots of the app in lightning experience.   This is an integration app where we query SAP webservices and display it in visualforce pages. We used "datatable" to display the data in tabular format.    What are the fastest steps to be taken to confirm it is lightning ready? Is it just enough to check whether our app works in lightning environment or should we apply SLDS and modify the UI accordingly?? Our's is  an inline visualforce page used in account detail page  with datatable and page block table tags. We would like to know the modifications that has to be done in order to make it lightning ready? Since Pageblock table is not compatible in lightning do we have to modify the entire page?


I'm new to php, i made a php user interface with input fields that formulates, prints and execute a query showing the database reply or error.  It usually works fine but when i make a query with accented fields like in  "INSERT INTO `Nave` (`Targa`, `Nazionalità`, `Nome`) VALUES('0', 'italia', 'nave0');"   php successfully creates the query, prints and executes it without any further modifications but it fails saying "Unknown column 'Nazionalità' in 'field list'" but if i copy/paste the same exact query printed by php into phpmyadmin it works (so obiouvsly the column 'Nazionalità' does exist) what is happening?  Notice that if the php generated query has no fields with accent it works even in php. Notice also that individually neither my php nor mysql have any issues dealing with accent. so it's NOT a duplicate of  because that's a mysql individual issues, my database works fine.  EDIT: All the answers so far explained how to fix the database, but the database does works fine!  I do not know how to make it understand that, read more about the question guys... But the second duplicate suggestion was quite right and there i found my solution which I copy here for convenience of those who will visit this page having the same problem: "$mysqli->set_charset('put here the same charset used in your db');" OR "mysqli_set_charset($link, 'charset');" Thank for your help.


"404. That’s an error." when viewing from Google cache

My site is getting 404. That’s an error. message when I click on cached from Google search results.  This is the error message from Google:  That’s an error.   The requested URL /search?q=cache:8kxLAgFrhZQJ:www.mysite.com.....&cd=8&hl=en&ct=clnk&gl=uk was not found on this server. That’s all we know.  What I did before I was getting this error is that about 10 days ago, I moved my hosting from Ixwebhosting to Gearhost (cloud based). I also added 301 redirect from non www to www.  I have no idea why I am getting this error. Please advise what might be the reason if there is a solution for it.  All of my pages are indexed by Google though.


My laptop is Lenovo Legion Y530 (i7 8th - 16GB ram - GTX1050). I'm running Ubuntu 20.04 for it and I was had a trouble with Wi-Fi. When I turn on Ubuntu, Wi-Fi doesn't found any modem.  I tried:  lspci -knn | grep Net -A3; rfkill list   This outputs:  07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]     Subsystem: Lenovo ThinkPad E595 [17aa:b023]     Kernel modules: rtwpci 08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) 3: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no   The output of sudo lshw -C network is:  *-network UNCLAIMED               description: Network controller        product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:07:00.0        version: 00        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: latency=0        resources: iomemory:ffffffff0-fffffffef ioport:4000(size=256) memory:a4300000-a430ffff   *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:08:00.0        logical name: enp8s0        version: 15        serial: e8:6a:64:ce:c7:7c        size: 1Gbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.208 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s        resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff


Physics theory posits, and observations confirm time dilation for reference frames.  In physics, this phenomenon is often described:     Moving clocks run slow.   Shouldn't it be slowly?  "Drive safe!" is clearly wrong to me: as the adverb/verb pairing is unquestionable.  But the above has two verbs, and despite my instincts telling me it should be "slowly" the overwhelming appearances of the "... run slow." in print leads me to question it here.


Relationship between Magnetic Field and Electric Field along with velocity and kinetic energy

I need to understand how the magnitude of the acceleration of a proton will change once it enters a region in where there is a uniform magnetic field and/or electric field?   So, let's say for example that after the proton enters this field, I have an electric field going to the right but I have no magnetic field. In another case lets say that I don't have an electric field but I do have a magnetic field to the right.  My problem is understanding how the magnitude of the acceleration of the proton changes? So, is the magnitude greater in my first case because I have an electric field but not a magnetic field? If somebody will please point me in the right direction to approach this concept.   Example:   Case A : E Field direction=  right &  B Field direction= none                                                                                Case B: E field direction= none  &  B filed direction = right                                                  Case C: E field direction= right & B field direction= right                                                           Case D: E field direction= right  & B field direction= left


Is there a word for beautiful/happy/pleasant dream?

I am looking for one-word to represent a pleasant dream - a dream that leaves lingering happiness. Exactly unlike a nightmare. So I am basically looking for an antonym of nightmare


Where can I find a complete list of packages that I have installed after initial installation?

I want to save the list of packages that have installed. I figured it might be the best to list all and diff it with the default set.  Edit: Clarification: I don't want to get the list of installed packages that are installed at the moment. Rather I want to get the list of packages that I added since the default install.


Assume that $\sum x_n$ is convergent but not absolutely convergent.   Show that for all $x\in\mathbb R$ there is a permutation $\rho : \mathbb N \rightarrow \mathbb N$ such that   $\sum^{\infty}_{n=1}x_{\rho(n)}=x.$   I don't really know where to start on this one.  I'm also having difficulty wrapping my head around the fact that simply changing the order of the terms within the sum can change the sum itself. Of course I accept it as true but I can't quite understand why it would be the case and so an explanation of that would also be appreciated.  Thank you


Can I configure task manager to restart my computer on disconnection?

I have a computer running windows 10 that does some operations for me remotely, but for some reason it randomly disconnects, and the only solution I have found is to restart the computer. Re-establishing the connection doesn't work most of the times. Is there a way for me to restart my this computer automatically whenever it disconnects from the internet?


Lee and Ron are born as perfectly identical twins except for Lee being left handed and Ron being right handed. Years after birth they are seperated, Lee moving to Latvia and Ron moving to Rwanda. At one time they are both writing but suddenly God makes Ron switch his pen from his right to his left hand and continue to write perfectly. Since God has the principle of not allowing perfect "perfect" twins to exist he must at the same instant make Lee switch his pen to the other hand. Is this understanding of the result of  correct? Does it conform with the concept of the universe keeping books about all states, God being the book keeper, or the concept that all events/states exist at all times in parallel universes, but time only reveals a specific state/universe (like all the action in a movie is there but you can only see one scene at a time)? Maybe I have totally misunderstood, what I have read, so please correct me (in layman terms - if possible)!


On backflipping off a wall, the wall applies an equal and opposite force that pushes the person in the opposite direction of the applied force. Or, on simply pushing a wall, the wall pushes back. Does it mean that the normal force applied by the wall is doing work on the person pushing it?


javascript error on accessiong cells of row in onclick method

I have an HTML page, which has a table in it, I have dynamically added a third row of checkbox in it. When I access the cells of rows inside onclick method of checkbox it shows me error.  my javascript code goes like this:   tbl = document.getElementsByTagName("body")[0];  tr = tbl.getElementsByTagName("tr");   for (i = 1; i < tr.length; i++) {       var td = document.createElement('td');      var input = document.createElement('INPUT');      input.type = 'checkbox';       input.onclick = function () {            for(var j=0;j<tr[i].cells.length;j++) //error occur on this line                     //Uncaught TypeError: Cannot read property 'cells' of undefined              at HTMLInputElement.input.onclick          {              console.log(tr[i].cells[j].innerHTML);          }      };      td.appendChild(input);      tr[i].appendChild(td);  }   My corresponding HTML code goes like this:-  <!DOCTYPE html>                   <title>PHP MyAdmin</title>

             Email_id	             Email_content

             akshay1234530@yahoo.com	             bla bla

             ohm3966@gmail.com	             bla bla

        Please help. Thanks in advance.


I'm trying to search through the files and directories of a specific folder. For example, I was looking in /usr/bin for my python binaries. To do so, I used ls | grep python. When I did this, I was able to find, for example, python3, python3-config, etc. While this works fine, I know that there are  easier ways to do that: I shouldn't have to pipe to grep. But when I tried find . -name python, as per my understanding of the find man page, it yielded no results. I know that grep searches through a file. What is the correct way to search through a given directory?


Can we conclude from $MM^T=I$ that $M^TM=I $ over $\mathbb F_2$

Let $M$ be nonsingular real matrix, dimension $n$. If we know that $$MM^T=I,$$ where $I$ is identical matrix. Is it true that $M^TM=I$ too. And it is all over $\mathbb F_2$ field, which is field that consists only of $0,1$.   My first thoughts was that it is not necessary true, but then:    If we multiply our main equation by $M$ on the right we get: $$MM^TM=M $$ If we multiply our main equation by $M^T$ on the left, we have: $$M^TMM^T=M^T $$   So, can we conclude from here, that $M^T=I?$ Or there can exist other matrix $A\neq I$ such that $AM^T=M^T$ and $MA=M?$


What prerequisites does a tester need before testing a Machine Learning based product?

I have been asked to test a new project, which is a web application for performing job searches. I've tested these kinds of products before, but this new project implements machine learning to enhance a couple features. These features include suggesting suitable jobs to a profile, and sending out targeted jobs via emails.   I've not tried to test a system which relies on machine learning. How would I go about doing so?  Specifically, how would I test this system to test that profiles are being sent 'correct' jobs via emails and through the website?


gufw - rules listed in red and green. What do these colors mean

In the gufw rules table listing, some rules are printed in red and some in green. What is the meaning of these two colors?


Sharing content with a kill switch and that is hard to copy

I have been getting requests to share a copy of notes which I took in class for an exam day after tomorrow, but I'm faced with the realization that if I do they will be used with malicious intent by some classmates. I need a way to share these notes in such a way that I can flip a remote kill switch before the exam and ensure that they cannot be easily copied in other ways to smartphones. What is the best way to go about doing this?


Is it possible for a player to be sent off for two yellow card offences before the first yellow card has time to be shown? e.g. where the referee plays advantage after the first offence.


JQuery/javascript email validation with regex

I have been searching around a bit for a good regex for email validation, but for most of the ones I am finding I see the people comment saying the regex is outdated, or it doesn't work... so I am hoping that someone can help me out with an email validation regex that is currently valid for all emails...  here's what I have so far : I have seen people saying that emailReg2 is outdated and produces false positives, but haven't seen anything about emailReg1 being outdated.  var emailReg1 = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,6})?$/; var emailReg2 = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;  function IsEmail(email) {   var regex = //which regex do I put here?   return regex.test(email); }   any clarification is greatly appreciated. Thanks!


Clustering unrelated (with no correlation) data

The objective of clustering analysis is to group data with similar characteristics in clusters, but in this case, I want to find the most unrelated data to group into clusters.  In my particular case I have 100 weather stations during one year with a 1hr interval, and I want to group the most similar weather stations(I performed this step with K-means using the correlation distance via Matlab, but I can use R or python). But now, I want to perform the inverse, i.e., group in the same cluster unrelated (with no correlation) weather stations .  This is possible? If yes, how? Or, should I use others techniques to execute my idea?   Thanks in advance!


Google Chrome Not Rendering Image Correctly in Ubuntu

As can be seen in the image here with, yellow O in  the google not rendering correctly. Similar image rendering issue happen with other sites also.  How do I further debug this  or solve this ?


connectedness of A={$(x,y):x \in \mathbb{Q}\,$ or$ \, y \in \mathbb{Q}$}

i have the following problem about connectedness, prove that in the Euclidean plane  A={$(x,y):x \in \mathbb{Q}\,$ or$ \, y \in \mathbb{Q}$} is connected  I have tried in several ways, but it causes me a problem, that some of the coordinates have to be rational


Allowing SSH on a server with an active OpenVPN client

I have a VPS running CentOS 7 that I connect to with SSH. I would like to run an OpenVPN client on the VPS so that internet traffic is routed through the VPN, but still allow me to connect to the server via SSH. When I start up OpenVPN, my SSH session gets disconnected and I can no longer connect to my VPS. How can I configure the VPS to allow incoming SSH (port 22) connections to be open on the VPS's actual IP (104.167.102.77), but still route outgoing traffic (like from a web browser on the VPS) through the VPN?  The OpenVPN service I use is PrivateInternetAccess, and an example config.ovpn file is:  client dev tun proto udp remote nl.privateinternetaccess.com 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt tls-client remote-cert-tls server auth-user-pass comp-lzo verb 1 reneg-sec 0 crl-verify crl.pem   VPS's ip addr:  1: lo:  mtu 65536 qdisc noqueue state UNKNOWN     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host        valid_lft forever preferred_lft forever 2: ens33:  mtu 1500 qdisc pfifo_fast state UP qlen 1000     link/ether 00:50:56:be:16:f7 brd ff:ff:ff:ff:ff:ff     inet 104.167.102.77/24 brd 104.167.102.255 scope global ens33        valid_lft forever preferred_lft forever     inet6 fe80::250:56ff:febe:16f7/64 scope link        valid_lft forever preferred_lft forever 4: tun0:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100     link/none     inet 10.172.1.6 peer 10.172.1.5/32 scope global tun0        valid_lft forever preferred_lft forever   VPS's ip route:  0.0.0.0/1 via 10.172.1.5 dev tun0 default via 104.167.102.1 dev ens33  proto static  metric 1024 10.172.1.1 via 10.172.1.5 dev tun0 10.172.1.5 dev tun0  proto kernel  scope link  src 10.172.1.6 104.167.102.0/24 dev ens33  proto kernel  scope link  src 104.167.102.77 109.201.154.177 via 104.167.102.1 dev ens33 128.0.0.0/1 via 10.172.1.5 dev tun0


Installing Ubuntu under windows on windows 8

Is it possible to dual boot Ubuntu 12.04.3 and Windows 8, both 64bit?


Warning: StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception java.lang.NullPointerException

I get mentioned error when I click to add To Cart button which takes place in my .xhtml file as follow;  <h:commandButton value="Add to CART" action="#{product.addToCart()}">           <f:ajax execute="@form" render=":cartSize" /> </h:commandButton>   And there here is my bean for addToCart button  package WEB;  import ejb.operations; import entities.Products; import java.io.IOException; import java.io.Serializable; import javax.ejb.EJB; import javax.inject.Named; import javax.enterprise.context.RequestScoped; import javax.faces.bean.ManagedProperty; import javax.faces.context.FacesContext;  /**  *  * @author fet  */ @Named(value = "product") @RequestScoped  public class product  implements Serializable {      @EJB     private operations operations;      @ManagedProperty(value="#(cart)")     cart myCart;      public cart getMyCart() {         return myCart;     }      public void setMyCart(cart myCart) {         this.myCart = myCart;     }       public product() {     }       public String getQuery() {          return FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("query");       }      public void checkIfQueryExists() throws IOException{      if(operations.checkIfQueryExists(getQuery())==0){        FacesContext.getCurrentInstance().getExternalContext().redirect("error.xhtml");      }   }       public Products getProduct(){          return operations.returnProduct(getQuery());       }       public void addToCart(){           String query = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("query");          myCart.add(operations.returnProduct(query));     } }   Fınally my EJB is;  package ejb;  import entities.Products; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext;   /**  *  * @author fet  */ @Stateless public class operations {      @PersistenceContext(unitName = "registerPU")     private EntityManager em;       public List<Products> retrieveProducts() {          return  em.createQuery("SELECT p FROM Products p").getResultList();     }       public int checkIfQueryExists(String query){         List<Products> products= em.createQuery("SELECT p FROM Products p WHERE p.productName = :productName").setParameter("productName", query).getResultList();          return products.size();                   }      public Products returnProduct(String query){          Products product = (Products)em.createQuery("SELECT p FROM Products p WHERE p.productName = :productName").setParameter("productName", query).getSingleResult();          return product;     } }   I dont know why ı am facing with this. do you have any ideas? Thanks!!


Consider three $n \times n$ real valued matrices, $P$, $X$, and $Y$ and the following equation:  $PX=YP$,   where $P$ is the unknown term.  Under what conditions is this equation solvable? Is it there a closed-form solution?  Your help is greatly appreciated.


Why we can't implement AES 512 key size?

Out of curiosity why we can't implement AES 512 key size?    Please explain somehow i can understand! I'm not an expert.


I pressed F2 to take a few Minecraft screenshots. Later I couldn't find them. Where are they stored on my computer?


I was wondering if it's possible to change the splash screen of the newest Blender version (2.68a). You could change the splash in previous versions via splash.png but I can't find it in 2.68a?


I have studied simple groups of order $60$ and $168$. Specifically, I learned two things below:   All simple group of order $60$ are isomorphic to each other.  All simple group of order $168$ are isomorphic to each other.    Natural question arises from these facts. For a given order, are simple groups isomorphic? Thank you in advance.


Let $G$ be a finite group and $F$ a field with $\mathrm{char}(F)=0$ or coprime to $|G|$. Let $V$ be a $FG$-module in a way that every $ FG$-homomorphism $ f : V \to V $ is given by $f(x)= \lambda x $. Then $V$ is irreducible.   I already managed to proof this by contradiction, using Maschke's Theorem. We can  write $V$ as $U\oplus W$ and get a $FG$-homomorphism $\pi:U\oplus W \to U\oplus W$, $\pi (u+w)=u$, then $\pi(u+w)=\lambda (u+w)=u $ then either $U$ or $W$ are trivial and thus $V$ is irreducible.  My question is if this statements still holds if the characterictic of $F$ divides the order of $G$, since I only used this fact in my proof to use Maschke's theorem.


I believe the following is an identity (I've tested with a few random $m$ and $n$ values, could be wrong though):  $$\sum_{k= 0}^{\infty}{m \choose k}{n \choose k}k=n\binom{m+n-1}{m-1}$$ but I'm not sure how to prove it.   Initially I thought of considering the right side combinatorially: pick $m-1$ things from a bucket of $m+n-1$ things and repeat this $n$ times. But how do I think of the left side combinatorially, since there is an infinite sum? Or maybe this is the incorrect approach?


‘\pdfendlink ended up in different nesting level than \pdfstartlink’ error with current version of hyperref

I am experiencing the hyperref split-link issue described in  .  I tried to update the hyperref package as recommended as well as the oberdiek package which also seems to have some hyperref-related files.  My hyperref.sty is now at v6.83m, hobsub-hyperref.sty at v1.13.  The  compiles without problems, but my document still generates the same error.  My documentclass is elsarticle (version 1.2.0).  The following suffices to produce the problem:  \documentclass[5p]{elsarticle}  \usepackage{kantlipsum} \usepackage{hyperref}  \begin{document}  \begin{frontmatter} \end{frontmatter}   \kant*[1-4] \kant[5] \href{http://tex.stackexchange.com}{This is a very very   very very very very very very very very very very very very very   very very very very very very very very long link.} \end{document}   Both the 5p option and frontmatter seem to be required, though the latter may be empty.


Easiest way to import access db (.accdb) into SQL Server 2016?

I have a .accfb file from an access 2016 database and am trying to import this database into a SQL Server 2016 developer edition instance.   While I found posts online discussing using import/export data tools in SQL Server and also migration assistant for access, neither have worked out for me.   Does anyone know how to easily move a database from access 2016 to sql server 2016? More specifically an "accdb" file type?  All suggestions are greatly appreciated!


Find patches with data in raster and then extract those patches

I have a single band raster file as drawn in the labeled image attached.  The size of raster is around 4k pixel in each x and y axis. Large part of this raster is empty. Only in small portions of the raster contains data as labeled. Is there any efficient way I can extract rectangular patches around the data portions of the large tif raster file? Any pythonic way using gdal or rasterio or some other package. What I have done so far: I have followed from sklearn.feature_extraction.imageway to extract 2D patches where there is data as follows. from sklearn.feature_extraction.image import extract_patches_2d im = imageio.imread(largeFilePath) # reading the large image x, y = np.nonzero(im) # taking xy locations with non zero values  # determining xleft, xright, yleft and yright of the non zero area in  raster  xl,xr = x.min(),x.max()  yl,yr = y.min(),y.max()   #Extraing the non zero area from my original raster only_desired_area = im[xl:xr+1, yl:yr+1]  # my desired window to extract  window_shape = (480, 480)  # 2D Ptaches extraction B = extract_patches_2d(only_desired_area, window_shape, max_patches=100)  Issue: This doesn't have georeference information because I haven't used gdal or rasterio


Let $a,b,c$ be the lenghts of the sides of a triangle. Suppose that $ab+bc+ca=1$. Show that $(a+1)(b+1)(c+1)<4$.    My attempt:    I tried multiplying the whole thing but that didn't help at all. So, I tried to manipulate the triangle inequality and bring out the given form but that didn't help too. I am out of ideas now. Please help. Thank you.


A word for a text with meanings read in both directions?

Not a palindrome at the word-order level, but one or more sentences that make perfectly good sense read in reverse order -- but a different sense.  Is there a term for this? (And if you don't know an English term, but do know a German or French one, that would help, too.)


Why did Dumbledore contemplate discontinuing Divination at Hogwarts?

In Order of the Phoenix, Dumbledore tells Harry  'I did,' said Dumbledore. 'On a cold, wet night sixteen years ago, in a room above the bar at the Hog's Head inn. I had gone there to see an applicant for the post of Divination teacher, though it was against my inclination to allow the subject of Divination to continue at all. The applicant, however, was the great-great-granddaughter of a very famous, very gifted Seer and I thought it common politeness to meet her.  Why did Dumbledore want to discontinue Divination? Is it because he didn't much like the branch of magic or didn't believe in it? It does not sound plausible that he would remove a subject from Hogwarts just because of his personal opinions. (Moreover, Divination examinations are taken during the O.W.L.s so I doubt whether Dumbledore would, with his individual decision only, be able to remove it completely from Hogwarts). From Order of the Phoenix we also know that there is whole room dedicated to storing prophecies in the Department of Mysteries, so prophecies and divination are a real thing in the Harry Potter universe, from the point of view of us readers as well as the characters themselves. Then why would Dumbledore want to remove Divination? Another thing to consider is that Professor McGonagall says, in the Prisoner of Azkaban, that true Seers are rare, so it might be that Dumbledore might have found it difficult to get someone competent enough for the job. This does not make much sense either, because if in the Harry Potter universe true Seers are rare, having someone teach the theory behind divination would at least help to keep the field alive. Also, he had trouble finding people for Defense Against the Dark Arts as well, but that does not mean he just gave up on the subject, rather, he made controversial hiring such as Professor Lupin and Moody to keep the classes running smoothly. What exactly was the reason for Dumbledore not wanting to continue Divination at Hogwarts (until he met Professor Trelawney)?


On my system, the time zone is set to Kolkatta, India, but it is not showing the correct time on the clock, it's 5:30 hour behind actual time. In System Settings if default system country is US, even after Kolkatta, India has been selected, the time remains behind by 5:30 hour.   Can anyone suggest what I should do?


I found  where a technician with a lot of experience seems to clean his PCBs using water, and then he just puts it in the sun so it can dry. I was just amazed to see the circuit keeps working as intended, he says he keeps doing this all the time and several times, however I doubt this is normal.  Which leave me some questions:   What are the recommended methods to clean huge PCBs like the one in the video? What happens to charged capacitors when water shorts them out? Solder joints do not get any kind of corrosion? Is the antisolder mask waterproof?


When I was solving the problem,  "Prove that there are infinity integer solutions for $x^2-2y^2=1$"  I did this kind of thing:  Since x is odd and y is even, let $x=2k+1$ and $y=2m$ then we get $k(k+1)/2=m^2$.  Since there are infinity amount of integers for $x^2-2y^2=1$,  we result that k(k+1)/2=m^2 has infinity amount of integer solutions.  I think we can prove that k(k+1)/2=m^2 has infinity amount of integer solutions in some way.  (Sum of 1~k) = (m^2)   --->  this looks kind of cool  My question is :  "Prove that $k(k+1)/2=m^2$ has infinitely many integer solutions. (without using $x^2-2y^2=1$)"


Find every combination of a list of integers split into exactly two subsets

Suppose I have a list of integers:  myList = [1,2,3,4]   How would one return every possible combination of these two subsets with Python.  For example, set [1,2,3,4] would produce [1,2], [3,4] and [1,3], [2,4] and [1,4],[2,3]


Including Large Tables in a beamer Frame

What is the best way of including large tables in a beamer presentation?


Fermat’s little theorem and J. E. Phythian

How can man proof this Theorem step by step, specially when $$p_i\mid a?$$ This theorem is in book: Elementary number theory by Koshy on page 334 Let $$p_1, p_2, . . . , p_k$$ be any distinct primes, and let $a$ any positive integer, and $$L = {\rm lcm}(p_1 − 1, p_2 − 1, . . . , p_{k} −1).$$ Then $$a^{L+1} \equiv a\pmod{p_1 p_2 \cdots p_k}.$$ i can not understand the proof in the book, Can anyone help me?  [excerpt added by Bill D.]


Regression with categorical predictors - use only some dummy variables

I am working on a regression and I have a factor variable "Marital Status"  Marital status has 5 levels: Single, Married, Divored, Widowed, Other (don't ask me what constitutes someone being an 'other')  When I put this into R it will turn this one variable into 5-1=4 dummy variables and will give me this output     with divorced as the baseline.   My question is, can I only use the significant dummy variables? I would drop the variables for 'other' and 'widowed' and keep 'married' and 'single'


I have asked this question before and no one has helped me. I've been given the wrong answer and when I tried to explain that there was no reply. But anyways what my question is, is that I work in internal and when I create fire (high resolution is checked), parts of it is pixelated and looks very noisy. Here we can see it in Godzilla's mouth area:    And here it is noticeable in certain areas of the flame:


Rendering animation with transparent background for website

I need to render animation with transparent background in Eevee and then to put that up on my website so video format has to be supported by HTML. Can I do that in blender?


I am planning to upgrade from 8.10 to 10.04. But I am wondering whether there will be data loss during the upgrade.  For example:   Will the applications that I have installed on 8.10 still be there after upgrade? Will the settings of application such as the bookmarks for Firefox and for Google Chrome be preserved? Will all the personal files under my home directory be preserved?   Is there anything else I need to know about upgrading?


How can i access node_load () in my php page

I created a PHP page within my project and I am using node_load() to print data.  I also used these includes in my php page:  include 'modules/node/node.module'; include 'includes/common.inc';   But I get an error about an undefined function, like so:     Call to undefined function cache_get() in   D:\xampp-portable\htdocs\d6\includes\common.inc on line 3321"   So how can I access the 'node load' function in my page?


Can I speed up the wait time between username changes?

I set my Minecraft username to a name I don't like. I don't want to wait the full 30 days to change it back or to something different. So is there ANY way I can speed up the 30 day wait?


How to read external USB hard drive formatted ext3 from Windows 7?

I had to format a USB hard drive to ext3 to use it with a Linksys nas box.  Now I can't read the hd when I unplug it from the nas and plug it directly into my Windows 7 computer.  (The computer accesses the nas over a wireless connection, so I like to plug the hd directly into my pc when transferring large files.)  How can I leave the hd formatted with ext3 and yet be able to access it (read/write) when I plug it directly into my pc?


Bias the classification in logistic regression

I want to make my classifier prioritise finding true cases (1) even if that means that a lot of the false cases (0) are also classified as true.  Specifically I wish to find the weights to my features that gives at least 97 % of my true cases as true and as a small fraction as possible of my false cases as false.   What should I be looking for in a logistic regression setting? Of course I can just adjust the intercept but I assume that there must be some better way?


The meaning of the structure *to be + said + verb (infinitive)*

What are the uses of this structure? I looked for about it, but I couldn't find something useful. Can you give me a definition and some examples?


Maybe you know, imgur.com is banned in Turkey. So we can't see images on asked questions and can not upload any image to questions. Is there an alternative to imgur.com for downloading/uploading images?  Or can you suggest anything to get rid of this?


What are your most effective way of earning lots of gold in World of Warcraft?  Should I be farming materials for my trades or to sell on the Auction House? Or should I be doing speed runs on the daily heroics?  Any suggestions?


example of random variable that is integrable but have infinite second moment

Can anybody give an example of nonnegative random variable assuming integer  values, almost surely, which is integrable but that has infinite second moment?


Future meaning: "I'm seeing" vs " I'll see"

Could you please explain to me why they use the Simple Future "I'll see" in Sentence 8? (in the attached picture).  I answered "I'm seeing" because i thought that "the meeting is set (tomorrow) and they have already planned it". And for arranged actions, we use Present continuous"   Please help me clarify this case. Thank you so much!


Can I throw away contents of my Steam Inventory?

I have a number of items in my Steam inventory that are never going to get used; for example, some AirMech 2 "gifts" that are marked as NO LONGER VALID.  Is there some way to get rid of them so I don't have them cluttering up my inventory?  Obviously I could do a one-sided trade with a friend, but then they'd have to deal with it instead, and I don't have any alt accounts.


"He was neither seer nor prophet" How would you explain the absence of an article?

Here's a fragment from Jack London's Star Rover:     Wordsworth knew. He was neither seer nor prophet, but just ordinary man like you or any man. What he knew you know, any man knows. But he most aptly stated it in his passage that begins "Not in utter nakedness, not in entire forgetfulness.   To the best of my — admittedly sketchy — knowledge of grammar, the second sentence should read neither a seer nor (a) prophet, but just an ordinary man. Even if we accept the seer and the prophet as "poetic entities" ("father and son," "robber and robbed," "man to man," or whatever), logic would still dictate that ordinary man should be preceded by an an.  It is a well-known fact that Jack London's usage wasn't always up to par; his grammar, on the other hand, was always top-notch.  Logically, the sentence is grammatically incorrect (correct me if I'm wrong: no pun intended).  Illogically, it reads smoothly: intuitively, a native speaker understands that there's nothing wrong here.  However, those to whom English is not the first language cannot be expected to be intuitive in this case and would want an explanation. Any suggestions?


Can you have a giraffe shaped black hole?

My reasoning being - lets say a rock is approaching a black hole. It would essentially stop in time for an outside observer once past the event horizon but since it would also bring along some new mass by itself, some of it should stop before reaching the event horizon, becoming the new edge of the event horizon.   Assuming that is true, if I were to feed a black hole from a single direction, it should start growing a spike, right? Going further with the same technique, you should be able to shape the black hole into a giraffe if you wanted to. Are there any flaws in this future business plan of mine?


Show that $P_n$ is an $(n+1)$-dimensional subspace of the vector space of all real polynomials

Show that $P_n$ = {polynomials with real coefficients of degree $\leq$ n} is an ($n+1$)-dimensional subspace of the infinite-dimensional vector space of all real polynomials   I know that $P_n$ is referring to $a_nx^n + a_{n-1}x^{n-1}+...+a_1x+a_0$  Also, I understand why the vector space of all real polynomials is infinite-dimensional (I have proved this by contradiction)  But I need help understanding why $P_n$ is an $(n+1)$-dimensional subspace of it  I realize this question has already been asked here , but that question was marked off topic and most of the answers are giving the asker advice on how to better ask his question and thus I am asking again.


Create array of class objects with independent data

I have a class object that has a constructor containing input parameters relevant to a product. Once instantiated it's member variables contain result data.  For example:  int parm1 = 1; int parm2 = 2;  MyClass myclass = new MyClass(parm1, parm2);   The MyClass class makes parm1 and parm2 available as public members.  So now I need to create copies of the myclass object, like:  MyClass myclass1 = myclass; MyClass myclass2 = myclass;   But setting a member in any instance of these classes sets the value in all 3 copies. For example:  myclass1.parm1 = 10;   Sets myclass.parm1, myclass1.parm1 and myclass2.parm1 all to 10.  I need to be able to do the following:  myclass.parm1 = 3; myclass1.parm1 = 45; myclass2.parm1 = 5499;   with none of these effecting the others' settings.  How do I create a copy of the initial class object that allows changing public member values without changing those in the original/other copies?


When I try to import my Android Project I get three times the message "Nullpointerexception: null" and also the following error: Nullpointerexception: failed to set up android modules The error occurred after deleting by accident the .AndroidStudio1.4 folder, starting Android Studio, replacing the folder with the one in the recycle bin and starting Android Studio again.   Do you have any idea how to solve this?


Is there a bounded function $f$ that holomorphic on the open unit disc but $f'$ isn't bounded?  I think first $f$ shouldn't be analytic outside the unit disc then we can't use Cauchy's inequality, because  $$|f'(z)|\le\frac{\max|f|}{R}$$ When $z$ near the bound of unit disc $R$ should be small so $|f'(z)|$ can be large


Subrings of integral domains have the same identity element.

If $R$ is an integral domain and a subring $S$ has identity $1_S$, how would you show that $1_S=1_R$ (here $1_R$ is the identity of the ring $R$)? I am unsure about what an integral domain really is and how the subring comes into play here.


Let $a,b,c,d>0$, show that  $$\dfrac{1}{4}\left(\dfrac{a^2}{b}+\dfrac{b^2}{c}+\dfrac{c^2}{d}+\dfrac{d^2}{a}\right)\ge \sqrt[4]{\dfrac{a^4+b^4+c^4+d^4}{4}}$$  I know this is interesting inequality,and Mathlinks can't solution,Thank you for you help  also can see this:  today,when I see this secrets in inequalitys Volume 1,(Pham kim Hung) page 205  let $a,b,c,d>0$ prove that $$\sum_{cyc}\dfrac{a^2}{b}\ge 2\sqrt{2}\sqrt[4]{a^4+b^4+c^4+d^4}$$  I can't prove it,can you help me? Thank you


Minimal number of generators of an ideal

Suppose $Y$ is an affine variety in $\mathbb{A}^n$ of $\dim r$. Then height of the prime ideal $\mathcal{I}(Y)$ is $n-r$. We have a result:     "Let $A$ be a Noetherian ring, $x_1,\dots ,x_r\in A$. Then every minimal prime ideal $\mathfrak{p}$ belonging to $(x_1,\dots ,x_r)$ has height $\leq r$." (Atiyah-Macdonald, Corollary $11.16$, page $121$).   Now suppose $\mathcal{I}(Y)$ is generated by $m$ elements. Then, using the result, $n-r\leq m$. So $\mathcal{I}(Y)$ is minimally generated by $n-r$ elements.  $\underline{\text{My question}}$: Is it always possible to find $n-r$ elements which will generate $\mathcal{I}(Y)$ or there are some examples for which it is not possible to find that minimal number of elements ? Also, in particular, if $Y$ is a linear variety then as @Georges pointed out we can always find $n-r$ elements which will generate the ideal $\mathcal{I}(Y)$. I need an explanation for this last part.   Thank you.


I want to change to new virtual desktop,  I use Ctrl+Alt+down to change desktop   I don't want to see previous virtual desktop application that I am using.   In Windows every Virtual desktop is individual,when I open a game in desktop1, I would not see the game opened in taskbar  OS : Ubuntu 18.04 (I'm not using VM)  First and second virtual desktops:    The brand new virtual desktop I want:


I want to compare different methods such as SVM and PCA to classify the data correctly. But I don't know how to calculate accuracy of PCA in R.  Following the article "Genetic classification of populations using supervised learning" (2011), I want to classify different populations using machine learning and PCA.  For SVM, I calculate accuracy with confusionmatrix(table,test[,1]). But for PCA I have a problem.


I have a basic doubt about the associativity of the cartesian product. Well, first wikipedia says that the cartesian product isn't associative, and there's a good argument for it: if $x\in E$, $y\in F$ and $z \in G$ the identity $((x,y), z)=(x,(y,z))$ would imply that $(x,y) =x$ and $(y,z) = z$ so that $((x,y),z)=(x,y,z)$ would mean nothing.  That's fine, I like this argument. However, in his book Calculus on Manifolds, Spivak says that the cartesian product is associative. He says: if $A \subset \mathbb{R}^m$, $B\subset \mathbb{R}^n$ and $C \subset \mathbb{R}^p$ then $(A\times B)\times C = A \times (B \times C)$, and both of these are denoted simply by $A \times B \times C$.  Well, this confuses me because Spivak is always very rigorous, so that he wouldn't state something that's not true in such way. Is Spivak or Wikipedia right ? Or Spivak's statement only works for subsets of euclidean spaces ?  Thanks in advance and sorry if this question is too basic.


Interfacing ATK-SIM 900A GSM/GPRS Module with Arduino Mega

Problem:  I have this ATK-SIM900A GSM / GPRS module which will be used to send sms. But I can't figure out how to interface it with an Arduino as there are no documentation available online.  Module Specification  ATK-SIM900A GSM/GPRS Board from Alientek    Things I've tried so far  Connection  I've tried connecting the module with Arduino in following manner  SIM900A  TX <-> Arduino RX SIM900A  RX <-> Arduino TX SIM900A GND <-> Arduino GND   I've powered up the ATK-SIM900A module with 12V-2A DC supply  Programming   Tried SoftwareSerial library  Tried a some GSM libraries and programs        What I'm doing wrong? Any kind of help will be much appreciated.   Why it isn't a duplicate of other questions:  I am working with ATK-SIM900A GSM / GPRS module, it has different features and pinout than the module asked in those questions. I've tried the solution stated in this question (), it didn't work.


Assume $p$ is prime and $p\ge 3$.  Through experimentation, I can see that it's probably true. Using Wilson's theorem and Fermat's little theorem, it's equivalent to saying $2^2 4^2 6^2 \cdots (p-1)^2 = (-1)^{\frac{p+1}{2}}$ mod $p$, but I can't figure out any more than that.


Dumping a unconscious enemy to the water, counts as a kill?

I just finished a mission, and i dont remember killing anyone, but i threw 3 bodies on the water.  At the end of the mission, i ended up getting "3 kills"  So, dumping a unconscious guard/enemy to the water, counts as a kill ?


ham and scalloped potatoes that had been cooked left out overnight- still safe to eat?

I cooked a ham and scalloped potatoe casserole and then left it sitting on the counter overnight. It was going to be REALLY good- can we eat it or too much risk???


java.lang.IllegalArgumentException: Invalid  WelcomeServlet in servlet mapping

I have installed tomcat server to work with my dynamic web project on eclipse Luna. The server seems to be running fine when I dont load it with any project file but when I load my project it gives the error "Server Tomcat v7.0 Server at localhost failed to start." I have checked my project and there seems to be no error in it. These are the server startup messages that I get:  Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> WelcomeServlet in servlet mapping     at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3325)     at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3300)     at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1438)     at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357)     at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)     at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5419)     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     ... 6 more


Is there a different world for portraits in wizarding world?

As we all know that wizarding world and muggle world in Harry Potter is separated. If we go by this logic, is the world in moving portraits in wizarding world different?  I mean the portraits have knowledge. People in portraits, though dead have capacity to make decisions. So if compared with real life situation, these photographs are not videos or GIFs programmed to move in a specific loop. The people in portraits can move from one frame to another. Also, the background seems alive in many portraits.  From this I assume, there must be another world separated, where the people in portraits live. Something like we see in Wreck-It Ralph. Outside the frame where people can't see, they must have bedroom, living room or maybe a whole garden.   (P.S.: I'm not speaking about photographs in wizarding world's newspaper or wanted posters. They look like looping GIFs.)


Is it true that two polynomial rings are not isomorphic iff the rings are not isomorphic?

Here in the exercice, I have to show that $(Z[t],+, . )$ and $(Q[t],+, .) $ are not isomorphic.  I know the answer!  I am simply wondering if it would be true that, showing that $(Z,+, . )$ and $(Q,+, . )$ are not isomorphic is sufficient to say that the polynomial rings are also not isomorphic.  If not, can you find me a counter example?  thank you!


How do I dynamically invoke a class method in PHP?

How can I dynamically invoke a class method in PHP? The class method is not static. It appears that   call_user_func(...)   only works with static functions?  Thanks.


Why do we use the Lagrangian and Hamiltonian instead of other related functions?

There are 4 main functions in mechanics. $L(q,\dot{q},t)$, $H(p,q,t)$, $K(\dot{p},\dot{q},t)$, $G(p,\dot{p},t)$. First two are Lagrangian and Hamiltonian. Second two are some kind of analogical to first two, but we don't use them. Every where they write that using them can cause problems. But why?


Would any high-end, large sensor compact (eg RX100 II) be a better investment than a small interchangable camera (eg Lumix GM1)?

I want to buy a new "compact" (in terms of size) camera to replace my ageing Canon S90.  I have a Canon 6D which I use for travel and dedicated "photo walks", but I also use my S90 quite often when I'm not in the situation where my DSLR is with me or when it's unsuitable, a casual night out with friends, concerts, dinners, on the street commuting, spontaneous trips, etc.  So size is one of the biggest priority, second is it should be better than my S90 in all specs.  I would want to know if I were to stick with my new purchase for at least 5 years, would a large sensor compact like the Sony RX100 II, Ricoh GR, etc (preferably with zoom as it's much more flexible imo) be a better choice over the currently smallest (as Panasonic puts it) micro 4/3s camera the  with kit lens?  Is there any obvious advantages of high end compacts compared to the smallest mirrorless camera, of which the only one that fits the category of smallest is the GM1 and the Pentax Q (but the sensor's a bit too small).


Can I contribute to both a solo 401k and a regular 401k in the same year?

I was self employed during the first quarter of 2011, then switched to full time employment.  I have a solo 401k that I haven't contributed to in tax year 2011.  I have been contributing to my employer's 401k (to capture the match).  Can I still make a contribution to my solo 401k, or is it disallowed because I participate in another plan?  If it is allowed, what limits are in effect for the combined contributions (solo + regular)?


$$\lim_{n\to\infty}\Bigg({\frac{1}{6} + \frac{1}{24} + \frac{1}{60} + \cdots + \frac{1}{n^3 - n}}\Bigg)$$  Actually, I was unable to think it in a proper way but it was a multiple choice question. So, I just added first few terms and checked that where does that converge and got the answer which was nearly $\displaystyle\frac{1}{4}$. What is a proper way to solve this.


How can I give an Object.Freeze on just one object?  Here's the example below where I create a, I replicate a in b, freeze the b, and try to re-assign a value to a. But it is no longer possible. Why? How do I do freeze on just one object?  Thank you!    let a = { "teste" : [1,2,3] }  // I want 'b' freezed const b = a; Object.freeze(b);  a.teste = [4,5,6]  console.log(a)


Prove $\Bbb{Z}_{100} \times \Bbb{Z}_{10}$ is not isomorphic to $\Bbb{Z}_{1000}$

How does one prove $\Bbb{Z}_{100} \times \Bbb{Z}_{10}$ is not isomorphic to $\Bbb{Z}_{1000}$  Do you have to show one is cyclic and the one isn't? (why does this work?)


for(i = 0; i < data.length; i++) {     timesheets.i =  { name, day, month, date, year, time }; }   When I run this code, it just overwrites the values for timesheets as it loops.  How can I name the different objects within timesheets using the variable i?  edit:  The first comment helped a ton. But when I try and create different object using  timesheets[name] = { name, day, month, date, year, time };   it overwrites the values instead of adding an additional object. When I try and use  timesheets[name] += { name, day, month, date, year, time };   It console logs as   {   'Pres Trump': 'undefined[object Object][object Object]',   'Pres Obama': 'undefined[object Object][object Object]' }   What could I be doing wrong?  edit:  fixed with  if(timesheets[name] == undefined){                 timesheets[name] = [ dateOutput, time ]             }else{                 timesheets[name] +=  [ dateOutput, time ];             }


If $p(x)$ is a polynomial of degree $n$ and $p(k) = k/(k + 1)$ for $k = 0, 1, 2, \ldots,n$, find $p(n + 1)$.  I'm not looking for a solution, I just want help starting it.    *Edit: Typo in original post,


I am trying to create a simple edge border to an a4 sheet using the \rule command  \newgeometry{left=0cm,right=0cm, top=0cm, bottom=0cm}  \hbox{ % Horizontal box  %\hspace*{0.1\textwidth} % Whitespace to the left of the title page \textcolor{black}{\rule{20mm}{297mm}} % Vertical line \textcolor{mygray}{\rule{5mm}{297mm}} \hspace*{4mm} \textcolor{black}{\rule{1mm}{297mm}} \hspace*{0.05\textwidth}}   However latex leaves white space before and after each rule as seen in the picture attached . I can use [-1mm] to shift the rule downwards but I can't work out how to shift it to the right hand side so the first two rules lie side by side and the first rule is at the extreme RHS of the page. How do I remove this whitespace?


I am trying to install git on Ubuntu 16.04 LTS but every time I get this message. I have already uninstalled libpcre2-8-0, and synaptic shows nothing in broken packages. It shows only when I mark git-core package to install, and I don't know what to do after.  $ sudo apt install git 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:  git : Depends: libpcre2-8-0 (>= 10.22) but 10.21-1 is to be installed E: Unable to correct problems, you have held broken packages.


Where can I find the LaTeX template for Elsevier Camera-ready copy (CRC) journals (Neuroimage journal) for publishing my paper?


Can anyone could help me remember the name of a "journey to mars"-type movie. All I remember is that you see the groups of guys (about 3) chill behind some rocks and they see a group of these short green alien humanoid-shaped beings. There's a trough of water and the aliens are drinking from it. But the one at the end is slightly weak-looking, so then the group attacks it and feasts. Then either this pile of rocks starts to build itself into a organism thing and attacks them, or it attacks the human guys. But it was at least 3 times taller than them and made out of rocks.   I know these if very vague but I've tried and can not find what this is, so if any of you have a clue THANK YOU.


How to remove smell of cigarettes from PC setup

I recently moved out of a place with three roomates who smoked indoors.  They smoked in the basement which is also where my PC was set up.  I left my PC on nearly all the time so it's been breathing that air in for a good six months.  I took it apart and blew it out with compressed air when I got to my new place, and it was just loaded with thick brown and black dust and all kinds of gross stuff.  Definitely smells a bit better now that I've cleaned out the inside but there's still a very noticeable smell around my setup.  I have the following pieces of equipment:   Desktop PC Two flatscreen HDMI monitors External harddrive Mouse, keyboard, headset, webcam Computer speakers with left and right channels and a subwoofer Several usb cables Also a folding table I had it set up on   All of this stuff smells pretty bad especially when it's all together like it will be when it's set up.  The table and gadgetry I'm sure just needs to be wiped down with a wet cloth but I'm wondering if there's any tricks to getting the smell out of the more sensitive electronics, and if I need to clean inside things or just the outsides.


What Happened to "What Stack Overflow is Not"?

I use  frequently to post comments on SO questions that don't meet the quality guidelines for the site.  I find it helps me to do my part in helping the moderators keeping the site clean.  It is a valuable tool for me. I've added it to my favorites so that I can easily link back to it. Today when I was making such a comment (on ) I found that the post no longer appears in my search. I suspect it's been deleted, which I can't tell because my rep on MSO is too low. What's happened to this post?


In my latex document I used :  \begin{figure}[h!] \begin{center} \includegraphics[scale=0.5]{ID_decays.png} \caption{Differet parameters of Inner Detector \cite{12}.} \end{center} \end{figure}   then why my objects are always moves to another place?


A word for "a means of getting a job over reliable candidates"

I want the word that means "a means of getting a job over reliable candidates", but I'm going to explain it here again in an example.  The example: If X and Y applied to a job, and X happened to have a relative that works in the company they applied to it, while Y knows no one in that company, but he has very high qualifications over X. However, X got the job nonetheless since he had a _____.  X could have got the job by other means like he knows the manager there, for example. Thus, it is not only relatives related.  I thought of "means" and "intermediate" but the results I got didn't confirm my thoughts.


Oracle SQL - How to return records with the earliest/min date per each ID

I have a query that will currently return multiple records because the date is slightly different amongst them.  I would like to return the record with earliest date per ID.  Example output:  ID  AMOUNT  DATE 1   10      1 1   20      2 1   30      3 1   1       4 2   34      1 2   234     2 2   234     3 2   34      4 3   3       1 3   3       2 3   23      3 3   20      4   Desired output:  ID  AMOUNT  DATE 1   10      1 2   34      1 3   3       1   Here is my current query:  SELECT DISTINCT th.somefield21 as field21,  th.somefield18 AS field18,  th.somefield17 AS field17,  (c.somefield19 || ' ' || c.somefield20) AS field19,  CASE when th.somefield15 = 'TEST' then (b.apple || ' ' || b.bananna || ' ' || b.peach || ' ' || b.plum || ' ' || b.grape) else a.somefield16 END AS field16,  a.somefield1 AS field1,  a.somefield2 AS field2,  a.somefield3 AS field3,  th.somefield4 AS field4,  s.somefield5 AS field5,  th.somefield6 AS field6,  th.somefield7 AS field7,  th.somefield8 AS field8,  s.somefield9 AS field9,  s.somefield10 AS field10,  s.somefield11 AS field11,  s.somefield12 AS field12,  s.somefield13 AS field13,  th.somefield14 AS field14  FROM schema.therm th,  schema.charlie c,  schema.faux f,  schema.alpha a,  schema.bravo b,  schma.sierra s,  schema.delta d,  schema.golf g,  schema.echo e,  schema.foxtrot ft    WHERE ft.act='submit'       AND ft.tid = th.tid        AND ft.aid = c.aid       AND c.cid = f.cid       AND f.addid = a.addid       AND f.addid = b.addid       AND th.tid = d.tid       AND ft.aid = e.aid      AND e.dsrid = g.dsrid       AND g.dsprid = s.dsprid       AND th.ttype = 'c1'       AND f.add = 'wookie'       AND th.date between to_date('01/01/2001 00:00:00','MM/DD/YYYY HH24:MI:SS') and to_date('10/01/2019 23:59:59','MM/DD/YYYY HH24:MI:SS')       AND s.code = 'han'       AND th.state != 'darth'       AND d.act NOT IN ('peach','pear','cherry','plum')  ORDER BY th.field21;   Which results in multiple records for entries with the same ID.  I tried adding min(th.somefield18 AS field18,) but that resulted in   ORA-00937: not a single-group group function 00937. 00000 -  "not a single-group group function".   When I attempt to add GROUP BY field19 it results in   ORA-00979: not a GROUP BY expression 00979. 00000 -  "not a GROUP BY expression"


Can a magnetic field be induced without an electric field? Because, as far as I know, a time varying electric field induces a magnetic field an vice versa.  But in the case of conductors carrying currennt, it doesn't seem that electric field varies with time, then how is a magnetic field induced?


unable to install vlc noob question kubuntu

Whenever i type sudo apt-get install vlc. it comes with an error saying that unable to locate the package this is happening with all other installs too, am i making any mistake, it is my first hour with kubuntu.


I have been walking around the nether but I don't seem to find any fortresses? What's a tip to find them faster?


Are Gotham and Metropolis neighboring cities? If not, how do Batman and Superman meet each other? And in the upcoming film trailer for Dawn of Justice, Batman is shown watching his Wayne tower being destroyed by Superman. How are they in the same city?


How do I generate numbers according to a Robust Soliton distribution?

I'm working on project in Matlab which aim is to demonstrate how Luby Transform codes work. I need to generate generation matrix and I need to get some values from Robust Soliton Distribution, can someone explain me how to generate numbers according to this distribution, I need to generate one value for each column in my matrix, I saw Robust Solition formula here  but I don't understand what each variable means. Thanks in advance  Here is the formula form Wiki:


How to get a bash script argument given its position from the end?

I've got a shell script and I want to use the last argument:  #!/bin/bash echo My last param is #somehow put it here   Here is what I've tried:  echo $$# echo ${$#} echo ${(($#))}   Unfortunately it did not work.  I'm specifically want to understand why my options did not work, I want to do something like double expansion.  In a broader sense, I would like to know how to access the Nth argument from the end. How do I achieve that?


Do PhD students have to be in a certain age range to receive a scholarship?

I am going to pursue my Ph.D. in Australia or New Zealand, I don't know if my age can affect my application regarding getting a scholarship. I definitely need a scholarship and stipend to help me to cover my expenses. I am a university lecturer and hold a master's degree in the field of industrial engineering. I am working in the field of mathematical modeling and machine learning.


How to create and animate the water reflection (Caustics) on an object?

What is the best method to create this kind of reflection and how to animate it?


How to center text without adding space AND not altering alignment of surrounding text?

In normal text, how do I center part of a sentence (it happens to be the end of a sentence) but leave the text in the rest of the paragraph unaltered? Also, no vertical space should be added before or after the centered text.  In a word processor, I would add a new line just before the text to be centered and then "center" the text on the next line.  I tried doing things similar to this with various LaTeX commands, but nothing worked.  This is what I want it to look like:  This is a really long sentence as an example.  The second half of this                                sentence should be centered.


I've seen several times when Superman is sporting a beard. How does he shave his indestructable hair?  I remember once in Superman the Animated Series that he used his heat vision, but that doesn't make sense to me seeing as he can fly through a star and not get burned.  Also related, how does he go from Super Mullet to short hair? IE, how does he cut his hair?


Prove $\sum_{i=0}^n \binom{x + n - i}{n - i} \binom{y + i}{i} = \binom{x+y+n+1}{n}$. I put it into Mathematica and it gives answer. However, I have no idea how to prove it. Could anyone help me? Thanks!


How to list only JPEG files from root below using the command line?

I am searching for a method to find only JPEG files/ With my limited knowledge of Linux I came to this point:   list all paths that exist from root below with find / pipe the result into next command and perform the file command on each found path with xargs file In the result of the file command is a JPEG string contained, I thought maybe it would be possible somehow to an IF-statement to filter only the JPEGs: If (JPEG contained in output of file command) {show argument of file}   once more:  find / | xargs file | "If statement"    Could you please correct me, give me a hint how to perform the task or give a solution?


Textures show in material view, but are magenta in rendered view (Cycles)

I've been working on a scene with some subsurface scattering materials, and to save time and reduce grain in the render, I've baked those materials to textures (in OpenEXR format). However, after closing and reloading the blend file, some of the textures now appear as magenta in rendered view, as if they couldn't be loaded, even though they show up correctly mapped in material view. All of the objects are UV mapped, those UV maps are enabled (as far as I can tell), and the texture runs to the material output via an emission shader.  Here's what it looks like in material view:   Here's what it looks like in rendered view:   And here's what the material setup looks like for all 3 materials:   Interestingly, one of the textures appears in rendered view fine, but the others don't, although I set them up through the same process. Whether the textures are loaded from a folder or packed into the blend file doesn't appear to have any difference on the result.


Let $\gcd(m,n)=d$ and $\gcd(m^2,n^2)=d'$.  It means $d|m$ and $d|n$ which implies $d^2|m^2$ and $d^2|n^2$  Thus $d^2|d'$. How to prove reverse $d'|d^2$


What are the advantages for instantiating a subclass as superclass type?

For example lets say I have a Car super class and a Honda sub class extending from Car. I understand I can create a Honda object by:  Honda accord = new Honda();   and I can also do:  Car accord = new Honda();   But what are the advantages to instantiating accord as a Car type?  I know if I want to search all Car subclasses I can use if (var instanceof Car), but aside from this are there any special cases?  I'm just having difficulty wrapping my head around this.  Thank You.


Construct coordinates of $n+1$ points in ${\mathbb{R}^n}$, each pair of which have the same distance

For example, if $n=2$ then we should construct a regular triangle. I think the sulution may be to extend one point in a step, finally giving $n+1$ points. But I havn't got any idea to extend one point with my linear algebra knowledge. Hope someone can provide a solution, thank you!


Recently acquired new parts to build my second custom computer, primary focus of gaming. Looking into a new OS I just can't justify buying Windows 10. I tried downloading Ubuntu on my current computer but it requires a certain reader that I don't have. ubuntu-16.04.1-desktop-amd64.iso is the name of the file. Standardized disc image stored in ISO-9660 data format – contains complete disc file structure, including files, file attributes, and boot code. That's the description I get so maybe it's because I'm on a computer with an OS already installed it won't run? So a few questions from someone who only knows that Ubuntu is an OS:  How do I go about putting Ubuntu onto a flash drive from my current computer and then installing that onto my new computer? Doesn't the new computer need that reader as well? Any guidance regarding installation and making sure it runs reliably is appreciated.    Any tips for a brand new user of Ubuntu who has no experience and has only dealt with Windows?    Thanks for taking the time to read my comment, even if your answer is a link to a helpful thread that would be really appreciated.   Edit 1: I have one 500gb SSD, Samsung EVO 850 to be specific, no HDD or second hard drive.    Edit 2: My "new" computer is one that I have to put together and build myself with 1 blank, 500gb SSD. It does not have an OS on it, How would I go about putting Ubuntu onto the SSD? Would I get a bootable USB and download the files from there onto my SSD? Then choose to boot from my SSD? I am currently using my "old" computer which is running Windows 7.


I am looking for a canonical question and answer on this issue.   (see ) on  has prompted me to ask this question.        In all honesty I think we just don't need a comic strip to explain what a user is saying. Currently I edit out emoticons I see, but this post presents a whole new type of .... ? what I'm not sure.  Is there are community consensus on this either way?  These questions are related — but different:        Please try and answer sensibly (rolls eyes at the prospect of a flood of emojis in answers) — so we can actually have something that we can link to new users (or old users) when editing this stuff out — or (even worse), defending its existence.


I want to solve the following integral without substitution:  $$\int{\sqrt{1-\sin2x}} \space dx$$    I have: $$\int{\sqrt{1-\sin2x}} \space dx = \int{\sqrt{1-2\sin x\cos x}} \space dx = \int{\sqrt{\sin^2x + \cos^2x -2\sin x\cos x}} \space dx$$    but this can be written in two ways: $\int{\sqrt{(\sin x - \cos x)^2}} \space dx$ or $\int{\sqrt{(\cos x - \sin x)^2} \space dx}$ and it seems to be pretty far from what the real result is:   Can I get any hints?  EDIT:  Thank you for your answers! So as you all showed, we have: $\int{\sqrt{1-\sin2x}} \space dx = \cdots = \int{\sqrt{(\sin x - \cos x)^2}} \space dx$ or $\int{\sqrt{1-\sin2x}} \space dx = \cdots = \int{\sqrt{(\cos x - \sin x)^2} \space dx} = \int{\sqrt{(-(\sin x - \cos x))^2} \space dx}$    combined: $\int{\sqrt{1-\sin2x}} \space dx = \cdots = \int{\sqrt{(\pm(\sin x - \cos x))^2} \space dx}$  so we actually have: $$\int{|\sin x - \cos x|} \space dx$$    I drew myself a trigonometric circle and if I concluded correctly, we have: 1. $\int{\sin x - \cos x} \space dx$ for $x \in [ \frac{\pi}{4} + 2k\pi , \frac{5\pi}{4} + 2k\pi ] , \space k \in \mathbb{Z}$ 2. $\int{\cos x - \sin x} \space dx$ for $x \in [ -\frac{3\pi}{4} + 2k\pi , \frac{\pi}{4} + 2k\pi ] , \space k \in \mathbb{Z}$    ... which means: 1. $x \in [ \frac{\pi}{4} + 2k\pi , \frac{5\pi}{4} + 2k\pi ] , \space k \in \mathbb{Z}$ : $$\int{\sqrt{1-\sin2x}} \space dx = \int{\sin x - \cos x} \space dx = -\cos x - \sin x + C$$ 2. $x \in [ -\frac{3\pi}{4} + 2k\pi , \frac{\pi}{4} + 2k\pi ] , \space k \in \mathbb{Z}$ : $$\int{\sqrt{1-\sin2x}} \space dx = \int{\cos x - \sin x} \space dx = \sin x + \cos x + C$$


Nexus 7 is stuck in reboot loop after full discharge

I have a few day old Nexus 7 tablet, unrooted, bootloader still locked, and otherwise in factory condition. This morning, it ran its charge out. When I plugged in it, this happens:   Google Logo appears. Nexus Logo appears. Lock screen which shows charging: 0%. White screen, device powers off. Repeat.   What is happening? Thanks!


Google structured data AggregateRating works in page but not in another

I'm trying to put Google structured data in my website but it works for one page but not another. However I have the same HTML code for Google tags and Google structured data tester gives me the same result for those URL:       You can try but searching pieces-suz suzuki-moto in Google search. The first link doesn't display stars and the second displays those.  Why stars are not displayed on the first link ?


Prove by induction that for any $n \ge 2$ : $\sum_{k=n+1}^{2n}\frac{1}{k} \ge \frac{13}{24}$

Prove by induction that for any $n \ge 2$ :  $$\sum_{k=n+1}^{2n}\frac{1}{k} \ge \frac{13}{24}$$  I obviously know the base case is true, but beyond that it seems to get convoluted and I'm not sure how to solve this question.  Anyone help?


Display the taskbar clock on multiple screens in Windows?

Is it possible to display the clock on the taskbar on each screen in Windows 8, preferably without 3rd-party tools?


Can instructors fail honest students when tests are too hard because most students are cheating?

I am in Nursing school.  I can prove that 80-90% of students have cheated every semester.  They pass test banks around in email, text or Instant Messenger.  Every semester I've come forward (5 instructors) but nothing major has happened.  In 3 semesters of nursing school the faculty has never condemned nor said a word about using test banks.  This semester I tried to warn instructors before the first exam, but they didn't listen.  Now a few of us simply can't pass the exam because we're not cheating.  The exams are that hard.    Test banks from previous semesters were being passed down from the semester ahead of us.  I looked back at these test banks after the exam and found 21 questions just in one chapter.  That's when I emailed them the test banks that were being passed around.  It's a fine example of how academic dishonesty cheats everyone including the ones being honest.  Every semester Instructor makes the exams harder and harder because "statistically" the instructor data shows statistically "These are good/not too hard questions".  But I have the documentation to show WHY people are able to pass.  Had I used these test banks I would be passing.  Honesty is earning a few of us a 60.00% on each exam.  What can I do?  I warned them; they didn't listen. I plan on filing a complaint and a grade grievance.  My question is: can an instructor fail students who are being honest?  When there is clear proof of compromised exams and academic dishonesty throughout the class. Is it our fault they can't catch it?  Is it our fault they have no idea what a hard question really is? Can instructors really fail people for being honest and choosing not participate?


If  $f : [-1,1]\rightarrow R$ be a continuous function satisfying $f(2x^2-1)=(x^3+x)f(x)$, then find the value of  $\lim\limits_{x \to 0}\dfrac{f(\cos x)}{\sin x}$  My approach is as follow, as the domain is $[-1,1]$, we check the value at $x=-1$, then $f(1)=-2f(-1)$, at $x=1$, then $f(1)=2f(1)$, then $f(1)=0$, hence $f(-1)=0$, putting $x=0$ we get $f(0)=0$.  Now  on differentiating we get $4xf'(2x^2-1)=(3x^2+1)f(x)+(x^3+x)f'(x)$ after this I am not able to solve as it is getting complicated


What is the best package out there to typeset proof trees?

So, I want to typeset some proof trees, i.e. trees of inference rules like those in natural deduction (see diagram below). Which are the best packages that you have found that allow you to do this, and which features do they have?


Is the matrix $R$ in the $QR$ decomposition unique?

I'd like to know for positive diagonal elements why is $R$  in $QR$ decomposition unique.  My guess is it must have something to do with linearly independence of the column of $R$, but then I can think of a property that lead me to uniqueness of $R$.


Why does `\texttt` repeat and shrink my equation?

When I use \texttt with the caret symbol in an amsmath equation environment, I get a very weird result. Specifically, the text repeats itself four times while shrinking.  MWE:  \documentclass{article} \usepackage{amsmath}  \begin{document}  \begin{equation*}     \texttt{y^o} \end{equation*}  \end{document}   Compiling this document with pdflatex produces the following result:    The same result occurs even if I remove the o character. To fix it I could modify the offending line to \texttt{y$^o$}, but why is this repeating happening in the first place?


When and where do I have the highest chance of seeing auroras?

I'm wondering what time of year is best, and what locations might be best, for catching the aurora.  I'm currently thinking of February up at Sweden's ice hotel, but since the whole point of the trip is so that my wife can see the Aurora, I want to pick a location that affords the best chances to see one.  Edit: Just adding a link so you can see realtime aurora activity in the northern hemisphere    I know this is anecdotal, but I ended up going to Iceland in late february during the new moon and saw the aurora 3 out of 6 nights I was there.  There was activity every single night but the biggest problem was weather.  It was cloudy almost every single night.


What Xeon is the closest equivalent to the Core i7-4790K?

I am planning to build a workstation whose main requirements are high single-thread performance, support for ECC memory, and a degree of energy efficiency. The second of these requirements leads me to look at Intel Xeon CPUs, but there is an incredible range and I'm unsure which to choose. If I didn't have the ECC requirement, then the Core i7-4790K would be ideal.  Using the  I have located the Xeon E3-1286 v3. The relative specs are:  i7-4790K:   4.0Ghz / 88W TDP / HD Graphics 4600 / $339 E3-1286 v3: 3.7Ghz / 84W TDP / HD Graphics P4700 / $662   The Xeon seems remarkably expensive considering its lower clock. I suppose the GPU may be better considering its higher model number, but GPU performance is not a major factor for me.  Is the E3-1286 v3 the closest thing to a "i7-4790K with ECC memory support"? What accounts for the large price difference?


What do you call exaggerations like "I'm starving"?

For example, when you are a little hungry and you say "I'm starving", or when you are so tired and you say "I'm dying". What do you call these type of expressions? Just exaggerations? I don't know how to explain this better.


I installed ubuntu together with windows 10 in a PC originally running windows 10. In the UEFI firmware I disabled the secure booting and the fast booting and put in the order of booting, ubuntu first.  The grub booting of ubuntu shows the choice to boot with ubuntu or with the windows boot manager. So far, the dual booting seems to work well.  But if I boot Windows from the window booting manager in the menu of booting, when restarting the PC again the booting don't go to that menu and automatically open windows. Checking the UEFI firmware the secure booting and fast booting are kept disabled, but the order of booting move windows back to the first position. (?).  Notice that the windows manager don't remove the grub booting manager, as if I change the order of booting in the firmware, putting again ubuntu first is the grub manager that takes control and I am able to open ubuntu again. What the booting from the windows manager do is to change the order  of booting in the firmware, placing windows first, and not removing grub.


How to kill a unresponsive program from terminal?

On Ubuntu 12.04 the default Movie Player has hanged on a frame while playing a (faulty?) mkv video. I tried to close it by right click > close but could not terminate it. It also does not start when I try to play a new video.  How can I kill the process from command line?


I am doing some homework exercises and stumbled upon this question. I don't know where to start.      Prove that the union of countably many countable sets is countable.   Just reading it confuses me.   Any hints or help is greatly appreciated! Cheers!


this is my first ever question on this forum so bear with me if the formatting or phrasing of the question itself seems strange...   I was reading about TREE(3) and the rules followed in generating the sequence of trees here:     Midway through the article when describing a hypothetical game in which the trees are being generated, a lower bound for X is presented and, therefore, m and n have an upper bound.  "After this incredibly long sequence of moves, the next six moves might be these (let m and n be positive integers where m + n < x; in practice, x is so large that it is unrestrictive):"  My question is what rule in creating the sequence says that X needs to be bounded at all? Why can't either player play a tree with an infinite number of leaves?  I am not a math major, I just came across the topic in a Numberphile video and wanted to understand more.  Thanks


Why do math/physics professors publish textbooks?

Does it help their tenure case to write an expository textbook? I'd be surprised if it does, seeing as writing a textbook on, say, quantum mechanics, is not original scholarly work.   So why would a professor, say an aspiring full professor, write a textbook? Money?


I has happened 4 times now, I change some setting, delete the sheet open in the app from the PC, create a wrong function, and from then on, the Google Drive app crashes on start. I can not close the faulty document, so it keeps happening until I remove the application. You would think a restart of the phone should help, but it does not.  Is there a setting somewhere that lets me open the list instead of the most recent document?


how to add a css class for all elements that has particular style

I wan to add a css class for all elements that has particular style.   Eg.  if there are 5 elements that with the style "float:left".  I want to remove the "float:left" and add "align-left" class.  please help me


We use reflexive pronoun after some verbs like *avail ourself, acquitted himself, absented themselves * etc and some time we have to avoid from reflexive pronoun after some verbs like break, burst, draw, and enlist etc so is there any rule to use and avoid reflexive pronoun after certain verbs?


Sum $ \sum\limits_{k=1}^{\infty} \frac{k^2}{2^k}$

I'm trying to determine the limit of the sum  $\lim_{n\to\infty} \sum\limits_{k=1}^n k^2/2^k$  Doing the convergence test shows the sum converges $\lim_{n\to\infty} \frac{(k+1)^2/2^{k+1}}{k^2/2^k} = 1/2$ so there must be a solution, but the normal tricks used to solve geometric series or telescoping series don't seem to work.


15 Coupons are numbered from 1......15, 7 Coupons are selected Randomly One at a time With Replacement. The Probability That largest number appearing on selected coupons is 9 is?  How to approach this one?   I know in sample space there will be 15^7 because it is replacement but How can i select that event?


I am attempting to use SUM() in my SET statement for my UPDATE.  When I try this, I get an error of      Msg 157, Level 15, State 1, Line 234   An aggregate may not appear in the set list of an UPDATE statement.   What should I alter in my CTE so that I can run this update?    ;WITH CTE AS  (Select EC, CN, CID, EntryDate         FROM OPENQUERY(192.55.108.214,'select                                count(es.estimatenumber) As EC                               ,cm.an CN                               ,cm.am CID                               ,es.entrydate EntryDate                               from etalac es                                INNER JOIN bacalac cm                               ON es.CID = cm.am                               GROUP BY cm.an, cm.am, es.entrydate')) UPDATE d2016 SET TotalNumber = SUM(EC) FROM CTE cte INNER JOIN datafor16 d2016 ON cte.CID = ed2016.CID WHERE CAST(entrydate As Date) BETWEEN '01/01/2016' AND '01/22/2016';


Compact Riemann surfaces are projective varieties

I am reading a proof of Chow's theorem from Mumford's complex projective varieties. The theorem establishes that every analytic subvariety of $\mathbb{P}^N$ is in fact, algebraic.  I have seen people cite this as proof that every compact Riemann surface $X$ is an algebraic curve. The way I understand it is that by Riemann existence, one constructs many meromorphic functions on $X$. So we pick a very ample divisor and embed $X$ into $\mathbb{P}^{g-1}$ by picking a basis for $L(D)$ and sending $x$ to $[f_1(x): \dots :f_g(x)]$.   I am not too sure why this embedding gives us an analytic subvariety though. Could someone elaborate this, or let me know if I'm understanding it incorrectly?


I currently have Windows 7 Home Premium, and I'm thinking about upgrading to Windows 8. Is it possible to use the Upgrade to dual-boot the two versions, or will the upgrade have to overwrite Windows 7? If it overwrites, is the process reversible to get Windows 7 back if I decide I don't like 8?


How to get Windows to stop reinstalling a failing update?

I am running Windows 10 in a Parallels VM. It's upgraded all the way from Windows 8 without issues over the years but the April 2018 update has failed repeatedly - each time I have to roll back to the previous version and each time Windows then notices I've not yet upgraded and goes into it's increasingly persistent reminder cycle which culminates in updating when I'm not looking.  Surely if an update isn't compatible for some reason, Windows Update should stop trying? Is this not the case?  This isn't a duplicate - I do NOT want to turn off Windows Update I want it to stop repeatedly installing something which keeps failing.


Is it possible to run Android apps on Ubuntu? And I don't mean inside an emulator, but natively, as you would with any other application installed using the Ubuntu Software Center.


I am wondering how do i download ubuntu for the google nexus 5, and have they released an official os yet or is it still the beta?


How to use nevertheless and nonetheless?

Are these examples correct?  He was so weak nevertheless completed the task? The task was hard to complete but he is the man who nonetheless did that hard task.  My question is, Are these words used as a replacement of the phrase "in spite of"?


Apache2 wont to load php file Ubuntu 20.10

I have problem with php, simply dont want to load .php files. I have installed apache2, php, and libapache2-mod-php. If you need more information, please let me know.  <?php  phpinfo();


when i trying to post on mysql it gives me " java.lang.NullPointerException "

@Override protected Void doInBackground(String... strings) {     String JSPN_Request = "";     String response = "";     URL url = null;     JSONObject jsonObject = null;     HttpURLConnection conn = null;     OutputStream outputStream = null;     OutputStreamWriter outputStreamWriter = null;     BufferedWriter bufferedWriter = null;     try     {         url = new URL(strings[0]);         jsonObject = new JSONObject();         jsonObject.put("userId",102);         jsonObject.put("id",102);         jsonObject.put("title","hello world");         jsonObject.put("body","hello world");          conn = (HttpURLConnection) url.openConnection();         conn.setDoOutput(true);         OutputStream os = conn.getOutputStream();         outputStreamWriter = new OutputStreamWriter(os);         bufferedWriter = new BufferedWriter(outputStreamWriter);         bufferedWriter.write(jsonObject.toString());         bufferedWriter.flush();         bufferedWriter.close();         outputStream.close();         conn.setDoInput(true);         BufferedReader reader = new BufferedReader(new             InputStreamReader(conn.getInputStream()));         StringBuilder sb = new StringBuilder();         String line = null;         while((line = reader.readLine()) != null) {             sb.append(line);             break;         }         reader.close();         response = sb.toString().toString();      }catch (Exception e)     {         Log.d(TAG, "----------------------------------json-error----------------------------------");         Log.d(TAG, "POSTING ERROR" + e);         Log.d(TAG, "----------------------------------json-error----------------------------------");     }}   when i trying to post to database i get this error and i searched alot but nothing. i'm using localhost to post this data using url (10.0.3.0:8000/post) as i'm using genymotion emulator thanks in advance.


I was trying to prove  $$d(xy) = x(dy) + y(dx)$$  earlier this morning and I used this  to help me understand the task.   I understood the entirety of the post for my calculus class, apart from one step.   Considering an area of a rectangle with dimensions $x$ and $y$ $xy$ makes sense.   Likewise, the area of a rectangle with dimensions $(x+\Delta x)(y+\Delta y)$ giving    $$A_1=(x+\Delta x)(y+\Delta y)=xy+x \Delta y+y\Delta x+\Delta x \Delta y$$  made sense too.   I was confused however about the subtraction of the two areas that gives  $$x \Delta y+y\Delta x+\Delta x \Delta y$$  but the small approximation of $\Delta x $ and $\Delta y$ very small, ensuring that  $\Delta x \Delta y$ is negligible afterwards made sense.  Why is there the need to subtract the areas as part of the proof for this differentiation property?


Show there exists an $\alpha\in F_{p^n}$ such that $\alpha +\alpha^p+\alpha^{p^2}+\cdots+\alpha^{p^{n-1}}\neq 0$

This is part of a problem, 7.22c in "Ireland and Rosen" (self-study).  In the prior problem it is shown that for prime $p$ and $\alpha\in F_{p^n}$, $f(x)=(x-\alpha)(x-\alpha^p)(x-\alpha^{p^{2}})\cdots(x-\alpha^{p^{n-1}})$ is in $\mathbb{Z}/p{\mathbb{Z}}[x]$.          Show there exists an $\alpha\in F_{p^n}$ such that Tr$(\alpha)=\alpha +\alpha^p+\alpha^{p^2}+\cdots+\alpha^{p^{n-1}}\neq 0$ for some $\alpha\in F$.      So far my approach is that with $f(x)\in \mathbb{Z}/p{\mathbb{Z}}[x]$, the coefficients are in $\mathbb{Z}/p{\mathbb{Z}}$. And by the symmetric polynomial functions, the Tr$(\alpha)$ as defined is a coefficient, it follows it is in $\mathbb{Z}/p{\mathbb{Z}}$.   Thus I would think that Tr$(\alpha)\neq 0$ is equivalent to $p\nmid \alpha +\alpha^p+\alpha^{p^2}+\cdots+\alpha^{p^{n-1}}$  If this is correct I would please appreciate help as to how to show it.  Otherwise, I would appreciate further help.  Thanks


Equation number not in the same line with my equation

I'm new here, and I'm learning how to use LATEX. Please, I have a small problem in that the equation number appears an a new line. That is, it is not on the same line as the equation.  \begin{equation} f(l) = a_i*(l-x_i)+y_i     \hspace{1cm}     x_i\leq l\geq x_n \end{equation}


Why does casting to float produce correct result in java?

System.out.println(2.00-1.10)   and   System.out.println((double)(2.00-1.10))    both output same result 0.8999999999999999, but   System.out.println((float)(2.00-1.10))    outputs 0.9.  Perhaps by default Java performs calculations in double, then why does downcasting corrects result?  And if 1.1 is converted to 1.100000000000001 in double then why does    System.out.println((double)(1.10)) outputs 1.1 only.  EDIT: To get why this happens we need to understand both answers. First the canonical representation is actually different at lower level. Next how the return value of toString is changed/rounded off/matched with the nearest double of argument.


How do I file a bug on a PPA upstream with the maintainers?

I want to know what exact steps needs to be done to file a bug on the VLC 3.0 PPA, upstream. I can't figure this out. Here is the . Where do I file the bug on it?


How do I mount the EFI partition on Windows 8.1 so that it is readable and writeable?

Here is what I do:   restart machine with Windows 8.1 determine "EFI System" partition with the Disk Management utility run command prompt as administrator type diskpart type select disk 0 then select partition 2 then assign open windows explorer windows+e refresh if the drive is not showing F5 try to open drive by double clicking   What I expected to happen:  I can at least look at my EFI partition files.  What happened:    after clicking continue    after clicking "security tab" link, no security tab    What do I need to do to access my EFI partition on Windows 8.1?


How to solve "The apache2 configtest failed." in ubuntu 12.04 lts

After update my php got the error:  The apache2 configtest failed.  Output of config test was:      apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authz_default.load:   Cannot load /usr/lib/apache2/modules/mod_authz_default.so into server: /usr/lib/apache2/modules/mod_authz_default.so: cannot open shared object file: No such file or directory   Action 'configtest' failed.   Although I have installed Server version: Apache/2.4.16 (Ubuntu)


Defining global variables for use in Functions

I'm having an issue with this simple counter program:  import time counter = 0  def countup():   while counter < 10:       counter += 1       print counter       time.sleep (1);   countdown();  def countdown():   while counter > 0:       counter -= 1       print counter       time.sleep (1);   countup();  countup();   And the error I am getting is:      UnboundLocalError: local variable 'counter' referenced before   assignment   Does this mean that I need to define a counter variable inside each function? I have tried this, but it didn't work. I also tried a global variable at the start using: global counter = 0 but that didn't work either.  Apologies foor the noob question, I'm just a guy prodding a bit of python code.


Combining Multiple Columns into a Series

Thought this wouldn't be too bad to figure out, but I'm kind of stumped.  I have three columns of data and want the output to be a series of all possible combinations, with the terms separated by a space.  For example, Column A has text in 23 rows down, Column B has text in 35 rows down, and Column C has text in 7 rows down. I can write what I want to have happen, output would be in Column D, would be something like this: =A2&" "&B2&" "&C2 =A2&" "&B2&" "&C3 =A2&" "&B2&" "&C4 =A2&" "&B2&" "&C5 =A2&" "&B2&" "&C6 =A2&" "&B2&" "&C7 =A2&" "&B3&" "&C2  <---Note the next B value starts here =A1&" "&B3&" "&C3 =A1&" "&B3&" "&C4 =A1&" "&B3&" "&C5 =A1&" "&B3&" "&C6 =A1&" "&B3&" "&C7 =A1&" "&B3&" "&C2  <---And again here =A1&" "&B4&" "&C3    And so on, until all combinations from A, B, and C are combined in a very long column D.  There will be 5,535 combinations (23.  Hope this explanation makes sense.  Excel tries to 'guess' when drag-filling, and I can't get Flash-Fill to 'see' what the repeating series is.  Hoping you geniuses out there will have a few ideas or tips for me.


Whenever I try to install some package from MiKTeX Package Manager, the packet manager crashes. Why would this be happening?  Problem signature:  Problem Event Name: APPCRASH Application Name:   mpm_mfc.exe Application Version:    2.9.4196.0 Application Timestamp:  4e3327b8 Fault Module Name:  MiKTeX209-core.dll Fault Module Version:   2.9.4792.0 Fault Module Timestamp: 511beb86 Exception Code: c0000005 Exception Offset:   0008b354 OS Version: 6.1.7601.2.1.0.256.48 Locale ID:  1033 Additional Information 1:   0a9e Additional Information 2:   0a9e372d3b4ad19135b953a78882e789 Additional Information 3:   0a9e Additional Information 4:   0a9e372d3b4ad19135b953a78882e789


dual boot windows 8 and ubuntu in acer aspire e1-572

how to make dual boot windows 8 and UBUNTU in ACER ASPIRE E1-572.Please help me ...I have usb bootable with Universal-USB-Installer-1.9.4.9 and when try to install it in system ,it halts.. plz help me to resolve it.


Where can I find a list of all my deleted questions?

I have been banned from asking question because of, among other things, too many deleted questions.  states that "the only way to end a posting block is to positively contribute to the site; automatic bans never expire or "time out". Begin by fixing your existing posts".   But  states "as of 23/Apr/2013: You can now view your own deleted questions if you already have a link to them (...) You have to have thought to bookmark your question, or you have to go digging for it in your browser history."  How can I improve my deleted questions if I can't find them?  UPDATE: And how can I improve a deleted question if I can't edit it?


How can we obtain $\sum_{l=1}^{m}(-1)^{l+1} \binom{m}{l} \equiv 1\pmod{p}$

How can we obtain  $$\sum_{l=1}^{m}(-1)^{l+1} \binom{m}{l} \equiv 1 \pmod{p} $$  Please give me an idea to obtain this.


I have been reading about the new Salesforce async triggers. Currently, I tend to handle these sort of needs with a trigger that passes data to a 'Handler class' that would evaluate if a certain change has occurred. If it has then we pass those Ids to a queueable class for further processing.   What advantage do CDC and async triggers offer over using queueable or batch apex?


Find:$$\sum_{k=1}^{n} \binom{n}{k}k^{r}$$      For r=0 the sum is obviously $2^{n}$.  For r=1 the sum is $n2^{n-1}$.  For r=2 the sum is $n(n+1)2^{n-2}$.  Here's what I've tried:  $$\frac{d(1+x)^{n}}{dx}=n(1+x)^{n-1}=\binom{n}{1}+2\binom{n}{2}x+3\binom{n}{3}x^{2}+\cdots+n\binom{n}{n}x^{n-1}$$  $$\frac{d[x\cdot n(1+x)^{n-1}]}{dx}=\binom{n}{1}+2^{2}\binom{n}{2}x+3^{2}\binom{n}{3}x^{3}+\cdots+n^{2}\binom{n}{n}x^{n-1}$$  So if we continue like this and put x=1 we will get our result.However I cannot generalize this.  I think the answer has something to do with the Stirling Numbers of the Second kind.          Another way to present this question:     Find $A_{1},A_{2},\cdots ,A_{r}$ such that $$k^{r}=A_{1}k+A_{2}k(k-1)+A_{3}k(k-1)(k-2)+\cdots$$      If someone can answer the second question I can solve the first one.


I have a code and it is almost complete. If you type something and a "," in input box it will add a tag.  I just need to insert/add those tags in input box, not before the input box.  Somehow I managed to insert/add those tags in a div before the input box.  What should I use instead of this code div.insertBefore(tag.element, maininput);.  Here is the main code    var i;  var tags=[];  var close=document.getElementsByClassName("close");  for(i=0; i<close.length; i++){  close[i].onclick=function(){  this.parentElement.style.display="none";  }  }  var div=document.createElement("DIV");  document.body.appendChild(div);  div.className="tags-input";  var maininput=document.createElement("INPUT");  var hiddeninput=document.createElement("INPUT");  div.appendChild(maininput);  maininput.setAttribute("type", "text");  maininput.setAttribute("class", "main-input");  div.appendChild(hiddeninput);  hiddeninput.setAttribute("type", "hidden");  hiddeninput.setAttribute("class", "tags-input");  maininput.addEventListener("input", function(t){  var enteredTags=maininput.value.split(",");  if(enteredTags.length>1){  maininput.value="";  enteredTags.forEach(function(t){  var filter=filterTag(t);  if(filter.length>0){  addTag(filter);  }  });  }  });  addTag("HTML");  function addTag(text){  var tag={  text: text,  element: document.createElement("SPAN")  };  tag.element.className="tag";  tag.element.textContent=text;  var span2=document.createElement("SPAN");  span2.className="close";  var cl=tag.element.appendChild(span2);  tags.push(tag);  span2.addEventListener("click", function(){  this.parentElement.style.display="none";  removeTag();  });  div.insertBefore(tag.element, maininput);  refreshTag()  }  function removeTag(){  tags.splice(tags.indexOf(tags), 1);  refreshTag()  }  function refreshTag(){  var taglist=[];  tags.forEach(function(t){  taglist.push(t.text);  });  hiddeninput.value=taglist.join(",");  }  function filterTag(tag){  return tag.replace(/[^\w -]/g, "").trim().replace(/\W+/g, "-");  } .tag{      padding:4px;   padding-left:10px;   padding-right:20px;   background:#ddd;   color:black;   margin-right:10px;   user-select:none;  }   .tag:hover{            background:#2196f3;      color:white;      }     .close::after{           content:"x";           position:absolute;           padding:3.5px;     margin-top:-4px;           cursor:pointer;     user-select:none;     margin-left:2px;           }    .close:hover::after{              color:gray;               } <!DOCTYPE html>  <html>  <body>  </body>  </html>


What happens after my paper is accepted?

Today I was informed by a journal that my paper was accepted.  So am I done with it, i.e. is my input no longer needed? Do I just sit back and wait for it appear?