SSMS Version 17.9.1 It looks like the intellisense may not be working? Shouldn't it auto complete Select etc? Also, it looks like the intellisense is from SSMS itself (doesn't work that great)  I've checked the Intellisense setting and it's there just fine, also put the cache size on unlimited


Using "of" or apostrophe, which is more common?

Sometimes when I write, for example, "the boundaries of segments", I am suggested to use "segments' boundaries" or even "segment boundaries".   Or "the page's content" vs. "the content of the page" vs. "the page content". Then I would like to know is it always preferred to use phrases with apostrophe or adjective?  For example      In our terms, they are mainly textual elements within the page content, which serve as the starting point  of a data region (or a data region's starting point ?)  or a distinctive feature within it


"I don't think you X" versus "I think you don't X"

Consider the following two sentences:     I don't think you love your father.      I think you don't love your father.   Is the second sentence correct? I was taught that it is wrong.


Cannot figure out how to change username through recovery mode or terminal?

I am giving my old laptop to my brother and am trying to change everything to his name. I have tried every online tutorial I could find and nothing has worked so far. I need to change allie@Nolan's Machine:~$ to Nolan@Nolan's Machine:~$


why these two ways of building matrix are different

I tried two ways of building a matrix in Python. After building, they seems to be the same. But if I do one same operation on them, they become different. I don't understand what is going on. Look at the following code.  m = [[0]*3]*3 n = [[0]*3 for i in range(3)]  print("m is:") print(m)  print("n is:") print(n)  print("m equals n? {}".format(m == n))  m[0][0] = 1 n[0][0] = 1  print('after operation')  print("m is:") print(m)  print("n is:") print(n)  print("m equals n? {}".format(m == n))   The output is:  m is:  [[0, 0, 0], [0, 0, 0], [0, 0, 0]]  n is:  [[0, 0, 0], [0, 0, 0], [0, 0, 0]]  m equals n? True  after operation  m is:  [[1, 0, 0], [1, 0, 0], [1, 0, 0]]  n is:  [[1, 0, 0], [0, 0, 0], [0, 0, 0]]  m equals n? False


If $\lim_{x\to0}f'(x)=l$, then is it true that $f'(0)=l$.

Let $f$ be a differentiable function on an interval containing zero. If $$\lim_{x\to0}f'(x)=l$$   then is it true that $f'(0)=l$.   If $f'$ is a continuous function, then of course it is true. But what if $f'$ is not continuous? Is it still true? I think not, but I am not able to find some example. Any suggestions?


I already tried this  repository and couldn't get  it... This guy seems to have it:


SOQL - Find parents that have children only.

Ok, I am out of practice and can't figure this out. I want to get just BCS__c records that have an associated Employment_Process__c record that meets the criteria. Right now I am getting all records from BCS__c.   Date D1 = Date.today() - 30;          //Build Hub List         list<BCS__c>     theHubs    = new list<BCS__c>();         theHubs                     = [Select ID,Name,User__c,(Select Hub_Name__c                                                        FROM Employment_Processes__r                                                        WHERE Is_Employee_a_Referral__c = 'Yes'                                                        AND  Actual_Start_Date__c = :D1)                                        FROM BCS__c];  FOR(BCS__c b:theHubs){ yada yada }


Install fails, Ubuntu 18.04 LTS in my Intel NUC 8I5BEH

I'm trying to install Ubuntu 18.04 LTS in my Intel 'Bean Canyon'  w/ 8GB RAM and a 240 GB WD green SSD M.2 2280. I get this error in the installation first step:     Couldn't get size 0x800000000000e   When the error occurs the screen is disconnected (HDMI).   How may I troubleshoot this problem?  I've downloaded the ISO from the official site and check it.


Delayed choice entanglement swapping: why are Alice & Bob's measurements useless without Victor's?

Here is the article by Ma et al.:  I have read many explanations on this site and others that emphasize that Victor's data is needed to make Alice and Bob's usable... Folks frequently mention: "that Victor's data is needed to sort the data from Alice and Bob's trials into four subsets..."  I'm not a quantum physics native, so I do not understand why Victor's data is needed. Can somebody please explain in very simple terms:   why you cannot deduce correlation/entanglement from Alice and Bob's data alone?  whether it would make any difference to the above question if you can repeat the experiment (and collect many more data points from Alice and Bob) either through multiple parallel set ups of the same apparatus, or multiple measurements in a single apparatus, but before Victor does his thing?


Searched high and low and have not been able to find out what AUC, as in related to prediction, stands for or means.


How is this equality symbol different from a regular equality (=) symbol?

I encountered the following equality symbol in a  (page 4, Eq 4). I am not sure how it is different from a regular equality (=) symbol.  What does this symbol mean? And how can I write it in latex?


Cartoon/animation with this green gem/rock thing that they used to summon creatures

There was a cartoon/animation where there were 3 main characters and there was this green gem/rock thing that they used to summon creatures. The cartoon started with a kid who received a necklace from his grandfather and there was a green gem in the middle. Then when he was running during a race he was magically sucked into the rock.


Setting up a python pipeline - python subprocess

What is the best way to accomplish the following pipeline in python using subprocess:   run three script files python1_a.py, python1_b.py, python1_c.py in parallel If no errors have been raised, run python2.py If no errors have been raised, run python3.py   Also I'd want to pass arguments through argprase.  Note: there are print statements in those files to expose progress - what is the best way to log them ?  If you can answer with an example code would be great


Derivation of Equation $8.7$ in Nielsen Chuang

Equation \eqref{eq:sp1} represents the reduced state of the system after tracing over environment.(Page number 358) $$\mathcal{E}(\rho) = \mathrm{tr}_{env}(\lbrack U(\rho \otimes \rho_{env} )U^{\dagger}\rbrack). \tag{8.6} \label{eq:sp1}$$ And then they say in page 359 that initially $\rho_{env} = |0\rangle\langle0|$ and then we apply $U$ to the combined state.(here $U$ is CNOT). The equation \eqref{eq:sp1} becomes (after plugging these values) $$ \mathcal{E}(\rho) = P_{0}\rho P_{0} + P_{1}\rho P_{1} \tag{8.7} \label{eq:sp2}$$ where $P_{m}=|m\rangle\langle m|$. How are they arriving at \eqref{eq:sp2}?


What is the relation between Nuclear magnetic resonance (NMR) and electron paramagnetic resonance (EPR)?

It seems to me that the basic principles are exactly the same, right? Then I am puzzled that the former was awarded a nobel prize while the later not.  I noticed a similar question here   It seems that the difference is purely quantitative, in the frequency.


What is the name of the sql table that relates to all of the field tables

What is the name of the MySQL table that relates to all of the field tables


Start + Gerund vs Start + Infinitive: is there a subtle tense difference?

Is there a subtle difference between these fragments:  Jack walked over to the car, opened the door, and started to look for the aspirin vial in the glove compartment. Jill looked on skeptically. Jack walked over to the car, opened the door, and started looking for  the aspirin vial in the glove compartment. Jill looked on skeptically.


Marking comments as 'addressed by edit' to reduce noise

I'm fairly responsive to comments left on my answers. This often means updating an answer to incorporate new information or questions that have been added in the comments (or edits to the original question).  It would be useful to flag comments as 'addressed by edit', so that they can be deleted by the commentator, or highlighted for pruning by mods - I don't think this is in scope for the usual 'flag comment'.  More contentiously, it might make sense if comments flagged with 'addressed by edit' were automatically suppressed after a suitable period of time has passed - long enough to rule out silliness with duplicate comments being used to steal comment upvotes.  EDIT I'm not convinced that "This would mean that in the long run, you could delete any comments on your posts without involving others" would be a problem. It is a valid point, so the safeguard would be to have a veto, so that when a poster says 'addressed by edit' the commentator can say 'no it isn't'.  I can see there is still an argument that comments add to a SO users (offline) rep, however I believe mods clean-up posts anyway to remove comment noise, so I don't think anything is really lost.  Moving on to the concerns complicating the UI, I happily concede that a flag next to comments would be the wrong place. Presenting a list of comments plus checkbox at edit time would work, and should improve quality (as comments become prompts when editing).


How to install 'add-apt-repository' using the terminal?

I want to install:  add-apt-repository ppa:ricotz/testin   It is showing:  The program add-apt-repository is currently not installed. You can install it by typing: sudo apt-get install python-software-properties   What should I do now?


What is the integration of $\int \frac{\tan x}{x}dx$?  I have tried substitution, integration by parts, and other methods I could think of but nothing works. Please help.


How much variation is there between DNA molecules from the same organism

If different but in tact molecules of DNA were extracted from my body, for example hair sample, blood sample, and mouth swab, how much variation would there be between DNA molecules?


Batch Convert Folder of GPX to SHP in QGIS

I have a few GPX files (up to 35 Mb, with a few tracks each one) that I want to convert to SHP. QGis is faster and easiest, than ArcGIS to convert GPX tracks to SHP, but is there a way to batch process it and keep the same file name for each new SHP?


What is the purpose of castling in chess?

Having played chess on occasion I know the basic rules and moves to the game. However, it seems like a possibly wasted move when there are players who play a dominant game of chess and don't castle their king. Is castling a necessary move or is it more of a preference choice by the player?


I have always pronounced Sauron like 'S-ow-ron', after reading Appendix E of the Lord of the Rings, but now I just listened to  recording of Tolkien reciting the Eagles' Song, and it sounds like he is saying "Saw-ron".  Did I mis-hear it, or did Tolkien do a mistake? Or am I supposed to pronounce it that way, and he wrote "Sauron" so that people would read it as "Sawron"? Highly unlikely, I think . . .


In SO I have questions with score of 25 or more but no good question badge, why not?

Silver badge for good question is defined as "Question score of 25 or more" and I think bronze for nice question is 10 points or more.  I have asked quite a few questions by now many over 10 points and I just had once that got 25 points (i.e. 5 upvotes) but I just noticed that I did not receive any badges for either nice or good questions (and probably same for answers though I have not looked into that yet). Not that I am a "badge collector", but its nice to get the bonus if you have "achieved" it.  Why do I not get these badges? what am I missing here? - I had a look on Meta-SO but didn't see anything obvious like my question.  Here is an example of one question that has 5 votes: . Ok in this instance it was marked as "duplicate" (even though I searched before asking it, you don't always find what you are looking for), but it still matches the 25-point criteria...


Where the dimensions of the object have moved in Blender 2.81

I'm trying to locate the dimensions of the object in 2.81. I'm watching an online tutorial made in 2.7. In Transform object properties used to be Dimension window after Scale Window. Is the window moved in another property or it became irrelevant and taken off for good? Thank you.


I'm on an upgrade project and recently began experiencing issues with the upgraded version of a DLL. I decompiled the original dll and found the following if statement:  if (fieldConfiguration == null && Context.ContentDatabase != null) {     Item obj = Context.ContentDatabase.SelectSingleItem(         string.Format("//*[@@templateid='{0}' and @@key='{1}']",              (object) TemplateIDs.TemplateField, (object) fieldName)); }   I then decompiled the upgraded version of the DLL and the statement was as follows:  if (fieldConfiguration == null && (Context.ContentDatabase ?? Context.Database) != null) {     Item obj = Context.ContentDatabase.SelectSingleItem(         string.Format("//*[@@templateid='{0}' and @@key='{1}']",              (object) TemplateIDs.TemplateField, (object) fieldName)); }   I was able to step through the code by decompiling the DLLs with dotPeek and using the dotPeek symbol server functionality. I can see that the code is failing when using the upgrade DLL because Context.ContentDatabase is null. What I don't understand is how that double ternary operator is evaluated. Could someone clarify for me what's going on there? It seems as though the creators of this assembly wanted a null check for Context.ContentDatabase but may have made a mistake. Thanks for the help!


Layman's Interpretation of XGBoost Importance

I'm trying to come up with a good way to explain the 3 importance metrics  to a layman with only a basic understanding of XGBoost and trees in general.  How best would you frame this explanation?


What are words called that share the same root?

What do you call words that share the same root (e.g., "network", "networks", "networking"). Also, does the shortest one of them have a specific name (e.g., "network")?


Prove that every group of order $35$ is cyclic.    Now, the subgroups of this are ones whose orders divide the order of this group(by lagrange), these are of prime orders $7$ and $5$.  and I guess $\Bbb Z_7\times \Bbb Z_5$ is of order $35$ and since these are both cyclic, so is $\Bbb Z_{35}$.  But that doesn't prove anything about every subgroup of order $35$.  How do I do this.


Vertical position of the help block while  (or for ) is on the top by default:        But if you slightly scroll page down this block jumps to the (approx) middle of the screen:        Is it possible to prevent such jumping and hold block on the top while scrolling?  Moreover it could reduce a size of ugly overlapped area with footer when scrolling to the bottom occurs:


Minus isn't shown in exponent (superscript)

So I want to write a Cobb-Douglas function F = Kα * L1-α. I've written this in LaTeX:  \(Y = K^{\alpha}L^{1−\alpha}\)   Everything is fine except that the minus sign that should be between 1 and alpha in superscript above L is missing. What am I doing wrong?


I try to get an hash to put filter on my page, I work in JS vanilla only, actually i can't find how getting it.. It must be simple but i can't find on internet and I'm newbie.. If someone can help me, it can be a huge move for me, thank's a lot !   function lien(obj) {   alert(obj.href.hash); } #portrait


How to pay a Norwegian customs penalty fine from abroad

I recently entered a Norwegian port and was issued a fixed penalty notice for exceeding the cigarettes allowance, I therefore have to pay a fine of 400 kroner. I am now back in the UK and the fine has to be paid by Friday 26th of January. I have taken the giro slip to my bank but they do not understand it as it is all in Norwegian. Is there a way I can pay this fine quickly using my credit card, by phone for example?


My computer always get frozen after logging in my ubuntu account. It happens on every account and even when it loads cinnamon. I have to shut it down by pressing the power button and just then i can use my notebook normally. Can anyone please help me? Im new to ubuntu, id ve very thankful with any help.


How to get back to a site when viewing one of its questions

When viewing a question on a site which I don't use (I never registered on it), I can't figure out how to get back to the list of questions of the site.  See this example  from the Stack Exchange Android app. Where should I click to see the list of questions? (I chose Mathematics Educators because it's the most recent site, it is very likely that most users don't have an account on this website)  Here is a random example:    When viewing a question, I don't know how to view the list of questions. This site can't be found in the sidebar since it's not in my Your Sites list. The top menu containing the site's title only opens the sidebar.


How To Launch Activities menu? What is the Super key?

In poking around trying to make sense of this new 20.04 LTS installation, I can't seem to bring up the Activities screen.  The doc says to press the Super key.  OK - I'm using a standard Windows keyboard - WHAT is the Super key?  I was pressing the key with the Window on it, but that just brings up a search menu.  Ctrl and Alt by themselves don't work, and the hot-corners don't work either, AND I can't find out from Settings whether they are even defined. One thing may be causing a problem.  I'm using an LG TV as a monitor connected to a Dell 790 via an HDMI cable. It sees like the Ubuntu driver is making the screen image a little too large for the surface area of the TV screen, because the dock at the bottom is cut off (it's visible, but only the top 2/3 of the icons show) and the top bar with the date on it doesn't display at all.  I only discovered it was there when I set the display scale to 200%.  This is not a problem I had with this TV when it was connected to a Mac Mini.


I want to make this logo print-ready on a T-shirt, but I have a few questions:   1) I have an overlap in my logo, I tried to merge the whole artwork but I get conflation artefacts, I also tried the shape builder but the same occurs. I don't want the conflation artefacts and I also know I should't have any overlaps in the logo that will be printed on a T-Shirt. what should I do ?     2) I have 5 colors in the logo (white, 2 blacks, 2 grays), I knew from the videos on youtube that I must convert them to spot colors to make a color separation. After that, I check them in the separations preview. I also know that white is not counted as a spot color, is that right? so now I will have only 4 colors as spot.  3) should the black be 0,0,0,100 as a spot color for T-shirt print? what about the other colors should they have a specific values or as soon as I change them to spot it's okay?   4) I will save the file as High quality print PDF and leave the rest as default, is that correct?  5) If the client didn't mention which method he will use for printing the T-Shirt, should I still use spot colors, or I should make other file with Pantone colors so I cover all his needs?  6)if the client will use the sublimation method, is there any difference in saving method or colors?


$y'(x)=y^2-y$ and $y(0)=\frac 12$. Show that $y(x) \in (0,1)$   $\forall x$ I have: $\frac {dy}{dx}=y^2-y \Rightarrow \frac {dy}{y(y-1)}=dx \Rightarrow \int \frac{dy}{y(y-1)} = \int dx$ $\int \frac {dy}{y(y-1)} = \int \frac {1}{y-1}dy - \int \frac {1}{y} = ln|1-y|-ln|y|$ So we have: $ln|\frac{1-y}{y}|=x+C \Rightarrow \frac {1-y}{y}=Ce^x$ $y(x)=\frac 1{Ce^x+1}$ $y(0)=\frac 12 \Rightarrow C=1 \Rightarrow y(x)=\frac 1{e^x+1}$ So we see that $y(x) \in (0,1) \forall x$. Is this the right way to do this example? Also i have a question what happens when $y=0$, $y=1$ (line 3 when i divided by $y(y-1)$?


I have 2 dictionaries with identical keys.  d1 = {'Dog':[7,2],'Cat':[5,2]} d2 = {'Dog':1,'Cat':4}   Is there a good way of combining them so that I can have one dictionary that looks like this?  d = {'Dog':[7,2,1],'Cat':[5,2,4]}


My vim does not support python3, how can I fix this

So I want jedi-vim to autocomplete to python3, I added   autocmd FileType python set omnifunc=python3complete#Complete   To my vimrc. Now if I try and autocomplete something in vim I get   Error: Required vim compiled with +python3 E117: Unknown function: python3complete#Complete   And if I check my vim version I get  vim --version |grep python +cryptv          +linebreak       +python          +vreplace +cscope          +lispindent      -python3         +wildignore Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm      Which I assume means I lack python3 support in vim?  I cannot work out how to fix this, what ought I to do?  I am running (and have always had) ubuntu 16.04. Python3 is managed by pip, I have no other issues with it.


Textbook on QFT in curved space-time via path integrals

I am looking for an introductory textbook on QFT in curved space-time via the path integral method. I want to understand the following:   How to build a generic perturbative QFT in curved space-time Are there some specific difficulties with normalization How to derive observables / particle states in curved space-time The Unruh effect The Hawking radiation   I would appreciate if the author would use path integrals instead of the canonical formalism when possible. The reason for this is purely aesthetic.


Whenever I'm making a cheap, 2-sided PCB, I run into this problem:    Where I have signal lines (on the top layer here) running over top of a big fat power trace (on the bottom layer).  Now, this is obviously terrible because there is no good return path on the bottom side.  For issues like this, Hott consultants has a good recommendation:    However, I wonder if a solution like the one below is also acceptable.    My intuition tells me yes, this solution is ok.  Over the break in the ground plane, the current will hop over the vias and then back down to the lower plane.  Some back of the envelope math tells me that this adds a trivial amount to the loop area, and therefore a trivial amount to the return impedance.  Can someone tell me...   How right / wrong my intuition is here about using vias? If my intuition is wrong, why? Also, if my intuition is wrong, what is the correct solution in this sort of situation (2 layer, with power traces under signal)?   For the record, these particular signal lines aren't terribly fast (500 kHz), but I would like to know how to deal with this situation when I have signals in the 5 - 10 MHz range.  Edit  Below is a screenshot of about 60% of the board.  Maybe it will help with the critique


How can I prove that $n!<n^n$ for every $n>1$ using the induction principle?  If I put $n=2$ I get $2<4$ so I know that $n!<n^n$ is true.  Now I don't know how to prove that $(n+1)!<(n+1)^{n+1}$. I can write $(n+1)!=n!(n+1)$ but then I don't know how to go on.


Difference in single thread performance between 2 CPU's

What’s the difference in single thread performance between Intel(R) Xenon(R) CPU E5-2697 v2 @ 2.70GHz 2.69 GHz & Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz?


Is there any security issue when I set `apache` as the only owner of websites files and folders?

My server is centos 7,with php 5.4,apache 2.4. My website locate in /var/www.     As for apache is the only one user read or write in /var/www,I set all files and folders owner and group to apache:    For the folders and files read only:-r-------  1  apache apache  922 Jun  3  2014 connect.php For the files need to be write:-rw-------  1  apache apache  922 Jun  3  2014 connect.php Which means only 600 or 400 for files permission.(*.php need not x permission) As to folders permission, only 500 or 700.    This should be the best practice, because provide permission as little ad possible. Is there any security issue?


True Type Fonts isn't being loaded any more. It seems to be an issue with the End User Agreement

After running   sudo apt-get clean sudo apt-get install --reinstall ttf-mscorefonts-installer   I see the text 'Package configuration' followed by a grey box with Configuring ttf-mscorefonts-installer in red followed by the end-user license agreement t's & c's and OK at the bottom, but there doesn't seem to be any way to accept it.  That dialogue just seems to sit there, and if I close the terminal it kills the process.  I've had True Type Fonts installed before, but they seem to have broken in the last few weeks.  (I added this to an existing TTF question since it seems to be related, but was asked to raise it separately.)  Edit: Every time I run the Software Updater, I see this message:     I was trying to resolve it by installing via the terminal, but then I ran into the End User Agreement problem.  After that, I couldn't launch the Package Manager because there was a temp file in  /var/lib/dpkg/updates, so I had to run cd /var/lib/dpkg/updates    sudo rm * to get rid of it.  I then ran Software Updater, and saw a popup inviting me to accept the End User Agreement for True Type Fonts.  "Aha!" thought I "Problem now solved!"  So I clicked on the Accept box and on the continue button.  The update finished, but immediately afterwards I saw the Failure to Download message once again.  Groundhog Day!


What do I need to get started with thin clients?

I'm planning to make an ubuntu server (with load balancing to a few offstage computers) and have thin clients connect to it.  Unfortunately, I don't know how to make a thin client, or the setup involved.  I really like virtualization and servers and stuff like that.  Basically, I'd have a resource pool of computers sitting underneath a desk and I could have another computer, somewhere else that runs off of it...  I'm not sure if I'm getting the concept right.


I have windows 7 installed on my system. this is my log-on screen. I forgot this account's password.   The question is, how I can log-in with another user? (Administrator) Why this windows has not switch user button?


Why don't we have profile editor available on Android app?

I am not sure how to edit, update profile pic, bio on Android app itself. While clicking on more info of summary text area is not expanding.


When I take the pth root, the bottom of the p comes very close to the \sqrt symbol.  In the New Century Schoolbook font (which I am using), the p actually intersects the \sqrt symbol, which looks even more terrible.  Is there a clean way to fix this?  \documentclass{article} \usepackage{fouriernc} % use the New Century Schoolbook font \begin{document} When I write $a^{(1/p)}$ as $\sqrt[p]{a}$, the bottom of the $p$ touches the top of the root symbol, which looks ugly. Even when the root symbol is larger, such as with $\sqrt[p]{\frac{1}{n}}$, it still looks bad (since the tail of the p almost hits that line). \end{document}


Two different keys decrypting same content

is there some generally available algorithm which will encrypt a short string and generate two unique keys so that any of the two can be used to decrypt the message again? It doesn't has to be "super secure".


Does DNA match of 1,781 cM suggest half siblings?

I have been contacted by someone who says we are half sisters due to our DNA match. Our DNA is 1,781 which apparently is a high match. Would this make us half sisters? I am an only child and she is adopted.


If a function is onto, does the function also have an inverse?

Say a function is defined and we find that it is indeed onto (surjective). Does this mean the function also has an inverse function?


Astronaut is freed from mind parasite when he leaves Earth's gravity well

In the late 90s I read a short story (probably written much earlier) in which an astronaut on a mission to Mars is surprised to discover that he has spent his whole life with an invisible and undetectable entity controlling his mind.  The entity can only exist within a gravity well, so when he escapes Earth's gravity it releases control and falls back to Earth. The astronaut realizes that all humans on Earth are infected and controlled by these beings, who cloud men's minds and keep them embroiled in war and strife to keep humans down and maintain their control. He plans to bring more humans out of Earth's gravity to Mars where they can live free, and eventually strike back and free Earth.  Ending spoiler:      As his ship lands on Mars he feels his brain being taken over, and realizes that he was a fool to think that such creatures only existed on Earth.   Can anyone identify the story?


Turkey chili from raw in a slow cooker accidentally for 10 hours on warm

Just woke up and realized the turkey chili (2 cans kidney beans, 1 can black beans, 2 cans diced tomatoes, 1 lb turkey ground) had been cooking from raw on warm for 10 hours.   I'm a bit desolate since it's all organic. I just turned it to high and set a timer for 4 hours. Can my chili still be salvaged?   This isn't a duplicate to this  because it is specific to chili crockpot with the ingredients above.


my laptop battery got empty soon and I installed bumblebee and tlp, now I have about 3hour battery energy more than before on my laptop. and now I found there is an other powermanagement for ubuntu laptop-mod-tools. which one is the best for powermanagement on ubuntu 13.04 ? tlp or laptop-mod-tools?


Using UV Mapping on an Equirectangular Projection

Background: I am attempting to create a Unity application for viewing asteroids. I have a wavefront object that I got from NASA's PDS SBN. Right now, I am looking to replicate the version of  from the 3D Asteroid Catalogue (click "Grayscale" on the website to see the texture), but in Unity instead of ThreeJS. I believe I need to create a UV map in Blender so that I can apply it to the object in Unity.  Thanks to lemon in , I was able to get a cylindrical texture map on the asteroid. But I did not realize that I couldn't import this directly into Unity.  For reference, the wavefront file I'm using is located , and the simple cylindrical projection I'm using is located  (warning, large image file).  Question: I have a wavefront object and a texture which is an equirectangular projection. I want to apply this equirectangular projection too the object in Unity.  I believe that I need to do this by getting a UV for the texture. To create a UV, I want to unwrap the object's mesh in a way that is identical to an equirectangular projection. What is the best way to do this?  Attempted Solutions: Here is an image of the working equirectangular projection in Blender:    That works well, but this does not import to Unity. So I attempted to create a UV map that emulates the equirectangular projection. I unwrapped the mesh as a cylinder and applied it to the asteroid with an image texture node. Here is what the unwrapped mesh looks like:    I'm not sure if this is the right unwrapping or not, because when I try to display the asteroid, I get something very garbled. Here is a picture of my attempt at rendering the asteroid with its texture on:    I'm confident that I am applying this completely wrong, I'm just not sure why. Here is what my unwrapped mesh looks like -- the entire asteroid is covered, so the streaks & the weird band around the asteroid don't make


At the bottom of all Stack Exchange sites, there is a gray area to navigate between Stack Exchange sites. Except on Area 51.   Can you put this bar at the bottom of Area 51?


I want to install the class found at this git repository:   I see some questions asked in the past on installing packages in LaTeX but this sounds like a different kind of file than a .cls file.  My impression is that packages come in either a .ins or a .dtx file which I would assume you don't use the same way as a .cls file.  I believe I'm using TeXlive, and although I often compile through Sublime Text 2 I also have TeXWorks which can often be simpler to install packages I don't already have.  A couple months ago I installed the latest version of TeXlive, though in my local directories (C:/users/Me/...) I have no folder for texlive2015.  I have a folder, /.texlive2013 and another one, /TeXWorks.  In my shared directories (C:/texlive/...) I do have a folder, 2015.  My operating system is Windows 10.  In trying to figure this out on my own I've seen reference to a "texmf" structure, and I've tried googling and learning about it but I'm still not getting a very clear picture of it since my directories don't seem to make a lot of what I see in those pages.  What I do have are things like C:/texlive/2015/texmf-dist/ and C:/users/Me/.texlive2013/texmf-config.    So anyway, back to my question, can anyone tell me how I go about installing the class file?  [Update: Due to a recommendation in the comments I followed another question and made the directory C:/Users/Me/texlive/texmf/tex/latex/commonstuff/ and put the .cls file in there.  Then I made the minimal example .tex file as follows  \documentclass{homework} \begin{document} Text \end{document}   and in Sublime Text 2 it gave me the error 4: LaTeX Error: Missing \begin{document}. [<].  In TeXWorks it gave basically the same error.]


Let $g(x) = \text{max}\{ f(y) \mid y\in [a,x] \}$, show that if $f$ is continuous then $g$ is continuous.

Let $f$ be continuous on $[a,b]$ and define $g$ as follows : $g(a) = f(a)$ and, for $a < x \le b$ let $g(x)$ be the maximum value of $f$ in the subinterval $[a,x]$. Show that $g$ is continuous $[a,b]$.    My attempt: Clearly $g(x)$ is monotonically increasing function, so it cannot have discontinuities of the second type, and $g(x+)$, $g(x-)$ exists. So it is enough to show that $g(x+) = g(x-)$, as for a monotonic function $g(x-)\le g(x)\le g(x+)$.  Any hints on how to show that $g(x+) = g(x-)$ ? or maybe there is a different way to approach this problem.


A student asked me tonight why we say "something caught my eye," and not "something caught my eyes."  This is not just limited to eyes but also:   "lend me your ear." "Can I give you a hand?" or "an eye for detail."  Is this because we are not thinking of the actual body part but it's function?  This question was asked before but the answer and comments do not address the question very well.


Using "the" instead of "a" for something that isn't a specific object

I've been curious about this for a while.  Generally, one uses "the" if they mean a specific object ("The copy of Lord of the Rings I bought yesterday") instead of any object that fits a description ("I have a copy of Lord of the Rings").  However I've seen "the" used in some cases where the phrase doesn't refer to a specific object. I've noticed it mostly being about technology, such as "This game requires the Classic Controller" (seen on some Wii Virtual Console games). While saying "This game requires a Classic Controller" seems to be correct as well, using "the" doesn't feel wrong either.  The controller's page on Wikipedia also uses "the":   What is the rule that allows the use of "the" in this context?  I presume it has something to do with "Classic Controller" being a proper noun.


How are ICANN's IP address reservations enforced?

I've read that ICANN is the authority dedicated to assigning IP addresses to individual entities, so that no two separate entities are using the same IP address on the internet. It is my understanding that when assigning an IP address, an autonomous system number is also given to the entity. These autonomous system numbers are used by routers in some way to advertise that they have a route to an IP address.  My question is, how does a router know that a route and autonomous system number that they receive from a BGP peer is authentic? Is there a certificate chain of some kind used to prove that the route does indeed go to the entity that ICANN did assign the IP address to? Since an IP address can be multi homed with two or more routes to it, just because there are two routes known by a router doesn't mean that one of them is not real.  Does ICANN regularly publish a list of autonomous system numbers that routers cache?  Can routers choose to ignore ICANN's assignment of IP addresses, in the event that ICANN goes rogue? What's stopping an alt_ICANN from being created and the internet choosing to trust it instead?


i don't even understand how to do this, surely this function is continuous at $|x|<1$ and have real value on that given integral. and $$\int_{-1}^{1}\sqrt{1-x^4}dx$$ should doable .   but since there isn't any variable outside root, i can't make any substitution of it. i'm trying sought on integral calculator but it said there isn't any antiderivative of this function .  so assuming this question is valid is there any way to solve this? ( i'm currently on mid-end of calculus 1). by the way  the provided answer just attach half circular image that says "symmetry"  and state $1.748$ is the answer and it doesn't make much sense for me


Prove that $H$ is a subgroup of an abelian group $G$

Let $H = \{x \in G: x = y^2$ for some $y\in G\}$;  that is, let $H$ be the set of all the elements of $G$ which have a square root.  Prove that $H$ is a subgroup of $G$, where $G$ is an abelian group.  So I'm pretty lost in group theory.  I know that I need to prove that for any element, $a,b \in H$, that $(a^{-1} * b) \in H$, where * is the group operation on $G$.   I know that I also need to use the fact that $G$ is abelian.  So somehow commutativity is involved.  But I admit that I have no idea what I am doing.  I guess my primary question is:  What does $x^{-1}$ look like in $H$?  Since $x$ = $y^2$ then $x^{-1} = (y^2)^{-1}$, which is what?


I have a Nokia 3.4 (Android 10) for over a month now. This morning this repetitive error window keeps popping up. It opens and closes so fast that I don't have the time to select anything - in fact, it's so fast that the video capture is not able to capture all cases!  This is a static capture of one of those error windows:  Things I have already tried without success:  Shutdown and reboot "Clean cache" and "clean data" of the Google app Block notifications for the Google app  The only way I was able to "fix" this was by disabling the Google app. But I would rather not... Should I just do a factory reset? 😩


NULL POINTER in com.sun.mail.smtp.SMTPTransport.sendMessage

I'm trying to send email with attachment using SMTP protocol. Also I added activation.jar (v. 1.1.1) as Maven dependency and javax.mail dependency (v. 1.4.7). And I have got configs in xml that works for messages without attachments. Here is my code   public boolean sendEmail(Form form) {     try {         Properties props = getProperties();         Session session = Session.getInstance(props);         MimeMessage mimeMessage = new MimeMessage(session);         MimeMultipart multiPart = new MimeMultipart("mixed");          MimeBodyPart contentPart = new MimeBodyPart();          contentPart.setText("Email Body", "UTF-8");          multiPart.addBodyPart(contentPart);          MimeBodyPart attachmentPart = new MimeBodyPart();          attachmentPart.setContent(form.getCvFile(), "application/pdf");           attachmentPart.setDisposition(Part.ATTACHMENT);          attachmentPart.setFileName(form.getFile().getName());          multiPart.addBodyPart(attachmentPart);         mimeMessage.setContent(multiPart);         javaMailSender.send(mimeMessage);      } catch (MessagingException e) {         log.error(e.getMessage(), e);     }     return false; }   It gives me NullPointer  java.lang.NullPointerException     at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:557)     at com.my.sender.EmailSender.sendEmail(EmailSender.java:59)     at com.my.controller.SpringController.update(SpringController.java:133)     at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)     at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:57)     at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)     at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:57)     at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)     at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)     at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)     at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletExceptionAdapter.service(ServletExceptionAdapter.java:68)     at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)     at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)     at com.liferay.portal.osgi.web.wab.extender.internal.adapter.FilterExceptionAdapter.doFilter(FilterExceptionAdapter.java:46)     at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)     at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)     at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)


What's the development package for Qt5 in 14.04

I want to build a Qt5 example on my desktop machine. I installed qt5-default and qtdeclarative5-dev, but I'm still getting this error:  Project ERROR: Unknown module(s) in QT: quick qml   Which package should be installed for compiling? In the Qt4 times it was simply libqt4-dev


Where can I have a genuine Ainu cultural experience in Hokkaido?

During my next trip to Japan I may end up in Hokkaido. I've read something about this mysterious indigenous group called Ainu/Aynu/Aino/Ezo, but I must admit my understanding of the whole thing is rather limited right now.   What I wish to know is: is there such a thing like an authentic Ainu village/town/whole-region where Ainu people live according to their tradition, as opposed to something staged for tourists?  Edit: given the comments below I wish to specify better what I mean with the word 'authentic'. Of course, I don't expect pristine landscapes and Ainu people living in blissful harmony with fluffy penguins (semi-quote) but I won't be surprised to find out there still are authentic villages in remote areas of Hokkaido where mass tourism is not an issue at all.  People are subject to tourist's attention (tourist coming from different countries, at least) everywhere, not only when they "made a conscious decision to live a traditional life". This doesn't actually mean anything. Indian people are surprisingly differents (in local customs) from Italians and Italians take a lot of pictures during their travels there, still the tourism isn't banned in India.


How do I work with dropdowns in Selenium Webdriver?

This is a canonical question, intended to provide a comprehensive answer to many related questions.  I understand the basics of working with Selenium Webdriver; I can navigate to pages, click buttons, and type into text boxes. But now I want to do things with dropdown boxes (also known as "Select" boxes).  How can I perform common tasks like iterating over the options in the dropdown or selecting options from the dropdown?


Did Dumbledore know the Marauders were unregistered animagi?

Is there any indication in the books that Dumbledore figured out (after the stunt Sirius pulled with Snape,  trapping him in the Whomping Willow with Moony maybe ) that the Marauders (sans Lupin) are animagi?  If yes, why didn't he encourage them to register?  Why risk an Azkaban senence, which is surely unhealthy, when you can register and transform whenever you please?  All Snape had to do in his death eater period is to warn the ministry there were three unregistered animagi about and let them face the investigation and the consequences if it was proven - and then Dumbledore would lose three order members.   He could have even saved them the trouble saying that they were learning how to turn into animals under his (or McGonagall's) supervision.


What's a word for the ability to discern another's mental state?

I want to avoid some common implications of empathy: that it's mostly involuntary, and that it involves some re-experiencing of the other's feelings. I'm looking for a more general word (or, less ideally, short phrase) that could easily apply both to someone empathetic and to Hannibal Lecter.  On the other hand, I'm not looking for an overly general word like perspicacity or discernment; I'm hoping for something that's specifically about perceiving other people's emotions and motivations.  Ideally I'm hoping for a noun, but a verb ("to exercise this ability") or adjective ("possessed of the ability") would be helpful too.


How to best explain and use empty Constructors in Java?

I have been self-learning Java. I understand the scope of defining a class, but still didn't get the concept of an empty constructor usage. Usually we should pass parameters for constructor to build instance object. But, I often see empty parameter for constructor. For example:    class Person {    String name;        int age;    public Person();   public Person(String name, int age){      this.name = name;      this.age = age;      }   }   I researched and read an example that using a class "fish" to explain. So, this is what I understood so far: when defining a class, we first define properties for an object, then we create a constructor that will build the object with methods. Empty constructor build GENERIC object, and constructor with parameters build objects with more specific information. Let’s say the example above, if I create an instance object using the empty constructor:   Person p1 = new Person();     -- it will still create an object but without any properties in it?  So, what exactly the empty constructor is used for? I saw it in a lot of example codes. Is it very useful/common?  Thanks for looking and answering!


sudo apt update not working on ubuntu 20.04

$ sudo apt update Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://ppa.launchpad.net/apandada1/brightness-controller/ubuntu focal InRelease   Ign:6 http://ppa.launchpad.net/phablet-team/tools/ubuntu focal InRelease Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB] Err:8 http://ppa.launchpad.net/phablet-team/tools/ubuntu focal Release   404  Not Found [IP: 91.189.95.83 80] Get:9 http://archive.ubuntu.com/ubuntu focal-security InRelease [107 kB] Reading package lists... Done    E: The repository 'http://ppa.launchpad.net/phablet-team/tools/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.  I'm not able to post more than 8 links so i have removed 2 links


What set of books makes a complete starter set for 4e?

I've asked several questions about 4th Edition D&D because I may be able to start a game. However, I'd need to purchase (some) materials. I am aware of the 4 book set (core) and the expected Essentials Red Box.  So now I need to know: presumably buying either the 4 book set or essentials will be enough to get my game on. Would there be something 'lacking' though? Would I be missing character types, for instance, as I've seen that the splatbook strategy is still in effect?  I'm an experienced player and GM and plenty creative, so many holes I'd be able to fill in myself. I just don't want to get sucked into too much financial impact.


Transparency/dim/beamercovered does not work properly on Beamer

I am writnig Aribic on beamer using minipage and begin arabic, the problem is that transparency  applies on bullets and except the text, here is the MWE:      % !TeX TS-program = xelatex \documentclass[12pt]{beamer} \usetheme[secheader]{Madrid} % \setbeamercovered{transparent} % \usepackage{fontspec} \usepackage{polyglossia} \usefonttheme{serif} \setmainlanguage{english} \setmainfont{Times New Roman} \setotherlanguage[calendar=gregorian,numerals=maghrib]{arabic} \newfontfamily\arabicfont[Script=Arabic,Scale=1]{Times New Roman}% \newfontfamily\arabicfontsf[Script=Arabic,Scale=1]{Times New Roman}% % \begin{document} \begin{frame} \frametitle{Animation} %\begin{minipage}{0.95\textwidth} \begin{Arabic} \begin{itemize} \item<1-> Item one \begin{enumerate} \item<3-> Item three \item<4-> Item four \end{enumerate} \item<2-> Item two \end{itemize} \end{Arabic} %\end{minipage} \end{frame} \end{document}


Prove that a star convex set is simply connected.

My try:  Consider points $a_0,a \in A$ where A is star convex. Now by the definition of star convex there exists a path between $a, a_0$ lying in A. That is, $F(a,t)=(1-t)a+t(a_0)$. Consider a loop $p$ . Then the map defined by $f:I \times I \to A$, $$f(s,t)=F(p(s),t)$$ such that $f(s,0)=p(s), f(s,1)=a_0$ is a path homotopy between the constant map and $p$ . Since the straight line homotopy is the path homotopy here, $\pi_{1}(A,a_0)$ is trivial. Also A is path connected . These two show that A is simply connected.  Is my proof correct?


$|G|>2$ implies $G$ has non trivial automorphism

Well, this is an exercise problem from Herstein which sounds difficult:   How does one prove that if $|G|>2$, then $G$ has non-trivial automorphism?   The only thing I know which connects a group with its automorphism is the theorem, $$G/Z(G) \cong \mathcal{I}(G)$$ where $\mathcal{I}(G)$ denotes the Inner- Automorphism group of $G$. So for a group with $Z(G)=(e)$, we can conclude that it has a non-trivial automorphism, but what about groups with center?


A have a lot of B classes, a class A has one object b. This object b has a function (calc) that needs a pointer to a method in an object of A. This method (fun) acess private variables in class (in my example just return 3).  class A;  class B { public:   virtual int calc ( int (A::*fun)())  {    return 2*fun();  }; };  class A {   B* b;  public:   A (B* b_) : b (b_) {};   int fun() { return 3; };   int run(){ return b->calc(&A::fun); }; };  int main() {   B* b = new B();   A a(b);   a.run();   return 0; }   How can I use a pointer to a method correctly in definition of calc method in class B?  I am getting this error message:  teste.cpp:10:58: error: must use ‘.*’ or ‘->*’ to call pointer-to-member     function in ‘fun (...)’, e.g. ‘(... ->* fun) (...)’    virtual int calc ( int (A::*fun)())  {    return 2*fun();  };                                                       ^


Question on proving quotient space is homeomorphic to circle

I am new to quotient spaces and was given this in class. I really have no idea how to solve. I tried one approach that my teacher said to be incorrect so I'd really appreciate the help on this.  I am given  $$S^1= \{x \in \mathbb{R}^2 : \|x\|=1 \}$$ i.e., the unit circle in $\mathbb{R}^2 $, and I am asked to show the quotient space $ S^1 / {\sim}$, where $\sim$ is the equivalence relation $x\sim{-x}$, is homeomorphic to $ S^1 $.  My attempt was to look at the quotient space as the set of points of the unit circle with only one of $(1,0)$ and $(0,1)$, which I now realize is incorrect as I know quotient space means gluing as opposed to omitting points. I am stumped as I cannot really figure out how to show an explicit homeomorphism between the quotient space and the unit circle in $\mathbb{R}^2$, or if I am even on the right track (maybe I need to use a theorem or something without a constructive proof). I really would appreciate the help on this. Thanks all.


I've asked a very similar question yesterday, but I have a more concrete example here. I'm using the template "Operator Modal View3d Raycast" with some modifications: class ViewOperatorRayCast(bpy.types.Operator):      bl_idname = "view3d.modal_operator_raycast"     bl_label = "RayCast View Operator"      def modal(self, context, event):                  if context.space_data.type != 'VIEW_3D': # This doesn't work                        return {'PASS_THROUGH'} # This doesn't work                  if event.type == 'RIGHTMOUSE' and event.value == 'PRESS': # The operator only does any thing for RMB             main(context, event) # This is where the raycasting goes on. See the template                                        return {'RUNNING_MODAL'}                  elif event.type in {'ESC'}:             return {'CANCELLED'}          return {'PASS_THROUGH'} # I want the operator to keep going      def invoke(self, context, event):         if context.space_data.type == 'VIEW_3D':             context.window_manager.modal_handler_add(self)             return {'RUNNING_MODAL'}         else:             self.report({'WARNING'}, "Active space must be a View3d")                         return {'CANCELLED'}      def Execute(self, context)         return {'RUNNING_MODAL'}  I can start the operator fine by pressing F3:  But I would like to start the operator from python. I have tried by adding the execute method, but this doesn't work since the context is either the text editor or console (not the view3d). I got the idea of using execute here (top link), but he just mentions the problem with context and not the resolution - if any:     (about 15:30)  (also have some of what I seek) Is it possible to trick Blender to think that I called the operator from view3d or something like that?


How to access App_Data folder in WCF service?  I have placed a xslt file and I am not able to find the path.


Figuring out how many megabytes go into gigabytes?

I needed to figure out how many requests could be made with 1000 GB of traffic if each request took 1MB on average. I quickly did the math on paper, and then as a second thought plugged it into Google. To my surprise, Google's answer is different than mine.  My way:  1,000 gigabytes = 1000*1024*1024*1024 bytes  Divide by 1 megabyte = 1024*1024 bytes to get:  (1000*1024*1024*1024)/(1024*1024) = 1,024,000    The Google Way:  1000 gigabytes / 1 megabyte  Output: 1,000,000    Am I wrong, or is Google wrong?


"Comments must be at least 15 characters in length" error, even if comment has 15 symbols

You can see gray text "585 characters left" ('cause looks like the comment has 15 symbols). But if you try to send it, you will get error.  It's because of the space symbol in the begging. So, here is the problem:   1st step validator count space as a valid symbol. But second validator (after pressing send), obviously, doesn't count spaces, so we get this error.   It's misleading a little bit. If spaces doesn't count, the error message should be shown in gray text too.


When I try to make a direct connection to a LAN game in Minecraft, it says, "Connection Refused." Anyone know what I'm doing wrong?

I open a single player game to LAN with one user, and with the other user (in the same house) I try to direct connect to their port (192.168.1.102:60194) and it says, "io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:" Anyone know what that means?


Can you use Magical Secrets to choose high level spells when multiclassing as a Bard?

Say you have a Wizard 7/Bard 9. You gain your 17th level and choose to gain the level in Bard (which grants you Magical Secrets). According to the Multiclass Spellcaster: Spell Slots per Spell Level table, you now have a single 9th level spell slot. Can the spells you choose from Magical Secrets be 9th level spells even though you can only cast up to 5th level Bard spells?


Ability to tag / mark question to later reference

I would like to request a feature which allows me to tag / mark certain questions to which I could come back later and answer at length, or just comeback later for reference.  I am not sure if such a feature exists. Please let me know there is.


My accepted paper now appears as "under review" - could it still be rejected?

I have a paper that was accepted at a conference and in publication of conference special issues of a journal. The acceptance email stated that we will be contacted by the journal editorial office for further actions regarding the publication.   At the time of acceptance the status was “editorial assessment” But this changed to “under review” again about a week after. Now the status changed to “reviews received”.  Why could this happen? It was already peer reviewed before. I am confused and anxious and it will get rejected. Any thoughts?


Using cyrillic with Tex Gyre Pagella and pdflatex?

I just saw in this posting:  the note: "the TeX Gyre Pagella font, which includes glyphs for cyrillic.". There is an MWE there, which apparently worked in 2009; here it is (I just moved the fontenc line before the babel line, because pdflatex complained):  \listfiles \documentclass{article}  \usepackage[utf8]{inputenc} \usepackage[T1,T2A]{fontenc} % before babel! \usepackage[ngerman,russian]{babel} \usepackage{tgpagella}  \begin{document}  Добро пожаловать!  \selectlanguage{ngerman}  Some german umlauts: ÄÖÜ, äöü, ß  \end{document}   I build this with pdflatex test.tex, and it fails on Texlive 2014 with:  ... This is METAFONT, Version 2.7182818 (TeX Live 2014) (preloaded base=mf)   kpathsea: Running mktexmf larm1000 ! I can't find file `larm1000'. <*> ...ljfour; mag:=1; nonstopmode; input larm1000  Please type another input file name ! Emergency stop. <*> ...ljfour; mag:=1; nonstopmode; input larm1000  Transcript written on mfput.log. grep: larm1000.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input larm1000' failed to make larm1000.tfm. kpathsea: Appending font creation commands to missfont.log.  ! Font T2A/cmr/m/n/10=larm1000 at 10.0pt not loadable: Metric (TFM) file not fo und. <to be read again>                     relax  l.100 \fontencoding\encodingdefault\selectfont  ?    Apparently I may be missing some package, but I have no idea which one.  Is it possible to get this example working with pdflatex, and if so - how?    EDIT: Just found , and so I managed to fix the problem by installing the TexLive lh package, then I got the document to compile:  tlmgr install lh                      # passes, font not really tgpagella? tlmgr install collection-langcyrillic # installs 36 packages, like babel-bulgarian,... lcyw, lhcyr...   With that, the output is:    ... and the cyrillic font doesn't look like tgpagella. So I installed collection-langcyrillic, but that didn't change the output either; still getting in the transcipt:  LaTeX Font Warning: Font shape `T2A/qpl/m/n' undefined (Font)              using `T2A/cmr/m/n' instead on input line 3.   ... so apparently, the output shows the cyrillic of "Computer Modern". Now, if just the cyrillic font could be made like tgpagella, that would be great...


Bilinear form as a product of two linear functionals

I have seen a few answers to this question in this site, one of them deals with a very special case, while the other one only one side of the problem is proved, so I wanted a better answer and asked this question.  Let $f$ be a bilinear form on a finite dimensional vector space $V$ over some field $\mathbb F$. I was trying to prove that $f$ can be expressed as a product of two linear functionals i.e. $$f(u,v) = L_{1}(u) L_{2}(v) \text{for} L_{1},L_{2} \in V^*$$ if and only if $f$ has rank $1$.  I just know the definitions. If someone suggests an answer it will be very much helpful.


Is it possible to find (the undeleted) posts of a deleted user?

What happens to (good) posts when a user is deleted, and can I find them by userid, either on site or via SEDE?


Lock questions in the review queue while being reviewed

More and more frequently in the review queues, I am spending time either fixing a post or considering whether an edit is valid, etc, only to make changes and have them denied/not count because someone else has blindly hit the approve button in the meantime.  My proposal is for the system to "lock" a post in the review queue once it has been presented to someone for review.  Do not let anyone else (in the review queue) do anything with it until it is released by the last user it was presented to (or a certain amount of time has elapsed).    By "lock" I mean that it won't show up in anyone elses list until released.  I did NOT mean that it would be in multiple queues and be unactionable in some of them.  This would fit well as the queues only present one at a time anyway.  This will allow people trying to make good decisions the time to do it and prevent someone else from making that effort a waste of time.  As support, look to some of the published reasoning behind the auto-question ban.  A large portion of it is that bad questions waste the time of the community.  Taking the time to ensure you are making a good decision in the /review queue only to have it not count because someone was badge-whoring and clicking the approve button as fast as they could also wastes the users time... arguably the more (for lack of a better way to put it) valuable user who is willing to invest some time and thought into making the site better.


In a web application, I have a page that contains a DIV that has an auto-width depending on the width of the browser window.  I need an auto-height for the object.  The DIV starts about 300px from the top screen, and its height should make it stretch to the bottom of the browser screen.  I have a max height for the container DIV, so there would have to be minimum-height for the div.  I believe I can just restrict that in CSS, and use Javascript to handle the resizing of the DIV.  My javascript isn't nearly as good as it should be.  Is there an easy script I could write that would do this for me?  Edit:  The DIV houses a control that does it's own overflow handling (implements its own scroll bar).


You can reach this IP address  (if my computer is online). I want to assign a domain to it so I wonder how is that possible when I have no DNS? I do own my domain which is ".com". My IP is static.  Thanks


Is there a word for when you run into someone and both of you try to avoid each other and fail, repeatedly?

It has most certainly happened to all of us at least once: Two people walking along the same narrow pathway in opposite directions walk into each other.   There is room for both to pass each other, but person A shifts to their left to avoid B, and B shifts to their right (i.e., A's left) in order to do the same thing, so they're still on a collision course.  They both realize the mistake and they both try to correct it by moving to the opposite side they did before, so the problem persists.   Rinse and repeat 3 or 4 times until one of the parties realizes: "I'll stick to the left (or right) no matter what, and let him pick the other side!", in a sort of perverse human feedback loop.  Is there a word or idiom to describe this situation?


Assume $x/a$ and $y/b$ are reduced, i.e. $\,\gcd(x,a) = 1 = \gcd(y,b)$. $${\rm if}\ \ \dfrac{x}a+\dfrac{y}b=\dfrac{z}c\ \ {\rm does}\  \dfrac{ab}{\gcd(a,b)^2}\mid c\ ?\qquad$$


How to prove that from "Every infinite cardinal satisfies $a^2=a$" we can prove that $b+c=bc$ for any two infinite cardinals $b,c$?

Prove that if $a^2=a$ for each infinite cardinal $a$ then $b + c = bc$ for any two infinite cardinals $b,c$.   I tried $b+c=(b+c)^2=b^2+2bc+c^2=b+2bc+c$, but then I'm stuck there.


What is the difference between "farthermost" and "furthermost"?

What is the difference between farthermost and furthermost? In most cases, a quick Google search for the "word vs word" returns the answer on the first page. Not for this one.


Readahead Settings for LVM, Device-Mapper, Software Raid and Block Devices - what wins?

I've been trying to find a straight answer on this one, and it has proved elusive.  This  and  is close, but does not really give me the specifics I would like.  Let's start with what I think I know.  If you have a standard block device and you run sudo blockdev --report you will get something like this:  RO    RA   SSZ   BSZ   StartSec            Size   Device rw   256   512  4096          0    500107862016   /dev/sda rw   256   512  4096       2048    399999238144   /dev/sda1 rw   256   512  1024  781252606            1024   /dev/sda2   Now, you decide to change that default 256 to 128 using --setra on any of the partitions and it happens to the whole block device, like so:  sudo blockdev --setra 128 /dev/sda1 sudo blockdev --report RO    RA   SSZ   BSZ   StartSec            Size   Device rw   128   512  4096          0    500107862016   /dev/sda rw   128   512  4096       2048    399999238144   /dev/sda1 rw   128   512  1024  781252606            1024   /dev/sda2   This makes perfect sense to me - the block level device is where the setting is, not the partition, so it all changes.  Also the default relationship between the RA setting and the device makes sense to me, it is generally:  RA * sector size (default = 512 bytes)   Hence, the changes I made above, with the default sector size will drop readahead from 128k to 64k.  All well and good so far.  However, what happens when we add in a software RAID, or LVM and device-mapper?  Imagine your report looks like this instead:  RO    RA   SSZ   BSZ   StartSec            Size   Device rw   256   512  4096          0     10737418240   /dev/xvda1 rw   256   512  4096          0    901875499008   /dev/xvdb rw   256   512  4096          0    108447924224   /dev/xvdj rw   256   512  4096          0    108447924224   /dev/xvdi rw   256   512  4096          0    108447924224   /dev/xvdh rw   256   512  4096          0    108447924224   /dev/xvdg rw  4096   512  4096          0    433787502592   /dev/md0 rw  4096   512   512          0    429496729600   /dev/dm-0   In this case we have a device-mapped dm-0 LVM device on top of the md0 created by mdadm, which is in fact a RAID0 stripe across the four devices xvdg-j.  Both the md0 and dm-0 have settings of 4096 for RA, far higher than the block devices.  So, some questions here:   How does the RA setting get passed down the virtual block device chain? Does dm-0 trump all because that is the top level block device you are actually accessing? Would lvchange -r have an impact on the dm-0 device and not show up here?   If it is as simple as, the RA setting from the virtual block device you are using gets passed on, does that mean that a read from dm-0 (or md0) will translate into 4 x 4096 RA reads? (one on each block device).  If so, that would mean that these settings explode the size of the readahead in the scenario above.  Then in terms of figuring out what the readahead setting is actually doing:  What do you use, equivalent to the sector size above to determine the actual readahead value for a virtual device:   The stripe size of the RAID (for md0)?  Some other sector size equivalent?  Is it configurable, and how? Does the FS play a part (I am primarily interested in ext4 and XFS)? Or, if it is just passed on, is it simply the RA setting from the top level device multiplied by the sector size of the real block devices?   Finally, would there be any preferred relationship between stripe size and the RA setting (for example)?  Here I am thinking that if the stripe is the smallest element that is going to be pulled off the RAID device, you would ideally not want there to have to be 2 disk accesses to service that minimum unit of data and would want to make the RA large enough to fulfill the request with a single access.


i want to disable google play store auto updates. I am not talking about auto update applications. I don't want to update my google play store version. Please help me.


WhatsApp messages are not appearing in chronological order

When in a group chat, if many messages are exchanged between other people in the group, when I check my Whatsapp, the messages are grouped according to sender and not chronologically. I know that my phone isn't the problem as I have recently changed my phone, however, I'm still experiencing the same problem.  I have tried uninstalling and re-installing WhatsApp on my phone, and the same problem still occurs.


Human's capacity to withstand extreme heat in dry air

What is the maximum temperature a human can withstand for short periods of time in an environment with dry air (e.g. oven @+300F, other confined spaces) and what would be the immediate risk of being in such environment be (lung damage, core temperature, etc.).


Can I "cut" edges on same mesh with extruding inwards?

I have made some edges on this face, but want a quick way to apply the same vertices/edges on the opposite face. I have tried extruding inwards and through the mesh and have been clicking buttons to see if I can stumble across this, but no success so far. I have researched a bit and understand I could look into the boolean modifier some more and get the result I want, but if there any trick to achieve this with my inward extruding? It seems like this would be a fast method if possible. Or some sort of copy&paste vertices to a face?


Do I need a visa for Paris, if my connecting flight stops for 24 hours in Paris?

Do I need visa for Paris, if my connecting flight stops at Paris for 24hrs and I want to visit Paris during that 24hrs? I have US B1 visa. I'll be travelling from San Francisco to Bangalore (India) via Paris. I hold Indian passport. If yes, what is the procedure for that visa?


Kotlin Error addition and subtraction results are bugged out

My app is facing some issues with some adding, subtracting, and multiplication errors when adding the same number to itself over and over. I can add numbers such as 1.5 to 1.5, but for some reason once I start using numbers such as 3.99, after a few operations of addition or subtraction, it bugs out and outputs numbers such as 19.950000000000003. I solved the problem above by measuring the length after the . then splitting the string. However now I am getting another problem, where sometimes if you start off with 9 * 3.99 or something alike, then you subtract 3.99 over and over, sometimes it results in the following chain 35.91 -> 31.92 -> 27.93 -> 23.93  This should not be happening because from 27.93 it should have went to 23.94. Could anyone help me with these problems, and maybe suggest a better way to deal with the adding/multiplication problem besides splitting the string that is displayed?


Does $^{\frac12}x=e^{W(\ln x)}$, or not?

Whenever I see tetration discussed here, I inevitably see it asserted that there's no consistent continuous definition for tetration. However, it seems to me that    If we restrict ourselves to positive real values, $^{\frac12}x=e^{W(\ln x)}$ is the only consistent definition for $^{\frac12}x$; and This definition is sufficient to define tetration to any real height, if we further say that $\displaystyle^tx = {\lim_{a \to t}}\; ^ax$. So, what gives? I don't especially think I'm smarter than professional mathematicians, so if there's an inconsistency I'd like to be able to recognize it. Is there?


Exploring the inside of a model, I find these curious red lines. Could someone tell me what they are and what purpose they have please?


How do I compact a file geodatabase with ArcPy?

I am preparing some data using FME, which I end up writing to an Esri file geodatabase. Unfortunately, FME doesn't appear to update the written feature classes' spatial indices. This results in display problems when I later inspect the written data with ArcMap (or other ArcGIS desktop tools).  It appears that there are two seemingly easy solutions for this problem:   Recreate any spatial indices after writing data. Compact the file geodatabase after writing data.   Compacting seems like the easier choice, because it can be done per geodatabase (vs. recreating indices per feature class).  I don't want to compact the geodatabase manually; ideally I'd want to compact the geodatabase inside my FME workbench, using a shutdown Python script. However, there appears to be no ArcGIS geoprocessing tool for compacting a geodatabase (only one for compressing, which is not the same thing).  Does anyone have a solution here?   Updating the spatial indices directly in FME; or compacting a file geodatabase using ArcPy (in an FME shutdown script).


What are the unit of measurement in Tikz?

I want to know what are the units of measurement (of length) in tikz are available. I know that pt, in, mm like units are available , but what more are allowed in tikz?   I work sometimes with qss language and with px like units (in tikz this causes illegal unit of measurement).


Unable to add punctuation without entering math mode in affiliation revtex4-2

I'm am stumped. I have an article that starts with \documentclass[twocolumn,aps,prd,amsmath,showpacs,floatfix,reprint,eprint]{revtex4-2} % chktex 8 \bibliographystyle{apsrev4-2}   % chktex 8 \usepackage{amsmath} \usepackage{mathtools} \usepackage{siunitx} \usepackage[nameinlink,capitalize]{cleveref} \usepackage{comment} \usepackage{textcomp} \usepackage{subcaption} \usepackage{breqn}  \usepackage[dvipsnames]{xcolor}  \date{\today} \begin{document} \title{Relativistic Langevin Equation derived from a particle-bath Lagrangian}  \author{Aleksandr \surname{Petrosyan}} \email{ap886@cantab.cam.ac.uk} \affiliation{Cavendish Laboratory University of Cambridge JJ Thomson Avenue CB3 0HE Cambridge U.K.}  This compiles fine. If I add a comma, e.g. like this: \affiliation{Cavendish Laboratory, University of Cambridge JJ Thomson Avenue CB3 0HE Cambridge U.K.}  LaTeX starts thinking that it's in math mode after the comma: the University of cambridge has all the spaces removed, and there's an error, in \maketitle. It finds one dollar, but not the other. For reference, I don't even have $ to delineate equations (like all good LaTeX-ites I use \( and \). None of the examples of the American Physical Society help, because they never contain a comma. My questions are  How do I insert a comma? even a tacky solution will do as long as it doesn't mess up the formatting. Whom do I contact to mention this bug. I'm used to GitHub issues, but I'm considerably less versed in how LaTeX development is handled.


Convert Java to C# with a tool, or manually?

I have a Java project which I'd like to convert to C#, and after looking here and elsewhere found out about a tool, .   However, in order to get it up and running (I'm new to Java) the site linked above describes grabbing the source and building it as a plugin to the Eclipse IDE, which I'd rather not do since I don't ordinarily do Java.  Does anyone know whether a standalone EXE exists which can simply utilize Sharpen to take a given Java project and run it through the wringer to convert it to C#? Or are Java and C# similar enough that it should be pretty straightforward to just port the code over to .NET manually?


I have been taking these pills for 3 days

I have question about using this phrase. For example my doctor told me to take 1 pill every day. Then after 3 days he asked me: how long have you been taking these meds?  I was taking them the 1st day, 2nd, 3rd and today 4th day I took them too in the morning and doctor asked me on 4th day how long have you been taking them. I said     I have been taking them for 3 days    but I am not sure since I took the pill today too so shouldnt have I said 4 days?  Should I count the on-going day or still not until its fully finished?


Im confused with the material. I have a logo below and on top monkey. The logo and the monkey have the same material. Monkey is just i want to check the steel effect. But for the text and the logo there is no steel and shiny effect      This type of result looking for    But the monkey look shiny steel or chrome effect will as the below logo and the text doesn't. What else i have to do achieve the steel shiny effect for the logo and text below. Any suggestion or help. Thanks


How do map applications calculate travel times?

What is the simulated speed used to calculate the travel time for each route?  Is it the speed limit for each road, simulated speed by actual time, or something else?


Under what circumstances would 5V@2.1A be lethal?

Besides obviously sticking an output of 5V directly to the heart. Are there areas inside the body where resistance in ohms is so low that a 5V electric potential would be fatal?   I got into an argument about this with my roommate after he made a joke about sticking an lightning apple lightning cable directly up his urethra. I told him that his brilliant idea could  cause a nasty shock since internal body resistance is so low. He, however, insisted that the lowest internal body resistance still sits at a few hundred ohms and 5V (5V 2.1A Charger) would not suffice to provide a dangerous current.  Would it be possible for internal resistance in this area to be so low that even 5V or less would be dangerous? Say it took a path up the bladder and through the kidneys and to the heart.


Prove if $W=W_1+\cdots+W_k$ then $\dim(W)=\dim(W_1)+\cdots+\dim(W_k)$ I'm trying to prove this but is a little complicated for me. Can someone help me?


I need to upload an image file from my HTML page. However, I am not going to use the form tag since there are other form fields (textfields, checkbox etc) that will be used to pass data to the server later.  My back end is in Node JS. All what I want is to retrieve the image data (file) from the Node Js end. How can I do this  HTML

File Uploader

coligo.io

             <button class="btn btn-lg upload-btn" type="button">Upload File</button>

  <input id="upload-input" type="file" name="uploads" multiple="multiple">
   JQuery  $('.upload-btn').on('click', function (){     $('#upload-input').click();     $('.progress-bar').text('0%');     $('.progress-bar').width('0%'); });  $('#upload-input').on('change', function(){    var files = $(this).get(0).files;    if (files.length > 0){     // create a FormData object which will be sent as the data payload in the     // AJAX request     var formData = new FormData();        // loop through all the selected files and add them to the formData object     for (var i = 0; i < files.length; i++) {       var file = files[i]; var tmppath = URL.createObjectURL(event.target.files[0]);       // add the files to formData object for the data payload       formData.append('uploads', tmppath);      }     $.ajax({       url: '/myp/imgup',       type: 'POST',       data: formData,       processData: false,       contentType: false,       success: function(data){           console.log('upload successful!\n' + data);       },       xhr: function() {         // create an XMLHttpRequest         var xhr = new XMLHttpRequest();          // listen to the 'progress' event         xhr.upload.addEventListener('progress', function(evt) {            if (evt.lengthComputable) {             // calculate the percentage of upload completed             var percentComplete = evt.loaded / evt.total;             percentComplete = parseInt(percentComplete * 100);              // update the Bootstrap progress bar with the new percentage             $('.progress-bar').text(percentComplete + '%');             $('.progress-bar').width(percentComplete + '%');              // once the upload reaches 100%, set the progress bar text to done             if (percentComplete === 100) {               $('.progress-bar').html('Done');             }            }          }, false);          return xhr;       }     });    } });   NODE JS  router.post('/imgup', function(req, res){     console.log(' File name '+req.files.upload);  });   I have been trying this out for several days, with no luck. Can someone help me out.


How to solve a second order but nonlinear differential equation?

I am a physics student and I am trying to solve a central potential problem and came to an equation like this:  $$y^{\prime\prime}+y=\frac{1}{y^3}$$  and I don't know how to solve this equation. Can anyone help me out?


Dual boot problem Windows 8 & Ubuntu 12.04

I have installed Ubuntu 12.04 on my laptop with Windows 8 pre-installed. But when selecting Windows 8 to boot I get following error: error: unknown command 'drivemap' error: invalid EFI filepath  I ran boot-repair more than once.  The output can be found here:   Hope you can help me.


I had a task where I had to figure if the argument was true or not.  $A=\{ n ∈ ℤ \mid n^2 < 5 \}, \quad  B=\{ 7, 8, \{2\}, \{2, 7, 8\}, \{\{7\}\} \}$  The first one was $\{-1, 2\} ∈ A$ and the answer to this was not true  since the set is not an integer.  The second one was $\{-1, 2\} ⊂ A$ and the answer to this was true since  -1 and 2 are elements of $A$.  I just can't seem to understand the difference between ∈ and ⊂ in this task and why the first argument was not true. Also it confuses me that the answer to the first one was that not true because the set is not an integer but aren't -1 and 2 integers?  There is other parts of this task that also add more confusion:     {2, 7, 8} ∈ B Answer: True since {2, 7, 8} is an element of set B      {2, 7, 8} ⊂ B Answer: Not true, for example 2 is not an element in set   B


My MTP capable device is not detected? What can I do about that?

Many questions here ask for how to get a certain MTP enabled device (a phone, tablet or media player) working, assuming that the device is somehow supported by current FOSS software. But what to do if it is not?  Problem: The device is not detected by mtp-detect  Connecting the MTP capable device to the computer and running mtp-detect from the  package in terminal returns:  No raw devices found.


Setting color text to improve eye movement from the of one line to the start of the next?

The web site   provides a chrome browser extension which colorizes paragraphs so that moving your eyes from one  line to the next is much quicker than with just black text.  See  for  a graphic which should make this clear.  Can this be done in LaTeX in a semi-automatic or automatic way?  Mark


Typesetting computer modern and Latin modern font in LaTeX

This might sound like a stupid beginner question, but... I have been using LaTeX for years and have always been looking for the exact type of font used in many econ papers, .    Some friends from the econ field told me this is just Latex's compute modern or Latin modern font (the latter gives your font a thicker, more accentuated look) or maybe some variants of times new roman. I have tried all of them on my PC (with WinEdt) and Mac (with TeXwork), but the output just don't look right.   Could anyone tell me what's the type of font in that paper and which package-if needed-should I mention in the preamble?  Thanks.


On 19th April, we left on a Lufthansa flight to Frankfurt - UA8848.  The departure was then delayed.  So we arrived late and missed our connecting flight which was due to depart at 9.00 to Heathrow (original target arrival time was 09.40).  We had to take a flight from Frankfurt to Munich (about 10.00 am).  We then had to take a flight from Munich (about 11.30) to Heathrow) arrival time about 1.00 pm).  I am trying to track what time the flight from Munich to Heathrow actually arrived on the 20th April, so I can see how delayed the arrival time was, from the original one of 09.40.     How can I track this?


70s or earlier post-apocalyptic short fiction with only one man and one woman remaining

I'm almost sure I read it in english, in a collection, more than 40 years ago. It was just possibly a shortish novelette, probably a short-story.  A plague has decimated mankind. Even though a cure did exist, only a single man managed to get access to it before everybody else was killed. He still has occasional fits of paralysis, prelude to death, but since the amount of medicine he has access to is huge, meant for a whole city, he can inject it over and over for his life-time and more.   The only other survivor was a woman who happened to be immune. The man wants to restart the human species. He hopes their future children can get the cure for long enough that eventually the plague will be definitely eliminated.  But he has to convince the woman. And she is very puritan. She wants a big marriage before starting a family. His arguments that there could be no priest or pastor to marry them leaves her undeterred : he can perform the rites himself, but she wants a white dress, flowers, and so on. So he manages to get all she wants, and they are about to enter together the big empty church. At the last minute, he has a pressing biological need. And since he is wearing a tuxedo, no pockets, he does not carry with him the medicine to inject in case of crisis.   Once in the toilet, he has a sudden attack of paralysis. He cannot get out but he can still call. The woman is within hearing distance, she knows where the medicine is, she has the skill to inject him, there is still time before paralysis kills him. The door to the toilets is not locked.  But he knows he is going to die, and mankind will not survive.   He is in the men's toilets. She won't get in.


Vectors and dot product in spherical coordinate system

Let $\vec{v_1}$ and $\vec{v_2}$ given: $\overrightarrow{V_1} = r_1\hat{u_r} + \theta_1\hat{u_\theta} + \phi_1\hat{u_\phi} \\   \overrightarrow{V_2} = r_2\hat{u_r} + \theta_2\hat{u_\theta} + \phi_2\hat{u_\phi} \\$  where $r_n\theta_n\phi_n$ are known constants.  My first question is whether $\vec{v_1}$ and $\vec{v_2}$ are functions? I think they are functions since for each point in coordinate system, the result of $\vec{v_1}$ and $\vec{v_2}$ is different since $\hat{u_r} \hat{u_\theta} \hat{u_\phi}$ changes direction. This is little weird when compared to cartesian coordinate system.  Second, Can we dot product in a similar manner done in cartesian coordinate system, i.e does dot product equal to $\vec{v_1} \cdot \vec{v_2}=r_1 \cdot r_2 + \theta_1 \cdot \theta_2 + \phi_1 \cdot \phi_2$? By similar arguments at question 1 It seems to me that it is only possible when they are defined at same point. Otherwise, i think we need to convert vectors to cartesian coordinate system.


Prove that $\phi$ is a partial relation for. Let $\phi$ is a relation on $\mathbb{R}\times\mathbb{R}$, $(a,b)\phi (x,y) \iff a\leq x$ and $b\leq y$

I'm stuck on how to prove this, most likely because I haven't really done an example like this before and I'm pretty new to partial order relations. It would be greatly appreciated if you could help me out, because I'm stressing over this, so any help would greatly be appreciated, thanks.  Question  Let $\phi$ be the relation on $\mathbb{R}\times \mathbb{R}$ in which $(a,b)\phi (x,y) \iff a\leq x$ and $b\leq y$. Prove that $\phi$ is a partial order relation. Additionally, is $\phi$ a total order relation? Explain why/why not.


After high-speed mining, unicoin rocks stopped giving coins

I have asked my friend Auto Hot Key (call him Hottie) to help me with mining unicoins, but he was so fast in clicking, that rocks soon stopped to contain any coins. How I can politely ask them to give coins again?


Evaluate $\lim_{n \rightarrow \infty } \frac {[(n+1)(n+2)\cdots(n+n)]^{1/n}}{n}$

Evaluate $$\lim_{n \rightarrow \infty~} \dfrac {[(n+1)(n+2)\cdots(n+n)]^{\dfrac {1}{n}}}{n}$$ using Cesáro-Stolz theorem.  I know there are many question like this, but i want to solve it using Cesáro-Stolz method and no others.  I took log and applied Cesáro-Stolz, I get $$\log{2}+n\log\cfrac{n}{n+1}$$  Which gives me answer as $\frac{2}{e}$ . But answer is $\frac{4}{e}$. Could someone help?.  Edit:  On taking log,  $$\lim_{n \to \infty} \frac{-n\log n + \sum\limits_{k=1}^{n} \log \left(k+n\right)}{n} \\= \lim_{n \to \infty} \left(-(n+1)\log (n+1) + \sum\limits_{k=1}^{n+1} \log \left(k+n\right)\right) - \left(-n\log n + \sum\limits_{k=1}^{n} \log \left(k+n\right)\right) \\ = \lim_{n \to \infty} \log \frac{2n+1}{n+1} - n\log \left(1+\frac{1}{n}\right) = \log 2 - 1$$ Which gives $2/e$


How do save game spawn locations work in Borderlands 2?

I've been playing Borderlands 2 on Xbox recently (havent played the first yet) and am wondering how the save game works.  If I hit Start and select Save and Quit from the menu then load my game again later it always returns me to the start of the level, meaning I have to go through and fight the same enemies again to get back up to where I originally saved. However, all my characters stats and items are saved.  Is the save meant to happen this way? I would have thought you would have loaded at the closest New-U machine rather then all the way back to the start of the level


How to completely delete all files pertaining to a program

How to delete all files pertaining to a recently installed program that has not worked? I think no one wants to fill their computer with odd bits and ends from aborted installations, dependencies that don‘t pan out &c.  I suppose that I could use a package manager for that, such as Synaptic. But how?  My immediate concern here is how to get rid of all files related to LanMessenger, which I’ve been trying to make work with no success, but seems to keep asking for more and more dependencies. The last time this sort of thing happened, I ended up freezing everything, and it took me days to be able to boot again.


How to redirect to https with www using nginx

I have read most of the questions about it but nothing seems to work for me. I must be doing something wrong so here is what I have done.  I have made two server blocks in DigitalOcean hosting using Ubuntu and Nginx. I have uploaded all the website files to var/www/website-folder.   Now when I try to access the website then only one link works and redirects don't work. The website is yoalfaaz[dot]com   Working:   Not working:  Not    working:  Now working:     (this link is what I want for my website)   I am using SSL from Namecheap and it worked perfectly when I used Hostgator hosting so one thing is sure that I am somewhere wrong in the setup. Below is the file in which I made changes /etc/nginx/sites-enabled.  server {         listen 80 ;         listen [::]:80 ;           return 301 https://www.example.com$request_uri;          # Add index.php to the list if you are using PHP         index index.php index.html index.htm index.nginx-debian.html;          server_name www.example.com example.com;          location / {                 # First attempt to serve request as file, then                 # as directory, then fall back to displaying a 404.                 try_files $uri $uri/ =404;         }         location ~ \.php$ {         include snippets/fastcgi-php.conf;         fastcgi_pass unix:/run/php/php7.0-fpm.sock;         }          location ~ /\.ht {         deny all;         } }  server {     listen 443 ssl http2;     listen [::]:443 ssl http2;     root /var/www/example.com/html;     server_name www.example.com;      # certs sent to the client in SERVER HELLO are concatenated in ssl_certificate     ssl_certificate /home/name/example.com.chained.crt;     ssl_certificate_key /home/name/example.com.key;     ssl_session_timeout 1d;     ssl_session_cache shared:SSL:50m;     ssl_session_tickets off;      # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits     #ssl_dhparam /path/to/dhparam.pem;      # intermediate configuration. tweak to your needs.     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;     ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDH$     ssl_prefer_server_ciphers on;      # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)     add_header Strict-Transport-Security max-age=15768000;  # OCSP Stapling ---     # fetch OCSP records from URL in ssl_certificate and cache them     ssl_stapling on;     ssl_stapling_verify on;      resolver 8.8.8.8;  }   UPDATED: There was an issue with DNS lookup, I have fixed that and now 301 redirects are working fine (checked through curl -I). But still, the website isn't loading.   As nothing was working so, I tried to remove redirects and try to load website without SSL and surprisingly it loaded just fine. Now I am thinking that the issue might be due to SSL, as every other problem has been fixed (as pointed out by the community members).


Regex with DOTALL, how to make it stop at some point?

I have a python regex like this:  re.compile(r'(\[chartsjs\].*\[/chartsjs\])', re.DOTALL)   I am trying to do a re.findall on patterns like this:  [charts] name: mychart type: line labels: fish, cat, dog data: 4, 5, 6 data2:5, 7, 9 [/charts]  this is some text  [charts] name: second type: line labels: 100, 500, 1000 data: 50, 100, 10000 data2: 100, 100, 100 [/charts]   But it seems like it is matching the first [charts] to the very last [charts] and grabbing everything in the middle, because when I print it to the console I am seeing this:  [u'[chartsjs]\r\nname: mychart\r\ntype: line\r\nlabels: fish, cat, dog\r\ndata: 4, 5, 6\r\ndata2:5, 7, 9\r\n[/chartsjs]\r\n\r\nthis is some text now fool\r\n\r\n[chartsjs]\r\nname: second\r\ntype: line\r\nlabels: 100, 500, 1000\r\ndata: 50, 100, 10000\r\ndata2: 100, 100, 100\r\n[/chartsjs]']   I would like the regex to return the first match, eliminate the arbitrary test and then find another arbitrary number of matches. Is there a way to do this?


How can I create my own card for my own game?

I've created a set of rules for a card game I would like to test, but I have no clue on how to build my nice-looking cards. Any hint on what program/site to use is very welcome.


DLink DWA 131 wireless adapter not working on ubuntu 15.10

I recently purchased  DWA 131 adapter. Its not working on ubuntu. I upgraded to 15.10 hoping that it would work ... but no link ..  Please help.   lsusb output is :   Bus 001 Device 002: ID 2001:3319 D-Link Corp.   dmesg output is :   [  691.728363] usb 1-3: new high-speed USB device number 2 using xhci_hcd [  691.856817] usb 1-3: New USB device found, idVendor=2001, idProduct=3319 [  691.856822] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [  691.856825] usb 1-3: Product: Wireless N Nano USB Adapter [  691.856827] usb 1-3: Manufacturer: Realtek [  691.856829] usb 1-3: SerialNumber: 00e04c000001


As we know, many Hollywood movies are dubbed into non English versions. For example,  are given in different languages. In majority cases, the original title in English is changed into the language it is dubbed in order to suit the taste of the audience. There are other reasons also, e.g .   Naturally, the movie directors, producers and screenplay writers do not have a command over all the languages the movie is dubbed. In these cases, who takes the responsibility of naming the movie in dubbed versions? Is it the distributor who buys the movie or the dialogue writer or someone else?   Just on a related note, this question is inspired after watching the names of some  with funny names. The original movie names were totally changed.


I'm trying to connect to mysql using the command  mysql -h 127.0.0.1   It comes up with the error  ERROR 1045 (28000): Access denied for user 'root'@'mydomain.com' (using password: NO)   Why is 127.0.0.1 being converted into my domain name, and how can I fix it?  However, it does work if I don't specify a host (and by extension, if 'localhost' is specified).  Edit: It seems it resolves to the domain name when using TCP, so it also fails when using   mysql -h localhost --protocol=TCP   Edit2: When I use skip-name-resolve I get a similar output except mydomain.com is replaced with x.x.x.x which is the public IP of mydomain.com.


Accuracy in division and product for inverse

I'm trying to optimize a chunk of C code I'm writing and I've noticed that products are way faster than divisions. This is a well known issue and very well explained pretty everywhere.  With that optimization in mind, given that I'm dividing by the same number over and over again, I tried to compute the inverse of that number just once and then multiply by it. However, I noticed that the results were not exactly the same.  I'va managed to write a really simple example in which the differences I'm talking about are clear:  #include <stdio.h>  int main(){     double D = 1.1891;     double Dinv = 1./D;      double a = 23123.1234;     double b = 156.123871;      printf("1/D    = %.60f\n", 1./D);     printf("Dinv   = %.60f\n", Dinv);     printf("1/D == Dinv? %s\n\n", 1./D == Dinv ? "True" : "False");      printf("a/D    = %.60f\n", a/D);     printf("a*Dinv = %.60f\n\n", a*Dinv);     printf("a/D == a*Dinv? %s\n\n", a/D == a*Dinv ? "True" : "False");      printf("b/D    = %.60f\n", b/D);     printf("b*Dinv = %.60f\n\n", b*Dinv);     printf("b/D == b*Dinv? %s\n\n", b/D == b*Dinv ? "True" : "False"); }   As you can see, I test whether a/D is equal to a*Dinv, where Dinv = 1/D, and the same test with b. The output of this code in my machine is the following:  1/D    = 0.840972163821377516335076052200747653841972351074218750000000 Dinv   = 0.840972163821377516335076052200747653841972351074218750000000 1/D == Dinv? True  a/D    = 19445.903120006725657731294631958007812500000000000000000000000000 a*Dinv = 19445.903120006729295710101723670959472656250000000000000000000000  a/D == a*Dinv? False  b/D    = 131.295829619039608360253623686730861663818359375000000000000000 b*Dinv = 131.295829619039608360253623686730861663818359375000000000000000 b/D == b*Dinv? True   As you can see in the output, the tests results are different: we can see that a/D is not equal to a*Dinv but that b/D is exactly the same as b*Dinv. This behaviour changes with the numbers tested (a and b are not numbers I'm really interested in, they are just examples I tested). My questions are:   Why are a/D and a*Dinv different? Why some numbers pass the test and others don't? Can we say something about the accuracy? I mean, given a/D and a*Dinv, can we say any of them is more accurate than the other?   Thank you!


Updating copied object also updates the parent object

I have got an object of defaults, then some values which will over-ride the defaults. However when i use Object.assign to create a new object, and update this, the defaults also get changed. let defaults = { test: 'hello world' }; let values = { test: 'beep' }; let merged = Object.assign(defaults, values);  merged.test = 'updated'  // defaults: { test: 'updated' }  Defaults should remain the same and only merged should get updated. I was under the impression that Object.assign copies the object, not references it.