Starter Chill, Decant, Pitch - Why no problem with Temp Shock?

So an often repeated mantra for starters is to (1) make a starter, (2) let it ferment out completely, (3) chill the starter in the fridge for a day or two, then (4) pour/decant off the oxidized "beer" in the starter flask and then (5) pitch just the slurry at the bottom of the flask into the fresh wort to be fermented.  However, I was under the impression that yeasts did not like extremely rapid temperature changes, and going from 40F in a fridge to 65-70F in wort almost instantly seems pretty rapid to me.  I'm not particularly questioning the effectiveness of the technique, mainly because I hear so many brewers espousing it, but I am curious how many here do this for most starters, and if there are any strains where you need to do something different, like pitch the whole starter at high-krausen. I prefer that method, not based on anything real, but just because it makes me the least nervous. (I KNOW the actively bubbling starter is working.)


I am trying to display a pH scale in LaTeX but Im having trouble figuring it out. All the googling I have been able to do just brings up the pH levels of Latex the material. Can someone offer some advice/resources?


Display failing to update past 46th line of code

I'm a complete novice with LaTeX. Excuse the bluntness of this ignorant question which most likely has an obvious answer. On my LaTeXit, the display window fails to update past the 46th line of code. Are there any potential maladies in the code that may have caused this or am I missing some simple procedure to continue on seeing further lines of code in the display window.


Difference between Administrator and WSS_Admin_WPG

What is difference between Administrator and  WSS_Admin_WPG, on the SharePoint Server Machine    Is Administrator rights on Server Machine enough to do all activities on SharePoint server , Power Shell and IIS Application pool To perform any IIS and Power shell related activity is it necessary that user must belong to IIS_IUSRS and SharePoint_Shell_Access Group


Show when the bounty is ending in the Featured list

When we go to a page like  we see the active Bounties on a certain tag (in this case, Python). When we put the cursor on the blue bounty box in the list we can see the message  this question has an open bounty worth XX reputation   Wouldn't it be useful to have the end time of the bounty so that it shows... ?  this question has an open bounty worth XX reputation ending in YY days


Looking for a murder mystery with a woman and her male clone

Here is what I remember:    Read in the late 80's or early 90's. Main character is a woman, but as a child, had been gender swapped to male. Recently "woke up" as a previous incarnation had been brutally murdered. Turns out that there is a male version of herself, an illegal clone. Takes place on a space station, so the extra clone is using valuable resources. The clone was created by mistake. Some criminals stole several clones and revived them, believing one of them would be worth ransoming.


Why is “a” necessary before "Mr. X" and "Mrs. Y"?

There is the following sentence in the scene a reputed lawyer, Thomas Cohen gives advice to 16-year old client William Kane, the son of deceased bank owner on the issue of inheritance of his father’s property in Jeffery Archer’s popular fiction, “Kane & Abel.”     “Mr. Cohen continued. ‘The answer to your second question is that you   have no personal or legal obligation to Mr. Henry Osborne. Under the   term of your father’s will, your mother is a trustee of his estate   along with a Mr. Alan Lloyd and a Mrs. Millie Preston, your surviving   godparents, until you come of age at twenty-one.’"   I wonder why it is a Mr. Alan Lloyd and a Mrs. Millie Preston. Here Mr. Alan Lloyd and Mrs. Millie Preston are too obvious to both parties concerned, and different from the case of being told by your secretary, "A phone from a Mr. Smith Brown.”  What significance is added to by prefixing ‘a’ to the name in this particular case?


Creating new List of objects in Java throws a NullPointerException

I have short question because I can't understand my mistake.  I have a collections:        List<ManagedFilesAuthorityDTO> managedFilesAuthorityDTOs = filesAuthorityRepository.findAll().stream()         .map(ManagedFilesAuthorityDTO::new)         .collect(Collectors.toList());   then I'm creating new list   List<ManagedFilesAuthorityDTO> outputFileList = null;   and I would like to iterate for managedFilesAuthorityDTOs and assign some object to outputFileList.  Here's my loop:   for (ManagedFilesAuthorityDTO dto : managedFilesAuthorityDTOs) {         outputFileList.add(dto);     }   And I still getting NullPointerException because my outputFileList is equals null. What I am doing wrong that I can't create new List?


Why can't I place blocks in Minecraft but I can break them?

I just got Minecraft and I tried to place blocks by clicking the right button on the mouse. But instead of placing the block I was holding, it just destroyed the block I was looking at. This was in the creative gamemode, but I went into survival and it still didn't work. I went to settings and made sure the place/use item command was on button two. I reset all of the controls with the button. I am using a Mac. Please tell me what I can do to make it so I can place blocks.


Let $f$ be an analytic isomorphism on the unit disc $D$, find the area of $f(D)$

Let $f$ have power series $f(z) = \sum_{n=1}^\infty a_n z^n$ in $D$, then prove that   $\mathrm{area}\, f(D) = \sum_{n=1}^\infty n \,|a_n|^2$.  Note: We define $\mathrm{area}\, S = \iint_S \mathrm{d}x\,\mathrm{d}y$.  I presume the way to do this is to take the integral $$\iint_{f(D)} \mathrm{d}x\,\mathrm{d}y = \iint_D \mathbf{J}_f (x+iy) \,\mathrm{d}x\,\mathrm{d}y = \int_0^1 \int_0^{2\pi} r \mathbf{J}_f (r e^{i \theta}) \mathrm{d}\theta\,\mathrm{d}r,$$ and letting $\gamma_r : [0,2\pi]\to\Bbb{C}, \,\gamma_r (\theta) = r e^{i\theta},\, \gamma_r '(\theta) = i\gamma_r (\theta),$ then we get $$\mathrm{area}\,f(D) = \int_0^1 \int_{\gamma_r}\frac{\lvert f'(z)\rvert^2 \bar{z}}{ir}\mathrm{d}z\,\mathrm{d}r.$$ Unfortunately, this approach seems to be a dead end. I think I'm meant to use Cauchy's Formula somewhere, but I can't see where that might be useful in this kind of question.


Looking for a story about the end of life on earth

I am looking for a story I read in an anthology. In the story, the stars started to disappear and strange creatures appeared and collected all of the butterflies on earth.  Eventually, the sun went out.


Close reason display bug, italics text is vertically offset a few px

I've taken the following picture to demonstrate:    This is Chrome 28 in Ubuntu 13.04.  As you can see by the magnificent freehand circle, the should, which is wrapped in <i> tags (Really? Why not <em>? Seriously, I expected more). is offset from the rest of the line.   It's not present when the question is finally closed. As seen in the following example, on hold question:


Attempt to invoke virtual method ... on a null object reference [Android Studio]

I have a code to set my ProgressBar with value on the different class but it does not run.  i need to set my progressbar with monsterHP then if the monsterHP below 0 it does reset the monster hp and increment the stage.  Heres the code:  public class MainActivity extends Activity {      MonsterStatus monsterStatus;     PlayerStatus playerStatus;      public Button myClick;     ProgressBar progressBar;     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.main_layout);          progressBar = (ProgressBar) findViewById(R.id.progressBar);         myClick = (Button) findViewById(R.id.btnClick);           progressBar.setProgress(monsterStatus.getMonsterHP());          myClick.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View v) {                 monsterStatus.onClick(playerStatus.getClickDamage());                 progressBar.setProgress(monsterStatus.getMonsterHP());             }         });      } }    public class MonsterStatus {      private String monsterName;     private  int monsterHP = 50;     public boolean isAlive;     private int currentStage = 1;     private int headID,bodyID,armsID,legsID;      public void setMonsterHP(){         if(currentStage > 10 && currentStage < 21){             monsterHP = 100;         }      }      public int getMonsterHP(){         return monsterHP;     }      public void onClick(int _clickPower){         monsterHP -= _clickPower;         if(monsterHP <= 0){             currentStage += 1;             setMonsterHP();         }     } }   What should i do to get the different class variable?


Show that, for every integer $a$ such that $\gcd(a,100)=1$, we have $a^{20}≡1\pmod{100}$.

Show that, for every integer $a$ such that $\gcd(a,100)\equiv 1$, we have $a^{20}\equiv 1\pmod{100}$.    Based on Euler's theorem, I have $a^{40}\equiv 1\pmod{100}$, but I have problem getting to  $a^{20}\equiv 1\pmod{100}$. And I am wondering if it has to do with the fact that $20\mid 40$?  Any hints would be appreciated!


Is there a LaTeX/TeX preprocessor/inliner that replaces only selected macros with their definitions?

I have the following situation:  Like most LaTeX users that write much, I have my own header files where the packages I use normally are required and the macros I use often are defined.  So if I write some article, I will normally use my own macros and save a lot of time and redundancies.  Now I send in my article to some journal and they want to publish it! Of course they want me to send in my source code.  Naturally, the following problem arises: The publishers won't want to include my own headers. They want code that compiles on every regular TeX-distribution. How can I convert my source into a file that doesn't contain my own macros anymore?  I need something like a preprocessor, that "inlines"/expands all macros and definitions found in the headers I explicitly specify (my headers), but not those in the other, unmentioned packages (regular headers).  Does anything like this exist? Could it be implemented using TeX/LaTeX or would one have to reimplement the macro expansion mechanism?


Is there a truly universal wildcard in Grep?

Really basic question here. So I'm told that a dot . matches any character EXCEPT a line break. I'm looking for something that matches any character, including line breaks.  All I want to do is to capture all the text in a website page between two specific strings, stripping the header and the footer. Something like HEADER TEXT(.+)FOOTER TEXT and then extract what's in the parentheses, but I can't find a way to include all text AND line breaks between header and footer, does this make sense? Thanks in advance!


What is the difference between push and give a push?

I would like to know the difference between push and give a push when used in the conversation. Why people use the phrase, 'give a push' instead of the word, 'push'?  ex) walk=take a walk, shower=take a shower.


Is there some way to call a class which is defined by String or a similar way?

I have a program where, if the user enters "1" then the "Assignment01" class will be called and if the user enters "14" then the "Assignment14" class will be called and so on.  Currently, I am using Switch Case Statement to call a function according to the user's number input like shown on the code. But what if there were 100 of classes which needs to be called per the user's input?  It will be really frustrating to have to create a case for calling every single class. So, is there another way to make it short and efficient?  For example:  // Assume user inputs "10" so 'userInput = 10' String classVariable = "Assignment" + userInput + ".main(args)";  classVariable; // Result in like 'Assignment10.main(args);'   Unfortunately, this can't be done as that is a String but is there a similar way like to define that String into a class so it can be called like that?  EDIT: All I want is that when the user enters integer like say "30" then the class "Assignment30" should be called which can be done like "Assignment30.main(args);" through a switch case statement but I can't create every single case.  It would be better if I could put like say "Assignment+userInput+.main(args);" or something.  CODE:-  switch (userInput) {      default:         AssignmentMain.errorLevel();         break;      case 1:         System.out.println();         Assignment01.main(args);         break;       case 2:         System.out.println();         Assignment02.main(args);         break;      case 3:         System.out.println();         Assignment03.main(args);         break;      case 4:         System.out.println();         Assignment04.main(args);         break;      case 5:         System.out.println();         Assignment05.main(args);         break;  }


How can I remove ALL space around TiKZ. So given MWE below, I want no space between fbox and the node box (so essentially I want to see 1 line). How to realize this?   Is this space in tikzpicture or in \fbox?   How to remove space between \fbox and node    MWE  \documentclass{article} \usepackage{tikz}  \begin{document} \fbox{%   \begin{tikzpicture}[node distance = 0.8cm and 0.2cm]%     \node[draw] (center) {CENTER}; %   \end{tikzpicture}% } \end{document}


Why are some group representations much easier to compute discrete logarithm for?

The multiplicative group mod $p$ is isometric to the additive group mod $p-1$, yet computing discrete logarithms in the additive group is easy and completing discrete logarithms in the multiplicative group is usually hard.  What is it about group representation that makes group representation matter so much for the complexity of computing discrete logarithms?


How long does a Suggestion last, after the spell is over, in the NPCs head?

I'm aware that the  spell could last up to 8 hours or until the task is performed. However, take this scenario as an example. I'm running Curse of Strahd for my group. They just made it to Vallaki with Ismark and Ireena in tow. They walked through the town square, saw Izek with guards, and comically went over to him to ask questions. Shortly into the awkward conversation, Izek noticed Ireena and immediately wanted to take her away for "questioning." The wizard in the group then cast Suggestion and told Izek, "There's no need to take her." Izek failed his save so he agreed and went about his business replacing the old posters. This is an interesting scenario for me because Suggestion worked but the wizard didn't word it in a way that would last long (in my opinion). So at what point in time would it dawn on Izek that Ireena is in town and that he should arrest her? Would he need to see her again? I have an idea in my head how this is going to play out but wanted others' take on it. Thanks!


I need solve this integral, and I tried various methods of solving and did not get it. The integral is:   $$\frac{1}{2\pi}\int_{0}^{2\pi}\frac{1}{1-2t\cos\theta +t^2}d\theta,$$  where $t$ is a positive integer.


Which level of canonicity does the Star Wars Holiday Special hold, relative to other works?

For instance, it predates everything except the first two movies. Additionally, Han Solo eventually shows up, and Luke and Leia are both there as well.  I will post followup questions regarding the made-for-tv Ewok movies should this one prove popular.


Turning a cipher into a hashing function

This is theoretical question. I'd like to know if it's possible (and what are eventually the consequences), not that I'm going to do it in one of my projects. ;)  The first hashing functions created were based on a symmetric cipher (just like the first Unix crypt was based on DES). The idea was simple. Use the password as key to encode a constant.  I'd like to know if it's still possible to convert any modern symmetric cipher into a hashing function (and second question: into a cryptographic hashing function). Is it possible (easier) to guess the key, when you have an encoded and decoded messages?


I read this book in high school too many years ago for me to think about. Martian colonist are raiding earth's oceans for water and because of the conditions on Mars where only male children are conceived, they are also on the look out for young women as potential mates. Our main character while on a raid, bags not only a young woman but her brother as well. Returning to Mars they find that Earth has attacked Mars can't remember much more.


How to add handler to dinamically created tr in JQuery?

I'm trying to add a handler to a tr that is generated in JQuery but it doesn't respond. Each row is meant to open a different view.  someArray.forEach(     function (element) {                   $('#table').append("<tr id='" + element.id +"'
").ready(           function() {             $("#" + class.id).on("click", function () {                 $("body").load("OtherView.html");                                })     });       });


What happened in the recent Muon $g-2$ experiment, and what do the new results indicate that deviate from the existing theory?

I have just started a course on particle physics and I tried to see what the muon $g-2$ experiment basically says. There were some videos trying to put it in layman's terms but those were not very satisfactory. Can someone explain what happened in this experiment and what do the new results indicate that deviate from the existing theory in simple terms (if possible)? Why are the results an indication of a new fundamental force or particle? Are there any existing theories like string theory that could account for such deviations?


Is rolling friction different from static friction?

In case of car movement, static friction is responsible for acceleration of car. Does the rolling friction act even when car is accelerating or it acts only when power supplied by the Engine is zero? Is that rolling friction is responsible for maintaining constant speeds of car even at low speeds; say 10kmph(in first gear)?


Need separate columns that calculate percentage

I have the following table:  NAME Alex Bob  Bob Tim Alex Roger   I need to produce the following:   Name    Count Percentage  Alex    2     33%  Bob     2     33%  Roger   1     16.6%  Tim     1     16.6%   I have no idea where to start.  I can do the initial query for the count which is simple.


double amount1 = 2.15; double amount2 = 1.10; System.out.println(amount1 - amount2);  -------  1.0499999999999998  Why above code produces 1.0499999999999998


Identify a book featuring Free Energy given by an alien

I read this book back around 2002-2004 The protagonist is given the key to perpetual energy by a mysterious alien, all is well until he finds out the energy is actually slowing the earth's rotation.  There might even be a second book in the series but it's been forever, and I can't recall.  I've posed this question to the folks over at borderland books as well with no luck, hope you can help!


Let $K=F[x]/(p(x))$, where $F$ is a field, $p(x)\in F[x]$ is an irreducible polynomial.  What are all the maximal ideals in $K[y]$?  Attempt: I have an attempt, but not entirely sure it is correct.  Since $(p(x))$ is a maximal ideal in $F[x]$, this means $K$ is actually a field.  Thus $K[y]$ is a PID.  So maximal ideals in $K[y]$ are $(g(y))$ for irreducible polynomials $g(y)\in K[y]$?


Effect of forces (gravitational or other) on a wheel out cycle

It is not a question. It is my own doubt.     Suppose a wheel is moving towards the North. The Wheel shouldn't fall if the wheel had not stopped is moving. But if the wheel stops it's moving them it will falls either the easy or West (I know in one case it didn't fall and stand still, So Just think about bicycles. In this case the cycle may not fall too but the chance is very low). So give me a idea why the wheel is falling (in some cases) and not falling (in some cases). Please give me a good idea.   Note: If I assume the wheel as a ring then it is given that the width is so small like a coin.If I stand the coin then it will surely fall but if I forced it and moved out then it won't fall till it stops. My question is why??  Caution: It is not duplicate of the question which was asked before.See the previous question tells us that why bicycles falls while running at a high speed.But my question is why cycles didn't fall while driving but falls when it has no motion?


Restrict SSH Access to Specific IP for User

My /etc/ssh/sshd_config file has a line like:  AllowUsers jim@11.22.33.456   If I want to allow jim to use another IP addresses, how do I specify it?   Does it take the form of a comma separated list? Or, do add a similar line like   AllowUsers jim@new-ip-address   ?


Why does a glass acts like a mirror in viewed at an angle?

There is a conference hall , glass door parallel to my desk. whenever  the door is open, I can see reflection of images perpendicular to the viewing angle. But when the door is closed, I can’t see any reflection but see thru.   Why transparent glasses acts as a mirror viewed at certain angle?  One thing I noticed is, the reflection is seeing when the back side of the glass is darker than its surroundings.


What should I do to preserve a 100-year-old photograph?

I have a 100 year old picture on what appears to be mounted on cardboard. How can I preserve it?  I haven't tried anything to preserve it other then keeping it between paper, which isn't working.   How do you keep the picture from disintegrating?


Why there is a 'the' before earlier?  "... demonstrate that the earlier someone learns an additional language the more likely they are to master it."


I reviewed the SQL Server 2012 technical upgrade guide and also googled for more recommendations.  I am migrating a SQL Server 2008 R2 instance to SQL Server 2012 on a separate machine.  Here is what I plan to do. Please correct and advise your recommendations.   On SQL Server 2008 R2 instance:   I ran the SQL Server upgrade advisor instance. Take backup after all activity is stopped.  On SQL Server 2012 instance:   Restored SQL Server 2008 R2 backups  Update the database compatibility level to 110 dbcc checkdb  with data_purity EXEC sp_updatestats;  EXEC sp_MSforeachtable @command1='UPDATE STATISTICS ? WITH FULLSCAN';  DBCC UPDATEUSAGE(dbname);     I will have the logins, job setup separately.  Do I need to rebuild the indexes? Any thing else?  I truly value your input and hope to hear your recommendations.  Thank you.


How can I calculate sensor size (width and height) from focus length, vertical, and horizontal angle of view?

How to calculate sensor size (width/height) when knowing focus length, vertical & horizontal angle view (FOV)?


Simultaneous diagonlisation of two quadratic forms, one of which is positive definite

Let $\varphi, \phi$ be quadratic forms on $V$ and suppose $\varphi$ is positive definite.  I want to find a basis for V such that $\varphi$ and $\phi$ are both represented by diagonal matrices.  My idea is to define an inner product $<,>: V\times V \rightarrow F$ where $<v,w> = \varphi(v,w)$.   I know that if I can find a basis that is orthonormal w.r.t. this inner product that diagonalises $\phi$, then I am done, since $\varphi$ will be represented by the identity with respect to this basis.  I know that I can use Gram-Schmidt to get an orthonormal basis for $V$, but I don't understand how to choose a basis that diagonalises $\phi$.  I realised I didn't understand what I was doing when I tried the example where $\phi$ is the symmetric bilinear form associated to $2x^2 + 3y^2 +3z^2 - 2yz = (\sqrt{3}z - \frac{1}{\sqrt{3}}y)^2 + 2x^2 + \frac{8}{3}y^2$ which is positive definite, and wish to simultaneously diagonalise this and $\phi$ which is the symmetric bilinear form associated to the quadratic form $3x^2 + 3y^2 + z^2 +2xy - 3xz + 3yz$.  Help in general, or with relevance to this particular example, gratefully received.


Conservation law of energy and Big Bang?

Did the law of conservation of energy apply to the earliest moments of the Big Bang? If so, what theoretical physics supports this?   I hear that Einstein's theory of relativity disputes the law of conservation of energy- so does that mean the law is false, or only some aspect of it?


Distribution of days in a week on Christmas

I am wondering if there is a strict argument about the probabilities of Christmas (Dec. 25) on Monday, Tuesday, ..., Sunday. My experiments give:  Sunday 0.145 Monday  0.14 Tuesday 0.145 Wednesday 0.1425 Thursday  0.1425 Saturday 0.14 Friday 0.145   It looks that they are not equal. :)  My question is: 1) How to obtain the probabilities without restricting the counts over certain range of years? 2) why Sunday is more probable than Wednesday, which is more probable than Monday, if it is true?


Windows Ubuntu dual boot - Share files between OS

Well I have a netbook, so I can't play games on windows either, no problem. But I'm getting a new desktop PC with better hadware and it will be able to run the most popular games and I want to have Windows on it to play games and software not compatible with ubuntu. I also want to have Ubuntu, as my primary OS, so I will set a dual boot.   In this computer I will have a small SSD with both OS and a second drive (a 500gb HDD) to store my files. I want to avoid copying files from one OS to another every time I, ie, download a file. My question is: Is there any way that I could make both OS use that HDD for home, like set it as NTFS and make ubuntu mount it on /home and also make windows to store user files, like My Documents, My Videos and Downloads, etc, on that partition?


I have problems with subquerys. In phpMyAdmin when I enter this:  SELECT companys.id    FROM companys    JOIN users      ON users.company = companys.id   WHERE users.id = '$LOGGED_IN_USER'   I get number 1 returned. That is correct.  And then I tested:  UPDATE companys     SET companys.signature = '$SIGNATURE'   WHERE companys.id = 1    That also works, it updates the value with $SIGNATURE where companys.id = 1. So far so good. Now to the problem. The problem appears when I combine those two:  UPDATE companys     SET companys.signature = '$SIGNATURE'   WHERE companys.id = ( SELECT companys.id                           FROM companys                           JOIN users                             ON users.company = companys.id                          WHERE users.id = '$LOGGED_IN_USER')   The DB never gets updated. It is like the inner select doesn't work suddenly for some reason.


Hello there at Electrical Engineering SE,  i am thinking about soldering a selfmade micro usb converter for my Acer Switch 10 tablet. After looking at the charger, i found out that it only needs 12 volt and 1,5 amps to charge (considering the tablet can be run while charging, the power requirements are very low). My goal is to make an adapter, so i can charge my tablet on any USB port or with my mobile battery.  In a RasPi project, i already converted 5 volt to 12 volt to power up and run a display. So boosting the voltage is no problem for me.  What i want to know is : considering i can already boost the voltage, do i have to boost the current to 1,5 amps or can i charge my tablet at a lower current without damaging the battery ?  Another question is : Do i have to take other security mechanisms for not to break the internal battery (Like capping the maximum input current to 1,5 amps) ?  Thank you in advance dor helping me making my tab more mobile.


If there is a unique left identity, then it is also a right identity

Let $(R,+,\cdot)$ be a ring, and $e \in R$ be an element such that $ea=a$ for all $a\in R$. I'm trying to prove that if $e$ is unique with this property, then $ae=a$ for all $a\in R $.  So far I have $e^2 = e$ (using uniqueness), but I am stuck. I saw a proof of this fact for groups which used the existence of inverses, which we don't have here. I wonder if the result is really true here. Can someone help? Thanks.


Can I board my flight from an intermediary city?

My return flight takes the following path: Ottawa - Montreal - Frankfurt - Toulouse. The companies are Air Canada from Ottawa to Frankfurt and Lufthansa for the last flight.  I plan on visiting Montreal in my last days in Canada. Can I depart from Montreal instead of Ottawa without any trouble?


\hbox{} or ~ when beginning a paragraph?

Consider the following MWE:  \documentclass{article} \usepackage[showframe]{geometry} \begin{document} \bigskip This is a test. \end{document}   This renders as follows:    As you can see, the \bigskip fails to leave a vertical space. This is a common nuisance, which I normally deal with by preceding the command with either \hbox{}, or ~. For instance:  \documentclass{article} \usepackage[showframe]{geometry} \begin{document} \hbox{}\bigskip This is a test. \end{document}   renders:    What I want to know is (1) why does this happens, (2) why do \hbox{} and ~ work here, and (3) what is the best practice around this issue. (I imagine this has to do with vmode and hmode, but I don't really know what's going on.)


Is it safe to drive a motorcycle in Bali without IDP?

I am planning to travel to Bali during the month of July. I have a driving license of India, but I don't have an International Driving Permit. Is it fine to drive a motorcycle in Bali with out it? What are the alternatives that I can look out for in this case?


I've got a bunch of routes that I want to be able to throw in my Web.Config file. I need one key and two value fields for each section/item in the collection. Something along the lines of this...  <routes>     <add         key="AdministrationDefault"         url="Administration/"         file="~Administration/Default.aspx" />      <add         key="AdministrationCreateCampaign"         url="Administration/CreateCampaign/"         file="~/Administration/CreateCampaign.aspx" />      <add         key="AdministrationLogout"         url="Administration/Leave/"         file="~/Administration/Leave.aspx" /> </routes>   Is this possible?


Why the solution of MLE based on gaussian assumption and the solution of residual-sum of squares are same?

There are two approaches by which solution to multiple linear regression are obtained. One is maximum-likelihood in which it is assumed that erorr $\epsilon$ is normally distributed and other is by directly equating the derivative of residual sum of squares (RSS) to zero. What is the reason that two approaches give similar solution, I MLE approach is more restrictive than RSS approach, but still the solution is similar. What am I missing?


Error when exporting mesh from .blender to .obj

i recently used blender to create a butterfly knife. it looks normal until i export it   How i can fix this?


prove that $n^{13}-n\equiv 0\mod(2730)$ by generalizing Fermat's little theorem.

When I saw this problem, it came to me that Fermat's little theorem that says:$$a^p\equiv a\mod(p)$$can also been said in general: $$a^{1+(p-1)k}\equiv a\mod(p)$$ Ad since $13$ can be written as:$$1+(2-1)12=13\\1+(3-1)6=13\\1+(5-1)3=13\\1+(7-1)2=13\\1+(13-1)1=13$$Therefor $$n^{13}\equiv n\mod(2\cdot3\cdot5\cdot7\cdot13=2730)$$ But I didn't find a way to prove this generalization $a^{1+(p-1)k}\equiv a\mod(p)$. Maybe someone can help me prove it?  Thanks.


volition@sjb:~/gd/openslide-3.4.1$ sudo apt-get update Hit:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                           Hit:3 http://dl.google.com/linux/chrome/deb stable Release                             Hit:5 http://cn.archive.ubuntu.com/ubuntu bionic InRelease                             Ign:6 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic InRelease                 Hit:7 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease   Hit:8 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:9 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease                   Err:10 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic Release            404  Not Found [IP: 91.189.95.83 80] Reading package lists... Done E: The repository 'http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu bionic 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.


Obtain normal map from specific camera and transformation

This may be a long shot, but after researching fruitlessly for about two weeks, I wanted to ask here in the hopes that someone who is a bit more knowledgeable about Blender and computer vision can assist me or at least point me in the right direction. The problem is, I would like to know how I can acquire the normal map specific to a camera and then transform it based on another camera.   The scenario is, let's say we have stereo cameras; Camera A and Camera B. We would then want to obtain the normal map A' that comes from transforming the normal map of a view point A (Camera A) to another view point B (Camera B). Then perform matching in two normal maps: A' and B, similar to SURF or SIFT for finding the correspondences between these two normal maps.   The limitations I have encountered are:  1) How to acquire the normal map (camera specific) without baking? 2) How to transform that normal map (once acquired) to Camera B?   I assume using opencv to find the correspondences between the two normal maps would be the easiest part, so these two questions are most important for me at the moment. Also tips on how to apply this in cycles/Sverchok would also be very much appreciated.


Can sacred flame target someone that is behind total cover?

One of the rules for targeting spells in the Player's Handbook says that spells must have :  A Clear Path to the Target To target something, you must have a clear path to it, so it can't be behind total cover. If you place an area of effect at a point that you can't see and an obstruction, such as a wall, is between you and that point, the point of origin comes into being on the near side of that obstruction.  And the description for  says:  A target with total cover can't be targeted directly by an attack or a spell, although some spells can reach such a target by including it in an area of effect. A target has total cover if it is completely concealed by an obstacle.  However, the spell  says that the target "gains no benefit from cover". Does this mean sacred flame can target someone that is behind total cover?


Android 5.0 Lollipop device not detected via USB

When the device is set to use MTP, neither Windows, nor ADB will detect the device when connect via USB cable. I have tried multiple cables, in multiple USB ports. I have not tried other computers yet, as this is the only one that actually has the driver installed.  Disclaimer: I am running an Unofficial CyanogenMod 12 build of Android 5.0.2  Device : LG G3 (LG-D855) Android 5.0.2  Google USB Driver: Installed USB debugging: Enabled PC: Windows 8.1 Pro Update 1 No one, except me, has reported this as an issue in the .   I have been unable to get my PC to detect the device via USB since I first installed CM12, which was around 11/10/2014.      If i change to PTP, Windows will detect the device, as will ADB. But Windows will only let me access the internal storage, and Camera folders.


I have come across the term Non-equilibrium phase transition. And unfortunately I can't find any examples of such a phenomenon. What examples of nonequilibrium phase transitions are known? Are there some analogies with "Ising-like" models, which clarify the main peculiarity of such transitions?  How to distinguish such a transition from equilibrium phase transitions?


in a SMB environment  in an SMB environment

SMB stands for small to midsize business. If I was using 'SMB' on my resume, what would be more appropriate to use before 'SMB'.   in a SMB environment   or   in an SMB environment   How do I know how the reader will read it? Some read the letters out loud which would produce the "ess" sound which would require the "an" but someone else who knows what it stands for, (which I hope is everyone) will be expecting the preceding word to be "a".


How can dissipative/friction terms be incorporated into a Lagrangian?

I'm trying to find a suitable Lagrangian for a damped harmonic oscillator, a system that satisfies the following equation of motion:  $$m \ddot{x} + \gamma \dot{x} + \frac{d\phi}{dx} = 0.$$  What I find in most texts is that the Lagrangian is defined as   $$L = T - V$$  and the dissipation terms are obtained from a separate dissipation function  $$\mathscr{F} = \frac{1}{2}\gamma\dot{x}^2$$  which gives the Lagrange equation  $$\frac{d}{dt}\left(\frac{\partial L}{\partial \dot{x}}\right) - \frac{\partial L}{\partial x} = -\frac{\partial \mathscr{F}}{\partial \dot{x}}.$$    However, I'm trying to derive the EOM from basic variational principles, by setting $\delta S = 0$, where $S$ is the action.   Is there any way to incorporate the dissipation term in the Lagrangian so that this would be possible? If not, why can it not be incorporated?   I am unable to find the reasoning behind this on the texts I've referred to so far (Goldstein as well as Landau-Lishitz), and it would be helpful if someone could direct me towards a resource where I can find something on this.


Find a formula for  (1 / (1 · 2)) + (1 / (2 · 3)) + (1 / (3 · 4)) + . . . + (1 /(n(n + 1) ) by examining the values of this expression for small values of n, where n is a positive integer. Use mathematical induction to prove your result.  I know there is a similar problem solved, but I am looking for all positive integers, rather than just integers greater than 2.


i have i minecraft survival world but i want to invite worldwide friends to my world

Can anybody help me with this? I have some friends that are NOT local so a LAN world would not be able  to reach them, so how would i do this i don't want to make a world wide server that anybody can join. I live in the northern part of the united state's, one of my friends lives in California and one lives in Australia. So how would i go about making a server that BOTH of them would be able to reach?!


Right identity and Right inverse implies a group

Let $(G, *)$ be a semi-group. Suppose   $ \exists e \in G$ such that $\forall a \in G,\  ae = a$;  $\forall a \in G, \exists a^{-1} \in G$ such that $aa^{-1} = e$.    How can we prove that $(G,*)$ is a group?


What is the difference between cubic splines and cubic b-splines?

I am dealing with a numerical problem with cubic spline, but I am a little bit confused while using them because of terms spline and b-spline.   In simple words, what is the difference between the cubic spline and cubic b-spline? Are these both terms the same, or is the b-spline another name for cubic spline?


Logitech Mouse: how can I use additional buttons?

I recently bought a Logitech M560 mouse. It works fine on my Mac, but I wonder if there's a software/prefpane (free or paid) I can use to map the additional buttons I have on my mouse (i.e. to open dashboard, select line, etc...) Logitech at the moment offers no support for Mac for this model (I was aware of this when I bought the mouse)  Without any configuration the bottom side button works as "Add bookmark" in Chrome, so I think I can do something for this...


Cutting text from comments does not put text on the clipboard

Twice now, while typing up a comment on a question, my comment was too long, so I selected a portion of the text, tapped cut, posted the comment, then went into my notes app to save the cut text to see if I could make it more succinct, but all that’s pasted is either a space or some sort of attachment. There seems to be no way to recover the cut text that I can determine. The first time, I assumed it was a fluke or that I did something wrong, but it just happened again, so I think there’s some sort of bug in the app.  Is there a way to cut text from a comment and paste it elsewhere, like in another app? Is it just me having this issue?  Edit: I just tested it in the comments below. I typed the word “Testing”, selected it, cut it, switched to my notes app and attempted to paste. It inserted a 7 byte attachment with a name that was a long hash string and it had a Dropbox icon. There’s no way to open it to access the text.   App Version: 1.6.6.2 Device: iPhone 6s OS Version: Version 11.4.1 (Build 15G77)


New reputation is too verbose: upvote/unupvote, upvote again

With the new reputation system I get a lot of useless reputation up and down information in my history. This happens when a user upvote, unupvote and then upvote again in a small time window.  upvote/unupvote example:    accept/unaccept example:    This is very annoying and doesn't reflect anymore my common-sense-inspired reputation history.  Could something be done to fix this behavior?    For example show it only if the answer has been edited in between the upvote-unupvote?    Should it also be disabled for the first 5 minutes (like the edit notification)? (I don't know if this 5 minutes limbo is already in place or not)  Note: I believe that such users are in good faith and/or just newbies, but this seems to me like a highway for trolling:


The displayed gig in flash drive does not equal in its system properties

why is it that my flash drive displayed 8 gig in the package and when I look at it in the system properties it doesn't equal to 8 gig..is it a bug or not? justify


Let $a_n \subset \mathbb C$ is a sequence Show that if $\sum_{n=1}^{\infty} a_nx_n \lt \infty$ $\forall x_n \in \ell^1$   then $a_n \in \ell^{\infty}$  What did I do : $x_n \in \ell^1 \Rightarrow \sum_{n=1}^{\infty} |x_n| \lt \infty $ Since $\mathbb C$ is a Banach space $\sum_{n=1}^{\infty} x_n \lt \infty $ and from Leibnitz rule $x_n \to 0$ $\sum_{n=1}^{\infty} a_nx_n \lt \infty \Rightarrow$ $a_nx_n \to 0$ i.e. $\forall \varepsilon \gt 0$$ |a_nx_n| \lt \varepsilon $ $|a_n||x_n|=|a_nx_n| \lt \varepsilon \Rightarrow$ $|a_n| \lt \varepsilon /|x_n| $ and $|x_n|$ is a finite number thus terms of $a_n$ are bounded. So $a_n \in \ell^{\infty}$ I’m not sure about my writtens. It seems wrong to me. Could someone fix me please? Thanks a lot


AJAX call working initially, but when you send another nothing happens

The below code works fine, independently. Meaning, if I come to the page and smash the like button it will function correctly and display the unlike button. However, if I immediately click the unlike button following that, nothing will happen. I will have to refresh the page and functionality will resume. Am I missing a crucial step here or is my logic flawed?          $(document).ready(function(){             var content = <?php echo $content['id']; ?>;             user = <?php echo $user['id']; ?>;              $('.like').on('click', function(e){                 e.preventDefault();                 $.ajax({                     url: 'ajax.php',                     type: 'post',                     data: {                         'content': content,                         'user': user,                         'like': 1                     },                     success: function(response){                         $(".like").replaceWith( "<a href='#' class='btn btn-sm btn-danger rounded-pill unlike' data-id='<?php echo $content['id']; ?>'> Boo!" );                     }                 });             });              $('.unlike').on('click', function(e){                 e.preventDefault();                 $.ajax({                     url: 'ajax.php',                     type: 'post',                     data: {                         'content': content,                         'user': user,                         'unlike': 1                     },                     success: function(response){                         $(".unlike").replaceWith( "<a href='#' class='btn btn-sm btn-success rounded-pill like' data-id='<?php echo $content['id']; ?>'> Woo!" );                     }                 });             });         });


Do American users also confuse the day and the month in dates like 01/02/2013

Almost everywhere outside the United States, when short dates, e.g. 01/02/2013, are shown on computer screens, the user can't be sure whether the first two digits represent the day or the month. Is it January second or February first?  This is a big problem for people outside the United States, as they encounter both formats regularly, and can't know if the system has adapted to their locale, or has stuck with the American format. But I assume American users see mostly the American format (because many, if not most, information systems are built by or for Americans). What I'm curious about is whether American users also are confused in this scenario?  If you can point to some evidence or research, great. If not, I'll settle for your knowledgeable experience.  Note: I'm not asking for the wonderful solution of naming the month, e.g. May 21, 2013. I'm asking about the cases where a short date format has to be used.


Seeking open raw LiDAR or laser scanner data?

I'm looking for aerial LiDAR or terrestrial laser scanner data in laz or las format preferably from an FTP site.   Does anyone know which countries have that data available to the public?   From my research it doesn't seem to be easy to come by.


Logging and controlling changes to the system

I am looking for an advice on a very lightweight local server or option for version of control of system administration changes.   We have few secure Ubuntu servers that are not on the network, but we want to track changes to the configuration and the modifications to the installed packages (e.g. install MongoDB, modify its configuration).  Does anyone have any recommendation for an agile, lightweight tool and approach to version control?


What can I do if I want to answer a protected question without having the required reputation to do so?

… although I have more than enough on Stack Overflow. The question I'm trying to answer is:  This problem has annoyed me for awhile. I found the solution by chance - naturally - but only after I started to analyze everything in depth. I am pretty sure that my answer could help many developers. So - how do I get the missing 4 reputation points? I could ask and self-answer the same question, but it would be closed as a duplicate and/or possibly deleted. Edit - So not - I know the solution for that question. I tried to help On the other hand - rules are rules. Edit II: I never asked about a bonus - I don't even care.


Is it possible to make \pnode obey swapaxes?

Background:  We can represent a point with (*<value> {<algebraic expression in x>}) syntax where the ordinate y is obtained by evaluating <algebraic expression in x for the given abscissa x that is equal to value.  As there is no the complementary syntax ({<algebraic expression in y>} *<value>) where the abscissa is evaluated based on the given ordinate, I try to use swapaxes.  Unfortunately, \pnode does not accept this swapaxes option.  \documentclass[pstricks,border=12pt]{standalone} \usepackage{pst-node}  \def\y{2*x}  \begin{document} \begin{pspicture}[showgrid](-3,-3)(3,3)     \psset{swapaxes}     \qdisk(*1 {\y}){3pt}     \pnode(*-1 {\y}){A}     \qdisk(A){3pt} \end{pspicture} \end{document}     Question:  Is there an instant solution for this problem?


How do I get a std::exception error description when calling a C++ dll from C#

I have a C# application which calls a function in a C++ dll. This function can throw various exceptions which inherits std::exception. I currently catch these exceptions like this:  try {     //Call to C++ dll } catch (System.Exception exception) {     //Some error handling code }   My first question is will this code catch all std::exception? My second question is how can I retrieve the std::exception::what string, if I examine exception.Message I only get "External component has thrown an exception".  EDIT: The function in question is in a non managed C++ dll, and imported like this in the C# class:  [DllImport("SomeDLL.dll")] public extern static void SomeFunction();


How to run multiple test classes in testng suite with only one web driver instance?

I'm trying to use @beforeSuite and @AfterSuite to run my test in one browser instance. however it run the first the first test class but fail with null pointer exception when it the second class.  Here is my code below:  LaunchBrowser.java class  public class LaunchBrower {      protected WebDriver driver;      public WebDriver getDriver() {         return driver;     }      @Parameters({ "browserType", "appURL" })     @BeforeSuite     public void setUp(@Optional String browsertype, @Optional String appURL) {         System.out.println("Launching google chrome with new profile..");         driver = getBrowserType(browsertype);         driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);         driver.manage().window().maximize();         driver.navigate().to(appURL);     }      private WebDriver getBrowserType(String browserType) {         if (driver == null ) {             if (browserType.equalsIgnoreCase("chrome")) {                 return  new ChromeDriver();             }             else if (browserType.equalsIgnoreCase("InternetExplorer")) {                 return new InternetExplorerDriver();             }         }         return driver;     }       @AfterSuite     public void tearDown() {         if (driver != null)             driver.quit();     }     }   LoginPageTest class  public class LoginPageTest extends LaunchBrower {      protected WebDriver driver;     private LoginPage loginpage;     private MyProfile profilepage;      Logger log = Logger.getLogger("Results:");      @BeforeClass(alwaysRun = true)     public void setUp() {                loginpage = PageFactory.initElements(getDriver(), LoginPage.class);         //loginpage =  new LoginPage(driver);         //driver=getDriver();     }      @Test(groups = "LoginPage")     public void verifyLogin() throws InterruptedException {         //LoginPage login =  new LoginPage(driver);         System.out.println("Sign In functionality details...");         //System.out.println("Sign In functionality details seee...");         Thread.sleep(10000);         //login.enterUserName("11111111");         Assert.assertEquals("11111111",loginpage.enterUserName("11111111"));         log.debug("Correct Username Pass");         //System.out.println("Correct username...");         Assert.assertEquals("fe9245db",loginpage.enterPassword("fe9245db"));         log.debug("Correct Password Pass");         loginpage.clickOnLogin();         log.debug("Login Pass");     } }   MyProfileTest java class  public class MyProfileTest extends LaunchBrower {      protected WebDriver driver;     private MyProfile profilepage;      @BeforeClass(alwaysRun = true)     public void setUp() {         profilepage = PageFactory.initElements(getDriver(), MyProfile.class);         //driver=getDriver();     }      @Test(groups = "Myprofile")     public void verifyMyprofile() throws InterruptedException {         System.out.println("My profile test...");         //MyProfile profile = new MyProfile(driver);         profilepage.ClickToggleLink();         profilepage.ClickMyProfile();     } }


What is the calculation way to find out the last $2$ digits of $7^{7^{7^7}}$? WolframAlpha shows  $...43$.


Term for competitor that is not the favourite

In a betting sport such as horse racing or boxing, the competitor for whom the odds are lowest is known as the favourite.  Can the other competitors be termed something in contrast?


I have Ubuntu 18.04 and set the Scaling Factor in Tweaks to 1,10 because the 1920x1080 resolution makes stuff on my screen look a bit too small for my taste. That toggled this stickman icon, which now seems to not want to go away from my Panel unless I disable "Large Text".    Is there any way to hide this icon while keeping my settings?


Auto Mount NTFS Drive at /media/user/Data x at each user login?

I am using Ubuntu OS  I am using Files as File Manger which is   The NTFS drive names of the system are "Data 1" and "Data 2".  These drives mount to /media/user/Data 1 and /media/user/Data 2 only when   I click on Below "Data 1" and "Data 2" names on files left the panel .  I want to be automated this mount at the same location.  Any suggestion will be also helpful.  Thank You, VK


Does the order of columns in a covering index matter?

I have the following covering indices:  INDEX (col1, col3); -- index 1 INDEX (col1, col2, col3); -- index 2   because I would like to support the following type of queries:  1)    SELECT col3     FROM my_table    WHERE col1 = ... AND          col2 = ... ORDER BY col3   2)    SELECT col3     FROM my_table    WHERE col1 = ...  ORDER BY col3   I am unfamiliar with how a covering index works.  Is index 1 redundant? Or does a covering index requires that the columns be side by side?


What's optimal hardness for a kitchen knife blade?

Many knife manufacturers provide the hardness value for the knife blade in the specifications - like 53HRC or 57 HRC.  What's the optimal hardness for kitchen knives? Do I always prefer the ones with higher hardness all else being equal?


I'm using ArcMap 10.3 on Windows 10.  I have a number of .bil and .tif files pertaining to altitude and weather data. I want to open these in ArcMap. When I attempt to add them to the map I get this dialogue box:   Can someone walk me through how to use this to open these files in ArcMap?  This is the error that I've encountered trying to do this myself:   Or it throws up a generic "can't open this" error. I would share a screenshot of this but I can't replicate the error.   The goal is to use these data to find the average temperature, slope, etc for a number of points (n=157), so I assume I would need the .bil/.tif to have a spatial referencing system. I'm using the Irish Grid coordinate system.   EDIT I used the Define Projection tool on the files and they did change to Irish Grid (when I right click the feature class go to Properties < Source it does say it's in Irish Grid) - but the data doesn't line up with all my shapefiles in the Irish grid, it's "off in space" just the same as having no coordinate system. I tried this with both file types and the result is the same.


I need to create a custom form and in it there is an address but I can't figure how to use the address field form.    There is a way to use the address structure defined in the Address field module?


I installed mysql workbench from Ubuntu Software Center and it was correctly installed , but when I opened it I saw this error:  TextBox_append_text_with_encoding() takes exactly 3 arguments (4 given)   then the server stopped.


Copy all Metadata from Sandbox to Production

How do you transfer all setting & metadata (not data) from a sandbox to production? I have just joined a project which has been tested and approved by the client. My first job is to move everything (only dummy data in the system currently so this isn't important) from the sandbox into production now that it has been signed off. We have tried using a change set, which didnt feel right as there were so many options to select and it threw errors when we tried to import anyway... I have been trying to export everything into an unmanaged package, again when I try to import, it throws lots of errors saying things are missing. I'm struggleing to find an info/process for moving everything over in bulk. Can somone please explain the process for moving and validating everything in a sandbox environment that has been copied to production?


Expected value of correlated stochastic integrals

I do not understand the following result:  Suppose $dz_\chi$ and  $ dz_\xi$ are correlated increments of standard Brownian motion with $dz_\chi dz_\xi=\rho dt$ you have the following expectation giving the following result:  $\mathbb{E} [\int_{t}^{T}e^{\kappa s} dz_\chi \int_{t}^{T}dz_\xi] = \rho \int_{t}^{T}e^{\kappa s} ds$  I really do not get it. This equation is justified by the Itô's isometry. In the book that I am reading the author just passes by saying that is easy to see, but if someone could show more explicit the steps that are taking to get this equation.


Why do I need an add-on lens to take smartphone macro photos?

Why do you need an external macro lens for a smartphone to take macro photos. Why can't the smartphone lens itself take macro photos?


Prove if $5 \nmid n$, then $n^2 = 5k \pm 1$

I am having difficulty finishing this proof. At first, the proof is easy enough. Here's what I have thus far: Because $5 \nmid n$, we know $\exists q \in \mathbb{Z}$ such that $$n = 5q + r$$ where $0 < r < 4$. Note $r \neq 0$ because if $r = 0$, then $5 \mid n$. Also note that $n^2 = 25q^2 + 10qr + r^2$. Then we have four cases: when $r=1$, $r=2$, $r = 3$, and $r = 4$. This is where I run into difficulty. In each of these cases, we can prove that either $n^2 = 5k + 1$ or $n^2 = 5k - 1$ for some integer $k$, but I cannot see how to prove both for each case. Any ideas?    As a side note on how I went to prove each case, I simply plugged $r$ into the formula $n^2 = 25q^2 + 10qr + r^2$. This results in $n^2 = 25q^2 + 10q + 1$.  Continuing, we get $n^2 = 5(5q^2 + 2q) + 1$, and because $5q^2 + 2q$ is still an integer, this is of the form $n^2 = 5k + 1$ for some integer $k$. But I cannot find how to make the 1 a negative to prove both cases.


Matcher for JSON.parse(string) - how to call a lambda before running the matcher?

I have a unit test which checks the string body of a fetch() call.  However, this test is a bit fragile because if the object structure changes one is left trying to look at two giant strings and seeing what is different.  Instead I want to refine this test to check if the object produced out of calling JSON.parse() on this is equivalent to another object and possibly, chain this with checking for certain object sub properties.      expect(global.fetch).toHaveBeenCalledWith(     'http://localhost:8080/api',     {       "body": JSON.stringify(expected_body),       "headers": {         "Content-Type": "application/json"                                                    },       "method": "POST"                                                                      },                                                                                );   Note this is not asking for a deep equal to comparison check. My question really is about how to call a lambda function before running the matcher.  What is the best way to test this?


Determining if a game is CPU- or GPU-limited

What is a reliable, but not too time-consuming way to determine if a certain game is limited by the graphics card or by the processor speed?  I have some preconceptions about whether I'm mostly GPU or CPU limited, but I'd like to verify if I'm right about that. I have some ideas how I would go around and test that but performing accurate benchmarks is notoriously tricky and I don't have much experience with it.   So I'm wondering what would be an easy way to determine the bottleneck, having only one computer with a certain configuration available? What tools would I use for that purpose?  It would also be interesting to determine if the amount of VRAM on my graphics card is a limiting factor.


Why do we put an indefinite article "a" before Merry Christmas?

I am wondering why there is an article -a- before Merry Christmas Is it because it's a day or Christmas is countable? I couldn't explain it to my students in a transparent way.


How I can add attribute to python object if its name is variable?

Hi I want add some attribut to python object. But its name I don't know and it is a varieble.  In js it will be like this:  obj[somename] = 'str'


Why do i keep throwing a NullPointerException?

I am trying to load the active users information into a new activity and display it. I have done similar things in different activities and they have worked fine, but for some reason this is not and I am not sure. Whenever android studio tries to invoke a method on user, it throws a NullPointerException.  I have tried everything I can think of, reformatting the way its written, nesting in different methods, passing data through to it in different ways. Nothing is working and every article I've found on the subject doesnt help at all  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_user_edit);     int userID = getIntent().getIntExtra("sessionUser", 0);     tuckBoxDao = TuckBoxDB.createTuckBoxDB(this).tbDao();      Email = findViewById(R.id.email);     Username = findViewById(R.id.username);     Password = findViewById(R.id.password);     Mobile = findViewById(R.id.phoneNumber);     Notifications = findViewById(R.id.notificationBox);     Emails = findViewById(R.id.emailBox);     registerButton = findViewById(R.id.registerButton);     registerButton.setOnClickListener(new View.OnClickListener() {          @Override         public void onClick(View v) {             registerUser(user);         }     });      backButton = findViewById(R.id.backButton);     backButton.setOnClickListener(new View.OnClickListener() {          @Override         public void onClick(View v) {             goBack();         }     });      user = LoginActivity.tuckBoxDB.tbDao().searchById(userID);      String username = user.getUsername();     Username.setText(username);     String email = user.getEmail();     Email.setHint(email);     String mobile = user.getMobile();     Mobile.setHint(mobile);     Boolean notifications = user.getNotifications();     Notifications.setChecked(notifications);     Boolean emails = user.getEmails();     Emails.setChecked(emails);  }   I would have expected this to work fine and update and display the right information, as it has done exactly that in a fragment I made earlier, but for some reason it is throwing as soon as it gets to user.getUsername();


Schengen visa duration of stay: can it be longer than what is quoted on the visa if the visa is valid?

The duration of stay on my visa is 43 days but it is valid for 58 days. Can I extend my stay for another 8-10 days? It is a single-entry visa.


Any vector bundle on $\mathbb R$ is a trivial bundle

How to prove that any vector bundle on a Euclidean space is a trivial bundle? It is enough to prove it for the case of dimension $1$ and I hope it will be a nice exercise for me to generalize to the higher dimensional case.  What is the underlying topological reason that all bundles are trivial? Certainly simply connectedness will not do, as a counterexample is given by the Hairy ball theorem(of which I know only the statement; not the proof). Is it enough that the space is contractible?


If 1 mole of X is approximately $6.02 \cdot 10^{23}$ X, why is it a unit?   How does it have the characteristics of a unit? Is it just a different way of writing the Avogadro's constant? Does amount actually have a unit or is it unitless?


Taking a skyline photo with a person closer to the camera during night time

How can I take a photo which shows the skyline and the person who is standing around six feet away from the camera with proper lighting at night?   For taking just the skyline I've used long shutter speed and it turned out great, but when including a person on it, the person becomes  blurry because it's impossible for a person to remain static for that long.   Ps.  I do have two flashes, 35mm prime lens as well as 18-300mm zoom lenses as well. The camera I use is Nikon D7200.


"E: Unable to correct problems, you have held broken packages" while trying to install 32-bit libraries for Steam

All this mess started when I was installing Steam. When I downloaded Steam, it was showing "Missing 32-bit Libraries" so I have taken help from . That video suggested these commands: sudo apt install libc6-i386 sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386  When I run the last command I encounter E: Unable to correct problems, you have held broken packages  What could be the problem?


How do I choose between Kendall's tau and Spearman's rho correlations?

I am trying to choose between the two correlation tests. I am trying to see if a trait is correlated with the area of a habitat patch for a number of different habitat types. The data is non-parametric and cannot be made normal through transformation, so the choice is between Spearman's or Kendall's  As it is comparing areas numerous data points will have the same area value which means there will be lots of ties in the data. I understand that Kendall's tau handles ties far better than Spearman's does.  However, some of the data sets are very large including one that is approximately 500,000 data points, and I understand that the cost of Kendall's is O(N^2) so it could potentially be very computationally demanding.   How do I make the choice between the two correlation statistics in this case?


How to copy all files from /var/www onto a flash disk without changing owners of folders in the /var/www folder? (Or how to insert the whole /var/www folder into an archive and put it onto  a flash disk)  My system:  Debian 6 (Linux PSB1 2.6.32-5-686 #1 SMP Mon Sep 23 23:00:18 UTC 2013 i686)


Why don't all disciplines follow a double-blind review system?

I'm new to the journal publishing world, and I can't but help wonder why the review process isn't completely blind?  By blind, I mean the reviewers don't know who performed the research or (more importantly) what university the research came from.  It seems that knowing the identity of the authors could influence the review such that the quality of the research no longer stands by itself. You should be able to read an article and, assuming that the experiment was conducted accurately and ethically, decide if it is a significant scientific advancement. Why are reviews not routinely double-blind?


Can Canon Rebel T4I take black and white photos with color accents?

Can A Canon Rebel T4I shoot B&W pictures with color accents, as you see in some pictures where only one thing has color?


Is there a device that could measure the speed of time?

Is there (or can there be) a device that could measure the speed and acceleration of time?


Trying to give a room object connecting rooms to the NSEW in C

I'm trying to add rooms to the N,S,E,W of every room I create using this function; typedef struct {      object roomObject;      int status;      Creature creaturesInRoom[10];      Room n,s,e,w; }Room;  However, I cant add room objects to a room object. Is there any way to get around this?


How to disable system beep for non-privileged user

How to disable system beep on Linux? I don't have superuser powers so I cannot recompile kernel/unload module.


<?php  $dob = $_SESSION['dob']; $month = $_SESSION['month']; $s = $_POST['present']; $p = "1";  if ($stmt = $mysqli->prepare("UPDATE atten SET total = ? WHERE name = ?"))  {     // Bind the variables to the parameter as strings.      foreach ($s as $name)      {         $stmt->bind_param("ss", $p, $name);          // Execute the statement.         $stmt->execute();      }      // Close the prepared statement.     $stmt->close(); }   This is the error message I'm getting when I try to execute the above code:     Call to a member function prepare() on a non-object.   Any ideas why?


What is the difference between "travel" and "trip"?

I will go to travel.   I will take a trip.      Are the two words - "travel" and "trip" - the same?


I have deleted some files by mistake on my Android mobile, and I'd like to get them back. I tried using Dr. Fone, but it brought me A LOT of documents and images back which are not even deleted, for example it showed me icons used in Viber, icons used in Skype. It showed ALL documents even non deleted. And on top of that, when I tried to recover a document, it asked me to pay and so on. I'd like to have a free solution for this.  I tried an App called: Undeleter, but it asked me to if my device is rooted or not, and it told me that my device does not appear to be rooted. (I don't know what rooted means). What should I do? I am an absolute beginner and any hint is appreciated.   Thanks.


Help installing mysql v5.7 in ubuntu-server 20.04 LTS

I noticed mysql is version 8 only. Could someone point me in the right direction on how to install mysql 5?


Install node js 8.2.1 from source in Ubuntu 16.04

I am not able to install node-v8.2.1-linux-x64.tar.xz in my Ubuntu 16.04.  I am installing node via source - I do not want an apt solution as per:    Message I am getting:-  npm WARN saveError ENOENT: no such file or directory, open  '/home/ubuntuser/Downloads/node-v8.2.1-linux-x64/lib/package.json' npm WARN enoent ENOENT: no such file or directory, open  '/home/vishnu/Downloads/node-v8.2.1-linux-x64/lib/package.json' npm WARN lib No description npm WARN lib No repository field. npm WARN lib No README data npm WARN lib No license field.   Can anybody post the step by step installation process?


I am studying divisibility and come across this rule. I think the rule is too complicated and hard to understand and remember. What is the best way to judge whether a number is divisible by 13 without having to remember this rule?      Delete the last digit from the number, and then subtract 9 times the deleted digit from the remaining number. If what is left is divisible by 13, then so is the original number. Repeat the rule if necessary.


Conflict of backrefalt for bibliographies at end of each chapter (using natbib and chapterbib)

I want to have the bibliographies at end of each chapter and still have the cross-reference on the reference list stating "Cited on pages:" using natbib and chapterbib packages.  To compile the document I am using a .bat file as postprocessor as instructed here:  Please also use the referred process or  pdflatex Sample.tex bibtex Sample.tex bibtex chp01 bibtex chp02 [...] pdflatex Sample.tex pdflatex Sample.tex   to compile the PDF.  Please see the example files below.  Sample.tex  \documentclass[a4paper,12pt,twoside,openright]{scrreprt} \usepackage{filecontents} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{filecontents}{chp01.tex}     \blinddocument      \cite{lamport94}     \cite{knuth84}      \begingroup     \let\chapter\section     \cleardoublepage     \phantomsection     \addcontentsline{toc}{section}{References}     \bibliographystyle{unsrt}     \bibliography{sample}     \endgroup \end{filecontents} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{filecontents}{chp02.tex}     \blinddocument      \cite{knuth84}      \begingroup     \let\chapter\section     \cleardoublepage     \phantomsection     \addcontentsline{toc}{section}{References}      \bibliographystyle{unsrt}     \bibliography{sample}     \endgroup \end{filecontents} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{filecontents}{sample.bib}     @book{knuth84,         author    = {{D}onald {E}. {K}nuth},         title     = {{T}he \TeX book},         year      = {1984},         series    = {{C}omputers and typesetting},         volume    = {A},         publisher = {{A}ddison-{W}esley}     }      @book{lamport94,         author    = {{L}eslie {L}amport},         title     = {\LaTeX\ -- {A} {D}ocument {P}reparation {S}ystem},         year      = {1994},         publisher = {{A}ddison-{W}esley},         edition   = {{S}econd}     } \end{filecontents} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc}  \usepackage[square,comma,numbers,sort,sectionbib]{natbib} \usepackage[sectionbib]{chapterbib}  \usepackage[english]{babel} \usepackage{blindtext}  \usepackage[hyperindex,pagebackref=true,pdfusetitle,pdfa=true]{hyperref} \hypersetup{plainpages=false,colorlinks,breaklinks,linktocpage,hypertexnames=true,naturalnames=false} \hypersetup{linkcolor=red,citecolor=blue,filecolor=blue,urlcolor=blue}   %%%%%%% Backref \renewcommand*{\backrefsep}{, } \renewcommand*{\backreflastsep}{ and~} \renewcommand*{\backreftwosep}{ and~} \renewcommand*{\backref}[1]{}   % empty definition for \backrefalt to be used, i.e. disable standard  \renewcommand*{\backrefalt}[4]{%  \vspace{-1.0mm}     \scriptsize\itshape\mbox{         \ifnum#1=1 %          \\(Cited on page~%         \else             \\(Cited on pages~%         \fi         #2)         }}  \begin{document}     \include{chp01}     \include{chp02} \end{document}   The file is beeing compiled, but the reference page links of "Cited on pages:" are missing (see the figure below).  Is it possible a patch or workaround to fix that?


I need some help about permission. I had a permission drwxrwxr-x but I try to change the permission with chmod 755 /folder/ and after that I receive permission drwxr-xr-x but I would like to change it back to drwxrwxr-x. Please can you help me with this?  Filip


Flagging options for a question are hidden with Android browser

When I try to flag a question on Stackoverflow from my Android phone (Google Nexus 4) with the Chrome browser (up-to-date), the textarea to add an answer is displayed above the "flag" box.  It only happens if the question have no answer yet.  See these examples :


Installing from source. How to resolve dependencies without destroying the package manager

Compiling and installing software is a pain and problem I cannot overcome. I just want to run down through my understanding of this process with someone more knowledgeable to clear my mind to get to the next level.   Many scientific software I need are not distributed as packages. I understand "./configure" sets up the compilation variables and checking for dependencies "make" does the compilation "sudo make install" puts all the libraries and bins in their places. However it never works. I rarely get out of the a) "./configure" stage without entering dependency hell, and if I do, b) "sudo make install" will probably nuke my box.   a) The dependency hell is very frustrating. Sometimes I have the library, but it doesn't like it. Or the library doesn't want to install. Or "configure" can't find it. Or my distro placed it somewhere it shouldn't be. Or there are two versions in my system. Problem is, I can't understand how to diagnose and therefore fix these problems. What are some good references to learn for someone who doesn't need to become a programmer?  b) My understanding is "make install" will replace some libraries and change settings without my package manager being aware of this. Therefore, some programs won't run, others can't be updated.  So, if I don't use "make install", and just keep the compiled binary in my user directory with a symbolic link added to the PATH, will I be in the clear?   My box is single user, has tons of free HD so I don't really care about having multiple (dozens) of copies of libraries if that will solve my problems. Space is cheap.


Difference between File and Attachment in SalesForce

We have been using Notes and Attachment to store files related to the record. I also read about Files in salesforce.   How are Files different from Attachment? Are there any limitations or benefits of using Files instead of Attachments?  Are Files available for all editions of Salesforce?  Is it possible to link Files to particular records so they are visible as related list? I tried looking into the content version  but cant seem to find anything to relate to a record


Given ring $F[X]/(X^2)$ why is the ideal (X) the unique maximal ideal of the ring

Given ring $F[X]/(X^2)$ I'm trying to understand why the ideal (X) is the unique maximal ideal of the ring. I have figured out that an element in the ring is either in the ideal (X) or is a unit, but not sure if this helps.


Why I can't edit my post? Warning that I am trying to spam!

I asked this question on Mathematica meta. I am just copy that post here  I am trying to edit . However, when I trying to submit the changes. I got this warning    Ok, this is polite enough and also ridiculous enough. How could my post becomes a spam?  If I delete "as far as", system will warn me that "body cannot cantain 'I know the'"    The newest finding is this:   What I want to add to my post is here . It contains Chinese characters.  What I found is that If I delete those sentences contains Chinese characters, saving edits is Ok. But If I paste all, I got warnings when saving edits.    update  the true workaround is in


Getting org.openqa.selenium.ElementNotInteractableException: element not interactable for Editor in selenium in Java

I have a Text Editor where I want to perform Sendkeys() but getting 'element not interactable' error. I'm able to get the text of that element by getText(). No idea how to work with this editor. please help.    Below is my code  WebElement frames = driver.findElement(By.tagName("iframe"));         driver.switchTo().frame(frames);         WebDriverWait wait = new WebDriverWait (driver, 30);         wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(".//section[@role='region']//p")));         WebElement sections = driver.findElement(By.xpath(".//section[@role='region']//p"));         System.out.println(sections.getText());         sections.sendKeys("some text");


$x_p$ of a ordinary differential equation

I am trying to find the particular solution to the $y^{(4)} -2y'' +y = xe^x $ and currently am misunderstanding what to do.   My steps:   the polynomial operator concerned is $p(s)= s^4 -2s^2 + 1 $ which  0 at 1:  $p(1) = 0 $  so now i know that the solution will be something like:  $y_p = (Ax^3 + Bx^2)e^x$  where the parentheses show that it is a linear operator on the last coefficient.   so far I think that my method is to differentiate this four times and collect up the terms of each $y_p$ according to the original equation and see what A and B are equal to.   I assume this is okay to do with linear operators?   $y_p' = (Ax^3 + Bx^2)e^x + (3Ax^2 + 2Bx)e^x$  $y_p'' = (Ax^3 +(6A + B)x^2 + (4B + 6A)x + 2B)e^x$  $y_p''' = (Ax^3 +(9A +B)x^2 + (18A +6B)x + (6A + 6B))e^x$  $y_p'''' = (Ax^3 +(12A +B)x^2 + (36A +8B)x + (24A + 12B))e^x$  which then gives me an equation of $A-2A +A = 1$ which is wrong because this is the equation for the first term of the particular solution. Can anyone please help me take it from here?


I want to expire session after 45 minute.  Is there any simple way to that?   Should I change any config in PHP.ini file?


There is the following equation in a text I am reading  $$ \sum_{n=0}^\infty (1 - x) x^k = 1. $$  I would like to know where does the identitity come from.  Is it from some telescopic property, e.g., \begin{align} \sum_{k=0}^\infty(1 - x) x^k &= \sum_{k=0}^\infty(1 - x) x^k\\ &= \sum_{k=0}^\infty x^k - x^{k+1}\\ &=  [(x^0 - x^1) + (x^1 - x^2)] \sum_{k=2}^\infty x^k - x^{k+1}\\ &=  [(x^0 - x^2)] \sum_{k=2}^\infty x^k - x^{k+1}\\ &=  1 - x^2 \sum_{k=2}^\infty x^k - x^{k+1}, \end{align}  which, in the limit $x \to \infty$, would render the sum 0?    As can be seen from @qbert's answer, this seems to be a particular case of , where we want to calculate  $$(1-x)\sum_n x^n,$$  for $|x| < 1$.


For the fair cutting of a cake into n pieces for n people, is it sufficient for one person to cut the cake, and for them to get the last pick of piece?  If any one piece is bigger than 1/n, another person will take that piece. If any one piece is smaller than 1/n, then the cutter may end up with that piece. Therefore the cutter has an incentive to cut the cake fairly.   Is this correct?


Why do Turanga Leela and her family put their surname first?

What I know already:  When stating her name, Turanga Leela's surname comes first (her parents' names are Turanga Morris and Turanga Munda).  Some cultures put the surname last, others put it first.  What I want to know is, do we know specifically why the Turanga family puts the surname first? Has it ever been stated in an episode, or through some official channel, what culture they come from that would lead them to do this (Hungary? India?)? or is there some other reason - the mutants do this, for instance?


Why two-way interaction is significant, but three-way interaction is not

In the three-factor (all categorical) ANOVA, two-way interaction is very significant, but when qualified with the third factor, it became non-significant. But the pattern seems different according to the different levels of the third factor(like in the picture). So I'm confused why is three-way interaction dropped dramatically?    (copied from later duplicate because it's useful to have both pictures explained in the same thread -- the same explanations work for both)  I have two-way interaction on the two levels of the third categorical variable, the pattern looks different, why is three-way interaction non-significant?


Custom Struct method can't set struct member

An example will explain the question:  Val = Struct.new(:value) do   def inc      p value     value = value + 1    end end  v = Val.new(1) v.inc   The output will be:  1 undefined method `+' for nil:NilClass (NoMethodError)   Why do I get this error when value is clearly not nil?  Is there a way to make this work?


Why does $\sum\limits_{k=1}^\infty \lfloor m/(n^k)\rfloor$ give you the number of times that $n$ divides $m!$?


Simplify the expression $\sin 4x+\sin 8x+\cdots+\sin 4nx$   I have no idea how to do it.


PHP SQL Execute Statement returning False

I am trying to run a basic SQL statement, but I can't figure out what I am doing wrong. Here is the context: I have a database named: my_database a table named: users Two columns: service_id which type is BIGINT and video_id which type is varchar(20)  Here is my code:   $video_id = "chartext"; $service_id = 12345678910; $bdd = new PDO("mysql:host=127.0.0.1;dbname=moods_db", "user", "pass"); $query = $bdd->prepare("INSERT INTO users(video_id) VALUES (?) WHERE service_id = $service_id"); $query->execute([$service_id]); var_dump($req->execute([$video_id])); // which gives me false   Some info: My PHP_INT_MAX gives me 9223372036854775807    I am aware of SQL Injection and just removed it to be clearer    I var_dumped each steps and the execute one is the only one that is not working    I ran the statement in phpmyadmin console and it told me: "Syntax error near 'WHERE (service_id = '12345678910')' line 1    I also searched the usage of WHERE Clause but I did not understand if I could put it in an INSERT statement, I think I already did that and it worked, I am lost  Thanks in advance


linux command to prevent dos attack by using netstat and iptables

I want to DROP more than 200 requests per ip to prevent ddos attack. this is command that i used to detect requests count per ip :  netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print $(NF-1)}' |sort | uniq -c | sort -nr   now i want add all ip addresses that made more than 200 requests into IPtables to DROP input and out put.


How to disable GUI on boot in 18.04 (Bionic Beaver)?

It appears that sudo systemctl disable gdm3 && sudo systemctl disable gdm do not work in 18.04 to disable the windowing system at bootup.  What's the method for doing this now?


Does telling students to take notes in high school really help them learn better?

I don't feel like it actually helped me. I now sense long after high school that taking notes and reading them probably did not help. Now I understand why it could work. In theory, somebody who thinks for themself could use their own method of trying to understand the parts of a lecture they are interested in understanding, using a complex method writing down the results of what they figured out about their method of thinking and slowly improving their own method of thinking and writing. However, when I was in high school, I didn't understand why I was told to takes notes so I used linear thinking and just copied down what ever the teacher was writing on the board and then read my notes and I'm not sure it really helped.


Use load balancer as virtual machine or bare metal

We are using an application with about 300 concurrent users. Now everything is virtualized: 1 VM as a load balancer, 2 VMs as web-server, (on this ESXi host there are additional +25 other VMs) and 1 server (bare metal) as SQL Server. We have some issues with the performance and decided to buy physical hardware to boost it up.  I'm not sure, how we can get better performance?:   we buy 1 rack Server hardware and run ESXi with just all 3 VMs above, we buy 1-1 rack Server hardware for the web servers and install the Windows server just with the application. (and leave the load balancer as before - VM) we buy 3 rack servers for the load balancer and for the 2 web servers.   Users are connected with web interface / desktop app to the server.   Thank you for your help, drewo


Has anyone been using callout labelling with QGIS, either trunk or stable?   Used for clustered points. That means the point stays where it is, the label maybe moved if required and a leader (plain or pointed) shows the linkage between the label and the point.   How could I do it (you know what I mean, no coding....)?


How to run Length and time consuming process in back ground?

I have work on one Magento 2 project with lots of data ~10GB Database + ~1GB CODE + ~5GB Media. And I want to set up it on my local server. So I want to compress the full project with a database. I have tried to create a database backup with this command # mysqldump -u magento2_user -p magento2_db > magento2_db-20201110.sql It takes half-day ~6h to create DB backup and during this process, my sh connection was backed so I need to recreate the backup. Now, I have the better command for tack backup. website:  tar -czvf ~/multi_dump.tar.gz --exclude=var/cache --exclude=var/session --exclude=var/log --exclude=var/tmp --exclude=var/export --exclude=var/report --exclude=var/backups --exclude='media/*import*' --exclude=media/tmp --exclude=media/downloadable --exclude=media/catalog . && echo OK  database:  mysqldump --single-transaction --add-drop-table -h <host> -u <user> -p <db_name> | gzip > dump.sql.gz  It was a very lengthy and time-consuming task. So, I am finding a way to create a database backup with the automatic process in the background. and I am found Ctrl+Z , bg , jobs. means add this process in the background. but when I disconnect my ssh and reconnect it then I can't found that process in the jobs and bg  command. and also I have tried to add this process in crontab -e  but I haven't access it. So, Anyone has any better solution for this problem? This is os detail.


I tried to open a lot of files (10,000+) with cat and them merging them into one like this:  cat * > ~/Desktop/lol.xml   But it returned this error:  -bash: /bin/cat: Argument list too long   This means that its too long/large, what other way could I do this?


I want to make a 3D looking text that would in fact be 2 2D layers.  Here's what I want to make - I duped the layer 2 times and moved the second layer a little lower, then used Blend, recolored and put the original layer on top:    But here's the culprit:    Is there a way to avoid using the Blend command and fixing the curves myself?


If I create an element with class in jQuery that element wont include the attached functions.  For example, in below code first of all I am creating 2 different element in html and in (document.ready) I assign the change event this class.  These two elements working properly. However, When click the button, I create a new element which has same class but related event wont work for this element.  Why this happen? and how can I attach all events the new element easily?  Thanks in advance.  My Code:
         <input class="test" value="2" type="text">         <input class="test" value="3" type="text">         <input class="button" value="Click" type="button">


How to uninstall broken programs in windows 7

Could anyone tell me how to uninstall programs that their installation had a problem and therefore their uninstall doesn't work?  I removed all their references in the registry and their folder on the hdd but still don't know how to get rid of them completely from Add/Remove Programs list.  Thanks


"It’s not perfectly clear to me what it is you’re trying to say" vs. "It’s not perfectly clear to me what you’re trying to say"

It’s not perfectly clear to me what it is you’re trying to say.  It’s not perfectly clear to me what you’re trying to say.    Supposing (2) is grammatical, what, if any, is the difference between it and (1)? Anyway, is (2) good English?


How to align equations as in the image below?     Update: I try using array but it takes so much work to align everything in order. For example, I need to know how many columns I need to perform the alignment.


My Code:  DELETE FROM doctorreport WHERE id IN ( SELECT id  FROM doctorreport  GROUP BY id HAVING COUNT(*) > 1) LIMIT 1  Error: #1093 - You can't specify target table 'doctorreport' for update in FROM clause


Confusing examples; Apostrophe-“s” vs “of ”

These examples are very confusing to me and I still can't understand the difference between 's and of. For some sentences, it is grammatically wrong but for some sentences it is correct. Please help me out. Thank you in advance! :)


Making a new column based on information on other columns

I have 4 columns with different locations like this:  Ica Ica Ica Ica  Lima Ayacucho Ayacucho Ayacucho  Lima Lima Ayacucho Ayacucho  Lima Ayacucho Puno Ica  Lima Lima Ayacucho Lima Ica Ayacucho Lima   Sometimes some locations are missing, like in the 5th row there isn't a location for the last column.  What I want to do is make a new column, that tells how many different locations there are per row. For instance, the first row has the same locations for all columns. So I would want to have a new column with the number 1 in it.   It should look something like this:  Ica Ica Ica Ica 1 Lima Ayacucho Ayacucho Ayacucho 2 Lima Lima Ayacucho Ayacucho 2 Lima Ayacucho Puno Ica 4 Lima Lima Ayacucho Lima Ica Ayacucho Lima 3   Note that because the 5th row has a missing value, the last column, I don't want any number there.  Thanks for the help.


How to add a object list as a property in a class?

I have a form, that form has a gridview that display data, that data comes from a list of any class that a I have in the entities, my question is how to add a list of any entity as property, i try the following:     public List<T> objectList { get; set; } //List as entity     public help() //Constructor     {         InitializeComponent();         gridControlHelp.DataSource = objectList; //Binding the grid with the list     }


After installing Gnome, desktop folder doesn't appear on my desktop

After installing Gnome on my 14.04 system running unity, my desktop folder (~/Desktop) doesn't appear on my desktop any-more. I only see the splash background that says 14.04 LTS in lower right hand corner.  I have tried  and ubuntu-desktop but did not help.  After the Gnome installation my startup screen when the machine boots also says Ubuntu Gnome, which is not wat I was expecting. (I only installed gnome for x2go to work.)  This installation was upgraded from 12.04 also running Unity


I'm trying to prove binomial theorem by induction, but I'm a little stuck. I would look at online resources as this problem has been done many times, but the version I am trying to prove the binomial theorem in a different form.  $$(1 + x)^n = \sum_{k = 0}^{n} \binom{n}{k} x^k$$  I'm mostly confused as to how I can make the left side be equivalent to a summation, any help is appreciated. Try to hint me along!


I have a formula field. I need to display a certain value depending on the local time of the day

I have a formula field. The field should display a certain value depending on the local time of the day. For example, if it is between 9:00 and 12:00 - morning, 12:00 and 3:00 - afternoon, and so on.  Is there a way in Salesforce to get the local time or time offset in the formula field. The user could be any where in the world.


Hi guys,  I'm trying to simulate the metal flakes that you can see . It looks close to a metallic paint + flakes, but it definitely is something else.  I found a few materials that come close to it, like , but if you look at the video it seems to only show up when it's in the specular and there's a bit of iridescence to it. Also, it completely disappears once it's outside the specular glow.  Do you guys have any idea how to approach this? Any idea of a material that's a bit closer to it?  Thanks!


$\Delta \subset \Phi$ is a base in a root system imples $\Delta^\vee \subset \Phi^\vee$ is a base in a root system

(the notation here is compatible with J.E. Humphrey's "Introduction to Lie Algebras and Representation Theory")  Let $\Phi \subset E$ be a root system. Let $\Delta \subset \Phi$ be a base. I already know that $\Phi^\vee \subset E$ is a root system. I'd like to show that $\Delta^\vee \subset \Phi^\vee$ is a base. (the notation $\alpha^\vee$ means $\frac{2\alpha}{(\alpha,\alpha)}$)  I tried 2 approaches and was stuck with about the same problem.  Here's one attempt: I'll denote $\Delta=\Delta(\gamma)$ for some regular $\gamma \in E$. I'd like to show that $\Delta(\gamma)^\vee=\Delta(\gamma^\vee)$. I can easily show that $\Phi^+(\gamma)^\vee=(\Phi^\vee)^+(\gamma^\vee)$. But then, how do I show that the indecomposable elements in $(\Phi^\vee)^+(\gamma^\vee)$ are exactly the duals of the indecomposable elements in $\Phi^+(\gamma)$? (If this is true, than it goes the other way around too, so I'll try to show that the dual of a decomposable element is decomposable). Denote $\alpha=\beta_1+\beta_2$ for some $\alpha,\beta_1,\beta_2 \in \Phi^+(\gamma)$. I'd like to show that $\alpha^\vee$ is decomposable too (in $(\Phi^+(\gamma))^\vee$). It is not true that $\alpha^\vee=\beta_1^\vee+\beta_2^\vee$ as I've seen by checking 2-dimensional examples. That's where I'm stuck.  (the other attempt was to go straight from the definition of a base, and there I had a problem with proving the integrality of the coefficients)  Another idea was to use the correspondence between Weyl chambers and bases. Both $\Phi$ and $\Phi^\vee$ define the same Weyl chambers. This gives a correspondence between the bases of $\Phi$ and the bases of $\Phi^\vee$. The correspondence is probably given by taking the dual of a base, but that's what I'm stuck at showing.


Connection between the circumference/area of circles, and between the volume/surface area of spheres?

Consider the formula for the area of a circle and the formula for its circumference. If one differentiates the formula of the area with respect to $r$ (the radius), the formula for the circle's circumference pops out.   The same applies to a sphere with it's volume and surface area: differentiate the formula for volume with respect to $r$, and you obtain the formula for surface area.  I have two questions about this phenomenon:   Is this an unique property of the circle and sphere? Is there mathematical reason for this?


When a button contains text and an icon, which should come first?

Assuming I'm optimizing for making it as fast and easy as possible for most users to find the button they need, what's the optimal ordering?


Letsencrypt for all subdomains *.example.com

I'd like to obtain one certificate working for all my subdomains *.example.com.  This works:   certbot-auto certonly --webroot --webroot-path /home/www/example/ --domain example.com                                  --domain www.example.com --email certbot@example.com   but this (with  *.):  certbot-auto certonly --webroot --webroot-path /home/www/example/ --domain example.com                                  --domain *.example.com --email certbot@example.com   fails with:     Obtaining a new certificate   Performing the following challenges:   Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.     How to use certbot-auto to generate a certificate for *.example.com?


What exactly is the flight itinerary needed for German Schengen visa?

My friend is going to an academic conference in Germany and needs a proper visa. She is prepared to provide documentation of her hotel reservation, but does not have a plane reservation yet. She will not be changing the purpose or length of the visa, only the flight is missing. There is a sort of Catch-22 paradox around paying for the flight before the visa is issued.  The embassy asks for "proof of airline reservation". Various websites on the Internet claim that what is in fact desired is a "flight itinerary" and that the Schengen visa does not require a full plane reservation, and that they can issue a "dummy itinerary" for $10. But I see a hint on Travel.SE that this information may be obsolete as of 2018.  Would Germany frown upon a "dummy itinerary"? Does this count as a ""?  Would it be possible for her to simply write some flight numbers on a sheet of paper and show that to the German embassy as her personal itinerary, as described under the "old rules" (pre-2016?) in "", "" and ""?


How can an object of a class exported from ModuleB into ModuleA, access global unexported variables defined in ModuleB?

I am new to Typescript, Javascript, NodeJS and the entire ecosystem. I have some code i a project that is somethings like this. This is my ModuleA.ts const x = SomeObject1(); const y = SomeObject2();  export class ClassA() {          someMethod() {         console.log(x);         console.log(y);     }  }  ModuleB.ts import { ClassA } from "./ModuleA";  const a = new ClassA(); a.someMethod();  I am unable to understand how someMethod of ClassA can access x and y variables which are declared in ModuleA and not even exported.


Srednicki's Path Integrals: Ground-State to Ground-State Transition Amplitude in the Presence of a Perturbation

Srednicki's Quantum Field Theory mentions the following at the end of the unit on path integrals in non-relativistic quantum mechanics:   Assume that the total Hamiltonian is of the form,     $$ H = H_0 + H_1, $$   where $H_0$ is the exactly solvable part and $H_1$ is treated as a perturbation.  Without the presence of the perturbation, the ground-state t0 ground-state transition amplitude in the presence of external forces/classical sources is:     $$ \langle 0 | 0 \rangle_{f,h} = \int \mathcal{D}p \; \mathcal{D}q \; \exp \Bigg [i \int_{-\infty}^{\infty} dt \; (p\dot{q} - (1- i\epsilon)H_{0} + fq + h p \Bigg ]. \tag{6.21} $$   In the presence of the perurbation, the amplitude is now given by:    Questions:  1) To get equation $(6.22)$, how can we take the exponential inside the integral, make the necessary manipulations and then take the exponential outside the integral. This seems very ad-hoc to me. How and when do we know that the these steps are valid? Doesn't this required justification from mathematical analysis?  2) More importantly, I don't get the first term involving the perturbing Hamiltonian. Why do we have functional derivatives in its argument? How did it come out to be? Why don't we similarly have functional derivatives in the argument of $H_0$ as well? What's the distinction?  Note: The factor of $(1 - i \epsilon)$ has been suppressed in $(6.22)$.