Is it possible to deselect freestyle edges?  For example, I enabled Material Boundary in Render layers → Freestyle Line Set → Edge Types to draw lines on all edges between faces with different materials:      Is it possible to explicitly exclude an edge from freestyle drawing so I can have all material boundary edges drawn except for ones I specify?  e.g:


Why is it "have someone wrapped around your LITTLE finger"?

I just had occasion to write she's got him wrapped around her finger (under complete control).  I'd never really thought about this one before, but my guess would have been the idiom had some connection to wedding rings. On the other hand, intuition (and a Google Books search) tell me that the expression usually involves a little finger - not normally associated with wedding rings.  Does anyone know when/why the idiomatic usage arose? I can't find anything in OED or a cursory search online.


Which integers can be expressed as a sum of squares of two coprime integers?

I want to find integers $z=a^2+b^2$ with $\gcd(a,b)=1$.  Clearly all prime numbers of the form $4k+1$ are such numbers, but what other composite numbers also enjoy this property?  e.g. $74=5^2+7^2$, $625=7^2+24^2$.  Please answer.


Updating UI from Backgroundworker Thread (Invoke)

I'm currently trying to update my control (Label.Text) from my BackgroundWorker thread. Control1 mycontrol = new Control1();  mycontrol.Invoke((MethodInvoker)delegate { mycontrol.statusmainlabel.Text = "Setting up"; });  But I get the following error:  System.InvalidOperationException: "Invoke or BeginInvoke cannot be called for control until the window handle is created."  I'm trying to update my UserControl from my other class that is called by the BackgroundWorker.


BMO1 2013, solving a recurrence relation

The question is      Isaac is planning a nine-day holiday. Every day he will go surfing, or water skiing, or he will rest. On any given day he does just one of these three things. He never does different water-sports on consecutive days. How many schedules are possible for the holiday?   My attempt: $$ \text{Define a}_{\text{n}}\,\,\text{to be the number of n}-\text{day holiday that the last day is rest} \\ \text{b}_{\text{n}}\,\,\text{similarly, last day is skiing}. \\ \text{Then a}_{\text{n}+1}=\text{a}_{\text{n}}+\text{2b}_{\text{n}}, \text{b}_{\text{n}+1}=\text{b}_{\text{n}}+\text{a}_{\text{n}} \\ $$ Then I do not know how to proceed to solve this sequence


Add "Chapter" to the table of contents. Report class

I currently have my ToC formatted exactly as I need it except I need the word "Chapter" to appear before the chapter number.  i.e:  I want to see  Chapter 1:  Title       instead of             1:  Title.   After reading the PDF regarding the tocloft package it seems that the correct way to take care of this is with the command:  \renewcommand{\cftchappresnum}{Chapter }   citing pg. 11 of the document.  When I do this I see no result; nothing in my document changes.  I have seen others resolve this issue in a similar way so I am very perplexed as to why it is yielding me no result.  Is it possible that the issue is that I am using the report class?  MWE:  \documentclass[12pt]{report}  \usepackage{amsmath, amsfonts, amssymb, amsthm, fancyhdr, enumerate, comment, titlesec, tocloft, lipsum, titletoc}  \begin{document}  \renewcommand{\contentsname}{~~~~~~TABLE OF CONTENTS}  \renewcommand{\cftpartdotsep}{\cftdotsep} \renewcommand{\cftchapdotsep}{\cftdotsep} \renewcommand{\cftchapleader}{\cftdotfill{\cftsecdotsep}}  \renewcommand{\cftchappresnum}{\chaptername~}  \setlength{\cftchapnumwidth}{6em}  \tableofcontents \thispagestyle{fancy}  \chapter{First Chapter} \chapter{Second Chapter}  \end{document}


The cost, in dollars, of producing $x$ units of a certain commodity is  $$c(x)=920 + 2x - 0.02x^2 + 0.00007x^3$$  (a) find the marginal cost function.  (b) find $C'(100)$and explain its meaning  (c) Compare $C'(100)$ with the cost of producing the $101$st item


Faculty positions: What to say in a statement on diversity?

Some job ads of US schools require a "statement on diversity". I am not based in the US, and have never written one before. What should one say in a statement on diversity anyway? Am I supposed to state how I would increase the (ethical, scientific, or with regards to other aspects) diversity of the faculty? Would something like "Since I come from Africa, I would make a big contribution to your diversity since currently all faculty members at your department are white" usually be expected?


I'd like to know how I can recursively (edit: iteratively) compute variance, so that I may calculate the standard deviation of a very large dataset in javascript. The input is a sorted array of positive integers.


How can i prove that $\displaystyle\sum_{k=0}^{n}{2n\choose 2k}=2^{2n-1}$   I tried  using induction and pascal's identity but it didn't help me.


Why do snap-packages exist - is there a real need?

Assumptions  Honestly, I do not know much about  snap-packages - but this is irrelevant for this question - see below. I assume the system is significantly different from the existing one.  Does the change make sense?  Is there an actual need, strong enough? That is - is there a new use case, that is important enough to develop a new format - and the associated infrastructure?  Was it not feasible to change the current method to cover the new use cases too?  Or am I missing the point?  It is possible that what I see is mostly marketing - new names and presentation for minimal technical change, to get a chance that any body assumes it as "new and better" and it may be actually used. Also, it may be that the new packages are so closely based on the existing format that it is mostly a change in presentation to the user. That could be a good solution, of course. In this case, this question would have not much relevance.  Then, I would hope that is still useful enough to answer to side aspects.  Just let me know if the question is not helpful or confusing to new users, I'm happy to delete it.  So, why do they exist?    Background  My first reaction was "That makes no sense!"  This is similar to a situation where, on the physics site, someone asked, unhappy, why nobody discusses his brilliant new ideas in answers. It looked strongly like crackpot ideas; So far from actual physical knowledge that it was hard to find a point to even start. I wrote an answer that did not touch his ideas with a single word, but explained why one would just not discuss assuming crackpot ideas - not the first case of that. The answer was actually hitting the point, I think.    If my assumptions were right, this case is similar.    But then, maybe not - let's see.


Read Data From File Using Command Line Java

As I am new here and I have search some questions but not able to full fill my requirement, so please help me for this.  How can I allow user to enter the path of file as command line argument and then I can read the content of file and display from that file,  Also If file is not there then it should display appropriate message for that.  Please help me for this as I am new to tech and site both.


This question is primarily terminology based. In that $\sqrt{}$ denotes the principal square root.  Here are two reasoning   $\sqrt{(-1)^2}=1$  since $\sqrt{(-1)^2}=\sqrt{1}$ which we know has a principal square root of $1$. Or  $\sqrt{(-1)^2}=-1$ since $\sqrt{(e^{\pi i})^2}=\sqrt{e^{2\pi i}}=e^{\pi i}=-1$   Which reasoning is correct and why? Also if possible can you leave a source.


Summation of a trigonometric series - $\frac{\sin n}{n}$

Question: Find the sum of the series: $$\lim_{n \to \infty}\frac{\sin1}{1}+\frac{\sin2}{2}+\frac{\sin3}{3}+...+\frac{\sin n}{n}$$  I have no clue how to find this. Obviously I can see the sum will be convergent as the denominator gets increasingly bigger while the numerator is bound between $1$ and $-1$.


Turn off change file extension warning in Windows 7

Is there a way to turn off the file extension rename dialog in Windows 7?  The one that prompts you     Rename: If you change a filename extension, the file might become unusable. Are you sure you want to change it?


I am looking at the Runge's phenomenon and I have a question. We have the interval $[a,b]=[-1,1]$ and $f\in C^{n+1}[-1,1]$. We know that $\forall x \in [-1,1] $ $\exists$ $\xi\in[-1,1]$ so that: $$f(x)-p_{n}(x)=\frac{1}{(n+1)!}f^{(n+1)}(\xi)\varPhi_{n+1}(x)$$ where $\varPhi_{n+1}(x)=\prod_{i=0}^{n}(x-x_{i})$ So,$$||f-p_{n}||_{\infty}=max|f(x)-p_{n}(x)|\leq\frac{1}{(n+1)!}||\varPhi_{n+1}||_{\infty}||f^{n+1}||_{\infty} $$ Then,we suppose that $x_{i}=-1+ih , h=\frac{b-a}{n}$ Then we say that $||\varPhi_{n+1}||_{\infty}\leq \frac{n!}{4}h^{n+1}$ ,but I haven't understood why..Could you explain it to me?


"a" verus "an" for abbreviations starting with 'U'

My friend is implementing an app for Amazon Alexa which currently speaks the indefinite article "an" in noun phrase acronyms which start with the letter 'U', for example:  (1.) *I found out he was an U.S. president.   My idiolect prefers "a" here instead, presumably because my aggregated experience of the "a/an" contrast perceived this as a rare (unique?) case where English formally licenses a syntactic alternation (insofar as spelling is overt syntax, and syntax is formal) driven by phonotactic considerations.  So much for the grade-school rule-of-thumb about "whether the spelling starts with a vowel." In any case, I'm a native speaker and it does seem to be the case for me:  (2a.) I'm an unhappy camper. (2b.) Bob is a used car salesman.   Since "U.S." in sentence (1) is pronounced in as in (2b), I prefer the phonologically reduced form:  (3) I found out he was a U.S. president.   Apparently contradicting this idea is the evidence of native speakers who insist on "an" for words starting with 'H'.  (4) ?It was an historic victory.   I marked (4) questionable to indicate that it's not in my idiolect. My question is, without devolving into a , are there other considerations beyond what I've mentioned here that could explain or underlie the observed alternation?


How can I test if a RegEx matches a string exactly?  var r = /a/; r.test("a"); // returns true r.test("ba"); // returns true testExact(r, "ba"); // should return false testExact(r, "a"); // should return true


In a stingy effort to maximize my gold income, I was trying to figure out if it was worth it to reroll daily quests that award 50 gold, from a mathematical point of view only (meaning I don't care how long it takes to complete and that it's my only active quest).  I did some research/calculations on my side, here are my results  There are 78 unique quests available   *quests of the 'win X games with class Y or z' type have 9 possibilities each, per Hearthstone wiki) Those quests award a total of 4000 gold Therefore, the expected amount is 51.28 gold Conclusion: I should reroll a 50 gold quest   to get the above result, I gave a value of 100 gold to the Watch and Learn! quest.  I also ignored the fact that the Everybody! Get in here! quest can only be completed 5 days out of 7 and that the Play a Friend! quest can only reappear 5 days after appearing once  Does that make sense?  Did I mess something up in the calculations or the reasoning?


Using substitution with $u=\sin{x}$, The integral of $\sin{x}\cos{x}$ is equal to $\frac{1}{2}\sin^2{x}$. This is the solution I require.  However, why is it that when I use the double angle formula $\sin{2x} = 2\sin{x} \cos{x}$, and integrate $\frac{1}{2}\sin{2x}$, I get a completely different answer of $-\frac{1}{4}\cos{2x}$ even though $\sin{2x} = 2\sin{x} \cos{x}$.


Expansion coefficients of an arbitrary state in the Hilbert space of one-particle states

I was going through my notes on the unitary irreducible representations of the Poincare group and the subsequent construction of one particle states and I stumbled across the following steps in the method of induced representations: ($\mathscr{H}$ is the Hilbert space and $\mathscr{H}_p$ is the subspace of one-particle states with momenta p. $\mathcal{S}_k$ is just the little group of the standard momentum $k$. $L(p)$ is the standard Lorentz boost; $L(p)k=p$)   (1) Let $|k,\sigma\rangle$ be a basis for $\mathscr{H}_k$ and let $\mathcal{D}$ be the (finite) unitary irrep of $\mathcal{S}_k$ induced by the unitary irrep $\mathcal{U}$. Then $\mathcal{D}$ acts on $\mathscr{H}_k$ by mixing the spin polarization states,  \begin{align} \mathcal{U}(h)|k,\sigma\rangle=\sum_{\sigma'}\mathcal{D}_{\sigma'\sigma}(h)|k,\sigma'\rangle,~~~ \forall h\in\mathcal{S}_k,~~~\mathcal{U}(h)\equiv\mathcal{U}(h,0).  \end{align} (2) Define the basis for $\mathscr{H}_p$ by \begin{align} |p,\sigma\rangle=\mathcal{U}(L(p))|k,\sigma\rangle. \end{align} (3) The action of Lorentz transformations on these states is then \begin{align} \mathcal{U}(\Lambda)|p,\sigma\rangle=\sum_{\sigma'}\mathcal{D}_{\sigma'\sigma}\big(h(\Lambda,p)\big)|\Lambda p,\sigma'\rangle  \end{align} where $h(\Lambda,p)=L^{-1}(\Lambda p)\Lambda L(p)\in \mathcal{S}_k$ is known as the Wigner rotation.  (4) Finally, we extend this action to an arbitrary state in the Hilbert space $|\Psi\rangle=\sum_{p,\sigma}\Psi_{\sigma}(p)|p,\sigma\rangle\in\mathscr{H}$ for some coefficients $\Psi_{\sigma}(p)$ by, \begin{align} \mathcal{U}(\Lambda)|\Psi\rangle&=\sum_{p,\sigma}\big[\mathcal{U}(\Lambda)\cdot\Psi\big]_{\sigma}\big( p\big)| p,\sigma\rangle,\notag\\ \text{ where } \big[\mathcal{U}(\Lambda)\cdot\Psi\big]_{\sigma}\big(p\big)&=\sum_{\sigma'}\mathcal{D}_{\sigma\sigma'}\big(h(\Lambda,\Lambda^{-1}p)\big)\Psi_{\sigma'}(\Lambda^{-1}p). \end{align}  These are my own notes which are largely influenced by Weinbergs construction, so they may be incorrect. I understand all of the steps except for one part of step 4; The part where I say $|\Psi\rangle=\sum_{p,\sigma}\Psi_{\sigma}(p)|p,\sigma\rangle\in\mathscr{H}$ for some coefficients $\Psi_{\sigma}(p)$. What are these coefficients? Are they the wavefunctions? Do they depend continuously on $p$, if so should the sum over $p$ be replaced by an integral? Should these coefficients be square-integrable; $\Psi_{\sigma}(p)\in L^2(\Sigma_m,\mu,\mathbb{C})$ where $\Sigma_m$ is the mass shell and $\mu$ a Lorentz invariant measure? Is this expansion of an arbitrary state even correct?


I am new to latex and find a bit hard to customize beamer template. Can you please explain how to add more than two sections(like the ones in the example Proportional argument systems and Argumentation systems on set constraint logic) and make it displayable.  Reference post to this question -   Thanks in advance.


How to find out why "context is incorrect"?

I have been trying to write my first addon for Blender over the last couple of days. One error I came across quite often is the context is incorrect error for an operation of bpy.ops.  I learned that one can ask the poll function of an operator if the context is correct, but this does not tell why the context is correct/incorrect. What would be the best way to figure that out? Only way I could think of is to look into the code of the poll function. If that is the best way, what is the fastest way to find the appropriate piece of code?


I was told in another language that it is bad practice to call the equivalent to quit() or exit() in Python. Rather then calling a similar function to quit() or exit() in Python that it is better to let the program end "naturally". In that the main document ends after completing any function/method calls or any condition checking, etc... Is this also true in Python or is it fine to use these functions for ending the program? Edit: I will include a link to my actual code to hopefully add some clarification, it is the bottom two function that I'm having issues with


How to update Chrome version 81 to lastest version 85 in Ubuntu 20.04

Google Chrome shows to me the notification that version 81 is out of date. I tried to update Google Chrome using this command: sudo apt-get install google-chrome-stable  or sudo apt-get --only-upgrade install google-chrome-stable  But the result is the same: google-chrome-stable is already the newest version (81.0.4044.92-1)  Then I used this decision but nothing changed:  How can I update Google Chrome? What's wrong? I do not want to uninstall and reinstall from .deb. I think there is another way


How to evaluate $\int_{0}^{\infty}\exp(-x^2-1/x^2)dx$?

Question :  $$\int_{0}^{\infty}\exp(-x^2-1/x^2)dx=?$$  I think the answer is $\sqrt{ \pi/2 \cdot \exp(-2)}$  If I change $-x^2-1/x^2$ to $-(x-1/x)^2-2$ then the above integral becomes    $$\exp(-2)\int_{0}^{\infty} \exp(-(x-1/x)^2)dx$$   integral of $\exp(-x^2)dx$ from $0$ to infinity = square root of $\pi/2$, but then is the   integral of $\exp(-(x-1/x)^2)dx$ from $0$ to infinity=integral of $\exp(-x^2)dx$ from $0$ to infinity ?


Let $R$ be a commutative ring, $A$ an ideal of $R$, and $R/A$ an integral domain. Then, as I can see in my book, $(a+A)(b+A)=ab+A=A$. But how does this multiplication exactly go? If $(a+A)(b+A)=ab + aA + Ab + A$ then where does the sum of the terms $aA+Ab$ go?  Also, why does $(a+A)(b+A)=A$ imply that $(a+A)=A$ or $(b+A)=A$?  Thank you for your clarifications.


Prefix operators are not working as expected in C

#include <stdio.h> int main() {     int a = 1;     int b = 1;     int c = a || --b;     int d = a-- && --b;     printf("a=%d, b= %d, c= %d, d= %d",a,b,c,d);     return 0; }  In th above code, I expected output to be a=0, b= -1, c= 1, d= 0 but the output was a=0, b= 0, c= 1, d= 0


I can draw what I need on SketchUp (Maker free version of 2017). It can export on STL, which is fine  for 3D printer, but now I need to feed my object into a website that only accepts .max files. I have not found any way to convert STL to .max. The closest I got is with openctm-tools on linux which can make a .3ds. Blender seems to not have export functionality to .max, so I thought you guys may have a solution on how to convert to .max stargin from a STL or other common format. Any suggestions?


How can I get to the final fight without wasting consumables?

How am I supposed to defeat three codexes and three archons, and three heavy robots without using counted ammo like grenades and not being hit? I'll need grenades and medkits it the last fight, and this is not the last fight. I can put one archon to stasis, dominate second archon, try to hack one of the heavy robots (~70%), set both of my heavies to overwatch. But obviously, it is not enough.  Update: i'm asking this question because of final mission. Enemies will respawn in the final fight, so i must conserve ammo and medkits, otherwise i will be overwhelmed by packs of codices, cryssalids, mutons, those big daddy suits etc etc.


This was experienced in a Samsung Galaxy A30s with Android 10 using Google Chrome. When a question or an answer has an edit, like , from a user that doesn't have enough reputation for it to be approved right away we see something like  Clicking in edit(1) then we'll get  In this given view it's not possible to see what's on the left side but we'll be able to scroll to the right  This happens also when the edit shows up in only one column  Didn't manage to test in other communities but I assume this to be a general behavior.


Is it possible to accompany a live animal (dog) during air travel (cargo)?

I would like to transport AVI cargo (live animal - dog) from Melbourne, Australia (MEL) to London, UK (LHR), via air travel, ideally direct.  The crate will need to be accompanied by an attendant (myself). The dog cannot travel separately (by itself) in the hold on a passenger plan or on a cargo plane.  Edit: my dog is too large/heavy to travel accompanied in the cabin, which is why I am looking at cargo airlines (and because no one can access the cargo hold during passenger airline flights).  I know it is possible for a groom/attendant to accompany animals such as horses or rare/zoo animals when they travel as freight. Does anyone know if this can be arranged for dogs? E.g. Are there any cargo (or passenger) airlines that will allow an attendant to accompany a dog travelling in a crate? (Including either companies/airlines that work directly with private individuals or through pet transport agents)  I saw on another question thread that it is possible in some circumstances for people to travel on cargo planes:  - but does anyone know which airlines allow attendants to accompany live animals? (as mentioned in the answer to the question)


Return only true predicates in Java stream

I have the following method:  public boolean isMsgOk(String msg) {...}   I want to call this method here:  public String[] returnOkMessages(String... msgs) {     return Arrays         .asList(messagessgs)         .stream(message->isMsgOk(message))         .anyMatch() ???; }   I want to return a List of Strings for which the isMsgOk method returns true. How can I collect them?


The Starbucks Rewards program has this tagline:      You look like you'd love a free drink.   Is this grammatical? I couldn't quite understand how the clause "you'd love a free drink" act like an object. Or is this a phrase which means something like:      You look like someone who would love a free drink.   ?


Prove that a subset of a separable set is itself separable

The problem statement, all variables and given/known data: Show that if $X$ is a subset of $M$ and $(M,d)$ is separable, then $(X,d)$ is separable. [This may be a little bit trickier than it looks - $E$ may be a countable dense subset of $M$ with $X\cap E = \varnothing$.]  Definitions Per our book:  A metric space $(M,d)$ is separable if there exists a countable dense $E$ contained in $M$.   $E$ contained in $M$ is dense if $\forall m\in M$, $\forall ε>0\in\mathbb R$, $\exists e\in E$ s.t. $d(m,e) < ε$   The attempt at a solution  My best attempt was doomed from the start, because I don't quite understand the hint. My thought process went as follows:  Since $X$ is a subset of $M$, $\forall x\in X, x\in M$. Thus, since $E$ is dense in $M$,  $\forall x\in X$, and ε > 0, $\exists e\in E$ st $d(x,e)<ε $.   At this point, I was done, because the set of $e$'s satisfying the above, is a subset of $E$, a countable set. So a subset of a countable set is dense in $X$, and $X$ is separable. This is incorrect, but I cannot see why.  Any help clearing up the confusion would be greatly appreciated. Thanks!  Edit: I wish I could upvote all of you for your help! I really appreciate the speedy replies and attempts to make this information clear to me.


Which RAM will suit my notebook ACER Aspire 5820tg 1333MHz or 1066MHz what CAS

I have my ACER Aspire 5820TG - 433G32Mn and want to upgrade RAM memory.  Currently it has the following components:  CPU: Intel Core i5 430M  Mainboard: Acer ZR7B   RAM (3GB): 2048MB DDR3 PC3-10700 (667MHz) Samsung M471B5673FH0-CH9  1024MB DDR3 PC3-10700 (667MHz) Elpida EBJ10UE8BDS0-DJ-F   I replaced HDD to SSD, and want to also upgrade the RAM memory (3GB is pretty low, when using for example Android Studio, etc). I have some doubts, what parameters are needed to successfully upgrade it. As I see, current (original) RAM is 1333MHz, and 7-7-7-20 (?). But on the intel site i see that it works with 800/1066. So it is probably underclocked.  Which RAM will suit me? What is important? Timings must be the same? What else?   I want to upgrade it to 6GB (leave current 2GB and buy 4GB, or buy 2x4GB, as I guess, that I can use only 2 slots)  Here are some pictures from CPU-Z:


arabic not showing when print it as JSON


Did Voldemort want to control the whole world, or just the UK?

Voldemort's plans all seemed to be focused on the wizarding world in the UK, mainly on trying to deal with Harry Potter and gain freedom.   Did Voldemort have ambitions beyond controlling the UK? If he had been successful at taking out Harry and taking over Hogwarts would he then have turned his eyes to Europe and beyond?


What units does the rotation argument expect when creating objects?

I want to create a lamp in blender using python. I want to give the lamp some rotation. As per the  I can set the initial rotation using a tuple of numbers in the function call like this rotation=(0.0, 0.0, 0.0) this is the specifc documentation for the rotation parameter:  rotation: (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object  What units is this parameter specified with? It does not seem to be in degrees or radian.  When I try with my example code here where I use rotation=(0, 1, 0) to get 1 degree on the y axis. I end up getting 57.296 degrees after running the code.  import bpy  bpy.ops.object.lamp_add(type='AREA', view_align=False, location=(0, 0, 0), rotation=(0, 1, 0), layers=(True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))


Why does this error message appear in iTunes?

iTunes won't load. Error: iTunes can’t verify the identity of the server “init.itunes.apple.com”.


How are these definitions of the limit superior and limit inferior equivalent?

I have come across these three definitions of the limit superior (or upper limit) and the limit inferior (or lower limit) of a sequence of real numbers and I wonder how to establish the equivalence of these.    Walter Rudin: PRINCIPLES OF MATHEMATICAL ANALYSIS, 3rd edition:  Definition 3.16: Given a sequence $\{s_n\}$ of real numbers, let $E$ be the set of numbers $x$ (in the extended real number system) such that $s_{n_k} \to x$ for some subsequence $\{s_{n_k}\}$. This set contains all subsequential limits ..., plus possibly the numbers $+\infty$, $-\infty$. We now ... put  $$s^{*} = \sup E,$$ $$s_{*} = \inf E.$$ The numbers $s^{*}$, $s_{*}$ are called the upper and lower limits of $\{s_n\}$; we use the notation  $$ \lim_{n \to \infty} \sup s_n = s^{*}, \, \, \, \lim_{n \to \infty} \inf s_n = s_{*}.$$ Tom M. Apostol: MATHEMATICAL ANALYSIS, 2nd edition:  Sec. 8.3: Definition 8.2: Let $\{a_n\}$ be a sequence of real numbers. Suppose there is a real number $U$ satisfying the following conditions:    i} For every $\epsilon > 0$ there exists an integer $N$ such that $n > N$ implies $$a_n < U + \epsilon.$$ ii) Given $\epsilon > 0$ and given $m > 0$, there exists an integer $n> m$ such that $$a_n > U - \epsilon.$$ Then $U$ is called the limit superior (or upper limit) of $\{a_n\}$, and we write $$U = \lim_{n \to \infty} \sup a_n.$$ Statement (i) implies that the set $\{a_1, a_2, a_3, \ldots \}$ is bounded above. If this set is not bounded above, we define $$\lim_{n\to\infty}\sup a_n = +\infty.$$ If the set is bounded above but not bounded below and if $\{a_n\}$ has no finite limit superior, then we say $\lim \sup_{n\to\infty} a_n = -\infty$. The limit inferior (or lower limit) of $\{a_n\}$ is defined as follows: $$\lim_{n\to\infty}\inf a_n = -\lim_{n\to\infty}\sup b_n,$$ where $b_n = -a_n$ for $n= 1, 2, 3, \ldots$.    Robert G. Bartle and Donald R. Sherbert: INTRODUCTION TO REAL ANALYSIS, 3rd edition: Exercises for Section 3.3: Problem 10: Let $(x_n)$ be a bounded sequence of real numbers, and for each $n\in \mathbb{N}$ let $s_n \colon= \sup \{x_k \colon k \geq n\}$ and let $t_n \colon= \inf \{x_k \colon k \geq n\}$. Prove that $(s_n)$ and $(t_n)$ are monotone and convergent. Also prove that if $\lim (s_n) = \lim (t_n)$, then $(x_n)$ is convergent. [One calls $\lim (s_n)$ the limit superior of $(x_n)$ and $\lim (t_n)$ the limit inferior of $(x_n)$.]   Now how can one show that the above three definitions are equivalent (i.e. these three definitions are of the same pair of numbers)?


mysql select distinct statement (strict version?)

I'm running: MySQL Software version: 5.5.25 - Source distribution  I have a table like this:  Region | City ----------------- quebec | montreal _________________ quebec | montréal   The cities are written "montreal" and "montréal" with a french accent.  When I do 'select distinct City from table where Region="quebec"' it returns only  montreal   How do I get it to return both versions of montreal (with and without é)?   montreal montréal   In other words how do I get sql to return both french and english spelling of the same word?


Select list field type as sorting order criteria

I have a view which uses a custom field called article type as it's sorting criteria to sort articles. This article type field, has the following options:  0Editorials|Editorial 2Feature|Feature 5Spotlight|Spotlight 6Special|Portraits 3Perspective|Perspective 8Research in Translation|Research in Translation 7Columns|Column 4Interviews|Interview 1PhotoEssay|Photo Essay 0Introduction|Special   The reason I have a number preceding the text in every option is so that, when I use this field as a sort criteria and choose the order as ascending, Views actually looks for the key text and arranges the results in that order (0 to 8 in this case).  Now, I want to achieve this same order without having to tamper with the key|value pairs like I have done. I have heard of Draggable Views, but I'm not sure that solves the issue here, since this view takes a contextual filter value and the results are always dynamic based on the filter value that is passed to it from the URL.  So is there another way to use a select list's options as a sorting criteria, but in an order that we want it to be in?


I want to post my question as community wiki. How can I do that?

I can't find the option to post a question in community wiki mode. How am I supposed to do that?


Finding out if a number is rational or irrational.

How does one find out if a given number is a rational number or irrational number?


Expected number of turns for a rook to move to top right-most corner?

Suppose a rook starts on the lower left-most square of a standard $8 \times 8$ chess board. The board contains no other pieces.  The rook randomly makes a legal chess move with every turn (directly vertical or horizontal). The rook cannot remain stationary during a turn. What is the expected number of moves for the rook to land on the upper right-most square?  I understand the rook has 14 possible moves for every turn. The problem seems to fit the concept of Markov chains, as the probability distribution of any given move does not depend on the previous. However, I do not understand how to approach this calculation.


Queries about transferring money from India to USA when immigrating

We are immigrating to the USA in a few months. I need to transfer the sales proceeds of my Indian property to the USA, some months after immigrating.  I also have a healthy mutual fund portfolio, in India, that I intent to maintain as is. I plan to transfer it's dividends and / or sales proceeds to the USA as and when I need.  I have a few queries.   How much money can be transferred from India into the USA? (The money that I intend to transfer is going to be tax paid, legal, bank balance in India.) As a green holder residing and filing tax returns in the USA, what kind of tax implications can I expect in the USA, on such transfers?


How canonical is information appearing on main starwars.com pages?

We (SFF.SE) sometimes use information from starwars.com site to answer questions.  As a random (well, latest) example, the article on .  This looks like "legitimate" source to me, since I assume that starwars.com is owned by Lucas Empire.  But I never actually ran into explicit confirmation on the canonical status of the facts cited in such pages.  Is there official confirmation of the canonicity (and canon level) of facts from starwars.com?   (I'm talking about "official" pages like Encyclopedia above, not random forums on the same domain).    To elaborate, what I am trying to ascertain is which of the following 3 situations is true:   starwars.com (encyclopedia) ONLY lists facts that are 100% taken from existing canon, with no guesses or additional wording that is not from canon. starwars.com (encyclopedia) may list some facts that don't come from existing canon, but any such new fact becomes canon (of level ???) as soon as it's stated on starwars.com, assuming it doesn't contradict existing canon Some of the explanations on starwars.com may include facts/wording that are merely someone's attempt to explain what we see in canon, but are in and out of themselves NOT canonical facts.  This last one is how Wookieepedia works. It does list facts from canon... but it ALSO lists facts that are made up by individual fans to explain small snippets seen in canon (but that include details NOT sourced from canon sources).  this is especially prevalent in G and T canon, where you have a visual from a movie/TV that doesn't contain great level of textual explanation attached to it, and therefore a Wikia article would build a narrative "explaining" the visual.


Prove $f(x) = \sqrt x$ is uniformly continuous on $[0,\infty)$

I have seen a proof in   Below shows an alternative proof. Please correct me if im wrong.  Proof:  For any given $\varepsilon >0$,  Let $\delta_1 = \frac{\varepsilon}{2}$, $\forall x,y \in [1,\infty)$ with $|x-y|<\delta_1$  Since $|\sqrt x + \sqrt y|\geq2$  $$|\sqrt x - \sqrt y|  = \frac{|x-y|}{|\sqrt x+\sqrt y|} < |x-y| < \delta_1 = \frac{\varepsilon}{2}$$  Hence, $\sqrt x$ is uniformly continuous on $[1,\infty)$.  $\sqrt x$ is continuous on [0,1] , so $\sqrt x$ is uniformly continuous on [0,1].  So, there exist $\delta_2 > 0$ such that $\forall x,y \in [0,1], |x-y|<\delta_2$, $|\sqrt x -\sqrt y| <\frac{\varepsilon}{2}$  Let $\delta = \min{(\delta_1,\delta_2)}$  $\forall x,y \in [0,\infty)$ with $|x-y|<\delta$,  Case 1: $x,y \in [0,1]$ Proven above as $|x-y| < \frac{\varepsilon}{2} < \varepsilon$  Case 2: $x,y \in [1,\infty)$ Proven above as $|x-y| < \frac{\varepsilon}{2} < \varepsilon$  Case 3: $x \in [0,1] , y \in [1,\infty]$  $$|\sqrt x-\sqrt y| = |\sqrt x -1+1-\sqrt y| \leq |\sqrt x-1| + |\sqrt y -1| < \frac{\varepsilon}{2} + \frac{\varepsilon}{2}= \varepsilon$$  by applying case 1 and case 2.


How to use two audio devices simultaneously with Windows 7?

I have an audio connector on board (Asus P8H67-I) and an USB audio card (Teufel). How can I use the two devices simultaneously?  As far as I can see I have to set one device to the standard output device. I am looking for a way to set both to the standard output device in order to hear on both the same sound.  Any ideas?


My bike for 2 days started to squeal whenever I use my back brakes it has been really annoying and I am trying to fix it. Please give me any suggestion that can help this problem


echo './2d41d907b7cb558db6f3ca49e992ad8/rendering/02.png' | xargs -I {} cp {} `echo {} | sed s'/\///g' `   This gives me an error saying   cp: './2d41d907b7cb558db6f3ca49e992ad8/rendering/02.png' and './2d41d907b7cb558db6f3ca49e992ad8/rendering/02.png' are the same file   It is as if the sed is not working..  I ultimately want to do something like this   find . -name "*.png" | xargs -I {} cp {} ../`echo {} | sed s'/\///g' `   without using for loop or exec.


How to view Java-provided classes in Eclipse

How can I see for example the content(raw Java code) of DefaultTableModel.class in Eclipse? It says Source not Found and I tried to set it to a downloaded javadocs folder but it is still not showing. How do I attach a source and where can I find one?


Windows Defender reports Win64/Longage Trojan malware in Ubuntu 18.04.3 live server

Windows Defender 8 Dec 2019 reports Win64/Longage severe Trojan malware in Ubuntu 18.04.3 live server, file:   ubuntu-18.04.3-live-server-amd64.iso-> pool\main\l\linux\linux-modules-4.15.0-55-generic_4.15.0-55.60_amd64.deb->data.tar.xz->(xz)-> ./lib/modules/4.15.0-55-generic/kernel/drivers/md/raid456.ko


I just flagged  as off topic.  I flagged it with the following reason, but I don't think this was quite the right reason for this question:     Questions concerning problems with code you've written must describe   the specific problem — and include valid code to reproduce it — in the   question itself. See SSCCE.org for guidance.   I'm pretty sure that reason doesn't make sense for that question, but since that question is way off topic, I don't know what reason I should have used. What reason should be used for way off topic questions?


How should I go about finding a guild in WoW?

What strategies do you use to find the right guild for you in World of Warcraft? Forums? Trade chat? Should I be willing to realm transfer?


In John Michael McDonagh's wonderful philosophical black comedy , a good priest receives a death threat during a confessional giving him a week to sort out his affairs.   During the course of the week there are a lot of encounters between the priest and his parishioners, many acting as red herrings to distract the audience form the identity of the potential killer. Several threatening acts also take place: the church is burned and the priest's dog is killed.   But in the final encounter between the priest and the mystery antagonist (I'm not saying who to avoid spoilers) the antagonist admits burning the church but claims not to have killed the priest's dog.  Are they lying? Or is there a good reason that someone else might have killed the dog?


How to install Windows 7 after Ubuntu and dual boot?

I just installed Ubuntu, a full install removing the prior OS. I was forced to remove  from my  because of the max four partitions already being there. I didn't lose anything, all backed up. However, now I am looking to create another partition and install Windows 7 on it.   Do I also need some sort of boot loader that lets me choose which to boot?


Is there a noticeable difference between 1.8 and 1.4 prime lenses?

I have been shopping around for a prime lens for my Nikon D50. I noticed that the 1.8 is hundreds of dollars cheaper than the 1.4 AF-S. What will I gain for that cost difference? Is it really noticeable?


I'd love to install Ubuntu as a standard standalone on my ipad, is there any way to do so?


Why is GLM different than an LM with transformed variable

As explained in , a linear model can be written in the form:  $$ y = \beta_1 x_{1} + \cdots + \beta_p x_{p} + \varepsilon_i,$$  where $y$ is the response variable and  $x_{i}$ is the $i^{th}$ explanatory variable.  Often with the goal of meeting test assumptions, one can transform the response variable. For example we apply the log function on each $y_i$. Transforming a response variable does NOT equate to doing a GLM.  A GLM can be written in the following form (from the )  $$ g(u) = \beta_1 x_{1} + \cdots + \beta_p x_{p} + \varepsilon_i,$$  where $u$ is just another symbol for $y$ as I understand from page 2 in the course handout. $g()$ is called the link function.  I don't really understand the difference between a GLM and LM with transformed variable from the slides in the course. Can you help me with that?


Remove the comma between family name and given name

I'm using biblatex with biber in the numeric-comp style. I'm calling biblatex as follows:  \usepackage[sorting=none,style=numeric-comp,giveninits=true,terseinits=true]{biblatex}     \DeclareNameAlias{default}{family-given}   With this I get almost what I want. But I would like to remove the comma between the family name and the initials. Can you help me with that?  Edit: I know how this works with the old version "last-first" and I would like to do the same with the newer "family-given".  Thanks in advance!


Python3: How to make dictionary from list using 'dict' and 'zip'?

I'm learning Python3. I can't solve a problem... Please help me. I could input 2 different strings(One is consisted with string another is consisted with float). I'd like to make a dictionary from 2 different lists. I made first one for key, another is for value.  input1 = list(map(str, input().split())) input2 = list(map(float, input().split()))  # output = dict(zip(input1), (input2)) output = dict((input1, input2) for (input1[i], input2[i]) in range(0, len(input2))) print(output)   Don't care too much that comment(#) I found a post may help my probelm from stack overflow.   I did my best but I coudn't solve this...(New one below # comment, It is what I tried to reading that post)  Thanks to read my question!


Is there a good way to check if a file locked other than attempting to open in as a text reader and looking for an exception?  I guess I could do this:  try {     stream = file.Open(FileMode.Open, FileAccess.Read, FileShare.None); } catch (IOException) {     .... }   Is there a better way?


What's the difference between a temp table and table variable in SQL Server?

In SQL Server 2005, we can create temp tables one of two ways:  declare @tmp table (Col1 int, Col2 int);   or  create table #tmp (Col1 int, Col2 int);   What are the differences between these two?  I have read conflicting opinions on whether @tmp still uses tempdb, or if everything happens in memory.    In which scenarios does one out-perform the other?


How do I read manga with multiple panels?

Taking this double-page spread for example. There are total of 8 panels, but it's divided into three different segments from the top to the bottom.  I've tried reading from the top-right, to the bottom-right, then starting with the next pane downwards. I know Japanese manga is read right-to-left, and I'm having some trouble reading this particular part.  As a rule of thumb, how do I properly read manga with multiple panels like this?


I have 100 names no passwords and i have to create accounts for them under directory /home/top100  how do I do this? Because using useradd 100 times does not sound fun, and even if i did, I have no clue how o make the accounts appear under /home/top100/ directory.


Proving $\frac{1}{n+1} + \frac{1}{n+2}+\cdots+\frac{1}{2n} > \frac{13}{24}$ for $n>1,n\in\Bbb N$ by Induction

Proving $\frac{1}{n+1} + \frac{1}{n+2}+\cdots+\frac{1}{2n} > \frac{13}{24}$ for $n>1,n\in\Bbb N$  To solve it I used induction but it is leading me nowhere my attempt was as follows:  Lets assume the inequality is true for $n = k$ then we need to prove that it is true for $k+1$  so we need to prove $\frac1{k+2} + \frac1{k+3}+\cdots+\frac1{2(k+1)} > 13/24$  I don't know where to go from here please help.


How can a ML algorithm learn to classify fake news?

I am new in Machine learning techniques and in fake news detection by using these algorithms (SVM, nn, logistic regression,..). I would like to understand how an algorithm can learn from a training set which include news and fake news, what it will be necessary to have (target), what type of information can be relevant for a good analysis and learning ... I read many papers and most of them do not mention the type of news used, the criteria for building the classifiers, but they only show the results of the prediction when a new news is generated. This could be perfectly fine, but it could be also easily to say: I got this amazing results!, without understanding how these results were got. I would appreciate if you could show me an example of how an algorithm can learn from text (not necessarily news, but also tweets, or something else would be fine). Following discussion with Erwan: one of his previous answer partially has answered my question. However I would like to understand the following. One needs to have a corpus, then label news/tweets in fake/not fake, then run the model. But how the algorithm works on texts and takes relevant words or features for detecting fake news? So my question is: If I have a corpus on Trump, would the algorithm be able to detect fake news on Vitamin C, without any words (verb, adj, noun,..) in common between the two dataset, except stopwords?


How to determine how much time a command takes to finish?

I am writing a shell script in abc.sh  echo $(date) openssl aes-256-cbc -a -salt -in abc.zip -out abc.zip.enc  echo $(date)   It is showing the time at both start and end of the process, but I want the exact amount of time taken to complete such process.


How would we solve $x^2 = 2^x$ mathematically rather than logically?

We have the equation in $x$: $$x^2 = 2^x$$  We know that, by logic, if we equate the bases and the powers separately, we get $x=2$ in both the cases and thus we conclude that $2$ is the root of the equation.  But what if we don't apply that logic. Is their a mathematical way we can get the same result? Using mathematical steps instead of intuition and logic?


how to pass multiple files to zip for zipping

Say I have a list of files a.txt, b.txt, c.txt, is it possible to pass it to zip command as arguments and make it zip it in one file say a.zip?


We all know that the pendulum is isochronic, i.e. that it takes the same time regardless of the amplitude is this is less than 20 degrees.  But how do we prove it mathematically? What happens when the amplitude grows that breaks this law?  I am not looking for the intuition, but the math behind it, and I would like to see explicitly how larger amplitudes break the isochronicity, so this is different from the other questions.


I am struggling with how to get a PRXCHANGE statement to evaluate the way I would like it to. I want to remove text that is in between a tagset. While it works fine when there is only one occurrence of the pattern, it does not return what I want when there is multiple occurrences of the pattern, and I believe it has to do with my use of '.*'.  Here are some example strings and my current regex:  data test; in = 'keep text 1 <TAG> drop text 1 </TAG> keep text 2 <TAG> drop text 2 </TAG> keep text 3'; output; in = 'This one works! <TAG> drop text 1 </TAG>'; output; in = '<TAG> drop text 1 </TAG> This one works as well'; output; in = 'This one works fine too! <TAG> drop text 1 </TAG> This works just dandy'; output; run;    data test;   set test; out = prxchange("s/<TAG>.*<\/TAG>//i", -1, in); run;   This results in the following strings:  keep text 1  keep text 3 This one works! This one works as well This one works fine too!  This works just dandy   The first string, "keep text 1  keep text 3" is the problematic result. What I am trying to get back is:  keep text 1 keep text 2 keep text 3   I believe the issue has to do with the '.*' component causing the entire string to be consumed and then it backtracks to look for the rest of the pattern, but in this string there is two instances of the pattern but the regex doesn't see it that way. Unfortunately, the text in between could be anything: it could be a single word or a paragraph so I cannot assume anything about what is in the middle, just what is at the start and the end.


What is the relationship between the function $\mathbb{E}(Y \mid X = x)$ and linear regression?

Consider the  function     $$ r(x) = \mathbb{E}(Y \mid X = x) $$   This has been called the regression function in a textbook I'm using. I'm trying to figure out the relationship between this function and the classical linear regression model.  So, I know that it is a theorem* that we may write  $$ Y = r(X) + \epsilon $$  for some random variable $\epsilon$ s.t. $\mathbb{E}(\epsilon) = 0$.  Now suppose that we have     $$ Y = \beta_0 + \beta_1 X + \epsilon $$   This is the classical 1-dimensional regression function (assuming the $\beta_0$ and $\beta_1$ minimize the residual sum of squares).  Question: Is it then a mathematical theorem that if $Y$ is defined as above, that   $$ r(X) = \mathbb{E}(Y \mid X) = (\beta_0 + \beta_1 X)? $$  And is this why the function $\mathbb{E}(Y \mid X)$ is called the "regression function"?  EDIT: The theorem that I am making use of is as follows (from All of Statistics pg. 89):     Regression models are sometimes written as      $$ Y = r(X) + \epsilon $$      where $\mathbb{E}(\epsilon) = 0$. We can always rewrite a regression model this way. To see this, define $\epsilon = Y - r(X)$ and hence $Y = Y + r(X) - r(X) = r(X) + \epsilon$. Moreover, $\mathbb{E}(\epsilon) = \mathbb{E}\mathbb{E}(\epsilon \mid X) = \mathbb{E}(\mathbb{E}(Y - r(X)) \mid X) = \mathbb{E}(\mathbb{E} ( Y \mid X) - r(X)) = \mathbb{E}(r(X) - r(X)) = 0$.


Name for matrices with orthogonal (not necessarily orthonormal) rows

Is there a name for a matrix whose rows (or columns) are non-zero orthogonal vectors ?  It seems to me that "orthogonal matrix" would be a good name, but this is already taken -- it refers to a matrix whose rows (or columns) form an orthonormal set of vectors.


Why can't I install Latex in ubuntu12.04?

When I run $ sudo apt-get install texlive-latex-base it showed the following error.   Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   libgraphite3 libkpathsea6 libptexenc1 libreadline5 libruby1.8 lmodern luatex   ruby ruby1.8 tex-common texlive-base texlive-binaries texlive-common   texlive-doc-base texlive-latex-base-doc texlive-luatex Suggested packages:   ri ruby-dev ruby1.8-examples ri1.8 perl-tk The following NEW packages will be installed:   libgraphite3 libkpathsea6 libptexenc1 libreadline5 libruby1.8 lmodern luatex   ruby ruby1.8 tex-common texlive-base texlive-binaries texlive-common   texlive-doc-base texlive-latex-base texlive-latex-base-doc texlive-luatex 0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded. Need to get 35.0 MB/102 MB of archives. After this operation, 201 MB of additional disk space will be used. Do you want to continue [Y/n]? Y Err http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/ precise/main lmodern all 2.004.1-5~precise1 Connection failed Err http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/ precise/main texlive-binaries i386 2012.20120628-1~ubuntu12.04.1 Connection failed Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/pool/main/l/lmodern/lmodern_2.004.1-5~precise1_all.deb  Connection failed Failed to fetch http://ppa.launchpad.net/texlive-backports/ppa/ubuntu/pool/main/t/texlive-bin/texlive-binaries_2012.20120628-1~ubuntu12.04.1_i386.deb  Connection failed E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   I also tried $ sudo apt-get install --fix-missing texlive-latex-base which showed the error  naveen@naveen-Inspiron-3521:~$ sudo apt-get install --fix-missing texlive-latex-base [sudo] password for naveen:  Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: lmodern luatex tex-common texlive-base texlive-binaries texlive-common texlive-doc-base texlive-latex-base-doc texlive-luatex Suggested packages: perl-tk The following NEW packages will be installed: lmodern luatex tex-common texlive-base texlive-binaries texlive-common texlive-doc-base texlive-latex-base texlive-latex-base-doc texlive-luatex 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 48.2 MB/87.6 MB of archives. After this operation, 169 MB of additional disk space will be used. Do you want to continue [Y/n]? y Err http://archive.ubuntu.com/ubuntu/ precise/main texlive-binaries i386 2009-11ubuntu2 Connection failed [IP: 91.189.92.201 80] Err http://archive.ubuntu.com/ubuntu/ precise/main texlive-latex-base-doc all 2009-15 Connection failed [IP: 91.189.91.13 80] Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/t/texlive-bin/texlive-binaries_2009-11ubuntu2_i386.deb  Connection failed [IP: 91.189.92.201 80] Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/t/texlive-base/texlive-latex-base-doc_2009-15_all.deb  Connection failed [IP: 91.189.91.13 80] Unable to correct missing packages.      E: Aborting install.   How can I get rid of this problem?


How to change the camera from Landscape to Portrait

I need a way to render a picture that is longer heighth-wise than width-wise. Changing the scale of the camera does nothing. I've been told to look in the scene focus settings, and I didn't see anything. Is there a way to change the shape of the rendered image?


Why do Stack Exchange sites seem to always forget my login?

It seems that all Stack Exchange sites do seem to be affected by a UX killing behaviour: it seems that every day you have to login again on each of them; they never remember your login.  For someone that is visiting these sites daily and a contributing a LOT, this is extremely annoying.  Is this so hard to implement? I don't remember when I had to re-login on Google or Facebook, still Stack Exchange keeps asking me to login all the time.  Affecting at least: stackoverflow.com, surperuser.com, serverfault.com, apple.stackexchenge.com, ask.ubuntu.com, ...  I tried logging in with all of these three variants, but it seems that there is no much difference between them: direct login, Google and Facebook.


Copy text from Midnight Commander editor

In the past I succeeded to change the settings of mc in a way that I was able to copy and paste text from the internal editor (mcedit, entered with F4) by marking the text with the mouse like in the console or in nano and pasting it with right-click. How to set this up?


Create an Ubuntu Server bootable USB doesn't work

These instructions () doesn't work for Ubuntu Server iso. Doing dd if=ubuntuserver.iso of=/dev/sdb doesn't work either. In both situations, after the Ubuntu Server installer boots correctly, it says it hasn't found any CD drive and stops.  I've a USB stick where I've put the content of Ubuntu Server iso on it. I've configured Syslinux (with no APPEND parameter) pointing to vmlinuz+initrd present in "install" folder. The installer boots correctly but it hangs with an error saying it doesn't find the CD-ROM.  If I replace the vmlinuz+initrd with the "hd-media" ones (available ) I get another error: installer can't find any iso file anywhere (which is logical because I don't have any iso, I have the expanded tree on sdb1).  So I can't boot Ubuntu Server 16.04 from a USB stick.


Can I install Ubuntu in a USB stick and run it as my learning machine? Will it run as a normal Ubuntu without difference?

I am using Windows 10, and hasn't got not enough SSD storage. So, I decide to install Ubuntu in a 32 GB USB stick (made by tf card and reader ).  I will not just try Ubuntu, but will use it everyday, and will install Python, VS Code, PyCharm, etc... Hope to learn coding with this USB stick. Will it work perfectly?


My Ubuntu version is 20.04. My notebook is connected a monitor with HDMI(multiple monitors). I've connected my Bluetooth speaker, because my monitor sound is not good, and I tried to change Output Device to my Bluetooth speaker.  But it doesn't work. I still get the sound from the monitor. Even if I change the output device to something else, the sounds keeps coming out of my monitor. When I disconnect HDMI, it works well. What thing I have to check?


Access is denied error, when I mklink on Windows 7

My home directory is c:\Users\phi as a user phi, and I made a directory at c:\Users\abc. I need to symbolic link from c:\Users\phi\hello to c:\Users\abc\hello.   I run the following command    mklink c:\Users\abc\hello c:\Users\phi\hello   But I get the Access is denied error. User phi is Administrator, so I have no problem writing files in c:\Users\abc.   Why is this? How to mklink?


I played Deus Ex: Human Revolution (Director's Cut) for 43 hours and I have a total of 4 card drops. How can I earn rest of these cards. Also, I'm new to steam.


I am using C# & VS2013 and VSTO.  My code executes to perfection, but the one issue I have is that when I go to Task Manager and look at Details, Excel is still showing as running even after, I feel like I have properly cleaned up.  This is the syntax I use to cleanup and close all references to Excel.  Just the references to Excel & VSTO, I left out the meat and gravy that does the leg work or this post would be to long.  Do I have something set-up improperly?  Why does Excel still show up in Task Manager?  namespace ReleaseExcel {   public partial class Form12 : Form12   {     public static Excel.Worksheet newSeet;     public static Excel._Worksheet currentsheet;     public static Excel._Workbook oWB;     public static Excel.Application xlApp;     public static Excel.Workbook xlWorkBook;     public static Excel.Worksheet xlWorkSheet;     public static Excel.Workbook activeworkbook;      public Form1()     {       InitializeComponents();     }     private void DoThis()     {         //Showing Declerations to Excel         xlApp = new Excel.Application();         xlWorkBook = xlApp.Workbooks.Add(misValue);         xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);          //Do some more stuff here          //Showing a few more Declerations to Excel         currentsheet = (Excel._Worksheet)(xlWorkBook.ActiveSheet);         Excel.Range last = currentsheet.Cells.SpecialCells(Excel.XlCellType.xlCellTypeLastCell, Type.Missing);          //Do a bit more stuff         ClearExcel();         while (System.Runtime.InteropServices.Marshal.ReleaseComObject(xlWorkSheet) != 0) { }         while (System.Runtime.InteropServices.Marshal.ReleaseComObject(currentsheet) != 0) { }         while (System.Runtime.InteropServices.Marshal.ReleaseComObject(xlWorkBook) != 0) { }         while (System.Runtime.InteropServices.Marshal.ReleaseComObject(xlApp) != 0) { }     }     private static void ClearExcel()     {         GC.Collect();         GC.WaitForPendingFinalizers();     }         } }   EDIT I added in GC.Collect() & GC.WaitForPendingFinalizers() but now my syntax hangs on   while (System.Runtime.InteropServices.Marshal.ReleaseComObject(xlWorkBook) != 0) { }   It has been sitting on this line for about 5 minutes now, what causes the freeze?  EDIT # 2 Still no such luck.  This is code  namespace ReleaseExcel {    public partial class Form12 : Form12   {     public static Excel.Worksheet newSeet;     public static Excel._Worksheet currentsheet;     public static Excel._Workbook oWB;     public static Excel.Application xlApp;     public static Excel.Workbook xlWorkBook;     public static Excel.Worksheet xlWorkSheet;     public static Excel.Workbook activeworkbook;      public Form1()     {       InitializeComponents();     }      public void btnPush_Click(object sender, EventArgs e)     {         DoThis();         GC.Collect();         GC.WaitForPendingFinalizers();     }     private void DoThis()     {       //Showing Declerations to Excel       xlApp = new Excel.Application();       xlWorkBook = xlApp.Workbooks.Add(misValue);       xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);        //Do some more stuff here        //Showing a few more Declerations to Excel       currentsheet = (Excel._Worksheet)(xlWorkBook.ActiveSheet);       Excel.Range last = currentsheet.Cells.SpecialCells(Excel.XlCellType.xlCellTypeLastCell, Type.Missing);      }   } }


Looking to try and fade out an image in illustrator using the blend tool.  At first, I tried blending 2 clipping groups, but I knew that wasn't going to work.  Then I tried blending just the linked image, but that wasn't working either.  Is there anyway to blend a clipping mask so that an image can fade out on the edges?


How would I go about recovering access to my TrueCrypt Volume?

I forgot my password of a TrueCrypt file I used a few years ago.  How would I go about 'cracking' it? I'm not sure if there is a way to attack it or if it can only be done by brute-force. I used it on a Mac. I still have the Mac I used it on, but of course turned that off many times since I used it.   I have a passphrase that I thought would relate to this file. Maybe I used some variant of it. But might be something completely different. I have some other words that I might have used, but would need give it another thought how I could have used those.  Is there an automated way to test variations on what I think the passphrase was to regain access to the volume? Is there any other way I might regain access?


How can I simulate transactions in REST?  I have just developed the back-end with Jersey, Spring, Spring Data for data access, which connects to a MySQL DB. My goal is to show(like a test) that it can handle database transactions, but can't imagine how to do it.


Is Fourier transform a human made tool or an act of nature?

I am a PhD students in physics, and my father is a Math researcher. One time, I asked him "Doesn't the fact that we can use math to explain things that happen in front of us, tell us that math is not a human invention but rather a discovery?" My father said that in his opinion, no - we were just able to find a very useful language to describe physical phenomena. But then, I learned about Fraunhoffer diffraction, which tells us that if a light wave passes through a slit of a given shape, on a screen really far away from the slit we actually see the Fourier transform of the slit! I was mind blown. I then went to my father and told him, "look! nature does Fourier transform, so Fourier transform cannot be man made!". He disagreed, and stated the same thing he told me before. Does my statement make sense? Can we say, based on Fraunhoffer diffraction, that Fourier transform is an act of nature rather than a human invention?


Windows 8.1 default (system) lock screen customization

Recently, I've reinstalled Windows on my laptop, upgrading it from Windows 7 to Windows 8.1. Now, I want to change the theme (or at least, wallpaper) which is shown on the screen before any user logs in. (Note: not the user lock screen, but the one which appears upon clean reboot - systemwide)  I don't want it to be a custom image, just another one from standard. Is there a way to do it without group policy or much tinkering with the registry? I've used one of the tricks to move User folder from system SSD drive to secondary HDD on the PC, and the result was that I couldn't upgrade to Windows 8.1. So I want to know if there is any more-or-less native way.  NOTE: this is not a duplicate of the question shown below, because my question refers to systemwide locking screen and not the user custom one. As you may guess, there's only one systemwide image per computer, but multiple user custom ones.


What is the meaning of "build off of"? I Googled it, but can't find any definition!  I encountered it in the sentence in a technical book. The sentence is:     For the application we will build, the todos example is the closest   fit, so we'll go ahead and build off of that example.   There is a link related to it I found by Google, But it didn't give the definition!


Why only 35 of 758 links are indexed by Google in my sitemap.xml

In the Google Webmasters Tool, there is a sitemap indexing status page:  There are 758 pages in my submitted sitemap.xml file, why only 35 of them are indexed? Is there any place that I can check the reason?  I have a homepage and a lot of subpages (those in the sitemap.xml). Home page is linking to those subpages. But they are not linking back (to home page). And those subpages are not inter-linked. I don't know whether that could be a possible reason.


I'm getting a new computer with Ryzen 3900 as processor and Gygabyte X570 UD as the motherboard. I'd like to install Ubuntu. I tried to check for the presence of any compatibility issues and so far I did not find any, but I m still not sure of that. Any advice or recommendation? Thanks for any help!


Area 51 login is borked with SE openID ("unable to login with your openID provider")

When I attempt to login to Area 51 with my normal credentials (a Stack Exchange openID) I get this error:


What is the right way of using ''until''?

Closed until Monday means, it will open at Monday.  But I contract with them until Dec 31st means the contract is valid at 31st...  Why is that?  Also, regarding Closed until Dec 31st:    Is this option not as clear as using the day of the week? Would it be clearer to say, 'Closing until end of Dec 31st'? (If I want to include that date) Would using the day of the week after make it more clear than using just the date?


What is the difference between align and equation environment when I only want to display one line of equation?

I am typesetting a physics document, and sometimes I need to type equations of several lines while in most cases I only need to type one-line formula. So is it OK if I always use align environment instead of switching between align and equation What are their differences?


Showing group with $p^2$ elements is Abelian

I have a group $G$ with $p^2$ elements, where $p$ is a prime number. Some (potentially) useful preliminary information I have is that there are exactly $p+1$ subgroups with $p$ elements, and with that I was able to show $G$ has a normal subgroup $N$ with $p$ elements.   My problem is showing that $G$ is abelian, and I would be glad if someone could show me how.   I had two potential approaches in mind and I would prefer if one of these were used (especially the second one).   First: The center $Z(G)$ is a normal subgroup of $G$ so by Langrange's theorem, if $Z(G)$ has anything other than the identity, it's size is either $p$ or $p^2$. If $p^2$ then $Z(G)=G$ and we are done. If $Z(G)=p$ then the quotient group of $G$ factored out by $Z(G)$ has $p$ elements, so it is cylic and I can prove from there that this implies $G$ is abelian. So can we show theres something other than the identity in the center of $G$?  Second: I list out the elements of some other subgroup $H$ with $p$ elements such that the intersection of $H$ and $N$ is only the identity (if any more, due to prime order the intersected elements would generate the entire subgroups). Let $N$ be generated by $a$ and $H$ be generated by $b$. We can show $NK= G$, i.e every element in G can be wrriten like $a^k b^l $. So for this method, we just need to show $ab=ba$ (remember, these are not general elements in the set, but the generators of $N$ and $H$).   Do any of these methods seem viable? I understand one can give very strong theorems using Sylow theorems and related facts, but I am looking for an elementary solution (no Sylow theorems, facts about p-groups, centrailzers) but definitions of centres and normalizers is fine.


Can de Broglie Waves have frequency, just because we know de Broglie wavelength formula?

Sub-question if Yes: de Broglie wave is also often called the matter-wave. While we can find the frequency of an Electromagnetic Radiation from its wavelength $(c=\nu\lambda)$. $c$, in this case, is the speed of light in the vacuum which is a constant. Does a similar constant exist for matter that can be substituted? (I don't think so.) Sub-question if No: Electromagnetic radiations display wave-duality nature. Are the wavelengths of their wave and de Broglie the same thing? Wouldn't that mean there exists frequency for wave?


Since "amn't I" is so clunky, is "aren't I" grammatically correct?  Or is the only way to say this "Am I not"?


Show that $A_n$ is the kernel of a group homomorphism of $S_n \rightarrow \{−1,1\}$.

I know that the kernel is always normal but how to prove or show that $A_n$ is the kernel?


Corollary C is derived from $E_(x) = \frac{f''(x)}{2} \cdot (x-a)^2$  I'm having serious issues understanding this problem and I'm just not getting it right. I'm preparing for a test so this isn't really 'homework' so you can give as hard hints as you want. Thanks!


Problem_     Find the value of   $$\sum_{n=0}^\infty \frac{1}{n!(n^4+n^2+1)}$$   It was quite difficult for me to deal with the given series because of the factorial in the denominator. For the series of factorial, I know the fact that: $$\sum_{n=0}^\infty{x^n\over n!}=e^x$$ Can we change the form of this series similar to(or exactly as same as) the given series?  When I segregate the series into partial sums,  $$\sum_{n=0}^\infty \frac{1}{n!(n^4+n^2+1)}=\sum_{n=0}^\infty{1\over n!}{1\over2n}\left({1\over n^2-n+1}-{1\over n^2+n+1}\right)\\={1\over2}\sum_{n=0}^\infty{1\over (n+1)!-n!}\left({1\over n^2-n+1}-{1\over n^2+n+1}\right)$$  However, the terms are not eliminated by other terms, so I think it is not a right way. Besides, Riemann Sum did not give any any clues to solve. Is there other way to have the value of the series? If so, please teach me! Thanks.


I use Virtualbox. Instead of clicking on the button of the name of the virtual machine to run it, I want a shell script that can run a Windows XP virtual machine hosted on Ubuntu machine. Can someone help me please ?


In Not Enough Items mod, when I click on a item: with recipe it shows the recipe. If the item does not have a recipe it does nothing. When I try to drag items into my inventory nothing happens.   I have gone into notepad and set lockmode=1 and cheatmode=2 but it is already there. I am in the global setting on cheat mode. What else can I do? I just wanted to cheat in spanwers for a creative world. Is there a solution to this problem or a way to get vanilla/modded spawners?


I know this question has been asked a thousand times, but I'm really trying to work out how to get the best out of Git when working with WordPress.  I've scoured the web and read dozens of articles, all that seem to cover the topic briefly. Here's a few of the most notable one's I've read recently.        Currently, my workflow looks like this.   Install WordPress locally Develop Theme Export WordPress Databases from local server Import WordPress Database to remote server Upload WordPress files and theme via FTP Client makes changes Download WordPress files and theme via FTP and export WordPress Databases from remote server Replace files locally Make development changes Re-upload via FTP, export and import database to remote server   I realise Git can streamline this process. It seems the best way to do this is to have a .gitignore file that ignores certain directories that don't need to be tracked, as well as having both a local and remote wp-config.php file.  But how do you handle the databases? Clients will usually make changes (posts/pages/plugins). Do I still need to export from the remote database and import back on my local server?  Can someone suggest the best workflow for me here? And walk me through the steps.  Also, I'd probably like to use Bitbucket as private repos with them are free, unlike GitHub.  Any help would be appreciated.  Thanks in advance!


How can I get out of an answer ban - FAQ inadequate

This  (and connected links) give good advice on the sorts of things to do.  But they do not say what the criteria for lifting of an answer ban is.  I'm assuming there is some algorithm involving rep, time maybe, maybe certain activities?   It also doesn't say whether one is notified or one just has to use trial and error.  I have no idea of the effort involved in getting ban lifted and whether it is worth while or not.


Is squared Euclidean distance a metric? In particular does it obey triangle inequality? I think no, but cannot find a counterexample.  Edit: Does this (not obeying the triangle rule) happen only when one of the points resides on the line segment made by the two other points?


Do not be tired I have a language and keyboard problem I wanted to tell you how I can change win + space to shift + ctrl? My Ubuntu is 20.04


Why is the flight from US cities to Vietnam cheaper than from Vietnam to a US city?

I'm looking for the cheapest round-trip ticket from Ho Chi Minh ( Vietnam ) to Los Angeles. The minimum price is around 670 USD. On the contrary, If I book the ticket from Los Angeles to Ho Chi Minh (Vietnam), it only costs 493 USD.   I used Skyscanner / Momodo / Google flight, etc. to try to get the better deal, but those do not work.   Do you know why the flight from US cities to Vietnam is cheaper than from Vietnam to a US city?


Why do some journals ask if there is someone who you do not wish to use as a referee?

I have noticed that sometimes when you submit an article to a journal it will ask if there is someone in particular who you do not want to referee the paper.  I was wondering what the reason for this option was.  Is it simply to avoid a conflict of interest or if you really do not get on with the person to the point where you do not wish them to review something you have written?  If you put someone down as someone you do not want to be a referee, will the journal think you are scared of that person's critical appraisal of the document and actually send it to that person or will they genuinely avoid sending it to that person for review?


Is there a camera which can superimpose a subject onto a predefined background?

Let's say I have an image of the Taj Mahal.  I want set the above image as my background image when taking the picture. Something similar to Photo Booth effects available in OS X, where you'll be asked to step out of the frame, then once the image is setup as the background, you'll be prompted to step inside the camera view.  Is there any camera that supports this effect?


Is it possible to use an SVG as a texture for a 3d object?

I'm using the Vector Graphics plugin for Unity 2019 and am able to drag an SVG into the scene. However, I am not able to drag it onto a 3d object as I am with a PNG. My goal is to make 3d cubes that rotate with a particular icon on each side of the cube.   I came across this related post:  but I'd like to make sure there haven't been any advancements since 2017 in this area. Also, would it be possible to add an SVG to a material? I can't figure out a way to do it but I am not very experienced with Unity.


I have the following servers:  PROD:   2 x web servers (content delivery)  1 x cms server  2 x database servers (SQL)   UAT:   1 x web server (content delivery + cms) 1 x database server (SQL)   I'm a bit confused with the SQL server 2012's User CAL licensing concept. Now that I have CMS and websites that serve contents to public users, does that mean I have to get a User CAL for each of my website / CMS users?? Is this true? I understand that SQL doesn't require User CAL if I get the per-processor/per-core license, but that costs a lot more...In fact I only need 1 sys admin account and 2-3 database users for the websites and CMS.  For win server 2012 I believe we don't need to worry much about User CAL because web edition allows us to use the web server to serve public users. So, basically we just need to purchase Win Server 2012 with 5-User CAL (for management purposes). Please correct me if im wrong..  I need expert's advice on this, tips to save cost, etc.  Thanks!


A light shine when I move my cat or dog off the bed

At night, when I'm sleeping I will reach down and move my cat or dog out of my way and a light appears where I touch them.  The light has been so bright that is shown in my cats face and made her squint.  I'm wondering if it is static electricity?  It happens every time I move them. The light is not consistent, sometimes a streak, a circle or just a light like a pen light shining down. I do wear two silver chain bracelets all the time. Is the silver conducting electricity? I'm very curious about this. Anyone have any answers?


Is it possible to write protect a flash drive?

I want to write protect and unprotect it to keep files from being formatted whenever people use it in a windows PC. I don't want people to delete my school work and I bring this to school and use it with a live CD of Lubuntu 12.04 in my moms laptop. People have got into my backpack while I went to the bathroom and plugged it into a PC (the flash drive had ex4 file format) and when it asked to format it they clicked yes assuming nothing will be deleted.


So, I bought 8GB of RAM for my HP Laptop, I installed both cards, when I boot up, it shows 8GB installed, but only 3.92 Usable. I'm running Windows 8.1 32-Bit, even when looking in task manager I see 640MB in use, 2.8 GB Available. On the right side I do see 4.5 GB for Hardware reserved, I'm not 100 familiar with 8.1 being as I primarily use my desktop with Win7, I just thought I might get it ready for Win10 for next month, ANYWAY, is this correct? I don't think/feel it is but i would like some help on figuring this issue out since google didn't help much.  I have tried:   Swapping places of the sticks.   Changing it in msconfig(When I do, I check the box that says Maximum memory, which then defaults to 8192, apply it, and check the box that says "Make all boot settings permanent", but then the box then comes unchecked and the Maximum memory gets changed to 0)   Running a memory test in my BIOS, is passes.     Looked in my BIOS for other possible configs to change but I can't see any to change that have anything to do with my memory.


Derivative of Fourier transform: $F[f]'=F[-ixf(x)]$

Let us define the Fourier transform of the Lebesgue-summable function $f\in L_1(\mathbb{R},\mu_x)$ as $F[f](\lambda)=\int_{\mathbb{R}}f(x) e^{-i\lambda x} d\mu_x$, where $\mu_x$ is the Lebesgue linear measure. Kolmogorov-Fomin's (p. 430 ) states that, if $x\mapsto xf(x)$ is Lebesgue-summable too, then the Fourier transform is differentiable and$$\frac{d}{d\lambda}F[f](\lambda)=-i\int_{\mathbb{R}}x f(x) e^{-i\lambda x} d\mu_x$$  EDIT: I would be very grateful to the people having voted to close the question, and to anybody else, if they explained how to use the  to prove this equality, which I am not able to do. I am trying to teach myself and cannot afford university for the moment and have not got the sufficient mathematical ability to understand how that result implies this equality. I heartily thank you all!!!  Previous trial of mine which may or may not be useful to prove the given equality: In order to prove the statement to myself I had thought that the fact that if the sequence $\{\varphi_n\}\subset L_1(\mathbb{R},\mu_x)$ converges to $\varphi$ with respect to the metric of $L_1(\mathbb{R},\mu_x)$, then $F[f_n]\xrightarrow{n\to\infty} F[f]$, but I cannot apply it. In fact I see that the derivative $F[f]'(\lambda)$ can be seen, if we define $\varphi_n(x)=f(x)\frac{e^{-ih_n x}-1}{h_n}$, where $\{h_n\}$ converges to 0, as the limit $$\lim_n \int_{\mathbb{R}}f(x)\frac{e^{-i(\lambda+h_n)x}-e^{-i\lambda x}}{h_n}d\mu_x=\lim_n \int_{\mathbb{R}} f(x) \frac{e^{-ih_n x}-1}{h_n} e^{-i\lambda x} d\mu_x$$$$=\lim_n F[\varphi_n](\lambda)$$but I cannot prove that $\int_{\mathbb{R}} f(x) \frac{e^{-ih_n x}-1}{h_n} e^{-i\lambda x} d\mu_x$ converges to $-i\int_{\mathbb{R}}x f(x) e^{-i\lambda x} d\mu_x$. I thought about Lebesgue's dominated convergence theorem, but I am not convinced at all that we can majorate $|\varphi_n(x)|$ with a summable function and I am not sure this is the right path to prove the desired equality...  P.S.: I assume that the equality holds for any $f\in L_1(\mathbb{R},\mu_x)$ because the book does not specify any other conditions, but it is perfectly in the style of the book to state theorems valid only under certain conditions without explicitly declare them. So, if you noticed that some other condition is needed...


Different between parseInt() and valueOf() in java?

How is parseInt() different from valueOf() ?   They appear to do exactly the same thing to me (also goes for parseFloat(), parseDouble(), parseLong() etc, how are they different from Long.valueOf(string) ?  Also, which one of these is preferable and used more often by convention?


I have a question regarding upper triangular matrix.  I know that if AB is upper triangular then the |AB| equals to the diagnoal multiplication, but It doesn't seem to help me here.  If AB is upper triangular and non-singular then A and B both upper triangular?  Notice that A and B are both square.  I can't choose AB = 0 becuase its signular....


How to link to page of an outer pdf document?

How can I create a link from a PDF-Reference to another external PDF? I want to reference a source and when you click on it, the document should jump to the bibliography like normal. An then i want to put all sources from the bibliography to a seperate folder as PDF-Files.  Then when I click to a source itself in the bibliography I want that my PDF opens the book or what ever is referenced and the correct page with the marked text. Does somebody know if that is possible in latex in some way? Maybe with a kind of hyperlink to the PDF and some parameters to directly open the correct page? Thank you !


Should methods in a Java interface be declared with or without a public access modifier?

Should methods in a Java interface be declared with or without the public access modifier?  Technically it doesn't matter, of course. A class method that implements an interface is always public. But what is a better convention?  Java itself is not consistent in this. See for instance Collection vs. Comparable, or Future vs. ScriptEngine.


Is it allowed to downvote all your questions?

I opened a question about index.php which can be read here:    A user called Taxicala answered on me, but he started to insult and said something which looked like: Haven't you learned to read at summercamp? (He said that because another user talked about Templates and according to him I read something particular wrong, but I can't recall what and he removed his comment), and treated me like I was stupid because of my question. I just started learning to build websites 2 weeks ago so how should I already know everything in this stage? I told him that I would downvote his answer if I could because it wasn't useful and respectful.  For some reason nothing was left of his answer and comments and all my questions received a -2 downvote.   Is this allowed at Stackoverflow and am I allowed to downvote all someones questions or is this against the policy?


Even after reading this excellent answer at , I still do not know how to get over the partition problem.  Because there is no "edit" button.  Rakesh Godhala said:     In sb4, there is 480 GB disk space, you can create required space from   that partition   This is what I do:   Click the sb4. Click "change" button. (there is no "edit" button for me to hit) Select as shown:  Click "OK", and then I get the following:    You can see the sb4 type is changed to ext4. and I dare not click "continue", because I fear it will erase my Windows 8. Also, it did not ask me to set space size, I think this is the wrong step.  And I get stuck. So what should I do?


While downloading MiKTeX downloading was not achieved and I get:  "C:\Program Files (x86)\New folder (2)\miktex/bin\initexmf.exe" --update-fndb --admin --log-file="C:\Program Files (x86)\New folder (2)\miktex\config\uninst.log" --verbose: Skipping user root directory (C:\Users\Souhayla\AppData\Roaming\MiKTeX\2.9)... Skipping user root directory (C:\Users\Souhayla\AppData\Local\MiKTeX\2.9)... Creating fndb for common root directory (C:\ProgramData\MiKTeX\2.9)... Creating fndb for common root directory ("C:\Program Files (x86)\New folder (2)")... "C:\Program Files (x86)\New folder (2)\miktex/bin\initexmf.exe" --force --mklinks --admin --log-file="C:\Program Files (x86)\New folder (2)\miktex\config\uninst.log" --verbose: Making format links... Making script links...  Sorry, but "MiKTeX Configuration Utility" did not succeed.  The log file hopefully contains the information to get MiKTeX going again:    C:/Users/Souhayla/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log  You may want to visit the MiKTeX project page (http://miktex.org), if you need help.  An error occurred:   source file: Libraries\MiKTeX\Core\Process.cpp   source line: 308   message: The operation failed for some reason.   info: C:\Program Files (x86)\New folder (2)\miktex/bin\initexmf.exe   What should I do?


Is a long stay Hungarian visa valid in all of Schengen?

I will be working in Hungary from January. The process for work/residence permit and visa application is on and documents are being prepared by the company I will be working with.   Is the Visa same as schengen short term visa ? Will I be able to visit other schengen countries ?


How to put a transparent image over everything

I am creating a program for Ubuntu which should be able to display an image (probably animated) over the top of all windows, although if the image is over the top of a button on an application, it shouldn't prevent you from pressing that button, or interacting with anything else on the screen.  I saw that there was already a question asking about almost the same thing here , although I see that that one was closed for some reason and did not receive any answers, so I am asking again. How could this be achieved? I am running Ubuntu GNOME 15.04.


Why are starships in Star Trek so slow to retaliate when fired upon in battle?

This question is with respect to starships battles in Star Trek TNG and DS9.  In many episodes, the Enterprise (or other Federation starship) is fired upon, but they don't retaliate quickly enough. They take multiple shots in the meantime, or the commanding office issues an order to the security officer to fire a certain kind of weapon with a certain intensity, while they take another hit before the order is conveyed and executed. Or there's an explosion on the bridge which throws the security officer away from his console before he can punch the appropriate button.  This results in the ship taking significant damage, losing their shields, losing the tactical advantage, or even being boarded or destroyed. I understand that this can be a plot device, but I find it illogical, as compared to the below alternatives:   The commanding officer can have a console with buttons for various kinds of weapons at various intensities (phasers, photon torpedoes, etc) so that precious time is not lost orally conveying an order, understanding it on the receiving end, and executing it, or risk having the security officer thrown away from his console by an explosion before he can execute the order. In a crisis, you don't want multiple people in the chain before something can get done. Another option might be a Fire All Weapons button for use in a dire situation. When pressed, this would fire all weapons at maximum power targeted at the parts of the enemy ship that are likely to cause the most damage. This way, firepower is not limited by human reaction or decision times, such as issuing an order, pressing a button each time, or targeting each individual burst of a weapon. What's the point of having so much firepower if it can't be used as quickly as possible in battle, when fractions of a second matter? A further extension is that the captain can activate this mode ahead of time. When active, the minute the ship takes one hit, the computer immediately retaliates at maximum power against the attackers. The captain would decide when this mode is appropriate to use.   Maybe you have other ideas on how ships can respond faster in battle. The point is not to fixate on the exact list of ideas, but to ask: is there any logical reason why Federation starships are so slow to react, losing the tactical advantage, and risking their own destruction or takeover?


Auto deleting files older than given minutes on Windows

I have a folder on my PC in which I keep my temporary files, which I won't be needing after some time. I manually delete them from time to time. What is a way to automate this? I can think of deleting files whose last access time is greater than 20 minutes using Java, but then again, I would have to run it myself which still wouldn't be automation. I using using Windows and file system is NTFS.


Is it possible to restart formal higher education in physics at a later age?

I would begin by apologizing for a soft question. Reading the FAQ, I have tried to formulate my  question precisely in the last paragraph and you may skip the following paragraph where I make subjective observations, which I think may be relevant and any comments would be more than helpful. By formal education I mean registering in an academic department in a university as a grad/Phd Student.  Subjective belief: I feel I am personally not upto the mark of high-quality physics students. I need to learn a lot more, and do a lot more problems to be any good. I've noticed that Physics particularly is a very selective field dominated by hard-working and primarily young people who accomplish a lot at an early age (olympiads/contests, early phd's from very good places, etc). Even among this bunch a lot get filtered out and wouldn't get faculty positions. Theoretical Physicists tend to be outliers in a field almost entirely composed of outliers. And to learn from such a community, I feel an academic environment is essential, and not just reading books in isolation. So I beleive academia is the only legitimate environment that functions to produce sane physicists who know their field. However, if one has been set-back for some reason but carries the self-beleif that he can be smart enough to do it, would ageing be a parameter. I read a statement in Kleppner's undergrad mechancis book that "by finishing all this at the age of 26, Newton set the trend which follows today, that great advances are made by young physicists". I haven't found a counterexample so I would trust academic departments have the same criterion.  Q: Do people who missed out all the action in their 13-20 ages miss out on having a good career? What are the possible reasons to take a hiatus of "self-study" for a 22-year old so that he may be a good candiate for a respectable physics career (Phd/postdoc etc) later.


Call view in another database in postgresql?

first Database(Database name : abc )   CREATE VIEW sample_view AS SELECT * FROM  test;   There is another database (database name : xyz) on same server so i have to call above view in another database(database name : xyz).  is it possible to call above view in xyz database ?


Find the number of functions $f: \{1,2,3,\dots,1999\}\to\{2000,2001,2002,2003\}$ satisfying the condition that $f(1)+f(2)+f(3)+\dots+f(1999)$ is odd.    Upon first thought my try was that for any function $2000p+2001q+2002r+2003s$ is odd where $p, q, r, s$ are natural numbers  which also satisfy $p+q+r+s=1999$ and hence $q, s$ must be odd. Using generating functions I found the answer but then the thought stuck me that I am asked to find the number of functions possible. So I would like to know how would one do such questions using the mapping technique or any other combinatorial method.


How to specify the lat/long and bounding box of MapServer WMS layer in OpenLayers

I am using MapServer to add a WMS layer on a basemap using OpenLayers 3. The WMS generates a png image from a shapefile, which I need to overlay on a basemap. Below is the code which I used to overlay the WMS layer.  var zone_wms = new OpenLayers.Layer.WMS("FEMA Flood Zones", "http://localhost:81/cgi-bin/mapserv.exe?map=/MapServer/maps/femawms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=FEMA_NFHL_POLY_STATUS&STYLES=&SRS=EPSG:4326&BBOX=-69730.2,777408,331075,959674&FORMAT=image/png", {   layers: "Flood_Hazard_Zones",   transparent: "true",   format: "image/png" });  map.addLayer(zone_wms);    However, when I do that, the layer is repeated on each of the tile on the basemap. For example, when I am at a zoom level=1, there are 8 images (one of each tile) displayed. When I am at zoom level=2, there are 32 images displayed on the basemap... and so on. Also, I am not sure how to specify the exact location (lat+long+bounding box) of the WMS layer that is overlaid on the map.  I am sure, you would have figured it out that I am newbie to the GIS world..so please forgive me for my ignorance.


What happens when a TARDIS falls over onto its door side?

So you're in the TARDIS in a car park, and for some reason the TARDIS falls over and lands door side down. You are not a Time Lord, so you can't just press the "right yourself" button (if there even is one) but you are able to open the doors and stand on the concrete surface of the car park. Now, let's suppose you want to lift the TARDIS to its upright position. Are you lifting the weight of the police box, or the weight of all the rooms inside the TARDIS? Edit: I'm not asking how much the TARDIS weighs, I'm asking whether it's the internal or external weight that would apply in these circumstances.


Why is the partition function called ''partition function''?

The  plays a central role in statistical mechanics.  But why is it called ''partition function''?


How to use inotifywait to watch a directory for creation of files of a specific extension

I have seen .      You should consider using inotifywait, as an example:  inotifywait -m /path -e create -e moved_to |     while read path action file; do         echo "The file '$file' appeared in directory '$path' via '$action'"         # do something with the file     done    My question is that, the above script watches a directory for creation of files of any type, but how do I modify the inotifywait command to report only when a file of certain type/extension is created (or moved into the directory) - e.g. it should report when any .xml file is created.  WHAT I TRIED:  I have run the inotifywait --help command, and have read the command line options. It has --exclude <pattern> and --excludei <pattern> commands to EXCLUDE files of certain types (by using regEx), but I need a way to INCLUDE just the files of a certain type/extension.


Let H be a subgroup of a group G. Prove that the following statements are equivalent.  (a) For all $a,b \in G, (aH)(bH)$ is a left coset of $H$ in $G$.  (b) For all $a,b \in G, (aH)(bH) = (ab)H$.  (c) For all $a \in G, (aH)(a^{-1}H) = H.$  (d) For all $a \in G, aHa^{-1} \subseteq H.$  (e) For all $a\in G, aHa^{-1} = H.$  (f) For all $a\in G, aH = Ha.$  My attempt:  (a) implies (b):  I can show $abH \subseteq aHbH$ since $abh_1 = a1_Hbh_1$ but i can't show the other direction.  NEED HELP  (b) implies (c) :  Let $b = a^{-1}$  (c) implies (d):  For all $a \in G$, $ah_1a^{-1}h_2 = h_3$ and hence $ah_1a^{-1} = h_3(h_2)^{-1} \in H$. Therefore, $aHa^{-1} \subseteq H.$  (d) implies (e):  We have to show that all elements H can be expressed as $ah'a^{-1}$. For all $x \in H$, $ x= a(a^{-1}xa)a^{-1}$. $(a^{-1}xa) \in H$ from (d) by letting $a = a^{-1}$. Hence , $H \subseteq aHa^{-1}$. Together with (d), $aHa^{-1} = H$.  (e) implies (f):  $aHa^{-1} = H$ hence $aH = Ha$ by multiplying a on the right.  (f) implies (a):  NEED HELP.  Are my proof OK?


Let $A$ be a $4 \times 7$ real matrix and $B$ be a $7 \times 4$ real matrix such that $AB=I_4$. Which of the following are true?      1) rank$(A)=4$      2) rank$(B)=7$        3) nullity$(B)=0$      4) $BA=I_7$.   My attempt:  $4=\operatorname{rank}(AB) \leq \min\{{\operatorname{rank}(A),\operatorname{rank}(B)}\}$. So $\operatorname{rank}(A)$ must be $4$. It shows that 1) is true  2) is false by Dimension theorem  How to check 3) and 4) ?


Consequence of charging the Odyssey before visiting boss level?

I got enough Power Moons to charge the Odyssey before getting to the Showdown on the Inverted Pyramid (Sand Kingdom). When I charged the Odyssey, Bowser flew away and I was asked to choose a fork in the road.  It looks like I can still go beat the boss and get the multi-moon on the Inverted Pyramid, but Bowser’s airship is no longer there. Did I miss anything? (Power ups, power moons, etc.?)


Is there a law or anyway to know the factorial of a fractional number, because as I see the law of factorization n! = n x (n-1) x (n-2) x ... x 3 x 2 x 1 isn't saying that the number should be an integer. If it does require an integer then shouldn't the law be [n]! = [n] x ([n]-1) x ([n]-2) x ...?


Which stolen cars can you bring to LS Customs and what are their sell prices in GTA Online?

Note that these cars would also be outfitable with a tracker and insurance, and therefore useable as a personal car without having to buy.


Prove that second partial derivatives does not depend on the order of differentiation

I'm trying to prove that if  $$\dfrac{\partial^2 f}{\partial x \partial y} \quad \text{and} \quad  \dfrac{\partial^2 f}{\partial y \partial x}$$  are continuous in an open set containing $a \in \mathbb{R}^2$, then they are equal using the definition of derivative:  First, I say   $$ \dfrac{\partial^2f}{\partial x \partial y} = \dfrac{\partial}{\partial x} \left( \dfrac{\partial f}{\partial y} \right) = \dfrac{\partial}{\partial x} \left( \lim_{h \to 0} \dfrac{f(x,y+h)-f(x,y)}{h} \right) = \lim_{k \to 0} \dfrac{1}{k} \left( \lim_{h \to 0} \dfrac{f(x+k,y+h)-f(x+k,y)}{h} - \lim_{h \to 0} \dfrac{f(x,y+h)-f(x,y)}{h} \right) = \\ \lim_{k \to 0} \left( \lim_{h \to 0} \dfrac{f(x+k,y+h)-f(x+k,y)-f(x,y+h)+f(x,y)}{kh} \right) $$  Then I do the same thing for $ \dfrac{\partial^2 f}{\partial y \partial x} $, and I get  $$ \lim_{h \to 0} \left( \lim_{k \to 0} \dfrac{f(x+k,y+h)-f(x+k,y)-f(x,y+h)+f(x,y)}{kh} \right)$$  My question is: am I allow to say that those limits are equal because both   $$\dfrac{\partial^2 f}{\partial x \partial y} \quad \text{and} \quad  \dfrac{\partial^2 f}{\partial y \partial x}$$  are continuous on $a$, or do I need something extra? Please let me know if the question is clear enough, or if I made some silly mistakes :)  Thanks in advance!


Playing through Portal, I like most other people found several of the hidden rooms where Doug Rattman wrote all sorts of things, including that the promised cake is a lie.    I realized that GLaDOS was just using the cake as false motivation. But then I beat the game and watched as the ending credits rolled, and in the very last scene, we see a cake, surrounded by personality cores and a companion cube!  Does this mean that the cake was not a lie?


Consider an ideal $I$ in $\mathbb{C}[x_1, x_2, x_3, x_4]$ such that $I$ is generated by $x_1x_3, x_2x_3, x_1x_4,$ and $x_2x_4$. I think this ideal cannot be generated by two elements, but can't give a rigorous proof.    Can anyone suggest a proof?