How do I make dynamic pages powered by WordPress Search filter pro SEO friendly?

I have a website which offers different services in different places. So I have a search page that filters services and places. I use wordpress CMS and Search filter pro plugin.  My urls are something like this: www.example.com/search/?_sft_category=ss&_sft_location=mm I wrote code to have different titles and meta description for each filter dynamically. I want these URLs to become indexed and rank in the first page of the Google search results.  The problem is that these pages didn't get indexed.  Even when I fetch these URLs using Google Search Console, it says they are excluded because of canonical tag to the search page.  How can I change it to allow Google to index the pages?


Should I use who or which? "a nurse is someone who/which always helps sick people."

Is it "a nurse is someone who always helps sick people." or " a nurse is someone which always helps sick people."?


Is Spectre and Meltdown Patched on OS X 10.10?

I have not yet had an update since the spectre and meltdown vulnerabilities came out...  This leads me to believe they have not patched spectre/meltdown on anything below High Sierra...   I have hardware that does not support drivers past 10.10, therefore I cannot upgrade without paying $1000 in musical equipment; plus, everytime I upgrade, my computer slows down significantly and I don't want to deal with the hassle.


Split algorithm over two pages, inside a for loop

I have found questions similar to mine, but none of the solutions given solves my problem.  Because my algorithm is too long to fit on one page, I want it to be split on two pages. Solutions I've found involve splitting the algoritm into two algorithmic environments, and add in the second something like:  \Continuedfloat   However, I use  \begin{algorithm} \begin{algorithmic}   and I need to keep the float environment, because I want to use a caption and other things. Perhaps there is a way of defining a caption in the algorithmic environment... is there? I haven't found one.  Another problem associated with splitting the algorithm in two is that I would need to define my for loop, which spans the whole algorithm, twice; I would like to avoid this.


How to include phpExcel library in controler?

I have written composer.json in my module, after running this file, I got all phpExcel dependcies included. Structure formed is like  vendor --phpoffice ---phpexcel ----classes ----phpexcel.php  I am setting classes to psr-0 level for autoloading but I'm not able to call PhpExcel class in my controller.  Any idea about this?  @edit  I have read below articles, but can't find satisfactory solution for this issue. I have implemented below described approach, but still can't figure out whats exactly I'm missing.     install  in   project/modules/contrib folder.      Install       Installed library from  and place   it in "libraries" folder at root.   Now when I went to enable my modules it is simply giving me error:      The website encountered an unexpected error. Please try again later.   Error: Class 'Drupal\libraries\StreamWrapper\LibraryDefinitionsStream'   not found in   Drupal\Core\StreamWrapper\StreamWrapperManager->addStreamWrapper()   (line 156 of   core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php).   If I include the phpexcel library using composer, it get included. But the issue is.  This library has no namespaces. And If I call PhpExcel class in my controller,like  use PhpExcel/PhpExcel;  $spreadsheet = new SpreadsheetReader($file_path);   It gives error class not found.  How can I read excel file using phpExcel library?


Command to display and execute code (math formulae)

Similar to  I would like to have a command to display and execute code. The code should be displayed with the listings package.  For example something like  \documentclass{scrartcl} \usepackage{amsmath,listings} \newcommand*{\codeExample}[1]{Code: \lstinline!\string{#1}! yields #1} \begin{document}   \codeExample{$\lVert a\rVert$} \end{document}   should for best of cases display $\lVert a \rVert$ as verbatim (\lstinline!...!) code and after that the rendered math code. Is something like that possible? The code above yields several mistakes. I think I miss something to avoid #1 being tokenised?


How can I revert my edit, when it is still in the review queue?

I made a stupid edit on another guy's question and can't revert it (yet). Maybe my stupidity will be catched by the peer reviewers, maybe not. In the first case, I stole a bit of the precious time of the peer reviewers, in the second case, it will be super annoying and embarrassing, as I would have to explain why my edit was wrong in the first place. But right now my hands are tied!  Is there no way to just delete one's edits from the peer review queue?  Because there should be!


install problems at the "expanding" section

I have an HP Pavilion dv6 Notebook with an AMD AE-35200M APU with Radeon HD Graphics 1.60 GHz. I has 8 gigs of ram and a 64-bit operating system.   I have only one storage device and I already have windows 7 installed. I am attempting to run Ubuntu on my computer without having to uninstall windows. The steps I took so far are as follows: I went to the official Ubuntu downloader and burned an installation disk. I then ran the disk to begin installation. A prompt window came up asking for a name and password along with a few other things that I left at default. It began installing and made it to the part mentioned above and then stopped.  Everything goes well until the install got to the "expanding" section. It has been on this screen for five hours, and the progress bar has not moved.  I have retried this twice with no success. So, can I assume something is wrong? How can I fix this?


Does bludgeoning damage to the jaw render vocal spells unusuable?

Would a mace to the jaw cause a bard or other spellcaster incapable of their vocal components for spells? It seems that I can't make a called shot to the bard's jaw so does this mean I have to hit his body and he can continue to cast? I'm looking for rules as intended and not necessarily RAW since the PHB says that less than half of HP remaining shows as wear such as cuts and bruises but wouldn't a broken jaw be reasonable for a mace to a gnome head.


In a break with the president, Congress voted for the first time to   invoke the war powers resolution to try and stop U.S. involvement   in a foreign conflict.   Why is it not "try to stop"?


How to match Google, OpenLayers and shapefile data?

I've installed OpenLayers plugin and opened Google satellite layer in QGIS.   For a point in Beijing china, it's shown as 12961957,4852605 coordinate in blue status bar, and it should be 116.33710,39.83818 in longitude and latitude.   I also have some shapefile which are in lat & long coordinate for Beijing area. So how can I overlay the shapefile data on top of Google layer in correct position?  Anyone can help me or provide some hint?


I was trying to prove some equation and reached this summation $\sum \limits_{j=0}^{m} {2j\choose{j}} {2m-2j \choose {m-j}} = 4^m $  I tried pascal identity and other known binomial identities but with no succes   Is there any simple proof (preferably algebraic one).  Thanks


Why can't I add my strongest Pokémon to a gym?

For some reason, I can't add my strongest Pokémon to a friendly gym? Will someone tell me why this is happening for me?


How do I get my kitty off my head in mo' creatures mod?

I cant manage to get my kitty of my head. I'm using mo' creatures 1.12.2.  For some reason shifting or clicking doesn't get it off.


When I typed this question in google I found this link:  Just from the graphic point of view: this system seems to be easier (when he explains that you can overlap the line). He also talks about how base 8 is useful for computers. Is base 8 really the best,what makes one base better than the other. Is there some mathematical argument that we can use to decide which is the best base to use? Thank you for your insight, I think the answer has to be entangled with other areas of knowledge as cognitive sciences or simply how large are the numbers that are used more often but: Arithmetic is something that almost everybody does so it is probably worth a while to try to see if we are making it as easy as possible. Thank you very much in advance.


Can I use a function for a default value in MySql?

I want to do something like this:    create table app_users (     app_user_id smallint(6) not null auto_increment primary key,     api_key     char(36) not null default uuid() );    However this results in a error, is there a way to call a function for a default value in mysql?  thanks.


Simple Question: May I use WD40 to lubricate my single-speed chain? Does it not have any negative effects in terms of the chain performance and biking in general?


Uploading a document manually to a SharePoint document library using Jquery

I have been searching for a way to upload a document manually to a SharePoint document library using Jquery. i have done it in C#, but i want to do the same in Jquery. Still i couldn't find the way, but i am trying. Please anyone would help me to get this stuff done. Any guide is appreciated.    Basic logic what i did in C# is shown below, how would i do the same thing in Jquery. I am using SharePoint 2010 and my browser is IE9  string filename = fileBrowser.FileName;    Stream fstream = fileBrowser.FileContent;  SPFile spfile = myLibrary.Files.Add(filename, fstream, replaceExistingFiles);


Error using VideoReader in matlab - gstreamer problem

I'm trying to use VideoReader in MATLAB on an Ubuntu system and get the following error:  MATLAB is selecting SOFTWARE OPENGL rendering.     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libzmq.so.5)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libzmq.so.5)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)     (MATLAB:4573): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /opt/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libzmq.so.5)    When I try the solution to set LD_PRELOAD using LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6" matlab  I get this error:   MATLAB is selecting SOFTWARE OPENGL rendering. libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)  (MATLAB:803): GStreamer-CRITICAL **:  Trying to dispose element tmwplaybin, but it is in READY instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference, to allow them to clean up. This problem may also be caused by a refcounting bug in the application or some element.  A related issue is that when I try to use Parole Media Player to open a video I also get an error:  GStreamer backend error Could not initialise Xv output  I read  and now I have the error in step 2   What can I do to fix this?


I am 26 years old and just won roughly $70,000 after taxes playing craps at a local casino. I have no idea what to do with my money. I have a student loan of 17k that I plan to pay off because the interest is so high and a car loan of 16k with a great rate. I have 10k in savings and am an independent contractor making on avg. $43k/yr but with no paid vacation/sick time or 401k. I'm looking to buy my first home and am looking into putting 50k down on it now. Is this smart? I'm looking into a Roth IRA but I just don't like the fact I have to wait until I'm 60 to take from it without penalty. What about high priced stocks like Wal*Mart, etc.? I currently have 0 investments.


I made this program, it deals with classes and relationships, when I run this, it gives me the error "Exception in thread "main" java.lang.NullPointerException", my IDE doesn't detect any error in the coding, can anyone help me out, this is very annoying.  import java.util.Vector; class Flight {     private String id;     private String destination;     private Time depart;     private Time arrival;     private Vector passengerList;     public Flight(String a, String b, Time c, Time d) {         id = a;         destination = b;         depart = c;         arrival = d;     }     public void addPassenger(Passenger a) {         passengerList.add(a);     }     public void printInfo() {         System.out.println("Id " + id);         System.out.println("Destination " + destination);         System.out.println("Depart " + depart.getHour() + " " + depart.getMinute());         System.out.println("Arrival " + arrival.getHour() + " " + arrival.getMinute());         System.out.println("Number of passengers " + passengerList.size());     } } class Time {     private int hour;     private int minute;     public Time(int a, int b) {         hour = a;         minute = b;     }     public int getHour() {         return hour;     }     public int getMinute() {         return minute;     } } class Passenger {     private String name;     private int age;     public Passenger(String a, int b) {         name = a;         age = b;     } } class FlightTester {     public static void main(String[] args) {         Time dep = new Time(8, 10);         Time arr = new Time(9, 00);         Flight f = new Flight("PK-303", "Lahore", dep, arr);         Passenger psg1 = new Passenger("Umair", 30);         Passenger psg2 = new Passenger("Manzoor", 44);         f.addPassenger(psg1);         f.addPassenger(psg2);         f.printInfo();     } }


Including C++ headers, "..." vs.  style, official ISO/IEC opinion?

I know, this is an old question that has been asked many times . I agree with the common answer that #include <filename> should be used for system headers and #include "filename" should be used for project-local headers.  However, now I found  from the ISO/IEC C++ Tools Working Group, which states the following:     All headers within a project should be included using the <> style inclusion and contain the project name as a directory prefix. And all headers means all headers public, private, or implementation detail, in executables or in libraries.   They also give an explanation:     The problem with the "" style inclusion is if the header is not found relative to the including file, most implementations will continue looking for it in the include search paths, the same as for <>. As a result, if the header is not present in the right place (for example, because it was mistakenly not listed as to be installed), chances are that a completely unrelated header with the same name will be found and included. Needless to say, debugging situations like these is unpleasant.   I don't understand this. Why does this problem not occur with the <> style?  Bonus question: What's the status of such a paper anyway? Can it be considered an official recommendation of the ISO/IEC C++ consortium, peer-reviewed and acknowledged by many experts? Or is it just a proposal by someone in order to trigger a discussion?


I use mostly Eclipse and have played around a little bit with NetBeans. The feature I have missed most is the "link with editor" which Eclipse has but I haven't found in NetBeans. The idea is that if I turn "link with editor" on, the editor window will always be in sync with the tree view on the left side (in Eclipse it's called "package explorer"). Is there such a feature in NetBeans?


Can one define an uncountable infinite product?

The continuous version of a sum is commonly called an integral. But what would be the continuous version of a product? The same question in "pictures": $$ \sum \rightarrow \int $$ $$ \prod \rightarrow ?? $$ I thought that maybe one could argue as follows:  $$ \prod_n a_n = e^{\ln \prod_n a_n} = e^{\sum_n \ln a_n} \rightarrow e^{\int \ln a(n) dn} $$ So the continuous version of a product could be defined like $$ \prod \rightarrow e^{\int \ln} $$ Does this make sense?


Button click function not working via ajax call

I'm going to try to keep this simple.   I have a function that calls a modal pop up via ajax, it loads in all the images saved to a database. This modal displays the images, and gives you the option to click another button to "insert" an image into a form. (It puts the image on the main page, and inserts the image id into a hidden input field.)  I had this working with an 'onclick="functionName()"' option, but since I'm still learning js and jQuery, I found this way was older. So I've been working on updating my code.  Here is what I've got, and I've done a few hours of research, and from what I can guess, since the ajax loads these new function calls, the DOM isn't recognizing them as a "call" to the JS function?  If anyone can help or point me in the right direction, I'd greatly appreciate it.  //Ajax Modal Button: <img/> <button type="button" class="insertPageImages">Insert Image</button>  //JS Function $(function(){      $('button.browsePageImages').on('click', (function(e){           //Loads Ajax Modal For insertPageImages Button      }));       $('button.insertPageImages').on('click', (function(e){         e.preventDefault();         alert("TEST WORKING");     })); });


How to compare values between two different tables?  I have two tables as shown below:   Table 'A' sql_id       OPERATION       OPTIONS  63kf3an2j0pk SELECT STATEMENT 63kf3an2j0pkc TABLE ACCESS FULL  Table 'B' sql_id       OPERATION     OPTIONS 63kf3an2j0pk SELECT STATEMENT 63kf3an2j0pkc INDEX UNIQUE SCAN IDX_THU   I need to compare the values in Table 'A' and Table 'B' for the given sql_id. My question is how to find the changed values.  In this case in Table 'A' the second line is TABLE ACCESS FULL. Table 'B' the the second line is INDEX UNIQUE SCAN IDX_THU. So here the value has changed. How can I find that using query? Something like when matched then "matched" when not changed "value changed".  I'm looking for output something like below:     sql_id           comaparion outcome dmqb1hzrf5uxh   No change in the plan 74anujtt8zw4h   plan changed   Can I do something like this?  select sql_id,case when ( select sql_id,OPERATION,options  from  a where sql_id='dmqb1hzrf5uxh' minus  select sql_id,OPERATION,options from  b where sql_id='dmqb1hzrf5uxh') is null then 'matched'  else 'changed' end as status;   I am comparing the explain plans before and after patch. The table 'A' is before patch result of the sqlid and table 'B' is after patch result. Now I want to compare the plans in both the tables. I want to compare the plan by using a query.


Mac M1 won't boot from USB - option key does nothing

I flashed a new USB with ubuntu osi file, that went okay. When I restart and hold down option key, nothing happens...it won't boot from usb I have a new MacBook Pro with M1


Installing VirtualBox 5.0.10 on the latest version of Windows 10 (ver. 1511, 10586)

This question is very similar to: .  But will VirtualBox 5.0.10 run fine on the latest version of Windows 10 (ver. 1511, 10586)?  I am running Windows 7 64bit on my host machine with VB 5.0.10 - but am going to upgrade, but don't want to lose my machines (1.25 TB worth).


What cryogenic systems are suitable for superconducting qubits?

Is a dilution refrigerator the only way to cool superconducting qubits down to 10 millikelvin? If not, what other methods are there, and why is dilution refrigeration the primary method?


how photon gets accelerated instantaneously to speed of light?

i understand that the photon when emitted is already travelling in the speed of light but how can it go from 0 to speed of light instantaneously. is it because photon is a mass less particle and the maximum speed of casualty is the speed of light?


PHP: german date umlauts won't work even with setlocale

I googled quite a bit and tried to find out why my german date won't put out "03. März 2016" but instead always prints "03. M�rz 2016"  <?php      $event_date_format = DateTime::createFromFormat('Ymd', $event_date[0]);       setlocale(LC_TIME, 'de_DE', 'de_DE.UTF-8');     echo strftime("%A, %d. %B %Y", $event_date_format->getTimestamp()); // Donnerstag, 03. M�rz 2016      echo $event_date_format->format('F'); // March ?>     Looks like this:    Umlauts work correctly and fine for the rest of the page.  I was able to fix it with  $fmt = new IntlDateFormatter('de_DE' ,IntlDateFormatter::FULL, IntlDateFormatter::NONE, 'Europe/Berlin', IntlDateFormatter::GREGORIAN); $fmt->setPattern("MMMM"); $event_date_format = DateTime::createFromFormat('Ymd', $event_date[0]); echo $fmt->format($event_date_format);


Can I colour the same text in two different colours?

I want the text to have this sort of colouring   And this is the text.


select box data with apostrophe not submit in database

If I input acesr'ss as categoryname in my POST-Request, it will insert only acesr into my database. I can't figure out why.  Relevant code snippet:  $cate_name=mysqli_real_escape_string($conn,$_POST['categoryname']);  $usersql="Insert INTO abc(category_name) VALUES('".$cate_name."')";   I also tried addslashes, but get the same problem.


conditional probability poisson and exponential

Suppose X and Y are independent random variables having the same Poisson distribution with parameter A, but where A is also random, being exponentially distributed with parameter 0. What is the conditional distribution for X given that X + Y = n?  I know I should reach binomial distribution but I can't.


pgfplots: use dimensions instead of ticks

I need to build a graphic in pgfplots with symbolic distances between the keypoints, as shown in the figure below. I know how to use symbolic coords, but if I was to represent the x coordinates as normally, the ticks would be 't1', 't1+t2', 't1+t2+t3', and so on... So I thought it would be better if I represented the x axis using dimensions, and set the ticks as dimension marks, just like I tried to illustrate in the figure. (The figure was edited in Paint, so sorry about the quality :P)  I wonder if there's any built-in way to perform this, or else any work-around. Thanks in advance!


Why dot product of A and B is A.B=ABcos(theta)? Could it be that dot product did not have any physical meaning initially, but scientists would research on many physical quantities and somehow found a correlation between vectors associated with the quantity such that product of the two vectors associated and cosine of the angle between them would always yield a scalar quantity which is equal to the magnitude of the quantity they are dealing with? Or were there something different notion which could prove two vectors would yield a scalar quantity when they are multiplied the way I mentioned above? Same question for cross product as well. Please enlighten me with knowledge required to grasp this thing otherwise I might not be able to understand such concepts


mvn Jetty run generates infinite error log

[WARNING]    java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/strategy/ProduceExecuteConsume$1       at org.eclipse.jetty.util.thread.strategy.ProduceExecuteConsume.produce(ProduceExecuteConsume.java:58)       at org.eclipse.jetty.io.ManagedSelector$2.run(ManagedSelector.java:97)       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)       at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)       at java.lang.Thread.run(Thread.java:745)   This is the Warning i get when running Jetty:run in eclipse. Is there any way to fix that ? Jetty server wont start and it wont terminate. I am using 9.4.0.MO Jetty server and previously it worked just fine.


Auto updates of Google Chrome on Windows 7?

We don't want to automatically update Chrome.  How do we disable automatic updates of Google Chrome on Windows 7?


How can I save/load the state of Blender games?

Is there a way to allow a running game (made with Blender) to save its current state?  E.g. when the player wants to shut down the game and, later, restart from that point.  I read in the documentation there are Quit/Restart Game Actuators (restarting the game from the beginning...), but what about "Save/Load"?  If I well understand, "Save bge.logic.globalDict" is used to save only some game properties.  Thanks and kind regards.


Principal Component Analysis, computing the degree of freedom

Consider data $x ∈ R^3$ that is represented in a 3D space, i.e., using 3 coordinates $(x^1, x^2, x^3)$. Consider that we observe a large dataset $x_1, x_2, · · · , x_n$, where n = 100. Suppose each datum $x_i$ is known to be such that its coordinates exhibit a functional relationship such that $ax_1^i + bx_2^i + cx_3^i + d = 0$, for the same $a, b, c, d ∈ R$. Thus, although the data lies in a 3D space, the underlying degrees of freedom in the variability of the data is lower than 3. Your goal is to represent each datum using just as many coordinates as the number of degrees of freedom, without any loss of information, i.e., the mapping from the 3D space to the lower-dimensional space should be linear and distance preserving (Euclidean distance between any 2 points in the original 3D space should equal Euclidean distance between the mapped points in the lower-dimensional space).  • How many degrees of freedom are present in the variability in the dataset ?  • Give a detailed algorithm to find the lower-dimensional representation of the 3D data.  I understand that the algorithm is PCA algorithm. But how to actually find the dimension of the lower subspace using the given constraint?


how to place a long paragraph with equations into equation

There have been a few questions already that I have found addressing the issue of embedding text into an equation environment, however I haven't managed to get any f the solutions to work in my case. Most people suggest using \text to isolate the text, but this doesn't format well if I have a long paragraph of text. Can anyone suggest a neater method for this?  My code is as follows:  We are concerned here with the following Cauchy problem for timelike, maximal cylinders   \documentclass{article} \usepackage{amsmath, amsthm, amsfonts} \newcommand{\fii}{\varphi} \begin{document}     \begin{equation} \label{CP} \tag{CP}     \begin{split}     \text{Given an initial, smoothly immersed curve}\ s\mapsto (\fii_0(s),0) \in M \text{satisfying} \\     \fii_0(s)=\fii_0(s+1), \text{and a smooth, uniformly timelike vector field}\ X(s)\in T_{(\fii_0(s),0)}M \\     \text{along the curve, find a time}\ T\in (0,\infty] \text{and a smooth, maximally immersed cylinder} \Sigma \\     \text{which may be parametrized such that}\ \fii(s,0)=\fii_0(s) \text{and such that}\ X(s)\in T_{(\fii_0(s),0)}\Sigma     \end{split}     \end{equation}   \end{document}   and here is the output!


Would I make more if paid weekly instead of monthly?

If my paycheck for my first week looked like this:  Period Start 7/1/2016  Period End 7/31/2016  Total Hours 40  Net Pay $1,419.32   And, if my paycheck for my first month looked like this:  Period Start 8/1/2016  Period End 8/31/2016  Total Hours 173.33  Net Pay $5,236.19   I would expect my monthly pay to instead be ($1,419.32 * 4) $5,677.28.  It would appear there is a difference of ($5,677.28 - $5,236.19) $441.09.  How could this be?  Note: I worked 40 hours all weeks.  If I check my Fed Withholding for 40 hours, it is $147.99 and if I check it for 173.33 hours it is $1,433.02 which is 9.6 times higher whereas I would have expected it to be just 4-5 times higher.  Could this be the discrepancy?


At some point in the past, my grandfather let me read a book featuring tribes at war (I think it was 6). Each tribe had some carefully guarded unique power, one I remember was rapid regeneration. This regeneration was so fast that anything short if cutting of their head was non-fatal.  I recall some major incident where the main character, who is one of these regenerators, is cut in half and BOTH halves regenerate. The story of course concludes with a confrontation between the MC and his doppelganger.  I also recall there were individuals who could shape-shift, or make themselves appear as other people, and they were infiltrating all the tribes and inspiring conflict.  The MC was a prince or heir of his tribe, and he killed his younger brother by accident. He injured him in a way his regeneration should have fixed, but it wasn't his brother, it was one of the shape-shifters.


I've got around 70k nodes of specified type on my site. I need to run an update on them. Some operations and setting one field to desired value. node_save is really slow and it causes crashes (too long callstack mayby). Is there faster way to write info on this one particular field?  There was field_attach_update mentioned in one post, but it isn't much faster.  EDIT: There is quite complex view built on this node type, but is not working on this field which I want to update.


macOS Sierra doesn’t seem to remember SSH keys between reboots

I have to run this command since upgrading to macOS:  ssh-add -K   Corrects the problem after the reboot but I have to run this command every time I log on to my computer.  If I do not run the command above, my keys in ~/.ssh are skipped and I am being asked server password in order to establish the connection.


Sample all the elements at least once, with replacement

$s$ balls are sampled and then replaced from/into a box with $N$ balls. On average, how many samplings are to be made until all of the balls have been taken at least once?   ps: this is not a homework problem. I’m trying to reduce the number of updates on parameters during a neural network’s optimization phase. I’m able to simulate this experiment and get a good numerical approximation, but doing so for every different value of $s$ and $N$ seems a little unclever.


Getting a closed form from $\sum_{i=1}^{n-1} \sum_{j=i+1}^{n} \sum_{k=1}^{j} 1$

I need to get a closed form from  $$ \sum_{i=1}^{n-1} \sum_{j=i+1}^{n} \sum_{k=1}^{j} 1 $$  Starting from the most outer summation, I got  $$ \sum_{k=1}^{j} 1 = j $$  But now I don't know how to proceed with:  $$ \sum_{i=1}^{n-1} \sum_{j=i+1}^{n} j $$  Could you guys please help me?  Thanks in advance.


Querry on using command "SED" for replacing text in bash shell

While using the command "sed" for find and replace, I wanted to know how one could find a constant and replace it with a variable inside the quotation syntax of sed?  I wanted to replace constant 3 with variable name "hourid" Here is what I tried.  sed -i 's@3@hourid$@g' file_name.txt   I want to know how to provide a right syntax for replacing variable "hourid"


gnome-shell : command to launch message tray

How can I launch message tray in Gnome-shell. I mean is there any keyboard shortcut I can use ?   I am using GNOME Shell 3.8.4 version with Ubuntu 13.10. Thank you.  Already seen here :  but I didn't found that.


Not sure why i get this, here is the exception:  Exception in thread "main" java.lang.NullPointerException at org.dementhium.model.definition.ItemDefinition.loadMiscData(ItemDefinition.java:126) at org.dementhium.model.definition.ItemDefinition.init(ItemDefinition.java:104) at org.dementhium.model.World.load(World.java:127) at org.dementhium.RS2ServerBootstrap.main(RS2ServerBootstrap.java:43)   here is my loadmiscdata method:      private static void loadMiscData() throws IOException {     BufferedReader reader = new BufferedReader(new FileReader("data/item/poisoningitems.txt"));     String string;     while ((string = reader.readLine()) != null) {         String[] data = string.split(":");         int id = Integer.parseInt(data[0]);         int amount = Integer.parseInt(data[1]);         definitions[id].setPoisonAmount(amount);     }     reader = new BufferedReader(new FileReader("data/item/equipIds.txt"));     while ((string = reader.readLine()) != null) {         String[] data = string.split(":");         int id = Integer.parseInt(data[0]);         int equipId = Integer.parseInt(data[1]);         definitions[id].setEquipId(equipId);     } }   line 126:              definitions[id].setEquipId(equipId);   here is part of my equipids file(wont post all because its huge):  20282:5106 20284:5107 20288:5108 20290:5109 20294:5110 20296:5111 20300:5112 20302:5113 20306:5114 20308:5115 20312:5116 20314:5117 20318:5118 20320:5119 20324:5120 20326:5121 20330:5122 20332:5123 20336:5124 20338:5125 20342:5126 20344:5127   I have no idea why i am getting this exception...  Thanks in advance :)  Sorry i forgot to post definitions here it is:  private static ItemDefinition[] definitions; definitions = new ItemDefinition[MAX_SIZE];   MAX_SIZE = 20792 btw  for the entire class look here:   Thanks again


In which situation(s), if any, would two balls of differing mass actually hit the ground at the same time?

This is a common example physics teachers use. As far as I know, it never actually holds true.   There are point masses: A(light, eg. feather), B(heavy, eg. hammer) and, C(eg. the Earth). They are all stationary relative to each other and there are no forces acting on them other than that of gravity's up until the impact. A and B are an equal distance away from C. At no point do any of them occupy the same point in spacetime.   In all possible configurations, B will always be closer to the barycenter of the system and thus impact C first.  Additionally, if there are two, two body experiments; one with A-C and, one with B-C, B will still impact sooner. While C exerts an equal gravitational force on both A and B, B exerts a stronger force on C than A does.


I seem to have these messages pop up that says:     Ubuntu has experienced an issue do you want to report it?   This seems to occur a lot especially after the system freezes up for ten minutes or longer, so where do these issues get reported and how are they resolved?  And (assuming they don't get sucked into a black hole) can I track the progress on my reported issues?


Is there a hack to installing SharePoint 2013 on Windows 8?

Apparently SharePoint 2013 is not officially supported on Windows 8 (which does not make sense to me). And, just like   I am looking for a hack to install SharePoint 2013 on my Windows 8 64 bit machine and I don't want to use a VM.  UPDATE:  I do understand using Hyper-V or some kind of virtualization is a cleaner alternative (with cool features such as snapshots and cloning). However, given the recommended hardware requirements, I would not get the best performance on my 8GB machine. And, I understand that it's not officially supported by Microsoft to install SharePoint 2013 on Windows 8, but it does not mean that the fundamental operating system requirements are not met by Windows 8. Therefore I am looking for a hack, a hack that would fake the version check for the installer so I can fully utilize all my memory for SharePoint instead of spinning a VM.      Hint: API Hooking


If p $\equiv$ 3 (mod 4) with p prime, prove -1 is a non-quadratic residue modulo p.  I suppose this would not be true if p $\equiv$ 1 (modulo 4).  To prove something is a non-square I find to be tricky. It's difficult to see any straightforward way to do this using only the definition of congruence for example.


i wonder about scott connection's phase shift like a 90 degrees

first of all it is necessary to refer this link.   In this link u can know scott connection and i wonder about V2t and V2m's phase difference.  something like wye-delta and delta-wye connection.  we can originally know wye-delta connection is step-down transformer and second side voltage phase is being to -30 degree. And also delta-wye connection is step-up transformer and second side voltage phase is being to +30 degree.  But the other side, we also can make wye-delta connection is step-up transformer if it get turn ratio like 1:2. So in this case maybe will be become +30 degree in second side voltage.  apply this principle in scott connection, how can work it?  case1) turn ration 1:2 - step up second side voltage's angle +90 degree?  case2) turn ration 2:1 - step down second side voltage's angle -90 degree?  if you have any information or homepage link, can you leave it for me?  As a result in this question's key point is this one.   In this web site, u can see scott connection and then i wonder about this phase shift. V2t and V2m have a phase difference of 90 degrees. And V2t is leading of V2m. But if we give another turn ratio like a step up or step down, is it possible to replace the position like V2t is lagging of V2m?


I am looking for an easy to use light presentation software.  The main features I need are :   Light (on dependencies and resource consumption) Easy to use Align & Distribute information on slide Use pictures Offline editor   The extra features I would like are:   On click animations .ppt Import/export Use templates/themes for easily unified presentation      looks like a presentation tool matching my needs. Unfortunately it is an online presentation editor and I am looking for an offline one.  I don't mind the software being proprietary and for-pay


prove $G=HN$, if $N \lhd G$ with prime index, and $H$ is not contained in $N$

Let $G$ be a group with the following properties   G has a normal subgroup $N$ with $[G;N]=p$ where $p$ is a prime number; G has a subgroup $H$ such that $H$ is not contained in $N$   Prove   $$G=HN$$    attempt1  $\frac{|G|}{|N|} =p$ is a quotient group so $n=p|N|$   Theorem 8.7 hungerford $p$ is prime every group of order $p$ is cylcic and isomorphic to $Z_p$  call that $<g_p> =\frac{G}{N} \cong Z_p$  $$\frac{G}{N}=\{g_p, \dots , g_p^p\} $$  and   $$ \frac{G}{N} = g_1 N \cup \dots \cup g_p N= \cup ^{p}_{i=1} (g_p)^i N$$     lead 2  $K \not \geq H $ so $[G:HN]<p$ and it divides $p$ so $$ \frac{|G|}{|HN|}=1$$ and the order of $|G|=|HN| $  that means that $HN=G$ since they have the same number of elements     need $HN$ to be normal?? anything wrong/corrections??


I am having a hard time with this code. I keep getting a rounding error when I enter 95.95 as the purchase price and 100 as the price paid, for example it returns 4 dollars, 4 pennies and not 4 dollars and 5 pennies. All other values work fine but for some reason it is having a hard time returning the correct pennies when the decimal place is .95 or .05...  public static void main(String[] args){          //Read price per pack         Scanner in = new Scanner(System.in);          System.out.println("Enter purchase price: ");         double purchasePrice = in.nextDouble();         System.out.println("Enter amount paid: ");         double amountPaid = in.nextDouble();          //Compute change due          if (amountPaid < purchasePrice)         {System.out.printf("Error, you need more money!");         }          else {         int diff = (int)(( amountPaid - purchasePrice)*100);           int dollars = diff/100;             diff = diff%100;          int quarters = diff/25;             diff = diff%25;          int dimes = diff/10;             diff = diff%10;          int nickels = diff/5;             diff = diff%5;          int pennies = diff/1;             diff = diff%1;          System.out.println("--------------------");             System.out.println("Total Change due: " + (amountPaid - purchasePrice));         System.out.println("--------------------");         System.out.println("Dollars: " + dollars);         System.out.println("Quarters: " + quarters);         System.out.println("Dimes: " + dimes);         System.out.println("Nickels: " + nickels);         System.out.println("Pennies: " + pennies);          }     } }


Composition of decreasing functions is increasing

I want to prove the following:      If $f$ and $g$ are decreasing functions on $I$ and $f \circ g$ is defined on $I$, then $f \circ g$ is increasing on $I$.   My attempt:   Let $x_1,x_2$ be in $I$ such that $x_1\lt x_2$ and let $f$ and $g$ be decreasing. Then $f(x_1)\gt f(x_2)$ and $g(x_1)\gt g(x_2)$.   Then $(f \circ g)(x_1)= f(g(x_1))$ and $(f \circ g)(x_2)=f(g(x_2))$. Consequently, we have  $$f(g(x_1)) < f(g(x_2))$$  so $f \circ g$ is increasing on $I$.


Using String variable for "for loop" in Java

public class ForTest{     public static void main(String[] args)     {          String s;          for(s="ha"; s!="haha"; s=s+"ha"){             System.out.println(s);           }      } }   In my opinion, this code should work which just print "ha",  Because after one loop, s="ha" would become s="haha" and then it will stop the loop.  However, it doesn't stop and shows infinite looping.   Could you help me to know what is the reason of it?


showed in one of  how to use a white material node in the Blender internal render to get the brightness of a point and assign the texture accordingly.   In this case: Point is bright: assign daylight texture; Point is dark: assign night light texture  Is there anyway to reproduce that in cycles?


Proof that a subset closed under group operation of a finite group is a subgroup

I have some idea, lets take any element $a$ from that subgroup and repeatedly apply group operator over it, since group is finite that element $a$ will appear again after some time, $\{a, a^2, a^3,...,a\}.$  Then element previous to 2nd $a$ should be identity element. And prior to it is $a$'s inverse. Hence it has all property of groups. Is this proof correct.  I am not sure about that can 2nd $a$ appear only if we have identity element in it. Please help.  Reference: Fraleigh p.58  Question 5.50 in A First Course in Abstract Algebra


How to set, as default template parameter, a nested template class instanciation depending on other parameters

I have the following template class & sample classes :  template<typename A, typename B, typename C = typename A::Nested<B>> struct X {     X()     {         std::cout << "A is : " << A::who() << std::endl;         std::cout << "B is : " << B::who() << std::endl;         std::cout << "C is : " << C::who() << std::endl;     } };  struct Bsample {     static const char* who()    { return "Bsample"; } };  struct Asample {     template<typename B>     struct Nested;     template<>     struct Nested<Bsample>     {         static const char* who()    { return "Asample::Nested<Bsample>"; }     };     static const char* who()    { return "Asample"; } };   When using vc14, the above code compiles just fine and produces the expected behavior for an instanciation of X<Asample, Bsample> defaulting template parameter C to Asample::Nested<Bsample> .  However, when compiling with GCC 5.1, I get the following error :  prog.cpp:4:65: error: expected '>' before '<' token  template<typename A, typename B, typename C = typename A::Nested<B>>                                                                  ^   I tried several combinations to declare the default value for template parameter C, using template, typename, ... but did not succeed in compiling this code with GCC.  How to make this code compliant to C++ standard and compile with GCC ?  Thanks for help  EDIT : Addition to the accepted answer from TartanLlama  In addition to the accepted answer from TartanLlama , I also had to insert a blank (space) between ending template parameters brakets :  template<typename A, typename B, typename C = typename A::Nested<B> > //                                        blank (space) added here ^   Otherwise, GCC issues the following error (when option -std=c++11 is not specified):  error: spurious '>>', use '>' to terminate a template argument list  template<typename A, typename B, typename C = typename A::template Nested<B>>                                                                             ^


Is there any command line to see the missing files on Linux?

Is there any command line to see the missing files on Linux. I have a list of files start from 000 to 073 in the terminal folder on MobaXterm. But as you see in the picture below 070 is missing. Thanks


My 20mo grabs at her genitals whenever she's naked (which is often as it's warm outside and she's toilet learning). She yanks on the outer labia and pokes at the inside. It looks rough to me, though she doesn't seem to care. I keep her nails trimmed so she doesn't scratch herself. I'm hesitant to stop her because I don't want her to feel shame for being curious about and exploring her body.   What's an appropriate reaction to this? I want to teach her it's ok to touch her own body, but she should be gentle so she doesn't hurt herself (Is she cognitively able to understand that if it hurts she has to stop? Can she make this connection?)and there are appropriate times and places to do this. What language should I use?


what should i use-String or StringBuilder for storing SQL queries in a code which uses many different SQL queries

I have a code which uses multiple SQL queries. Should i use String to store these different SQL queries or should i use a StringBuilder.   If using StringBuilder should i have each query in a new StringBuilder object or use a single StringBuilder object.


Does a similar concept like centrifugal force exist for the whole universe?

Is it meaningful in the sense of falsificable to ask whether the whole universe (including everything known/observable: cosmic background radiation etc ..., excluding everything not directly observable like dark energy) is rotating? Naively you would say, sure you can measure centrifugal forces. But centrifugal fictitious forces are defined with respect to a background in Newton's mechanics or indirectly as geometry in Relativity. Somehow I did get from Newton's bucket to headlines like "the universe is spinning". I am confused. E.g. in "Shape Dynamics" (Although the question has nothing to do with Shape Dynamics!) as far as I understood the rotation of the universe as a whole is dismissed as unobservable. Please correct me if I am wrong! Note again: Shape Dynamics has nothing to do with this question.


returns almost 50 hits for "tomato sauce" and just 3 for "tomato paste" Do "tomato sauce" and "tomato paste" mean the same thing?


Reversing SVD back to the original variables

I have a data matrix $M$ that has $n$ samples (rows) described by $m$ variables (columns) $X_1,X_2,\ldots X_m$. I do a SVD to reduce the $m$ dimensions to just 3 dimensions. I understand that the $x,y,z$ coordinates (i.e., the SVD values) are calculated from the eigenvectors of $MM^T$.  My question is, if I pick an arbitrary point in the SVD space (i.e. a value for SVD1, SVD2, SVD3, not necessarily in the data), is there a convenient way to translate that back to a set of the original variables (i.e., $X_1, X_2, \ldots X_m$)?


Regular expression to skip character in capture group

Is it possible to skip a couple of characters in a capture group in regular expressions? I am using .NET regexes but that shouldn't matter.  Basically, what I am looking for is:     [random text]AB-123[random text]   and I need to capture 'AB123', without the hyphen.  I know that AB is 2 or 3 uppercase characters and 123 is 2 or 3 digits, but that's not the hard part. The hard part (at least for me) is skipping the hyphen.  I guess I could capture both separately and then concatenate them in code, but I wish I had a more elegant, regex-only solution.  Any suggestions?


"Poincaré disk model of fundamental domain triangles" software...

Is there a software to generate the ? $\hskip1.7in$ Specially including "general triangles $(p, q, r)$"...


I have a 14.04 LTS CD, which I used to help to reinstall the OS over my old installation of Ubuntu.  The process was pretty standard : insert disc, boot from CD, erase existing OS and install 14.04.  Everything looked fine, and I even got the message that installation was complete.  Then, I removed the CD as prompted, and rebooted the machine. That's when things went crazy. I see the DELL logo, and then a purple border, followed by a black screen. Then, ... nothing. Ever.  I had to do multiple force reboots by holding down the power button. Holding on to the right-shift button did not open up the Grub menu. I still get back the same purple border and black screen.  Edit : I managed to enter Grub menu by holding on to the ESC key, but I am getting the Grub error below.  Minimal BASH like line editing is supported. For the first word, TAB lists possible command completions. anywhere else TAB lists possible device or file completions.   Subsequently, I reinserted the disc and selected the option to try Ubuntu without installing, which is how I am here now.  sudo parted -l  shows the following:  Model: ATA ST2000DM001-1ER1 (scsi) Disk /dev/sda: 2000GB Sector size (logical/physical): 512B/4096B Partition Table: gpt  Number  Start   End     Size    File system     Name  Flags  1      1049kB  538MB   537MB   fat32                 boot  2      538MB   1863GB  1863GB  ext4  3      1863GB  2000GB  137GB   linux-swap(v1)   Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only. Error: Can't have a partition outside the disk!     The Ubuntu OS seems to be installed on dev/sda2, while dev/sda1 seems to be the /boot/efi partition.  According to boot-repair,  GUID Partition Table detected.  Partition  Attrs   Start Sector    End Sector  # of Sectors System /dev/sda1                 2,048     1,050,623     1,048,576 EFI System partition /dev/sda2             1,050,624 3,638,751,231 3,637,700,608 Data partition (Linux) /dev/sda3         3,638,751,232 3,907,028,991   268,277,760 Swap partition (Linux)   Edit : I reinstalled 14.04 again, and now boot-repair can run just fine. It says Repair Successful, but I am getting Grub error when I hold on to the ESC key when booting up :  Minimal BASH like line editing is supported. For the first word, TAB lists possible command completions. anywhere else TAB lists possible device or file completions.   When I exit from this CLI, it says that it is not able to find a system to boot. I select F1 to Retry boot, and it shows me a nice Grub menu, from which I selected the first option Ubuntu after adding the parameters nomodeset and nolapic. It then blank screened... Really not sure what is going on here.  I have tried numerous things I have read over the net over the past day, but it is still stuck at this same problem. I am no expert on this! Please help! Thank you :)!  Additional Info:  lspci | grep VGA returns  VGA compatible controller: NVIDIA Corporation Device 13bb (rev a2)  It is a DELL Precision Tower 5810. Pastebin for Boot Info report is at .


Professor asked me for draft of letter of recommendation,what should I do?

I know there are a lot of discussions about this topic in this forum and I read all of them but my situation is slightly different.  I took a class with my professor and I worked in his research lab and I know him for a while. When I asked him for a letter of recommendation he told me send you CV plus draft of your letter of recommendation. In this forum a lot of people said do not do that it is unethical. I understand this and I understand why it is unethical but what should I say to him should I say this is unethical and I cannot do that or should I forget about letter of recommendation from someone who I worked in his lab.


How to prove that a revursive sequence is convergent or not, and if it is, how to find its limit?

Suppose $a_1 = 2$, and   $$ a_{n+1} = \frac{1}{2}\left(a_n + \frac{2}{a_n}\right) $$   if $n \ge 1$.   Is the sequence convergent or divergent?   If it's convergent, find   $$\lim_{n\rightarrow\infty}{a_n}$$   Usually, what's the approach we use for recursive sequence like this? A friend of mine told me that any recursive sequence is divergent, but after I checked on calculator, it seems that the series is approaching one particular value.


I have a  with shapelength and shapearea, and would like to convert to WGS84 to use with ggmap.    Eventually, I would like to get plot google map of individual regions of the shapefile, and overlay it with other date  What can I use in R program to do this, i.e. convert to WGS84?


Looking for a counter example for non-connected intersection of descending chain of closed connected sets

Let $X$ be a topological space and let $\left\{ Y_{i}\right\} _{i=1}^{\infty}$  be a descending chain of closed connected subsets of $X$. I know from reading elsewhere that ${\displaystyle \bigcap_{i=1}^{\infty}Y_{i}}$ is not necessarily a connected subspace of $X$   but I have no counter example and I haven't managed to come up with one.  There is a counter example  to the same question while also assuming $X$ is compact. However, it uses the quotient topology which I haven't studied about so I would prefer a different counterexample that does not use the quotient topology.  Help would be appreciated!


template class must be written all in the head file?

I have tried to write a template class. It seems that when I write the constructor in classname.cpp not in classname.h, then it could be compiled correctly.  Could someone explain this to me?


How can I transform the following sentence into reported speech? Let's say my colleague said to me:      I will practice until I reach my goal   If I want to say it in reported speech, should it be      He said he would practice until he reached his goal   or      He said he would practice until he reaches his goal   Should I shift tenses completely, or should I leave the "reaches his goal" part in present tense?


How did a normal user vote to reopen a post after a mod?

Post Reopened by Tim Post ♦, waiwai933   On , right above Rev. 3.  How did that happen? How did a normal user vote to reopen after Tim cast a binding reopen vote?  Note that this happened 22 hours ago as of the time of this post, and Tim was and is a member of the community team with full moderator privileges.


Are links to Questions perpetually permalinks even after migration?

At   It states one side-effect of migration is:   The question is left as a stub, or pathway to the new site, for 30 days, after which it is automatically deleted (again, this causes a reversal of all associated reputation on the origin site).   Does deletion then cause the original link to the question to become dead links, or are they permalinks in perpetuity?   seems to imply it might.


Why are the transformer windings in series with line and load in this circuit?

I came across this switching power supply circuit and I noticed the transformer is connected in a way I had never seen before. What is the benefit of connecting it like that? And why does the circuit use a capacitor voltage divider?


My printer does not print light magenta. (Canon MP220 - CL-38)

I have a Canon MP 220, with new cartridges. Prints fine everything, but it won't print light magenta. I cleaned it and deep cleaned it many times. I have no idea what could be the problem. Cartridge models: CL-38 and PG-37.  Any ideas ?  LE: Now it won't print magenta at all!


I'm studying a combinatorics text () in preparation for taking discrete math this upcoming semester. I've taken a fair amount of math in college, through Calculus II, but this is my first 500+ level math course.    In chapter 2 of the  book, the author introduces an algorithm for multiplication called Russian Peasant Multiplication. I want to prove that this algorithm will always result in the product of two numbers.  I've been chewing on the proof for a while now, and just can't seem to get any traction. Thanks in advance for any help.  Description of Algorithm  I'll try to explain the algorithm clearly. The goal of the algorithm is to find the product of two numbers $m$ and $n$. The below table is filled out for $m$ and $n$:  $$\begin{array}{c} m&&n&\\ \hline \bigl\lfloor \frac{m}{2} \bigr\rfloor&& 2n \\ \bigl\lfloor \frac{m}{4} \bigr\rfloor&& 4n \\ \bigl\lfloor \frac{m}{8} \bigr\rfloor&& 8n \\ \bigl\lfloor \frac{m}{16} \bigr\rfloor&& 16n \\ \bigl\lfloor \frac{m}{32} \bigr\rfloor&& 32n \\ \end{array}$$  The sequence of numbers in both columns is the sequence $a_n = 2a_{n-1}\text{ where }a_1=2$. The columns are extended down until the value in the left column is equal to the number one. After filling out the table, the product is found by adding the values of the right column where the left column is an odd number.  For example, to multiply 18 and 37 with the algorithm:  $$\begin{array}{c} m&&n&\\ \hline 18 && 37 \\ 9 && 74 \\ 4 && 148 \\ 2 && 296 \\ 1 && 592 \\ \end{array}$$  To find the product, cross out values of the left column where the value of the right column is even:  $$\begin{array}{c} m&&n&\\ \hline \require{enclose} \enclose{horizontalstrike}{18} && \enclose{horizontalstrike}{37} \\ 9 && 74 \\ \enclose{horizontalstrike}{4} && \enclose{horizontalstrike}{148} \\ \enclose{horizontalstrike}{2} && \enclose{horizontalstrike}{296} \\ 1 && 592 \\ \end{array}$$  And add the remaining numbers in the right column to get the result: $18\times37=74+592=666$  Alternate Description of Algorithm  As an aside, here is a shorter way to describe the algorithm, repeat the below steps until the left column == 1:  • Halve the last number in the first column • Write the result below (discard the remainder) • Double the last number in the first column. • Write the result below.   Now, for every even number in the first column, delete the adjacent number in the second column. Add the remaining numbers in the second column.  What I've done so Far  I haven't been able to get much of anywhere on the proof. One thing I did was create a bit of a different way of arriving at the same outcome:  $$\begin{array}{c} m&&n&&\text{index}&&\text{remainder}&&\text{if remainder == 1, }n\times2^{Index}&\\ \hline 18 && 37 && 0 && 0 \\ 9 && 74 && 1 && 1 && 74\\ 4 && 148 && 2 && 0 \\ 2 && 296 && 3 && 0 \\ 1 && 592 && 4 && 1 && 592\\ \end{array}$$  Which brings to light the relationship between this algorithm and binary numbers (the fourth column in the above table is the product in binary, read bottom to top).   I also wrote some Python functions to help me explore the problem,


We know $\int x^2\,\mathrm dx = \frac13 x^3+C$, so why isn't $\int \sin^2x\,\mathrm dx =\frac13\sin^3x + C$?

At first I would like to apologize to the members who answered .  question had considerable information so  I asked different question.   Actual question I wanted to ask,  We know that $$\int (x + b)^n\,\mathrm dx =\frac{(x+b)^{n+1}}{n+1} + C$$  so while solving $$\int x^2\,\mathrm dx = \frac13x^3 + C$$  also, $$\int (x + 3)^4\,\mathrm dx = \frac15(x + 3)^5 + C$$  but for trig functions like,  $$\int \sin^2x\,\mathrm dx \neq \frac13\sin^3x + C$$  Instead, we have to simplify it first algebraically. So why does the intuition fail here?  I apologize once again. But still I learnt some new things.


Program selects textbox text on click, how to prevent subsequent clicks from selecting text again

I have multiple text boxes in my windows form whose text I want to become selected when they are clicked on by the user. I am trying to find a way to make only the first click in a box select text when the user makes consecutive clicks in the box. I would like to have subsequent clicks in the same box position a text cursor box rather than endlessly select the text, which is what is happening now.   I have tried calling focused.Select() inside an if statement that only runs if no text is already selected like shown below. The problem with that is that right after a user clicks on selected text briefly "un-selects" then Highlight_OnClick runs and the text is again selected.       private void HighlightWhenFocused(object sender, EventArgs e)     {          if (sender is TextBox)         {             TextBox focused = sender as TextBox;             focused.Select(0, focused.Text.Length);             //if (focused.SelectionLength == 0 { focused.Select(0, focused.Text.Length); }                 // does not work either         }     }   My code above always selects the text but the problem is that even once the user has clicked on a text box that is already selected, subsequent clicks only re-select the text.


GeoServer layer preview doesn't work for chinese columns or columns that has underscore in name

I am learning to use GeoServer. I published a layer from a shp, which I created by importing a csv file into QGIS in utf-8 encoding, and exporting as shp in utf-8 encoding. I added a style to the layer. I got the style from geoserver cookbook for . The only thing I changed is the contents in <ogc:PropertyName>, as I have to set it to the name of the column I want to show. I changed it into school_name. But then the layer doesn't show in layer preview.   Things I've tried:   change <ogc:PropertyName> content to the column lat. This column contains latitude. The type shown on GeoServer is double. This works. change <ogc:PropertyName> content to school. This column contains Chinese characters. The type shown on GeoServer is string. The layer shows but the labels are ??. change <ogc:PropertyName> content to school and change the xml encoding to utf-8 and UTF-8. Again, the layer shows, but the labels are ?? change <ogc:PropertyName> content to school and add format_options=CHARSET:UTF-8 in the WMS request. Again, the layer shows, but the labels are ??. change content to postal_code. This column contains postcodes which are just numbers. The type shown on GeoServer is long. The layer doesn't show.   So how do I show Chinese labels? And how do I fix the problem where column names with underscore doesn't show?


Why can't magnetic field lines intersect with each other? My teacher said that if they happen to intersect with each other then the compass needle will show two different directions at a time which is not possible. But I thought that the compass needle will show the resultant direction of the intersecting field lines.


Restrict number of articles user allowed to read, but allow Google to index all

I have seen several newspaper sites that have started to restrict the number of articles the user is allowed to read, before being prompted to register/subscribe.  e.g.   I know how to programatically restrict the number of articles a user is allowed to read, but I do not want to block Googlebot or other search engines from being able to index all my articles.  It seems like some forum software has a way where Googlebot has their own login account and are able to index all the pages still. I'm not sure just detected the UA would be sufficient as someone could easily spoof that.  Is there a recommended way to do this?


We have HP DL360 G8 server and installed CentOS7 64bit on it and everything was working fine but as soon as we did yum update on full system and reboot it got stuck at grub grub> so i did following to recover   grub>set root=(hd0,msdos1) grub>linux16 /vmlinux-<old kernel> root=/dev/sdx rw grub>initrd16 /initramfs-XXXXX grub>boot   Which boot system successfully and i did grub2-install /dev/sda and reboot again but still its getting stuck in grub> i have tried UEFI gru2 install method also but still no luck, even i un-install latest kernel but no luck :(  what could be wrong?


Reordering  not working for newly append

I am trying to add a row dynamically by clicking the add button and later i am trying to move up and down by clicking the respected buttons... In the code i amhaving 3 static rows, the data typed in the textbox goes up and down perfectly. But regarding the ROW  which i have dynamically created, there is no action.   I came to know that javascript wont get action for dynamically created elements.. If so, what i have to do solve this issue...Thanks...    var html = '
row 4	<input type="text" name="uname">	<input type="button" value="move up" class="move up" />	<input type="button" value="move down" class="move down" />
';  $(function() {   $('#addRow').click(function() {     $('tbody').append(html);   });     $('#mytable input.move').click(function() {     var row = $(this).closest('tr');     if ($(this).hasClass('up'))       row.prev().before(row);     else       row.next().after(row);   }); });

         row 1	         <input type="text" name="uname">	         <input type="button" value="move up" class="move up" />	         <input type="button" value="move down" class="move down" />

         row 2	         <input type="text" name="uname">	         <input type="button" value="move up" class="move up" />	         <input type="button" value="move down" class="move down" />

         row 3	         <input type="text" name="uname">	         <input type="button" value="move up" class="move up" />	         <input type="button" value="move down" class="move down" />

   <button id="addRow">Add</button>        I would like to add new tr with controls dynamically and later i would like to reorder the same by clicking the up and down button and then to get its values in the reordered form..


Convert atan2 value to standard 360-degree-system value

Lets say I'm using atan2 to get the angle between two vectors.  atan2 gives a value in radians. I convert it to degrees using a built in function in Java. This gives me a value between 0 and 180 degrees or between 0 and -180 (the nature of atan2).  Is there a way to convert the value received with this function (after it's been converted to degrees), to the standard 360-degree-system, without changing the angle - only the way it's written? It would make it easier for me to work with.  Thanks


Disinfecting laundry — that of a likely COVID patient, or of any other possibly-infectious individual

Clothing can probably spread fungal infections (e.g. athlete's foot) from person to person. There's  that clothing can spread bacterial infections. But  quote Gebel et al., who write: "Absence of definite evidence for a health hazard is not equivalent to evidence of absence of risk." So, indeed, as Bloomfield et al. write, you might want to sanitize your laundry in certain situations. For example:  if it's full of feces, vomit, or blood, or if someone in the house has a fungal infection (e.g. athlete's foot), or if you encounter .  How can you disinfect your laundry? COVID addendum We're not yet sure how long the pandemic coronavirus (SARS-CoV-2) can survive on clothing.  discusses some theories. In April, a Texas biomedical scientist  that the chances of getting COVID-19 via contaminated clothing were likely quite low. Even today, researchers think that COVID is spread mainly by , not by contaminated clothing. If you're washing the laundry of a likely COVID patient, though, extra precautions are wise; please see my answer below.


Affine Coordinate Changes takes Linear Subvarieties to Linear Subvarieties

I'm working on Fulton Algebraic Curves exercise 2-14. I'm stuck on something that I think should be simple but I'm not seeing. The problem is as follows: A set $V \subseteq \mathbb{A}^n$ is called a linear subvariety if $V = \mathcal{V}(f_1,\dots,f_r)$ for $f_i$ of degree $1$. Show that if $T$ is an affine change of coordinates, then $V^T:= T^{-1}(V)$ is also a linear subvariety. From the definitions we have that $$V^T = T^{-1}(V) = \mathcal{V}(\mathcal{I}(V)^T) = \mathcal{V}(\mathcal{I}(\mathcal{V}(f_1,\dots,f_r))^T) = \mathcal{V}(\mathrm{rad}(f_1,\dots,f_r))^T)$$ I would like to say that this is then equal to $\mathcal{V}((f_1,\dots,f_r)^T) = \mathcal{V}(f_1\circ T,\dots, f_r\circ T)$ which is then evidently a linear subvariety since $T$ and each $f_i$ are degree $1$ polynomials, so the compositions $f_i\circ T$ are also degree $1$. But I don't see why the ideal $(f_1,\dots, f_r)$ is necessarily radical. Any help would be appreciated.


Word for seeing both sides of an argument

This feeling can often be paralyzing in that you see valid points on either side; makes you not able to choose a side.  Seeing can also be understanding, supporting, taking active part in.  I'm looking for words that don't imply a "Janus"/traitor tone or the ambivalence tone, but the (property of the) process that precedes the paralyzing feeling and whose property is more reminiscent of walking a mile in another man's shoes.  Tag says single-word but multi-word adjectives can be okay. I usually shy away from just adding -y to make adjectives.  Sorry for the vague wording, I'll happily take suggestions on how to word this better. Thanks! :)  Usage: "And above all, I hope __ will become the preferred method to prepare for debate, to: ..."  It's a two-sided process of analysis involving attacks and reconciliations of attacks.  I was hoping for an established academic term for this, but perhaps none exist. I will embrace an inventive new word for this! This is a paper for peer review, so the meaning should be apparent to academics.


I have two projects in GitHub one is a core and the other depends on it. I am constantly updating both still and need a way to always have the latest version of the dependency when working on the project.  I tried setting up a maven project and depending on the core plugin using JitPack but since my repos are private it wouldn't let me without a subscription. Are there any other programs that work with private repos for free?  I tried searching online but don't know exactly what type of program it would be since I am new to working with all this.


What does it mean when 'Community' accepts or rejects a suggested edit?

Sometimes when I look at my suggested edits I see some which have been rejected by  even when accepted by other users. How can this be? I thought  was just a background, automated process. Does it really have veto over suggested edits?


How do I install intel integrated graphics controller?

I try to find what graphics card I'm running, the commands in terminal only gives me this:   VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller.    How do I install the correct driver? As I can see that not everything is displaying correctly. I want to set a proper resolution, but can't as I don't have the right drivers on my Ubuntu 12.04 machine. It's an Acer Aspire One netbook.


What if multiple players have the same hand via using all the shared cards?

I'm trying to learn the basics of poker, and I encountered this bit of info:     Sometimes the best texas hold em hand is made by the five shared cards on their own. If they were 10-10-10-10-A and you had 9-9 your hole cards would not play as there is a four-of-a-kind of higher value already showing.   I am unclear about this. What if every player chooses 10-10-10-10 as their hand, since they're shared cards? Who wins?


How do I use gunzip and tar to extract my tar.gz file to the specific directory I want?

When I run gunzip -dc /path_to_tar.gz_file/zip1.tar.gz | tar xf - in the directory where the tar.gz file is located, it extracts just fine.  How do I tell it to place the contents from the tar.gz file into a specific directory?  I tried this gunzip -dc /path_to_tar.gz_file/zip1.tar.gz | tar xf /target_directory with a tar error.  I should also note here that I am attempting to do this in a bash script and that I'm running Solaris 10.


If I hear the word "magician" I think most immediately of an old man in a dark robe. He wears a pointy hat. Sometimes with stars and moons.  Also this is what you get when you type "wizard" into your favorite web search enige.  What is the origin of this representation?


The logo for the blog in the sidebar is the same as the logo for Meta.SE (here):    Please could a new logo be used here? While it isn't a massive issue, it does momentarily confuse me, and the blog is certainly different to Meta...  Feel free to post your suggestions for a logo as an answer - but by no means will it be used - if the logo is even changed!


What if Naruto's surname is thought to be just symbolic, in order to hide his true identity?

I can't understand how come Naruto's surname was chosen to be Uzumaki, because, if they were to hide Naruto's relation to Minato, they couldn't choose Minato's wife surname, for she was the only Uzumaki left in the Leaf village. So, Hiruzen had to give a plausible justification for why Naruto's surname would be Uzumaki, once he was supposed to be just an ordinary kid. So, what do you think of the theory of Naruto's surname Uzumaki being chosen by Hiruzen on the grounds of honoring the Uzumaki clan? After all, they had lost their last member, Kushina (at least in the Leaf village), and they were very close to the village. This way, Hiruzen would hide Naruto's relation to Minato, by not giving him the Namikaze surname, and would hide Naruto's relation to Kushina (and, hence, to Minato), because ordinary people would think Naruto was a random orphan who wasn't actually a member of the Uzumaki clan, for his surname would be just symbolic (for them). But, in the other hand, Hiruzen would successfully preserve Naruto's surname (Uzumaki) for when the time he would find out the truth arrived.


Error while trying to install Brave browser

First off, let me preface this by saying that I am completely new to linux and I am learning everything over. So please, bear with me as I try to explain my situation. The gist of it is that while trying to install the Brave browser via that terminal (as per the brave website @  ), I must have screwed something up while inputting the command in terminal, so I had to exit and restart the computer. Now, there is a red circle with a white line on my toolbar that gives me the error:  E:Malformed line 1 in source list /etc/apt/sources.list.d/brave-browser-release.list (type) E:The list of sources could not be read   I have searched for hours for this particular error relating to Brave without finding anything relative. Only similar errors with other programs.  I believe it was somewhere around this command that I messed something up:  echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list   I copied the command one part at a time, separated by the | symbol.  I realize this is probably a basic error, but I only downloaded linux three days ago and am completely new. Thank in advance for shedding any light on this error!


In the derivation of the Lie algebra in the first volume of Quantum Theory of Fileds by Weinberg, it is assumed that the operator $U(T(\theta)))$ in equation (2.2.17) is unitary, and the rhs of the expansion  \begin{equation} U(T(\theta)))=1+i\theta^a t_a +\frac{1}{2} \theta_b\theta_c t_{bc} + \dots \end{equation} requires $$t_{bc}=-\frac{1}{2}[t_b,t_c]_+.$$ If this is the case there is a redundancy somewhere. In fact, by symmetry $$ U(T(\theta))=1+i\theta_at_a+\frac{1}{2}\theta_a\theta_bt_{ab}+\dots\equiv 1+i\theta_at_a-\frac{1}{2}\theta_a\theta_bt_at_b+\dots $$ and it coincides with the second order expansion of $\exp\left(i\theta_at_a\right)$; the same argument would then hold at any order, obtaining $$U(T(\theta))=\exp\left(i\theta_at_a\right)$$ automatically.  However, according to eq. (2.2.26) of Weinberg's book, the expansion $$U(T(\theta))=\exp\left(i\theta_at_a\right)$$ holds only (if the group is just connected) for abelian groups.  This seems very sloppy and I think that Lie algebras relations could be obtained in a rigorous, self-consistent way only recurring to Differential Geometry methods.


I'm new to Ubuntu and linux in general... I want to know when does the new LTS version will be out I'm currently usin Ubuntu 19.04 (non lts) and I want to know if I can upgrade to an LTS version? or I'm stucked with non LTS versions?


Where might the noise be coming from in this speaker driver circuit?

Well, it will be a broad schematic. To summarize, there my approach is:   Yellow part is for oscilations at three different freqs(around 0.8 - 2 kHz, different for each of the three signals), sinusoidal, I can get nice 6 Vpeak sine waves, observed with oscilloscope, no noise, smooth. In the orange part, I use classical potentiometers to change the amplitudes of the signals. For this part, I suspect from the potentiometers, I know they are very unstable but I somehow have to use them. Then, red part, adds the signals together, nothing fancy. Finaly, the green part is my design to drive an 8 ohms speaker.   Now, when I connect the speaker, I get a noticable noise on the speaker output. It is both understandable from sound and also checked by oscilloscope. I have heatsinks for transistors, and I suspected from them for the reason I explained in my .     when I inspect the signals in the circuit via oscilloscope, I see there is some noise on waveforms, while trying to understand where it comes from, I have touched the heatsink (...) It becomes much smooter.   However, then, I thought it might be resulting from something else and wanted to get your opinions about it. What can I do to minimize the noise ? Would soldering things on something like  solve things?  Things to note:   I got satisfying results in simulations, everything was as I wanted. However the reality spoiled me. I implement the circuit on a breadboard for now, while prototyping, I suspect it may be bad in terms of noise. I don't know it is relevant or not but the noisy parts are mostly in the upper parts of sinusoidal waves.   Thanks in advance.


When to use an object instance variable versus passing an argument to the method

How do you decide between passing arguments to a method versus simply declaring them as object instance variables that are visible to all of the object's methods? I prefer keeping instance variables in a list at the end of the Class, but this list gets longer as my program grows. I figure if a variable is passed often enough it should just be visible to all methods that need it, but then I wonder, "if everything is public there will be no need for passing anything at all!"


In Germany, crypto-currencies like Bitcoin are all over the news lately, making me aware of the fact I don't know much about them.  A journalistic TV program I was watching yesterday even claimed crypto-currencies are a real investment option... but I'm not so sure about that.  On one hand, I've been reading that across the ocean (USA and Canada), first ATMs have been setup that handle crypto-currencies.  On the other hand, I can not find any information if any crypto-currency is regulated (or even accepted) like common currencies (US dollar, Euro, Yen, etc.) are.  Can crypto-currencies really be regarded as a solid/conservative investment option like with regular currencies, or do I have to think of crypto-currencies like investing in "pork bellies" where risk tends to outrule chance, or are crypto-currencies more like fantasy-football and nothing one would/should seriously consider when it comes to planning an investment strategy?   Where exactly do I categorize crypto-currencies?


What is the exact value of sin 1 + sin 3 + sin 5 ... sin 177 + sin179 (in degrees)?

My attempt:  First I converted this expression to sum notation:  $\sin(1^\circ) + \sin(3^\circ) + \sin(5^\circ) + ... + \sin(175^\circ) + \sin(177^\circ) + \sin(179^\circ)$ = $\sum_{n=1}^{90}\sin(2n-1)^\circ$  Next, I attempted to use Euler's formula for the sum, since I needed this huge expression to be simplified in exponential form:  $\sum_{n=1}^{90}\sin(2n-1)^\circ$ = $\operatorname{Im}(\sum_{n=1}^{90}cis(2n-1)^\circ)$  $\operatorname{Im}(\sum_{n=1}^{90}cis(2n-1)^\circ)$ = $\operatorname{Im}(\sum_{n=1}^{90}e^{i(2n-1)^\circ})$  $\operatorname{Im}(\sum_{n=1}^{90}e^{i(2n-1)^\circ})$ = $\operatorname{Im}(e^{i} + e^{3i} + e^{5i} + ... + e^{175i} + e^{177i} + e^{179i})$  Next, I used the sum of the finite geometric series formula on this expression:  $\operatorname{Im}(e^{i} + e^{3i} + e^{5i} + ... + e^{175i} + e^{177i} + e^{179i})$ = $\operatorname{Im}(\dfrac{e^i(1-e^{180i})}{1-e^{2i}})$  $\operatorname{Im}(\dfrac{e^i(1-e^{180i})}{1-e^{2i}})$ = $\operatorname{Im}(\dfrac{2e^i}{1-e^{2i}})$  Now I'm stuck in here;


Do the event horizon of Kerr black Hole have escape velocity is equal to the speed of light same Schwarzschild black hole?


I've been calculating characteristic functions and MGF's and was wondering whether we can always get the characteristic function simply by substituting $it$ instead of $t$ in the resulting equation. For example the normal MGF is $ \exp{(\mu t + \frac{\sigma^2 t^2}{2})} $ but if we substitute $it$ into that we get $ \exp{(\mu it - \frac{\sigma^2 t^2}{2})} $ which is the characteristic function. Can we always do this if the MGF exists in a neighborhood of 0?


Reopening or bumping question on Stack Overflow

Some time ago, I've asked a question on Stack Overflow and haven't received an answer. I'm really interested in answers to my question. How can I reopen my question or bump it up in the queue without creating a new question with the same body?


Weird movie with winnebago-submarine thing surviving a global flood

I don't know why this is driving me so crazy. I only saw the ending, and the most memorable thing about it was how bad the special effects were. I think I'm wondering whether the plot makes any more sense if you watch the whole movie.  Anyway, there was this military-survivalist-type guy, a woman, and a teenage boy. The survivalist guy has this vehicle that looks like a cross between a camper van and a bullet; it's designed to withstand the imminent global flood that apparently only these three are expecting and no one else is aware of.  There was some weird name for the vehicle, but I forget what it was, "The __ _ _ __" I think it had four syllables, possibly ending in "er". They got into it on dry land, and the flood waters rose around them, apparently miles deep.  External shots of the vehicle showed it tumbling end over end, but internal shots just showed some mild jostling and the three of them just standing there looking bored. Maybe it had artificial gravity?  Anyway, the miles-deep flood waters recede (the impression I got was that in-world, the flood lasted maybe fifteen minutes, if that.) They find themselves on dry land, I think on some sort of college campus, with all the buildings intact.  They pick up some music on the radio, and then the (young-female-sounding) DJ comes on, gives her location, and then says she's pausing the broadcast to allow for incoming signals from other survivors. It's all very matter-of-fact, like civilization-destroying flash-floods happen all the time. She apparently safely rode out the flood in the college's radio studio.  Military-guy tries to take charge of the situation, and responds to the radio-signal, but teenage-boy is very excited to hear the woman's voice and jumps on a bike and heads off to meet her as soon as she gives her location. Roll credits.  I don't think survivalist-guy and teenage-boy got along very well, but I didn't see enough of their interaction to say for sure.  I saw (the ending of it) on television in either the late eighties or the early nineties. I don't recall there being anything that indicated for sure whether it was a newish movie or an older one, so I'm not sure when it was made.


Can my child attend a private school whilst I'm on USA ESTA?

I am British, currently staying in the USA for 6 weeks on an ESTA Visa Waiver. I am living with a local family and whilst here my child (9 years old) has been attending a private (non-state) school with the children of the local family.  Today somebody told me that by having my child attend a private school I may be in violation of the terms of the ESTA Visa Waiver.  I have found nothing about this at   Where can I find official documentation / online advice about this?


I am currently looking whether a group G of the following order is simple or not  $ord(G)=100$ $ord(G')=200$  We have first that for $G$, $ord(G)=2^25^2$. For $G'$ we have that $ord(G')=2^35^2$. Now with the third theorem of Sylow we have, that in both case there is only one $5-$Sylowgroup. But why $G$ is not simple, while $G'$ is simple? I just try to follow the thinking of this site


I want to award a bounty to an existing answer; should I have to wait 24 hours?

Possible Duplicate:          I set an incentive bounty on  (before the new bounty system was announced). Once a qualifying answer had been posted, I clicked to start the bounty, and was confronted with the new bounty system. I selected that I'd like to reward an existing answer, but it's still making me wait 24 hours before I can award it!  For this specific bounty type, can the waiting period be waived?


Connecting single/multiple 12V cooling fan to a 12V 30A power supply

I'm a beginner in electronics. Currently trying to set up  in my 3D printer. If I were to connect all 3 of them in parallel straight into 12V 30A power supply unit, will it overload the cooling fans since its working amp is at 0.1A only? or does the PSU regulates the amp's output for whatever the working amps are?


I was wondering how long it would take for the Earth and Sun to crash into each other via gravitational force, if the Earth suddenly stopped orbiting around the sun.  Instead of the Earth's forward motion balancing out with the centripetal force from the sun to create a curved orbit, it is instead just pulled towards the sun in a straight line.  This is not as simple as putting the values into the Universal Gravitation Formula, since distance between the Earth and Sun would be constantly changing.  Because of this continual change in distance, I figured calculus is needed.  Since I don't know calculus, I wrote a program that re-evaluates the distance between the Earth and the Sun after every second.  It gives me an answer of roughly 65 days for the Earth to reach the Sun.  My question: can anyone who knows calculus please figure out how long the Earth and Sun would take to reach each other via gravitational force if the Earth stopped orbiting?  I just want to know if the answer my computer program gave me is mostly accurate.


Help with Spivak Calculus Ch3 Problem 6a

Yet again I find myself stuck on a Spivak question. This time it is simply the question that isn't clear to me. It states:  If $x_1, ..., x_n$ are distinct numbers, find a polynomial function $f_i$, of degree $n-1$ which is 1 at $x_i$ and 0 at $x_j$ for $j\neq i$. Hint: the product of all $(x-x_j)$ for $j\neq i$, is 0 at $x_j$ if $j\neq i$. This product is usually denoted by: $$\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x-x_j)$$  To be honest I don't know where to begin. I understand how to create a polynomial equation for a given set of results but this is quite strange. I'm not sure exactly what the author is expecting.  The answer book shows:  $$f_i(x)={\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x-x_j)}/{\prod_{\begin{smallmatrix}{j=1}\\ {j\neq i} \end{smallmatrix}}^n(x_i-x_j)}$$  Which I have expanded out just fine but don't know what to do with.


Finding the limit of $\left(\frac{n}{n+1}\right)^n$

Find the limit of: $$\lim_{n\to\infty}\left(\frac{n}{n+1}\right)^n$$   I'm pretty sure it goes to zero since $(n+1)^n > n^n$ but when I input large numbers it goes to $0.36$.  Also, when factoring: $$n^{1/n}\left(\frac{1}{1+\frac1n}\right)^n$$ it looks like it goes to $1$.   So how can I find this limit?


Traveling with dual citizenship (dutch and US) from US to Netherlands, and back

I've been doing a lot of research on how to travel with dual citizenship and feel like I always get conflicting answers. I'm going to be flying from the US to the Netherlands next month, and then traveling to Edinburgh for a study abroad program. I want to use my EU passport the whole time I am in Europe to avoid needing a visa, but want to make sure I am traveling correctly.   At this point my plan is to check in at the airport in the US with my Dutch passport, and continue using that passport when I land in the Netherlands and throughout my stay in Europe. I then plan on checking in to my return flight back to the US with my US passport and of course showing my US passport when I arrive back in the states.   My main confusion is that I've read that you should always exit and enter a country with the same passport (which I am obviously not doing), but I have also read that you should always enter and exit a flight with the same passport (which I am doing).   If anyone with experience traveling with two passports could let me know if my plan will work and is correct it would be much appreciated! I am not an experienced traveler to begin with so I am very nervous about being questioned by customs or anything like that.


Where do Naruto's movies fall between episodes (I want to know the certain number of episodes that must be watch before each movie

I would like to know a certain number of episodes before attending each movie. I have seen similar questions, but they do not answer my question.


Clarify what the pin icons mean in the new help center

I was confused initially about what the pins mean next to a topic in the new help center.  "those articles are "featured" articles; they are meant to draw attention to the most important site policies or most frequently encountered issues."   If the pin is used to denote an important topic, it should at least be noted as such. Also a pin generally means to me that this is something that I personally selected.  Could their meaning be clarified somehow?


Typescript, Angular:Add hyperlink to mail body using mailto

I have checkboxes and a share button. On click of share button the selected checkbox link will be shared via mail. The mail body will have diet name and on click of the name the user will be redirected to its URL.  As of now I am able to store the seteled diet URL is an array and mail is also pooping up but I cannot see the hyperlink, the mail body looks like this.    Click below      sugar   I want it to be like this:  Click below  bread  butter  sugar   where bread, butter, sugar will be hyperlinks. I am able to form a correct URL but it is not aapearing as a hyperlink in the mail body.Please guide me how to achieve this. Where did I go wrong?? Is there an angular way to achieve this?  Below ia my working code:  ts file          import { Component } from '@angular/core';      @Component({       selector: 'my-app',       templateUrl: './app.component.html',       styleUrls: [ './app.component.css' ]     })     export class AppComponent  {       name = 'Angular 6';       diets = [{         'name': 'bread',         'url': 'www.bread.com'       },       {         'name': 'butter',         'url': 'www.butter.com'       },       {         'name': 'sugar',         'url': 'www.sugar.com'       }];       downloadURL = [];      mailText:string = "";         mailMe(){         var elements = (<HTMLInputElement[]><any>document.getElementsByClassName("selFile"));         for (let i = 0; i < elements.length; i++) {             if (elements[i].type == "checkbox") {                 if (elements[i].checked) {                   this.downloadURL.push(''+elements[i].name+'');                 }             }         }         console.log("this.downloadURL: ",this.downloadURL);         this.mailText = "mailto:abc@abc.com+?subject=files&body=Click below"+this.downloadURL.join(" ,"); // add the links to body         window.location.href = this.mailText;     }        }   HTML
      <input type='checkbox' class="selFile" value="{{diet.url}}" name='{{diet.name}}' />  {{diet.name}}     share


Is vectorizing an image copyright infringement if the image is not CC/Public domain?

Is it okay to vectorize this image to make a poster out of it even though the image is not Creative Commons or anything like that? I'm not using any part of the image directly and only going to use it as a guide to make my own SVG version.  This is the image:    Here is .  It says that it is CC licensed but the original NatGeo one isn't, I don't think.  I don't plan to make money off it or anything, I just want a nice poster and the quality of the original isn't that good.


I've seen on Wikipedia that for a complex matrix $X$, $\det(e^X)=e^{\operatorname{tr}(X)}$.  It is clearly true for a diagonal matrix. What about other matrices ?  The series-based definition of exp is useless here.


Elements of $\mathbb{F}_p$ having cube roots in $\mathbb{F}_p$

Let $p$ be a prime number, and let $\mathbb{F}_p$ be the field with $p$ elements. How many elements of $\mathbb{F}_p$ have cube roots in $\mathbb{F}_p$?   I had this question on an exam and after reviewing I am still not sure. Any help would be appreciated.


I am doing a specific exercise where the quaternion group is realised as a Galois group of some field extension. It goes like this: let $K = \mathbb Q(\sqrt 2,\sqrt 3)$ and $\alpha = (2 +\sqrt 2)(3 +\sqrt 6)$. I want to show that $\alpha$ is not a square in $K$. I tried to solve equations explicitly to derive some contradiction but I didn't succeed. Any suggestions? Thanks in advance.


Trying to write a paper and this larger vertical white space will not go away. How do I get rid of it or at least move the list up?  The code I'm using is:  \documentclass[12pt]{report}  % I cut all the packages out  \section*{Table of Contents}    \addcontentsline{toc}{section}{\protect\numberline{}Table of Contents}   \tableofcontents   I believe that is all the reliant code.   Please help, thanks in advance


Applying boundary conditions to counting combinatorial question

I was trying to count the number of natural number solutions to the equation: $x_1 + x_2 + ... + x_{11} = 20$, such that $0 \leq x_i \leq 9$, for all $i \in \{1, ..., 11\}$. I know how to apply the first boundary condition - if I only required $0 \leq x_i$, then the number of solutions is $$\frac{30!}{20!\cdot10!}$$ because I can interpret the problem as trying to arrange $20$ balls in between $10$ bars, including the possibility of having $0$ balls in between two given bars. I just don't know how to apply the latter condition, i.e. $x_i \leq 9$. Could anyone help me? Thanks in advance!


Setting up different application instances under one DNS

We have a custom java web app. We are setting it up in instances in different vps (different providers, different locations). We have for example:  Instance 1: http://server1/app1 Instance 2: http://server1/app2 Instance 3: http://server2/app3   Each instance is independent and self contained. We have several docens of this instances and will continue to add them.   My question is regarding the dns managment, as we want to map different subdomains to the instances.   client1.mypp.com  > http://server1/app1 client2.mypp.com  > http://server1/app2 client3.mypp.com  > http://server2/app3  clientN.mypp.com  > http://anyserver/appN   Right now we are adding the A records manually to the DNS records to relate subdomain to the ip. We will develop some code to do it using the API of the DNS provider.   Is this the most appropiate aproach? Should we use some kind of proxy instead? We expect to have thousands of isntances accros different servers. I am interested in perfomance and availability.


Is there a measurable set $A$ such that $m(A \cap B) = \frac12 m(B)$ for every open set $B$?

Is there a measurable set $A$ such that $m(A \cap B)= \frac12 m(B)$ for every open set $B$?  Edit: (t.b.) See also  for further answers.


Error: The source filename are larger than is supported by the file system. Cannot delete files. Windows 8.1

I tried changing file name but it won't change. Tried moving and deleting. Tried deleting from cmd but it won't work.


I have a server 2012 with a AD setup with domain.local setup. I would like to add exchange to our new server 2012 just added. our current setup:  1 server 2012 domain setup domain.local with AD 1 server 2012 (new) would like to add exchange on. hosted emails(name.net), and website from godaddy (website name.net)  I would like to setup an exchange server to get away from godaddy emails. but leave the website there for now.  Should i rename my domain.local to .net?  Any help from experts on what they would do would be appreciated.  Thanks


How to convert from high poly to low poly

I'm making a game in the unity engine and for my models i'm using blender 2.6. The thing is that i'm pretty new to graphics design (modeling, sculpting, etc) and by following some tutorials i've managed to make some very high poly meshes for my characters with the sculpt editor, the meshes have about 1.5M - 2M faces and of course a game character should be less than 30K faces so the game runs smoothly with good optimization on an average pc.  my question is how do i translate the details of the high poly stuff to low poly meshes (7k - 30k faces), i've heard about uv unwrapping and stuff but i'm not sure what is the process to follow.  i don't mind if the recommendation is very hard and for advanced users because the primary thing i want to do with this, is to learn.