Hey so I have this error that keeps popping up since last windows update "The application has failed to start because the side by side configuration is incorrect please see the application event log or use the command line sxstrace.exe tool for more detail", I tried looking up a solution, they all say "install Visual Studio Package" or something of that sort of thing, I would like to do that but, even when I try to install something this error keeps showing up, any ideas?

When I tries to run Glary Utilities 5.46, the following error message appears. 'The application has failed to start because the side by side configuration is incorrect please see the application event log or use the command line sxstrace.exe tool for more detail'  I had posted a question in Microsoft Community and did what the support engineer said, including repairing corrupted files with RestoreHealth and re-installation in compatible mode, but the side by side configuration error still appears. What else can I do?  The following have already been installed.


When I open bash and press the up arrow I see the last command I have typed. Continues presses of the up arrow will show a series of commands typed on the past.  How do I find one specific command from that list, instead of having to press the up arrow n times?

So, I've looked at history and at Ctrl+R, but they are not what I thought I knew. Is there a way that I can type in the beginning of a command, and cycle through the matches in my history with some bash shortcut?  # mysq(some shortcut key)   Gives me:  # mysqldump  --add-drop-table -e -q -n -C -u  (some shortcut key) #  mysql -u ben.dauphinee -p


If $3n + 1$ and $4n + 1$ are perfect squares prove that $n$ is divisible by $56$.    I succeeded in proving that $n$ s divisible by $8$; but i can't prove that it is divisible by $7$.

Prove that if $n$ is a natural number and $(3n+1)$ & $(4n+1)$ are both perfect squares, then $56$ will divide $n$.   Clearly we have to show that $7$ and $8$ both will divide $n$.  I considered first $3n+1=a^2$ and $4n+1=b^2$. $4n+1$ is a odd perfect square.  - so we have $4n+1\equiv 1\pmod{8}$; from this $2|n$ so $3n+1$ is a odd perfect square.  - so $3n+1\equiv 1\pmod{8}$ so $8|n$ but I can't show $7|n$. How do I show this?  Thanks for the help.


This is the rest of the question Show that every element of $S$ is divisible by $d$.  I don’t know where to start in this problem. Here is a hint: let $n$ be an element of $S$. Then there exist integers $q$ and $r$, with $0$ less than or equal to $r$ less than $d$, such that $n = qd + r$. Using the special nature of $n$ and $d$, argue that $r = 0$.

Here is my proof of $\gcd(a,b)=ax+by$ for $a, b, x, y \in \mathbb{Z}$. Am I doing something wrong? Are there easier proofs?  $a,b \in \mathbb{Z}, g=\gcd(a,b)$ and suppose $g \neq ax + by$. Let $c$ be a common divisor of $a$ and $b$. Then   $$\forall x', y' \in \mathbb{Z}: c | ax' + by'\Longrightarrow\exists q_1, q_2 \in \mathbb{Z}\,\,\, s.t.\,\,\, c q_1 = ax' + by'\,\,,\,\,cq_2 = g$$   So   $$gcd(a, b)=g=c q_2 = c q_1 \frac{q_2}{q_1} = \left(\frac{q_2}{q_1}x'\right)a + \left(\frac{q_2}{q_1}y'\right)b$$ So if we have $q_1|q_2$ then we found $\gcd(a,b)=ax'+by'$ for all $x', y' \in \mathbb{Z}$.  Now   $$\frac{q_1}{q_2}=\frac{c q_1}{c q_2} = \frac{ax'+by'}{g}$$ but $g|a$ and $g|b$ so $\exists q_3 \in \mathbb{Z}: \frac{q_1}{q_2}=q_3 \Rightarrow q_1=q_2 q_3 \Rightarrow q_1 | q_2\,$ . QED.


I have created a method that shuffles an array of integers between 0 to 9 to make a secure key pad for a page in my website. I have made it like:  int[] array = new int[10] {0,1,2,3,4,5,6,7,8,9}; List<int> numbs = new list<int>(); Random r = new Random(); for (int i = 0; i < array.Lenght;i++) {    Boolean b = true;    while (b){       if (i == r.Next(10)){           numbs.Add(array[i]);           b = false;       }    } }   I know that this code has a very poor performance because the Random must generate a random number again and again and I don't know how many times it should run to generate a value which is equal to i. So, I wanna know what the best way to randomize the int array is.

I need to randomly 'sort' a list of integers (0-1999) in the most efficient way possible.  Any ideas?  Currently, I am doing something like this:  bool[] bIndexSet = new bool[iItemCount];  for (int iCurIndex = 0; iCurIndex < iItemCount; iCurIndex++) {     int iSwapIndex = random.Next(iItemCount);     if (!bIndexSet[iSwapIndex] && iSwapIndex != iCurIndex)     {         int iTemp = values[iSwapIndex];         values[iSwapIndex] = values[iCurIndex];         values[iCurIndex] = values[iSwapIndex];         bIndexSet[iCurIndex] = true;         bIndexSet[iSwapIndex] = true;     } }


I am trying to get all rows with same name from my MySQL database to my HTML table. So basically, my php script called getRequestToShow.php echoes value to .js file (which asks php script for values by using XMLHttpRequest). Then this .js file adds the rows in HTML table. I am echoing MySQL rows from php like this: $conn = new mysqli($servername, $username, $password, $db_name);  if ($conn->connect_error){   die("Connection failed: " . $conn->connect_error); } $id = $_GET['id']; $id = mysqli_real_escape_string($conn,$id); $query = "SELECT * FROM `requests` WHERE `name`='$id'"; $result = mysqli_query($conn,$query);  while($row = mysqli_fetch_array($result)) { echo json_encode(array('first'=>$row['name'],'second'=>$row['amount'],'third'=>$row['date'],'fourth'=>$row['state'])); }  ..but I am able to get only from value from my database to HTML table. If there is more than one row with same name, it will not show anything on HTML table. function showUser45(str) {     var tableRef = document.getElementById('customers').getElementsByTagName('tbody')[0];     var newRow   = tableRef.insertRow(tableRef.rows.length);     var xmlhttp22 = new XMLHttpRequest();     xmlhttp22.onreadystatechange = function() {       if (xmlhttp22.readyState == 4 && xmlhttp22.status == 200) {           if(xmlhttp22.responseText === "") {             var newCell  = newRow.insertCell(0);             var newText  = document.createTextNode("No earlier withdraws");             newCell.appendChild(newText);           } else {             var h2 = JSON.parse(xmlhttp22.responseText);             var newCell1  = newRow.insertCell(0);             var newText1  = document.createTextNode(h2.first);              var newCell2  = newRow.insertCell(1);             var newText2  = document.createTextNode(h2.second);              var newCell3  = newRow.insertCell(2);             var newText3  = document.createTextNode(h2.third);              newCell1.appendChild(newText1);              newCell2.appendChild(newText2);             newCell3.appendChild(newText3);             if (h2.fourth == 1) {                 var newCell4  = newRow.insertCell(3);                 var newText4  = document.createTextNode("Completed");                  newCell4.appendChild(newText4);             } else {                 var newCell5  = newRow.insertCell(3);                 var newText5  = document.createTextNode("Pending");                  newCell5.appendChild(newText5);             }           }     }     };     xmlhttp22.open("GET","getRequestToShow.php/?id="+str,true);     xmlhttp22.send(); }  and here's HTML table's HTML.

 Username	 Amount	 Date	 State

  Thanks in advance!

How do I use the json_encode() function with MySQL query results? Do I need to iterate through the rows or can I just apply it to the entire results object?


Can someone tell me how to solve this problem (in C++)? I try many ways to solve but I can't  This is my code  double n= 90.005;  cout<< setprecision(2)<< fixed<< n;   output: 90.00.  I expect output is 90.01.  But when I change n=90.006, output: 90.01

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


On iOS if you visit a website with an invalid SSL certificate, you are presented with this prompt (ok, it’s in italian but you get the picture):    Tapping “show details” allows the user to proceed to the website, assuming he understands the security implications.  In my case I had to accept a self signed certificate to a local web server but it’s not required anymore.  The problem is that I didn’t find any way to remove this exception to make safari show the warning again (restoring settings doesn’t seem to work).  Do I really have to perform a full restore?

When connecting to a URL via HTTPS and the SSL certificate doesn't match (such as at a paid Wi-Fi hotspot), iOS shows a dialog asking whether the certificate should be accepted. If you accept the certificate, iOS adds an SSL exception and will never ask about that certificate again.  There are possibly two aspects to this: certificates accepted in Safari, and certificates accepted for network services in other apps.  The question is, how does one remove these exceptions, short of a full device reset? There seems to be no way to view or remove exceptions in the device settings.


My question is in regards to the sentence below:  Take advantage of free editing tools like Grammarly, which helps pinpoint small typos, or Hemmingway App, which shows you how to increase readability.  Would it be "which helps/which shows" or "which help/which show"? I'm leaning towards the former (as written in the sentence), but am wondering if it might be the latter, considering I'm talking about "free editing tools," plural.

In the construction "one of the [plural noun] who ...", should the verb agree with "one" or "[plural noun]"?   For example, which of the two following sentences is grammatically correct? Or are both acceptable?        She was one of the several children who was sold at the auction    She was one of the several children who were sold at the auction.


When I want to execute a binary file or program which is named as vtmc.ubu.ifc, I have to use the terminal to go to that bin folder where the program exists and have to execute the program by ./vtmc.ubu.ifc.   How can I run the program without having to go to that folder, just by using the command like vtmc.ubu.ifc, similar to programs like vmd, xmgrace etc opens just by typing vmd or xmgrace in the terminal.

I'd like to know if there is a way to run  program/shell script without typing full path:  /opt/idea/bin/idea.sh


My father has done a reset to factory by accident. We are trying to restore photos, videos and other if possible. It seems that the recovery programs for android are not as good as the pc ones so I thought: Is it possible to make a byte-by-byte copy/image of the smartphone and afterwards use pc programs to recover the files? If you have any recommendation of such program to create the copy/image please share. Thanks!

I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need.  Is it possible to create an image (.img or something similar) of the /data partition so that I could run some recovery software for ext4 on that image? I have a little knowledge about ADB.


I understand that it has been shown that small particles can quantum tunnel to just about anywhere in space (with decreasing probability the further out they go) since they all act as waves when they are not being observed and propagate outward across the universe. (Please correct me if I am wrong about any of that.)  Since we are made exclusively out of these same particles, does this mean that there is a non-zero probability that all of my particles will quantum tunnel at once tonight and I will wake up on the moon tomorrow?  If so, how can I find that probability?

Refer to number 6. This is the one I'm stuck on. So angular momentum is conserved right, so initial angular momentum is equal to final angular momentum. Initial is 7.87 so final must be 7.87, right? And so average torque is just change in angular momentum / change in time, so 0/7=0. What am I doing wrong?


Couldn't find how to re-open a topic so I'll re-ask. Imagine two kids each sitting in the center of their own tilt-a whirl®, each holding steady a flashlight (or laser) whose beam is parallel to the deck. Each machine rotates and precesses (we'll leave out nutation) at different, real, rates. How do we determine the least number of rotations to alignment, for each kid. If you prefer another analogy: Saturn and Jupiter orbit with different (real) periods. How many orbits for each until conjunction in precisely the same position in space? Simplify by assuming circular, observer-centric, orbits. specifically solutions to: aC1 + bC2 = N where a, b, N are positive integers of your own choosing and C1, C2 are constant, unique, positive, non-integer(real) numbers where C1 < C2. I am hoping to avoid rigorous computational methods involving modulus tests. Hope I clarified the ambiguities. Thanks, @DonThousand the Bezout identity looks interesting.


If $A$ and $B$ are infinite sets, is it true that the cardinality of its Cartesian product ($|A \times B|$) is equal to max $(|A|,|B|)$? If it is true, why? (We assume the axiom of choice)

I am fairly sure, given examples $\Bbb{R}\times \Bbb{R},\Bbb{R}\times \Bbb{Q},\Bbb{Q}\times \Bbb{Q} $, that this is correct, but do not know how to prove it.   In my cited examples the proof has always used some specific property of $A,B$, leaving me clueless as to the general method of solving this. I am especially interested in the case were $|\Bbb{R}|>A>|\Bbb{Q}|,|B|=|\Bbb{Q}|$, though ideally the answer would be more general.  To be explicit, I'm asking for a proof of the statement in the question title, where $A,B$ are sets with infinite cardinalities.


~/Pictures, ~/Downloads, ~/Desktop, ~/Documents, etc. These are some of the only uppercase directories on my system, and I usually type ~/pictures forgetting that the first letter has to be uppercase.  Of course I can rename the folders themselves but then applications that require these folders will not work properly. For example Caja (or Nautilus) displays on the desktop the contents of the ~/Desktop folder.   Where is the configuration file that tells the desktop environment the name of the desktop folder?   The user media folders like Downloads and Pictures also have special folder icons associated with them which I quite like. If I would rename ~/Downloads to ~/downloads the folder is no longer "special" to the file manager.   I guess the question is about specific desktop envrionments and their configuration, but isn't this all usually governed by the FreeDesktop specifications?   So there must be a FreeDesktop configuration file somewhere on the system that all applications go through when they want to find my Pictures or Downloads or Desktop folder.   Where is that configuration file?

Is it possible to rename default directories like ~/Documents, ~/Music, ~/Videos?   Especially I want to rename Videos to Movies.


I am a bit confused about D&D Miniatures and regular D&D. I only have the Starter Set from D&D Miniatures 4th ed (I think) and the Castle Ravenloft boardgame.   Do the stats, levels, races, powers, etc. of the characters/monsters in the minis game match the ones in those numerous books of D&D 4e? How about the Castle Ravenloft boardgame?   I should mention that I've never played the RPG version before... but you probably have figured that out by yourselves.

Are they the same game? Or is D&D Minis like an abridged toned down version of D&D 4.0? Or is it a separate rule-set entirely?


I have a simple utility function like following:  public static <T, S> HashSet<S> convertSet(Set<T> list, IConverter<T, S> converter) {     HashSet<S> result = new HashSet<>();     if (list != null)     {         for (T item : list)             result.add(converter.convert(item));     }     return result; }   I want that the result of this funtion is of the same type as the input data, so I tried to change the function to following:  public static <T, S, ST extends Set<T>, SS extends Set<S>> SS convertSet(ST list, IConverter<T, S> converter) {     // following is not working of course!     // I can't create a new object of the generic type!     SS result = new SS();     if (list != null)     {         for (T item : list)             result.add(converter.convert(item));     }     return result; }   Is there any way to write this so that it works? In c++ we have templates and the compiler will generate all necessary functions itself, is there anything like this in java?  Or any annotation library so that I can annotate my function with all Set classes I want to support and which will generate the concrete functions for me?  I want to avoid to write a function for each Set class manually...

Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing:  class SomeContainer<E> {     E createContents()     {         return what???     } }   EDIT: It turns out that  could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated.  I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's .


Let n be a positive integer and let $\alpha$ , $\beta$ be primitive n-th roots of unity.  a) Show that $\frac{1-\alpha}{1-\beta}$ is an algebraic integer.  b) If $n\geq 6$ is divisible by at least two primes ,show that $1-\alpha$ is a unit in the ring $\mathbb Z[\alpha]$.  For a) I tried with $\alpha =\omega$ and $\beta= \omega^2$ primitive cube rots of unity and got the polynomial $x^2-x+1$. But for nth case the calculation is going tedious.Please help. b)Here we have only to show that $\alpha $ is a nilpotent element.Then we are done.But how to show $\alpha$ is nilpotent?  Thanks in advance!

From Chapter VII of Lang's Algebra.  The question asks if $n\geq 6$ and $n$ is divisible by at least two primes, show that $1-\zeta$ is a unit in the ring $\mathbb{Z}[\zeta]$  I am having a hard time understanding why this is true. This is in the integral dependence chapter, but that has not given me any inspiration. I have also tried using cyclotonic polynomial to no avail  Thanks for any direction.


Let $x,y,z$ be the positive real number such that, $x^2+xy+y^2=a^2$, $y^2+yz+z^2=b^2$ and $z^2+zx+x^2=c^2$. Find $x+y+z$.  I've been trying to solve it but the possible I get is $2(x+y+z)^2-3(xy+yz+zx)=a^2+b^2+c^2$ by  summing up all the given and using $(x+y+z)^2=x^2+y^2+z^2+2(xy+yz+zx)$. I don't know what I should do next please help. Thank you

Given six numbers $x,y,z,a,b,c$ which satisfy the following relations $y^2+yz+z^2=a^2$ $z^2+zx+x^2=b^2$ $x^2+xy+y^2=c^2$ Express $x+y+z$ in terms of $a,b,c$    My attempt: $\dfrac{(y^3-z^3)}{(y-z)}=a^2,\dfrac{(z^3-x^3)}{(z-x)}=b^2,\dfrac{(x^3-y^3)}{(x-y)}=c^2$ But this step didn't seem to help. So I tried adding and expressing $k(a+b+c)^2$ but some other unmanagable elements came along. I could not think of any other way to approach the problem. Please help.


I am using XeLaTeX, Windows, polyglossia. When I define \otherlanguage{} with a right to left language it causes sentences that end in a number to be displayed with the period before the number!  \documentclass{article} \usepackage{cite} \usepackage{polyglossia} \setmainlanguage{american} \setotherlanguage{hebrew} \begin{document} This is an example where a number ends a sentence because the number of words in this sentence is 20. \end{document}     Is this a known issue? Obviously I could just not end a sentence with a number but that is besides the point.  I look forward to your answer!

After bidi was updated to v. 19.6 (2016-05-23), using at least one RTL language with polyglossia leads to number and following dot being inverted. Cf.  \documentclass{book} \usepackage{polyglossia} \setotherlanguage{hebrew} \begin{document} 6. \end{document}   with and without \setotherlanguage{hebrew}. Note that it is not necessary to actually use that language.  I do not know whether this is a bug in bidi or an incompatible change which polyglossia needs to adapt to. Because of this I have not opened an issue on polyglossia's github page. Sadly, bidi's contact information are outdated – the sourceforge referred to on CTAN is unused and the github page that is mentioned in the package's readme and PDF does not seem to exist any more either.  The problem might be something along the lines of     Does anybody have the previous version of bidi at hand?  TIA, Dario


In the case of classical mechanics, when describing the movement of a particle that is subject to a force, Newton's law gives us the law of motion of the particle: $$F(t)=m\cdot a(t)$$  We can also apply the Lagrangian instead: $$L=\frac 1 2 m\cdot v^2 - V(x)$$ Applying the principle of least action by the Euler-Lagrange equation we get: $$\frac d {dt}\frac {dL}{dv}=\frac {dL}{dx}$$ Which simply reduces to Newton's equation.  My question is: If minimizing the action simply reduces to finding Newton's equation, then what is the added value of the lagrangian in the first place? Why not just start with Newton's equations?

Here, I'm going to pose a very serious list of doubts I have on Lagrangian Mechanics.   Can we learn Lagrangian Mechanics without studying Newtonian Mechanics? Does Lagrangian help in solving problems easily, which generally seem to be complicated with Newtonian laws? Does Lagrangian make problem solving faster?


Consider the graph of  If the equation was rotated 180 degrees around the point   what would the new equation be? I tried to flip it using  but I can't get the exact slope right at the point of rotation. What exactly do I need to do?

In general I know that if we rotate $(x, y)$  about origin through $180^\circ$ we  will get new image $(-x, -y)$, but suppose that we make rotation not about origin but some other point $(a, b)$ does your result be rotation  around origin + or -  $(a, b)$? Suppose we have point $A(3, 27)$ and we want  turn it by $180$   around the point $(2, -1)$,  if  we rotate $(3, 27)$ about origin by $180$ we get $(-3, -27)$ but how  to connect $(2, -1)$ to this result?


I'm not a native english speaker (so forgive me for my poor language skills in general :) ) and I'm puzzled by this "whose / which / of which" issue. I have a sentence like this: "BLAA is a project whose purpose is to build and...". To me it sounds that it should have which instead of whose. I was always tought that whose refers to a person and which to a matter, and based on that I would use which but all the articles I read about it seem to say that whose is the way to go. What to do? And please keep the explanations in KISS form ;) Thanks!  -Heidi

We lit a fire whose fuel was old timber wood.   Is the word whose referring to fire, an inanimate object, correct in this sentence? Or is there a more appropriate word?


I am aware that strings in Perl are not immutable so the natural string substitution method is $var =~ s/re/$with/g.   However this is extremely limiting to me as a programmer used to things such as   JS:   string.replace(/re/g, with)   Bash:   ${var//re/$with}   The only workaround I see is to declare a subroutine which performs this task, and it's straightforward to implement this but it would need to be duplicated or imported everywhere in my code that does this. Is this the only way?

In Perl, what is a good way to perform a replacement on a string using a regular expression and store the value in a different variable, without changing the original?  I usually just copy the string to a new variable then bind it to the s/// regex that does the replacement on the new string, but I was wondering if there is a better way to do this?  $newstring = $oldstring; $newstring =~ s/foo/bar/g;


How do i integrate the following definite integral :  $\int_0^\infty x^a e^{-bx}dx$. Any hint is appreciated. where $a$ and $b$ are non-negative integers.

Find a general formula for evaluating integrals of the form $\displaystyle\int_0^\infty x^a e^{-bx}dx.$   I've been pondering about this question for some time. Obviously integration by parts is way too inefficient. I know there's recursion involved and maybe there's a way to find a general formula through intuition.


I have a question I am struggling with for days. So, Work transfers energy from one place to another or one form to another. (at least as per Wikipedia)  Imagine 2 scenarios.  Scenario 1: A pen on which I am applying 1 N force over a course of 100m.  Scenario 2: An elephant on which I am applying 1 N force over a course of 100m.  Imagine frictionless surfaces!  In both scenarios, there would be 100 J of energy transfer as per "Work" formula. But what does it mean intuitively?  My doubt: In scenario 1 I would be applying 1 N force for say time t but in scenario 2 I would be applying same 1 N for time T and obviously,  T >>>>> t  So I am subjecting same force but for so different lengths of time. Why is "transfer of energy" defined as F.d, intuitively it seems more energy is expended in the Elephant's scenario since I am applying same force but for MORE time.  Can someone give me intuition which clarifies these scenarios?

The change in energy of an object can be determined by the work equation, where work is the change in energy:  $$ W = F \cdot d $$  I conceptualize the transfer of energy as simply a series of small "packets" of energy being transferred at every Planck length. These small "packets" of energy add up to the total energy transferred (i.e. work). I'm not sure if this conceptualization is correct, so correct me if I am wrong.  However, it makes me wonder why the amount of energy transferred is dependent on distance and not time.  $$ m_1 = 10~kg \\ m_2 = 20~kg \\ W_1 = (10~N)\cdot(5~m) = 50~J \\ W_2 = (10~N)\cdot(5~m) = 50~J \\ W_1 = W_2 \\ t_1 \neq t_2 $$  If I apply a constant force on an object, why isn't the energy transferred at a constant rate with respect to time? The energy transfer rate varies dependent on how long it takes to cover the set distance.  In other words: why is the energy transferred consistent per unit of distance, and not per unit of time?


I am trying to create a cover page containing an image and the title of the report, but the image and the title appear on different pages. How can I solve this problem?  \documentclass[30pt]{report} \usepackage[a4paper,top=3cm,bottom=3cm,left=3cm,right=3cm]{geometry} \usepackage{graphicx} \begin{document}   \begin{figure}[h]      \centering \includegraphics[width=5cm]{najah.png}    \end{figure}    \title{ATLAS Detector}    \author{Fatima Shahrouj\\ Departement of physics, An-Najah National University NNU, Nablus, Palestine.}    \maketitle \end{document}

The standard titlepage is quite simple. I am looking for a very  and need help customizing my title page.  It should match the  classicthesis doctoral thesis template  Below a minimal working example:   \documentclass[12pt,a4paper,footinclude=true,twoside,headinclude=true]{scrbook} \XeTeXinputencoding iso-8859-1 \usepackage[marginparsep=8pt,left=3.5cm,right=3.5cm,top=3cm,bottom=3cm]{geometry}  \usepackage[parts,pdfspacing,dottedtoc]{classicthesis}    \frontmatter  \begin{document}     \pagestyle{scrheadings}        %this is the place to set up my cover sheet.       %*******************************************************      % Abstract     %*******************************************************    %\renewcommand{\abstractname}{Abstract}    \pdfbookmark[1]{Résumé}{Résumé}   \begingroup    \let\clearpage\relax    \let\cleardoublepage\relax    \let\cleardoublepage\relax       \chapter{Résumé}     Résumé de la thèse en français\dots      \vfill      \chapter*{Summary}   Résumé de la thèse en anglais\dots    \endgroup             \vfill     \end{document}


can I downgrade my iPhone 4s iOS 9.2.1 to 9.0.2? I try using ipsw but it isn't signed at this moment. Can I create custom ipsw 9.0.2?  Its possible to downgrade my iPhone?  Thanks.

I'm trying to downgrade my iPhone from the current iOS to an older one, as per .  But every time I try, I always receive this error:     The iPhone could not be restored. This device isn't eligible for the requested build.     I have tried many times with and without DFU mode. Any ideas regarding this?


So suppose that $f(f(x)) = f(x).$ $f$ is not necessarily invertible. Is it true that f must be the identity function? I think that it is true, since if we let $u = f(x),$ then $f(u) = u,$ and so $f$ is the identity function, but I am not sure for some reason if this is valid.

when I apply $f^{-1}$ to both sides $f(f(x))=f(x)$ $(1)$ we get $f(x)=x$ $(2)$.  are $1$ and $2$ equivalent?


I have a curious problem that has me stumped. I have a php page that has an include file for multiple languages. For some reason the foreign characters on the main PHP file display properly, but the foreign characters from the include file change into question marks.   The include sequence is index.php > languages.php (determines the language) > french.php (an array of French text for the site).   I am working in WAMP running on Windows 7. I have included   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   in the head of the main document. I have also confirmed that the editor is set to UTF-8. This is a small static site so there is no database.  I've never come across anything like this before and nothing similar has come up in my searches. I would really appreciate any suggestions on how to resolve this.  Thanks, Penny

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


We already known that $$ (L^p(\Omega))^* = L^q(\Omega), $$ for all $1\le p < \infty $ and $q$ is the exponent conjugate to $p$. So that, $L^p(\Omega)$ is reflexive with $1<p<\infty$. However, $L^1(\Omega)$ is not, due to $$ (L^\infty(\Omega))^* \supset L^1(\Omega), $$ but I don't know why. Can we find a element $f\in (L^\infty(\Omega))^*$ and $f \notin L^1(\Omega)$?

If $(X,\Omega,\mu)$ is a $\sigma -$ finite measure space, show that if $L^1(X,\Omega,\mu)$ is reflexive then it is finite dimensional.  My attempt: I want to show there is a copy of $\ell^1$ in $L^1(X,\Omega,\mu)$.  For this suppose $L^1(X,\Omega,\mu)$ is infinite dimensional. there is a sequence $\{x_n\}$ of disjoint points of $X$. For every n, Put $\chi_n:=\chi(x_n)$ (characteristic function ). define $\phi:\ell^1\to L^1(X,\Omega,\mu)$ such that $\phi(\{a_n\})=\Sigma a_n \chi_n$. But I can not show that $\phi$ is an isometry.   I think I did not in a correct way. Please help me. Thanks in advance.


I am very beginner, I want to upgrade Ubuntu 19.04 to 20,  I do command below: $ sudo apt update  $ sudo apt upgrade $ sudo apt dist-upgrade $ sudo apt autoremove $ sudo apt install update-manager-core  source repository is   and upgrade behavior is normal. I think the above commands are run without problems. result after any command is: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  but after run do-release-upgrade , I can not upgrade and display : Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife  Get:1 Upgrade tool signature [1,554 B] Get:2 Upgrade tool [1,337 kB] Fetched 1,338 kB in 0s (0 B/s) authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg' extracting 'focal.tar.gz'  Reading cache  Checking package manager  Can not upgrade  An upgrade from 'disco' to 'focal' is not supported with this tool. === Command terminated with exit status 1 (Sun Jul 19 03:33:35 2020) ===  What should I do?

I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?


I don’t really know how to start here. I feel the series will telescope, but it’s not reducible to partial fractions

I have the following problem: $$\sum^{\infty}_{n=1}\dfrac{2}{\left(n+2\right)\sqrt{n}+n\sqrt{n+2}}$$ I should find the sum of this sequence. I tried to simplify but it does not work.


I am currently a math Ph.D. student, and I meet my advisor every two weeks for an hour.  I have been here for over a year.  I spent the first six months studying the basics of the topic, though I still have no clear vision of what my advisor wants me to do.  During our meetings, I always try to discuss my research ideas, propose topics and show my results.  However, he seems to agree with everything I say, and at the end, I don't think I am really having any feedback from him. I don't know what topic he wants me to do research in.  Questions:   Is it normal for math Ph.D. students to not receive feedback when interacting with their advisor? What can I do to get more feedback?

I am a Ph.D. student in theoretical computer science. I meet my research supervisor once a week for around 2 hours. I prepare some of my research and try to present in front of him. I always try to make a list of theorems and claims given in the paper to discuss with him in a certain flow but most of the time he starts asking questions and then we go in other directions (which is okay from a research point of view). Due to this, it sometimes takes 2 months to read a single paper.  I always try to follow my designed plan but it rarely works. Also, I don't feel satisfied most of the time because many times I am only able to discuss 50-60 percent of what I have planned. Please help.


I'm trying to serialize a XML file to an object, when deleting a XML tag, I'm expecting an exception because my XML file is not valid any more, but I still get my data object with deleted tag (property) is null. How to make this specific tag required so when trying to serialize it, it will throw an exception saying tag xxx is missing => XML file is not valid => so data object is also null.  My XSD  ... <xs:element name="Language" minOccurs="1" maxOccurs="1"> ...   My XML  <?xml version="1.0" encoding="iso-8859-1"?> <root>   <item>     <sub1>1037</sub1>     <Language>F</Language><!-- If I delete this tag, my XML file should be invalid -->     <sub1>ZDC</sub1>   </item>  <root>   My serialize boject  ...         /// <remarks/>         public string Language         {             get             {                 return this.languageField;             }             set             {                 this.languageField = value;             }         } ...

I am using XmlSerializer to write and read an object to xml in C#.  I currently use the attributes XmlElement and XmlIgnore to manipulate the serialization of the object.  If my xml file is missing an xml element that I require, my object still deserializes (xml -> object) just fine.   How do I indicate (preferably via Attributes) that a certain field is "required"?  Here is a sample method of what I am using currently:  [XmlElement(ElementName="numberOfWidgets")] public int NumberThatIsRequired {     set ...;     get ...; }   My ideal solution would be to add something like an XmlRequired attribute.     Also, is there a good reference for what Attributes are available to manipulate the behavior of XmlSerializer?


I would expect the term "inspector general" to be "general inspector" instead.    In part, that may be because I know the German variant as "Generalinspekteur" of "Generalinspektor".  But I'm pretty sure it would be like this without knowing the German word, just from general language intuition.  So, why does the order of words make sense?    It would be interesting how it came to be like that - but that would not answer it alone. (An answer to  indicates it may be a method distinguish titles from general desrciptions.)

Lately, something has struck me.  I've been hearing several expressions in English, some clearly borrowed from French and preserving their noun-adjective form.  Some examples are:  Attorney General Secretary General Court Martial Notary Public   I suspect there are more that I have missed.  However, in each of the 4 cases listed above, I feel 'OK' saying them the 'English' way; that is, adjective-noun, which is the way we almost always do things except for these borrowed phrases.  One might receive a statement from the General Attorney, or be sent to a Martial Court.  My father is actually a lawyer and does indeed describe himself as a Public Notary.  Doing things this way makes the plural sound a lot more sensible in English, too; which sounds better: General Secretaries, or Secretaries General?  How common is it for people to flip these borrowed phrases around and say them the more standard English adjective-noun way?  Might it be clearer in the long run if we did so?


I'm new to Maven and NetBeans. I can run my project just fine from within NetBeans. My problems are currently starting after I "Clean and Build" to distribute test versions of my application. I was under the impression that if the jdbc was declared in the Dependencies section of the POM.xml, that would translate to the built version of the application, but when I run java -jar <application>.jar  I get a java.lang.ClassNotFoundException  Basically, I want this to go away. I've tried moving a manually downloaded version of the sqlite-jdbc-3.7.2.jar to various different places within the project files, then doing a Clean and Build, with no luck. I've also experimented with "addClasspath" and "additionalClasspathElements" tags in the POM, again to no avail. I have also yet to find clear enough answers to how classpath in java even really works, as well as how it works with maven. If I was to copy my source from this project to a non-maven project and import the .jar's as I need them, would this be easier?

I want to package my project in a single executable JAR for distribution.  How can I make a Maven project package all dependency JARs into my output JAR?


I'm interested in reading/knowing about various war related stories. It would also be great to have some healthy discussion around the same.  Any site on the network for the same?

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.


The way I understand it, velocity and mass are tied together with relativity.  As I increase in velocity, I increase my mass until my mass is so great that it would take more energy than the entire universe to accelerate me that last .1% to light speed.  So, as I accelerate and increase my mass, would this also increase the amount of gravity I generate? After a certain point, would I be generating so much gravity that I would collapse in on myself?

I'm a big fan of the podcast Astronomy Cast and a while back I was listening to a Q&A episode they did. A listener sent in a question that I found fascinating and have been wondering about ever since.   From the show :      Arunus Gidgowdusk from Lithuania asks: "If you took a one kilogram mass and accelerated it close to the speed of light would it form into a black hole? Would it stay a black hole if you then decreased the speed?"   Dr. Gay, an astrophysicist and one of the hosts, explained that she'd asked a number of her colleagues and that none of them could provide a satisfactory answer. I asked her more recently on Facebook if anyone had come forward with one and she said they had not.  So I thought maybe this would be a good place to ask.


On our linux server we have a lot of entries.    Many entries look like this:  15 13 * * 3 /very/long/path/to/binary/run.sh ...   These entries would be easier to maintain if I could write:  15 13 * * 3 $FPATH/run.sh   Where could I write this mapping:   FPATH=/very/long/path/to/binary

My variables are   LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64   How to save these variables permanently ?


I found the following formula in my .  This differs from my previous question in that I want an alternative proof of the below recursive formula for calculating $\displaystyle\sum_{k=1}^nk^p$.     Suppose I had a function recursively defined as  $$f(x,p)=a_px+p\int_0^xf(t,p-1)dt$$  $$a_p=1-p\int_0^1f(t,p-1)dt$$  For $p\in\mathbb N$.  For $p=0$, we trivially get $f(x,0)=x$, which shall be our initial condition.  It can then be noticed that  $$a_1=1-\int_0^1tdt=\frac12$$  $$f(x,1)=\frac12x+\int_0^xtdt=\frac12x+\frac12x^2$$  $$a_2=1-2\int_0^1\frac12t+\frac12t^2dt=\frac16$$  $$f(x,2)=\frac16x+\int_0^x\frac12t+\frac12t^2dt=\frac16x+\frac14x^2+\frac16x^3$$  And the general pattern is $f(x,p)=\sum_{k=1}^xk^p$ whenever $x\in\mathbb N\quad(?)$    How do I prove that whenever $x\in\mathbb N$  $$f(x,p)=\sum_{k=1}^xk^p$$  without applying the methods mentioned in the link above?

Suppose I had a function that satisfied the property $f(x)=f(x-1)+g(x)$.  For any $x\in\mathbb N$, it is easy enough to see that this boils down to the statement  $$f(x)=f(0)+\sum_{k=1}^xg(k)$$  If we return to our functional equation and differentiate it $n$ times, we get  $$f^{(n)}(x)=f^{(n)}(x-1)+g^{(n)}(x)$$  Once again, for any $x\in\mathbb N$, we have  $$f^{(n)}(x)=f^{(n)}(0)+\sum_{k=1}^xg^{(n)}(k)$$  One could then integrate both sides.  For example, this asserts that  $$\sum_{k=1}^xg(k)=xf'(0)+\int_0^x\sum_{k=1}^tg'(k)dt$$  If the sum inside the intagral is generalized to any upper bound.  How would I justify this for discrete functions?    An example of this is letting $f_p(x)=\sum_{k=1}^xk^p$, as it seems to follow the above result.  We can see from the above that  $$f_p(x)=a_px+p\int_0^xf_{p-1}(t)dt$$  $$a_p=1-p\int_0^1f_{p-1}(t)dt$$  which appears to be a true recursive formula.    Under what conditions can I extend discrete functions $f(x)$ and $g(x)$ into continuous differentiable functions and apply this method?


I recently started studying about cryptography and I tried to search the internet but I can't find much about these subjects. I want to see the proof of Shamir's Secret Sharing being Proactive and dealer-free .   Later Edit: I found the proof of it being proactive, however I still struggle with the 2nd thing. Basically, if the users know (k,n,p) , how can they compute a secret with none of them knowing it ?

Let's say $k$ users have shares to a $(k,n)$ secret sharing scheme, and they want to issue new shares. How can they do this without collecting the shares together?  In particular, no set of $k-1$ users (including the new users) should be able to learn the shared secret during or after the share generating process. There is also no trusted third party.  One way to do this is by doing a secure multiparty computation. Is there a way to accomplish the task without a general multiparty computation scheme?


I want to get answer 4, but my code prints 2. I don't know why? public class Test {     public static void main(String[] args) {         System.out.println(9 >> 2);     } }

I've been attempting to learn C in my spare time, and other languages (C#, Java, etc.) have the same concept (and often the same operators) ...   What I'm wondering is, at a core level, what does bit-shifting (<<, >>, >>>) do, what problems can it help solve, and what gotchas lurk around the bend? In other words, an absolute beginner's guide to bit shifting in all its goodness.


I have a bunch of .html files in a directory.  I want to look through each file and match a pattern (MD5).  All of that is easy enough.  The problem is I need to know what file the match was found in.  cat *.html | grep 75447A831E943724DD2DE9959E72EE31   Only returns the HTML page content where the match is found, but it doesn't tell me the file which it was found in.  How can I get grep to show me the filename where my match is found?

I have a directory (e.g., abc/def/efg) with many sub-directories (e.g.,: abc/def/efg/(1..300)). All of these sub-directories have a common file (e.g., file.txt). I want to search a string only in this file.txt excluding other files. How can I do this?  I used  grep -arin "pattern" *, but it is very slow if we have many sub-directories and files.


Javascript passes primitive values by value and objects by value or reference (depends). So how does javascript pass functions around?  mercury=()=>{  console.log("eleven") } let eleven = mercury eleven();   so when i pass the function mercury to eleven, is the function passed by value or by reference?

The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself).  Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this?


Let $\mathcal{B}(F)$ the algebra of all bounded linear operators on a complex Hilbert space $F$. It is well known that if $S\in \mathcal{B}(F)$, then  $$\|S\|:=\sup_{\substack{x\in F\\ x\not=0}}\frac{\|Sx\|}{\|x\|}$$  Why $$\|S\|=\sup_{\|x\| \leq 1}\|Sx\|?$$

How do you prove that these four definitions of the operator norm are equivalent? $$\begin{align*} \lVert A\rVert_{\mathrm{op}} &= \inf\{ c\;\colon\; \lVert Av\rVert\leq c\lVert v\rVert \text{ for all }v\in V\}\\ &=\sup\{ \lVert Av\rVert\;\colon\; v\in V\text{ with }\lVert v\rVert\leq 1\}\\ &=\sup\{\lVert Av\rVert\;\colon\; v\in V\text{ with }\lVert v\rVert = 1 \}\\ &=\sup\left\{ \frac{\lVert Av\rVert}{\lVert v\rVert}\;\colon\; v\in V\text{ with }v\neq 0\right\}. \end{align*}$$


My professor and I are trying to create and print a 3D model of the  for one of my Master's studies. He has provided me with a CSV of the color space's data points (which you can imagine is a lot) and I am hoping there is a way I can import that file, or convert the file if needed so that the software can create the model from the data. (I don't even know for sure if it can do that.) I am looking for just the creation of the model, not the coloring of it right now. I don't have a lot of experience with Blender except for the donut tutorial by BlenderGuru on YouTube. I really hope someone can help me or knows of a pre-existing model that I can use.

I'm trying to create a 3D heat map model out of data that I have from a csv file. I have a few thousand data points with XYZ coordinates.  I'm able to import the data into blender as a point cloud with , however I would like to create a model with solid faces. Is there a way when importing the data to somehow join the points to create faces instead of generating thousands of separate points?  Currently, this what I have in terms of point cloud  The end product would look something like this (minus the texture) and obviously the model wouldn't be as regular as this one  Any help is greatly appreciated!


Here I have $x\in\mathbb{R}_+$ and $x < 1$.  I would like to evaluate the following sum:  $$\sum_{i=0}^\infty i^nx^i.$$  I know that $$\sum_{i=0}^\infty x^i=\dfrac{1}{1-x}.$$  So I started calculating the derivative of the above formula. I found something like:  $$\sum_{i=0}^\infty i^nx^i=\dfrac{P_n(x)}{(1-x)^{n+1}},$$ where $P_n(x)$ is a polynomial of degree $n$.  $$P_0(x)=1,$$ $$P_1(x)=x,$$ $$P_2(x)=x+x^2,$$ $$P_3(x)=x+4x^2+x^3,$$ $$P_4(x)=x+11x^2+11x^3+x^4,$$ $$P_4(x)=x+26x^2+66x^3+26x^4+x^5,$$ $$\cdots.$$  Is there a general formula for $P_n(x)$?

Do you know how to find the limit of $\sum_{k=1}^{\infty}k^mz^k$ where $|z|<1$ and m is a natural number? I've tried to google it in wiki but I do not understand the closed form ().


README:           PS: I've done my best to explain in the best simple way the argument,     I've seen many of the other topics here about it, but in my opinion     any of them explains the point properly          I know this argument has been passed many, many, many, many [for     i<9000 print: many] times, but this time I (think) already got the     point, so what I want to do is to expose my conclusions and be     corrected if I'm wrong. If you want, you may mark this question for     future readers, maybe in a sort of beginners section, I'll try to be     brief.       Pointers and References almost do the same things, BUT, they are  basically (physically) DIFFERENT.   POINTER:  Pointers ARE VARIABLES, with their OWN address, which can hold their OWN value.   Look at this snippet:  int nInt=99;           //address of variable nInt      000D893F int* pPointer;         //address of variable pointer   000C751C  pPointer= &nInt;      /*                       * address of &pPointer:   000C751C   &just returns the address of                       *   value of  pPointer:   000D893F                       * value pointed by *pPointer: 99                       */   REFERENCE:  References ARE NOT variables, they are just ALIASES to ALREADY EXISTING variables  More clearly: when you delcare a variable (es. int nX=5) you allocate some memory (4bytes) somewhere in the stack, assume its address is 000C763C.  Imagine now this variable like a box with its value inside (5), the box is named for your CPU 000C763C but in your program is called nX.   When you do something like:  int &nAlias = nX   you are saying to your compiler: hey look at this variable (address of nX), its name is not only nX but nAlias too, these names ARE exactly the same memory cell, same memory address, same variable, so it means it must already be created (before creating a reference!), this means that nAlias has not its own address nor can contain its own value, it's just another name of the same memory cell!  So imagine now our box called 000C763C (nX) by your CPU, with inside the value 5 and known by your compiler with names either nX or nAlias, exactly the same memory cell!  So I guess that it is only used by compiler pourposes. (I'm only guessing, I hope in a reply)  If I am right, I hope many people asking for it here will get a more clearer understanding about what these things really are, the rest of your knowledge would be easier...  Finally a personal opinion, I don't know why almost all the books or tutorials I've read, before explaining these arguments doesn't explain in this simple way what pointers and references are, I see people getting mad trying to understand so simple but tricky notions...  I hope I did a good deed!

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


I don't know which one is accurate.  They all sound right to me.  The cameras need to be mounted in spots that intruders can’t reach. The cameras need to be mounted in spots where intruders can’t reach. The cameras need to be mounted in spots which intruders can’t reach.

When is it appropriate to use that as opposed to which with relative clauses?


I have the following table in an Oracle DB  id     date              quantity 1      2010-01-04 11:00  152 2      2010-01-04 11:00  210 1      2010-01-04 10:45  132 2      2010-01-04 10:45  318 4      2010-01-04 10:45  122 1      2010-01-04 10:30  1 3      2010-01-04 10:30  214 2      2010-01-04 10:30  5515 4      2010-01-04 10:30  210   now I'd like to retrieve the latest value (and its time) per id. Example output:  id     date              quantity 1      2010-01-04 11:00  152 2      2010-01-04 11:00  210 3      2010-01-04 10:30  214 4      2010-01-04 10:45  122   I just can't figure out how to put that into a query...  Additionally the following options would be nice:  Option 1: the query should only return values that are from the last XX minutes.  Option 2: the id should be concatenated with text from another table that has id and idname. output for id should then be like: id-idname (eg 1-testid1).  many thanks for any help!

Table:   UserId, Value, Date.   I want to get the UserId, Value for the max(Date) for each UserId. That is, the Value for each UserId that has the latest date. Is there a way to do this simply in SQL? (Preferably Oracle)  Update: Apologies for any ambiguity: I need to get ALL the UserIds. But for each UserId, only that row where that user has the latest date.


i append input in div:  $("#menuItems").append("<input type='button' id='"+$("#category").val()+"' class='menuItemDelete' value="+$("#category :selected").text()+" ><br>");   then i want to access element by class name but it does not give any responce. i try this:  $(".menuItemDelete").click(function(){      alert("abc");  });   and also try this:  $(".menuItemDelete").on("click", function(){      alert("abc");  });   how can i access it ?

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.


The last week my website got hacked by blackwave and im really confused about it , the confusing is that i can log in to my wordpress dashboard but without any permissions , i cant do nothing about it , like someone missed or changed the wp-config.php or wp-login.php or i dont know please i really need the file that i have to edit and get the real php script of wp-config and wp-login , can you guys help me ? Thanks alot i really appreciate it if u helped me. this is my website :

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


Just trying to understand why destructor is called outside of the scope of USING after instance is dispose. I know there is no need for destructor when IDisposable is implemented. Here is my example:  using System;  namespace Destructor {     class Program     {         static void Main(string[] args)         {              using (var a = new A())             {                 Console.WriteLine("... inside USING ...");             }              Console.WriteLine("...END...");         }     }      //............................................................      class A : IDisposable     {         public A()         {             Console.WriteLine("...Constructor called...");         }          ~A()         {             Console.WriteLine("...Destructor called...");         }          public void Dispose()         {             Console.WriteLine("...Dispose called...");         }     } }      Output:      ...Constructor called...      ... inside USING ...      ...Dispose called...      ...END...      ...Destructor called...

When would I implement IDispose on a class as opposed to a destructor?  I read , but I'm still missing the point.    My assumption is that if I implement IDispose on an object, I can explicitly 'destruct' it as opposed to waiting for the garbage collector to do it.  Is this correct?  Does that mean I should always explicitly call Dispose on an object?  What are some common examples of this?


In Windows 10 (Ent, 1803), default web browser keeps being reset from Internet Explorer to Edge at each reboot (settings > system > default). No matter which other browser is set there, as admin, after reboot default browser is Edge again.  Is there a way to prevent that?

Since the fall update last month, Windows 10 automatically keeps changing the default apps for certain types (mostly browser,pdf,mp3,jpg). I have tried changing them back from the Settings app as well as the Control Panel.  I have observed that this happens mostly while unzipping files using WinZip. Windows changes the default programs back to Microsoft recommended programs such as Edge, Photos, Groove etc.  Is there a way to restrict this from happening? Has anybody else encountered a similar situation? I couldn't find similar question anywhere so I'm asking this here.


I am using Oracle SQL. There is a sequence and trigger used for id that increments from 1 every time a new record is added in the table. However if all the records are deleted and new records to be added this table, the id doesn't starts from 1 whilst it starts from the last maximum number of records recorded in the sequence.   Therefore is there a way in TRIGGER statement where I can reset the sequence if the table is empty and new records get imported.   OR do I have to do stored_procedure way, if that then how can i call this using myBatis mapper?   Table (customer_info)  customer_id customer_name customer_location 1           Arbin         USA 2           Tim           Canada 3           Rachel        Australia   Sequence  CREATE sequence customer_id_seq START WITH 1 INCREMENT BY 1 NOCACHE NOCYCLE;    Trigger  CREATE OR REPLACE TRIGGER customer_id  BEFORE INSERT ON customer_info  FOR EACH ROW  BEGIN  SELECT customer_id_seq.NEXTVAL  INTO   :new.customer_id  FROM   dual; END; /   Thank you.

In , I can do something like this:  ALTER SEQUENCE serial RESTART WITH 0;   Is there an Oracle equivalent?


I am trying to make a regular expression capture any words in the specific line after the word Attachment: This question is for work, so it is not a homework or test question. I took the paragraph below as an example from . I did not major in computers but Psychology so this is completely foreign to me. I've read the manuals for the last two days, and because this is going over my head, I don't know how to begin. I have a task which involves me linking the attachments to a specific file with the same name saved in a folder (at least 500 attachments) on Adobe PDF. What I did before was to manually select the words and link it to a specific file in a folder, but it is tedious to do when they can go up to 500 attachments. I was aware of an application plug-in called EVERMAP that you can download for Adobe to automatically link specific words to a specific file in a folder. However, it requires me to use regular expressions which again, I don't know how to use. I will bold the words I want to capture in the paragraph below.  The repetition operator manual expand the match as far as they, and only come back if they must to satisfy the remainder. Attachment: The repetition operator manual The asterisk or star tells the engine to attempt to match the preceding token zero or more times. The plus tells the engine to attempt to match the preceding token once or more. Attachment: Asterisk and stars engine

I don't really understand regular expressions.  Can you explain them to me in an easy-to-follow manner?  If there are any online tools or books, could you also link to them?


New to Linux and trying to upgrade to ubuntu, the only download I see is ******.iso? I loaded this on an USB stick and rebooted puter but nothing, computer is set to boot from USB. HELP........

I would like to see a full how-to guide on how to install Ubuntu.


I am in the process of creating a web app, and I have decided to work with open-source technologies: LAMP stack + Ruby.  I want to be able to manage my server myself, but I know there is much to learn. E.g. the major differences between the major linux distros, need to be familiar with the command line, bash scripting, etc.  I love Chris Pine's book on Ruby, and was wondering what sites do you guys know of have some good video tutorials, good articles and good books (both printed and eBook) should I look at to get started?  I am fairly technical, have a computer science first degree. I just learned how to program, learned the basics of reg. expressions at the command line (grep), and stuff like that but that was 3 or 4 years ago. Haven't touched it much since. So would like a good refresher that is easy to read and tailored to people that are 'n00bs'.  Thanks much.

For software developers, there are some books you must absolutely read.    How about for sysadmins? Is there a similar list of books?


This is a passage from a :     Sometimes Neal would end the conversation or abandon it while she was still making her point, and she'd just go on arguing long after he'd checked out.   What does checked out mean? I tried looking for the term in the dictionaries, but I couldn't find a definition that fits the context.

This is a comment made by a poster on an article about texting:     It seems to me that by texting during class or at meetings, you are in no position to assess whether the topic under discussion is worth your time and attention or not. You're not paying attention. You've already mentally checked out.   What does checked out mentioned above mean? I've looked it up in the dictionaries, but wasn't able to find a definition that's relevant to the context.


I am getting an error saying "UnboundLocalError: local variable 'numberOfTripsCompleted' referenced before assignment"  trips= 0 def increasetrips(x):     trips += 1   so I construct a list: ['driver', firstname, lastname,vehicletype, trips].  After instantiating this with an example: ['driver', Bob, Brown, truck, 0], I now want to have a function to increase the 'trips' part of the list by 1 each time. The function I have above does not give an error, but it after running ' increasetrips', when I call back for my instantiated list, position 4 still holds '0'. So it keeps returning ['driver', Bob, Brown, truck, 0], when i am expecting ['driver', Bob, Brown, truck, 1]

The following code works as expected in both Python 2.5 and 3.0:  a, b, c = (1, 2, 3)  print(a, b, c)  def test():     print(a)     print(b)     print(c)    # (A)     #c+=1       # (B) test()   However, when I uncomment line (B), I get an UnboundLocalError: 'c' not assigned at line (A). The values of a and b are printed correctly. This has me completely baffled for two reasons:   Why is there a runtime error thrown at line (A) because of a later statement on line (B)? Why are variables a and b printed as expected, while c raises an error?   The only explanation I can come up with is that a local variable c is created by the assignment c+=1, which takes precedent over the "global" variable c even before the local variable is created. Of course, it doesn't make sense for a variable to "steal" scope before it exists.  Could someone please explain this behavior?


I'm looking at this sentence, and I wonder how to label the grammar, specifically the italic part.  I want to see the robot drill through the ice.  In typical present tense, the verb would conjugate as "drills".  ... the robot drills ...  So why is it "drill" here? And what is this grammar called? It's confusing that many similar sentences all use different verb forms (conjugated, or not, or infinitive, or gerund) in the second noun+verb part.  I want to see that the robot drills ... I want to see if the robot drills ... I want the robot drilling ... I want the robot to drill ...  That last one seems ambiguous. It could be that I want the robot because I want to drill something. Or it could be that I my "want" is about the robot itself. Ie, I want that the robot drill. Anyway, I'm digressing. What is going on in that first sentence? If it's easy to also relate it to the others sentences, I'm curious, but maybe it's better to be narrowly focused in a question on this forum. (Also: sorry, I don't know how to title this question well. If you have advice on this, I'm happy to edit the title.)

This question has been bothering me for a while. It came up when I was reading Chapter 16 of "A Comprehensive Grammar of the English Language."   How to explain the grammatical structure of the following four sentences?    "We knew him to be a spy." "I saw her leave the room." "I heard someone shouting." "I got the watch repaired."    What category do the four non-finite clauses in boldface fall into? They do not seem to fall into any of relative, nominal, comparative and adverbial clauses.


I know what the man page has to say about the -K and -k :     ‑K       The ‑K (sure kill) option is like ‑k except that it removes the user's   cached credentials entirely and may not be used in conjunction with a   command or other option. This option does not require a password. Not   all security policies support credential caching.      ‑k[command]       When used alone, the ‑k (kill) option to sudo invalidates the user's   cached credentials. The next time sudo is run a password will be   required. This option does not require a password and was added to   allow a user to revoke sudo permissions from a .logout file. Not all   security policies support credential caching. When used in conjunction   with a command or an option that may require a password, the ‑k option   will cause sudo to ignore the user's cached credentials. As a result,   sudo will prompt for a password (if one is required by the security   policy) and will not update the user's cached credentials.   So if there is no need to use a command in conjunction with these options, am i correct in assuming K is always the better option to use rather that k?


In LaTeX when I insert a table in my document, the font size in table gets very small compared to the normal font of document. Definitely Table is large in width as well as in length. How I can insert large tables with normal font size, as it used to be in remaining document?  Thanks  Here is my document class:  \documentclass[a4paper, 12pt, twoside, openright, cleardoublepage=empty, numbers=noenddot, appendixprefix, BCOR1.5cm, bibliography=totoc ]{scrbook}   here is how I insert table  \begin{table}[h!] \centering \caption{My caption} \label{my-label} \resizebox{\textwidth}{!}{% \begin{tabular}{|l|l|l|l|l|l|l|l|} \hline

I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met:   The table is too wide to fit within the text block or page. That is, I'm exceeding some horizontal restriction. The table is too tall to fit within the text block or page. That is, I'm exceeding some vertical restriction.   What are my options to make this table fit? If it doesn't fit, regardless of my attempts, what other options exist?


I am trying to work with Poisson regression. I came across this video which is very helpful - . In the video one of parameters (Race) is categorical and treated vide factor() in R.  Ideally the model should show coefficient of every parameter - Race, Income and GPA. But for the categorical variable Race - it shows coefficient for value of categorical variable. [Video at 09:18]                   CO        2.5 %     97.5 % (Intercept) 0.003004161 0.0007308336 0.01167968 Race2       2.811686825 1.5523542481 5.62637686 Race3       1.310301471 0.5854852933 2.98624050 Income      1.066367468 1.0494809143 1.08382221 GPA         1.129708044 0.9120963633 1.40195401   Can someone explain this ? why is every value of categorical variable having a different coefficient ?

Using R, I have fitted a linear model for a single response variable from a mix of continuous and discrete predictors. This is uber-basic, but I'm having trouble grasping how a coefficient for a discrete factor works.   Concept: Obviously, the coefficient of the continuous variable 'x' is applied in the form y = coefx(varx) + intercept but how does that work for a factor z if the factor is non-numeric? y = coefx(varx) + coefz(factorz???) + intercept   Specific: I have fitted a model in R as lm(log(c) ~ log(d) + h + a + f + h:a) where h and f are discrete, non-numeric factors. The coefficients are:  Coefficients:               Estimate  (Intercept)  -0.679695  log(d)        1.791294  h1            0.870735   h2           -0.447570   h3            0.542033    a             0.037362   f1           -0.588362   f2            0.816825  f3            0.534440 h1:a         -0.085658 h2:a         -0.034970  h3:a         -0.040637   How do I use these to create the predictive equation:  log(c) =  1.791294(log(d)) + 0.037362(a) + h??? + f???? + h:a???? + -0.679695   Or am I doing it wrong?   I THINK that that concept is if the subject falls in category h1 and f2, the equation becomes:   log(c) =  1.791294(log(d)) + 0.037362(a) +  0.870735  + 0.816825  + h:a???? + -0.679695   But I'm really not clear on how the h:a interactive term gets parsed. Thanks for going easy on me.


I have a lot of files in Recent, and I can see them in apps like LibreWriter.  But when I want to upload a file somewhere form Chromium, I don't see those files in Recent.  This is really annoying because every time I want to open the file I just worked on (screenshot, document etc.) in Chrome, I need to navigate to its folder. After I upload a file, it appears in Chrome's Recent, but new recent files created in other apps, do not. This makes Recent useless in Chromium.  Is this because of the ? How can I make Recent function normally?

I just upgraded to Ubuntu 19.10 and to my horror I discovered that the default browser Chromium can no longer access other partitions than /home.  This means that my partitions containing music and videos (/multimedia) for instance are no longer accessible e.g. to upload into Google Drive. This includes USB partitions.   I found another description of this phenomenon here:  where it says  "Also, while we acknowledge that most users will only need to access their home folders, it’s worthy to mention that you no longer can access system files & folders from inside Chromium (You can’t access anything except your home folder). This means that if you are to upload a file or an image for example into the Internet using an uploading website, then this file/image must be in your home folder, as you can not access directories such as /usr, /etc or other directories located in your root partition. In fact, you no longer can access any other partition at all, this includes USB sticks and other booted partitions:"  I wonder why this behaviour been introduced? it violates the whole idea of multiple disks, partitions and symlinks. Btw, this still works for Firefox.  My questions are   Are there any plans to fix this? I expect one reason for this behaviour is about security. If so, is it possible to explain why and how that makes for better security? The files on other partitions are legitimately accessible by the user anyway e.g. through symlinks. But with this change, I'll have to move them to /home before uploading so still accessing them although more slowly and cumbersome.  If this behaviour is now permanent, the question is how should we incorporate multiple disks in our filesystem?  Alternatively, can someone tell me how to find and install the debian package. I haven't been able to locate it?   This is not a duplicate of  because that is about a specific error during installation that I didn't get. My question is about the access chromium has in Ubuntu 19.10.  Anyway, I solved the problem via the following command by using the original debian package from Google:  sudo apt-get install google-chrome-stable   After that I can now access my other partitions again. I know this is hacky in the sense that the package isn't native to Ubuntu so I would really like to get some advice on how to incorporate multiple disks and partitions with this new restricted behaviour of Chromium.  Thank you very much


I ran uname -a but I still have no clue what distro this is. The result:   Linux (none) 3.18.0 #4 Sun May 29 03:28:04 CEST 2016 i686 GNU/Linux  All I can get from that is that it has a i686 processor, and runs the Linux 3.18.0 kernel.  Any help is appreciated, and thank you all in advance!

We have some new hardware in our office which runs its own customized Linux OS.   How do I go about figuring which distro it's based on?


I want create advertising folder on USB stick.  Therefore I want to unable user from removing it. even if they format it.  It is possible?

What is the method to make files in a USB Flash Drive undeletable? Does these method work with USB 3.0 interface?  (I have surveyed some Flash Drive manufacturers, and I only see undeletable files for USB 2.0 drives, and not 3.0 drives. One manufacturer claimed that USB 3.0 cannot do undeletable file, so I am curious whether the claim is correct...)


After reading several resources, it's not clear to me what kind of object is being checked against SQL Server Plan Cache when a new query arrives.   I see 3 possible options:   The pure query text. The parse tree (the resultant object of the parser)    The query plan (the resultant object of the optimizer. Below, I refer to it as a "compiled query").   Now, since the cache is actually called "The Plan Cache", it may indicate that option 3 must be the correct one.   However, it seems to me that the third option must be false. First, because the "Plan Cache" actually caches other object than just compiled plans (see ). Secondly, as I see it, the purpose of accessing the cache is to prevent an unnecessary compilation of the arrived query. Thus, if the access to the cache is done against a compiled query, it requires the compilation of the new query, which misses the whole point.   I read one resource that supports this view, saying that the cache is being checked before the Query Optimizer takes place, i.e., before the generation of the query plan (taken from Professional SQL Server 2012 Internals and Troubleshooting, pg. 113, under the "Query Optimization" section):      The current model provided by the SQL Server team works something like   this:      Is a valid plan cached? If yes, then use the cached plan. If no plan   exists, then continue [and apply simplification and optimization,   which results in a query plan].   So it seems option 2 is the right one. However, in two other resources I found a support for option 3. This is the first one ():     When a query is submitted to the server, an estimated execution plan   is created by the optimizer. Once that plan is created, and before it   gets passed to the storage engine, the optimizer compares this   estimated plan to actual execution plans that already exist in the   plan cache . If an actual plan is found that matches the estimated   one, then the optimizer will reuse the existing plan, since it’s   already been used before by the query engine.   And The following text (taken from Microsoft SQL Server 2012 Bible, pages 1042 and 1044) claims the same: The query plan is checked against the cache after its generation (Note that it uses slightly different terms and it differs from the above text regarding the component that is responsible for the request to check the cache):     After the query execution plan generates [By the query optimizer], SQL Server stores it in the   Plan Cache [...] and   informs the Query Processor that the plan is ready to be executed.      [...]      When the query processor needs to execute a query, it first checks to   see if the query can reuse an execution plan already in the Plan   Cache. It’s much faster to find and reuse a Query Execution Plan than   to generate a new plan, even though that option is not always the best   solution.   Is there a decisive answer for this?

I'm wondering if anyone can shed light on a worry of mine that a query_plan_hash collision could cause a query to be executed as an entirely different query.  The hash is a 16 digit Hex that sp_help sys.dm_exec_query_stats says is a binary. Therefore it's only a 64 bit hash, and a collision seems very probable (considering SHA1 [160 bit] was just verified to have had collisions).  Would the plan_hash and the query_plan_hash both have to collide for this (query to be executed as an entirely different query) to happen?  I'm also curious if there is a setting somewhere in SQL Server that will allow us to change this hash to SHA2-512 (to reduce the possibility of a collision). Our data is very important.  I searched high and low via Google and Stack Exchange forums.


I need to delete a question which was posted by myself. And the question is closed already.  Why am I not able to do it?

What circumstances can cause a question or answer to be deleted, and what does that actually mean?    How can a post be deleted? When can't I delete my own post? Can I still see my post even after it's deleted? Can I see a list of my deleted posts? How can I undelete one of my posts? What does deletion mean for a post? How do votes to delete work? What are the criteria for deletion? What else should I know about deleted posts? If I flag my question with a request to delete it, what will happen?       For more information, see the articles about  and  in the .


In line 10  to clearTimeout() function there is passed timer variable which is decleared outside moveBox function and under it in the line 20. Why does the java script resolves timer to a variable? Why it does see it?

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?


I'm having a hard time converting a string into LPWSTR so I can use the PathStripToRoot() function.   Well for one the MSDN documation says I need LPTSTR variable (), but Visual Studio 2013 says I need LPWSTR.   Here is a code snippet of my function:  fileStat fileCreate(const string& targetFile) {     fileStat filez;      fstream file(targetFile.c_str());     if (!file)     {         cout << "File does not exist" << endl;     }      std::ifstream in(targetFile, ios::binary | ios::ate);     int a = in.tellg();     cout << "File size(bytes): " << in.tellg() << endl << endl;     file.close();       wstring stemp = strChange(targetFile);     LPCWSTR result = stemp.c_str();      /* Tried the below code but that did not work     LPWSTR ws = new wchar_t[targetFile.size() + 1];      copy(targetFile.begin(), targetFile.end(), ws);     ws[targetFile.size()] = 0;         */      cout<<"\n\n"<<PathStripToRoot(ws)<<"\n\n";   ...     filez.fileSize = a;     return filez; }   A lot of people have said to use MultiByteToWideChar() function but I looked at the MSDN documation and have no idea how it works. Is there an easier way than using MultiByteToWideChar() ?

I'm looking for a method, or a code snippet for converting std::string to LPCWSTR


I have the following Python script  def application():      from math import exp     v = lambda t: 3*(t**2)*exp(t**3)     n = int(input('n: '))     numerical = trapezoidal(v, 0, 1, n)     # Compare with exact result     V = lambda t: exp(t**3)     exact = V(1) - V(0)     error = exact - numerical     print("n = %d: estimation = %.16f, error: %g"%(n, numerical, error))  def trapezoidal(f,a,b,n):     h = float(b-a)/n #width     result = 0.5*f(a) + 0.5*f(b)     for i in range(1,n):         result += f(a + i*h)     result *= h     return result   which is named trapezoidal.py. I cannot understand why when I call it from a terminal (python trapezoidal.py) I get nothing.

Given the following code, what does the if __name__ == "__main__": do?  # Threading example import time, thread  def myfunction(string, sleeptime, lock, *args):     while True:         lock.acquire()         time.sleep(sleeptime)         lock.release()         time.sleep(sleeptime)  if __name__ == "__main__":     lock = thread.allocate_lock()     thread.start_new_thread(myfunction, ("Thread #: 1", 2, lock))     thread.start_new_thread(myfunction, ("Thread #: 2", 2, lock))


I am new to photography and trying to learn everyday. I've noticed when shooting in manual mode and using the Viewfinder like most professionals use, when I press the shutter button down you have to like click it twice in order for it to take the photo. I've watched Youtube videos of pros shooting and they shoot in manual and it snaps the picture quick!  When I press it down it's like something inside the camera closes, and then when I press again it captures the image and the view finder opens back up. I want it to just snap the photo when I press it. I tried turning off the shutter button focus and using the back AF button and it still happens.  Is there a setting I need to change? This is why I liked using the Live View Screen to shoot, because it snaps it right when i want it to. There isn't this, like, double tap on the shutter button.

My SLR is equipped with the mirror lockup function. What does it do, and when would I employ such a feature?


In Ubuntu 17.04, Synaptic Package Manager worked fine. But after upgrading to Ubuntu 17.10, it is not working. I removed it and installed it again, with no success. How do I solve this issue?

I installed Ubuntu 17.10. Now I am having trouble with gksu:  $ gksu -dg synaptic No ask_pass set, using default! xauth: /tmp/libgksu-HgUjgQ/.Xauthority STARTUP_ID: gksu/synaptic/8760-0-alex-XPS-15-9530_TIME4974977 cmd[0]: /usr/bin/sudo cmd[1]: -H cmd[2]: -S cmd[3]: -p cmd[4]: GNOME_SUDO_PASS cmd[5]: -u cmd[6]: root cmd[7]: -- cmd[8]: synaptic buffer: -GNOME_SUDO_PASS- brute force GNOME_SUDO_PASS ended... Yeah, we're in... Unable to init server: Could not connect: Connection refused (synaptic:8767): Gtk-WARNING **: cannot open display: :1 xauth: /tmp/libgksu-HgUjgQ/.Xauthority xauth_env: (null) dir: /tmp/libgksu-HgUjgQ   If I don't use -g, the password dialog is disabled. So looks like a problem with creating a tty for root.  Any advice?


I have a problem with the citation in winedt .When I put \cite and compile the code I find interrogation point in pdf generated . The winedt does not show any error but he show a 3 warnings    This is the code guy's  \documentclass[a4paper,11pt]{book} \usepackage{natbib} \usepackage[squaren, Gray, cdot]{SIunits} \usepackage[export]{adjustbox} \usepackage{subcaption} \usepackage{caption} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{mathpazo} \usepackage{graphicx}   \begin{document}      bla bla bla bla bla bla bla bla bla \cite{ben_mot_dies}       \bibliographystyle{plainnat}      \bibliography{mot}  \end{document}    Also this is the bib_text :  @MASTERSTHESIS{ben_mot_dies,   author =       {Benarfaoui.B},   title =        {Etude du moteur Diesel},   school =       {Université         de Mohamed Kheider Biskra},   type =         {Mémoire fin d'étude}, } @book{cleynen2015thermodynamique,   title={Thermodynamique de l'ing{\~A}{\copyright} nieur},   author={Cleynen, Olivier},   year={2015},   publisher={Lulu. com} }   Thank you

I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home page to get familiar with it. Instead of the citation number I get a question mark. I compile using Latex+Bibtex+Latex+Latex+PDFLatex+ViewPDF just as has been previously suggested and the problem persists.   \documentclass[11pt]{article} \usepackage{cite}  \begin{document}  \title{My Article} \author{Nobody Jr.} \date{Today} \maketitle  Blablabla said Nobody ~\cite{Nobody06}.  \bibliography{mybib} \bibliographystyle{plain} \end{document}   My bibliography (Bib.bbl)  @misc{ Nobody06, author = "Nobody Jr", title = "My Article", year = "2006" }    Looking at previous posts one thing that is concerning is that my .bbl looks empty as shown below. Further, I don't have a .blg  \begin{thebibliography}{}  \end{thebibliography}


I'm working with SP on server by using my laptop to remote to server. I've create app on this site :  and deploy it successfully on server, and the URL of app is: apps-22k1ishhud98s.abc.net (apps: is prefix and abc.net: is domain for app that I was set before). The problem is, I can not access to the app when using my laptop. So can u guys help me out of this. This is my site look like.

I created a new SharePoint web application at port 100. I created a default site collection. When I try to access it from the server machine it opens just fine. When I try to access it from a different machine I get page not found error. Both machines belong to the same network and the same domain. What do I need to set up (in IIS, I guess) to make it work?  Please note that I do have another web application set up at port 80 which opens just fine from both machines.


Prove that all contractible spaces are simply connected.  It's simple to prove that the space is pathwise connected. But, how can I prove that the fundamental group is trivial?

Every contractible space X is simply connected because X is homotopy equivalent to a point.  Is there a direct proof of this fact? There obviously is a (free) homotopy between any loop and the trivial loop at the base point. But how to construct a based homotopy, which is required for a loop to be trivial in the fundamental group?


In the sentence 'The winners of the contest were Morgan and I', is 'I' or 'me' correct? I think it should be 'I', because 'Morgan and I were the winners of the contest.'

From some comments in the answers for  (now deleted, 10k only), there's confusion around the usage of I vs. me:  While the sentence, "the other attendees are myself and Steve," is agreed to be incorrect, there's confusion about whether the correct form is "the other attendees are me and Steve" or "the other attendees are Steve and I."  (I've always used the heuristic of removing the other people from the sentence, so I always thought "the other attendee is me" would be correct, instead of "the other attendee is I." Is this true, or am I using a flawed heuristic?)


I searched a lot on internet about this.I could not find the working of these condenser lenses in detail. Some websites say that condenser lenses make the light rays parallel and  to pass through every part of the slide. I can not figure out how? Moreover those websites say nothing about  replacing these condenser lenses with a single convex lens.I also wonder what will happen if we place the condenser lenses with their plane faces facing each other? I need help

What if we don't use any condenser lens? can't we use a single convex lens as a condenser? what difference will it make? kindly explain it in detail.


Beginner's question. I see a lot of @XXXXX s in our code base. So I would like to know what is the significance of this syntax. Below is a snippet of our code and example   @Process      public Message loadManifest(Message message) {   How can we relate this to JBoss AS Pipeline?

What is the purpose of annotations in Java? I have this fuzzy idea of them as somewhere in between a comment and actual code. Do they affect the program at run time?  What are their typical usages?  Are they unique to Java? Is there a C++ equivalent?


I have the following two lines:  $\Rightarrow$ Generate $\mathbb{G}^n$ and check the existence of a homomorphism\\ from $\mathbb{G}^n$ to $\mathbb{G}$!   I want the second line to start exactly under the text of the first line, behind the $\Rightarrow$. So I wanted to use the \Rightarrow as a phantom character in front of the second line. Since \Rightarrow only works in math mode, I wrote:  $\Rightarrow$ Generate $\mathbb{G}^n$ and check the existence of a homomorphism\\ \phantom{$\Rightarrow$} from $\mathbb{G}^n$ to $\mathbb{G}$!   But I got this    instead of this (which I want):   I made the latter version with a white-colored character  \textcolor{white}{$\Rightarrow$} from $\mathbb{G}^n$ to $\mathbb{G}$!   But I want the character to be invisible, not just white. How can I achieve this?  And why is phantom behaving like this?  Note: \vphantom and \hphantom produce the same undesired result.

Could anybody tell me why does phantom command create paragraph spacing issues as described in :     This sort of code  Vin.\ i zvat.\ mn.\ imaju akcente kao i im.\ mn.: \emph{zȗbe : zȗbi},  \emph{knȅzove : knȅzovi}, \emph{púževe} i t.\ d.  \phantom{a}\symbol{"0311} na ˊ u svima padežima osim onih koji će se  na po se spomenuti, n.\ p.\ \emph{strȋc} ima u rod.\ jed.\ \emph{stríca}, dat.:  \emph{strícu}, vin.: \emph{stríca}, tvor.: \emph{strícem}, skaz.: \emph{strícu};  tako \emph{dvȏr} ima u im.\ mn.\ \emph{dvóri} i \emph{dvórovi}, i t.\ d.       produces            Why the such a big space between the paragraphs?   Does anybody know?


I have the following recurrence that I've been pounding on:  $$ a(0)=1\\ a(1)=1\\ a(2)=2\\ a(2n)=a(n)+a(n+1)+n\ \ \ (\forall n>1)\\ a(2n+1)=a(n)+a(n-1)+1\ \ \ (\forall n\ge 1) $$  I don't have much background in solving these things, so I've been googling around looking for different techniques. Unfortunately, I haven't been able to correctly apply them yet. So far I've tried:   Characteristic equations Generating functions Plugging it into Wolfram Alpha Telescoping Observation   I'm sure that one or more of these is the way to go, but my biggest problem right now is figuring out how to deal with the idea that there are different equations for odd and even values of $n$. I'm not necessarily looking for a solution (though it would be gratefully accepted), but any nudges in the right direction would be much appreciated.    To follow up, it turned out that the speed problem described in my comment, below was related to the Decimal implementation in Python 2.7. Switching to Python 3.3 (and Java) made everything many orders of magnitude better.

For the recurrence relation:  $f(0)=1$  $f(1)=1$  $f(2)=2$  $f(2n)=f(n)+f(n+1)+n\ \ \ (\forall n>1)$  $f(2n+1)=f(n)+f(n-1)+1\ \ \ (\forall n\ge 1)$  (the first numbers of the sequence are: 1, 1, 2, 3, 7, 4, 13, 6, 15, 11, 22, 12, 25, 18, 28)  Given some number $S$, I would like to find $n$ such that $f(n) = S$, using an approach that runs in $O(\log n)$ time. Any ideas or tips how to solve it? I tried substitution so far but didn't get far.


Compare the two phrases:  ... at a much reduced price...  versus  ... at a much-reduced price...  Is a hyphen required here or it's unnecessary?

I have a sentence which has an object that is described with an adjective:     We need to inform our interested patrons of this change.   If I modify "interested" with "more" or "less", do I connect the words with a hyphen or not?  Example sentence:     We need to inform our less-interested patrons of this change.     Also, please let me know if I have not used the correct terms for sentence parts in this question.


I have just discovered that if I rotate my left spectacle lens about the vertical axis by 10 degrees in one direction, the vision in that eye becomes much crisper.  Note that the sphere and cylinder prescriptions in the (unrotated) lens were confirmed yesterday by an optometrist as being the best I could get -- but simply by yawing the lens I can see much better.  What is this rotation correcting? Is it physically possible to create a lens with the same correction but without the rotation?

If you are nearsighted (like me), you may have noticed that if you tilt your glasses, you can see distant objects more clear than with normally-positioned glasses. If you already see completely clear, you can distance your glasses a little more from your eyes and then do it. To do so, rotate the temples while keeping the nosepads fixed on your nose, as is shown in the figures.    As I said, starting with your glasses farther than normal from your eyes, you can observe the effect for near objects too. (By distant, I mean more than 10 meters and by near I mean where you can't see clear without glasses)  Note that if you rotate more than enough, it will distort the light completely. Start from a small $\theta$ and increase it until you see blurry, distant objects more clear. (You should be able to observe this at $\theta\approx20^\circ $ or maybe a little more)  When looking at distant objects, light rays that encounter lenses are parallel, and it seems the effect happens because of oblique incidence of light with lenses:    The optical effect of oblique incidence for convex lenses is called , and is shown here (from Wikipedia):    I am looking for an explanation of how this effect for concave lenses (that are used for nearsightedness) causes to see better.  One last point: It seems they use plano-concave or convexo-concave lenses (yellowed lenses below) for glasses instead of biconcave ones.


I have only one computer with windows 8 installed and i would like to install Ubuntu 16.04 (without hurting my Windows 8 ). Installing Ubuntu there are three Options: Option 1: Try before you install . Option 2: Install Ubuntu inside Windows and Option 3 : Something Else. What is the best option any recommendation?? Thanks in advance

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 am trying to find out expectation of a function of a uniform random variable. I am given a random variable $x$ that is uniformly distributed over the interval $[0, a]$. I want to find out the expectation $E[e^{-i2\pi (m-n)\frac{x}{a}}]$, where $m$, $n$ are integers and $i=\sqrt{-1}$.  I saw derivation at a few places, and it looks like that the expectation evaluates to $\delta_{km}$. It is not clear to me how this derivation is carried out. When I look at the expectation, it appears I am trying to calculate the characteristic function of a uniform random variable. This function is not a delta function. So what am I missing here?

I've been wondering about this one for a while; I find it a little weird how abruptly it happens. Basically, why do we need just three uniforms for $Z_n$ to smooth out like it does? And why does the smoothing-out happen so relatively quickly?  $Z_2$:     $Z_3$:    (images shamelessly stolen from John D. Cook's blog: )  Why doesn't it take, say, four uniforms? Or five? Or...?


this is my code    intent to Detail.Java  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.detail);      namaTxt=(TextView) findViewById(R.id.Detailnama);     AlamatTxt=(TextView) findViewById(R.id.Detailalamat);     kontakTxt=(TextView) findViewById(R.id.Detailkontak);     biayaTxt=(TextView) findViewById(R.id.Detailbiaya);     img=(ImageView) findViewById(R.id.ImageDetail) ;     RequestQueue = Volley.newRequestQueue(getApplicationContext());      //RECEIVE DATA     Intent i=this.getIntent();     String namabimbel=i.getExtras().getString("namabimbel");     Integer id_bimbel=i.getExtras().getInt("id_bimbel");     String Alamat=i.getExtras().getString("Alamat");     String kontak=i.getExtras().getString("kontak");     String biaya=i.getExtras().getString("biaya");     String foto=i.getExtras().getString("foto");     String kecamatan=i.getExtras().getString("kecamatan");     Double latitude=i.getExtras().getDouble("latitude");     Double longitude=i.getExtras().getDouble("longitude");      //BIND     namaTxt.setText(namabimbel);     AlamatTxt.setText(Alamat);     kontakTxt.setText(kontak);     biayaTxt.setText(biaya);     PicassoClient.downloadImage(this,foto,img); }   and then i got error,     Java Lang null pointer exception on Detail.java:37    //RECEIVE DATA         Intent i=this.getIntent();         String namabimbel=i.getExtras().getString("namabimbel");   i'm newbie, anyone can help me? thankyou

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?