Windows 10 Pro update: Unsupported Disk Layout for UEFI Firmware. Fix without reinstall?

I have a Windows 10 Pro installation that was upgraded from a previous Windows 8 install. When installing the latest Windows 10 upgrade, the update fails with the error "Unsupported Disk Layout for UEFI Firmware".  I understand this is because i have MBR partitions and not a GPT partition table. All the guides I've found tell me I have to reinstall Windows from scratch after repartitioning the drive.  Is there a way to convert the partitions and keep the installed copy of Windows 10 working so I don't have to reinstall?


How to write this formula:    How can I read symbol e?


How to update my ubuntu desktop from 12.10 to 15.04?

I'm not able to update my ubuntu desktop. When I open the software updater it says you should upgrade to ubuntu 13.10. When I click upgrade, the update doesn't start the software updater closes automatically. Please help.


It is known that the equation $x^2 \equiv -1 \pmod{p}$, where $p$ is an odd prime number, has a solution iff $p = 4k +1$ for some natural $k$.  Does it exist a similar characterization for a general finite field $F_q$, where $q = p^n$?   Thanks a lot for your help!


When i run my code then iam getting java.lang.NullPointerException how to fix it

here is code  public WebDriver driver; @FindBy(xpath="//*[@class='btn btn-primary m-t-15 waves-efassociatesave']") public WebElement addEmployee; public Employee(WebDriver x) {     this.driver=x;     PageFactory.initElements(driver, this); } public void fillEmployeeName(String x) {     ExplicitWaitMethods.waitForVisibility(employeeName);     inputObj.enterText(employeeName, x); }   iam calling this method  public class TestImpl implements Test{  WebDriver driver; Employee e=new Employee(driver);  public TestImpl(WebDriver x) {     this.driver=x;     PageFactory.initElements(driver, this); } @Override public void addEmployee() {     // TODO Auto-generated method stub     e.addEmployee.click();     e.fillEmployeeName("vishal"); }   }  iam calling this method in stepdefination  @Then("^get data$") public void getData() {     //employee.getEmployeeName();     t.addEmployee();  }   error message:     java.lang.NullPointerException     at   org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:59)     at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:37)     at com.sun.proxy.$Proxy12.click(Unknown Source)     at pages.TestImpl.addEmployee(TestImpl.java:19)     at stepDefintions.PredefinedStepDefinitions.getData(PredefinedStepDefinitions.java:315)     at ✽.Then get data(E:/eclipse/erp/src/test/resources/features/login.feature:48)  then nullpointer exception arises. can anyone help me out for this issue


I'm using a   $(".titleField").on("change", function () {                 // change title                 alert("hello");             });   On a field that I've loaded with ajax call:  <input class="form-control autosize titleField text-box single-line valid" type="text" value="">   But I have no alert that are shown and no error in the console, why? How can i bind the on change on this item loaded in a partial webpage?  When I put the selector in console, it shows me right input...  Thanks in advance


What Happened to Jedi Masters Yaddle and Yarael Poof?

From  I read the following:     ...right before the start of the Clone Wars, the Jedi High Council had hardly changed. Only Yaddle and Yarael Poof were no longer present, replaced by Shaak Ti and Coleman Trebor.   I recall seeing and reading about these members of the Jedi Council when The Phantom Menace came out, but I never noticed that they did not appear in later films, or that their seats on the Council had been taken by other Jedi. Unfortunately, I cannot find any further information as to what happened to them. Is there any in-universe information (whether Canon, or Legends, or Hidalgo-tweet) about where these Jedi went?


My wife and I took some photos at an event, which we would like to merge into a single set arranged in order of capture time. We thought this would be easy, just rename them in sequence ordered by capture time. Unfortunately our cameras disagree on the current time, so the timestamps are offset from each other by a known (and constant) ammount.  Does anyone have a good way of merging these into a single series? There are several hundred shots from each camera so it will need to be done automatically.  My main machine runs Linux but I have Windows available as well so solutions on either OS are helpful


Scanners cannot find a virus - are there alternative scanning technologies?

Leading antiviruses / scanners (Kaspersky, Bitdefender, AVG, Avira, SuperAntiSpyware, MalwareBytes, ... etc. from 2k10 USB drive),  AVZ cannot detect a virus in Windows 7 x64 installation that manifests itself in preventing from running Antivirus, msconfig, Office, etc. (File not found - immediately or after a small delay), but many simple programs still can start. Scanning does not give any related results.  Maybe exist some kinds of virus scanners over the world - ones that can be installed to offline Windows installation, or ones that allow to launch infected Windows in an emulator, any other for the purpose?  Are there new tools allowing to catch such an infection in the world of crooked antiviruses justifying its stupidity by rebranding in terms like rootkits / super-rootkits?


show that for any irrational $\alpha $ the limit $\lim _{n \to\infty} \sin n \alpha \pi $ does not exist ..

1)show that for any irrational $\alpha $   the limit  $\lim _{n\to\infty} \sin n \alpha \pi $  does not exist ..  2) show that for any rational $\alpha $  the limit  $\lim _{n \rightarrow  \infty} \sin (n! \alpha \pi) $   exist ?  My attempts : For 1)  I'm very  confused ?????  For  2) let $ \alpha =\frac {p}{q}$ with $p \in \mathbb{Z}$ and  $q \in \mathbb{N}$ . For $n > q  $  the number  $n ! \alpha \pi$ is  a multiple of $\pi $, which means  that the terms  of  the  sequence , beginning  with some Value  $ n_{0} $of the index n, are all equal to $0$  as  in 1) I'm very confused. How  can  I approach this kind of problems ??  Pliz help me   Thanks un


MLE for 2 parameter exponential distribution

Let $x_1, x_2... x_n$ be a random sample from a distribution with pdf:  $$f(x;\mu,\sigma)=\frac1{\sigma}\exp\left({-\frac{x-\mu}{\sigma}}\right)\,,-\infty<\mu<\infty;\, \sigma>0;\, x\ge\mu$$  How do I find the MLE for the parameters if both parameters are unknown?  I tried using the usual MLE with likelihood function:  $$L(\mu,\sigma|x_1...x_n)=\frac{1}{\sigma^n}\exp\left({-\frac{\sum{x_i}-n\mu}{\sigma}}\right)$$ But the derivative of this with respect of $\mu$ is a dead end.   I do know that if $\sigma$ is known, the MLE for $\mu$ is $\frac{\sum{x_i}}{n}$ and if $\mu$ is known, the MLE for $\sigma$ is $\frac{\sum{x_i}-n\mu}{n}$.   Do these help? What should be the approach?


I have the following virtual host file:  <IfModule !wsgi_module>   LoadModule wsgi_module modules/mod_wsgi.so   WSGISocketPrefix run/wsgi </IfModule>  <VirtualHost *:80>   RewriteEngine On   RewriteLog "/var/log/httpd/rewrite_log"   RewriteLogLevel 1   RewriteCond %{HTTPS} off   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NE,L] </VirtualHost>  <VirtualHost *:443>   ServerName https://tendril-api.dev.adnxs.net   ServerAlias 06.tendril-api.dev.nym2.adnexus.net/api    RewriteEngine  on   RewriteRule    ^docs$  docs/  [R]   ...    # SSL & WSGI Setup </VirtualHost>   For some reason, My docs Rewrite rule isn't taking effect at all. Why is this? My HTTP-->HTTPS rewrite rule in the *:80 VirtualHost works properly. I am doing something really similar.  Does it have to do with having two different Rewrite rules in different VirtualHosts?  Any ideas?


How do I know if a point lies on a line between 2 other points?

Let's say you have a two-dimensional plane with 2 points (called a and N1 and N2) on it. N1= [9 * H // 8 , 0] N2= [9 * H // 8 , W] How do I check if my third point which is P= (int(x1), int(y1)) is intersecting the line that is crossing N1 and N2?  (please note that p or third point might be moving anywhere on the plane, I only what not know when it is on the line) So let's say  what I can think of is:             N1 = np.array([9 * H // 8, 0])             N2 = np.array([9 * H // 8, W]);              p_aftertop = (int(x1), int(y1))              v1 = (0,W )  # Vector 1             v2 = (9 * H // 8 - int(x1),  W- int(y1))  # Vector 1              xp = v1[0] * v2[1] - v1[1] * v2[0]  # Cross product             if (xp != 0):                 status = cv2.imwrite('/img' + str(i) + '.jpg', frame)                 print('on the line')                 i +=1  I do not know why my method does not work well. How do I know when this point is on the line that crosses those two points?


Introducing ordered pairs in an axiomatic way

Suppose that in $ZFC$ we have introduced ordered pairs not in the usual way as  $(a,b) = \{\{a\}, \{a,b\}\}$ but axiomatically, by extending $ZFC$ by adding to $ZFC$ a new binary functional symbol $g$ and a corresponding axiom:     $\forall a,b,c,d( g(a,b) = g(c,d) \rightarrow a=c  \wedge  b=d)$.    The main advantage of this approach is absence of so called "junk" theorems - see .  Let us write instead of $g(x,y)$ just $(x,y)$  Question 1. Will be the formula $\forall S,u((S,u) \notin S)$  a theorem of the extended theory?  Question 2. Are there textbooks where ordered pairs were introduced in a similar axiomatic way?


Why can't I get high-speed sync with my Nikon D750 and Yongnuo YN560 IV?

I have looking at reasons for why my Yongnuo YN560IV would not fire at Highspeed sync on my Nikon D750. I tried some setups, but whenever I go further up than 1/250s shutter speed, the flash won't do the high-speed sync. It will not burst the flash at all, only a single flash.   Any idea why?


I want an explanation for this:     "The centre of mass & centre of gravity of an extended body on the surface of earth is different for objects with sizes greater than 100m"   As a matter of fact I was under the impression that the centre of mass(CM) always coincides with the centre of gravity(CG).


Diffie–Hellman offers secure key exchange only if sides are authenticated. For authentication, sides are using public/private key. So if side A knows the public key of the side B, then A can simply use that key to encrypt the message (or the new session key).  Why bother to use separate key exchange algorithm?


I would like for my machine to boot into tty first instead of going straight into LightDM. I do not want to uninstall LightDM. When I want to use it I want to start it manually.


How is it proved to be always true? It's a fundamental principle in Physics based on all of our currents observations of multiple systems in the universe. Is it always true to all systems? Because we haven't tested or observed them all. Would it be possible to discover/create a system that could lead to a different result? How are we 100% sure that energy is always conserved? Finally, why did we conclude it's always conserved? What if a system keeps doing work over and over and over with time?


How do you calculate the modulo of a high-raised number?

I need some help with this problem:  $$439^{233} \mod 713$$  I can't calculate $439^{223}$ since it's a very big number, there must be a way to do this.  Thanks.


For $s > 1$, define the zeta function by $$\zeta(s) = \sum_{n = 1}^{\infty}n^{−s}$$ Fix $s > 1$, and let $X$ be a random variable with $P(X = n) = n^{−s}/\zeta(s)$.  1) Show that the events $\{p \text{ divides } X \text{ s.t. } p \text{ is prime} \}$ are independent and deduce Euler’s formula $$ \frac{1}{\zeta(s)} = \prod_{p: \ p \ \text{prime}} \left(1 - \frac{1}{p^s}\right).$$  2) Prove also that $P(X \text{ is square-free}) = \dfrac{1}{\zeta (2s)}$  3) Let $Y$ be an independent copy of $X$ and let $G$ be the greatest common divisor of $X$ and $Y$ . Show that $P(G = n) = \dfrac{n^{−2s}}{\zeta(2s)}$.  [$X$ is square-free = No perfect square other than $1$ divides $X$.]  I have been able to show (1) and (2). How to go about with (3)?


Jquery Ajax Php Live Search and fill input text with selected option

I am trying to do a live search from database using jquery, ajax and php. After getting result I want to set value of input field with selected option from result. Code returns live search result but did not set value of selected option to input field.      <input type="text" id="search" placeholder="Search" />

               <?php   $q = $_POST['search'];   $con = mysqli_connect("localhost", "root", "", "testing");   $query = "select name from test where name like '%$q%';";   $result = mysqli_query($con, $query);    while($row = mysqli_fetch_array($result, MYSQLI_ASSOC))   {     $name = $row['name'];     echo '
'.$name.'
';   } ?>


Create deadlock scenario without foreign key

I need to test my C# code in a SQL Server deadlock scenario.  Is there a way to create a deadlock "on demand"?  I have tried this:  Begin Transaction  Select * from TABLEA with (tablockx, holdlock) Where 0 = 1 WaitFor Delay '00:02:00' --Rollback Transaction   But the second connection just waits and until after the Delay, and then does its job.  In the second session I do   Update TABLEA  Set LastUpdatedBy = 'IT_TESTING' Where OrderRefProviderId = 397685 WaitFor Delay '00:00:30'


Bootable USB stick for another computer that has no OS?

When I boot I get the grub> command, where do I go from here?


MySQL - Using COUNT(*) in the WHERE clause

I am trying to accomplish the following in MySQL (see pseudo code)  SELECT DISTINCT gid FROM `gd` WHERE COUNT(*) > 10 ORDER BY lastupdated DESC   Is there a way to do this without using a (SELECT...) in the WHERE clause because that would seem like a waste of resources.


Recently I played around with some lighting and macro shooting of some of my (beat-up) Matchbox toy cars from the 1970's. The results were pleasing to my eye and I had visions of making my millions by selling these images.  The Matchbox brand is now owned by Mattel, and my pics are obviously identifiable as being of those toys, even though the style is on the creative side rather than a straight pic.  So:   My assumption is that without a blessing from Mattel that I could not legally sell my images.  Is that valid?   If I need permission, how do you approach multi-nationals such as Mattel? (and are they typically amenable to such things?)   Update 1  Currently I am in the US and had intended selling here, but a website knows no geographical bounds.   Update 2  After reading  I am of the feeling (in the US) that if my pics are considered a  of the original designs, then they would stand alone as separate works.  That raises the (most likely very subjective) question of:       Are different lighting and camera angles sufficient to create a   derivative work of an object?   And by different I mean wildly dissimilar to anything the original designers used to depict their designs.  Finally I am well aware of talk to a lawyer, and I am only asking this question in terms of getting a general idea of the issue.  Update 3  A comment from Chuqui has made me realize I might have been accidentally confusing people with the terms I was using.  When I said commercially I was thinking in terms of selling fine art prints rather than to magazines, stock services etc.  In my mind making money off something is commercial.  It may be that my personal definition is not correct.


The limit points of an open interval (open set)

I am not sure I understand why for the open set $(a,b)$, the limit points are $[a,b]$. Why are $a,b$ now included as limit points? Is this because we can somehow find a sequence in the open interval converging to these points?


End of javascript sidebar workarounds? (Salesforce Classic / Aloha)

Reading through this doc:      We replaced the rich text editor in HTML Area home page components   with a new version that supports more markup but doesn’t allow HTML to   be manually entered.      In Summer ’15 we will start removing unsupported code from HTML Area   home page components. As a result, components that contain JavaScript,   CSS, iframes, or other unsupported markup might stop working properly.   To use JavaScript or other advanced HTML elements in your home page   component, we recommend that you use a Visualforce Area component   instead.   With Visualforce homepage component the best we could do is design fancy home page components, which has not been the big use of sidebar amongst developers. How do we do the fancy hack we do today using html components since visualforce is hosted in a different domain will the sidebar hacks even work after summer 15?     You can include JavaScript in your Visualforce page, but because the   component is rendered in an iframe on the home page layout, the   JavaScript can’t interact with the page that contains the component.   Finally why this move :(?


Enumeration within self defined environment

My self defined environment having a symbol at the beginning and at the end works fine for text without enumeration. When including enumerate the symbols are not there where desired. Is it possible to have the first symbol directly in front of "1." i. e. in the same line and the ending symbol in the same line as the last line of the enumeration? With \ignorespacesafterend and \unskip I did not succeed. \documentclass{article} \usepackage{amssymb} \newenvironment{myenv}{$\blacktriangleright$}{\hfill$\blacktriangleleft$}  \begin{document} There is a text.  \begin{myenv} And an example \end{myenv}  Here is another text.  \begin{myenv} \begin{enumerate} \item A \item B \end{enumerate} \end{myenv}  \end{document}


Are questionnaires permitted on Stack Exchange sites?

Is it OK to post a questionnaire on Stack Exchange sites?  I'm currently working on a project at my uni and need some empirical information about workouts. I want to explain more about the project, but that will come if it's "legal" to post a questionnaire here.


Why didn't Dumbledore remove Quirrell from DADA teaching when he realized something was wrong with him?

In "Harry Potter and the Deathly Hallows", from Snape's memory that Harry views, we learn that Dumbledore had misgivings about Quirrell, when he said to Snape:     Keep an eye on Quirrell, won't you?   If he knew something was off, why not remove him from a very sensitive position of teaching DADA to kids?


I am reading the Lectures on lie groups by J.Adams. But it is hard to understand for me. How can I get a good consciousness of this book? Is there any suitable book that cover this book with same notations? I am looking for a book with same!!! notation with adams book. but more simpler.  tnx


Prev and Next link for splitting single post into multiple pages

I have pagination on my site like this:     Pages 1 2  3 4   … and so on. I am doing this by adding <--nextpage--> where i want to split my long pages into multiple pages.  I want to add previous and next links to the page numbers that looks like this:     Prev 1 2 3 4 5 6 7 Next


Commutator subgroup and subgroup generated by square.

While reading Cours d'algèbre by D. Perrin, I found the following claim:     Proposition. If $G$ is a group, then $D(G)\subseteq G^2$, where $G^2$ is the subgroup generated by the squares of $G$.   I understand that it suffices to prove that for all $x,y\in G$, $[x,y]:=xyx^{-1}y^{-1}$ is a product of squares.  Equivalently, since $G^2$ is characteristic, hence normal, it suffices to establish that $G/G^2$ is abelian.  For now, none of my attempts have been fruitful. Any enlightenment will be greatly appreciated!


Going off of this question:  How can we prove that $max(|a|,|b|)\geq \frac{1}{2}(|a+b|)$?


.Hello,everyone. I am studying the influence of one biomarker on multiple disease characteristics, and I would like to calculate its cutoff point. I created univariate ROC curves to investigate the diagnostic accuracy of this biomarker for each characteristis, and it's obviously that I have obtained different cutoff values. Could I combine this AUCs in order to obtain one general, optimal cutoff point? (something like multivariate analysis with multiple outcomes?)  Thank you in advance for you help!  Thank you for your attention and your answers! But your answers consider the case when we have MULTIPLE independent variables (predictors) and ONE dependent variable (outcome). However, I have MULTIPLE outcomes.


Use cat instead of cp in differently sized partitions

I have understood that is impossible to use dd or cat for copy all data of a partition to another partition with differences in sizes, Is this statement correct?, example  2 HDD, the first /dev/sdd1 (100gb), and used 30gb and the second /dev/sdc1 (50gb), and haven't data  Surely I cant use:  cat /dev/sdd1 >/dev/sdc1   why? Because sdd1 has partition of 100gb and sdc1 has limit of 50gb    Is it true? what should I use for copying?  could I use (Assuming that hdds are mounted):   cp -avr /mnt/sdd1/* /mnt/sdc1/   Is it correct to use cp? someone know to alternative to cp  EDIT: In case of cant mount hdd because linux not recognized partition, what could I do? Continue with this new question in:   Note: I don't talking about of recovery tools like ddrescue  Thank you very much.


Sum of digits of $11\dots 11^2$ where $11\dots 11$ is a 1992 digit number with all digits $1$

I read this on a non-math forum where the OP says this is a question for Grade 6 elementary school students. Grade 6 elementary school level is somehow ambiguous but clearly this means no advanced math tool can be used. (Maybe some elementary modulo arithmetic is allowed?)  I tried in the most dumb way:  Since we know that $11\dots 1^2$ of $n\leq 9$ digits of $1$'s is $123\dots n \dots 321$ because $11\dots 1^2 = 11\dots 1 \times \sum^{n-1}_{m=0}10^m$ (which explains why the answer is $1$ goes to $n$ then goes back to $1$). So we can say $11\dots 11^2$ is to add up (digit number) of $1$, put it on that digit, and sum them up. Then we apply on $n>9$ and observe the process.  This seems promising or at least manageable. You count the number of $1$'s that are involved in computing number on the digit, and add carries from lower digits. For example, on the 102nd digits this will be $102+11+1=114$, so the carry is $11$, number of 102nd digit is $4$. Finally sum all digits up.  The work involved seems way too immense and is not beautiful. Anyone has some clever ideas about this question?  (The result is $17910$ and the original post is in Chinese, so I don't want to put the link here)


Why not treat initial close-as-duplicate similar to answers from a rep perspective?

Of the vote-to-close reasons, marking as "duplicate" seems unique in that:   It immediately results in the OP getting his question answered It frequently requires knowledge of the subject comparable to what it would take to answer the question directly as well as requiring knowledge of the SO repository or ability/willingness to search It involves forgoing reputation which would otherwise likely accrue to the person identifying the duplicate   Similarly, adding an additional vote with the same dup target seems akin to "upvoting" an existing answer.  As such, what would be the effects of incentivizing the first mark-as-duplicate voter with something equivalent to an "accept" or "upvote" rep gain once the question is closed, even if a smaller amount (e.g. 5 points)?


Unable to update my system Ubuntu13.04: Getting message - requires installation of untrusted packages

I had been trying to update my Ubuntu13.04 via 'software updater'. The updater messages that the following needs to be installed. Press continue to install When I press continue , a window appears as shown in the attachment. There message appears: requires installation of untrusted packages   On pressing O.K. button, the window disappears and nothing happens. How to then update my system with the updates that the software updater is reflecting?


Difference between an option's default and its initial value

In the description of the /tikz/shape node option on p. 216 of the TikZ & PGF manual for version 3.0.1a states:  no default, initially rectangle  It goes on to explain that this option selects  the shape either of the current node or, when this option is not given inside a node but somewhere outside, the shape of all nodes in the current scope.  What is the difference between an option that has a default value and one that has initially a certain value? If instead of initially being rectangle the /tikz/shape would be rectangle by default, what would change in its behavior and the way it can be used? Can someone please explain and demonstrate the differences with a minimal example?  The present question is similar to . However that question deals with PGF (which I am unfamiliar with), whereas the current question deals with TikZ. PGF and TikZ are two separate levels. Consider the following quote from the manual (p. 221):  Both PGF and TikZ support such multipart nodes. On the lower level, PGF provides a system for specifying that a shape consists of several parts. On the TikZ level, you specify the different node parts by using the following command: \nodepart[<options>]{<part name>}  The point of this quote is to show that the same feature can have different manifestations in PGF vs. in TikZ and it is reasonable to ask how a certain feature manifests in one level and how it manifests in another level, and this would constitute two different questions, just as a question about TikZ's \nodepart command can coexist with a question about PGF's system for specifying that a shape consists of several parts without any of these questions being a duplicate of the other. My question is: Is it possible to explain the difference and to give a minimal example using only TikZ concepts and syntax without resorting to low level PGF? Is the difference perceptible from a high-level user's perspective who only knows TikZ? (I am such a user.)


How to Download Multiple File (3 file will be download, on click on download link) using Selenium Via ChromeOption/FirefoxOption

Scenario: There is download button in web Application. Now I need to download Multiple files via a Button click.  Map<String, Object>preferences=new Hashtable<String, Object>(); preferences.put("profile.default_content_settings.popups", 0); preferences.put("download.prompt_for_download", true); preferences.put("download.default_directory",downloadpath); preferences.put("profile.content_settings.pattern_pairs.*.multiple-automatic-downloads", 4 ); preferences.put("profile.content_settings.exceptions.automatic_downloads.*.setting", 4 ); ChromeOptions options = new ChromeOptions(); options.addArguments("--no-sandbox", "--disable-extensions", "--disable-gpu"); options.setExperimentalOption("prefs", preferences); DesiredCapabilities cap = DesiredCapabilities.chrome(); cap.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true); cap.setCapability(ChromeOptions.CAPABILITY, options);   These are options for ChromeOption. I am not much aware of ChromeOption/FirefoxOption.


$$\lim_{n\rightarrow \infty }\sum_{k=n}^{5n}\binom{k-1}{n-1}\left( \frac{1}{5} \right )^n\left( \frac{4}{5} \right )^{k-n}=\text{?}$$   I tried to use formulas $$\sum_{p=0}^k\binom{m+p}m = \binom{m+k+1}{m+1}$$ and $$n!= \sqrt{2\pi n}\left( \frac{n}{e} \right)^n$$ but without any success.


I deleted the icon of system settings. Where can I find system settings application (in which directory), so I could restore its shortcut? Thanks


If $f_n$ and $f$ are integrable, $f_n \to f$ a.e., and $\int |f_n| \to \int |f|$, then $\int |f_n-f| \to 0$.  How can I prove this? The limit definition proof involving $N$ and $\epsilon$ is not working for me ... I can't get a certain triangle inequality to work. But is this kind of proof the way to arrive at the result?


What happens to the bar magnet field when it breaks?

References says alignment of a magnetic field of a bar magnet remains same even if we cut it into two or more pieces. According to this cut edges should attract with each other. When I tried it was working in the opposite way. why is it so ?


Differences of two real-valued periodic function is zero in limit

Given $f, g \colon \mathbb{R} \rightarrow \mathbb{R}$ be a periodic function. If $\lim\limits_{x \rightarrow \infty} \left(f(x) - g(x)\right) = 0$, prove that $f = g$.


I'd like to write something in the shape of this "coat of arms".    I'd like to have the text filling the coat but with a hole roughly in the shape of the sword. I know there is the \shapepar command to create paragraph shapes so I tried to , a patch for XFig that allows you to draw the shape you want but it never worked on my computer (Mac OS X). I also know I can build the shape by myself with shapepar syntax but it seems really complicated and I don't think I'll make a lot of shapes. So if anybody has ShapePatch working on his computer or knows shapepar syntax very well, could he give me the code?


Does adding complexity mean a more secure cipher?

I have a cryptography workshop question I'm having trouble with as follows;  Person A creates a cipher $E_k(m)$ which produces a ciphertext from message $m$ using key $k$. The function inside $E$ is kept secret but the length of $E_k(m)$ is known.  Person B recommends "increasing" security of the cipher by instead doing :   $(E_k(m) \oplus m)\ ||\ (E_k(m) \oplus 1111...11)$      Does this in fact increase security of the cipher or increase new problems.  My thinking is, depending on the function within $E$, xoring the output of the cipher with the plaintext message $m$ could expose the key $k$, meaning the extra complexity is for nothing. Am I on the right track, or am I missing something?  I have tried searching for examples of similar schemes and found nothing (which probably means it's not a good scheme) but I need to justify my answer.   Any steers in the right direction would be greatly appreciated, I'm more than happy to do the research myself just unsure what specifically to look for.   Unfortunately the above context is all I have been provided for this question.


least common multiple of $\{1,2,...,n\}$ is bigger than $2^{n-1}$

The least common multiple of $\{1,2,...,n\}$ is greater than $2^{n-1}$ for any $n \ge 3$.   I found this in a MATHEMATICA book, but I don't know how to prove this. Can you help me?  [Edit:  has a discussion of an asymptotic stronger result, but that relies on the . What else is known about this? JL]


I have created the following filter in angular.js. Now I am trying to use the indexOf to remove the country variable by splice I always get the error saying _filters.indexOf is not a function:  .filter('MyFilter', function () {     return function (_filters) {         _filters = _filters.splice(_filters.indexOf(_filters['country']), 1);     } })   The filter object looks like this:  {   "rate": 5,   "country": [     "Russia",     "Polen",     "France"   ],   "city": [     "Dubai"   ] }


$X,Y$ are Banach spaces and $A\in B(X,Y)$ is a Fredholm operator (that is, the dimensions of ker($A$) and coker($A$) are both finite), then are closed linear subspaces ker($A$) and Im($A$) complemented? (A closed linear subspace $H$ in a Banach space $Z$ is called complemented iff there is a closed linear subspace $G$ such that $H+G=Z$ and $H \cap G=0$)


Prove inner-product inequality $\Bigl (\sum_{i=1}^k \langle u\;,\;e_i \rangle \langle v\;,\;e_i \rangle \Bigr)^2≤ \Vert u \Vert^2 \, \Vert v \Vert^2$

The Question:  For the real vector space $V$, let $u,v \in V$ and $\{ e_1,\dots,e_k \}$ being a set of orthonormal vectors wrt to the inner product $\langle \cdot \;,\;\cdot \rangle$. Prove that  $$\biggl (\sum_{i=1}^k \langle u\;,\;e_i \rangle \langle v\;,\;e_i\rangle \biggr)^2≤ \Vert u \Vert^2 \, \Vert v \Vert^2$$    My Attempt:  $\{ e_1,\dots,e_k \}$ being orthonormal means that we can extend it to an orthonormal basis $\{ e_1,\dots,e_n \}$ for $V$ (where $n≥k$ of course).  So let $u=\sum_{i=1}^n u_i e_i$ and $v=\sum_{i=1}^n v_i e_i$ for some $u_1,\dots ,u_n,v_1, \dots ,v_n \in \Bbb R$. Then  \begin{align} \biggl (\sum_{i=1}^k \langle u\;,\;e_i \rangle \langle v\;,\;e_i \rangle \biggr)^2 & = \biggl (\sum_{i=1}^k \langle \sum_{j=1}^n u_j e_j\;,\;e_i \rangle \langle \sum_{j=1}^n v_j e_j\;,\;e_i \rangle \biggr)^2 \\  & =  \biggl (\sum_{i=1}^ku_iv_i \biggr)^2 \end{align}  and I am stuck.  If only I could show that  $$\biggl (\sum_{i=1}^ku_iv_i \biggr)^2≤\biggl (\sum_{i=1}^nu_iv_i \biggr)^2$$  then using Cauchy-Schwarz Inequality would get us there directly.  Any hints?


Analysing the "kind(s) of problem(s) are [ones]/[to be]" construction

A. These kinds of problem are to be avoided. B. These kind of problems are to be avoided.  Are both A and B grammatical? If not, why not? If so, after having noticed the parallelism between A and C, and between B and D, could we say that C and D are "standard" English, too?  C. These kinds of problem are ones to avoid. D. These kind of problems are ones to avoid.


How to execute multiple commands remotely on few servers?

I am trying to automate these steps so that I don't need to do this on every machines manually. I need to install latest app server software (abc.tar.gz) on all the unix boxes.  I need to do this in around 12 machines - "machine1" ... "machine12". I have a master machine "machine0" which has abc.tar.gz file so I was thinking to run my script from this machine only and install abc.tar.gz software by following below steps in all those 12 machines one by one. My unix account id is david and my process runs as golden user.  This is the steps I follow if I am installing abc.tar.gz in "machine1":  david@machine1:~$ sudo scp david@machine0:/home/david/abc.tar.gz . david@machine1:~$ sudo stop test_server david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ rm -rf * golden@machine1:/opt/process$ exit david@machine1:~$ sudo cp abc.tar.gz /opt/process david@machine1:~$ sudo chown -R golden /opt/process david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ tar -xvzf abc.tar.gz golden@machine1:/opt/process$ exit david@machine1:~$ sudo start test_server   How can I automate this so that it can do the same steps in all 12 machines one bye one? I mean install abc.tar.gz in machine1 first, then install on machine2 and go on..  I want to run this script from machine0 only.  Is there any way to automate this?


More than 99% of groups of order less than 2000 are of order 1024?

In , the author made a remark (footnote on page 82), saying that more than 99% of groups of order less than 2000 are of order 1024.  Is this for real? How can one deduce this result? Is there a nice way or do we just check all finite groups up to isomorphism?  Thanks!


How do I adjust the hue (intensity) of GNOME Night Light?

I tried to use GNOME Nightlight in Ubuntu 17.04. The settings only allow me to turn it on and adjust the time. Is it possible to adjust the intensity or temperature of the hue? Currently, it's a bit too much.


amsmath left- and right aligned Formulas in one line

I thought this would be a common problem, but I can't find any satisfying answer to this. I am using the amsmath package. Using the align environment is helpful for separating the two expressions, but they are still left-aligned. However, I'd prefer having the contents of the bracket aligned on the right, next to the formula number. Example in the picture below :


I have web service which returns xml as plain string. I need to format it like xml . I expect it to be performed on client side by JavaScript. How can I do that? What libraries is better fitted for this task?


How to put the multiple images on the center of multiple backgrounds

How to center images both vertically and horizontally on background?  I have this code:    .lineargradientgreen {   background-image: linear-gradient(green, white);   border-width: 2pt 2pt 2pt 2pt;   height: 500px;   width: 500px;   float: left;   text-align: center; }  .lineargradientblue {   background-image: linear-gradient(to top left, white, blue);   border-width: 2pt 2pt 2pt 2pt;   height: 500px;   width: 500px;   float: left;   text-align: center; }

     Finally, I got the images only horizontally centered on both backgrounds, how can I also vertically center them?


SQL Server 2012 mirror setup - how to reduce transaction log files

We just upgraded our Windows Server 2003\SQL Server 2005 setup to Windows Server 2012/SQL Server 2012. Both configurations have a mirror with NO witness server.  On the old setup the transaction logs remained small, about 22 GB total. Now they're over 160 GB and the partition of the new server is getting full. I need to reduce the transaction log file sizes.  However, all of the descriptions I've read say to switch the recovery mode from Full to Simple then back to Full. This won't work because we have a mirror so the recovery model MUST remain in Full recovery mode. I couldn't change recovery modes unless I break the mirror.  What would be the best course of action to reduce the log file sizes? Should I go ahead and break the mirror, switch from Full -> Simple then back? Does anyone have experience with this kind of setup?


Greetings!  I am trying to understand what it means to have an imaginary number in an exponent. What does $x^{i}$ where $x$ is real mean?  I've read a    on this issue, and they all seem to boil down to the same thing:   Any real number $x$ can be written as $e^{\ln{x}}$ (seems obvious enough.) Mumble mumble mumble This is equivalent to $e^{\cos{x} + i\sin{x}}$    Clearly I'm missing something in step 2. I understand (at least I think I do) how the complex number $\cos{x} + i\sin{x}$ maps to a point on the unit circle in a complex plane.  What I am missing, I suppose, is how this point is related to the natural log of $x$. Moreover, I don't understand what complex exponentiation is. I can understand integer exponentiation as simple repeated multiplication, and I can understand other things (like fractional or negative exponents) by analogy with the operations that undo them. But what does it mean to repeat something $i$ times?


I am not sure whether is it possible to change attribute's parameter during runtime? For example, inside an assembly I have the following class  public class UserInfo {     [Category("change me!")]     public int Age     {         get;         set;     }     [Category("change me!")]     public string Name     {         get;         set;     } }   This is a class that is provided by a third party vendor and I can't change the code. But now I found that the above descriptions are not accurate, and I want to change the "change me" category name to something else when i bind an instance of the above class to a property grid.  May I know how to do this?


Show that a ring with only trivial right ideals is either a division ring or $|R|=p$ and $R^2=\{0\}$. Why would $R$ be finite?

Let  $R$  be  a  ring  such  that  the  only  right  ideals  of  $R$  are  $(0)$  and  $R$.  Prove  that  either  $R$  is  a  division  ring  or  that  $R$  is  a  ring  with  a  prime  number  of  elements  in  which  $ab=  0$  for  all  $a,b\in R$.    I  don't  want  the  proof.  I  am  stuck  at  one  point.  Why  does $R$  have  to  be  finite  here?


sum variable Σ Xik = Σ Xkj for i=j=0…N+2, and k=0 ...N in one constraint with choco

I do that  BoolVar[] flatArrayXik = new BoolVar[(N+2)*(N)];         for (int i = 0; i < size; i++){             for(int k = 0; k < N; k++){                 flatArrayXik[i] = Xij[i][k];             }         }          BoolVar[] flatArrayXkj = new BoolVar[(N+2)*(N)];         System.out.println(" size "+flatArrayXkj.length);         for (int k = 0; k < N; k++){             for(int j = 0; j < size; j++){                 flatArrayXkj[j] = Xij[k][j];              }         }          BoolVar tmp = model.boolVar();         BoolVar tmp2 = model.boolVar();         model.sum(flatArrayXik,"=", tmp);         model.sum(flatArrayXkj, "=",tmp2).post();         model.arithm(tmp,"=",tmp2).post();   I tested several solutions but none works, someone could help me please  I have this error   Exception in thread "main" java.lang.NullPointerException     at org.chocosolver.util.tools.VariableUtils.isConstant(VariableUtils.java:363)     at org.chocosolver.solver.constraints.nary.sum.IntLinCombFactory.reduce(IntLinCombFactory.java:107)     at org.chocosolver.solver.constraints.nary.sum.IntLinCombFactory.reduce(IntLinCombFactory.java:54)     at org.chocosolver.solver.constraints.IIntConstraintFactory.sum(IIntConstraintFactory.java:1821)     at Implementation.main(Implementation.java:135)


Why are many variable probability distribution described by a Tensor product? I am asking this question because i came to know that wavefunction $\psi(x,y)$ is a tensor product of two copies of $\psi(x)$. Can anyone help me understand this? Please refer the following question


How to return a File from a different class? Only returning null

I'm trying to return the file selected by the user. That works fine. I can check fileToOpen in openFile and it is 100% correct, but when I sysout it in the main method I just get null. I want the path that the user has selected.   This is the main class:      public class Main {      public static void main(String[] args) {          File fileToOpen = null;          ReadIn openLog = new ReadIn();          openLog.openFile(fileToOpen);          System.out.println(fileToOpen);      } }   This is the ReadIn class:  public class ReadIn extends JFrame{       public File openFile(File fileToOpen){          final JFileChooser fileChooser = new JFileChooser();         int modalToComponent=fileChooser.showOpenDialog(this);         if (modalToComponent == JFileChooser.APPROVE_OPTION) {             fileToOpen = fileChooser.getSelectedFile();                  }          return fileToOpen;      }  }


RSS feed reader using Jquery & codeigniter

Hey I want to create an rss feed reader on my homepage. I want to make it like a news ticker, in which the the news slide one by one. Is there any Jquery plugin that provide this functionality, I came across one plugin but it can extract feed from the same domain not from other domains and I want to get the feeds from here   http://www.spiegel.de/schlagzeilen/tops/index.rss   Any idea? Thanks


I have a "3" currently in the number of flagged posts:    However, when I click on the number, the list is empty. On the side-bar of the list, I can see this here:    But again, on any of the linked lists, nothing is to be found.  Is this a "travel"-issue? Or site-wide? Is this only on my account or do others have the same issue?


Is "that" superfluous in "What happens is ..."?

I searched for  and found many example where "that" is omit. So my question is, is "that" unnecessary when paired with "what happened is?" Example sentence (with a small tense change):  What happened was (that) I got into an argument with my co-workers, so I headed back home alone.


How to remove everything related to TeX Live for fresh install on Ubuntu?

How can I remove everything that is related to TeX Live from my Ubuntu 12.04? I first used the backport packages from ppa:texlive-backports/ppa and later the manual install via . Somehow, everything screwed up, so I want to remove everything to start from scratch.  I want to get a recent TeX Live with Biber support and extended font support, i.e. support for Source Sans Pro.  What to do?


Add custom maps in Mapbox as tile layer in Folium

I was trying to create a map in Folium using a custom map built tile layer created with Mapbox Studio (using 3 different datasets and a satellite basemap). I was wondering if there is a simple way to add it with Folium? I read in the documentation that style layers and datasets had to be called separately. I tried with the following (and a few variations), but each time it loaded the Python data with no base map.   folium_map = folium.Map(location=[-8.907970, 33.433200],                         zoom_start=7,                         tiles='http://{s}.tiles.mapbox.com/v4/(username).(mapid)/{z}/{x}/{y}@2x.png?access_token=(access token)',                         attr='Mapbox')   I was using Mapbox (instead of loading the datasets independently) because my datasets are pretty big (up to 100MB, upwards of 100,000 points) and that causes the Leaflet map to lag tremendously.


Difference(s) between Especially and Specially

I have really hard time to figure out when to use Specially and when to use Especially. Since both are adverbs, that makes it even harder. Can anyone simply give a way to distinguish between these two adverbs?


Is there any other advantage to using '_svn' directories instead of '.svn' in a Subversion controlled Visual Studio working copy

I've heard that Visual Studio doesn't like the .svn directories in a working copy from a subversion repository, and that using '_svn' is a better choice. Apart from not being hidden by the explorer, what is this mysterious advantage, or is this all a dirty rumour?


Proving and disproving $\exists b,c\in \mathbb R$ such that $f(x)=\frac a2x^2+bx+c $

Let $f:I\to\mathbb R$ where $I$ is an interval, $f''(x)=a \ \ \forall x\in I$.  Prove that there exsits such numbers $b,c\in \mathbb R$ such that: $f(x)=\frac a2x^2+bx+c ,\ \forall x\in I$.  Show that the above statement is not necessarily true if $f:A\to\mathbb R$ and $f''(x)=a \ \ \forall x\in A$ where $A$ is not an interval.    I'm not sure I know how to prove 1, it's probably isn't enough to just derive $f(x)$ twice  and we can't integrate... About 2. it means that the function isn't continuous but we see that it's still derivable so how can I find the relation between $b,c$ and $f$ ?


The title says it all...  I couldn't be able to find a good tutorial or an example showing how to do it.  Do you have any brilliant suggestions?


I have a VBScript file that extracts data from a SQL Server database table and then write the result in a CSV file. My problem is that each record gets written to the file one line at a time. I would like the recordset to be pasted into the CSV file in a similar way when using CopyFromRecordset in Excel VBA. Is there a way to do this? Here is my current code that reads the recordset one line at a time,  Set con = CreateObject("ADODB.Connection") Set rs = CreateObject("ADODB.Recordset") Set outFile = CreateObject("Scripting.FileSystemObject").CreateTextFile("C:\Users\JASON SAMUELS\Desktop\VBS\test.csv")  con.Open "Provider=SQLOLEDB.1;Password=pwd123;Persist Security Info=True;User ID=TEST;Initial Catalog=DemoDB;Data Source=JASONPC\SQLEXPRESS"  rs.Open "SELECT * FROM MyTable", con, 1,3  rs.MoveFirst  Do   'WScript.Echo rs("Name") & " " & rs("Surname")   outFile.WriteLine rs("Name") & "," & rs("Surname")   rs.MoveNext  Loop Until rs.EOF  rs.close con.Close Set con = Nothing


I posted a comment to a low effort question here:   I typed too fast and it came out like     "What you tried?"   I tried to edit it to     "What have you tried?"   and got "Comments can't contain that content."


How can I open the terminal app in Ubuntu desktop booted from live cd(not intalled in hard drive) ?


Is the Stargate half duplex or one way? I know it can send radio signals both ways but doesn’t seem like it can send and receive matter. It seems only the dialer can transfer matter. In “The Fifth Race” Gen Hammond he gives this impression. Season 2 Episode 15 -22:00.


Access a refreshed sandbox with JWT flow

We have a sandbox with a Connected App configured to use the JWT flow for machine-to-machine authentication in a CI/CD setup. We would like to run a nightly refresh from production, but this broke the JWT flow: although the key associated to the connected app we use to sign the JWT is not changed during sandbox refresh, the consumer id is changed every time we refresh the sandbox. Looks like it is expected as per this  Can anyone please advise how can we get access to the sandbox after we have refreshed it, in CI/CD? If we have access to production, is there a way we can use it to get login access to sandbox? Or there are other automated ways? Also, came across this  but it talks about using new consumer key and not automation. Thanks for the inputs


Recently, my friend bemused me with a question related to the momentum of an electron. The confusing logic is stated below:  Since an electron is a particle and according to classical physics, we know that it's momentum equals to: $p_e=mv$  However, by looking from a different perspective, we found that, From de Broglie's hypothesis: $p=\frac{h}{\lambda} $ And since de Broglie proposed that particles also obey the Einstein relation: $E=hf$ Then, $p_e=\frac{hf}{c}=\frac{E_e}{v}$ Since the only energy of the electron is Kinetic energy, then $E_e=\frac{1}{2}mv^2$ and $p_e=\frac{1}{2}mv$  We thus arrive at a contradiction: $mv \neq \frac{1}{2}mv $  What is the flaw in this logic?


How do I get an array of repeated characters from a string using LINQ?

If I have the following string:  string s = "abcdefghab";   Then how do I get a string (or char[]) that has just the characters that are repeated in the original string using C# and LINQ. In my example I want to end up with "ab".  Although not necessary, I was trying to do this in a single line of LINQ and had so far come up with:  s.ToCharArray().OrderBy(a => a)...


Can I move my AppData folder in Windows 10?

I have 3 Drives, Boot(C:), Data(D:) and Restore(E:) My C: , which has 116 GB is full, and most of it is in my Appdata\Local (50GB) My D: has 377GB Free Space and I wanted to Know if it is safe to move the AppDta folder to it.  I did this with the Appdata\roaming yesterday and it did not work but after a restart it was back to normal and this time I searched for it on google and made a User\username\AppData folder in my D: drive and went to the properties of Local and manually moved it to the new folder like the search told me and after opening the Local\ElevatedDiagnostics Folder which had admin rights it was possible for me and it is copying everything right now   Will this work? and if not, will it be easy to return back to the previous state like with the roaming folder?


This picture is take from my village in Gujarat, India. I think it is a small bird which I have never seen before. It is smaller than an Indian hummingbird and even smaller than a neem tree leaf. You can see the leaf and the flowers. That flower's diameter is maybe a half inch so you can see how small the bird is. This bird has a very little trunk like a butterfly. You can't see this in the picture, but I saw it. This bird sucks liquid from flowers by that trunk.


Incorrect user showing in most recently modified spot

While browsing the list of unanswered questions over on Arqade, I came across this little gem:    Clicking on  revealed that there were no edits or answers from anyone.  You can still view this live on , and I imagine it will stay there until someone edits or answers the question.  Steps to reproduce:   Find a question on the home page Post an answer so abysmal that it is immediately deleted Go back to the home page, and find the original question in the list Notice that your user name is still alive and well in the recently modified spot!   , and maybe this is behavior is intentional, but it appears to be a (slight) bug in how thread modifications are shown on dashboards.  (As noted in comments, if the user was deleted, the Community user should replace their user card. The user shown here is unregistered, and their account has not been deleted.)


TeX capacity exceeded with glossary package

My document contains many thousands of glossary items. When compiling with XeLaTeX, about 1/8 of the way through the document, it reports:  ! TeX capacity exceeded, sorry [main memory size=3000000]. \@glolist@ ...},{13586},{9406},{4539},{12811},{179                                                   51},{5831},{1047},{14948},    The numbers you see above are ones placed in #1 of \newglossaryentry{#1}{#2}. These unique numbers are assigned to each entry for convenience. I have successfully compiled short tests of the document, which only used 1% of the full content. The resulting .glo file is about 1 MB in size.   Could this be the result of some error on my part or am I giving TeX too much work to do?  Update:  I have followed the instructions below (edited texmf.cnf and running  fmtutil-sys --all. This has allowed me to compile an additional portion of the book, but no matter the settings I add, I can't go beyond 5/8 of the way through.  A compile with extra_mem_top.xelatex = 30000000 and extra_mem_top.xelatex = 50000000 both result in:  TeX capacity exceeded, sorry [pool size=3186676].   Update:  I have done the following:  $ kpsewhich texmf.cnf /usr/local/texlive/2011/texmf.cnf $ nano /usr/local/texlive/2011/texmf.cnf   To the texmf.cnf file, following instructions at , I added:  main_memory = 230000000 extra_mem_top = 10000000 extra_mem_bot = 10000000 save_size = 150000 stack_size = 150000  main_memory.xelatex = 30000000 extra_mem_top.xelatex = 30000000   After this, I tried: - fmtutil-sys --all, then compiling xelatex file.tex. - fmtutil --all, then compiling xelatex file.tex. - fmtutil-sys --byfmt xelatex, then compiling with xelatex file.tex. - texhash, then compiling with xelatex file.tex.  All of these resulted in no changes in results. I still get:  TeX capacity exceeded, sorry [pool size=3186676].


Why do we still have these HTTP error codes?  For me it seems like they are completely useless for the user (not for all but  most of them). It says nothing helpful (look at the screenshot above, it even doesn't says it's "an error") and explains nothing so I believe users are confused. And AFAIK it's a common way of representing HTTP error codes.  I believe browsers (for example) could handle these things somehow so original message will still be available for technical purposes but users will got more value.   So why they are still here? Is it possible to handle these codes more gently?  Update: why these errors could not be handled by the browsers? Or maybe there are any limitations? Incompatible design doesn't seems to be a problem for me, and I'm sure that standard views will improve UX because of similarity (errors will look similar for every site). And now I have to parse every cool designed error page to understand that happened.


How can I type the HTML &mdash; character into the title field of my .bib file?


What do we call parents who lose their child?

When a child loses his parents, he is referred to as an orphan.  If a woman loses her husband, she is considered a widow.  But if a parent loses their child, what do we call them? Childless? Childless doesn't make much sense, as if the parents never had children to begin with.


Questions are not aligned in user's list of questions

In the list of questions asked by a user (on the user's "Activity" page), the questions are not aligned. The alignment of questions that have answers differs from the alignment of questions that have no answers. Example 1:  Example 2:  I am using Firefox 88 on Ubuntu.


Changing Individual Characters in a String Array

Why do I get an hangtime error when running the following code?  int main(void) {     char *string_array[2];      string_array[0] = "hI";     string_array[1] = "tHERE";      string_array[0][0] = 'H';      return 0; }   However, if I call the Individual String Characters and print them using the same "Handle" it works.(See Working code below)  int main(void) {     char *string_array[2];      string_array[0] = "hI";     string_array[1] = "tHERE";      printf("%c", string_array[0][0]); //Prints out h, the first char of the first string in the array      return 0; }


Inconsistent/incorrect breaks/newlines in lists

When editing , I noticed that placing breaks (blank lines) in lists (especially nested lists) is inconsistent (and possibly dependent on the current state of the JavaScript variables of the editor).  Different layouts can give the same results, multiple changes, changes to the wrong part, or no changes at all.  For example, with the following list, there are no line-breaks before or after anything as expected:    1. foo     * bar     * baz   2. test     * me     * you   Gives this:   foo   bar baz  test   me you    If you try to add a space between the two top-level lists (before the line with 2. test), you would naturally use this:    1. foo     * bar     * baz    2. test     * me     * you   Except that you get this unexpected and unwanted result instead:   foo   bar baz  test   me you    In this state, adding or removing a blank line between the first- and second-level lists (after foo or test) changes nothing:    1. foo      * bar     * baz    2. test     * me     * you   Is the same as before:   foo   bar baz  test   me you    Look at the marked rows in the following screenshot; different layouts give the same results (which often don’t match what was expected):    A video is worth a million words (, ). The closest related question I could find was .    (“By design?” So making it work inconsistently and give unexpected and unwanted results is on purpose‽ ಠ_ఠ)


"Cancel Editing" button on chat looks strange

I am not sure if this is intentional but I can't find another question highlighting this so figured I'd ask. In chat, when editing a message you've already posted, a "Cancel editing" button appears as follows:  In , at least (I've had a look in the DMZ but their red button appears fine over there) but it may also occur in other channels, the button stays in a state where it's either nearly transparent or perhaps supposed to be disabled? I have noticed that in my browser at home the button doesn't become visible at all but that is running a beta version of Chrome so I put it down to that. The button still works, clicking on it will cancel the editing process as intended, so this is purely an aesthetic issue. Is the button supposed to look like that?


How do you prove $\sqrt{n}$ is an integer or it is irrational?

I have tried this problem five times but I keep getting stuck. I keep following the proof for $\sqrt{2}$. I know that I have to prove that the set is nonempty. Which I do by induction.   $2^1 > 1$  assume $2^n > n$ and prove $2^{n+1} > n+1$  $2^n + 2^n > n+n > n$  Then I think I have to prove that it has an upper bound. Also, I think it has something to do with prime numbers?


I found this problem while studying online. When I take the derivative of $\sin x^{\cos x}$ using the rule: $$(a^x)'=a^x\ln a,$$ and using the chainrule I get: $$\sin x^{\cos x} \ln \sin x\cdot(-\sin x).$$  However in the page I found this problem on, the solution is listed as: $$\sin x^{\cos x}\left(\frac {\cos^2x} {\sin x}-\sin x\ln(\sin x)\right)$$ I don't believe my solution was wrong but I'd like to know how to get to the solution that's on the page.  Thanks in advance :-)


Failed to load modules at startup: Could not find module by name 'off'

I just upgraded from 15.04 to 15.10 and during the boot process I now get an error saying that some modules failed to load. So I ran systemctl status -l systemd-modules-load.service and I got this:  Oct 24 12:22:23 ubuntu systemd-modules-load[292]: Inserted module 'option' Oct 24 12:22:23 ubuntu systemd-modules-load[292]: could not find module by name='off' Oct 24 12:22:23 ubuntu systemd-modules-load[292]: Failed to insert 'off': Function not implemented Oct 24 12:22:23 ubuntu systemd-modules-load[292]: could not find module by name='off' Oct 24 12:22:23 ubuntu systemd-modules-load[292]: Failed to insert 'off': Function not implemented Oct 24 12:22:23 ubuntu systemd-modules-load[292]: Inserted module 'cuse' Oct 24 12:22:23 ubuntu systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE Oct 24 12:22:23 ubuntu systemd[1]: Failed to start Load Kernel Modules. Oct 24 12:22:23 ubuntu systemd[1]: systemd-modules-load.service: Unit entered failed state. Oct 24 12:22:23 ubuntu systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.   When I run cat /etc/modules I get  loop lp usbserial option nouveau nouveau   I tried to comment out one of the nouveau modules but it didn't help.  I found a  on Launchpad which gives a similar message but my problem doesn't seem to be caused by the rtc module (which is the culprit in the linked bug).  Anyone has an idea what I should try?  EDIT: added more info:  cat /lib/systemd/system/systemd-modules-load.service gives  [Unit] Description=Load Kernel Modules Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5) DefaultDependencies=no Conflicts=shutdown.target Before=sysinit.target shutdown.target ConditionCapability=CAP_SYS_MODULE ConditionDirectoryNotEmpty=|/lib/modules-load.d ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d ConditionDirectoryNotEmpty=|/etc/modules-load.d ConditionDirectoryNotEmpty=|/run/modules-load.d ConditionKernelCommandLine=|modules-load ConditionKernelCommandLine=|rd.modules-load  [Service] Type=oneshot RemainAfterExit=yes ExecStart=/lib/systemd/systemd-modules-load TimeoutSec=90s   cat /etc/modules-load.d/modules.conf gives the same output as cat /etc/modules/ listed above.


Update swing component from another class

Problem: Not able to update swing component from another class.  Objective: When user clicks the update button, the text in "nameLabel" will change to "John Doe".  I attempted the solutions from stackoverflow regarding this issue but had no success.  Here is a very simple example, not sure what I'm doing wrong.  GUI.java  package TestGUI.TestGUI;  import java.awt.BorderLayout;  import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel;  public class GUI {      JLabel nameLabel;     JButton updateButton;     JFrame frame;     JPanel panel;      public void display() {          frame = new JFrame();         panel = new JPanel(new BorderLayout());          frame.setTitle("BlackJack Game");         frame.setVisible(true);         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);         frame.add(panel);           nameLabel = new JLabel("No Name");         updateButton = new JButton("Update");          panel.add(nameLabel,  BorderLayout.NORTH);         panel.add(updateButton,  BorderLayout.SOUTH);          updateButton.addActionListener(new EventListener());     }      public void setNameLabel(String name) {         nameLabel.setText(name);     } }   EventListener.java  package TestGUI.TestGUI;  import java.awt.event.ActionEvent; import java.awt.event.ActionListener;  public class EventListener implements ActionListener {      //private Card card;     private GUI gui;      public EventListener(GUI gui) {         this.gui = gui;     }      public EventListener() {         // TODO Auto-generated constructor stub     }      public void actionPerformed(ActionEvent actionEvent) {          String actionCommand = actionEvent.getActionCommand();          if(actionCommand.equals("Update")) {             gui.setNameLabel("John Doe");         }      } }   App.java  package TestGUI.TestGUI;  public class App  {     public static void main( String[] args )     {         GUI gui = new GUI();          gui.display();     } }   The following error is produced, when the "update" button is clicked.


How can i know if my date is valid in java using simple Date Format?

I am aware of the format using (yyyy-MM-dd) but the inputted date must be in yyyy/MM/dd and i am having trouble formatting it cause java wont read the format yyyy/MM/dd how to do this cause in model its in date format and i cannot set it when im returning string so return value must also be in date??  My request parameter from JSP  String HireDate = request.getParameter("hireDate");     emp.setDoh(DateUtil.StringToDate(HireDate));   MY JQuery  $( function() { $( "#hireDate" ).datepicker({ dateFormat: "yy/mm/dd" }).val(); });   My Model  private Date doh; public Date getDoh() {   return doh; }  public void setDoh(Date doh) {   this.doh = doh; }   DateUtil Class  public static Date StringToDate(String date) {   SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd", Locale.ENGLISH);   java.util.Date date1 = null;   try {     date1 = sdf.parse(date);   } catch (ParseException e) {     // TODO Auto-generated catch block     e.printStackTrace();   }   Date sqlDate = new Date(date1.getTime());   return sqlDate;   }    public static String DateToString(java.util.Date date) {   String convertedDate = "";   if(date != null){   Format formatter = new SimpleDateFormat("yyyy/MM/dd");   convertedDate = formatter.format(date);   }   return convertedDate;   } }   I would like to make a static boolean function in another class which i will call to know if its a valid date whenever im using format yyyy/MM/dd in parsing it always returns the whole date including CST year etc,any suggestions??


the code below is counting character.  I am a bit new to hashmaps so I am confused about the syntax and what's it doing from this line: Map charCounter = new TreeMap();  Can someone please dumb this code down and explain from that line please?           public class repeated {     public static void main(String[] args) {          String str = "Abaa";          char[] char_array = str.toCharArray();          System.out.println("The Given String is : " + str);      Map<Character, Integer> charCounter = new TreeMap<Character, Integer>();          for (char x : char_array) {      charCounter.put(x,charCounter.get(x) == null ? 1 : charCounter.get(x) + 1);          }      for (Character key : charCounter.keySet()) {   System.out.println("occurrence of '" + key + "' is  "+ charCounter.get(key));         }      }  }


Estimate model with dummies for whole sample versus model without dummies for each subsample

Assume the true (cross-section) regression model is  $$ Y_i = \alpha + \alpha_mD_m + \beta X_i + \beta_m X_iD_m + \epsilon_i $$  where $D_m$ is a dummy for gender (equal to 1 if individual is a male).  Assume I have a random sample of the above population, of size $n$. Now, instead of estimating the above, I estimate separate models for each gender:  $$ Y_i = \rho + \phi X_i + \mu_i $$  for female individuals and  $$ Y_i = \rho_m + \phi_m X_i + u_i $$  for male individuals.  Is it always the case that the probability limit of the estimators converge to the true parameter, as below?  $$ \rho \overset{p}{\rightarrow} \alpha $$  $$ \rho_m \overset{p}{\rightarrow} \alpha_m $$  $$ \phi \overset{p}{\rightarrow} \beta $$  $$ \phi_m \overset{p}{\rightarrow} \beta_m $$  I cannot think of any reason why the above is not true.  I ask this because I wonder if instead of estimating a model for a whole sample full of dummies to account for group effects, I can estimate a simpler model for different groups. Naturally, assuming that $n$ for each group is sufficiently high.


I'm trying to install Ubuntu on a Acer Aspire V6 laptop with Intel(R) HD Graphics 4000 using a USB drive from Kingston. Booting from the USB I can see the purple screen for a few seconds then the screen goes black. I can still hear the Ubuntu login sound just no display.  Version trying to install: Ubuntu 13.10  What can be causing this/how can I fix it?  Thank You.


Can anyone help me? Trying to do very simple function to navigate from component to another. I copied the code from Developers guide, but for some reason it doesn't work for me.  My function to navigate to another component:  nav : function(component, event, helper) {             var evt = $A.get("e.force:navigateToComponent");             evt.setParams({                 componentDef : "c:navToComponentTest2",                 componentAttributes: {                     continent : component.get("v.continent")                 },                 isredirect : false             });             evt.fire();     }   And here's the error I get in my Lightning App   EDIT: Got it working in Lightning tab. Would it be somehow possible to get it working in communities as well? Or is there anyway to make same functionality?


I am getting  time data '2015-02-10T13:00:00Z' does not match format '%Y-%m-%d %H:%M:%S'   I tried:   import datetime datetime.datetime.strptime('2015-02-10T13:00:00Z', '%Y-%m-%d %H:%M:%S')   and   import time time.strptime('2015-02-10T13:00:00Z', '%Y-%m-%d %H:%M:%S')   what am I doing wrong?


Factory Pattern. When to use factory methods?

When is it a good idea to use factory methods within an object instead of a Factory class?


While I was reviewing I see below warning,   Your last flag was declined - please review it before flagging this post!   But when I see flagged post history I am not able to find out which was exactly declined, my last flag was before 2 days, and it is being displayed as helpful.  My declined flag is of 21 February.  Please help to understand this.


My "credit limit" is now a "credit access line". Does it matter?

My credit card just got "upgraded".  Tucked in among all the notes about new benefits I've got access to is this line:     Please note: Your credit line/credit limit will now be referred to as a Credit Access Line.   Does this change in terminology represent any change in how the credit card works?


I am running Ubuntu 12.04.1 LTS i686 on VirtulBox. Every time I check the updates, there's a new Linux kernel. If I install the new kernel, I have to install the Virtulbox Guest Additions again and reboot the server. I don't want to do this every week. I know I can manually uncheck the kernel packages from update manager, but is there a way to skip the kernel update automatically? I found an answer here, but it's for Ubuntu 10. Thanks.


At the end of the  word flower we have triphthong. So should it be considered a monosyllabic word?


how to type special symbols in eclipse in android or office?

What should I do to get special symbols in eclipse like Sigma, Pi and so on. when I am typing code for Pi (alt+277) it is not converted into the Pi symbol.   How should I proceed?


Is save data from previous Dragon Age games used in Inquisition?

Does Dragon Age Inquisition make use of save data from previous games in the series?  If so, what benefits does this provide?


for loop - unexpected incremented float values


Prove: If $a$ divides $b c$ and $1 = a r + c s$, then $a$ divides $b$, where $a,b,c,r$ are integers.

I'm getting started with proofs but I have no idea how to do this. I have gotten to $b c = a k$ where $k$ is some integer by divisibility. I'm not sure I can use division yet as they will no longer be integers. I have no idea how to prove it and am seeking helpful ideas.


Excluding certain files and directories when deleting files

My top-level directory is data. data includes several directories and these directories have sub-directories. I need to remove all files and directories inside data/ except several files in some directories.   For example, data includes the directories 100 and 101. I just want to keep a.txt and b.txt files in 100/ and c.txt and d.txt files in 101/ while removing all other files and directories in 100 and 101.  Example:  . ├── 100 │   ├── a.txt │   ├── b.txt │   ├── c.txt │   └── d.txt └── 101     ├── a.txt     ├── b.txt     ├── c.txt     └── d.txt   I use rm -rf !(a.txt|b.txt) command but I can't apply this command for each directory automatically.


HMCM vs Viterbi algorithm for calculating most likely path of an HMM

My expertise in machine learning and statistics is probably at a sophomore level. But anyway, my question is this:  Given a Hidden Markov Model returned over a sequence of events with some states, how do you find the most likely path over the states given only the information to create this HMM?  There are 2 things I've learned about in my research: the Viterbi Algorithm and Markov Chain Monte Carlo. As far as I can tell, the Viterbi algorithm is an analytical approach applying some math over the transition matrix of the HMM to find the most likely sequence of future states. And a MCMC is an empirical approach using a stochastic method over the transition matrix to find the most likely path over the states.  I'm wondering if the previous paragraph I wrote is correct. And, if paragraph is correct, in what situations would I use one method over the other?


Java generics type erasure: when and what happens?

I read about Java's type erasure .  When does type erasure occur? At compile time or runtime? When the class is loaded? When the class is instantiated?  A lot of sites (including the official tutorial mentioned above) say type erasure occurs at compile time. If the type information is completely removed at compile time, how does the JDK check type compatibility when a method using generics is invoked with no type information or wrong type information?  Consider the following example: Say class A has a method, empty(Box<? extends Number> b). We compile A.java and get the class file A.class.  public class A {     public static void empty(Box<? extends Number> b) {} }     public class Box<T> {}   Now we create another class B which invokes the method empty with a non-parameterized argument (raw type): empty(new Box()). If we compile B.java with A.class in the classpath, javac is smart enough to raise a warning. So A.class has some type information stored in it.  public class B {     public static void invoke() {         // java: unchecked method invocation:         //  method empty in class A is applied to given types         //  required: Box<? extends java.lang.Number>         //  found:    Box         // java: unchecked conversion         //  required: Box<? extends java.lang.Number>         //  found:    Box         A.empty(new Box());     } }   My guess would be that type erasure occurs when the class is loaded, but it is just a guess. So when does it happen?


In my new mixer, my bread dough gets wrapped around the kneading hook. What should I do?

I just got a new stand mixer - a nice, heavy 500W mixer with a 5-liter bowl. Until now, I'd been making bread by hand and kneading it on the countertop.  So the first thing I tried was using the mixer with the kneading hook, but I find that the dough tends to get wrapped around the hook and just spins around along with it.  I guess I'm doing something wrong, but I'm not sure if it's my technique or my ingredients. I'm using the same bread recipes as I did before. Any ideas?  Edit:  Thanks for all the input, guys. Here's some more info:   The mixer is a Kenwood KMix KMX-50. I've tried adjusting the height of the dough hook up and down, I'm not sure how far from the bowl's surface it should be. Any suggestions? I don't think I doubt it's a volume/quantity issue - I'm using a kilo of flour, which is around the 1.3kg bread weight limit of the spec. I mix at low speed.   I'll try Sobachatina's suggestion and try to add water. Let's see how it turns out. Thanks for all your suggestions!


How to create isometric effect in Photoshop

I want to add an image to Photoshop and make it look as if it is lying down/isometric as in the attached image. I can achieve the effect using the Transform tool but without being able to add precise numbers it feels very random to me and I get slightly different results every time I do it.  Anyone know the best/simplest way to achieve this.


Evaluating $\lim_{x \to 0} x\sin\left(\frac{1}{x}\right)$ or showing it does not exist

Does the following limit exist? $$\lim_{x \to 0} x\sin\left(\frac{1}{x}\right)$$  If yes, then I have to find it; if no, then I need to give reason why. I couldn’t figure out how to prove this formally, can someone please help me out.


upgrade to 13.04 from 12.10 without quantal repo

I have recently been made a temporary owner of an old 12.10 Ubuntu machine so I can upgrade it to the latest(14.04). So I am trying to upgrade to the 13.04 as per ubuntu website, and from there to 14.04, but I seemed to have run into the apt-get bug:  root@camolls1000774583:/etc/apt# do-release-upgrade  Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife  Traceback (most recent call last): File "/usr/bin/do-release-upgrade", line 145, in <module> fetcher.run_options += ["--mode=%s" % options.mode, AttributeError: type object 'DistUpgradeFetcherCore' has no attribute 'run_options'   I googled around, apparently the fix was pushed in a upgrade and was placed in quantal repo.   But when I tried to run apt-get update and apt-get upgrade all my quantal repos came back as 404 not found or ignored. I am guessing since Quantal is EOL they took away the repo.  So how do I upgrade to Raring without quantal repo?   I have also attached a copy of my sources.list in case that helps.  I can't nuke it. I need the user's data intact.   thanks  Edited for additional clarification.


Suppose $a_n$ is real sequence which satisfies $$ a_1>0, \quad a_{n+1}=\ln(a_n+1) \quad (n\geq1)$$  How can I evaluate $$\lim_{n\to\infty}na_n$$?  I just know $$\lim_{n\to\infty} a_n=0$$  But I don't know what should I do for $na_n$.


How does this character return this stone in its original form?

When Tony took the stone from 1970, it was in the form of the Tesseract but at the end of the movie Captain America goes back to return the stone which is not its original form. How's this possible?


Anyone know any add ons or anything that is robust enough to turn a full body 2d image of a person into a 3d model?  If something like that even exists.   For an example if I took a full body picture of myself and put it into the software to convert it into a full 3d obj model.  This link is a good example of what I'm trying to accomplish. But a full body obj instead of just the head    Is this possible to do within blender or by any other means?


Evaluating Mathematical Expressions in Lua

Here is the code.  \documentclass{article} \begin{document} \directlua{tex.sprint(tostring(math.sin(math.pi)))} \\ \directlua{tex.sprint(tostring(math.tan(math.pi/2)))} \end{document}   I am expecting the answers as 0 and error . The code above gives some very small and big number. Can I get the expected answers by some modifications in code?


Prove that either $m$ divides $n$ or $n$ divides $m$ given that $\operatorname{lcm}(m,n) + \operatorname{gcd}(m,n) = m + n$?

We are given that $m$ and $n$ are positive integers such that $\operatorname{lcm}(m,n) + \operatorname{gcd}(m,n) = m + n$.  We are looking to prove that one of numbers (either $m$ or $n$) must be divisible by the other.


The correct way to compare time in javascript?

I'm trying to compare time a and time b. My JavaScript looks like this       var a ="02/08/2016 9:00 AM";     var b ="02/08/2016 11:20 PM";      if (b<a || b==a){        alert("End time is before or same as Start time.");     }     else{        alert("Start time is before End time.") }   After I run this code, it tells me that "The end time is before or same as the start time"? I thought with the values of a and b that I set, it should the other way around?


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


I have a multiline label made of 3 attributes made through an expression like:  "Length"  || '/' ||  "Level"  || '/' || '→ ' || "Bearing"  || ' ←'    I'd like to make the Length and Level lines in bold while maintaining the bearing in a normal style. You can expand this question in a more general sense, because I could use some different styles (font size etc) for the different attributes.  Is there a way to achieve this?  EDIT: i read about similar questions, but i didnt come up with any solution OR workaround. Im asking if anyone has come up with any yet lately.


Why are interaction terms multiplicative in linear regression?

Why do we use multiplication instead of another function to include interactions in linear regression?


Regression in spacing before lstlisting environment with version 2018/09/02 after paragraph break

Anyone else noticed a difference in the spacing before a lstlisting environment since upgrading to version 1.7 2018/09/02?  Here's a MWE with output with version 1.7 and version 1.6 for comparison.  I can get same output be removing the empty line before the lstlisting environment, but I'd rather not go through old files and do that. And it seems like wrong behaviour anyway.  Is this a bug?  Can anyone suggest a workaround to return things to the old behaviour?  MWE  \documentclass{article} \usepackage{listings} \begin{document} Preceding paragraph.  \begin{lstlisting}{} \documentclass{article} \begin{document} \end{document} \end{lstlisting}  Subsequent paragraph. \end{document}   Output with listings 1.7 2018/09/02    Output with listings 1.6 2015/06/04


Different description on Brand search and Keyword search

When we search for the company name and the company snippet shows up as a result, it takes a text from the HTML as description.   On the other hand when we search a keyword and the homepage shows up as a result, the meta description will show up.  It happens in Google, Bing and Yahoo. How is it possible?  --EDIT:  I found the solution, but since a MODERATOR, marked this question as duplicate, I will write my answer here:  The problem was that: We didn't have the company name in the description, while the first word in the html body was the company name.  Therefore, where we searched for the company name only, search engines found the html body a better match for the query and show the body (which was not a human readable text)  However, when we searched the company name + a keyword that we mentioned in description, the description was chosen, not the html body.  To fix the issue, we both changed the description to include the company name, and remove the company name from some html tags like logo's alt in the very first part of the page.  Summary: Include all the keywords that you want to be searched in description including the company/website name.


i am running windows 8 on oracle virtual box and unable to share between ubuntu and windows

when i created shared folder getting error   , The VirtualBox Guest Additions do not appear to be available on this virtual machine, and shared folders cannot be used without them. To use shared folders inside the virtual machine, please install the Guest Additions if they are not installed, or re-install them if they are not working correctly, by selecting Insert Guest Additions CD image from the Devices menu. If they are installed but the machine is not yet fully started then shared folders will be available once it is.


If i use one ground wire for two outlets, will my equipment get damaged?  Here is what I want to do:     If my air conditioner sends voltage through the ground wire shared with the outlet powering my computer, would my computer short out and or get damaged?


Prove that $\sum_{k=0}^{n} \frac{{m \choose k}}{{n \choose k}}= \frac{n+1}{n-m+1}, m \le n$

Prove that $$\sum_{k=0}^{n} \frac{{m \choose k}}{{n \choose k}}= \frac{n+1}{n-m+1}, m \le n$$ I have carried out enough numerics to find that this identity is true. So, here, I  raise the question of its  reference and a proof.


Blender on DELL Poweredge and OpenGL 3.3 Requirement

I am building a render farm at home with old DELL Poweredge R620 servers.   I'm planning to run Linux but to test Blender I quickly loaded Windows 10. Blender when starting hits me with error about OpenGL 3.3 minimum requirement.  Is this also a requirement of Linux as it loads but the screen is missing icons and looks pretty corrupt?  Is there anyway around this or do I have to install an old GPU into each server?  thanks Dave


Finding exact isomorphism between finite fields given as quotient rings

I have two quotient rings over $\Bbb F := GF(3)$: $$\Bbb F[x] / (x^3 -x - 1) \qquad \text{and} \qquad \Bbb F[x] / (x^3 -x + 1) .$$  These things I know: Both quotient rings are irreducible, that means they are the same size, so there should exist isomorphism.   I think these two quotient rings should be a field because they have maximum ideals.  I am trying to find function phi to create isomorphism between these quotient rings but not using brute force method. I have tried several ways but they are not "easy" enough. I know that identity element must be mapped to identity element but it didn't help me to find that exact isomorphic function.  Can somebody push me the correct way or give me tip how and where should I look to easily find isomorphism between these quotient rings without necessity to "heavy" computing.


Systems of linear equations to calculate $\alpha$ and $\beta$

Point $1$: When there is $1$ car passing the road, the average speed is $50$ km/h.  Point $2$: When there are $5$ cars passing the road, the average speed is $45$ km/h.  Point $3$: When there are $12$ cars passing the road, the average speed is $38$ km/h.  A traffic engineering company decides to model the average speed (shown by $u$) as a linear function of the number of cars (shown by $n$). So we want to have  $u(n)=\alpha+\beta n$ .   Using Point $1$ , Point $2$ and Point $3$ information: write a system of linear equations to calculate $\alpha$ and $\beta$ using all three points; i.e. we will have three equations with two unknowns.


Did Shelob know about the Ring? Considering she doesn't really have fingers, could she have used it if she had known about it?


How does the kinetic energy of a ballerina increase?

When a ballerina pulls her arms in, her rotational kinetic energy increases because angular momentum is conserved. That means that work must have been done on her. I saw somewhere that there is work done because she has to pull her arms in against a centrifugal force.   Actually, the particular example is from the Feynman lectures volume I, chapter 19 section 19-4. Here is the problematic part: "When we move a weight horizontally we do not do any work. If we hold a thing out and pull it in, we do not do any work. But that is when we are not rotating! When we are rotating there is centrifugal force on the weights. They are trying to fly out, so when we are going around we have to pull the weights in against the centrifugal force. So the work we do against the centrifugal force ought to agree with the difference in rotational energy."  I have two questions: what is this centrifugal force in the quote above, and how is it that by pulling her arms in against this force, she has done work? A centrifugal force is a fictitious force from what I know of, so the kinetic energy increase cannot be accounted for with this.   The second question is explained here: Suppose you have some bar that you are holding at arm's length, perfectly horizontally (meaning ignore gravity). Because the bar is still, there is no net force. You now pull the bar towards you. The bar must have accelerated, so you did some positive work on the bar. However, because at the end of the process, when the bar is next to your body, it is at rest, you must have done negative work, decelerating the bar to make it come to rest. Therefore,the total work done on the bar must be zero. Note that this property does not depend on whether or not other forces are acting upon the bar, as it is only the net force that does work. So how is it, that by saying that there some force pulling the bar away from you (the centrifugal force for the ballerina), you have done work? It must be the same thing, because if the bar is at rest initially, and at rest when near your body, there must be no net force, so it is the same situation as if there was only one force applied to the bar.  We could say that you accelerated the bar and let the other force decelerate it, meaning that in all, you did work on the bar. However, the net work on the bar would be zero, because the other force did negative work on it by decelerating it. And we are interested in the net work done on the arms of the ballerina, not the work she does herself. So what part am I missing? Thanks for any answers and sorry for the long question.   To clarify, the bar in question is not rotating. So the net force on the bar is zero.


Consider the following:        Not only you should be able to speak but also able to write.   You should be able to not only speak but also write.   You should not only be able to speak but also be able to write.      Which is right to use? If there's an even better one, please suggest.


Help! I need to check, if first text equals second!  pass = readPassFromFile() if(passTxt.getText().toString()==pass)   {     success() } else {     fail() }   I entered right password into EditText. Variable pass is a line from file. I used toast to see passwords. Result ('-' is a separator, '[]' is start/end): [Qwerty-Qwerty].


how do you quickly concatenate an integer simmilar to concatenating strings

In c++ is there any function to concatenate an int or a short piece of code i could write that will do this. Everything that i have found so far seems unnecisarily complicated. I was just wondering, because with strings you just add the two strings together, so any integer equivelant.


In Ubuntu 14.04, when I try to install steam via .deb file, it shows:  Steam needs to install these additional packages: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386   Then it asks for my password. I input my password, the terminal loads, and then says this:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.5)  unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed                         Depends: libcheese7 (>= 3.0.1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."   The packages don't seem to want to install. Any input?  I am an Ubuntu novice. Please be specific with commands.


Finding $\lim_{n \to \infty} n(\sqrt[n]{2} - 1)$

I am trying to find the limit of:  $$\lim_{n \to \infty} n(\sqrt[n]{2} - 1)$$  I know it should be very simple but I don't seem to get it. Thanks in advance for any help!


I'm reading  and not sure if I understand integral dimension analysis. The idea is to "guess" integrals without explicit calculation, by just looking at their dimensions.  It's been a good decade since I last touched integrals so please bear with me!        My answer to the problem is that dimension of $\int_{a}^{b}f(x)dx$ depends on the dimension of the multiplication $f(x)*dx$, so while the integral sign is indeed dimensionless, if we have $f(x)$ being "length per second" and $x$ being "second" then the resulting integral will have "length" dimension.  But the author also tells that $e^{-\alpha x^2}$ is dimensionless and thus derives dimension formula for $\alpha$:        I don't understand why the $-\alpha x^2$ should be dimensionless. What if there's no $\alpha$ (or $\alpha=1$), in which case the exponent becomes $e^{-x^2}$ - will it have a dimension now? And if it won't, then why dimension of $\alpha$ should depend on  the dimension of $x$ at all?  Also, a final question - if we accept that the only dimension which affects the integral in question is the dimension of $x$, then setting it to "length" means that the integral dimension is "length". But integrals compute areas, don't they? I think that in this case the integral $\int_{a}^{b}f(x)dx$ will have a dimension of "length x 1" which is still area. Is this correct, is there a better explanation?


Does N'Zoth the corruptor invoke minions in a specific order?

I'm wondering a point about N'Zoth. He will summon my dead deathrattle minions, but will he do it in a specific order (death order, mana cost order, ...) ? Or randomly ?  If there is already a few minions on my side of the board, I'd like to predict which minions will be summoned and which ones will not (because board is full). If it's by death order, this generally means lower cost minions (like fire bat) will be summoned before the interesting big drops (sylvanas, highmane or so).


Start table number in whole digits for each chapter seprately

I want to show table number starting from 1 to so on seprately on each chapter. I am trying to use setcounter, but its not giving the desired results.  \documentclass[english]{book} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{array} \usepackage{enumitem}  \makeatletter \providecommand{\tabularnewline}{\\} \makeatother  \usepackage{babel}  \begin{document} \setcounter{table}{4}  \chapter{One}  \begin{table}[htbp] \centering  \caption{I want to give number Table-1}  \begin{tabular}{l>{\raggedleft}p{50pt}r} \hline  \textbf{Province} & \textbf{Import }\textbf{\scriptsize{}('000' USD)} &  \textbf{Percent}\tabularnewline \hline  Punjab &  393.8  & 21.35\tabularnewline Sindh &  521.4  & 72.53\tabularnewline \hline  \textbf{Grand Total} & \textbf{ 321.2 } & \textbf{ 100.00 }\tabularnewline \hline  \end{tabular}  \end{table}  \begin{table}[htbp] \centering  \caption{I want to give number Table-2}  \begin{tabular}{l>{\raggedleft}p{50pt}r} \hline  \textbf{Province} & \textbf{Import }\textbf{\scriptsize{}('000' USD)} &  \textbf{Percent}\tabularnewline \hline  Punjab &  393.8  & 21.35\tabularnewline Sindh &  521.4  & 72.53\tabularnewline \hline  \textbf{Grand Total} & \textbf{ 321.2 } & \textbf{ 100.00 }\tabularnewline \hline  \end{tabular}  \end{table}  \chapter{Two}  \begin{table}[htbp] \centering  \caption{I want to give number Table-1}  \begin{tabular}{l>{\raggedleft}p{50pt}r} \hline  \textbf{Province} & \textbf{Import }\textbf{\scriptsize{}('000' USD)} &  \textbf{Percent}\tabularnewline \hline  Azad Jammu \& Kashmir &  2.1  & 0.03\tabularnewline Balochistan &  1.6  & 0.08\tabularnewline EPZ &  9.7  & 0.41\tabularnewline \hline  \textbf{Grand Total} & \textbf{ 321.2 } & \textbf{ 100.00 }\tabularnewline \hline  \end{tabular}  \end{table}  \end{document}


Check how long untill being logged off in win7 (from cmd)?

When I was young, I learned a quick way to set a timer to turn off my computer  shutdown -f -s -t 3600   That would give me 1 hour until log off and shutdown.  I remember in windows xp, there would be a timer counting down. But win7 only shows a notice for a very short period of time. Then disappears.  I know I can just cancel it and then reset if needed. But how can I check how much time is left after a while?  Additionally, what would be the "modern" code to do this in Powershell?


I have some vintage 27 inch wheels and I was wondering if I could use some 700 x 32c Tires on them.  Thanks


Are these sunglass lenses linearly polarized or what?

This is a difficult question to phrase, so please bear with me. I found some cheap sunglasses and pulled out the plastic lenses which are polarized. For clarity, I have labeled them as lens-1 and -2 with faces A and B.    There are three cases I need help with in explaining what is going on. I wrote a letter “A” on a sheet of white paper that I am looking at through these lenses.   Case (1): Sides 1A and 2A (or sides 1B and 2B)   If put side 1A in front and 2A in back (or vice versa), there is a color change depending on the rotation. With $0^0$ or $180^0$ rotation, there is a brownish color while a $90^0$ or $270^0$ rotations produces a greyish color. If on the other hand, one switches the A-sides to B’s, you get the exact same colors as above (as expected).  Here is where I was really surprised. If you have combinations of 1A and 2B, I found to my surprise that it matters which lens goes in front.   Case (2): Side 1A in front with 2B behind (or sides 1B and 2A)  With lens-1A in front, you can barely see the letter A with rotations of $0^0$ or $180^0$ whereas with rotations of $90^0$ or $270^0$ it appears to have perpendicular polarizations.   Case (3): Side 1A behind while 2B is in front (or sides 1B and 2A)   Reversing the order of 1A and 2B allows me to clearly see the letter A with rotations of $0^0$ or $180^0$. On the other hand, rotations of $90^0$ or $270^0$ appear to have perpendicular polarizations. So apparently, the order in which lenses 1A and 2B appear matter.   Here are my questions:   There are 4 different color changes when these lenses are overlapped – why? Why does the order of the lenses (either in front or behind) in case (2) and (3) matter? I would have expected the same outcome, however, that is not correct. What role does polarization play in these lenses? I think that case (3) is a situation of linear polarizers but the order dependence has thrown me through a loop.   Thank you in advance for any help.


Square brackets in in the `description' of the theorem environment

The following code works fine  \begin{theorem}[Euler] Blah \end{theorem}   But whenever I try to use square brackets in the description I get an error.  \begin{theorem}[The set $[0, 1]$ is compact] Blah \end{theorem}   Can anybody tell me how to avoid the error, please?


Inverse CDF (Quantile) of Piecewise Function

This question may be insanely simple, but I'm unsure. Let's say we have the following function: $$ f(x) = \begin{cases} x & 0 \leq x < 1 \\ x-1 & 1 \leq x < 2 \\ 0 & \text{otherwise} \end{cases}$$ The CDF is obviously $$ F(x) = \begin{cases} \frac{1}{2}x^2 & 0 \leq x < 1 \\ \frac{1}{2}x^2-x+1 & 1 \leq x < 2 \\ 0 & \text{otherwise} \end{cases} $$ How would I calculate the Inverse CDF from this? (Note: The +1 is required to make it add to 1 and not suddenly become negative. I don't know if that matters for the Inverse CDF.)


Motivation for Invertible Adjacency Matrices

I noticed that it is difficult to determine the necessary and sufficient conditions for a graph to have an invertible adjacency matrix (I've seen the other related posts on M.S.E.). I was wondering if there are any interesting applications of invertible adjacency matrices.   For example, is there any information encoded in the product of two adjacency matrices? An interesting result I have read is that the $(i,j)$ entry of $A^k$ for an adjacency matrix $A$ of a graph $G$ counts the number of walks from the vertex $v_i$ to $v_k$ that use $k$ edges.


Submit an accepted answer to the board for rejudge

Sometimes an accepted answer is actually incorrect.   In this case, it is better to have a functionality to let any user to submit the question to the board to be reviewed by users with higher reputation with expertise on the topic and then rejudge it.  This is extremely important since some "correct" answers are not correct at all.  Thanks. Just throw some thinking.


Cannot comment on closed posts from Android app

For some reason the Android app will does not expose a comment box at all on closed posts either for the question or any answer posts.  Especially as a moderator this is a cause of some frustration as post closures are something that I often comment on to help people learn the ropes and to do this I have to frequently switch over to a browser.