How to add the skype icon in EuropassCV? I am trying hard to add it but it's not working

I have implemented the code from  but am still having trouble running my document.  Code example:  \documentclass[helvetica,english,logo,notitle,totpages,utf8]{europecv2013} \usepackage{graphicx} \usepackage[a4paper,top=1.2cm,left=1.2cm,right=1.2cm,bottom=2.5cm]{geometry} \usepackage[italian]{babel} \usepackage[T1]{fontenc}  \ecvname{Name } \ecvaddress{House No } \ecvtelephone[+00000000]{+00000000} \ecvemail{abd@gmail.com} \ecvlinkedin{\href{http://ae.linkedin.com/pub/abc}{ae.linkedin.com/pub/abc /32/2aa/a83/}} \ecvgender{Male} \ecvnationality{name of country} \ecvdateofbirth{21 January 1974} \ecvbeforepicture{\ecvspace{-0.8cm}} \ecvpicture[height=3.5cm, width=3cm]{abc } %\ecvafterpicture{\ecvspace{4.0cm}}  \ecvfootnote{Â© European Union, 2002-2013 |    http://europass.cedefop.europa.eu} %\ecvbeforepicture{\raggedleft} %\ecvpicture[width=2.5cm]{fototessera} %\ecvafterpicture{\ecvspace{-37mm}}  \begin{document} \selectlanguage{english}  \begin{europecv} \ecvpersonalinfo[10pt]  \ecvposition{Job applied for}{ }  \ecvsection{Work experience}   \ecvworkexperience{September 2009 -- September 2012}{ Research  Assistant}{Abc University}{city}{}   %\ecvworkexperience{March 2002 -- July 2002}{Internship}{European Commission, Youth Unit, DG Education and Culture}{}   %\ecvworkexperience{October 2001 â€“ February 2002}{Researcher / Independent Consultant}{Council of Europe, Budapest (Hungary)}{}{}   \ecvsection{Education and training}   \ecveducation{2005 -- 2008}{Master of Science }{Abc University,City }{Thesis Title: }{}   \ecveducation{2001 -- 2005}{Bachelor of Science }{Abc City}{Studies focused }{}   \ecvsection{Thesis Abstract}  \ecvitem{Thesis Abstract:}{The thesis describes}   \ecvsection{Research Interest}  \ecveducation{}{}{ Computational Fluid Dynamics}{}{}   \ecvsection{Personal skills}   \ecvmothertongue[20pt]{English, German}  \ecvlanguageheader  \ecvlanguage{English}{C1}{C2}{C1}{C2}{C1}  %\ecvlastlanguage{German}{A2}{A2}{A2}{A2}{A2}  \ecvlanguagefooter[10pt]   %\ecvitem[10pt]{Communication skills}{}    \ecvitem[10pt]{Computer skills}{\LaTeX, Tikz, jPicEdt, Matlab, Mathematica, C/C++, \LaTeX Draw, Mayura Draw, MS Office.}   \ecvitem[10pt]{Hobbies}{ Chess, Movies, Photography, Watching Sports Channels}    %\ecvitem[10pt]{Other skills}{Creating pieces of Art and visiting Modern Art galleries. Enjoy all sports particularly cricket, hockey and football. Love to travel and experience different cultures.}    %\ecvitem[10pt]{Driving licence}{A, B}      %\ecvsection{ADDITIONAL INFORMATION}      %    %\ecvitem{Publications}{`How to do Observations: Borrowing techniques from the Social Sciences to help Participants do Observations in Simulation Exercises' Coyote EU/CoE Partnership Publication, (2002).}     \end{europecv}    \end{document}   When I run the document, I receive the error LaTeX Error: File 'skype' not found.  How can I fix it?


What is the meaning of 'permanent' in description of True Polymorph?

Following on from this question:  Casting True Polymorph on an unwilling creature (relevant parts included only):  You transform the creature into a different creature...or into an object.The transformation lasts for the duration, or until the target drops to O hit points or dies. If you concentrate on this spell for the full hour, the transformation becomes permanent. An unwilling creature can make a Wisdom saving throw, and if it succeeds, it isn't affected by this spell. Creature into Creature: The target assumes the hit points of its new form, and when it reverts to its normal form, the creature returns to the number of hit points it had before it transformed. If it reverts as a result of dropping to O hit points, any excess damage carries over to its normal form. As long as the excess damage doesn't reduce the creature's normal form to O hit points, it isn't knocked unconscious. Creature into Object: If you turn a creature into an object, it transforms along with whatever it is wearing and carrying into that form. The creature's statistics become those of the object, and the creature has no memory of time spent in this form, after the spell ends and it returns to its normal form.  The consensus seems to be that if the creature fails the Wisdom save, you can transform it into a weak creature like a slug or an object like a cup, and can then wait for 61 minutes concentrating on the spell, then stamp on the item and kill it, permanently, because that was its new permanent form. But this seems terribly unbalanced, requiring a single wisdom save to be failed (and these can be influenced with features such as Heightened Spell and Magical Ambush) to kill any creature which can be polymorphed, no matter its stats. This also seems to make True Polymorph a better version of Power Word Kill (if delayed and requiring a save) since it is completely uncapped by health, only by Wisdom save proficiency, as well as including many other functions. This makes it seem unlikely this is the correct interpretation of True Polymorph since it renders another (already weak, for that level) spell almost entirely pointless. I presumed the spell to be saying that after one hour of concentrating on it, the polymorphed form no longer needs to be concentrated on and could last forever, but will still revert back to the original form if reduced to 0 HP, as described in the linked question where the creature (polymorphed into crafting materials) was cut apart. This seems to make much more sense and retains balance. Which interpretation is correct? Does the 'permanent' section overrule the 'transforms back if reduced to 0 hit points' part?


I am new to Ubuntu and i want to install iTunes through playOnLinux.. Every time I open playOnLinux though , i get the following error :   PlayOnLinux is unable to find 32bits OpenGL libraries. You might encounter problem with your games   and then this error :   PlayOnLinux cannot find wine (from Wine) You should install it to use PlayOnLinux   My ubuntu version is 16.04..  What I'm supposed to do ??


Graphic proof of the limit = $\sqrt{2 + \sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2 + ...}}}}}} $

I am trying to prove that: $\sqrt{2 + \sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2+\sqrt{2 + \cdots}}}}}} = 2$ with the following figure:    The approach I'm trying to follow is to show that you can evaluate the sum and it will be between, for example, $2+\sqrt{2}$ and $4$. Also, I see a pattern with the triangles that are formed by the evaluation of the functions and how they decrease in size and are similar.  Any suggestion?


Selecting isolated polygons which are not donuts but may overlap using ArcGIS Desktop?

I'm exploring a few different options for this process and I'm unsure what would be most effective. I'm trying to find all isolated, non-intercepting polygons in the same layer (not to merge). Most share boundaries, and a few overlap. Area varies so it unfortunately cannot be the deciding factor for selection (e.g. selecting by max area). I'm using ArcMap 9.3.1.   I created a 10 meter buffer around the polygons, erased the center of my buffer features, then select all polygons that intersect the buffer, thinking I'll just do a switch selection. The problem is that all polygons get selected, I guess because the selection is too tolerant. I don't want merely tangent/touching boundaries, I need them to overlap within the buffer (in effect, avoiding selection of those polygons each buffered feature is created from). The "are within" of course selected nothing. I wonder if dissolve can be used.  edit: as per request, here's a pic representing what I mean by isolated - no other polygons border it from any side.


What is a word for a "soft" confused voice by a crowd?

Tumult means a "loud" confused voice by a crowd. What is a word for a "soft (as the antonym to loud)" confused voice by a crowd? Imagine that you have made a statement to a crowd, and rather than a tumult, you hear confused whispers from the crowd that is clearly due to their confusion/disagreement/shock? E.g. "I can hear you tumult as I give the news that war is coming close." "I could see your tumult as you gave your back to your enemy and fled." Whisper is not useful, because it does not imply confusion or disarray.


compare two csv files and fetch matching data

I have two .csv files namely file1.csv and file2.csv  file1.csv  ADIS BAP3 Mercury_System nxh-2003 DR_FeatureUP_PT   file2.csv  ADIS,projects.adis EcoSystems,projects.ecosystems em1xxxsw,projects.em1xxxsw BAP3,projects.bap3 Dirana4,projects.dirana4 Mercury_System,projects.mercury_system nxh-2003,projects.nxh-2003 DocStore,projects.docstore DR_FeatureUP_PT,projects.dr_featureup_pt   Desired output.csv  ADIS,projects.adis BAP3,projects.bap3 Mercury_System,projects.mercury_system nxh-2003,projects.nxh-2003 DR_FeatureUP_PT,projects.dr_featureup_pt   I have already tried couple of codes below, but none of them worked for me as per the requirement  grep -Ff file1.csv file2.csv > outfile.csv  awk -F, 'NR==FNR{seen[$0]++;next} ($1 in seen)' file1.csv file2.csv > outfile.csv   file1.csv contains 2500 rows and file2.csv contains 118 rows, so it should compare and give me only results which are matching to file2, output should be matching to 118 rows/results.


Flag indicator present on Meta, but no flags visible

It looks as if the 10k-tools flagged post list is b0rken.  Next to the review link in the toolbar there is a flag counter showing there are 10 flags to be reviewed:    Clicking on that flag counter leads to an empty page:        The moment I visit that page (through clicking on the flags counter, or by going to the review queue first then clicking on Tools, selecting the flags tab if not already selected), the flags counter disappears from the toolbar:    but after a while (half an hour, an hour?) the flag count re-appears in the toolbar.  Either the counter is wrong (presumably taken from a Redis cache somewhere) or the 10k flag review page is falling over every time someone tries to load it.  This at first appeared to happen only on Meta, on Stack Overflow the flags page has plenty to review. However, there are now  on Stack Overflow.


What impact do indexes have on the performance of table modifications?

I have always wondered what the effect indexes have on table modification in SQL Server. Will modification of a table will be slower with an increased number of indexes applied to that table?  My gut feeling says that this will induce overhead of re-indexing but I could be wrong.


Deriving trigonometric derivatives in a purely geometric manner

Is there any geometric way to derive basic trigonometric derivatives (without using the cos/sin of the sum formula)?   For example: $\dfrac d {dx}\cos x=-\sin x$


Energy conservation in General Relativity

I understand that energy conservation is not a rule in general relativity, but I'd like to know under what circumstances it can still be possible. In other words, when is it possible to associate a potential energy to the gravitational field, so that the energy is constant in the evolution of the system?  Here are some examples, is there a convenient way to define energy in these scenarios?   Just a system of gravitational waves. A point mass moving in a static (but otherwise arbitrary) space-time. Equivalent (if I'm not mistaken) to a test mass moving in the field of a second much larger mass, the larger mass wouldn't move. Two rotating bodies of similar mass.   Overall, I'm trying to understand what keeps us from associating a potential energy to the metric. When we break the time translation symmetry of a system by introducing an electromagnetic field, we can still conserve energy by defining an electromagnetic potential energy. Why can't we do the same when we break TT symmetry by making space-time curved?


Why is micro 4/3 autofocus so much faster than DSLR live mode focus?

Both a DSLR in live view mode and a micro 4/3 system camera use the main sensor for autofocus. However, on a DSLR it's embarrassingly slow.  This can't just be a software thing. How is it that one is so much faster?


Sequence converges iff $\limsup = \liminf$

I want to prove that a sequence of real numbers $\{s_n\}$ converges to $s$ if and only if $\limsup_{n \to \infty} s_n = \liminf_{n \to \infty} s_n = s$.  Here are my definitions:  For any sequence of real numbers $\{s_n\}$, let $E$ be the set of all subsequential limits of $\{s_n\}$, including possibly $+\infty$ and/or $-\infty$ if any subsequence of $\{s_n\}$ diverges to infinity.  Then $\limsup_{n \to \infty} s_n = \sup E$, and $\liminf_{n \to \infty} s_n = \inf E$.  I know the theorem that a sequence converges to a point if and only if every one of its subsequences converge to that same point, so one direction of this proof is easy:  If $\{s_n\}$ converges to some point $s \in \mathbb{R}$,  then every subsequence of $\{s_n\}$ converges to $s$.  So the set $E$ of every subsequential limit of $\{s_n\}$ consists of the single point $s$, so $$\limsup_{n \to \infty} s_n = \sup \{s\} = s = \inf \{s\} = \liminf_{n \to \infty} s_n$$  But the other direction seems more tricky...  If $\limsup_{n \to \infty} s_n = \liminf_{n \to \infty} s_n = s$, then every convergent subsequence converges to the same point $s$.  Also, there can be no subsequences which diverge to infinity (otherwise $\limsup_{n \to \infty} s_n$ would be $+\infty$, or $\liminf_{n \to \infty} s_n$ would be $-\infty$).  But can't there be subsequences which diverge otherwise?  And wouldn't that throw off the convergence of $\{s_n\}$?    EDIT:  I'd also be willing to accept a solution which makes use of the "Pinching Theorem" (if $a_n \leq s_n \leq b_n$ for every $n \in \mathbb{N}$, and if $a_n \to s$ and $b_n \to s$, then $s_n \to s$).


NullPointerException with read properties file in java

When load the properties file I get a java.lang.NullPointerException  This is a simple java swing application, try to read the properties file with following code get java.lang.NullPointerException:  InputStream inputStream; Properties properties;  inputStream = new FileInputStream("C:/Config/config.properties"); properties.load(inputStream);


For the command:  apt-cache show google-chrome-stable   I get:  Package: google-chrome-stable Version: 7.0.517.44-r64615 Architecture: i386 Maintainer: Chrome Linux Team <chrome-linux-packager@google.com> Installed-Size: 76076 Pre-Depends: dpkg (>= 1.14.0) Depends: ca-certificates, libasound2, libatk1.0-0 (>= 1.13.2), libbz2-1.0, libc6 (>= 2.6-1), libcairo2 (>= 1.4.0), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.2.1), libgconf2-4, libglib2.0-0 (>= 2.14.0), libgtk2.0-0 (>= 2.12.0), libjpeg62, libnspr4-0d (>= 4.7.1), libnss3-1d (>= 3.12.3), libpango1.0-0 (>= 1.18.3), libpng12-0, libstdc++6 (>= 4.2.1), libxslt1.1, libxss1, lsb-base (>= 3.2), wget, xdg-utils (>= 1.0.1), zlib1g (>= 1:1.2.3.3.dfsg-1) Conflicts: google-chrome Replaces: google-chrome Provides: google-chrome Priority: optional Section: net Filename: pool/main/g/google-chrome-stable/google-chrome-stable_7.0.517.44-r64615_i386.deb Size: 21896322 SHA1: 2a09d457180a77a6d1472f24562feb43c2184cf5 MD5sum: eff030c9ebee87eb3abff1ce95f65796 Description: The web browser from Google  Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.  Package: google-chrome-stable Status: install ok unpacked Priority: optional Section: web Installed-Size: 108380 Maintainer: Chrome Linux Team <chromium-dev@chromium.org> Architecture: i386 Version: 17.0.963.83-r127885 Replaces: google-chrome Provides: google-chrome, www-browser Depends: libasound2 (>> 1.0.22), libbz2-1.0, libc6 (>= 2.11), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgcc1 (>= 1:4.1.1), libgconf2-4 (>= 2.27.0), libgcrypt11 (>= 1.4.2), libglib2.0-0 (>= 2.18.0), libgtk2.0-0 (>= 2.18.0), libnspr4-0d (>= 4.7.3-0ubuntu1~) | libnspr4 (>= 4.8.7-0ubuntu1), libnss3-1d (>= 3.12.3), libpango1.0-0 (>= 1.20.0), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 4.4.0), libx11-6 (>= 0), libxext6 (>= 0), libxfixes3 (>= 1:4.0.1), libxrender1, libxss1, zlib1g (>= 1:1.2.3.3.dfsg), ca-certificates, libcurl3, libatk1.0-0 (>= 1.30.0), lsb-base (>= 3.2), xdg-utils (>= 1.0.2), wget Pre-Depends: dpkg (>= 1.14.0) Conflicts: google-chrome Description: The web browser from Google  Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.


I have been trying to solve a question that arose in my mind a couple of days ago.  What is the sum of:     $1+4+9+16+25+\cdots +n^2$?   It is the sum of squares of each numbers starting from $1$ to $n$.  Can there be any formula for this sum?


I am trying to convert base64 to Binary in SQL, but I am not getting the proper results I need. The string I am testing is QQ==.  I can convert to varbinary fine, but I need the actual binary output.  Using the following code I get the value 0x41 but I need the value 01000001.  Select CAST(N'' as xml).value('xs:base64Binary("QQ==")','varbinary(20)')   Is it possible to get the exact Binary from base64?


Can you please advise the best ubuntu version for my old laptop with spec below? CPU: AMD E-450 APU with Radeon(tm) HD Graphics x2 Ram: upgraded to 5.5 GiB Harddisk:upgraded to SSD  Can I also try the most updated ubuntu version? Thanks All.


I think I can complete the square of any quadratic, is it true? (Any reason to ever use Quad. Formula?)

I was taught that you could only complete the square of a quadratic if the coefficient on the $x^2$ term is 1.   However, playing a little bit with other quadratics, I've found that it's just not true. Based on the CTS algorithm, you just need to divide the coefficient of the $x$ term by twice the square root of the coefficient of the $x^2$ term.  So, if you have $ax^2 + bx + c$, your perfect square would be $(\sqrt{a}x + \frac{b}{2 \sqrt{a}})^2$  If $a$ is not a perfect square it could get nasty, but then you can just square the whole quadratic and go from there.  For example:   In the equation $5x^2 + 6x + 5 = 0$, we could do:  $25x^2 + 30x + 25 = 0$  $(5x+3)^2 = -16$  $5x+3 = \pm4i$  $x = \pm \frac{4i}{5} - \frac{3}{5}$   My questions are:  -Is this correct?  -Is there ever an advantage to using the quadratic formula?  -Are there quadratics that are unsolvable this way?


How to separate iMessages with shared Apple ID?

My son and wife both have iPod Touches and I have an iPhone. We all used the same Apple ID and turned on iMessage. Both my son and wife were getting texts from my friends and my work on their iPods, I think because my cell phone number was linked to the Apple ID.  If I just turn off iMessage on my iPhone, will that solve the issue?


How to install Torchlight from GamersGate on Ubuntu?

I know it's easiest on Steam but I got the game from GamersGate which lets you download the game with their own installer. I'm asking about this game specifically because I know it runs on Linux. Is there a way to install it on (X)ubuntu?


Why does including brackets in a TikZ datavisualization label give me an error?

My questions concerns the following MWE:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \begin{document} \tikz[scale=4]     \datavisualization[         school book axes,         visualize as smooth line=myfunction,         myfunction={pin in data={text=$f(x)$}}]     data [set=myfunction, format=function] {         var x : interval [0:1];         func y = \value x^2;     }; \end{document}   which makes the following pretty graph:   The problem is that when I try to change my label text from $f(x)$ to $f[x]$ I receive the error Missing $ inserted. on the line containing };.  I figure it probably has to do with TikZ parsing the brackets before math-mode gets to them, but I don't know how to fix it. I tried replacing [ and ] with \[ and \] but this didn't help at all. I also realized that I could replace $f[x]$ with $f$[$x$], but this seems like the wrong way to go.  How can I include brackets in my label?


Whenever someone visits intern.old-company-name.example.com I would like it to get redirected to https://intern.new-company-name.example.com. One way to do it would be  <IfModule mod_rewrite.c>     RewriteEngine On     RewriteCond %{HTTPS} off     RewriteRule ^(.*) https://intern.new-company-name.example.com$1 #    RewriteRule ^(.*) https://%{HTTP_HOST}$1                                                              </IfModule>   but I don't like that I hardcode the outer sub domain intern into the httpd.conf.  Question  Would it be possible to do a regex on %{HTTP_HOST} so old-company-name gets replaced with new-company-name before the redirection to https? Or perhaps something similar?  Update  # apachectl -S VirtualHost configuration: 10.10.10.10:443     is a NameVirtualHost          default server a.y.b.com (/etc/httpd/conf.d/ssl.conf:85)          port 443 namevhost a.y.b.com (/etc/httpd/conf.d/ssl.conf:85) Syntax OK


I'm well aware that the default answer to this textbook default question is "it doesn't work", but still, I believe it does.  To cool the insides of the fridge, the compressor must do work, and since the efficiency isn't 100% you are constantly warming the whole room to cool it's insides, the winning move here is simply turning the fridge off. However, let's suppose the fridge must stay on, wouldn't it be better to open the door?   In other words: Isn't opened fridge turned on better than closed fridge turned on for the whole room temperature?


Tips for driving on a different side of the road?

I am from India where we drive on the left side of the road and although I have reasonable experience driving in India I find it quite scary to drive in the United States as they drive on the right.  Also, driving in India is quite different from driving in the US due to different rules and regulations and restrictions on lane changing etc.  I know many travelers do not seem to have this issue and find it quite comfortable to drive on either side. Are there any tips for driving on the other side of the road?


Limit SQL query to only the top two counts per group

If I have a DB table called FAVORITE_FLAVOR where each row has a user's favorite flavor of ice cream.  User ID | Flavor      | State 1       | Chocolate   | CA 2       | Vanilla     | ND 3       |   Chocolate | CA 4       | Rocky Road  | CA 5       | vanilla     | CA 6       | Vanilla     | CA 7       | Vanilla     | CA   Now, if I want to query the 2 most popular flavors in each state (normalizing capitalization and whitespace), I could query:  SELECT state, INITCAP(TRIM(flavor)), count(INITCAP(TRIM(flavor))) AS total FROM favorite_flavor GROUP BY state, INITCAP(TRIM(flavor)) ORDER BY state ASC, total DESC;   Which returns:  CA | Vanilla    | 3 CA | Chocolate  | 2 CA | Rocky Road | 1 ND | Vanilla    | 1   Now, I only wanted to know the top 2 flavors per state. How do I limit the query so that Rocky Road is no longer listed.


Looking for ''test management tool'' for manual testing

I am researching Test Management tool for creating test plan, test cases, test coverage, test matrix, reports and also should integrate with automation tools with providing some features for e.g. test modifications, duplication, test coverage etc.


looking for a dyslexic colour tint for my screen

I am looking a program to put a green colour tinted filter over my screen? can anyone help?


EXC_BAD_ACCESS (code=2) in C when trying to change value in string

This code throws the EXC_BAD_ACCESS Error when trying to set t[j]to t[j+1] and i dont understand why?  #include <stdio.h> #include <ctype.h>  int strclean(char *t){     int tmp2 = 0;     if(t == NULL){         return -1;     }     int i = 0;     while(t[i] != NULL) {         if (isprint(t[i]) == 0 || isspace(t[i])) {             tmp2++;             for(int j = i; t[j]!=NULL;j++){                 t[j] = t[j+1];               //throws error             }             i--;         }         printf("%c\n", t[i]);         i++;     }     t[i] = "\0";     return tmp2; }  int main() {     printf("%d\n", strclean("fg h ear p\n"));     return 0; }   thank you for the help in advance!


Prove that $\int_\gamma z^n\,dz=0$ for any $\textit{closed}$ path $\gamma$ and integer $n\neq -1$

We know that if $\gamma$ is a curve in the complex plane parameterized by a function $z(t)$ which is a continuously differentiable function from the interval $[a,b]$ into $\mathbb{C}$ and $f$ is analytic on an open set containing $tr(\gamma)$, then $w(t)=f(z(t))$ is differentiable on $[a,b]$ and $w'(t)=f'(z(t))z'(t)$. Use this result to prove that $\int_\gamma z^n\,dz=0$ for any \textit{closed} path $\gamma$ and integer $n\neq -1$, assuming that $tr \gamma$ does not contain the origin if $n<0$.  1st Try: Suppose that $n\geq 0$, then $z^n$ is analytic everywhere. By Goursat's Lemma, the integral is $0$.  When $n<-1$, then $z^n$ is analytic everywhere except at the origin. But I am allowed to assume that $0\not\in tr\gamma$. So again the integral is $0$.   The problem is that I haven't use the assumption.  Note I am not allowed to use Cauchy's Integral Formula.


Find the limit of $\sum\limits_{n=0}^\infty \frac{n}{3^n}$

Hi all What would the best way/method be to approach this, any advice would be appreciated


Explanation of Output of Bitwise operations

void main()  {  int x=7;  printf("%d",x&(x-1)); int y=6;  printf("%d",y&(y-1));  printf("%d",y>>2);    }   When I put an odd number I get output n-1 where n is a odd number but when i put y= even number I get output 0.I am not able to understand this please help.   My second question is that when i print y>>2 that is 6>>2 I get ouput 1.Please explain me this also. I know these are bitwise operations but my concept is not clear.Thanks


I applied for a short stay visa at the french embassy. The plan was to stay in France for the whole, and I have applied with only France as the destination.  Now we are thinking of visiting other countries in the Schengen area. And I have found this in their FAQ    And I have also found this  stating that entry is allowed for "FRANCE (+1 TRANSIT SCHENGEN)"  Does this mean that I will get a visa for France only? And if so what are the possibilities of visting other schengen contries on such visa.


How can I add thickness to a curve? I already tried with the extrude and depth options in the curve settings, but it doesn't work properly.


What are the meta, super, and hyper keys?

In System -> Preferences -> Keyboard -> Layout -> Options ->Alt/Win key behavior  What do meta, super, hyper mean?


Nondegenerate 2-forms exist on even-dimensional manifolds

Let $M$ be a smooth manifold. Recall that a 2-form $\omega$ on $M$ is called nondegenerate if for each $p\in M$ and $v\in T_pM-\{0\}$, there exists a $w\in T_pM$ with $\omega(v,w)\neq 0$. By linear algebra it can be seen that existence of a nondegenerate form implies that $ \dim M=n$ is even. Is it true that the following converse holds?: if $M$ is even-dimensional then there is a nondegenerate $2$-form on $M$. First I thought that this can be shown by an elementary partition-of-unity argument, but I realized that sum of nondegenerate forms need not be nondegenerate..


Something's been bugging me about SO for a while now, that is the inaccuracy of "length of time" strings.  The best example I can give at the moment is .  If you look at the length of time he's been registered, it says 1 year.  He joined the site September 2008, which is only 3 months off two years.  It's the same with answers - you can give an answer 50 seconds before anyone else, but at certain times page views will show both as "5 minutes ago" or whatever.  That's not quite as bad, but with answers being sorted "randomly by votes" by default you could lose out on votes or being marked as the correct answer to the slower answer even if they're both the same.  There's probably a better method amongst these, IMO:   "Vulgar fraction" unicode characters     Member for 1½ years   answered 5¼ minutes ago asked 3⅓ hours ago  Different units   Member for 21 months (at least it's better than "1 year") Answered 306 seconds ago (ugly, I know) Asked 64 minutes ago (also ugly)  Combining units   Member for 1 year 9 months (fits easily on the profile screen) Answered 5 minutes 6 seconds ago (probably too long) Asked 3 hours 20 minutes ago (also long)  Rounding up   I personally prefer option 1, unicode fraction characters.  "Member for 21 months" is pretty good too because it's easy to quickly work out.  "Asked 452 seconds" ago is horrible though.  EDIT: I'm completely aware of the timestamp hover because I am forced into using it so much. It's a great feature, but it's not really in your face so not everyone knows about it. I still think there's a better "glancing" solution than having to hover over the time string.


Generating a map from a shapefile using ms4w mapserver

I am trying to generate a map from a shapefie. Through some initial searching, I wrote the code below but I am getting just a white page.  Below is my code:   MAP # To enter comments into a mapfile add a # symbol at the beginning of the line  NAME parcels1_map STATUS ON SIZE 800 800 EXTENT 489885 5450946 490904 5451637 UNITS METERS SHAPEPATH "shapefiles" IMAGECOLOR 255 255 255  WEB TEMPLATE "template.html" IMAGEPATH "C:/ms4w/Apache/htdocs/siya/output/" IMAGEURL "siya/output/" END  LAYER NAME "parcel1_boundaries" DATA states STATUS DEFAULT TYPE POLYGON CLASS NAME "parcels1_color" COLOR 255 215 0 END END  # end of map file END


Is complement of an algebraic set also algebraic in $\mathbb{A}^n(k)$?

Is complement of an algebraic set also algebraic in $\mathbb{A}^n(k)$, where $k$ is arbitrary field? My Solution: Let $V$ be an algebraic set i.e. $V = V(F)$ for some $F =\{f_{\alpha}: \alpha \in \Lambda \}$. Assume that $U := \mathbb{A}^n(k) -V$  is also an algebraic set. Then, $U$ and $V$ are both Zariski open and closed set in $\mathbb{A}^n(k)$. Thus, $\mathbb{A}^n(k)$ will be disconnected. Doubt: I am not sure how to conclude after this. Is it true that $\mathbb{A}^n(k)$ is connected in Zariski topology? If yes, why?


Iterating through collection. What are the differences?

If we have 2 ways to iterate :  First :  Object ob; ArrayList<Obect> list; for(int i=0;i<list.size();i++) { //Todo}   Second :  Object ob; ArrayList<Obect> list; for(Object o:list) { //Todo}   So what are the differences ? I found that in second case , if try to remove object in this cycle , I get a concurrent modification exception.


Incompatibility: biblatex / tableofcontents / tikz / springer class?

I am completely stumped by the following MWE, on which any run of pdflatex except the very first run results in a citation-free .bcf file, whereupon biber complains:  WARN - The file 'mwe.bcf' does not contain any citations!  The problem disappears if I do either one of the following:   comment out \tableofcontents; comment out \usepackage{tikz}; switch the documentclass from  (downloaded ) to amsart.   \documentclass[smallextended]{svjour3} % \documentclass{amsart} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{Knuth:2014,     Author = {Knuth, Donald E.},     Howpublished = {\url{http://www.informit.com/articles/article.aspx?p=2213858}},     Title = {Twenty Questions for Donald Knuth},     Year = {2014}} \end{filecontents}  \usepackage[backend=biber,backref=true]{biblatex} \bibliography{\jobname} \usepackage{tikz}  \begin{document}  \tableofcontents   \section{One} \cite{Knuth:2014} \printbibliography[heading=bibintoc]  \end{document}   If debugging(?) the Springer classes is (understandably) deemed not tex.se’s job then I’d still appreciate a pointer on where else to ask.


Define $\|\cdot\| \colon V \rightarrow \mathbb{R} $ by $\|a\| =\sum 2^n |a_n| $, then choose the correct option

Define  $\|\cdot\|\colon V  \rightarrow \mathbb{R} $ by $\|a\| = \sum 2^n |a_n|  $,  where  $V$ denotes the vector space  of all sequences  $a=(a_1,a_2,a_3,\dotsc)$ of real numbers such that $\sum 2^n |a_n|  $ converges.  Which of the following are true?  1) $V$ contains only the sequence $(0,0,\dotsc)$  2) $V$ is finite dimensional  3) $V$ has a countable linear basis  4) $V$ is a complete normed space  My answer:  it is already given that $\sum 2^n |a_n|  $ converges. That  means $V$ contain contains  only the sequence $(0,0,\dotsc)$ so option 1) is correct.  Option 2  is  incorrect because  $\mathbb{R}$ is  uncountable, as continuous image of uncountable  is  uncountable.  I'm confused  about option 3 and option 4.  Please help me.  Any hints/solution will be  appreciated.


Visit the UK with an expired French identity card

I am French. Can I enter Britain with an expired French identity card ?


Boy born in space needing to somersault and spin to counteract earth's rotation

What is the title of the book I read in the 1960s or 1970s about a boy that somersaulted and spun throughout the day?  As he grew it became worse. The boy claimed he had a need to do this to feel right. His parents convinced him to "save it all up" till the end of the day and do it all at once in the privacy of their home.  In the end they discovered that the boy, being born in weightless space, was affected by earth's rotation / gravity (?), and that made him feel tangled up. I can't remember details and may have some of this incorrect. The book may have been targeted at young readers (teens).


I understand how to use delimiters in php's preg_match(), just not why I have to use them.


Google thinks my search is automatied and won't let me search

I connect to the internet through a VPN service. Is there anything I can do to not receive this? I'm not doing anything suspicious and the first Google search I do yields this. I trust Google enough that I don't mind them knowing my identity but I know of no way to exempt certain websites from VPN. The next time this happens (which isn't always) I'll try logging into my Google account.


Is it appropriate to ask for help refactoring or simplifying code?

I am new to coding (and this site) and want to know if it would be appropriate to post asking for help refactoring.  I do not know how to simplify or refactor anonymous inner classes.  I guess I could place the whole thing in its own method but I'm wondering if there are other solutions.  I am using action listener to add elements to a table and it is working as intended.  The issue I am having is that my anonymous inner class is rather huge and I don't really know how to refactor those.  What solution is generally used when anonymous inner classes get too big?  Can it be simplified with lambda expressions (I know I would need to post the code for this to be answered/answerable)?  These questions seem like they might be too vague to be acceptable on this website so I wanted to know if it was appropriate to ask for help with this here.  If not here, does anybody have any suggestions for other websites or more education on the topic?


Steam .  In order to get them, you're supposed to play specific games (currently there are  supported, but they've said more will come).  However, I can't figure out how to actually get the cards.  I played a bit of Portal 2, but didn't find any cards.  Do I need to find/pick up actual cards within the game?  Do I get them for completing certain objectives/achievements?  Do I need to beat the game?  How do I get cards?


Limit of $s_n = \int\limits_0^1 \frac{nx^{n-1}}{1+x} dx$ as $n \to \infty$

Let $s_n$ be a sequence defined as given below for $n \geq 1$. Then find out $\lim\limits_{n \to \infty} s_n$.   \begin{align}   s_n = \int\limits_0^1 \frac{nx^{n-1}}{1+x} dx  \end{align}  I have written a solution of my own, but I would like to know it is completely correct, and also I would like if people post more alternative solutions.


apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))

I am new in ubuntu and i am trying to download ROS at the moment. the idea of repository keyrings are still new. However i am getting somewhere and making progress. this error seems to render my installation useless, please help me out of this. I have tried the ls/etc/apt/sources.list.d and rm files.. but nothing happened. the next message tells me to 'Manage keyring files in trusted.gpg.d instead' what to do please guide. thanks


How to define mathematical functions by the action on an element?

I would like to define a mathematical function by its action. Something like       \documentclass{article}      \begin{document}      \[         \begin{array}{cccc}          f\colon & R\times R & \rightarrow & R\times R\\                  & v & \mapsto & f(v)         \end{array}       \]       \end{document}   In this way, spacing is horrible. What is the best way to produce it?  I want the elements in the second line centered with respect to the element of the first line.


Output in a virtual console (tty1) ridiculously slow; possible graphics acceleration issue

Some time ago on an older computer running Ubuntu I noticed the output on a virtual console (e.g. tty1) is slow. It wasn't an issue there and barely even noticeable.  But now on my new laptop with Manjaro Linux (derived from Arch) it's sometimes ridiculously slow. I think it's different than the situation , therefore my question is not a duplicate. I suspect graphics acceleration issue.  I found out that the issue is heavily affected by the processor clock speed.  shows how it looks like at 800 MHz.  Possibly relevant info from dmesg:  [    0.474770] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [    0.478826] vesafb: mode is 1920x1080x32, linelength=7680, pages=0 [    0.478827] vesafb: scrolling: redraw [    0.478828] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0 [    0.478843] vesafb: framebuffer at 0xa0000000, mapped to 0xffffc90001000000, using 8128k, total 8128k [    0.661095] Console: switching to colour frame buffer device 240x67 [    0.842325] fb0: VESA VGA frame buffer device [    2.301199] fb: switching to inteldrmfb from VESA VGA [    2.363655] fbcon: inteldrmfb (fb0) is primary device [    2.363698] Console: switching to colour frame buffer device 240x67 [    2.363705] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device   The scrolling: redraw part looks interesting, though I'm not sure it means anything, since it says switching to inteldrmfb from VESA VGA.  Output of fbset -i:    mode "1920x1080"      geometry 1920 1080 1920 1080 32      timings 0 0 0 0 0 0 0      accel true      rgba 8/16,8/8,8/0,0/0  endmode   Frame buffer device information:      Name : inteldrmfb      Address : 0xa0000000      Size : 8294400      Type : PACKED PIXELS      Visual : TRUECOLOR      XPanStep : 1      YPanStep : 1      YWrapStep : 0      LineLength : 7680      Accelerator : No   Some additional tests to document the difference:   time python -c "for i in range(100): print(\"hi\")" shows me 0.03s on xfce4-terminal and 0.23s on a virtual console. time echo -e "\033c" 0s on xfce4-terminal and 0.14s-0.16s on a virtual console. time man gpm (and pressing Q while it opens up) instantly on xfce4-terminal, 3s-4s on a virtual console.    This is especially frustrating while scrolling through man pages. Interestingly nano doesn't seem to be affected by this.  How to make my virtual consoles render text with decent speed?


Can we insert Legend with only features that are in a shapefile?

I want to insert legend which have 40 labels data, since, the imported symbology have 90 labels, all the labels are getting inserted in the legend.   I do not want to remove them manually from the legend so is there an automated way?


I want to do the layout described here    Is it possible to finish the task by using CSS only? I have tried some ways. But It's hard to keep a fixed margin between the img and text.  For the flex layout.The span's width may larger than the text real width like this:    .img-text {   padding: 0;   display: flex;   align-items: center;   justify-content: center; }  .img-text img {   width: 32px;   object-fit: contain;   margin-right: 8px; }  .img-text span {   text-align: center; }
      unexpected happened,Something unexpected happened             Something unexpected happened,Something unexpected happened,Something unexpected happened


Let $A$ be a square matrix. Prove that $A$ and $A^t$ have the same eigenvalues.    The solution my lecturer uses is: Consider the characteristic polynomial  \begin{align} P_{A^t}(x) &= \det{\left(xI-A^t\right)} \\ &= \det{\left((xI-A)^t\right)} \\ &= \det{(xI-A)} = P_{A}(x). \end{align}  Since the characteristic polynomials are equal and the eigenvalues are the roots of the characteristic polynomial, the eigenvalues will be the same.  However some of the steps he has taken seem to have come out of nowhere. How do we know $(xI-A^t) = (xI-A)^t$, also how do we know $(xI-A)^t=(xI-A)$?


Trying to find the culprit taking up space on Catalina HD

I am at a loss of how to clear up system files manually on a 2017 MBP. Upon running du -h -d 1 I get;    Now the private folder is way too big and I am cautious to clear that out. I know I could clear the private/var files to an extent but want to try and avoid that. The user caches say they are  only taking up 7.3GB, after running du -sh ~/Library/Caches.   Any guesses of where/what I can purge to get this system's storage down? Any help is greatly appreciated.


Suppose you want to estimate the average age of all Boeing 737-300 airplanes now in active domestic U.S. service. You want to be 95% confident, and you want your estimate to be within one year of the actual figure. The 737-300 was first placed in service about 24 years ago, but you believe that no active 737-300s in the U.S. domestic fleet are more than 20 years old. How large of a sample should you take?  Solution says that E = 1 year, the z value for 95% is 1.96, and s is unknown, so it must be estimated by using s approximately equals to (1/4) * (range). As the range of ages is 0 to 20 years, s = (1/4)(20) = 5  Why do we use 1/4 * range for standard deviation ?


How do I change Ubuntu to Lubuntu installation?

I have loaded Ubuntu 15.10 in place of Windows XP, but it is slow and hangs.  The laptop i have has Celeron M380 1.4Ghz 1GB ram and 160GB HDD. I would like to change to the lighter Lubuntu for a smoother operation, but I don't know how to do this.    I installed Ubuntu from a bootable disk but don't have a disk of Lubuntu so will have to download. What is the simplest method?


function of input size N, combination problem

Can someone please elaborate how from $(N+1)+N+(N-1)+(N-2)$ one can get $=  1/2(N+1)(N+2)$?  also how to prove that: $(N-1)+(N-2)+...+3+2+1+0 = \frac{N(N-1)}{2} = {N \choose 2}$ ?  Thank you!


Categories with $C \times 0 \cong 0$ for all objects $C$

In $Sets$, the initial object is $0 = \emptyset$. We have $C \times \emptyset = \emptyset$ for any set $C$. As there are no maps to the empty set, we don't get much of the universal property of the product.  I am now wondering what is special about arbitrary categories $\mathscr{C}$ with $C \times 0 \cong 0$ for all objects $C$ of $\mathscr{C}$, where $0$ is the initial object of $\mathscr{C}$.   From Sheaves in Geometry and Logic by MacLane (p.194), in any topos $\mathscr{C}$, any arrow $k:C \to 0$ is an isomorphism. The universal property of the product would then also not yield very much.   Are there any categories of higher interest?


Why does $\mathop {\lim }\limits_{n \to \infty } \left\| {T{x_n} - \lambda {x_n}} \right\| = 0$?

Let $T \in B(X)$ and $\lambda  \in \sigma (T)$, why is there a sequence like $\left\{ {{x_n}} \right\}$  in $X$ with $\left\| {{x_n}} \right\| = 1$ such that $\mathop {\lim }\limits_{n \to \infty } \left\| {T{x_n} - \lambda {x_n}} \right\| = 0$?


Install Ubuntu on clean disk - on 100GB only

I don't know match about Ubuntu ... sorry if my question is stupid :(  I try to google it - but still does not understand   I hold DVD with Ubuntu 16.04 and i have machine with 500GB  I want to install Ubuntu on as the first operation system ( i need to setup 3 linux destrabution ) on the first 100GB of the disk.   On the installation i have the display of the partition - and where i want to install the Ubuntu - but i don't understand what to fillup here.


Exercise: If $f:X\rightarrow Y$ and $g: Y\rightarrow Z$ are both onto functions, prove or disprove, $g\circ f:X\rightarrow Z$ defined by $(g\circ f)(x)=g(f(x))$ is an onto function.  Just a little confused on how to do this problem. I know what an Onto function is, and what a composition function is but I don't know how to approach this problem, please help? thanks


Can hacker delete my server files and database where I am using below function?

I want to know how to protect my website from hacker. I am a php-mysql developer. For fetching data from database i always use mysqli. For prevent my website from sql injection i always use  $db->real_esacpe_string() function of php. For prevent my website from XSS(Cross site scripting) i used this function  function parsing($text) { global $db;         $text=$db->real_escape_string($text);  $text= @trim($text);        $text= strip_tags($text);  if(get_magic_quotes_gpc()) {             $text= stripslashes($text);         }     $text=str_replace('<','',$text);     $text=str_replace('>','',$text);           $text=htmlspecialchars($text, ENT_QUOTES, 'UTF-8');     return($text); } $name=parsing($_POST['name']);   Any suggestion from your side is welcomed. Thanks in advance.


When to use Javascript prototype instead of regular object format

In Javascript, there are two ways you can define an object's properties:  First way  var myObject = {   property1: function () {..},   property2: function () {..} };   Second Way  var myObject = {}; myObject.prototype.property1 = function() {...}; myObject.prototype.property2 = function() {...};   When I looked up prototype online, I found that it is used to add properties to an existing object. So, if you have an object which was created by a third party library, then you can add extra properties to it. What I don't understand is why you would use prototype for custom objects created in your own code. However, I have found many times (especially in Drupal core) that prototype is used this way. Why is this?


can I use VMware vsphere hypervisor license on multiple host on different network? Apologize that one license is used in a farm in India and I will use the same license in a farm in UK. Obviously I ask if is technically possible. Thanks


This is a very elementary question but I can't find the answer in my book at the moment.  If I have, for example, two vectors $v_1$ and $v_2$ in $\mathbb R^5$ and knowing that they are linear independent , how can I extend this two vectors to a basis of $\mathbb R^5$. I  know that I just have to add $v_i$ for $3\leq i \leq 5$ such that they are linear independent but how can I do that? Is there an easy algorithm?


"He is loved", is 'loved' an adjective or a verb?

He is loved.   This is something that I've always kind of wondered.  In a sentence like this, is loved a verb or an adjective? Can it be considered either?


How to check if a string in Python is in ASCII?

I want to I check whether a string is in ASCII or not.  I am aware of ord(), however when I try ord('é'), I have TypeError: ord() expected a character, but string of length 2 found. I understood it is caused by the way I built Python (as explained in ).   Is there another way to check?


I am getting warned about my flagging history, but my last declined flag was over a week ago

I tried to click on edit on a post on SFF, but I accidentally clicked 'flag' instead. When I went to close the box, I noticed this message on the bottom:      Attention: some of your recent flags have been declined - please review them before flagging this post!   My last declined flag was on the 8th. It is now the 16, and i'm getting this message again. Please fix this!  Note - I have been flagging today, and all of them were marked helpful.  Note #2 - it gives me the warning, but I can still submit the flag.


Is it possible to Pivot data using LINQ?


Why is $\lim_{x\to\infty} \frac{1}{x}$ equal to $0$?


Concerning a book [1] I am reading the symbol $\in$ was first used by  and is the first letter $\epsilon$ () of the word  (means "is"). Does anyone know in which work of Peano $\in$ was first used?  [1] Ingmar Lehmann, Wolfgang Schulz: "Mengen, Relationen, Funktionen" (3. Auflage, 2007), page 10  Similar question:


jQuery onclick not firing on dynamically inserted HTML elements?

My onclick event works. However, when that onclick event is on dynamic HTML, it no longer works. As in: nothing happens.  $(document).ready(function () {     $("#guestlist .viewguestdetails").click(function () {                 $(".guestdetails[data-id='18']").toggle();     }); });   I'm then dynamically adding this HTML to a page:
         (add your data)
             some data

   However, when I then click on "(add your data)" nothing happens. When I have the HTML staticly in my page, this toggling of the 'guestdetails' div does work. It seems that there is no event attached to dynamically inserted HTML?  UPDATE:  The new dynamic HTML I'm inserting i a row in an existing table. The other rows already have events attached to the onclick events, like:  $("span.guestattendance").click(function () {     if ($(this).hasClass('checkbox-on')) {         $(this).removeClass('checkbox-on').addClass('checkbox-off');         $("#guestday").removeClass('checkbox-on').addClass('checkbox-off');     }     else {         $(this).removeClass('checkbox-off').addClass('checkbox-on');                     if ($("#guestceremony").hasClass('checkbox-on') && $("#guestreception").hasClass('checkbox-on') &&         $("#guestdiner").hasClass('checkbox-on') && $("#guestparty").hasClass('checkbox-on')) {             $("#guestday").removeClass('checkbox-off').addClass('checkbox-on');         }     } });   Since a user can insert more than 1 row, I didn't use the id, but rather added a wrapper around the  element I'm inserting:      and then in ready() function:  $('.newrow_wrapper').on('click', 'span', function () {     $(".guestdetails[data-id='" + $(this).attr('data-id') + "']").toggle(); });   The first problem however, is that apparently when I wrap a div around a tr tag, all tr and td tags are removed from the inserted HTML! Also when I click the span to view guestdetails nothing happens.


SOQL to pull child record id from associated parent

I want child record id with associated parent record id (e.g parent id=a8u540000004CWVAA3). I need all the associated child record ids given that parent Id  SELECT Name,id, (SELECT ID FROM CHILD OBJECT__R)  FROM parent object__c  where id IN ('a8u540000004CWVAA3','a8u540000004CWBBC4')


How to get SSH client IP Address using shell script?

In SSH server, I want to get the connected client IP address.  I use  $ who or $ w can get logged information(include client's IP address)  I just want client's IP address (one thing), use in shell script


I have installed AppArmor but when I start it it says  * AppArmor not available as kernel LSM.   how can I resolve this?


def x(lst):    z = 0    for a in range(len(lst)):        for b in range(len(lst)):            mx = lst[0][0]            if mx > z:                z = mx               return z.   I'm trying to find the complexity Big O of the function. So with the nested list, it would be O(n^2), but it also had a condition statement that would go through all the elements in the list, so would it it be O(n^3) ?


Is there a way to show the console in a Windows application?  I want to do something like this:  static class Program {     [STAThread]     static void Main(string[] args) {         bool consoleMode = Boolean.Parse(args[0]);          if (consoleMode) {             Console.WriteLine("consolemode started");             // ...         } else {             Application.EnableVisualStyles();             Application.SetCompatibleTextRenderingDefault(false);             Application.Run(new Form1());         }     } }


So, I have a script that needs to install a software but the script needs to be run as root.   I have created a desktop icon on the GUI (using Ubuntu desktop) where ideally, the user will click this icon, it will prompt for password and then run the script as root.  So far the script does what is intended if ran as root, but not as the user. Script looks like this:   #!/bin/bash -l  zenity --question --text "This script will reboot after installation is complete" --title="Warning\!" 2> /dev/null if [ $? = 0 ]; then   install dependencies    dpkg -i package.deb   etc fi  reboot   However, if I click on the icon to run the script, it loads and it doesn't do anything, then I check the logs and realize that it fails: sudo: no tty present and no askpass program specified I know I can modified the sudoers files but I do not want to do this as I need to keep this user independent.  Is there a way to force when running the script to ask the user to become root? or to force the GUI to ask for a password? what is the best way to get this done? I need users to run this program but I need to run the program as root and sudo is not doing it for whatever reason.


Adding a random delay for a Linux command

I am using  to perform parallel commands on our servers.  The other day, we had an issue when a service restart of puppet via func made all our severs hit our puppetmaster at the same time.  My question: How can I execute the same exact command on a set of servers while adding a delay before it's executed on the individual servers?  E.g.: random_delay && service puppet restart  I am interested in the random_delay part of the command.


Sending a simple TCP message using Netcat

I am trying to use netcat to send a simple message over TCP, e.g. I want to send the digit 1.  So I understood that I write the following in the terminal, after installing netcat  netcat [ip-address] [port]  But how do I specify the message to be sent? i.e. where to I write "1" ?


Eulerian Paths in a Complete Graph $K_5$

As the title suggests, I’m simply looking for a method to compute the number of Eulerian Paths in the complete graph $K_5$, where all paths start from the same node. Since there are 5 nodes, all Eulerian paths must be Eulerian circuits as well.  Thanks.


I have an apparently corrupted 128Gb SD Card. I do not care about the data (it was backed-up), but I would like to be able to reformat it and use it.  I tried under linux, without much success:  root@rennes:~# blkid | grep exfat /dev/sde1: UUID="896E-A113" TYPE="exfat" PTTYPE="dos" root@rennes:~# mount /dev/sde1 /mnt/usb FUSE exfat 1.2.8 WARN: volume was not unmounted cleanly. root@rennes:~# ls -lh /mnt/usb total 128K drwxrwxrwx 1 root root 128K Oct 19 06:53 Kiwix root@rennes:~# umount /dev/sde1  root@rennes:~# mkfs.fat /dev/sde1 mkfs.fat 4.1 (2017-01-24) root@rennes:~# mount /dev/sde1 /mnt/usb FUSE exfat 1.2.8 WARN: volume was not unmounted cleanly. root@rennes:~# ls -lh /mnt/usb total 128K drwxrwxrwx 1 root root 128K Oct 19 06:53 Kiwix root@rennes:~# umount /dev/sde1  root@rennes:~# parted /dev/sde GNU Parted 3.2 Using /dev/sde Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel msdos Warning: The existing disk label on /dev/sde will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? Yes                                                                (parted) mkpart primary fat32 1MiB 100%                                    (parted) set 1 boot on                                                     (parted) quit                                                              Information: You may need to update /etc/fstab. root@rennes:~# mkfs.fat /dev/sde1                                      mkfs.fat 4.1 (2017-01-24) root@rennes:~# mount /dev/sde1 /mnt/usb FUSE exfat 1.2.8 WARN: volume was not unmounted cleanly. root@rennes:~# umount /dev/sde1   etc... Even dd is hopeless.  I finally tried the formater tool from SD Card Association (), and got the following error message:    (Edit:  Invalid end of sector signature: 0x2DB6 exfat_check_validate_boot_sector returned error: 22 (invalid argument) Initializing cached values failed: 22 (invalid argument) Generated invalid volume. exfat_check_validate_boot_sector returned error: 22 (invalid argument)   )  So, my question is: can I format my SD card? How? Or should I just throw it away...  Thanks,


How do I get a UGA iTek ITUGA17D1 DisplayLink USB adaptor to work?

I really need to  with a linux distro. For first I choose Ubuntu but I do not have particular preference... I need to run a 37" monitor in vertical way so with 1080x1920 resolution.  Can you provide me a working solution? I tried a lot of forum solution but no one works.  I really need your help. Thanks in advance!


Just installed Ubuntu 15. Completely deleted Ubuntu 14. However, running a 3GHz with 1 gigabyte of RAM, I'd think Ubuntu would 'fly'. Ubuntu 15 is much slower than Ubuntu 14 was and I wouldn't begin to know why. Any advice?


Hypernym for queue, file, row, column, and stack

Words like row and rank imply that people/things are arranged horizontaly (beside each other), while words like queue and column imply a vertical positioning (behind each other). I need a word that can stand for either regardless whether the positioning is horizontal or vertical. Does it exist in English?


Visualforce Charting rendererFn with Chart label

I am using rendererFn for chartTips "<apex:chartTips height="40" width="120" rendererFn="renderChartTip"/>" and it changes the label for hover over the bar chart. We need the same behavior for bar chart on the Axis for apex:chartLabel:  <apex:chartLabel display="middle"  id="barchart"> but calling the JS method same way as chartTips doesn't work in this case.  If I call the below mentioned JS method from rendererFn for both chartTips and apex:chartLabel, chartTips  works perfectly both nothing happens for chartLabel.  JS Method:


I am trying to create a set from a list which I need it to be in order.      someList = ['from', 'from', 'who', 'are', 'are', 'frost', 'fire', 'are']  someSet = set(list)   Doing that yields a random ordered sets.  I need it to always be in order like  someSet >> {'from', 'who', 'are', 'frost', 'fire', 'are'}


Anyone have a quick method for de-duplicating a generic List in C#?


Is there a difference in meaning among 'should', 'happens to', or 'should happen to'?

What is the difference in the meaning of following sentences (I'm asking for detailed anlaysis of these sentences)   If it rains, I will stay at home. If it should rain, I will stay at home. If it should happen to rain, I will stay at home If it happens to rain, I will stay at home.  Can I say 'there is no difference in the meaning among 2 ,3 and 4 sentences ? There is no difference in the meaning and usage among 'should', 'happen to' or should happen to' together. Do they all mean 'by chance' ?   Again , i would like to know if the following sentences are grammatically correct or not:  1.If she should happen to read the newspaper, she would see your article.  2.If they should agree to come ,we would be delighted.  Source :perfect English grammar.com in Advanced conditionals Explained (pdf )


Why don't I have the latitude and longitude lines?

This is from:   \documentclass{standalone}  \usepackage{tikz}  \usetikzlibrary{calc}  \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt} \newcommand\pgfmathsinandcos[3]{%  \pgfmathsetmacro#1{sin(#3)}  \pgfmathsetmacro#2{cos(#3)}}  \newcommand\LatitudePlane[3][current plane]{% \pgfmathsinandcos\sinEl\cosEl{#2} \pgfmathsinandcos\sint\cost{#3}  } \newcommand\LongitudePlane[3][current plane]{% \pgfmathsinandcos\sinEl\cosEl{#2} \pgfmathsinandcos\sint\cost{#3}  \tikzset{#1/.estyle={cm={\cost,\sint*\sinEl,0,\cosEl,(3,0)}}}}  \newcommand\DrawLatitudeCircle[2][1]{ \LatitudePlane{\angEl}{#2} \tikzset{current plane/.estyle={cm={\cost,0,0,\cost*\sinEl,     (3,\cosEl*\sint)}}} \tikzset{current plane/.prefix style={xscale=\R,yscale=\RR}}  \pgfmathsetmacro\sinVis{tan(#2)*tan(\angEl)}   % angle of "visibility" \pgfmathsetmacro\angVis{asin(min(1,max(\sinVis,-1)))}    \draw[current plane] (\angVis:1) arc (\angVis:-\angVis-180:1);   \draw[current plane,dashed,black!80] (180-\angVis:1) arc (180-        \angVis:\angVis:1);   } \newcommand\DrawLongitudeCircle[2][1]{   \LongitudePlane{\angEl}{#2} \tikzset{current plane/.prefix style={xscale=\R,yscale=\RR}} % angle of "visibility"  \pgfmathsetmacro\angVis{atan(sin(#2)*cos(\angEl)/sin(\angEl))} %  \draw[current plane,black] (\angVis:1) arc (\angVis:\angVis+180:1);  \draw[current plane,dashed,thick,black] (\angVis-180:1) arc (\angVis-180:\angVis:1);   }   \begin{document}  \begin{tikzpicture} \def\R{2} \def\RR{1.6}  \def\angEl{15} %\filldraw[ball color=gray!10] (6,0) circle[x radius=\R, y radius=\RR]; \foreach \t in {-80,-70,...,80} { \DrawLatitudeCircle[\R]{\t} } \foreach \t in {-5,-35,...,-175} { \DrawLongitudeCircle[\R]{\t} } \end{tikzpicture}  \end{document}     I appreciate your help.


Why do I sometimes see a count (usually 5-7) of suggested edits on my SO toolbar and sometimes nothing shows?


What to do for code formatting bug on StackOverflow?

Looks like SO's code formatting has a bug and it's ignoring first few lines no matter what I do. Not sure who to contact but if you know the solution or can tell how to forward to SO's developers that would be great.  Answer that has bad code formatting bug:


Running .exe applications with wine embed

Is possible to "bind" a .exe application with a "Wine Portable version" to run it in a ubuntu system? avoiding installation of Wine?


Populating a dynamically allocated 2D array

I am trying to populate a dynamically allocated 2D array.  Specifically, I am trying to input random numbers into an array.  Code below:  #include <stdio.h> #include <stdlib.h> #include <time.h>  int main(void) {  int i, j, num_students = 10, num_grades = 4; int **array;  srand(time(NULL));   array = malloc(sizeof(int *) * num_students);  for (i = 0; i < num_students; ++i)     array[i] = malloc(sizeof(int) * num_grades);  for (i = 0; i < num_students; ++i) {     printf("Student %d has grades: ", i);     for (j = 0; j < num_grades; ++j)         array[i][j] = rand() % 101;         printf("%d ", array[i][j]);      printf("\n");     free(array[i]); }  free(array);  return 0;  }   The output:  Student 0 has grades: 0  Student 1 has grades: 0  Student 2 has grades: 0  Student 3 has grades: 0  Student 4 has grades: 0  Student 5 has grades: 0  Student 6 has grades: 0  Student 7 has grades: 0  Student 8 has grades: 0  Student 9 has grades: 0    I do not know why it is printing 0 instead of the random numbers.


I have an iPhone 4S running iOS 5 and cannot find (after trying) any app that blocks calls. Is there anything out there that can block calls on the iPhone?


Do enough rude/offensive flags auto-delete a comment?

I know that if a post accumulates six offensive (or spam) flags it is auto-deleted.  What happens with comments?  Do enough "rude or offensive" flags on a comment also auto-delete it?  (Spam isn't a flag reason for comments.)  If so, what is the threshold?  If comments can be auto-deleted by flags, do reasons other than rude/offensive trigger it too, or just that one?


Let's say I have a List of the following:  a b c d e f g h i j k   Now I want to split this into, let's say two parts.  There are 11 items in the list, so the first sublist would contain 5 items, and the second sublist would contain 6 items.  How would I go about to achieve this result?


How does holodeck keep people from running into the walls?

I can understand how the holodeck creates virtual environments. But I don't see any mechanism that prevents people from walking into walls. Are the floors moving? Are they in a different dimension that has more space? Do they simulate the feeling of movement while keeping you stationary?  Some simulations appear to take up far more physical space than the holodeck would allow (as in people are physically all over the virtually created world - like Voyager's 24/7 running Irish city).


If someone edits a post of mine, and they have not commented on that post, I cannot ping them if I want to respond to or comment on their edit.  I can leave a comment and hope and pray and cross my fingers that they see it, but that only goes so far.  Could it be made possible to ping someone who edits a post, at least as an option to the author of the post (if not to everyone)?


Where does TeXlive 2014 locate font files on Ubuntu 14.10 ?

I have a supposedly trivial question and I'm having a hard time finding an answer.  How can I determine the directories where fontspec is looking for OTF files?   I want to edit FontAwesome.otf with fontforge following these instructions:    On an Ubuntu 14.10 machine with TeX Live 2014 installed I edited this font and saved a duplicate in the following directories because I found copies or links to FontAwesome.otf.  /usr/share/texlive/texmf-dist/fonts/opentype/public  /usr/share/texmf/fonts/opentype/public  /usr/share/texlive/texmf-dist/fonts/opentype/public   After editing the corresponding cls file XeLaTeX and LuaLaTeX still can't find the new font.  I installed the FontAwesome package by sudo apt-get install fonts-font-awesome. The FontAwesome TeX package was downloaded automatically. I don't know whether this downloaded another copy of the font.


hello everyone I have question     Q   Let $f:A\rightarrow B$ and $C\subset B,D\subset B$. Prove that $f^{-1}(C\backslash D)=f^{-1}(C)\backslash f^{-1}(D)$?   Notice,  (the inverse image not inverse function)  I hope some one can prove  thank you


I was trying a CSV using "," as the split delimiter but when I checked the file, I found that the CSV contains , in the field example "id26305","This process, however, afforded me no means of ascertaining the dimensions of my dungeon; as I might make its circuit, and return to the point whence I set out, without being aware of the fact; so perfectly uniform seemed the wall.","EAP" I am using Java and here's my code to read the file. Any Suggestions? private static ArrayList<Record> readRecordFromCSVFile(String filename){     File f=new File(filename);     ArrayList<Record>r=new ArrayList<>();     try {         BufferedReader br = new BufferedReader(new FileReader(filename));         String line=br.readLine();         String line2="";          while ((line2 = br.readLine()) != null) {             String[]attributes=line2.split(";?(?:(?:\"((?:[^\"]|\"\")*)\")|([^;]*))");             Record record=createRecord(attributes);             r.add(record);          }      } catch (FileNotFoundException e) {         e.printStackTrace();     } catch (IOException e) {         e.printStackTrace();     }     return r; }


Fire entry event for journey with multiple email addresses

Is it possible to send a rest request to the journey builder API with multiple email addresses in the payload instead of just one? Like below?     { "ContactKey": "DD301", "EventDefinitionKey": "APIEvent-0dbe46de-74f9-a309-7778-298c0a563e5", "Data": {     "SubscriberKey": "DD30103003",     "Email": "la.la@lala.com",     "First_Name": "first",     "Last_Name": "name" }"ContactKey": "DD302", "EventDefinitionKey": "APIEvent-0dbe46de-74f9-a309-7778-298c0a563e5", "Data": {     "SubscriberKey": "DD30103004",     "Email": "la1.la@lala.com",     "First_Name": "second",     "Last_Name": "name" }


shows this:    Navigating to  reveals that the {{> yield}} code markup was removed.


Blender game engine Armature mouse control

I am creating an online shooting game. How do i control my armature arm with mouse like other online games? So the gun will always shoot to the middle of the target. Previously, I successfully done that by seperating the arms and the arms armature and use game logic to set mouse actuator on it.But i just changed my rig to improve the movement . I tried the same method but it didn't work. Here is the file.  Really hope you can help me with it. Been struggling with this for the whole day.


I am travelling from India to Vancouver with my family which includes my wife, my 5-year-old daughter, and my 9-month-old son. We all have Indian passports.  We have a layover at Narita Airport Tokyo for 11 hours 30 minutes and want to book a hotel.  Do we need a visa to go outside the airport. What else can we do?


How to remove illegal characters from path and filenames?

I need a robust and simple way to remove illegal path and file characters from a simple string. I've used the below code but it doesn't seem to do anything, what am I missing?  using System; using System.IO;  namespace ConsoleApplication1 {     class Program     {         static void Main(string[] args)         {             string illegal = "\"M<>\"\\a/ry/ h**ad:>> a\\/:*?\"<>| li*tt|le|| la\"mb.?";              illegal = illegal.Trim(Path.GetInvalidFileNameChars());             illegal = illegal.Trim(Path.GetInvalidPathChars());              Console.WriteLine(illegal);             Console.ReadLine();         }     } }


I have seen this several times, Server running debian and pve. This will happen in pve lxc centos, What's the reason?


What are the pixel needs for huge prints?

I've read  and I've read  but I wonder what happens when you go huge.  I've been experimenting with huge panoramas, typically they are about 15,000 pixels across. How big can this realistically be printed? Yes, I can divide by 300 and then by 12 and get a bit over 4 feet wide. I can also require the viewer to stand so far away and not get up to close.  But printing something like this, especially printed to metal, costs an arm and a leg and I'd like to see if anyone has had real experience printing huge. Does going huge let you bend the rules? Could my 15k image be printed 8 feet wide and the sheer mass of it negate any low resolution badness?


I really want to upgrade but if I do I need to be able to downgrade. I also want to know the spec are right for my system info.  System Info  Memory 2.0 GiB Processor Intel Pentium(R) 4 CPU 2.80GHz x 2 Graphics are Gallium 0.4 on AMD CEDAR OS type 32 bit Disk 90.1 GB


Removal of bounty from a Stack Overflow question

Can I remove a bounty which I set on a question if none of the answers satisfy me?


Is it true that the Fibonacci sequence has the remainders when divided by 3 repeating?

About this Fibonacci sequence, is it true that the remainders when divided by three repeat along with the sequence like this:  Fibonacci sequence:  $1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946\cdots$  Remainder when divided by $3$ sequence:  $1, 1, 2, 0, 2, 2, 01, 00, 01, 01, 02, 000, 002, 002, 001, 000, 0001, 0001, 0002, 0000, 00002\cdots$  I made each one the same number of digits to align them to avoid confusion.  Is it true that it happens every eight numbers?  If so, how and why does this happen?


TeX document won't read Latin characters

I'm using TexWorks to write a document, but everytime I open my document some characters aren't read, and the result is this:    How can I solve this problem?   Ps: The language I'm using is portuguese.


Sort files and folders together by name (not by type)?

In windows explorer i don't know how can i sort files and folders by name one after the other. For example i have this list in a folder (order is false, only example):  alfa [folder] anto.rar beta [folder] gamma [folder] gin.zip   and i try to sort by name - explorer gives me back as a result:  alfa [folder] beta [folder] gamma [folder] anto.rar gin.zip   But i want this order  alfa [folder] anto.rar beta [folder] gamma [folder] gin.zip   I want a solution that will give me then the ability to select multiple files as described in this post:   Thanks in advance


How to add a class to anchor tags using the get_the_tag_list(); function?

What's the easiest way to add a class to the anchor tag using the get_the_tag_list() function?   For example by adding;  if(get_the_tag_list()) { echo get_the_tag_list('

','

','

'); }   Will return something like this;

Tag 1

Tag 2
  ...
   I just need something to add a custom class to the anchor. Thank you.


One of our servers has a 20gb / partition and it is getting full. Is there any safe way to take some space from the 2TB /home partition and allocate it to the / partition without losing data?  Thanks.


Suppose that f is a one-to-one analytic function mapping the disc $|z|<1$ onto a bounded domain D. Show that the area of D is given by $$A(D)=\pi \sum_{n=1}^{\infty} n|a_n|^2$$, where $\sum_{n=0}^{\infty} a_n z^n$ is the power series for f in $|z|<1$.  This is a practice problem from Fisher's complex variables chapter 3.5 and I can use the fact that $$A(D)=\int \int_{|z|<1} {|f'(z)|}^2 dxdy$$ for the above problem. I am not sure where to start but I am considering using the summation of singularities and cauchy integral to get the result (although I am not sure how to apply them.)


Ambiguity in formatting operation in python

def hello(input, *args):     s=input.replace('%0','{0}')     v=s.format(args)     return v  assert "hello stack"==hello("hello %0","stack")   I am getting ASSERTION ERROR and  the output is : "hello ('stack',)"   instead of  "hello stack".....WHY???


Can high-rep users be allowed to see meta notifications?

As a moderator on HSM, I'm notified when a new meta post is started on HSM meta by a diamond on the top bar lighting up in blue. Here it is, not lit up.    Don't judge the big bright orange 12; we're going through a site self-evaluation as of this screenshot.  On other sites, I'm extremely active on meta, occasionally more so than on the main site itself. I check daily for new and/or active questions.  Proposal: Let users of sufficiently high rep see the same notifications as moderators. This would be quite handy for those active on meta.  One thing to consider, though, is that not all high-rep users are active on meta, and not all users active on meta have a lot of rep. I would guess there is a correlation, but I can't support that hypothesis.    I considered posting this on , but I don't think it should be limited to those with 30k rep.


I am trying to figure out how to measure the performance of several python threads in my application. I currently have several tasks that are executing on different threads based on user input and I would like to measure the execution time, maybe even memory consumption of each of the threads. I have tried to use cProfile (on each instantiation of the thread, then I would write the data to a file and then aggregate all results) with limited success. Also, I have an added problem of having some blocking IO which is skewing my results. Is there anyway to effectively profile my application?


I already subdividied the surface, but still getting this raw shadows in between of the spheres.   What can I do?


Can I avoid reinstalling from scratch? Upgrade failing with "dpkg-divert: error: rename involves overwriting - with different file - not allowed

I asked for assistance about a month ago, but haven't received a single response.  If I asked incorrectly or broke etiquette rules I am truly sorry.    My original question was this:     I ran 12.04 LTS forever without a hitch.  Realized I was falling behind, so I took the plunge.      First problem was that I had to take a phased approach; couldn't upgrade directly to 14.  But packages for 13.x were no longer available on US servers (I'm in San Diego).  I selected "Best Server", and it took me to Singapore.  All good.      First upgrade I did over SSH, from my LAN.  Went from 12.04 to 13.04.  It took a few hours, but went without a hitch.  Everything tested good.      Next upgrade (13.04 to 13.10) I did over SSH, from work.  Again took a few hours, but everything went smoothly.      When I got home I decided to go for the gold, and kicked off the final upgrade (from 13.10 to 14.04) from the local machine.  First I changed the source from Singapore back to the US.  Then I started the upgrade.  It went well, but eventually started returning errors.  First was a minor error, which said the install would continue.  After two or three I received a message that the install failed and would be halted.  But it continued.  I noticed that the video kept turning off and on.  I allowed it to continue to completion, after a few more errors.      The end state is that the host machine appears to lock as soon as it boots.  However I am able to SSH into the machine, and it appears to be functioning properly.  I believe the problem is with X-Windows.  I have an NVIDIA adapter, which I believe may be problematic with this release.  I would really like to fix this install, instead of reloading from scratch.  From the remote machine I just attempted the following command:  sudo apt-get -f install       And received this error (leaving off most of the output):  The following packages will be REMOVED:   xserver-common-lts-trusty  The following NEW packages will be installed:   libglamor0 libspice-server1 libxatracker2 xorg xserver-xorg   xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse   xserver-xorg-input-synaptics xserver-xorg-input-vmmouse   xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-ati   xserver-xorg-video-cirrus xserver-xorg-video-fbdev   xserver-xorg-video-glamoregl xserver-xorg-video-intel   xserver-xorg-video-mach64 xserver-xorg-video-mga   xserver-xorg-video-modesetting xserver-xorg-video-neomagic   xserver-xorg-video-nouveau xserver-xorg-video-openchrome   xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon   xserver-xorg-video-s3 xserver-xorg-video-savage   xserver-xorg-video-siliconmotion xserver-xorg-video-sis   xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident   xserver-xorg-video-vesa xserver-xorg-video-vmware  Fetched 2,819 kB in 7s (369 kB/s) Extracting templates from packages: 100% (Reading database ... 382361 files and directories currently installed.) Removing xserver-common-lts-trusty (2:1.15.1-0ubuntu2~precise1) ... Removing 'diversion of /usr/lib/xorg/protocol.txt to /usr/lib/xorg/protocol-precise.txt by xserver-common-lts-trusty' dpkg-divert: error: rename involves overwriting `/usr/lib/xorg/protocol.txt' with   different file `/usr/lib/xorg/protocol-precise.txt', not allowed dpkg: error processing package xserver-common-lts-trusty (--remove):  subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing:  xserver-common-lts-trusty E: Sub-process /usr/bin/dpkg returned an error code (1)       Is there anything I can do to get this fixed, short of starting from scratch?   Instead of restating the question I would simply like to ask; is it possible for me to fix this failed installation?  Or am I doomed to starting over?  I have the system working like I want so I really hope I don't need to reload.  But if I do, is there a recommended way to back up what I have, so I don't need to totally reinvent the wheel?  Thanks in advance for your assistance.


Trying to search for words with ' characters in them in chat seems to return odd results.  For example searching for you're in the DMZ gives  .This seems to happen with any words that have an apostrophe in them.  It doesn't appear to be just stripping the ' characters and returning results for that as hel'lo returns no results where hello obviously does, also  and  return different results.  Adding " characters round the search query doesn't seem to affect the results.


Have Peter Capaldi's previous acting roles in the Doctor Who universe ever been addressed?

Similar to this question posted in August 2014:       Has the fact that  (as  in The Fires of Pompeii, and  in Torchwood’s Children of Earth season) yet been addressed/explained either in, or out of universe?


In which should I let my gears when not biking?

I heard from a friend I shouldn't let my bike "resting" with the combination biggest front ring and the smallest back ring because in his words "it keeps the system under tension".   Does it make sense? How should I let the gears?


Enum or actual table to store category with Entity Framework?

I am using Entity Framework Code First to build my database. I have categories which do not change often, but could potentially change in the future. Would it be better practice to store the category data in enums or in an actual table? Below is an example of the ways I would implement the two approaches:  With an enum:  public enum Role {     Administrator, Employee, Developer }  public class User {     public int ID {get;set;}     public string Name { get; set; }     public Role Role { get; set; } }   With a separate table:  public class User {     public int ID { get; set; }     public string Name { get; set; }     public int RoleID { get; set; } // Foreign key to Role table     public virtual Role Role { get; set; } // Navigation property for Role }  public class Role {     public int ID { get; set; }     public string RoleName { get; set; } }


Retrieving emails that I dumped in Feb and would like to get them back

Is it possible to retrieve emails that I deleted in Feb as I didn't think I needed them but in hind sight should have kept them ?


How to paste a file in /etc/x11/xorg.conf.d

I found a way to stop video tearing and stuttering where I need to make a file and paste it to /etc/x11/xorg.conf.d but it keeps saying “access denied”. How can I gain access and paste a file in that folder? Thank you in advance.


Lets say I have the html as below:  <h3 class="search-result-title">             This is a test             <small class="search-result-subtitle">                 Some more explanation             </small>         </h3>   How can I filter the text This is a test  without the small ?  Edit: I am using it with the symfony Dom Crawler.   So I have filter(a. h3 search-result-title); But I don't want the contents of the small element.


Difference between "did save" and "saved"

What is the difference between the two following sentences?     1) Where did you save that file?   And      2) Where you saved that file ?


Is there a bulletproof way to know a file has been successfully decrypted?

I am wondering whether there is a bulletproof way to know if one is successful in decrypting a file.   As an example, say I encrypt a text file and protect it with a 3 letter password. I use brute force to decrypt it, but two different passwords lead to a file that contains English intelligible text. Is there a way for me to know which one is the original one? In other words, is there an infallible way to know I've entered the password correctly?


How can I fix Malformed entry 51 in list file /etc/apt/sources.list (URI parse)


Is it true that :  $\frac {n}{5} < \phi (n) < n$ for all $n > 1$ where $\phi (n)$ is  .  Since $\phi(n)$ has maximum value when $n$ is a prime it follows that maximum value of $\phi(n)$ in term of $n$ is $n-1$ , therefore $\phi(n)< n$ for all $n$. What is the best lower bound for $\phi(n)$?


Alternative methods of evaluating the Gaussian integral $\int_{-\infty}^{\infty}e^{-z^2}dz$

A long while ago (at university) I learned the following (fairly standard) method for evaluating $I:=\int_{-\infty}^{\infty}e^{-z^2}dz$ by squaring $I$ then using polar coordinates:  $$ \begin{align} I^2 &= \int_{-\infty}^{\infty}e^{-z^2}dz \int_{-\infty}^{\infty}e^{-z^2}dz \\ &= 4\int_{0}^{\infty}e^{-x^2}dx \int_{0}^{\infty}e^{-y^2}dy \\ &= 4\int_{0}^{\infty}\int_{0}^{\infty}e^{-x^2}e^{-y^2}dxdy \\ &= 4\int_{0}^{\infty}\int_{0}^{\infty}e^{-(x^2+y^2)}dxdy \\ &= 4\int_{0}^{\frac{\pi}{2}}\int_{0}^{\infty}e^{-r^2}rdrd\theta \\ &= 2\pi\int_{0}^{\infty}re^{-r^2}dr \\ &= \pi \left[ -e^{-r^2} \right]_{0}^{\infty} \\ &= \pi \end{align} \\ \\ \implies I=\sqrt{\pi} $$  I remember being amazed at the ingenuity of that first line: squaring $I$ in order to turn the single integral into a double integral.  I am curious whether any other methods are known for evaluating $I$. Especially methods that do not begin by squaring $I$.  I have not been able to do anything worthwhile with it myself. My research has yielded  method that does not require polar coordinates but still begins by squaring $I$. I have also considered complex integration using a clever contour but have not managed to complete a method.  Does anybody know of any other methods?


How is grading by curve fair at all? Are there any arguments in favor of it?

Per definition, grading by a curve usually means that the students are assigned grades based on the statistical distribution of the test/exam results. No matter what, say 20% of students will always fail, and only say 10% will get a perfect mark. I see a number of serious problems with this, and I fail to see anything in favor. In my view, for a fair system, the following are necessary; and neither are fulfilled by grading by curve:  A test/exam should have clear and absolute rules and requirements. Here, the students do not know what are the exact requirements to get the result they desire, as the point limits are, obviously, only known after the test/exam. The grade of the test should directly correspond to how much of the course material did the student learn and understand. The fact that the same ratio of comprehended material can give an A in one year, then a C in the next year,  tells that the requirements of the course itself are also very unclear. Similarly, the grade should directly and absolutely reflect the knowledge of the student. An A+ should worth the same every time in the same test. But here, the grade only reflects the student's knowledge relative to class members. It can't be correlated to the amount of learned knowledge. The grade should only be influenced by factors under the direct influence of the student. Here, the mark depends on factors like how "bright" are the other students, how much effort they put into preparation, and even on whether they cheated. Hence, the student's mark is influenced by circumstances completely outside of his control, and unrelated to his knowledge. No matter the collective results, a given number of students will always inevitably fail. If almost everyone is a genius, there will be the same number of failures as if everyone did poorly. Good students may fail, and bad students may pass. In a similar way as the point before, a student shouldn't be faced with the negative, possibly serious, consequences of failing, just because by chance there were a lot of very bright students in the class. Also, it creates and encourages an unhealthy and harmful class dynamic. Ideally, the students help each other in preparation. If an otherwise smart student doesn't understand some part and is roadblocked, others would explain. If a student missed a class due to valid reasons, classmates help to give and explain the missed material. But learning by curve creates an artificial race situation, where the students are actively harming themselves by helping others. Decimating the collective amount of obtained knowledge, this goes against the very spirit of education.  All these problems, and I'm struggling to come up with any argument in favor of grading by curve. In fact, I see only two cases where it may be used, and both of them are a fault of administration:  The department expects an exact number of students to pass the course. This is against the spirit of education IMO. If a student is good enough, he should pass. If not, he shouldn't. Regardless of others. The responsible teacher failed to set exact, absolute, and clear requirements, and/or is lazy or unable to do so. Because of his fault, the students are exposed to an unfair grading system.  Am I missing something here? Are there any objective arguments in favour of grading by curve, and what are these? If not, or they are weak, what are the reasons it's still used, apparently widely?


After successful login the screen is stuck on dark red and never shows desktop - Ubuntu 18.04

I installed Ubuntu 18.04, then continued with installing the software I need, then continued with changing some settings, then the screen froze, I had to shut the computer off with the power button. After that the computer booted fine until the login screen, whereafter a successful login a dark red screen is shown, the mouse cursor is shown and I can move it, but nothing else happens. The desktop is not shown.   The setting that I changed when it froze had something to do with indicator applets if I remember correctly, I just switched it from off to on and then the computer froze.   I have no idea how to debug or fix this. Any ideas, please?  Update The settings I changed were to show the day of week in the clock, and set lock screen to 3 minutes, change background image to the standard ubuntu image showing a mountain range. After that I toggled the indicator applets  from off to on and then the computer froze instantly, it did not even update the toggle image of the switch to on before it froze. All settings were changed through the settings GUI.


Its a kind of hairstyle that has two hair strands hanging down from the top of the head maybe at the center of it


Me and some friends developing simple 3D rendering engine as practice for the university. We used Ogre 3d as prototype and now we are developing it from base  The engine is wrapped up in simple game that asks the user to select shape (circle, triangle, square...), color and dimensions and renders the image to the screen. It also enables to move and rotate the shape on screen using mouse.  We would like to test automate the view rendering. I could not find any test framework for this issue and I would like to know how 3D test is done in non manual matter


Does Ubuntu Touch HTML5 app framework support WebGL?

I'd like to port my WebGL game for Ubuntu Touch. I guess WebKit is used for rendering so it should support WebGL...right?


What is the mathematical symbol/representation for the remainder operation?

Is there an equivalent in mathematical language to the modulo (or mod) function in computing?


In the power amplifier circuit shown if the input is an RF sine wave, with VDD=1.8V and Vgs = 1V, what will be the waveform at the drain of the MOSFET - sine or square wave? Is it possible to get a sine wave at the drain?


positive charge , current and electron flow in a simple circuit …confusion

my question is that in a simple circuit one wire attached with battery cell ,and then electrons start flowing from lower potential to higher and as we know in metal wire only electron is the thing which is carrying charge ,,, then why we say there is current and it flow opposite to electron ??? even there is no other thing , please dont go in other stuff yeah i know positive charge also moves some where like alpha particals in some cases but here in simple circuit why they dont just say electron flow ? why current and why its opposite ???


Fastboot flash recovery failed in adroid ZTE kis Q. Several methods tried

I'm trying to root my android using adb from a linux distro. When I run   fastboot flash recovery recovery-clockwork-5.0.2.0-blade.img I get  > sending 'recovery' (3768 KB)... OKAY [  0.142s] writing 'recovery'... FAILED (remote: partition 'recovery' not support flash ) finished. total time: 0.155s  I'm following this site   I have looked the solution since a while but there are not specifics about my android, I guess adb is not working correctly. What can I do?


What do you call a person who hates everyone but himself? I'm looking for a single word for this.


Will restarting the computer a lot (about 8 times in succession) damage the laptop?

I am just restarting the laptop normally from the sign-in screen buttons. Would that damage the laptop or just add wear and tear on the parts inside?


jquery check the attribute element value

<li style="padding-bottom: 0px; display: none;"> <span> Content </span> </li>   i want to check display == none  i got the solution with the below script.  if($(this).closest('li').attr('style') =='padding-bottom: 0px; display: none;'){     // script }   any other simple way to write. Thanks


Integration by parts, error on Primitive of $\sqrt{1-x^{2}}$

Problem: Integrate $\sqrt{1-x^{2}}$  Attempt:


How does a lizardfolk monk's Bite attack work?

I got an idea to build a lizardfolk sun soul monk for some cool RP with praise the sun, sunrays from reptile jaws and stuff. But then I see bite can be used as unarmed attack. From this point I have several questions about Martial Arts and Bite's interaction:   Can I use Bite instead of any unarmed attack? For example two additional bites in flurry of blows.  How does it work with Martial Arts dice? Will bite dice be similar to MA  dice? If yes, its means both sides (downgrade to d4 on low levels and get  d8 later)? How does this affect the Hungry Jaws Trait? Can I bite with Dex? Is it possible to use Bite as a bonus action?


I have these tables :  work --> id, name, description  subwork --> id, name , work_id  which work_id is foreign key for work table .   Im using this query to get results :   ("select work.*,  subwork.name from work"                        "inner join subwork on subwork.work_id = work.id")   this will return the repetitive values , on the other hand I need all of data in result so distinct is not helpful . I wanna know is there any way to get results like this :   (work_id, work_name, work_desc, (subwork_name1, subwork_name2, subwork_name3,... ))


I have been browsing the Stackoverflow site on my Firefox browser of my desktop system, and when i resized my browser, the site is not getting adjusted automatically (non-responsive).    While i browsed the site on my Android, the site looks perfectly responsive, with good UI.  Just curious to know why Stackoverflow was not made responsive for the desktops, by default. Because there are many responsive HTML frameworks available today like , ,  and .  Is there a plan for implementing this feature in the future?


starting the references from main text, not from the list

I want my references to be sorted in the order of presence in the text. I use unsrt.bst and it works well. The only problem is that before the main text starts, I have a list of figures and in the caption of some figures, I have citation. So the unsrt.bst start numbering the references from list of figures. It means that the first reference is in the list, not the main text.  Is there any way for unsrt.bst to ignore citation in list and start its numbering from the main text?


Is it possible to use \input with an url as parameter:  \input{https://mywebsite.com/mylatex.tex}   If not, is there any way to achieve this? I am using the TeX Live distribution.


Taylor's Series with Fibonacci coefficients

Can we get a function whose infinite series is in the form: $g(z) = 1 + z + 2z^2 + 3z^3 + 5z^4 + 8z^5 + 13z^6 + ... $ Or $f(z) = g(z)-1 = z + 2z^2 + 3z^3 + 5z^4 + 8z^5 + 13z^6 + ...$  where $z$ is a complex number and the coefficients are the terms of the popular Fibonacci sequence?


How can I solve this equation: $xe^{ax}=b$?

How can I solve this type of equation? $xe^{ax}=b$?


Is there one word for "take into consideration". I searched online, but didn't find any. For example,      We also have to take into consideration the fact that the        requirements might change later on.


Is verbing in "I medalled in volleyball" etc correct?

Is “I medalled in volleyball” a grammatically correct sentence? According to OED, medal is a verb and a noun. I haven't seen any usage of the word as a verb, but I am assuming the above sentence is correct.


How to add Lat/long columns to a point layer which is not in WGS84?

I need to extract the Lat/long coordinates of the centroids of districts. My QGIS project SCR and the different layers have all been set on "WGS 84 / UTM zone 18N".   I've created the centroids using the usual tool. I could then extracted the coordinates using the "Vector > Geometry Tools > Export/Add Geometry Columns", or saving the layer in CSV typing "GEOMETRY=AS_XY" in the "Layers" part of the "OGR creation options".  Nevertheless, both methods output Cartesian coordinates, whereas I need Lat/long coordinates.


I have a query string I'm trying to remove a query string parameter. What I currently have is  date=(.*)&  But this will remove anything to the last &. I only want to remove to the first occurance of the &.  So this is how it should work:  date=5%2F13%2F16&tab=1&a=b = tab=1&a=b  But mine is doing this:  date=5%2F13%2F16&tab=1&a=b = a=b  I think I probably need something around the & but I read the regex stuff and I just get more confused.


centre text exactly on an exactly specified point on path

I would like to place text exactly centred over an exactly specified point on a highly complex path as shown in this Figure:    I have developed my example by specifying the point at 0.1 from the beginning of path and adding a mark to it:  \documentclass[border=1cm]{standalone}  \usepackage{tikz} \usetikzlibrary{decorations.text, decorations.markings}  \begin{document} \begin{tikzpicture}  \coordinate (A) at (0,0); \coordinate (B) at (1, 3); \coordinate (C) at (2, -1); \coordinate (D) at (3, 0.5);  %placement of mark                                                                                \draw plot [smooth] coordinates { (A) (B) (C) (D) }; \path [    postaction={decorate},      decoration={        markings,        mark = at position 0.1 with {\fill[red] circle[radius=0.2cm];}   } ] plot [smooth] coordinates { (A) (B) (C) (D) };  %placement of text                                                                                \path [    postaction={decorate},      decoration={        text along path,        raise=0.4cm,        text align/left indent = {0.1\dimexpr\pgfdecoratedpathlength\relax},        text={here!!}   } ] plot [smooth] coordinates { (A) (B) (C) (D) };  \end{tikzpicture} \end{document}   The output is     To centre the text over the mark I would only need to replace left with center in text align/left indent = {0.1\dimexpr\pgfdecoratedpathlength\relax}. Then everything would be perfect! Unfortunately after this change the example no longer compiles.  How to fix this problem?


How exactly does buffer flushing work (Difference between std::endl and \n)?

So, I just got into 'C++' dev, and I am wondering how, exactly std::endl and \n differ. I looked it up, and I think endl flushes the buffer, which, I believe, means its no longer being temporarily stored in memory, and is now being printed out into a text file or a terminal. My question, though, is whether you can use \n for console applications too, which is printing onto a terminal, and it outputs the same. Is my interpretation of the buffer and flushing wrong? If so, what exactly does these mean?  EDIT: The question is mainly about how \n can behave the same way in the terminal if things are only outputted onto the terminal if they've been flushed.