I'm trying to color one word using hyperref package as a homework to school,I was looking for some examples in the internet how to do it...but whatever I did it doesn't work.   My preamble:      \documentclass[a4paper,10pt]{article}     \usepackage[margin=2cm]{geometry}     \usepackage[utf8]{inputenc}     \usepackage[OT4]{polski}     \usepackage[polish]{babel}     \usepackage{color}     \usepackage{enumitem}     \usepackage{makeidx}     \usepackage{multirow}     \usepackage{caption}     \makeindex     \usepackage{hyperref} \begin{document}  Źródło tekstu i ilustracji: \href{https://pl.wikipedia.org/wiki/Stanis%C5%82aw_Lem}{Wikipedia}  \end{document}   Now In PDF i need to have this looks like this     i guess its color Magenta in package hyperref but i dont know what commands i should use now in my code to color this

I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like to change the colors of various links. Any ideas or examples are much appreciated.  \documentclass{article}  \usepackage[backref=true]{biblatex} \begin{filecontents}{refs.bib} @book{cit1, title = {The backreferences should be yellow}, author = {Last, First} } \end{filecontents} \bibliography{refs.bib}  \usepackage{color} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[colorlinks=true,             linkcolor=red,             urlcolor=blue,             citecolor=gray]{hyperref}  \begin{document}  \title{Title} \maketitle \tableofcontents \listoffigures  \section{Table of content's links should be green} \label{s1} All text, captions, and section headers after the list of figures should be black. The citation links should be gray.\autocite{cit1} \subsection{Table of content's subsections links should be orange} Internal links like this section link \ref{s1}  or this figure link \ref{f1} should be blue.  \begin{figure}[h] \caption{List of figures links red} \label{f1} \end{figure}  \printbibliography  \end{document}


I stumbled upon the following problem:   Given a string, return a string made of the first 2 chars (if present), however include first char only if it is 'o' and include the second only if it is 'z', so "ozymandias" yields "oz".  Bellow is my try, but please take in consideration that I am a begginer.  public String startOz(String str) {  if(str.length()>=2 && str.substring(0,2)=="oz")      return "oz";  if(str.length()>=1 && str.substring(0,1)=="o")      return "o";  if(str.length()>=2 && str.substring(1,2)=="z")      return "z";    return ""; }      Unfortunately this code doesn't include all the possibilities, maybe is better understandable with an example, if the input would be: startOz("ozk") then instead of "oz" the output will be just a blank space.. Is there a way to salvage my attempt?

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I'm writing a function in Python where I take user input and validate it. Later I'm saving it to a variable using return. But after calling the variable, it says variable not defined. def user_input():          position = 'wrong'     position_range = range(1,10)     within_range = False          while position.isdigit == False or within_range == False:                  position=input('select the postion from (1-10): ')                  if position.isdigit()==False:             print('hey! thats not a valid input')                      elif position.isdigit()==True:             if int(position) in position_range:                 within_range=True             else:                 print('hey! thats out of range')                 within_range=False              return int(position)  user_input()  print(position)

What exactly are the Python scoping rules?  If I have some code:  code1 class Foo:    code2    def spam.....       code3       for code4..:        code5        x()   Where is x found?  Some possible choices include the list below:   In the enclosing source file In the class namespace In the function definition In the for loop index variable Inside the for loop   Also there is the context during execution, when the function spam is passed somewhere else. And maybe  pass a bit differently?  There must be a simple reference or algorithm somewhere.  It's a confusing world for intermediate Python programmers.


My girlfriend did a mistake when she deleted her session login! But, she has only one session login. Now, we can't connect to the Mac because we don't have any access... So I booted to Recovery Mode, opened Terminal.app and tried to execute:  dscl . -create /Users/mynewuser   But it doesn't work ... Terminal said : create: Invalid Path  <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)   What can I do please ?

On my mac I have 2 accounts and the both are normal account. So in this moment I don't have a Administrator account, only one that was in the past a administrator, but now is not.  How I can have again a Administrator account?


when I write    (int)dataTable1.Rows[0]["field1"]    I get an error that this is an invalid cast. The value in "field1" is "20"  when I do this   int.parse(dataTable1.Rows[0]["field1"].ToString())   it works.  But why can (int)dataTable1.Rows[0]["field1"] not be casted to an int when the value is "20". What is the difference with int.parse ?

In Jesse Liberty's Learning C# book, he says "Objects of one type can be converted into objects of another type. This is called casting."  If you investigate the IL generated from the code below, you can clearly see that the casted assignment isn't doing the same thing as the converted assignment. In the former, you can see the boxing/unboxing occurring; in the latter you can see a call to a convert method.   I know in the end it may be just a silly  semantic difference--but is casting just another word for converting. I don't mean to be snarky, but I'm not interested in anyone's gut feeling on this--opinions don't count here! Can anyone point to a definitive reference that confirms or denies if casting and converting are the same thing?      object x;     int y;      x = 4;      y = ( int )x;      y = Convert.ToInt32( x );   Thank you  rp  Note added after Matt's comment about explicit/implicit:  I don't think implicit/explicit is the difference. In the code I posted, the change is explicit in both cases. An implicit conversion is what occurs when you assign a short to an int.  Note to Sklivvz:  I wanted confirmation that my suspicion of the looseness of Jesse Liberty's (otherwise usually lucid and clear) language was correct. I thought that Jesse Liberty was being a little loose with his language. I understand that casting is routed in object hierarchy--i.e., you can't cast from an integer to a string but you could cast from custom exception derived from System.Exception to a System.Exception.   It's interesting, though, that when you do try to cast from an int to a string the compiler tells you that it couldn't "convert" the value. Maybe Jesse is more correct than I thought!


I understand that you should use 'is' for singular and 'are' for plural, but in this sentence I am not sure which applies. Take the sentence  Bees are an important part of our ecosystem.  Let's say I wanted to reword it so that the subject is at the end of the sentence. Which of these two is correct?  An important part of our ecosystem are bees.   An important part of our ecosystem is bees.  To me they both sound wrong, so I want to know how I can determine correct grammar in these cases.

In my , I provided the following, problematic,  wording (especially bold italic), and I need help to better understand this issue so I can fix my answer:1          The thing is the books. (Reduced form of Sentence 2.a)         Fundamentally, Sentence 2.a (the so-called "correct" answer), is grammatically defective. Recall there is another grammatical rule: the subject and subject's complement should match in number.    A clarification is needed here. I am not suggesting here, in this EL&U question, that there is any such singular grammatical rule as indicated in the quote above.  The quote continues as follows:     The reduced sentence makes the disagreement between the subject's and complement's plurality obvious. What is one to do? Language is linear and we know "The thing is X" is better than "The thing are X", so we go with the former, which is the subject-verb agreement rule. But what is "the books" then? It must be thought of as a collective noun, even if it doesn't look or feel like one. Forcing something to be a collective noun is related to the idea of notional agreement.   Others noted that grammatically defective is too strongly worded.  There is no such "grammatical rule" for subject/complement agreement.  Please help me understand/improve upon my line of thought here.  I'm stating that Sentence 2.1 presents a fundamental "conflict" or "error" (however one might define error) at some level (morphological, syntax, grammatical, semantic):     The thing is the books.  (Or, "The thing is the objects.")   Based on the "obvious" morphosyntactic plurality conflict, the above sentence feels so wrong that I think many native speakers would think it "simply" grammatically incorrect. However, @F.E. gives counter examples:     And here are some more grammatical examples, where the number of subject and predicative complement don't agree: "They were a problem to us all", "That so-called work of art is simply four pieces of driftwood glued together" (CGEL, page 254-5). As CGEL says: "What is required is semantic compatibility, not syntactic agreement . . .". There are more examples on page 512: "The only thing we need now is some new curtains", "The major asset of the team is its world-class opening bowlers", "Our neighbors are a nuisance", "This gadget is five different tools in one".   I think all the examples given above can be explained as notional agreement.    Question 1: If we explain this phenomena in terms of notional vs syntactic agreement, where does "grammatically correct/incorrect" fit in?  Question 2: Can a simple sentence such as "The thing is the objects." be grammatically incorrect while more complex sentences such as "The thing is four pieces of driftwood glued together." be grammatically correct?  (The answer, in my mind, must be no; this is my conundrum.)  Question 3: Would it be better to say that Sentence 2.a has a low level of (linguistic) ?   Question 4: How about a low level of  and that it's semantically difficult to be (linguistically) ?    Question 5: Do we simply draw a hard line and say "The thing is the objects." is 100% grammatically correct?  I didn't particularly like this option based on intuitive notions of "grammatically correct".    1. Please help me and be kind; I'm trying to improve my understanding. I'm looking for cool, objective advice on how to look at this.  I numbered my questions so they can be easily referenced, if desired.  My preference is the final answer would sufficiently answer all the questions, but of course that can be done explicitly or implicitly.


I want to search for questions that are tagged (F# and parsing) or (F# and parser combinators).     ([f#] [parser-combinators]) or ([f#] [parsing])   When I run the query it is converted to      [parser-combinators] or [f#] [f#] [parsing]   and returning results like    which have no F# tag, but do have the parser-combinators tag.  How do I/can I make a query using both and and or?

Please support the use of nested expressions like  and (or ) when searching.  Looking here, on meta, at questions tagged   and at questions found with +search +tag +boolean I didn't see any information on this topic.


I am starting with learning Python. I currently have the following small piece of code:  a = float(input()) b = float(3) while a < b:     print(a + 0.0001)     a+=0.0001   This counts, but there appear decimals in the end of the float. Why do they come there and what are they?  Output:

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


I'm trying to control the look of a flow activated by a visual force page. I tried the following and it doesn't work. Anyone knows how to do it?  <apex:page standardController="Case" standardStylesheets="false" >
     <flow:interview name="Basic_Trouble_Shooting" buttonLocation="top" buttonStyle="color:#800080; background-color:#fed; border:1px solid;">       <apex:param value="{!Case.Id}" name="BTS_CaseID"/>         </flow:interview>
 </apex:page>

I need to completely change the design of a Visual Workflow (Flows) I have made,  I know that I can provide a static CSS file as follows:  <apex:stylesheet value="{URLFOR{$Resourse.styles, 'styles.css')}"/>  But I don’t understand how to control the changes in each part of my Flow in the CSS file,  In Visual force markup language, this is straight forward, as this webpage show:    I can define which parts are h1, p, or even define a style class.  But how can I do this with flows? How do I even know the names of the objects in the flows?  I’m just calling the flow in my visual force page using one line:  <flow:interview name="Name"/>  Can anyone guide me to a website, pdf, or a webinar that demonstrates how to create/change a CSS static file for FLOWS?


String s="StackOverflow is heaven"; char []c=new Char[100];  c=s.toCharArray();  System.out.println(c); System.out.println("Output="+c);  Output is :-  StackOverflow is heaven               Output=[C@15db9742     Why there is a difference B/w outputs? Please Explain it

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


This is my homework problem and my answer is $\frac{250}{3}$. But it is always wrong. What should the right answer be?

Is my answer correct?   $f(x) = 2x^2 \gets$ this is the parabola   $f(3) = 2 \times 9 = 18 \to$ the parabola passes through $A (3 ; 18$), so its tangent line does too.  $f'(x) = 4x \gets$ this is the derivative   …and the derivative is the slope of the tangent line to the curve at $x$  $f'(3) = 4 \times 3 = 12 \gets$ this is the slope of the tangent line to the curve at $x = 3$  Equation of the tangent line   The typical equation of a line is: $y = mx + b$, where $m$ is the slope and $b$ is the $y$-intercept.  We know that the slope of the tangent line is $12$.   The equation of the tangent line becomes $y = 12x + b$.  The tangent line passes through $A (3 ; 18)$, so these coordinates must satisfy the equation of the tangent line.   $y = 12x + b$  $b = y - 12x \to$ I substitute $x$ and $y$ by the coordinates of the point $A (3 ; 18)$.  $b = 18 - 36 = - 18$  $\to$ The equation of the tangent line is $y = 12x - 18$.  Intersection between the tangent line to the curve and the $x$-axis: $\to$ when $y = 0$. \begin{align} y &= 12x - 18 \to \text{when } y = 0 \\ 12x - 18 &= 0 \\ 12x &= 18 \\ x &= 3/2 \end{align}  $\to$ Point $B (3/2 ; 0)$  Intersection between the vertical line passes through the point $A$ and the $x$-axis: $\to$ when $x = 3$.  $\to$ Point $C (3 ; 0)$  The equation of the vertical line is $x = 3$.  Area of the region bounded by the parabola $y = 2x^2$, the tangent line to this parabola at $(3; 18)$, and the $x$-axis.   $=$ (area of the region bounded by the parabola $y = 2x^2$ and the $x$-axis) minus (area of the triangle $ABC$)   $=$ [integral (from $0$ to $3$) of the parabola] minus $[(x_C-x_B)\cdot(y_A-y_C)/2]$   \begin{align} &= \int_0^3 2x^2 dx -\frac{(x_C-x_B)(y_A-y_C}{2}  \\ &= \left. \frac23 x^3 \right|_0^3 -\frac{(3-3/2)(18-0)}{2}  \\ &= \frac23 \cdot 3^2 -(6/2 - 3/2)\cdot9  \\ &= \frac23 \cdot 27 -\frac32 \cdot 9  \\ &= 18 - \frac{27}{2}  \\ &= \frac{36}{2} -\frac{27}{2}  \\ &= \frac92 \text{ square units} \end{align}


Every time I try to run apt-get update, I get the message below: W: GPG error: http://as-repository.openvpn.net/as/debian focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 26EB39123AAAAA96  I'm quite new to Ubuntu, and Linux/Terminal in general, so despite as much as I've looked around and tried solutions, I can't seem to solve it. I've tried sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 26EB39123AAAAA96 which results in: Executing: /tmp/apt-key-gpghome.U6CXBaZaHQ/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 26EB39123AAAAA96 gpg: keyserver receive failed: No data  I also tried sudo apt-key update, which resulted in this: Warning: 'apt-key update' is deprecated and should not be used anymore! gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys gpg: key 3B4FE6ACC0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" not changed gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys gpg: key D94AA3F0EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>" not changed gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key gpg: key 871920D1991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>" not changed gpg: Total number processed: 3 gpg:              unchanged: 3  I'm at an absolute loss here. I use this machine regularly, and can't update some of my packages, which is causing a couple of programs to not work. Any help would be greatly appreciated. I can also provide any other necessary info.

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following:     W: GPG error:  trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F   I know I can fix it using apt-key in a terminal, according to the official Ubuntu documentation. But I would have liked to do it graphically. Is there a way to do this without using a terminal?


I am using PostgreSQL and trying to write value constraints.   Is it possible to record missing data as distinct from NULL values in a numeric field without using an arbitrary numeric value?  For many fields, I want to ensure that the record is either numeric or recorded as missing, but not NULL.   A common solution is to use -9999 to indicate a missing value. However, this can lead to silent errors (e.g. calculating a mean). Is there a better solution than creating a new type that allows either a value of "Missing" or a number?

I remember reading this one article about database design and I also remember it said you should have field properties of NOT NULL.  I don't remember why this was the case though.  All I can seem to think of is that, as an application developer, you wouldn't have to test for NULL and a possible nonexistent data value (for instance, an empty string for strings).  But what do you do in the case of dates, datetime, and time (SQL Server 2008)?  You'd have to use some historic or bottomed-out date.  Any ideas on this?


I have found the HTML to show the flair, and I was wondering if it was possible to place this in a LinkedIn profile.    Where would be the best place to put it?

Is it possible to connect Stack Overflow (or other Stack Exchange) accounts with LinkedIn network? Is it possible to insert your stats into LinkedIn?


IS there a term or lingusitic device for a name change of a noun / object that has had to change its name because of a new development. For example the invention of the electric guitar, meant the humble guitar became known as an acoustic guitar? Thank you.

Usually a new term emerges and it becomes necessary to add a qualification to an old word for disambiguation.  examples:  "mono sound" versus "stereo sound" "analog watch" versus "digital watch" "acoustic guitar" versus "electric guitar" "slow food" versus "fast food"


Let a function be defined $f(x)=sin^4x+cos^4x,$ $x\in R$.Rewriting this, $$f(x)=(sin^2x+cos^2x)^2-2sin^2xcos^2x$$$$\implies f(x)=1-\frac{sin^22x}{2}$$$$\implies \frac{1}{2}\leq f(x)\leq1 $$  However,upon differentiating the function,we get$$f'(x)=4sin^3x cosx-4cos^3xsinx$$$$\implies f'(x)=4cosxsinx(sin^2x-cos^2x)$$$$\implies f'(x)=-2sin2xcos2x$$$$\implies f'(x)=-sin4x$$Integrating both sides,$$f(x)=\frac{cos4x}{4}$$which lies between$\frac{-1}{4}$ and $\frac{1}{4}$and is not equal to the original function.Why is the answer different?

Question:  Is it possible to get multiple correct results when evaluating an indefinite integral?  If I use two different techniques to evaluate an integral, and I get two different answers, have I necessarily done something wrong?    Often, an indefinite integral can be evaluated using different techniques.  For example, an integrand might be simplified via partial fractions or other algebraic techniques before integration, or it might be amenable to a clever substitution.  These techniques give different results.  For example, looking over a few other questions on MSE:      From : evaluate $$ \int x(x^2+2)^4\,\mathrm{d}x. $$    Via the substitution $u = x^2+2$, this becomes $$ \int x(x^2+2)^4\,\mathrm{d}x       = \frac{1}{10}x^{10} + x^8 + 4x^6 + 8x^4 + 8x^2 + \frac{32}{5} + C.     $$ However, multiplying out the polynomial and integrating using the power rule gives $$ \int x(x^2+2)^4\,\mathrm{d}x       = \frac{1}{10}x^{10} + x^8 + 4x^6 + 8x^4 + 8x^2 + C    $$     From :  evaluate   $$ \int \frac{1-x}{(x+1)^2} \,\mathrm{d}x. $$    Simplifying the integrand using partial fractions then integrating gives $$ \int \frac{1-x}{(x+1)^2} \,\mathrm{d}x       = \frac{-2}{(x+1)} - \ln|x+1| + C.    $$ Via integration by parts, we get $$ \int \frac{1-x}{(x+1)^2} \,\mathrm{d}x       = \frac{x-1}{(x+1)} - \ln|x+1| + C.    $$     From : evaluate   $$ \int \frac {\tan(\pi x)\sec^2(\pi x)}2\,\mathrm{d}x. $$    Using the substitution $u = \sec(\pi x)$, this becomes $$ \int \frac {\tan(\pi x)\sec^2(\pi x)}2\,\mathrm{d}x       = \frac {\sec^2(\pi x)}{4\pi} + C.    $$ Using the substitution $u = \tan(\pi x)$, this becomes $$ \int \frac {\tan(\pi x)\sec^2(\pi x)}2\,\mathrm{d}x       = \frac {\tan^2(\pi x)}{4\pi} + C.    $$


I am doing past exam papers preparing for the finals and I came across this questions about three times:  Prove that:  $$\frac{a_{1}+a_{2}+\cdots+a_{n}}{n}\geq \sqrt[n]{a_{1}.a_{2}...a_{n}}$$ Different papers require different approaches to proving it but most of them use induction. Can someone please explain to me how to prove it using induction? I can do the first steps but get stuck at proving that:  $$\frac{a_{1}+a_{2}+\cdots+a_{k}+a_{k+1}}{k+1}\geq \left ( \frac{a_{1}+a_{2}+\cdots+a_{k}}{k} \right )^{\frac{1}{k+1}}\left ( a_{k+1} \right )^{\frac{1}{k+1}}$$

The arithmetic - geometric mean inequality states that $$\frac{x_1+ \ldots + x_n}{n} \geq \sqrt[n]{x_1 \cdots x_n}$$ I'm looking for some original proofs of this inequality. I can find the usual proofs on the internet but I was wondering if someone knew a proof that is unexpected in some way. e.g. can you link the theorem to some famous theorem, can you find a non-trivial geometric proof (I can find some of those), proofs that use theory that doesn't link to this inequality at first sight (e.g. differential equations …)?  Induction, backward induction, use of Jensen inequality, swapping terms, use of Lagrange multiplier, proof using thermodynamics (yeah, I know, it's rather some physical argument that this theorem might be true, not really a proof), convexity, … are some of the proofs I know.


I just bought a new gaming PC and it came with a Windows 7 Home Premium CD but it says on the top of the disk “Intended for distribution with a new PC.” Would I be able to use this disk on my other PC to make them Windows 7 from Windows 8?

I just picked up a copy of Windows 7 Pro OEM for install on my computer.  Guy at the store said the only real difference between OEM and standard retail box was tech support.  However, the outside of the box has this big warning that says "The software must be installed with an OPK"?  What is the OPK?  Is it really necessary?  The MS site about it seemed to say it was optional.  EDIT:  BTW - I'm just an individual tinkerer, and not a System Builder Company Employee.  I should have made that clear.  I've used sysprep in a professional setting in the past, so I'm somewhat familiar with its concepts.


I'm relatively new in Latex and now I want to use bibtex function in my paper.  here is how it"s constructed:  \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{afterpage,lscape} \usepackage{natbib}  \begin{document} Imperfections in credit market influence the labor market \cite{einstein}.  \newpage \setcounter{secnumdepth}{0} \pagenumbering{roman} \bibliography{Reference} \bibliographystyle{plain} \nocite{*}  \end{document}   where my bib file is "Reference.bib" and has the following content:  @article{einstein,     author =       "Albert Einstein",     title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})         [{On} the electrodynamics of moving bodies]",     journal =      "Annalen der Physik",     volume =       "322",     number =       "10",     pages =        "891--921",     year =         "1905",     DOI =          "http://dx.doi.org/10.1002/andp.19053221004" }   I'm running Latex, however there is no output of the bibliography in pdf and the citations are with question marks. Also I have tried to run my bib file separately and it's not creating "bbl" extension file (I'm not sure if it's necessary for creating pdf).   Also when I"m running my bib file separately here is the Console Output I'm getting:   " This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) entering extended mode ("C:/Users/Anushmush/Desktop/Labor Search/Reference.bib") *"   Is this what I need to get?  Could you please help me figure out what is the mistake I'm making here?  Thank you very much

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


Is there a way to use \SplitArgument macro with the _ sign? The following example don't works.  \documentclass{article}  \usepackage{expl3,xparse}  \ExplSyntaxOn \NewDocumentCommand{ \testone }{ >{\SplitArgument{1}{-}}m }{ \frac#1 } \NewDocumentCommand{ \testtwo }{ >{\SplitArgument{1}{_}}m }{ \frac#1 } \ExplSyntaxOff  \begin{document} $\testone{x-y}$ and $\testtwo{x_y}$ \end{document}

\documentclass{article} \usepackage{xparse}  \DeclareDocumentCommand\TestA{>{\SplitArgument{1}{:}}m}{%   \Example #1 }  \ExplSyntaxOn \DeclareDocumentCommand\TestB{>{\SplitArgument{1}{:}}m}{   \Example #1 } \ExplSyntaxOff   \DeclareDocumentCommand\Example{mm}{%   \begin{enumerate}   \item #1   \item #2   \end{enumerate} }  \begin{document} \TestA{one : two} \TestB{one : two} \end{document}


I'm freshly installed Cairo-Dock in Ubuntu 14.04.when i use key combination Alt+Tab Cairo-Dock also shows up its own window switcher overlapping with Unity window Switcher.  How can i Disable these window-switcher in Cairo-Dock ?

I would like to hide cairo-dock from the switcher since it is redundant to have it there.  I've searched for solutions without any luck.


How to find inverse function of $x+sinx$. (In this type of questions we equate this function with y and then find $x$ in terms of $y$. How to solve this?)

What is the inverse of   $$f(x)=\sin(x)+x.$$  I thought about it for a while but I couldn't figure it out and I couldn't find the answer on the internet.  What about  $$f(x)=\sin(a \cdot x)+x$$  where $a$ is a known real constant.  Thank you for taking the time to read this question! Sorry if this has been asked before...


[16:33:33 WARN]: Couldn't download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.1-nightly-20131120/lwjgl_util-2.9.1-nightly-20131120.jar for job 'Version & Libraries' java.net.SocketTimeoutException: connect timed out     at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) ~[?:1.7.0_40]     at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[?:1.7.0_40]     at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) ~[?:1.7.0_40]     at java.net.AbstractPlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_40]     at java.net.PlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_40]     at java.net.SocksSocketImpl.connect(Unknown Source) ~[?:1.7.0_40]     at java.net.Socket.connect(Unknown Source) ~[?:1.7.0_40]     at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) ~[?:1.7.0_40]     at sun.net.NetworkClient.doConnect(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.7.0_40]     at java.net.HttpURLConnection.getResponseCode(Unknown Source) ~[?:1.7.0_40]     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source) ~[?:1.7.0_40]     at net.minecraft.launcher.updater.download.ChecksummedDownloadable.download(ChecksummedDownloadable.java:49) ~[launcher.jar:?]     at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:108) [launcher.jar:?]     at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:12) [launcher.jar:?]     at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:89) [launcher.jar:?]     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_40]     at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_40]     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.7.0_40]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.7.0_40]     at java.lang.Thread.run(Unknown Source) [?:1.7.0_40] [16:33:33 ERROR]: Gave up trying to download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.1-nightly-20131120/lwjgl_util-2.9.1-nightly-20131120.jar for job 'Version & Libraries' [16:33:33 ERROR]: Job 'Version & Libraries' finished with 26 failure(s)! (took 0:00:50.083)   What can I do to fix this?

I have an issue with my Minecraft launcher - I downloaded modpack for minecraft then the launcher started an update for the modpack version which it's 1.6.2, however then I started to get the issue      [15:40:59 ERROR]: Gave up trying to download      for job 'Version & Libraries'      [15:40:59 ERROR]: Job 'Version & Libraries' finished with 26   failure(s)! (took 0:01:06.362)   At the same time I had just downloaded Avira antivirus and ran it, but unfortunately  removing it and trying again didn't help. I've tried to restore the system to the point before downloading the antvirus and the mod pack a 2 days ago, I've tried turning off the firewall and I have tried removing the whole .minecraft folder all with no luck at all. I can't figure it out, all the servers are working and I have good internet connection but some of the files download fine and other don't.  The full log is here:  [15:40:59 WARN]: Couldn't download https ://libraries.minecraft.net/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar for job 'Version & Libraries' java.net.SocketTimeoutException: connect timed out         at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) ~[?:1.7.0_45]         at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[?:1.7.0_45]         at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) ~[?:1.7.0_45]         at java.net.AbstractPlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_45]         at java.net.PlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_45]         at java.net.SocksSocketImpl.connect(Unknown Source) ~[?:1.7.0_45]         at java.net.Socket.connect(Unknown Source) ~[?:1.7.0_45]         at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) ~[?:1.7.0_45]         at sun.net.NetworkClient.doConnect(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.7.0_45]         at java.net.HttpURLConnection.getResponseCode(Unknown Source) ~[?:1.7.0_45]         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source) ~[?:1.7.0_45]         at net.minecraft.launcher.updater.download.ChecksummedDownloadable.download(ChecksummedDownloadable.java:49) ~[launcher.jar:?]         at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:108) [launcher.jar:?]         at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:12) [launcher.jar:?]         at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:89) [launcher.jar:?]         at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_45]         at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_45]         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.7.0_45]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.7.0_45]         at java.lang.Thread.run(Unknown Source) [?:1.7.0_45] [15:40:59 ERROR]: Gave up trying to download https ://libraries.minecraft.net/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar for job 'Version & Libraries' [15:40:59 ERROR]: Job 'Version & Libraries' finished with 26 failure(s)! (took 0:01:06.362)


Recently I was asked to talk to a group about some work I did 20 years ago.  I've had to go to backup CDs to get content.  The company worked on Macs and many of the filenames have illegal characters in them.  For example there's a file named cos2r<sin3theta.tiff.    When I try to copy these files I get an error saying, "The file name you specified is not valid or too long.  Specify a different file name."  I can't get past that.    Does anyone know of a way I can copy them?  Updates I'm on Windows 10, but I also tried on Windows XP. The CD file system is CDFS

I have a song that Windows can't play because there is a question mark in the name of the file.  "Where Have All the Cowboys Gone?.ogg" // as an example   So I try to rename it and Windows complains whether I try it in Explorer or from command prompt.  Error I get when trying to copy, rename, or move is:     The Filename, directory name, or volume label syntax is incorrect   Is there a Windows way to force a rename in this case?   Update  I'll keep an eye on this question, but after 13 answers and many attempts (aside form 3rd party solutions) it seems that Windows can't do this (or at least my windows can't, no short names). So I'm accepting the answer which was my original solution anyway of using Linux. It would be nice to see Windows handle this somehow, so don't stop just because I've accepted this answer, the question still stands!


I am using Mapbox Gl JS to get mapbox vector tiles (pbf) from GeoServer 2.15, which I am running with Tomcat 8.5 on a Windows Server. The Mapbox GL JS javascript is in a folder in the Tomcat webapps directory. Tomcat has been configured for CORS by editing the web.xml to include:    <filter>   <filter-name>CorsFilter</filter-name>   <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>   <init-param>     <param-name>cors.allowed.origins</param-name>     <param-value>*</param-value>   </init-param>   <init-param>     <param-name>cors.allowed.methods</param-name>     <param-value>GET,POST,HEAD,OPTIONS,PUT</param-value>   </init-param>   <init-param>     <param-name>cors.allowed.headers</param-name>     <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers,Authorization</param-value>   </init-param>   <init-param>     <param-name>cors.exposed.headers</param-name>     <param-value>Access-Control-Allow-Origin,Access-Control-Allow-Credentials</param-value>   </init-param> </filter> <filter-mapping>   <filter-name>CorsFilter</filter-name>   <url-pattern>/*</url-pattern> </filter-mapping>   I have also added URL rewrite within IIS which links port 80 to Tomcat/GeoServer on port 8080. When opening the map in browser on another machine everything but the vector tiles from GeoServer displays. This is the error message I get:     Cross-Origin Request Blocked: The Same Origin Policy disallows reading   the remote resource at   .   (Reason: CORS request did not succeed).   I have also noticed that X-Frame is set to SAME ORIGIN for the vector tiles.  Is there anything else missing or wrong with my setup? I would like to be able to open the web map through the URL and for the layers to be displaying? Is the CORS issue coming from IIS or Tomcat?    Edit: Just wanted to clarify that GeoServer itself is working as I can access it from another machine, through the URL. It is just the vector tiles which are generating the CORS error when viewing the map.

I tried to enable CORS by uncommenting the necessary lines in the web.xml file of geoserver. However, I didn't know that I also had to make sure having the correct jetty servlets jar file in my WEB-INF/lib folder (as described in ). As the CORS didn't work I thought I had to restart tomcat, but since I did that I got an error that jetty couldn't be found:  Exception starting filter cross-origin java.lang.ClassNotFoundException: org.eclipse.jetty.servlets.CrossOriginFilter   Now I tried to find out which jetty version I use to get the correct servlets jar file, but somehow I cannot find any installation of jetty in my geoserver folder. I installed geoserver with the war file and running it on tomcat. And as I understood jetty comes together with geoserver, so it should exists...  What should be my next step now?  EDIT: geoserver version is 2.13.2


This is probably a trivial question however i cannot find the correct information online.   When simplifying mappings from $\mathbb{R}$ to $\mathbb{R}$ such as:  $$\frac{x(x-1)}{(x-1)}$$  Why is it okay to simplify this to simply just $x$? if $x=1$ do we not have the singularity $$\frac{0(1)}{0}$$ Thank you

Is $\frac{x^2+x}{x+1}$ a polynomial?  Fist question can be: on which field/ring or etc? In basic, let's take over $\mathbb R$.  Actually, it is $x$ if $x \ne -1$.  Can we say again it is a polynomial, or a near-polynomial or what?   Can we say it is a polynomial over $\mathbb R - \{-1\}$? But there is structure here for $\mathbb R-\{-1\}$.  This question can be academically, not sure, but I want to ask it in the level of primary school, then academically.


I have a problem with $PATH export. The only place I found where I modify $PATH is /etc/environment:  ANDROID_HOME="/opt/ADT/adt-bundle-linux-x86_64-20130522/sdk" PROJECT_HOME="/home/tomaszchabinka/Dokumenty/tempFile/android_stb" PATH="/opt/gradle-1.10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"   But when I type in terminal echo $PATH it returns:  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/jdk1.7.0/bin   I don't have /usr/lib/jvm/jdk1.7.0/bin directory so I don't understand why my $PATH export doesn't works and where does /usr/lib/jvm/jdk1.7.0/bin come from.  Also $ANDROID_HOME and $PROJECT_HOME exports correctly; only $PATH export doesn't work.  Can anyone help me?

How do I add a directory to the $PATH in Ubuntu and make the changes permanent?


I have a string of data that looks like   string line = "Number:Description:Price:Weight";   I want to separate the string into 4 different variables via the delimiter ":". I was trying this via the substring method  char delimiter = ':'; string number = line.substr(0, line.find(delimiter));   It works fine for the first variable. However, I am unable to figure out how to iterate to the next instance of the ":" for the other variables.

I'm trying to iterate over the words of a string.  The string can be assumed to be composed of words separated by whitespace.  Note that I'm not interested in C string functions or that kind of character manipulation/access. Also, please give precedence to elegance over efficiency in your answer.  The best solution I have right now is:  #include <iostream> #include <sstream> #include <string>  using namespace std;  int main() {     string s = "Somewhere down the road";     istringstream iss(s);      do     {         string subs;         iss >> subs;         cout << "Substring: " << subs << endl;     } while (iss); }   Is there a more elegant way to do this?


The model I make is all messed up and probably has too many vertices. I tried subdividing too many times.

After creating some hi-poly model, i'm always creating low-poly model by approximating that hi-poly mesh with triangle-by-triangle LP mesh - with snap to face mode turned on.   So the process looks like CTRL + RMB (x times), and hitting F on keyboard, so the new face was made.  Then I'm using this low poly model to texture baking, mainly for gamedev purposes.  This method is very time consuming, so how to make retopology process easier and quicker?


I start to use the dope sheet view to see my key frames. But I don't understand why for some I have an orange line and not for others like below. What is the meaning of the orange line between keyframe?

Between some keyframes a bar is drawn, when is a bar displayed?


I want to find the domain of convergence of the series $\sum_{n=0}^\infty \frac{(-1)^n}{z+n}$ I recently posted a similar question here:  where I was able to use Laurent series and find an annulus in which the series does converge.  However, for this problem, I am not sure if I can do that.  The ratio and root test don't help too much either.  So, I was wondering if there is a way to apply, maybe, Leibniz's criterion to a series of a complex variable?  What would something like that look like?  Maybe there is something else that would work?  Any ideas, hints, etc. are (as always) greatly appreciated!  Thank you.

I don't have familiarity with complex series. I know this series won't converge if $z$ is a negative integer. Apart from that, I know that the series does not converge absolutely (because the absolute value gets close to $\frac{1}{n}$ which diverges). If instead of complex number $z$ I had $x \in \mathbb{R}$, then:$$\sum_{n=0}^{\infty} \frac{(-1)^{n}}{x+n}$$ Would converge for all $x$ apart from negative integers, due to the Leibniz test. Can I use the same argument for a complex number $z$? I'm not sure about what to do because I have never dealt with alternating complex series before.


I don't think this has yet been covered in .  There was , however, it was not specifically talking about the case where the proper noun ends in a plural noun.  Feel free to vote to close if I am wrong.  What is the correct way to make a proper noun ending in a plural noun ending in an "s" possessive?  This frequently happens with corporations, e.g., "Dunkin' Donuts."  Should one work off of the fact that the entity is singular—suggesting Dunkin' Donuts's—or should one work off of the fact that "Donuts" is plural and ending in an "s"—suggesting Dunkin' Donuts'?  I expect that the answer might depend on dialect because some regions refer to corporations in the singular form ("Dunkin' Donuts is a company") while other regions refer to corporations in the plural form ("Dunkin' Donuts are a company").  I am specifically interested in American English, but would be interested in hearing answers for other dialects too.

Many questions already ask about this topic ( , , etc.) and their answers vary, but they always give exceptions to the apostrophe-s rule, for example:      6.24 The general rule for the possessive of nouns covers most proper nouns, including most names ending in sibilants."   Examples they give include Kansas’s, Ross’s land, and Jones’s reputation. Exceptions include Jesus’  and Moses’.  Which names does this apply to?  Is the Aeneas’  form correct, or is it Aeneas’s instead?


i still can't connect gt-s5360 Samsung phone to windows 7 PC but it charging i can't get "connect to pc" option and  i can connect another Samsung phone to PC with same usb cable

I'm having problem connecting my Samsung Galaxy Y GT-S5360 to the computer using via USB.    Whenever I connect it, it automatically charges. Before there was a prompt to connect it to the computer but now it just charges directly. I have tried downloading the Samsung Kies but it still won't connect.


I have just wrote an actionPerformed for my save button, that will save data into arraylists, but before that I must be sure that all fields are not empty so if a textfield is empty I want to show a dialogbox and put all empty textfield in red background color  here is my code  //Field outside constructor private List<Component> comp;      //inside constructor comp = getAllComponents(this); //method public static List<Component> getAllComponents(final Container c) {     Component[] comps = c.getComponents();     List<Component> compList = new ArrayList<Component>();     for (Component comp : comps) {         compList.add(comp);         if (comp instanceof Container)             compList.addAll(getAllComponents((Container) comp));     }     return compList; }   ``  //actionperformed if(e.getSource() == savebtn){         for(Component item:comp){             if(item.isVisible()){                 if(item instanceof JTextField){                     JTextField txtField = (JTextField)item; //here is my problem: with no if statement my program works fine and puts all textfields in red but I want to highlight just empty textfields;                     if(txtField.getText() == null)                     txtField.setBackground(Color.RED);                 }             }         }       }   so how can I solve this problem? thank you very much

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


For example: I have a question that I posted before.   It didn't get much attention from other users.  I put a bounty on my question. Many users viewed my question and someone gave me a solution. I reviewed their code.   I thought, "Hmm this is good, but maybe I will wait for another answer." I didn't accept the answer nor reward the bounty (but I did upvote their answer). A few days later, another user gave me another solution. It looks better than the previous one. "Hmm, this is good, but maybe I should wait for another answers." (I upvoted it, though).   Then about 5 answers appeared and the day came where the bounty was about to end. Finally, I choose to accept the answer that matched with my opinion of "correct".   The question is, can I do this just like that?

What does it mean to accept an answer? How do I accept an answer, and what are the rules? Can I accept my own self-answer? What are the reputation benefits? Which answer should I accept? Should I upvote the accepted answer? What should I do if none of the answers are suitable?      For more information, see "" in the .


How we know that the spin of fundamental particles? For example spin-0, 1/2, 1,2.. What is the experimental facts about spin?

If I've got an instance of a fundamental particle, how can I separate out the measurements of these four quantities?  (I think) I understand the theory behind them, and why the particles in the standard model are predicted to have the values they do. However, the process of validation of these numbers eludes me. How have they been historically measured?


I've lost count of the number of times I've pressed Ctrl+C to copy something in some Microsoft Office app, flipped to another window or app, pressed Ctrl+V to paste, and instead, it pastes whatever had previously been in the clipboard. Annoyed, I flip back to the previous window, press Ctrl+C again, flip, paste, still doesn't work. Sometimes I have to try this three or four times.  Why does Office do this? It's like it's responding to keyboard shortcuts sluggishly, forcing me to slow down for something I shouldn't have to slow down for, making it generally irritating to use.  I haven't noticed this behavior in any other program. I can't remember if it's happened prior to the 2013 version. I've definitely had it happen in PowerPoint and Word.  It isn't . It will stop, and then maybe start again. And then stop again. And start again. (Hence, "randomly".) I don't use Notepad++. I have Skype up, but if it were truly interfering with keyboard shortcuts, it wouldn't suddenly stop interfering. I might try the clipboard lock monitor when I get home, but I can't use it at work. Does it constantly monitor the lock in real time? If it doesn't, it won't be useful to diagnose this problem unless I'm extremely lucky.

Copy-paste functionality stops working after about an hour after each reboot on a Windows 7 64-bit system. Running Google Chrome (with gmail and few other tabs open like Calendar, Reader), MS Outlook (which I don't think has anything to do with the problem — I saw it when outlook was off as well), iTunes (9.1.1.12 if it matters).  Would appreciate hints where and what for to look in a registry, and ideas for possible fix.  That is not an Internet Explorer problem (I don't even run it) — it happens in all applications.  Neither Ctrl-C/Ctrl-V nor context menu right-click Copy-Paste (actually, nothing happens on Copy, so there is nothing in a clipboard to Paste) are working. Drag-and-Drop (where supported) continues working though.


This question was inspired by , and the definition of the :     Highest scoring answer that outscored an accepted answer with score of more than 10 by more than 2x. This badge can be awarded multiple times.   Can you get the populist badge if the score of the accepted answer is negative?  Mathematically speaking, your score would have to be negative in order to double the accepted answer's score, simultaneously being ten higher, which is impossible.  Does this mean that someone could be on the way to getting the populist badge (say accepted answer has score of 1, they have a score of 10 on their answer) and miss it totally because the accepted answer gets a downvote or two?

Formerly List of all badges with full descriptions.  What are badge name's requirements? Why didn't I get badge name ? Which badges can I earn multiple times?    Jump to:                    Note: Some badges are awarded based on score. The term score means the total number of upvotes minus the total number of downvotes.  Any badge with a *** next to it is one of 20 badges that count towards the  displayed on a moderator candidate in an election. The candidate score is a total of 40 points: the first 20 are awarded based on the user's rep divided by 1000 and rounded down; the second 20 represents the total number of unique badges earned of the 20 that count. Note that if the same badge is earned multiple times, it will only count once towards the candidate score.  Any badge with a "(retired)" next to it is no longer awarded, but is retained by users who previously earned them. See  for more info on what it means for a badge to be retired.       Visit the  of the  on any site to see a complete list of badges that you can filter by earned, unearned, or type.


Let $C\subset \mathbb P^n$ be a closed irreducible subset of dimension $m$. Is it true that the preimage by $q:\mathbb A^{n+1}\setminus \{0\}\rightarrow \mathbb P^n$ has dimension $m+1$ ?   If so, how can I prove it?   The definition of the dimension of a topological space that I am given is the following:   If $Y$ is an irreducible topological space, then $\operatorname{dim}(Y)$ is the biggest integer $m$, if it exists, such that there is a chain $Y=Y_{m} \supsetneq Y_{m-1} \supsetneq \cdots \supsetneq Y_{0} \text { with } Y_{i} \subset Y$ irreducible and closed in  $Y$ ; if such an integer does not exist then $\operatorname{dim}(Y)=\infty .$

Let $X \subset \mathbb{P}^n$ be a nonempty projective variety. Show that the dimension of the cone $C(X):=\{0\} \cup \{(x_0,...,x_n)\in \mathbb{A}^{n+1}:(x_0:...:x_n)\in X\}$ is dim$X+1$.  I know how to prove dim$C(X) \geq$ dim$X+1$: Let $\varnothing \neq X_0 \subsetneq ... \subsetneq X_n\subset X$ be a chain of irreducible closed subsets in $X$, then $\{0\} \subsetneq C(X_0) \subsetneq ... \subsetneq C(X_n) \subset C(X)$ is a chain of irreducible closed subsets in $C(X)$.   However I cannot prove the other side of the inequality, if I let $\varnothing \neq Y_0 \subsetneq ... \subsetneq Y_m\subset C(X)$ be a chain of irreducible closed subsets in $C(X)$, I do not know how to generate a chain of irreducible closed subsets in $X$. If the $Y_i$ are of form $V(S_i)$, where $S_i$ is a homogenous ideal, then I can take projectivization $\mathbb{P} (Y_i):=\{(x_0:...:x_n)\in \mathbb{P}^{n+}:0 \neq (x_0,...,x_n)\in X\}$ and obtain my conclusion easily. Is there a way to assert this? This is equivalent to the claim that every irreducible component of a cone is also a cone, which seems to have some geometric basis.  I have seen some answers on related questions on this site using the tool of fiber dimension and transcendence degree of the coordinate ring, however I do not want an answer with these advanced techniques, as the notes I am reading does not assume the reader has these knowledge; it would be very nice to see a proof using basic constructions such as cone and projectivization defined above.  Any help is appreciated!


I would like to run the following input file:  <structure>   <object>     <property name="DOC">ABC</property>     <property name="VERS">001</property>     <property name="REV">-</property>     <property name="NAME">Peter</property>   </object> </structure>  <structure>   <object>     <property name="DOC">ABC</property>     <property name="VERS">001</property>     <property name="REV">1</property>     <property name="NAME">Carl</property>   </object> </structure>   to get the following output with saxon processor:  DOC,VERS,REV,NAME ABC,001,-,Peter ABC,001,1,Carl   Any ideas how to format the XSL file.  Thanks in advance!

I have the following XML document:  <projects>   <project>    <name>Shockwave</name>     <language>Ruby</language>     <owner>Brian May</owner>     <state>New</state>     <startDate>31/10/2008 0:00:00</startDate>    </project>   <project>    <name>Other</name>     <language>Erlang</language>     <owner>Takashi Miike</owner>     <state> Canceled </state>     <startDate>07/11/2008 0:00:00</startDate>    </project> ...   And I'd like to get this from the transformation (XSLT) result:  Shockwave,Ruby,Brian May,New,31/10/2008 0:00:00 Other,Erlang,Takashi Miike,Cancelled,07/11/2008 0:00:00   Does anyone know the XSLT to achieve this? I'm using .net in case that matters.


Recently, I have been wanting to download the PC version of Skyrim. I was wondering, "Since I have two Orcs around level 36, and two other people and I don't want to restart all over again, is there a way to migrate or take my accounts and put them on the PC version?". So...now I am here, asking this question.

My PS3 Skyrim is starting to have the dreaded lag problem. I've tested Skyrim on my PC and it works perfectly on medium settings with 60FPS@720p (and better graphics than the PS3). It is also beautiful on my 55'' plasma and the PS3 controller works once I downloaded "MotionInJoy", so I would like to continue my adventure on PC.  It is possible to migrate my PS3 save game to PC? I've invested a lot of hours on this character and I'm not really in the mood to replay lots of quests.


I'm fairly new to the Apple App- I was a Fitbit user and Fitbit reflected Fat burn, active minutes and Peek time during a work out.  Apple app reflects Active Calories and Total Calories during a work out and I am not able to find an answer to define the difference.  what is the difference in a work out from Active vs Total.  I am still on the fence about this app, fitbit showed when during my work out my heartrate increased, and clearly reflected the calories -

The Apple Watch Activity app purports to measure what it calls "Active Calories" which it counts towards its "Move" goal. But Apple's definition of such calories is clearly its own, not counting (at least apparently), for example, calories from , Pilates, or yoga or 7-minute workouts?  What is the (Apple) definition of "Active Calories"? What does one have to do to generate them?


Let $f$ be a twice continuously differentiable function, with $f (0) = f (1) = f'(0) = 0$. Then   $f''$ is the zero function.   $f''(0)$ is zero. $f''(x) = 0$ for some $x \in (0, 1)$. $f''$ never vanishes The question is which choice is correct in the above choices.I know 3 is correct.  I could not find counter example for 2.

Let $f:\mathbb R \to \mathbb R$ be a twice continuously differentiable function, with $f(0)=f(1)=f'(0) = 0$. Then   $f^{"}$ is the zero function. $f^{"}(0)$ is zero. $f^{"}(x)=0$ for some $x \in $ (0,1). $f^{"}$ never vanishes.   I don't know where to start, tried rolles theorem but cant catch the point..please help me to start..


How can i actually use the fact of the subsequences being proper. Are $x_{2n+1}$ and $x_{2n}$ proper subsequences? because being so solves this immediately.

I have a question regarding one exercise in Stephen Abbotts' Understanding Analysis. The question is: Assume $(a_n)$ is a bounded sequence with the property that every convergent subsequence of $(a_n)$ converges to the same limit $a \in \mathbb{R}$. Show that $(a_n)$ must converge to $a$.  I was then presented this proof (from the solutions manual): Assume for contradiction that $(a_n)$ does not converge to $a$, then from the negation of convergence we have (I'm not quite sure in this part): $$\exists \epsilon>0, \forall N\in \mathbb{N}, \exists n\in \mathbb{N} : n\geq N \wedge |a_n-a|\geq \epsilon. $$  Using this we can construct a subsequence $(a_{n_j})$ that diverges from $a$ as follows: for arbitrary $N\in \mathbb{N}$, we can always find a, say, $n_1$ such that, $n_1 \geq N$ where $|a_{n_1}-a|\geq \epsilon$. Since $n_1$ itself is in $\mathbb{N}$, then we can again find a $n_2 \geq n_1$ so that $|a_{n_2}-a|\geq \epsilon$. And in general we can find a $a_{n_{j+1}}$ after choosing an appropriate $a_{n_j}$ so that $|a_{n_{j+1}}-a|\geq \epsilon$.  From the construction of such a subsequence, isn't the contradiction that $(a_{n_j})$ does not converge to $a$ already proof that $(a_n)$ should converge to $a$? I am asking because the proof that I've read continues to say that the Bolzanno-Weierstrass theorem can be used to get another subsequence from the constructed $(a_{n_j})$ which diverges from $a$, and that the proof ends there. I think I understand it, but I fail to see why it is necessary. Can somebody enlighten me on this?


AFAIK only users with reputation > 1K can view vote split on a post, by clicking the current vote score. For users with reputation < 1K clicking on the vote score does nothing.  But I got an error message when clicking the vote score on meta.stackoverflow.com (where my reputation < 1K)    Not a major one. But looks like a bug.  PS : Mac Mountain Lion, Chrome Version 27.0.1453.93

I don't have enough reputation (1K) to view the individual up and downvote counts on a post on Stack Overflow. Therefore, the cursor is the default one when I hover a post's score.  However, when an answer is added to the list of answers via a "There's 1 new answer to this question" message, the cursor is a pointer, like I can view the individual counts. This is only front-end: when I click on it, I get an "error during vote count fetch".  How to reproduce:   Go to any site where you have less than 1K rep Go to any question Wait for someone to post an answer Try to view the individual votecounts


I need help creating a project system to which I can add a few people. What database structure should I create to assign several people to the project?  My database  users  id   name  surname  project  id   name  desc  owner  member

Do you know a good source to learn how to design SQL solutions?  Beyond the basic language syntax, I'm looking for something to help me understand:   What tables to build and how to link them How to design for different scales (small client APP to a huge distributed website) How to write effective / efficient  / elegant SQL queries


I have a div:
 and another div:
. The initial state is that the first div is displayed (display: flex) and the second one is not (display: none). I want to attach "navUserDetailsNotifications" div 2 event listeners:   When click on it, then the second one is displayed (display: flex). When click on document and the clicked element is not navUserDetailsNotifications then make display: none to the second div.   This is my try:  let navUserDetailsNotificationsOBJ = $('#navUserDetailsNotifications'); let navNotificationsOBJ = $('#navNotifications');  $(document).on('click', ':not(#navUserDetailsNotifications)', function() {         navNotificationsOBJ.css('display', 'none'); });  navUserDetailsNotificationsOBJ.on('click', function() {         navNotificationsOBJ.css('display', 'flex'); });   This is not working, why is it?

I have some HTML menus, which I show completely when a user clicks on the head of these menus. I would like to hide these elements when the user clicks outside the menus' area.  Is something like this possible with jQuery?  $("#menuscontainer").clickOutsideThisElement(function() {     // Hide the menus });


I didn't find this anywhere: who is doing the peer review of edits?

When clicking "edit" I see:  Your edit will be placed in a queue until it is peer reviewed. We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.  Like:     Likewise, when I am not logged in, clicking "improve this question" or "improve this answer" shows:  You are not . Your edit will be placed in a queue until it is .  And when I click 'Save', I get:  Thanks for submitting an edit. It is only visible to you until it's been approved by trusted community members  Like:     Who can suggest an edit? Where do suggested edits go? Who can vote on a suggested edit? How do suggested edits get reviewed? Can I earn reputation? What about abuse or bad edits? Sometimes the Community user approves or rejects my edit. Why is that? When can I not suggest an edit? Is there a minimum change requirement for a suggested edit? How do I check my suggested edit history? I disagree with the reasons why my suggested edit was rejected. What can I do? How do I know whether there are edits waiting for review? Someone suggested an edit to my own post, and the reviewers took the wrong action. What can I do? Are tag wikis included in this scheme? What do the "Improve Edit" and "Reject and Edit" buttons do? Why are apparently valid links to rejected edits resulting in 404 errors?   For more information about editing, see "" in the .


My question is:    Installation of Skype 4.3.0.37... with Synaptic to Ubuntu 14.10 - does Skype work OK with this installation ? In my Synaptic screenshot I see now following packets of Skype programs.   Packet:                               Last version: skype                                 4.3.0.37-OubuntuO.. pidgin-skype-dbg                      20130613+svn660+... emphaty-skype                         the same pidgin skype                          the same pidgin-skype-common                   the same    And my question is:   should I mark them ALL for installation or only the first one (skype 4.3.0.37 ..) and other packets LATER, when Skype is already working OK? When I look these 4 small packets, Skynaptic indicates, that     This plugin communicates with the Skype application in the background to perform its work, so it's necessary to have Skype installed and running   But, can Skype work even without these without these 4 small packets, if they are not installed simultaneously with skype packet installation?

Note: The legacy Skype for Linux application (v4.*) is now discontinued and was removed from Canonical’s partner repositories, so this question and its answers are obsolete. Please refer to  of our .  Skype 4.3 is just released with considerable improvements. As a regular Skype user I want to use the latest Skype on my Ubuntu 14.04, but there is no updates from Update Manager. Even in Skype website only Skype 4.3 is available only for Ubuntu 12.04. Is there anyway to use this latest Skype on Ubuntu 14.04 or how much we have to wait for the update?


There is a badge for using 30 votes (Suffrage) in a day.  There is also a badge (Vox Populi) for using the maximum 40 votes in a day.  However, there are no badges for doing either of these multiple times.  What I am suggesting implementing a silver badge for using 30 votes in a day 100 times and a gold badge for using 30 votes in a day 300 times.  It has frequently been my observation that people tend to get the Vox Populi and Suffrage badges and then just kind of slack off of voting.  It would be substantially beneficial to the community if people were out trying to get more voting badges.  And yes, there are definitely people who spend enough time on some of the stacks to warrant getting a badge for 30 votes 300 times without randomly voting up whatever material comes to mouse.

Granted there are already quite a few badges for community service on this site, I thought, how about some more!  The theme is merging enthusiast/fanatic with suffrage/vox populi. Something like this (names and numbers open to suggestions)  Enthusiastic Voter - Voted 20 times per day consecutively for 30 days ????? - Voted 30 times per day consecutively for 50 days Fanatic Vox - Use the maximum number of 40 votes consecutively for 100 days


Please have a look at my MySQL clause.  UPDATE `users_words` SET `priority` = (SELECT MAX(`priority`)+1 FROM `users_words`) where `userid` = 89 AND `wordid`="agree"   Here I am going to update the priority field by adding 1 to the existing maximum priority field value. But I am getting the error You can't specify target table 'users_words' for update in FROM clause.  How can I fix this issue?

I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries:  SELECT *  FROM  story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category INNER JOIN         story_category ON category_id=category.id);   I tried to delete them executing:  DELETE FROM story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category        INNER JOIN story_category ON category_id=category.id);   But I get the next error:      #1093 - You can't specify target table 'story_category' for update in FROM clause    How can I overcome this?


I need to compare two databases and identify what columns have changed. Once I have identified a column that has changed in some way (size, type, etc) I need to capture (write to a table) the old column definition and the new column definition.   For instance, if using the INFORMATION_SCHEMA.COLUMNS table I discover that a column size has changed from 25 to 50 I will need to store the two column definition. In this case it may be 'char(25)' and 'char(50)'.   I have not problem using the INFORMATION_SCHEMA.COLUMNS table to identify when something has changed.  The issue I have is once I determine that the column has changed how do I build the column definition? In this case how to I build 'char(25)' and 'char(50)'?   Is there somewhere I can obtain this type of definition? If I have to build the definition piece by piece how do I determine all the components of the definition.   Any advice or suggestions are appreciated.  Thanks in advance.

I've spent a good amount of time coming up with solution to this problem, so in the spirit of , I'm posting it here, since I think it might be useful to others.   If anyone has a better script, or anything to add, please post it.  Edit: Yes guys, I know how to do it in Management Studio - but I needed to be able to do it from within another application.


I am running the following script on a wifi gateway. The WAN side of the gateway has ppp0 interface while LAN side is on wlan0.   No LAN user should be allowed to browser internet  Some services on gateway needs access to internet and it should be allowed  LAN users should be allowed to access content from gateways LAN interface (traffic from 80 and 90 port - some local content not internet) On the same local content google-analytics is installed and it should be updated to google-analytics.com servers. My iptables firewall is as follows but I'm constantly seeing issues when reaching google-analytics servers. Any help is appreciated.     WAN_INTERFACE="ppp0"  LAN_INTERFACE="wlan0"  LAN_NETWORK="192.168.184.0/24"  WAN_IP=ifconfig ppp0 | grep addr | cut -d':' -f2 | cut -d' ' -f1  iptables -F iptables -F -t nat  iptables -P INPUT DROP  iptables -P OUTPUT DROP  iptables -P FORWARD DROP   Allow only packets destined to port 80 and 443 out of gateway for content on Gateway itself  iptables -A OUTPUT -o $WAN_INTERFACE -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A INPUT -i $WAN_INTERFACE -p tcp --sport 80 -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -o $WAN_INTERFACE -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT  iptables -A INPUT -i $WAN_INTERFACE -p tcp --sport 443 -m state --state ESTABLISHED -j ACCEPT  Accept packets on LAN network for port 80,90  iptables -A INPUT -i $LAN_INTERFACE -p tcp -d 192.168.184.1 --dport 80 -s $LAN_NETWORK -j ACCEPT  iptables -A OUTPUT -o $LAN_INTERFACE -p tcp -s 192.168.184.1 -j ACCEPT iptables -A INPUT -i $LAN_INTERFACE -p tcp -d 192.168.184.1 --dport 90 -s $LAN_NETWORK -j ACCEPT  iptables -A OUTPUT -o $LAN_INTERFACE -p tcp -s 192.168.184.1 -j ACCEPT   Accept loop back  iptables -A INPUT -i lo -j ACCEPT  iptables -A OUTPUT -o lo -j ACCEPT   Allow out going ping requests  iptables -A OUTPUT -p icmp --icmp-type echo-request -j ACCEPT iptables -A INPUT -p icmp --icmp-type echo-reply -j ACCEPT   Allow out going DNS requests  iptables -A OUTPUT -p udp -o $WAN_INTERFACE --dport 53 -j ACCEPT  iptables -A INPUT -p udp -i $WAN_INTERFACE --sport 53 -j ACCEPT iptables -A OUTPUT -p tcp -o $WAN_INTERFACE --dport 53 -j ACCEPT iptables -A INPUT -p tcp -i $WAN_INTERFACE --sport 53 -j ACCEPT   Allow google-analytics traffic to go out and come in  iptables -A INPUT -s www.google-analytics.com -p tcp --sport 80 -j ACCEPT  iptables -A INPUT -s ssl.google-analytics.com -p tcp --sport 80 -j ACCEPT iptables -A OUTPUT -d google-analytics.com -j ACCEPT  iptables -A OUTPUT -d ssl.google-analytics.com -j ACCEPT iptables -A FORWARD -d google-analytics.com -s 192.168.184.0/24 -j ACCEPT  iptables -A FORWARD -d ssl.google-analytics.com -s 192.168.184.0/24 -j ACCEPT iptables -t nat -A POSTROUTING -o $WAN_INTERFACE -p tcp -d google-analytics.com -j SNAT --to-source $WAN_IP  iptables -t nat -A POSTROUTING -o $WAN_INTERFACE -p tcp -d ssl.google-analytics.com -j SNAT --to-source $WAN_IP iptables -A INPUT -s google-analytics.com -m state --state RELATED,ESTABLISHED -j ACCEPT  iptables -A INPUT -s ssl.google-analytics.com -m state --state RELATED,ESTABLISHED -j ACCEPT

We operate a firewall which blocks all internet access for users on our company network. However we would like our intranet to track users with Google Analytics.  How can we open up our firewalls to only allow access to googleanalytics.com ?  I have searched Google extensively and it seems Google do not provide an IP range which we could use in our firewall config.   How can we white-list googleanalytics.com ?


In fact, they appear to all be merged questions.

The  is currently showing [closed], [duplicated] and [on hold] questions at the need answer tab. My suggestion is to hide them since they can't be answered.   Sorting by "votes" at SO, we see tons of [duplicated] questions filling almost the entire first page. This way is harder to find good questions (= high upvoted) to answer.


I am using postgres DB. I want to pass the list of ids in IN clause. The type of column is int8. I have list of Long in the code.  This is the code   I am getting below exception : Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: bigint = bigint[] Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.  I tried using converting to String array and using varchar. But none of that works. Any reference would be helpful.

What are the best workarounds for using a SQL IN clause with instances of java.sql.PreparedStatement, which is not supported for multiple values due to SQL injection attack security issues: One ? placeholder represents one value, rather than a list of values.  Consider the following SQL statement:  SELECT my_column FROM my_table where search_column IN (?)   Using preparedStatement.setString( 1, "'A', 'B', 'C'" ); is essentially a non-working attempt at a workaround of the reasons for using ? in the first place.    What workarounds are available?


I have a Toshiba laptop, Satellite P200 RT1 which is running Windows XP.  Should I install install the Long Term Support Release of Ubuntu 14.04, or the latest Standard Release of Ubuntu 15.04?  Should I install a different flavour of Ubuntu, such as Xubuntu, Lubuntu, Kubuntu, Ubuntu Mate, etc, given my modest hardware specifications?

I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the "official  requirements", the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below.


I am a newbie to Visual Studio, it would be great if someone could provide me with an idea how to create the webpart in the following format  Thanks

This is about training management, when an employee requests for training, it goes to approval workflow and once approved, it is like the employee is enrolled.  Once it is approved I want a roster sheet to be created for that course for all the employees registered and who got approved.   The report I need to generate has to be of the enrolled users of one course and one particular session  If I give copy listitem as approved then different courses would come together in the list  The format for the report


I am traveling from Nigeria to Italy with a direct airline. When I applied for renewal of my EU family member resident permit I was given the ricevuta and I went to my comune for my appointment I got this tiny slip with my pics on it underneath they wrote" Attessa carta di soggiorno" and they took the original of my expired permit from me. So right now I have the Ricevuta, the tiny slip with my pics on it, my electronic Identity card, my passport and copy of my old permit.   Can I fly directly to Italy on a direct flight? And the last time I checked online my permit is been processed.

I am a student from India  studying in Italy.  My soggiorno has expired and I have applied to renew it. I didnt get the renewed soggiorno yet and I heard from the authorities It tooks another month to receive it. I have a U.K visa and I would like to visit U.K next week. Can I travel using the reciept of Application?


In following MWE, letters with an accent that are within the personalized comment environment are generating following errors while compiling with pdflatex:     ! Package inputenc Error: Unicode char �tr (U+F0)   (inputenc) not set up for use with LaTeX.   Question: How to enable unicode characters within a comment-environment?    \documentclass{scrartcl}      \usepackage[utf8]{inputenc}     \usepackage[T1]{fontenc}     \usepackage{comment}             \includecomment{mycomment}     \begin{document}      \section*{Normal text}             Tous les êtres humains naissent libres et égaux en dignité et en droits.      \section*{Text within a displayed personnalized comment} \begin{mycomment}         Tous les êtres humains naissent libres et égaux en dignité et en droits. \end{mycomment} \end{document}

I noted that if I use comment.sty and a there is a block of text containing UTF8 characters inside a comment environment, the compilation aborts!  Minimal Example  \documentclass{article} \usepackage[T1]{fontenc} \RequirePackage[utf8]{inputenc}%this file is stored as UTF8 file! \RequirePackage{comment} \specialcomment{privateSolution}     {\begingroup\itshape\noindent\textbf{Solution}\\}     {\endgroup} %\excludecomment{privateSolution}%Use it to remove solutions!  \begin{document} \title{Comment.sty and UTF8 test file} \maketitle \section{UTF8 character test} In which alphabet characters àìùòè are common? \begin{privateSolution}     The Italian alphabet contains àìùòè. \end{privateSolution}  \begin{comment}     The Italian one! It contains àìùòè. \end{comment} \end{document}   Has anyone the same problem? Any workaround?  Thanks in advance.


A die is thrown until every possible result (i.e., every integer from 1 to 6) is obtained. Find the expected value of the number of throws.   How do I do that? I understand that probability for the single result is $\{1, 5/6, \ldots , 1/6\}$, but what about the expected value?

What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die?  The order in which the numbers appear does not matter.  I had this questions explained to me by a professor (not math professor), but it was not clear in the explanation.  We were given the answer $(1-(\frac56)^n)^6 = .5$ or $n = 12.152$  Can someone please explain this to me, possibly with a link to a general topic?


Brand new Ubuntu 18.04 install. Opened included Firefox 60.0.1 64-bit and logged into Netflix. Error F7355. Not F7355-1203, F7355-1204 or F7355-anything else. Just F7355.  DRM-controlled content is enabled.   OpenH264 is installed and enabled.   Widevine is installed and enabled.   Any suggestions?

I installed Ubuntu 18.04 64-bit and enabled DRM in Firefox. When trying to watch Netflix, I get the following errors:  Oops, something went wrong...  Netflix video player unavailable  We're having trouble playing Netflix in your browser. Please make sure you're on an official version of Firefox.  Error Code: F7355-1204   I'm using the version of Firefox that came installed with Ubuntu. How do I play Netflix videos on 18.04?


At my workplace, my senior, who is senior than me by age, experience and knowledge is always right. I want to tell (admit/appraise) him that, I do what he says and do not put my POV because at the end of conversation he will emerge as correct with all facts and examples and convince all of us in meeting. I don't want to use stubborn, adamant or any other rude word because he is never rude but polite. Edit: I want to add more maybe it is more  or less similar to what I wrote, still I think it would bring us more closer to that word.  He doesn't easily surrender to what anyone says in meeting and put facts across to in support of his point. Generally it becomes kind of interactive debate session and he appears to be winner in the end.  Steadfast:  He could come up as "Sorry, what did you say" and I go like "blah blah.." He again, "No dear, I am not that person" another debate started.  Authoritative, Self-reliant or Self-Righteous:  He could come up as "Oh no dear, I don't want to act as Authority, authoritative here, I am just putting facts on the table".  I am looking for word that people would accept, without any explanation/after-thoughts.

I'm trying to find a single adjective that would fit the best to the following person's trait:     One who thinks knows everything/best, and often doesn't listen to orders and instead completes some task his/her own way.    This person, while intelligent, is right about 50% of the time, when doing things its own way.   So far I've thought of independent, idiosyncratic and stubborn, but these words don't imply the "knows everything/best" part of the trait.


Water is pouring into a conical tank at a rate of 8 cubic feet per minute.  If the height of the tank is 12ft, and the radius of its circular opening is 6ft, how fast is the water level rising when the water is 4ft deep?   This is an in-class example that my professor used. The work below is how he solved the problem.     Volume of water is $V=V(t)$ Depth of water is $h=h(t)$  The relationship between V and h is:  $$V=\frac 13 \pi r^2h$$  $r=\frac rh$, and $\frac rh=\frac 6{12}=\frac 12$  So, $V=\frac13\pi(\frac h2)^2h=\pi h^3$       How did he get the $\frac h2$?    $\frac {dv}{dt}=\frac {\pi}{12}3h^2(\frac {dh}{dt})= \frac {\pi}4h^2(\frac {dh}{dt})$  When $h=4$, $\frac {dv}{dt}=8$.  $8=\frac {\pi}4(4)^2(\frac {dh}{dt})$  $\frac {dh}{dt}=\frac {\pi}2$      Let's see if I understand this. I've tried a similar problem with different values.  Water is pouring into a conical tank at a rate of 8 cubic feet per minute.  If the height of the tank is 10ft, and the radius of its circular opening is 5ft, how fast is the water level rising when the water is 4ft deep?  Volume of water is $V=V(t)$ Depth of water is $h=h(t)$  The relationship between $V$ and $h$ is$$V=\frac 13\pi r^2 h$$  $h_0=$ the height of the cylinder $=10ft$, $r_0=$ the radius of the opening $=5ft$  $$\frac rh=\frac {r_0}{h_0}=\frac 5{10}=\frac 12$$  $$r=h(\frac 12)=\frac h2$$  so, $$V=\frac 13 \pi (\frac h2)^2h=\frac {\pi}{12}h^3$$  When $h=4ft$ and $\frac {dV}{dt}=8ft^3/min$,  $$\frac {dV}{dt}=\frac {\pi}{12}h^3(\frac {dh}{dt})$$  =$$8ft^3/min=\frac {\pi}{12}(4)^3(\frac {dh}{dt})$$  = $$8=\frac {\pi}{12}(64)(\frac {dh}{dt})$$  = $$\frac {dh}{dt}=\frac 8{\frac {64\pi}{12}}=\frac {96}{64\pi}$$  =$$\frac {dh}{dt}=\frac 3{2\pi}ft^3/min$$

I have been working on this problem for about 2 hours and I can't seem to get it, here is exactly what the question reads. "Water is poured into the top of a conical tank at the constant rate of 1 cubic inch per second and flows out of an opening at the3 bottom at a rate of .5 cubic inches per second. The tank has a height of 4 inches, and a radius of 2 inches at the top. How fast is the water level changing when the water is 2 inches high?"


Does Sylvester's criterion work for the Hermitian matrix with coefficients in complex numbers? I found the proof for the real coefficients (), but I cannot find any proof for the complex number in general.

A symmetric matrix $A$ is positive definite if $x^TAx>0$ for all $x\not=0$.  However, such matrices can also be characterized by the positivity of the principal minors.  A statement and proof can, for example, be found on wikipedia:   However, the proof, as in most books I have seen, is very long and involved. This makes sense in a book where you wanted to prove the other theorems anyway. But there has to be a much better way to prove it.     What is the "proof from the book" that positive definite matrices are characterized by their $n$ positive principal minors?


Using Javascript how do you check if current URL contains an hash?  In test page I want to add a Javascript code to print:
yes, there is a hash here
   if hash is present (current page ) or:
no, there is no hash here
    if hash is not present (current page ).

I have some jQuery/JavaScript code that I want to run only when there is a hash (#) anchor link in a URL. How can you check for this character using JavaScript? I need a simple catch-all test that would detect URLs like these:   example.com/page.html#anchor example.com/page.html#anotheranchor   Basically something along the lines of:  if (thereIsAHashInTheUrl) {             do this; } else {     do this; }   If anyone could point me in the right direction, that would be much appreciated.


I have acer laptop with broken keyboard, so I am using an external USB keyboard. Can I disable PC's keyboard for all time? I have tried to physically damage keyboard.

I have a HP Compaq Presario C700 laptop with Windows 7 installed on it.  My laptop's keyboard is not working properly; some keys never work and some keys will keep on pressing. I've formatted the OS but it didn't solve my problem.  I bought an external USB keyboard and it works well. As some keys in the built-in keyboard activate themselves, I still couldn't work effectively.  After searching Google I tried the following steps to disable the built-in keyboard:   Disabled keyboard drivers: This didn't work because when the system reboots, the driver gets installed again automatically. Installed irrelevant driver for keyboard: This failed - I couldn't install the driver. After rebooting it installed the correct driver automatically.   Can anyone help explain how I can temporarily uninstall my built-in keyboard? I don't want to remove it manually (removing the hardware cable).


I'm looking for a cartoon.  As I can remember, the story follows a group of teenagers under the guidance of a virtual, priest or monk-like man in white clothes (who always appears on a big monitor), as they fight in a digitalized version of their city.  The main antagonist is a human-like bug, and his minion is a teenager guy who can program the virtual city, where the main characters are fighting.  Not sure: most of the base situation involves the main antagonist turning the main characters' city into a virtual world.

There are 4 friends: 2 girls and 2 boys who play video games. A virus program escapes and, with the help of a programmer boy, transforms the world into a video game. But a good program in a white robe turns the four of them into video game characters to save the world.  The evil virus mostly looked like The Tick from the cartoon "The Tick". Big strong guy with muscles but in red spandex. Little head with antenas, BIG chin and evil mustache.  One hero is the typical blonde girl who can scream loudly with a microphone or headphones. The other chick was shorter, more a grumpy type and with her big metal boots she was able to rock / shake the ground. There was also a funny white boy with red hair, he was a cyber archer. And their black-skinned friend, a typical tech guy with maybe one laser eye.  The transformed world has always had a theme: a swamp, a volcano,  space, a cyber city, a sewer, once a pinball machine, and so on. For some game points they were able to summon different vehicles, weapons and reinforcements/buffs.  The story is made up of the usual repetitive events: every day the hacker guy transforms the world or just the city with a wicked program. Summoning new monsters and obstacles for stopping the good guys to defeat him.  But our heroes always win and the evil program comments what a loser he is and the guy get frustrated.  (In the end, they convince the hacker guy that it just using him and he chose the good side then they wiped out the evil program forever.) - NOPE XD  Not Code Lyoko, ReBoot, Linkers, Cyberchasers. There is no 3D; it was fully hand drawn. I think it was American, but was definitely not Japanese and there was no anime-like stuff. I was young when I saw it, i'm live in a foreign country Hungary. So i dont know when was it released, but maybe before 2005. The main group maybe has something "force" in their name.


I have a testNG test class that extends some public base test class. The testNG class runs perfectly fine when I create the objects locally such as   public class SomeTest extends BaseTest {     @Test()     public void test() throws {         Checkout checkout = new Checkout(getDriver());         checkout.setValues("ASdf");     } }   however, if I try and move the Checkout object to the BaseTest class so that any test extending BaseTest can use that page object, I get the "cannot instantiate class error'  public class BaseTest {     protected Checkout checkout = new Checkout(getDriver());     protected WebDriver getDriver() {         return driver;     } } public class SomeTest extends BaseTest {     @Test()     public void test() throws {         checkout.setValues("ASdf");     } }     Cannot instantiate class com.asdf.websitetest.tests.checkouttests.SomeTest     at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:30)     at org.testng.internal.InstanceCreator.instantiateUsingDefaultConstructor(InstanceCreator.java:193)     at org.testng.internal.InstanceCreator.createInstanceUsingObjectFactory(InstanceCreator.java:113)     at org.testng.internal.InstanceCreator.createInstance(InstanceCreator.java:79)     at org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:109)     at org.testng.internal.ClassImpl.getInstances(ClassImpl.java:167)     at org.testng.TestClass.getInstances(TestClass.java:102)     at org.testng.TestClass.initTestClassesAndInstances(TestClass.java:82)     at org.testng.TestClass.init(TestClass.java:74)     at org.testng.TestClass.<init>(TestClass.java:39)     at org.testng.TestRunner.initMethods(TestRunner.java:459)     at org.testng.TestRunner.init(TestRunner.java:338)     at org.testng.TestRunner.init(TestRunner.java:291)     at org.testng.TestRunner.<init>(TestRunner.java:222)     at org.testng.remote.support.RemoteTestNG6_12$1.newTestRunner(RemoteTestNG6_12.java:33)     at org.testng.remote.support.RemoteTestNG6_12$DelegatingTestRunnerFactory.newTestRunner(RemoteTestNG6_12.java:66)     at org.testng.ITestRunnerFactory.newTestRunner(ITestRunnerFactory.java:55)     at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:676)     at org.testng.SuiteRunner.init(SuiteRunner.java:178)     at org.testng.SuiteRunner.<init>(SuiteRunner.java:112)     at org.testng.TestNG.createSuiteRunner(TestNG.java:1275)     at org.testng.TestNG.createSuiteRunners(TestNG.java:1251)     at org.testng.TestNG.runSuitesLocally(TestNG.java:1100)     at org.testng.TestNG.runSuites(TestNG.java:1039)     at org.testng.TestNG.run(TestNG.java:1007)     at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)     at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)     at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) Caused by: java.lang.reflect.InvocationTargetException     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)     at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:23)     ... 27 more Caused by: java.lang.NullPointerException     at com.asdf.websitetest.pages.Checkout.<init>(Checkout.java:22)     at com.asdf.websitetest.tests.bases.BaseTest.<init>(BaseTest.java:21)     at com.asdf.websitetest.tests.bases.CheckoutBase.<init>(CheckoutBase.java:6)     at com.asdf.websitetest.tests.checkouttests.SomeTest.<init>(SomeTest.java:12)     ... 32 more

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


This is probably a stupid question, but need to know if i had two weapons: A - DPS 100, attack speed 2 (these are all hyperthetical figures ofcourse) B - DPS 200. attack speed 1  Does it matter which i put in the left or right hand? I hear to put the higher speed weapon on the primary slot.   Is this true and is there any other things to note when slotting weapons?

In WoW and other games you see some difference in using an speed weapon in your left weapon slot and your right weapon slot.  Is there any difference in Diablo 3? Should I use the X weapon in slot Y?


So basically I have thousands of street listings that I would like to organize.  The street listings are currently stored in one string variable like this:  123 Street dr 123 N Street dr 123 N Street drive 123 Street Drive 123-N Street drive 123 North Street drive   As you can tell, its pretty random.  I would really like to have them stored in an object called Location with the following definitions.  int streetNumber; string direction; string streetName; string typeOfStreet;   I am doing this in C# if it matters, I believe its more of a logic question.  Is there an easy method of doing this?  It doesn't have to be completely perfect, I would like to just get around a 90% success rate and I will just mark off the ones that I have "organized."  Thanks Ahead

Problem: I have an address field from an Access database which has been converted to SQL Server 2005. This field has everything all in one field. I need to parse out the address's individual sections into their appropriate fields in a normalized table. I need to do this for approximately 4,000 records, and it needs to be repeatable. Assumptions:  Assume an address in the US (for now)  assume that the input string will sometimes contain an addressee (the person being addressed) and/or a second street address (i.e. Suite B)  states may be abbreviated  zip code could be standard 5 digits or zip+4  there are typos in some instances   UPDATE: In response to the questions posed, standards were not universally followed; I need need to store the individual values, not just geocode and errors means typo (corrected above) Sample Data:  A. P. Croll & Son  2299 Lewes-Georgetown Hwy, Georgetown, DE 19947  11522 Shawnee Road, Greenwood DE  19950  144 Kings Highway, S.W. Dover, DE  19901  Intergrated Const. Services 2 Penns Way Suite 405 New Castle, DE  19720  Humes Realty 33 Bridle Ridge Court, Lewes, DE  19958  Nichols Excavation 2742 Pulaski Hwy Newark, DE  19711  2284 Bryn Zion Road, Smyrna, DE  19904  VEI Dover Crossroads, LLC  1500 Serpentine Road, Suite 100 Baltimore MD  21  580 North Dupont Highway Dover, DE  19901  P.O. Box 778 Dover, DE  19903


I want to run IBALauncher app as administrator. After downloading the tar.gz file what should I do?... I am using ubuntu 16.04 Thanku

I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?


I wan't to know in screenshots.sorry i can't explanation,i am new in blender.

Guys i am in a big problem and don't know how to do that.i want to attach rigged skirt/cloth with my rigged character i don't wan't to lost cloth bones.


How can I add an UI widget for a group input?  Example: Physics > Smoke > Smoke Groups    How can I create such a field in a panel with a python script?

In my addon panel, how can I have an object selection box?  And what data type would I use to store the the selected object?  It should look like this:


How can Excel open a .txt file and keep 0x0D chars and foreign chars ß ä? The file is tab delimited.  Windows 7, Excel 2010    Edited ten minutes later.  I drag and drop one .txt file and it works fine.  I drag and drop a second .txt file and it does not.    The second .txt file appears to be a different encoding.  They both display fine with NotePad.

I have two issues with a csv file that occur when I try and edit it in Excel.   I have an ISBN column that gets reformatted to scientific format every time I save the file The encoding for the file is changed from UTF-8 to ANSI when I open the file.   It is really, really frustrating and a complete waste of time.  Is there any way that I can force Excel to leave the format of the file alone?