Travelling without a visa after passport was stolen

I am a student on a short term Schengen visa in Belgium. Recently, my passport was stolen after which I got a new passport issued by the Indian embassy. This obviously does not have a Schengen visa (that was on the stolen passport). I have copies of all the stolen documents and the police report. With these, is it okay to travel within the Schengen countries? The visa expiry is still another month away, though I don't know if it is now rendered invalid for travel. Any suggestions?


Would google index our page if we have it in sitemap but do not have any links for that on website?

Short  Would google index my web-page if it's not on my website but it's in the sitemap?  Long  We have a few product price pages i.e. for product bwm-x3, following are 3 URLs:  -> bmw-x3-price-in-city1 -> bmw-x3-price-in-city2 -> bmw-x3-price-in-city3   We have a link on our website to these pages if the price of bmw-x3 is available in the respective city.  Now, we are planning to also create pages for cities where we don't have prices but we have prices in nearby cities but we don't want to link these pages from website. Although, we want users to land on this page from google.


How to calculate inertia tensor of composite shape?

How can I calculate inertia tensor of composite shape. I have done math of moment of inertia, but not inertia tensor.   Can anyone help me with the calculation of this shape :


Expanding wireless coverage: What are the differences between LAN to LAN and LAN to WAN when it comes to connecting two wireless routers?

I'm trying to link two wireless routers with an Ethernet cable in order to expand my wireless network. Both routers need to provide wired and wireless Internet access.  I'd like to know the differences between the "LAN to LAN" and "LAN to WAN" connection methods, their advantages and disadvantages.


On iOS 10, how do you open the Suggested App on the Lock Screen?

On the Lock Screen, Proactive Siri can suggest apps. If my iPhone detects I'm in the car, it correctly shows a Maps icon in the lower left corner on the lock screen.  Under iOS 9, you could swipe up to open that app.  How do you open the app in iOS 10? Swiping up doesn't work.  Note: I am using a Force Touch enabled phone, but for completion's I'm also wondering how this works on a non-force touch phone.


What is the intuitive explanation for the CDF of any random variable to follow uniform distribution (0,1)?

If $X$ is a continuously distributed random variable and $F$ is the c.d.f. of its distribution, then $F(X)$ is uniformly distributed in the interval $(0,1).$  While i'm clear with the mathematical proof, I'm looking for an intuitive answer to this.


Just installed Ubuntu 14.04.1 LTS 32bit on my "mature" Asus X50R laptop.  Basically working fine and I'm using it to write this post, with a wired network.  However wireless doesn't work.  The hardware seems to be detected and has a driver ("wl"):   mark@LaptopLinux:~$ sudo lshw -C network   *-network                       description: Network controller        product: BCM4311 802.11b/g WLAN        vendor: Broadcom Corporation        physical id: 0        bus info: pci@0000:02:00.0        version: 01        width: 32 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: driver=wl latency=0        resources: irq:16 memory:fa9fc000-fa9fffff   *-network        description: Ethernet interface        product: Attansic L2 Fast Ethernet        vendor: Qualcomm Atheros        physical id: 0        bus info: pci@0000:06:00.0        logical name: eth0        version: a0        serial: 00:1e:8c:96:87:93        size: 100Mbit/s        capacity: 100Mbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress vpd bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=atl2 driverversion=2.2.3 duplex=full firmware=L2 ip=192.168.1.73 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s        resources: irq:40 memory:feac0000-feafffff memory:feaa0000-feabffff   and the drivers seem to be in place  mark@LaptopLinux:~$ lsmod | grep wl wl                   3999690  1  lib80211               14040  1 wl cfg80211              409394  1 wl   but the wireless interface doesn't show up:  mark@LaptopLinux:~$ ifconfig -a eth0      Link encap:Ethernet  HWaddr 00:1e:8c:96:87:93             inet addr:192.168.1.73  Bcast:192.168.1.255  Mask:255.255.255.0           inet6 addr: fe80::21e:8cff:fe96:8793/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:9683 errors:0 dropped:0 overruns:0 frame:0           TX packets:5677 errors:0 dropped:0 overruns:0 carrier:2           collisions:0 txqueuelen:1000            RX bytes:8543915 (8.5 MB)  TX bytes:951800 (951.8 KB)           Memory:feac0000-feb00000   lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:430 errors:0 dropped:0 overruns:0 frame:0           TX packets:430 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:39983 (39.9 KB)  TX bytes:39983 (39.9 KB)   Wireless card is definitely working - I can reboot in Windows and all is well.  I have edited /etc/NetworkManager/NetworkManager.conf and set     [ifupdown]     managed=true  All auto-detected updates are installed.  Any advice gratefully received!  Thanks, Mark


How to pass dynamic value from java to sql(db2) IN statement

I have to pass List from java to JDBC query( which i have written in xml file).  List  transactionTypeStringList which can have 3 or 6   Before passing it to query, i have joined all the list value using following code to concatenate   transactionTypeString=  String.join("',' ", transactionTypeStringList);  transactionTypeString= "'"+transactionTypeString+ "'";   Query:  select count(*) from transaction where transactiontype in (?);   I am using db2 db and when i run the program, i am getting following exception:  Caused by: com.ibm.db2.jcc.am.SqlDataException: DB2 SQL Error: SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=3.64.96  When i googled this error code, it states that "Data being inserted into the database table column is larger than the assigned column length." which i understand since i am passing list of value to replace a single ? But now I don't how to pass multiple value from java code to jdbc to replace a single ?.  I don't want to create multiple queries(one with 3 and other with 6 value). Please help me to fix this issue.


Texture made in cycles doesn't show on blender render

it shows on cycle render but not on blender render.. what to do? here are the screen shots


Create dump file only from some SQLite tables

In my SQLite database, I got 10 tables which I want to create dump file only from three of them. I tired some of the answers from  :  sqlite> AM.db ".dump 'table1' 'table2' 'table3'"   But I get:     Usage: .dump ?LIKE-PATTERN?   I get the same error trying:  sqlite> .open AM.db  sqlite> .dump 'table1' 'table2' 'table3'   How can I create the dump file only from some tables of my database?  Edit  I also tried the command CL closed the question as duplicate for:  .mode insert <table1> <table2> <table3> .out file.sql  select * from table1; select * from table2; select * from table3;   But it just create a dump with Insert command and not Drop Table If exists or Create commands.


Poker probability question - multiple players

I'd like to ask for help with a task that I've been given.  The task goes like this: In a poker game (52 cards), 5 players are given 5 cards each. What is the probability that both the first and the third player will get a full-house?  It's apparent that the probability of the first player getting a full house is  $\frac{\binom{13}{1} * \binom{4}{3} * \binom{12}{1} * \binom{4}{2}}{\binom{52}{5}}$  Then the second player gets 5 random cards, so $\frac{\binom{13}{1} * \binom{4}{3} * \binom{12}{1} * \binom{4}{2}}{\binom{52}{5}} * \binom{47}{5}$  Now the third player is supposed to get a full house, I'm assuming it should look like this: $\frac{\binom{13}{1} * \binom{4}{3} * \binom{12}{1} * \binom{4}{2}}{\binom{52}{5}} * \binom{47}{5} * \frac{\binom{13}{1} * \binom{4}{3} * \binom{12}{1} * \binom{4}{2}}{\binom{42}{5}}$  The fourth and the fifth player both receive 5 random cards, so the final equation should be:$\frac{\binom{13}{1} * \binom{4}{3} * \binom{12}{1} * \binom{4}{2}}{\binom{52}{5}} * \binom{47}{5} * \frac{\binom{13}{1} * \binom{4}{3} * \binom{12}{1} * \binom{4}{2}}{\binom{42}{5}} * \binom{37}{5}* \binom{32}{5}$  This is how I would solve the task, but I'm not sure that my solution for the third player is correct. Could anyone more experienced than me have a look at my solution?  Also I'm sorry if there is a solution for this type of task on this site, I tried looking for it and I found a lot of poker probability questions, most of them were however focused on only one player and not multiple players, which is my case.


If in a string at some index there is a number and I want to store it another variable then why we do int n=str[i]-'0'?

I tried without '0' and got error,Please explain it. getline(cin,str); int n=str[4]-'0';


How does the electron know to "release" the photon at the same angle at which it got absorbed?

:     In classical electrodynamics, light is considered as an electromagnetic wave, which is described by Maxwell's equations. Light waves incident on a material induce small oscillations of polarisation in the individual atoms (or oscillation of electrons, in metals), causing each particle to radiate a small secondary wave in all directions, like a dipole antenna. All these waves add up to give specular reflection and refraction, according to the Huygens–Fresnel principle.   My question is, how do all the waves add up to give the direction of angle-in equal to angle-out if they are going in all directions? Also, in reflection does the photon get absorbed and re-emitted or does it act like a dipole antenna?


I'm new to using Latex. I want to import File reference.bib to my File document.tex. Above is my Code  reference.bib  @article{lin1973,    author = "Shen Lin and Brian W. Kernighan",    title = "An Effective Heuristic Algorithm for the Travelling-Salesman Problem",    journal = "Operations Research",    volume = 21,    year = 1973,    pages = "498-516" }   And here is my document.tex  \documentclass[a4paper,12pt, fleqn]{scrreprt}  \usepackage{natbib}  \begin{document} Blablabla happened because there was a need to cite \cite{lin1973}.. \bibliographystyle{plainnat} \bibliography{reference} \end{document}   I just received : Blablabla happened because there was a need to cite ? . Can anyone help me. Thanks in Advance ^^


The commutator of a Lie subalgebra and a Lie ideal is a again a Lie subalgebra

I found the following claim in :  Let $\mathfrak{g}$ be a Lie algebra, let $\mathfrak{h}$ be a Lie subalgebra of $\mathfrak{g}$ and let $I$ be a Lie ideal of $\mathfrak{g}$. Then the commutator space $[\mathfrak{h}, I]$ is again a Lie subalgebra of $\mathfrak{g}$.  I’ve been trying to prove this claim by showing that for all $x, x' \in \mathfrak{h}$ and $y, y' \in I$ the commutator $[[x,y],[x',y']]$ is again contained in $[\mathfrak{h}, I]$. For this I’ve tried to repeatedly use the Jacobi identity, but I’m only going around in circles.


I can't find Karliah at the Ragged Flagon

During the 'Hard Answers' Thieves Guild quest, Karliah asked me to meet her at the Ragged Flagon.  However, it seems that she doesn't show up at the rendezvous point.  Where do I find her?


Using the student t-distribution with $k > 0$ degrees of freedom, location parameter $l$ and scale parameter $s$ having density  $$\frac{\Gamma \left(\frac{k+1}{2}\right)}{\Gamma\left(\frac{k}{2}\sqrt{k \pi s^2}\right)} \left\{ 1 + k^{-1}\left( \frac{x-l}{s}\right)\right\}^{-(k+1)/2},$$  how to show that the Student $t$-distribution can be written as a mixture of Gaussian distributions by letting $X\sim N(\mu,\sigma^2)$, $\tau = 1/\sigma^2\sim\Gamma(\alpha,\beta)$, and integrating the joint density $f(x,\tau|\mu)$ to get the marginal density $f(x|\mu)$? What are the parameters of the resulting $t$-distribution, as functions of $\mu,\alpha,\beta$?  I got lost in calculus by integrating the joint conditional density with the Gamma distribution.


Can I hide date field if older than a certian time using Rules?

I want to know if I can hide the values of a date field if the values are older than a certain time. The website is built with Drupal 7, and Display Suite.


Process: com.tarang.grocery, PID: 7824 java.lang.NullPointerException: Can't pass null for argument 'pathString' in child()

private void loadShopInfo(ModelOrderUser modelOrderUser, final HolderOrderUser holder) { DatabaseReference ref = FirebaseDatabase.getInstance().getReference("Users"); ref.child(modelOrderUser.getOrderTo()) .addValueEventListener (new ValueEventListener() { @Override public void onDataChange (@NonNull DataSnapshot dataSnapshot) { String shopName = ""+dataSnapshot.child("shopName").getValue(); holder.shopNameTv.setText(shopName); }                 @Override                 public void onCancelled(@NonNull DatabaseError error) {                  }             } ); }


Removing the duplicate values and showing them in a new sheet

I have created an excel file for deliveries in my company and when we order products i put their dispatch number in the file. But when I try to check these dispatch numbers with post I always have difficulties in finding  unique values in my file. Because I am adding new numbers to my dispatch list every day I cannot use pivot tables and I prefer to dedicate a separate sheet in my workbook to remove the duplicates and showing  unique values.  At the moment my list looks something like this but with more than 60 dispatch numbers!!!   RU111222271GB  RU111222214GB RU111222214GB RU111222260GB RU111222244GB RU111222213GB RU111222213GB RU111222213GB RU111222260GB   The thing is I want to get this look in a separate sheet.   RU111222271GB  RU111222214GB RU111222260GB RU111222244GB RU111222213GB RU111222260GB   how can I do this??  TNX


Answer UP voted points are not getting reflected

got 4 UP votes, but i didn't got any reputation changes for it.


Making layer or group private/hidden/invisible in Layers Panel of QGIS

I have a number of layers in the Layers Panel inside a group but I don't want them shown (there's quite a lot so it looks untidy). These layers are also joined to several others. Is it possible to make these layers invisible to the user (i.e. not shown in the Layers Panel, it is not about setting the visibility of the layer) but can still be joined to other layers, or perhaps to make the group invisible? Closest I found was this post but hoping there's a more direct approach:


Do not start paragraph on last line of page

Similar to how sections try to avoid starting on the last line of a page, how can I apply similar behavior to paragraphs?  In other words, do not start a paragraph on a page unless there is room for at least two lines of that paragraph on that page.


NullPointerException in recursively dividing triangle

I'm having problem with the boolean divide(int depth) method in the Triangle class I created, the code is as follows. Other parts have passed the test, but because of the boolean divide(int depth), this programming throws a java.lang.NullPointerException.   I've been working on it for a long time but I still don't know what's wrong with the recursion. Both boolean divide() and boolean divide(int depth) don't take any argument, this makes it so difficult for me to write the recursion. Any hint will be appreciated, thanks a lot.  boolean divide(int depth)overwrites boolean divide(), boolean divide()divides the triangle into three sub triangles, it creates three Vertex2D on each edge of a triangle and the sub-triangles are stored in the Triangle class in an array as an attribute.   public class Triangle {     private static final int NUM_OF_SUB_TRIANGLES = 3;     private final Vertex2D[] vertices = new Vertex2D[3];     private final Triangle[] subTriangles = new  Triangle[NUM_OF_SUB_TRIANGLES];     public  Triangle(Vertex2D v1, Vertex2D v2, Vertex2D v3){         vertices[0] = v1;         vertices[1] = v2;         vertices[2] = v3;     }  // Method returns a vertex of the triangle according to input index public Vertex2D getVertex(int index) {     for (int i = 0; i < 3; i++) {         if (index == i) {             return vertices[i];         }     }     return null; }  public boolean isEquilateral(){     double side1 = vertices[0].distance(vertices[1]);     double side2 = vertices[0].distance(vertices[2]);     double side3 = vertices[1].distance(vertices[2]);      if(Math.abs(side1-side2) < 0.001 && Math.abs(side1-side3) < 0.001 && Math.abs(side2-side3) < 0.001){         return true;     }else{         return false;     }  }  // Method outputs the coordinates of threes vertices of the triangle // edit this one public String toString(){     String s = "Triangle: vertices=" + vertices[0]             + " [" + vertices[1].getX() + ", " + vertices[1].getY() + "] " + "[" + vertices[2].getX() + ", " + vertices[2].getY()             + "]";     return s; }  // Method checks if the three sub triangles are created public boolean isDivided(){     for(int i = 0 ; i < NUM_OF_SUB_TRIANGLES; i ++){         if(subTriangles[i] == null){             return false;         }     }     return true; }  // Method returns a sub triangle according to the input index public Triangle getSubTriangle(int index){     for (int i = 0; i < 3; i++) {         if (index == i) {             return subTriangles[i];         }     }     return null; }  // Method divides the triangle into three sub triangles  public boolean divide(){     if (isDivided()){         return false;     }else{         // Find vertices of the three sub triangles         Triangle t1 = new Triangle(vertices[0], vertices[0].createMiddle(vertices[1]), vertices[0].createMiddle(vertices[2]));         Triangle t2 = new Triangle(vertices[0].createMiddle(vertices[1]), vertices[1], vertices[1].createMiddle(vertices[2]));         Triangle t3 = new Triangle(vertices[0].createMiddle(vertices[2]), vertices[1].createMiddle(vertices[2]), vertices[2]);          subTriangles[0] = t1;         subTriangles[1] = t2;         subTriangles[2] = t3;          return true;     } }  public boolean divide(int depth){     if(depth <= 0){         return false;     }else{         while(depth > 0) {             if (!isDivided()) {                 divide();             } else {                 depth -= 1;                 for (int i = 0; i < 3; i++) {                     getSubTriangle(i).divide(depth);                 }                 depth -= 1;             }         }         return true;     }  } }


Swiss made or Swiss-made? Swiss quality or Swiss-quality

As indicated above, do we need to hyphenate said words?  The same questions apply to other "country-related terms" like Singapore quality, German precision, etc.  Thanks in advance


I am trying to show that square with vertices at $(\pm1,0)$ and $(0,\pm1)$ is not a zero set of a polynomial in $\mathbb{R}[x,y]$. Clearly, square is the zero set of a function  $$ f: \mathbb{R}^2\to \mathbb{R}; $$ $$ (x,y)\mapsto |x|+|y|-1, $$ which is not a polynomial. But how to show that there is no polynomial which has square as the zero set?


<fieldset id="user-details">                  Name:             <input type="text" name="name" value="" />               Email:              <input type="email" name="email" value=""  />               Phone: (Ex:(xxx)xxx-xxxx)             <input type="text" name="phone" value=""  />              Zip-Code             <input type="text" name="zipcode" value="" />          </fieldset>          <fieldset id="user-message">              Message:              <textarea name="message" rows="0" cols="0"></textarea>               <input type="submit" value="Enviar" name="submit" class="submit" />               </fieldset>      </form>       Hi guys, so i need to divide phone into 3 squares, i think this is called regular expression and i really need help, for example (xxx) xxx xxxx , phone number should be like this!  I would appreciate you help thanks!!


Squares in $\mathbb{Z}_p$ that are not squares in $\mathbb{Z}$

The following question popped up during a conversation with a friend of mine: is there any integer $n$ such that $n$ is not a square in $\mathbb{Z}$ but it is a square in every field $\mathbb{Z}_p$ with $p>n$?  It sounds like an elementary question, and I am almost sure that the answer is no (mostly because of some distant memories of mine about a theorem of Hasse and Minkowsky), but I was not able to find a definitive answer.    I tried to apply some Model Theory to it, but I don't think it can be a fruitful path to follow. Another thing I noticed is that if I can prove that there is an $a$ such that $n=a^2$ in two different fields $\mathbb{Z}_p$ and $\mathbb{Z}_q$, then the the statement must be false: otherwise, writing $$a^2=n+bp$$ and $$a^2=n+cq$$ for the smallest possible $b$ and $c$, we would have $bp=cq$, a contradiction since neither $b$ nor $c$ can be $0$. But again, I got stuck after this consideration. Do you have any ideas or suggestions?


I have a geoserver installed on a server and I want to move the geoserver to another server. What is the easiest way to do that?


Three weeks on from its debut in April, the film’s domestic gross box   office had barely surpassed $600,000 .


How do you deal with a player that's determined to play the game in a way that is detrimental to the advancement of the story?

I GM a Dresden Files campaign, and I have a first time role-player that has become a problem in terms of advancement of the story.  At first I chalked it up to inexperience, but its become more and more pronounced, to the point that tonight he took up half of the time with an inconsequential inter-party conflict, then after he was rendered unconscious, left.  The players and I are becoming more frustrated with his antics as we have a very short time weekly to play, and much of that time is taken up by this player.  I've tried to talk to him both in-game and out-of-game (and other players have also) and though he appears to be understanding and receptive of the talks, it continues to be a problem, and in many cases, his retort is that this is important to his character, so we continue to work through this week after week, and I have to end the session in exposition rather than a gradual discovery/uncovering so that we can make progress.  I'm attempting not to exclude him from the game, but short of that is there something that as a game master I can do to enforce direction and advancement of plot?  NOTE: I was trying to make the question a bit generic, but to give a bit more insight about one of the situations: he was using the sight to assess the scene, and after he was finished with his assessment, he attempted to look at each of the players in turn.  As they'd seen him use the sight before, he was able to get a good look at one of the characters before they figured out what he was doing, and one of the other players took exception to the intrusion on their privacy IC.    The situation escalated and became physical.  In other cases where there's been inter-party conflict, they've played the combat a bit, then the person on the losing end concedes and they tell the story from that perspective.  But he wouldn't concede.  The other players used this as a cover as it happened to be a distraction, but as he's the only full wizard, when the combat started, they were a bit hobbled by the loss of their spell power going against a wizard.  So it's not enforcement of a particular plot.  If he was going in a different direction with the plot, I've done that before with this group, even to the point of improvising scenes when they do stuff I haven't planned.  It's the movement with any plot.


Intuitive explanation of Lovasz Softmax loss for Image Segmentation problems

Lovasz Softmax is used a lot these days for segmentation problem and the original  is really bad at explaining why it works.


Retrieve Package Name & Package Version of the Installed Packages in Org

Is it possible to retrieve Package Name & Package Version of the Installed Packages in your Org programmatically?


How do I make the value closer to the summation?

\begin{align}     \sum_{e\in abzbb}x_{p}-l_p\sum_{e\in abdab}x_{p}=3 \end{align}    Since my abdab is so big, it separates the l_p so much from the summation. What I would like is the following: it should be close, but it shouldn't depend on the size of whatever goes in the summation starting sum.   From above, instead of abdab we have just a, but I want the same distance regardless of what is underneath.  Is this possible?


How can i transfer 12 V, 50 Hz, 1 A wirelessly?

I want to transfer electical power wirelessly from a transmitter to a receiver coil.   Input energy is provided by a single phase step-down transformer - 230V/12V AC, 50 Hz, 1,000 mA.   Using the 12 V AC output I want to transfer as much of the available power wirelessly from transmitter coil to the receiver coil over a distance of 5mm.  How can that be done ? What calculations should i solve so as to achieve this ?  I want to transmit across 5 millimeters. The radii of the transmitter and receiver coils I am currently using are are 5cm and 2cm respectively  After transmitting it to the receiver coil, I wish to rectify and filter it and then regulate it to 5V DC use it to charge a battery.   I want 5V DC at the end of the circuit, but how can I accomplish that ?  What calculations and equipment specifications do I have to use so that I can figure this out?


Not able to query standard user field 'StartDay' in salesforce

I want to query start of day and end of day field from the user object but I am getting error for that refer images for more details


Which free online academic plagiarism checker is closest to Turnitin?

Which free online academic plagiarism checker is closest to Turnitin by quality  standard of rigour?  Turnitin features that even somebody plagiarize the context of a passage by use synonyms or simply rephrase the sentence, it is still able to catch the student cheating...  Please notice that Turnitin is not free and some of free software are not rigorous enough or even people called it a joke!


I can't believe this bug has still not been solved with Ubuntu 14.04 ? On my 2 laptops, Acer and Asus, on a random basis, the keyboard layout switch from FR to EN.  This is very frustrating when you type a password and can't see the letters.  How to solve that for good ?


Can you grapple/shove when affected by the Crown of Madness spell?

The  spell states:     The charmed target must use its action before moving on each of its turns to make a melee attack against a creature other than itself that you mentally choose...   I am unsure whether this is its own unique action that the spell forces you to make, similar to how class features which "use your action" are their own unique actions. Or if an affected creature can take any action so long as it includes a melee attack.   For example the sections on "" and "" state:     [Y]ou can use the Attack action to make a special melee attack, a grapple...   Using the Attack action, you can make a special melee attack to shove a creature...   Grapple/Shove require specific actions but involve making a melee attack so my question is this:    If you are under the effects of crown of madness, can make a grapple/shove by taking the Attack action, or is it the case that the attack the spell requires is its own, unique action?


How can I associate all .sh files to new BASH included in Windows 10 Anniversary update?  I have tried associating .sh file using default system prompt to C:\Windows\System32\bash.exe but it just flashes console window with no result.


When you want to say something occurred only one time, it's "once". Two is twice, three is thrice. What's for four?


Edit link in email updates box is not working in Favorite Tags filter

On , I have my favorite tags filter. I setup email notifications for it and now I'm thinking I overdid it on the frequency. Trying to change the settings, I clicked on the edit link in the email notifications box to the right, except nothing happens. There are no JavaScript errors and the HTML for the link is simply edit. This seems like unfinished planned feature. Update: Using Chrome Version 29.0.1547.66 m Same on Firefox 23.0.1  Both edit links are not working. Further Update Events capture:  Update 2014-02-03: Here's what the subscription tab in the network profile looks like.


Why are maintenance releases now auto-update?

When the recent 4.1.1 was released, I thought it must be an important security update, as it's going out to all sites automatically. Reading through the , I found it actually doesn't mention security fixes. If this is the case, IIRC this is the first auto-update over all sites to a new version without security reason.  Considering that a js change in 4.1.1 actually was breaking use of my modifications for the editor, I was wondering will non-security-updates continue to be released automatically? If so is there a wp-config option to only allow security auto-updates?  (and yes, I do know I should be testing on WP Beta Testing plugin but in this case I didn't happen to notice the incompatibility before the update was out to users.)


MS-DOS command to delete all files except one

Is there an MS-DOS command that allows me to delete all files except one?  Consider as an example the following files:  a.001   a.002   a.003   a.exe   a.c     Is there a command to delete all files except a.c?


Older book where a slacker is abducted by aliens and trained

Trying to remember the name of a book. It was about a male slacker/loser who is captured by an alien because he won't be missed. The alien has a machine on his ship that input information directly into his brain. Things like card tricks, basic wound treatment, karate, and so on. He is taught all human knowledge and take to an alien world where he is supposed to be a counterbalance to an (protohuman/Neanderthal?) other human who was captured in the far distant past. But the aliens where manipulated by the other human to capture the slacker in the first place (can't remember why). I read this book in the 80's or 90's.  Please help my faulty memory.   Thanks


I have the following problem: in preparing a proposal, I need some references to be stated in the text, and so far I was able to do this using the \bibentry command. However, the problem was that when printing the bibliography those items also showed up there, and this didn't make any sense as I just needed the entries to show up only once in the document. Now I found  that explains how to solve the problem using biblatex. But now the problem is that I don't know how to emulate the bibentry command to place references wherever I want.


Find $\mathop {\lim }\limits_{n \to \infty } \sqrt[n]{{{3^n} + {5^n}}}$

Find the limit  $$\mathop {\lim }\limits_{n \to \infty } \sqrt[n]{{{3^n} + {5^n}}}.$$    Thanks.


Ubuntu+1 Super-key not opening application overview on secondary keyboard layouts

After upgrading to Ubuntu 20.04 my super-key is no longer opening the activities overview when the keyboard layout is set to the secondary layout.   At first I thought it may have to do with the specific layout, but after switching the order of the layouts I use around the issue kept persisting only on the (new) secondary layout.


How to install pipelight after closing the terminal the first time

I opened the terminal and did everything right, but accidentally exited out of the process while it was asking for the license and agreements.  Now, whenever I try to redo the process, it isn't able to get lock /var/lib/dpkg/lock open.


Python: How to remove duplicates from a list and print out the new list in order

Basically, I have a list with the following words   ['ask', 'not', 'what', 'your', 'country', 'can', 'do', 'for', 'you', 'ask', 'what', 'you', 'can', 'do', 'for', 'your', 'country']    (this was the example given to me by my teacher and it is pretty good for testing).  I want to figure out how to remove any duplicates and print out the new list without said duplicates, so the output should be   ['ask', 'not', 'what', 'your', 'country', 'can', 'do', 'for', 'you']    After initially trying to use the set(), I managed to remove the duplicates, but it just prints out the sentence in a random order, which is quite bothersome.   Here is my code:  sentence = input('Please enter a sentence. No punctuation may be included: enter code here').lower().split() print('This is your sentence:', sentence) no_duplicates = list(set(sentence)) print('This is your sentence without duplicates', no_duplicates)   By the way, incase you didn't notice, I'm still quite a newb to coding so try and keep your answers simple so that I may understand what you're saying.


I was just wondering, is there a verb for the use of uptalk (using an inflection at the end of a statement)? So, something like this:     I've been on several walks recentLY. (inflection at the end of a statement, as if it were a question)   (Some would add a question mark after such a statement, to signal the stress, but this is non-standard and confusing except when the sentence is a declarative question.)   Is there a word to express the using of such a style? (i.e. a word that can fill this blank responding to the previous sentence:)     Stop ______!   I've already got "sounding unsure of yourself" or "inflecting your sentences", but it doesn't sound brief (or good enough). When I searched online I couldn't find anything, I just found blogposts that were just trying to convey the message "stop being indecisive".


Problem: Let $ x_n $ be a sequence defined by $x_n = \displaystyle {\sum_{k=n+1}^{ 2n}\frac{1}{k}}$. Show that $ x_n$ converge.   I can bounded $ x_n <\frac{ n}{ n+1}$, but I can't show that $ x_n$ is increasing, thus would use that es increasing and bounded then is convergent.


I need a good monk mini, no weapons, ideally female elf. Where can I find one?  Material (lead vs plastic) and painted vs. unpainted is useful to know but are all doable.


My sketch exports seem to be pixelated even when am exporting it to 1x

I have noticed that my exports are not as sharp as they look in the Artboard. To give an example am trying to export the Google Play Badge from this dribble file:   But the text seems to be blurry.


I'm currently using the default Numbers application to open my CSVs. My current use case involves a file that I had to use a different type of separator (|). Is there any way to change the separator? Right now when I open the file it just puts the entire row in one column.


Link [tag:some_tag] to another Stack Exchange site

In my profile I add         and "Save And Copy To All Stack Exchange Accounts".  On Meta Stack Exchange [tag:status-completed] linked to , as it should.But on other sites it is linked to status-completed tag posts on them - in my Stack Overflow profile it is linked to .  I tried to place it in hyperlink:  <a href = "https://meta.stackexchange.com/questions/tagged/status-completed"> [tag:status-completed] </a>   or   [ [tag:status-completed] ](https://meta.stackexchange.com/questions/tagged/status-completed)   but it doesn't work.  Is it possible to link [tag:some-tag] to specific Stack Exchange site?


How can I enable USB Debugging on an LG G2 (vs980) with a broken screen?

I have an LG G2 (vs980 - Verizon). The digitizer and screen is broken - I can view it, but not submit input.  The device has fastboot and TWRP capabilities, and I can get to ADB from TWRP.  The device previously had USB debugging enabled and was associated with my PC's public key.  It seems the only thing preventing me from accessing the device via ADB while booted normally is LG's 'USB connection type' setting, which defaults to 'as a media device' or 'as an installer'. This phone requires me to choose 'as an internet connection' / 'ethernet' once I hook up the USB cable from the notification panel for ADB debugging to work. As the screen is broken, I cannot do this.  How to I write this setting to the system from recovery mode? Perhaps a build.prop tweak or a sqlite3 edit? (I have sqlite3 on the device; I just enabled my wifi with it).  $ adb shell getprop | grep persist.sys.usb.config [persist.sys.usb.config]: [mtp,adb]     Since I can access ADB from recovery and my rom has a /system/etc/init.d, i can run commands after the system boots from here.  My current plan is to switch ADB to connect over wifi and proceed from there.


can we share user login in 2 wordpress installs in 2 subdomains on one server?

We have 2 WordPress sites in 2 different sub-domains like test1.abc.com and test2.abc.com . Both sites have wp-require plugin activated and only logged-in users can see the site. We want to make a system where if a user logged into one site, he should be auto-login into the other one.  What I did:  After some searching I know I need to use one database for both sites. So I have done these steps:   I have download the whole database of test2.abc.com site and change all prefix wp_ to wpmo_, replace it in whole database and upload it into first site's database. I added these 2 lines in wp-config.php of the second site, to define that second site should use first site's user table not its own one.   define('CUSTOM_USERMETA_TABLE', 'wp_usermeta');  define('CUSTOM_USER_TABLE', 'wp_users');  Now, the second site is using the first site's users and I am able to login to the second site by the user details of first site. The next problem is cookies, so I added these lines in wp-config of both sites.  define('COOKIE_DOMAIN', '.abc.com'); define('COOKIEPATH', '/');  Now I logged in into  test1.abc.com and when I go to test2.abc.com , it asks me to login. That means cookies are not passing from the first site to the second one.   Both subdomains are on same server and sharing same database user table.   I know it is a cookie issue and I have gone through many articles on that, but they all talk about sharing cookies between a domain and its subdomains. Here I am having 2 subdomains.


After installing Ubuntu system boots into Windows

I've installed Ubuntu from USB on a computer with Windows 10 (UEFI) and a hidden recovery Debian from HP. When I ran Ubuntu installer it said "install alongside Debian" and I went with that option. Now when computer starts it just boots into Windows, if I choose local disk as a manual boot option in the HP boot menu it boots into Ubuntu, grub there doesn't see Windows. I am guessing that Ubuntu did not install as UEFI but traditional Boot, but I don't know what to do about it.


How to know if other threads have finished?

I have an object with a method named StartDownload(), that starts three threads.  How do I get a notification when each thread has finished executing?  Is there a way to know if one (or all) of the thread is finished or is still executing?


If prime $p \equiv 1\pmod 4$ and $b = ((p-1)/2)!$ then show that $b^2 \equiv -1\pmod p$.

This question is from Victor Shoup's book on number theory chapter 2. The problem statement is as mentioned in the title of the question. I haven't been able to crack this one till now. I focused on solving this using the following information:     If p is an odd prime then $(p-1)! = -1 \pmod p$, otherwise called Wilson's theorem.   When $p \equiv 1 \pmod 4$ then any non square in $Z_p^*$ yields a square root of -1 modulo p.     I think we have to prove here that $b=((p-1)/2)!$ doesn't belong to $(Z_p^*)^2$ but I am unable to use Wilson's theorem or any other result to prove it. PS: Not a homework for me but might be for someone else one day so tagging it as the same.


Getting rid of stale notification icons in the notification _bar_?

How can I get rid of notification icons for Skype in particular, but any app in general when the app was killed using one of the many available task managers, but the notification icon still remains on the notification bar (that is the part that is persistent at the top of the screen in Jellybean)?  Device: Nexus 7 (2013), Android 4.3


In my page constructor I call a method isFirstPageLoaded, to  check if the loaded page is the first page of the wizard.   private final PageReference FIRSTPAGE = Page.Maintenance_Lock_1;   private void isFirstPageLoaded() {          if(ApexPages.currentPage()!=this.FIRSTPAGE) {              throw new MaintenanceLockException(this.FIRSTPAGE + ' --- ' + ApexPages.currentPage());          }      }   The problem is: Even if I open the first page of the wizard, the exception is thrown. How can I compare two PageReferences? I would like to avoid to parse the URLs and remove parameters etc...


I just realized that my iPhone SE, iOS 12.3, isn't issuing the "ding" tone when texts are received. The Messages app shows a badge (small red circle) when a message arrives. The ring for a phone call works correctly.   The text tone sounds correctly in Settings > Sounds > Text Tone, Do Not Disturb is turned off, and Settings > Notifications > Messages is set to "Allow." I've restarted (soft and hard), and the Mute switch on the side of the case is in the up (sound allowed) position. Selecting another text tone has no effect, the different tone is also not issued.  What else might I try?


How can I view my followers on Facebook?

Facebook must have changed something again because I cannot find out how to view the list of subscribers.  In Googling for this, I came upon this question:    However, it doesn't take me to my list os subscribers.  Where do I view this list now?  Please include a screenshot and highlight the link I need to click on.  This way, when Facebook changes their layout again, your screenshot will at least clue future inquirers in on this fact so they know they're not going crazy.  Edit  Here's what I see when I log into Facebook:


Create dataset of multicollinear variables in R

I want to generate a dataset in R. I see that most of times a distribution must be given e.g. Normal, Poisson, etc.. I want the dataset to follow normal distribution, and having the following: n observations (rows), k parameters (columns) and some of thems to have high correlations. I want to perform various multicollinearity test on them to see how they react and which one gives the otpimal variable selection model. How can i create a dataset with this features in R?


Control being shifted to next line in a class

class car():     def __init__(self,name,model,colour,pricerange,state):         self.name = name         self.model = model         self.colour = colour         self.pricerange = pricerange         self.state = state      def fthree(self):         print("Name: "+self.name)         print("Model: " + str(self.model))         print("Colour: " + self.colour)   Output:  Name: tiago  Model: 2016  Colour: white   I am not using '\n'. But the control is being shifted to the next line in the output. Does this always happen when working with a class in Python?


Convention of digit grouping after decimal point

I read that different cultures have different ways of grouping digits before the decimal point for readability e.g. 1234567890 can be grouped as 1 234 567 890 (English), 12 3456 7890 (Chinese) or 1 23 45 67 890 (Indian), but is there an established convention for grouping digits of a real number after the decimal point for readability e.g. should 3.14159265358979 be grouped as 3.141 592 653 589 79, 3.14159 26535 8979 or something else?


Why is the domain of x raised to x (0,infinity)?

My math teacher was explaining how to draw graphs of given functions. For $f(x)=x^x$ he put the domain as $(0,\infty)$. Why is this true (if it is)? For $x= -2$, $(-2)^{-2}$ is $1/4$, and so the function is defined at $x= -2$. Isn't it?


Drag drop files behaviour from external hard drive

I want it to work like the OS partition. If I drag a file from external HDD to my OS HDD I want the file to get removed from the external HDD. Is that possible?


My memory is terrible. Please tell me what I wrote in mod-call flags!

When flagging for moderator attention, I try to give concise and useful detail, then send.  Sometimes there are many issues and I point out each by shorthand, sometimes I just focus on the highly egregious one and hope the moderator will check thoroughly.  I'll also come back to a question or answer and want to flag it, to see that I already did! Occasionally my flag hasn't resolved yet. That's okay - mods are busy people and a few hours isn't much. Less frequently, I encounter a string of content from (a) user(s) that needs an encompassing behind-the-scenes check. I've already flagged one or two for whatever reason, but now I want to add the request for a wider check.  But all I know is that I flagged for mod attention. I don't know what I wrote, or what exactly it was about, and I don't want to cover something twice (for the obvious reason, and as to avoid the impression that I'm copy-pasting a flag, because that's annoying to them and doesn't get the flag done faster).  Can we please have the mod-flag comment saved in the comment section, if the flag has not yet been resolved?


Unable to create folder and paste in Windows from Ubuntu

In my computer I have many drives I installed Windows 10 and Ubuntu 18.04 dual boot. The problem is I am not able to modify (write) Windows drive files.   : mkdir: cannot create directory ‘foldername’: Read-only file system


Is it possible to install Ubuntu Touch on a non-rooted Android 4.4 device somehow?

I have an Android 4.4 ARM phone and it is not rooted.  I would like to try out Ubuntu Touch on it.  Is it possible to install it, dual boot it with Android or run it from a VM?  UPDATE  My device is not in the list of Supported devices. Does it means that it is impossible to install it (without damaging the device)?


I have tried making scallops at home from the super market..They have so much water retained they never seem to be able to be seared correctly.. How do you correct for this problem..


Recently I have been considering the economics and feasability of building a house versus buying a used one. In my design I settled on a hexagon as the logical shape for the frame, which I am considering for masonry construction. This would be a big house, each side being at least 30 feet wide (footprint 2340 sq ft). The advantages of a hexagon are obvious: simple roof shape, no valleys, space efficient, heat efficient (this would be in New England and subject to cold winters), good wind resistance.  What I can't understand is why there seems to be no-one building hexagonal houses? The only notable building I could find at all was the Supreme Court.  Possible explanations would be that the shape is expensive for small houses due to the 6 corners, but for a large house like mine the room shapes work out fine, in fact they are better than a box house. Maybe its just tradition? People don't like it because it looks like church? Builders have some objection to 60-degree angles?  What is the reason there are no hexagonal houses?


Why is Fisher's information the *negative* of expected second derivative?

According to ,     A "blunt" support curve (one with a shallow maximum) would have a low   negative expected second derivative   In my mind, a blunt support curve has slow-changing slope, hence small second derivative, hence big negative expected second derivative (instead of small).  Where am I wrong in my thinking?


Setting/mocking out formula fields during tests

We have an object (let's call it Child) with a formula field that does a lot of checking of various fields and spits out a numeric result (estimated number of days some work will take, based on a bunch of flags and conditions).  Another object (Parent) has multiple Children related to it through a lookup.   I wrote an apex class that aggregates the Children of a Parent in various ways based on several fields, including the formula result. I now want to test that logic, but when I try to create some sample Children to feed into my test, I'm told that I can't write to formula fields.  I don't want to figure out how to build a tree of objects and set specific fields to get the value I want to test from the formula field. Furthermore, the formula has a limited set of results, which may change in the future (say, the business decides that some particular type of work takes 8 days instead of 10). I want to test various edge cases that the formula can't produce today.   What's the best approach to this?


Induced magnetic field produces electric field and vice versa forever!

So here are the two of Maxwell's laws that I am interested in:  So we have the simple circuit (from google):   So, before the system goes into steady-state we know that charge slowly accumulates on the plates of the conductor. So the charge on the plates gets bigger and bigger while the charges that carry the current get smaller and smaller, so the current gets weaker. Applying Ampere's law on the wire we find the induced magnetic field due to the current $I(t)$ that penetrates the surface $\Sigma$ (see the integral of $\mathbf{J}\mathrm{d}\mathbf{S}$) and not due to an electric field. Now, this induced magnetic field is changing with respect to time (because current is changing). But from the Maxwell-Faraday equation we conclude that this changing magnetic field will produce an electric field which again changes with respect to time. And then we have another induced magnetic field due to that changing electric field. And the cycle goes on. So, am I right? And if I am, when does this stop? And how does it changes the way I calculate each induced field? Does it have to do with electromagnetic waves?


Can an open subset of $\mathbf{R}^m$ be homeomorphic to an open subset of $\mathbf{R}^n$ for $1\leq m<n$? That is, if $U\subset\mathbf{R}^m$ and $V\subset\mathbf{R}^n$ are open, can we prove that no homeomorphism $$f\colon U\to V$$ exists? If yes, I'd like to see the proof/have a reference. Motivation: I'm asking because if the answer is no, this would prove the invariance of the dimension of topological manifolds.


LyX 2.1 Report Class Changing Part to Other Text When Using non-TeX fonts (via XeTeX/LuaTeX)

I am using LyX 2.1 with the document class "Report". I am writing my thesis, which consists of three essays. How do I change word "Part" for each section to "Essay"?  I have not been able to find an answer to this question for LyX 2.1. I have already tried using:  \renewcommand{\partname}{Essay}   in the preamble as documented in previous StackExchange answers but they do not seem to work in the basic report class template in a fresh newfile of LyX 2.1 (I can provide an MWE if necessary).  Edit 1: one solution presented in the comment below is to use something like:  \usepackage[english]{babel} \addto\captionsenglish{   \renewcommand{\partname}{Essay} }   in the preamble. This works for the basic LyX 2.1 document in the Report class. However, I have discovered that the solution breaks if using non-TeX fonts via XeTeX/LuaTeX. In the case of my essays, if one selects the "Use non-TeX fonts (via XeTeX/LuaTeX)" option and the Roman option set to "Baskerville Old Face" the solution breaks down.  Edit 2: With only a slight modification, the code above works for any choice of fonts. Use the following:  \AtBeginDocument{\addto \captionsenglish{ \renewcommand{\partname}{Essay}}}


I'm new to Blender. I did the donut and cup (blender guru). When I render, the glass cup is pixelated. Why is that? I have a Nvidia Quadro RTX 3000 graphic card. Also, the menu on the bottom right hand side i.e. texture, light, render etc., it's all huge now. I don't know what happened.


Book(s) fills the gap from introductory thermo to nonequilibrium thermo/stat mech for self-taught student?

I know this is a big question. But as a graduate student, my research is somehow related to nonequilibrium thermodynamics/statistical mechanics. TBH, I hate how some research treat this subject like a mystery and use some theories carelessly. So I want to learn the subject at my own pace. I have finished Fermi Enrico's "thermodynamics" for a start. And I'm reading Terrell Hill's "introduction to statistical thermodynamics." Although I am pretty satisfied with the content of these two books, I have no idea where should I go from here.  Because I expect my future research will still be based on nonequilibrium thermo/stat mech, I need a booklist to guide me from "knowing something" to "knowing something advanced." In the meantime, I hope I can equip myself with advanced mathematics by going through the booklist. Can anyone provide some ideas on this?  Thanks for the reminder from Endulum. To be more precise, my research interests include the particle diffusion in crystal materials and phase transition. And I also expect to do some research in the future about the transport of heat and charged species in the liquid or solid phase.  P.S., I am not looking for working understanding of this subject. A solid but accessible booklist would be perfect.


mysql (mariadb) ERROR 1698 (28000): Access denied for user 'root'@'localhost'

I'm working on Xubuntu 15.04. I already installed the MariaDB-Server on various systems and was always asked for a root password during installation. This time, however, I don't remember being asked for the password. When I try to login without a password (or a blank password), I get the Access denied for user 'root'@'localhost' error.  I tried uninstalling the package completely by  sudo apt-get remove mariadb-server sudo apt-get purge mariadb-server   When I reinstalled, I still didn't get asked for the root password.  I tried the mysqld --skip-grant-tables approach from  . I can modify the password for the root user in the mysql database - at least the hash value changes - but I still cannot login with the new password after a restart of the mysql-server. I still get the same error.  The user debian-sys-maint does not exist. So, I cannot use it to fix anything.   Any ideas what else I could try?


Always creating a second document with slightly different configuration

I work on a document, and I would like to create, simultaneously, another document which has the 'doublespacing' tag on. Until now, every time I needed it, I just copied the TEX file to a "file-name-doublespace.tex", put on the doublespacing tag, and recompile.   Is there a way to automate this, so that on each compilation of the single file, I will get two files: original.pdf and original-doublespace.pdf which has the \doublespacing command?  Thanks.


I can log into Stack Exchange without my password

I found myself in the following situation. I forgot my password to my account. After resetting my key I logged into Stack Exchange. By mistake I forgot to save it in my password manager. Since I still had the password copied, I thought the easiest way to get the password in my password manager was to log out and then log in again. After which I can press the yes button to the "save this password" question.   After I logged out I tried to log in page. It said something about third party cookies not enabled so I couldn't log-in. I pressed the button that says "you can still log in manually". Pressing this button logged me in. I never provided my password during this process. I'm 100% sure the password was not provided by my password manager and it was a random generated password.  For a public computer this means logging out does not actually prevent a subsequent user of the computer to log you in again. This seems a security vulnerability since a user can expect you'll need your password to log-in again after logging out.   Maybe someone can tell me if this is a bug or a feature.


Let $E = \mathbb{Q}\big(\left\{\sqrt[n]{2} \mid n \in \mathbb{N} \setminus \left\{0\right\} \right\} \big)$. Prove $[E: \mathbb{Q}]$ is not finite

Problem: Consider the subfield $$E = \mathbb{Q} \big(\left\{\sqrt[n]{2} \mid n \in \mathbb{N} \setminus \left\{0\right\} \right\} \big)$$ of $\mathbb{R}$. Prove that $[E: \mathbb{Q}]$ is not finite.  Attempt: I proved that $E$ is algebraic over $\mathbb{Q}$. Because let $u \in E$. Then there is a $n \in \mathbb{N} \setminus \left\{0\right\}$ such that $u = \sqrt[n]{2}$. Then $f(x) = x^n - 2 \in \mathbb{Q}[x]$ is the minimal polynomial of $u$ over $\mathbb{Q}$ such that $f(u) = 0$. Hence $E$ is algebraic over $\mathbb{Q}$.  I now want to prove the degree of extension is not finite. I assume it is finite. Suppose then $[E: \mathbb{Q}] = k \in \mathbb{N}$. I don't know how to derive a contradiction from this.   I know that if $u$ is algebraic over $\mathbb{Q}$ and $f$ is the minimal polynomial of $u$ over $\mathbb{Q}$, then $[\mathbb{Q}(u) : \mathbb{Q}] = \deg(f)$.   Help/suggestions are appreciated.


Expired Permesso di Soggiorno but valid student visa

I am a Canadian Erasmus student in Italy and my permesso di soggiorno expires June 30th 2017, but my multi-entry student visa (D) does not expire until October of 2017. I want to stay in Italy for July and August to do some traveling within the country, but I am worried that this may be a problem.   Am I allowed to remain in Italy for these months with an expired permesso but a valid student visa? Would I have to leave when my permesso expires and re-enter as a tourist (being that I am allowed to be here for 90 days without a visa as a Canadian)?


Ubuntu 16.04 sftp and vscode ssh not working

I use MobaXterm on my windows PC to connect to an Ubuntu 16.04 machine. I worked well until recently I found that SFTP is not working, so my MobaXterm sftp pane is disappear. To make sure that is not MobaXterm issue, I also download FileZilla to test SFTP, not working either. Also, I tried to use VSCode on my windows PC with extension "Remote-SSH" to connect to my Ubuntu machine, but it keeps showing this error:  I am not sure if these connection problems I mentioned above are came from after  I installed zsh on my Ubuntu machine, I installed XRDP but uninstall after.  Any help I would be very appreciate.


I've created extruded objects and they don't seem to behave correctly

I've just started picking up blender for some projects at work, and am hitting a stumbling block. I'm building a fairly mechanical object and as such have been creating it in layers, using extrusions from paths. All this seems to have worked fine however when I'm now trying to use a boolean to "cut" holes into them, it leaves open holes into the object. Attached are some images to try and illustrate what I mean.        My overall Object/project Here you can see me selecting my boolean modifier Here we have the result. Weirdly, it seems to add it So I go ahead and delete the extra faces, and I've got holes aplenty   You can see on the front of the first image a boolean that I used to cut away a cruve from a block that worked fine, so I'm stumped.  I wonder if it has something to do with my objects being blue rather than grey, but I don't know if this even means anything.


Does ampersand also function as line terminator?

I know that in bash, the & symbol delegates a command to the background, but is it also supposed to double as a special line terminator?  To give an example of what I'm referring to, I found this line in   while read a; do echo "FIFO1: $a"; done < /tmp/fifo1 & exec 7> /tmp/fifo1   is the above equivalent to..?  while read a; do echo "FIFO1: $a"; done < /tmp/fifo1 & exec 7> /tmp/fifo1   Or is there special significance to these two parts being in the same line?


Problem:     If $(k,l) = 1$, show that $(b_2k-b_1l, a_1l-a_2k) = 1$ for $a_1b_2-a_2b_1=1$   Note: ($a_1, a_2,b_1,b_2,k,l \in \mathbb{Z}$)   Also note that the actual (bigger) problem is:     If $m = a_1x+b_1y$ (Eq1) and $n=a_2x+b_2y$ (Eq2) and $a_1b_2-a_2b_1=1$, prove that $(m,n)=(x,y)$.   I have proved that $(m,n) = d | x \text{ and } d|y$ I am left to prove that $d = (x,y)$, that's why I asked above question.  I had made $m = dk$ and $n = dl$ ($\therefore (k,l)=1$) and after substitution in Eq1 and Eq2 for $x$ and $y$ values I got $d(b_2k-b_1l)=x$ and $d(a_1l-a_2k) = y$. If I can show  $(b_2k-b_1l, a_1l-a_2k) = 1$ then definitely $d = (x,y)$  Method:  Suppose $(b_2k-b_1l, a_1l-a_2k) = d > 1$. Then, $d | b_2k, d | b_1l, d|a_1l,d|a_2k$ must be true.  This implies $d|a_2b_1kl$ and $d|a_1b_2kl$ must be true. Let, $dp = a_2b_1kl \implies a_2b_1 = \frac{dp}{kl}$ and $dq=a_1b_2kl\implies a_1b_2 = \frac{dq}{kl}$  So, $$a_1b_2-a_2b_1=1 \implies \frac{d(q-p)}{kl}=1 \implies kl =d(q-p)$$  I am stuck here. How to prove a contradiction so that $d = 1$?


When does 50 questions per 30 days limit decay?

I've been programming a lot last month and I've asked a lot of questions. Not all of them were good questions so definitely this limit has struck me where it was supposed to.  Still, it's very uncomfortable. Especially it's annoying that I can't tell whether I can ask question already. I've just spent 30 minutes writing a question to make sure it's a good question but it turned out that the limit is still active. That's strange because I last posted question 2 days ago.  Therefore my question is, how can I know when will I be able to post again? Maybe I could use data explorer for this?


how to install any linux distribution from existing ubuntu

I have Ubuntu 14.04 and I want to install FreeBSD,SUSE or which distro is possible but I need to do this without any USB Install or DVD.  Actually I'm looking for something like wubi but as I said before I'm on Ubuntu and I do not have any other kind of os. Is this possible ? Is there wubi for linux ?


Does 50 % memory and 40 % swap usage (equal size) with vm.swappiness of 90 indicate a kernel bug?

I have 8 GB RAM and a 8 GB swap partition and I set vm.swappiness to 90 in /etc/sysctl.conf (and verified that it's used with the sysctl command at runtime). The system uses 50 % of RAM and 40 % of swap and this situation is approximately the same after running sudo swapoff -a && sudo swapon -a and a delay of minutes. Also I see that swapping of ca. 100 MB occurs regularily at runtime.  I don't understand why the memory isn't filled up to 90 % as suggested by vm.swappiness.  I experienced with issue with Linux 4.4.0-22 and 4.5.7 on Ubuntu 16.04.  $ cat /proc/meminfo  MemTotal:        8030020 kB MemFree:          220724 kB MemAvailable:    4418060 kB Buffers:           86456 kB Cached:          4090160 kB SwapCached:       184660 kB Active:          3779408 kB Inactive:        2730596 kB Active(anon):    1736480 kB Inactive(anon):   955376 kB Active(file):    2042928 kB Inactive(file):  1775220 kB Unevictable:       62848 kB Mlocked:           62848 kB SwapTotal:       8462332 kB SwapFree:        5576576 kB Dirty:             40332 kB Writeback:             0 kB AnonPages:       2312568 kB Mapped:           315084 kB Shmem:            351016 kB Slab:            1039608 kB SReclaimable:     937796 kB SUnreclaim:       101812 kB KernelStack:       15744 kB PageTables:        53896 kB NFS_Unstable:          0 kB Bounce:                0 kB WritebackTmp:          0 kB CommitLimit:    12477340 kB Committed_AS:   10436316 kB VmallocTotal:   34359738367 kB VmallocUsed:           0 kB VmallocChunk:          0 kB HardwareCorrupted:     0 kB AnonHugePages:    448512 kB CmaTotal:              0 kB CmaFree:               0 kB HugePages_Total:       0 HugePages_Free:        0 HugePages_Rsvd:        0 HugePages_Surp:        0 Hugepagesize:       2048 kB DirectMap4k:      369540 kB DirectMap2M:     7874560 kB


Does a verbal noun turn back into a verb when modiﬁed by an adverb?

Here singing is a noun:   I like singing.   But what about here?   I like singing loudly.   Loudly is still an adverb, right? But singing is still  behaving like a noun, right?   So which is it, a noun or a verb? How can it behave like a noun when it gets modiﬁed by an adverb?


Regular expression in javascript ignoring capital letter

I have this variable:  var name = "Matemáticas"   And I would like to find in database, a model that it's name is either "Matemáticas" or "Matematicas" or "MATEMÁTICAS" or "MATEMATICAS" or "MatemátiCas" or "MatemaTicAs".  I try to do this:  var first_rg = name + '[a-zA-Záéíóú]' var rg = new RegExp(first_rg, "g") Theme.findOne({name: rg}, function(error, theme) { }   But it doesn't work. I have not idea how to do this.  Thank you


I use vim on windows (GVim portable off a USB stick) and Linux (standard command-line vim) and would like to synchronise my settings (_vimrc or .vimrc  respectively). As far as I can see (I haven't delved too deeply into it) the only difference should be the shell used for external commands. TLDR:   Is there a way in a vim script to test which OS it is running on? Are there any other incompatibilities between GVim and Linux vim as far as the vimrc is concerned?   Thanks in advance


Why are James and Lily reversed during Priori Incantatem?

We know that by the graveyard scene in Goblet of Fire, Voldemort's last 5 kills were (in reverse order): Cedric, the muggle caretaker, Bertha Jorkins, Lily Potter, James Potter.  James Potter precedes Lily during the priori incantatem.  Yet Dumbledore says in Chapter 36:     "They will not work properly against each other," said Dumbledore. "If, however,   the owners of the wands force the wands to do battle ... a very rare effect will take   place. One of the wands will force the other to regurgitate spells it has performed -   in reverse. The most recent first. . . and then those which preceded it. . . ."   So why didn't Lily come out of Voldemort's wand first?


How do I modify a printer's IP address in CUPS?

I have a network printer with a static IP address. Recently I've changed my subnet and had to allocate it a new static IP address.  I've tried to update CUPS with the new IP address by going to Printers -> [Printer name] -> Administration -> Modify printer -> Current connection -> Continue. I'm presented with this screen but the connection string is not an editable box, so I can't change the IP address:    How can I modify the IP address?


(Exercise 3.6.6 in Analysis by Tao) Let $A, B, C$ be sets. Show that the sets $(A^B)^C$ and $A^{B \times C}$ have equal cardinality by constructing an explicit bijection between the two sets.   $A^B$ is the collection of all functions from $B$ to $A$. ($\{ g | g: B \to A\}$)   Attempt: We first have that $(A^B)^C = \{F | F : C \to \{g | g : B \to A\}\}$ and $A^{ B\times C} = \{f | f : B \times C \to A\}$.  I need to find the bijection $\omega : (A^B)^C \to A^{ B\times C} $.   Could you provide any hint to proceed from here?


Simple alphabetization of files without regard to type?

I want to see all my files, folders, and shortcuts in a simple, alphabetical list, without regard to what kind of file it is or whether it's a file or folder. Is there any way to do this? I'm talking about...  Alpha (file) Beta (folder) C (file) D (shortcut) E (file) Etc.  Thanks to anyone with an answer.


How can flux be the number of electric field lines normal to a surface?

Shouldn't the number of field lines through any surface be infinite if there is a charge present. Or is there a finite number of field lines from a unit charge?


Adding leading Zeros if number is not 8 chars long

How can I make the Code add leading zeros to my strings (containing only 1s and 0s) IF it is shorter than 8 chars?


Walking Dead season 2, what did people in the parked cars die from anyway?

At the start of the second season of The Walking Dead, the group is driving down the interstate with a destination of Ft. Benning.  They then have to stop because of a grid lock of parked cars blocking the RV from continuing through. This sets a scene for the next several episodes.  All the cars are either abandoned or have a corpse sitting in the seats. And I think it was either Andrea or Carol making a solemn comment that that it's a graveyard.  But the passengers are not zombies.  And many of the cars with corpses are still intact.    So what did everyone on the road die from while sitting in their cars?


Why is my query suddenly slower than it was yesterday?

[Salutations]  (check one)  [ ] Well trained professional, [ ] Casual reader, [ ] Hapless wanderer,   I have a (check all that apply)  [ ] query [ ] stored procedure [ ] database thing maybe     that was running fine (if applicable)   [ ] yesterday [ ] in recent memory [ ] at some point    but is suddenly slower now.  I've already checked to make sure it's not being blocked, and that it's not the victim of some long running maintenance task, report, or other out of band process.  What is the problem, what should I do, and what information can I provide to get some help?  [*Insert appropriate closing remarks*]


i want this apex class test class above 85%

global static List<String> checkEmailExists(String emailtocheck, String phone,String memberId){                  OmniOperations.PhoneNumberValidation emailObj = new OmniOperations.PhoneNumberValidation();         if(memberId.trim() !=null)             emailObj.memberId = memberId;                  if(emailtocheck.trim() != null)             emailObj.emailAddress  = emailtocheck.trim();                  //if(phone.trim() !=null)         emailObj.mobilePhoneNumber = null;                  emailObj.ThrowErrorIfExistsOnOtherAccounts = true;                  OmniOperations omniOps = new OmniOperations();         String reqBody = JSON.serialize(emailObj,true);         HttpResponse res = omniOps.CheckEmailExists(reqBody);         LIST<String> retVal = new LIST<String>();        /* if(res != null && res.getStatusCode() == 200)         {             string status = Utils.extractFieldFromJSON(res.getBody(), 'Status');             If(status != null && status != '')             {                 if(status == 'EXISTS'){ //API returns 'EXISTS' if email address is already existing and shows the warning                     System.debug('Status : '+status);                     retVal.add('EXISTS');                     omniOps.logAllHttpRequests();                     return retVal;                 }                 else if(status == 'Error'){ // new email address not set. Warning shown                     System.debug('Status  :'+status);                     retVal.add('Error');                     omniOps.logAllHttpRequests();                     return retVal;                 }                 else if(status == 'Success'){ // new email address is set instantly on sumbit                     System.debug('Status  :'+status);                     retVal.add('Success');                     omniOps.logAllHttpRequests();                     return retVal;                 }                 else{ // API error                     System.debug('Status  :'+status);                     omniOps.logAllHttpRequests();                     retVal.add('APIERROR');                     return retVal;                 }             }             else             { //API Error                 System.debug('Status NULL');                 omniOps.logAllHttpRequests();                 retVal.add('APIERROR');                 return retVal;             }         }         else         { // API ERROR             System.debug('Error in Email number API');             omniOps.logAllHttpRequests();             retVal.add('APIERROR');             return retVal;                      }*/


How to install cmake 3.7 in Ubuntu 16.04 using its binary archive file?

I'm on Ubuntu 16.04. I installed cmake with the command  sudo apt install cmake   It installed cmake 3.5.1. Now I want to use cmake 3.7 - I downloaded an archive with binaries (i.e cmake-3.7.0-Linux-x86_64.tar.gz) and extracted it, but how do I run it using the cmake command? My current attempt to run  cmake --version   returns the "old" 3.5.1 version.


This is a very basic question but any answers would really help.  My question is are there any package or install requirements for LaTeX in order to be able to export from R to LateX?  I am asking because while I have been able to export html and text files from R, trying to export as LateX doesn't output a file at all. I am simply trying to produce nice looking tables for publication.   E.g   xtable(newobject2, type = "latex", file = "filename2.tex")   Does nothing, whereas  xtable(newobject2, type = "html", file = "filename2.htm")   Gives me the desired file output.   Do I need to install MacTex in order for this to work? I am on a Mac  Full Code for reference is below:  library(foreign) library(xtable) library(stargazer) chap <- read.csv("chap2.csv", header = TRUE) new <- chap[c("party", "galtan", "sociallifestyle", "civlib_laworder", "religious_principle", "immigrate_policy", "multiculturalism", "urban_rural", "ethnic_minorities", "deregulation", "nationalism", "econ_interven", "redistribution", "spendvtax", "corrupt_salience", "antielite_salience", "international_security", "environment")] new2 <- new[1:243, 2:18] fa1 <- factanal(new2, factors = 4, rotation = "varimax", sort = TRUE) print(fa1, digits = 3, cutoff = .5, sort = TRUE)  newobject2 <- as.data.frame(unclass(fa1$loadings)) xtable(newobject2, type = "latex", file = "filename2.tex")


How to fix lsregister failing associations after reboot?

I'm running 10.7.5 and I have noticed a problem with associations between files and applications. The main symptom is that Finder shows more than one copy of the same application to open a file.  At first everything worked, but now the com.apple.LaunchServices.plist file is not updated anymore. In particular, if I launch through terminal lsregister -dump the association appears, but if I open the plist file the association is not present. If I reboot, instead of updating the plist file, the system eliminates the association from the database (the option -dump doesn't show it anymore). I tried to launch lsregister -kill -seed several times, but the situation doesn't change.  How can I permanently fix the associations between files and applications?


Do I understand the difference between $\implies$ and $\to$?

I am taking a course in Discrete Mathematics. In the course we are using $\to$ for implication and have been discussing truth tables and the like. But something was said about this being the same as $\implies$. It seemed strange to me that if they are the same, why not just use one of the symbols. I dug around and find that there is a difference. I know that in the day to day life of a mathematician, whatever difference there is, it isn't really much to worry about. But there is supposedly a difference. I know that there are a number of other questions/answers on this site that discuss this, but I am still a bit confused. Here is my current understanding. Please tell me if I am thinking about it the right way First my understanding:  A proposition is the same as a statement. When $A$ and $B$ are propositions, then $A \to B$ is the proposition with the truth table that is only false when $p$ is true and $q$ is false. When proving a theorem something is assumed to be true. From this one makes arguments that lead to the conclusios. We then use $A \implies B$ to say that since we know $A$ is indeed true, then $B$ must also be true. To $\implies$ is not a strict logical symbol with a truth table. We only use this to say that something is true because of something else. If I know that $x$ is equal to $1$ and I want to say that from this follows that $x^2 = 1$, then I would use $\implies$. So I may say "We know that $x=1 \implies x^2 = 1$". So far so good. Let's say I want to define a set. If I consider the two sets $$ A = \{x\in \mathbb{R}: x^2 =1 \to x\geq 0\} \\ B = \{x\in \mathbb{R}: x^2 =1 \implies x\geq 0\}  $$ Here then $A = \mathbb{R}\setminus \{-1\}$ because for these numbers the proposition/statement $(x^2 =1 \to x\geq 0)$ is true. And $\implies$ in $B$ doesn't make sense because I am not asserting anything. This would be the same reason that if I make the theorem that: for all real numbers $x$, $x^2 = 1 \implies x = 1$, then this is an incorrect theorem. If I make the definition saying that a real number $x$ is foo if $x^2 = 1 \implies x =1$, then the only number that is foo is $1$. Is all this correct?  I understand that mathematicians use $\implies$ when maybe they "should" use $\to$ and this doesn't bother me. I am just trying to understand. (You should have a "did-I-understand-this-correctly tag.)


Should the batch file programming questions be moved from SO to SF?

I'm going to put this question out for people to review as I've gotten into a discussion with another member concerning the 'legitimacy' of the existence of questions regarding batch files on SO.  Although, he has not made a cogent argument to date, I thought I'd put it up here for discussion.   Should questions regarding bat file programming be moved to SF due to their not being programming questions?   Addendum- There have been several good points made comparing batch file scripting and ?nix scripting.  Are there any rational reasons for moving those questions over to SF or SU as well?  And, if it is reasonable to move batch file scripting over and not ?nix, why?


How can I organize the bibliography in order of appearance?

I heard there's a command to organize the bibliography in the order of citation in the text. I looked up in Kopka, but found nothing. How can I do that?  PS. I'm using \begin{thebibliography} + \bibitem


Prove the given identity.  $$\left(\sin\frac {9\pi}{70}+ \sin\frac {29\pi}{70} - \sin\frac {31\pi}{70}\right) \left(\sin\frac {\pi}{70}-\sin\frac {11\pi}{70} - \sin\frac {19\pi}{70}\right) =\frac {\sqrt {5} -4}{4}$$  Please help, I could not gather enough ideas, even on how to get to the first step. I thought of using the transformation formula (from sum to product) but did not find a fruitful result.   UPDATE 1.:  $\left(-\frac{1 +\sqrt{5}}{8} + \frac{1}{8} \sqrt{14\left(5 - \sqrt{5} \right)}\right)\left(-\frac{ 1+ \sqrt{5}}{8} -\frac{1}{8} \sqrt{14 \left(5 -\sqrt{5} \right)}\right) $,    I noticed that Alexis had got to this point.  Can anyone explain me how did he get here, with calculations. Please help.  Thanks in Advance.


How do you use the command coproc in various shells?

Can someone provide a couple of examples on how to use ?


Let $d\in \mathbb Q$ , to prove $\mathbb Q(\sqrt d) \subseteq \mathbb Q(e^{2i\pi/n})$ for some positive integer $n$ (without Kronecker-Weber)

Let $d\in \mathbb Q$ , how to show that there exist $n \in \mathbb N$ such that $\mathbb Q(\sqrt d) \subseteq \mathbb Q(e^{2i\pi/n})$ ?  NOTE : I want to do this using basic field extension and Galois theory , without invoking Kronecker-Weber theorem . If possible I would also want to avoid Gauss sum or Legendre symbol  Please help . Thanks in advance


Where is the page in the administrative section where I can put the translations in Drupal 8?


I want to know that what is the use of right join exactly as we can get the same result from left join by interchanging the tables.  So let's take an example here -  Suppose i need to join two tables TAB_A and TAB_B with right join as below to get the result -  SELECT * FROM TAB_A RIGHT JOIN TAB_B   but i can also get the same result of query by using left join also instead of right join as below  SELECT * FROM TAB_B LEFT JOIN TAB_A   So my question is what is the purpose of right join in sql exactly, is there any performance related comparision or anything that can not be done by left join?


Can I restore data backed up from a newer version of iOS?

I have a 3gs with iOS 5.1.  I backed up my data, and wanted to restore to my new iPhone 4, with iOS 5.0.1.  Somehow, I was not given an option to restore my backup.  Is it possible to restore backup to a device that has older firmware?


Does cosmological time expand like space does?

The FRW metric is given by: $$ds^2=-dt^2+a^2(t)\ dr^2$$ where $ds$ is an interval of proper length, $dt$ is an interval of cosmic time, $dr$ is an interval of co-moving co-ordinate distance and $a(t)$ is the scale factor (also $c=1$).  If I take $dt=0$ then I find that an interval of proper distance $ds$ is given by: $$ds = a(t)\ dr$$  Thus the proper distance between two nearby co-moving points is proportional to the scale factor - space expands.  If I take $ds=0$ then I obtain the null geodesic equation describing the path of a light ray: $$dt = a(t)\ dr$$  Thus the light travel time between two nearby co-moving points is also proportional to the scale factor.  Does this imply that intervals of cosmic time expand along with intervals of space?  The natural clocks in co-moving co-ordinates are expanding light-clocks.   Maybe in order to derive the constant units of the "atomic" time that we experience, $d\tau$, from expanding cosmic time intervals $dt$, we need to use the conformal time equation: $$d\tau = dt/a(t)$$


Installing Android M OTA on Android M preview

Currently my Nexus 5 is on Android M preview. I know that developer preview won't get the OTA update, that's why I am trying to manually install OTA of Android M public release, but I get these errors on 50%:  failed to verify whole-file signature  signature verification failed Installation aborted   adding more details:  no root no custom recovery just bootloader unlocked no changes in system files   Does manually installing Android M final release OTA work on device running on Android M preview? Or do I need to downgrade it to Lollipop first?


Use $\delta-\epsilon$ to show that $\lim_{n\to\infty} a^{\frac{1}{n}} = 1$?

Hope this is a meaningful question, but I'm curious if is possible to show that   $$\lim_{n\to\infty} a^{\frac{1}{n}}=1, \text{where  }a>0$$  using $\delta-\epsilon$ directly or other methods. One method that I am aware of is to use the following:     If $\{s_n\}$ is a nonzero sequence, then $\liminf\bigl|\frac{s_{n+1}}{s_n}\bigr|\le \liminf |s_n|^{\frac{1}{n}}\le \limsup |s_n|^{\frac{1}{n}}\le\limsup\bigl|\frac{s_{n+1}}{s_n}\bigr|$


How do I search in multiple files with "cat"?

What I want is to find within a directory all the files containing  a match and when it finds the match it shows the file where that match was found. example cat * | grep password:   Here it will show me all the matches that have a "password:" But it doesn't show which file the match belongs to.


I forgot my Yahoo! password. I tried many times to recover it but I can’t. I called Yahoo! customer service who they said that I have to pay for it.  Please help me to recover it.


How can I show notify-send messages triggered by crontab?

test.sh: /usr/bin/notify-send "test"  The following works: bash ~/Documents/test.sh  BUT the crontab never shows the notification. Why?  */1 * * * * bash ~/Documents/test.sh


I am in the process of moving from VSS to SVN and I'm not sure how to share files in SVN.  Basically we have the following structure in VSS  $MOSS   - Components     - ComponentA       - bin     - ComponentB       - bin   - GAC Mirror   GAC Mirror holds a shared copy of all the Dlls from the bin folders of the components to allow for easy copying to the GAC.  In VSS all you do is drag the Dll from the bin folder to the GAC Mirror folder and it works it's life out.  How would I do this in SVN?  Thanks in advance.


Finding the internal name and display name for a list column

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I heard for SharePoint list/list column, it has an internal name which could be used for programming (as identifier for list/list column), and also has a display name (which is showed for end user for list name or list column name).  How to find and set such internal name and display name for list/list column?


I tried to quit vim  "/etc/sysconfig/network-scripts" "/etc/sysconfig/network-scripts" E212: Can't open file for writing Press ENTER or type command to continue   When I press Enter, it returns to edit mode. I tried   !q  Press ENTER or type command to continue [No write since last change] /bin/bash: q: command not found  shell returned 127  Press ENTER or type command to continue   I press Enter, it returns to the previous editor mode again.  How can I quit vim in this situation?


If $H$ has maximum vertex degree at most $3$ and is a minor of $G$, then $H$ is a topological minor of $G$.

If  $H$ has maximum vertex degree at most $3$ (so $\Delta(H)\leq 3$) and $H$ is a minor of $G$, then $H$ is a topological minor of $G$.   The converse follows by definition. However, most sources state this proposition without a proof. Any help is greatly appreciated.


I need to change the background of my desktop in Ubuntu 12. 04 with a command in terminal, in order to make a script with bash. Does anyone know how to do it?


What do I say to make a new line when using voice recognition?

I've found I can make punctuation happen by saying "comma", or "period", but I can't find the word for new line.  I tried "paragraph", and "line break", but it just prints those words.


C++ convert word in type string variable to lowercase

For sake of simplicity i chose to use a type 'string' instead of 'char'. But i am supposed to lowercase the string that i read in from the input file. I did not know at the time i would not be able to use 'tolower()'. However i did find a way using 'transform'. But i cannot get it to work and cannot find example of using it with an array of stucts. Please help. And if at all possible i also have to capitalize the first letter(s) of each state so if you could point in in the right direction  would be extremely grateful.  #include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <algorithm>  struct ATdata   {    string state;    double miles;    int shelters; };  int readData( ifstream& input, struct ATdata data[] ); size_t readData( ifstream& input, struct ATdata data[], size_t MAX_ENTRIES );  int main() {     ifstream input;     char filename[256];     ATdata data[14];     int i;      cout << "Enter input file name: ";     cin >> filename;      input.open( filename );      if ( input.fail() )     {         cout << "Input file does not exist." << endl;         exit(1);     }       size_t linesRead = readData( input, data, sizeof ATdata data[], size_t MAX_ENTRIES );     input.close();     return(0);  }  size_t readData( ifstream& input, struct ATdata data[], size_t MAX_ENTRIES ) {     size_t i;     int j;     while ( i < MAX_ENTRIES && !input.eof() )     {         ATdata entry;         getline( input, entry.state );         transform( entry.state.begin(), entry.state.end(), entry.state.begin(), tolower() );         string nextLine;         if ( !getline( input, nextLine ) )         {             break;         }         istringstream iss( nextLine );         if ( !(iss >> entry.miles >> entry.shelters ) )         {             continue;         }         data[i++] = entry;     }         for ( j = 0; j < 14; j++ )     {         cout << data[j].state << data[j].miles << data[j].shelters << endl;     } } return i;


Is there a way of converting polygon vertices to points using GDAL python?

I have an ArcGIS standard license and I want to convert polygon vertexes to points in a script.  Since I don't have a good enough ArcGIS license I've been using ET Geowizards to get the points.  The problem is you can't run ET Geowizards in python without having the full license.  So I was curious if any other open source geo tools can do this in python, specifically GDAL.  Is it worth looking into this for a solution?


what is this error and how can I resolve it?

Whenever I start my PC, it shows up this message. It was not there until yesterday. It is giving me since today only. How can I solve it? Please help.


I'm trying to prove $A \cap (A \cup B) = A$. I'm stuck on the last part of my proof, not sure how to show next:  $$x \in A \cap (A \cup B)$$ $$\iff x \in A \;\;\text{and}\;\; x \in A \cup B$$ $$\iff x \in A \;\;\text{and}\;\; (\text{either}\;\; x \in A \;\;\text{or}\;\; x \in B).$$


Convert iso formated string to unix timestamp

I tried the following code:  >> import dateutil.parser >>> date=dateutil.parser.parse("2018-11-23T19:0:09Z") >>> date.strftime("%s") '1542996009'   However the returned value 1542996009 correspond to 11/23/2018 @ 6:00pm (UTC) according to  and it should be 7:00pm  What would be the correct way to get unix timestamp from iso-8601 formatted date string?  Note: Unix timestamp is the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, so I think this is a timezone problem, that is to say the value I got isn't in UTC.


Greatest Common Divisor property: If $\gcd(a, b) = 1$ and $a | c$ and $b | c$, then $ab | c$

Here is what I am trying to prove:     Let $a,b,c,d \in ℤ_+$ with gcd$(a,b)=1$. If $a|c$ and $b|c$, prove that $ab|c$. Does the result hold if gcd $(a,b)\neq 1$ ?   I know that gcd $(a,b)=1$ can be written $ax+by=1$ where $x,y$ are integers.  And $a|c$ can be written $c=al$ where $l$ is an integer, b|c can be written $c=bk$ where $k$ is an integer, and $ab|c$ can be written $c=ab(m)$ where $m$ is an integer.   What do I do?


How do I prove that this set is convex? $S_2 = \{(x_1, x_2 ) : x_1x_2 ≥ 4, x_1 > 0, x_2 > 0\}$ I failed to prove that with {tx1 + (1 − t)x2 : 0 ≤ t ≤ 1}


Is there a better term to use in place of "gold standard"

It is common to see things described as the "gold standard". It means that something is the best and is the ideal against which other things are to be compared; it cannot be superseded. I often , where a certain diagnostic test (e.g., the nasopharyngeal swab PCR test for infection with the Coronavirus causing COVID-19) is considered the most accurate and then other tests (e.g., cheaper or faster tests) are then evaluated against this benchmark. The etymology is covered in . In short, it is derived from the . Thus gold was the thing against which the value of all other currencies was measured. I don't like this term and would like to avoid using it. First, the desired meaning is not predominant; if you  you will mostly get results for the monetary system, not the more general phrase. Second, the etymology is outdated; the original meaning of the term now has the opposite connotation. The monetary gold standard was abandoned in the 1970s. Economists consider the gold standard to be a bad monetary system. Thus, if you are interested in economics and history, the term "gold standard" actually is associated with being outdated and flawed -- which is close to the opposite of the intended meaning. (Of course, many people are unaware of the original meaning of the term. ) (A note in response to comments: Why I want to avoid this term is relevant, but not essential, to the question. If you don't see a problem with the term, the question can be answered regardless.) My question: Is there a better phrase to use in place of "gold standard"? For example, what term could be used in a medical study comparing a new diagnostic test against the gold standard test? I'm not aware of any good substitute that has essentially the same meaning. Here are two example sentences where I would like a replacement:   A nasal swab is the gold standard for diagnosing COVID-19.     The  served as the gold standard for all scales from 1889 until 2019.   The best substitute I can think of is "official," as in "a nasal swab is the official way to diagnose COVID-19". "Official" implies some form of uniqueness. But "official" implies the existence of some authority that gives it this designation (as opposed to scientific consensus). A  asks for a "perhaps humorous" alternative -- the suggestion there, "mother of all", is not appropriate here. (There is also .)  In response to the answers and comments doubting the premise of this question: I personally have a negative association with the phrase "gold standard" because I know people who advocate for returning to the gold standard or its modern equivalent, , and have discussed the topic at length. Several  US  continue to advocate for a return to the gold standard. Thus asserting that no one will interpret the phrase in terms of monetary policy is simply not convincing.


Exception in thread "main" java.lang.NullPointerException - at Client.(Client.java:64) at Client.main(Client.java:105)

I keep getting this error message, and I've tried many different things to fix it. Can someone tell me what I have wrong? I had "null" after every private variable or method declaration I have on the code, but I even took that off thinking it was the issue but it was not. I have searched for the reason why this might but happening to my code but no luck. This is a client/server interaction. And the other parts such as Server and BankAccount have no issues. Exception in thread "main" java.lang.NullPointerException at Client.(Client.java:64) at Client.main(Client.java:105) import java.net.*;  import java.io.*;  import java.io.InputStreamReader;   public class Client  {  // initialize socket and variables  private Socket socket; private DataInputStream input; private DataOutputStream output;  BufferedReader br;   BankAccount testAccount = new BankAccount(1000.00); double wAmount = 150.00; double dAmount = 200.00;  String num = "0";  // constructor to put IP address and port  public Client(String address, int port)  {      // establish a connection      try     {          socket = new Socket(address, port);         System.out.println("");         System.out.println("---------------------------------------------------------------------");         System.out.println("Connection Sucessful");         System.out.println("---------------------------------------------------------------------");                  //once connection is established, bring up banking options         System.out.println("Bank Mode Activated");         System.out.println("Enter the number choice of what you'd like to do:");         System.out.println("1. Withdraw");         System.out.println("2. Deposit");         System.out.println("3. Check Balance");         System.out.println("4. To end the program");         System.out.println("--------------------------------------------------------------------");          // initializes input stream and takes input from terminal         input = new DataInputStream(System.in);         // sends output to the socket         output = new DataOutputStream(socket.getOutputStream());              }     catch(UnknownHostException unKnown)      {          System.out.println(unKnown);      }      catch(IOException except)      {          System.out.println(except);      }               while(!num.equals("4")){         try{             num = br.readLine();  //LINE 64             output.writeUTF(num);                      if(num.equals("1")){             testAccount.withdraw(wAmount);             System.out.println("This is the balance after this transaction: $" + testAccount.getBalance());         }         if(num.equals("2")){             testAccount.deposit(dAmount);             System.out.println("This is the balance after this transaction: $" + testAccount.getBalance());         }         if(num.equals("3")){             System.out.println("This is your account balance: $" + testAccount.getBalance());         }         if(num.equals("4")){             System.out.println("Thank you!");             System.out.println("User is finished.");         }         else{             System.out.println("Invalid. Please try again.");         }         } //end of try         catch(IOException i){             System.out.println(i);          }                }     // close the connection      try     {          input.close();          output.close();          socket.close();      }      catch(IOException i)      {         System.out.println(i);      } }  public static void main(String args[])  {      Client client = new Client("127.0.0.1", 5000); //LINE 105 }   }


Delete certain file from TimeMachine using tmutil

I want to delete a certain file from TimeMachine. Using "Delete all backups of..." from the gear/context menu doesn't do anything. No warning/error message appears.  What I've  is that messing with TimeMachine directly from BASH is risky; a better way is to use tmutil.   Question: is tmutil capable of deleting individual files, i.e. doing a "Delete all backups of...", but from the command line?  Context: this file I'm so keen to delete is an .exe which has been recently marked as containing a trojan by Bitdefender. I want to keep my TimeMachine backup malware free. The .exe file is unimportant because it was compiled from C#. Probably the virtual machine I used to compile it was infected.


Difference between "artifact" and "artefact"

Is there any usage preference between artifact and artefact?  My understanding was that an artifact was properly applied to physical, historical objects, while an artefact was more correct for more abstract, intangible, error-ish concepts, for example a compression artefact.   However, the couple of   I checked suggested that the difference was merely spelling, and that both were usable for both definitions.


I just recently noticed that the author thumbnail has no reputation.    Is this a bug or is this a conscious change?


Why is my script language parser not working?

I am making a parser for a language I call "Dint" in Java, and I added a statement for debugging: System.out.println("tok's val: "+tok); and it has the same value as the parser, but won't print "Found a print", why?  I have tried moving statements between lines, I have tried to look up the issue, and as a last resort I added that debugging statement, but I am confused as to why it won't work.  public class Dint {     public static void main(String[] args) {         System.out.println("Welcome Dint ISE v0.0.1! use \"help\" for help!\n");         Scanner Input = new Scanner(System.in);         String In = Input.nextLine();         boolean Program = true;         while(Program) {             String tok = "";             String string = "";             int state = 0;             String[] strings = new String[100];             for(int i = 0; i < In.length();) {                 tok += In.charAt(i);                 if(tok == " ") {                     tok = "";                 } else if(tok == "\"") {                     tok = "";                 } else if(tok == "out") {                     System.out.println("Found a print");                     tok = "";                 }                 i++;             }             System.out.println("tok's value: "+tok);             In = Input.nextLine();         }     } }   I get  out tok's val: out    When I expected to get:  out Found a print tok's val: out