How to preserve custom number formatting after closing a workbook?

I have created a custom format ##,##0.0,,, CTRL+J %% in Excel 2010 to display  10000 as 0.1 100000 as 1.0 1000000 as 10.0 10000000 as 100.0 100000000 as 1,000.0 and so forth.  The problem I am facing is that once I apply this format, save and close the workbook, the next time I open it the format gets changed by multiplying by 10 (100000 is displayed as 10.0).  I don't understand how it is getting changed automatically the next time I open it. However, when I apply other formats they remain unchanged.


I'm working through some old integrals and I found one that's interesting. I can't quite remember how it's proved, so if someone could set me off in the right direction, it would be really helpful. Thanks!   $\int_{\mathbb{R}} e^{-ax^2 + bx} dx = \sqrt{ \dfrac{\pi}{a}} e^{\frac{b^2}{4a}}$  I've tried change of variable, but I'm not sure this is the right approach.


Points bar is not getting loaded in stackoverflow

When I hover the arrow near my name in stackoverflow, used to open the points bar(not the correct word to refer).  But now it is not getting loaded(around 30 mins).    I guess, since they are working on SQL server issues.  Just to let you know.  EDIT: I got back my "reputation summary popup" But there are some alignment issues within it. See this screenshot


There are dozens of different types of fallacies: formal fallacies, informal fallacies, faulty generalizations, red herring fallacies, and so on...  But is there one simple, singular condition that all of these meet that makes them eligible for such a classification?  Such as If x is y, then x is a logical fallacy.  Where x is the proposition and y is the condition that it meets.


How to put text in a player's chat box in Minecraft 1.13?

Basically, I want to have this text appear in chat: "Click Me!" When the text is clicked, I want a command to appear in the player's chat box (by chat box I mean the place where you type stuff in chat). Does anybody know how to do this? I assume it is done using the tellraw command, but I don't know how.


I am trying to import an .obj, however when I load the model, it is grey. All tutorials I found online are for older versions of blender. I was wondering if anyone could help me out real quick. Apologies, as I have just downloaded blender today and am learning. Thanks


Similar questions to this have been asked, but I wasn't able to find one that answers this specifically.  Say that you have resistance to slashing damage as well as resistance to fire damage (no caveats to nonmagical damage or not).  You are fighting someone who has a flaming greataxe (just an enchanted item) that deals 1d12+STR slashing damage, plus 1d6 fire damage on hit and they hit you.    How do you calculate the damage?   (1d12+1d6+STR)/2 (1d12/2) + (1d6/2) + STR (1d12+STR/2) + (1d6/2) something else?


How to select on which monitor YouTube fullscreens?

I have a dual monitor set-up. When I'm on YouTube, and I click the fullscreen icon, the fullscreen automatically goes to the second monitor. How do I get it to go fullscreen on my main monitor?


Split function ignores last 2 values when I separate by semicolon

Very simple, I want to separate line by semicolon. However, while debugging, last two values are somehow trimmed.  Line I want to split: ::0;;tester@increase.dk;0;::1;; Colons are part of values, ignore them.    CODE:  BufferedReader br = new BufferedReader(new FileReader("data\\CustomObject69.csv"));     String fileLine = br.readLine();     ArrayList<ContactFromExperienceCDO> contacts=new ArrayList<>();     while (fileLine!=null && fileLine.length()>0){         fileLine=br.readLine();         String[] fields = fileLine.split(";");         String skinIrritations1 = fields[0];         String EmailAddress1 = fields[2];         String adhesionIssues1 = fields[4];         String pouchIssues1 = fields[5];         ContactFromExperienceCDO contact=new          ContactFromExperienceCDO(EmailAddress1,          pouchIssues1,skinIrritations1,adhesionIssues1);         contacts.add(contact);   ERROR:      Exception in thread "main" java.lang.NullPointerException     at      Consumer.SharedListManipulation.      writeContactsToCsv(SharedListManipulation.java:182)     at Consumer.SharedListManipulation.      getContactsFromListLoop(SharedListManipulation.java:163)     at Consumer.SharedListManipulation.      getContactsFromList(SharedListManipulation.java:114)     at Consumer.Main.main(Main.java:38)


I'm making my journal using . Here is an example of PDF output file:   However, I've reviewed some papers from Elsevier, and I can see the difference. For example:   How can I create the PDF file similar to the second picture? Thanks.


What are the barriers to running a published adventure from an earlier edition in the 5e system (assuming that this is possible)?

If I've counted correctly, there are ten published adventures for D&D 5e, but many more from earlier editions. I would like to make use of these adventures from previous editions; however, given my lack of experience, I don't know what issues may be encountered in the process of trying to run such adventures using the 5e rules.  What are the barriers to running published adventures from previous editions in 5e?


How is  different from a simple copy,  or ?  I just compiled a little utility and want to add it to /usr/sbin so it becomes available via my PATH variable.  Why use one vs the other?


Show that $(C[0,1],\|\cdot\|_{L^1})$ is not a Banach space

Let the space $(C[0,1],\|\cdot\|_{L^1})$ where    $$ \forall f \in C([0,1]); \|f\|_{L^1}= \int^1_0 |f(x)| \, dx  $$ show that $(C[0,1],\|\cdot\|_{L^1})$ is not a Banach Space    Def of Banach space is a complete norm space.   def of complete if it is a cauchy seq in norm space then it converges in the norm space.     Guessing that a seq that might work would be something like a trig function that would be cauchy but it will not converge in the space (either by not converging or not being continous) or somhow fail to be a norm space. Not sure what route to take at this point. Will try to play with obvious cauchy seq and see what happens.   A hint would be appreciated thanks.


I'm trying to solve a problem from set theory. The problem is simple: is the set of automorphisms of natural numbers $Aut(\mathbb{N})$ countable?   It seems to me the answer is "not" and my attempt for a proof is following. Let us find any injective map $F:Aut(\mathbb{N})\rightarrow (0,1)$. I think it is possible to construct such a map explicitly. Let $Aut^{+}(\mathbb{N})$ be a subset of $Aut(\mathbb{N})$ which consist of automorphisms of $\mathbb{N}$ which map any element $n\in\mathbb{N}$ to $n+1,n+2,...$.   Comment: for any $m\in\mathbb{N}$ consider a map $p_{m}$ which sends any $n\in\mathbb{N}$ to $n+m\in\mathbb{N}$. The constructed map $p_{m}:\mathbb{N}\rightarrow \mathbb{N}$ is bijective which implies that it is an element of $Aut(\mathbb{N})$ and I think we can say that $Aut^{+}(\mathbb{N}) = \cup _{m\in \mathbb{N}} \:p_{m}$.   For any $n,m\in\mathbb{N}$ let $p_{m}(n)$ be an image of $n$ under the action of $p_{m}$ - map. Let us try to define $F$ as follows:  $F_{n}:p_{m}(n)\rightarrow \frac{n}{p_{m}(n)}$  For fixed $n\in\mathbb{N}$ defined above $F_{n}$ is a map from $Aut^{+}(\mathbb{N})$ to $(0,1)$ which sends a tuple $\{p_{1}(n),p_{2}(n),...\}$ to $\{\frac{n}{n+1},\frac{n}{n+2},...\}$. It is not surjective. We can consider   $F:p_{m}\rightarrow \cup_{n\in\mathbb{N}} F_{n}(p_{m})$   and it seems to be a good map but it is not injective and I have a trouble. Is it possible  to continue this attempt for a proof or should I turn to another ideas?


What is the correct pronunciation of TeX and LaTeX?

Is it tex(tech)? Or Is it tex(like touch)?  Lay-TeX? or La-TeX?  Should I use TeX pronunciation in LaTeX?


The method response.sendRedirect() is not working in my program. it is redirecting to next Page. I also tried  response.sendRedirect("home.jsp"); return ;   But still it doesnot work  Directory image has been attached    protected void doGet(HttpServletRequest request, HttpServletResponse response)         throws ServletException, IOException {      String userAction = request.getParameter("action");       response.sendRedirect("Test1.jsp");  }   While in debuging the controller move on response.sendRedirect but it is not redirecting to other page.


I have two figures that I created using GeoGebra. I exported their PGF/TikZ code. Now I have two files: shape1.tex and shape2.tex \begin{figure}    \centering     \scalebox{0.80}{\input{shape1}}     \scalebox{0.20}{\input{shape2}}   \caption{Here is shape1 and shape 2} \end{figure}  I used \scalebox to make sure they fit in the page. Now, the issue is their height are not the same. And, the above code places the shapes just above the caption. However, I want them to be horizontally aligned from their center. Any ideas how can I do that?


I don't see that general relativity is really needed for GPS to work correctly

From what I understand, GPS localization is based on the difference in the reception time from the time of emission of a signal from different GPS satellites whose positions are known. For this we need very precisely synchronized clocks in the satellites.   Due to the relative motion of the satellites, we need special relativity to make sure to keep the clocks in sync with each other (and with a reference clock on earth, but absolute time on earth doesn't play a role). Due to the change in gravitational potential, we would need general relativity to keep the clocks in sync with a reference clock on earth.   In the answers to other questions linked to in the comments, a computation is made in which the difference in time between a precision clock on earth and one in a GPS satellite in increased by about 38 $\mu s$ per day. The conclusion that is then drawn is that light travels 11 km in that time, so that we would get that error for each day that passes.  However, for GPS to work, we don't need to measure time difference with a clock on earth (we don't have a precision clock in our GPS receiver, and I don't think we connect to one either), only time differences between satellite clocks, so it would seem to me that the clocks in the satellites only have to be in sync with each other. Since the satellites are at the same height, the gravitational time contraction should be very similar for all of them.  Am I misunderstanding or overlooking something?  EDIT   My question is not about how general relativity is used in GPS, but rather if that is really needed? Supposing we wouldn't be aware of general relativity, we might scratch our heads over why the clocks keep getting out of sync w.r.t. our local clocks in spite of the special relativistic corrections, but wouldn't the clocks on the satellites still be in sync such that the computed positions would be essentially correct? This means that the answer linked to in a duplicate vote is the opposite of an answer to this question. The computation there seems correct, but doesn't seem relevant for the position computation (as absolute earth time doesn't play a role if I correctly understand how GPS works).


I'd like to know if there's a way of having multiple equations in one block of equation. Here's my first equation:  \begin{equation}    \binom{n}{2} + 3 = \frac{1}{2} n^2 - 2 \end{equation}   Now I'd like to write every step of this problem. Is this possible without creating more equation blocks?


Why is the harmonic oscillator so important?

I've been wondering what makes the  such an important model. What I came up with:   It is a (relatively) simple system, making it a perfect example for physics students to learn principles of classical and quantum mechanics. The harmonic oscillator potential can be used as a model to approximate many physical phenomena quite well.   The first point is sort of meaningless though, I think the real reason is my second point. I'm looking for some materials to read about the different applications of the HO in different areas of physics.


And specifically Bloch-Floquet boundary conditions? I would love to hear any explanation you guys might have.


What does the < (left chevron / triangle bracket) do?

I understand that the > (right chevron) is for redirecting the STDOUT of a program to a file, as in echo 'polo' > marco.txt will create a text file called marco.txt with polo as the contents instead of writing it to the terminal output. I also understand the difference between that and a | (pipe), which is used for redirecting the STDOUT from the first command on the left of the pipe to the STDIN of the second command on the right of the pipe, as in echo 'Hello world' | less to show Hello world in the less view.  I just really don't understand how the < works. I tried marco.txt < echo 'polo' and bash gave me an error: -bash: echo: No such file or directory. Can someone explain how it works and why I'd use it?


How to show disk usage of a package including dependencies?

I'm using aptitude as package manager. If one marks packages for removal it calculates the changing in disk usage, i.e. how much space is freed by removing that package and its automatically installed, otherwise unused dependencies.   Is there a way (not necessarily within aptitude) to get this number for, say, all packages marked manually installed?


I read it in an article and I don't understand the meaning of it. "not without some merit". From the context I guess the meaning is: there is some sense in it. However I don't find in the dictionary (vocabulary.com or thefreedictionary.com) an explanation that apt my understanding.  Nor I've found an expression with "merit" that can explain it.  The article is here:


Can my document class require a package to be available without actually loading it?

When you \RequirePackage{foo} in a document class, this "loads" the package so you can start using it. But what if you don't want to do that? What if you only want to ensure it is available for loading, e.g. for other code to be able to \usepackage{foo} later on?  Is that possible?  Motivation: I'm going to be  within a document class, but I do want to fail immediately if the package isn't there so as not to confuse whoever is reading the logs.


How do I disable Touchwiz Easy Home on Galaxy S5

I got message to pick either "Touchwiz Easy" or "Touchwiz Home" - didn't know what to do so picked Easy. Now have lost the appearance of my Home Pages?  How can I get this back?  HELP!!!


Is 32bits actually make use of More than 3.25GB ram?

I'm using Windows 8, 32 bits. It has . My PC has 6 GB of RAM. In order to bypass this limit, I have installed 3rd-party software called PatchPAE2 that lets me use all my RAM.  Is this software really working? If so, how can I be sure that my OS actually found 6 GB RAM and is actually letting me use my whole memory?


I currently am trying to make a risk-like game and as I try to display a map (vectorial image) I have a NullPointerException that I do not understand at all how it can be solved. =/ Here's the code :  public class Test1 extends Stage {      private BorderPane root = new BorderPane();      private WebView browser = new WebView();      public Test1(){         this.setTitle("Test1");         this.setScene(new Scene(content()));     }      Parent content(){         WebEngine webEngine = browser.getEngine();         webEngine.load(this.getClass().getResource("../../resources/worldMap.html").toExternalForm());          root.setCenter(browser);         return root;     } }   and the error :   Exception in Application start method java.lang.reflect.InvocationTargetException     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)     at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.RuntimeException: Exception in Application start method     at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)     at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException     at hmi.Test1.content(Test1.java:23)     at hmi.Test1.<init>(Test1.java:18)     at Main.start(Main.java:13)     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)     at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)     at java.security.AccessController.doPrivileged(Native Method)     at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)     at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)     ... 1 more Exception running application Main   So it seems to be caused by the link "../../resources/worldMap.html" but it really leads to the file. I also tried with a svg file or with an url (this one :  ) and I still have the exact same error. It's been a day I'm stuck on that despite my researchs on internet, so I hope you will be able to help me. Thanks !


Ordering algorithm to priorities close votes review

I tried figuring out that what priority algorithm is been use to order close vote review questions, but couldn't succeed.  Any ways that's not my point, what I want to say is, shouldn't we use "maximums vote first" (on applied filter of-course)? Although it's It's a really straight forward algorithm, but I believe this will decrease the awaited question which are going to be 100K soon.


Error: Malformed File on boot. How to get rid of it?

I did a fresh install of Ubuntu GNOME 14.04 LTS on my computer and it shows this error like, maybe 2 out of 3 times I start the computer. It has no negative effect AFAIK except for increasing the startup time. This has been bugging me for the past week and I really want to get rid of it. Can someone help me with that? Side note: Maybe this is unrelated, but I noticed that when I shutdown the computer, it takes not more than 4 seconds to power down and that makes me suspect that it does not shutdown correctly. This is the error message  Error: Malformed file. Press any key to continue...


k-fold crossvalidation: how does MSE go with k?

I'm trying to get an intuition about choosing the right "k" for  K-Fold validation. Is the following right?  Average of the OOS MSEs should generally decrease as k increases.  Because, a bigger "k" means the training sets are larger, so we have more data to fit the model (assuming we are using the "right" model).  Variance of the OOS MSEs should generally increase as k increases.  A bigger "k" means having more validation sets. So we will have have more individual MSEs to average out. Since the MSEs of many small folds will be more sparse than MSEs of few large folds, variance will be higher.  Thank you! :)


$ cat /etc/*release* | grep -i distrib DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION="Ubuntu 13.10"  $ lspci | grep -i bcm 02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)  $ lshw -c network *-network                   description: Network controller    product: BCM43142 802.11b/g/n    vendor: Broadcom Corporation    physical id: 0    bus info: pci@0000:02:00.0    version: 01    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list    configuration: driver=bcma-pci-bridge latency=0    resources: irq:16 memory:f1900000-f1907fff  $ lsmod | grep -i bcma bcma                   46670  0   $ rfkill list 0: hci0: Bluetooth    Soft blocked: no    Hard blocked: no  $ dmesg | grep -i wlan  $ ifconfig lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:374 errors:0 dropped:0 overruns:0 frame:0           TX packets:374 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:40211 (40.2 KB)  TX bytes:40211 (40.2 KB)   seems like the module for the wifi is not loaded (or loaded incorrectly). i will appreciate if one could shed the light on the issue and assist bringing the wifi up again.  also tried  $ rmmod bcma $ modprobe bcma   but it did not help  update: i did the following and it seems to help. can it be?  $ apt-get install bcmwl-kernel-source


Essentially I have a client who is on hosted exchange and have decided to use POP3 to download the mail (I don't know why they don't use .OST's but anyway), they rebuilt the machine and backed up their .PST file. Now their Outlook was configured to keep mail downloaded on the server for 14days.  Essentially their current PST is fairly complex, many folders and sub folders and so on. So what is the best way to handle it really - create a new Outlook profile on the rebuilt machine and download the mail via POP into a new .PST then just recreate the folders in the new pst and drag and drop the mail via attaching the backed up .pst, recreating the folders etc?  But is their an easier way to do this, maybe pointing the new account to use the original PST, but then that would download all the mail again from the server to that .PST file.  Any ideas on the best way to handle POP3 account rebuilds from scratch when you have a backed up PST?


Prove that in a ring with $x^3 = x$ we have $x+x+x+x+x+x=0$.

This was an exercise on a course on abstract algebra at the University of Groningen. I have been working on this for ages, but I can't seem to figure it out.  Problem  Let $R$ be a ring with $\forall x \in R: x^3 = x$.  Prove that $x+x+x+x+x+x=0$.  Tried  If $x=0$, the statement is of course trivial.  If $x \neq 0$, we have $x(x^2-1)=0=(x^2-1)x$, so either $x^2 = 1$, so $x$ is a unit, or $x^2-1$ and $x$ are zero-divisors.  And this is as far as I get... Any help would be appreciated! :)  Edit: guide to answer  The following hint was provided by Abel:  $$\begin{align} x \in R &\implies x+x \in R\\ &\implies x+x=(x+x)^3 \end{align}$$  If you then work out all the terms, the answer will follow quickly.


Tell me that I exceeded the max title length (150 chars) before I remove focus from the title box

I was writing a pretty long title and nobody told me that I reached 196 chars already... everything seemed to be ok.        But then I removed focus from the title box and... suddenly saw that apparently I have already written more than 150 chars!        Could it tell me before I remove the focus? I mean, it should say that I exceeded the limit while I am writing, not after I write my title.


What is the math behind predict() in e1071 for SVM?

I have no math or computer science training.  When I run predict(svm,data,type="class")  R spits out a prediction of 1 or 0 for each row of data. What is it doing to arrive at the prediction?  Isn't the formula the dot product of the w and x plus b? It is my understanding the prediction depends on whether or not the result is greater than or less than 0. Or maybe greater than or less than 1/-1 to be outside the margin.  I have read else ware to obtain the weights the code is t(model$coefs) %*% model$SV and to find b the code is model$rho  If I go through and work out what the prediction should be manually my results do not match R's prediction. For a 2D vector I'm doing w1*x1 + w2*x2 +b. What is the correct way to work out the predictions manually?


If $f$ is entire and $\lim_\limits{z\to\infty} \frac{f(z)}{z} = 0$ show that $f$ is constant

I'm learning Complex Analysis and need to verify my work to this problem since my textbook does not provide any solution:     If $f$ is entire and $\lim_\limits{z\to\infty} \dfrac{f(z)}{z} = 0$ show that $f$ is constant.   My work and thoughts:  From the $\varepsilon$ — $\delta$ definition of the limit we have that  $$\forall{\varepsilon} > 0, \exists{n_0} \in \mathbb{N} : \forall{\left|z\right|} \geq n: \left| \frac{f(z)}{z} \right| < \varepsilon \iff \frac{\left| f(z) \right|}{\left| z \right|} < \varepsilon\iff \left| f(z) \right| < \varepsilon \left| z \right|.$$   Now let $C_R = \{z \in \mathbb{C} : \left| z \right| = R \}$.   For every $\left| z \right| < R$, by Cauchy's integral formula for derivatives we have that   $$ \left| f'(z) \right| = \frac{1}{2 \pi } \left| \int_{|\zeta|=R} \frac{f(\zeta)}{(\zeta - z)^2} \, d\zeta \right|= \frac{1}{2 \pi } \left| \int_{0}^{2\pi} \frac{f(\zeta)}{(\zeta - z)^2} \, \zeta'(t) dt \right| \le$$   $$\le \frac{1}{2\pi} \frac{\varepsilon \left| z \right|}{(R - \left| z \right|)^2} 2\pi R = \frac{\varepsilon \left| z \right|}{(R - \left| z \right|)^2} R.$$  Thus, letting $R \rightarrow \infty$ yields the desired result, that is  $$\left| f'(z) \right| \leq \lim_{R \to \infty} \frac{\varepsilon \left| z \right|}{(R - \left| z \right|)^2} R = 0 \implies f(z) = c \;\; \text{with} \; c \in \mathbb{C}.$$    Is my work correct? Are there parts of the proof that need improvements? I'm also looking for other (possibly quicker) solutions using the  "big guns" theorems. The only one I'm familiar with is Picard's little theorem but it doesn't apply here.


Can 2 10/2 be combined to use as a 10/3?

I'm trying to run wire to my shed 30 feet from house. I thought it would be nice to have two circuits, one for lights and one for heavier current applications.  So I ran two 10/2 18inches deep in PVC... and now I read I can't run two cables to the shed. ugh! It's buried. Is it possible to leave it and electrician can configure the two 10/2 into the equivalent of a 10/3? Or do I have to dig this trench again and put in a single 10/3?


Ordering $8$ people around table if $3$ people do not want to sit next to each other

How many ways are there for 8 people to sit around a circular table if none of Alice, Bob, and Eve (three of the 8 people) want to sit next to each other? Two seatings are considered the same if one is a rotation of the other. I am terrible at these kinds of "sit-uating" problems (haha). My idea is that the three people can be situated in $(3-1)!$ ways and that the rest can be situated in $(5-1)!$ ways. Then, the ordering of the five people depends on the partitions of 5 into 3 groups:  (1,1,3)/(1,3,1)/(3,1,1) (1,2,2)/(2,1,2)/(2,2,1)  So is the answer $2!*4!*6=288$? I am not sure if this is right or now, so any help or solutions would be greatly appreciated.


What does     I can't not get the song out of my head   mean?  I have looked on this site for clarification but still can't find my answer.


prove that using uniform bounded theorem

Let $y=(\eta_j),\eta_j\in \mathbb C$, be such that $\sum \xi_j\eta_j$ converges for every $x=(\xi_j)\in c_0$ where $c_0\subset l^\infty$ is the subspace of all complex sequences converging to zero. Show that $\sum |\eta_j| < \infty$   using theorem ( Let (Tn) be a sequence of bounded linear operators Tn:X->Y from a Banach space X into a normed space Y such that ‖T(n)x‖ is bounded for every  x∈X,say ,Absolutely (T(n)x) less than or equal cx, where cx is real number. Then the sequence of the norms ‖T(n)‖is bounded that is , there is a c such that Absolutely (T(n)) less than or equal c)  This question in book Introductory Functional Analysis with Applications page 255 question (10)


java.util.ConcurrentModificationException displaying when using the correct remove() method

I'm trying to remove an entity when isActive is false. When the entity attribute isActive is set to false, it enters if statement and removes the entity, when iterating through the entities list again after that and then crashes. From what I've researched I am using the correct way to remove an object from an array list.  the code when removing the entity and iterating through the list is      for (Entity entity : entities) {// itaarate through all the entities in list of entities          entity.render(shader, camera, this);// render each entity          if (!entity.isActive())// checks if entity attribute is active             entities.remove(entity);// removes entity from list      }   when using the debugger after it removes the entity from the list, it goes back to the top of the for loop and then displays this page    the Variables window when debugging     the full error that displays in the console is  Exception in thread "main" java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) at java.util.ArrayList$Itr.next(Unknown Source) at project.World.render(World.java:196) at project.Main.<init>(Main.java:152) at project.Main.main(Main.java:167)   the list being  created is  public static ArrayList<Entity> entities; // contains all entities


Migrating to full Ubuntu after dual installation on WinXP

I previously ran 12.04 alongside WinXP to see how it performed on my mom's older laptop.  i also migrated her email to Thunderbird. If I now convert from dual WinXP/Ubuntu to only run Ubuntu will things like her Thunderbird emails be transferred as part of the Ubuntu full install? Or must I do something else? I am fairly tech aware, but not a full IT boffin!


When using "who" in a question, which is correct:  Is it I who has erred? Is it I who have erred?  The latter seems correct by test (take out who), but the former seems correct by question form (singular, but take out I).


This is the source string:  %5B++The+transmission+is+%5B150mhz%5D+The+year+is+%282017%29+This+is+%2A+great+%2A+so+far++%5D    Is it possible to make a pattern only with GNU SED to:   Replace a singe + to a single space From %**abc to "\x**"abc (the first two characters after the % is always hex UTF-8) Every sentence must have one " at the beginning and one " at end of the sentence    So the result to be like this:  "\x5B"  "The" "transmission" "is" "\x5B"150mhz"\x5D" "The" "year" "is" "\x28"2017"\x29" "This" "is" "\x2A" "great" "\x2A" "so" "far"  "\x5D"   So when echo is used with the string:  echo -e "\x5B"  "The" "transmission" "is" "\x5B"150mhz"\x5D" "The" "year" "is" "\x28"2017"\x29" "This" "is" "\x2A" "great" "\x2A" "so" "far"  "\x5D"   Will result exactly like this:  [ The transmission is [150mhz] The year is (2017) This is * great * so far ]


Ok. So I've read multiple questions and answers on the progress for this badge and I'm still no wiser.  Repeating     It's simple, isn't it?   Isn't really making it easier to understand.  So I'd like to ask this yet again, in the form of a picture:    What do I need to upvote in order to get this badge.  How many questions do I need to upvote? (I assume zero) How many answers do I need to upvote? Do the answer votes need to be on separate threads?  You may pretend that I'm an idiot, because I am...


In order to change username it is necesary to be not logged in.   Question  How can I start linux without log in? Even if I start in recovery mode it appears that the user is started.  I have tried in recovery mode but get:  usermod: user username is currently used by process 645


I am trying to enter the below statement into HashMap  Input Line: Rainy#No:2 Sunny#No:3 Rainy#Yes:3 Sunny#Yes:2 Overcast#Yes:4 Expected Output:{Rainy={No=2,Yes=3},Rainy={No=3,Yes=2},Overcast={Yes=4}}   What I did so far is   import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap;   public class StackHash{  /** *@paramargs */  staticConcurrentMap<String,HashMap<String,Integer>>map=newConcurrentHashMap<>(); public static final String TAB="\t"; public static final String SPACE=" "; public static final String HASH="#"; public static final String COLON=":"; public static void main(String[]args){ //TODOAuto-generatedmethodstub  Stringline="Rainy#No:2 Sunny#No:3 Rainy#Yes:3 Sunny#Yes:2 Overcast#Yes:4"; StringTokenizerst=newStringTokenizer(line,SPACE); HashMap<String,Integer>attibuteCollect=newHashMap<String,Integer>(); while(st.hasMoreTokens()){  Stringtoken1=st.nextToken();  String[]parts=token1.split(HASH);  String[]parts1=parts[1].split(COLON);  attibuteCollect.put(parts1[0],Integer.parseInt(parts1[1]));  if(map.isEmpty()){    map.put(parts[0],attibuteCollect);  }  else{    for(Map.Entry<String,HashMap<String,Integer>>entry:map.entrySet()){      StringkeyMap=entry.getKey();      if(keyMap.equals(parts[0])){        map.put(keyMap,attibuteCollect);      }      else{        map.put(parts[0],attibuteCollect);      }  } } } System.out.println("finalmap"+map); } }   Output  map {Rainy={Yes=4, No=3}, Sunny={Yes=4, No=3}, Overcast={Yes=4, No=3}}   Am I doing anything wrong.  Please Suggest.


Combinatorial Proof Of ${n \choose k}={n-1\choose {k-1}}+{n-1\choose k}$

So I know that the combinatorial explanation is has following:  let there be 2 group A= x is chosen (${n-1\choose {k-1}}$) and B=x is not chosen (${n-1\choose k}$)  so $A\cup B= |A|+|B|$ therefore:  ${n \choose k}={n-1\choose {k-1}}+{n-1\choose k}$   so I took n=4, k=2, x=4 so:  ${n-1\choose {k-1}}$=${3\choose {1}}$= {1},{2},{3},{4}  ${n-1\choose k}$=${3\choose 2}$= {1,2},{2,3},{3,1}  adding those groups is {1,2},{1,2,3},{2,3,1},{1,2,4},{2,3,4},{3,1,4}  the number adds up to ${4\choose 2}$ but the sum is not disjoint, and the groups are of 2 and 3 elements


Definition or proof of $a^{\frac mn}=\sqrt[n]{a^m}$?

Just a curiosity in this book of an high school with the title The powers with exponent rational  the $$\large \color{red}{a^{\frac mn}=\sqrt[n]{a^m}}, \quad a\geq 0$$ is given like a definition. I don't remember if there was a proof. But is there one or should we give it as a definition?


I am trying to use movie15 to embed vector animations in my presentation. The trouble is that embedded SWF files refuse to display on Acrobat Reader X sometimes with a "This Media requires an additional player" message. Eg. this  doesn't work. Animated GIFs won't display either, with no error message.   Maybe this is an Acrobat issue but I tried the flashmovie package with the same SWF files and that does work (but only with the embedded player option so no controls are visible). But flashmovie is supposedly unstable with beamer so I was wondering if someone had run into the same problem with movie15.  I am using Windows 7, Acrobat 10.1.2 and MiKTeX.


Which statistical test to use using pretest and post test data?

I am trying to analyze data which there were two groups, control and treatment.  Both groups were given a pre-test and post-test.  The control group received differentiated instruction and the control group received teacher directed instruction.  Trying to find out if there is a difference in student achievement. I am trying to use SPSS program


How to configure Ubuntu Server for headless boot

Because of the recently announced bash environment variable vulnerability, I chose this evening to upgrade my headless server from 13.10 to 14.04 - saucy to trusty.  Upon running sudo shutdown -r now after the upgrade finished, it didn't come back up.  I've just spent several hours finding a graphics card to fit in the server, and dragging a monitor up to it, to find out the following:   the grub menu doesn't appear to have a default timeout (I waited a couple of minutes) the eys (sp?) service is asking me interactive questions about mounting partitions when it can't find the source drive - "press s to skip mounting or m for manual recovery"   Now, I can solve the first problem easily enough - reconfigure grub with a timeout, I'll be sure to check it manually after my next OS upgrade.  The second problem should go away after I take out the graphics card and plug my HBA back in.  But the very fact that it's asking me a question is problematic. I don't want any interactive questions to be asked on startup. And I don't want OS upgrades to be adding interactive steps to the boot process.  Is there some flag or setting I'm missing that lets Ubuntu, its upgrade machinery and utilities know that my machine is headless, and the user should not be asked interactive questions or presented with menus without timeouts?


Why Dirac monopole is a topological defect in a $U(1)$ gauge theory?

How does $U(1)$ gauge group at long distances, give rise to ?  Also why is it said that Dirac monopole is a topological defect in a compact $U(1)$ gauge theory?


I have question about sorting files,and my question is different from other questions about sorting I have a folder including hundereds of files looks like this  anacovaux_1052_summary_betai.out anacovaux_1052_summary_Pdelta.out anacovaux_1052_summary_pij.out anacovaux_1053_DIC.out anacovaux_1053_summary_betai.out anacovaux_1053_summary_beta_params.out anacovaux_1048_DIC.out anacovaux_1048_summary_betai.out anacovaux_1043_summary_pi_xtx.out anacovaux_1058_DIC.out   I wanted to know is there any way that I could sort them numerically? I mean get something like this:   anacovaux_1043_summary_pi_xtx.out anacovaux_1048_DIC.out anacovaux_1048_summary_betai.out anacovaux_1052_summary_betai.out anacovaux_1052_summary_Pdelta.out anacovaux_1052_summary_pij.out anacovaux_1053_DIC.out anacovaux_1053_summary_betai.out anacovaux_1053_summary_beta_params.out anacovaux_1058_DIC.out


I often see in a CV that certain papers are labelled as ‘communicated’. What does that mean? (Not ‘communicated by’.)  E.g.  which is a list of papers including entries like:        "On complicated things and related stuff" (with A. B. Coauthor) (communicated).


So I happened to capture this really cool picture of a desktop screen taken through a mobile phone camera. I hope you can see those stripe-like patterns which have appeared in the photograph, but weren't there on the desktop screen. They have a striking resemblance to a hyperbola. They also appear to move and take different shapes as I move the mobile phone along the screen. I am really curious to know what is going on here..is this some sort of optical illusion? Why can't we see these weird patterns through out naked eyes?


What is a adjective to describe someone stereotyping on a specific person?

I've been wondering about this for a while, and the question didn't really come out right. The word, "stereotypical", i have been wanting to use for someone who often stereotypes someone. Let me give you an example. If someone was to say, "All boys are uneducated"(which they aren't, by the way), then my response would be, "That is very stereotypical of you", but of course that is not the right way to use this word. I know the word stereotypical means, (according to google) "relating to a widely held but fixed and oversimplified image or idea of a particular type of person or thing" but i thought it meant a word to describe some one making generalizations or stereotypes on a specific person.


Let $（K,v）$ be character 0 field complete with discrete normalized valuation is always non Archimedean?

Let $（K,v）$ be a character $0$  field that is complete with discrete valuation is always non Archimedean? Silverman's 'the arithmetic of elliptic curves' admits this as a fact without no explanation. Here, I guess the definition of non Archimedean is that the metric induced by the value satisfies ultra triangle inequality. Thank you in advance.


Top x% labels missing on some user profiles

On , there is a "top x%" label:    But this is not shown for some users:    Why is that so? I don't see any settings to hide this.


How to check what other software connecting to internet

I am using version "Ubuntu 20.04.2 LTS", I found that OS internet connection much more slow at these days, even can not view Youtube smoothly. So would I know that is there any command or any tool I can use, to view any other software connecting the internet at the same time?


Can the Enlarge/Reduce and Catapult spells be combined to hurl boulders?

One of my players is constantly bugging me about using Enlarge/Reduce to reduce a boulder to a smaller size and then hurl it via the spell Catapult, cancel the concentration on Enlarge/Reduce before the impact, and let the enemy be smashed by a much bigger one.  Can the Enlarge/Reduce and Catapult spells be combined in this way?


Where does gravity get the energy to pull the ball?

I have read many answers here about gravitational potential energy. Suppose that I am holding a ball 5 meters from the ground and I release it and it falls to the ground. Now i get that it falls because I did work against gravity to lift that ball to the height of 5 meters. But my question is that why did I have to do work against gravity? I mean where does gravity get the energy to pull the ball so that I have to do work to lift it? I hope you get my question.


Singular or plural noun: "... all had a wonderful summer" vs. "... wonderful summers"

Which of the following is correct when addressing an audience or more than one person? Or are both equally valid?     I hope you have all had wonderful summers!    OR      I hope you have all had a wonderful summer!


What are we calling the 3 lines button in mobile apps?

This button is appearing in many mobile apps and has the function of displaying off-screen menus, whether from the top of the screen or the side.  When writing tutorials for example, what is a logical name for this button?   "Tap the menu button" "Tap the menu expand button" "Tap the menu icon"   Of course, in an ideal world there would need to need to explain what buttons do, but telling folks to tap on "the gear icon" for instance has never proven problematic so far.


How do I permantly set the command-prompt codepage in Windows 7?

I would like to set permantly in DOS the codepage.   chcp 1252   How can I store the result of that command?


Complex Number Locus w.r.t Coordinate Axes

Show that the locus formed by z in the equation $z^3 + iz = 1$  never crosses the co-ordinate axes in the Argand plane. Further show that $$|z| = \sqrt{\dfrac{-\Im(z)}{2\Re(z)\Im(z) +1}}$$  Concept: $z=x+iy$ $z^3=(x+iy)^3=x^3-3xy^2+i(3x^2y-y^3)$ $iz=-y+ix$ Combined equation is $x^3-3xy^2-y-1+i(3x^2y-y^3+x)=0$ How do we proceed from here onward?


Integral: $\int_0^\infty \frac{|\sin (2x)| - | \sin (3x) |}x dx$

Can someone help me with this integral? I can't even think of where to begin.  $$\int_0^\infty \frac{|\sin (2x)| - | \sin (3x) |}x dx$$  Thanks!


Diffeomorphisms act transitively on a connected, smooth manifold

Prove that if $M$ is a connected, smooth manifold, then $\text{Diff}(M)$ acts transitively on $M$.   What I'm trying to do is to take an arbitrary $p\in M$ and show that the orbit of $p$   $$\mathcal{O}_p:=\{q\in M \mid \phi(q)=p \text{ for some }\phi\in\text{Diff}(M)\}$$  is both open and closed. Since $M$ is connected, $\mathcal{O}_p=M$ for any $p$, which proves the proposition.  But I'm having difficulty to prove $\mathcal{O}_p$ is open in the first place.   My initial idea was to take a chart $(U,\psi)$ about $p$ and, for any $q\in U$, take some $g\in\text{Diff}(\mathbb{R}^n)$ such that $g(\psi(q))=\psi(p)$ (that's possible because $\text{Diff}(\mathbb{R}^n)$ is transitive). Then   $$\phi:=\psi^{-1}\circ g\circ \psi \in \text{Diff}(U)$$  has the property that $\phi(q)=p$. But that is not enough, since we need $\phi\in\text{Diff}(M)$. I've tried to prove that there is an extension of $\phi\in\text{Diff}(U)$ to some $\bar{\phi}\in\text{Diff}(M)$, but I couldn't.  Besides, I have no idea how to prove $\mathcal{O}_p$ is closed.  Any ideas? Thanks!


ArcGIS field calculator to calculate most recent date of 4 date fields?

Currently I am trying to use the field calculator to generate the most recent date values out of four fields into one field. I attempted to use the max function to calculate the most recent dates but the calculator doesn't seem to be reading the values as dates. For an example, if I have a date that reads 12/9/2016 and one that reads 7/20/2017, the field calculator chooses the first date because it reads the 9 (in the 12/9/2016 date) over the 20 (in the 7/20/2017 date) as the max. The case seems to be that the field calculator doesn't read the values as dates.     Any possible python codes for the codeblock to solve this issue? I'm thinking the datetime function is necessary in this case?


How can I make an element center horizontally?

I have the following HTML structure:    .parent{   border: 1px solid;   width: 60%; }  .child2{   margin: 0 auto; }
   it should stay in the left side
   this should be center
     I need to center a.child2 . I can do this by adding text-align: center to div.parent. But in that case, a.child1 will be centered too and I don't want to.  As you can see, I've also added margin: 0 auto; to a.child2, but  it is still placed on the left side.   To sum up, how can I center a.child2  while mantaining a.child1 on the left side?


Get Permalink without domain (i.e. get relative permalink)

This is the code I am using:  <?php echo str_replace( home_url(), '', get_permalink($post->ID) ); ?>   What it does is output the permalink as a relative URL i.e. only the slug. For instance, if the permalink is http://example.com/2012/01/post-title/, the relative URL output by the code would look like /2012/01/post-title/.  Problem: All Posts and Pages show the right permalink, which is great. But all other pages (including Home, Search and Archives) show the relative URL of the first post and not that of the respective pages. Any idea why? What am I doing wrong here?  Reference:     EDIT: Here's what else I've tried:  In functions.php  function get_relative_permalink( $url ) {     $url = get_permalink();     return str_replace( home_url(), "", $url ); }   In header.php  <link rel="alternate" hreflang="en-IN" href="http://in.example.com/<?php echo get_relative_permalink(); ?>" />   Same problem with this as well. But this one shows a not-so-informative error too.


My uncle is traveling from Dubai to Amsterdam and then to Quito. He is citizen of Ecuador and Pakistan, currently in Pakistan. He will arrive at 5 AM in Dubai from Lahore and leave Dubai at 11:55 PM on the same day.  I want to know how long he can stay in Dubai airport without visa. He will travel by KLM airlines from Dubai to Amsterdam and then from Amsterdam to Quito. Does he need a visa in Dubai?


This might be a naive question, but how can an object such as a black hole singularity have infinite density but finite mass? (For example, we can approximate the mass of a black hole based on Kepler's Laws and use info from surrounding movements of stars to determine the central mass, but the black hole, excluding the event horizon, has infinite density.)


Well, I've had a doubt for use which and that. Tell me if these examples are correct:  This is the hot dog which I made. This is the hot dog that I made. I'm finding the DVD which I lost. I'm finding the DVD that I lost.  And also tell me what are the differences between which and that.


Open Source Advertising - Sidebar - 1H 2013

It's time once again to support your favorite open source project through our Free Vote-Based Advertising for Open Source Projects. We are clearing the leaderboards to start the first half of 2013. Here is your chance to create a . Create a graphical ad for an open source programming project and post it as an answer to this question (in the right format), and it will feed live remnant ads on Stack Overflow. Ad Requirements It must be an advertisement soliciting the participation and contribution of programmers writing actual source code. This is not intended as a general purpose ad for consumer products which just happen to be open source. It's for finding programmers who will help contribute code or other programmery things (documentation, code review, bug fixes, etc.). Your ad should be an original creation which has not previously appeared on Stack Overflow. Please do not resubmit entries that have appeared as ads on Stack Overflow in previous periods. In order to work, the answers you post to this question must conform to the following rules. Answer Template  [![alternative text if image is not displayed][1]][2]        [1]: http://image-url   [2]: http://clickthrough-url   Please do not add anything else to the body of the post. If you want to add any commentary, keep it in the comments. Image requirements  The image that you create must be 220 pixels by 250 pixels Must be hosted through our standard image uploader (imgur) Must be GIF or PNG No animated GIFs Absolute limit on file size of 150 KB Must have a 1px border if (part of) the background is white  The output, which ultimately will be served in an ad slot on Stack Overflow, can be previewed by clicking through to this URL:  Score Threshold There is a minimum score threshold an answer must meet (currently 6) before it will be served up by that URL and shown on Stack Overflow. You can see all the ads that currently make the threshold and meet our criteria on this page:


How to install Tor hardened using terminal

I'm using Kubuntu 16.10 and I'd like to install tor browser bundle. I saw that there is a tor hardened version and sandboxed version. I downloaded packages but just extracting them doesn't work for me. So I need now to know how can i install both of them using terminal.


is written by using R and Latex. I am kind of curious to see the Latex and R codes behind the generation of this excellent report.  Can anyone suggest me some links directing to excellent book or report template? Thanks in advance.


I have a really strange output result from toString() built in function   Here is my code:  function strangeFunction(num) { return num.toString(); }   alert( strangeFunction(121.112*100) ); //output: 12111.199999999999  alert( strangeFunction(.1*100) );  //output: 10  alert( strangeFunction(1.33*100) ); //output: 133 alert( strangeFunction(133.33*100) ); //output: 13333.000000000002  alert( strangeFunction(133.33*100) );//output: 13334      Any suggestions how to fix that issue? It seems that ther is some kind of bug or number formatting issue.


This book here is the one I was talking about.     My brother here just bought a new car.      The two examples above have here following a noun. Most dictionaries say "here" is an adverb. I am wondering why it is used as an postnominal adjective in these two sentences.   You may explain that "here" is actually "in here". Then it makes sense. "In here", a prepositional phrase, can modify the noun. I would like to hear what you guys think.


Run a program from a downloaded zip file

I am trying to run a program as it is saying to do on the website but it doesn't work. I am really new on Ubuntu and I would appreciate any help please. On the website is saying :    To run it: unzip the file, CD to the sedlog-3.1 directory and type java -jar SedLog.jar.  sedlog-3.1 is the name of the program I am trying to run. When I type java -jar SedLog.jar on the sedlog-3.1 directory, I get this message back :  kate@Riley:~/sedlog-3.1$ java -jar SedLog.jar The program 'java' can be found in the following packages:  * default-jre  * gcj-5-jre-headless  * openjdk-8-jre-headless  * gcj-4.8-jre-headless  * gcj-4.9-jre-headless  * openjdk-9-jre-headless Try: sudo apt install <selected package>   I really don't know what stupid mistake I do and I can't short that out.


Partition does not start on physical sector boundary?

I've one HD on my laptop, with two partitions (one ext3 with Ubuntu 12.04 installed and one swap).  fdisk is giving me a Partition 1 does not start on physical sector boundary warning. What is the cause and do I need to fix it? If so, how?    This is sudo fdisk -l:  Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 testine, 63 settori/tracce, 91201 cilindri, totale 1465149168 settori Unità = settori di 1 * 512 = 512 byte Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Identificativo disco: 0x5a25087f  Dispositivo Boot      Start         End      Blocks   Id  System /dev/sda1   *          63  1448577023   724288480+  83  Linux Partition 1 does not start on physical sector boundary. /dev/sda2      1448577024  1465147391     8285184   82  Linux swap / Solaris   This is sudo lshw related result:   *-disk                 description: ATA Disk                 product: WDC WD7500BPKT-0                 vendor: Western Digital                 physical id: 0                 bus info: scsi@0:0.0.0                 logical name: /dev/sda                 version: 01.0                 serial: WD-WX21CC1T0847                 size: 698GiB (750GB)                 capabilities: partitioned partitioned:dos                 configuration: ansiversion=5 signature=5a25087f               *-volume:0                    description: EXT3 volume                    vendor: Linux                    physical id: 1                    bus info: scsi@0:0.0.0,1                    logical name: /dev/sda1                    logical name: /                    version: 1.0                    serial: cc5c562a-bc59-4a37-b589-805b27b2cbd7                    size: 690GiB                    capacity: 690GiB                    capabilities: primary bootable journaled extended_attributes large_files recover ext3 ext2 initialized                    configuration: created=2010-02-27 09:18:28 filesystem=ext3 modified=2012-06-23 18:33:59 mount.fstype=ext3 mount.options=rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered mounted=2012-06-28 00:20:47 state=mounted               *-volume:1                    description: Linux swap volume                    physical id: 2                    bus info: scsi@0:0.0.0,2                    logical name: /dev/sda2                    version: 1                    serial: 16a7fee0-be9e-4e34-9dc3-28f4eeb61bf6                    size: 8091MiB                    capacity: 8091MiB                    capabilities: primary nofs swap initialized                    configuration: filesystem=swap pagesize=4096   These are related /etc/fstab lines:  UUID=cc5c562a-bc59-4a37-b589-805b27b2cbd7 /               ext3    errors=remount-ro,user_xattr 0       1 UUID=16a7fee0-be9e-4e34-9dc3-28f4eeb61bf6 none            swap    sw              0       0


How do I keep up with the latest in the cutting edge of philosophy?

I always viewed philosophy to be dead after the arrival of modern science. The last great philosopher in metaphysics was Kant, I believe the others who followed him were made irrelevant by the positivist movement. I believe this probably isn't true however, and this ignorant opinion of mine comes from the fact I can't find a good source of information from contemporary philosophers doing research in philosophical hot spots so to speak. Could you recommend a good book, journal or website where I can keep track of all of the interesting questions in epistemology, metaphysics and whatnot?


Which Platformer with characters stacking on one another is found in this Jimquisition Video?

I was watching semi watching the Game Journalism Of Thrones episode of The Jimquisition on Jim Sterling's Channel when I saw this platformer where it seems the characters are stacked onto of one another.    It first appears at   A reverse image search on Google wasn't very helpful    I would like to know what game this is


Escaping ' (single quote) in sed replace string

I have a script that I'm using to perform some iptables changes across servers. In the script I have a sed command to find a string and insert iptables rule before that line.  The problem I'm having is that the file I'm editing is a yaml file and I need to have a ' and ' in the line.  If I remove the ' from what I'm inserting, it works.  $ sed 's/.*output_snat_lo.conf:.*/- -t nat -A PREROUTING -d 192.168.1.1 -j DNAT --to-destination 10.0.0.1\n&/' file.yaml        - '-t nat -A POSTROUTING -s 192.168.1.25/32 -d 10.0.0.1 -j SNAT --to-source 172.1.1.1'      - -t nat -A PREROUTING -d 192.168.1.1 -j DNAT --to-destination 10.0.0.1   output_snat_lo.conf:   However, if I try to escape it with slashes or putting it within double quotes, double quotes with slashes I can't get the ' to print but rather give send invalid flag options.  This is what I'm trying to insert.  - '-t nat -A PREROUTING -d 192.168.1.1 -j DNAT --to-destination 10.0.0.1'\n&/' file.yaml   Any suggestions/tricks? I feel like I've done this in the past but can't recall how.


I am now finding a problem when someone googles for me.  Rather than finding my website, or LinkedIn page or Facebook page, they often get a complete page of links to the “users” pages for me on different Stack Exchange sites!  I have partly sorted this out, by removing my real name from the user pages on a lot of Stack Exchange sites.  I don’t know the solution to this, but I don’t think the plan was to make googling for a person less useful!    Part of the problem is that there are so many pages that point to the “user page” including all questions and answers.   But the link on the user page to your home page is marked so search engines don’t use it.  Maybe we need a checkbox on the “user page” to say “tell google to give this a low page rank”


Show using antiderivatives and using the binomial coefficient.


Latex 12pt is different from actual font size 12 on Microsoft Word

I have an assignment which I have written in Latex and I realized the prof has restrictions on Font Size and Font Name. The specification indicates that the document must be presented using "Times New Roman" font with size of 12.   using :   \documentclass[12pt]{article}   outputs a result which is expected to be the same font size as 12 on Microsoft Word (presumably) - however, when compared to a printed document using Word, the font size of latex is smaller (around 11 on Word).   I read some where that Word uses bp so I changed it to 12bp but it made it even smaller.


I'm looking for a import Aes Ctr on c# I have found this code that working great but it is in Javascript, somebody know if there is corrispettive on c#?  Aes builtin on c# is not the same I have just tried it.    I tried this code:  but I don't have same output on original javascript.  Thanks for help.  It is not the same of other question () cause there isn't IV and Key.


In how many ways can 4 unlabeled blue balls and 2 unlabeled red balls be packed in 5 different boxes?

I have 4 unlabeled (identical) blue balls and 2 identical redz balls and 5 different (distinct) boxes. In how many ways all balls can be placed in these 5 boxes?


Sign in $\Delta U= -\int\vec{F}\cdot d\vec{l}$

So I have been trying to understand why there is a negative sign in the following$\Delta U= -\int\vec{F}\cdot d\vec{l}$  I wanted to try to understand it by trying to derive the gravitational potential energy $E_p=-\dfrac{GMm}{r}$ I start by defining potential energy to be $0$ at $\infty$ and see what I get if I let gravity do work on the mass until a distance r away from a planet  $W_G=\int_{\infty}^{r} \vec{G}\cdot{d\vec{l}} = \int_{\infty}^{r} G\cos{\theta}dl = \int_{\infty}^{r} G dx$ G is the gravitational force so:  $W_G= \int_{\infty}^{r} -\dfrac{GMm}{x^2}dx = \Bigg[\dfrac{GMm}{x}\Bigg]$ applying limits of integration gives $W_G = \dfrac{GMm}{r}$  Thus I am confused why the minus sign, from the derivation I wrote it seems to have to be $\Delta U= \int\vec{F}\cdot d\vec{l}$ at least for gravity. I also did the same derivation for a mass on earth ($W_G = -mgh$ Where $\vec{G}$ is considered to be constant) and the result indeed is the correct one $\Delta U= -\int\vec{F}\cdot d\vec{l}$ so my confusion arises, why don't i get the same result for both cases.   I am also wondering if I carry out the same derivation but for elastic potential energy, what would I get... Thank you for any help!


How do I get rid of the Start Menu "zombie" icon?

Windows 7 has a large icon above the username on the right-hand pane of the Start menu. By default it is a faceless torso in a blue collarless shirt that I call the "zombie icon". (I don't know the icon's real name: . (Although "Molly Clark" has a zinnia icon instead of a zombie icon.)  The zombie icon fades from one pointless icon to another as you move your mouse over "Documents", "Computer", "Devices and Printers" etc. This icon is a waste of space and the fades are distracting.  How do I make it go away?


Me and my Moroccan friend are currently planning a holiday to Portugal (I'm a british citizen). We're slightly concerned though, that because her Schengen visa has been issued via the French embassay and is a 'French shengen' visa, that she has to go to France first and then travel to Portugal.  Can anyone confirm whether she would need to go to France first(and then figure out a way to Portugal), or if she can just go straight from Morocco to Portugal.


What are the consequences of a US citizen denying encryption key to the CBP?

I am considering to travel out of the US. However, being a brown person, I am concerned about the recent actions of the US Customs and Border Protection. I strongly believe in digital privacy and 0% willing to share my data with anybody else. I keep my data encrypted. However, it looks like that the constitutional rights don't work in front of the CBP and they may order a traveler to give away the key. What are the actions they may take against me if I don't comply with their orders while returning back to the US?  I want to know about the consequences of not complying with the CBP orders with respect to this circumstance. I am not looking for the best practices to avoid a confrontation which has been answered by .


(Inspired by the comments for )  Why is ls this much slower than echo *?  $ time bash -c 'for i in {1..10000}; do ls -f > /dev/null; done' bash -c 'for i in {1..10000}; do ls -f > /dev/null; done' 7.49s user 5.39s system 108% cpu 11.883 total   $ time bash -c 'for i in {1..10000}; do echo * > /dev/null; done' bash -c 'for i in {1..10000}; do echo * > /dev/null; done' 0.16s user 0.25s system 98% cpu 0.415 total   I mean, sure, ls being slightly slower than echo * makes sense, but this seems ridiculous.  Why would ls be nearly  be the case?  If it has to do with ls not needing the speed, then there's no reason for yes .  What is ls doing under the hood that makes it so slow?  (I'm using zsh on Arch Linux, on a laptop. Times are similar on bash. I've also tested on a (Linux Mint) desktop computer with similar results. (There, ls -f is faster at around 7 seconds, echo * is still about 0.4 seconds, which is still a ridiculous difference.) On Arch Linux, ls was also unaliased, but I didn't bother for Mint, and it didn't make a difference anyway.)


At JFK, can you move between terminals airside on domestic flights?

When arriving at JFK (or any US airport) on an international flight that didn't have pre-clearance, I know that you have to clear immigration, collect your bags, clear customs, re-drop bags, change terminals by AirTrain if needed, and then go through security, no matter what terminals are involved.   I also know that when you fly into JFK on a domestic or pre-cleared flight, and your onward flight is from that same terminal, you just step off your domestic flight into the departures area and walk to your onward gate, without needing to do security again.  At some other big US airports I've been to before (eg DFW), there is an airside transfer train that lets you move between terminals, so you can go from gate to gate without needing to exit + re-clear security. However, at JFK the only transfer train I'm aware of is AirTrain, which is landside.  Is it possible to move between terminals at JFK from within the airside / departures area? Or is the only option when changing between domestic flights at different terminals to exit, take the air-train, then queue up and re-clear security?


I've recently installed Ubuntu on my mac book pro with retina display and am able to dual boot into both Ubuntu and OS X with no issues. The current problem I'm having is that I cannot seem to find any networks whatsoever when I'm in Ubuntu, but on OS X, I'm connected to my home WiFi. Please Help! Wireless card: BCM4331 802.11a/b/g/n


I'm trying to remove apps I'll never use again from my purchase history.  Does anyone know how I might be able to do this? I don't want to just hide them, I want them gone. Realize same question was asked a few years ago which received a response that it's not possible.  Was hoping something has changed.  Thanks


Should  be the appropriate term? I mean, for example, because of the quantum field theory we have been able to find the subatomic particles that it theorized and make the Standard Model. Why then is is labeled as a theory? Also wave-particle duality is widely accepted fact yet labeled as a theory. What is up with that, why call it a theory. Maybe because it promotes the fact of idealism?


Equation alignment without equation index?

I asked about this in  but dead silent. So how can I align an equation without getting the equation index number?


Compiling \begin{align} environment is messed up when you have a skipped line?

I'm learning LaTeX and writing code on overleaf. This code with a skipped line does not work, it only outputs the second sentence without any formatting ... \begin{align}     This is my first sentence.\\          This is my second sentence.     \end{align}   But this code with a comment placed on the skipped line works and returns the string with math formatting ... why?  \begin{align}     This is my first sentence. \\     %     This is my second sentence. \end{align}


Legal aspects of adding myself to a transferred America The Beautiful Annual Pass

can be owned/signed by "two pass owners that do not have to be related or married".  That is why there are a lot of valid passes with only one signature on eBay.  Selling it is another issue, probably more problematic but let's assume I've obtained such pass for free. So please don't focus on eBay part, unless it makes a practical difference.  The question is: Are there any obstacles in just signing it and going for a trip? (what non-transferable really means?)


After my MBP has been asleep (lid closed), when woken, it seems to reconnect to wifi for a few seconds (30 or so) and then becomes unresponsive. All indications are that everything is OK, but web browsing etc fails. By "switching wifi on and off" on the task bar, it then works fine until the next time it's woken from sleep. I have changed wifi router, and this issue has been evident for a year or so (so was on Mavericks and is now on Yosemite). It has the latest released version of Yosemite (10.10.3)


If i do cat /proc/asound/cards it lists all the sound card details from where proc gets this information.This file is continuously updating what if i want to make a manual entry


Dominated Convergence Theorem with "Almost Surely" replaced by "Convergence in Probability"

I want to show that if $\{X_n\}$ is a sequence of random variables such that:  (1) $\exists X$ (measurable) such that $X_n \xrightarrow{P} X$  (2) $\exists Y$ with $E(|Y|) < \infty$ such that $|X_n| \le Y \quad \forall n \in \mathbb{N}$  Then $E(X_n) \rightarrow E(X)$ and $E(|X_n - X|) \rightarrow 0$  How do I go about showing this?  This is of course the standard dominated covergence theorem changing almost sure convergence to $X$ to convergence in probability.  The approach to proving the standard theorem involves showing that $X$ is integrable and subsequently bounding $E(|X_n - X|)$, but I don't even understand how to do that part in this new set of assumptions.  Can someone help with this?  Once that part is done then the theorem is complete I believe?  I'm aware this might be a duplicate but I cannot understand these things very well and I'm very confused.  Thanks for any help you can give!


I need to genarate a random number with exactly 6 digits in Java. I know i could loop 6 times over a randomicer but is there a nother way to do this in the standard Java SE ?  EDIT - Follow up question:  Now that I can generate my 6 digits i got a new problem, the whole ID I'm trying to create is of the syntax 123456-A1B45. So how do i randomice the last 5 chars that can be either A-Z or 0-9? I'm thinking of using the char value and randomice a number between 48 - 90 and simply drop any value that gets the numbers that represent 58-64. Is this the way to go or is there a better solution?  EDIT 2:  This is my final solution. Thanks for all the help guys!  protected String createRandomRegistryId(String handleId) {     // syntax we would like to generate is DIA123456-A1B34           String val = "DI";            // char (1), random A-Z     int ranChar = 65 + (new Random()).nextInt(90-65);     char ch = (char)ranChar;             val += ch;            // numbers (6), random 0-9     Random r = new Random();     int numbers = 100000 + (int)(r.nextFloat() * 899900);     val += String.valueOf(numbers);      val += "-";     // char or numbers (5), random 0-9 A-Z     for(int i = 0; i<6;){         int ranAny = 48 + (new Random()).nextInt(90-65);          if(!(57 < ranAny && ranAny<= 65)){         char c = (char)ranAny;               val += c;         i++;         }      }      return val; }


Is it really problematic for Universal Instantiation to precede Existential Instantiation?

Abbreviate: Existential Statement to ES, Existential Instantiation to EI, Universal Instantiation to UI, and Universal Statement to US.   Source:  A Concise Introduction to Logic (12 Ed, 2014) by Patrick Hurley           [p 468:] [...] Notice that the line involving existential instantiation is listed   before the line involving universal instantiation. There is a reason for this. If the   order were reversed, the existential instantiation step would rest on the illicit assumption that the something that is both an A and a G has thesamename as the name   used in the earlier universal instantiation step. In other words, it would involve the   assumption that the something that is both an A and a G is the very same something   named in the line Ad ⊃ Cd. Of course, no such assumption is legitimate. To keep   this mistake from happening, we introduce   [...]   [p 469:] These two restrictions can easily be combined into a single restriction that requires that   the name introduced by existential instantiation be a new name that has not occurred   in any previous line, including the line adjacent to the last premise that indicates the   conclusion to be derived.   I recognise the possible problem that I coloured grey in the above quote; but how is it a genuine problem? And why does it necessitate EI always to precede UI? I agree that writing EI before UI is visually convenient, but does the grey above exaggerate?  To me, the illicit assumption can be evaded simply by knowledge of EI vs UI. Only US (Line 1) are true for ANY value of x; so only US empower you to choose whatever Constant (ie: letter) you need, such as the specific Constant  needed  to match the Constants in any subsequent PS.  One must start always by applying EI to the ES (Line 2) which generates the first Constant, before one can even know which Constant needs to be matched from applying UI to the US.   So knowing the previous sentences, how can someone be confused by whether the 'something' in EI is identical to what is named in the UI? If they are not identical, then EI and UI would use different Instantial Letters to name the 'something'!


I just got a new laptop and have installed Ubuntu 14.04 on the same. Though its detecting my home wifi its not getting connected to it. Its asking for the password and when I provide the password it just comes back to the same window asking for password again. I have checked the password multiple times and its correct. Also at that time i was able to connect to my home wifi from my mobile and another laptop.  But when I switch on my mobile hot spot I was able to connect to it and and its working. Do I have to do something specific to get my laptop connected to my home wifi.    output of the command: lspci -knn | grep Net -A3  05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]     Subsystem: Hewlett-Packard Company Device [103c:81c1]     Kernel driver in use: rtl8723be


Why do I get "101: Network is unreachable" when trying to upgrade to Ubuntu 20.04?

I am facing these errors while I am trying to upgrade to Ubuntu 20.04:  E: Failed to fetch  http://ubuntu.mirror.digitalpacific.com.au/archive/pool/main/x/xdg-desktop- portal-gtk/xdg-desktop-portal-gtk_1.6.0-1_amd64.deb   Cannot initiate the connection to ubuntu.mirror.digitalpacific.com.au:80 (2401:fc00:0:201::4). -  connect (101: Network is unreachable)


I see this a lot on Facebook. Two people doing a thing, and the picture captioned with: "John and I waiting on the bus" "Mary and I at the Beyonce show" "Sally and I with our awesome guide Sven"  I think it should be "Joe and me" but I'm not sure why. Is there an implied "this is" at the beginning of each sentence, making Joe and me the object rather than the subject?


Are $X$ and $X+Y$ independent, if $X$ and $Y$ are independent?

As asked in the title? Does the independence of two random variables $X$ and $Y$ imply the independence of $X$ and $X+Y$? If so, what's the easiest way to prove that?


Algebra of LDA. Fisher discrimination power of a variable and Linear Discriminant Analysis

Apparently,     the Fisher analysis aims at simultaneously maximising the   between-class separation, while minimising the within-class   dispersion. A useful measure of the discrimination power of a variable   is hence given by the diagonal quantity: $B_{ii}/W_{ii}$.     I understand that the size (p x p) of the Between (B) and Within-Class (W) matrices are given by the number of input variables, p. Given this, how can $B_{ii}/W_{ii}$ be a "useful measure of the discrimination power" of a single variable? At least two variables are required to construct the matrices B and W, so the respective traces would represent more than one variable.  Update: Am I right in thinking that $B_{ii}/W_{ii}$ is not a trace over a trace, where the sum is implied, but the matrix element $B_{ii}$ divided by $W_{ii}$? Currently that is the only way I can reconcile the expression with the concept.


Merge rows with common field value in MySQL

I have a table which was imported from MS-SQL, it has about 1.9 million rows. After importing I realized that a lot of the rows are duplicates and there are no primary key constraints.   The rules to check for constraints are:   Check the email address.  If no duplicate is found in the table, leave the row as it is. If email address matches then compare the columns in both. Select one of the two as the row that will be kept i.e. TO_KEEP, the other will be deleted i.e. TO_DELETE. If there is any column in TO_DELETE that has some value but there is no value in TO_KEEP the update the TO_KEEP row with the value from the matching column in TO_DELETE.    I need help with writing a query for that. It's beyond my current skills. I wouldn't mind if I get some pointers which can make it easier as to how the query can be structured and which ones to use.


I am trying to draw the inequality plot of this inequality but did not mange to find a way. The plot I want is similar to the one that Mathematica produces. Anybody can help?     I tried this command   \addplot3 [surf,shader=interp,samples=45, domain=-2:6, y domain=-2:6] {(3*sqrt(x^2+y)+sqrt(4*x^3-3*x^2+y)-4)/(sqrt(y+1)+sqrt(3)*sqrt(4*x^3+3*y-  1)-4)};   and then view={0}{90} but it takes a lot of time to compile and I guess there should be a way to produce a 2D plot rather than changing the angle of a 3D plot.


One day visit to Istanbul Turkey during International travel

I am a US citizen traveling from Kathmandu to US through Istanbul, Turkey. I have a 19 hour layover in Istanbul. Can I visit the area near the airport or stay in a near-by hotel while in transit? Are there visa requirements to leave and re-enter the airport during this 19 hour layover?


I have a Web application as well as Andriod app.I want to store the User profile picture in database.Can Anybody Suggest me which is the best and secure way to store image,so that 1. I should be able to access profile picture for the android app. 2. I should be able to retrieve the image for my web application also.


Let $N$ be a rank $n$ submodule of $\mathbb Z^n$, and let $A$ be the matrix with rows being the generators of $N$. Show that $\lvert \mathbb Z^n / N\rvert = \lvert \det (A) \rvert$.  So this is a homework problem, and I am a little confused. Shouldn't it be the case that $\mathbb Z^n$ is the unique (up to isom.) free module of rank $n$? Then, wouldn't this imply that $N = \mathbb Z^n$? I think I am missing something here, but even assuming that this is indeed the case, then we would be trying to prove that $\lvert \det (A) \rvert = 1$ for every invertible matrix $A$ with entries in $\mathbb Z$, which I don't think is true.


How is INFORMATION_SCHEMA implemented in MySQL?

The INFORMATION_SCHEMA is, in theory, a set of views specified in the SQL standard that allow the user to inspect the system's metadata. How is it this implemented in MySQL?  When I connect to a fresh installation I see two databases: mysql and information_schema. After using SHOW CREATE TABLE statements on the information_schema database, it looks like it's not implemented as a set of views but with base tables instead. Is this assumption correct? Or there are other system tables that are hidden from the user?


Can you use bentonite and Sparkaloid at the same time?

Can you use bentonite and Sparkaloid to clarify at the same time?   Can they be used in the primary fermentation bucket or must they be used after racking?  How long does each require to work?


Quote from Die Hard     Joseph Takagi: You want money? What kind of terrorists are you?      Hans Gruber: Who said we were terrorists?   Why Hans used "were" instead of "are"?


I don’t understand when I should use zero article.  Can you explain me usage of article in these sentences: 1. They have little experience. 2. You can have a little rest.  I think in both cases we are talking about abstractions. Please help me.


Windows 7 disk properties dialog reports more used space than total size of files on the disk

I have two hard drives (same size, same partitions, same model) that have been synchronized using FreeFileSync. They are used to store data, not the system. After sync, the drives should report same free and used disk space but it is not the case.  First drive (used for storage) reports 781 GB of used disk space, while second drive (backup) report only 778 GB. To get that information, I right clicked on the disk then choose properties.  First, I was thinking that synchronising tool was not doing is job (by excluding some files) but using other file synchronisation tools (like SyncToy or DirSyncPro) give me same result (no difference in files reported justify a delta of 2 GB).  Also: if I go to drive root folder, select everything (all files and folders) and right click then choose properties, total reported files size is 778 GB on both drives. If i look closer at the numbers, there is a small difference of a few megabytes between the two drives however.   Notes :   Computer have been restarted several times. Recycle bin have been emptied on both drives (if I go to $RECYCLE.BIN folder, both are almost empty (only a few KB). Shadow copy is disabled. vssadmin list shadows doesn't report anything. Windows Explorer folder settings have been modified to display system files and hidden files.  I have run "Error checking" tool (with "Automatically fix file system" enabled) on both disks.   Why is there a difference in used and free space between the two drives? How can I solve this?


I entered sudo fdisk -l now I want to know how much of my hard disk belong to this partition:      Device Boot      Start         End      Blocks   Id  System /dev/sda2       156264318   273474494    58605088+   7  HPFS/NTFS/exFAT


Is it always wrong to allow harm to come to someone?

Is our moral obligation to not do harm, as opposed to preventing harm form occurring to someone else? Am I in the wrong for not donating money?


Integral of the form $\int_{0}^{\infty}e^{-ax}e^{-x^{4}}dx$

I'm searching a closed form for the integral of the form :  $$ \int_{0}^{\infty}e^{-ax}e^{-x^\frac{\alpha}{2}}dx $$  especially for $\alpha=8$  After several attempts, I find that the general form can be written on the basis of hypergeometric functions. what do you think ?


Directory can only be accessed with explorer

This is a strange situation that I don't really know why it's happening.  Let's say I have these directories (names are fake but the structure is real):  a +- b |  + file1 |  + file2 | +- c    + file3    + file4   I can navigate to all three directories without problems in the explorer. However when I try to cd into b and c, I got this  C:\PathToUser\a> cd "b" The system cannot find the path specified.   This is strange because they are clearly there:   Volume in drive C is OS  Volume Serial Number is SOME-NUMS   Directory of C:\PathToUser\a  12/12/2017  11:56 PM    <DIR>          . 12/12/2017  11:56 PM    <DIR>          .. 01/29/2012  10:54 PM    <DIR>          b 01/29/2012  10:32 PM    <DIR>          c                0 File(s)              0 bytes                4 Dir(s)  SOME bytes free   What I wanted to do is to remove those two directories, but I couldn't remove them with both cmd and explorer. Are the directories corrupted? Any suggestion is appreciated, thanks.


Migrating data and metadata to a developer org

I would like to use a developer org for development. Can anyone let me know how data and meta data of the production org be copied to the developer org?


Should we have comment editing histories?

Having just read  article about why there is a time limit on editing questions, I thought about questioning why comments do not have an edit history.  I think (I couldn't find any statistics, so if anyone does, please tell me) that there must only be about 1 edit made to each answer/comment on average and the amount of space that would take is minimal.  Is there another reason not to have edit history on comments?


There are some question arising from my animal companion. We are using the Unearthed Arcana version of the ranger and I chose the beast master. I have this wolf and I can ride it because I’m small (I’m a mousefolk if you’re wondering).   When I’m riding my animal companion, can my wolf attack using her bite?   Also, bonus question, can I attack with melee and ranged weapons while riding my wolf?  Thanks for the help in advance!


In Linux, every single entity is considered as FILE. If I do vim <cd-Name> then, vim will open the directory content into it's editor, because, it do not differentiate between file and directories.  But today while working, I encountered a thing, which I am curious to know about.  I planned to open a file from nested directory  vim a/b/c/d/file   But instead of vim, I typed   cd a/b/c/d/   and hit the TAB twice, but command was showing only the available directory of the "d" directory rather files.  Don't the cd command honour "everything is a file"? Or am I missing something ?


How to fix issue regarding character encoding with DataTable?

I often follow your suggestions on this forum. Now I have an issue with Datatable plugin.  On my website, I have created a food table. This table takes all data from mysql database and use DataTable to have some additional plugins. The issue is that DataTable doesn't encode correctly some characters showing some "??". I saw that mysql encode is base on latin1 and not on utf8. How can I force the  utf8 encoding?  Below the code for database access:  <?php $link = mysqli_connect ("XXXXXXXX",  "XXXXX", "XXXXX", "XXXXX");   if (mysqli_connect_error()) {      die ("Problemi di connessione con il server. Riprovare più tardi");  }; ?>   Below the code created for the table:

                     Nome	                     Categoria	                     Kcal	                     Carbo (g)	                     Prot (g)	                     Gras (g)

                   <?php                      $query = "SELECT * FROM databaseAlimenti";                      if ($result = mysqli_query($link, $query)) {                          while($row = mysqli_fetch_array($result)) {                              echo "
";                         echo "" . $row['Nome'] . "	";                             echo "" . $row['Categoria'] . "	";                             echo "" . $row['kcal'] . "	";                             echo "" . $row['Carboidrati (g)'] . "	";                             echo "" . $row['Proteine (g)'] . "	";                             echo "" . $row['Grassi totali (g)'] . "	";                             echo "
";                          }                       };                     ?>

      Thanks in advance


Example $g\circ f=id_A$ but $f\circ g\neq id_B$

Two functions $f:A\rightarrow B$ and $g:B\rightarrow A$. Can someone give me an example where $g\circ f=id_A$ but $f\circ g\neq id_B$?


Drag and drop not working, desktop and Thunderbird (Ubuntu 20.04.01)

The point es very simple: in Ubuntu 20.04.01 Drag and drop is not working either in desktop and Thunderbird. Is there a way I can fixing this? besides this, it's very cool! Thanks!


Have locked question directly link to its respective meta discussion if existing

If a question gets locked, there often is a meta discussion related to it, e.g. in the recent . While there is a  linking to , the "locked by..." message only links to meta in general:    Therefore, if such a discussion exists when (or gets created after) a post gets locked, the "visit meta" link should directly link there instead.


I keep getting, since several days, "System program problem detected" error message:    I always clicked on Report problem button but nothing happens.  I also run update and upgrade everyday.  What causes this ? How to get rid of it ?


As i am playing avi videos on my newly installed Xubuntu i observe video flickering because of which i do not get optimal user experience while watching videos. I have tried multiple players as well as multiple videos but the problem persists. The flickering doesnt exist when i am playing my video on win 7.   info driver:- amd radeon 4500 propriety driver activated players tried:- mplayer, vlc


What are the best methods to show a data table in mobile / tablet view?

I'm in the process of redesigning my website to be responsive, and some of my account pages I show some detailed product information in a data table view.    What are some of the best methods to show a data table in mobile / tablet view?  I came across this link and I like the way he set this up, but I'm seeing if there are any other methods that are good which I'm not aware of.      Thank you!


At which moment does the 'Surprised' state disappear?

I am trying to figure out if the surprised state ends on a creature after the first attack of a surprise round, or if the surprised state (which I would then see almost as an unofficial condition) ends only after the first round of combat.  In the second case, I would believe that a character (having the rogue's Assassinate ability) attacking a surprised creature AND having multiple attacks would score a critical hit on all hits.  Example: Does a Monk 5/Rogue 3 surprising a creature get automatic critical hits on all hits if he does 2 attacks (with extra attack) and additional unarmed strike(s)?  Or does the critical hit only affect the first hit? However, that would surprise me as the rules mention any hit is a critical hit.


The deal between "Mary and me" vs. "Mary and I"

I think "Mary and me," even though it sounds odd to the ear, is correct, but my choice is between:  "I've forgotten everything about the deal between Mary and me" and "I've forgotten everything about the deal between Mary and I."  I'm wondering if the words "deal between" have any grammatical significance on whether I should be using "I" or "me" here.  Any thoughts?


How to list packages not installed by apt-get?

Using apt list --installed one can get a list of packages installed by apt-get command. However, I would like to get a list of all packages installed in some other way e.g. by some script. Is this possible to get?


What does the Jacobi identity impose on structure constants?

I am currently self-studying Lie algebras and want to check my answer to the following question from Erdmann and Wildon:     Let $L$ be a Lie algebra with basis $(x_1, \dots, x_n)$. What condition does the Jacobi identity impose on the structure constants $a_{ij}^k$?   The structure constants are defined as the scalars $a_{ij}^k$ in the underlying field $F$ such that $$[x_i, x_j] = \sum_k a_{ij}^k x_k.$$ I have already established that $a_{ji}^k = - a_{ij}^k$ and that $a_{ii}^k =0$.   Here's my stab at answering the above question:   Let $x_i, x_j, x_k$ be basis elements. Applying the Jacobi identity:   \begin{align} [x_i, [x_j, x_k]] + [x_j, [x_k, x_i]] + [x_k, [x_i, x_j]]&=0 \\ \left[x_i, \sum_l a_{jk}^l x_l \right] + \left[ x_j, \sum_l a_{ki}^l x_l \right] + \left[ x_k, \sum_l a_{ij}^l x_l \right] &= 0 \\ \sum_l a_{jk}^l [ x_i, x_l] + \sum_l a_{ki}^l [ x_j, x_l] + \sum_l a_{ij}^l [ x_k, x_l] &= 0 \\ \sum_l a_{jk}^l \sum_m a_{il}^m x_m + \sum_l a_{ki}^l \sum_m a_{jl}^m x_m + \sum_l a_{ij}^l \sum_m a_{kl}^m x_m &= 0 \\ \sum_l \sum_m \left( a_{jk}^l  a_{il}^m x_m +  a_{ki}^l  a_{jl}^m x_m +  a_{ij}^l  a_{kl}^m x_m \right) &=0 \\ \sum_m x_m \underbrace{\sum_l \left( a_{jk}^l  a_{il}^m  +  a_{ki}^l  a_{jl}^m  +  a_{ij}^l  a_{kl}^m  \right)} &= 0. \end{align} Since $(x_1, \dots, x_n)$ forms a basis, they are linearly independent. Therefore, the indicated term is zero for all $i, j, k, m$.   Questions   Is the above correct? Is there a less computationally intensive approach? Note that I have been particularly explicit to try to catch any possible errors; my scratch work compressed this to three lines.  Is this the strongest result possible? The conditions that $a_{ji}^k = - a_{ij}^k$ and that $a_{ii}^k =0$ are easy to visualize by analogy with skew-symmetric matrices. Is there a similar interpretation of this result?


I want to generate unique 25 characters and numbers long string using the following code,   public static String generateString() {    String uuid = UUID.randomUUID().toString();    return uuid; }   How I can set the size of the generated String and remove the - symbols?


Show that $D_{12}$ is isomorphic to $D_6\times C_2$

Show that $D_{12}$ is isomorphic to $D_6 \times C_2$, where $D_{2n}$ is the dihedral group of order $2n$ and $C_2$ is the cyclic group of order $2$.   I'm somewhat in over my head with my first year groups course. This is a question from an example sheet which I think if someone answered for me could illuminate a few things about isomorphisms to me.   In this situation, does one use some lemma (that the direct product of two subgroups being isomorphic to their supergroup(?) if certain conditions are satisfied)? Does $D_{12}$ have to be abelian for this? Do we just go right ahead and search for a fitting bijection? Can we show the isomorphism is there without doing any of the above?  If someone could please answer the problem in the title and talk their way through, they would be being very helpful.  Thank You.


I am struggling to find out the Value of Ie and Ib here.  Ic I have taken to be Vcc/10k. If this is correct I could use Ic/alpha = Ie . I would like to know if this is the case but seems to easy to be the case?  Usually we would have Re to stabilise the heating effect and Ie would just be   Vb-0.7/Re.   I would appreciate the help.  The reason I am doing this is to try and find the Range of values for Vout based on different gain Values of beta.


One button, when clicked, changes the html in the body tag, in which there is a new button. New button, when clicked, should give an alert message, but it is not.  I think it's probably the document.ready part, which needs to be reinitialized. But i don't know how to do that. Please check the code:  <!DOCTYPE html>         <title>Title For the Website</title>
       <button id="idol">Idol</button>
            This is a cut down version of my code. In the original page, a button generates some html through an ajax call, and that html has a button to do another ajax call.


Best practices for float multiplication in C++ or C?

I need to perform a simple multiplication of 400 * 256.3. The result is 102520. Straight forward and simple. But to implement this multiplication in C++ (or C) is a little tricky and confusing to me.    I understand floating point number is not represented as it is in computer. I wrote the code to illustrate the situation. Output is attached too.   So, if I do the multiplication using float type variable, I am subjected to rounding error. Using double type variable would have avoided the problem. But let's say I have a very limited resource on the embedded system and I have to optimize the variable type to the very best I could, how can I perform the multiplication using float type variable and not susceptible to rounding error?  I knew the floating point math done by computer is not broken at all. But I am curious for best practice to perform floating point math. 256.3 is just a value for illustration. I would not know what floating point value I will get during runtime. But it is for sure, a floating point value.  int main() {     //perform 400 * 256.3     //result should be 102520      float floatResult = 0.00f;     int intResult = 0;     double doubleResult = 0.00;      //float = int * float     floatResult = 400 * 256.3f;     printf("400 * 256.3f = (float)->%f\n", floatResult);      //float = float * float     floatResult = 400.00f * 256.3f;     printf("400.00f * 256.3f = (float)->%f\n", floatResult);      printf("\n");      //int = int * float     intResult = 400 * 256.3f;     printf("400 * 256.3f = (int)->%d\n", intResult);      //int = float * float;     intResult = 400.00f * 256.3f;     printf("400.00f * 256.3f = (int)->%d\n", intResult);      printf("\n");      //double = double * double     doubleResult = 400.00 * 256.3;     printf("400.00 * 256.3 = (double)->%f\n", doubleResult);      //int = double * double;     intResult = 400.00 * 256.3;     printf("400.00 * 256.3 = (int)->%d\n", intResult);      printf("\n");      //double = int * double     doubleResult = 400 * 256.3;     printf("400 * 256.3 = (double)->%f\n", doubleResult);      //int = int * double     intResult = 400 * 256.3;     printf("400 * 256.3 = (int)->%d\n", intResult);      printf("\n");      //will double give me rounding error?     if (((400.00 * 256.3) - 102520) != 0) {         printf("Double give me rounding error!\n");     }      //will float give me rounding error?     if (((400.00f * 256.3f) - 102520) != 0) {         printf("Float give me rounding error!\n");     }      return 0; }


When writing and preparing a campaign should I include all the side stories and all possible encounters?

I have worked out an entire world with a story and several side stories (they'll be optional) should I just put them in the middle of the story of where they'd be available or should I put them into a separate area for them and just put a note to where to find the details of the quest when they'd be important?


When a certain key is pressed, simulate other key presses

I am trying to figure out the proper way to handle this. Basically what I want is when a user presses the c key, I want javascript to simulate that after the c key is pressed, a string of other keys are also pressed. So for example the user presses the c key, and then typed would be cool@gmail.com. c being the key they pressed, and ool@gmail.com being keys that were pressed via javascript. What would be the best way to do this?


Accessing laptop's hard drive when OS won't boot

What is the best way to access a laptop's hard drive to recover data (assuming there is still intact data) when the OS (Windows XP) won't boot?  EDIT: I've tried booting from a disc, but that failed as well.


Let $(x_n)\downarrow 0$ and $\sum x_n\to s$. Then $(n\cdot x_n)\to 0$

Let $(x_n)$ a decreasing sequence and $\sum x_n\to s$. Then $(n\cdot x_n)\to 0$   Check my proof please, Im not completely sure about it correctness.  If $\sum_{k=h}^\infty x_k= s$ then we can rewrite the sum for starting index $1$ with the change $k-h=j$, then  $$\left(\sum_{j=1}^n x_j\right)-n\cdot x_n=\sum_{j=1}^n (x_j-x_n)$$  Then taking limits  $$\color{red}{\lim_{n\to\infty}\left[\left(\sum_{j=1}^n x_j\right)-n\cdot x_n\right]}=\lim_{n\to\infty}\sum_{j=1}^n (x_j-x_n)=\sum_{j=1}^\infty (x_j-0)=\color{red}{\lim_{n\to\infty}\sum_{j=1}^n x_j}=s$$  where I used the fact that $(x_n)\to 0$. Thus equating the colored expressions this implies that $\lim_{n\to\infty} nx_n=0$.    The proof, to my eyes, seems correct but I dont needed in any moment to use the fact that $(x_n)$ is a monotonic sequence so it is possible that I make a mistake somewhere or that the proof is incorrect.    My second attempt  Because $\sum x_k$ converges and is positive (cause $(x_n)\downarrow 0$) we can write   $$\sum_{k=n+1}^{2n+m}x_k=\left|\sum_{k=n+1}^{2n+m}x_k\right|<\epsilon/2,\quad \forall n,m\ge N$$  Then, cause $(x_n)$ is decreasing  $$(n+m)x_{2n+m}\le\sum_{k=n+1}^{2n+m}x_k<\epsilon/2\\\implies (2n+m)x_{2n+m}\le2(n+m)x_{2n+m}<\epsilon,\quad\forall n,m\ge N$$  Because $m$ is arbitrary setting $M=2N>N$ we can finally write  $$nx_n<\epsilon,\quad\forall n\ge M$$  It is this proof correct? Thank you.


python class var will share between obj?

class cls():     A = []  a = cls() b = cls() a.A.append("a") print(b.A)   I run this on python 3.4. but i see it print a stting "a".  I cant understand why this happen. a is different from b, but why they are share one var A?


Prevent delete if account has child opportunities?

I need to write a trigger in which if an account that has related Opportunity and the user tries to delete that account it throws you an error.Here i am not understanding how to query Opportunity in account Trigger?


My question is about an inverter system with the transformer which is controlled by dspic30f, how to sense the mains voltage i.e.,230V 50Hz to the microcontroller?


Mysterious @ character in the Windows Registry

When I navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP.PlayCD\Shell\Play" in The Windows  Registry, I find one REG_EXPAND_SE named MUIVerb on my Windows 7 system. However in its contents it's carrying "@%windir%\system32\wmploc.dll,-6503"  Now my question is: What does this @ character mean or do? I am an MS-DOS grown up and I haven't seen such a notation before. Should I interprete it as the @ like in an e-mail address? What is the final result. Does it become "C:\%windir%\system32\wmploc.dll,-6503" eventually ?