Let $f(z)$ be a holomorphic function and $f(z)$ is 1-1.  If $f(z)$ has a zero at $z=x$,  then $x$ is a simple zero?  I guess this is simple fact, But I can't prove it, and I can't find related article.  Thanks!

I recently saw a lecturer prove the following theorem (assuming the result that every analytic function is locally 1-1 whenever its derivative is nonzero): Let $\Omega \subset \mathbb{C}$ be open, and let $f : \Omega \to \mathbb{C}$ be 1-1 and analytic on $\Omega$.  Then $f'(z_0) \not = 0$ for every $z_0 \in \Omega$.  I got the basic idea behind the proof: we assume for contradiction that $f'(z_0) = 0$, and, assuming without loss of generality that $z_0 = f(z_0) =0$, we have (from the power-series expansion) that $f(z) = z^kg(z)$ for some analytic $g$ in some disk at the origin (i.e., $z_0$) and some $k \ge 2$. Since $z^k$ is not 1-1 in any such disk (because there are multiple roots of unity), then $f$ isn't either.  However, the proof he gave was rather awkward and technical- it involved defining three different axillary functions, even though the idea was simple, and I've since forgotten how it exactly worked.  In any case, I'm convinced there's a better way.  The problem is that I'm having trouble turning the idea into a real proof- I know that it obviously follows if $g$ is 1-1, but I'm also pretty sure that that is too strong an assumption.  Am I missing something, or does the argument just have to be more complicated?


I'm trying to make a shape. I have successfully created the shape but when i try to add a stroke it moves my anchor points and the stoke becomes non symmetric around the joining part.  Have any ideas why is that?   the image on the left is without the stroke and the right with the stroke added. as you can see the "bridge" its not uniform. i don't understand why.

I very recently started learning how to use Adobe Illustrator (CS6), and just now I noticed something strange. When I add a 1pt stroke to my shape, it gets slightly distorted. This distortion does not disappear if I remove the stroke. (But only if I remove the stroke by setting its weight to 0. Using CTRL+Z does return the shape to its former state.)  After adding and removing the stroke a few times, the difference becomes quite noticable:   Am I doing something wrong? Is it a bug? I can't imagine this being the expected behaviour.  EDIT: I think I figured it out. Appearantly, turning 'Align to pixel grid' off doesn't affect previous shapes. If I turn it off and then recreate my shape from scratch, the problem is fixed.   However, I was wondering if their is a way to disable the effect for existing shapes. In other words, can I 'fix' the shapes I created while 'Align to pixel grid' was still on?


I texted my mother and told her that I was eating in a restaurant.  My mother asked:  What restaurant are you in?  Or   In what restaurant are you?  (I'm inside the restaurant and I'm eating something.)  Are these sentences correct in informal English?  If it's not , what would a native speaker suggest?  Thank you.

Like many others, I commonly find myself ending a sentence with a preposition.  Yes, it makes me cringe.  I usually rewrite the sentence, but sometimes (in emails) I just live with it.  To, with... you know who you are.  Should I keep fighting myself on this one, or is it okay in some circumstances?


Last time I had a GPU brought from the US it was my brother-in-law who put it in his suitcase and when he landed in Chile he noticed that at the US Customs they opened it and opened the GPU box, leaving a piece of paper saying that they were checking if it was a bomb or something similar (Thankfully they didn't break it)   Now I'll be travelling on April this year to the US and I want to buy a new graphics card over there. Is it safe to bring it in my carry on? Will I have any trouble at the airport security? (I would be going back from the US to Chile)  Please excuse my english, and thanks for your help!!

As I will be travelling to the US in July, I was thinking of buying two graphics cards (R9 390X) over there and bring them back to Switzerland, as computer components are mostly a bit cheaper over there.  I know that the US has some really high security standards regarding international flights. If I take these two GPU's in my carry-on luggage (so they don't break), how would a security officer at LAX react when they see those Graphics cards? I do realise that most people don't actually know what a GPU is or how it looks like. So I am concerned that a security officer might take them from me at an airport when trying to board an international flight.  Believe it or not, I read some really strange stories in forums from people that claim the security officer did not know what a GPU is and thought it might be some sort of a bomb.  Note: By "GPU" I am referring to the whole graphics card (with circuit board, coolers, etc.) and not just the processing unit.


Why can a regex correctly identify bracketing such as ((a)) but not (((a)? I don't have any specific regex in mind but I am curious on why it is the case.

Is it possible to write a regular expression that matches a nested pattern that occurs an unknown number of times? For example, can a regular expression match an opening and closing brace when there are an unknown number of open/close braces nested within the outer braces?  For example:  public MyMethod() {   if (test)   {     // More { }   }    // More { } } // End   Should match:  {   if (test)   {     // More { }   }    // More { } }


I'm trying to remove codeblocks package as shown below, but it shows error like this. I've tried the following: sudo apt-get install -f sudo apt-get update sudo apt-get autoclean sudo apt-get clean sudo apt-get autoremove  On runningg sudo apt-get remove codeblocks, I see the following error: Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:  codeblocks-contrib : Depends: libboost-system1.67.0 but it is not going to be installed                       Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable                       Depends: libwxsmithlib0 (= 20.03) but 20.03-3 is to be installed                       Depends: codeblocks (= 20.03) but it is not going to be installed                       Recommends: valgrind but it is not going to be installed                       Recommends: cppcheck but it is not going to be installed                       Recommends: cscope but it is not going to be installed                       Recommends: cccc but it is not going to be installed  codeblocks-dev : Depends: libcodeblocks0 (= 20.03) but 20.03-3 is to be installed  codeblocks-libwxcontrib0 : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).  I tried the sudo apt --fix-broken install command, which gives the following output: Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following package was automatically installed and is no longer required:   libllvm9 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed:   codeblocks-contrib codeblocks-dev Recommended packages:   valgrind The following packages will be REMOVED:   codeblocks-libwxcontrib0 codeblocks-libwxcontrib0-dbgsym codeblocks-wxcontrib-dev codeblocks-wxcontrib-headers The following packages will be upgraded:   codeblocks-contrib codeblocks-dev 2 upgraded, 0 newly installed, 4 to remove and 33 not upgraded. 6 not fully installed or removed. Need to get 0 B/4.969 kB of archives. After this operation, 6.059 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 190539 files and directories currently installed.) Preparing to unpack .../codeblocks-contrib_20.03-3_amd64.deb ... Unpacking codeblocks-contrib (20.03-3) over (20.03) ... dpkg: error processing archive /var/cache/apt/archives/codeblocks-contrib_20.03-3_amd64.deb (--unpack):  trying to overwrite '/usr/lib/codeblocks/wxContribItems/libwxchartctrl.so.0.0.1', which is also in package codeblocks-libwxcontrib0 20.03 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/codeblocks-contrib_20.03-3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  After this I am not able to install any package. How i can solve this problem?

Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this?


Over the last months, I was working on several API backends and I couldn't find a simple tool to quickly create API requests and view the results. (Other than writing blocks of javascript or long curl commands)  I've read several Stack Overflow faq's and many promotion-discussions, but I can't find a good way to share my tool with other users, possibly looking for such a tool. If there is a better way, or if there's a special board for 'tool promotion', please let me know.

I would like to help my fellow Stackizens, using material from my blog or other website.  But external links are sometimes viewed as excessive promotion.  From the FAQ:     Be careful, because the community   frowns on overt self-promotion and   tends to vote it down and flag it as   spam. Post good, relevant answers, and   if they happen to be about your   product or website, so be it. However,   you must disclose your affiliation in   your answers. Also, if a huge   percentage of your posts include a   mention of your product or website,   you're probably here for the wrong   reasons.   I have tried posting answers that reference my blog, and I have followed the above rules, but my answers still get flagged as spam.  How can I craft an answer that references my blog, website or other resource, but is still acceptable to the community?


Can you still become a vampire lord if you have killed Harkon and cured Serana on Xbox 360? I tried to talk to Serana before I cured her but the option did not come up.

I've finished Dawnguard and chose to cure Serana of vampirism, but now I think I'd like to have the option of become a vampire lord and getting bloodcursed arrows. I've done some basic console fiddling but was unable to faithfully reproduce a vampire lord transformation (adding the vampire lord spell turns you into a weaksauce version that dies in 2 hits on Master). Mods and console commands welcome, though I'd prefer something along the lines of Valerica taking on Serana's "duties" or simply turning Serana back into a vampire lord.


I'm implementing a port control protocol (PCP) client working in Linux, implemented in C. It needs to connect to the default gateway to open ports. PCP needs to embed the local IP address in the message itself, not just in the IP headers (presumably this is for detecting the presence of unwanted NAT in the path, but it's a mystery to me how there could be a NAT between the machine itself and its default gateway). PCP also needs to connect to the default gateway, needing its address.  This raises two questions:   How to find the IP address of the default gateway? How to find the IP address of the machine towards the default gateway even in the presence of multiple interfaces and IP addresses?

How do you find the default gateway of a routing table using C on Linux?  I don't want to issue a call to the shell or read a file.  There are ioctls for adding and deleteing routes (SIOCADDRT, SIOCDELRT) and I've found on reference to getting routes (SIOCGRTCONF) but it seems that the version of the kernel I'm using doesn't support SIOCGRTCONF.


I'm traveling to the Schengen area again within the 180 day period. I have already spent 50 days within the area but have returned back to the States. However, upon returning, my passport was stolen and I've been reissued a new passport. Because I have a new passport, there's no record of me being in the Schengen area in the actual passport itself. Is it possible to overstay the 40 days that I have left for the 90/180 day rule? I want to travel for longer but I only have 40 days left in the area.

I am from Brazil and travel a lot in Schengen countries. Under the rules of Schengen visa (3 months stay in a 6 months period). In my passport are the entrance and exit stamps, also to chec the days I stay in Schengen.  I need a new passport and will get this in Brazil. So in this new passport are NOT the stamps. Does this mean I start new with the Schengen visa rule? I seems like. The new passport is empty. Or do I miss something? It would be great because I am almost on my 90 days stay in the period of 180 days.


When u go to your clan and it lists the people in it some people have an icon on the left side of their name. It is the clan war icon so I know it has something to do with war but what exactly does it mean?

When I open my clan roster, I now notice there is a symbol that has a shield + two swords next to most clan member's name.  What does this signify?  Are they ready for clan battles?


I have a problem with a references using BibTeX and IEEEbib. In my bibliography file (in the subfolder bib) there is this a reference with howpublished that produce this output:  @misc{allison2012simulation,   author = {Allison, James T.},   title = {Simulation and Animation of a Quarter--Car Automotive Suspension Model},   howpublished = {\url{http://www.mathworks.com/matlabcentral/fileexchange/35478/}},   year = {2012},    note = {[Online; accessed 25--March--2015]} }     Note that in the figure that the URL is clickable, but wrong because truncated at the end of line. The second part of URL is not clickable.  This is the references results that I obtain. All is right, but the link in PDF is not http://www.mathworks.com/matlabcentral/fileexchange/35478/, but only http://www.mathworks.com/matlabcentral/ truncated to the end of line.  The essential document is:  % !TeX spellcheck = en_US \documentclass[a4paper]{article} \usepackage{amsmath,graphicx,cite} \usepackage{epstopdf,epsfig,tikz,mathtools,caption,subcaption,amsfonts} \usepackage{url} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \input{ushyphex}  \begin{document} My citation~\cite{allison2012simulation}.  \bibliographystyle{bib/IEEEbib} \bibliography{bib/suspension}  \end{document}   What is the way to fix it?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.


My girlfriend was located at a house in a town that she works in. I asked whose house and she replied she'd never been there. I drove by on my own after dropping her off and recognizedo the car in the driveway as belonging to a coworker of hers. So could this be because they phone each other and their phones somehow connected to each other pinpointing her there while never physically there. A random house is a e asy  you shrug, but to be her coworkers home out of 500 homes seems against good odds.

I have a major problem that I hope someone can help with. On my Google Maps feature under my Location History it shows a location that I was never at at any point, but when my wife happened to see that location she doesn't believe me that the GPS could be wrong and pinpoint that location if I was never there.  I was first wondering myself how could that could be possible if I was never there or my phone was never at that location that was 35 miles away from me and second is there any way I could prove the GPS being wrong? Can I contact Google Maps and can they give an official printout of that certain day and every location I was? I really need to prove my honesty to her and hope there is a way.


I have a file which contains multiple occurrences of pattern "====". These patterns are followed by texts. I'd like to search for the last occurrence of the "====" pattern and print all the lines after the pattern. Any ideas on how to do it in bash? Combination of grep, awk, sed or tail, etc..?  Sample file:  ====  First run of script  End of first Script  ====  2nd run of script  End of 2nd script  ====  3rd run of script  End of 3rd script   Output of the command should look like below.  3rd run of script  End of 3rd script

I have a text with marker lines like:  aaa --- bbb --- ccc   I need to get a text from the last marker (not inclusive) to EOF. In this case it will be  ccc   Is there an elegant way within POSIX.2? Right now I use two runs: first with nl and grep for the last occurrence with respective line number. Then I extract the line number and use sed to extract the chunk in question.  The text segments may be quite large, so I'm afraid to use some text-adding method like we add the text to a buffer, if we encounter the marker we empty the buffer, so that at EOF we have our last chunk in the buffer.


I have seen people using both Gray and Grey but I wonder which one is correct and when to use one?

What is the difference? Or is there any? Which would be more British English?


There are $N$ balls in an urn labeled in $\{1,2,3,\dots,N\}$. In each step we choose one ball randomly and observe its label and then put it back to the urn. We continue these observations until observing all of $N$ labels. Calculate the expected value of number of balls observed only once?

Suppose there are $N$ cards, $1,2,\dots,N$.   We start drawing cards (with replacement), until each card has been drawn at least once (we stop when the last card is drawn for the first time).   Let $x$ be the number of cards that have been drawn exactly once.   What is the expected value of $x$?   The answer is supposed to be $1 + \frac{1}{2} +\dots+ \frac{1}{N}$.


I have posted a similar question before. But the issue remains still. So it happens after I upload my system for galaxy S3 two week ago. And after that  whenever I connect to my laptop , it wouldn't pop up the option to let me select MTP as before. And  this is what  displayed in control panel-> Hardware and Sound ->Devices and Printers     Does anyone know a possible solution to this?

I found I failed to transfer pics in galaxy to my computer using USB connection after my recent AT&T update. I chose settings->network->more network. And there is an option to tethering via USB and it did prompt with a connecting sound. However, my Samsung device displays as unrecognized device and there is no extra drive popping in my computer. Does any one may know the solution to this?


I tried to post the XAML code where I thought that the Window properties were essential to . Whenever I copy paste anything that has the Window, it never shows in the preview. I've got to format it as a code block. If I copy/paste this:  <Window x:Class="HDD_Drill_View.Windows.WndwMain"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"         Title="HDDC"         WindowStartupLocation="CenterScreen"         Name="wndwMain"         Closing="WindowClosing"         ResizeMode="NoResize"         WindowState="Normal"         SizeToContent="WidthAndHeight">   It doesn't show until formatted. Yet if I copy/paste:  <Grid>     <DockPanel Width="Auto"                LastChildFill="False"                HorizontalAlignment="Left">         <DockPanel.Background>             <ImageBrush ImageSource="..\Resources\background.png"                         Stretch="UniformToFill"                         TileMode="None" />         </DockPanel.Background>         <StackPanel DockPanel.Dock="Top"                     Height="Auto"                     Width="Auto"                     Orientation="Horizontal"                     HorizontalAlignment="Center">             <Label Style="{StaticResource HeaderLabel}"                    Content="HDDC Reports"                    HorizontalAlignment="Center"                    Name="label1" />         </StackPanel> </Grid>   It shows just fine, and auto formats it as it should. Is there a particular reason for this? Can it be fixed to allow the autoformatting of copy/paste of that section of XAML?

How do I post text so that it is formatted as code?  What do I need to do so that my code shows up properly — not escaped or removed — when posted? And how to get the correct syntax highlighting?     For more information, see "" in the .


I'm trying to find a novel written in American English that I read about twenty years ago. It might have been published about thirty years ago. It has the following details:  The aliens are land based, very long lived and communicate via large numbers of cilia on their tentacle tips. They are Masters at biological sciences and are able to recreate the human race based on the radio messages sent long ago by humans. The message contains genetic information as well as cultural information and recordings.  The human race is a short lived, less capable minority compared to the aliens. Some humans become rebellious to the point of violence as a result.   After that is resolved, some humans embark on a return trip to Earth's solar system in a biologically based (giant tree) ship. Earth has meanwhile evolved a new dominant, technological race that they are in instant conflict with. They also find a devolved remnant of humanity similar to ferrets or rats.  I can provide more details if required, just don't want to give too many spoilers.

I'm looking for a specific scifi book that I read years ago, I only partially remember the story, and I don't remember the author or the title.  What I remember of the story is:   An alien race picks up a signal from humans that includes instructions on how to make their own humans (genetic instructions). The humans grow up knowing they are created and are taught by the alien race. They are eventually given resources to build a ship, and go looking for their origins. They eventually find the solar system, but nobody answers. They find some stations orbiting earth and find that the station is very old, so old in fact that humans have long been extinct and other creatures have reached local space, and have been looking around the station as an archeological dig. I think they refer to two developed races from earth, but one developed from rats.   If anyone know what story this is, and can point me at it, its been driving me crazy for at least 15 years, and I think it's actually been much longer, since I can't remember when I read it.


I'd like to remove the already started village because my son can't / won't stop playing it.   Congratulations to the developers on the success of game, but I need to kill the village in order to save my son from himself.

I downloaded Clash of Clans to my iPad (iOS 7) this past weekend and started playing.    Of course, after a couple of hours I realized I made some newbie mistakes that are fatal to my future success.  I wanted to restart, but it seems the only way to do so is to reset the device which I really would like to avoid.  After some Googling I tried the option of logging out of Game Center and logging in with a different Apple ID.  But, sadly, CoC re-launched back into the existing game.  Is there any way I can start over? Or at least start a new game under a different account on the same device?


Is it possible to block Windows 10 Update servers on a firewall by IP, name, and port? Looking to use Windows 10 Pro in a work environment without having it update? If this is possible, what are your thoughts on any affects this may cause to Windows 10 Pro. Do you think disconnecting they system from MS will cause it to unauthenticated the license or cause other issues. We are currently testing this too, will update if we have success.

We've upgraded some machines to Windows 10 and realized there were some updates which updated as required. However, I realized there was no option available to stop the download similar to that on Windows 7 and 8.1. The only way I could stop the download was to stop the Windows Update service.  My question is does anyone know of a way to stop auto updates or is stopping the service is the only solution?


Made up this question while thinking about something in topology and thought I'd post it here for fun, to see how you guys might solve it:  Give an example or disprove the existence of an infinite, topological Hausdorff space $(X,\tau)$ in which every infinite subset is dense.

I dont have a clue about the proof in the reverse implication on the iff statement.  I will show what I have by now:  1) A cofinite topology implies that any infinite subset in $X$ is dense. Let $U\in\tau$ and is cofinite topology so $U=X-\bigcup_{k=1}^{n}\{x_k\}$.  Let $V\in X$ an infinite subset then $$V\cap U=V\cap(X-\bigcup_{k=1}^{n}\{x_k\})=(V\cap X)-(V\cap \bigcup_{k=1}^{n}\{x_k\})=V-(V\cap \bigcup_{k=1}^{n}\{x_k\})$$  and cause $|V|\ge\aleph_0$ and $|\bigcup_{k=1}^{n}\{x_k\}|=n\in\Bbb N\,$ we have that $|V\cap \bigcup_{k=1}^{n}\{x_k\}|\le n$. And finally is obvious that $V-(V\cap \bigcup_{k=1}^{n}\{x_k\})\ne\emptyset$ so any infinite subset is dense on $X$.  2) A cofinite topology implies a $T_1$-space. Let $x, y\in X$ and $U\in\tau: U=X-\{y\}$ so $x\in U\land y\notin U$. We can define too $V\in\tau:V=X-\{x\}$ so $x\notin V\land y\in V$ then a cofinite topology is a $T_1$-space.  But my problem is that I dont have a clue to prove the reverse implication i.e. if we have a $T_1$-space where every infinite subset is dense then it is a cofinite topology. Some hint? Some advice or correction in the proof of above? Thank you in advance.    I will complete the proof with the advice of @Cameron Buie.  1) A $T_1$-space implies that any finite subset is closed. Let the singleton $\{x\}\subset X$. Then $\overline{\{x\}}=\{x\}\cup\{x\}'$ where $\{x\}'=\{y:(\forall U\in\tau : y\in U)\land x\in U\}$, but because we are in a $T_1$-space exist some $U$ for any points $x,y\in X: x\in U\land y\notin U$ so $\{x\}'=\emptyset$ then $\overline{\{x\}}=\{x\}$ and is closed.  This means that for every $T_1$-space it cofinite sets are open.  2) If any infinite subset is dense on $X$ it means that the closure of any infinite subset is $X$ so the only closed sets are finite (and $X$ itself), so the topology is cofinite.


How can I have a big sum symbol (or rather normal sized) within a align environment, but still have the limits not underneath the the symbol and on top, but to the side. So  this is what I want:    If I use \textstyle, the sum symbol gets also small. The same goes for integrals too, of course.

I'm very familiar with how symbols display differently in inline mode (with $ ... $) vs. how display math shows them (with \[ ... \] or $$ ... $$).  Two examples would be with limits  $\lim_{n\rightarrow \infty}f(x)$   vs.  \[ \lim_{n\rightarrow \infty}f(x) \]   and with sums  $\sum_{n=1}^{x} n^2$   vs.  \[ \sum_{n=1}^{x} n^2 \]   My Question is:     How do you display these things in inline mode (with all the nice inline formatting) as if they were in display mode ?   The inverse -- how to display things in display mode as if they were in inline mode -- is also of interest.


I am trying write code which will read input from a txt file and stop after reaching a certain line.  This is my current code:  File data = new File("text.txt"); try {      Scanner load = new Scanner(data);      while (load.hasNextLine()) {         String line = load.nextLine();         if (line == "end") break;         System.out.println(line);     }      load.close();  } catch (FileNotFoundException e) {     System.out.println("File not found"); }   This is the text contained in text.txt:  line1 line2 line3 end line5 line6   I expected it to only output the lines before the line end, but instead, every line was printed. How can I fix this issue?

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 am logged on as domain user to windows 7 professional and listed as administrator , i tried changing the logon screen via    change in registry in authentication logon  change in group policy for custom background   I placed the jpg in backgrounds folder in  oobe/info but still the background does not change.

Is there an easy (and free) way to change the Logon Screen wallpaper in Windows 7?


How do you install windows 10 drivers for an old designjet 430 hp plotter?  It has a parallels port (LPT port), no USB.   I haven't been able to find Windows 10 drivers for it.

I have a new computer with a Asus P5QL Pro motherboard and wanted to plug my old HP DeskJet 950C printer into it only to discover that the motherboard has no LPT/Parallel port.  What is the best solution for this?    is there a LPT-to-USB adapter? do I need to buy an LPT PCI board?


I'm trying to do this command:  /give @p Minecraft:diamond_pickaxe 1 0 {[id:34,lvl:30000]},{[id:32,lvl:30000]},{[id:70,lvl:30000]},{[id:35,lvl:30000]},{[id:16,lvl:500]}   But it says data tag parsing failed: encountered multiple top tags. What am I doing wrong?

So I entered this and it says this all the time      Data Tag Parsing Failed: Encountered Multiple Top Tags, Only One Expected   And here is the command:   /summon Villager ~ ~1 ~ {NoAI:1,Rotation:[45.0f,-15.0f]},{CustomName:"Fire"}


I'm having problems installing the spotify client on Ubuntu 14.04. I've installed the latest updates, but it didn't change anything.   First I ran:  deb http://repository.spotify.com stable non-free   Then I did:  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59   After that I did:  sudo apt-get update   And then I did:  sudo apt-get install spotify-client   But it says   cannot find package spotify-client...

Hi everyone I'm attempting to install spotify, I've been running linux for less than 24 hours so please cut me some slack if this seems trivial. Here is a link to the webpage  and the example script.         Add this line to your list of repositories by editing your /etc/apt/sources.list    deb http://repository.spotify.com stable non-free    If you want to verify the downloaded packages, you will need to add our public key  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59    Run apt-get update  sudo apt-get update    Install spotify!      sudo apt-get install spotify-client      would someone be nice enough to walk me through this? I'm not even sure where to start.


I am working on an invitation design for a charity. I am wondering which one of these is correct, Young Men's Committee or Young Mens Committee

I've been living in Ireland for almost a year now and I start noticing they use the word "mens" a lot. I can see it used in:   Shops, to denote the area where you can find men's clothes In sport, when they talk about "mens team".    My guess is just that they are lazy about the use of quotes, so that mens should actually be men's. However, there may be some rule I'm not aware of. So, is "mens" only limited to Irish English? When I'm allowed to use it?


When I vote to close a question and leave an explanation, a common response is     Here are dozens of older questions that meet the same criteria. Why don't you close all of those?   Should I respond to comments like these? If so, how?

One of the main arguments against keeping old, fun posts in a locked state is that they create broken windows, which serve as an advertisement for the types of questions which are acceptable—notwithstanding the historical notice stating the opposite. I've never found that argument convincing, but I certainly wouldn't want to encourage behavior that makes Stack Overflow worse, so I'd honestly, sincerely, without any trolling like to ask those that do believe this to drop the hammer on me.   If this claim is true, I would expect Meta to be rife with posts from indignant users claiming that their question was closed, while that "weird programming feature" question over there exists. I would think coming up with about two dozen such meta posts from the last 6 months would be trivial; surely this problem is big enough to manifest itself at least once per week.  To be clear, I've seen Meta pages filled with posts containing "why question closed". I know plenty of questions get closed, and plenty of people complain. I'm talking about people specifically complaining that "old junk exists, so my new junk should, too".   Finally, let's not waste time digging through all the closed Stack Overflow questions looking for stuff that seems similar to these purported broken windows. There are tons of junk questions that come into the front door of Stack Overflow every day. This junk comes in many flavors: here's a wall of code, now find my error; here are my program requirements, now someone write it; spam; and, of course, non-constructive crap that might look similar to some of the old favorites. But just because some old junk questions exist, and some new junk questions get asked, doesn't mean the former caused the latter—post hoc ergo propter hoc.  No more rhetoric, no more arguments, no more anger. Just data.     EDIT  There's been a bit of confusion as to what I'm asking above, and it seems I could have been a bit clearer. A lot of answers and comments below deal with open questions on Stack Overflow and Programmers.SE creating broken windows, with one answer even quoting me to show how keeping questions open and active can create broken windows. The people writing these answers are correct; keeping off-topic questions open and active does indeed cause these problems.  This question is intended to ask whether broken windows would be created by keeping questions like the  closed and locked, delisted from "top question" pages, and with a big bright prominent banner proclaiming to all that the question exists for historical purposes only, and is not a good example of an on-topic question.  So the bottom line is, I was wondering just how many meta threads there were asking "why can't I ask X when Y exists" Where Y was locked at the time of asking (which would likely be reflected in the answers).


It is confusing to me that = seems to assign values to variables as it usually does in other languages, but what does : do?   I feel like it is assigning functions or some other stuff to a variable.   What exactly it is doing?  Here is an example:  import React from 'react';  const MyComponents = {   DatePicker: function DatePicker(props) {     return
Imagine a {props.color} datepicker here.
;   } }  function BlueDatePicker() {   return <MyComponents.DatePicker color="blue" />; }   The colon is after DatePicker

I'm learning JavaScript and while browsing through the jQuery library I see : (colon) being used a lot. What is this used for in JavaScript?   // Return an array of filtered elements (r) // and the modified expression string (t)    return { r: r, t: t };


I have heard about a BSD project called UbuntuBSD, i just want to know that, is that a official project of ubuntu and canonical?

What are the official Ubuntu derivatives? How many are there?


When starting my Outlook 2013 application, I got the below error.  How can I get rid of it and get my Outlook back to work?

I went to open Outlook 2007 on my Windows 7 32bit machine and it came up with this error:  Cannot start Microsoft Office Outlook. Cannot open the Outlook window. The set of folders cannot be opened. The information store could not be opened.  I have deleted and created a new profile in Control Panel > Mail but it still doesn't want to work properly but it still comes up with this message.  Thanks in advance.


$\int_{-\infty}^{\infty} e^{-x^2} H_m(x)H_n(x)dx=\left\{\begin{matrix} 0, & m \neq n\\   2^n n! \sqrt{\pi},& m = n \end{matrix}\right.$ Thats a Hermite polynomials. I need a hint, i really didn't get that at all.

I would like to prove to myself that Hermite functions, defined by $\varphi_n(x)=(-1)^n e^{x^2/2}\frac{d^n e^{-x^2}}{dx^n}$, $n\in\mathbb{N}$ are an orthogonal system in $L^2(\mathbb{R})$, i.e. that, for any $m\ne n$, $$\int_{-\infty}^\infty e^{x^2} \frac{d^m e^{-x^2}}{dx^m} \frac{d^n e^{-x^2}}{dx^n}dx=0 $$ I have tried by integrating by parts as the book where I find such a statement, Kolmogorov-Fomin's Элементы теории функций и функционального анализа, says that it can be proved, but I am landing nowhere since I have no experience in manipulating such integrals... Thank you so much for any answer!


What I know from basic calculus: The first derivative of a function $f:\mathbb{R}\to\mathbb{R}$ gives an indication of the function's behavior (namely, how the value of $f(x)$ changes as $x$ changes). The second derivative admits information about the concavity of the function.  On , I read that first order partial derivatives of a function $f:\mathbb{R^2}\mapsto\mathbb{R}$ can show the same principle; that is, $\dfrac{\partial f}{\partial x_i}$ can be thought of the rate of change of a particular cross-section of $f(x_1,x_2)$ in the direction of $x_i$. If this is the case, then it makes sense to me that $\dfrac{\partial^2f}{\partial {x_i}^2}$ is useful in showing how the concavity of a function changes in the direction of $x_i$.  So what might $\dfrac{\partial^2f}{\partial x_1\,\partial x_2}$ and $\dfrac{\partial^2f}{\partial x_2\,\partial x_1}$ represent? Do they offer anything "meaningful" in the same way that the first- and unmixed second-order partial derivatives do?

Are there any geometric interpretation for the second partial derivative? i.e.  $$f_{xy} = \frac {\partial^2 f} {\partial x \partial y}$$  In particular, I'm trying to understand the determinant from  for determining whether a critical point is a minima/maxima/saddle points:  $$D(a, b) = f_{xx}(a,b) f_{yy}(a,b) - f_{xy}(a,b)^2$$  I have no trouble understanding $f_{xx}(x,y)$ and $f_{yy}(x,y)$ as the of measure of concavity/convexity of f in the direction of x and y axis. But what does $f_{xy}(x,y)$ means?


so i tried to build a station that teleports you away when you come close, but now it repeats teleporting me to a specific place and i cant move from there. I'm also not able to destroy the command block because it is to far away. I wanted to ask if there was a way to destroy the command Block with a command from the distance  so i could get away from the place it teleports me to. Game Version: 1.12.2 (i cant use 1.16 commands)

I set a command block to /tp. It was supposed to activate only if you had 0 time left, and to activate the command block with a hopper clock to keep giving it power.   But it is not checking if you have 0 time left, so it keeps teleporting me. I can't get close enough to the command block to break it, so I'm stuck in a neverending teleport loop.  Any ideas?


I would like to add an OS grid reference to QGIS Composer, i just need to show the figures.  Running on QGIS 2.18.3.

Is there a way of inserting Ordnance Survey grid reference in a print composer? I know that a grid can be created but I don't wish to insert a grid, I just to need to include the eastings and northings as a text string in the title block.


I'm new to Blender's menu and all and I see a-lot of users use an image reference to make their 3D model. How do you add image to the side/front/top ?

How do I put a backdrop behind the model that I am creating so that I can compare the picture to the model while editing?


Hi I want to render something similar to this image. The below image should be my starting point.I used a UV sphere and I tried freestyle rendering but it is not showing the edges like below.

I'm making figures to illustrate some details about how meshes work. I'd like to render my scene normally, but overlay all of my meshes in wire mode.  The only solution I've found which works is giving a duplicate mesh a wireframe material, which gives me something like this:    Is there some way I could get the same effect without having to duplicate my mesh?


I would like to test Microtype 2.5 (b08) with Lualatex.  I've seen here that TLContrib has been cited , but I only found solutions to use it as a repository with Tex Live (OK, the name itself tells it already). Is there any way to do it with Miktex ? Or have I to do some texmflocal trick or even to use Tex Live instead?

LuaTeX has limited support for microtypograhpy now, and it can be invoked if only type1 fonts are used. But is it possible for microtype to work with opentype fonts loaded with fontspec now? I have searched the Internet for this, but most of the relevant information is outdated.


I have a master module master.py and a helper function stored in a folder functions/helper1.py (I have many of these helper functions actually, which is why they are stored in a separate folder).  The helper1.py file looks like this:  def main():     # Do some stuff     return stuff  if __name__ == "__main__":     main()   I need to import the helper function into the master module and I can think of two ways of doing it.  1. master.py:  from functions import helper1  def main():     # Call helper1.     vars = helper1.main()  if __name__ == "__main__":     main()   2. master.py:  from functions.helper1 import main as helper1  def main():     # Call helper1.     vars = helper1()  if __name__ == "__main__":     main()   I'd prefer 1. but I'm wondering if there's a recommended pythonic way of doing this?

What is __init__.py for in a Python source directory?


This is in regards to the plugin , although the question may relate to any plugin. The author says he no longer uses the support forum, so I've come here.  I'm trying to unhook the following action, found in /modules/custom-passwords/custom-passwords.php on line 38.  class Theme_My_Login_Custom_Passwords extends Theme_My_Login_Abstract {    protected function load() {       add_action( 'register_form', array( &$this, 'password_fields' ) ); // Unhook This!       ...   Now I've tried a bunch of versions of the remove_action function, but none seem to work. Every time I have used remove_action before it has been with a variable, but TML is using the class directly.  I have tried the following in directly before the do_action('register_form') function call. None seem to work.  remove_action('register_form', array( Theme_My_Login, 'password_fields' ) );  remove_action('register_form', array( Theme_My_Login_Custom_Passwords, 'password_fields' ) );  // get_object() is a method of the original class, and returns the  // object which can be var_dump'd remove_action('register_form', array( Theme_My_Login::get_object(), 'password_fields' ) );   I know this is the action I need to remove, as I can comment it out within the plugin file and it solves the issue. But I don't want to edit the plugin file, obviously, because I want to keep the plugin updated.

In my functions.php file I would like to remove the below filter, but I'm not sure how to do it since it's in a class. What should remove_filter() look like?  add_filter('comments_array',array( &$this, 'FbComments' ));   It's on line 88 .


Let's say I’ve installed few things from the terminal and I want to list them so I can remove the installations. how can it be done?  thank you!

Is there a way to show the history of packages that were changed by apt-get via command line?


I can't solve this problem: Finite group in $GL(n,\mathbb{Q})$ is conjugate to finite group in $GL(n,\mathbb{Z})$. Could any one help me? Thanks a lot!

Let $G$ be a finite subgroup of $GL_n(\Bbb{Q})$. I want to show the existence of a matrix $A\in GL_n(\Bbb{Q})$ with the property that $AGA^{-1} \subseteq M_n(\Bbb{Z})$.


I've noticed that the group $\mathbb{Z_n}$ under multiplication has a non-trivial idempotent element particularly when $n=2(2k+1), k \in \mathbb{N}$ --- in other words, the even numbers are twice an odd number. Claim: For $\mathbb{Z}_n$ and $n=2(2k+1), k \in \mathbb{N}$, $2k+1$ is idempotent Proof Let $n=2(2k+1)$ for some $k \in \mathbb{N}$ We want to show that $(2k+1)^2 = 2k+1$ in $\mathbb{Z}_n$. Since $n = 0 $ in $\mathbb{Z}_n$ we have $2(2k+1) = 0 \iff 4k+2 = 0 \iff 4k = -2$ So $4k = -2$. Then, $$(2k+1)^2=4k^2+4k+1=k(4k)+4k+1 =k(-2)+4k+1=-2k+4k+1=2k+1$$ Thus, we have shown that $2k+1$ is idempotent in $\mathbb{Z}_n$ under multiplication  $\hspace{1cm} \square$

I'm working in $\mathbb{Z}_n$ under multiplication  (not addition) for some time now and I'm beginning to notice something: For $n \in \mathbb{N}$ where $n$ is even and $\frac{n}{2}$ is odd, it seems to be always true that $\frac{n}{2}$ is idempotent, i.e. $(\frac{n}{2})^2 \equiv \frac{n}{2}$ mod $n$ when $n$ satisfies the aforementioned definition. So I wanna try to prove this but I don't know how to approach it. My first thought was induction since this iterates across $n \in \mathbb{N}$ satisfying my definition of $n$.  Proof Let $n \in \mathbb{N}$ such that $n$ is even and $\frac{n}{2} = 2k+1$ for some other $k \in \mathbb{N} \cup \{0\}$ (Note that $k$ could equal $0)$ Define $P(n)$ as the statement:$(\frac{n}{2})^2 \equiv \frac{n}{2}$ mod $n$ Our basis case would be $P(2): (\frac{2}{2})^2=(1)^2 \equiv 1$ mod $2 \equiv \frac{2}{2}$ mod $2$ So $P(2)$ holds as true. Assume $P(i)$ is true for some $i \in \mathbb{N}$ where $i = 2(2k+1)$. Inductively, then we have: $$P(i+1): (\frac{i+1}{2})^2 =  ?? $$  Then I get stuck here and don't know how to proceed. Obviously, I can't do much once I put $k$'s into the equation because $k$ can be any number. All we know about $k$ is that $k \leq n$ by how we defined $n$.


Actually I have several questions here, but the main problem I want to solve is that, I need to run wine1.6 on my amd64 machine, which installed Kubuntu 12.10 for now.  First thing I noticed was that, wine1.6 asked for installing wine1.6-i386 as well.  I asked corresponding questions here, and in kubuntu forum.  My conclusion was that, in order to install wine1.6-i386, I also need to install a lot of :i386 packages, like libc6:i386, libgstreamer0.10:i386, and so on.  Is that correct?  Then, if it is correct, I got problems installing libc:i386.  I added multiarch settings using:  dpkg --add-architecture i386   and added [arch=amd64,i386] after "deb " in all my source.list configuration files.  Of course I remembered to run:   apt-get update   Then I tried to   apt-get install wine1.6 wine1.6-i386 wine1.6-amd64  and put all the i386 packages it requested after this install commands.  Now I got error messages like:  The following packages have unmet dependencies: libc6 : Breaks: libc6:i386 (!= 2.17-0ubuntu5) but 2.15-0ubuntu20.1 is to be installed libc6:i386 : Breaks: libc6 (!= 2.15-0ubuntu20.1) but 2.17-0ubuntu5 is to be installed libgl1-mesa-glx : Breaks: libgl1-mesa-glx:i386 (!= 9.1.3-0ubuntu0.3) but 9.0.3-0ubuntu0.4 is to be installed libgl1-mesa-glx:i386 : Breaks: libgl1-mesa-glx (!= 9.0.3-0ubuntu0.4) but 9.1.3-0ubuntu0.3 is to be installed   ......  It looks like the amd64 and i386 versions didn't match.  Installing ia32-libs and ia32-libx-multiarch I got the same problem, since it asked for libc:i386.  I have no idea how to go on.  Please help me.  Thank you very much.

As already pointed out , people seems to have issues with installing wine in the latest version of Ubuntu. I'm suspecting this only happens with 64 bit users.  For example, when trying to install wine or ia32-libs with apt-get, I get a lot of dependency errors. Doing a sudo apt-get -f install doesn't seem to do the trick, neither does using aptitude.  The errors I get is normally that the packages depend on some :i386 package, but installing those manually doesn't work either because they also have dependency issues (isn't APT supposed to do this automatically?!). I also downloaded  today and tried installing the .deb manually, but the dependency issues show up there as well. When running sudo apt-get -f install after trying to install the CrossOver .deb, apt-get wants to purge the following packages:   ia32-crossover intel-gpu-tools libdrm-nouveau2 libgl1-mesa-dri libva-x11-1 ubuntu-desktop vlc xorg xserver-xorg-video-ati xserver-xorg-video-intel xserver-xorg-video-modesetting xserver-xorg-video-openchrome xserver-xorg-video-radeon xserver-xorg-video-vmware   What I've tried so far (and didn't work):   Installing synaptic, reloading my repositories, searching for ia32 and installing ia32-libs. Using Ubuntu Software Center to install Wine and ia32-libs. Using apt-get and aptitude to install all the differend varieties of the wine packages, both with and without the :i386 and -amd64 suffixes in package names. Disabling the universe and multiverse repos, run a sudo apt-get update and then re-enable them again. Boot a newly downloaded Ubuntu 12.10 x64 live USB and try to install all the different packages there.   What I've tried so far (that actually DID work):   Installing 12.10 x64 in VirtualBox and installing wine1.4-amd64.   What I haven't tried (yet):   Boot a newly downloaded Ubuntu 12.10 x32 image and try to install wine there (I'm just guessing that will work). Reinstall Ubuntu. Throw my computer out a window.   wine  alexander@cosmo:~$ LANGUAGE=en_US sudo apt-get install wine Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  wine : Depends: wine1.5 but it is not going to be installed E: Unable to correct problems, you have held broken packages.   wine-1.4  alexander@cosmo:~$ sudo apt-get install wine1.4 (...) The following packages have unmet dependencies:  wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) E: Unable to correct problems, you have held broken packages.   ia32-libs  alexander@cosmo:~$ sudo apt-get install ia32-libs (...) The following packages have unmet dependencies:  ia32-libs : Depends: ia32-libs-multiarch E: Unable to correct problems, you have held broken packages.


I'm using Rudin, and in its proof of the implicit function theorem, it uses the inverse function theorem. I've heard that you can prove the inverse function theorem as a consequence of the implicit function theorem, but I can't figure out how to do this. Does anyone have some ideas how to start?

I can prove the converse of it, but I cannot do this one. Here is the problem:     Prove that the implicit function theorem implies the inverse function theorem.


This question has been asked. For example: . I am interested in a different way of proving this statement.   A subsequence $(b_k)$ of a sequence $(a_n)$ is  $ b_k = a_{n_k}$ such that $n_k < n_{k+1}$.   (1) With this definition choosing $k = n_k, k = 1,2,3,...$ results in $b_1 = a_1, b_2 = a_2, ..., b_k = a_k$. So by this definition any sequence $a_n$ contains itself as a sub-sequence.   Now if every subsequence $b_k$ converges to $a$, so does the specific subsequence $b_k$ when $k = n_k$. From (1), if every $(b_k)$ converges to $a$ we can choose $k = n_k$, which leads to $(b_k) = (a_k)$ and $(a_k)\rightarrow a$.   Is this proof valid?

Is the following true? Let $x_n$ be a sequence with the following property: Every subsequence of $x_n$ has a further subsequence which converges to $x$. Then the sequence $x_n$ converges to $x$.  I guess that it is true but I am not sure how to prove this.


I have a simple 3 ft by 3 ft goal. I want to electronically detect when a ball passes into the goal but not when it goes wide.  I had initially thought i could use a simple PIR motion detector pointing downward  on the cross bar but I am concerned that  1) it might detect balls that go wide? (how do i restrict the arc) 2) it might be too slow for a fast moving ball 3) it might miss balls in top corner etc  Option two is a series of emitter reciver ir pairs on each side of the goal post. Enough to make sure that a ball can't get through. See attached sketch of the options.   I have zero experience with this. I am thinking the emitter pairs is best option but I am unsure? Maybe there is another alternative? The overriding concern is that the solution must require minimal power to run (and cost!).    edit as directed by site to explain why not duplicate -- to reiterate my comment below: yes they are similar questions. I think my question was more specific. I asked specifically for option a) or option b) or something else. Steve G kindly informed me why the PIR was not suitable -- as it uses temperature -- as opposed to use solution this because i think so. For this reason I think this question is worthy as a standalone and I will update the answer to reflect why PIR was not suitable.

I am working on what I hope is a simple project as I am dabbling in this field. I am trying to create a target (in the shape of a box) roughly 1m by 0.5 meters into which soccer balls will be shot (diameter of between 10 and 25 cm).  I want to be able to detect any ball which passes through the opening of the goal. I have looked at PIR sensors but am not sure if they will be able to detect a fast moving object (potentially up to about 3 cm per sec). Another concern I have is that it may be possible for a ball to remain in the sensor(s) field if it hits the edge of the goal and does not pass cleanly through and exit the sensor field.  If this happens I would want to make sure that the sensor(s) could pick up the motion of another ball which passes through the goal on either side or above the stationary ball.  The idea is to connect the sensors so that each "goal" is detected and that any miss (default if no goal is scored within a set time frame) is also detected.  I have read some similar questions regarding moving bullets and even soccer goals but these issues were not addressed.  Also, I would like this to be outdoor usable, meaning weather resistant.  I have looked at some weather proof ultrasonic range finders, although with any sensor I am concerned with dirt and other materials from obstructing the sensor(s).  Any help would be greatly appreciated.


I have a c# application that creates a simple excel file. This work fine. I however want to make sure the excel application that is created is closed no matter what happens so I don't get lots of Excel processes running in the background.  Below is some code I'm using. I guess my question is in the Dispose method is there a way to test if the XlApp is still open and if so make sure the application is quitted.  Is it just as simple as the few lines below?   if (XlApp != null)  {      XlApp.Quit();      releaseObject(XlApp);  }   My code example  public class ExcelMain : IDisposable {         public void MadeUpMethod()         {             // do some stuff here             XlApp.Quit();     // worried that if the line is not reached will the excel application be closed         }          public void Dispose()         {             Dispose(true);         }          protected virtual void Dispose(bool disposing)         {             if (disposing)             {                 if (Rng != null) releaseObject(Rng);                 if (XlWorksheet != null) releaseObject(XlWorksheet);                 if (XlSheets != null) releaseObject(XlSheets);                 if (XlWorksheets != null) releaseObject(XlWorksheets);                 if (XlWorkbook != null) releaseObject(XlWorkbook);                 if (ActiveWindow != null) releaseObject(ActiveWindow);                 if (XlApp != null) releaseObject(XlApp);             }         }          private static void releaseObject(object obj)         {             System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);         } }

I'm using the Excel interop in C# (ApplicationClass) and have placed the following code in my finally clause:  while (System.Runtime.InteropServices.Marshal.ReleaseComObject(excelSheet) != 0) { } excelSheet = null; GC.Collect(); GC.WaitForPendingFinalizers();   Although this kind of works, the Excel.exe process is still in the background even after I close Excel. It is only released once my application is manually closed.  What am I doing wrong, or is there an alternative to ensure interop objects are properly disposed of?


How would you write this correctly? They are not direct quotes.     You may ask yourself, "is this worth it?" or "why is this happening?"   Would you put a period at the end?

I'm working on a story, and I find myself faced with something of a quandary.  Specifically, I need to know the proper style for the following:     “I have thousands of them,” the commissioner answered, “but I’ll start with ‘What do you need?’.”   Is it proper form to have both the question mark and period, or should one of them be dropped?


There is general consensus that     I have been waiting for you for 6 hours.   is grammatically correct, and idiomatically authentic.  For example, our appointment was for 9 am, and when you show up at 3 pm, I tell you how long I've been waiting for you.  There is another sentence sometimes attempted by English language learners for the same situation:  It's been 6 hours since I was waiting for you.   Does this sentence work in the 9am appointment, 3 pm arrival situation?  (This question is motivated by  and a concern that English language learners might not capture just how rarely the since-progressive construction would be usable in English.)

Do the following sentences denote the same thing?   I have been waiting for you for 6 hours.   It's been 6 hours since I was waiting for you.


I am using samsung cpu with Intel Pentium P4 processor and 512MB RAM. Can I run ubuntu with these specifications smoothly?

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


I am looking for some LaTex timeline, which should look like something as below:    Edit 1: I did check the pgfgantt package but it doesn't provide as cool a timeline as above. Edit 2: The minimal code is from  . The diagram on its page 48, would work for me too. But I can't reproduce it with the following minimal code.   \documentclass[tikz]{standalone} \usepackage{pgfgantt} \title{Gantt Charts with the pgfgantt Package} \begin{document}  % % A fairly complicated example from section 2.9 of the package % documentation. This reproduces an example from Wikipedia: % http://en.wikipedia.org/wiki/Gantt_chart % \definecolor{barblue}{RGB}{153,204,254} \definecolor{groupblue}{RGB}{51,102,254} \definecolor{linkred}{RGB}{165,0,33} \renewcommand\sfdefault{phv} \renewcommand\mddefault{mc} \renewcommand\bfdefault{bc} \setganttlinklabel{s-s}{START-TO-START} \setganttlinklabel{f-s}{FINISH-TO-START} \setganttlinklabel{f-f}{FINISH-TO-FINISH} \sffamily \begin{ganttchart}[     canvas/.append style={fill=none, draw=black!5, line width=.75pt},     hgrid style/.style={draw=black!5, line width=.75pt},     vgrid={*1{draw=black!5, line width=.75pt}},     today=7,     today rule/.style={       draw=black!64,       dash pattern=on 3.5pt off 4.5pt,       line width=1.5pt     },     today label font=\small\bfseries,     title/.style={draw=none, fill=none},     title label font=\bfseries\footnotesize,     title label node/.append style={below=7pt},     include title in canvas=false,     bar label font=\mdseries\small\color{black!70},     bar label node/.append style={left=2cm},     bar/.append style={draw=none, fill=black!63},     bar incomplete/.append style={fill=barblue},     bar progress label font=\mdseries\footnotesize\color{black!70},     group incomplete/.append style={fill=groupblue},     group left shift=0,     group right shift=0,     group height=.5,     group peaks tip position=0,     group label node/.append style={left=.6cm},     group progress label font=\bfseries\small,     link/.style={-latex, line width=1.5pt, linkred},     link label font=\scriptsize\bfseries,     link label node/.append style={below left=-2pt and 0pt}   ]{1}{13}   \gantttitle[     title label node/.append style={below left=7pt and -3pt}   ]{WEEKS:\quad1}{1}   \gantttitlelist{2,...,13}{1} \\   \ganttgroup[progress=57]{WBS 1 Summary Element 1}{1}{10} \\   \ganttbar[     progress=75,     name=WBS1A   ]{\textbf{WBS 1.1} Activity A}{1}{8} \\   \ganttbar[     progress=67,     name=WBS1B   ]{\textbf{WBS 1.2} Activity B}{1}{3} \\   \ganttbar[     progress=50,     name=WBS1C   ]{\textbf{WBS 1.3} Activity C}{4}{10} \\   \ganttbar[     progress=0,     name=WBS1D   ]{\textbf{WBS 1.4} Activity D}{4}{10} \\[grid]   \ganttgroup[progress=0]{WBS 2 Summary Element 2}{4}{10} \\   \ganttbar[progress=0]{\textbf{WBS 2.1} Activity E}{4}{5} \\   \ganttbar[progress=0]{\textbf{WBS 2.2} Activity F}{6}{8} \\   \ganttbar[progress=0]{\textbf{WBS 2.3} Activity G}{9}{10}   \ganttlink[link type=s-s]{WBS1A}{WBS1B}   \ganttlink[link type=f-s]{WBS1B}{WBS1C}   \ganttlink[     link type=f-f,     link label node/.append style=left   ]{WBS1C}{WBS1D} \end{ganttchart}  % % A simpler example from the package documentation: % \begin{ganttchart}{1}{12}   \gantttitle{2011}{12} \\   \gantttitlelist{1,...,12}{1} \\   \ganttgroup{Group 1}{1}{7} \\   \ganttbar{Task 1}{1}{2} \\   \ganttlinkedbar{Task 2}{3}{7} \ganttnewline   \ganttmilestone{Milestone}{7} \ganttnewline   \ganttbar{Final Task}{8}{12}   \ganttlink{elem2}{elem3}   \ganttlink{elem3}{elem4} \end{ganttchart}  \end{document}

I tried searching through many resources to identify the package that allows to create this type of time lines:    but all in vain. Could anyone, please, point in the right direction?


I use HDRI for lighting and have a plane made from some glossy material on which my other objects are. And I just can't figure it out how I could achieve that the World doesn't reflect on the plane, only the objects on it.  Under Object > Cycles Setting I cannot find any relevant option for this, my other idea was the light path node, but there I can see no output for world either.  Do I need to use compositor maybe? And if so how?

In a Cycles scene I have an equirectangular image serving as an Environment Texture background (set in the World settings).  I have a glossy object being partially lit by the Environment Texture, as well as getting reflections from it.  Is there a way I can exclude the Environment Texture from affecting the glossy object completely? I want the image as background wallpaper only. The glossy object should be affected by other objects and lights within the scene: everything except the Environment Texture.


Is it possible to use Delaunay triangulation to generate an image like the below from a raster or vector of an object (in this case, a human heart)? What software and techniques would be required to make something like this? My intention is to make and use something like this in Inkscape without having to draw all the nodes/lines/effects manually.


I have a short question about the 90/180 day visa calendar. My girlfriend has visited the Schengen area according to below schedule:   Arrival 28 July 2017 Departure 10 October 2017 So she basically still has 15 days left from that previous stay.   She now however is in compliance to the requirements needed to start the procedure to grant her 5-years stay, but I am struggling to understand   when the new 180 days period start for her if these 15 days can be carried over (are still to be used) in the current 180 days.   My basic question is: What is the earliest date for her to come again, and then stay for another 90 days (in a new 180 days period)?

I have searched the web a lot and could not find an answer that fits my situation. Here are two links that are quite contradictory:       My situation:  I've visited Portugal in December 2012 for 29 days on a Schengen visa valid from December 1st, 2012 to February 1st, 2013 for research purposes (I am a Ph.D. student). I want to visit Sweden from February 10th, 2013 to May 10th, 2013 (89 days). I have applied for a Schengen visa again (for research). How will the 90/180 rule work in my situation?


I have a Sony A7S II which I adore; but—like every other camera—it too has its disadvantages. For me, one of those disadvantages is the sensor which is exposed when you switch lenses. And a simple "clean sensor" function in the menu doesn't always help.  This really bugs me. What sensor maintenance routine could relieve me of my sorrow?  EDIT: I'm looking for insights in using a mirrorless camera; i.e., a sensor that is directly exposed to dust, etc. when a lens is not mounted, as opposed to a DSLR where the shutter is closed and the mirror also provides some form of extra protection. General ideas on cleaning a sensor are not part of my interest here.   I would like to inquire on user habits for coping with this specific issue of mirrorless cameras or any other camera where the FF sensor is fully exposed within +/- 1 cm every time you remove a lens.

I've got a couple of spots of dust on the sensor of my Canon 20D. A rocket blower isn't shifting them, and I'm ridiculously scared of some of the more direct methods for cleaning sensors — what methods/systems have you tried, and how successful have they been?


An online person claims that they can't leave Ghana unless they fly out first class. They already have $3000 and claim that isn't enough to buy a ticket and leave. Is this legit?

On Travel.SE we often see questions about a person (usually a love interest) asking for money to pay for airfare, visas, permits and other expenses. For example        What general advice can be given in such situations to the person asking the question? Is it all a scam or can there be legitimate situations in which an online friend could be asking for money?


I'm trying to match a key-value pairing chunk by chunk instead of substrings, so say I'm trying to match from=email@email.com I'm using from=email@email.com(?!|\S) to make sure I don't hit on substring matches. And according to  it works. But here's my unit tests and the case where the match is at the end of the string doesn't seem to work:  import unittest import re   class MyRegexFuTestCases(unittest.TestCase):     def test_something(self):         lines = [             'from=test_email@email.com\talias= <test_email@email.com>\trcptlist=test_recipient@email.com\trip=8.8.8.8\tdate=1486528190\tsubject= Test Subject\treply_to=test_email@email.com\treport=leoisafatcat\tattach_3=New List.xls']         whitelisted_pairs = ['attach_3=New List.xls']         lines = filter(lambda line: any(             map(lambda pair: not re.match(r'%s(?!\S)' % pair, line),                 whitelisted_pairs)), lines)         self.assertEqual(len(lines), 0)      def test_another_case(self):         lines = [             'from=test_email@email.com\talias= <test_email@email.com>\trcptlist=test_recipient@email.com\trip=8.8.8.8\tdate=1486528190\tsubject= Test Subject\treply_to=test_email@email.com\treport=leoisafatcat\tattach_3=New List.xls']         whitelisted_pairs = ['from=test_email@email.com']         lines = filter(lambda line: any(             map(lambda pair: not re.match(r'%s(?!\S)' % pair, line),                 whitelisted_pairs)), lines)         self.assertEqual(len(lines), 0)      def test_no_match(self):         lines = [             'from=test_email@email.com\talias= <test_email@email.com>\trcptlist=test_recipient@email.com\trip=8.8.8.8\tdate=1486528190\tsubject= Test Subject\treply_to=test_email@email.com\treport=leoisafatcat\tattach_3=New List.xls']         whitelisted_pairs = ['from=test_email@email.co']         lines = filter(lambda line: any(             map(lambda pair: not re.match(r'%s(?!\S)' % pair, line),                 whitelisted_pairs)), lines)         self.assertEqual(len(lines), 1)  if __name__ == '__main__':     unittest.main()    ..F ====================================================================== FAIL: test_something (__main__.MyRegexFuTestCases) ---------------------------------------------------------------------- Traceback (most recent call last):   File "/Users/stupidfatcat/PycharmProjects/adhoc/so_help.py", line 13, in test_something     self.assertEqual(len(lines), 0) AssertionError: 1 != 0  ---------------------------------------------------------------------- Ran 3 tests in 0.001s  FAILED (failures=1)

What is the difference between the search() and match() functions in the ?  I've read the  (), but I never seem to remember it.  I keep having to look it up and re-learn it.  I'm hoping that someone will answer it clearly with examples so that (perhaps) it will stick in my head.  Or at least I'll have a better place to return with my question and it will take less time to re-learn it.


I'm generating a click event in android and i used wrote the code in this way  public class LoginActivity extends AppCompatActivity {     Button btnLogin;     EditText inputEmail,inputPassword;     protected String enteredEmail;     String enteredPassword;     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_login);        // inputEmail = (EditText) findViewById(R.id.email);        // inputPassword = (EditText) findViewById(R.id.password);          btnLogin.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View v) {                 Intent i = new Intent(getApplicationContext(), HomeActivity.class);                 startActivity(i);             }});}   but getting the below error  TextInputLayout: EditText added is not a TextInputEditText. Please > switch to using that class instead. 03-11 01:41:52.214 > 21936-21936/com.example.smartlayer.myhive_app I/TextInputLayout: > EditText added is not a TextInputEditText. Please switch to using that > class instead. 03-11 01:41:52.294 > 21936-21936/com.example.smartlayer.myhive_app D/AndroidRuntime: > Shutting down VM 03-11 01:41:52.294 > 21936-21936/com.example.smartlayer.myhive_app W/dalvikvm: threadid=1: > thread exiting with uncaught exception (group=0xb4ae3ba8) 03-11 > 01:41:52.334 21936-21936/com.example.smartlayer.myhive_app > E/AndroidRuntime: FATAL EXCEPTION: main                                > Process: com.example.smartlayer.myhive_app, PID: 21936                 > java.lang.RuntimeException: Unable to start activity   How i solve this error ?

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


I have ubuntu 12.10 on a HP530 laptop, I've tried everything on the ubuntu forums, but can't get the wireless to work. It has Broadcom 4311 wireless card built in. Don't know what else to try, please assist. I have the broadcom bcm4311 802.11b/g WLAN [14e4:4311] (rev 01) card in my laptop. Alot of sites says to not to install proprietary broadcom driver as it don't work.

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


SQL Server 2016 SSMS v18.4  I want to create the same logins and give the same privileges on both node. In primary node I have no problem about this operation. But when I create the same login on secondary node and want to user mapping, it gives below error:  Create failed for login 'loginname'. Additional information: An exception occured while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) Failed to update database "dbname" because the database is read-only. (Microsoft SQL Server, Error:3906)  But my database is not read-only. I'm trying the give permission like this: Node 2 (Secondary) -> Security -> Logins -> Right click on MyLogin-> Properties -> User Mapping -> Select database and choose dbo for default schema -> Select public and db_owner -> OK.  It gives this error all of the databases for secondary node. How can I solve this problem without doing failover (failover can solve this because it does primary node to Node-2 but I don't want to failover)? If it possible with using PowerShell, how can I do it on this operation on PowerShell for Node-2? Thank you. Best regards,

What is the proper way to create logins on Always on? An application database  requires an active directory login and I created that on the primary node. The database is still not in the availability group  yet. I plan to move it there once the application is installed. Do I need to create the same login on the secondary node as well ? Or would the login sync across the secondary node once the database is moved into the AG? The only permission which was requested was db_owner . Are there any other permissions which I need to give to the login to properly work within the availability group ? Please let me know. Thanks !


Let $S=\{x^0,x^1,x^2,...\}\subset \mathbb{Z}$ be the multiplicatively closed subset generated by $x$. What are the nontrivial idempotents in the total quotient ring $S^{-1}(\mathbb{Z}[i]\otimes_{\mathbb{Z}}\mathbb{Z}[i])$?    I came across this question reading about the Chinese remainder theorem, and would like to see concrete examples of how to find the idempotents. Presumably one would find them using the isomorphism given by CRT. Could you show me the cases for $x=2$ and $x=3$?

Let $\mathbb{Z}[i]=\left\{a+bi:a,b \in \mathbb{Z}\right\}$  be the ring of Gaussian integers $(i^{2}=-1)$ and let $\mathbb{Q}[i]=\left\{a+bi:a,b \in \mathbb{Q}\right\}$ be its fraction field.      1) Show that the tensor product $\mathbb{Q}[i] \otimes_{\mathbb{Q}} \mathbb{Q}[i]$ is isomorphic to the product $\mathbb{Q}[i] \times \mathbb{Q}[i]$ of two copies of the field.       2) Let $S=\left\{1,2,2^2,2^3,...\right\} \subseteq \mathbb{Z}$ be the multiplicatively closed subset generated by 2. Find two distinct idempotents in the algebra $S^{-1}(\mathbb{Z}[i] \otimes_{\mathbb{Z}} \mathbb{Z}[i])$ other than $0$ and $1$.    For the first part, I thought I would try to use the presentation $\mathbb{Q}[i] \simeq \mathbb{Q}[T]/(T^2+1)$ and see what comes from that. Any help would be much appreciated!


Well,i haven't tried anything yet,because I've got no idea how to prove it.If possible,please help me

I am really sure that if two sets have the same power set, then they are the same set. I just am wondering how does one exactly go about proving/showing this?  I'm usually wrong, so if anyone can show me an example where this fails, I'd like that too.  The homework just asks for true/false, but I'm wanting to show it if possible. My thoughts are that since the power set is by definition the set of all subsets of a set, if each of the two power sets are identical, we have an identity map between each set, thus it's indistinguishable which power set is a given set's power set. I hope that wasn't verbose. Since a set has only one power set, we can conclude they are in fact the same set.


When moving to the US from Switzerland, I have been surprised by the difference in banking systems. One point that interests me particularly is the use of checks vs wire transfers.  In Switzerland, the default way of paying somebody is to transfer money to their account. This is free, can be done online, and the money arrives the next day. It's a bit like PayPal, except that payments cannot be undone.  In the US, from what I've learned so far, to pay somebody I write a check on their name. The payee then brings the check to a bank to receive the money. Wire transfers in the US seem to incur high fees.  From a newcomer's perspective, the US system seems more complicated, more expensive, and more prone to fraud. What are its advantages? Why are things the way they are?

I used to live in a poor, third world country (India) where I freely transferred money between my bank account (a savings account) to accounts held by my friends in different banks, and different countries using just the Internet, net banking. It took less than 24 hours for the money to appear in the other person's account.  Now, here I am in the U.S., the mecca of Internet startups and general web awesomeness, and I find that neither Capital One nor the United Nations Federal Credit Union accounts I have will allow me to transfer money to a Bank of America account that belongs to my landlord. I would like to sit at my computer, add his account, hit Transfer, and have the money appear in his account. It seems that all they can do is either mail him the check, or I can go to the bank and deposit it.  I would like to understand why transferring money in the United States is so difficult. Is there a reasonable explanation?


I have activated the standard Duplicate Management Rule on Contact to prevent duplicate records.   When I try to create duplicate Contact records form SalsesForce side, it shows me a warning message and allows me to ignores the alert and create a duplicate record.  But when I try to create a duplicate record in Apex, it gives me an exception.   How can I surpass/ignore such alerts and create duplicate records in Apex?  Kindly help me out.

Is there a way to disable the duplicate check for an apex class?  I have an insert of contacts, where I have a custom duplicate check. Now I would like to disable the standard duplicate check for only that apex class.


If I have two random variables, $X_1, X_2 \sim N(\mu, \sigma^2)$ where $\mu, \sigma^2$ are unknown, what can I say about $X_1-X_2$? More specifically, I know that the difference should be a normal as well, but how would I calculate the variance? Thanks!

Let random variables $X$ and $Y$ be independent Normal with distributions $N(\mu_{1},\sigma_{1}^2)$ and $N(\mu_{2},\sigma_{2}^{2})$. Show that the distribution of $(X,X+Y)$ is bivariate Normal with mean vector $(\mu_{1},\mu_{1}+\mu_{2})$ and covariance matrix  $$ \left( \begin{array}{ccc} \sigma_{1}^2 & \sigma_{1}^2  \\ \sigma_{1}^2 &\sigma_{1}^2+\sigma_{2}^2  \\  \end{array} \right).$$  Thanks .


In my organisation, we follow MISRA coding guidelines. This coding guideline says that we should not have the multiple returns in a function.Do you have any idea on it? Why is it so?

Are there good reasons why it's a better practice to have only one return statement in a function?   Or is it okay to return from a function as soon as it is logically correct to do so, meaning there may be many return statements in the function?


I subdivided the cube and changed to edit mode so I can edit the vertex. The problem is if I select a single vertex and drag, the whole object stretches out instead of just the vertex selected. The proportional editing if off, so I don't know what is wrong cause I am new to blender.

My problem is that I sometimes lose the ability to independently translate or otherwise transform any parts of a single mesh. If I try, for example, to just translate several faces, edges, or vertices, then the entire mesh will stretch and displace itself in order to follow the translation. Or, alternatively, if I try to translate just one face then the whole mesh will move as if I'm translating in Object Mode.  I'm not really sure I know how to describe this problem properly. I don't even know how to reliably reproduce it. It seems to happen to any given mesh at random, and it doesn't stop happening to that mesh unless I delete and remake it.  I assume that I must be doing something wrong to cause this to happen. Does anyone have any ideas? Thanks.


What is an appropriate term for a young person (child or teenager) whose words and actions mimic that of a much older person from a previous generation? Such a youngster would demonstrate strong nostalgia for the past, despite never having lived during that time period.  An example I can think of is a 12 year old boy who observes that, "children nowadays spend all their time with their faces glued to smartphones", or who prefers to write letters rather than emails, "like it was done in the good old days". This child would never have a Facebook or Twitter account, because they are, "silly fads of the 21st century".1  A possible phrase would be mature beyond his years, although that doesn't quite capture the characteristic in question—in particular the underlying contradiction, cynicism, and nostalgia.  I can think a perfectly fitting term from another language, but not English...  1The motivation behind this question is  an interesting youngster I know who makes these statements!

Often I find I have a sense of nostalgia for things I've never actually experienced, in a way that rivals the same sort of feelings I have for things I have experienced.   For example when listening to music that was big before one's own generation or seeing old black and white photos of how people lived their lives generations before you were born.   It's an odd feeling I've heard many people talk about, but I've never quite had a word for explaining it.   Is there a term that describes this? Or is it still nostalgia?


I am using Windows 10 and Ubuntu 20.04. I am trying to install some software (python-fsps) using sudo SPS_HOME=$SPS_HOME python3 setup.py install. However, this gives me the error ModuleNotFoundError: No module named 'numpy'. I really should have numpy installed, becasue I can use it in sessions on Anaconda. Also, running pip3 install numpy, tells me Requirement already satisfied: numpy in /home/lzucker1/.local/lib/python3.8/site-packages (1.18.5). I have also tried conda install -c anaconda numpy, but it does not recognize conda, which is also weird becasue I do have conda on my computer. I have tried defining export PATH=$PATH:$HOME/anaconda3/bin in my ~/.bashrc file, but that does not change anything. I would greatly appreciate any advice.

I am trying to run Jupyter notebook from my Ubuntu subsystem in Windows 10. I've installed numpy, scipy, and pandas using the following commands:  pip install scipy numpy pip install pandas   When I load python in Ubuntu, there is no issue importing numpy in Ubuntu cmd.   But, when I run my Jupyter Notebook from Ubuntu terminal, and try to import numpy as np, or import pandas as pd, they report  ModuleNotFoundError                       Traceback (most recent call last) <ipython-input-1-a9340201ed9f> in <module>       5 import dash_html_components as html       6 import plotly.graph_objs as go ----> 7 import numpy as np       8 from dash.dependencies import Input, Output       9   ModuleNotFoundError: No module named 'numpy'   Is there anyway to solve this issue? Thanks a lot.


How to install Tor with just Tor browser on Ubuntu 20.04 Focal Fossa?

In Ubuntu 13.04 I used to use the ppa:upubuntu-com/tor64  PPA to install the 64-bit Tor Browser Bundle. However, in Ubuntu 13.10 it doesn't work anymore. How do I install the Tor Browser Bundle in Ubuntu?


I have seen a few related questions but not exactly what I am looking for (in particular  and ) I think. I may be missing something since I am only a beginner at these counting problems. I am trying to calculate the amount of times (experiments) I need to perform were I choose $k$ items from a list of $n$ items so that I have a probability $P$ that each of the n items was selected at least once. I attacked the problem by starting small and saying I have 5 items and each experiment consists of drawing two of them (without replacement). After the first experiments I reasoned that I have 100% probability that there are 3 items not selected yet. I proceeded to calculate the probability that after the second experiment I have three, two, or one items not selected. And so on with the third experiment and more. Unfortunately, I am having trouble generalizing this approach to $n$ and $k$ and to a number of experiments $m$. I suspect there is a good chance that this is a duplicate. If so can someone please point me in the right direction?

I'm playing the , which is an Internet adaption of the classic Panini albums that are usually published for the soccer world cup, European championship, and possibly other tournaments.  The album has placeholders for 424 different stickers. The purpose of the game is to collect all 424. The stickers come in packs of 5, which can be obtained through codes found online (or, in case of the classic printed album, bought at your local newsstand).  I make the following assumptions:   All stickers are published in the same quantity.  One pack of stickers does not contain duplicates.     How can I find out how many packs of stickers I need to acquire in order to be reasonably sure (let's say 90%) that I have all 424 unique stickers?


I want to change the colors of certain operators, for example making \lim red and \sin blue, in regular latex. I want to do this in the header, not in the actual text.

How can I change the color of operators like "log", "lim" or the root symbol of \sqrt command?


I have two objects which are having value from same Query   i.e. (this is not c# code and is just pseudocode)  Class Obj = DbContext.Kid(K => K.Id == 2).FirstOrDefault();  Class Obj1 = DbContext.Kid(K => K.Id == 2).FirstOrDefault();   Id = 2 having Status = 1  Now if I set  Obj.Status = 2;  in C# code  Then Obj1 too changing its status from 1 to 2  Why this is so?

I want a true deep copy. In Java, this was easy, but how do you do it in C#?


Some other examples:   Prime Minister of the United Kingdom President of Russia President of the Russian Federation Emperor of Japan

Usually, we do not use the definite article, the, before names of countries but we use the before "United States of America".   Is there a specific reason for using the article before the country "United States of America"?


I have JSON which looks like this:  {   "item1": {     "category": "fruit",    },  "item2": {     "category": "fruit",    } }   How can I count the no. of items inside this?

What's the fastest way to count the number of keys/properties of an object?  It it possible to do this without iterating over the object?  i.e. without doing  var count = 0; for (k in myobj) if (myobj.hasOwnProperty(k)) count++;   (Firefox did provide a magic __count__ property, but this was removed somewhere around version 4.)


Are there any modules available or any procedures available so that node reference fields can be incorporated into a ?

Is it possible to add a node reference field using the  module?  If it is, how can I add it in my webform?


It was stated earlier in the series that all the survivors are already infected with the zombie virus, which is why even someone killed by a gunshot will reanimate if their brain is intact.  However, why do people who are bitten by zombies wind up dying, if they're already infected?  What is the new, 100% lethal and incurable thing introduced via the bite, which the survivors don't already have in their blood?  If they're just falling victim to the general filthiness of being bitten by a rotting human, why do they skip straight to amputation, rather than attempting to use alcohol, boiling water, cauterization, or even penicillin (when available).  Or, barring all that, just give the injured person lots of water and hope that they pull through on their own?  I'm preferably looking for canon answers from the show, but I'd also be happy with an answer from the comic if the show hasn't addressed the issue.

In  it is pointed out that everyone appears to be infected with the virus.  As we saw in the CDC center, death triggers the virus to reactivate portions of the brain.  Yet even a single bite from a Walker results in fever, eventual death (within days), and then reanimation.  If the Walkers are infected with the same virus that is already latent in the survivors, why do bites seems 100% fatal?


i get an error when i update my ubuntu 14.10  this is an error :  Err http://ppa.launchpad.net utopic/main amd64 Packages                           404  Not Found Err http://ppa.launchpad.net utopic/main i386 Packages                            404  Not Found Ign http://kambing.ui.ac.id trusty/universe Translation-en_US                   Fetched 22,6 MB in 4min 12s (89,5 kB/s)                                         W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/utopic/main/binary-amd64/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found  E: Some index files failed to download. They have been ignored, or old ones used instead.     what should i do fix that error ?

PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown:  W: Failed to fetch http://ppa.launchpad.net/ 404  Not Found   How do I fix these errors?


I would want to ask if I have a random variable $A \sim N(b,c)$ then what is the distribution of the inverse of $A$?

My random variable $X$ is normally distributed with mean $b$ and variance $p$. I defined a new RV, $Y$, such that $Y=1/X$. Does anyone know how to find the mean of $Y$ and $Y^2$?


If I issue SELECT username FROM Users I get this result:   username -------- Paul John Mary   but what I really need is one row with all the values separated by comma, like this:   Paul, John, Mary   How do I do this?

Consider a database table holding names, with three rows:  Peter Paul Mary   Is there an easy way to turn this into a single string of Peter, Paul, Mary?


Is there a way to set font arial and font size 8.5pt using TexStudio? Which documentclass can apply font size 8.5pt?

I'm trying to make a document that has a very small font throughout, I tried this:  \documentclass[0.5mm, a4paper]{article} \documentclass[7pt, a4paper]{article}   But it doesn't seem that they allow me to go anything below 10pt.  This hack make it work, but not for the section headers:  \fontsize{4mm}{5mm}\selectfont   Does anyone know any better ways to do this?


I need to build a Django Model in which it refers to itself (a list of the same Model type within each instance of this model, sort of like a nested structure), probably within its own definition.  I have looked into ManyToManyField or a possible solution with another model with a foreign key to this Model. What's the simplest way to do it ?

Okay, how would I do this?  class Example(models.Model):   parent_example = models.ForeignKey(Example)   I want to have a model have a foreign key reference to itself.  When I try to create this I get a django validation error that Example is not yet defined.


I am attempting to move my 3 vertically aligned gradient border with border-radius elements to horizontally aligned elements. I tried to use display: flex but it did not make it horizontal. If there is anything anyone knows that will fix my issue, please comment.   .gradient-box {   width: 30px;   height: 30px;   position: relative;   padding: 40%;   color: #FFF;   background: #000;   background-clip: padding-box;   /* !importanté */   border: solid 20px transparent;   /* !importanté */   border-radius: 50%;  } .gradient-box:before {   content: "";   position: absolute;   top: 0;   right: 0;   bottom: 0;   left: 0;   z-index: -1;   margin: -5px;   /* !importanté */   border-radius: inherit;   /* !importanté */   background: linear-gradient(to right, #ffcfd2, #ffb6c3, #ff9bbb, #ff80b8, #ff63bb); }  html {   height: 100%;   background: #000;   display: flex; }  body {   margin: auto; } <!DOCTYPE html>     <meta charset="UTF-8">   <title>CodePen - A Pen by Eden</title>   <link rel="stylesheet" href="./style.css">

How can I horizontally center a
 within another
 using CSS?

Foo foo


I used to use  MyClass.prototype.myMethod1 = function(value) {     this._current = this.getValue("key", function(value2){         return value2;     }); };   How do I access the value of this within the callback function like below?  MyClass.prototype.myMethod1 = function(value) {    this.getValue("key", function(value2){        //ooopss! this is not the same here!            this._current = value2;    }); };

I have a problem with an object I have created that looks something like this:  var myObject = {      AddChildRowEvents: function(row, p2) {         if(document.attachEvent) {             row.attachEvent('onclick', function(){this.DoSomething();});         } else {             row.addEventListener('click', function(){this.DoSomething();}, false);         }     },      DoSomething: function() {         this.SomethingElse(); //<-- Error here, object 'this' does not support this method.     } }   The problem is that when I am inside the 'DoSomething' function, 'this' does not refer to 'myObject' what am I doing wrong?


"When more than one threads are executed". Is this correct? How should it have been phrased?

While adding to an Answer to  question, I needed to use the above phrase, and I suddenly realised I was unsure whether to write "is" or "are".   There is more than one way to skin a cat. If there are more than one species of cat, we will flay each species differently.   I don't think that second example above sounds quite right to me (disregarding the meaning - sorry!), but in my original Answer I felt "is" would have been even worse.  Is "are" always wrong here? If so, what exactly is the rationale? If not, is there a case where it's unquestionably preferred – and why is that?    Note that in both the problematic Answer and my example attempting to mimic the same context more briefly, the writer doesn't know how many there are. There may be one, more, or even none.  Getting even more specific, the writer might have an opinion on how many there might be, and wish to convey his leanings by choice of verb form if language allows this to be done succinctly.


I am a little confused about how to start a proof like this. Any pointers are appreciated. Thank you.  Let $p$ be a prime. Prove that $x^2\equiv 1\mbox{ mod }p$ if and only if $x\equiv 1\mbox{ mod }p$ or $x\equiv p-1\mbox{ mod }p$. Useful note aside: $p-1\equiv -1\mbox{ mod }p. Why?$

The proof is a follows:  Let $p$ be a prime number and $x$ in Z. If $x^2\equiv1\pmod p$ then $x\equiv\pm1\pmod p$.  Proof: By assumption, $p | x^2 - 1 = (x + 1)(x - 1)$. Thus $p | x + 1$ or $p | x - 1$. This completes the proof.    However if $p | x + 1$ then $x$ is congruent to $-1 \mod p$. However why is $p$ congruent to $1 \mod p$ ??   I'm struggling seeing this, and been sitting for some hours now trying to figure it out - please help.


I see bloodstains and illusions, but I can't see summon signs or invade. I have undone all ports for Dark souls 2, and I'm not in champions covenant.   I've use the bone of order it said "can't use at this time".   I don't know what to do?

I was playing Dark Souls II on my pc a lot. After about 200 hours of ingame time I found that I cant summon or invade anybody. I tried new characters and reinstalling but it didn't help. So any tips, and reasons. P.S. I didn't used any cheats.


Examples:   People who work at Google are called "Googlers" Fans of the Green Bay Packers are called "Cheese heads" Readers of Robinhood enewsletter are called "Snackers" Hardcore fans of Harry Potter are called "Potterheads"   These are just several examples. This question was inspired by .

Movements and philosophies often have a specific term that is used to describe followers of it.  For example, Islam and Muslims, the Society of Jesus and Jesuits, Communism and Communists, even the Grateful Dead and Deadheads.  The analogous relationship between person and place is called .  Is there such a term for the relationship that I've described?


After complete uninstall of python3 from my Ubuntu, I'm stuck with command line (login page runs on tty1) and if I login by giving username and password,  then the command line stay opened, not the main graphical screen.  I tried everything like CTRL+ALT+F7, CTRL+ALT+F8 (and others key combinaisons with Fn keys) and whatever suggestions found in internet but it's not working.  Screenshot of the issue-

I am a new Ubuntu user running Ubuntu 13.04.  I've been trying to install and use a DeDRM tool, but I've been having problems doing so. I was following some directions that said I needed a version of Python 2.7, but not anything Python 3.0 or later (because 3.0 versions are missing some necessary libraries?). I tried to install Python 2.7.5.6, but it didn't work. I thought it was probably because I had the later version of Python, so I went through terminal and removed Python 3.3, so I could install the earlier version of Python.  Now that I've uninstalled Python 3.3, a lot of applications no longer work, including the terminal and the Ubuntu Software Center. I have no idea how to fix this problem now.