I was traveling through India recently and noticed that many expressions that people used that I saw were somewhat older expressions, now disused in Standard English. Examples of these were:     Please do the needful   Out of station   HORN OK Please   – and a few others. I also saw a sign that said:     Please do not pluck the flowers.   Now I've heard of colonial lag and it seems that these are phrases that have fallen into disuse in the English language used in the west. I wanted to ask if there are other Indian English words/phrases that have retained their original meaning, but have fallen into disuse in (if I may, for said purposes) 'western English'?

In the Indian subcontinent, especially India, there are many English words or phrases which are not a part of dictionary or not used in other parts of the world.  The first one is "Please don't pluck the flowers". I might not be proper, but I don't see anything wrong with this. It is pretty easy to understand what the person is trying to convey.  The second phrase is "Please do the needful". This is said to have its root in improper translation from an Indic language. Even though it might sound weird to non-Indians, it is a very simple way of saying "Please do what we expect you to do in this situation without being provided a detailed explanation".  In Indian English it is very well understood when someone asks "I have a doubt in this concept". In UK, doubt is taken in the context of "suspect", but in India, it is taken as "having a problem or not being clear".  There is another term which is actually not in any dictionary — "prepone" which is used as an antonym of "postpone". Even though it does not make sense, its meaning is pretty much straightforward.  After giving this long explanation, here are my three questions:   What is wrong in "Please don't pluck the flowers"? What is wrong with "Please do the needful"? Isn't it acceptable to use words like "prepone" even though it not in the dictionary? It is pretty much well understood (especially by people who scorn at others using this word)?     Update  I would like to explain when and where these terms are used:   "Please don't pluck the flowers" is used very rarely, and it is pretty much rare to hear this "Please do the needful" is used mostly in corporate environments by a person to their subordinates. For example, a project manager gets a mail from marketing or quality assurance about something missing or incomplete, then he/she sends a mail to the subordinate with the body "Please do the needful". The subordinate is usually more well-versed with the work which has to be done. It might be his/her expertise so the manager might not tell what exactly needs to be done as is left upon him/her to figure out. "Prepone" is used only in one context — opposite of "postpone" the event. The most common usage is "This event or meeting has been preponed".


I have a static arraylist defined in my loginactivity class. private static ArrayList<LatLng> userCoordinates;  // Removed some code for ease of reading but the contents of the list are defined and set here: ArrayList<LatLng> coords = new ArrayList<>();                                             for (String lat: lats) {                                                 for (String lng: lngs) {                                                     double a = Double.parseDouble(lat);                                                     double b = Double.parseDouble(lng);                                                     LatLng latLng = new LatLng(a,b);                                                     coords.add(latLng);                                                     break;                                                 }                                             }                                             setCoordinates(coords);  // Getter & Setter  private void setCoordinates(ArrayList<LatLng> coordinates) {         userCoordinates = coordinates;     }          public static ArrayList<LatLng> getCoordinates() {         return userCoordinates;     }  However when I attempt to access this from another class and print it in the onCreate() method: private ArrayList<LatLng> userCoordinates = LoginActivity.getCoordinates();  //In onCreate() System.out.println(userCoordinates.toString());  I get the error: Attempt to invoke virtual method 'java.lang.String java.util.ArrayList.toString()' on a null object reference

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I have read all the tips and I just can't do this particular mission.  I am really looking for some kind of save game editor to allow you to finish the mission or something of that nature.  I've tried the only save game editor (gibbed) I can find but the option of completing a mission is not available.    Is there any kind of cheat that will get me through this?  I would even accept a save game from someone else understanding that I would have to use their Shepard to finish the game.

I'm having trouble with the last of the Rannoch missions, where Shep wakes up and takes on a Reaper.   Shepard has a targeting laser which will call in an orbital strike with the combined might of the Quarian Migrant Fleet, but there's two major problems standing between the commander and victory.   The Targeting Laser takes a while to power up. The Reaper is trying to kill you.   I can consistently avoid the Reaper's attacks for the first volley, but each time you hit it, the Reaper moves forwards, giving you less time to dodge future assaults. Is there some key to avoiding the Reaper's attacks? Strafing doesn't seem to be enough.


Yesterday one of our servers was having a problem, and it turned out the file /etc/init.d/nfs-kernel-server had lost it's permissions, they were reported as just ------------. Setting the permissions back to the same as the other files resolved the issue, and I'm wanting now to debug what happened. Is there anyway to get a log of when a files permissions changed, and why?

Three files have suddenly appeared in my home directory, called "client_state.xml", "lockfile", and "time_stats_log". The last two are empty. I'm wondering how they got there. It's not the first time it has happened, but the last time was weeks ago; I deleted the files and nothing broke or complained. I haven't been able to think of what I was doing at the time reported by stat $filename. Is there any way I can find out where they came from?  Alternatively, is there a way to monitor the home directory (but not sub-directories) for the creation of files?


I would like to download all .mp3 files that are linked in a .XML file such as this one:   Is there a tool available for it?  Thank you Sarah

Is there a software that can crawl a webpage, discover all files with a given extension, and download them all?  It can be a standalone software or a Firefox add-in.


Say I have a sample and the bootstrap sample from this sample for a stastitic $\chi$ (e.g. the mean). As we all know, this bootstrap sample estimates the sampling distribution of the estimator of the statistic.  Now, is the mean of this bootstrap sample a better estimate  of the population statistic than the statistic of the original sample? Under what conditions would that be the case?

I've been fooling around with some numbers while learning R and would like to know if the following is generalizable.  When I calculated the mean of numbers 1 through 100, I got this:  > mean(1:100) [1] 50.5   Then when I calculated the mean of equal length subsets, I got the same:  > mean25 <- mean(1:25) > mean50 <- mean(26:50) > mean75 <- mean(51:75) > mean100 <- mean(76:100) > mean(c(mean25, mean50, mean75, mean100)) [1] 50.5   As an aside, when calculating the mean of different length subsets, the mean is expectedly not the same:  > mean5 <- mean(1:5) > mean37 <- mean(6:37) > mean91 <- mean(38:91) > mean100 <- mean(92:100) > mean(c(mean5, mean37, mean91, mean100)) [1] 46.25   My question:  Would it be accurate to say the mean of equal length subsets is always equal to the mean of the set? Are there any counterexamples to this?  Thanks in advance.


I want to bike to the beach, lock my bike up and swim. I am looking for a high security box that either threads through my U-lock, bolts to my bike frame... so I can keep my wallet and phone in it while swimming. Thoughts? jg

I ride regularly in the city with my a few valuables with me. My purse, phone, keys, company ID card etc. I hate having a bag on me while ride so I am looking for a solution to have these few items in a bike bag, but also have them safe if I stop somewhere to run into  a shop or a cafe for 15 minutes.   My original idea was to look for a small saddle or top tube bag that is lockable and also safely locked to the frame, and I can simply leave it there. As it turns out there is no such thing! Or I just did not find it?  My second idea was to search for a similar bag, but which is easily detachable and I can take it with myself as a waist bag for example. Same story, I couldn't find anything like this on the market.  Do you know any bag that could work for me? Or do you have an alternate suggestion for my conundrum?   Thank you very much if you take the time to answer! Ride safe! János


I am trying to set up 18.04 alongside Windows 10 using an usb stick. What should I do?

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


I'm creating a short slogan describing a website's functions. The website consists of a photos storage function plus discussion boards. This is an attempt to put it shortly:     Example.com is photos plus discussions   Is it correct? Particularly, I'm not sure using "is" with plural nouns is correct.

My fish's native habitat is rice fields. My fish's native habitat are rice fields.   Which one is correct? I'm pretty sure it's the first, since 'is' modifies 'habitat,' but it still sounds weird...


This was a question on my exam today that I couldn't figure out.  Show $((P \supset Q) \supset P) \supset P$ with no premises using Fitch.  The first attempt is I assumed $(P \supset Q) \supset P$. Then I assume $\neg  P$ and attempted to derive a contradiction.   However, I couldn't get anywhere productive. Any hints or direction?

Using the Fitch system, how do I prove $((p \implies q) \implies p)\implies p$? I started with the hypotheses $(p \implies q) \implies p$ and $\sim p$. However, from these hypotheses I did not get the desired contradiction to solve the question.  Thanks sb45


Some of the wavelengths of light that are emitted from the sun will be absorbed by atoms in the outer layer of the sun and also the atmosphere of the sun, and we see this as absorption lines in the spectrum. Now, this absorbed radiation will indeed be re-emitted again, so one might think that these emission lines should "cancel out" the absorption lines. The usual explanation for why this doesn't happen is that the re-emitted light is radiated in all directions, not just towards us, meaning that to us these wavelengths will be much fainter than the other wavelengths. But the problem I have is that this happens all around the sun (since the atmosphere is completely surrounding it), and intuitively it seems then that all of this re-emitted light should combine such that far away it would appear that the sun is radiating these wavelengths just the same as it is radiating all the other wavelengths. And if that is true, then we shouldn't see absorption lines in the spectrum. So what is it that I am missing?

I was looking at  on why  and emission lines don't cancel out:      An experiment shining light on the material and looking at the   reflected spectrum will see absorption lines at those frequencies,   because the relaxation of the excited electrons will emit back   radiation all around randomly, whereas the reflected spectrum is at a   specific angle.   However it is not totally convincing to me. The photons that get emitted towards the center of the Sun (by the electrons in higher energy states that absorbed a photon earlier) would get absorbed again when they hit a different electron (and then re-emitted) and would eventually make it out. So why don't absorption and emission lines cancel out in our Sun?


is it possible to write   I heard some strange noises for the past two days after waking up  and it scared me. I am glad I have not heard them today     I was hearing some strange noises for the past two days after waking up and it was scaring me. I am glad I have not heard them today    I want to express that the strange noises lasted only 2 days and today is  back to normality

I  heard  some strange noises for the past two days after waking up and it scared me, I'm glad it did not happen today   if I consider that the strange noises are over and won't happen again  or  I have been hearing or have heard  some strange noises for the past two days after waking up and it has scared me, I'm glad it did not happen today   if I consider it may happen again  Am I right


I've done that:  mkfs.ext4 -j -b 8192 /dev/sda3   Now I'm trying to mount it with:  sudo mount -t ext4 /dev/sda3 foo    But I'm getting this error:  mount: wrong fs type, bad option, bad superblock on /dev/sda3   What's the problem?

I'm attempting to mount a partition from a NAS and the block size is 65536 bytes, this is above my distribution's precompiled kernel memory paging size of 4KiB, so I cannot mount it normally.  Which kernel compilation parameters would I need to change to get a memory paging size large enough?  Would it be possible under the x86-64 architecture?  EDIT: There doesn't seem to be an option for it in make xconfig unless I'm just missing it.  From page_types.h under arch\x86\include\asm  /* PAGE_SHIFT determines the page size */ #define PAGE_SHIFT  12 #define PAGE_SIZE   (_AC(1,UL) << PAGE_SHIFT) #define PAGE_MASK   (~(PAGE_SIZE-1))`   It doesn't look to be configurable.  I could change this number directly to 16 and it would probably make pretty explosions and destroy Tokyo.  I shall probably try it later this evening.


Two examples I've seen of this so far are in statistical mechanics, when looking at the work done on a system:  $$dW=-\frac{1}{\beta}\frac{\partial \ln{Z}}{\partial V}\delta V$$  and in the Noether charge:  $$Q(t)\equiv \frac{\partial L}{\partial q'_{i}}\delta q_{i}$$  Why use the $\delta$ and not just $dV$ and $dq_{i}$?

Various textbooks that I am currently consulting (including Spacecraft Dynamics and Control An Introduction - Anton H.J. De Ruiter | Christopher J. Damaren | James R. Forbes Section 1.4, page 32) use $\delta$, not $d$ or $\partial$ to express an infinitesimal quantity. In the context of the reference text above, the symbol is used as part of a general definition for the derivative of a vector. Specifically, given   $$\mathbf{\vec{r}}=\mathcal{\vec{F^{T}_{1}}}\mathbf{\vec{r_{1}}}$$   where   $$\mathcal{\vec{F^{T}_{1}}}$$   is a vectrix   $$[\mathbf{\vec{x_1}} \phantom{s} \mathbf{\vec{y_1}} \phantom{s} \mathbf{\vec{z_1}}].$$  The time derivative of the vector is defined as   $$\dot{\mathbf{\vec{r}}}\triangleq \lim_{\delta t\to 0}\frac{\delta\mathbf{\vec{r}}}{\delta t}.$$  In this context, what is the difference between $\frac{\delta\mathbf{\vec{r}}}{\delta t}$ and $\frac{d \mathbf{\vec{r}}}{d t}$ ?  Note about thermodynamic use of $\delta$: My understanding is that $\delta$ is used in thermodynamic equations to express path dependence of a scalar quantity such as heat or work. What does it mean in the context of an abstract physical vector?


If I declare:  int &y; int *x;   x is of type "int *", but  What is the type of variable y? Or does it not even make sense to ask that question?

I know references are syntactic sugar, so code is easier to read and write. But what is the difference between a pointer variable and a reference variable?


i cant run this code because of an error  awk 'BEGIN {x=0;y=0} { match($13,/([0-9]+)/,a); x = x + a[1]; match($12,/([0-9]+)/,b); y = y + b[1]} END {print "rxPackets:" x " txPackets:" y}' yourfile   the problem is ",a" and ",b" that put numbers in array a  input is some lines like this:  <Flow flowId="1" timeFirstTxPacket="+0.0ns" timeFirstRxPacket="+924100.0ns" timeLastTxPacket="+199984927558.0ns" timeLastRxPacket="+199675473275.0ns" delaySum="+2287566662167.0ns" jitterSum="+65280162191.0ns" lastDelay="+3511349483.0ns" txBytes="161956" rxBytes="116536" txPackets="3125" rxPackets="2251" lostPackets="640" timesForwarded="0">   and output will get me sum of rxPackets and txPackets seperatly in for example 100 lines but it will give me error  i need to do this in any way possible thanks

i have 8000 lines similar to this   <Flow flowId="1" timeFirstTxPacket="+0.0ns" timeFirstRxPacket="+924100.0ns" timeLastTxPacket="+199984927558.0ns" timeLastRxPacket="+199675473275.0ns" delaySum="+2287566662167.0ns" jitterSum="+65280162191.0ns" lastDelay="+3511349483.0ns" txBytes="161956" rxBytes="116536" txPackets="3125" rxPackets="2251" lostPackets="640" timesForwarded="0">   and what i need to do is summing rxPackets in each line together and txPackets too   i mean total sum of them in 8000 lines  thanks in advance  <Flow flowId="1" timeFirstTxPacket="+0.0ns" timeFirstRxPacket="+924100.0ns" timeLastTxPacket="+199984927558.0ns" timeLastRxPacket="+199675473275.0ns" delaySum="+2287566662167.0ns" jitterSum="+65280162191.0ns" lastDelay="+3511349483.0ns" txBytes="161956" rxBytes="116536" txPackets="3125" rxPackets="2251" lostPackets="640" timesForwarded="0">  <Flow flowId="2" timeFirstTxPacket="+3000000.0ns" timeFirstRxPacket="+3254190.0ns" timeLastTxPacket="+199988489445.0ns" timeLastRxPacket="+199631899307.0ns" delaySum="+12081144328484.0ns" jitterSum="+105606015634.0ns" lastDelay="+9407845452.0ns" txBytes="251896" rxBytes="124840" txPackets="4867" rxPackets="2413" lostPackets="1757" timesForwarded="0">  <Flow flowId="3" timeFirstTxPacket="+4000000.0ns" timeFirstRxPacket="+4254098.0ns" timeLastTxPacket="+199971756470.0ns" timeLastRxPacket="+198959480315.0ns" delaySum="+5150205600987.0ns" jitterSum="+74009967633.0ns" lastDelay="+9862217799.0ns" txBytes="163044" rxBytes="90532" txPackets="3150" rxPackets="1751" lostPackets="1013" timesForwarded="0">


Help me please , I am not able to solve this problem.I have tried in many ways to figure out such as Ration test , Integral test , Comparison test , Limit Comparison Test , Root Test but i can't find the way out . This is my first question and i'm not good at English. If there is something wrong or you are not comfortable with my language usage I'm so sorry.

so I used the root test, but i'm not quite sure if i'm allowed to. I think im performing the operations correctly,a and i keep ending up with $(1)^{\infty}$. So really my question is am i performing the operations wrong or do i have to use a different test?


If the visual manifestation of a matrix is a linear transformation, what is that of its transpose?

I don't understand the motivation of the transpose (or better yet, I haven't even seen one). It feels like just something pulled out of a hat. Thinking about it makes it seem  like a product of being able to write a matrix using either columns or rows 'first'. E.g., when we 'reflect down the diagonal' we are really keeping all the information of our old matrix, just changing rows to columns.   This is much like how $f \text{  from} \{1,2,...,m-1,m\} \times \{1,2,...,n\} \text{ to some field } \mathbf{F}$ is an $m \times n$ matrix, ● if we switch the order of the product, so that we would define: $g \text{ is a map from } \{1,2,...,n\} \times \{1,2,...,m - 1, m\} \text{ to } \mathbf{F}$ ● but allow $f(i,j) = g(j,i)$. Then we somehow get a 'natural' map from the space of $m \times n$ matrices to $n \times m$ matrices.  Is that what transpose is - a 'natural' map for those spaces? What do I even mean by natural here (serious question, I'm not being mysterious)? If I had to guess, it is a linear bijective map? Is that close enough?  Moving away from this, does the transpose have any useful application in Euclidean geometry (other than orthogonal matrices being defined in terms of transposes?).


I am looking for a Web wire frame app that can help me create the mock-up for a website. I am looking for one that is compatible with Ubuntu 14.04 and can be installed if possible with a simple DEB package. Something like gomockingbird or similar sites but instead of a website, an app in Ubuntu. Big plus if it's free in my current case.

Are there any interface mockup design applications for Ubuntu? I need one in order to design programs or interfaces (internet sites and more).


How can I reset the auto_increment of a field? I want it to start counting from 1 again after I delete all the data.

I know that in MySQL at the command line I can reset a table's auto-increment field to 1 with this:  ALTER TABLE tablename AUTO_INCREMENT = 1   I am curious if there is a way to do this from within phpMyAdmin.  Something like a check box to reset the auto-increment or something else along those lines?  Not that there is anything wrong with the command line approach.  More one of those curiosity things I keep thinking on...  Thanks in advance!


So, on my old character (before the wipe) I summoned the penguins when I wasn't ready. Boy, was that a mistake. I want to summon them again, but what weapons and armor should I get first? And are the penguins still Level 9? Because every other mob doesn't have a level. I'm not sure copper armor can be upgraded into silver. And I couldn't go to different threat level planets because they are now all level 1.

Also finally constructing the distress beacon and activating it, a gigantic penguin summoning UFO attacked and quickly killed me. When I returned to my world it was no longer there for me to try again.  So of course I gathered the distress beacon materials again and gave this another go (being more cautious this time). I hit the UFO a few times with my iron hunting bow to very, very little effect. The penguins also took quite a few shots to bring down. I attempted to melee the penguins to kill them faster and was once again killed almost instantaneously.  Before I waste a third distress beacon (finding those materials is a huge pain), what level of armor/weaponry should I have? I've done a bit of exploring on this planet and have found no structures with anything that might help me (save for one empty Apex outpost, still no help).


There is not a simple answer to this question at this site yet. This question aims to give a simple and clear answer.  It is usually recommended to use a variable ($regex) in this construct:  if [[ $var =~ $regex ]]; then …   Why is that so?

From      Storing the regular expression in a shell variable is often a useful way to avoid problems with quoting characters that are special to the   shell. It is sometimes difficult to specify a regular expression   literally without using quotes, or to keep track of the quoting used   by regular expressions while paying attention to the shell’s quote   removal. Using a shell variable to store the pattern decreases these   problems. For example, the following are equivalent:  pattern='[[:space:]]*(a)?b' [[ $line =~ $pattern ]]       and  [[ $line =~ [[:space:]]*(a)?b ]]       If you want to match a character that’s special to the regular   expression grammar, it has to be quoted to remove its special meaning.   This means that in the pattern xxx.txt, the . matches any   character in the string (its usual regular expression meaning), but in   the pattern "xxx.txt" it can only match a literal .. Shell   programmers should take special care with backslashes, since   back-slashes are used both by the shell and regular expressions to   remove the special meaning from the following character. The following   two sets of commands are not equivalent:  pattern='\.'  [[ . =~ $pattern ]] [[ . =~ \. ]]  [[ . =~ "$pattern" ]] [[ . =~ '\.' ]]       The first two matches will succeed, but the second two will not,   because in the second two the backslash will be part of the pattern to   be matched. In the first two examples, the backslash removes the   special meaning from ., so the literal . matches. If the string in   the first examples were anything other than ., say a, the pattern   would not match, because the quoted . in the pattern loses its   special meaning of matching any single character.   How is storing the regular expression in a shell variable  a useful way to avoid problems with quoting characters that are special to the shell?  The given examples don't seem to explain that. In the given examples, the regex literals in one method and the values of the shell variable pattern in the other method are the same.   Thanks.


I have a question regarding writing a PDF in LATEX. I need to use diacritcs and I found out how to use some of them, but I can't add the 'ă' symbol. How can I do that?

How to type these special letters from European languages in latex? ä, é, and L'?


When you touch the loading spinner in the notification ribbon (on the right) when it is loading, the app just crashes on Android. Version 1.0.31.

App version 1.0.27  If you the notification pane and click on the loading icon while it's spinning, the app will cause the app to crash.  03-26 22:51:08.331 E/AndroidRuntime(5927): FATAL EXCEPTION: main 03-26 22:51:08.331 E/AndroidRuntime(5927): java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1 03-26 22:51:08.331 E/AndroidRuntime(5927): at java.util.ArrayList.get(ArrayList.java:310) 03-26 22:51:08.331 E/AndroidRuntime(5927): at com.stackexchange.marvin.ui.BaseActivity$3.onItemClick(BaseActivity.java:266) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.widget.AdapterView.performItemClick(AdapterView.java:298) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.widget.AbsListView.performItemClick(AbsListView.java:1100) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2788) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.widget.AbsListView$1.run(AbsListView.java:3463) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.os.Handler.handleCallback(Handler.java:730) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.os.Handler.dispatchMessage(Handler.java:92) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.os.Looper.loop(Looper.java:137) 03-26 22:51:08.331 E/AndroidRuntime(5927): at android.app.ActivityThread.main(ActivityThread.java:5103) 03-26 22:51:08.331 E/AndroidRuntime(5927): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 22:51:08.331 E/AndroidRuntime(5927): at java.lang.reflect.Method.invoke(Method.java:525) 03-26 22:51:08.331 E/AndroidRuntime(5927): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) 03-26 22:51:08.331 E/AndroidRuntime(5927): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 03-26 22:51:08.331 E/AndroidRuntime(5927): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126) 03-26 22:51:08.331 E/AndroidRuntime(5927): at dalvik.system.NativeStart.main(Native Method)   (Think I should calm down on finding bugs for a little while? :P)


$\xi_p =e^{2\pi/p*i }$ , proof that is only two quadratic extention to $\Bbb Q $ that contained in $Q(\xi_p)$ such that $\Bbb Q(\sqrt p)$ if $p=1 mod (4)$ or   $\Bbb Q(\sqrt{-p})$ when $p=3mod(4)$  In the class we proof that $p*(-1/p)=z^2 $ when $z=\sum_{a\in \Bbb F^x_p}(a/p)*\xi_p^a$  when  (-1/p) = 1 if p=1 mod 4             and  =-1   if p=3 mod 4  so it`s how I proof the statment. but how to show that this is the only two that possible according to the statment? I try by contradiction for $z\in \Bbb Q $ such that $\sqrt z \not= \sqrt p $  so $\sum_{i=1}^N a_i*\xi_p^i=\sqrt z$  for some $a_i\in \Bbb Q $ but Its lead me to nowhere...

I want to prove the assertion:      The unique quadratic subfield of $\mathbb{Q}(\zeta_p)$ is $\mathbb{Q}(\sqrt{p})$ when $p \equiv 1 \pmod{4}$, respectively $\mathbb{Q}(\sqrt{-p})$ when $p \equiv 3 \pmod{4}$.   My first attempt is this. In $\mathbb{Z}[\zeta_p]$, $1-\zeta_p$ is prime and $$ p = \epsilon^{-1} (1-\zeta_p)^{p-1} $$ where $\epsilon$ is a unit.  Since $p$ is an odd prime, $(p-1)/2$ is an integer and  $$ \sqrt{\epsilon p } = (1-\zeta_p)^{(p-1)/2} $$ makes sense and belongs to $\mathbb{Z}[\zeta_p]$.    How do I deal with the $\epsilon$ under the square root?  I guess the condition on the congruence class of $p$ comes from that.  Is this even the right way to proceed?  Uniqueness is not clear to me either.  I thought about looking at the valuation $v_p$ on $\mathbb{Q}$, extending it to two possible quadratic extensions beneath $\mathbb{Q}(\zeta_p)$, then seeing how those have to extend to common valuations on $\mathbb{Q}(\zeta_p)$, but I didn't see how to make it work.  I would appreciate some help.


I see microSD cards up to 400GB, as well as SSD up to 400GB. My question is related to the size: If you can fit 400GB in a microSD card, why do we need the size of a SSD (more commonly, 2.5 in)? What other electronics or components are in a SSD that its size is so much bigger than a microSD, while having same storage?

I was just reading a question on backups with flash drives, but I was not quite sure why SSDs would be better than flash drives for backups.  To me, solid-state drives look like larger versions of flash drives. But surely there must be something that makes the former much more reliable than the latter.  What's the difference between an SSD and just a regular flash drive? For example, do they both use NAND?


I have it so it loads functions after the DOM but I am dynamically creating elements and dont know how to attach click handlers to new classes. I am sure this is very basic but I googled and searched with my limited Jquery verbage and couldnt find the specific answer. Any help is appreciated. Thanks.    $(document).ready(function(){   classList = ["a bunch of classes I need to move"]    $(".clicker").on("click", function(){    var class = $(this).attr("myattr")    }      for (i in classList){   $("div"+(classList[i]).prependTo(".anotherdiv")   $("div"+(classList[i]).order).addClass("newClass")   }   $(".newclass").on("click",function(){     //a bunch of code to run when this new class is clicked   }) })

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


We have the setup as above which is "managed" by our vendor. During a recent power outage we found that none of the VM's came up upon the return of power (roughly 25 VM's), which once we discovered this issue we had the vendor start them up for us.  Looking into why they aren't setup to auto-start the vendor told us that since we are running in High Availability (HA) that this was not possible.  Is this true? I know how I can setup VM's to auto-start and looking at the configuration screens it appears you can do this with our datacenter. If not directly possible using the given tools is there scripting we could do to make this possible?  Thanks

Suppose you have a fully virtualized VMware infrastructure: ESXi, vCenter, vMotion, HA, DRS, the whole package.  Inside, you have lots of VMs, which at any given time may reside on one host or another (that's the whole point of clustering, isn't it?).  You experience a power loss, and, one way or another, you manage to shut down gracefully all VMs and all hosts; let's not delve into this for now, let's just assume your UPS software can handle it. Or, at least, let's assume the shutdown was not so graceful, but everything is still able to come up again once power is restored.  Power comes back, and your hosts restart.  Your environment is quite complex, and it has natural dependencies between VMs: domain controllers should start first, an application server can't start unless its back-end DB server is already up and running, and so on.  We all know (or should hopefully know) how to configure automatic VM startup and how to specificy a VM startup order and delay on a single ESX/i host.  But how to do this across a whole datacenter?  Is there any way to tell vSphere "start these VMs in this global order, regardless of the physical host they are running on"?  Bonus points: if vCenter itself is running on a virtual machine, how does this change things?


In Illustrator, "Tilde" key ~ seems to have some magical power: According to Adobe's site, it can "transform pattern (independent of object) when using Selection tool, Scale tool, Reflect tool, or Shear tool".    Sounds great! I wish I could play around with it, but... I use a French keyboard. No such key on my keyboard.      ² key is not working. And to access the tilde character, I must combine alt + é/2 keys, which obviously results to a duplication of the selected object.   I know I could change my keyboard through the Windows regional settings, but maybe there's another way. Maybe this key is hidden somewhere, or maybe I could change it through the keyboard shortcuts menu.    Any help appreciated.  Specs: CS6 - Windows 7  Edit : I do NOT want to type a Tilde. I want to find the key on my French keyboard that allows to transform an Illustrator pattern independantly of its container object. This has nothing to see with the thread "". This is not a duplicate... cheers

I am a Brit working on Unix in a French company - I am more or less used to the French keyboard now, but one problem I still have is typing a tilde (~).  The best I can do is either:     Alt-Gréé   which gives me 2 tildes, or     Alt-Gréspace   which gives me one. Is there a quicker way? I know it's not a big thing but it drives me crazy!  I am on Windows XP (version française!) but spend most of my time using Putty to talk to Red Hat boxen.  Rich


I know that the ring of algebraic integers can be an answer because this ring has no irreducible elements.  So, is there an integral domain with nonempty set of irreducible elements and an element having no factorization into irreducibles?

I am looking for rings that are integral domains but not factorization domains, that is, rings in which it is not possible to express a nonzero nonunit element as a product of irreducible elements.    Do you know any example?


If I understand this right - you don't pick the CR of the elementals, you pick their maximum CR. You don't pick where it actually appears, it just appears somewhere within 90 feet of you. You don't even pick the element of what you are summoning.   To summarize, you can cast Conjure Minor Elementals at 8th level in an underwater fight, select the option to 3 elementals of CR 2 or lower, and receive 3 CR 1/2 Magma Mephits that are 90 feet away from the fight? In character I would know I am not picking any part of the what I am summoning, I'm basically just yelling help into the void. Why would I waste a 4th level spell to summon a completely random something instead of using something like Polymorph, which just gives you the creature you want and does so by giving something a massive bonus health pool?   Is there any use for this spell besides the tiny benefit of just a couple extra bodies with at most like 40 health - which you can get 5 of with animate objects?

The  spell states:  You summon elementals that appear in unoccupied spaces that you can see within range. You choose one the following options for what appears:  One elemental of challenge rating 2 or lower Two elementals of challenge rating 1 or lower Four elementals of challenge rating 1/2 or lower Eight elementals of challenge rating 1/4 or lower.   It seems like the only two things a player can select are the maximum CR of the elemental conjured, and, arguably, the location its summoned in. I am confused as to why you would want to use this spell given that its results are so unpredictable. Why would a wizard cast a spell that's essentially an open invitation to whatever elemental from a list decides to show up? You can't strategize around the spell very much because, as written, you don't choose what gets summoned, and you can easily end up with something you weren't counting on. It won't be useless, but why would you cast a spell that has such an unpredictable result? It's like the difference between the chromatic orb and chaotic bolt - if the chaotic bolt didnt have the chance to bounce. You'd never pick a random damage type over a damage type of choice. Why would you choose a spell that might do something you want over something that does exactly what you intend it to do? What are the situations in which you would use this spell that wouldn't be better solved by a spell of equal or lower level that has more predictable results?


I've been using quite a bit of JQuery, KnockoutJS and other JavaScript stuff for a web app I am building. Most of the JS is off in its own nice separate files. The issue I have is that the browsers cache those files so when I push a change people have to refresh a few times before they get the updated file. Recently I made a significant change to how some data was passed and the cached versions of the files caused some errors and worse, some data to get erased.  How do people handle this? Is there a way to force refresh of files?

We are currently working in a private beta and so are still in the process of making fairly rapid changes, although obviously as usage is starting to ramp up, we will be slowing down this process.  That being said, one issue we are running into is that after we push out an update with new JavaScript files, the client browsers still use the cached version of the file and they do not see the update.  Obviously, on a support call, we can simply inform them to do a ctrlF5 refresh to ensure that they get the up-to-date files from the server, but it would be preferable to handle this before that time.  Our current thought is to simply attach a version number onto the name of the JavaScript files and then when changes are made, increment the version on the script and update all references.  This definitely gets the job done, but updating the references on each release could get cumbersome.  As I'm sure we're not the first ones to deal with this, I figured I would throw it out to the community.  How are you ensuring clients update their cache when you update your code?  If you're using the method described above, are you using a process that simplifies the change?


I'm trying to make a C program which can take both stdin and files then prints it to stdout. This program will have an option parser to manage a defined set of options : i.e: -x, -y, -z / or combined: -zx  Let's say we have the following functions : - get_stdin   ->  get standard input and put it on stdout - get_file    ->  get file contents and put it on stdout  How would one write this following pseudocode ?  ft_array = [     ( STDIN, &get_stdin );     ( FILE, &get_file ); ]

How should I use array of function pointers in C?  How can I initialize them?


I was reading the first chapter (about divisibility) of Elementary Theory of Numbers by W.Sierpinski and I stumbled upon the following exercise:     Prove that if $a$ and $b$ are natural numbers, then $a!b!|(a+b)!$   the book provide an answer that rely on the fact that the theorem is true if at least one of the numbers $a$ and $b$ is equal to 1, since for each natural $b$ we have $(b+1)!=b!(b+1)$, whence $1!b!|(1+b)!$. And by using induction the theorem is proved to be true for all natural $a$ and $b$.  I'm curious if there is annother answer that doesn't rely on induction.

Hello the question is as stated above and is given to us in the context of group theory, specifically under the heading of isomorphism and products. I would write down what I have tried so far but I have made very little progress in trying to solve this over the last few hours!


I created following service in /etc/systemd/system/conkyAutostart.service  [unit] Description=Conky Autostart  [Service] Type=simple ExecStart=/AutostartScripts/conkyAutostart.sh  [Install] WantedBy=multi-user.target   and the shell script mentioned in ExecStart looks like this:  #!/bin/sh conky &   afterwards I type in   systemctl enable conkyAutostart.service  systemctl start conkyAutostart.service   no error messages show up, now I type in systemctl and see that 'conkyAutostart.service' has the status:  LOAD: loaded  ACTIVE: failed  SUB: failed   What am I doing wrong?

I'm following this tutorial () to add a new systemd .service, but it doesn't work, I did step by step correct with some modifications to my scope. My conkystart.service:  [Unit] Description=Service to start conky at boot After=graphical.target multi-user.target  [Service] Type=simple ExecStart=/usr/local/bin/conkystart.service  [Install] WantedBy=multi-user.target  My simple script:  !#/bin/bash  sleep && conky;  Nothing it does'nt work. Some advice guys? What's wrong here?


I have no idea what I'm doing when it comes to this. I downloaded the .tar.gz file from the Utorrent website and extracted it to a folder I made in the Home directory. I tried executing the executable file but nothing seemed to happen.

I've attempted to install utorrent on 14.04 using the Terminal and attempting to install libssl 0.9.8, but with no success. Also, this utorrent version is V3.3 and is located in my Downloads. I've already attempted the post which mine was a dupe of ( )


We all know that $\displaystyle \sum_{n=1}^{\infty} \frac{1}{n^s}$ converges for $s>1$ and diverges for $s \leq 1$ (Assume $s \in \mathbb{R}$).  I was curious to see till what extent I can push the denominator so that it will still diverges.  So I took $\displaystyle \sum_{n=2}^{\infty} \frac{1}{n\log n}$ and found that it still diverges. (This can be checked by using the well known test that if we have a monotone decreasing sequence, then $\displaystyle \sum_{n=2}^{\infty} a_n$ converges iff $\displaystyle \sum_{n=2}^{\infty} 2^na_{2^n}$ converges).  No surprises here. I expected it to diverge since $\log n$ grows slowly than any power of $n$.   However, when I take $\displaystyle \sum_{n=2}^{\infty} \frac{1}{n(\log n)^s}$, I find that it converges $\forall s>1$.  (By the same argument as previous).   This doesn't make sense to me though.   If this were to converge, then I should be able to find a $s_1 > 1$ such that  $\displaystyle \sum_{n=2}^{\infty} \frac{1}{n^{s_1}}$ is greater than $\displaystyle \sum_{n=2}^{\infty} \frac{1}{n (\log n)^s}$  Doesn't this mean that in some sense $\log n$ grows faster than a power of $n$?   (or)  How should I make sense of (or) interpret this result?  (I am assuming that my convergence and divergence conclusions are right).

Find the values of $p$ for which the series $\sum_{n=2}^\infty \frac{1}{n(\ln n)^p}$ is convergent. I know that the $p$-series $\sum_{n=1}^\infty \frac{1}{n^p}$ is convergent if $p>1$ and divergent if $p\leq1$. So with the series in question, I can't just say "when $p>1$" right? Because the denominator is $n(\ln n)^p$ not just $n^p$ as the formula states. So how should I go about tackling this problem? I know that doing a u-sub for $\ln n$ would work because $du$ would equals $\frac{dn}{n}$ but what would I do with the $p$? Thanks for the help.


And is one of the most confusing words in English for me. Sometimes it's really ambiguous, even though I am an advanced learner. Take this as an example:     There are four American and British people    Does this mean there are four Americans and four British people or are altogether four people?  Can anyone help?

If I read the sentence     Find ten apples and oranges.   Do I need to find ten or twenty pieces of fruit?


I have two sections(An HR section and an Approver section) in Infopath. I have a list of HR Users and Approver Users. How can I display only the appropriate section to the appropriate users?

I need to Hide "Sections" of InfoPath form using SharePoint or AD group membership (either is fine). How can I achieve this?  InfoPath 2010 in SharePoint 2010


I am trying to rescales x to lie between lower and upper  rescale <- function(x, lower = 0, upper = 1){ slope <- ?? intercept <- ?? y <- intercept + slope * x return(list(new = y, coef = c(intercept = intercept, slope = slope))) }   And this is the hint from my professor: The linear transformation should map the minimum of x to lower and the maximum of x to upper. (Hint: what is the equation for a line passing through two points?) Note in calculating the minimum and maximum that x may contain NA values; make sure your function can handle this. And the return would look like:      **> rescale(c(1:10, NA), -1, 1)     $new     [1] -1.0000000 -0.7777778 -0.5555556 -0.3333333 -0.1111111 0.1111111     [7] 0.3333333 0.5555556 0.7777778 1.0000000 NA      $coef     [1] -1.2222222 0.2222222**   So does anyone has ideas on what the "slope" and "intercept" here should be?

I am lost in normalizing, could anyone guide me please.  I have a minimum and maximum values, say -23.89 and 7.54990767, respectively.  If I get a value of 5.6878 how can I scale this value on a scale of 0 to 1.


assuming a none moving system exist, can a point of reference be made to determine the relevant momentum we share with our star and our galaxy.   like the ligo experiment that detected gravitational waves, using two laser spread 4 kilometers long. a point of reference was made to determine the difference between our cosmic system and a ripple in peacetime. so an advance form of my question is.  could ligo instruments be used to determine a none moving system to our cosmic speed?

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


If: $X:(\Omega,A) \to (E,\xi)$ is a random variable $Y: (\Omega,\sigma(X)) \to (R,B_R)$ is measurable Then $\exists \rho: (E,\xi) \to (R,B_R)$ measurable so that $\forall w$ $Y(w) = \rho(X(w))$

Problem:  Suppose $f: \mathbb R \to \mathbb R$ is Borel measurable. Define $\mathcal A$ to be the smallest $\sigma$-algebra containing the sets $\{ x : f(x) > a\}$ for every $a \in \mathbb R$. Suppose $g: \mathbb R \to \mathbb R$ is measurable with respect to $\mathcal A$, which means that $\{x : g(x) > a\} \in \mathcal A$ for every $a \in \mathbb R$. Prove that there exists a Borel measurable function $h: \mathbb R \to \mathbb R$ such that $g= h\circ f$.  What I've looked into so far:  I'm thinking $h = g\circ f^{-1}$. This would mean I would need to prove that for any Borel measurable set $B$, we have $h^{-1}(B) = f(g^{-1}(B))\in \mathcal B$. Since $g$ is $\mathcal A$-measurable, $g^{-1}(B) = A\in \mathcal A$. Can we say that since $f$ is Borel measurable, $\{x: f(x) > a\} \in \mathcal B$, and $\mathcal A \subset \mathcal B$? However, I'm not sure what I can say about $f(A)$ besides that I need it to be Borel measurable.   Should I approach this differently, or am I on the right track?


I have installed the latest version of QGIS wien 2.8. Windows 8.1 downloaded the stand alone version from official QGIS website.   I had to uninstall the latest one I had because Openlayers plugin was downloaded and installed but one day it stopped appearing in my toolbar.   So I uninstalled and removed everything and installed again, but the problem remains, just as with the previous one.   Can anybody help me with this issue?

Although I have installed the OpenLayers plugin in QGIS 2.4, I cannot see it in the list when I click on Plugins.    Does anyone else have this issue?


I know the definite article is frequently used before word Internet in most of cases like     Free use of the Internet.   However, I found when it is used with other nouns, lets just say Wifi, it will drop off the definite article.     Free use of Internet and Wifi

Is there a particular term for the abbreviated language used in headlines (the removal of at least articles and conjunctions)?


I'm playing xbox one and my villagers are not breeding. I am pretty sure I saw green sparkles over their heads and idk what that means, but I haven’t seen red hearts over their heads. I have a structure made with a ton of beds. Also, doors above the ceiling and those doors are smooshed together by another layer of blocks on top. There is a ton of light, but no red hearts. I’ve been waiting for about 20 minutes.

I’ve got one villager up 7 blocks surrounded with 6 doors. On ground level I have villagers who are supposed to breed. They are willing, their inventories are full of potatoes, and I’ve been sitting here for hours.  Hearts are popping up above their heads but nothing happens. I am playing on Xbox One.


Trying to get the desktop environment from Zorin os 11 on ubuntu/other ubuntu based distros?

Which is the Desktop Environment of Zorin OS and is there any way to get it on Ubuntu?


I came to work today and I saw the transaction log with 441GB, using almost all disk space. I use SQL Server 2012 and have Full backup, but somehow I lost control of the t-log. So, I need to do 2 things: first, clear the log, so I have the disk space back and control it. I thought to control it doing daily backups. But I just can't figure how to reduce it. Shriking is not a good thing to do, and anyway will take AGES to do it. I've try to bakcup the log like this: Backup Log DB_1 TO DISK = 'Nul:' but nothing changed. So what exatcly can I do to fix this situation?  Thank you!

This one seems to be a common question in most forums and all over the web, it is asked here in many formats that typically sound like this:  In SQL Server -  What are some reasons the transaction log grows so large? Why is my log file so big? What are some ways to prevent this problem from occurring? What do I do when I get myself on track with the underlying cause and want to put my transaction log file to a healthy size?


Merely adding two letters will take a few seconds for editors such as OVerleaf/Sharelatex to render a preview. How could this be the case? I just need a draft preview.  Are there any latex editors that run faster in previewing?    PS: high-end core i7

Possible Duplicate:          I'm looking for an application in which I can write pure LaTeX in one half of the screen and on the other half to see the compiled document in real time. This seems really like an obvious way to do LaTeX authoring but it doesn't look like any software is able to do it. LyX is not what I'm looking for. I want to edit the actual LaTeX and see it rendered in real time. Why isn't this already being done somewhere?


Consider two rates, $0 < x, y < 1$. How would one call $z$, if   $z = \frac{x*y}{(x+y)/2} = \frac{2*x*y}{x+y}$?  Is there a relationship with other means, such as the ?

So we have arithmetic mean (AM), geometric mean (GM) and harmonic mean (HM). Their mathematical formulation is also well known along with their associated stereotypical examples (e.g., Harmonic mean and it's application to 'speed' related problems).  However, a question that has always intrigued me is "how do I decide which mean is the most appropriate to use in a given context?" There must be at least some rule of thumb to help understand the applicability and yet the most common answer I've come across is: "It depends" (but on what?).  This may seem to be a rather trivial question but even high-school texts failed to explain this -- they only provide mathematical definitions!  I prefer an English explanation over a mathematical one -- simple test would be "would your mom/child understand it?"


Trying to install Ubuntu for the first time. Attempting to Dual Boot on a SSD with windows 10 fresh install. I have created a bootable USB from the ubuntu-14.04.3-desktop-amd64.iso and when it boots i am getting stuck on the error "Fixing recursive fault but reboot is needed!" I have rebooted but each time it is the same.  I'm running a new Dell Inspiron 5999 with 8GB Ram.  Edit: I dont get anywhere significant in the installation. It simply boots starts listing various lines and then gives me the error message before i get a chance to really do anything. If I try to shut down I can get to what appears to be a command line but when I type anything it just starts a new line and nothing is returned.   I have tried with a different USB Boot loader to load the iso and have the same problem. I am going to try the latest version and then a 32 bit version to see if it makes any difference as the small bit of infomation I have found suggests trying that.  What else can I try?

I am running a 64bit laptop and i am trying to install ubuntu 11.04 from both a usb and cd.  However, when I click either install from disk or try ubuntu I get to a black screen with this: fixing recursive fault but reboot is needed  Any ideas?


I have the problem $$ 3^{\sin x} \cdot 3^{\sin 2x} \cdot 3^{\sin 3x} \cdot \ldots = 3. $$  I’ve converted it to $$ \sin x + \sin 2x + \sin 3x + \ldots = 1, $$ but what should I do next?

How can we sum up $\sin$ and $\cos$ series when the angles are in arithmetic progression? For example here is the sum of $\cos$ series:  $$\sum_{k=0}^{n-1}\cos (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \cos \biggl( \frac{ 2 a + (n-1)\cdot d}{2}\biggr)$$  There is a slight difference in case of $\sin$, which is: $$\sum_{k=0}^{n-1}\sin (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \sin\biggl( \frac{2  a + (n-1)\cdot d}{2}\biggr)$$   How do we prove the above two identities?


Which one is correct?  • I am an engineer, and I work "at an" office.  OR  • I am an engineer, and I work "in an" office.  If both are correct, what is the difference between them?  Thanks in advance!

When do you use at the office? And when do you use in the office? What's the difference between the phrases?


Trying to return an integer of an item from a list of values. For example after splitting Hotdog : 3.00 with .split() I get ['Hotdog', ':', '3.00'] What can I do to return the '3.00'? thanks

I need a good explanation (references are a plus) on Python's slice notation.   To me, this notation needs a bit of picking up.   It looks extremely powerful, but I haven't quite got my head around it.


I'm trying to put a table placed in the two columns of an article. This I can do. The problem is it won't stay in the middle of the text.  Here is my code,  \documentclass[11pt, twocolumn]{article} \usepackage{lipsum} \usepackage{float} \usepackage{placeins}  \begin{document}  \section{Before you start}  \lipsum[1]  \begin{table*}[h!] \begin{center} \begin{tabular}{rccc|ccc}\\ \multicolumn{4}{c}{Model 1} &\multicolumn{3}{c}{Model2} \\ \hline \hline $SE(\%)$  & $60$ & $60$ & $60$ & $60$ & $60$ & $60$ \\ $SP(\%)$    & $70$ &  $70$ & $70$& $70$ &  $70$ & $70$ \\ $Gmean(\%)$ & $80$ & $80$ & $80$ & $80$ & $80$ & $80$  \label{tab:fO} \end{tabular} \end{center} \end{table*}  \FloatBarrier  \lipsum[1]  \end{document}   and this is the result,      I would like the table to be in the middle of the text.

I want a table that is as wide as the whole page in a document with option twocolumn. The table has to be inserted on the bottom of the page, but that is not necessary.  I've tried:  \begin{table*}[b]   ... \end{table*}   But that puts the table at the end of the document instead of on the same page.  I also tried:  \twocolumn[   \begin{table}[b]     ...   \end{table} ]   But that gives me an error: ! Argument of \@xfloat has an extra }. Combining \twocolumn and the star mark gives the same error.  What's the right way to do this?


I have a problem when I launch a remote desktop that I created in Google Cloud Platform. I have a black screen and a command line on it. I can’t do anything. What is the problem and what should I do?

would anyone know how I can get passed this screen, im fairly new to this and have had other instances connected using RDP work just fine.


I know how to set a BASH variable equal to the output from a command, but it doesn't work in case of 'top' command for me, see below  cat aTOPFWK.sh OUTPUT = $(top -b -n 1 | egrep 'fwk3' |  awk '{print $9}') echo "${OUTPUT}" ./aTOPFWK.sh: line 3: OUTPUT: command not found

I want to assign the result of an expression (i.e., the output from a command) to a variable and then manipulate it – for example, concatenate it with a string, then echo it.  Here's what I've got: #!/bin/bash cd ~/Desktop; thefile= ls -t -U | grep -m 1 "Screen Shot"; echo "Most recent screenshot is: "$thefile;  But that outputs: Screen Shot 2011-07-03 at 1.55.43 PM.png Most recent screenshot is:   So, it looks like that isn't getting assigned to $thefile, and is being printed as it's executed. What am I missing?


with a similar title, where he covers a few aspects of the boundaries of human knowledge, in short "things we know we will never know". It sounds a little bit spooky to know of such limitations. Although Marcus is a mathematician, his book doesn't cover mathematical topics only. So, I am more interested in mathematical "things we know we will never know".  Thus, my question is:     What are some interesting mathematical examples, with solid proofs (desirably), revealing "things we know we will never know"?   I will provide few examples, to begin with:   , we know it's in between $0$ and $1$, but we will never be able to compute it. And generally, the fact that not all  can . . Further to the definable numbers, . Or with more details from the author  Also stated as

I recently read about the impossibility of trisecting an angle using compass and straight edge and its fascinating to see such a deceptively easy problem that is impossible to solve. I was wondering if there are more such problems like these which have been proven to be impossible to solve.


I am trying to wrap my mind around the variance definition.  Given a set of values S and n = #(S), the variance is defined as:  $$ \operatorname{var}(S) = \frac{\sum_{i=1}^n( S_i - \operatorname{mean}(S) )^2} n $$  And the square root of that (standard deviation) measures how far away the values are on average from the mean.  However, there is a simpler formula that also measures how far away the values are from the mean:  $$ \operatorname{another Possible Def For Var}(S) = \frac{\sum_{i=1}^n|S_i - \operatorname{mean}(S)|}{n} $$  I am trying to understand the reasoning behind the fact we use square root instead of a simpler modules function there. Is there a real reason why variance was defined the first way and not the second way?  # EDIT #  Ok, looks like the given reasons so far are way more advanced than what I was expecting.  The argument of squaring it as opposed to taking the modulus saying the modulus make the math more complicated is valid, but more of a consequence of the definition rather than a reason for it being defined as it is IMHO. Same thing goes for the Central Limit Theorem.  I ended up finding the  There, the following reasons were also given:   "Squaring emphasizes larger differences (think of the effect outliers have)." Another comment also points out: "In addition to amplifying large differences from the mean, squaring also MINIMIZES tiny differences from the mean".   These are the most convincing reasons I found so far. The modulus will not emphasize large values, neither will it minimize small values. HOWEVER, the same argument goes to any even power. A power of 4 will also amplify large differences and minimize tiny differences (it will actually do a better job at those). So why not take the power of 4 then? (or any other even number for that matter).   "(...) you can also view the equation as being the Euclidean distance between all the points and the mean of the points"   That's more of a "nice-to-have" than a reason to me. If anything, the modules would give the Manhattan distance. So what?  Having said all that, I am not 100% convinced yet. I believe this question is way deeper than it looks at first glance and judging from the Khan Academy number of upvotes, I am not the only one confused about it.

In the definition of standard deviation, why do we have to square the difference from the mean to get the mean (E) and take the square root back at the end? Can't we just simply take the absolute value of the difference instead and get the expected value (mean) of those, and wouldn't that also show the variation of the data? The number is going to be different from square method (the absolute-value method will be smaller), but it should still show the spread of data. Anybody know why we take this square approach as a standard?  The definition of standard deviation:  $\sigma = \sqrt{E\left[\left(X - \mu\right)^2\right]}.$   Can't we just take the absolute value instead and still be a good measurement?  $\sigma = E\left[|X - \mu|\right]$


How to get the real coordinates (top and left) in the screen in pure JavaScript?  Methods I found use recursion on parent elements to calculate the coordinates, but it seems that they do not cover all the webpage, like ,  and

Can someone show me how to get the top & left position of a div or span element when one is not specified? ie: stuff stuff  In the above, if I do: document.getElementById('11a').style.top  The value of 55px is returned. However, if I try that for span '12a', then nothing gets returned. I have a bunch of div/spans on a page that I cannot specify the top/left properties for, but I need to display a div directly under that element.


I first installed Windows 7 ultimate onto my machine and using Windows 7 built-in partitioning system, I partitioned my disk into many smaller disks of NTFS file systems. I then tried to install Ubuntu 12.04 onto my machine.  I installed Ubuntu and Windows 7 side by side because I needed both operating systems but while booting I was getting an error:  Attention out of range H:92.6KHz  V:58.2Hz   I was not getting any dual boot menu - no message was seen except the above message. I tried pressing the down arrow to move between meu items, thinking that the menu might be there just not shown. The first time it directly logged into Ubuntu then next time  Windows 7.  When I logged into Windows 7, I deleted the volume in which Ubuntu was installed. Now, I am getting this error:  error:unknown file system  grub rescue>   I want Windows 7 back and a better way to install both operating systems. Please give me some help in this regards.

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


I'm quite a big guy and I'm travelling to Benidorm and worried I won't fit in the seat when the armrest goes down. Shall I just buy another seat to save hassle when on the plane ?

As I said in another question, I'm bringing my parents to visit me here in Sweden next year.  My mother is around 280-300 pounds and 5'6" (130-135kg, 1.67m). I am concerned that she might be asked at the airport to buy a second seat. If it's likely I would rather just buy the second seat in advance, because I don't want her to be embarassed/humiliated by some random employee. As well, I won't be there, they will be travelling alone and aren't used to dealing with airports and they won't know what their rights are.  In terms of how it will affect other passengers, it's not important, she will get a window seat and my dad will sit in the middle seat, so I don't see it affecting anybody.   She insists it's fine, "the last time I flew I fit easily!" but that was 20 years ago when she was half the size.   They will be flying BA or SAS, definitely not Ryanair.  So - where is the cutoff? Is a 300 pound 5'6" woman going to be too big to fit in a single airline seat? Or am I worrying about nothing?


A questions goes like this:  X and Y are large,parallel conducting plates close to each other. Each face has an area A. X is given a charge Q. Y is without any charge. Points A, B and C are as shown in the figure.   To find the field at A, the solution goes; $E_A = E_1 + E_4 = \frac{Q}{4A\epsilon_0}$X$2 =  \frac{Q}{2A\epsilon_0}$. The same is held true for the field at $E_C$. How's this possible? If we label the surfaces from the left to the right as 1, 2, 3, and 4, wouldn't it be surface 3 that affects the field at A? And similarly, wouldn't surface 2 affect the field at C?

One of the ways examiners torture students is by asking them to calculate charge distributions and potentials for systems of charged parallel plates like this:    the ellipsis is meant to indicate any number of additional plates could be inserted where I've placed the ellipsis. The plates are assumed to be large enough that edge effects can be neglected i.e. they are effectively infinite.  In practice these problems are solved by the (frequently tedious) application of some simple rules, one of which is:     The charge densities on the two outermost surfaces (labelled $Q_{ext}$ in my diagram) are identical.   My question is how we can prove the statement that the two charge densities, $Q_{ext}$, are equal?  The problem is that our system of plates can have an arbitrary number of plates with arbitrary charges and spacings. Presumably one could with enough effort grind through a massive calculation where the plate charges and positions are all variables, but this seems an awfully complicated way of approaching an exceedingly simple observation. Surely there has to be a better way?  I am guessing that there must be some general argument one can make that means we get the same external charges regardless of the details of plates charges and spacings. Can anyone describe such an approach?  For bonus marks another of the starting points students are taught is that if any plate in the setup is earthed then the exterior charges are zero. If this doesn't emerge naturally from whatever approach is used to answer my first question I would also be curious to see how this could be proved.


I read that "The law of total expectations states E[xy]=E[E[xy|x]]. By linearity of conditional expectations, E[E[xy|x]]=E[xE[y|x]]" but I am not able to understand the part "E[E[xy|x]]=E[xE[y|x]]" I would be really thankful if you could explain this.

$E[X|Y]$ is equal to the almost surely unique and deterministic function of $Y$, say $\varphi (Y)$, such that $$E[X f(Y)]= E[\varphi (Y)f(Y)]$$ for all bounded, measurable and non-negative $f$'s. How can I prove this fact? In particular, how the a.s. uniqueness and the equality of the conditional expectation to $\varphi(Y)$ follows from the definition of the conditional expectation defined as usual by $$E[X|Y]=\sum_x x\cdot P(X=x|Y)?$$


I just started with motion tracking in blender and it a really awesome feature but I discovered that shooting the right video is very hard.  The image below is a part of I test video I made where I moved my phone from left to right and than to the left again. Like you can see on the image, all the tracking points on the left are useless for blender and it is really hard to works with only the right part of the video.  My question is: has somebody tips about how to shoot a good video for motion tracking?  Should you just walk around an object with some good marks instead of moving the camera from left to right like I did.

Whenever I do camera tracking in Blender the reconstruction is always zooming out or not on the axis. I have a great quality camera, but the end results of the camera tracking always has the model sliding. If you have a solution please tell me.


I've had a Linux installed on my Dell XPS laptop for 2 years and it has suddenly stopped recognising any Wifi Networks.   In Settings > Networks the options are:   Wired VPN Network Proxy    More Info:   $ sudo lshw -C network   *-network UNCLAIMED             description: Network controller        product: BCM4352 802.11ac Wireless Network Adapter        vendor: Broadcom Corporation        physical id: 0        bus info: pci@0000:02:00.0        version: 03        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: latency=0        resources: memory:f7200000-f7207fff memory:f7000000-f71ffff   and  Network controller: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter (rev 03)  $ iwconfig lo        no wireless extensions.  enp0s20u1c4i2  no wireless extensions.  $ grep -R brcm /etc/modprobe.d /etc/modprobe.d/blacklist-bcm43.conf:blacklist brcm80211 /etc/modprobe.d/blacklist-bcm43.conf:blacklist brcmfmac /etc/modprobe.d/blacklist-bcm43.conf:blacklist brcmsmac   Chilli555 - Thanks!  Edit  uname -r 4.15.0-23-generic  David Foeerster-  dpkg-query -Wf '${Status;1} ${Package}\n' linux-* | sed -ne 's/^i //'  Nothing happens  Edit: Elder Geek suggestion:   sudo modprobe wl modprobe: FATAL: Module wl not found in directory /lib/modules/4.15.0-23-generic

I have a brand new Dell XPS 15. I   dual boot it with Windows 8.1 and  Ubuntu 14.10  The Wireless Network Adapter is Broadcom BCM4352 802.11ac with PCID [14e4:43b1] (rev 03).  The 4352 is not included in the list for installation via bcmwl-kernal-source file. I tried this anyway, but the Terminal command led to the file starting to install, but then stopping. Sometimes I get a permission denied error message.  As a result of reading and trying all advice from forums I have decided to completely reinstall Ubuntu 14.10. I doubt my particular Broadcom Wireless Card has no support on Ubuntu 14.10?    Edit:  The advice of Chili555 worked. I now have working wifi using Broadcom Wireless Adapter BCM4352 802.11ac PCID [14e4:43b1] (rev 03)


I'm trying to give people a visual clue that they're able to scroll left and right inside of an app for the iPhone. I tried to show that you're able to scroll left and right by having a tiny part of the next screen displayed.    I then tried to go with a left and write button approach but that also seemed not to work. What's a good way to show people that they're able to scroll left and right.

What is the most appropriate image to indicate to users to swipe left or right? i am using  but i feel like it needs a swipe indicator in the background somewhere.  Edit: for iPhone and Android use only.


I have a external USB disk that is format using LVM. There are 2 logical partitions inside the LVM partition. When I plug it I can see the disk with GParted, but the disk partitions are not shown in the file manager. Nor is the command to mount the partitions enabled in GParted.  How can I mount the 2 partitions and access them from Ubuntu 17.04?

Yesterday I decided to upgrade my laptop hard drive to an SSD. I was previously running Ubuntu 14.04 on the HDD that came with it. I have installed Ubuntu 14.10 on the SSD.  I would like to mount the old HDD so that I can copy over all my files. So I purchased an enclosure that lets me treat it like an external USB drive. I put the HDD into the enclosure and plugged it in. It is detected and it sees all of the volumes. But it only mounts the boot volume for read/write.  The HDD is 750GB and the SSD is 120GB. When I inspect it in the "Disks" utility I see both hard drives and can easily tell the difference between the two. When I inspect the HDD I see: Partition 1 Ext2 (boot volume), Extended Partition 2, and Partition 5 LVM2 PV.  So clearly it can see the volumes as well. It reports that the disk is ok but has one bad sector. The drive is not encrypted. I am not sure why it shows two volumes of the same size. Probably has to do with it being an LVM volume.  How do I get it to let me read the files from my old installation of Ubuntu?  $ sudo fdisk -l Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7f79a18e  Device     Boot  Start       End   Sectors   Size Id Type /dev/sda1  *      2048    499711    497664   243M 83 Linux /dev/sda2       501758 468860927 468359170 223.3G  5 Extended /dev/sda5       501760 468860927 468359168 223.3G 8e Linux LVM  Disk /dev/mapper/ubuntu--vg-root: 215.6 GiB, 231479443456 bytes, 452108288 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mapper/ubuntu--vg-swap_1: 7.8 GiB, 8317304832 bytes, 16244736 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/sdb: 596.2 GiB, 640135028736 bytes, 1250263728 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x0004f632  Device     Boot  Start        End    Sectors  Size Id Type /dev/sdb1  *      2048     499711     497664  243M 83 Linux /dev/sdb2       501758 1250263039 1249761282  596G  5 Extended /dev/sdb5       501760 1250263039 1249761280  596G 8e Linux LVM


I'm currently writing a seminar paper with TexMaker (Version 5.0.4) on macOS Catalina (10.15.5). I tried to switch from BibTex to BibLaTex due to formatting issues for my bibliography (I need APA style in German). With BibTex and the \apalike style, the bibliography is in English while I (obvs) need it to be in German. So, with the help of a friend who is more familiar with the program, we encounter a problem switching to BibLaTex. The following is an example for the preamble + a sample citation: \usepackage[ngerman]{babel}  \usepackage[utf8]{inputenc} \usepackage{csquotes} \usepackage[T1]{fontenc} \usepackage{color} \usepackage[a4paper,lmargin={1in},rmargin={1in}, tmargin={1in},bmargin = {1in}]{geometry} \usepackage{microtype} \usepackage{amssymb} \usepackage{amsthm} \usepackage{graphicx} \usepackage{titlesec} \usepackage{caption} \usepackage{subcaption}  \usepackage[backend=biber, style=apa]{biblatex} \DeclareLanguageMapping{german}{german-apa} \addbibresource{Bib} \listfiles   \newcommand{\source}[1]{\caption*{Quelle: {#1}}}  \expandafter\def\expandafter\quote\expandafter{\quote\small} \usepackage{hyphenat}  \begin{document}  This is my citation 1 \cite{clasen2012instrument}.   \addcontentsline{toc}{section}{Literatur} \printbibliography  \end{document}  If I try to run pdfLatex --> Biber --> pdfLatex I get the following error: INFO - This is Biber 2.14 INFO - Logfile is 'BibLaTex-Test.blg' INFO - Reading 'BibLaTex-Test.bcf' INFO - Found 1 citekeys in bib section 0 INFO - Processing section 0 INFO - Globbing data source 'Bib' INFO - Globbed data source 'Bib' to Bib INFO - Looking for bibtex format file 'Bib' for section 0 ERROR - Cannot find 'Bib'! INFO - ERRORS: 1 The .log file: biblatex.sty    2019/12/01 v3.14 programmable bibliographies (PK/MW)  The .blg file: [0] Config.pm:304> INFO - This is Biber 2.14   [0] Config.pm:307> INFO - Logfile is 'BibLaTex-Test.blg' [102] biber-darwin:322> INFO - === Wed Jul  8, 2020, 19:00:42 [123] Biber.pm:415> INFO - Reading 'BibLaTex-Test.bcf' [278] Biber.pm:943> INFO - Found 1 citekeys in bib section 0 [297] Biber.pm:4256> INFO - Processing section 0 [298] Utils.pm:75> INFO - Globbing data source 'Bib' [298] Utils.pm:91> INFO - Globbed data source 'Bib' to Bib [310] Biber.pm:4455> INFO - Looking for bibtex format file 'Bib' for section 0 [506] Utils.pm:320> ERROR - Cannot find 'Bib'! [506] Biber.pm:132> INFO - ERRORS: 1  This is the best it's been for a few hours now after we tried it in a new "test" file. I am a newbie to LaTex, my friend is a bit better but at his wits end too. Why do I get this error? (Is it Biber, MacOs, am I dumb?) If you need any more infomartion I'm happy to help. PS.: If anyone has another solution for my bibliography formatting problem with German APA citation style, I'm happy to hear that too! Thanks in advance!

I think I've read all posts concerning this issue and a solution might have been provided but I don't understand it. Here is the full story. I export my bibliography file from Zotero (I tried everything BibTex, BibLaTex, UTF-8 and Western, all possible combinations). I work in Texniccenter editor. I would like to use biblatex (the example is not full, it's a thesis normally, so too long). Here is my code: \documentclass{book} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{csquotes} \usepackage[backend=biber]{biblatex} \addbibresource{bibli} \title{YYY} \author{\textsc{ZZZ}} \date{\today} \begin{document} \maketitle \frontmatter \tableofcontents \chapter{Introduction} \mainmatter \part{State of the art} \chapter{blabla} L'intérêt pour l'activité d'abattage a été étudié à plusieurs reprises en sciences sociales. Toutefois, la condition animale en elle-même y est très peu abordée, sans doute parce que les acteurs de terrain eux-mêmes la considère comme un non-sujet \cite{muller_a_2008}. \printbibliography \addcontentsline{toc}{chapter}{Bibliographie} \end{document}  Here is a part of my bibliography file: @book{muller_a_2008,     address = {Paris; Versailles},     title = {{\'A} l'abattoir: travail et relations professionnelles face au risque sanitaire},     isbn = {978-2-7351-1170-1 978-2-7592-0051-1},     shorttitle = {{\'A} l'abattoir},     language = {French},     publisher = {{\'E}ditions de la Maison des sciences de l'homme ; {\'E}ditions Quae},     author = {Muller, S{\'e}verin},     year = {2008},     note = {OCLC: 262718567} }  Probably the answer is simple, but I am quite new, and yes, I really read a lot of documentation, without finding anything useful. I also tried to change the settings of output profile (use biber instead of bibtex) but it did not work. Problem might come from Zotero? If so how to know where cause my file is super long?...


I have done N times of redirection and not successful for N times and now this is the most close to what I want but my website still wasn't redirect. I want my website to redirect from http+example.com to https+www.example.com Below is my .htaccess redirect:  RewriteEngine On #Options +FollowSymLinks RewriteCond %{HTTPS} !on  RewriteCond %{HTTP_HOST} example.com [NC] RewriteRule .* https://www.example.com%{REQUEST_URI} [R=301,L]also    This is the logs that I got:  RewriteCond: input='off' pattern='!on' => matched RewriteCond: input='www.example.com' pattern='example.com' [NC] => matched rewrite '' -> 'https://www.example.com/' explicitly forcing redirect with https://www.example.com/ escaping https://www.example.com/ for redirect redirect to https://www.example.com/ [REDIRECT/301]   The logs looks perfect and it is what I hope it redirect to but it wasn't. Also, when I scroll down deeper, I found some weird redirect as below:  rewrite 'ads.txt' -> 'https://www.example.com/ads.txt' [Thu Apr 09 16:57:40.910510 2020] [rewrite:trace2] [pid 5472:tid 1148] mod_rewrite.c(482): [client 66.249.79.219:43577] 66.249.79.219 - - [www.example.com/sid#5f3b3aead0][rid#5f3bc4a2c0/initial] [perdir D:/wamp64/www/example/] explicitly forcing redirect with https://www.example.com/ads.txt   The link itself is correct but why with ads.txt? I also found this referrer which I don't know where it come from:  rewrite '' -> 'https://www.example.com/', referer: https://unknownsite.az/ explicitly forcing redirect with https://www.example.com/, referer: https://unknownsite.az/   I also notice it sometime rewritecond input with some IP address but I didn't define any IP address anywhere. Please do help me on this, I know that I'm getting close to the answer.  Kindly help me and thanks in advance! Do let me know if you guys need any more info, I will update it accordingly.

I wonder what is the relationship of ServerName & ServerAlias with host.file. As I know ServerName sets the hostname and port that the server uses to identify itself and ServerAlias is the alternate names for a host. But does the ServerName and ServerAlias need to be identified in host.file? Do we need to put the exact domain name or it can be an alternate name in ServerName or ServerAlias? Let's say my actual domain is www.example.com and I have set up SSL and my website are now run as https+www.example.com, now I'm trying to redirect my website from http+example.com when I type it in the browser and I expect my browser will redirect me to https+www.example.com,  what ServerName or ServerAlias should I put in httpd-vhost.conf? Below are my host.file:  127.0.0.1 example.com www.example.com ::1 example.com www.example.com 127.0.0.1 localhost ::1 localhost   Below are my httpd-vhosts.conf:  <VirtualHost *:80>     ServerName example.com     ServerAlias www.example.com     DocumentRoot "d:/wamp64/www/example"     <Directory  "d:/wamp64/www/example/">         Options +Indexes +Includes +FollowSymLinks +MultiViews         AllowOverride All         Order allow,deny         Allow from all         Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"     </Directory> </VirtualHost>   Does my definition of ServerName and ServerAlias correct in httpd-vhosts.conf?  This is what I put in .htacess to redirect my website from http+example.com to https+ww.example.com but it does not work and I believe it related with my definition of ServerName and ServerAlias:  RewriteCond %{HTTPS} !on  RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule .* https://www.example.com%{REQUEST_URI} [R=301,L]   Below is the outcome of my redirection logs:  [perdir D:/wamp64/www/example/] RewriteCond: input='off' pattern='!on' => matched  [perdir D:/wamp64/www/example/] RewriteCond: input='' pattern='^example\\.com$' => not-matched   This is what I get from Firefox debugger:    Update  I've update my .htaccess to below:  RewriteCond %{HTTP_HOST} example.com [NC] RewriteRule .* https://www.example.com%{REQUEST_URI} [R=301,L]   I update my ServerName in vhost to www.example.com  Here's the logs that I got:  example per-dir prefix: D:/wamp64/www/example/index.php/news-and-events/news-and-events/news -> index.php/news-and-events/news-and-events/news applying pattern '.*' to uri 'index.php/news-and-events/news-and-events/news' RewriteCond: input='off' pattern='!on' => matched RewriteCond: input='www.example.com' pattern='example.com' [NC] => matched rewrite 'index.php/news-and-events/news-and-events/news' -> 'https://www.example.com/index.php/news-and-events/news-and-events/news' explicitly forcing redirect with https://www.example.com/index.php/news-and-events/news-and-events/news trying to replace prefix D:/wamp64/www/example/ with / escaping https://www.example.com/index.php/news-and-events/news-and-events/news for redirect redirect to https://www.example.com/index.php/news-and-events/news-and-events/news [REDIRECT/301]   Here is what I got from firefox debugger raw header:  GEThttp://example.com/  Request URL:http://example.com/ Request Method:GET  Request Headers (328 B)  Raw Headers Host: example.com User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:74.0) Gecko/20100101 Firefox/74.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate DNT: 1 Connection: keep-alive Upgrade-Insecure-Requests: 1   This is what I get from Microsoft Edge:  General Request URL: http://example.com/ Referrer Policy: no-referrer-when-downgrade Request Headers Provisional headers are shown Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 Edg/80.0.361.111   Please help and do point me out if I've done anything wrong and thanks in advance!


I am really New to UBUNTU 14.04 and whenever I try to update or install anything I get this error:  sudo apt-get update [sudo] password for trojanfm:  E: Could not ge lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)  E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?


I've already read some of the similar topics here but none of the suggestions work. No F4, no fn+F4, no restarting the game. Actually, even after months, Minecraft still looks like Super Secret Settings is enabled no matter which world I play in.    I have no idea if it is relevant but I'm using Ubuntu. The problem occurred with several versions of the game already (since its been months).

How do I turn off the Minecraft 1.7.2 super secret settings? I tried F3 and F4, hitting Esc repeatedly, all things mentioned on blogs – nothing is working.


I'm attempting to run this zsh script: #!/bin/zsh  paths=(     "/docs/" )  for path in $paths; do     dirsearch.py -u "http://10.129.140.251:8080$path" \         -r --csv-report="$(date +"%Y_%m_%d_%H_%M")_$path.csv"     sleep(300) done  When I attempt to run it I get these errors: ./dirsearch.sh:8: command not found: date ./dirsearch.sh:8: command not found: dirsearch.py ./dirsearch.sh:10: unknown file attribute: 3                                             Steps performed so far:  Verified that the folder which dirsearch.py is located in is added to path: export PATH=/home/user/targets/dirsearch:$PATH   Verified that I am using zsh as my current shell  Ran date and dirsearch.py commands without error from various locations on the pc.  Googled the issue.  Most solutions point to a path configuration error, but I don't see how mine is missconfigured.

I want to set my path (and some other environment variables) based on a certain directory, so I have the following file in my home directory  export MY_DIR="/path/to/dir" export PATH=$MY_DIR/bin:$PATH export MY_OTHER_VAR="$MY_DIR/folder"   I source that in my ~/.zshrc with the following line: [[ -e ~/my_file.sh ]] && emulate sh -c ' source ~/my_file.sh  However, when I log in, $MY_DIR/bin is not in my path. If I echo $PATH, I get %F{51}~%f where $MY_DIR/bin should be. However, both MY_DIR and MY_OTHER_VAR were set correctly.  Have I done something wrong, or is this some weird bug in zsh (it seems to work as expected with bash)?  Edit  I have used both source and ~ elsewhere in my zshrc without issue. However, I tried moving the file to /etc/zsh/my_file.sh and sourcing it from etc/zsh/zprofile. I also tried using . rather than source, but even with those changes, I still see the same %F{51}~%f in my path variable. Actually, I've noticed that I see whatever my current directory is in the PATH variable, so for example, if I navigate to /etc/zsh/ and echo $PATH, I see %F{51}/etc/zsh%f.  Full code to reproduce:  /etc/zsh/zprofile:  [[ -e /etc/zsh/my_file.sh ]] && emulate sh -c ' . /etc/zsh/my_file.sh'   /etc/zsh/my_file.sh:  export MY_DIR="/home/matt/code" export PATH="$MY_DIR/bin:$PATH" export MY_PYTHON="$MY_DIR/python"   EDIT 2  So I am using a custom prompt which prints my current path in cyan. If I disable that prompt, my PATH variable gets set properly. In the script for the prompt, I use a variable that I call path (lowercase). Apparently, while bash doesn't confuse it with PATH, zsh does. Thanks to all for the help.


I played Monopoly, and I passed Go, and landed on the Community Chest 2 spaces after the Go space. I picked up the "Pay $10, or draw a Chance Card". I drew a Chance card and I got "Go back three spaces."  Now, since I passed Go backwards, do I get $-200 (i.e., pay $200), and/or do I get another $200 the next turn when I pass Go forwards again?

This is to settle a current dispute with our game. Here's the scenario: Someone rolled the dice and landed on Community Chest, passing GO in the process. They picked up the card and it read 'Pay 10 pound or Take a Chance'. They took a Chance, and the Chance card said 'Go back 3 spaces.' They landed on Mayfair, passing back over the GO square to get there. They argued that they should still receive 200 pound because they already passed GO, and you receive the money when passing it NOT at the end of your turn.  I believe that this is correct and you should get the money as you pass GO rather than at the end of your turn (therefore removing the money you got by passing if you went backwards and landed on a square before GO). I've looked in the rules and I think you get the money as you pass, rather than after the consequences of your turn.  What's the official stance on this?


Prove that$$\sum_{k=0}^n\cos(kx)=\cos\left(\frac{nx}2\right)\frac{\sin\frac{(n+1)x}2}{\sin\frac{x}{2}}.$$   i have to proof that this identity is True.    i tried using this methodology but i get stuck at this point     by using this identity ( $1-\cos x=2\sin(x)^2)$ then i tried to separate the real element and imaginary side but i dont get the result i wanted.  how i can approach the problem?

How can we sum up $\sin$ and $\cos$ series when the angles are in arithmetic progression? For example here is the sum of $\cos$ series:  $$\sum_{k=0}^{n-1}\cos (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \cos \biggl( \frac{ 2 a + (n-1)\cdot d}{2}\biggr)$$  There is a slight difference in case of $\sin$, which is: $$\sum_{k=0}^{n-1}\sin (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \sin\biggl( \frac{2  a + (n-1)\cdot d}{2}\biggr)$$   How do we prove the above two identities?


I am connecting to mySQL database using a shell script. After connecting to the mySQL database, I execute a query. The query gives me 300,000 URLs as the result.  For each of the 300,000 URLs I need to check if the URLs actually exist and need to update the table that the URL is checked for its existence.   I have planned on using the curl command. I am giving the command as below.   curl -s --head http://myurl/ | head -n 1 | grep "HTTP/1.[01] [23].."   If I just give the command in my shell, I am getting the response (like 301, 200 etc). However, I need it in a variable so that I can use it for some manipulation purposes. For example, like below.   $var = curl -s --head http://myurl/ | head -n 1 | grep "HTTP/1.[01] [23].." echo $var; if ($var == "some value") {      do something; } else {     do some other thing; }

I want to assign the result of an expression (i.e., the output from a command) to a variable and then manipulate it – for example, concatenate it with a string, then echo it.  Here's what I've got: #!/bin/bash cd ~/Desktop; thefile= ls -t -U | grep -m 1 "Screen Shot"; echo "Most recent screenshot is: "$thefile;  But that outputs: Screen Shot 2011-07-03 at 1.55.43 PM.png Most recent screenshot is:   So, it looks like that isn't getting assigned to $thefile, and is being printed as it's executed. What am I missing?


Show that the locus formed by $z$ in the equation $z^3+iz=1$ never crosses the coordinate axes in the Argand's plane.Further show that $|z|=\sqrt{\frac{-\text{Im}(z)}{2\text{Re}(z)\text{Im}(z)+1}}$    Let $z=x+iy$.Then $z^3+iz=1$ becomes $(x+iy)^3+i(x+iy)=1$ $x^3-iy^3+3ix^2y-3xy^2+ix-y=1$ $(x^3-3xy^2-y)+i(3x^2y-y^3+x)=1$ Comparing real and imaginary parts on both sides,we get $x^3-3xy^2-y=1,3x^2y-y^3+x=0$ But i do not know how to prove that the locus formed by $z$ never crosses the coordinate axes in the Argand's plane. In the second part,$|z|=\sqrt{x^2+y^2}$ and $\sqrt{\frac{-\text{Im}(z)}{2\text{Re}(z)\text{Im}(z)+1}}=\sqrt{\frac{-y}{2xy+1}}$.I don't understand how to prove them equal.

Show that the locus formed by z in the equation $z^3 + iz = 1$  never crosses the co-ordinate axes in the Argand plane. Further show that $$|z| = \sqrt{\dfrac{-\Im(z)}{2\Re(z)\Im(z) +1}}$$  Concept: $z=x+iy$ $z^3=(x+iy)^3=x^3-3xy^2+i(3x^2y-y^3)$ $iz=-y+ix$ Combined equation is $x^3-3xy^2-y-1+i(3x^2y-y^3+x)=0$ How do we proceed from here onward?


Find the minimum value of :$$\left|\sin{x}+ \cos{x} + \sec{x} + \tan{x} + \cot{x} + \csc{x}\right|.$$   What I have tried is trying to simplify the expression into a $\sin{2x}$ form but it did not go well. I guess there is much simpler way to solve the problem.  I also thought of AM-GM inequality but for inequality to hold all the terms must be positive real numbers which in this case is not.

I'm tutoring for a college math class and we're doing putnam problems next week and this one stumped me:      Find the minimum value of $|\sin x+\cos x+\tan x+\cot x+\sec x+\csc x|$ for real numbers $x$.


Which one is correct 1 or 2? Please Explain why.  Such cluster offers a variety of advantages, such as reduced transport-, communication-, and transaction costs Such cluster offers a variety of advantages, such as reduced transport cost, communication cost, and transaction cost.

My example in this case is "activity- and experience verbs", in the meaning "activity verbs and experience verbs". Does the hyphen suggest that "activity-verb" or "activityverb" is the uncontracted phrase, or is it correct to use a hyphen like shown in this case?


I thought there was a way to edit anchors handles precisely in Illustrator a bit like in Cinema 4D (pictured below) but I can't find it.    And when I browse Adobe's help, it seems to be something that I've dreamt of.  In fact I'm just trying to get some symmetry in a circular part of a hand made path. I've drawn a black line on my shape below that highlights the handles length difference between two anchors.  Is the only way of achieving this is by using the ellipse tool ?    Thanks for the help.

In Illustrator CS 5.1, I would like to manually type in the points for handles on an anchor point, as I need to be more exact than moving them with my mouse. How can I do this?


I recently came across  in Workplace SE where the accepted answer does not provide a solution to the question.  From the most upvoted comment on the answer,     I'm curious how this is the accepted answer, when it doesn't actually   answer the question. I mean, the OP is asking "How do I deal with   this" and "How can I politely ask this" - and this doesn't actually   say anything about how to deal with it or how to ask them it.   Someone has already commented that they are flagging it as "Not an answer". Is it valid to flag an accepted answer this way? If not, what should we do?

While reviewing I came upon  by the OP of the question. I believe it was meant to be a comment to another post or comment that I have not been able to identify. Normally I would have flagged this as "Not an answer" and moved on.  But...  For whatever reason, most probably due to not understanding how SO works, the OP marked this post as the accepted answer. I have to admit that this is a first for me - I've never felt the urge to flag an accepted answer before, but I find myself being far more cautious at the sight of that green checkmark.   Should I treat accepted answers like this any differently? Accepting an answer usually (although probably not in this case) means that it is the final word on the issue at hand as far as the OP is concerned, which is why I am reluctant to flag it. What happens to a question if the accepted answer is deleted? E.g. is it placed back into the Unanswered pile? What about the accept-points for its poster?


I'm evaluating the performance of a trained neural network, and I'm getting the following stats:     AUC-ROC: 0.91       accuracy: 0.85   How should I interpret this result?  I'll add that the accuracy is a result of one-hotting the output and comparing it against the label, where as the AUC-ROC is calculated using the probabilistic (ie. range 0->1) output of a label. I'm not sure if it is correct to compare the metrics when doing this.

I am evaluating three models (say, A, B, and C) by three different metrics: , , and Accuracy.  The results show that    Log-loss: C>A>B   (B has the best performance in terms of Log-loss) AUC: A>B>C        (A has the best performance in terms of AUC)   Accuracy: C>A>B   (C has the best performance in terms of Accuracy)   It seems that none can dominate by all three metrics. How should I interpret this result and explain the possible reasons?


My dad asked me this seemingly simple problem:  Suppose you have a (thin) piece of wood in the shape of a circular arc. You can measure the curved length of the wood, $\ell_1$, as well as the shortest distance between the two end points, $\ell_2$.  What is the radius of the original circle, in terms of $\ell_1$ and $\ell_2$?  It feels like it should have a simple solution, but if my reasoning is correct, we have the equations $$\begin{cases}\ell_1 = r\theta\\\ell_2=2r\sin(\frac\theta2),\end{cases}$$ and it doesn't seem trivial to isolate $r$. If we allow ourselves to make use of the inverse of the $\operatorname{sinc}(x)=\frac{\sin x}x$ function (we can restrict $x$ to $[0,\pi)$ for our purposes), by considering $\ell_2/\ell_1$, we obtain $$r = \frac{\ell_1}{2\operatorname{sinc}^{-1}({\ell_2}/{\ell_1})}$$ which I guess is some sort of an answer. Can we do better? Perhaps some kind of integral representation?

For a simulation I want to convert between different kind of set point profiles with one being set points based on steering angles and one being based on circle radius.  I have 2 way points the steering angle the distance driven and now I need to approximate or calculate a circle radius where the arc length equals the distance between the waypoints.  Is this kind of problem solvable or is there no solution but incremental calculations.  Please see the Image i attached as link. I marked the things that I have blue, the things that I need red. Dotted are the things I don't really need.    Edit: