I currently have all my websites as directories under /var/www. I would like to set up a virtual host http://foo/ that points to the /var/www/foo/foo directory (and still keep the default localhost behavior).  I added the following file, foo, to /etc/apache2/sites-available/:  <VirtualHost *:80>     ServerName foo     DocumentRoot /var/www/foo/foo      # Other directives here     <Directory />         Options FollowSymLinks         AllowOverride None     </Directory>     <Directory /var/www/foo/foo>         Options Indexes FollowSymLinks MultiViews         AllowOverride None         Order allow,deny         allow from all     </Directory> </VirtualHost>   I then ran the following commands:  sudo a2ensite foo sudo /etc/init.d/apache2 reload   But when I go to http://foo/ it still returns an ISP search page.


Why is Linux load average reported as the exponential moving average?

Why is the Linux load average over the past 1, 5 and 15 minutes reported as the exponential moving average, instead of just simple (unweighted mean) moving average?  It seems to me that the simple moving average value would be easier to understand.  And having the three different load average values already communicates what the load looks like nearer in time, so it is not apparent what added value the exponential weighting brings.  For background, see the  man page and the Wikipedia entry on .


I've been trying to install Ubuntu to a USB drive so I can save files and take it to friends house that don't use Ubuntu.  This way I still have all my files with me when I travel.  My issues is it seems to install I select install grub onto the USB stick but grub installs to the internal hard drive every time.  I don't know if this is a bug I asked this question awhile back and someone said it might be a bug but I was hopping it would be fixed with the new version.  Any thoughts?


Can environmental pressures affect genes in one generation?

Environmental pressures are the catalyst of evolution. Pushing a species to adapt to changes therein. My question is can these mechanisms cause significant adaptation over one generation(parent-> child). My thinking is the pressure of the equivalent of human trauma in a species(depending on neurological and biochemical makeup of said species) would be enough to induce genetic influence.  If not, what is the minimum theorized timeframe for environmental pressures to act?   Edit: This is not a duplicate, the previous question is about one animal's lifetime


2D python lists not acting as expected when filling values

if I create a list like this: list1 = [[0] * 5] * 5  And then I edit a value of it like this: list1[0][0] = 99  When I print list1, I get the following output: [[99, 0, 0, 0, 0], [99, 0, 0, 0, 0], [99, 0, 0, 0, 0], [99, 0, 0, 0, 0], [99, 0, 0, 0, 0]]  Why has it edited the first index of each list when I have told it to just edit the first index of the first list? If I create a list differently like list(range(1,26)), it works perfectly fine.


Restoring a BMX i got maybe in '96-'97. I bought it off a friend and its a chromoly frame and has the serial number stamp on the front head tube on the frame (0950921035). It looks "close" to an '85 GT Performer. but has some small differences. I want to restore it. How can I find this info?? THX!


Cauchy in measure implies convergent in measure.

A sequence $\{f_n\}$ of measurable functions is said to be a Cauchy sequence in measure if, given $ϵ > 0$, there is an $N$ such that for all $m, n ≥ N$ we have $m\{x \in E  :  |f_n(x) − f_m(x)| \ge ϵ\} < ϵ$.  Show that if $\{f_n\}$ is Cauchy in measure, then there exists a measurable function $f$ to which the sequence $\{f_n\}$ converges in measure.  Idea:  I need to show that $m\{x \in E : |f(x) − f_n(x)| \ge ϵ\} \rightarrow 0$ for some measurable function $f$.  I was thinking that there exists $f(x) = \lim_{k\to \infty} f_{n_k}(x)$ where $f_{n_k}$ is a subsequence. But I am unclear as to where to proceed.


I'm attempting to open a file in a C application. How do I check that a file exists before trying to read from it?


How to prove the existence of a splitting field?

I'm reading a brief introduction on Galois theory, it talks about splitting field. The idea is genius, however I have some doubts on whether in general a splitting field always exists?  By definition, a splitting field of a polynomial $p(X)$ over a field $K$ is a field extension $L$ of $K$ over which $p$ factors into linear factors $p(X) = \prod_{i=1}^{deg(p)} (X-a_i)$ where for each $i$ we have $(X - a_i) \in L[X]$ and such that the roots $a_i$ generate $L$ over $K$.  If $K$ is $\mathbb R$, the result is straightforward due to  as it states that every non-constant single-variable polynomial with complex coefficients has at least one complex root.  But if $K$ is a general field, does such an extension $L$ always exist? How to prove that?


Oversimplify it for me: the correct order of investing

I have been reading the top posts here, and the recommendations for what to invest in are often similar. What I'd like to know, in as simply of terms as possible, is what the consensus is on priority of these investments.  I am new to this, but here are some of the obvious options:   Paying off credit card debt Paying off mortgage / student loans 401k up to employer match 401k past employer match IRA Emergency fund Other important investments that I have missed   Clearly this will vary person to person, but if you were asked to put an ordered recommendation on a highway billboard, what would it be?  (For example:   Pay off credit debt Emergency fund for 6 months 401k up to match ... )


How does the Appraise feature's results correlate with IVs?

Version 1.5.0 brought the new Appraise feature to Pokemon GO, as an added option in the menu button on individual pokémon:     What's New in Version 1.5.0 Posted August 23, 2016         Implemented Pokémon Appraisal: Trainers will now be able to learn about a Pokémon's attack and defense capabilities from their Team Leader (Candela, Blanche, or Spark) to determine which of their Pokémon have the most potential for battle.      The output of using it on a particular pokémon seems to be referencing what we've come to know as . Do these descriptive phrases represent IVs, and if so how accurately do these correlate to specific IV numbers?  Put another way, how useful is the new Appraise feature as a replacement for IV calculators?


How to compare two date now and date from API example for API 22 September 2020 and date now 01 october 2020 if (this.state.StartDate <= this.state.timeNow)


I am using LaTeX, TikZ and PGFplot in order to automatically generate several series of diagrams, one of which is comprised of bar charts. Each bar in each bar chart may have a unique label and height -- I have used PGFplot before and I know that I can read in coordinates from files, but would it be possible for me to create labels for each bar using textual data stored in a tab-separated file? If so, how would I do this? A simplified example of a file I might use is shown below.  # foo.dat # Label | X-Position | Height  A    1    15 B    2    20 C    3    12 D    4    24   Thanks for your help!


Regression to the mean vs gambler's fallacy

On the one hand, I have the regression to the mean and on the other hand I have the .  Gambler’s fallacy is defined by Miller and Sanjurjo (2019) as “the mistaken belief that random sequences have a systematic tendency towards reversal, i.e. that streaks of similar outcomes are more likely to end than continue.” For example, a coin that’s fallen heads several times in a row will be thought to be disproportionately likely to fall tails on the next trial.  I have had a good performance in the last game and, according to the regression to the mean, probably I will have a worse performance in the next game.  But according to the gambler's fallacy: Consider the following two probabilities, assuming a fair coin   probability of 20 heads, then 1 tail = $0.5^{20} × 0.5 = 0.5^{21}$ probability of 20 heads, then 1 head = $0.5^{20} × 0.5 = 0.5^{21}$   Then...  Consider a simple example: A class of students takes a 100-item true/false test on a subject. Suppose that all students choose randomly on all questions. Then, each student’s score would be a realization of one of a set of independent and identically distributed random variables, with an expected mean of 50.  Naturally, some students will score substantially above 50 and some substantially below 50 just by chance. If one takes only the top-scoring 10% of the students and gives them a second test on which they again choose randomly on all items, the mean score would again be expected to be close to 50.  Thus the mean of these students would “regress” all the way back to the mean of all students who took the original test. No matter what a student scores on the original test, the best prediction of their score on the second test is 50.     In special If one takes only the top scoring 10% of the students and   gives them a second test on which they again choose randomly on all   items, the mean score would again be expected to be close to 50.   According to the gambler's fallacy shouldn't it be expected the same probability for the scoring and not necessarily more likely close to 50?  Miller, J. B., & Sanjurjo, A. (2019). How Experience Confirms the Gambler's Fallacy When Sample Size Is Neglected.


Relationship Between Free Group Actions of a Finite Set

(Similar to the above question, but unfortunately I could not see where to go with the above hint. I'm sure it's obvious, but right now I feel that I am missing the point - even just a hint giving a small explanation would be appreciated.)     We say that a group, $G$, acts freely on a set S if for any non-trivial $g \in G$, and any $s \in S$, we have $g · s = s$. Let $φ(g, s) = g · s$ and $ψ(g, s) = g ∗ s$ be two free actions of a finite group G on a finite set S. Show that there is a function $f : S → S$ such that   $$f(g · s) = g ∗ f(s)$$   for all $g ∈ G, s ∈ S$.   I am able to prove this in the case that $G$ is cyclic, but not otherwise. I am thinking that a possible way forward might be to consider the orbits of $S$ as we can see (from the Orbit-Stabiliser theorem, for example) that each orbit of $S$ has the same size for both actions; at this point I am just confusing myself though, and I would appreciate any hints on how to proceed.


How would you set this up in Excel 2013?

I recently got hired in a sales position and would like to make sure im getting paid for what I have sold.   I have a worksheet with 3 columns where I keep track of what I have sold, 1 column shows order number, 2nd column shows services I have sold and the other shows the amount I should be paid for services sold. In worksheet 2 my employer shows me there record of what I have sold and what they are paying out for each service. There worksheet is setup pretty much the same way. 3 columns showing order #, services sold and what they are paying for each service.  I would like to match my worksheet to theirs and make sure the amounts match.  If they don't match What can it highlight the cell or something that would indicate which orders don't have matching payout amounts, would be nice. How can I set this up what's the best formula to use and how do I set it up? MATCH or VLOOKUP or??


Is there a word for the use of words which, phonetically, create another word?

In the board game "Scotland Yard" one player attempts to thwart capture by the others through misleading them as to his true whereabouts. In the rules, this player is referred to as "Mr. X".  Saying this out loud sounds a lot like "Misdirects" - which is what the player is trying to do.  On learning this, I became curious if there was a single word for this particular form of word-play, where the phonetics of a group of words reminds us of a different word or phrase. It's not uncommon, after all.  Wikipedia lists it as:     Janusism: the use of phonetics to create a humorous word (e.g. BOREneo   from Borneo))   But the link indicates there's no article for this work and indeed a search returns very limited results that are relevant, none of which appear to be from dictionaries. Which makes it entirely plausible the existing articles all derive from Wikipedia.  Is Janusism the word for this kind of word-play? If not, is there one, and what is it?


vhdl port declaration with different sizes

I'm writing a vhdl model and I'm stuck with a problem about port declaration. Let's say that I have an entity entityA that instantiates N entityB. Now, entityB has a port, out, with size M bits, and M can vary among all entities, so out is std_logic_vector(M-1 downto 0). These ports need to be propagated outsize entityB.  If all entityB components would have the same port size, say FIX_M, the solution would be to use a std_logic_vector(N*FIX_M-1 downto 0) in entityA. My problem is that the size M can vary. The first solution that comes to my mind is to use the same solution, using instead of M a MAX_M, but in that case a lot of pins would be left unused (and for input it is a problem, right?).   Do you have a better idea? Thank you in advance.


Is it possible to change the inode of a file. What are the different conditions when the inode of a file can be changed?

Is it possible to change the inode of a file. What are the different conditions when the inode of a file can be changed ?


Suppress System.in to System.out (prompt for password)

I want to prompt the user for a password in a Java code, and I'd rather not have the input printed to the screen for security reasons.  I am aware of the class Console, but I would like to be able to run my program from an IDE for testing reasons. Any alternatives?


So I found this on the Wolfram website today:     So I was wondering about how one might be able to (if possible) solve those four problems by hand. Here are the problems, $\LaTeX$ed:    $ \lim_{x \to +\infty} \dfrac {\sqrt{x^3-x^2+3x}}{\sqrt{x^3}-\sqrt{x^2}+\sqrt{3x}} $ $ \displaystyle\sum_{k=1}^{\infty} \dfrac {(-1)^{k+1} k^2}{k^3+1} $  $ \dfrac {\mathrm{d}}{\mathrm{d}u} \left[ \dfrac {u^{n+1}}{(n+1)^2} \cdot \left[ (n+1) \ln u - 1 \right] \right] $  $ \displaystyle\int_0^{2\pi}\displaystyle\int_0^{\frac{\pi}{4}}\displaystyle\int_0^4 \left( \rho \cos \phi \right) \rho^2 \sin \phi \, \mathrm{d}\rho \mathrm{d}\phi \mathrm{d}\theta$     Ideas   The degree of the numerator is $\frac{3}{2}$. The degree of the denominator is $\frac{3}{2}$. The expression is of an indeterminate form, namely $\frac{\infty}{\infty}$, so we use l'Hoptial's Rule.  No ideas, really.  Derivatives are always pretty easy, although this one is a bit bashy. Basically bash Product and Chain Rules, etc.  Integration by Parts bash? The $\mathrm{d}\theta$ part is very trivial. I mean for the $\rho$ and $\phi$.


Is there a way to access a Mac's geolocation from terminal?

Some GUI apps use OS X location services, but I want to retrieve a Mac's physical location from the . This could be useful for running scripts, switching settings etc. The mechanism should be , not a Geo IP service (data too low-res, needs online connection).  Minimum requirement is output of longitude and latitude. Nice would be a number indicating the precision. Super nice: a geocoder that provides location names.


Why is "stationarity" assumed in time series data?

A stochastic process is composed of a sequence of random variables ordered by time, and a time series is just a realization of such a process. The book that I'm reading says:  "if we assume stationarity, then we can get expectation and variance from time series data".    I don't understand this. Doesn't stationarity mean that every random variable in the stochastic process has same distribution?  If not, every time series data comes from different distributions how they can calculate expectation and variance from them?


Chat link in top bar isn't site-specific when using HTTPS

Since the redesign of the top bar, it appears the chat room link next to a site no longer goes to that site's chats.  For instance, this link:  should go to something like , but it just goes to  instead.


Can't log into discuss.area51.stackexchange.com

I can't log into discuss.area51.stackexchange.com. It goes as follows:   I try to comment on a question there. I get a popup requesting me to log in. I click on "log in" and on the next page I enter my OpenID address. The OpenID authentication process finishes successfully. I get to the original page; the top bar does show my reputation (226)/badges. I try to comment on a question there. I get a popup: "User does not have permission to comment on this post". After refreshing the page I'm back to not logged state (no reputation/badges on the top bar).


I am getting NullPointerException in the code.I want to handle it. In the following code i have specified the line in which the null pointer exception occurs.   public static void mapPcm16bitLittleEndian2Float(final byte[] pcm16bitBytes,             final int offsetInput,             final float[] samples,             final int offsetOutput,             final int length) {         if (pcm16bitBytes.length - offsetInput < 2 * length) {             throw new IllegalArgumentException("Insufficient Samples to convert to floats");         }         if (samples.length - offsetOutput < length) {             throw new IllegalArgumentException("Insufficient float buffer to convert the samples");// Getting null pointer exception here.         }         for (int i = 0; i < length; i++) {             samples[offsetOutput + i] = ((pcm16bitBytes[offsetInput + 2 * i] & 0xff) | (pcm16bitBytes[offsetInput + 2 * i + 1] << 8)); // no & 0xff at the end to keep the sign         }   and   public boolean processData(final byte[] data,             final int offset,             final int len) {         // converty raw bytes into float samples         mapPcm16bitLittleEndian2Float(data, offset, rawData, 0, len / 2);// getting null pointer exception         // encode the bitstream         return processData(rawData, len / 2);     }   Please help me getting out of this.


Random line artifacts on mesh when moved too far from global 0, 0, 0

I'm attempting to render a mesh in 2.8. However, random lines appear on its surface when positioned too far from the global 0, 0, 0 coordinates. I've cut out a small portion of mesh with one such line as an example, and provided a .blend file with the bare minimum, in order to narrow down the possible causes:      That darker line going horizontally across the mesh is one of several such lines riddling my mesh. Moving the mesh up about as far as 0, 0, 150 is fine, but beyond that, the lines appear more pronounced, and there seem to be more of them that appear. Since distance from 0, 0, 0 seems to be the primary factor, I thought I'd try changing the scene's unit scale from 1 to 0.1 or 0.01, but this made no difference.  I've also included my material node setup below:    I've noticed the lines only appear when using Principled BSDF. I thought I'd try using Diffuse BSDF in its place, but it also had the same issue. What was odd was when I replaced it with Emission, the lines disappeared. Same thing happened when attaching ColorRamp directly to Material Output. No lines.  So from what I'm getting with all of this, the problem lies with distance from 0, 0, 0. Since changing unit scale makes no difference, I suspect the problem is further narrowed down to the ratio, or relationship between coordinates, rather than absolute values. And somehow, the nodes, possibly the diffuse feature, may have an influence. But above all, what this tells me is that I have absolutely no idea how to actually fix the problem.  Anybody have an idea what I should do?


Searching for a way in bedrock to test for a held item

I'm trying to make a named sword in bedrock on the PS4 that, when held, gives regen. I can't find a command that works for detecting when you're holding a certain item. I've tried many and none seem to works with my version. Any help?


How can the Schwarzschild radius of the universe be 13.7 billion light years?

So i was reading about  on Wiki and I found a interesting thing written there .    It says that the S. radius of the universe is as big as the size of the universe?   How is this possible?  Since most the universe is empty space shouldn't the S. radius of our universe be significantly smaller then 13.7 light years?


Why faces have a dark texture? Already recalculated normals

When I imported this model into Unity a few parts of the model seem to be inside out. (the wings and the left engine)    I opened the model in blender, selected the relevant components, and recalculated normals. Now nothing is inside out.    However you can see that those parts are now really dark. And I can't fix this.    The problem itself can be seen in blender as dark faces. Similar to the problem seen when faces are inverted.  I have already tried:   recalculating normals on all components (the rest are unchanged) checking that the normals actually ARE facing outwards by showing the weights of the normal checking that both parts share the same material   why are these faces darker? how can I fix it?


Do a druid's uses of the Wild Shape feature recharge if they take a short rest while still in Wild Shape?

Do the druid's uses of the Wild Shape feature recharge while still in Wild Shape?  Say a 10th-level Circle of the Moon Druid spends two uses of Wild Shape to transform into an Air Elemental, whose form she can stay in for the next 5 hours. After 2 hours, she takes a short rest, but does not drop the Wild Shape. She has another couple of hours to keep the Air Elemental form.  My main concern: Does she get her two uses of Wild Shape back with that short rest? Or, does she have to drop the Air Elemental form first before taking the short rest to recharge Wild Shape?


I just encountered this command on a linux forum online where the author warned that donot try this command for curiosity. So my curiosity comes. What is the meaning of command “:() { :|:& }; :” in shell?


This came up while solving another ENT problem. I want to ask when is: $$2^n -7 \text{ where } n\geq 3$$ a perfect square? Specifically, I also wanted to know what would be the solutions when $n$ is odd? How should I solve this?  I can check that $n=3, 4, 7$ are solutions but cannot find more. As it is of the form $4k+1$, it doesn't help as well.


Where to find cross section data for $e^{-}$ + $p$ $\longrightarrow$ $p$ + $e^{-}$?

Where to find cross section data for $e^{-}$ + $p$ $\longrightarrow$  $p$ + $e^{-}$ ?  does not include it.


In The Chamber of Secrets, why did the Weasleys have to buy so many books, ie 5 sets of Lockharts books?

In the beginning of Chamber of Secrets, the Weasleys and Harry get their book lists which have all the Lockhart books and one of the twins remarks that 5 sets of Lockhart's books won't come cheap. Molly also mentions that they'll be able to get a lot of Ginnys books secondhand.   But why wouldn't Ginny just use Ron's books from the previous year?   And as for the Lockhart books, there's only one teacher, Lockhart, so really they'd need two sets max, as Fred and George would need a set each being in the same class, but couldn't the books get passed around between the other siblings?   I know it seems trivial, but for a poor family you think they would be a bit thriftier about the books.   On another note, Dumbledore mentions to Tom Riddle, in his memory in The Half Blood Prince, that Hogwarts has a fund for those who can't afford stuff. Did the Weasleys ever get anything from that fund?


How do I change my e-mail on Stack Overflow?

How to change email from Stack Overflow to another email? How to unlink your Facebook account? I tried to unlink it from the Facebook application and even delete it from the Stack Overflow profile, once it was removed from both sites, I log in as a new user with the email and the same profile appears. In Stack Exchange, there is no way to modify it. I looked into this question's solutions, but they do not work:


Is "gypped" really (historically) a racist term?

It has only been recently that I have even been aware of the connection between "gypped" and "Gypsy". Perhaps because I've always seen it spelled with a "J", I had no idea that the word had racial undertones. Does it really? Was the word originally coined with Gypsies in mind?


How return only two decimals with float?

I've got a float value and i need to have only two decimals after comma. I'm using this code:  public static float getWhatINeed() {   StatFs statFs = new StatFs(Environment.getDataDirectory().getAbsolutePath());   float total =        ((float)statFs.getBlockCount() * statFs.getBlockSize()) / (1073741824);   return total; }   And it returns for example: 12.552425 in a textview. I need display something like: 12.55 that is enough for me. I saw this:   String s = String.format("%.2f", 1.2975118);   somewhere but I can't use it in my case because I use a float value and I need to use float. How could I solve this?


This is the error I am suddenly getting.  Additional uncaught exception thrown while handling exception.  Original PDOException: SQLSTATE[70100]: Unknown error: 1317 Query execution was interrupted...my query  Additional PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away...my query   After doing some research it sounds like a custom module, which I have made, is attempting a query which is too big. A solution that seems to work for a lot of people is this:   Open my.ini Change "max_allowed_packet" from "1m" to "16m" (or larger) Save my.ini and restart MySQL   However, I am on a shared server, so I cannot edit my.ini, and although my provider has confirmed to me that the value is set to 1M, they won't increase it.  I also tried adding this: ini_set('mysqli.reconnect', 'on'); to settings.php. It didn't solve the problem.  Does anyone know of a another solution, or work around?  Thanks.


Does the position of the $1$ in a Jordan block matters?

I am studying the Jordan Canonical Form of a matrix and I noticed that most of the books put the $1's$ of  the Jordan blocks on the superdiagonal like this for example  :   \begin{pmatrix}  \lambda & 1 \\ 0 & \lambda \end{pmatrix}  But my professor puts it on the subdiagonal :  \begin{pmatrix}  \lambda & 0 \\ 1& \lambda \end{pmatrix}  Does it make any difference ? I know this might change the position of the vectors of the Jordan basis on the matrix $P$ such that $J = P^{-1} A P$  , but can  can I say that one of this constructions is better than the other or that one of them is more correct  than the other ?


Allow adding bounties from the iOS & Android app

(I was surprised I couldn't find this in an existing question, so here goes)    I'd like to add a bounty to a question, but I'm too lazy to go get my computer or a web browser. I like the SE app, and want to use it to do everything. I can't find the button to add a bounty to a question.  Please add this button, I really want to be able to add bounties to questions from the app.


Current divided into components like vectors

Current is a scalar quantity. In Watt-less current, we divide current into components like vectors. Moreover, when AC current passes through inductors or capacitors, we put a vector sign over current. Can anyone please elaborate?


Disabling Warnings generated via _CRT_SECURE_NO_DEPRECATE

What is the best way to disable the warnings generated via _CRT_SECURE_NO_DEPRECATE that allows them to be reinstated with ease and will work across Visual Studio versions?


How to prove this implication?  A ⊆ B ⇒ C \ B ⊆ C \ A  my try:  if  A ⊆ B ⇒ x ∈ A ∧ x ∈ B  if C \ B ⊆ C \ A ⇒ if x ∈ (C \ A) then (x ∈ C ∧ x ∉ A ∧ if x ∈ (C \ B) then x ∈ C ∧ x ∉ B  Can't see where to go from here


Is there any Stack Exchange site for economics questions?

I am an undergrad in economics and really want to get a helping hand as I get from math and stats from a Stack Exchange site for economics. Where can I post my questions on economics topics?


Incorrect logic in popular proof of the irrationality of $\sqrt2$?

A popular proof of the irrationality of $\sqrt2$ is to first assume that the number is rational. This means that $\sqrt2=a/b$ where $a$ and $b$ are integers. Another assumption is that $a$ and $b$ are coprime. It turns out that this leads to a contradiction. And the conclusion is that $\sqrt2$ is not rational (because the assumption of rationality led to a contradiction). But what about the second assumption? Logically, the conclusion could also be that $a$ and $b$ are not coprime..  How can this be resolved?  Edit:  Thank you all for your comments. It cleared up my mind.  Three aspects of this kind of proof are: mathematical, logical, and didactical.  Mathematically, it is the case that any rational number can be written as a fraction with coprime numerator and denominator. But this point is often described in a way that is either literally a logical assumption, or in a way that is natural to interpret as a hidden logical assumption. In this case, the proof will have a flawed logic, because any of the two assumptions could be the cause of the contradiction. Didactically, this can cause confusion in the mind of the student, who might not be so accepting of the proofs conclusion. I used to be that student.  So, how to resolve it? Many of you provided explanations on the mathematical aspect, which are all correct. But my main point is not of not understanding the proof, but of the use of flawed logic which leads to not understanding the proof. I am sure that a lot of teachers think or say something along the lines of WLOG, but for many students, this makes the proof weaker, because it is not so convincing. When we present this proof to our students, we need to have this in mind.  Thank you.


Onclick on ok on Javascript can we update custom field

I want to update field on click of ok in the javascript popup message. Is there any way that i can do in custom button javascript code  like we have checkbox field and when i click on ok in the message the checkbox need to be checked in the backend  thanks in advance


I have the code below,and it shows me an exception which is: Exception in thread "Timer-0" java.lang.NullPointerException. The erros is in line : jLabel1.setIcon(black); If I delete this line,then it works well. Any idea? Thank you !  Icon black=createImageIcon("black.PNG");  protected static ImageIcon createImageIcon(String path) {     java.net.URL imgURL = Frame1.class.getResource(path);     if (imgURL != null) {         return new ImageIcon(imgURL);     } else {         System.err.println("Couldn't find file: " + path);         return null;     } }  public Frame1(int seconds) {     timer = new Timer();     timer.schedule(new RunMeTask(), 1000,1000);     }    public class RunMeTask extends TimerTask {     public int k=0;  public void run() {     System.out.println("Run Me ~");             jLabel1.setIcon(black);    //error             k++;             if (k==10) {               timer.cancel();             } } }  public static void main(String args[]) {     new Frame1(1);     System.out.format("Task scheduled.%n"); java.awt.EventQueue.invokeLater(new Runnable() {         public void run() {             new Frame1().setVisible(true);         }     }); }


unable to uninstall comodo on 12.04 lts 32-bit system

I tried to uninstall comodo but it is showing the following errors:  anurag@ubuntu:~$ sudo apt-get --purge remove cav-linux E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? anurag@ubuntu:~$   What can I do about this?


Let $d$ be a square free integer. Let $R=\{a+b\sqrt{d}:a,b\in\mathbb{Z}\}$. Also $P\subset R$ is a prime ideal. I want to show that the factor ring $R/P$ is finite. (No group theory only ring theory)  I know that if $I$ is a nonzero ideal, the $I\cap\mathbb{Z}$ is a nonzero ideal in $Z$. Also $I\cap\mathbb{Z}=(n)$ for some positive integer $n$. Also I know $R/P$ has no zero divisors.   So I looked at some other post and I still don't understand the connection between $R/(n)$ (which is a finite set), $(R/(n))/P$ (how does this look like), and $R/P$.


Securing WMS against unauthorized access?

In a project the customer wants the images of the WMS to be secured against unauthorized access.   What are the common solutions to realize that?   Are they compatible with the OGC-standards?


Say, for instance, I'm estimating a model with about 5 million observations using linear regression or MLE. Given that the estimates are consistent, using the standard rule of rejecting the null on a 5% significance level will pretty much never make me entitled to reject the null (of the parameter being equal to zero), i.e. everything is significant.  I should probably use another significance level, which is smaller than 5%, and my question is if there is any literature on picking the right significance level, or how would you guys handle this problem? Should I simply stick with the 5% significance level?  Thanks.


Are these words concrete or abstract nouns?

Whenever I think of a concrete noun, I think of something that can be perceived by the five senses.   I was wondering, if I could see a particular practice taking place, as in a series of football drills, would the word 'practice' be a concrete noun?  I can also see a 'lesson' taking place, so would that also be a concrete noun?   Also, are sounds concrete nouns too? I can hear a 'bang', so would it be classed as a concrete noun?  Thanks in advance for any answers to clarify this.


C++ Static Variable Declaration Weird Linker Error

I want to count the ammount of objects which have been created by using a certain constructor. I have done this in languages like C# before so I created a static int variable which I'm incrementing in the constructor.  Before I show you the code - here is the compilement error:     Severity  Code    Description Project File    Line    Suppression State   Error   LNK2001 unresolved external symbol "private: static int Bill::count_of_created_bills" (?count_of_created_bills@Bill@@0HA)   Ausgabenverwaltung  c:\Users\xy\documents\visual studio 2017\Projects\Ausgabenverwaltung\Ausgabenverwaltung\Ausgabenverwaltung.obj  1      Here is the code:  #pragma once class Bill { private:     static int count_of_created_bills;     int id;               // Unique Identification     double ammount;       // Ammount of bill         int month;            // Month of bill (January = 0, February = 1 ...)     int type_of_spending; // Type of spending (Food = 0 ...)  public:     Bill(int a, int m, int t):ammount(a), month(m), type_of_spending(t)     {         count_of_created_bills++;         id = count_of_created_bills;     } };   The compilement error occurrs if I'm including this line:  Bill b(1, 2, 3);


Suppose we have an insert script that is consist 10000 statement like following;  Insert into CATEGORIES(CATEGORY_ID, CATEGORY_NAME, DESCRIPTION, PICTURE) Values(1, 'Beverages', 'Soft drinks, coffees, teas, beers, and ales', 'beverages.gif');  Insert into CATEGORIES(CATEGORY_ID, CATEGORY_NAME, DESCRIPTION, PICTURE) Values(2, 'Condiments', 'Sweet and savory sauces, relishes, spreads, and seasonings', 'condiments.gif');   So how can I insert all the rows simultaneously? If I use ";" I can insert row by row but I don't want to insert this way. Or If I delete ";" I get error.  Thanks in advance..


Great Expectations [is written vs has been written] by Charles Dickens

I had a grammar quiz at the university today.    One of the questions was:     "Great Expectations" ____ by Charles Dickens.      a) is written   b) has been written   c) was written    Undoubtedly, the c option isn't correct since the time (the publication date) isn't stated or implied.  I crossed the a option out because it is neither a general truth nor a law. It is not a well-known fact to use present simple here.  Finally, I have chosen b. I still have doubts if a is the only right option.   It is unclear to me. Could you clarify it? Any help would be appreciated.


Is it possible to use a cell text as a sheet reference in Google sheets. I have a spreadsheet with many sheets and want to reference a sheet name from text in a cell rather than having to put the sheet name in each time.


During this summer break, I want to use my time to broaden my knowledge of mathematics. I am a very motivated high school student searching for some challenging material to learn, and the two subjects I had in mind are complex analysis and probability theory.  For probability theory I already choose a book, but I am struggling a bit with finding the right complex analysis textbook. I already found two textbooks which seem pretty good to me:  by Sara Maad Sasane and  by Zill.  As to requirements for the book:   The textbook must not be too broad, since I only have 6 weeks to study intensively (yes, I know it's a challenge to study most of complex analysis in 6 weeks). The textbook must not require a lot of prerequisities other than knowledge of single variable calculus (not a course in proof writing) and must not be too rigourous (some pictures and intuitive explanations can come in handy).   I hope someone could give some advise as to if the books I found suit my needs, if someone has experience with those books or if someone knows a book other than the two I found which suit my needs better.  Thanks in advance.


My eth0 has gone and I don't have internet and network connection

I had internet connection, but when I upgraded my VGA and restarted my PC then everything for eth0 has gone.     When I used ifdown:     ifdown: interface eth0 not configured   Is there something I could do?    EDIT: Content of /etc/network/interfaces    auto lo iface lo inet loopback   When I ifconfig I don't have these lines:    inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0 inet6 addr: fe80::219:5bff:fe5e:a5e/64 Scope:Link   In the Terminal typed:  sudo gedit /etc/network/interfaces   and then added these lines in the bottom:  auto eth0 iface eth0 inet dhcp   then I typed:    sudo ifdown eth0 sudo ifup eth0   when I send the second command I received the below message:    No DHCPOFFERS received No working leases in persistent database - sleeping   Any help?


Background: In Bash, $# represents the number of arguments, and # starts a comment.  Consider the following Bash script:  # This is a comment while [[ $# -gt 0 ]]; do     echo $1     shift done   Note that the syntax coloring by StackExchange here is incorrect! The # in $# is being treated as a comment marker.  Vim, for example, gets it right:    Can the StackOverflow syntax highlighting engine be improved to fix this?  (This is a partial .)    Keywords because searching for symbols is a pain: dollar hash, dollar octothorpe, dollar pound, dollar number.


Access to ArrayList in Map in a different Class

I have a class Box, and in Box there is an Map<Integer, ArrayList<String>> smallBoxArr = new HashMap<>();  If I want to store Strings in the smallBox, I use put(boxId, "store String");  Now in my Main Class, I want to get the length of a specific smallBox.  My code in Main:  Box box = new Box(); int boxId = 5; System.out.println(box.smallBoxArr.get(boxId).size());   But I always get a NullPointerException.


Video performance under a virtualized OS

I'm going to be building a rather powerful desktop computer in the coming months, and I'm toying with the question about how smooth of a gaming experience I might have if I were to virtualize my OS. I've read a few similar questions and answers on other sites like tomshardware, but the people asking the questions seem to either leave out specific details about hardware, or the answers assume low hardware.  To keep the question short, I'd like to know if there is much (I do expect some) inherent inefficiencies in gaming under a virtualized OS, assuming I have sufficient hardware resources to dedicate to the virtual machine? Say I have 32GB of ram and I give 16GB to just the gaming OS, and I am not running any CPU intensive processes in other machines, will there be a sizable performance penalty on the gaming side just because of the hypervisor layer between the gaming OS and the hardware? How is 3d video performance in virtualized environments (again assuming adequate CPU and RAM resources allocated)? I don't anticipate playing anything super taxing like Titanfall (or anything even remotely equivalent in video requirements) but I wouldn't mind the capability of playing something more than the quality that WoW and SC2/D3 puts out should I feel the urge.  As for why I want to do this? I'm just asking "what if" at this point. I'm curious if it's even feasible; and if it is, I may find a benefit in doing this, because I want to have a system that can run several virtual machines doing specialized tasks (I'm a network administrator and want to be able to run various OSs at once without rebooting). It would be nice to have a simple host OS that has nothing installed on it other than the bare minimum required to host guest OSs, and then run my production on top of that, and have other servers running as guests doing various things like DNS, DHCP, Web, etc...


uniform convergence of exponential function on open interval

Let  $$ f_{n}: \mathbb{R} \xrightarrow{} \mathbb{R}, x \mapsto f_{n}(x) = \left( 1 + \frac{x}{n}\right)^{n} $$  Now we know that for all $x \in \mathbb{R}$ we have  $$ \lim_\limits{n \to \infty} f_{n}(x) = \lim_\limits{n \to \infty} \left( 1 + \frac{x}{n}\right)^{n} = \exp(x)  $$ pointwise. My question is now, whether the sequence $\{f_{n}\}_{n \in \mathbb{N}}$ converges uniformly to $\exp(x)$  That $f_{n}$ converges uniformly on any compact interval follows immediatley from Dini's Theorem. Does it also converges uniformly on any finite subinterval of $\mathbb{R}$?


Cannot do a `composer install` even though my minimum stability is listed as dev

I am trying to build the master branch in my project after updating to 8.5.0, but am being met with an error from composer (which I did not get on my develop branch):     The requested package drupal/focal_point 1.0.0-beta6 is satisfiable by   drupal/focal_point[1.0.0-beta6] but these conflict with your   requirements or minimum-stability.   In my composer file, I have:  "drupal/focal_point": "^1.0",   as well as:  "minimum-stability": "dev",   How can I fix this so TravisCI gets unstuck? It worked fine for the develop branch, and the master is now updated with it.


Why is there "Germany National Team", not "German National Team"?

Why is the team from Germany called "Germany National Team", not "German National Team"? On official Internet sites, it is the same for every official national team; Germany National, France National, Poland National, Russia National etc. etc. What truthfully bothers me is why not German, French, Polish, Russian etc?


Zend Server 5.6 Community Edition has Expired in 2014. Can it still be renewed?

My system is a 3-year-old legacy web app server. It is working fine at the moment.   Today, I got a ghost system error. I wanted to use the local Zend Server admin web to analyze it. But, I found it expired one month ago.  I have tried to get another trial (Community Edition) license to activate Zend Server.  But I found there's no more Community Edition license request on the official web page!  Is there any other way to get Community Edition License for Zend Server 5.6?


How do I install drop bars on my trek earl?

I'm new to doing bike stuff, but I want to install drop bars on my single speed 2012 Trek Earl, how would I go about doing so? What things would I need to take into account before getting started?


In 3.5,  possess:     Split (Ex)   Slashing and piercing weapons deal no damage to a black pudding. Instead the creature splits into two identical puddings, each with half of the original’s current hit points (round down). A pudding with 10 hit points or less cannot be further split and dies if reduced to 0 hit points.   Does this "half" indicate a current or maximum hit point total?


How do I create files in Finder without Terminal?

On windows, when you right click then you have option to create files.  I want to do that too on Mac, how can I do that without terminal?


Misuse of past perfect or just ignore it?

Why do I hear many Americans saying things like "I had ate all I could" or "I had went to the school earlier?" Anyone else notice this or am I being overly strict?


I am trying to install Windows 10 on my laptop into which I just put an SSD. I downloaded the ISO from the official Microsft page and I proceeded to do the installation from a USB drive, but the installation loops and does not let you install.  I leave you that video of reference to the problem that happens to me. I hope you can help me.


What would happen to a teaspoon of neutron star material if released on Earth?

I've read on NASA's page on neutron star that one teaspoonful of that star would weigh over 20 billion tonnes on Earth. If it was somehow possible to bring it to earth would it:   Burn and disappear during Earth atmosphere entry? Assuming we have 20 billion tonnes of mass occupying the volume of a teaspoon here on Earth, would it fall through the ground under its own weight?


How to prove that there are finitely many $n$ such that $f(1+1/n) = \frac{1}{n+1}$?

Let $f : \mathbb{C} \to \mathbb{C}$ be analytical. How does one prove that there are finitely many positive $n$ such that $f(1+1/n) = \frac{1}{n+1}$ ? A hint is given: think of the expression $\frac{z-1}{z}$.  I think this is a pretty hard homework assignment. Here's what I tried so far: Let $g(z) = \frac{z-1}{z} $ . Then $g(1 + 1/n) = \frac{1 + 1/n - 1}{ 1 + 1/n} = \frac{1/n}{1+1/n} = \frac{1}{n+1} $. So the given hint is probably indeed useful, but I'm not sure yet how.   Another thing I tried to use to obtain the solution was the given fact that $f$ is analytical. Let $f = g$. Then $f(z) = f(x+iy) = \frac{ x + iy - 1}{x+iy} = \frac{x+iy-1}{x+iy} \cdot \frac{x-iy}{x-iy} = \frac{x^2 - 2 i x y + y^2 + iy}{x^2 + y^2} = 1 + i \frac{y(1-2x)}{x^2 + y^2} $ . Now I have written $f$ in the form $ f = u + i v$, with $u,v$ being real-valued functions. So now we can use the Cauchy-Riemann Integral formulas: $ \frac{d}{dx} 1 = 0 = \frac{d}{dy} \frac{ y(1-2x) }{x^2+y^2} \implies \frac{y(1-2x)}{x^2+y^2} = c $. The other formula yields a similar result.   But now what? I still have no idea how to prove that there are finitely many positive $n$ such that the aforementioned equality holds. Should I use any of the results I already obtained? If so, how? If not, do you know how to prove this?


How to Import an Oracle dump version 5.1 into 12c?

I have .dmp files exported as version 5.1 and I need to import them on an Oracle 12c. I have no access to the original database to re-export setting the VERSION parameter.   This is the error I get:  ORA-39001: invalid argument value ORA-39000: bad dump file specification ORA-39142: incompatible version number 5.1 in dump file "/media/sf_Data /DUMP_MS/mydumfile.dmp"   What can I do?


Builder used same brand for lights and fan in 3 different places

The builder who built my house and a few other houses near me had put in a t and fan in my master room, my family room, and my neighbors family room.  It is not necessarily the exact same model but it is from the hampton bay family brand.  The remotes are almost identical.  Whenever I use the remote for one of the rooms it turns on / off the fan / lights in the other rooms..including my neighbors.  The other day we were sleeping with a dim light and a fan running.  Suddenly the light was increased freaking us out!  When we turned it off the same thing happened.  This went off and on for like 5 minutes.  The next morning the neighbor called us and mentioned it had happened to her.  Come to find out she was turning hers on and during that same time she was turning ours on as well.  Me turning ours off turned hers off as well...  Same issue with my family room fan and light.  When I turn it on upstairs in my master bedroom it also turns it on in our family room.  Its not a huge issue because the actual light switch has to be turned on to activate whether the fan / light can be controlled via the remote or not.  I just hate it since it causes issues with my other room and my neighbor.  What can I do ?


Footnotes numbered, with reference number and short reference text

For my thesis I need a special citation style:   all footnotes have to be numbered ascending after the footnote number the reference number has to be printed in brackets then the real citation should be printed     Currently I am using biber/biblatex and citestyle "authortitle" in the preamble:  \usepackage[backend=biber,  style=authoryear-icomp,%% Zitierstil mit Autorennamen + Jahr (Langversion) citestyle=authortitle, bibencoding=utf8, natbib=true, %% Bereitstellen von natbib-kompatiblen Zitierkommandos hyperref=true, %% hyperref-Paket verwenden, um Links zu erstellen backref=true, %% Seiten anzeigen, auf denen die Referenz vorkommt block=space, %% kleiner horizontaler Platz zwischen den Feldern isbn=false, %% ISBN nicht anzeigen, gleiches geht mit nahezu allen anderen Feldern url=false, %% Url-Feld wird ausgeblendet. Ausnahme: Online-Typ pagetracker=true, %% ebd. bei wiederholten Angaben (false=ausgeschaltet, page=Seite, spread=Doppelseite, true=automatisch) %refsegment=chapter, %% Arbeitet mit optionalen Referenzen die als Segmente am Ende eines Kapitels eingefügt werden (statt: refsection). %refsection=chapter % benutze automatisch Kapitel als Bibliographie-Abschnitt citetracker=true % Wird benötigt für kapitelweise Referenzen? ]{biblatex}   % Fußnoten sollen Autoren aufnehmen können. \usepackage{xpatch}   using the autocite command to create the footnote:  TEST \autocite[][10]{KitchenhamStuartGuideline2007}


I am on a Windows PC and tried connecting to AWS running Ubuntu. I tried opening a file using gedit, was unsuccessful. Someone suggested MobaExtreme. Then I had to install gksudo in the server and tried gedit in the MobaExtreme shell and this solved the problem.  What I am really wondering is:   Why couldn't I open gedit in the first place(This involved discussion about using ssh -X, and something regarding display not set) What does gksudo establish? (Can you elaborate on 'Owner is not the root'? I have no understanding of this concept).   Edit: Suggested merge answer only part of the question. I can accept the merge but I feel I'll not know other parts which I am curious about!


Transferring Data from SQL Server to SQL Server Express?

How do I transfer a database from a physical server running SQL Server 2012 to another server running SQL Server 2008 Express? The database was created by sa under SQL Server 2012.  Thank you.


on my account page, a link said I'm in the top 2% this week for reputation.  I looked at the list and it shows me having a change of +49287 in reputation.  Yet I'm back to my humble 358.  Just curious about what happened.


Let $F$ be a field and $\bar{F}$ be its algebraic closure. Is it true that $|\bar{F}:F|=\infty$ implies that the degree of the irreducible polynomials in $F[x]$ is unbounded?     I believe it is, and in this case an hint in the right direction for a proof would be enough, but I don't know where to begin


I have a newbie question  I have Greyhound tickets from Toronto,ON to NYC.  The first stop on this route is Buffalo NY.  I have individual tickets for each leg of trip (e.g. Toronto–Buffalo, Buffalo - Syracuse etc.).  My question is: Can I board the bus at Buffalo rather than at Toronto, as it turns out that works better with our trip plans?  (I Tried to contact Greyhound, but they are closed until Monday)


Cardinality of set of all orthogonal matrices over $\Bbb Z$

Let $S$ be the set of all $3\times 3$ matrices over $\Bbb Z$ such that the product $AA^t=I$. Then find $|S|$?  Taking $A=$\begin{bmatrix} a & b &c \\d & e& f\\g & h & i\end{bmatrix} we get $3$ relations $a^2+b^2+c^2=1;d^2+e^2+f^2=1;g^2+h^2+i^2=1;$  How should I count from here?


$P(X>0,Y>0)$ for a bivariate normal distribution with correlation $\rho$

$X$ and $Y$ have a bivariate normal distribution with $\rho$ as covariance. $X$ and $Y$ are standard normal variables.  I showed that $X$ and $Z= \dfrac{Y-\rho X}{\sqrt{1-\rho^2}}$ are independent standard normal variables.  Using this I need to show that   $$P(X >0,Y>0) = \frac14 + \frac{1}{2\pi} \cdot\arcsin(\rho).$$


How can I give myself an infinite amount of items for a rapid-fire dispenser?

I've been messing around on Minecraft with Not Enough Items, trying to get an ∞ amount of items so that I can make a rapidly-firing dispenser that always shoots and doesn't run out of ammo. I mean when people have like 111 spawn eggs or something in their inventory.   I know how to make a redstone clock. But I try to get an ∞ amount of fire charges, it says in chat it gave me an ∞ amount of fire charges, but I don't have it in my inventory.   Any suggestions?


$G$ is a group ִ$a\in G$ we know that $O(a)=n$ then $O(a)=O(a^{-1})$

I have the following question :  $G$ is a group  ִ$a\in G$ while $O(a)=n$ then $O(a)=O(a^{-1})$  What I did :  We know that :  $(a^n)=e$  we know that   $(a^n)^{-1}=(a^{-n})^=(a^{-1})^n$  Well, I don't know that to do now. I'm not sure I approach this correctly.  Any ideas?  Any help will be appreciated.


New functionality to copy code to the clipboard for "Stack Overflow" in Spanish

New functionality to copy code to clipboard I made an  about the possibility of implementing a new feature, that is, copy code through a button. I decided to translate it into English to share it here.  I have already noted that such functionality is already available in Stack Overflow in English, but is not yet available in the Spanish version.   Here I share the translated version  I wish that a function that allows code fragments to be copied to the clipboard could be implemented in Stack Overflow; published in the questions and/or answers. That is, instead of being done on a PC, Tablet_ or Smartphone_ in a way similar to this:  Simply press a button to allow the same action described above. That is, something similar to the following example:  So, my motivation on this issue is to make it easier for people (including me) to ask questions and answers to copy the code safely and test them on site quickly, in addition to reducing the famous human errors, which is when We select code snippets, especially if they are too long. These would be the questions for a possible proposal:  What possibilities exist or to whom should we go to propose the implementation of the function described above?  And in case it is not possible, what would be the possible reason?  And finally, taking into account all the above, would you agree that this new feature should be implemented at Stack Overflow?


changing screen resolution programmatically

IDE: VS2010, c#.net 4.0, winforms    My application is build on 1366x768 screen resolution. And I have another samsung LCD, which is having highest resolution -> 1920x1080, but in option list (Right click Desktop->Screen Resolution) it is not having 1366x768 resolution, So is there any way to force this lcd display to 1366x768 resolution so my application can get fits to that LCD, Operating system is Windows 7.


Using a variable (such as t) to label a graph axis

I currently have a graph with no numbers on the axis and I wish to have '0' and 't' on the x axis where '3' and '11' should be, thanks in advance. Current graph:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usepackage{tikz} \begin{document}  \begin{tikzpicture} \begin{axis}[domain=1:11, xmin=0, xmax=15, no marks, samples=100, xlabel=time $t$, ylabel=space $x$] \pgfplotsset{ticks=none} \addplot {sqrt(x)+sin(\x r/2)}; \end{axis} \end{tikzpicture}  \end{document}


how get length or size of Resultset in java

I want to know how many rows in result set after executing the particular query  ResultSet rs = ps.executeQuery();   how get the size of rs??? thanx in advance


Is there a way to tab through all active windows in Mac OS (Mojave 10.14.5) like in Win 7,8,10? I would like to do this on my work computer, so a native solution would be appreciated; rather than one where I would have to install a 3rd party service.  Sorry if this has been asked/answered before; I couldn't find a proper response.  Thanks


I'm using this code in my script to move a gameobject:  void Update () {      // Move the object forward along its z axis 1 unit/second.     transform.position = new Vector2(transform.position.x , transform.position.y - 0.2f);  }   On screen the movement is a bit jaggy and not fluent.  Is there a different approach?  Hint: Please do not suggestion to use rigidbody functions since adding rigidbody would disrupt everything I did.  Can I use FxedUpdate?  Mirza


Prevent www.win32.cn/g9 being run automatically

I have recently bought an a4 tech wireless mouse + keyboard. Everything was working fine, but when i started cmd as admin, i started getting the run command automatically and it executes www.win32.cn/g9 which opens my browser to get me on a4 tech web page. Can you please suggest how can i stop this.


Interpretation of regression coefficients after power transform (possibily with polynomial transform and PCA)

In general I standardize my features before regression by subtracting the mean and dividing by unit variance: $$ \hat{X} = \frac{X - \bar{X}}{Var(X)}$$ With this basic standardization, interpreting the regression coefficients is quite straight-forward. Now I've got some not-really-normal-dist data, for which a power transform is a good choice. Since some features contain negative values, I chose to use a Yeo-Johnson transformation. (I could also transform the features containing neg. values to all-positive features if Box-Cox helps the cause...) After this transform, the data is standardized additionally, again by stubtracting the mean and dividing by variance. Question: Is there an easy way to interprete the regression coefficients after a power transform (may it be Yeo-Johnson or Box-Cox...)? A similar question is asked  and the  helps with the fact that feature scaling changes the coefficient interpretation in general, but it is specific to a transformation with the 4th root.  beyond the question After the power transformation, I apply polynomial transformation of degree 2 or 3 with interaction terms and then perform a feature extraction with a PCA to reduce the dimensionality of the problem. Finally the design matrix is passed to a regression algorithm. I guess this further reduces the intepretability for both only standardizing and/or power transform? Any other way to interprete the coefficients by using words? (A graphical interpretation using ICE-plots and the like is imho still fairly easy.)


Personal counter is unintended reset after itemize environment

I created a counter named foo to add up so money which I want to get from my boss. When having an itemize environment the counter is reset accidently. Does anyone know why or how to solve problem (so tell my what I am doing wrong ;-) )?  I added comment lines to clear up what I want to do. Everytime I add a value of money, the sum is created.  \documentclass{scrbook} %\usepackage{eurosym} %\newcommand{\eu}[1]{\advance\foo by #1 \EUR{#1}} \begin{document} Create Counter: \newcount\foo  Give counter: \the\foo  Increase by three: \advance\foo by 3  Give result: \the\foo  \begin{itemize}     \item Increase by seven: \advance\foo by 7     %\item \eu{7}     \item Give result: \the\foo \end{itemize}  Give result: \the\foo \end{document}     The PDF looks like:  Create Counter:  Give counter: 0  Increase by three:  Give result: 3  • Increase by seven:  • Give result: 10  Give result: 3  I use texniccenter with Miktex 2.9 on a Win7 64 machine.


Why is "If Condition" inside onClick not working when using Firebase Database in Android Studio?

a2.setOnClickListener(new View.OnClickListener() {     @Override     public void onClick(View v) {         //below         DatabaseReference ref = FirebaseDatabase.getInstance().getReference();         ref.addListenerForSingleValueEvent(new com.google.firebase.database.ValueEventListener() {             @Override             public void onDataChange(com.google.firebase.database.DataSnapshot dataSnapshot) {                 ra2 = dataSnapshot.child("a2").getValue(String.class);             }              @Override             public void onCancelled(DatabaseError databaseError) {              }         });          //fetching face value         ref.addListenerForSingleValueEvent(new com.google.firebase.database.ValueEventListener() {             @Override             public void onDataChange(com.google.firebase.database.DataSnapshot dataSnapshot) {                 rface = dataSnapshot.child("face").getValue(String.class);             }              @Override             public void onCancelled(DatabaseError databaseError) {              }         });          //fetching nothingdb which is equals to "zero" in Firebase by default.          ref.addListenerForSingleValueEvent(new com.google.firebase.database.ValueEventListener() {             @Override             public void onDataChange(com.google.firebase.database.DataSnapshot dataSnapshot) {                 nothing = dataSnapshot.child("nothingdb").getValue(String.class);             }              @Override             public void onCancelled(DatabaseError databaseError) {              }         });          //fetching addeddb which is equals to "one" in Firebase by default.          ref.addListenerForSingleValueEvent(new com.google.firebase.database.ValueEventListener() {             @Override             public void onDataChange(com.google.firebase.database.DataSnapshot dataSnapshot) {                 added = dataSnapshot.child("addeddb").getValue(String.class);             }              @Override             public void onCancelled(DatabaseError databaseError) {              }         });          //starting if condition         if (ra2==nothing){              if (rface==nothing){                 a2.setBackgroundResource(R.drawable.rounded);{                     Firebase refChild = ref2.child("a2");                     refChild.setValue("rounda2");                     refChild = ref2.child("face");                     refChild.setValue("one");                 }                  else if (rface==added) {                     a2.setBackgroundResource(R.drawable.crossed);                     {                         Firebase refChild = ref2.child("a2");                         refChild.setValue("crossa2");                         refChild = ref2.child("face");                         refChild.setValue("zero");                     }                 }             }         });     } });   I am trying to use the above written code so that once I click on the button the background image of the button is changed based on the data present in the Firebase but the If Condition is not working for reason.   It just ignores if (ra2==nothing){ and also the next if conditions.


For exemple,in Ubuntu 14:04 you can add a link from the launcher to the desktop and then right-click and open properties an add "google-chrome --password-store=basic" in  Command: But this is not possibly in Ubuntu 20:04. I have tried to go to Settings --> Application --> Chromium, but there are no way to add something in Command: as above. /Cheers


Showing that, for any point set in $\Bbb{R}^d$, it is possible to order them so that every consecutive three determine an acute angle

I am trying to solve this question.  Let $F$ be a point set in $\mathbb R^d$ of size $n$. Prove that it is possible to denote the points of $F$ as $X_1,\dots, X_n$ in such way that, for any $i\in \{2,\dots, n-1\}$, the angle $\angle X_{i-1}X_iX_{i+1}$ is acute.  I think I have to use permutation for this but I am unable to relate to it. Thanks in advance.


International transit through Istanbul, and passport validity

I am a British citizen travelling from Dubai to Stansted with a stop in Istanbul. I will have 5 months validity on passport. Will this be acceptable. I am not leaving the airport.


Using "And" at the beginning of a sentence

Since I first learned English, I have been holding this understanding that "and", as a conj. but unlike "but",  can only connect two clauses, not two sentences ended with periods.  But recently, I have seen so many prints, either in entertainment or in academia, where "And" is popularly used in the beginning of a sentence. It seems like the author is trying to connect the sentence just right before and the sentence following "And" in some intended meaning which I don't quite get.  I was wondering if I have been wrong all the time, or if there is a new trend that I fail to understand and accept? How to understand such usage of "and" in rigorous English grammar? If I am right, why it is used differently from "but" in terms of what I mentioned at the beginning of this post?


saving ubuntu settings to load into a new machine

I will soon be receiving a new machine (yes, I need the improved performance!) how can I transfer over all of my current Ubuntu settings and files to the new machine.  This is very important because I have many packages installed from apt-get, python packages, emacs packages and so forth. I really want to avoid installing all of the same packages over again. I am currently running Ubuntu 12.04 LTS.   What is the best solution in transferring my current ubuntu settings and files to a new machine?   Let me know if you need more information. All help is greatly appreciated!


segmentation fault (core dumped) occurs when I alter a string

I'm trying to build a function in C that changes the characters 'f' and/or 'o' of a string to 'x'. For some reason I keep getting a segmentation fault (core dumped) when i run the program, even though it compiles without issue. I understand that a segmentation fault occurs when the program tries to access a location in memory that it doesn't have access to, however, I don't see what in my code could be causing this issue. here's my code:  #include <stdio.h>  void censor(char p[]);  int main(){       censor("foodfool");     return 0; }  void censor(char p[]){      int i;     for(i = 0;p[i] != '\0';i++){         if(p[i] == 'f' || p[i] == 'o')             p[i] = 'x';         printf("%c", p[i]);           }      printf("\n"); }


.NET create scheduled task on server fails with E_ACCESSDENIED

I have an ASP.NET website (in C#) that takes in user data and then attempts to create a windows scheduled task.  Of course, this works great on the DEV machine, but fails to run on the server.  I'm trying to figure out what permission(s) are required on the ASPNET user (or anonymous web user) to create tasks.  The error is:  Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))  Stacktrace:      at MyScheduler.NewWorkItem(String TaskName, Guid& rclsid, Guid& riid, Object& obj)      at MyScheduler.CreateTask(String name)   I've done some searching, and the suggested resolution is to use the web.config 'impersonate' flag to force the application to run as a user with sufficient permissions, as opposed to the ASPNET account which may not have those permissions.  Example:  <system.web>     <identity impersonate="true" /> </system.web>    Unfortunately, this does not seem to resolve the issue.  From the documentation I read, this should run as the anonymous web user, but it seems that user does not have enough permissions.  I altered the setting to specify a specific domain user that happens to be an administrator on the machine.  Example:  <system.web>     <identity impersonate="true" userName="WindowsDomain\YourUserName" password="YourPassword" /> </system.web>    Doing this allowed the application to successfully create the Windows Scheduled Task.  So, obviously, with the correct set of Windows 2003 permissions I can get the app to perform as it does in the development environment.  However, I'm not about to place the network or machine administrator account's user credentials in plain text on a Web.config file.  Does anybody happen to know what permissions exactly need to be set in order to get the ASPNET account to behave as desired?  EDIT:  The Win32 API is being used to create scheduled tasks.


I know about the history command and Ctrl+R and !, but there is still something I find frustrating when working with bash. Let's say I start typing "ssh username@serv" and then I've just remembered that, about a week ago, I had already typed "ssh username@server-012.somecompany.somedomain.etc.co.uk". If I was typing this in Windows, I would immediately simply press F8, and it would complete my command. In bash, is there something equivalent, or do I have to press Ctrl+u, Ctrl+r and re-type what I had just typed? Continuing from the above, let's say I typed "ssh username@serv" F8 and it recalled "ssh username@server-012.anothercompany.somedomain.etc.co.uk" instead of the one I was looking for. I would then simply press F8 again and it would cycle through the history, starting from what I had already typed, and it would find the command I was looking for. Is this also possible in bash?


Error correction term has both positive and negative loadings - is that OK?

I did a Johansen test. The max eigenvalue test resulted in 5 cointegrated variables with contegration rank being 1. The trace test resulted in 5 cointegrated variables with contegration rank being 3.   Below is the estimated VECM with cointegration rank of 3:  cajorls(ca.jo(mydata, ecdet="none", type="trace", spec="transitory", K=29),r=3) $rlm  Call: lm(formula = substitute(form1), data = data.mat)  Coefficients:               BIST100.d   Gold.d      Oil.d       TRY_USD.d   USD_EUR.d  ect1          -4.843e-02   2.939e-05   1.634e-04  -7.808e-07   9.200e-07 ect2          -1.780e+02   1.322e-01   2.673e-01   5.668e-04   1.891e-03 ect3          -1.217e+01   2.622e-02   1.023e-02  -1.245e-04   4.935e-04 constant      -1.335e+04   1.941e+01  -1.246e+01   2.701e-01   1.689e-01 BIST100.dl1   -2.772e-02   2.683e-05  -1.036e-04  -4.862e-06  -2.745e-07 Gold.dl1       9.454e+01  -4.467e-03   6.449e-02   4.761e-03  -3.065e-04 ......          ......      ......        ....       .....     ....... $beta                 ect1          ect2          ect3 BIST100.l1  1.000000e+00  0.000000e+00  4.336809e-19 Gold.l1    -1.136868e-13  1.000000e+00  0.000000e+00 Oil.l1     -3.197442e-14  2.775558e-17  1.000000e+00 TRY_USD.l1  1.152179e+05 -4.851482e+01 -5.183614e+01 USD_EUR.l1  8.984704e+04 -8.461897e+01 -3.174152e+02   I expect an error correction term of the format $y_1-\beta_2 y_2-\beta_3 y_3-\beta_4 y_4-\beta_5 y_5$. Or equivalently, all signs being "$-$" in the above ect1, ect2, ect3 terms. All are not "$-$", e.g., for the 1st ect1: -4.843e-02, +2.939e-05, +1.634e-04, -7.808e-07, +9.200e-07. There are "$+$" and "$-$" coefficients in the error correction terms above.  Does this show wrong unsuitable formulation in VECM? The cointegration rank is either 1 (max eigen) or 3 (trace). Both present "$+$" and "$-$" coefficients in error correction terms.  Below is the estimated VECM with cointegration rank of 1:      cajorls(ca.jo(mydata, ecdet="none", type="eigen", spec="transitory", K=29),r=1) $rlm  Call: lm(formula = substitute(form1), data = data.mat)  Coefficients:               BIST100.d   Gold.d      Oil.d       TRY_USD.d   USD_EUR.d  ect1           6.592e-03  -1.138e-05   1.275e-05  -1.830e-07  -8.523e-08 constant      -1.035e+04   1.782e+01  -1.999e+01   2.857e-01   1.334e-01 BIST100.dl1   -5.707e-02   5.970e-05  -1.134e-05  -5.482e-06   6.044e-07 ......          ......      ......        ....       .....     ....... $beta                  ect1 BIST100.l1      1.000 Gold.l1     -5829.934 Oil.l1      -1100.681 TRY_USD.l1 455111.151 USD_EUR.l1 932542.892   Any idea? Can I go with the usual ritual vec2var(ca.jo(...), r=1 or r=3) or something must be handled properly?


Does the set of matrix commutators form a subspace?

The following is an interesting problem from Linear Algebra 2nd Ed - Hoffman & Kunze (3.5 Q17).   Let $W$ be the subspace spanned by the commutators of $M_{n\times n}\left(F\right)$: $$C=\left[A, B\right] = AB-BA$$  Prove that $W$ is exactly the subspace of matrices with zero trace.  Assuming this is true, one can construct $n^2 - 1$ linearly independent matrices, in particular $$[e_{i,n}, e_{n,i}]\ \text{for $1\le i\le n-1$}$$ $$[e_{i,n}, e_{j,n}]\ \text{for $i\neq j$}$$ where $e_{i,j}$ are the standard basis with $0$ entry everywhere except row $i$ column $j$ which span the space of traceless matrices.  However, I have trouble showing (or rather, believing, since this fact seems to be given) that the set of commutators form a subspace. In particular, I am having difficulty showing that the set is closed under addition. Can anyone shed some light?


How can I decrease the indent of itemize inside a column in Beamer

I am using a package Beamer to create my presentation file. But I need to have some itemize information along with a table, in two different column. But the final shape is not good. I want to reduce the left indent of my itemize itmes. Can you help me?  Here is my code:       \documentclass[slidestop,Liberation serif]{beamer}      \setbeamercovered{transparent}      \usecolortheme{lily}      \usepackage{lmodern}      \usepackage[english]{babel}      \usepackage{mathrsfs}      \usepackage[latin1]{inputenc}      \usepackage{graphics}      \usepackage{graphicx, color}      \usepackage{subfigure}      \usepackage{graphicx}% http://ctan.org/pkg/graphicx      \usepackage{booktabs}      \usepackage{multirow}      \usepackage{beamerthemeshadow}       \begin{document}      \begin{frame}%[shrink=20]     \begin{columns}     \begin{column}{6cm}     \begin{itemize}%[leftmargin=0cm]     \item text 1.     \item text2.     \item text 3.     \item text 4.     \end{itemize}     \end{column}     \noindent     \begin{column}{4cm}     \begin{table}         \begin{tabular}{cc}         \toprule         \textbf{ A} & \textbf{ B} \\         \midrule         A1    & B1 \\         A2    & B2 \\         A3    & B3 \\         A4    & B4 \\         A5    & B5 \\         A6    & B6 \\         A7    & B7 \\         A8    & B8 \\         A9    & B9 \\         A10   & B10 \\         \bottomrule         \end{tabular}%     \end{table}%     \end{column}     \end{columns}     \end{frame}      \end{document}


can someone figure out how to fix this code?

this is my code .. please i can't find why it's not working..  (MyTriangle Class:)  public class MyTriangle { private MyPoint v1; private MyPoint v2; private MyPoint v3;  public MyTriangle(int x1,int y1,int x2,int y2,int x3,int y3){   v1.setPointXY(x1, y1);   v1.setPointXY(x2, y2);   v1.setPointXY(x3, y3); }  public MyTriangle(MyPoint v1,MyPoint v2,MyPoint v3){   this.v1.setPointXY(v1.getPointX(), v1.getPointY());   this.v2.setPointXY(v2.getPointX(), v2.getPointY());   this.v3.setPointXY(v3.getPointX(), v3.getPointY()); }   public String toString(){ return "Triangle @ " + v1.toString()+ ", " +   v2.toString() + ", " + v3.toString() ; } public double getPerimeter(){return v1.distance(v2) + v2.distance(v3)+ v3.distance(v1); } public void printType(){   if(v1.distance(v2) == v2.distance(v3) && v2.distance(v3) == v3.distance(v1))  System.out.println("equilateral\n");   else if(v1.distance(v2) == v2.distance(v3) || v2.distance(v3) == v3.distance(v1) || v1.distance(v2)==v3.distance(v1))   System.out.println("isosceles\n");   else System.out.println("scalene\n");   } }   (MyPoint class:)     class MyPoint{  private int x; private int y; public MyPoint(int x,int y){ this.x=x; this.y=y; } public void setPointXY(int x,int y){ this.x=x; this.y=y;  } public void setPointX(int x){ this.x=x; } public void setPointY(int y){ this.y=y;} public int getPointX(){return x;} public int getPointY(){return y;} public double distance(int x,int y){ return Math.sqrt(Math.pow(this.x - x,2.0)     + Math.pow(this.y - y   ,2.0)        );     }     public double distance(MyPoint p){    return Math.sqrt(Math.pow(this.x - p.x,2.0)     + Math.pow(this.y - p.y      ,2.0)    );     }     public String toString(){ return "("+x+","+y+")";}  }   (the test class:)     public class TestMyTriangle {  public static void main(String[] args){ MyTriangle t1=new MyTriangle(2,3,4,1,3,5); MyPoint p1=new MyPoint(2,2); MyPoint p2=new MyPoint(3,3); MyPoint p3=new MyPoint(1,1); MyTriangle t2= new MyTriangle(p1,p2,p3); System.out.print(t1.toString() +  " With perimeters " + t1.getPerimeter() +  " of type: "); t1.printType(); System.out.print(t2.toString() +  " With perimeters " + t2.getPerimeter() + " of type: "); t2.printType(); }     }   that is the error it's giving:  Error:  Exception in thread "main" java.lang.NullPointerException at MyTriangle.<init>(MyTriangle.java:7)     at TestMyTriangle.main(TestMyTriangle.java:3)


__init__ function layout in python class

Type 1 :  class Demo(object): """docstring for Demo"""     def __init__(self, arg):         super(Demo, self).__init__()         self.arg = arg   or Type 2 :  class Demo(object):     def __init__(self, arg):         self.arg = arg   I have used Type 2 and i have no doubts in it.what does super(Demo, self).__init__()  mean in Type 1 ? and What does it do ?


Does anyone know how to kill this unused secret boss/enemy?

In Nintendo Nightmare, one has the ability to use cheat codes which are lines of code within Game Maker's system (the software has a function specifically for this and the game uses it).  This led to me looking at a few of the assets, one of which caught my attention very deeply. There appears to be a hidden boss with the object name "obj_bigchampi". It appears to be like any of the other big chu-chu monsters in the dungeons of the second part, except it has a mushroom textured band around the middle section of the body. It also randomly spawns boulders on top of the player (which are nothing more than the kind that block paths, thereby immobilizing the player and utterly ruining the camera's angle).  I'm trying to figure out how to kill it (beyond just cheating its life to 0).  I've tried all of link's weapons and a few of the weapons lying around hyrule field. Does anyone have any idea how to kill this thing? It seems like it is invincible, and the rock attack makes it seem even stranger.  Also here is an image of the boss. I think there has to be a way to remove its armor. I just cannot seem to determine how.    Bonus points for whomever can identify what sort of abomination that thing is supposed to be!


I wanted to ditch GNOME DE and install KDE Plasma (more likely Kubuntu), I did it with tasksel but I fell asleep beacuse it took so much and when I woke up my laptop was turned off.  When I booted it the DE woudln't load, so I switched to other desktop (Ctrl + Alt + F2) I uninstalled KDE, and when I rebooted of course it redirected me to tty1 with no DE.  The problem is that I have no internet interface, I'm in loopback, I connected it with wired ethernet and there is no amber light blinking, just the status light that i have something in the port.  I tried to enable networking with recovery and still nothing.  How can I activate networking and finally install KDE Plasma correctly?  I'm on Ubuntu 18.04


Measure Convergence Version of Lebesgue Dominated Convergence Theorem

I want to prove that LDCT(Lebesgue Dominated Convergence Theorem) continues to hold if I replace the hypothesis $f_n \to f$ (convergence pointwise) with $f_n\to f$ (convergence in measure):     $$\int fd\lambda=\lim_{n\to\infty}\int f_nd\lambda.$$


How do I execute command to avoid interference from the shell

Sometimes a same command is provided by shell-builtin as well as other file/package. Example:  $ type -a printf kill printf is a shell builtin printf is /usr/bin/printf kill is a shell builtin kill is /bin/kill   And while executing command, I sometime face some difficulties or command doesn't work as expected.  Example from man kill:  -L, --table               List signal names in a nice table.   And If I try from terminal, it doesn't work:  $ kill -L bash: kill: L: invalid signal specification   This is because kill is executing as shell-builtin and it has no such feature/option.  So, How do I execute command properly to avoid interference from the shell?  Note: Here kill is only used to give an example. You may have difficulties with other command(s) that have interference from shell


Anyone know a technique for blending these two smoothly? It's a sword handle attaching to guard

I tried bridging, it kind of works but ruins the normals, I also tried extruding and the "to sphere" function. That was even worse. Thanks.


In Final Fantasy VI what is the best grinding place Pre World of Ruins?

Details: SNES, Cartridge reads III But apparently its VI Since I'm in America. I've just got to South Figaro (Not my first run) And I need a place to grind so I don't get my ass kicked on Mt. Kolts. (I'm keeping locke dead until I get Odin.)


How to make this shadow in Photoshop for object which lifts high enough to allow light to pass through in one area?

Ever since I found designs that has this warped shadow effect I couldn't stop trying it out and see if I could do it. I've already done my research and I can't seem to get it perfectly. I'm trying to achieve this:   I'm trying to achieve that shadow effect below the large image. It's on the green background. But so far this is what I came up with:    I don't think it's the same as the first image. Well, it's not really the same cause the shadow on the first picture is on a green background but I'm saying, it's really not perfect like the first one. Please tell me how to make this perfectly. I know there are a lot of ways to achieve this but I am really running out of ideas. I already tried every method I know of.  I already checked the said "duplicate". It's quite not the same as what I'm trying to achieve. I wanna achieve the first image's shadow PERFECTLY not similarly. I've already gotten it similarly now I wanna achieve it perfectly.  Here's more of what I came up with:    Okay, so this question is about modifying curved shadows to simulate a bulge that lifts high enough for some light scatter to soften the middle of the shadow. - user568458  ^ that is exactly the problem. Thank you for pointing it out for me user568458   An update:    It's still not perfect but this is what I came up with trying what user568458's suggestion.


L'Hospital's Rule:  If ${f(x)}\over{g(x)}$ is either $0\over0$ or $\infty\over\infty$, then the $\lim_{x\to \infty}$${f(x)}\over{g(x)}$ $=$ $\lim_{x\to \infty}$${f'(x)}\over {g'(x)}$.  What I want to know is if the converse is true.  In other words, if $\lim_{x\to \infty}$${f(x)}\over{g(x)}$ $=$ $\lim_{x\to \infty}$${f'(x)}\over {g'(x)}$, then is ${f(x)}\over{g(x)}$equal to one of  $0\over0$ or $\infty\over\infty$?  By this I mean that there does not exist a case in which L'Hopital does not apply yet gives the correct answer. It is not a repeat of another question, as many have suggested.  I would ask those people to take a look at the question that they have said I have repeated.  These are two different questions, and it surprises me that they could have been confused.


Can't boot to Windows anymore after removing Grub on a Netbook

Today I decided to try out Fedora by booting it from USB. I liked the OS, and decided I wanted to install it to my hard-drive. I couldn't complete the installation because I needed to free up a partition.  I booted back into Windows to view my Disk Management and free up a partition. I decided to re-format a partition that had a linux OS in it that I no longer used. I used to boot into this OS using Grub.  However, when I reformatted the disk, it seems to have deleted most of the grub files, but when I power up my laptop, I'm getting an "Error 15" message which I think is because Grub cannot find the OS files to boot because I deleted them.  My problem now is that I can't boot back into Windows, I can only boot from USB ( I have no CD drive as I'm using a netbook ).  I read online that to remove the Grub bootloader I must boot into Windows and run a few commands in recovery mode to reset the bootloader. Since I can't boot into Windows, and have no CD drive, this option doesn't seem like it's going to work.  Any advice for me? I'm quite new to Linux, and currently my Netbook can only boot from USB and Windows ( 7 by the way ) is currently inaccessible.  I'm sorry if this isn't the right place to post this, but I'm really quite stuck!  Any suggestions are appreciated, I've been Googling for hours now!  Thanks   EDIT: To sum the question up: Is there a way to remove the Grub bootloader without entering Windows? For example can I boot something from USB and remove it from there?


Spellling and grammmar issues are overemphasize

tldr; Don't bump minor edits for old posts.  While we can all agree that if you notice questoin in a post, it should be corrected to question, I think we can all also agree that correction shouldn't bump the post back to the active list.  If the edit is less than 30 characters, is over 1 year old, and was not from the owner of the post, then we shouldn't be bumping those posts. Most editors will not change a post by more than 30 characters when going through doing "maintenance".  Not only is their work hampered by the fact that they accidentally bump every post they fix, browsing user time is wasted reviewing an "active" post which went from questoins to questions and was asked 3 years ago.  Limiting the active bump to old posts which were edited by non OP users containing changes with less than 30 characters of difference will    allow editors to mass edit small changes with ease increase the overall grammar and spelling of the exchange save user time from reviewing non active posts incentivize users to review posts that are turning a year old to fix spelling and grammar


Is there a way to switch the mesh selection mode by a shortcut?

Is there a shortcut for switching between these three modes?


Who has the winning hand in Texas-holdem (different full house hands)

The table cards were Q,Q,9,9,4  All four suits were on the board.  Player one had Q,3.  Player two had 9,8.  Which player wins?


Remove one Ubuntu installation using another

I have two installations of Ubuntu 15.10 on my laptop, and I want to get rid of one of them. How can I remove one of them? I've seen a lot of answers to related questions, but they all deal with how to install from a startup disk or something like that, and wipe the hard drive. I want to keep one installation of Ubuntu, and remove the other.


How to evaluate improper integral $\int_{0}^{\infty}\frac{\tan^{-1}{x}}{e^{ax}-1}dx$?

I'm trying to evaluate the improper integral,  $$I(a)=\int_{0}^{\infty}\frac{\tan^{-1}{x}}{e^{ax}-1}\mathrm{d}x,~~~\text{where }a\in\mathbb{R}^+.$$  Does this integral have a simple closed form expression? And if so, how best to obtain it?    My attempt  My first idea was to integrate by parts using $f=\tan^{-1}{x}$ and $dg=\frac{\mathrm{d}x}{e^{ax}-1}$, with the hope that the resulting integral would be amenable to solution by differentiating under the integral sign. So I found the indefinite integral,  $$\int\frac{\tan^{-1}{x}}{e^{ax}-1}\mathrm{d}x=\tan^{-1}{x}\left(\frac{1}{a}\log{(1-e^{ax})}-x\right)-\int\left(\frac{\log{(1-e^{ax})}}{a(x^2+1)}-\frac{x}{x^2+1}\right)\mathrm{d}x,$$  but then I realized that this would result in an imaginary boundary term for the corresponding definite integral over $[0,\infty)$ since,  $$\begin{cases}\lim_{x\to\infty}\tan^{-1}{x}\left(\frac{1}{a}\log{(1-e^{ax})}-x\right)=i\frac{\pi^2}{2a},\\ \lim_{x\to0}\tan^{-1}{x}\left(\frac{1}{a}\log{(1-e^{ax})}-x\right)=0.\end{cases}$$  I want to avoid complex variables if at all possible, so I don't know if I want to continue down this route.  Can anyone offer any hints or suggestions?    CORRECTION: As Vladimir pointed out, the correct anti-derivative is actually,  $$\int\frac{\tan^{-1}{x}}{e^{ax}-1}\mathrm{d}x=\tan^{-1}{x}\left(\frac{1}{a}\log{(e^{ax}-1)}-x\right)-\int\left(\frac{\log{(e^{ax}-1)}}{a(x^2+1)}-\frac{x}{x^2+1}\right)\mathrm{d}x.$$  Then, since,  $$\begin{cases}\lim_{x\to\infty}\tan^{-1}{x}\left(\frac{1}{a}\log{(e^{ax}-1)}-x\right)=\frac{\pi}{2}\cdot0=0,\\ \lim_{x\to0}\tan^{-1}{x}\left(\frac{1}{a}\log{-e^{ax}-1)}-x\right)=0,\end{cases}$$  we have,  $$I(a)=-\int_{0}^{\infty}\left(\frac{\log{(e^{ax}-1)}}{a(x^2+1)}-\frac{x}{x^2+1}\right)\mathrm{d}x.$$


In my Android ZTE, I'm trying to upload things. Let's say, I'm uploading a resume, I will get a message saying it can't be delivered due to low memory.  I have deleted things like games and pictures that I thought consumed my memory, but still, I get that message.  How do I increase my phone's free flash memory?


we have huge file as  du -sh *  7.7G    HDP-2.6.5.0-centos7-rpm.tar.gz   and we want to separate the file to 5 files as  HDP1 HDP2 HDP3 HDP4 HDP5   and later I want to revert all HDP* to HDP-2.6.5.0-centos7-rpm.tar.gz  how to separate the file - HDP-2.6.5.0-centos7-rpm.tar.gz to 5 files ?  the aim of this task is to transfer the files by network  because if we transfer file that more then 5G , then we faced transferring problem


Can I get the same column twice in separate joins?

I have the following function:  public function getEventsBySportId(int $id) {     $query = $this->pdo->prepare(         ' SELECT *    FROM calendar.events a   JOIN sports b      ON a._sport_id = b.id    JOIN teams c      ON a._home_id = c.id    JOIN teams d      ON a._guest_id = d.id '     );     $query->execute();     $result = $query->fetchAll(\PDO::FETCH_OBJ);     echo '<pre>';     var_dump($result);     die; }   This gives me the following output when called:  array(5) {   [0]=>   object(stdClass)#6 (8) {     ["id"]=>     string(1) "2"     ["date_and_time"]=>     string(19) "2020-01-01 08:00:00"     ["_sport_id"]=>     string(1) "1"     ["_home_id"]=>     string(1) "1"     ["_guest_id"]=>     string(1) "2"     ["notes"]=>     string(12) "Foo bar baz."     ["sport_name"]=>     string(11) "Calvin Ball"     ["team_name"]=>     string(15) "Wyoming Waiters"   }   [1]=>   object(stdClass)#7 (8) {     ["id"]=>     string(1) "3"     ["date_and_time"]=>     string(19) "2020-02-01 09:00:00"     ["_sport_id"]=>     string(1) "2"     ["_home_id"]=>     string(1) "2"     ["_guest_id"]=>     string(1) "3"     ["notes"]=>     string(13) "Baz qux quux."     ["sport_name"]=>     string(6) "Hockey"     ["team_name"]=>     string(12) "Utah Umbrage"   } ...   My problem is that I want to get both the home team name and the guest team name for each event. Right now, both team names are assigned to one team_name key, with the guest team overwriting the home team.   Is there a way I can get both team names back, with separate names?


Can a prime in a Dedekind domain be contained in the union of the other prime ideals?

Suppose $R$ is a Dedekind domain with a infinite number of prime ideals.  Let $P$ be one of the nonzero prime ideals, and let $U$ be the union of all the other prime ideals except $P$.  Is it possible for $P\subset U$?  As a remark, if there were only finitely many prime ideals in $R$, the above situation would not be possible by the "", since $P$ would have to then be contained in one of the other prime ideals, leading to a contradiction.  The discussion at the top of pg. 70 in Neukirch's "Algebraic Number Theory" motivates this question.  Many thanks,  John


Could an individual make money off of oil futures?

There was another post about this but oil is going for -32 dollars a barrel. What if I acquired A million barrels of oil. I’d be sitting on 32 million with which I could theoretically use to buy an oil tanker, hire a subcontractor that would provide the crew and still have some money left over. That or I could buy warehouses.   I know this is ridiculous but I just don’t see what’s stopping someone from doing this. Do you need proof that you can safely store the oil before you buy it?   People are saying it costs more to store than its worth but from my research (however uninformed it was) I'm not sure it does.


I installed MikTex following this :  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889  echo "deb http://miktex.org/download/ubuntu xenial universe" | sudo tee /etc/apt/sources.list.d/miktex.list  sudo apt-get update   I got this note message:  N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu xenial InRelease' doesn't support architecture 'i386'   How to get rid of this?


I applied the subdivision modifier a while ago. But Blender can't take it anymore I really need to undo it! I already start over a bit with the project but I really do not feel like making the wings all over again and the hair....can someone help me?


Is it safe to install Ubuntu 64 Bit 12.10 in EFI mode on Samsung series 7 WIndows 8 laptop?

I have been reading about the issue of Samsung laptops bricking when attempted booting from live USB. I have Samsung Series 7 NP700Z5C (-S02UB to be specific) laptop. It came with Windows 8 preloaded. Some posts claim that they disabled secure boot and installed Ubuntu in EFI mode.  On the otherhand comments on this  report state the issue to be with UEFI implementation and not with Secure Boot.  I really want to dual Ubuntu with Windows 8. Can someone help with UEFI mode installation process ?


How to graphically diff non-textual files (IIB msgFlows or mappings) on Git?

I am using git (bitbucket) for source control. I develop on IBM integration bus and some of its files like mappings, message flows, etc.. are best viewed graphically. (example: )   I was wondering if there is a tool for comparing the changes side by side, displayed in a graphic view, because as text those files aren't so meaningful.  Thanks!


Circular polarizing filter - slim or regular?

I have a Canon EOS 550D. Right now I only have some standard lenses, and I'm looking to buy a Tokina AT-X 116 Pro DX II 11-16mm F/2.8. (I love landscape photography and photography in nature in general.) I want to try using a circular polarizing filter, and I've been looking at the Hoya Filter Circ Pol DMC Pro1 77mm. I can see that the "slim" version is cheaper than the regular one, however, I'm not sure what the difference is. Can any of you tell me which would one be preferable for landscape photography? (I found a thread posted about this some years ago but I would like to hear what you guys think, knowing what camera, lens and filter I'm thinking about combining.)  All feedback would be very much appreciated! :-)


Filesystem for external hard disk that is cross-platform compatible

All my previous backup disks are either ext3, ext4, ntfs or fat32. I am having tremendous difficulty accessing my files easily from my mac (even with tools such as Tuxera). I did not expect an OS to not support access open file systems!  So now comes the time to format a new external hard disk where I will keep copies of some of my files (no time machine, just copies of some of my files and maybe an rsync partition). I need to be able to read this disk easily from any linux machine. I suppose FAT32 would work, but it would not support large files. What is the best solution here?


Introduction to frequentist statistics for Bayesians

I'm a simple minded Bayesian who feels comfortable in the cosy world of Bayes.   However, due to malevolent forces outside my control, I now have to do introductory graduate courses about the exotic and weird world of frequentist statistics. Some of these concepts seem very weird to me, and my teachers are not versed in Bayes, so I thought I'd get some help on the internet from those who understand both.   How would you explain the different concepts in frequentist statistics to a Bayesian who finds frequentism weird and uncomfortable?   For example, some things I already understand:   The maximum likelihood estimator $\text{argmax}_\theta \;p(D|\theta)$ is equal to the maximum posterior estimator $\text{argmax}_\theta \;p(\theta |D)$, if $p(\theta)$ is flat.  (not entirely sure about this one). If a certain estimator $\hat \theta$ is a sufficient statistic for a parameter $\theta$, and $p(\theta)$ is flat, then $p(\hat \theta|\theta)=c_1\cdot p(D|\theta)=c_1\cdot c_2\cdot p(\theta|D)$, i.e. the sampling distribution is equal to the likelihood function, and therefore equal to the posterior of the parameter given a flat prior.    Those are examples of explaining frequentist concepts to someone who understands Bayesian ones.   How would you similarly explain the other central concepts of frequentist statistics in terms a Bayesian can understand?  Specifically, I'm interested in the following questions:   What is the role of Mean Square Error? How does it relate to Bayesian loss functions? How does the criterion of "unbiasedness" relate to Bayesian criteria? I know that a Bayesian will not demand that its estimators are unbiased, but at the same time, a Bayesian would probably agree that an unbiased frequentist estimator is generally more desirable than a biased frequentist one (even though he would consider both to be inferior to the Bayesian estimator). So how does a Bayesian understand unbiasedness? If we have flat priors, do frequentist confidence intervals somehow coincide with Bayesian ones?  What in the name of Laplace is going on with specification tests like the $F$ test? Is this some degenerate special case of a Bayesian update on the distribution over model space?    More generally:  Is there some resource that explains frequentism to Bayesians?  Most of the books run the other way around: they explain Bayesianism to people who are experienced in frequentist statistics.     ps. I have looked, and while there are a lot of questions already about the difference between Bayesian and Frequentism, none explicitly explain Frequentism from the perspective of a Bayesian.   is related, but is not specifically about explaining Frequentist concepts to a Bayesian (more about justifying frequentist thinking in general).  Also, my point is not to bash frequentism. I really do want to understand it better


If I dual boot Ubuntu 20.04 with Ubuntu 20.04 will grub know how to handle it?

I have a disk with a Ubuntu 20.04 partition and a 18.04 partition. If I update the 18.04 one to 20.04 I will have problems in grub?


Windows 7 - Cannot move or copy things to the folder

Just a minute ago I had to remove a virus from that folder. It was removed and I had to restart my computer because of it. It's now successfully removed but whenever I try to move or copy something to that folder, it says I need administrative permissions. Although I'm on my administrator account, whenever I click continue (with the admin icon) it still says I need administrative approval and shows the "Try again" or "Cancel" options. I can click try again so many times and it keeps popping up.