I've been doing a bit of reading on the use of XOR and the dangers of key reuse.  I'm aware that reusing a key can open a door for a frequency analysis attack on my plain text.  So far, everything that I've seen indicates that a frequency analysis attack depends on there being "plain text".  The thought being that languages contain recognizable patterns.   My question is, what if I'm not encrypting "plain text", but instead two strings of random bits AND both strings are the same length?  Does the re-use of one of the input strings multiple times open any doors for attack on my "key"?   For example:  ddd03719f390695784b92d4a3182212b3370e997 ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = 4cde27a2685b4ea0feac37a0b7ef0d0c91bd758b f4b2d44fbe5cfb7f00e60a2293d8a78c443a0ed5 ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = 65bcc4f42597dc887af310c815b58babe6f792c9 02bb44aa8760fdb77312b1dfaef923511531374a ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = 93b554111cabda400907ab3528940f76b7fcab56 153a43bec8e0c22cf84988ee90a5444accf5834f ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = 84345305532be5db825c920416c8686d6e381f53 267611d396dca3f8abfd175f1c39672c7e2791cb ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = b77801680d17840fd1e80db59a544b0bdcea0dd7 fc369b0d1e71ce4455429e09a4238964f855fc50 ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = 6d388bb685bae9b32f5784e3224ea5435a98604c 6b57433b12683ea7eb298954a5130e07e183c3cc ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = fa59538089a31950913c93be237e2220434e5fd0 be7fc6a4b469e1cb8893f8a57c86c2e2f54452cd ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = 2f71d61f2fa2c63cf286e24ffaebeec55789ced1 3f71388bb4916dfc60a8b6ce4ab50ee9850e6c6c ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = ae7f28302f5a4a0b1abdac24ccd822ce27c3f070 7387fae00b77b4a00224e549903e2121af421cff ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = e289ea5b90bc93577831ffa316530d060d8f80e3 edce4e194e97cc39d593928e6e2cd7be27de276b ⊕ 910e10bb9bcb27f77a151aea866d2c27a2cd9c1c = 7cc05ea2d55cebceaf868864e841fb998513bb77   Where each column is expressed as base16 for simplicity, the first column is derived from various inputs, the second is the data I'm trying to secure.   Is it possible to derive either of the inputs using any, some or all of the outputs?  Thank you!

My question might appear the same as the question , but actually I did read all the answers and none of them helped me with the details I need.  I am new to cryptography and my problem is with two time pad attacks on OTP. The problem I had in my course was that I have 10 ciphertexts encrypted with the same key $K$. I am then given another ciphertext that I should decrypt.  I know that XOR-ing two ciphers gives me the XOR of their original messages.  My question is what is the correct thing to do after that?  I tried to take 3 ciphertexts $C_1, C_2$ and $C_3$.  Then get $S_1 = C_1 \oplus C_2  \oplus $' ', also get $S_2 = C_1 \oplus C_3 \oplus$ ' '.  After that I compared all corresponding characters in $S_1$ and $S_2$,  and if $S_1[i] = S_2[i]$ then I calculate $S_1[i] \oplus C_2[i]$ to get $K[i]$.  I tried this on paper before coding and it worked, but I might be missing something.  Is this the right approach? Why does it work?


I am trying to help my friend solve this.  And it has been more than 14 years since I did this type of math. So I am completely lost.  If anyone can help I would be greatly thankful.  This might be vague but please reference the image.

Is it possible to get some help on this. I'm trying to help my friend solve this but it had been over 14 years since I did this type. All I have to work with is this.   Sorry if it is vague. Any help would be greatly appreciated!  Cosecant = cscx=1/sinx.


I just want to implement one sample mail sending application. I have done lot of research for this. From all the corners I am getting same kind of solution. But that is not working for me.I am unable to find my mistake. I am using below code   protected void SendEmail(object sender, EventArgs e) {     string to = txtTo.Text;     string from = txtEmail.Text;     string subject = txtSubject.Text;     string body = txtBody.Text;     using (MailMessage mm = new MailMessage(txtEmail.Text, txtTo.Text))     {         mm.Subject = txtSubject.Text;         mm.Body = txtBody.Text;         if (fuAttachment.HasFile)         {             string FileName = Path.GetFileName(fuAttachment.PostedFile.FileName);             mm.Attachments.Add(new Attachment(fuAttachment.PostedFile.InputStream, FileName));         }         mm.IsBodyHtml = false;         SmtpClient smtp = new SmtpClient();         smtp.Host = "smtp.gmail.com";         smtp.EnableSsl = true;         NetworkCredential NetworkCred = new NetworkCredential(txtEmail.Text, txtPassword.Text);         smtp.UseDefaultCredentials = true;         smtp.Credentials = NetworkCred;         smtp.Port = 587;         smtp.Send(mm);         ClientScript.RegisterStartupScript(GetType(), "alert", "alert('Email sent.');", true);     } }   And getting the exception like below    please suggest me how can I solve this issue.  Thanks in advance.

Instead of relying on my host to send an email, I was thinking of sending the email messages using my Gmail account. The emails are personalized emails to the bands I play on my show.   Is it possible to do it?


In a video that talks about Riemann's problem someone said that we don't know yet how to compute sums like this one  $$\sum_{n=1}^{\infty}\frac{1}{n^{2k+1}}.$$  I was wandering if that concerns alternate series too like the one in my question !  Thanks in advance !

Prove that : $$\sum_{k=0}^{\infty} \frac{(-1)^{k}}{(2k+1)^3}=\frac{\pi^3}{32}.$$    I think this is known (see ), I appreciate any hint or link for the solution (or the full solution).


I am using Ubuntu 14.04. With Skype Linux version 4.3.0.37 when I try a conference call, my friends can hear me, but there is no video. They receive a notification saying I need to upgrade Skype. There is no problem for a simple video call. Both audio and video work perfectly. I have downloaded Skype from . The Skype website don't have any recent updates for Linux distributions.   Any help on how to solve this?

For those who duplicated my previous question - ; am NOT asking how to install Skype for God's sake!!   The question was rather - I already have Skype installed, the thing is there is no possible option for me to do group video call or group screen share. The interface itself resembles the times when Skype was newly born. While on Windows, Skype's latest version is around 6.(something), here it's only 4.3. In Windows group video call is now free on Skype, here I can't even do video call! I think this is a major drawback for an otherwise so good OS! Is there anything that can be done about it?  Thanks for any help!  For those who don't have an answer for me, I still thank you for at least understanding my question!!  Have a good day!


I'm using the latest version of Chrome on the latest update of Windows 7. This happens on both my laptop and my desktop.   I'll go "Back" and the same page just reloads, and then when I press and hold on the back button, I see that the page has loaded multiple times, sometimes so many that the entire ten or so entries are filled up with the same page.   This started happening recently and I started to realize that some sites do this and some don't, which make me wonder if this is some sort of cookie or javascript code. I only use three addons; ABP, Chrome to Phone, and Reddit Enhancement Suite.   I unfortunately don't have a specific site that this happens on off the top of my head and it hasn't yet happened today, so perhaps this is more of a theoretical question.  Is it possible for a web site to modify what my back button does? Or could it be something else I am doing? It's really annoying because I have dedicated back/forward buttons on my desktop mouse and three-finger gestures for my laptop's touchpad that go back and forward, and they're really convenient but I've stopped using them because it doesn't consistently work.

On some websites, when you hit the "Back" button, the browser attempts to go to the previous web page, but the current page opens up again. It happens even when the original page has finished loading. Hitting the "Back" button dozens of times doesn't prevent the behaviour, and I get "stuck" on that page.  What would explain this? It has happened to me on virtually every browser I've ever used.


There are quite a lot info in    But I'd like to know exactly how many votes of which type question/answer need to leave queue.  For example(if I understand it correctly) for suggested edit post need one of:   3 Approve's 3 Reject's  Improve ♦ Approve  ♦ Reject

I've noticed that the number of reviews required to remove a post from a queue varies. For example, to accept/reject a suggested edit, you need two votes of the same kind. If the votes are conflicting, the number goes higher. This seems to be the case for the other queues as well. (Additionally, I think that a mod-review is binding) So, my question is: what are the criteria for a review to be marked as a "completed" review? Also, when is a review considered invalidated (i.e. "no longer reviewable")? Formerly When is a post removed from a review queue?.


$ s=/the/path/foo.txt   we can extract by different criterion separately  $ echo ${s##*/} foo.txt $ echo ${s%.txt} /the/path/foo   But if we want to extract according to both criterion at the same time,  $ echo ${${s##*/}%.txt} bash: ${${s##*/}%.txt}: bad substitution   Is it possible to achieve the same goal, using parameter expansion only and without introducing a temporary variable?  Can a parameter expansion work inside another parameter expansion in some way?  Thanks.

I would like to use variable substitution on a particular string that I access via a command. For example, if I copy something into my clipboard, I can access it like this.  $ xclip -o -selection clipboard Here's a string I just copied.   If I assign it to a variable, then I can do variable substitution on it.  $ var=$(xclip -o -selection clipboard) $ echo $var Here's a string I just copied. $ echo ${var/copi/knott} Here's a string I just knotted.   However, is there a way to do variable substitution without assigning it to a variable? Conceptually, something like this.  $ echo ${$(xclip -o -selection clipboard)/copi/knott} bash: ${$(xclip -o -selection clipboard)/copi/knott}: bad substitution   This syntax fails, because var should be a variable name, not a string.


If the universe is expanding, then at some time in the past, it must have started from a single point but why this point is not the center of the Universe. Just like the singularity of black holes is its center?

TV documentaries invariably show the Big Bang as an exploding ball of fire expanding outwards. Did the Big Bang really explode outwards from a point like this? If not, what did happen?


So, this is my database helper class   public class DBHelper extends SQLiteOpenHelper {     public static final String DATABASE_NAME =  "EventManager.db";     public static final String TABLE_NAME =  "EventManager";     public static final String Col_1 =  "NAME";     public static final String Col_2 =  "DATE";     public static final String Col_3 =  "TIME";     public DBHelper(Context context) {         super(context, DATABASE_NAME, null, 1);     }      @Override     public void onCreate(SQLiteDatabase db) {         db.execSQL("create table " + TABLE_NAME + " (NAME TEXT, DATE TEXT, TIME TEXT)");     }      @Override     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {         db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);         onCreate(db);     }     public boolean insertData(String name, String date, String time){         SQLiteDatabase db = this.getWritableDatabase();         ContentValues contentValues = new ContentValues();         contentValues.put(Col_1, name);         contentValues.put(Col_2, date);         contentValues.put(Col_3, time);         db.insert(TABLE_NAME, null, contentValues);         return true;     } }   I am trying to call insertData() from another class like:  public void addData(View view){     if(dbHelper.insertData(editTitle.getText().toString(), date.getText().toString(),                      time.getText().toString()))          Toast.makeText(AddEventActivity.this, "Event saved", Toast.LENGTH_LONG).show();                     else          Toast.makeText(AddEventActivity.this, "Event not saved", Toast.LENGTH_LONG).show(); }   addData() is called when a button is clicked.  So, whenever I attempt to save data using the code, my app is crashing. The issue is with database connection, I have checked all the editTexts, button calling, everything is fine. It's crashing only when database is being involved and when I tried without DB and a simple toast displaying editText values on a button click, it's working fine. Please help.  Logcat :  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.example.yogith.exampleevent.DBHelper.insertData(java.lang.String, java.lang.String, java.lang.String)' on a null object reference                                                                                at com.example.yogith.exampleevent.AddEventActivity.addData(AddEventActivity.java:87)                                                                                at java.lang.reflect.Method.invoke(Native Method)                                                                                at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)                                                                                at android.view.View.performClick(View.java:5201)    error  07-02 12:56:37.235 9949-9949/com.example.yogith.exampleevent W/System: ClassLoader referenced unknown path: /data/app/com.example.yogith.exampleevent-1/lib/arm   Solved: The DBHelper object, 'dBHelper' that is used call addData() wasn't declared properly. Thanks

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?


Let $G$ be a finite  group. For any two elements $a,b \neq e\in G$ there exits an automorphism $\sigma$ such that $\sigma(a)=b$. Prove that $G$ is abelian.  Only thing that I could conclude about the problem is that all elements have the same order.

Let $G$ be a group. If for any $a, b\in G\backslash\{1\}$ there exists an automorphism $\sigma$ of $G$ such that $\sigma (a)=b$ then $G$ is abelian.  I am not the best of the algebra and I have a problem with the proof of the fact above although I guess it must be very simple.. I will be grateful for hint.


I'm running  Kubuntu 20.10 desktop. Howto link my email address to F1 key and by pressing F1 in any application enter my email address.

There are lots of websites which only allow signing in with email address and password and I am tired of typing a long email address. I don't want my browser to remember my email. Can I assign a keyboard shortcut to print this email address so that every time I press the key I get my email address on current text field?   I am using Ubuntu 14.04 and I have very little knowledge about Ubuntu. I'm not talking about snippets. Just a defined text to paste when the key is pressed.


I don't get it how we came up with $e$ and how can nature use this number so much! that is what I have been told and I only know that $e$ is a specific constant like $\pi$! I understand that $\pi$ just happens to be the ratio of circumference over diameter and I can accept that this is constant for any circle, but what about $e$? what is the real meaning of $e$? thanks!

Potentially related-questions, shown before posting, didn't have anything like this, so I apologize in advance if this is a duplicate.    I know there are many ways of calculating (or should I say "ending up at") the constant e.  How would you explain e concisely?  It's a rather beautiful number, but when friends have asked me "what is e?" I'm usually at a loss for words -- I always figured the math explains it, but I would really like to know how others conceptualize it, especially in common-language (say, "English").     related but not the same:


I really want to know this. I don't always want to open a terminal then press Up arrow a couple of time or copy paste

I'm able to locate stuff with the dash home then drag it down to the launcher bar on the left of the desktop, but what if the application installed via Wine isn't found via the dash search? I've right clicked on the application in the .wine directory and found no options to create a launcher either.


I'm on a server running a Linux shell.  I need to mail a simple file to a recipient.  How to do this, prefereably using only the mail command?   UPDATE: got a good solution, using mutt instead:  $ echo | mutt -a syslogs.tar.gz admin@domain.org

I've created a script that runs every night on my Linux server that uses mysqldump to back up each of my MySQL databases to .sql files and packages them together as a compressed .tar file.  The next step I want to accomplish is to send that tar file through email to a remote email server for safekeeping.  I've been able to send the raw script in the body an email by piping the backup text file to mailx like so:  $ cat mysqldbbackup.sql | mailx backup@email.com   cat echoes the backup file's text which is piped into the mailx program with the recipient's email address passed as an argument.  While this accomplishes what I need, I think it could be one step better, Is there any way, using shell scripts or otherwise, to send the compressed .tar file to an outgoing email message as an attachment?  This would beat having to deal with very long email messages which contain header data and often have word-wrapping issues etc.


In desktop, there is  to create arc and curves, but I can't find any tutorial about how to make and create arc or curves on ArcGIS API for Javascript.  Is there any way to do that?

I've tried without much success to add a curved line feature to the ArcGIS JavaScript map.    I created a polygon with a curved edge in ArcMap:   However, when I load this same feature in the web API, it becomes segmented:   The problem started when I tried to create a curved feature from the JavaScript API itself, which only seems to allow full circle features (not circular arcs).  This makes me think that curves are still unsupported in the JavaScript API. Do you know any way around this? Do you have any other ideas on alternatives I can use to create and correctly view curved features?


Find the particular solution for this linear ODE :$y' '-2y'+5y=e^x \cos2x$.  How can I use Undetermined coefficients method ?

How do I find the particular solution of this second order inhomogenous differential equation? (Using undetermined coefficients).  $y''-4y'+5y = 4e^{2x} (\sin x)$  I can find the generel homogenous solutions but I need help for the particular.


$$\lim _{n\to \infty }\left(\frac{e^nn!}{n^n}\right)$$  According to wolfram, the limit is $\infty$.  Both ratio and Cauchy tests yield $1$, so don't don't help much. I tried to bound the sequence from below, as follows  $$\frac{e^n}{n^n}n!\ge \frac{e^n}{n^n}\left(\frac{n}{2}\right)^{\frac{n}{2}}$$  but then I get   $$\lim _{n\to \infty }\left(\frac{e^n}{n^n}\left(\frac{n}{2}\right)^{\frac{n}{2}}\right)=0$$

Let $c>0$ be a real number. I would like to study the convergence of $a_n := c^n n!/n^n$, when $n \to \infty$, in function of $c$.   I know (from  question) that $n!>(n/e)^n$, so that $c^n n!/n^n>1$ for $c ≥e$. But this doesn't imply that the sequence goes to infinity. And I'm not sure what to do for $c<e$. I tried usual tests (D'Alembert...), without any success. I would like to avoid using Stirling approximation.  Thank you for your help!


I have already drawn a graphic function that isn't defined at -3 and -2. But somehow, I tried to draw the vertical asymptote, x=-3 and x=-2, then I get stuck. As I know, the \addplot is used to draw f(x), not f(y). Anybody can help me?  \documentclass{report} \usepackage{pgfplots} \begin{document}  \begin{tikzpicture} \begin{axis}[    axis lines = left, axis x line= center,    axis y line= center,    xlabel = $x$, ylabel = {$f(x)$},    xmajorgrids=true, ymajorgrids=true,    restrict y to domain=-50:50,    ymin=-40, ymax=40,] \addplot[    samples=500, color=red, thick]    {(x-1)/(x^2+5*x+6)}; \addplot[    samples=100, color=blue, thin, dashed] %   {???}; <= how can I get the x=-3 line? \end{axis} \end{tikzpicture}  \end{document}

I would like to plot these four equations :   $$y=\dfrac{3}{2x+1}, y=3x-2, x=2   y=0$$   and i don't know how to draw vertical line of equation x=2 and  shade a region like the picture below      \documentclass{article} \usepackage{pgfplots} \usepackage{pst-plot} \usepackage{pstricks}  \begin{document}  \begin{table}[h] \centering     \begin{tikzpicture}         \begin{axis}[              extra y ticks       = 2,       extra y tick labels = z,       extra y tick style  = { grid = major },              axis lines=middle,              grid=major,               xmin=-1,                 xmax=3,         ymin=-1,         ymax=3,         xlabel=$x$,         ylabel=$y$,                 xtick={-1,-0.5,0,...,3},         ytick={-1,-0.5,0,...,3},         legend style={at={(axis cs:-.5,0,1)}, anchor=north west,width=90cm, draw=none,opacity=.9, inner sep=2pt,fill=gray!10}]             %\addlegendentry{$f(x)=2^{x}$}             %\addlegendentry{$f(x)={\left(\dfrac{1}{2}\right)}^x$}             smooth,                 enlargelimits=false,         axis line style={latex-latex},  \addplot[thick, samples=100, domain=0:6,blue] {3/(2*x+1)}; %node[right] {$f(x)=2^{x}$}; \addplot[thick, samples=50, smooth,domain=0:6,olive] {3*x-2}; % node[right]{$f(x)={\dfrac{1}{2}}^x$};     \end{axis} \end{tikzpicture} \end{table}  \end{document}   which produces :


What is the actual importance of an intercept term in a regression equation? If regressors include variables like age, height, weight and gender(1= male, 0= female), should the equation have an intercept term?

Is it possible to interpret regression output when omitting the intercept?  Can this omission be justified?


Since a long time ago, I used to write selected instead of select because I thought select is just a verb, not adjective. But recently I came to know it's adjective, because I saw phrases like "select cities/users/phones" etc. Earlier, for the same phrase, I would write "selected cities/users/phones". I felt it natural and it was like a belief that I thought it is the right thing and I never really paid attention to it. For example, I would write: This game is available for selected users/cities. (My subconscious mind makes me feel both give same feeling and meaning) Now, I'm sure "select users/cities/etc." make sense and is absolutely right, but also I wonder if I could use "selected" too for the same purpose (in other words, could they be used as synonym phrases)? Or is it totally wrong use?

The original question is  but it's still unclear to me.     We have branches in select cities.    We have branches in selected cities.    My homework: I asked this to a person who's master in English. He suggested this -     Use 'select' when things are really outstanding and very very unique. The metro rail in India is available in select cities. Rest for everything, it's 'selected' especially discounted items and/or outlets of any brand in cities and towns.    By placing *'branches' in select cities the brand did nothing to the cities and there's no city with very unique quality in this matter. It'll be 'selected cities'. Had it been the Olympic Committee's matter, we would have said, "They organize the event in select countries."  Clarification with references and examples please.


What can I call someone (a friend) who is always asking for favours such as:     if you are going downtown, can you buy this for me please or, can you lend me your car for an hour or, if you have some spare time, can you post this letter for me please because I am so busy today   He doesn't seem to realise or,  pretends not to, that there is a limit to asking for help or favours from other people.

What would you call someone who isn't afraid to ask for money or any kind of favor or who misinterprets someone's generosity for a consistent resource for what they need?


I'm trying to create a graph which has all of the datapoints from an inline table plotted, without a line connecting them, but still having the points on the graph.  The issue with the MWE is the line connecting all the points.  MWE:  \documentclass{article} \usepackage{pgfplots} \usepackage{pgfplotstable}  \begin{document} \pgfplotstableread{    1 1    2 2    3 3    4 4 }\datatable  \begin{tikzpicture}    \begin{axis}       \addplot table \datatable;    \end{axis} \end{tikzpicture}  \end{document}

I want to plot several curves with a \foreach command in pgfplots. I don't want any markers, and I can't find a way to get colored plots without markers in a \foreach loop. Using no markers gets rid of markers and colors.  \documentclass[12pt]{article} \usepackage{pgfplots} \usepackage{tikz}  \begin{document} \begin{tikzpicture} \begin{axis} \foreach \pas in {1,2,...,10}  { \addplot[mark=none] expression {\pas*\x}; } \end{axis}  \end{tikzpicture} \end{document}


I still see my comments that I posted from my deleted user account. How can I delete them?

When an account is deleted, the username in the user's posts and comments is changed to a generic user<userID>. But the username stays the same on close and delete notifications on posts the user had voted to close / delete1. I think it shouldn't, especially for users who used their real name as their username, if they chose to distance themselves from the site and remove their accounts, it makes sense that they wouldn't really want their name plastered on close and delete notifications.   A perhaps easy way to avoid the actual username remaining visible would be to change it to the generic user<userID> (or anything generic enough, like "anonymous") prior to deletion, and wait a bit for the generic username to propagate all over the site. If I'm not horribly misreading , this was part of the process in the old days.   This could be automated or added as a suggestion to the .  Glaring example can be seen , where the deleted user also posted a comment where their name is properly anonymized:        1 I've seen it on close notifications and self deleted answers. I'm not sure it happens on deleted questions, or deleted answers that aren't self deletions, and I don't have a way to verify it - other than stumbling on them accidentally


My teacher said (without explaining why) that because $R^{n}$ is finite dimensional then set of all linear functions (Dual space) is equal to the set of all continuous linear functions. Can someone explaining why this true?  Thank you.

From      Every linear function on a finite-dimensional space is continuous.   I was wondering what the domain and codomain of such linear function are?   Are they any two topological vector spaces (not necessarily the same), as along as the domain is finite-dimensional? Can the codomain be a different normed space (and may not be finite-dimensional)?  I asked this because I saw elsewhere the same statement except the domain is a finite-dimensional normed space, and am also not sure if the codomain can be a different normed space (and may not be finite-dimensional).  Thanks and regards!


Inertia forms the basis of Newtonian physics,but nothing really explains it.I know that it is generally accepted in classical physics,but can it's origin  be explained?Maybe be relativity or quantum mechanics?

In  R P Feynman relates a story where his father told him that, even though we know the word "inertia" and what it means, nobody knows why inertia happens. Is that still true?


.thumbnail file is occupying a lot of space in memory. I have very few pictures on the phone. Deleting doesn't work.   There were 2 previous questions regarding this which did not have a solution.   Have Android 5.0.

I have a 16 GB Samsung Galaxy S3 phone - 5.05GB of which is being taken up by thumbnails! Can I move these to my 32GB SD card?   I have tried DMR (duplicate media remover) and that has detected duplicate pics and videos but stops when I try to delete them.


Well this was interesting.  I failed an audit because the community apparently understood the OP's question (which I considered vague), but then I saw this, after I failed the audit:      Why are we failing people on posts flagged as spam by the system, claiming that they are good posts? And why are we warning people about the spam identification after the audit has already been completed?

I was looking through someone's edit history and I was looking at :    Why does it give this notice, while at the same time saying that it's a high-quality post?


The following code will not compile in either intel or gcc. The crux of the problem appears to be that a static method variadic template of a template class called with a parameter pack expansion is considered bad syntax on the first pass of the compiler.  template<typename T> class foo { public:     template <bool do_other_thing_too, typename... ArgTypes>     static T doThing(ArgTypes... args)     {         std::vector<T> outs = { args... };         T out = 0;         for (auto V : outs) out += V;         // the actual code involves templates using SFINAE, and so must either         // be in this template's parameters or be copied, once for each value          // of the bool         if (do_other_thing_too)         {             out *= 1.5;         }         return out;     } };  struct bar {     int data = 3;     template<bool do_other_thing_too = true, typename T, typename...ArgTypes>     T& doThings(T& out, ArgTypes... args)     {         //the line of the code causing the problem         out = foo<T>::doThing<do_other_thing_too>(data, args...);         return out;     } };  int main() {     bar george;     int a = 0;     george.doThings(a, 12, 10.4, 3.2f, 4ll, 2l);     return 0; }   It gives the following errors in gcc:  Test.cpp:27:61: error: expected ')' before '...' token          out = foo<T>::doThing<do_other_thing_too>(data, args...);                                                              ^ Test.cpp:27:65: error: parameter packs not expanded with '...':          out = foo<T>::doThing<do_other_thing_too>(data, args...);                                                                  ^ Test.cpp:27:65: note:         'args'   I have done a decent bit of fiddling with the code, it will not happen if foo's T parameter is folded into foo::doThing's template i.e.  class foo { public:     template <typename T, bool do_other_thing_too, typename... ArgTypes>     static T doThing(ArgTypes... args)   Also, there is no problem with calling foo<int>::doThing<true>(3, 12, 10.4, 3.2f, 4ll, 2l) directly but neither option is available in the code that spawned this. I have a solution to the problem in the short term do_other_thing_too can be a template parameter in bar, passed by value to foo, and then I can if/else to shove it back into the template that actually needs it, but that is kinda ugly, and I really want to know what is actually causing the problem here.  relevant TLDR on the one this is a 'duplicate' of: It is possible for template syntax to be ambiguous   foo<T>::doThing<do_other_thing_too>(data, args...);   could be referencing a value doThing that is being checked for being less than do_other_thing_too But if you change it to  foo<T>::template doThing<do_other_thing_too>(data, args...);   it knows it is a function

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


Is this definition for a private access modifier accurate?:  private: Any thing declared as private can’t be seen outside of its class.   What about a private nested class?  This class can be seen "outside of its own class" by the class that is nesting it.  Maybe you could say that this nested class is actually a private member of the class nesting it and therefore can't be seen outside of the nesting class which would make the definition provided above true.  If a private nested class is NOT considered a member of the nesting class then I think the definition provided above is not accurate.

Considering "private" is the default access modifier for class Members, why is the keyword even needed?


If I get $s$ successes out of $n$ trials in a binomial distribution, what is the probability $p$ of getting a success in each individual trial?  Presumably $p = s/n$, but what if $s = 0$ or $s = n$?  Would the probability $p$ really be $0$ or $1$?  That seems far too certain if the sample size $n$ is very small, so is there some correction factor to account for small sample sizes in estimating $p$?

Disclaimer: I'm not a statistician but a software engineer. Most of my knowledge in statistics comes from self-education, thus I still have many gaps in understanding concepts that may seem trivial for other people here. So I would be very thankful if answers included less specific terms and more explanation. Imagine that you are talking to your grandma :)  I'm trying to grasp the nature of beta distribution – what it should be used for and how to interpret it in each case. If we were talking about, say, normal distribution, one could describe it as arrival time of a train: most frequently it arrives just in time, a bit less frequently it is 1 minute earlier or 1 minute late and very rarely it arrives with difference of 20 minutes from the mean. Uniform distribution describes, in particular, chance of each ticket in lottery. Binomial distribution may be described with coin flips and so on. But is there such intuitive explanation of beta distribution?    Let's say, $\alpha=.99$ and $\beta=.5$. Beta distribution $B(\alpha, \beta)$ in this case looks like this (generated in R):     But what does it actually mean? Y-axis is obviously a probability density, but what is on the X-axis?   I would highly appreciate any explanation, either with this example or any other.


I am currently having some trouble adding the CRS to a vector file that I want to re project to WGS84/UTM. The shapefile is using Lambert Conformal Conic Projection; ITRF92 horizontal datum and GRS 1980 ellipsoid according to the metadata.  I will like to know how to define the original CRS since in QGIS Lambert CCP/ITRF92 does not appear as part of the available reference systems. The full definition is:   GEOCCS["ITRF92",DATUM["International_Terrestrial_Reference_Frame_1992",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6651"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Geocentric X",OTHER],AXIS["Geocentric Y",OTHER],AXIS["Geocentric Z",NORTH],AUTHORITY["EPSG","4914"]]  Projection: Lambert conformal conic   Standard parallel: 17.5   standard parallel: 19.5   longitude of the central meridian: -102.000000  latitude of the origin of the projection: +12.000000   false easting: 2 500 000 false northing: 0    The data's location is in Mexico.

I'm trying to define a projection in . I want to add . From the  site I copied the proj4 line:  +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs  Then I went into QGIS -> Settings -> Custom CRS and pasted the following into the window:    But when I go to view the projection within QGIS I see a very different set of parameters:    Is this ok?   I don't know enough about projections to tell if the parameters generated are the correct ones, or whether something else is going on. It also ignored the name that I provided which made me suspect the parameters may also be incorrect.   I'm using QGIS 1.7.3 on Windows 7.


What's the difference between:     " I'm short, I would have liked to be taller."      " I'm short, I would like to be taller. "

Please read the following:   I would like to come with you.  I would have liked to come with you. I would like to have come with you.   Another example:   I would prefer to drink coffee. I would have preferred to drink coffee. I would prefer to have drunk coffee.   I perfectly understand the first sentence in both the groups. What I would like to know is the difference between second and third sentences. Could you please explain that?


If I have created a class like this:  struct test{   int a;   int b;   string c; };   and wanted to iterate through each data member as if it was an array how could i do it?(Assuming the number of members may change in a future update.)

I'd like to be able to introspect a C++ class for its name, contents (i.e. members and their types) etc. I'm talking native C++ here, not managed C++, which has reflection. I realise C++ supplies some limited information using RTTI. Which additional libraries (or other techniques) could supply this information?


I have had this idea for years now and would finally like to fulfil it! I was always bothered by text-heavy travel blogs. Therefore, I aim to have a Web-GIS based travel blog in two years time. The idea is to start the homepage with a user-friendly map showing my travel routes worldwide linking it to photo albums and text. The map itself would show major information like the actual travel route and highlight places with recommendations linked to further texts.  Unfortunately I have no idea about how such a process could possibly start. I know I need way more info on how to create a homepage. So far I'm only experienced in desktop GIS versions. I hope you can give me some first hints and links. Things I haven’t thought about to start the project.

I want to start working on a web map at work to map some of our statistics by city.    I have an idea, but I'm not exactly sure where to start.   Are there any definitive resources that provide step by step guidance on how to do this?


Let $a \neq 0$ be a natural number. How can be proved that $\sqrt[n] {a+1}$ and $\sqrt[n]{a-1}$ cannot be both rational numbers?

This question is from Apostol's Mathematical Analysis. I have a solution for it at   The question is:  Prove that $\sqrt {n − 1} +\sqrt {n + 1}$ is irrational for every integer n ≥ 1.  And the proof I have is  Now, I can't understand how to get h=$3/2$ and k=$1/2$ ?  Please help.


Someone asked a very similar question in regards to window recovery for windows xp:   I'm using windows 8 (or 8.1 now). I run Dual Monitors. On Monitor 2 I sometimes have the input switched to something else other than the windows display (Mac or PS3). If there was a program that was displaying on Window #2 that does not have 'move' where I could potentially alt-space-m arrow keys. Is there another way to get that program to display on Window #1?  I tried right click on the program and doesn't seem to be anything there. I tried Windows Key and Arrows. I Tried right click toolbar and cascade.  I'm hoping this is a DUP or Softball question because this annoys the crap out of me.  Thanks!!

I have a dual monitor setup, and I recently played around with the positioning settings, and some of my single window applications do the favour of preserving where they were last closed, and opening in the same position later. Unfortunately, that now places them out of the viewable area of my screens!  Is there some way to force a particular window into the viewable area?


How do you change the default O.S. in the grub, so that windows will boot if Ubuntu is not chosen?

I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them.  Currently the boot order looks like the following:   Ubuntu 11.10 kernelgeneric *86 Ubuntu 11.10 kernelgeneric *86 (safe boot)  Memory test Memory test Windows 7 on /dev/sda6   How do I change the default order so that Windows 7 is at the top of the list?   Windows 7 on /dev/sda6 Ubuntu 11.10 kernelgeneric *86 Ubuntu 11.10 kernelgeneric *86 (safe boot)  Memory test Memory test


A column in the database I work with contains RTF strings, I would like to strip these out using PHP, leaving just the sentence between.  It is a MS SQL database 2005 if I recall correctly.  An example of the kind of strings pulled from the database (need any more let me know, all the rest are similar):  {\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil\fcharset0 Tahoma;}} \viewkind4\uc1\pard\lang1033\f0\fs17 ASSEMBLE COMPONENTS AS DETAILED ON DRAWING.\lang2057\fs17\par  }   I would like this to be stripped to only return:  ASSEMBLE COMPONENTS AS DETAILED ON DRAWING.   Now, I have successfully managed to strip the characters in ASP.NET for a previous project, however I would like to do so using PHP.  Here is the regular expression I used in ASP.NET, which works flawlessly may I add:  "(\{.*\})|}|(\\\S+)"   However when I try to use the same expression in PHP with a preg_replace it does not strip half of the characters.  Any regex gurus out there?

I was looking for a way to remove text from and RTF string and I found the following regex:  ({\\)(.+?)(})|(\\)(.+?)(\b)   However the resulting string has two right angle brackets "}"  Before: {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 MS Shell Dlg 2;}{\f1\fnil MS Shell Dlg 2;}} {\colortbl ;\red0\green0\blue0;} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx720\cf1\f0\fs20 can u send me info for the call pls\f1\par }  After: }   can u send me info for the call pls }  Any thoughts on how to improve the regex?  Edit:  A more complicated string such as this one does not work:  {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 MS Shell Dlg 2;}}  {\colortbl ;\red0\green0\blue0;}  {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx720\cf1\f0\fs20 HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\test\\myapp\\Apps\\\{3423234-283B-43d2-BCE6-A324B84CC70E\}\par  }


It is a review problem for abstract algebra, and I'm having trouble figuring it out.     Ring $R=\mathbb Z_4\times\mathbb Z_6$, which is a commutative ring with unity $(1,1)$. Find the units in this ring.   I know how to find units when $R=Z_4$ and $R=Z_6$ separately, but I don't know when it comes to $R=Z_4$ x $Z_6$. Should I list all the elements in $R$ first?  Thanks!

How do I exactly find the zero divisors and units of a ring in the form of $\mathbb{Z}_n \times \mathbb{Z}_m$? For instance, how does one calculate zero divisors and units of $\mathbb{Z}_6 \times \mathbb{Z}_2$? I understand that a zero divisor is a non-zero element of $R$ such that $rs = 0$ for some other non-zero element $s$ in $R$. But I don't really quite understand how to apply that to a ring of the form $\mathbb{Z}_n \times \mathbb{Z}_m$. Also, the units of $\mathbb{Z}_6 \times \mathbb{Z}_2$ would be elements that send some element $s$ in $\mathbb{Z}_n \times \mathbb{Z}_m$ to the multiplicative identity, right? (which would be 1)? How do I apply these concepts to "product" rings? Thank you.


In PHP, you would do something like:  $answer = ($x != null) ? true : false   instead of doing:  if($x != null) {      $answer = true; } else {     $answer = false; }   Is there anyway to do this in python? I've tried to google and to search in here but I couldn't find anything, plus google doesn't take symbols into searching.  You might say, why didn't you google search it by name? Well I do not know what that type of line code is called.

If Python does not have a ternary conditional operator, is it possible to simulate one using other language constructs?


I have never played Dungeons and Dragons, but I have participated in several other RPGs, and my Dad recently posed interest in playing since he was an avid D&D player when he was younger.  I myself have only played IKRPG mainly, so I'm not too familiar with the universe, however I would like to possibly set up a game for my Dad and a couple of friends. How drastically (if at all) has the game changed over the years?  I'm not looking for what is different, I'm asking to what degree has it changed. Is it recognisable to players who haven't seen the changes for 30 years? Or is it still relatively similar?   makes no sense to me as (having stated above) I have no experience with the game.

I've been out of the loop for a while, and I used to play AD&D 2nd ed, but today I find there are a lot of different versions that have fairly different gameplay.   Can anyone summarize the really big differences, the ones (maybe top three?) that are the 'killer features' of the different editions? What makes each edition play differently than the others?


Could anyone tell me how to create the tartan design shown in the attached file? Im using Illustrator CS6

I generated on the internet this tartan design:    Now I want to get this design as a vector graphic built in Adobe Illustrator. Is there a trick to get 45 degree lines on the squares?  Or does anybody has an tutorial on this?


I just built a pc with 1050ti. I'll get straight to the point.. When I play games like minecraft with shaders on it or if I render a project in blender I see that the task manager shows that the power usage is very high highlighted by the darkest shade of red which is very intimidating.. Should I be worried about it as in will it increase my electricity bill astronomically? Any explanation would be appreciated. Also guys if you have an answer please post it as an answer and not a comment so that I can mark it as my answer.

I turned on my computer today and all of a sudden my power usage was spiking for everything. Not just in games but when i open task manager and watch videos...  I have never seen this happen on my computer before, and it only started today after turning on my computer.  My power supply is a EVGA 600B 80+   My amd integrated graphics is disabled and I am running a EVGA Geforce gtx 1060 superclocked.


I have the cron job as shown below, and wanted it to run every 2 hours, but it keeps running every 2 minutes.  Can someone tell me where I'm going wrong?      * */2 * * * /path-to-script

This is a  about using cron & crontab.   You have been directed here because the community is fairly sure that the answer to your question can be found below. If your question is not answered below then the answers will help you gather information that will help the community help you. This information should be edited into your original question.  The answer for 'Why is my crontab not working, and how can I troubleshoot it?' can be seen below.  This addresses the cron system with the crontab highlighted.


Assuming we have two classes, in the \Base\Form\ namespace:  class Field {     protected $name;     protected $value; }  class DropdownField extends Field {     protected $options = [];     // with functions like setOptions(), addOption(), removeOption() etc. }   Now, in another namespace, a class exists that extends on Field, that has an additional 'layout_position' property:  namespace Integrations; class IntegrationsField extends \Base\Form\Field {     const LAYOUT_POSITION_LEFT  = 'left';     const LAYOUT_POSITION_RIGHT = 'right';     protected $layoutPosition = self::LAYOUT_POSITION_LEFT; }   Now, you might see this one coming, but in the event of an IntegrationsField that can also be a dropdown:  namespace Integrations; class IntegrationsDropdownField extends \Base\Form\DropdownField {}   Of course, this one should also have the $layoutPosition, that should be inherited from IntegrationsField, but since we can't extend two classes, what is the best solution to go for here?

If I have several classes with functions that I need but want to store separately for organisation, can I extend a class to have both?  i.e. class a extends b extends c  edit: I know how to extend classes one at a time, but I'm looking for a method to instantly extend a class using multiple base classes - AFAIK you can't do this in PHP but there should be ways around it without resorting to class c extends b, class b extends a


Sometimes I have a vague idea for a question, but asking it right away may result in a confusing or unclear question, or after receiving answers I realize that I haven't asked the right one. Sometimes this happens even when I have researched on it. In such case, is it OK to ask the community first to help me forming the question in metas? This will reduce the time for editing back and forth, or in the case of already getting answer, will reduce the time they have to edit theirs for me.  The question  does not have answer about meta specifically. In chat you can only discuss with some people, while in metas it is less fleeting and will receive more attention. If that's a bad thing, then one can argue the opposite that discussing on closed questions should be happened in chat too, not metas.

Suppose I have a question in my mind that I think is answerable but because I don't already know the answer, I'm not sure how to express in a way that makes it clear and definitively answerable. I suspect that someone more knowledgable than me would understand what I'm trying to get at though and could help me word the question properly.  Is there a good place to find this sort of help?


From time to time I have some trouble using biber as a backend for biblatex. I did some reading and found out that I have to clear the cache from time to time... I am a beginner at this. How can I do it?

I'm trying to use biblatex and when I compile my document I get an error like the following:  Windows  data source C:\Users\<username>\AppData\Local\Temp\par-5061756c\ cache-890efc00b3ca6b775c7d44a325c1349fb2a3a3bd\inc\lib/Biber/LaTeX/recode_data.xml not found in .   Mac  data source /var/folders/v2/rld0ls7d2935gkvqv5hfr1x00000gn/T/par-616c616e/ cache-cdd483146f82a9655ce063f848d5139480fbf872/inc/lib/Biber/LaTeX/recode_data.xml not found in .   Linux  data source /tmp/par-6963617269756d/cache-f37ab610b7d79b2720a8ee3732849c6821705520 /inc/lib/Biber/LaTeX/recode_data.xml not found in .


I've disabled automatic checking for Java updates the Java Control Panel, but my changes are always ignored, as I can confirm by checking the control panel after making and saving my changes:    How do I really disable automatic checking for Java updates?

I'm having a heck of a time trying to disable the option  "Check for updates Automatically"  I ran composer to see what plist was being modified and it looks like ~/Library/Preferences/com.oracle.javadeployment.plist  <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"    "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict>     <key>/com/oracle/javadeployment/</key>     <dict>         <key>deployment.macosx.check.update</key>         <string>false</string> </dict> </dict> </plist>   So I experimented with changing that value to true or false and it would not effect the checkbox under the Java Control Panel > Update > Check for Updates Automatically  Your assistance would be much appreciated.  Initially I was looking @ /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin


I'm trying to take a 12V wall wart supply down to 5V @ 0 to 500mA without using a prebuilt regulator. I was thinking to use a voltage divider setup but after doing calculations I would be using 2, 12 ohm resistors in series with the 5V breakout in between them, it sounds off to me.   How can I step down to 5V without sinking massive amounts of current in a resistive bridge or regulator?

When would you use a voltage regulator vs a resistor voltage divider?  Are there any uses for which a resistor divider is particularly bad?


How do i get all classes within a package?

Is it possible to find all classes or interfaces in a given package? (Quickly looking at e.g. , it would seem like no.)


There is a great need for a Robust DateTime parser library for .NET, prefer C# DateTime.TryParse supports very few formats I know the question has been asked a year ago but with no good answer. There must be good libs out there! Commercial or open source  I looked at . But blog says it does not do parsing yet  Dates fall into two categories:  Date formats:   All the various date formats   2011-09-09T20:00:00 29 September 2011 6 September 2011  7:00pm 1/1/2009, 12:00PM   Natural Dates:  How a Human would say/write it   Today Tomorrrow Mondays, 6PM Every Monday, 6PM Every Friday First Monday of every month Last Sunday of the month Everyday 1st of the Month

Does anyone know of a .NET date/time parser similar to  (handles stuff like "tomorrow" or "3pm next thursday")?  Note: I do write Ruby (which is how I know about Chronic) but this project must use .NET.


I noticed that when I increment evenNumberIndex before passing it into the swap function, I get different values than when I increment it within the function. Why is this? public static void main(String[] args) {       int[] example = {3, 1, 2, 4};        sortArrayByParity(example); }      public static int[] sortArrayByParity(int[] A) {       // Keep track of even numbers      int evenNumberIndex = 0;               // Loop through entire array      for (int i = 0; i < A.length; i++) {         // Check for even numbers         if (A[i] % 2 == 0) {            swap(A, evenNumberIndex++, i);         }      }               return A; }           public static void swap(int[] nums, int index1, int index2) {      System.out.println(index1);     System.out.println(index2);     int temp = nums[index1];     nums[index1] = nums[index2];     nums[index2] = temp; }  evenNumberIndex values when incrementing before function: 1, 2 evenNumberIndex values when incrementing inside function: 0, 1

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


Is it possible to write few equations, number them automatically, and also describe the equations with some text?  I am unble to write some text in the \begin{equation} part  This is my case  \documentclass{standalone} \usepackage{amsmath} \begin{document} \begin{equation} Description of the equation 1                          eq1             (1) Description of the equation 2                          eq2             (2) \end{equation} \end{document}   Edit after applying the solutions below -   the additional problems are all equations should be aligned and all texts should be aligned and if possible numbering can be controlled / reset.

I am trying to add equation names besides the equation numbers but, in addition, in such a way that \eqref inserts just the number.  Inspired by the top answer in , I tried the following solution:   \documentclass{article} \usepackage{amsmath} \newcommand\mylabel[2]{\label{#1} \\[-\baselineskip] \tag*{#2\ \hphantom{(\ref{#1})}}}  \begin{document}  \begin{align} f(x) = a \mylabel{eq:a}{Constant} \\ h(x) = ax^2+bx+c \mylabel{eq:b}{Quadratic} \end{align}  Equations \eqref{eq:a} and \eqref{eq:b} look OK\dots   \begin{align} j(x) = \varinjlim_{C_j} \mylabel{eq:c}{Way too low!} \end{align}  \dots but the method fails in style for Equation \eqref{eq:c}.  \end{document}      As you can see, the trick I used is to write the equation name in a new line and then lift it by -\baselineskip. For simple equations as (1) or (2) I get exactly what I want. But indeed, this is shoddy work and it fails as soon as the equation gets a little more complicated, e.g. for (3).   I don't know whether I could use another length instead of -\baselineskip so that I always get the correct lift, or whether there is a more elegant (and not too complicated) way to achieve what I want.


root@tony-Satellite-C665:~# ls /etc/locale.conf ls: cannot access /etc/locale.conf: No such file or directory

I am getting this message every time I do something like starting or stopping a service.  perl: warning: Setting locale failed.    perl: warning: Please check that your locale settings:            LANGUAGE = "en_US:en",            LC_ALL = (unset),            LC_MESSAGES = "en_US.UTF-8",            LANG = "en_US.UTF-8"        are supported and installed on your system.    perl: warning: Falling back to the standard locale ("C").    locale: Cannot set LC_CTYPE to default locale: No such file or directory    locale: Cannot set LC_MESSAGES to default locale: No such file or directory    locale: Cannot set LC_ALL to default locale: No such file or directory    (Reading database ... 21173 files and directories currently installed.)   Removing bind9 ...    * Stopping domain name service... bind9                                        [ OK ] Processing triggers for man-db ...    locale: Cannot set LC_CTYPE to default locale: No such file or directory    locale: Cannot set LC_MESSAGES to default locale: No such file or directory    locale: Cannot set LC_ALL to default locale: No such file or directory      How do I fix this error ?


I bought a Sony Vaio with Windows 8 yesterday.   I want to install Ubuntu, (latest version), alongside Windows. There is an assist button on the laptop to enter the boot option menu, (otherwise, Windows 8 is booted by default.   Whenever I choose the, 'boot from CD' option, it says 'No operating system found'. CD is valid since I tried it on another computer and it worked fine. I have tried both versions, 12.04 and 12.10.  What is the problem, or how should I install Ubuntu on my laptop?

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


Most textbooks define a proposition as follows:  A proposition is a declarative sentence that is either True or False, but not both.  I understand the first part i.e. 'proposition is a declarative sentence' (or a sentence that declares a fact). However, the second part is where I have a doubt. As I understand it, truth is subjective i.e. based on axioms, assumptions etc. How can a proposition be 'universally true' (or universally false)? Does this mean the statement should be 'complete' in the sense that all the terms used in the statement are clearly defined? For example, if I point to an ice-cream saying "This ice-cream is tasty", then 'this ice-cream' is well defined in this context. However, it may not be well defined in other contexts. Also 'tasty' can be subjective. Is it therefore true that if a statement is open to interpretation then it is not a proposition?

I'm reflecting upon the distinction between a sentence and a proposition in logic and philosophy. I knew that a proposition is the meaning of a declarative sentence (i.e. the abstract content of a declarative sentence, the bearer of truth-value), whereas a sentence is simply a group of words (symbols, signs) ordered according to some grammatical rule in any natural or artificial language. A sentence isn't necessarily meaningful.   According to these definitions, you could say hat a predicate like "is interesting" is a sentence. Of course a sentence like "is interesting" wouldn't express a proposition, but still, it would be a sentence. This seemed ok to me until I remembered that propositional logic is sometimes called sentential logic. But then you cannot say that "is interesting" is a sentence, because it certainly isn't a sentence in the sense of sentential logic! As a result, I'm getting confused about what a sentence is according to sentential logic.   Can someone help?


I've changed my Downloads folder location to D:\Test\Downloads.  Then I accidentally set the Desktop folder to D:\Test.   After getting it back to C:\Users\MyName\Desktop, the D:\Test\Downloads is not marked as a user folder anymore, meaning that at properties, the Location option is not more available.   Trying to get it back, I've created a folder named Downloads at C:\Users\MyName\Downloads, but it also does not have the Location option.  When I run (Windows+R) shell:Downloads, windows cannot find it.  So, how can I get back the Downloads folder?    OS: Windows 7 x64 Pro.

I deleted the Downloads folder in my Windows 7 home directory (which I had moved and renamed to incoming)  I was able to restore the folder from a backup, this restores the contents as well as Desktop.ini (hidden) that gives it the right folder icon within the home directory.  However, right clicking does not show the "Location" tab, indicating that Windows doesn't recognize it as the special downloads folder. By Location tab I mean the tab that allows moving the location of the folder (try this on My Pictures, etc.). Until I see this restored I assumed Windows isn't aware that this is in fact my Downloads folder.  How to fix this?


I have about 20 .webm files that I would like to convert to audio in the terminal. I want to do   avconv -i *.webm -acodec libmp3lame0 -aq 4 *.mp3   I tried:  for i in *.webm; do avconv -i "${i}" -acodec libmp3lame0 -aq 4 "${i%.wemb}.mp3"; done   but it says "libmp3lame0 encoder not found." It is installed, though. I also installed ubuntu-restricted-extras and reinstalled libav-tools.  I also tried   for i in *.webm; do avconv -i "${i}" -acodec -aq 4 "${i%.wemb}.ogg"; done   to remove the whole mp3/LAME aspect, but then it just said '.ogg encoder not found.'  This worked once before when I tried to convert using libmp3lame0 without the for loop...but I just tried to convert one file and it doesn't work anymore.  Thanks. (I'm using 12.10.)

How can I install the most used plugins like flash player and mp3 in Ubuntu?


I'm ready to migrate to Ubuntu but when I went to the download section I read "The latest version of the Ubuntu operating system for desktop PCs and laptops, Ubuntu 15.04 comes with nine months of security and maintenance updates" What that means? Is this a trial version? why only 9 months?  Like I said in the beginning of my post I'm ready to migrate, but not if it's only for 9 months.  I apologise in advance if this is a stupid question or it's obvious for you, but I don't know anything about ubuntu, so I'd be glad if somebody could clarify that for me.

What are the differences between an Ubuntu Long Term Support release (LTS) and a normal release?


I got two distribution which are not pairs. It's difficult to say that they are also from a normal distribution because they have different length.  The distributions of the vectors are, for gas:  65  65  65  65  74  74  74  74  74  77  78  81  81  83  83  83  85  85  85  85  85  87  87 89  89  90  91  91  91  91  91  91  94  94  94  95  95  95  95  98 101 101 101 102 102 102 102 102 103 103 103 103 103 104 104 104 104 104 104 106 106 106 106 107 108 108 110 110 113 113 115 115 115 118 118 118 118 119 119 121 122 122 122 125 125 125 128 128 128 128 128 129 129 134 134 134 134 134 134 137 137 137 142 145 145 148 148 148 148 150 150 150 150 150 150 150 153 153 154 154 154 158 158 161 161 161 161 161 161 161 161 164 164 168 168 168 168 168 186 188 188 192 192 194 194 197 197 231 256   while for the diesel vector distribution is:  65  91  91  93  93  93  93  94  94  95 122 128 161 161 161   I made the t.test and the wilcox.test and I got these results:  Welch Two Sample t-test  data:  diesel_type and gas_type t = -1.7104, df = 18.149, p-value = 0.1042 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval:  -31.873874   3.256425 sample estimates: mean of x mean of y  109.0000  123.3087    and      Wilcoxon rank sum test with continuity correction  data:  diesel_type and gas_type W = 843, p-value = 0.1179 alternative hypothesis: true location shift is not equal to 0   I could accept the null hypothesis in the t.test, saying that the means are equals because the p-value is over the 5%. Should I accept the null hypothesis in the Wilcoxon test too? Are the medians equals? What could I say about these results?

I got two distribution which are not pairs. It's difficult to say that they are also from a normal distribution because they have different length.  The distributions of the vectors are, for gas: 65  65  65  65  74  74  74  74  74  77  78  81  81  83  83  83  85  85  85  85  85  87  87 89  89  90  91  91  91  91  91  91  94  94  94  95  95  95  95  98 101 101 101 102 102 102 102 102 103 103 103 103 103 104 104 104 104 104 104 106 106 106 106 107 108 108 110 110 113 113 115 115 115 118 118 118 118 119 119 121 122 122 122 125 125 125 128 128 128 128 128 129 129 134 134 134 134 134 134 137 137 137 142 145 145 148 148 148 148 150 150 150 150 150 150 150 153 153 154 154 154 158 158 161 161 161 161 161 161 161 161 164 164 168 168 168 168 168 186 188 188 192 192 194 194 197 197 231 256  while for the diesel vector distribution is:  65  91  91  93  93  93  93  94  94  95 122 128 161 161 161   I made the t.test and the wilcox.test and I got these results:  Welch Two Sample t-test  data:  diesel_type and gas_type t = -1.7104, df = 18.149, p-value = 0.1042 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -31.873874   3.256425 sample estimates: mean of x mean of y  109.0000  123.3087    and Wilcoxon test is:  data:  diesel_type and gas_type W = 843, p-value = 0.1179 alternative hypothesis: true location shift is not equal to 0   I could accept the null hypothesis in the t.test, saying that the means are equals because the p-value is over the 5%. Should I accept the null hypothesis in the Wilcoxon test too? Are the medians equals? What could I say about these results?


For the following code, I don't quiet understand what is the meaning of "{0}" presented in both getter and setter, I know it is referring to a index number but why it should be 0 ? I'm also confused about the variable "value". Is this just a place parameter like we used in Java ?  Thank you.  void Main() { Button b = new Button();   b.Caption = "abc"; string c = b.Caption;  Console.WriteLine("c = {0}\r\n", c);  Button p = new Button{Caption = "cool"};     string e = p.Caption; Console.WriteLine("e = {0}", e); }  class Button {     private string caption;     public string Caption {         get {             Console.WriteLine("get {0}", caption);             return caption;  }     set {         Console.WriteLine("set {0}", value);         caption = value;     }   }  }

In a dictionary like this:  Dictionary<string, string> openWith = new Dictionary<string, string>();  openWith.Add("txt", "notepad.exe"); openWith.Add("bmp", "paint.exe"); openWith.Add("dib", "paint.exe"); openWith.Add("rtf", "wordpad.exe");  Console.WriteLine("For key = \"rtf\", value = {0}.", openWith["rtf"]);   The output is:     For Key = "rtf" value = wordpad.exe   What does the {0} mean?


I want to turn a laptop into a desktop computer by connecting it to a monitor and mouse & keyboard, however, it is very annoying to have to open and close the lid every time i want to turn it on... is there anything i can do to turn it on externally, like a usb power button or extend the existing button outside the computer. Of course, i could remove the creen, but it would be a pitty to remove a perfectly working screen just to gain access to the power button :) haha!  I would ideally like to place it under the screen, closed lid, which would make it even more inconvinient to open and close to turn on...

I had a problem with the laptop lid so I am using it with an external monitor. I was wondering if there is any way to power on the laptop without opening the lid, that is through ports.  Laptop: Dell Inspiron 1525


No WiFi on Dell Latitude D630. Just Installed 15.04. Window user so no idea how to proceed. I assume I need a driver but do not know how figure what adapter I have or how to get a driver (new to Ubuntu & Linux). TY

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible.   What are the steps to install Broadcom wireless drivers for a BCM43xx card?  I'm a user with no advance knowledge in Linux, so I would need clear explanations on how to make, compile, etc.    lspci -vnn | grep Network showed:   Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]      iwconfig showed:  lo        no wireless extensions. eth0      no wireless extensions.   NOTE: Answer below is updated every time new information is added and confirmed working.


I have a 3rd party library I am working with and have no access to change it. It has a property on one of its components that only accepts a ThirdPartyList<T>(IList<T> items), but at the point I am about to set the property I have only an IEnumerable.  I can figure out what the type is going to be in my IEnumerable by looking at the first item and figuring it out with reflection and all the items in the IEnumerable will be of the same type, but the question is how do I turn that type into a new ThirdPartyList<what do I put here>().  Thanks  CD

The title is kind of obscure. What I want to know is if this is possible:  string typeName = <read type name from somwhere>; Type myType = Type.GetType(typeName);  MyGenericClass<myType> myGenericClass = new MyGenericClass<myType>();   Obviously, MyGenericClass is described as:  public class MyGenericClass<T>   Right now, the compiler complains that 'The type or namespace 'myType' could not be found." There has got to be a way to do this.


I'm really stuck on the following question. I understand logically why this makes sense, and I've read a few proofs on this site of the multiplicative property of Euler's Totient, but those all seem beyond the scope of my class. Is there a simple proof to address the following question?  Suppose a number m is the product of two distinct primes, p and q. prove that the Euler totient of m is equal to (p-1)(q-1). For instance, the Euler totient of 35 (which is 5 * 7) is equal to 4*6, or 24. But remember that when you prove a theory you need to write it in terms of variables rather  than numbers. (hint: you might want to check additive or multiplicative properties of totient function)

That is,     why is $\varphi(AB)=\varphi(A)\varphi(B)$, if $A$ and $B$ are two coprime positive integers?   It's not just a technical trouble—I can't see why this should be, intuitively: I bellyfeel that its multiplicativity should be an approximation at most. And why the minimum value for $\varphi (n)$ should be $ \frac{4n}{15} $ completely passes me by.


I am trying to implement my own collision detection for a 2.5d voxel style platformer using Three.js.  I have a problem with my implementation - if the framerate is too low or the character is moving too fast (usually when falling from high places) it falls right through. Is there a way to improve collision detection to be immune to problems like this?  This is how I detect collisions:  function render(){     requestAnimationFrame(render);      setVelocity();     animate();     manageCollisions();      renderer.render(scene, camera);   }  function manageCollisions(){ //Check every game object for collision -> TODO: implement broad phase when dealing with many objects for(i=0; i < world.length; i++){      //Check for bottom collision <- ALWAYS check (unless moving up)      if(velocityY<0) {         if( (character.position.y - character.height/2) < (world[i].position.y + world[i].height/2)             && (character.position.y + character.height/2) > (world[i].position.y + world[i].height/2)             && (character.position.x + character.width/2) > (world[i].position.x - world[i].width/2)             && (character.position.x - character.width/2) < (world[i].position.x + world[i].width/2))         {             console.log("bottom collision " + i);              velocityY=0;             jumped=false;             grounded = true;              character.position.y = world[i].position.y + world[i].height/2 + character.height/2 - 0.1; //-0.1 prevents shaking         } else {              grounded = false;         }      }      //Check for right collision <- ONLY if moving right (velocityX is positive)     if(velocityX > 0){          if( (character.position.y) < (world[i].position.y + world[i].height/2)             && (character.position.y + character.height/2) > (world[i].position.y - world[i].height/2)             && (character.position.x + character.width/2) > (world[i].position.x - world[i].width/2)             && (character.position.x - character.width/2) < (world[i].position.x - world[i].width/2))         {             console.log("right collision" + i);             velocityX=0;             character.position.x = world[i].position.x - world[i].width/2 - character.width/2;         }     }      //check for left collision <- ONLY if moving left (velocityX is negative)     if(velocityX < 0){          if( (character.position.y) < (world[i].position.y + world[i].height/2)             && (character.position.y + character.height/2) > (world[i].position.y - world[i].height/2)             && (character.position.x - character.width/2) < (world[i].position.x + world[i].width/2)             && (character.position.x + character.width/2) > (world[i].position.x + world[i].width/2))         {             console.log("left collision" + i);             velocityX=0;             character.position.x = world[i].position.x + world[i].width/2 + character.width/2;         }     }      //check for top collision <- ONLY if moving up (velocityY is positive)     if(velocityY > 0){         if( (character.position.y + character.height/2) > (world[i].position.y - world[i].height/2)             && (character.position.y - character.height/2) < (world[i].position.y - world[i].height/2)             && (character.position.x + character.width/2) > (world[i].position.x - world[i].width/2)             && (character.position.x - character.width/2) < (world[i].position.x + world[i].width/2))         {             console.log("top collision" + i);             velocityY=0;             character.position.y = world[i].position.y - world[i].height/2 - character.height/2;         }     }    }   }

I'm creating a 2d sidescrolling shooter, and I'm having a little trouble with collision detection for the bullets. Everything including the bullets are objects with their own polygons / update methods.  The trouble is that bullets go fast, and at 60 frames per second (what the game runs at) a bullet will often skip right through a wall -- since it moves more than the width of the wall during in the update interval -- and continue happily on its way since the polygons will never actually overlap.  What can I do about this? The only thing I've been able to come up with is to draw a line from the old position to the new position and do collision detection on that, but line drawing for collision detection is recommended against by the slick2d documentation. How can I solve this?


Today, the human population of Madagascar has surpassed 20 million.  Today, human population of Madagascar has surpassed 20 million.  What is correct 'the human' or 'humam'

I can’t for the life of me figure out where to use a and where to use the — and where there is no article at all. Is there a simple rule of thumb to memorize?   The standard rule you always hear:     “If a person knows which item you are talking about then use "the"   . . . doesn’t clear things up for me, as I have no idea whether or not they know.


He and I share a/the same book.   The book hasn't been mentioned before. So which one is used with "same", "a" or "the"?   Because the book hasn't been mentioned before, I want to use "a".  Because I remember that "same" is always used with "the" in front, I have to use "the".

Since I'm confused with these two phrases, I did a search in Google Books hoping to find some examples. But then I found :     Two private spaces or replicas cannot contain the same object with two distinct references. For example, during a disconnected phase, the pump can be present in two different private spaces and still be designated with the same name. During a meeting, two replicas use a same name to access the pump object(local or distant).   This made me more confused. I don't really understand why "the same name" was used in one sentence while "a same name" was used in another. Are there any differences between them?


If $f$ belongs to $C[-\pi, \pi]$  &  $\int_{-\pi}^{\pi}\ x^nf(x) =0$     for all non negative integer n. Then $f$ will be identically $0$.  How to do it by stone-weierstrass theorem?  Can anyone help me?

As the title says, I'm wondering if there is a continuous function such that $f$ is nonzero on $[0, 1]$, and for which $\int_0^1 f(x)x^n dx = 0$ for all $n \geq 1$. I am trying to solve a problem proving that if (on $C([0, 1])$) $\int_0^1 f(x)x^n dx = 0$ for all $n \geq 0$, then $f$ must be identically zero. I presume then we do require the $n=0$ case to hold too, otherwise it wouldn't be part of the statement. Is there ay function which is not identically zero which satisfies $\int_0^1 f(x)x^n dx = 0$ for all $n \geq 1$?  The statement I am attempting to prove is homework, but this is just idle curiosity (though I will tag it as homework anyway since it is related). Thank you!


Equivalent resistance of a balanced Wheatstone Bridge is pretty simple: if the corresponding ratios are equal the just cancel the wire connecting the centre of two wires. But what if they are not equal? What if the cental wire remains in its position? What will be it's equivalent resistance then? I have tried to use the star delta transformation but it is becoming very complex. Can any one of you give a brief formula for calculating the resistance of unbalanced Wheatstone bridge, and of course show it from where it comes? [

What's the equivalent resistance in this circuit (between points A and B)?


I have a database that automatically takes full backup weekly, differential backup daily, and transaction log backup every 5 minutes. The full backup takes about half an hour so its runtime often overlaps with the differential backup and any transaction log backups happens during. What happens to the data modified during each types of backup? Would they be included in the backup or the backup contains only data up to the point of BackupStartDate or other attributes in the backup? I want to be able to calculate when trying to restore to a point of time. If the Diff backup occurs after a full backup process has started and finishes after the full backup has finished, would it base on the last full backup or this one? I haven't found a authoratative explanation on the web. Appreciate if anyone can point me to the right direction.

One of our SQL Server 2014 database transaction logs is growing very fast and I cannot find the root cause for this.  Database in Simple recovery mode. During full backup the log file grows to its limits (800GB) and backup fails.  I checked the transactions during the backup and did not find anything strange.  All transactions are our regular loading and no maintenance jobs (index rebuilds etc.)  I am aware of that backup keep the log from reuse but this mean 800GB changes during the backup period and this does not make any sense.  I had compared this DB to similar DB size, loading and backup duration. The second DB Log is not growing more than 400GB.  DB size is 7TB. Backup time is ~20H. The only time log is growing is during backup. Log_reuse shows correct Backup_Restore. No long running transactions.  The problem is the "speed" of log growth - compared to similar sites with same load and same backup duration, the log is 4 time less.


I recently asked this .  Where can I ask about algorithm recommendations? Because there are two algorithms for what I'm trying to do, and both have a very high error rate, at least for my case. It seems that Stack Overflow is not the right place for algorithm recommendations.

Stuff like polls, recommendations based on subjective constraints, puzzles, webcomics etc. do not belong on the serious main SE sites, where professionals should be considered at work and having just a few spare minutes ("code's compiling") to answer questions, so they should not be distracted by such things. However, I'd also like to have a home for these things still using the SE engine. For the reason I mentioned before, this needs to be a separate place though. Let's call it four.[sitename-here].com.


I have tried the following way in package.xml  <types>         <members>*</members>         <members>abc__ObjectA__c-ObjectA Layout</members>         <members>abc__ObjectB__c-ObjectB Layout</members>         <members>xyz__ObjectX__c-ObjectX</members>                         <name>Layout</name> </types>   But I am not able to retrieve the layouts, can someone please help me where it is going wrong.

I am trying to retrieve the layouts of all(standard + custom) objects from a test Enterprise org using package.xml manifest files. There are some customs objects that I have created on this org.  There is a managed package(SalesForece Google Ads,SFGA) installed in this org. This packages contains some customs objects also e.g   SFGA__Ad_Group__c SFGA__Google_Campaign__c SFGA__Keyword__c SFGA__Search_Phrase__c SFGA__Text_Ad__c SFGA__Version_33_0_3__c   My package.xml manifest file tries to fetch layouts. File looks like  <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata">    <types>        <members>*</members>        <name>Layout</name>    </types>    <version>25.0</version> </Package>   In response I get the layouts of standard objects and the custom objects that i created myself. However I do NOT get the layouts of custom objects that belong to that managed package. How can I get the layout of custom objects that belong to a managed package?  Also, will I be able to change the layouts? I know I can change the layouts for standard ones and the ones that i created myself.


I have one master-huge beamer presentation having lots of frames.   Depending on the audience I wish to customize, say, for lay audience I will just include basic slides, for experts I wish to include advanced slides. Not sure if there is such facility in Beamer already, but wish it could be as simple as :   I will label each frame, with say, BASIC, ADVANCED , keywords like that... I should be able to compile, by saying \includeonly{BASIC}. This should include all slides marked BASIC. If I say \includeonly{ADVANCED}, only advanced slides should get compiled. Additionally, if I say, \includeonly{BASIC, ADVANCED}, everything will be included.

I guess I'm in a configuration that will ring the bell to many: in the context of a project that run for many years, I developed a very large Beamer presentation featuring a lot of slides. The LaTeX sources are split in many files and as I have to often redo the presentation of the project, I include (or nor) these files in the main document depending on the time / audience.   Now I would like to somehow automate the generation of the presentation by controlling the frame I wish to include.  It seems to be possible statically with the <handout:0|beamer:0> parameters upon frame definition:  \begin{frame} Hello. \end{frame}  % this frame won't be included \begin{frame}<handout:0|beamer:0>   Hidden \end{frame}   I would like to render the approach more generic. Thus i was thinking about the possibility to   associate a [set of] tag upon frame definition decide later (in some way) about the set of tags to use when compiling the presentation such that only the frame having this tag are considered (and the other are thus hidden).    Does anybody knows a way to do that?


This is a weird problem that I could use some hints on how to solve:  If $f:\mathbb{C}\to \mathbb{C}$ is analytic and for some $k \in \mathbb{N}$ there exist constants $C_1,C_2>0$ such that $$|f(z)|\leq C_1 + C_2|z|^k$$ then $f$ is a polynomial of degree at most $k$.  I am pretty much stumped here. Can you guide me/provide some hints?

I can't prove this statement, can anybody show me how to prove it?    $$f:\mathbb{C}\rightarrow \mathbb{C} \in \mathcal{O}(\mathbb{C}), \exists n\in \mathbb{N}, R >0 , M>0 : |f(z)| \le M|z|^{n} \ \ \forall |z|>R \Rightarrow \deg(f)\le n $$  To show is that if there exists such an $M$, that then $f$ is a polynomial of max degree $n$. I started like this:   $$f(z) = \sum_{n=0}^{\infty} a_n (z-z_0)^n$$ So if I put this into the inequality: $$|f(z)| = \left| \sum_{n=0}^{\infty} a_n (z-z_0)^n \right| \le M |z|^n .$$


I tried:  /tp @e[type=ArmorStand,T=100] ~ ~1 ~   Then:  /tp @e[type=ArmorStand,Time=100] ~ ~1 ~   I'm stuck.  I am looking for a command-block only solution.

I found 11 questions like this on gamingSE already, but none of them have proper and up-to-date answers. So I'm creating this Q&A:  How do you either activate a command x seconds/minutes/hours/… in the future or every x seconds/minutes/… in a loop?  Repeating command blocks and ticking functions execute 20 times per second, redstone is  in many situations and most of the extremely fancy solutions, like falling blocks in cobwebs, have broken over time or are needlessly complicated.


Let us consider a circuit made up of connecting wires, a resistor, a switch and a battery. Now, the resistance of the resistor is much higher than that of the wire. Now, intuitively, I am thinking that current flow would be less in the resistor than the wires. But, I have read at many places where they write that the current is constant at every point of the circuit, which seems a little confusing to me.  Another version of the same question: The potential difference between any two points of the wire and that of the resistor would be different, and their resistances are already different. Then, why is the ratio $\Delta V/R$ constant?

When we have resistors in series, the current through all the resistors is same and the voltage drop (or simply voltage) at each resistor is different.  Question 1: It is fine that voltage drop (potential drop) across each resistor is different because each resistor offers different resistance (suppose). but how is the current through each resistor same? If we have resistors of different resistance, shouldn't the current be different through each resistor?  Similarly, when we have resistors in parallel, the current through each resistor is different but the voltage drop at each resistor is same.  Question 2: Current through each resistor is different because resistance of each resistor is different (suppose). but how is the voltage drop across each resistor same here? Shouldn't the voltage drop at each resistor be different because each resistor offers different resistance?


I understand all of this but lose it when i get to the 7th line starting with find.  i don't understand the -exec cp {}. I understand that this is executing the copy command but I don't understand what the brackets{} are doing, especially if they are empty?  This entire snippet is from a book im reading.  # This script prompts to backup files and location # The files will search on $HOME dir and will only backup files to same $HOME dir. read -p "Which file types would you like to backup? >>: " file_suffix read -p "Which directory would you like to backup to? >>: " dir_name # creates a directory if it does not currently exist test -d $HOME/$dir_name || mkdir -m 700 $HOME/$dir_name # search criteria ie .sh . The -path, -prune and -o options are to exclude the back directory from the backup. find $HOME -path $HOME/$dir_name -prune -o -name "*$file_suffix" -exec cp {} $HOME/$dir_name/ \; exit 0

Using the following command, could someone please explain what exactly is the purpose for the ending curly braces ({}) and plus sign (+)?  And how would the command operate differently if they were excluded from the command?  find . -type d -exec chmod 775 {} +


i installed Ubuntu 13.04 as a dual boot on my samsung series 5 (NP353U4C) which came with windows 8 pre-installed. The problem is that i can't boot from windows 8 (loader) any longer, it just give me an error. I'm new to linux and i really need help to get the two working together urgently please.

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


i don't know how i got this problem but my blender has a problem which doesn't allow me to see or use the top part (menu bar by default) and the bottom part of blender; i tried restarting my computer and also reinstalling blender but i still have the same problem. need help; below is the link of image of my blender looks now.

I have a problem with Blenders UI. The "Info" bar on top disappeared and the mouse pointer is misaligned. I reinstalled Blender 2 times, deleted every leftover files  but it still does the same thing. This is in v2.78c. The weird thing is that on the bottom everything works fine. Here are some images:


Where can you find a business? And how do you start a business?

In GTA5:   What properties are available for purchase? What is their income? What additional benefits do they offer (if any)?


I created Rest api for the User details with Get and PATCH Methods. I am able Access Get method.But for PATCH METHOD it is giving 405 METHOD NOT Allowed.I added headers for accessing the All Methods.  @RestResource(urlMapping='/UserDetails/*') global class UserDetails {     @HttpGet     global static List<User> getUserDetails()      {          RestRequest req = RestContext.request;         RestResponse res = RestContext.response;          res.addHeader('Access-Control-Allow-Origin','*');         res.addHeader('Cache-Control','no-cache');         res.addHeader('Access-Control-Max-Age','1728000');         res.addHeader('Accept', '*');         res.addHeader('Content-Type','application/json');         res.addHeader('Accept','application/json');         res.addHeader('Access-Control-Allow-Methods','GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS');         res.addHeader('Access-Control-Allow-Headers','Content-Type, Accept');          //String ID = req.requestURI.substring(req.requestURI.lastIndexOf('/')+1);         String Id= RestContext.request.params.get('UserId');          List<User> Users= [SELECT Id, Name, Username, CommunityNickname FROM User where Id=:Id];          return Users;     }      @HttpPatch     global static String updateUser(List<InputData> request)     {          try           {              if(!(request.Size() > 0))                  throw new CustomException('Input should not be empty');               for(InputData data : request)              {                 User UserDetail= [SELECT Id,FirstName,LastName,Username FROM User where Id=:data.userId];                  UserDetail.FirstName=data.FirstName;                 UserDetail.LastName=data.LastName;                    Update UserDetail;             }              return 'User details Updated';        }        catch(Exception e)         {            return e.getMessage();        }     }      global Class InputData     {         webService String userId { get; set; }          webService String FirstName { get; set; }         webService String LastName { get; set; }     }      public Class CustomException extends Exception {}   }   I am getting Responce as  Raw Response     HTTP/1.1 405 Method Not Allowed      Date: Mon, 07 Mar 2016 17:35:28 GMT      Content-Security-Policy-Report-Only: default-src https:; script-src    https: 'unsafe-inline' 'unsafe-eval'; style-src https:   'unsafe-inline'; img-src https: data:; font-src https: data:;   report-uri /_/ContentDomainCSPNoAuth?type=mydomain Set-Cookie:   BrowserId=GHdQQhb3TfO5IwEJ0mw1og;Path=/;   Domain=.salesforce.com;Expires=Fri, 06-May-2016 17:35:28 GMT      Expires: Thu, 01 Jan 1970 00:00:00 GMT      Allow: GET,HEAD      Content-Type: application/json;charset=UTF-8      Transfer-Encoding: chunked      [ {   "errorCode" : "METHOD_NOT_ALLOWED",   "message" : "HTTP Method   'PATCH' not allowed. Allowed are GET,HEAD" } ]   Can any one suggest me where i am doing wrong in this API. It is very urgent.Please Help me

I'm looking for a way to create an HttpRequest in Apex using a POST method. When I do it, I hit this error:  {     "message": "HTTP Method 'POST' not allowed. Allowed are HEAD,GET,PATCH,DELETE",     "errorCode": "METHOD_NOT_ALLOWED" }   When I try to make a PATCH request (to update), there's an exception appearing in the developer console:  FATAL_ERROR System.CalloutException: Invalid HTTP method: PATCH   Just to give a quick background, I'm trying to use Salesforce's REST API from inside my Apex class to update an CurrencyType record. It's working outside Salesforce (using curl for example).  Thanks.


I've downloaded the latest ISO for Ubuntu 16.04.1 (ubuntu-16.04-desktop-amd64.iso) and made a bootable thumbdrive.  Is there any way I can run the media from RAM?  I was hoping for something similar to grml's toram option: grml toram - Copy the whole CD/medium to RAM and run from there

I have a live USB made with the standard Ubuntu disk image creator for 16.04 LTS. In the current state, I can boot to this disk, but it still requires the original USB to run properly at all times.  Attempting to pull the drive and use the system generates a large amount of I/O errors, further suggesting that the USB drive is actually needed for things not already loaded into RAM (For example, Firefox worked without the USB, but I used it once before already. apt, on the other hand, did not.)  Is there a way to copy the entire Ubuntu live disk to RAM, so I can remove the drive and free up a USB slot for other things?


It seems you cannot simply upgrade to the Windows Anniversary Edition unless you activate your windows before. Is there a workaround which allows the upgrade while delaying the activation?

I need to repair my Windows 10 installation. Where can I get a clean ISO (with install.wim, no Install.ESD, so that I can run DISM against the WIM) of the specific Windows 10 build required for this?  In my case, I need the Anniversary update (Build 14393), Creators Update (Build 15063) or Fall Creators Update (Build 16299.15).


HTML  <form action="form.php" method="post">     <fieldset>         <legend>Query string</legend>

                 Parameter                 <input type="text" id="parameter_1" required="required" />

                 Argument                 <input type="text" id="argument_1" required="required" />
 ➕
     </fieldset> </form>   JS  $(document).ready(function () {      var x = 1;      $(".add_query_string").click(function (e) {         e.preventDefault();         x++;         $('\
\
\                     Parameter\                     <input type="text" id="parameter_' + x + '" required="required"/>\
\                 \
\                     Argument\                     <input type="text" id="argument_' + x + '" required="required"/>\
\                 \                 ➖\
').insertAfter(".query_string:last");     });      $(".remove_query_string").click(function (e) {         e.preventDefault();         $(this).parent("div").remove();         x--;     });  });    I'm having difficulty getting my second function to work. I'm not sure why.

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.