What does $\mathbb{P}(d\omega)=dw$ actually mean?

I am currently reading S. Shreve's book Stochastic Calculus II, and I have a question regarding Example 1.6.4 (p.35-36) which describes a change of measure, but I am puzzled by the notation.  $\Omega=[0,1], \mathbb{P}$ is the uniform measure and  $$\tilde{\mathbb{P}}[a,b]=\int_a^b 2\omega d\omega=b^2-a^2$$ for $0\le a\le b \le 1$.  The first step is:     We may use the fact that $\mathbb{P}(d\omega) = d\omega$ to rewrite the equation above as   $$\tilde{\mathbb{P}}[a,b]=\int_a^b 2\omega d\mathbb{P}(\omega).$$   I have several questions regarding this statement:   $\mathbb{P}$ is a probability measure from $\mathcal{F}\rightarrow\mathbb{R}$, I cannot find a clear definition in the book what $\mathbb{P}(d\omega)$ actually means. Is $d\omega$ actually an event? Why does this $\mathbb{P}(d\omega) = d\omega$ help in rewriting, shouldn't we need $d\mathbb{P}(\omega) = d\omega$? What does $\mathbb{P}(d\omega) = d\omega$ even mean, and why is this true?


Booked and boarding station differ; can we board from the booking station?

I have booked a ticked from Kota to Chennai and mention boarding from Ujjain. Can I travel from Kota? Is there any penalty, or do we have to go for a boarding change?


CentOS conservative governor, nice error

I changed my CentOS 6 CPU governor from ondemand (the default one) to conservative and got this after restarting the cpufreq service:     /etc/rc5.d/S13cpuspeed: line 88:   /sys/devices/system/cpu/cpufreq/conservative/ignore_nice_load: File or   directory does not exist   So what should I do? Should I create the file and if so, what should I put there?


Proof: $m,n$ are integers: either $4$ divides $mn$ or else $4$ does not divide $n$.

I'm having some trouble in proving the following statement:     If $m$ and $n$ are integers, then either $4$ divides $mn$ or else $4$ does not divide $n$.   Any help is greatly appreciated! Cheers!


What is the best book with american typography rules?

There is russian book,  which is well-known and considered the best comprehensive guide to typography and writing of text in Russian (formatting, margins, font sizes and so on). You can get the idea if you peek my link (even though everything is in Russian).   Is there an American alternative available?


How to root Samsung Galaxy Note 2? I have no experience with rooting. Model number is GT-N7100. Android-version 4.1.1.


Linux Bash: Variable to another variable

i have this:   echo $MSG | sed -e $'s/;/\\\n/g'   I want to put the result of that sed in a new variable called $MSG2  Something like:  $MSG2=echo $MSG|sed -e $'s/;/\\\n/g'   How can i do it?  Thank you!


I've had the problem with several clients that they want to tell me exactly what to do when designing. I'll come up with some concepts, they like one, but then they proceed to directly tell me: change this image, move that to the right, change this color, etc. All of these changes ruin everything they liked about the original design, and of course, it ends up looking very unprofessional.  How do I effectively communicate that that behavior is counterproductive to their product/company? I am here to solve their design problems, and they make me jump through hoops with making the changes they want (and usually when they get them, they say, Oh, that's not working...) Would it be advisable to say something like, "Tell me what problems you have, and leave the design solution to me"?   Some background info: I have made several designs for my client that they have liked, and I feel like they do value my work since they are keeping me busy. However, lately I am starting to feel disrespected by their requests for changes because the changes do not seem to be coming from an actual need, but more because Bob in Sales thinks the logo should be centered. I've tried the normal diplomatic approaches and explaining why things work the way they do (easier to read, target audience likes this look, this way conveys/highlights our core message, etc.), with varying success. I would love to hear your experiences, especially if you have successfully dealt with this situation.  EDIT: Not a dupe, I read the other post. I'll rephrase my question: how have you successfully dealt with stopping a client from art directing? Not, why should I suck it up when the client is art directing?  EDIT 2: The thumbprint client info, while related, is not what my question is. I am interested to know: has anyone successfully stopped a client from art directing? If so, what kind of communication did you specifically use?   The other posts that people think are dupes have answers that relate to A) taking it and dealing with it B) walking away from the client as a last resort. These are not the things I am asking about.  Note: I did see a video of a well-known designer who mentioned he does not allow his clients to art direct and had to stop a client from doing so (he did not elaborate).


Appropriate verb for a child who firmly grabs something

I'm trying to figure out what could be the most appropriate verb to use to describe a child grabbing firmly something in a shop, using a methaphor:     Mark was holding/tightening/squeezing the toy like if that was a raft   and he was adrift in the ocean.   Any seawolf out there :-) ? thanks a lot!


Export remote Postgres table to CSV file on local machine

I have read-only access to a database on a remote server. So, I can execute:  COPY products TO '/tmp/products.csv' DELIMITER ',';   But on that server I don't have permissions to create/save a file, so I need to do this on my local machine.  When I connect to the remote database, how can I execute a command to save the file on my local machine instead of the remote server?  Or, how can I execute a Linux command to connect to the remote database, execute a query, and save the output as a file to my local machine?


How were Feruchemists not affected by Ruin on account of the earrings they wore?

As noted many times in the Mistborn trilogy (I can't remember any exact text), Feruchemists used to keep Metalminds on their bodies - including earrings - to store Feruchemical attributes. It was later revealed that Ruin was able to control any being who's body was pierced with metal which means he should also be able to affect anyone with earring Metalminds (example: Vin herself was manipulated through her earring). How were the Feruchemists not affected by Ruin?


I want to get rid of the normal Ubuntu task bar and have a dock displayed at the bottom of my screen. I tried using Cairio Dock but I dont really like it and still could not get rid of the default dock besides putting it on autohide


I am  analyzing the data of a cohort study. there are three sets of paired data (same measures on same subjects in 3 different point of time).  The problem is that the third set of data have more than 50% missing values.  My question is that, how can I deal with these missing values? does MI help in these repeated measures? it seems that if I delete the missing I loose more than half of my data set.


Let's say I have a table in a spreadsheet that works like a calendar:    Jan Fev Mar ... 1  5   7   1 2  3   4   9 3  8   3   1 4  2   9   0 5  2   1   2 ...   And so on...  I need to make a chart that puts all these values like they were on a single column (instead of the data being split onto different column there's one column with 365 days) making a single (long) line chart Is this possible?  I rather do this in google drive but excel is fine to.  Regards, Joaquim Santos


Defining Commands with Multicolumn: "misplaced \omit" errors

Trying to compile the seemingly straightforward code  \documentclass{standalone} \usepackage{booktabs} \usepackage{array} \usepackage{xparse} \usepackage{tabu}  \NewDocumentCommand{\TblHdr}{O{1} m}{   \multicolumn{#1}{c}{\bfseries #2} }  \begin{document} \begin{tabu}{r*{4}{c}} \toprule \TblHdr{1} & \TblHdr{2} & \TblHdr{3} & \TblHdr{4} \\ \midrule 1 & 2 & 3 & 4 \\ A & B & C & D \\ W & X & Y & Z \\ \bottomrule \end{tabu} \end{document}   gives me the following error:  ! Misplaced \omit. \multispan ->\omit                     \@multispan  l.20 \end{tabu}  ?   I have searched the site, but none of the other questions/answers appeared to have helped. Furthermore, if at all possible, I'd like to understand what exactly is going on here. As I said, the code seems pretty straightforward.


Let $p_k$ be the $k$th prime number. Show that there are infinitely many $k$ such that $p_{k+1}-p_k>2.$  This question was asked in the entrance examination of the Indian Statistical Institute(ISI).  My approach: I tried using Bertrand's postulate, but could not get anything.  I also thought of showing its negation i.e. there are infinitely many $k$ such that $p_{k+1}-p_k \leq2$ is false but it leads to twin prime conjecture.  Help me. Thanks!


Citing a range of papers using numeric keys as in \cite{a, b, c} -> [1-3]

How can I cite a range of papers, the output is a range of numbers, instead of a list of numbers? In other words, when I type  ... some dummy text here is due to me \cite{me1, me2, me3, me4} ...   I want the output to be     ... some dummy text here is due to me [3-6] ...   instead of     ... some dummy text here is due to me [3.4.5.6] ...   (I use LaTeX, and am currently using the amsart class and whatever it includes. But I am open to other suggestions.)


Permission Set is not completely retrieved by Eclipse

I'm having this peculiar problem now in which I try to 'refresh from server' on my Eclipse copy of a Sandbox Environment in order to retrieve a Permission Set and all I get is a Permission Set that has so many things missing inside it.  The 'refresh from server' seems it doesn't work because the contents of the Permission Set only has the <UserPermissions>, it doesn't have all <classAccess>, <fieldPermissions>, etc...  Is this an Eclipse bug? I was able to retrieve the Permission Sets on this Sandbox a month ago without any problems but now I can't get correct contents for my Permission Sets.  Lastly, I checked the Package.xml and the value inside is only this:  <types>         <members>*</members>         <name>PermissionSet</name> </types>   I tried adding the specific PermissionSet on the Package.xml and I still can't retrieve correct Permission Sets.  Thanks.


Is there away to include javascript color code inside a LaTeX document?

I would like to know how to include javascript color code inside a LaTeX document ?


My book on differential geometry claims that a closed ball in $\Bbb R^n$ can never be a differentiable manifold because of the boundary points. The book doesn't really give an explanation for why this is true. Could someone provide more details please? thanks


Node editor - I do not have Diffuse BSDF node available. Why?

Being really new to rendering things, I have little knowledge no how things work in Blender (texturing/rendering wise).  Watching Firechild's tutorial on how to create a golden ring.... he does have Diffuse BSDF and Image Texture nodes available.... which I do not... (there is only 'Image' node)  Downloaded some model from Blendswap and these nodes are there....   My question is what exactly affects the selection of nodes available to a particular scene? Does it has anything to do with the materials/settings used?  Thanks for your reply!  Cheers


Powering a Raspberry Pi using 15A supply

I'm trying to power a Raspberry Pi off a 5V, 15A power supply. Measured with a multimeter, the voltage is actually a little more than 5 - ~5.25V. I've never powered a Pi with anything more than 2A, so will this be a problem long term?


According to :  This is a fast, cookieless domain intended for static content delivered to the   However, all responses from the server set a cookie anyway: $ http https://sstatic.net/ HTTP/1.1 200 OK CF-RAY: 162b88245bc406be-LHR Cache-Control: max-age=604800 Connection: keep-alive Content-Encoding: gzip Content-Type: text/html Date: Sun, 31 Aug 2014 19:11:04 GMT ETag: W/"d5474fdfb5c3cf1:0" Last-Modified: Fri, 29 Aug 2014 18:20:12 GMT Server: cloudflare-nginx Set-Cookie: __cfduid=db60cc6f3e7f6482e37f1f2b85c9dc5881409512264375; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.sstatic.net; HttpOnly Transfer-Encoding: chunked Vary: Accept-Encoding [...]  Is this intentional, or just funny? Edited to add: I understand that the cookie is used to track visiting browsers so that cloudflare can distinguish them from misbehaving hosts using the same or a nearby IP address. However, if the policy is intentionally to serve cookies, then the self-documentation of sstatic.net as a "cookieless domain" is incorrect.


Is there a way to step through two lists of arguments pairwise?

Is there a way to write a macro that steps through two lists of arguments pairwise, like what Python's zip function does? For example, I'd like to write a macro like this (using xparse because that's what I've been experimenting with; I'm open to other options): \NewDocumentCommand{\Zip}{ >{\SplitList{,}}m >{\SplitList{,}}m }{%     % something that calls \myfunc in an itemize environment }  \newcommand{\myfunc}[2]{\item #1, #2}  So that calling Zip{zebra,frog,jay}{mammal,amphibian,bird} is equivalent to \begin{itemize}     \item zebra, mammal     \item frog, amphibian     \item jay, bird \end{itemize}  Is this possible? I've looked into xparse but it seems to only allow stepping through two lists one at a time, not zipping them together. There was a similar question here , but I hope there's a nicer solution now.


Deviance Residuals in logistic regression

How are the deviance residuals (highlighted in yellow) calculated in logistic regression? Please help me to get a good understanding by using a clear example!  Image source: Google


Can we estimate the size of a neutron star based on direct observation?

Are there any neutron stars near enough for astronomers to get a good size-estimate, based on direct observation? I know that there are many theories regarding what happens inside neutron stars, but I want to know if there are any direct observations of nearby neutron stars which give us a clue as to their actual size and density.  Other answers have not helped me, because they were based on THEORY, not DIRECT OBSERVATION !!


Entering for the third time in US under ESTA/VWP after two 90 days stays

I'm writing you as I would like to receive some information about entering in the US under the VMP.I'm an Italian citizen, living and working in Italy, and I entered in the US on December 26th and June 4th, which stays lasted 88 and 87 days, respectively, for both business and vacation purposes.  I searched for detailed information regarding how many days I am allowed to spend in the US under the VWP program - apart of 90 days per stay -, as well as what can be considered a reasonable amount of time between visits, without any luck.   Since I am planning to visit a friend of mine in the US for 9 days, may I ask you if it would be allowed or if there is any constraint that might prevent me to enter in the US? Would it be too risky?   Edit: My question is slightly different than the older one because I'm concerned about entering in the US after two ~90 days stays in one year.


Why is space (almost) flat? Is it because masses are approximately homogeneously distributed?

The question I have is: Why is space (almost perfectly) flat in our neighbourhood? (I am disregarding the deviations due to the sun and the planets.)  Is it correct to say that space is (almost) flat because throughout the universe, masses are distributed (almost) homogeneously? (Greetings to Sciama.)  Or is it more correct to say that space is (almost) flat because that is what occurs without any mass at all? In this case, the answer might be: space is almost flat because there is so little mass in the universe. Is this closer to the truth?  Or is there a third answer?


SEO question in regards to current way of loading my pages

I'm trying to implement SEO-friendly (or at least indexable) way of dynamically displaying categories; first by allowing user to use javascript to dynamically load pages via ajax (.load) and secondly via php upon refresh (include, by means of current $_GET).  This is how I have the category tree implemented:    Each of the menu entries has a href with id, which points to index.php?category=_, which does allow usage of the tree without javascript, to some extent. If javascript is indeed enabled, I load the page (on the right) with ajax.  My question is: if I'm using the current setup, will google indeed index my pages (for example: index.php?category=2)? Thanks in advance!


Where should I exchange euros to rubles?

Where should I exchange euros to rubles once I arrive in Russia (Example: Moscow (at any of the three airports))? Is there a special place directly at/near the airport that takes care of this?  Or  Should I exchange euros to rubles while in home country (France).  It was mentioned on  site that:      It's better to change USD or Euro in banks, it's more safer. At the   airport there`s not best rates.   Is that even true?  Or   Can my visa card withdraw rubbles at an ATM in Russia?


Need help finding a good book on Riemann Geometry

I want to learn more about calculus on manifolds and Riemann Geometry. I have been reading the book Geometry, Topology and Physics by Nakahara. But I find that it is difficult to read due to the lack of theorems and proofs.  I would like to find a book that has a clear structure and is on a level suitable for a Ph.D student in Mathematics.  Thanks in advance!


I am trying to make the negation of the $\gg$ sign in latex. I believe that it exists since It is on my homework sheet that appears to be typed in latex. I tried to draw the sign in detexify, but it did not give me anything. I also tried searching some tables of binary relation signs for latex but I could not find anything.   Thanks for the help, Gabe


While typing a post on SO, I noticed that the word "ok" (when used in the sentence "I'm still learning so it is ok") was marked as misspelled (got to love spellcheck!) The first suggestion, however, confused me. The suggestion was "OK" (as opposed to "ok"). Then I thought, what about "okay"?  So, why is "OK" correctly spelled (vs "ok") and what is their relationship to the word "okay"?  They all have the same meaning; could "OK" be a form of slang or abbreviation?


How do I insert data into a Webmin MySQL Database using PDO PHP

I'm trying to insert data into a Webmin MySQL Database, but every time I hit submit on my form, It doesn't put the information in the MySQL database. I ran a test and it's running all the way to the INSERT part but it still didn't put anything in the DB. I can read from it just fine, but I can't write to it. I have all the permissions, but it still doesn't work. It also get all of the variables ($tblusername, $tblemail, $tblpassword). Here's my PHP (I'm using PDO.) Please help! <?php     if(isset($_POST['submit'])) {         try {         $tblusername = $_POST['Username'];         $tblemail = $_POST['Email'];         $tblpassword = $_POST['Password'];          $conn = new PDO("mysql:host=$servername;dbname=mealplan", $username, $password);         $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);         $stmt = $conn->prepare("SELECT UserName FROM tblUsers");         $stmt->bindParam(1, $tblusername, PDO::PARAM_STR);         $stmt->execute();          if($stmt->rowCount() > 0){         die("Username already in use!");         }else{           $sql = "INSERT INTO `tblUsers` (`UserName`, `Email`, `UserPassword`) VALUES ($tblusername, $tblemail, $tblpassword)";           $stmt = $conn->prepare($sql);           $stmt->execute();         }       } catch(PDOException $e) {       echo "<style>.hidden { visibility: visible; } .shown { visibility: hidden; font-size: 0px }</style>";       }     } ?>


Could someone provide a good reference to look up the existence and uniqueness of Smith Normal Form (SNF) for a PID?    I have seen it done for Euclidean domains but not for a PIDs. I know the difference is not much, but I would like a good reference. Thanks.


Interpretation of positive/negative and magnitude of coefficients in Lasso

I am doing a multiple linear regression, in order to see whether the predictors are positively (positive $\beta$s) or negatively correlated (negative $\beta$s) with the response.  Since I have a lot of predictors, I use Lasso to select variables. With cross-validation, I choose my optimal $\lambda$, but I am left with coefficients ($\beta$s) with no standard errors. I read that the significance testing for penalized regression is still under research.  So my questions are,   1) How do I interpret positive, negative, and 0 coefficients for Lasso?  2) In addition, can I compare the magnitude of predictors (all have the same unit/dimension) to say which has is more important over another on the response?


How to generate schematic visual from Gnucap / Spice files

I am looking at the circuit diagram from   The gnucap description for it is given as C1 0 2 1UF R1 1 2 1K R2 0 2 1K Vin 0 1 AC 1 .OPTIONS PHASE=RADIANS .PRINT OP V(Vin) .OP 0.00 100.00 BY 10.00 BASIC .END  I can run the simulation on this using gnucap fine, see output. But is there a way to generate the schematic visually from just the textual description above using a simple command line tool?


How to boot from iso with Grub2/Burg boot loader

I'm using Ubuntu as my primary OS and alternative is Windows 7 for gaming, and another stuffs. I want to have menu to boot some live CD ISO. Is there anyway to make menu entry in Grub2/Burg to boot ISO file like the CD way?  I see there are some ways to make it possible but almost method need specified boot arguments (kernel parameters). But I have mixed kind of Live OS wan to boot up using boot loader included: Linux, Unix, DOS (for recovery purpose)...   I'm looking for more generic way to make it easy to discover and add to the menu config file.


Detect file executes sendmail: No such file or directory

I have installed a Wordpress site and a phpBB3 forum in the same hosting (site in root and phpBB3 in a folder). Since yesterday, it works very slow. I detected some extrange and new files, and I suppose that somebody hacked my Wp and phpBB. I reinstalled phpBB and now works well. I have pending to reinstall Wordpress.  I can see in /var/logs/httpd/error_log the next message repeated every second: sh: /usr/sbin/sendmail: No such file or directory  How can I know what file is trying to send an email? How can I check for hacked files?  Thank you very much!


It is possible to apply a derivative to both sides of a given equation and maintain the equivalence of both sides?

I have an equation with this shape, where $k,t_1,r \in \Bbb N$:  $$2^{(x+1)^2}=k+t_1(x^2+r)$$  And I noticed that I can find $t_1$ in terms of $x$ as follows:     $$ \frac{{\rm d} }{{\rm d}x} 2^{(x+1)^2} = \frac{{\rm d} }{{\rm d}x} \left( k+t_1(x^2+r) \right)$$   And then I would continue as follows:  $$ 2(x+1)\cdot2^{(x+1)^2}\cdot\ln(2) = t_12x$$  $$ (x+1)\cdot2^{(x+1)^2}\cdot\ln(2) = t_1x$$  So finally:  $$ t_1=\frac{(x+1)\cdot2^{(x+1)^2}\cdot\ln(2)}{x}$$     Is it possible to use a derivative in such case? I think that if both functions $2^{(x+1)^2}$ and $t_1(x^2+r)$ are equivalent and the derivative exists it might be possible, but I am not very sure about the validity of that step. Thank you!


Forget login from connection drop down menu

Recently I logged myself as a different user (testUser) but now that user seems to be persisted in the drop-down menu of connection dialogue box and I couldn't find a way of getting rid of it. Even worse, it seems to be the default login as whenever I change my connection I have to go to the drop-down menu and choose my usual user otherwise the connection will be made in testUser's context. How can I get rid of testUser from connection dialogue box? Thank you.


Regarding chains and antichains in a partially ordered infinite space

I've been given this as an exercise.      If P is a partially ordered infinite space, there exists an infinite subset S of P that is either chain or antichain.    This exercise was given in the Axiom of Choice section of the class. I answered it using Zorn's lemma but I'm not 100% sure. Can you give me any hints?  I used Hausdorff's maximal principle and said that there would be a chain that is maximal. And I used Zorn's lemma on the partially ordered subspace of P that contains all the subsets of P that are antichains. But I don't know if these solutions are correct and even if they are I'm stuck at the infinite part.  I was informed that this question is missing context or other details. I'm sorry but that was exactly how it was given to me so I don't know how to correct it.


What happens to the absorbed colour on an object?

If white coloured light falls on an object, colours of certain wavelengths is absorbed and colour of certain wavelength is reflected. We see the object's colour as the reflected colour.   Then what happens to the absorbed light? Does it move electrons to upper orbit? Then the object should emit some light when they come to their natural state which doesn't happen because then we would also see the absorbed colour. So what really happens to the absorbed colour?


How is SSD lifetime affected by usage pattern and amount of free space?

It is known that SSDs are relatively very limited in the number of writes they can take before starting to slow down or otherwise deteriorate.  Suppose I have a 250GB SSD with 225GB of files which are seldom modified (like system files) and 25GB containing short-lived data (like a downloaded movie that gets deleted soon after watching it) and some free space.  Does all of the new data get written to the same physical components of those 25GB, i.e. "wearing out" this fraction of the SSD very rapidly while the other 90% of the drive hardly gets worn out at all? Or are newer SSDs (or perhaps certain operating systems) smart enough to recognize long-lived data and move it around so that the writes of short-lived data are more evenly spread across the entire drive?


Is there a way to construct a function which is it's own $n$'th derivative (cyclic)?

For $n$ equal to $1$ it's easy:      $(e^x)'=e^x  $   for $n=4$ also:     $\frac{d^4}{dx^4} \sin x = \sin x$   Now is there a way to construct a function where the $n$-th ($\in \mathbb{N}$) derivative is the first derivative which is the function again?  $$\frac{d^n}{dx^n} f_n(x) = f_n(x)$$    Especial looking for big $n$ values. But example functions for (small) $n \neq \{1;4\}$ would also be interesting (write those in comments).


I am when I am building a struct like this in C :   typedef struct packet { uint32_t source;            // processus source uint64_t numPacket;     // Number of the message. The first message has a value of 1 for this attribute. uint8_t ack;                    // is ack or not (0 if not ack) uint32_t size; char message[MAX_BUFLEN];               // message (data) } Packet;   The address of the different fields is not correct. For example, if ptr is pointing on a "Packet" :  ptr               is pointing on the address 0x7fff59464720 &(ptr->source)    is pointing at the address 0x7fff59464720 &(ptr->numPacket) is pointing at the address 0x7fff59464728 &(ptr->ack)       is pointing at the address 0x7fff59464730 &(ptr->size)      is pointing at the address 0x7fff59464734 &(ptr->message)   is pointing at the address 0x7fff59464738   As you can see, this is not the correct address since the size of the source field is a uint32_t (=4) and not 8, and the size of ack is a uin8_t (=1) and not 4.  I do not know why this behave like this. If you have an idea, thanks for your answer.


How generate a reference label from a non-floating figure?

I have a figure that I don't want to float, i.e. I generate it with  \begin{center}     \includegraphics[width=80mm]{figure_file} \end{center}  \stepcounter{figure} Figure~\arabic{figure}. \label{fig:A} Caption text here.  As shown in Fig.~\ref{fig:A}, this does not work!   However, the \label{} command does, of course, not generate the desired reference marker. My question: how can I force this?


SQL Server database design for "archived but available" data

We have this large database (>1TB) that we intend to "shrink".  The database revolves around one main entity, let's call it "Visit".  For discussion, let's say it is a database for a medical practice.  There are a total of 30 visit "types", such as procedure, annual, follow-up, immunisation etc, each of which is a subsidary table to "Visit", e.g. "visit_immuno".  The database has accummulated some 12 years of data since 2000.  Someone has proposed that we keep about 3 years of data in the "live" version and have the rest live in an "old_data" database.  The date is ONLY stored in the "Visit" table since it is normalised.  The Visit table also contains a ROWVERSION column and a BIGINT pseudo-identity (clustered) column.  For all intents and purposes, let's say the clustering key is populated by a SEQUENCE (SQL Server 2012 Enterprise) - we shall name it cid.  The visit.date is not always in the same order as the clustering key, for example when a doctor goes on extended visitations and returns with his "briefcase" of data, it gets merged into the main table.  There are also some updates to the "visit" table that will cause the ROWVERSION column to be out of sync with both the cid and date columns - to put it simply, neither ROWVERSION nor cid would make suitable partition keys for this reason.  The business rule for removing data from the "live" is that the visit.date must be greater than 36 months and a child visit_payment record must exist.  Also, the "old_data" database does not contain any of the base tables except visit%.  So we end up with:  Live DB (daily use) - All tables Old-Data DB - older data for the visit% tables  The proposal calls for a Combined DB that is a shell containing Synonyms to ALL the base tables in the Live DB (except visit%) plus Views that UNION ALL across the visit% tables in the two databases.  Assuming the same indexes are created in the Old-Data DB, will the queries perform well on the UNION-ALL Views?  What type of query patterns might trip up the execution plan for the UNION-ALL Views?


If I enter for example "block 59.164.0.0/20" as a firewall rule.  Does that mean it blocks the IPs 59.164.0.0 to 59.164.0.20 or does it mean something else ?


How do I add a button to the 'fileselect' panel?

I have python code that displays the 'fileselect' panel to retrieve and image file. I would like to add a button and event code to this panel. Currently I initiate the 'fileselect' panel with the following after setting it up.  context.window_manager.fileselect_add(self)   Thanks


Can't set uefi boot order. Faulty firmware?

I am trying to change boot order on my UEFI GPT system (because of preinstalled Windows 8.1) on my HP Envy 15.  Successfully installed ubuntu alongside windows. Boot-repair said it successfully did the job (default boot ubuntu (grub)) but it still auto boots to Windows.  I tried command efibootmgr which seemingly did job, but after restart it was still the same  $ sudo efibootmgr -v BootCurrent: 0006 Timeout: 2 seconds BootOrder: 0001,3001,0002,0003,0006,2001,2002,2003 Boot0000* Notebook Hard Drive   BIOS(2,500,00)................-.U.......U.A.U............................................A......................... Boot0001* Windows Boot Manager  HD(2,c8800,82000,da584079-a49f-42a6-ab07-612e1667dd3f)File(\EFI\Microsoft\Boot\bootmgfw.efi)RC Boot0002* Windows Boot Manager  HD(3,14a800,82000,a49435dc-57eb-4974-8b37-87f1f0a073dd)File(\EFI\Microsoft\Boot\bootmgfw.efi)RC Boot0003* ubuntu    HD(3,14a800,82000,a49435dc-57eb-4974-8b37-87f1f0a073dd)File(\EFI\ubuntu\shimx64.efi)RC Boot0006* ubuntu    HD(2,c8800,82000,da584079-a49f-42a6-ab07-612e1667dd3f)File(\EFI\ubuntu\shimx64.efi) Boot2001* USB Drive (UEFI)  RC Boot3000* Internal Hard Disk or Solid State Disk    RC Boot3001* Internal Hard Disk or Solid State Disk    RC Boot3002* Internal Hard Disk or Solid State Disk    RC Boot3003* Internal Hard Disk or Solid State Disk    RC   setting the order   $ sudo efibootmgr -o 0006,0001,0000 BootCurrent: 0006 Timeout: 2 seconds BootOrder: 0006,0001,0000 Boot0000* Notebook Hard Drive Boot0001* Windows Boot Manager Boot0002* Windows Boot Manager Boot0003* ubuntu Boot0006* ubuntu Boot2001* USB Drive (UEFI) Boot3000* Internal Hard Disk or Solid State Disk Boot3001* Internal Hard Disk or Solid State Disk Boot3002* Internal Hard Disk or Solid State Disk Boot3003* Internal Hard Disk or Solid State Disk   after restart it's the same as in the beginning.  I even tried to setup in Windows 8.1   bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi   but it returned error something like "can't access drive", even though I manually mounted ESM partition. The same error using EasyBCD utility...  My "BIOS" can't select boot partition, just drive...  Any experience with laptop firmware upgrade?


Deleting *.htm files also deleted *.html files

What is going on here??  Bunch of *.html and *.htm files in my directory, I do a del *.htm and after that the *.html files are also gone:    I noticed it happening in Total Commander when I typed the command, then checked that it also happens in a (CMD) command window.  The extension is not essential, the same happens with e.g. fantasy extensions *.bon and *.bonk  Win XP SP3


Usage of "she" instead of "he" for inclusiveness

Ten to five years ago I was reading , and in a few articles I stumbled upon sentences like "The user should... She needs to...", with "she" referring to the user. Unfortunately I can't find anymore the original quotes, but this was the gist of them. Now, English is not my native language (French is), and I wondered then why was the author using "she" where I would have used "he" or (even then) "they". I know there are related questions here, but I don't think mine is exactly a duplicate. What I'm really asking here is whether "she" may have been considered in the recent past a more inclusive pronoun than "he". It seems that - at least according to  -  is nowadays an acceptable default when nothing is known about someone's gender preference. My intuition is that a few years ago using "she" may have been a - maybe American English - attempt for inclusiveness, but I'd really like to hear the opinion of native speakers on this feeling of mine.


What will happen to a naked singularity during the Big Rip?

I apologize in advance if some concepts I use are vague, but I am just an enthusiast. I have read that the  will not rip off black holes because the event horizon will become equal to something else that I cannot remember. I understood that, even if I do not remember the word for the other horizon. But that assumed that black holes do not evaporate, correct? or the big rip somehow will prevent that? if not, once I have a  naked singularity, will it be ripped of by the dark energy field, or it will somehow become larger and become a wormhole.


How to get spontaneous arcane casting without an armor penalty in pathfinder?

How could I get a gish in pathfinder with spontaneous arcane casting without having to worry about spell failure chance.  To those that would say sorcerer/fighter, how do I avoid the spell failure chance? and how expensive would that be?  I was originally thinking I was going to have to pick something like magus for avoiding armor failure chance, so I was trying to figure out how to cast spontaneously, but if there is an effective and cost effective way to avoid the armor spell failure, that would be great.  So a viable solution would be:   A class that already has spontaneous arcane casting in armor. OR a way to avoid the armor spell failure on a class with spontaneous arcane casting. OR a way to gain spontaneous arcane casting on a class that can already ignore the armor spell failure penalty, but has to prepare their spells in advance.


How to number equations with a list environment

Hi I wish to number equations  with a list environment   \begin{itemize} \item Lol \begin{equation} y_t=h_t(\hat{x}_{t|t-1}) \end{equation} \end{itemize}   I want  y_t=h_t(\hat{x}_{t|t-1}) in the same line of Lol... Can you help me to find out a way?


When evaluating $f(x)=\left(\dfrac{e^x-1-x}{x^2}\right)$, we observe large relative error as $x \rightarrow 0$.   Find a method to evaluate $f(x)$ to full machine precision for all $|x|<1$.


Proving that Tensor Product is Associative

I want to show that $X\otimes(Y\otimes Z)$ is isomorphic to $(X\otimes Y)\otimes Z$.  Intuitively I think I should just choose bases $\{e_{i}\}_{i\in I}, \{f_{j}\}_{j\in J}$, and $\{g_{k}\}_{k\in K}$ for $X,Y,Z$ and map  $$e_{i}\otimes(f_{j}\otimes g_{k})\mapsto (e_{i}\otimes f_{j})\otimes g_{k}$$  This defines a bijective correspondence between basis elements and so should induce a vector space isomorphism.    Is there a way to do this using the universal property of the tensor product?    $\bf{\text{Context:}}$  I am working through Introduction to Tensor Products of Banach Spaces by Raymond Ryan, and am working on exercises at the end of the first chapter.  I'll try to summarize what I have available.  We defined the space $X\otimes Y$ to be linear functionals on the space $B(X\times Y)$ of bilinear maps on $X\times Y$.  That is, $x\otimes y:A\mapsto A(x,y)$ for $A\in B(X\times Y)$.  We have stated and proved  $\bf{\text{Universal Property of Tensor Products}}$:  Let $X,Y,Z$ be vector spaces.  For every bilinear $A:X\times Y\to Z$ there is a unique linear map $\hat{A}:X\otimes Y\to Z$ such that $\hat{A}(x\otimes y) = A(x,y)$.  Next we proved that the Tensor product is unique up to isomorphism (in the sense of having this property).  We did not define any higher tensor product structure such as $\otimes_{i\in I}X_{i}$.


Prove an inequality with a $\sin$ function: $\sin(x) > \frac2\pi x$ for $0<x<\frac\pi2$

$$\forall{x\in(0,\frac{\pi}{2})}\  \sin(x) > \frac{2}{\pi}x  $$ I suppose that solving $ \sin x = \frac{2}{\pi}x $  is the top difficulty of this exercise, but I don't know how to think out such cases in which there is an argument on the right side of a trigonometric equation.


Why does removing the dot from bl_idname break my addon?

I've made an export script, sorry to say much of it is copy paste coding.  It was working fine, but now:    There should be an extra menuitem 'Waveller' -- it was there and it was working, but it has just disappeared!  ARGH!  I must have done a nono while refactoring the code.  I have tried removing and adding in:    What is going wrong?  Here is my code:  bl_info = {     "name":         "Waveller",     "author":       "π",     "version":      (0, 0),     "blender":      (2, 6, 2),     "location":     "File > Import-Export > Waveller",     "description":  "Export Verts and Faces in Waveller Format",     "warning":      "",     "wiki_url":     "http://www.waveller.com",     "category":     "Import-Export" }  if "bpy" in locals():     import imp     if "export_waveller" in locals():         imp.reload( export_waveller ) else:     import bpy  from bpy.props import StringProperty, BoolProperty   class WavellerExporter( bpy.types.Operator ):     '''Save in Waveller format'''     bl_idname = "export_waveller.vert"     bl_label = "Export Waveller"      filepath = StringProperty(             subtype='FILE_PATH',             )      check_existing = BoolProperty(             name = "Check Existing",             description = "Check and warn on overwriting existing files",             default = True,             options = { 'HIDDEN' },             )      def execute( self, context ):         from . import export_waveller         export_waveller.export_all( self.filepath )          return {'FINISHED'}      def invoke( self, context, event ):         if not self.filepath:             self.filepath = bpy.data.filepath         # bpy.path.ensure_ext(bpy.data.filepath, "")         wm = context.window_manager         wm.fileselect_add( self )         return { 'RUNNING_MODAL' }   def menu_export( self, context ):     self.layout.operator(                          WavellerExporter.bl_idname,                          text = "Waveller"                          )   def register():     bpy.utils.register_module( __name__ )      bpy.types.INFO_MT_file_export.append( menu_export )   def unregister():     bpy.utils.unregister_module( __name__ )      bpy.types.INFO_MT_file_export.remove( menu_export )  if __name__ == "__main__":     register()   I did do a bit of fiddling, I remember changing:  bl_idname = "export_waveller.vert"   to  bl_idname = "export_waveller"   (changing it back doesn't fix this)  Well if anyone can put me right I'm very grateful. Also, corrections to any hideousnesses you see lurking in the code are most welcome!


Looking for way to copy first line of text file to end of every line

Is there a way to copy the first line in a text file to the end of every line? - could include copying line 1 to the end of line 1 if it simplifies things.   I have:   __1  2  3   I want:    1  2__1  3__1   or    1__1  2__1  3__1   It has to be easily modified to handle multiple files.  Any suggestions?  Big thanks.


As a new user to a specific community, I was asking a question. However, I was not able to add the specific topic tags I wanted to as they did not exist yet, and being a new member of that community I didn't have anywhere near the rep needed to create a tag.   Would it be an idea to allow new members of a community to "request" a tag to be temporarily created for them if no other similar tag exists, then that moderators check to see if these tags are relevant or not, and then approve or disapprove the temporarily created tags?  For this idea it may also be necessary to create a tag "blacklist" that irrelevant tags to certain communities can be added to, so that if someone would try to create this they would automatically be denied.


How fast is Earth moving through the universe?

As the galaxy is moving and the solar system orbiting the galaxy and the Earth orbiting the sun. So how fast is each object moving and what is the fastest we move at?  Do we even know how fast the galaxy is moving that is not relative to another galaxy (although I guess velocity has to be measured relative to something).


Schengen Visa Refusal: Does it make sense to appeal?

My visa got denied by the Greek embassy in Abu Dhabi for the reason below: the information submitted regarding the justification for the purpose and conditions of the intended stay was not reliable.  Does it make sense to appeal for this?  I have no idea why they denied my application while my friend got hers. We applied together and submitted the same documents, booked hotels and tickets. My purpose is a tour for 6 days.  Here are the documents I submitted:   Schengen visa application form (Greece) copy of my passport recently renewed valid from 16/05/2015 to 15/15/2017 copy of my UAE visa valid 2017/05/13 3.5 x4cm photo in white background RSA travel insurance with a coverage of Euro 30,000 from 02/10/2015 to 10/10/2015 6months NBD bank account statement with a nice balance (original with bank stamp) No-objection letter from my employee stating my position, salary, date of my recruitment. Booked hotel & ticket fares with itinerary details


I currently finished my undergraduate studies and I plan to apply to PhD programs in the near future. In the mean time I will be starting a masters to get additional research experience and take some advanced courses in my field of interest. I plan to go into Condensed Matter Physics (CMP) and I plan to take masters courses in CMP and get research experience in CMP. During my undergrad I was a Physics and Mathematics major who had taken some classes in Engineering to get some "hands on" and "practical" experiences. I did well in these classes and learned a lot. During my time as an undergrad I also have taken some grad courses in physics; all but one were CMP-related or CMP pre-requisites and I did well in these as well. Although I did well in my Physics, Mathematics, and CMP-related classes, I originally wanted to go into a different area of Physics and so my last graduate class was in this non-CMP area. I found out during that semester that this area was not that interesting to me after all and that CMP was something I really enjoyed. This class was also stressing me out and was going to affect my performance in the other CMP-related classes I was taking. As a result, I decided to take this class as Pass/No-Credit (Covid Pass/No-Credit); this lowered my anxiety and I was able to do well in my other classes. In the end I performed well in my graduating class and received some honors and accolades from the university. During that semester it seemed to me that this was the right thing to do. Looking back now, I am wondering: will grad admissions frown upon the Pass/No-Credit in this non-CMP graduate course? Will they think I slacked off, or will my other classes counter this? Or should I not sweat it and move on?


For all nonnegative real numbers $x,y$ and $z$, prove that $\dfrac{(x+y+z)^2}{3} \geq x\sqrt{yz}+y\sqrt{xz}+z\sqrt{xy}.$

For all nonnegative real numbers $x,y$ and $z$, prove that $$\frac{(x+y+z)^2}{3} \geq x\sqrt{yz}+y\sqrt{xz}+z\sqrt{xy}.$$   It seems like AM-GM works here. We have $\dfrac{(x+y+z)^2}{3} \geq \dfrac{(2\sqrt{xy}+z)(2\sqrt{xz}+y)(2\sqrt{xy}+z)}{3}$. Then I get stuck and don't know what to do next.


Difference between using structures with methods and with functions and classes?

Recently I was seeing one github project written in C++ that define objects with structs.  Example:  struct Example {     std::string message;      Example()      {         message = "foo";     }      void setMessage(std::string newMsg)     {         message = newMsg;     }      void getMessage(std::string newMsg)     {         return message;     } }   In researches, I found a definition of the difference between define object with struct and class, is: in struct, methods, functions, and attributes are public by default, in class the same are private by default.  My questions are: What are the benefits to use structs than classes?


Difference between different implementations assigned to broader type in Java

I know that its considered best practice to assign subclass implementations to variables of an Interface type in order to maintain flexibility like so:  List<Integer> list = new ArrayList<Integer>();   My current understanding is that when declaring list as type List, you limit its functionality to only implementations of methods that type List requires, and doesn't allow implementation-specific methods. That said, what's the difference between:  List<Integer> list = new ArrayList<Integer>();   and:  List<Integer> list = new LinkedList<Integer>();   Other than some obvious performance differences caused by the different implementations of each class for the List interface, are there any differences?  As another example, using Set, I know that doing:  Set<String> set = new HashSet<String>();   gives you a HashSet as a Set, whereas:  Set<String> set = new TreeSet<String>();   gives you a TreeSet as a Set which means (among other things), that set is automatically sorted. But isn't the automatic sorting an implementation-specific function of the class?


How to split list into equal parts? Python


Why my figure is referenced as [1] while it is in middle of the document?

I am citing a figure from paper. I inserted \cite{..} in the caption of the figure. The figure is referenced as [1], although it is in middle of the document.  \documentclass[12pt,a4paper]{report} \setcounter{tocdepth}{5} \setcounter{secnumdepth}{5} %\renewcommand{\algorithmicforall}{\textbf{for each}} \usepackage{graphicx}  \usepackage{indentfirst} \usepackage{hyperref} \usepackage{color,soul} \usepackage{amsmath} \usepackage{algorithm} %\usepackage{algorithmic} \usepackage{algcompatible} \usepackage{booktabs} \usepackage{caption}  \usepackage{tikz} \usepackage[english]{babel}  \usepackage{natbib} \usepackage[final]{pdfpages} %for embedding another pdf \usepackage{setspace} \captionsetup[table]{skip=10pt} \definecolor{lightblue}{rgb}{.80,.85,1} \sethlcolor{lightblue} \usepackage{verbatim} \usepackage{parskip} \usepackage{enumitem}   \begin{document}  %\renewcommand\bibname{References} %Renames "Bibliography" to "References" on ref page  %include other pages \input{chapters/title.tex} \input{chapters/certificate.tex} %\input{./declaration.tex} %\input{./dedication.tex} %\input{./acknowledgement.tex} %\input{./abstract.tex}   \pagenumbering{roman} %numbering before main content starts \tableofcontents \listoffigures \listoftables  \newpage \pagenumbering{arabic} %reset numbering to normal for the main content  \chapter{Introduction} \input{chapters/Chapter1.tex} \chapter{Literature Review} \input{chapters/Chapter2.tex} \chapter{Techniques Used} \input{chapters/Chapter3.tex} \begin{comment} \input{./chapter_4.tex} \input{./chapter_5.tex} %\input{./appendix.tex} %\input{./references.bib} %\mbox{} %\nocite{*} %\bibliographystyle{ieeetr} %\printbibliography \end{comment}  \newpage %\addbibresource{reference.bib} %\renewcommand{\thepage}{} \bibliography{reference} \bibliographystyle{unsrt} \end{document}


How to remove unicode special characters in a string in python3

How to remove special character in a string. Example: Actual string is 'xx' but we are getting unicode character in string as âxxâ Please suggest ways to remove special character(â) in above string with python3.


How was Loki able to breathe when Thor put his hammer on Loki's chest

How was Loki ultimately able to breath when Thor put  on his chest  There are several points I condsidered,   Worthiness      Worthiness Enchantment: This enchantment surrounding Mjölnir prevents   it from being wielded by anyone save those who have been found worthy.   Thus far, this includes Thor, the Red Norvell, Buri, Bor, Odin, Beta   Ray Bill, and Captain America. To anyone else, Mjölnir cannot be   lifted from the ground[citation needed] nor wrested from Thor’s grip.   So we all know that only someone worthy can weild the hammer   Mjolnir's actual weight        The magic of the hammer makes its weight arbitrary. Consider that   weight is the force on an object due to gravity, that means that we   have to take into account the mass of the hammer and gravity(a   constant). However, the hammer doesn't adhere to physics as we know   it.      At one moment it can be wielded by Thor, set on a table without   breaking the structure, and fly through the air. At the next moment   the Hulk himself, who we know to be exceedingly strong can't lift it   up. If we attribute these instances to its weight changing, then it   can obviously be any arbitrary weight necessary. (Technically we don't   know if there is an upper bound but as it's magic it is safe to say   there is, in so far as it is convenient to the plot). If we attribute   them to some force other than a change in weight, the weight still   becomes inconsequential, as it still performs the same way as if it   did not have weight.   From the answer I can only assume that due to its magical properties that it can be placed on any inert object and not crush it. So the actual weight of Mjolnir should not cause anyone to not be able to breath due it is actual weight.  So ,to my question, My issue is that no one worthy can lift the hammer, so would it not move with Loki's chest movements and as he breaths in move closer to the ground, but due to him not being worthy when breathing in would not be able to raise the hammer, so with every breath it would move close to the ground and thus crushing his chest so as he could no longer breathe any more?   I can't see any magic working here, as the worthiness prevents anyone not worthy lifting it under any circumstance and if someone was to say it would keep the same height as when Thor placed it, Loki could breath out and therefore create a gap between him and Mjolnir and then escape. I would liken this to a boa-constrictor, every time he moved the hammer would move closer to the ground ultimately crushing him.  So I don't see any scenario where Loki could breath after having the hammer placed on his chest.


What exactly is a bad backlink that is Disavow worthy?

I have been reading Webmasters SE and many other blogs on this topic but I could not understand how do we truly evaluate a bad link that we must disavow in GWT. Everybody seem to have a different opinion on this.  A little background  I am a WordPress developer and 3 years ago I gave away a WordPress theme to my blog visitors which has a dofollow link back to my business website. Like this.  WordPress theme designed by MyBusinessName   From last 2 years I was not paying any attention on organic traffic to my business website because of other projects.  That free WordPress theme helped us getting ~10K backlinks from variety of domains and websites. All most 99% backlinks are from non-related websites and in many different languages.  Now  Last week it came to my attention that in October 2013, organic traffic from Google started decreasing and in just 2 months it became as low as 25% of October. Before October it was gradually increasing ~5-10% per month.  So I researched and draw to the conclusion that it could be because of Penguin Update. Since  was introduced at the same time.  Now I need information on what a bad/toxic link is.  I was about to disavow almost all links but after reading many topics on Webmasters SE I think I need more information on how to identify a bad link.   Does credit link in footer consider as spam because it build thousands of backlinks? Do foreign language website backlinks consider as spam? Should I remove all backlinks from theme users because almost all are from non-related content domains? Although some links from non-related content domains have nice DA/PA. Should I remove those too? I understand foreign language anchor text backlink could be a spam but what if it is from related foreign language content.   The question is how exactly one can find a link that is bad and must be removed.


I have a webpage taking a new user name & password as input. For scripting, I am using AngularJS.  <div class="form-group">  <input ng-model="prc.userName" placeholder="User Name" type="text" class="form-control" autocomplete="nope" required autofocus /> </div>   This input box always gets auto-filled, I don't want it to get auto-filled.  Question reviewed prior:   // These attributes do not work autocomplete="off" autocomplete="false"   My chrome version: Version 73.0.3683.103 (Official Build) (64-bit)  How can I do that?


Answers flagged as "Very Low Quality" should have the same tools available to them as when flagged as "Not an Answer"

Currently, if an answer is marked as "Very Low Quality", we are only given options to delete the post, or ignore the flag.  However, there are many times when the answer should be converted to a comment, but we can't, because the flag was wrong.  If an answer is flagged as "Very Low Quality", then I'd like to see the same tools made available for the post as if it was flagged "Not an Answer" (including , if it is implemented).  This would help the workflow considerably.  It should be noted that this is a technological solution to a community problem; we have people who are flagging posts that are not an answer as very low quality (and conversely, posts that are "Not an Answer" as "Very Low Quality", such as link-only answers).  Given that most flags are to be taken as an indication that something is wrong, and that we shouldn't nitpick over the type of flag (only if it was helpful or not, ), we should have access to all of the tools for an answer no matter what the flag is (because we aren't going to change the social conditioning, and rightfully so).


Bug in Stack Overflow Markdown rendering when code follows a list

Code following a list, though not to be included in the list itself, is not correctly rendered, as shown below. I have tried inserting linebreaks, to no avail.  Inserting "dummy" text will help the renderer.  Have I misunderstood the formatting?  The downvote as a duplicate is fair, as the original question is definitely the same.  I should have searched meta for this problem. However-- many (appreciated) answers have explained various workarounds or manual spacing adjustments.  These suggestions overlook a problem I mentioned (in the comment in the sample code snippet): the {} (code) widget does not format the code (either as a list item or following the list) in this context.  This is, IMO, a UI/UX bug (confusion which lead to this post, obviously).  By comparison, if the B (bold) toolbar widget failed to bold the text in certain contexts, I think it would be recognized as a bug without much contention. Here is a list.  One  Two  Three module Foo Not formatted as code, despite four space indentation and trying the {} widget. end   Here is another list.  One Two  Inserting this text fixes the renderer. module Foo   # Now formatted as code. end


I made an invitation for an event in LaTeX, with output at 4.25in x 5.5in.  I'd like to place four of these in a 2x2 grid, and get an 8.5in x 11in document for printing.  No margin changing, no resizing, just stick the pages together.  One would think this should be easy, but I haven't had any luck actually doing it...  Some utilities I've tried:   pdfjam --nup 2x2 out.pdf (output has dimensions 8.27in x 11.69in. I can't tell what's gone wrong, but I don't want this off center) imagemagick with +append and -append.  The PDF gets rasterized and the text doesn't come out well.   Any ideas?  The option to set the page size originally was  \usepackage[paperwidth=4.25in,paperheight=5.5in,margin=0.7in]{geometry}


An expression to define that "very little span of time"

I am referring to the context where you miss or don't miss  something by a very short time, like when you miss or succeed in taking a train or a flight by just a few minutes or even a few seconds. What are the common expressions  or sayings that can be used in such cases?


I'm trying to make a simple 3D house with doors, roof, and stairs, I made all of it from the same cube so it would all line up perfectly-ish.   My trouble is I have no idea how to remove sections of it from the block so I can set the material and textures how I'd like.   So for instance, I want to make the doors out of wood, and not have the entire house look like a door.  Thank you.


I'm having trouble writing a program that will give me a YES or NO message given the input I enter for my robot. I want to enter my wheel configuration (doesn't matter what it is), and I want the output to show YES if it can move with the wheel configuration I enter.  Thus far, I have this basic code:   If(a=="yes"){         System.out.println("YES");     }     else if(a == "no"){         System.out.println("NO");   Notice how I've not added numbers into the bracket because I'm not sure how to approach this, and it's the first time I'm really testing myself - and I'm new to Java. Help is appreciated as ever.


So I was playing a game of LoL when it suddenly says that "Your team scored an Ace!" I have never seen an Ace before, is this new in 4.20?


My table is like this:  Sitecode    Month  Amount --------    -----  ------ XX          Jan     1000 XX          Jan     3000 XX          Apr     3000 XX          Apr     1000   What I want is, to show the result something like this:  Sitecode    MonthJAN   MonthAPR --------    --------   -------- XX          1000       3000 XX          3000       1000


How to get the list of table name in oracle where any one column value(not column) of table contain one text which I passed?

I want the table name in oracle which contain the one value which I passed .  How can I create query which will give me table name from my database all table who's  column contain the text which I passed to query.   Thanks in Advanced.


How to construct a tuple of two from list

How to construct a list of tuple from a list.  Let a list data_set be  data_set = ['a', 'b', 'c', 'd']   Output I needed is   tuple_set = [('a', 'b'), ('c', 'd')]   I am new to python, a little help 'd be greatly appreciated.  Thanks in advance


Why was Kylo Ren unable to stop the bowcaster shot from Chewbacca?

At the beginning of 'Force Awakens', Kylo easily holds a blaster shot in-air, but towards the end, he does not stop Chewbacca's Bowcaster shot.  Why?


Is there a term/word for using an incorrect homophone

What would you call the following:     Speak now or forever hold your piece.


Two uncountables sets are always equinumerous?

I know that two sets are equinumerous if there exist a bijection between them, and they are uncountables if there exist another bijection between the real numbers from 0 to 1 and a set.  So, as they requiere both conditions, can I maintain that they are equinumerous?


Combine multiple rows in one row in SQL Server query


Can I use the middle button on touchpad as right click button?

I am using a Lenovo W500 thinkpad. The right click buttons on it have been busted. I was wondering if there was a way to reconfigure mouse functionality to use the center button (primarily for scrolling) as a right clicking button instead.


How do I set a bash variable that contains another variable?

I am trying to set the variable service to be the value of   var1=first/second echo $var1 | cut -d '/' -f 1 var2=$var1 | cut -d '/' -f 1" echo $var2   The result of echo $var1 | cut -d '/' -f 1 is "first" which is correct.  However, I haven't been able to set the result of this to another variable.  In the case above, var2 is empty.  What would the correct syntax for line 3 be so that the part of the string before the \ is returned as the value of var2?


I was wondering, is the localization of a UFD also a UFD?    How would one go about proving this? It seems like it would be kind of messy to prove if it is true.  If it is not true, what about localizing at a prime? Or what if the UFD is Noetherian?


$E = h\nu$ and $P = h\nu/c$ in vacuum. If a photon enters water, its frequency $\nu$ doesn't change. What are its energy and momentum: $h\nu$ and $h\nu/c$ ? Since part of its energy and momentum have been transferred to water, it should be less.  If water's refractive index is $n$, are the energy and momentum equal to $h\nu/n$ and $h\nu/c/n$ ?


Is it possible to prove that for any non-constant continous real function there is an interval on which the function is strictly monotonous?

I came across this question when I tried to solve a math problem, and my solution was heavily based on this statement above. I find it very intuitive because you can't draw a continous function from one point of the plane to another (with different y's) without having to draw the line such that it is possible to find a very small interval on which the function is strictly increasing/decreasing. My question is the following: is this statement provable (and how the proof would unfold) or even true? I asked my math teacher whether there is a theorem about this topic, and he couldn't remember one.


I'm just looking to prove that there is a isomorphism between the groups $C_2\times C_3$ and $C_6$ but I am struggling with the basics.  I know that $C_2$ consists of $e, x$ so I'm just wondering what the elements of $C_2 \times C_3$  are.  Thanks


Can $\mathbb C^*$ be expressed as a direct product of two proper non-trivial subgroups ?

Is it true that $\mathbb C^*$  can be expressed as a direct product of two proper non-trivial subgroups ?


Does War Caster let you cast Green-Flame Blade instead of an attack of opportunity?

Assume you have the War Caster feat and can cast single-target spells instead of making an attack of opportunity.  The  feat says:     When a hostile creature’s movement provokes an opportunity attack from you, you can use your reaction to cast a spell at the creature, rather than making an opportunity attack. The spell must have a casting time of 1 action and must target only that creature.   The description of the  spell says:     Make a melee attack with a weapon. On hit, the target suffers the attack's normal effects and fire leaps to a different creature you can see within 5 feet of the original target.   If there were no adjacent target, would you allow a player to use this spell instead of an opportunity attack?  If you said yes and there is an adjacent creature, would the player be allowed to forego the secondary damage to use it?


Find a short path connecting vertices of a square

I have the following assignment:     Given a square with side length equal $1$, find a set of lines connecting four vertices of this square. Sum length of the lines should be $\le 2.735$.   I think I could use some generalization of Fermat triangle problem, but I couldn't find any interesting material on generalizing it for more points. Also, I cannot just divide square into two triangles because it gives path longer than $2\sqrt2$ in any case.  Is there any theory that could be helpful in my case?


Group theoretic meaning of natural isomorphisms between certain functors

So imagine you have a group $G$ and we consider the set of group homomorphisms from $\mathbb{Z}$ to  $G$ specified by  $\forall g$ $\in G$ $\exists$   $\phi(1)=g$. Each of these homomorphisms is in 1-1 relation with the elements of $G$.  Consider groups for a moment in the context of category theory, viewing the groups as one object categories and thereof group homomorphism as functors. What would a natural isomorphism mean in group theory terms for G?  My thoughts are that the natural transformations equate to maps between homomorphisms and since the homomorphisms are in 1-1 relation with the elements of G, then a natural transformation is a map between group elements, i.e another element of the group. I'm not entirely convinced by this.   Anyway continuing my reasoning a natural isomorphism is a map between the homomorphisms that has an inverse, the thing is in relation to the elements of G this is every element? Furthermore I'm looking to find an equivalence class defined by this natural isomorphism, is this just a collection of the elements that are each others inverses?  Thanks in advance for any assistance.


How to partially hide content in beamer latex?

I tried all overlay options like hide, uncover, visible but didn't get solution. I don't know how to partially hide the content that will display in next slide. Here is the example what I really want to do. In which the bullet 2 content will display in next slide but partially hide or a shadow in current slide.


Has a Star Destroyer ever actually destroyed a Star?

I am wondering if a Star Destroyer has actually destroyed a sun/star before?   If so, then why was the Death Stars made so big to destroy planets if The Empire already had ships that destroy suns?  Is not then why are they named Star Destroyers if they haven't/can't destroy Suns?


How to get vertex snapping to snap to one vertex

The following image is my failed attempt to make a sword handle's surface meet the blade's bottom. How can I snap the blade's bottom to the handle?


Non-neutral political phrases and terms in user profile and messages

1. Example  ():  Since February 2014, Ukraine is suffering from Russia's armed invasion. If we fail to stop the Russian tanks in Ukraine, we would have to stop them in Poland, Baltic states, and finally, in your backyard. Don't wait till the last moment. The world has to stay together to stop Russian invasion in Europe as well as the Russian-equipped, Russian-trained, Russian-financed, and Russian-inspired terrorism all over the world.  Part of  in Travel Stack Exchange ():  At the moment, Russian language is associated with Russian invasion even though a lot of people still speak Russian. For me speaking Russian in Ukraine is like going to WWII occupied France(1) and trying to speak German with French people.  I think, that it contains non-neutral political phrases and terms.  2. Questions    Is this @bytebuster content allowable for Stack Exchange sites?   1.1. If no, what is best for users to do, who saw this content? Flag to moderators or is it better to do something different?     3. My opinion See :  I am completely uninterested in being badgered about social causes when I visit a site for expertise. I literally do not care what the cause is. I don't care which political groups support it even if those are the same as political groups I personally agree with, and I am disinclined to spend time here if on every page I have to scroll past some kind of social/political guilt trip.   4. See also  , .


A closed form of the series $ \sum_{n=1}^{\infty} q^n \sin(n\alpha) $

I am having problems with the following series:  $$ \sum_{n=1}^{\infty} q^n \sin(n\alpha), \quad|q| < 1. $$  No restrictions on $\alpha$. I need to find out whether it converges and if yes, evaluate its sum.  I can see that it's convergent using the comparison test. But I fail to find its sum. So far I tried grouping subsequent terms and using trigonometric formulas, but it didn't help me much.   Where should I start when I see trigonometric functions in a series? In general, I have no idea where to take off in such situations.  Thanks in advance.


Sudo parse error while running any sudo command

The following error is triggered when I run sudo apt update  >>> /etc/sudoers.d/README: syntax error near line 1 <<< sudo: parse error in /etc/sudoers.d/README near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin   README   # # As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on # installation of the package now includes the directive: # #   #includedir /etc/sudoers.d # # This will cause sudo to read and parse any files in the /etc/sudoers.d # directory that do not end in '~' or contain a '.' character. # # Note that there must be at least one file in the sudoers.d directory (this # one will do), and all files in this directory should be mode 0440. # # Note also, that because sudoers contents can vary widely, no attempt is # made to add this directive to existing sudoers files on upgrade.  Feel free # to add the above directive to the end of your /etc/sudoers file to enable # this functionality for existing installations if you wish! # # Finally, please note that using the visudo command is the recommended way # to update sudoers content, since it protects against many failure modes. # See the man page for visudo for more information. #


Is there a word for taking action on someone else's behalf against their judgement

I'm looking for a word that's similar to patronizing but without the negative implications. Just the action of taking on oneself the responsibility of making a decision for another adult without (or in spite of) their contrary input. It was [missing word] of you to throw away the rest of my Doritos because you think they're bad for me.


With Object > Transform > Origin to Geometry, an object's origin is moved to its geometry's center. How can I get this center in script?  I don't want to move its origin, I just need to get its center.


Can I use the same Preliminaries section for multiple papers in Computer Science?

Some writings in Computer Science papers/conferences usually include the "Preliminaries" section, where we write the general notations and basic knowledge necessary for understanding the contents of the papers.   Can I use the same thing that I wrote in Preliminaries section for (conference or journal) paper A, in Preliminaries section for other papers B, C etc. also? Because basically I will need to say the same thing over and over again..


Two trains travel on the same track towards each other, each going at a speed of 50 kph. They start out 100km apart. A fly starts at the front of one train and flies at 75 kph to the front of the other; when it gets there, it turns around and flies back towards the first. It continues flying back and forth till the two trains meet and it gets squashed. How far did the fly travel before it got squashed?  The question is relatively simple - the trains take an hour to collide, and in an hour the fly would travel 75 km. However, the question got me wondering: Lets say you are given a time $t$ in hours(where $t< 1$) How many "rounds" would the fly make in $t$ time? A round  is defined as moving from one train to another and back. How would I model the equation?


How to design for a very complex table on mobile?

I've searched all over, seen some examples, but none of them are barely close to my challenge. See image attatched.    Obviously locking a column won't work. I'm out of ideas.


Determine the best k when performing knn

I am using the knn means algorithm to distinguish groups. In case on the iris dataset, lets take this example:  from sklearn import datasets  iris = datasets.load_iris() X = iris.data   I understand that I can create different clusters with k. What I am looking for however is a way that can help me to determine what is the best k, so whether 2,3,4 etc... creates the best and most homegenous groups?  Any thoughts on what is considered best practise in this case?


Question about set theory and first order logic

I was studying first order logic by a book and the author uses set theory to define some concepts like models, structures, etc. Everything fine here, but then i started to read about ZFC set theory and the author uses first order logic to prove some theorems. My question is if this is valid. Seems a little circular, we use set theory to study logic and logic to study set theory.


I'm having some problems with my bibliography in Texmaker. My code is:  \documentclass[11pt, a4paper]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage{natbib} \usepackage[utf8]{inputenc}     \usepackage{natbib} \usepackage[usenames,dvipsnames]{xcolor} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \begin{document}  ....  \cite{Johnson} \bibliographystyle{plain} \bibliography{mybib}  \end{document}   I also created a new file (File > New) that I saved as mybib.bib:  @Article{Johnson, author = {Edgar G. Johnson and Alfred O. Nier}, title = {Angular Aberrations in Sector Shaped Electromagnetic Lenses for Focusing Beams of  Charged Particles}, journal = {Physical Review}, year = {1953}, volume = {91}, number = {1}, }  @phdthesis{Zoran, author = {Zoran Racic}, title = {\'Etude et essais du spectromÃ¨tre Ã  plasma {DYMIO} de la  mission {MARS 96}}, publisher = {UniversitÃ© Pierre et Marie Curie}, year = {1996} }   When I compile my .tex file, I only have a [?] appearing.  Could you tell me what my mistake is?


Visiting Romania with German Residence Permit

I am a Georgian citizen and living currently in Germany, possessing a German residence permit. Am I allowed to enter Romania for a few days? I know Romania is not in the Schengen area, but there are some confusing rules (for me) about Schengen visa holders. I would be grateful if anyone could give me a simple yes/no answer.


The SFDC In-page editor has always had distortion for me, and I'm just wondering if it's just a lousy browser plugin they're using or if someone has found a good browser / operating system combination that stops the obnoxious distortion.   Obviously Salesforce doesn't have much interest in fixing it: as it's been this way on multiple operating systems and browsers I've used since I've used Salesforce.  However, my frustration with their other developer tools has lead me to use it occasionally and it's always the same:


How can I check if my (unlocked) phone will work with a particular country's SIM cards, for 3G and calls?

I've used my phone overseas with local SIM cards a lot, but recently had a surprising experience where one local SIM card simply wouldn't work with my phone but did work first time on my partner's, even though both were similar (unlocked Android phones) and another SIM card from a different local provider did work. Looking into it, it looks like there are various different standards around, but it all gets very technical very quickly.  Is there any simple way of looking up which SIM cards in a particular country will work with a particular model of phone, for calls, texts and internet access?


how to set up firefox preferences to avoid the save file pop up window while downloading a file

asked this question earlier, but now i will ask again with bit more explanation of what i did, I could not get it worked please help me out.   I am trying to download a file which is having a .exe extension but it is actually showing as a binary file (MIME type is application/octet-stream ) when i checked the GET request from the server, and i wrote the below code for setting up the firefox preferences which included binary file too.   firefoxProfile.setPreference("browser.download.folderList", 2);         firefoxProfile.setPreference("browser.helperApps.neverAsksaveToDisk", "application/x-msexcel,text/html,application/xop+xml,application/vnd.ms-excel.sheet.binary.macroenabled.12,application/vnd.wap.wbxml,application/octet-stream,application/x-authorware-bin,application/x-bcpio,text/plain,application/x-msdownload,application/excel,application/x-excel,application/excel,application/x-excel,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel");     firefoxProfile.setPreference("browser.download.manager.showWhenStarting", false);          firefoxProfile.setPreference("browser.download.dir", "C:\\Users\\Downloads"); firefoxProfile.setPreference("browser.privatebrowsing.autostart", true);     GlobalVariables.BrowserDriver = new FirefoxDriver(firefoxProfile);   when i click the link for downloading, it is still asking for the save message, and the confusing part is at this stage i opened another tab in firefox and checked the preferences and its all set as false. that means the code part is working to set up preferences but save pop up message is still coming, i have no idea what is the problem here. If someone knows please guide me,   thanks


Best practice for using .bashrc aliases under sudo

I have some productivity aliases on ~/.bashrc, which I'm missing when I run something on sudo. In example, I have an alias with parameters for ncdu, which doesn't work when I wanna use it on folders with files that my user can't read. I had searched and read  explaining why /root/.bashrc doesn't work and how to not do it. But how to make it work? I'd like to have aliases available as commands for sudo. Should I use sudo su all the time?


I once saw an 80's movie with a boy on skates or bmx bikes that has holographic ants that torture people. It was post apocalyptic if I recall.


jQuery $("img").click not working for dynamically made grid of images

I'm working on a small project for one of my friends. It generates a grid of images, then when you click one of the images it should change to another image which has its src stored in a variable. For some reason the .click handler isn't working for only the grid.   here is the html:

     Here is the javascript:  $(".tileSelect").click(function(){     alert("tile clicked")     // Change src attribute of image     $(this).attr("src", currentlySelected);     console.log("image changed");     return false; });    here is the whole js file for reference on how the grid is made:  $( "#builder" ).click(function() {     var rows = $("#rowNum").val();     var columns = $("#colNum").val();     console.log(rows);     console.log(columns);     $( ".worldmaker" ).addClass( "hide" );     $( ".topElements" ).removeClass( "hide" );        //populate the world     for(i = 0; i < rows; i++){         //populate the row         var x = $(".template").clone();                 x.addClass("tile");                 x.removeClass("template");                 $(".row").append($(x))             console.log("inserting");         }         //grab the row and clone it. create a template         x = $(".row").clone();         x.addClass("template2");         //insert the template into the document         $(".holder").append($(x));            for(i=0;i<columns - 1;i++){         //populate the columns         //grab the template             x = $(".template2").clone();             //add the row class             //remove the template class             x.removeClass("template2");             //insert it             $(".holder").append($(x))             console.log("inserting column "+ x);         }     return false;   });  var showlines = 1;    $( "#gridlines" ).click(function() {       if(showlines == 1){         $('.tile').css('border',"0px solid #021a40");         showlines = 0;       }else{         $('.tile').css('border',"1px solid #021a40");         showlines = 1;       }   return false;   });         /*  */     var currentlySelected = "/resources/treeTexture.png";  $(".element" ).click(function() { console.log(jQuery(this).children("img"));  return false;   });   $(".tileSelect").click(function(){     alert("tile clicked")     // Change src attribute of image     $(this).attr("src", currentlySelected);     console.log("image changed");     return false; });    I'd appreciate any help with figuring out why even the alert wont display when a tile is selected. Everything else in the js seems to be working.


I tried installing pypy3 after installing pypy through the regular Ubuntu 18.04 repo:   E: Unable to locate package pypy3   Okay, so it's not available in the regular repos. I added the official  as suggested on the :  E: Unable to locate package pypy3   Again, pypy3 is not available. Is there really no pypy3 package available for Ubuntu, or am I missing something that should be obvious?


Conductivity of Aqueous Ionic Solutions as a Function of Time

It is well-known that an aqueous ionic solution can conduct electricity. Let's take the electrolyte NaCl for example. In the diagram below, the circuit consists of a voltage source, a light bulb, and a concentrated NaCl solution.   Initially, the bulb will shine brightly. Assume the voltage source can source energy forever. My question is: will the NaCl solution allow current to flow forever, or will the conductivity of the NaCl solution degrade over time?


how to sort a dictionary based on a selected key value in python

i have the following dictionary of items in Python, but i want to sort the dictionary in order based on the value of a selected key. in this case score, i want the lowest number to be at the top so i can then select that item from the dictionary to be processed  [   {     "id": 1928430,     "score": 0.5030304,     "name": "John"   },   {     "id": 7283849,     "score": 0.2030304,     "name": "Sam"   },   {     "id": 8384954,     "score": 0.3030304,     "name": "Steven"   } ]


can ordinal variables be used as predictor for linear multiple regression analysis?

Part of my thesis tries to investigate the extent to which students "test Score" on the topic of electrical circuits in physic can be predicted from how they find the topic to be "interesting" ,Their "enjoyment" of the topic, and  their perception of how "difficult"  the topic is. I intend to use linear multiple regression analysis to do this, where "test Score" will be my independent variable and the predictors will be the "Student's enjoyment", "Students perception of difficulty" and how "interesting" student find the topic. I think student's test score is a continues variable. However the suspected predictors were obtained thus:   1.  Working with electric circuits in physics  is not  interesting  Strongly Agree[       ]     Agree[     ] Undecided[      ]  Disagree[   ]            Strongly Disagree[      ]  2.  Working with electric circuits in physics  is not  difficult  Strongly Agree[       ]     Agree[     ] Undecided[      ]  Disagree[   ]            Strongly Disagree[      ]  3.  I do not enjoy practical work involving electrical circuits in physics  Strongly Agree[       ]     Agree[     ] Undecided[      ]  Disagree[   ]            Strongly Disagree[      ]  the options are given these values:  Strongly Agree ---- 1 Agree ------------- 2 Undecided --------- 3 Disagree ---------- 4 Strongly Disagree - 5   Now since this is an ordinal scale, is it proper to use linear multiple regression  analysis ?


why null assignment not working in a function

I was trying the following code,  public void test() {     List<Integer> list = new ArrayList<>();     list.add(100);           list.add(89);            System.out.println(list);     update1(list);     System.out.println(list);     update2(list);     System.out.println(list);        }  public void update1(List<Integer> list) {     list.remove(0); }  public void update2(List<Integer> list) {     list = null; }   I am getting the following output,  [100,89] [89] [89]   My question is, why I am not able to assign the list as null inside a called function?


Determining relationship (e.g. number of removes) with cousin?

How do I figure out if someone is a first cousin, second cousin, cousin once-removed, etc?


Breusch–Pagan test for heteroscedasticity contradicts White's test?

Testing for heteroscedasticity I get these results: Breusch–Pagan / Cook–Weisberg test for heteroskedasticity  $H_0$: Constant variance  $H_a$: Heteroskedasticity   Variables: fitted values of log_expdu    chi2(1)      =    21.41   Prob > chi2  =   0.0000    White's test  $H_0$: homoskedasticity  against $H_a$: unrestricted heteroskedasticity   chi2(47)     =     48.91   Prob > chi2  =    0.3964    The Breusch–Pagan test tells me that there is heteroskedasticity, while the White's test tells me the opposite. Which result should I use?


Having trouble importing SVG file into blender

I am attempting to import an svg file into blender order to create a 3d model. The software recognizes the file but when I try to import I can only see the file name pop up on the right hand side but nothing actually shows up on the canvas. I tried zooming in and scaling the object but there simply doesnt seem to be anything to select. Also when I go and try to click "open file with blender" the software opens for a brief moment and then shuts down. I am using Inkscape but have tried other online converters all to the same result. Any advice would be appreciated!


Sum of fractions Inequality: $ {a\over b} + {b \over c} + {c \over a} \ge 3 $

Prove that:  $$ {a\over b} + {b \over c} + {c \over a} \ge 3 $$  Assuming $a, b, c > 0$. I was able to prove that this is true:  $$ {a\over b} + {b \over a} \ge 2 $$  by just rearranging it to get:  $$ a^2 + b^2 > 2ab $$  I figured if I would then repeat this with a,c and then b,c; I could sum the three inequalities to get closer to the third; so I get to:  $$ {a\over b} + {b \over c} + {c \over a} + {b\over a} + {c \over b} + {a \over c} \ge 6 $$  Now because of the symmetry; it certainly seems like the top inequality should be true; but I'm having trouble arguing past this point.


Recently, there was a rapid communication published in Phys.Rev.D (), titled "Gravity is not an entropic force", that claimed that , disproves Verlinde's entropic approach to gravity.  The neutrons experiment gave results consistent with the predictions of Newtonian gravity for the lowest energy state.  As I understand it, the author claims that the fact that Verlinde's entropic force comes from a thermodynamic process that is irreversible (or approximately reversible), leads to non-unitarity in the evolution of quantum systems. The non-unitarity then exponentially suppresses the eigenfunctions, predicting results very much different than the Newtonian. Thus, that experiment is in contradiction to what is expected if Verlinde's approach is correct.  My questions are,   First of all, is there anything else essential that I am missing? Is there any response to that argument? Is that a fatal problem with Verlinde's entropic approach? Is that a fatal problem for any entropic approach?   Updates on the discussion:   There is also this recent comment  Once more: gravity is not an entropic force


I am trying to create a form that will allow users to update their information on the front end.  I am just starting to learn PHP (I know C# very well).  If I use this code to create a form on a WordPress page, how do I get the information from the user when they press the 'Update' button and then update the database?  function Insert_AccountTable_1() {     $current_user = wp_get_current_user();      if ($current_user->ID != 0)     {         return <<<HTML             <form class="AlumniForm" method="post">
Name

                         Username	                         $current_user->user_login	                         Usernames cannot be changed.

                         First Name	                         <input id="current_user_firstname" type="text" name="current_user_firstname" value="$current_user->user_firstname"/>

                         Last Name	                         <input id="current_user_lastname" name="current_user_lastname" type="text" value="$current_user->user_lastname"/>

                         Display Name(required)	                         <input id="current_user_displayname" type="text" value="$current_user->display_name"/>

Contact Info

                         E-mail(Required)	                         <input id="current_user_email" type="text" value="$current_user->user_email"/>

                         Website	                         <input id="current_user_email" type="text" value="$current_user->user_url"/>

             <input type="submit" name="current_user_submitupdates">Update</input>             </form> HTML;     }     else     {         return <<<HTML
Error - User not logged in
 HTML;     } }  add_shortcode('InsertAccountTableI', 'Insert_AccountTable_1');


Excite hydrogen with lower frequency photon

Suppose we have a photons with energies  less that the one to excite the hydrogen atom. If the hydrogen atom is  scattered by these photon it gains energy. Can we excite the hydrogen atom by this process?


Put command times out, but I can access to the server

I'm trying to connect to a FTP to upload a file from a cent os box. I can access to the server, but the connection times out whenever I try to upload with 'put' command.  I can upload a file without a single problem on my local machine. It sounds like a port issue.  I've already opened outbound port 21. Are there any other ports that I need to open for uploading?  logs  ftp> put localFile remote 227 Entering Passive Mode. ftp: connect: Connection timed out


I was following to install openstack on ubuntu   But I am getting the repository not found error  W: Failed to fetch http://ppa.launchpad.net/cloud-installer/testing/ubuntu/dists/precise/main/source/Sources  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/cloud installer/testing/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found   I tried to access these repositories manually but not getting anywhere  It seems like that these packages are moved or deleted from the website  Thanks


A surjective ring homomorphism $\phi : C([0,1]) \rightarrow \mathbb{R}$ is evaluation at a point

Let $\phi : C([0,1]) \rightarrow \mathbb{R}$ be a surjective ring homomorphism. How would I prove that $\phi$ is the evaluation map $\phi(f) = f(x)$ for some $x \in [0,1]$?    I'm not even sure this conclusion is true. All I've done is started a proof by contradiction, assuming there is no such x, played around with quantifiers to determine that I need to show that $\forall x\in[0,1], \exists f\in C([0,1])$ such that $\phi(f) \neq f(x)$ leads to a contradiction. How do I go about finishing this?


What are shapefiles, layer files, and databases and what are their relationships?

What exactly is a shapefile in ArcGIS, and how is it related to a database or a layer file. What are the differences between these 3 things?


I have never heard of it, but people are refering to an issue in an application as an "N+1 problem". They are doing a Linq to SQL based project, and a performance problem has been identified by someone. I don't quite understand it - but hopefully someone can steer me.  It seems that they are trying to get a list of obects, and then the Foreach after that is causing too many database hits:  From what I understand, the second part of the source is only being loaded in the forwach.  So, list of items loaded:  var program = programRepository.SingleOrDefault(r => r.ProgramDetailId == programDetailId);   And then later, we make use of this list:  foreach (var phase in program.Program_Phases) {     phase.Program_Stages.AddRange(stages.Where(s => s.PhaseId == phase.PhaseId));     phase.Program_Stages.ForEach(s =>     {          s.Program_Modules.AddRange(modules.Where(m => m.StageId == s.StageId));     });     phase.Program_Modules.AddRange(modules.Where(m => m.PhaseId == phase.PhaseId)); }   It seems the problem idetified is that, they expected 'program' to contain it's children. But when we refer to the child in the query, it reloads the proram:  program.Program_Phases   They're expecting program to be fully loaded and in memory, and profilder seems to indicate that program table, with all the joins is being called on each 'foreach'.  Does this make sense?  (EDIT: I foind this link:  This might answer my quetion, but .. they're using that nicer (where person in...) notation, as opposed to this strange (x => x....). So if this link Is the answer - i.e, we need to 'join' in the query - can that be done?)


I want to manage a Trello board with a bunch of users on it, but I don't actually want the users to participate, I just want to be able to assign them to things. Is there a way to add fictive ("dummy/mock", if you prefer) users to my board, just to easily manage their assignments to cards, but without inviting actual people?  Alternatively, if there's no such option, is there another way I can approximate this (e.g. defining each student as a card and association a card with another card)?    Background: I occasionally supervise students' projects. Trello seems really useful for me to track which project is at what stage and which students are assigned to what, but the projects are not necessarily related and I don't actually want the students to participate in this high-level management, it's just intended for me and my fellow grad students / faculty members.


Is a body part "missing" if severed but present?

Partly inspired by the question about , this question concerns both the spells Raise Dead and Revivify, which both state that they return dead creatures to life, but (respectively):     This spell closes all mortal wounds, but it doesn’t restore missing body parts. (PHB, Raise dead)   and     This spell can’t return to life a creature that has died of old age, nor can it restore any missing body parts. (PHB, Revivify)   I started wondering what qualifies as "missing." It seemed clear to me that a character couldn't be Raised or Revivified if you had their decapitated body but no head (unless they could survive without it), but what if you had both? If a creature had its head cut off, and you placed that severed head on top of its body, wound to wound (presumably facing the correct direction), would Raise Dead or Revivify be able to bring them back to life, or would the head be considered "missing"?


Why do some people say “We need to know what is it”?

I notice a lot of people—even native speakers sometimes—change the order of certain words when asking a question (e.g., “We don't know what is it”).  As far as I know, it should be “We don't know what it is.”  Is changing the order of certain words, as in the first example (is–it), correct at all?


Automatically kill process if its runtime exceeds some predetermined value

I want to start a process from a shell script, allow it to interact with the user (so I cannot just background it, grab the PID, launch sleep followed by sanity checks and kill), but if it is still running after a set period of time (say, two minutes), then and only then do I want to kill it.  The intention is to simply implement a wallclock-run-time timeout for a program that doesn't have that capability built in.  Is there a way to do this, preferably from a bash shell script?


In some code I've inherited, I see frequent use of size_t with the std namespace qualifier.  For example:  std::size_t n = sizeof( long );   It compiles and runs fine, of course.  But it seems like bad practice to me (perhaps carried over from C?).  Isn't it true that size_t is built into C++ and therefore in the global namespace?  Is a header file include needed to use size_t in C++?  Another way to ask this question is, would the following program (with no includes) be expected to compile on all C++ compilers?  size_t foo() {     return sizeof( long ); }


MBP 16" i9 (Late 2019) Possibly Overheating

I just got a 2019 MBP 16" Model with 2.3 GHz i9 (turbo to 4.8GHz). When running simulations in MATLAB I have noticed the fans to spin quite loudly, and the CPU temp is rising very high. I have seen the temp peak 100C when plugged in, and around a max of 95C on battery power. My question is whether this is typical behavior for this computer/CPU or whether I am at risk of damaging my components. (Note: I am using this completely out of the box - have made no modifications, overclocking etc.. The temperatures I am seeing are just higher than I have seen previously for CPUs and I was shocked to be honest)


Can Belgium suspend my German driving licence?

I have a German driving licence, I live in the Netherlands, and I was driving very fast in Belgium last weekend.    Can Belgium suspend my driving licence or they can only ban me from driving in Belgium?


How to install Windows 7 to an USB HDD from Linux?

I'm trying to install Windows 7 from a CD to a HDD connected via USB. Windows complaints about not being able to install itself to USB-connected drives. All guides I found involve downloading a set of files from Microsoft, which include a .bat I should run. However, I only have Linux installed.  Is there a way to install Windows 7 to the HDD without having Windows installed somewhere else in the first place?


3 x 5 ft banner, what size does my photographs need to be?

Help!  I have a 3 x 5 ft banner I'm making but I'm not sure about the photograph they want included.  How do I know if the photograph will work?  Need advice ASAP!  From resolution to size of image...


Let $f(x)\in C^{\infty}(\mathbb{R})$ , if for all $x\in\mathbb{R}$, there exists $n_x\in\mathbb{N}$ such that the $n_x$th derivative of $f$ at $x$ is $0$. Prove that $f(x)$ is a polynomial.


Can I install Windows 10 home? Laptop processor configuration is Core 2 Due (T6500 @ 2.10 GHz, 2M Cache, 800 MHz FSB), RAM 4GB

I want to install windows 10 in my Old Laptop, Processor is Core 2 Due (T6500 @ 2.10 GHz, 2M Cache, 800 MHz FSB), RAM 4 GB, Storage 300 GB. is it possible? how much speed or slow?


Changing TTY keyboard layout on a server?

I use 12.04 Server in command line mode (no X installed), and I would like to change the keyboard layout. How can I do this?


What are "on-shell" and "off-shell" conditions in classical mechanics?

I am familiar with Goldstein-level mechanics. However, here in this site, many sophisticated users use the term "on-shell" and "off-shell" conditions too often, which I did not encounter in Goldstein or similar. Can somebody explain the meaning of these two terms in classical mechanics through an example?