If we a sequence of 5 heads or 5 tails was unlikely, and given a strategy to wait for a sequence of 4 (e.g., 4H), and then bet on the opposite outcome on the 5th flip (e.g., T), is this a flawed strategy and why?

I assume the following is true: assuming a fair coin, getting 10 heads in a row whilst tossing a coin does not increase the chance of the next coin toss being a tail, no matter what amount of probability and/or statistical jargon is tossed around (excuse the puns).   Assuming that is the case, my question is this: how the hell do I convince someone that is the case?   They are smart and educated but seem determined not to consider that I might be in the right on this (argument).


I would like to upgrade to a recent supported version. My hardware is a Dell XPS running XP. It would be OK to lose everything on the 10.04 but I am not sure how to go about reformatting the Ubuntu partition. Can anyone help this newbie?  Thanks, Sick Berry

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


I see spam submissions occasionally on my blog and online forums.  Why aren't there any on Stack Overflow?  What does SO use for spam filtering?  (I have been here for a year and haven't seen a single piece of spam.)


I have installed all adobe flash version, for chrome, firefox or internet explorer I downloaded this software, Instant Demo  But when I launch it - it return me this message: Instant Demo requires Adobe Flash Player to be installed  But this is not possible because I have installed Adobe Flash I try to follow this tutorial  but seems doesn't work, however I have not found any Flash32_32_0_0_453.ocx or Flash64 are missing.

I would like to use Flash Player to show web contents but since today (12 Jan 2021) Adobe is blocking it. Is there a way to use it? I've tried Firefox, Chrome, Safari and Brave browsers.


I already know how to include pages of a pdf file into a LaTex document. However, I actually want to include a pdf along with some other texts, such as a topic, on the same page. Can anyone please give me the correct code that I should write?

I have a PDF file with multiple figures; each figure is a separate page in the PDF file.  I am using pdflatex, and I would like to use \includegraphics or equivalent to include some of the figures.  Of course I could use an external tool to split the PDF file into multiple one-page PDF files. Then I could use \includegraphics as usual. However, I would have a much simpler workflow if I could avoid this extra step. Hence the question:  How can I include, e.g., page 3 of foo.pdf as a figure?  I am aware that there is a Latex package called pdfpages, but it seems to be designed for something else: with pdfpages, each page in the input file will produce a full page in the final document, not just a box.


Please suggest a text editor for writing my java programs.  It should be similar to Notepad++. Should have: syntax highlighting, tabs, be colorful, and other advanced features leading to ease in writing programs. Also, it should be in Ubuntu Software Center as I am not able to download text editors from chrome. I downloaded SciTE Text Editor but it is not that colorful as N++. Looking for something better.   Thank you.

I like  under Windows. I was wondering if there are some similar ones for Ubuntu? Or just the powerful and convenient one in your opinion.  Features that I like are:   syntax highlighting for language X theme support line numbering code folding regex style Powerful, yet not resource-consuming


Within a few hours of learning they could use the Force,      Rey is using Jedi mind tricks to escape her cell.   Some Jedi take months and years to master Jedi mind trick. How is that possible to figure it out so quickly?

Everything that I seemed to know about the Star Wars universe indicated that in order to be successful at being a force user, the user required decades of training and experience.  Which is why I thought that the Jedi trained their pupils from birth to be force users. The lengthy training period was also why the Jedi council said Anakin was too old, and subsequently why Yoda said Luke was too old to begin the training. This can be seen in comparing Luke's raw abilities in the original trilogy compared to that of the Jedi in the prequel trilogy.   However, in The Force Awakens,      Rey not only fends off Kylo Ren, she comes very close to killing him outright, even though she had never even held a lightsaber before.   This happens not long after      she uses her Force persuasion power to escape prison, despite not even believing she was Force sensitive until that point.   It doesn't make any sense that the fight wasn't over in a matter of seconds. What am I missing?


On the Christianity site there are a few tags relating to history. It was decided that the church-history tag should be used when applicable rather than the generic history tag. So :     Use the church-history tag for questions about the history of the church, from the time of Acts to the present.   The  shortens this to:     for questions about the history of the church, from the time of Acts to the present.   Which is the complete opposite of what we want. Why does it incorrectly shorten them this way?

With the tag page changed, there are some.. let's call them "controversial" opinions whether it's an improvement or not; I'd rather not comment on that, but point out a certain "feature" in the tag excerpts wikis which are shown on the \tags page:  Case in point from the TeX-SE tags page:      The  tag wiki excerpt reads:     TeX and friends give you the resources to put text in the header and footer of your document. This tag is for questions relating to this.   Huh?   I thought it was just someone was being lazy not providing a proper tag description. But it turned out that this happens on a lot more tags, to a different degree. The layout script, or whatever it is, tries to be clever, and removes some stuff in front of the tag excerpts to avoid repetition, presumably.   The cases I noticed so far:   "Questions tagged with [foo]" "This tag is about" "Choose this tag if your question is" "Use the [foo] tag for" "[foo] is" "This tag"   .. and probably more, I'm too lazy to search.   The point is -- the script tries to be clever and removes whole sentences, leaving weird and incomplete description, which is what tag wikis are all about.   Now, the questions:   Is this  or a bug? How exactly does it work? What template for tag excerpts should we use to avoid ridiculous entries like the one shown?


I plan to use the fact that if $f$ is monotone and non constant  $[a,b]$, then it is continuous on $[a,b]$ if its range $R_f=\{f(x)|x \in [a,b]\}$ is the closed interval with endpoints $f(a)$ and $f(b)$. I dont know how to go from here.

A function $f: \mathbb{R} \to \mathbb{R}$ is said to have the intermediate-value property if for any $a$, $b$ and $\lambda \in [f(a),f(b)]$ there is $x \in [a,b]$ such that $f(x)=\lambda$.  A function $f$ is injective if $f(x)=f(y) \Rightarrow x=y$.  Now it is the case that every injective function with the intermediate-value property is continuous. I can prove this using the following steps:   An injective function with the intermediate-value property must be monotonic. A monotonic function possesses left- and right-handed limits at each point. For a function with the intermediate-value property the left- and right-handed limits at $x$, if they exist, equal $f(x)$.   I am not really happy with this proof. Particularly I don't like having to invoke the intermediate-value property twice.  Can there be a shorter or more elegant proof?


I had this thought earlier today. Let's just say that there are two black holes and they are going to eventually collide. Could there be any way that during the course of that, someone who passed the event horizon of black hole A could be slingshot out by black hole B?

I have an intuitive scenario. Consider we have a spaceship just below the event horizon of a BH, which is merging with another black hole.  Finally, the singularities merge and we have a single black hole again.  But, in the transient stage, it is unclear to me if a timelike world-line would exist to leave the system.  I suspect, the metric is probably far too complex for an analytical solution, but in the worst case, it could be maybe solved numerically.  As far I know, black hole merges are examined mainly in an inspiral scenario. I suspect, maybe the escape is possible only if they have a hyperbolic-like orbit (i.e. there is no inspiral, but they simply collide).  Is it possible?


I have a Lenovo Intel Atom n270 laptop. It ha Windows XP and I want to install Ubuntu on it without deleting or affecting the Windows system. For the installation I am following .  I have already defragmented my HDD (Although Windows still complains that some files need defragmentation) and even did a backup copy of everything.   I have identified that my processor is 32-bit so I downloaded the 32-bit version of Ubuntu 12.04 for this laptop. I then downloaded PendriveLinux and followed the steps provided by it to install the ISO image of Ubuntu into a 4GB pen drive. Rebooted the computer, changed the booting sequence and the boot menu for Ubuntu started from the pen drive. That is where the problem first appeared. Anytime I tried to either install or test Ubuntu from the menu I got the same error:  Not enough space to load specified image   After this and without knowing, I turned the computer off, took out the pen drive and tried to turn it on again. But now when Windows starts I get a blue screen that says that Windows has found an error and needs to shutdown to prevent damage.  What can I do to solve this problem?

I built a computer recently and I've tried to use Ubuntu and Linux Mint, both trying to install from a 32gb USB 2.0 flash drive, without success. There is no other operating system on the computer and with each OS I get the same error:  Not enough memory to load specified image. boot: _   I'm new to Linux, so I don't know whether this is related to the OS.  Hardware details:   Ryzen 3 1300x   MSI x370 gaming plus motherboard   8g Kingston hyper fury x black ddr4   nvidia gtx 760   evga 500w b psu   toshiba 500gb ssd     I need to resolve this quickly if possible


What data analysis is better? or fit for my data?  I've used Likert scale for my questionnaire (1-5) and I have 387 respondents.  Wilcoxon Rank Test or T-Test?

This is a followup question to what Frank Harrell wrote :     In my experience the required sample size for the t distribution to be   accurate is often larger than the sample size at hand. The Wilcoxon   signed-rank test is extremely efficient as you said, and it is robust,   so I almost always prefer it over the t test   If I understand it correctly - when comparing the location of two unmatched samples, we would prefer to use the Wilcoxon rank-sum test over the unpaired t-test, if our sample sizes are small.  Is there a theoretical situation where we would prefer the Wilcoxon rank-sum test over the unpaired t-test, even that the sample sizes of our two groups are relatively large?  My motivation for this question stems from the observation that for a single sample t-test, using it for a not-so-small sample of a skewed distribution will yield a wrong type I error:  n1 <- 100 mean1 <- 50 R <- 100000 P_y1 <- numeric(R) for(i in seq_len(R)) {     y1 <- rexp(n1, 1/mean1)     P_y1[i] <- t.test(y1 , mu = mean1)$p.value } sum(P_y1<.05) / R # for n1=n2=100 -> 0.0572  # "wrong" type I error


Which is correct comma usage in the following sentence?     It is time to shake, rattle , and roll.   It is time to shake, rattle and roll.

Should I put a comma before the last item in a list?     I would like crackers, cheese and some soda.   I would like crackers, cheese, and some soda.


I am wondering if there is a User Friendly (GUI) way to enable/disable the Guest Session.  If not, is there a way to allow logged in users to create Guest Sessions, but not from the login screen.  I am aware of :     If you're using the default LightDM in Ubuntu 11.10, edit   /etc/lightdm/lightdm.conf so that it looks like this:      [SeatDefaults]   greeter-session=unity-greeter   user-session=ubuntu   allow-guest=false     Will this suit my fallback?

Possible Duplicate:          I know you can  to disable the guest account, but is there any option to do that via the Ubuntu 12.10's GUI?  It's hard for me to believe that a simple on/off option wasn't implemented since the guest account was added to Ubuntu, and I'd be glad to find that option added as a feature to the 12.10 release.


$response="بسم الله الرحمن الرحيم";         $string='{      "something": "'.$response.'" }';   Please give me a solution to json_decode above string.  When I try json_decode($string, true, JSON_UNESCAPED_UNICODE);  result is  null

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


When i activate theme, theme adds new fields to post page. For example "news source". Is possible to get list of fields which theme added to post page?  With "get_post_meta", i can reach metadata for existing post. If "news source" filed was empty, "get_post_meta" doesn't show "news source" in results.

Trying to solve  I tried to find the complete list of all available/possible default "post meta" tags/entries. I couldn't find this info documented anywhere. Any pointers?


Nothing can travel faster than the speed of light. Not even an electrical signal. Entanglement seems to violate this. But, does it?  Imagine 100 gears lined up in sequence all the way across a basketball court. As you turn the gear under one hoop, all 100 gears simultaneously spin.  Even the gear across the court would simultaneously spin.  Could you in theory connect gears a longer distance? Even Miles?   Imagine 100 basketballs in a straight line from one hoop to the other hoop with gears around the circumference parallel to the floor. You spin one ball, and they all spin.  Spinning the ball under one hoop, simultaneously spins the other ball.  Imagine, the in-between balls were not visible. Would this be a similar pattern to what we are seeing with entanglement?  Is it possible that it is not empty space between the two particles, yet some gear like matter that is connecting entangled particles?  Gear Theory --THE END--

Is it possible for information (like 1 and 0s) to be transmitted faster than light?   For instance, take a rigid pole of several AU in length. Now say you have a person on each end, and one of them starts pulling and pushing on his/her end.   The person on the opposite end should receive the pushes and pulls instantaneously as no particle is making the full journey.  Would this actually work?


An old question, for which I could find absolutely NO reference on the internet for many years. Perhaps I wasn't looking in the right places, but I have no clue about its usage either.  Then I stumbled upon this article just now that actually happened to address the same premise. I tried to figure out myself as a function of context but my better judgement was to seek expert advice. So here goes.  In the following excerpt I found in :     Ricky: Yo player let me get some of that valium!   Albert: **** off these are for my back spasms.   Ricky: Okay fine then I will tell your girlfriend about last weekend.   Albert: Fine, here you go a**hole.   Ricky: Word.   What exactly does word mean at the end? What are its connotations? Thanks :)

Several times, I have had conversations, all over instant messenger, finish with "word" or "Word up G".  As it ends a conversation, I am guessing it is like "goodbye".  My question is what is the meaning of "word" and "word up g"? Also, what is the origin?  I am more interested in the meaning as that will help with understanding its usage.


I want to travel from city A to city B. Round trip ticket costs much less than one-way. So I want to buy a round trip ticket and travel only in one direction. What airline can do to me to punish such a life hack? Will I have any problems with this?

I am planning a trip to Asia and then back to Rio. The thing is that I am traveling on flexible dates, so I am thinking of buying a one way ticket to Hong Kong, and I was planning to do the same when I want to come back.  But what I noticed is that, for example, a one way ticket from Melbourne to Rio costs no less than $2700 dollars for the month of May.  When I do a search for a round-trip from Melbourne to Rio and back, I can find flights for $2200.  I know I will not be using that return to Melbourne, but I'd still prefer to save those $500.   Can there be any issue with buying a round-trip with a return that I will never use?


Can I ignore multicolinearity problem if all the regression coefficients are highly significant?  My data is large enough (i.e. I have several regression models where each of the data points for them ranges from 2958 to 11646 data points for every each 6 independent variables. so it is 6 times of these 2958 - 11646 data points for each independent variable to count the total number of data points) and all the resulting coefficients are significant enough in less than 0.01 level. The only thing I see is that one of the variable has the correlation of 0.9 (i.e. the correlation value of one variable to another one is 0.9 but I do not want to remove either of them.).  I am trying to see on unit increase effect of this variable while keeping all other variables constant. Can I keep this variable?  Besides, if I delete one of the variable with high VIF which is between 13 anad 14, all the other VIF are safe but the intercept becomes insignificant for all cases  I am also referring to the following website comment:   So, in sum, my ultimate goal is to use the final output from the logistic regression model generated from the independent variables and one binary dependent variable. If so, do you think I can ignore the multicolinearity problem?

When I run the logistic regression, two independent variables have VIF values greater than 10 like 13 or so. Logistic regression is the one I will use to measure the overall change in the dependent variable with one incremental changes in every each independent variable. However, when I run the linear regression model version on my same data, the VIF values I get from all the independent variables are either slightly greater than 1 or around 5 or 6. Besides, all the coefficients are highly significant all below 0.01.  If so, is it safe to use my logistic regression model to find out the incremental effect of every each independent variable without dropping out any independent variables?   If my purpose is to find an incremental effect of every each independent variable on the overall dependent value in a logistic regression model, is multicolinearity an important problem to consider? Can I ignore it?   If my p-values are all less than 0.01 which is the same indicator as t-value, will I still need to worry about colinearity issue even though my VIF scores for two variables are around 13-14? Based on what you said, if p-value is safe enough, will this be still a problem?  I am also referring to the following website comment:                                                                     So, in sum, my ultimate goal is to use the final output from the logistic regression model generated from the independent variables and one binary dependent variable. If so, do you think I can ignore the multicolinearity problem?


Is there some centralized place were people just put their binaries and brew just queries that? Or do people submit their binaries to Brew? If so how do I go about submitting my binaries to brew?

I love how homebrew makes my life easier! Though, I just realized that I don't really know who is "signing off" the stuff I get installed through it. So, I ask:    Is there a central repo (like Linux distro PPAs)?  Or is it all decentralized (ie. code gets downloaded simultaneously from Github, Source Forge, etc)? What mechanisms are in place to prevent trojan horses from being installed through brew?


si I'd like to have something like:  Theorem 1.1  -----This is some nice Theorem  -----Very nice indeed  Whereas ----- are white spaces. I'll have several such "blocks", like e.g. "Theorem"; "Corrollar", "Prove", "Lemma" etc.  I'm wondering how I can do that in a good practice way.

I would like to define a theorem environment with custom layout. In particular, I want the body of the theorem to be indented, like this  Text body. Text body. Text body.  Theorem 1 (Pythagoras).     Let a,b,c the sides of a rectangular triangle.     Without loss of generality, we assume that  a<b<c .     Then, the following equality holds:            a^2 + b^2 = c^2  More text. And even more text.   This is similar to the quote environment, I believe.  How can I do this?  Preferably, I would like to use the existing \newtheorem command, but that's not mandatory.


Sometimes I don't want to refer to another question but to an answer on which I am building my solution upon. However, I am missing a "copy link" option where a link to the answer is copied to the clipboard to not just refer to a question but instead to a particular answer of a question.  Wouldn't it make sense to have that?

Is there a permalink I can use for answers/comments?


Tonight during our game session a player asked if he could buy a mastiff companion, but I could not find any rules that governed the acquiring of companions. I'm not sure if he wants to use the animal in combat or not, but any rules and their locations withing the PHB or DMG on buying or training companions would be greatly appreciated. All I could find were rules about training new skills or tools and optional rules about requiring downtime before leveling to "train" your new spells/attacks/etc.

I'm fairly new to DMing and so is my group, so we are all on a learning curve together. We're playing D&D 5e.  Last week a fighter in our group tamed a wolf with Animal Handling and then requested that he keep the wolf. I allowed this, but now I'm not sure about how to play the wolf.  Specifically, how can he train the wolf to perform certain actions such as attacking?  What other things might I need to be aware of with a PC owning a "pet"?


I have lost my Facebook password but I want to recover my Facebook password back. So please if anyone know how to recover Facebook password then reply me.

I haven't been to my Facebook account in a while and I can't remember my password. When I try to have it reset, it goes to a security question, but I can't remember that either.    Is there anything I can do?


Like when you're talking and inadvertently say something and then realize it.

I am looking for words that mean ''to say something unintentionally''


Sorry if this has already been answered. I've scrounged for recent answers about whether it is possible to replace a Lumia 640 Microsoft phone OS with Android, but as far as I can tell it's not yet possible. I figured you guys would have a better idea than myself.  Long and short of my asking is that I bought one, and I just don't like the OS at all. I'm very much a novice with rooting and any sort of software manipulation, so I came here hoping for some good news.

Many people want to try/use Android without buying a new Android phone.  How can I install Android on my current phone or device running Nokia Symbian, Maemo, or MeeGo; Microsoft Windows Mobile or Windows Phone 7/8/10; Apple iOS (iPhone); RIM's BlackBerry OS; Palm's WebOS; Samsung's Bada; HP's WebOS; Mozilla's Firefox OS; or other phone / operating system?


I'm looking for a way to get the list of all my upvotes on Stack Overflow, however after looking through the , seems there is no way to achieve that.  And I know I can view my upvotes in votes tab, however I'm looking for an official API to query the list.

I know I can see my total count of votes, but I'd be interested in having these be part of my activity tab, so I can easily revisit questions. I end up favoriting almost every question I upvote, just so I have a way to go back to it.


I'm wondering if there's any way that I can alias the ( and ) buttons to \begin{pmatrix} and \end{pmatrix}, so that when I type those characters in math mode, LaTeX will magically replace them with the correct commands.  As far as I can tell there's no reason to use the "dumb" versions, and it would save me a whole lot of time. Is this possible?  I'm not actually asking how to redefine (. I'm asking LaTeX to replace all (s in math mode with \begin{pmatrix}.

Is it possible to automatically "add" \left and \right commands in front of all brackets? The source code should be left intact, but LaTeX should interpret every pair of brackets as if they were preceded by such commands. This is because adding \left and \right commands is time consuming and makes source code longer and less readable. I considered defining new commands such as \lb and \rb for \left( and \right), but it doesn't seem very elegant to me: what if I also want to add square brackets for example?  Any ideas? Thanks.


As an elementary number theory question I tried to prove that if $p,q$ be prime and $q\mid a^p-1$, then $q\mid a-1$ or $q=2kp+1$? I tried to solve this question but I stuck

Prove that if $p$ and $q$ are odd primes and $q$ can divide $a^p-1$, then either $q$ divides $a-1$ or else $q=2kp+1$ for some integer $k$.  I thought the supposition is $a\equiv 1 (mod\ q)$. So $$(a-1)(a^{p-1}+a^{p-2}+...+1) \equiv 0 (mod\ q)$$ Then I proved $q$ may divide $a-1$. But I don't know how to check that $q=2kp+1$. thks


I'm trying to create a button that when pushed, will spawn a random mob at a given x y z coordinates, but I can't seem to figure out how to pick a random mob. How would I do this?

I have 5 buttons and only one of these can be correct, all others must be false. These 5 outputs will go into 2 outputs, in between there needs to be a circuit which changes which single button out of the 5 will go down the "correct" output of the final 2. The 4 remaining buttons must go to the second of the final 2 outputs. Both final outputs must give out a true signal for a brief period the same as a button on its own would produce. There should also be a way of activating the circuit. Not sure if that is explained well enough so I have made a basic diagram of what I need.  The diagram shows how I need the signal to be split. However in between the buttons and the final two wires there needs to be a circuit (marked by the grey box). This circuit changes the single button connected to the left wire. The right input should start the circuit and randomise the 5 buttons. There are no limits to size, amount of materials used or method used. This question is similar to the one asking about , but I am specifically working with Redstone circuitry - the commands solutions do not apply here


Hello I would like to find a file called lyxpipe (which is used by the program lyx). However, I don't have a idea where the program is installed.  I typed  locate lyx lyx: /usr/bin/lyx2.0 /usr/bin/X11/lyx2.0 /usr/share/lyx2.0   However, when I try to navigate to the folders I can type  pwd home/Theodor   where Theodor is my username.  But there is no other folder bin in this directory. Can somebody tell me how to access these paths?

I'm new to Ubuntu and would like to know where I can find the location of program files for programs installed from the Ubuntu Software Center or the Terminal.


If an equitation like $1 + 2 + 3 + 4 + 5$ doesn't fit to the line it's continued at the next line. But $1, 2, 3, 4, 5$ is extended to page margins and then cropped. What is wrong with it?

I want to have inline math text like  Figure \ref{figure:example graph} shows an example of a graph $G = (\{v_{1}, \dots, v_{5}\}, \{(v_{1}, v_{2}), (v_{2}, v_{3}), (v_{1}, v_{3}), (v_{2}, v_{5}), (v_{3}, v_{4}), (v_{4}, v_{5})\})$ with $|V| = n = 5$ vertices and $|E| = m = 6$ edges.   but then, LaTeX messes with the linebreak and the rendered text looks like in the attached screenshot.    Is there any way, I can tell LaTeX to break the formula within simple $'s?


I have the following instantiated variable   public static int r1 = 10;   I have several of these variables r1 - r4, I want to write a method that will be able to take the variable r1 as a parameter of the method and increment it.   Pseudo code would look like :  r1 = r1 + 1;   My question is how can I take the variable as a parameter of one method instead of writing 4 different methods to accomplish this?

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


I have a bash script that works fine.  In the terminal, I can execute the script...  ./foo.bar   The script closes soffice.bin,  Executes a python script that replaces the contents of the previously closed libreoffice file  Opens libreoffice with the file in question and displays it on my 2nd monitor.   This works like a charm when I personally execute this in my terminal window -UBUNTU 19.10.  I tried using CRON to automate the process.  But when CRON does the job ---   The script closes soffice.bin (libreoffice). Executes a python script that replaces the contents of the previously closed file Opens libreoffice with the file in question but does not open the window for "viewing".   I use this system to run a database server, but I have a monitor attached to display the daily information.  I guess I am trying to figure out why cron does the same thing except re-open libreoffice completely.  It hangs like it's trying to do a restore.  But my options in my BASH script on libreoffice are --norestore.

After doing a "sudo su -" on an Ubuntu 12.04 notebook I did a "crontab -e", added this:   * * * * * env DISPLAY=:0.0 /usr/bin/gnome-calculator   and waited for minutes. Nothing Happened. I don't have any external monitors and if I run this command "env DISPLAY=:0.0 /usr/bin/gnome-calculator" in the terminal, it just works. But not from cron. Why?   The syslog only contains this:   May 24 14:37:01 localhost cron[1227]: (root) RELOAD (crontabs/root) May 24 14:37:01 localhost CRON[16432]: (root) CMD (env DISPLAY=:0.0 /usr/bin/gnome-calculator )   And I already tried an "xhost +localhost".   [root@NOTEBOOK /var/log] xhost access control enabled, only authorized clients can connect INET:localhost.localdomain SI:localuser:USERNAME [root@NOTEBOOK /var/log]    So the solution for another question like this on askubunut didn't worked.


I have problems when installing the tool and performing upgrades in Ubuntu 14.04 LTS. Please assist me      Fetched 6738 kB in 1min 19s (85.1 kB/s)                                         perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:     LANGUAGE = "en",     LC_ALL = "en_GB.UTF-8",     LC_TIME = "id_ID.UTF-8",     LC_MONETARY = "id_ID.UTF-8",     LC_ADDRESS = "id_ID.UTF-8",     LC_TELEPHONE = "id_ID.UTF-8",     LC_NAME = "id_ID.UTF-8",     LC_MEASUREMENT = "id_ID.UTF-8",     LC_IDENTIFICATION = "id_ID.UTF-8",     LC_NUMERIC = "id_ID.UTF-8",     LC_PAPER = "id_ID.UTF-8",     LANG = "en_US.UTF-8"     are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30. Preconfiguring packages ... dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2)   sudo apt-get install locales 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:  libc6 : Breaks: locales (< 2.22) but 2.13+git20120306-12.1 is to be installed          Recommends: libc6-i686 E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.  sudo apt-get install libc6-i686 Reading package lists... Done Building dependency tree        Reading state information... Done Package libc6-i686 is a virtual package provided by:   libc6 2.19-0ubuntu6.7 [Not candidate version]   libc6 2.19-0ubuntu6 [Not candidate version]  E: Package 'libc6-i686' has no installation candidate

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?


How to show that :  $I_n = \int_{-1}^{1} (1-x^2)^n dx $ is equal to $\dfrac{2^{2n+1}(n!)^2}{(2n+1)!}$ ?  With integration by parts ? I don't know how to prove this equality. Someone could help me ? Thank you in advance :)

$\int_{-1}^{1}(1-x^2)^ndx$  I have trouble with finding recurrence formula for this integral. $n$ is natural parameter. I've tried to split up $(1-x^2)^n = (1+x)^n(1-x)^n$ and then to integrate partially, but it only makes things more complicate.  Maybe substitution $x=sint$ can lead to solution? When I apply it I get:   $\int_{-\pi/2}^{\pi/2}(cost)^{n+1}dt$  What to do next then?


How can I include the contents of a text file in my latex document as verbatim?  I tried (the text file does not contain any @)  \documentclass{article} \begin{document}        \verb@     \input{temp.txt}     @ \end{document}   but I get the error: \verb ended by end of line.   PS: of course the above cannot work even without the error, because if it worked the output file would just contain the single line \input{temp.txt}

I am using a finite element program that outputs data in .txt files. And I want to input these data in my LaTeX code. Is there a way to input the data files so that they appear as the program output format? Program output data file:  LaTeX code: \documentclass[a4paper,oneside,openany,article]{memoir} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[danish]{babel} \usepackage{graphicx}     \graphicspath{{Figures/}} \usepackage{fullpage} \usepackage{mathtools}  \begin{document} \input{Data/shearwall_only_bc_A.txt} \end{document}  LaTeX output:


Is $\{(0,0)\cup\{(x,\sin{1\over x}):x\in\mathbb{R},x>0\}$ path connected?   I think it is path connected if we neglect the point$(0,0)$ it is as we can define a continuous function easily from $[0,1]$ but if we included the point $(0,0)$, then any continuous functions seems would disconnected at $(0,0)$ as the $\sin{1\over x}$ vibrate very quick between the value $0,1$for $x$ close to$0$ so for any $\delta$-ball at the origin, then choose $\epsilon={1\over2}$, then there must exist some $x\in B_{\delta}((0,0))$ where $\sin{1\over x}>\epsilon$. Is it correct? if not, is there any way can show it more clearly? Or how to present it in a better way?

Is there a (preferably elementary) proof that the graph of the (discontinuous) function $y$ defined on $[0,1)$ by $$ y(x) =\begin{cases} \sin\left(\dfrac{1}{x}\right) & \mbox{if $0\lt x \lt 1$,}\\\ 0 & \mbox{if $x=0$,}\end{cases}$$ is not path connected?


I am really screwed up by trying making bootable usb stick using unetbootin and winusb In unetbootin when i restart my pc a windows shows unetbootin is booting in 10 sec automatically and then after reaching 1 the countdown starts again. And in winusb when i restart my pc it boots automatically in existing ubuntu 14.04 I made perfect bootable usb disk both time

I made a bootable Windows 7 USB using UNetbootin, and when I try to boot from the bootable USB and select the Default boot menu entry, it gets stuck at the UNetbootin boot menu and it keeps repeating an Automatic boot in 10 seconds... message in an endless countdown loop. Selecting Press [Tab] to edit options and editing the options has no effect. When I go back to the boot menu, it keeps repeating the same countdown loop.   I've tried redoing the UNetbootin extraction, but I still have the same issue.


The aliens were often disguised as pretty women and the protagonist goes underground to battle them but is overpowered and ends up waking up as an alien tank on another world. He manages to telepathically wake up other brains in neighbouring tanks and they use their new fighting abilities to overpower the aliens and send word back to Earth warning them of the farming operations.

For some reason I've been off and on trying to remember for this for some years now.  In short: The protagonist wakes up to discover his body has been replaced by a tank and is being forced to fight to in a war for his alien enemy against some other enemy.  I read this most likely in the mid/late 1980's. I'm fairly certain it was a paperback and was probably a few years old by then. I think it may have had an outline of a tank on the cover. I'm fairly sure I had read "Armor" by John Steakley in the same general time frame.  More detail: The protagonist was on Earth as part of a resistance against an alien invasion.  Near the beginning of the book they had augmented his strength, reflexes, etc.  After going through all of that, he was immediately killed in his first encounter.  Eventually he wakes up again to discover that he is now a brain in a box and his body is now a tank fighting some other war.  He was likely able to break free and regain consciousness because of the augmentations he received.  I believe that from there he went about waking up the other human brains and leading a revolt.  Not sure why it stuck in my head but there was a scene when they were testing his augmentations.  They had him in a weight machine and he was complaining that the shoulder padding was too soft because the bar was digging in his shoulders.  The comment back was that the pads were made out of oak or some such.  Does anyone recall the name of the book, author, etc so I can track it down again?


Beginning with the 1967 episode Space Seed, we start seeing references to the Eugenics Wars which, according to , took place on Earth between 1992 and 1996 and led to World Ward 3.   References to both conflicts are peppered throughout the remainder of Star Trek canon including Enterprise.   From TOS through DS9, the time travel plots seem to take special care to avoid dealing directly with that era. They either travel to a time period already in the past at the time of Space Seed (City on the Edge of Forever or Times Arrow for example) or they deal with a time period that had not been addressed canonically at that point (Past Tense-arguable since it didn't mention the Eugenics Wars but World War 3 hadn't started yet).  Beginning with Voyager, the time travel plots seem to get slightly murkier. In Futures End, Voyager travels back to Los Angeles in 1996 as we knew it (without the Eugenics Wars) and in Carpenter Street, Archer and T'Pol are sent to Detroit in 2004 as we Knew it.   Since these conflicts seemed to be absolutely necessary for the birth of the Federation, (Eugenics Wars lead to World War 3 leads to Cochran building a warp drive leads to First Contact leads to space exploration leads to the Federation), has there ever been any canon explanation for the apparent lack of these conflicts in the later shows especially considering that Enterprise ignores the plot point in one episode (Carpenter Street) but mentions it in another (Borderland)?

Star Trek is one of the few SF shows to have the distinction of running long enough to make some of their original situations outdated.  In the original Star Trek, the Eugenics wars took place between 1993-1996.  Star Trek: The Next Generation was produced from 1987 until 1994, so it was being produced during that time period and Star Trek: Voyager started production after that, so those shows were actually produced during and after the time when Earth was supposedly going through a terrible war.  The Eugenics Wars were not mentioned in The Next Generation or Deep Space Nine, and were never directly mentioned in Voyager.  However, The Next Generation started with Q putting humanity on trial in a courtroom modeled after trials that took place after World War III, which is in the 21st century.  In Voyage there are at least two episodes that deal with the late 1990s or early 21st century, a time that was after the Eugenics wars were supposed to happen.  In Future's End, the ship Voyager is in orbit around Earth in 1996 (current time for viewers when it was produced) and crew members spend time on Earth.  Everything looks as we'd expect for people living in 1996.  There's no trace of the Eugenics wars or any of the aftermath.  In the episode 11:59 we see Janeway's ancestor in the year 1999 and there's no trace of any recent wars.  While this was necessary, since Trek had been around so long, at that time, that it had outdated itself, it does create problems in terms of internal continuity.  I realize that the Voyager producers were more concerned about not confusing newer viewers than about maintaining continuity with a show that aired 20 years before then, but there are repeated references to Kirk later in the series that do keep some continuity between the shows.  Was there ever any on-screen or canon reference to this?  Was the timing of the Eugenics wars moved forward to fit a new timetable?  Were they just combined with World War III, sometime in the 21st century?  Were retconned dates for the Eugenics wars ever given to go with a revised timeline?  If this was never addressed in canon, did any of the novels or games provide any explanation for the discontinuity between the 1990s as the time for the Eugenics Wars and the fact that we're still here, without such wars, in the 21st century?  Please understand: I know what the Eugenics Wars were and about them.  What I'm focusing on, with this question, is what was done within the studio or the writer's meetings to handle the retconning when our world caught up to the time of the Eugenics Wars and Voyager was airing episodes of their characters visiting our non-wartorn planet instead of one decimated by those wars.  Or did the writers in Voyager even realize that was an issue?


My sister wants to launch a celebrity website, which will have information such as age, height, weight etc. Suppose the website is example.com:   www.example.com/demi-lavato → This sounds crisp and short www.example.com/demi-lavato-age-weight-height-affairs-etc →  this is the alternative   Which one is better? Does one of the above give more SEO mileage than the other?

I need a counsel about my websites' domain.  Let's say I have just bought two domains: xyz.com and xyzphotography.com.  As we can see, the first one is shorter but way less meaningful than the second one. The second one contains a photography keyword but it's longer.  I have only one website which is my photography portfolio. Can you advise me how to set those domains to make it all as SEO-friendly as possible? Which one should be the main one, does the rest should work on their own or have some kind of SEO-friendly redirect to the main domain?


Let $u_n=\displaystyle\Re\left( \frac{1+i\sqrt{7}}{2}\right)^n$ Prove that $|u_n| \to \infty$  This appeared in a recent issue of French Revue de la Filière Mathématiques, as it was reportedly asked during an oral exam. The editor deems it is an "extremely difficult problem", and uses Skolem–Mahler–Lech theorem to prove the result. They're also looking for a proof an undergraduate could find. Do you know one ?

Let $a=\frac{1+i\sqrt 7}{2}$ and $u_n=\Re(a^n)$   show that  $(|u_n|)\to +\infty$   I think basics method does not works here.  Any ideas ?


I am using tail with option --follow=name to watch my log files in my servicemix instance (path = ${smx_home}/data/log/servicemix.log).  ServiceMix have a 'nice' feature to restart clean with servicemix clean that start fresh without cache and it seems it removes also the whole directory ${smx_home}/data.  When the folder and the log file are deleted, the message comes:  tail: data/log/servicemix.log: No such file or directory   and I have to press ctrl-C and restart my tail command like   tail --follow=name data/log/servicemix.log   The issue comes because the 'clean start' of ServiceMix remove the whole directory and not only the file and the initial inode is invalid.  Is there any way to make tail to reconnect to the deleted log?   If tail does not work, is there any other alternative (like e.g. with more or less)?  UPDATE:  I also tested multiple combination with -F --follow and --retry   tail --follow=name --retry data/log/servicemix.log   and this is not working too.  My tail version is   tail (GNU coreutils) 8.4

I'm trying to watch for any new output of a log file. Another script (not under my control) is deleting the file then creating a new one with the same name. Using tail -f doesn't work because the file is being deleted.


I am not the best when it comes to working with programs like LaTeX and I am unable to open a .tex document, or rather 'LaTeX it' since it keeps coming up with this error.  I have downloaded slashbox.sty, but I am not sure where to put it so that LaTeXiT can use it.  Where should it go?

I know how to define a package or a class, but how do I make it available (to myself) at all times?  Say I have the package file commonstuff.sty (or myprettyclass.cls), that I want to be able to include in any .tex file I create on my computer. Where do I put it? Do I need to run some installer on it, or is it enough to keep it in a certain folder?  Note: I know I can just place it in the same folder as the .tex file, but that's not what I'm after here. I'm looking for a way to "install" the package centrally on my computer.


Is the placement of the word "only" correct in the sentence below? If not, where should it be?     Berlin is such a big city that we saw only a fraction of it.

Which is grammatically correct?  I can only do so much in this time.  or  I can do only so much in this time.


I see lots of posts on here about folks having major issues with installing Ubuntu on a Lenovo Y410P. Has anyone successfully installed Ubuntu with no major issues?

I am totally unable to install any flavor of Linux on my lenovo Y500. TL;DR:  with EFI on -> cannot even access installer with legacy - > installer runs fine, but installed OS never boots  Long Version: It is going to be hard to recap what I did, because I tried so many things, but here is the gist of it: EFI mode (secure boot disabled): Trial #1  ubuntu 12.10 x64 & Mint 14 x64 boot from usb see screen with choices pick "try ubuntu" get black screen  Trial #2  ubuntu 12.10 x64 & Mint 14 x64 boot from usb see screen with choices press "e" to enter edit mode remove "quiet splash" replace with "nomodeset" end up on the command line with an error message from x server: "no screen found" try fiddling around with xorg.conf to no avail  Trial #3  Arch Linux Live USB EFI mode no boot  Trial #4  ubuntu 12.10 x64 & Mint 14 x64 set "e" to enter edit mode in menu add acpi=off end up with "(initramfs) unable to find a medium" message  Trial #5  same as above set SATA mode to legacy (it was AHCI) error loop that says something along the lines of "ata1.00: hard resetting link"  Legacy Mode Trial #1  ubuntu 12.10 x64 & Mint 14 x64 USB boot Everything seems to work Proceed to normal install (picks SSD drive by default) Everything seems to work reboot blank screen reboot with "shift" pressed see message "grub loading." and nothing As per advised on Ubuntu's community EFI page, run boot-repair same results run boot-repair again same results  Trial #2  ubuntu 12.10 x64 & Mint 14 x64 same as above, but pick 1T HDD as target install same results  Trial #3  create a /boot partition on the SSD install on SSD same results ("grub loading.") run boot repair twice same results  Trial #4  create a GPT filesystem on HDD create a /boot partition on the HDD install on HDD same results as above  Trial #5  install ubuntu on HDD install boot on all drives (HDD & SSD) same results  Trials #6  install Arch on SSD no boot loader found  Notes:  Every step has been tried with multiple USBs. All isos' MD5Sums have been verified LiveUSBs have been created both through ubuntu's embedded app and unetbootin (save for Arch's live USB which was created by DDing the iso as per advised in the Arch wiki) I have wiped out windows in my first trials, and I don't care, I am never going to use it. I don't want to dual-boot. I just want Ubuntu or Mint or Arch as far as I can remember (it gets hard after 50+ trials), I tried every option with sata mode IDE or normal. Not sure though.  I've also tried numerous other things that I can't recall right now. All in all I've been giving this 3 to 5 hours a day for a week and a half to absolutely no avail. I am extremely disappointed as this is my first Lenovo and word is Lenovo is Linux-friendly...I have never spent more than an hour installing linux on any machine. What's even more frustrating is that it seems to be working for , and I can't find any hint telling me how they managed. I wrote to one guy who posted a serie of youtube videos about how to get everything working perfectly on the Y500, and he told me he just installed mint without any problems. Might be I am a particular case because I have the SLI version of the Y500. If anyone has pointers, incomplete solutions, ideas, black magic, I'll be forever in debt. Thank you P.S: This question, afaik, is not a duplicate of an existing question. I've scoured all questions containing "lenovo" and "install", and none applies to me.


I want to use juju to deploy openstack.   I want to install - mysql,rabbitmq,quantum,glance,cinder,opnestack-dashboard,keystone and etc. on two nodes /the one is bootstrapped/.   I install the juju-gui on the bootstrapped node -machine"0" and the elements of openstack on machine"1"   I make the relations with the GUI but when I try to enter in the horizon dashboard I get   "internal error 500"    Is it because I used only one machine ?   What should I do to resolve the problem?

I've deployed Openstack using juju, and everything looks normal except that I cannot browse to openstack-dashboard. I get error 500 Internal Server Error.  I looked through apache2 logs at that node and found  repeated every couple of minutes.  I tried to destroy the service and deploy it on other nodes; co-located with keystone node, then glance node, then by it self. Yet I get the same errors.  It looks like it needs deep python debugging which is weird since this is the typical charm deployment on a normal server. And someone must had tried to deploy this and succeeded!  I'm deploying openstack Essex version 2012.1.4-dev , Ubuntu server version 13.10 , django version is: (1, 5, 4, 'final', 0) And   Please help me :)


According to Sony's website this lens has a zoom factor of 3.8. I currently have an 18-55 lens that came with my NEX-3F that has a zoom factor of ~3.1. Since the 55-210 pics up where the 18-55 leaves off, does that mean you can add or multiply those zoom factors? Is the 55-210 minimum zoom equal to the max zoom of the 18-55 or is there really no correlation between the two lenses?

What is the rule to convert the 'mm' notation to the 'optical zoom' notation? I searched a bit and found this one:  optical zoom = maximum focal length / minimum focal length   For example a 18-55mm lens would have a 3x optical zoom, and a 18-200mm lens would have a 11x optical zoom. Is that right?


To this day, very few people and sources have been able to clear up my confusion about resting membrane potential and how it is maintained. It seems like this is one of those topics that few people are able to explain very well...  Here is what I do understand:  Chemical Gradients:   at rest, the inside of a neuron is negative and comprised mostly of Potassium (+) and negatively charged proteins (-) at rest, the outside of a neuron is positive and comprised mostly of Sodium (+) and Chloride (-)   Electrical Gradients:   at rest, the sodium ions are attracted to the negative charge on the inside of the cell and tend to move inwards at rest, the Potassium ions on the inside of the cell are attracted to the negatively charged chloride ions on the outside of the cell and thus move outwards   So overall, there is a net inflow of Sodium and a net outflow of Potassium. Got it, pretty simple.  However, the sodium/potassium pump is where I get lost. Why does it reverse all that just happened, and why doesn't it cancel out the resting potential if it moves K+ back inside and Na+ back outside? Isn't the voltage fluctuating because of this back and forth movement of K+ out, K+ back in, Na+ in, Na+ back out, etc.? I would imagine this would completely negate the positive/negative charge distribution, but it doesn't. Why?  Clarification: there is a net outflow of Potassium and a net inflow of Sodium. Why does the Sodium/Potassium pump intentionally reverse this by pumping out Sodium and pumping in Potassium? How does that contribute to resting potential?

I know the sodium-potassium pump pumps out 3 Na+ ions and pumps in 2 K+ ions per reaction so the negative charge in the axon increases. However, once the voltage (difference of charge inside and outside of the neuron) gets down to -70 mV, this stops going further below. Why?  I know that this is because of other transport proteins and the presence of anions and cations in the axon, but what are those proteins and ions precisely? There are always negatively charged proteins inside a cell, including a neuron, so I assume there must be a strong force which keeps the voltage from going down.  By the way, is the opening and closing of an ion channel triggered by the voltage of the neuron or the concentration of the ion?


I have applied for a visit visa for my mother-in-law to spend spending the Christmas holidays with us. However, it was rejected. In filling out the application, there are two columns, one for how much the applicant is willing to spend on the visit, and the other for much the sponsor will spend. I think I made a mistake and put in £3,000 for the first and £5,000 for the second. Can I correct my mistake and reapply?  From the rejection notice:     VISA APPLIED: CHENNAI, INDIA   VISA FOR : UK- VISIT VISA (FAMILY VISIT)      On your visa application form you state that you are unemployed with no income stated. You state that the cost to you personally of your trip is 3000£, you state that the total amount you spent each month is 50£. You have submitted a copy of STATE BANK OF INDIA account showing a balance of INR 118444 (1437 £) as at 13-10-2016, therefore the balance is less than you state that you have available.      Refusal reason:      Therefore I am not satisfied that your purpose in the UK is as you have stated and on the balance of probabilities I am not satisfied that you intend to leave the UK at the end of your visit as stated by you - and do not intend to live for extended periods in United Kingdom through frequent or successive visits or that you genuinely seeking entry as a visitor for a period not exceeding 6 months. Furthermore I am not satisfied you will have sufficient funds to cover all reasonable costs in relation to your visit without working or accessing public funds V4.2 (a-e)      Future Applications:      Any future UK visa applications you make will be considered on their individual merits, however you are likely to be refused unless the circumstances of your application change.

The UK Visas and Immigration Directorate publishes  that provides helpful tips that can result in successful visa applications. Section 2 of this guidance opens is entitled "other documents you may want to provide" (emphasis mine).  Section 2: other documents you may want to provide – all visitors This section provides guidance on the types of documents that you may want to provide to help us consider your application against the Immigration Rules. Previous travel documents/passports, which show previous travel. Financial documents showing that you have sufficient funds available.  These must clearly show that you have access to the funds, such as:  bank statements building society book proof of earnings such as a letter from employer confirming employment details (start date of employment, salary, role, company contact details) where a third party (who is either in the UK or will be legally in the UK at the time of your visit) is providing financial support to you e.g. a business, a friend or a relative, documents to show that they have sufficient resources to support you in addition to themselves and any dependant family should be provided   The first item is "bank statements" and this ties in with the , which says...  evidence that you can support yourself during your trip, eg bank statements or payslips from the last 6 months  (Note 'eg' is a Latin abbreviation meaning "for example"; this appears to be optional rather than a fixed requirement.) Question: How should someone interpret this such that the chances of success are maximized? How many statements should I submit? What are they looking for and what do my bank statements tell about me?


Chat rooms do not seem to have the standard header menu at the top of the page, making returning and transferring to a site somewhat tedious.  You don't always want to go back to the site you came from - I know many users are involved in multiple sites - so browser back buttons are not always ideal and the only choices at the moment at a link to the "parent" site of the chat room or a link to the available chat rooms for that site.  So could the standard site header menu be added to chat rooms?  Note that I know about the footer linking back to the site associated with a particular chat, but I think that either the footer should include the standard header links or be replaced by the header (which would be more consistent anyway).

Now that we have a shiny new top bar, have there been any changes in plans to make it visible in the chat rooms? The responses in old threads I've found seem to defer or decline the option due to issues which may have been resolved by now, completely side-step the problem, or refer to third-party solutions.     Some third-party solutions and a non-answer that addresses the chat index, but not chat rooms.      Acceptance of the general concept seems unconfirmed. "It has come up before, though, and was deferred. I'll ask around, to see if that has changed..." Based on that same answer, it appears this request was rejected because the suggested refresh rate was too often. The new top bar automatically updates, so this should no longer be an issue.   I'm interested to find out what the current status is with regards to implementing this directly on the SE chatrooms, without the need for client-side plugins or scripts.


I am trying to add cuts to a shape to give it a bent shape. The object is the back pane of a foldable chair.    But when I try to select the shape (L) and add cuts (ctrl + R), the cuts I add do not appear on the shape... but cut numbers show up in the text bar on the bottom.    Maybe there are other ways to do this, but I have a beginner level, and tried many different ways to do this already.  Among the other ways I tried to do this; I tried starting from a flat cube then added cuts but adjusting the top left and top right curves to the existing frame made the shape of the grid too skewed to later on give it a curved round shape. I also tried selecting the excess angles on top with the C selection shape and removing them but it looked way too messy. I also tried flattening two cylinders and I was planning on merging them together but that didn't work either.  The current shape I have, I got it by creating a thin torus, removing 3/4ths of it all around, and the inside faces, then I duplicated it and rotated it on the other side then joined the opposite vertices.

Alright so I've seen some postings about loop cuts and done some research. I am very new to blender and modeling overall. I am trying to loop cut this concrete barrier. Now I'm following a tutorial and kind of did my own thing in some areas. I cleaned it up following some instructions in another answer here on stack exchange.  I can't for the life of me figure out why I can loop cut around the whole bottom:   ...but not the whole middle:   I see this marked as answered by another question. That question refers to ngons and inside faces. Now once again I'm totally new to this. I looked on the inside. I don't believe I have inside faces or any ngons by the terms I've read online in my research.  Here is a wireframe picture and the inside view:     Maybe I'm missing something the answers on other posts are saying. If so and you know what it is I'd be very appreciative of what it is.


RC4 is known to leak information about the first few bytes of the ciphertext due to keystream biases.  However, are there known attacks on RC4-drop[N] where N is large enough, that leak information about the plaintext?  Edit: I am NOT planning on using this in actual software (I would use ChaCha20, Salsa20, or XSalsa20 instead, which are far more secure and just as fast), but rather interested as a matter of curiosity.

The RC4 cipher possibly exhibits low level bias in it's long run PRNG keystream.  I'm specifically excluding short term bias attacks which I'm defining as outputs < 1024 bytes.  Are there any real world attacks that exploit this feature?


The title pretty much says it all. I am wondering when a spell with a duration of 1 round end? Does the round start directly after my turn, allowing me to have another turn before the spell ends, or is my turn accounted for in the duration?

The Rage class feature of the Barbarian allows you to rage for one minute given you either took damage or attacked every round. A round is defined as a 6-second interval. So the rage can last up to 10 rounds. Now my question is, does it end at the end of your 10th round or at the beginning of your 11th round? There are other effects like that, also concentration spells with the duration of 1 or 10 minutes. Sometimes those are activated before combat starts and end during combat. In general: Does an effect/concentration end at the end of your last turn during the timespan or at the beginning of your first turn after the timespan?


If I have an environment variable in Windows such as %username% if there any way I can  that?  I'd like to  it down to the first 8 characters.

I use a script that generates a session name for out AS400 sessions based on the system %username%, the problem is that if the username is over 7 characters long the connection will fail. The session names get one character appended and the connection supports a total lengh of 8 characters.  Any ideas?


I'm doing  lz@blade:~$ sudo apt-get build-dep gawk Reading package lists... Done 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:  builddeps:gawk : Depends: libreadline-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.   here's my sources:  deb http://br.archive.ubuntu.com/ubuntu/ bionic main restricted deb http://br.archive.ubuntu.com/ubuntu/ bionic main restricted   deb-src http://br.archive.ubuntu.com/ubuntu/ bionic multiverse main universe restricted  deb http://br.archive.ubuntu.com/ubuntu/ bionic universe   deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted   What are the broken packages?

After upgrading from 10.04 to 12.04 I am trying to install different packages.  For instance ia32-libs and skype (4.0).  When trying to install these, I am getting the 'Unable to correct problems, you have held broken packages' error message.   Output of commands:  sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   After running this:  sudo dpkg --configure -a foo@foo:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


On an iMac with 1 Thunderbolt port, how to have an external monitor and an external HDD work?  I can't use the USB port because it's 2.0, it will be too slow (the external HDD is a SSD).  I understand the display needs to go last, because it's actually mini-displayport. But what about the HDD? I can't find a single external HDD that has 2 Thunderbolt ports (one IN, one OUT).  So how are you supposed to daisy chain things?

I've recently been reading about new peripherals for the Mac (such as ). I'm very attached to using an external display, but since the DisplayPort is now combined with Thunderbolt, how is it expected that we use an external display and a device?  As I understand it, Thunderbolt supports daisy chaining up to 7 devices, but it would appear that the display/device doesn't support this. Are we going to start seeing ThunderBolt "hubs" anytime soon, or am I asking this question too early?


I have 3 tables: 1,2,3 and text that I need to have near table 3 (before & after). LaTeX's  allocated table 1 and 2 on page 4 and table 3 on page 5, but I need this table (3) to be allocated with the text on page 3. And when I use     \usepackage{float} \begin{table}[H] ...`    it is stuck on page 3, but now the table 3 shows up earlier than table 1 and 2, which is kind of not what I want. I don't know if I explained this corrently, hope you know what I mean.

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?


I know the Chinese Remainder Theorem implies that there exists a unique solution modulo $mn$, but I can't spot how to show directly that you can deduce that $ x \equiv 1 \pmod {mn}$.  Thanks in advance!

Problem: Find the units digit of $3^{100}$ using Fermat's Little Theorem (FLT).  My Attempt: By FLT we have $$3^1\equiv 1\pmod2\Rightarrow 3^4\equiv1\pmod 2$$ and $$3^4\equiv 1\pmod 5.$$ Since $\gcd(2,5)=1$ we can multiply the moduli and thus, $3^4\equiv 1\pmod {10}\Rightarrow3^{4*25}\equiv 1\pmod{10}.$ So the units digit is $1.$


I use Ubuntu 12.04 in a machine for working,and don't know why Libreoffice doesn't upgrade to last version,and Firefox does.

Why are packages in the official Ubuntu repositories older than the latest (upstream) versions from Debian Sid, PPAs, the authors, etc.?


I know in PHP or Java you can do something like this  int usefulCharacters = text == null ? 0 : text.length();   So in Python i want to check if after using the filter(item,iterable) function and return true if item is appeared in the iterable:  Note: valid_indices is in rdd format so i have to convert it into a list so it will be iterable  is_index1 = (filter(index_md5,valid_indices.collect()) ? true:false)   Seems like Python doesn't like the "?" syntax though. Please advise, i'm learning Python and thank you!

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


I am trying to remember a SciF series of books I started reading in my early to mid-teens (1980-86) where the main character was searching for humanity's mythical home planet Earth, which I never did finish.  These were generally paperbacks I borrowed from the library or picked up in 2nd hand book shops.  The main character (male) was a mercenary who made his way from planet to planet financing his space fares by taking various contracts, generally each novel's main plot involved a single contract, but with a larger story arc of searching for humanity's lost home planet.  Unique things I remember about the series;   The main character tended to wear a one piece combat suit, like chain mail covered in some kind of polymer plastic. He was a skillful knife fighter. Interplanetary travel took time, rich passengers took drugs which slowed down their perception of time and aging. Slow-time? Each planet had a shanty town around the spaceport in which lived unfortunates who could no longer pay for passage off world. There was a religious order who fed these unfortunates at the cost of brainwashing them against violence. Most characters don't believe in the one home world myth, due to the number of races of human. At one point the main character gains the spectrum fingerprint of Earth's sun.   Some vague plots I remember from the series;   Searching for immortality fungus on a world overrun by fungi. Hunting giant lizards for gems that grew in their brains.

Can someone remind me of the name of the author, the name of the hero and the name of the series if any? Adventure Sci-Fi books, short by today's epic standards ( = about same length as Heinlein's shorter youth books), probably published late 50s?, early 60s? by Bantam? or Del Rey? I think at least 30, possibly more than 40 books in the series. Not comic books. The author is not a well-known writer. At least, I don't remember seeing the name on any other books, ever.   Subject: a man who can move and respond to threats extremely fast learns about a secret potion that allows a person to change bodies with someone else and thus control them. A powerful organization does not want the secret to be known, because they use the potion to control politicians on many planets. The organization's goons are people who had surgeries to remove their emotions, and function like organic computers. They can communicate over interstellar distances and follow and murder anyone who learns the secret. I remember the following detail about the potion: there are two nearly identical molecules that have to be assembled in a certain sequence. Two of the components had to be switched around and that determined who would be dominant and who would be controlled during the mind switch / body swap.   Every book finds the hero on another planet with new adventures, and usually taking another deep-sleep-passage to another world, fleeing his pursuers. The background story about the secret potion is dished out little by little in each book.  One book in the series starts like this: hero is on very hot planet, diving for valuable marine life, catches a deadly fungus disease and is rescued last moment in exchange for his catch...  One of the themes that returns often is that the hero is an excellent knife fighter.  Of course he's a womanizer. In the second (or close to 2nd) book in the series, he's involved with a woman who rules a planet.  To travel to another world, he usually takes the cheapest dead-sleep passage, and there's always a 10-25% risk you won't wake up from that.


Hi there. I really want to remove the parts of these circles marked by the yellow circles, but I've had a lot of difficulty doing so. Can anyone help.

As you can see in my image there are two circles kept on the hexagon. I want to know how do I delete the intersecting part of circle and hexagon which i marked in yellow ovals..??


I'm currently 18, I already have investments in a variety of conservative mutual funds through the Stash app, however I want to get into actually investing for extra income. I currently have a steady cashflow along with expenses settled. Any advice helps! I have Robinhood downloaded but haven't really tried it yet.

I am young, just started my career, and looking to begin investing so I can make my money work for me. I'm still living like I did in college (occasional purchase on myself, but most of it goes into savings) and I would like to take the extra money and invest it.   What would you suggest are the best options for me to begin? I was considering getting a personal investor [a financial advisor] for perhaps a year or so, but I've heard that they really are not worth the money. I wanted to get the input of the great minds here.


I want to build something with my unused fan. I am planning to put a lighting circuit using LEDs and a microcontroller (ATmega, Arduino Nano, or something), thus creating some kind of image from the rotating LEDs. However, I have no idea about how to power the circuit. It would be nice if I can power it through 220V from the fan + regulator + cable to circuit (I prefer not to use a battery), but the cable used to power the circuit in this case will always be twisted. Any idea?

I want to build a small , but how is the power (and if possible a communication line) transmitted to the spinning part?  I've looked at some POV project, but they usually don't explain that part much...


I'm using biblatex with biber as backend. I want to create citations for my figures by using a \cite command, but surpress any output of it in the caption of a figure or in the footnotes of the respective page.  Instead the citation (including a page number) should be printed only in the \listoffigures, ideally instead of the caption. I'm using the style verbose-ibid. I'd like the references in the list of figures to be printed in the abbreviated form of that style by default. The cited book should be added to the bibliography as well, if it wasn't cited before in the text.  What I'm doing so far:  Placing the \cite command inside [] of \caption[]{} to avoid any output of the citation on the page of the figure and to print the citation inside the list of figures. The cited book gets also added to the bibliography.   Everythings just fine except for the citation style inside the list of figures (always prints full citation).  Any ideas how to achieve the abbreviated citation style in list of figures by default? Is there an overall better approach to this than mine?  MWE:  \documentclass{article} \usepackage{graphicx} \usepackage[backend=biber,style=verbose-ibid,hyperref=false]{biblatex} \addbibresource{mwe.bib}  \begin{filecontents}{mwe.bib} @Book{knuth1986,     Title                    = {The \TeX book},     Author                   = {Donald~Ervin Knuth},     Publisher                = {Addison-Wesley},     Year                     = {1986} } \end{filecontents}  \begin{document}  \begin{figure}     \centering     \includegraphics{example-image-a}     \caption[{\cite[][5]{knuth1986}}]{This is a caption} \end{figure}  \printbibliography \listoffigures \end{document}

I am using a modified verbose-ibid citestyle (as suggested ). If I use \cite, it won't use the short version, and that might be good, but right know I need to use the short version (cite:short). So how would I use \cite and force the short form?


I can't make ad-hoc from my netbook (Ubuntu 12.04). It has internet source from ethernet. I have tried making from network manager. But it always says 'Wireless Network Disconnected' and can't be detected by neither my other laptop nor my cell phone which have wifi. How can I make adhoc from it?   I have already tried making a connection in Network Manager a lot of times, but it still can't connect and appear notification 'Wireless Network Disconnected'.

I have Ubuntu 12.04 on a HP 430 notebook and this has a single wired internet connection and I would like to share this with a LG Optimus One with Android 2.3.3. I followed  instructions and created a hotspot as shown below, but UbuntuHost is not visible on the LG Optimus One when I enable the Wifi on it.  To summarize, I want my Laptop with an internet connection to act as a WiFi router and access the internet from other devices (LG Optimus One with Android in this case).  What additional steps have to be done?


Why do no particles have a 1/3 spin? Why are all particles' spin either a half-integer or integer? How would a particle with such a spin behave, as a fermion, boson, or neither?

It seems to me that we could change all the current spin values of particles by multiplying them by two. Then we could describe Bosons as even spin particles and Fermions as odd spin particles. Is there some consequence or reason why we can't simply change 1/2 as the smallest unit of spin into 1?  It just seems prettier this way. In fact, there's almost an interesting relation to even and odd functions in that if you switch any two bosons around the wave function stays the same while if you switch any two fermions around the wave function becomes negative.


These are the upper and lower discs A and B.  There is a small hole in the center of A, and a pipe is connected to the small hole.  The pipe is connected to compressed air.  We use B to approach A.  When the distance between A and B is far enough, A and B are repulsive forces.  However, when A and B are close enough, A and B are attractive forces.  Attractive force can even be greater than the gravity to which B is subjected.  Why is that?   shows this.

In this video, a device is introduced from 1 minute to 18 seconds. After entering the air, the disc at the bottom of the device will be suspended in the air. The video explains that this is because of the Bernoulli effect, but I think this explanation is incorrect, because the disc gap, the radial volume is increasing. Therefore, the reason why the disk is suspended is that the air volume becomes larger, so the pressure decreases (according to Boyle's law). If the air moves along the radial direction at a constant speed, the volume of the air must be constantly increasing, right? So the pressure is decreasing, right?


I was trying to prove   $\displaystyle \binom{n}{r} \leq \displaystyle \binom{n}{\lfloor{\frac{n}{2}}\rfloor} $  where $r=0,1...,n$  I supposed that n is even and tried to divide: $\frac{\displaystyle \binom{n}{\frac{n}{2}}}{\displaystyle \binom{n}{r}}$ and ended up with this  $\frac{n!(n-r)!}{(\frac{n}{2})!\cdot (\frac{n}{2})!}$, but couldn't make any further progress.  Can you please help?  Thank you.

How do you prove $n \choose k$ is maximum when $k$ is $\lceil n/2 \rceil$ or $\lfloor n/2 \rfloor$?  This  provides a proof of sorts but it is not satisfying. From what I understand, it focuses on product pairings present in $k! (n-k)!$ term which are of the form $i \times (i-1)$. Since these are minimized when $i=n/2$, we get the result. But what about the reasoning for the rest of the terms?


According to ArcGIS  when I add a CSV with the "add XY" tool, * "The tool automatically adopts the data frame’s coordinate system"*.  Since I'm importing a csv with no defined coordinate system, I would expect that importing a csv with only lat/long values and a name, that it would produce a data set of points in the origional dataframe's coordinate system at the lat and long given in the table.  That is not what's happening.  I'm trying to add a CSV table or Excel file (tried both) of a list a radio sites around LA.  The project is NAD83, as I believe that's an FCC standard.  I'm trying to add the table using the ADD XY Data tool, placing the Longitude column in the X field and Latitude in the Y field ( Fig 1).  On the map the points end up half way to Hawaii however.  If you look at the identities window (Fig 2),  you'll see that my lat/longs in the identities table don't match the locations.  For example "Avalon" has a lat of 33.34101 in the table, but 27.196035, and the long is about 20 degrees off also (See green and orange circled values in Fig 2).  In my table below, there are only those values, where you can see where the lat and long values are coming from.  I've also tried a table where i removed the hyper link column, but the result is the same.  Also (fig 4), shows my layer properties for my point data feature. Does anyone have idea what's going on? Im thinking the CSV file I'm bringing in has no projection defined.  I would think the lat and long should just line up to the project coordinates. .     Fig 1   Fig 2   Fig 3   Fig 4

I put 4 different layers into my ArcMap document, but only one of them will show up on the map! I should be seeing the other 3 layers as well. When I do a Zoom to layer, I can see one layer, but I cannot figure out how to make the other 3 show up at once on top of each other.  Before I opened ArcMap, I used ArcCatalog where I right-clicked 3/4 of the shapefiles and  clicked Properties → Coordinate system → Import and then clicked on my Trees layer, which has the coordinate system I want the other 3 to have. But when I opened ArcMap the 4 layers did not overlap, nor could I move them above or below each other.


Suppose ${\bf{X}} = ({X_1},{X_2},\ldots,{X_n})$ are the original components (also random variables) and ${{\bf{w}}_j} = ({\omega _1},{\omega _2},\ldots,{\omega _n})$ are loadings for the $j$th principal component satisfying ${\bf{w}}_j^\rm{T}{{\bf{w}}_j} = 1$ and ${\bf{w}}_\rm{i}^\rm{T}{\bf{w}}_j = 0$ for $i\neq j$, thus ${z_j} = {\bf{w }}_j^{\rm{T}}{\bf{X}}$ is the $j$th component.  To find out the first principal component, we try to maximize the variance of $z_1$, which is $\rm{var}(z_1)=\rm{var}({\bf{w }}_1^{\rm{T}}{\bf{X}})=\bf{w}_\rm{1}^\rm{T}\rm{var}(\bf{X})\bf{w}_\rm{1}$. We estimate $\rm{var}(\bf{X}\rm{)}$ by the sample co-variance matrix $\bf{S}$, we maximize $L=\bf{w}_\rm{1}^\rm{T}\bf{S}\bf{w}_\rm{1}-\lambda({\bf{w}}_1^\rm{T}{{\bf{w}}_1} - 1)$ where $\lambda$ is the Lagrange multiplier. By taking derivative we arrive at $(\bf{S}-\lambda\bf{I})\bf{w}_\rm{1}=0$. It is obvious $\bf{w}_1$ is an eigenvector of the sample co-variance matrix $\bf{S}$.  Now the problem comes. Solving the equation gets you all eignenvalues and eigenvectors. I searched the internet all materials I found simply tell you to rank the eigenvalues and the eigenvector of the largest eigenvalue is the first principal component, and the eigenvector of the second eigenvalue is the second principal component, and so one so forth.   My question is how do we show or prove the largest eigenvalue corresponds to the largest variance and the second largest eigenvalue corresponds to the second largest variance and so on. Thank you.

In today's pattern recognition class my professor talked about PCA, eigenvectors and eigenvalues.   I understood the mathematics of it. If I'm asked to find eigenvalues etc. I'll do it correctly like a machine. But I didn't understand it. I didn't get the purpose of it. I didn't get the feel of it.        I strongly believe in the following quote:     You do not really understand something unless you can explain it to your grandmother. -- Albert Einstein   Well, I can't explain these concepts to a layman or grandma.   Why PCA, eigenvectors & eigenvalues? What was the need for these concepts? How would you explain these to a layman?


Recently, Ubuntu 17.04 doesn't recognize the secondary graphic card installed on my laptop by manufacturer. The graphic card model is Nvidia Geforce 720M.  Here is the output of commands I ran to diagnose the problem:  $ lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])  $ lspci -k | grep -EA3 'VGA|3D|Display' 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)     Subsystem: Acer Incorporated [ALI] 3rd Gen Core processor Graphics Controller     Kernel driver in use: i915     Kernel modules: i915 -- 01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)     Subsystem: Acer Incorporated [ALI] GeForce GT 720M     Kernel modules: nvidiafb, nouveau, nvidia_340 02:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 01) $ sudo nvidia-detector none $ nvidia-settings ERROR: Unable to find display on any available system $ optirun glxinfo|egrep "OpenGL vendor|OpenGL renderer" [ 1142.796148] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver  [ 1142.796180] [ERROR]Aborting because fallback start is disabled. $ echo $XDG_SESSION_TYPE wayland

I have a NVIDIA GEFORCE GTX 1060 graphics card - how do I have to install the NVIDIA drivers properly in Ubuntu 17.10? Is it the same procedure as in 17.04 or does the fact that Ubuntu 17.10 uses the Wayland session by default change something?


Let $C([0, 1])$ be the space of all continuous real-valued functions on the interval $[0, 1]$, with norm  $\displaystyle\lVert f\rVert_2 = \sqrt{\int_0^1 \lvert f(x)\rvert^2 \,dx}$.  I need to show that $C([0, 1])$ is not a complete space (i.e. a Banach space) with respect to this norm.

How does one show that $(C[0,1], ||.||_{2})$ where $||.||_2=(\int_{0}^{1}|f(t)|^2dt)^{1/2}$ and $C[0,1]$ is the space of all continous function which are mapped from $[0,1]\rightarrow \mathbb{R}$, is not complete?   First to show that $(C[0,1], ||.||_{2})$ is a normed vector space:   $||.||_2$ fulfills $||f(t)||=0 \Rightarrow f(t)=0$   $||.||_2$ fulfills the  scalar multiplication property: $$||\lambda f(t)||_{2} = (\int_{0}^{1}|\lambda f(t)|^2dt)^{1/2}=|\lambda|(\int_{0}^{1}| f(t)|^2dt)^{1/2}=|\lambda|||f(t)||_2$$  Thirdly, it also fulfills the triangle inequality:$$||x(t)+y(t)||_2^2 = \int_{0}^{1}|x(t)+y(t)|^2dt \le \int_{0}^{1}|x(t)|^2dt + 2\int_{0}^{1}|x(t)y(t)|dt +\int_{0}^{1}|y(t)|^2dt \le ||x(t)||_2^2 + 2||x(t)||_2||y(t)||_2+||y(t)||_2^2 = (||x(t)||_2+||(y(t)||_2)^2$$  this also shows the closure under addition in $C[0,1]$  so , $(C[0,1],||.||_2)$ is a normed vector space , but how can we show that it is not complete?


Why is the article "the" used to address certain specific countries (this is especially true when one is introducing where they come from)  such examples are;  I am from the United States of America  I am from the Netherelands  while in some, it sounds weird  examples are;  I am from the Finland or I am from the Malaysia?   Are there some rules I'm missing here?

The Punjab is a rich state.   Is it correct to use the before Punjab?


I designed a kids' activity book for my client. She handwrote all the text correctly and I typed a sentence out incorrectly. She approved the proof before print but that was the 6th draft so I guess both of us were too tired by that stage to spot this error.  If it was her provided text, I wouldn't see it as entirely my fault. But I typed it myself from her correct notes so it is. Should I give a discount? A full refund? She's printing labels to put over the incorrect text. Should I at least pay for that?

I am a graphic designer and my project was to design and print a cocktail catalog. Everything worked fine till the client realized, when I delivered the printed catalogs, that a cocktail΄s description which was given to me was wrong.  The thing is, I sent many presented files of the work and was asking to check that everything was correct before printing the catalog and that because he made a lot of changes till the end of the desired layout.  I understand that it is also my fault, but isn't the client also responsible for this mistake?


Sometime ago, somebody asked a question concerning the simulation of a blackboard presentation written with Beamer. The question had several parts, and I am also interested in one of them, the most difficult one: how to provide the content as if someone was writing on the blackboard, that is, "character by character" (with obviously some control on the speed of the display). That is, imagine a student following a course by looking at home at some slides. I would like that as it clicks on a sort of "play" button, the "virtual piece of chalk writes" a new sentence in the slide, or some block of text. Ideally, this should also happen with the math formulas. At the end, a sound track can be added to complete the simulated teacher. It's important that the material is presented slowly, as in a real blackboard-based lesson, since this gives more time to the student to understand, even if she reads at home.  I think that if there is an easy solution, it concerns the capabilities of some pdf reader, plus a package allowing the author to control this displaying style.

I need an appearing effect for text like the one (in javascript) here .  However I don't know how to insert js code into LaTeX (apart from using the AcroTeX Bundle) and that would also force me to use Acrobat Reader, so I'd like to implement a similar effect in Beamer. Is it possible?  (of course I would love to see alternative approaches to this)


I'm using classicthesis to write my reports. I've always use the tweaked version of it since 2011 for my stuffs (e.g. back then it was for the master thesis). Today after updating the package in MiKTeX, something went wrong with the section numbering: the section and lower levels numbering are all disappeared (!)  Before, it printed out all right:     1. My first section   1.1 First subsection   1.2 Second Subsection   Now only the Section title is displayed, the numbering is gone:     My first section   First subsection   Second Subsection   After some searching around I could narrow down the possible cause to be the latest version of titlesec package, but I don't know how to change either in the preamble of my main document with some options of titlesec, or go to the source of classicthesis.sty to modify some part.  For a long writing such as thesis, the structure is with chapter and part as the highest level, but for shorter writings, such as some 20-page report, I added one line to started with section as the highest level while avoiding numbering such as 0.1, 0.2     %this is to use section without chapter 0 numbering:   \renewcommand{\thesection}{\arabic{section}}   Anyway, in always printed out section together with its number pretty fine, until the update of titlesec today. I know that classicthesis uses titlesec to play with the displaying of header lines, however in the code of classicthesis.sty, section is not numbered, so I'm rather at a loss now how to get back the numbering.

After reinstalling TeXLive distribution (install-tl-20160318, Ubuntu 14.04), a issue occurs with the updated version of the titlesec package: the section numbering is lost.  What could it be missing? Is there a modification I have not seen?  Below is a MWE comparison of the two versions. The prevtitlesec package is a reinstall of the previous version (2011/12/15).  \documentclass{book} \usepackage[margin=2cm,a4paper]{geometry} %\usepackage{prevtitlesec}% 2011/12/15 version \usepackage{titlesec}% 2016/03/15 version \usepackage{lipsum}  \begin{document}  \chapter{Title of the first chapter} \lipsum[1] \section{A test section} \lipsum[4] \subsection{A test subsection} \lipsum[4] \subsection{A test subsection} \lipsum[4]  \end{document}   titlesec package 2011/12/15:    titlesec package 2016/03/15:


I got stuck on the following question. Suppose that $H$ is a Hilbert space and $V$ is a nonempty convex closed subset of $H$. Prove that there exists a unique $u\in V$ such that $\|u\|\leq\|v\|$ for all $v\in V$. I know that by proposition, there is a unique $u\in V$ such that for $h$ in $H$ but not in $V$, $\|h-u\|=\inf \{\|h-v\|:v\in V\}$. But how could I use this to prove this problem? Thanks.

The theorem:  Let $C$ be a non-empty closed convex subset of a Hilbert space $X$, and let $x \in X$. Then there exists a unique $y_0 \in C$ such that $||x-y_0|| \le ||x - y||$ all $y \in C$. In other words there is a point in $C$ which is closest to $x$.  I'm reading a proof here (, p.4) and have two questions about the initial steps in the prooof (I can follow the later steps.):   "Let $d = inf\{||x - y||: y \in C\}$" I think that the infimum should exist by the property (axiom) of completeness of the real numbers. $\{||x - y||: y \in C\}$ is a set of real numbers which is bounded below (all norms are $\ge 0$) and therefore has a greatest lower bound - is this correct ? "Let $(y_n)$ be a sequence of points in C such that $||x - y_n|| \to d$". I think such a sequence should exist by the following reasoning: With $d = inf\{||x - y||: y \in C\}$ then for any $\epsilon > 0$ there must be a point $y$ in $C$ such that $||x - y|| \lt d + \epsilon$ (otherwise $d$ is not the infimum). If for this point $||x - y|| = d $ then $y_0 = y$ and we are finished: $(y_0)$ is a one element convergent sequence. Otherwise $||x - y|| = d + \epsilon`$ where $\epsilon` \le \epsilon$ and I can repeat the process to find a different point where $||x - y|| \lt d + \epsilon`/2$ and so generate a convergent sequence. I'm not sure this is valid, and it occurs to me that unless $C = \{y_0\}$ there are probably an infinite number of points at each step and the Axiom of choice is then required to extract a convergent sequence. Any help would be appreciated.


My wife is Ukrainian citizen with Romanian residency permit. We have tickets for a flight Madrid-Heathrow-Seoul:     jue 05/01/2017  Iberia  IB 3160   Turista    09:10 Madrid Adolfo Suárez Barajas Terminal: 4  10:40 Londres   Heathrow Terminal: 5     jue 05/01/2017  British Airways     BA 0017   Turista    13:00 Londres Heathrow Terminal: 5  08:55 Seoul Incheon   >Internacional    I want to understand if she needs a transit visa or not.  My understanding so far is that there is the DATV visa which can be used if you will not go through UK border control, but:   I don't know if this is the case or not (we will not have to recheck-in our luggage, but is there any other Border Control that we might have to pass - i.e. if the terminals will change and not both flights will depart from Terminal 5?) According to  "You don’t need to apply for one if you have: an EEA family permit".   Which seems to be the case.  So in this situation she is not required any visa at all?

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


When viewing youtube videos, video is distorted like this:    Flash player is up to date, javascript is enabled, and same issue for firefox and chromium browsers. What to do?

I recently installed Lubuntu but I have a problem with Adobe Flash Player. I always see something that looks like this when I open a video:    (source: )    The video is small, grainy, and is green and purple.  I tried to reinstall Flash and to test it in multiple browsers without success. I installed an older version of Flash but no result.  [0300]: Intel Corporation 82865G Integrated Graphics Controller [8086:2572] (rev 02)     Subsystem: Hewlett-Packard Company D530 sff(dc578av) [103c:12bc]     Kernel driver in use: i915


I finally had a big wave of dwellers reaching all their SPECIAL to 10. so I started sending them with the damage reduction pet into the wastelands where the best started at lvl 1 and made it like after close to 6 days with 3 med's left from alone home by stating a sentence alike "Thats all I can carry, so I go home now".  quite reasonable by the amount of items he found up to that time.  Today a similiar thing happened. but this time it happened to ALL my dwellers at a time. one even turned back after just have been out for 2 hours and only carrying 3 items while complaining about thats all he can carry.  While the other too had quite a lot of stuff allready (but anyway not equally much).  So is there any known bug? Or is there a limit (for what ever purpose) o0f the sum of all collected items of dwellers currently expoloring the wastelands at a time?  Or what else might be the reason for a dweller returning from the wastelands since "he can't carry more then 6 items"?

I have a strange thing happening - dwellers I send to explore wasteland are automatically returning to vault after finding a little amount of items (4 or 5).   The exploration log says: "That's as much as I can carry. I better head back and show the Overseer what I found".  Before today they successfully carried up to 30 items and never returned to vault on their own.  I don't know is it relevant or not, but I have a lot of free storage space available.  What caused this change? What can I do to prevent this?


I have ssh-access to a linux server. My account is running out of free space and I am forced to remove some data from the server. I would love to download my mysql database (and delete if afterwards) but because I have no more space I can not dump my database using mysqldump to my ~.   Is it possible to download the stdout of a remote linux system using PuTTY/WinSCP on my windows 7 machine? So I could directly download the output of mysqldump without saving to the harddisk of the remote system? Or is there any other way?

I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would also be useful.  Is this possible using ssh (putty)? Or by any other means?  Thanks!