I want to make a standard frame with two divs side by side.    .test {   width: 100%;   height: 100%; }  .test22 {   width: 100px;   background-color: #000;   border: 1px solid #000;   height: 1000px; }

     Here is a JSFiddle:   Now as you can see with a fixed height on 2nd div I'm able to see the container with black bgcolor on the screen. But I cannot have a fixed height as the content is variable and hence I changed: height:100%  instead of fixed height.  When I do that, I don't see anything on the screen, except the border I added  JSFiddle:   If I add some content in it, it'll start showing up:  JSFiddle:   but I want to be able to see the black container always whether I have content or not with height: 100%?  Is this possible?

I am working on a web application where I want the content to fill the height of the entire screen.  The page has a header, which contains a logo, and account information. This could be an arbitrary height. I want the content div to fill the rest of the page to the bottom.  I have a header div and a content div. At the moment I am using a table for the layout like so:  CSS and HTML    #page {     height: 100%; width: 100% }  #tdcontent {     height: 100%; }  #content {     overflow: auto; /* or overflow: hidden; */ }

...

...

     The entire height of the page is filled, and no scrolling is required.  For anything inside the content div, setting top: 0; will put it right underneath the header. Sometimes the content will be a real table, with its height set to 100%. Putting header inside content will not allow this to work.  Is there a way to achieve the same effect without using the table?  Update:  Elements inside the content div will have heights set to percentages as well. So something at 100% inside the div will fill it to the bottom. As will two elements at 50%.  Update 2:  For instance, if the header takes up 20% of the screen's height, a table specified at 50% inside #content would take up 40% of the screen space. So far, wrapping the entire thing in a table is the only thing that works.


I have to show next property of stochastic integration.   Let $X$ be adapted integrand, for which we know that $E[\int_0^T X_s^2 ds] < \infty$. Let $0 \leq s < t \leq T $ and we have some $W \in F_s$ ($F_s$ is $\sigma$-algebra) and we know $E[\int_s^t W^2 X_s^2 ds] < \infty$.  Show that $\int_s^t W X_u dBu = W \int_s^t X_u dBu$.  I think I should start first with simple integrands and then make construction on other, but I am not sure if it is obvious how to make this on simple integrands.  Thanks for help.

Let $X$ be adapted integrand, for which we know that $E[\int_0^T X_s^2 \, ds]< \infty $. Let $0≤s<t≤T$ and we have some $W∈F_s$ ($F_s$ is $\sigma$-algebra) and we know $E[\int_s^t W^2X_u^2 \, du]<\infty$. I have to show  that $\int_s^t W X_u \, dB_u=W \int_s^t X_u dBu$.  I know that for simple integrands this follows from definition. We also know that for $X$ there exists sequence of elementary integrands $X^n$ such that $E[ \int_0^t (X^n_u-X_u)^2 \, du]$ converges to $0$, when $n \to \infty$. From this one can see that it also holds $E[ (\int_0^t (X^n_u-X_u) \, dB_u)^2]$. I wonder if I can show that it  holds $E[ |(\int_s^t W (X^n_u-X_u) \, dB_u)|] \to 0$ as $n \to \infty$ . (I think I should use Cauchy- Schwarz inequality: $E(XY)^2 \leq E(X^2)E(Y^2)$, but not sure where. If I could show this convergence in $L^1$, it would be enough for my proof. If I rewrite it as $E[E[|(\int_s^t W(X^n_u-X_u) \, dB_u)|  \mid F_s]]$ I don't know if I can put $W$ out of integral. Would it be correct? Any help would be really very appreciated. Thanks.


The title is self explanatory, basically, when I go to a freshly installed Ubuntu 18.04's Additional Drivers I'm seeing this:    I have been searching online and tried two things:   Disable "fast startup" on my windows (installed as dualboot) Downloaded and copied to /lib/firmware/ the "Intel® Dual Band Wireless-AC 7265" drivers in    However, the issue persists. My internet seems to work fine so far, although sometimes after hibernation, it does not connect to very specific networks and I need to restart my laptop. I think I have everything updated as my kernel (as seen in the output of uname -a) is 5.3.0-28-generic.  Any ideas of what else I can do? I admit I don't have much practice with dealing with drivers in linux.

Recently I've installed Kubuntu in a newly bought laptop with an Intel WiFi 6 AX200 network card, I can connect to the wifi without apparent problems but when I open the driver manager in the settings I face this weird situation:  Intel Corporation: Wi-Fi 6 AX200 This device is not working.  [ ] Using iwlwifi driver backport in DKMS format from backport-iwlwifi-dkms (open source)  [ ] Continue using a manually installed driver  [x] Do not use the device   Note that "Continue using a manually installed driver" is the only voice selectable in the list.  Here is some additional information:  $ lspci -nnk | grep 0280 -A3 02:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)         Subsystem: Intel Corporation Wi-Fi 6 AX200 [8086:0084]         Kernel driver in use: iwlwifi         Kernel modules: iwlwifi  $ rfkill list all 0: hci0: Bluetooth         Soft blocked: yes         Hard blocked: no 1: phy0: Wireless LAN         Soft blocked: no         Hard blocked: no  $ dmesg | grep iwl [    2.888227] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002) [    2.945179] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-cc-a0-50.ucode failed with error -2 [    2.945217] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-cc-a0-49.ucode failed with error -2 [    2.947244] iwlwifi 0000:02:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17 [    2.947250] iwlwifi 0000:02:00.0: Found debug destination: EXTERNAL_DRAM [    2.947252] iwlwifi 0000:02:00.0: Found debug configuration: 0 [    2.947697] iwlwifi 0000:02:00.0: loaded firmware version 48.4fa0041f.0 op_mode iwlmvm [    3.145585] iwlwifi 0000:02:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340 [    3.159226] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM [    3.160060] iwlwifi 0000:02:00.0: Allocated 0x00400000 bytes for firmware monitor. [    3.336456] iwlwifi 0000:02:00.0: base HW address: 50:eb:71:d7:0b:40 [    3.353553] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0 [    4.457920] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM [    4.621843] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring [    4.629999] iwlwifi 0000:02:00.0: BIOS contains WGDS but no WRDS   Someone have idea why this happened?


I'm beginning to posts answers / ask questions on the Workplace Stack Exchange site. I believe at a point I might write something which could be seen in a different light.  So, is it possible to detach/move my Workplace Stack Exchange account to a different email or account? Changing the display name doesn't really help.

Can I hide my accounts that I already participate in, for a specific site?  For example, I'm in one where I don't want to make my accounts visible for others:    Or is this not possible?


Gmail has built-in categories like Social, Promotions, Updates and Forums. As a system developer I get a lot of mails from automated system notifications and these seem to get categorized by Gmail as either Updates or Forums. This is super annoying and I'd really like Gmail to stop doing this. I can't seem to find a setting anywhere that stops the built-in categories from being applied. I already of filters in place to move some of these notification mails to the relevant labels I want, but they still get categorized as Forums or Updates.  Any ideas on how to stop this?   I'm using Gmail via a web browser, no fancy mail clients.  UPDATE I forgot to mention this a company mailbox so not sure if we have all the options as a normal user. For one, I see no categories option under settings:

Gmail has an automatic categorisation feature that sorts mail into various categories (social, promotions, updates, etc.). I would like to have an "Updates" tab, but I would like to disable the automatic categorisation so that the only mail that goes into this category is mail that I set up a filter for.  I currently have my mail going into a label, but labels aren't quite as nice as the tabs that categories have.  Is there a way to prevent mail automatically being assigned to a category?


Let $P(x)$ be a polynomial with integer coefficients such that $P(n)$ is a perfect square for all integers $n$. Prove or disprove: There exists a polynomial $Q(x)$ with integer coefficients such that $P(x)=Q(x)^2$.

Given a polynomial $ P \in \Bbb Z [X] $ such that, $ P (x)$ is the square of an integer for all integers x, is $ P $ necessarily of the form $ P (x)= Q (x)^2$ with $ Q \in \Bbb Z [X]$?


So I think I had problems with Ubuntu in the past installations I've tried, and I had only dedicated the OS a small amount of 10 gigabytes and the swap 8. Now that OS crashed for some reason after installing the "21 Updates" In the software center, I was thinking maybe there isn't enough space for the OS to handle.  so I decided I would change distros from Ubuntu and try out a larger size. I only have around 20 gigabytes to play (approximately 18.9) with though so how much can I dedicate for a comfortable gaming experience? (I want to use it as my day to day OS as well)  I'll try out the answers and if anything goes crashing again I'll ask them here. Thanks in advance!

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


I see the differential operator both with upright and italic d in different books/articles. So I'm curious about $$ \int x^2 \, dx \quad \text{vs.} \quad \int x^2\, \mathrm{d}x,$$ and $$\frac{d}{dx}f(x) \quad \text{vs.} \quad \frac{\mathrm{d}}{\mathrm{d}x}f(x).$$  Is there a convention which of these notations should be used?

I have a question. When I write the integral of a generic function $f(x)$, do I have to write $$\int f(x) \color{red}dx$$ or $$\int f(x) \color{red}{\mathrm{d}}x \quad ?$$ Why?  Thank you!


Prove that: $$\binom{n}0\binom{n+1}n+\binom n1\binom n{n-1}+\cdots+\binom nn\binom 10=2^{n-1}(n+2)$$   what i observed: The sum of the lower indices in all the terms is a constant values $n$. Also the value of the sum of the upper indices in each term is decreasing by 1 and goes from $2n+1$ to $n+1$ at the end. However i am unable to solve the problem. How do i start the problem, any hints or suggestions are welcome.

Show that the number of combinations of $n$ letters out of $3n$ letters of which $n$ are $a$s , $n$ are $b$s and the rest are unequal is $(n+2)2^{n-1}$.   My approach...  The number of ways of distributing $n$ distict object in $k$ distinct box is $\binom{n+k-1}{k-1}$ now when $k=2$ the logic stands as $\binom{n+2-1}{2-1}$=$\binom{n+1}{1}$.  Selection of $j$ distinct letter out of $n$ is $\binom{n}{j}$.  Hence my answer will be $\sum_{j=0}^{n} \binom{j+1}{1}\binom{n}{n-j}$.  Please help me with the answer


Capacitive touchscreens are designed to react to the capacitance of a human body. To my understanding the touchscreen is measuring local distortions of the electric field.  Is there a way to influence the electric field of the touchscreen from a greater distance such as a centimeter above the screen?  What I am thinking is that creating an electrostatic charge might perhaps help, for example similar to the way an ionizer works. Unfortunately I lack the electrical knowledge to understand the implications of 'the other half of the capacitor' which is needed to excite the touchscreen.  The goal is to create a 'hover stylus' similar to the wacom digitizer (which of course works differently based on electromagnetic resonance). The stylus does not need to be practical yet, just trying to understand whether any device would excite the touchscreen from a small distance, it could contain a battery, Tesla coil, anyone?

I know this is the general wisdom, and that someone has asked a similar question here:   However, I didn't quite understand the conclusion that by simply grounding e.g. A carrot or stylus, or connecting them to a conductive plate, this would be enough to allow them to activate the touchscreen. Is the idea that the ground or conductive plate pick up enough electricity in the environment that they can act as a substitute for a human?   As a related note, I held a stylus through many layers of folded up, thick woollen sweater, and it was still able to activate the touchscreen. Was my body's electrical signal definitely conducted through the sweater?   Apologies if my question sounds a bit ignorant. I am not an electrician, but I understand the basics of electrical circuitry and how capacitors work. The iPhone's capacitive touchscreen nevertheless seems like a bit of a black box to me.    Thank you all. Based on your responses and my reading of the Q&A referenced by @gbarry, my understanding of this is now almost complete. There remainas these issues that I am unclear on:   It seems that it is a very common misconception, then, that it is a body's electrical signal (current) that is necessary to activate the iPhone touchscren in particular. Rather, what is sensed by the electrodes of the touchscreen circuit is either insulation or capacitive coupling, but supposedly not conductivity. Since I always considered insulation and conductivity as belonging on the same scale, could someone perhaps clear this up for me, while illuminating whether or not this is what is meant here by "capacitive coupling"?  I have understood that large surface area is often an important determinant of capacitive coupling. Is this the only reason that it is suggested the contacting body be grounded, or is it necessary for another reason, e.g., To "complete the circuit" initiated by the iPhone?    I'll gladly award the bounty to whomever can answer these questions in a way that I can understand! Thank you again.


I'm generating images from a folder with this script:  $(document).ready(function() { $.ajax({     url: "gallery_images",     success: function(data){         $(data).find("a:contains(.jpg),a:contains(.gif),a:contains(.png)").each(function(){             // will loop through             var images = $(this).attr("href");              $('

').html('').appendTo('#galerija');         });     } });   });  The problem is that, then I'm trying to click the image, simple jQuery click event does not work.  $(".g_image img").click(function(){ alert("WORKING!");   });

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I want to create a bootable usb. I used create startup disk program (Ubuntu default program) and I have a Windows 10 iso file. But I am not able to select it. How can I fix it?

I'd like to create a Windows bootable USB stick, but I don't have a Windows machine with me at the moment to do so. How could I achieve the same using Ubuntu?


I need to specifically install Ubuntu 12.04 LTS Desktop on a Dell PowerEdge server. The main site allows you to download 14.04 LTS. So I followed this link to 12.04:    The problem is the download links are only available as i386 (which is the 32-bit version) or amd64 (which I assumed was for an AMD process, not an Intel). Should I still use amd64 download even if I am not using an AMD processor?

I was told that computers with more than 2 gig's memory need a 64 bit operating system to utilize all RAM.  Is the 64bit Ubuntu download really JUST for AMD processors? I am asking because the disk image I downloaded says AMD64.  So will my new Intel 2.3Ghz Core i3 Dual Core processor work with 64 bit Ubuntu?  It runs the 64bit version of Windows without any qualm.


So in order for two things $A$ and $B$ to move apart, for example, relative to each other, $B$ can be set into motion away from $A$. This means that we have to increase $B$'s velocity and therefore the acceleration has to be positive. If the acceleration has to be positive and $A$ and $B$ were stationary before, that means that $B$'s acceleration has to increase from zero and therefore the third derivative of motion with respect to time has to be positive. The third derivative has to increase from zero and etc. etc. Is this just another way to state Zeno's paradox (and thus a dumb question) or does motion really involve an increase of the magnitude of infinitely many derivatives of velocity?

Suppose you have an object with zero for the value of all the derivatives of position. In order to get the object moving you would need to increase the value of the velocity from zero to some finite value. A change is velocity is acceleration, so the value of the acceleration would have to increase from zero to some value. You would also need to increase the jerk from zero to some value to have a change in acceleration.  Is there an infinite series of higher derivatives of position for this to work? Or am I missing something?


I have started by proving that $\lim \sin x/x =1$ when $x$ tends to zero, using trigonometric arguments. Now I should use these arguments to prove it with two variables, but I have to relate the magnitude of the vector $(x,y)$ to the product of its coordinates.

How could we show that $$\lim_{(x, y) \rightarrow (0, 0)} \frac{\sin xy}{xy}=1$$   ??   Could you give me some hints ??    EDIT:   Could we show it as followed??   $$\lim_{(x,y) \rightarrow (0,0)} \frac{\sin xy}{xy}$$  $$ x \rightarrow 0, y \rightarrow 0$$ $$\xi=xy \rightarrow 0$$  $$\frac{\sin xy}{xy}=\frac{\sin \xi }{\xi}\overset{ \xi \rightarrow 0 }{\rightarrow } 1$$   Is this correct?? Could I improve something??


I'd like to make a diagram representing a sum of arrows.  I'm not really familiar with tikz, so I was wondering if this was something doable. The first idea I had is something like this:  \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \begin{tikzpicture}[] \draw[->,thick] (0,0) -- (0:1cm) node[inner sep=0pt, outer sep=0pt] (a) {}; \draw[->,thick] (a.50) -- (50:1cm) node[inner sep=0pt, outer sep=0pt] (c) {}; \draw[->,thick] (c.90) -- (90:1cm) node[inner sep=0pt, outer sep=0pt] (d) {}; \draw[->,thick] (d.130) -- (130:1cm) node[inner sep=0pt, outer sep=0pt] (e) {}; \draw[->,thick] (e.160) -- (160:1cm) node[inner sep=0pt, outer sep=0pt] (f) {}; \end{tikzpicture} \end{document}   I have two problems :  First, the arrows are not coming out with the (same) right length.  Second, I will eventually have to draw a large number of arrows with arbitrary angles. I was wondering if there was a way to write a loop that would automatically draw the arrows given a set of angles.

This afternoon I was looking for a way to draw phasors with tikz (you know the thing which is represented in the complex plane as r*exp(i \theta) or simply x + iy)  For me, the first representation would be much easier to deal with.  Should I use the polar system simply ? But then it comes tricky to make vector summations...


Assume $f(x)$ is continuous on $[0,1]$ , and $f(1)=0$. Prove $$\lim_{n\to \infty} n\int_0^1x^nf(x)\,\text dx=0 $$  I already know that $\lim_{n\to \infty}\int_0^1x^nf(x) \, \text dx=0$. Is this helpful in the question above?

Suppose $f:[0,1]\to \mathbb{R}$ is continuous. Show that   $$\lim_{n\to\infty} n\int_0^1 f(x)x^n\,dx = f(1).$$  My answer so far: First I want to assume that $f\in C^1$. Then   $$n\int_0^1f(x)x^n\,dx = \left[\frac{n}{n+1}x^{n+1}f(x)\right]_0^1 - \frac{n}{n+1}\int_0^1 x^{n+1}f'(x)\, dx\\ \frac{n}{n+1}f(1) - \frac{n}{n+1}\int_0^1 x^{n+1}f'(x)\, dx,$$  which goes to $f(1)$ because the last integral goes to zero.  But approximating $f$ by $\phi\in C^1$ won't necessarily work, because $\phi(1)$ may not equal $f(1)$... how can we finish the argument?


Example:  string = """i like to program i need attention 12345 67890 abcdefghijkl mnopqrstuvwxyz""" string = function(string) print(string)           ["i like to program" ,"i need attention", "12345 67890", "abcdefghijkl mnopqrstuvwxyz"]      Note, i know about the split() function, i just want to know if there is any function that splits only lines and not spaces.

I have a multi-line string literal that I want to do an operation on each line, like so:  inputString = """Line 1 Line 2 Line 3"""   I want to do something like the following:  for line in inputString:     doStuff()


How to configure Windows 8.1 with a specific manual DNS that is only valid for the current WiFi network?  The setting seems to associate with the WiFi card, not the network, resulting in a laptop that moves from site to site having the wrong manual DNS on every network except the original.  It appears the same would be true for manually assigning an IP address. I am accessing this from Control Panel:Network and Internet:Network and Sharing Center:(link next to my connection name):Properties:Internet Protocol Version 4 (TCP/IPv4)/Properties and here I see the manual DNS entry which is erroneously being preserved from the previously connected network.  I also tried Control Panel:Network and Internet:Network and Sharing Center:Set up a new connection or network:Manually connect to a wireless network, but after I entered the password info it didn't provide any options to configuring the TCP/IP settings but instead just said the connection was created. (Although, strange enough, it doesn't show up from the Control Panel:Network and Internet:Connect to a network link which just brings up a side panel containing discovered WiFi networks!)

I use my laptop (Windows Vista Ultimate) to connect to a wireless network in college, which assigns a dynamic IP address, and at home, with a static IP address and DNS server. I'm looking for a good solution/software to switch between college/home settings without changing them manually. I've found an open-source application called , but the official site says that its development has been discontinued.  Any other suggestions? Thanks.


I build mouse and keyboard recorder for my program. I write all user events and save in serializable object. Information about mouse and keyboard events I get from other program part with protected fields. That's why for getting values I use reflection like this: foreach (var item in events) {     // Get all protected fields by reflection for EventArgs.      var allProps = item.EventArgs.GetType().GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance).OrderBy(pi => pi.Name).ToList(); }  After this I saved all in serialized object like this. string MouseButton = Convert.ToString(allProps[0].GetValue(item.EventArgs));  But now I found out, that I should use mouse and keyboard simulator. It works fine, but works only with enum MouseButton and Key types. (something like this) public enum MouseButton {     Left = 0x2,     Right = 0x8,     Middle = 0x20 }  public static void MouseDown(MouseButtons button) {     switch (button)     {         case MouseButtons.Left:             MouseDown(MouseButton.Left);             break;         case MouseButtons.Middle:             MouseDown(MouseButton.Middle);             break;         case MouseButtons.Right:             MouseDown(MouseButton.Right);             break;     } }  How I can convert my string MouseButton type to enum MouseButton type for mouse simulator? P.S. i tried get right type for allProps, but it always return object type for me, not real events type.

What's the best way to convert a string to an enumeration value in C#? I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the corresponding enumeration value. In an ideal world, I could do something like this: StatusEnum MyStatus = StatusEnum.Parse("Active");  but that isn't a valid code.


Im stuck with this question because I'm probably misunderstanding it.  There is given that $$\mathbb{Z}^{n \times n} = \left\{A \in \mathbb{R}^{n \times n} \mid (A)_{ij} \in \mathbb{Z} \text{ for }i,j \in \left\{1,\cdots,n\right\}\right\}$$ I have to prove that for a matrice $A \in \mathbb{Z}^{n \times n}$ always: $$\det(A) = \pm1 \Longleftrightarrow A^{-1} \in \mathbb{Z}^{n \times n}$$ $A$ is invertible here.  I were thinking that if you take $A \in \mathbb{Z}^{n \times n}$ then $$A^{-1} = \frac{\operatorname{adj}(A)}{\det(A)}$$ Now if $\det(A)$ is different from $\{-1,1\}$ then you would get elements in $A^{-1}$ that are not in $\mathbb{Z}$. Or not because elements in $\operatorname{adj}(A)$ could be multiples of $\det(A)$.  The question is: how do I know that $$\operatorname{adj}(A)_{ij} \neq c \cdot \det(A)$$ for all elements in $\operatorname{adj}(A)$ where $c$ is an integer?

If all entries of an invertible matrix $A$ are rational, then all the entries of $A^{-1}$ are also rational. Now suppose that all entries of an invertible matrix $A$ are integers. Then it's not necessary that all the entries of $A^{-1}$ are integers. My question is:  What are all the invertible integer matrices such that their inverses are also integer matrices?


I have been trying to minimum value of $\frac{a}{b+c}+\frac{b}{a+c}+\frac{c}{a+b}$ for $a,b,c>0$ using Cauchy-schwarz and AM-GM-HM inequality, but I cannot seem to get a lower bound. I think the answer is $\frac{3}{2}$ when $a=b=c$, but using Cauchy-schwarz I got $\frac{a}{b+c}+\frac{b}{a+c}+\frac{c}{a+b}\geq\frac{(\sqrt{a}+\sqrt{b}+\sqrt{c})^2}{2(a+b+c)}=\frac{a+b+c+2(\sqrt{ab}+\sqrt{bc}+\sqrt{ac})}{2(a+b+c)}$ I could not establish a bound for the last part of this inequality; it seems to be $\leq\frac{3}{2}$. Is there a lower bound?

I am currently attempting to prove the following inequality   $\dfrac{a}{b+c}+\dfrac{b}{a+c}+\dfrac{c}{a+b} \geq \dfrac{3}{2}$ for all $ a,b,c>0$   My instinctive plan of attack is to use the AM/GM inequality with $x_1=\dfrac{a}{b+c}$ etc.  Using that I get this  $\dfrac{a}{b+c}+\dfrac{b}{a+c}+\dfrac{c}{a+b} \geq 3\times \sqrt[3]{\dfrac{abc}{(a+b)(b+c)(a+c)}}$   From here, I used the fact that $(a+b)(b+c)(a+c)\geq 8abc$, which can be easily proven by considering that $a+b\geq 2\sqrt{ab}$   But by using this, I get the following...  $\dfrac{a}{b+c}+\dfrac{b}{a+c}+\dfrac{c}{a+b} \geq 3\times \sqrt[3]{\dfrac{abc}{(a+b)(b+c)(a+c)}} \leq 3 \times \sqrt[3]{\dfrac{abc}{8abc}} = \dfrac{3}{2}$   Everything seems so perfect because I get the value $\dfrac{3}{2}$ as required, but this method isn't valid due to the change in direction! What is going on?  Is there a way of proving this inequality otherwise then?


What is the usual way of installing a different version of a program on Ubuntu?

Let's have a metapackage which depends on the following packages  Depends: A (=2),  B (=2),  C (=2)   Note the '=' - I want to install these particular versions, not the most recent ones.  Additionally:  B depends on A(>=1)  C depends on B(>=1) and A(>=1)  If the most recent versions of A,B,C in the repository are 2 then this works.  Since I have put version 3 of A and version 3 of B in the repo sudo apt-get install my-meta-package refuses to finish with the following info:  The following packages have unmet dependencies:   my-meta-package: Depends: B (= 2) but 3 is to be installed                    Depends: A (= 2) but 3 is to be installed   If I manually install versions 2 of A and B then the metapackage installs correctly, which strongly suggests that there is no hidden dependency on A3 or B3. This is not a solution for the problem as the metapackage is installed automatically on many machines.  QUESTION: What to do to make sudo apt-get install my-meta-package install versions 2,2,2?  Additionally, is there a way I could get an extended info what actually creates the need for version 3 of A and version 3 of B?


I'm trying to place the div's in the bottom of the parent div.    /*ELEMENT*/     .element{         border: 1px solid gray;         font-size: 8px;         text-align: center;         display: inline-block;         margin-bottom: 0;     } <link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>

018

017

016

015

014

013

012

011

010

009

008

007

006

005

004

003

001

     I've tried:  margin-bottom: 0; float: bottom;   I'd ike the staples to rise.. not drop :)

Given the following HTML:

     Copyright Foo web designs

    I would like #copyright to stick to the bottom of #container. Can I achieve this without using absolute positioning?


I am trying to remove whitespaces from string but it is not working  string status = "                                       18820 Pacific Coast Highway                                          Malibu, CA 90265";         string status1 = status.Trim();         Console.Write(status1);   The above code is not working  Expected Output:  18820 Pacific Coast Highway Malibu, CA 90265

How can I replace multiple spaces in a string with only one space in C#?  Example:  1 2 3  4    5   would be:  1 2 3 4 5


This query runs fine from SQL Developer : select * from MYTABLE where (field1, field2) IN (('A', '1'), ('B','2'), ('C','3')) ;  But when I try to call it from java I am getting exception.  public List<MYVO> callDB(List<String> sourceAndIdList) {         System.out.println(sourceAndIdList);         String query = "select * from MYTABLE where (field1, field2) IN (:source_monitorId_list)";         Map<String, List<String>> namedParameters = Collections.singletonMap("source_monitorId_list", sourceAndIdList);         return this.namedParameterJdbcTemplate.query(query , namedParameters, new RowMapper<MYVO>() {             @Override             public MYVO mapRow(ResultSet rs, int rowNum) throws SQLException {                 ....             }         });     }   One printing my list I am getting : [('A', '1'), ('B', '2'), ('C', '3')]  Exception:     SEVERE: Servlet.service() for servlet [selfservice] in context with   path [/mymonitoring] threw exception [Request processing failed;   nested exception is org.springframework.jdbc.BadSqlGrammarException:   PreparedStatementCallback; bad SQL grammar [select * from MYTABLE   where (field1, field2) IN (?, ?, ?)]; nested exception is   java.sql.SQLSyntaxErrorException: ORA-00920: invalid relational   operator ] with root cause java.sql.SQLSyntaxErrorException:   ORA-00920: invalid relational operator        EDIT: This is not a duplicate as I am looking for a solution with springs NamedParameterJdbcTemplate for a query having multiple IN clause and the size of parameters are known only at runtime.

What are the best workarounds for using a SQL IN clause with instances of java.sql.PreparedStatement, which is not supported for multiple values due to SQL injection attack security issues: One ? placeholder represents one value, rather than a list of values.  Consider the following SQL statement:  SELECT my_column FROM my_table where search_column IN (?)   Using preparedStatement.setString( 1, "'A', 'B', 'C'" ); is essentially a non-working attempt at a workaround of the reasons for using ? in the first place.    What workarounds are available?


I new to QGIS, and programming in general.  I'm trying to join a csv file with another file that is already in the project. However, the csv file has repeated values that should allocate to the same feature in the project, which doesn't happen. When I join the values only one of the repeated values appears; the others don't.  How do I solve this problem?

I'm trying to create a join/relate in QGIS where I have a shapefile of buildings and to that I would like to join a non-spatial table (.csv-file) containing people who work in each building. So I have multiple records in my table that I would like to be able to join to my single features in my shapefile. I can only run a join in QGIS where the first record is joined to the shapefile feature (ie building) but subsequent records get removed. Could someone let me know how to complete this join/relate in QGIS?


This question has been asked before under other guises. I am not a scientific profesional however i have some schooling in pyhsics and mathematics and have a keen interest in these subjects.  It seems plausible to me and was a thought i had my self many years ago whilst at college, that the universe could possibly be expanding from within itself. Ie matter and space were expanding at the same rate as each other.  I observe there is no relative distance increase between the objects i see on a day today basis and as such this type of expansion wouldn't change our perception of this relatively speaking. Everything we observe would remain the same and we would be unaware of the expansion..

I have looked at other questions on this site (e.g. "why does space expansion affect matter") but can't find the answer I am looking for.  So here is my question: One often hears talk of space expanding when we talk about the speed of galaxies relative to ours. Why, if space is expanding, does matter not also expand? If a circle is drawn on balloon (2d plane), and the balloon expands, then the circle also expands. If matter is an object with 3 spatial dimensions, then when those 3 dimensions expand, so should the object.  If that was the case, we wouldn't see the universe as expanding at all, because we would be expanding (spatially) with it.  I have a few potential answers for this, which raise their own problems:   Fundamental particles are 'point sized' objects. They cannot expand because they do not have spatial dimension to begin with. The problem with this is that while the particles would not expand, the space between them would, leading to a point where the 3 non-gravity forces would no longer hold matter together due to distance Fundamental particles are curled up in additional dimensions a la string theory. These dimensions are not expanding. Same problems as 1, with the added problem of being a bit unsatisfying. The answer seems to be (from Marek in the previous question) that the gravitational force is so much weaker than the other forces that large (macro) objects move apart, but small (micro) objects stay together. However, this simple explanation seems to imply that expansion of space is a 'force' that can be overcome by a greater one. That doesn't sound right to me.


Alright, so I made this really nice house in Terraria, I'll provide pictures to help. So the left side of the house says the housing is valid and the left side is symmetrical to the right side exactly. But the right side says the housing is invalid! I'm super confused of what might be happening...    I'm currently standing in the right side where it says invalid housing, but directly on the left side it's valid housing and someone is living in it too.

I read on the wiki that people will move in under the following conditions:   You do something to please them An empty house is available with a light source, table, and chair (also with walls).   I have a house which is about 7x8, then a roof space above that; about half the area. I could put furniture up there too, but will anyone move in?


The question reads: Determine the general form of $u_0$, $u_1$ and $u_2$ if a system of difference equations of the form $$x_{n+1} = Ax_n + Bu_n.$$  $A$ is a $3\times3$ matrix and $B$ is a $3\times2$ matrix.  We were given information that $x_0 = 0$ to $x_3 = [2, 1, 2]^T$.  What confuses me is I know how to solve controllability but the fact that matrix B was $3\times2$ and not $3\times1$ completely threw me off.  I have spent hours trying to look for examples and cannot find any.

Determine the general form of $u_0, u_1 ~\text{and} ~ u_2$ if a system of difference equations of the form  $$x_{n+1} = Ax_n  + Bu_n,$$  where:  $$A = \begin{pmatrix}   3 & 2 & 2  \\   -1 & 0 & -1 \\    0 & 0 & 1   \end{pmatrix}$$  and:  $$B = \begin{pmatrix}   0 & 0  \\   0 & 1 \\   1 & 0   \end{pmatrix}$$  is to be controlled for $x_0 = 0 ~ to ~ x_3 = [2, 1, 2]^T$ .  Show this target could have been achieved at  $x_2$   Solution So far I have caculated the controlability matrix to be $$ C =\begin{pmatrix} 0&0&2&2&6&6\\ 0&1&-1&0&-3&-2\\ 1&0&1&0&1&0 \end{pmatrix}. $$ Thus the system is controlable Now putting Cv=x3 i have the 3 equations $$ 2c+2d+6e+6f=2\\ b-c-3e-2f=1\\ c+e+f=2\\ $$ which i have then put into augmented matrix row echleon form which i have found to be $$ a-d-2e-3f=1\\ b+d+f=2\\ c+d+3e+3e=1\\ $$  How do I now solve with so many unknowns? also can you please check my working so far is correct. many thanks


Give an example where closure of $(\cup A_\alpha)\ne \cup closure (A_\alpha)$ provided $A_\alpha$ are subsets of a topological space.  If I consider $R$ to be a topological space with standard topology and $A_n=(n,n+1)$ where $n\in N$ then will the equality hold?

I'm teaching my self topology using a book I found. This is the second part of a 4 part question. First part is .  I'm trying to prove the following problem from a book I found:     Let $X$ be a topological space and let $\mathscr{A}$ be a collection of subset of $X$. Prove  $\overline{ \bigcup \limits_{A \in \mathscr{A}} A}\supseteq \bigcup \limits_{A \in \mathscr{A}} \overline{A}$   *where the over line indicates closure.  First I'm going to show an example the them being equal, and then show an example of a proper superset. I know the examples are not needed for the proof, but I find them insightful, and these posts are like a notebook that I can refer back to later. Then I will attempt to prove this.     (I) Example of $\overline{ \bigcup \limits_{A \in \mathscr{A}} A} = \bigcup \limits_{A \in \mathscr{A}} \overline{A}$   I find that with "most" collections of subsets, the two sides come up equal. Let $X$ be $\mathbb{R}$ with the standard Euclidean metric. Also let, $\mathscr{A}=\{(1,6),(3,10)\}$. So then $ \bigcup \limits_{A \in \mathscr{A}} A= (1,10)$, and  $\overline{ \bigcup \limits_{A \in \mathscr{A}} A} =[1,10]$. Next the right side would be: $\bigcup \limits_{A \in \mathscr{A}} \overline{A}= [1,6] \cup [3,10]=[1,10]$. So it is possible for the two sides to be equal.     (II) Example of $\overline{ \bigcup \limits_{A \in \mathscr{A}} A} \supset \bigcup \limits_{A \in \mathscr{A}} \overline{A}$   The only way I know of involves a collection of subsets that "expands" in a way that converges - ie  $\bigcup_{n=1}^{\infty} \overline {B_{\frac{R \cdot n}{n+1}}}(x)=B_{R}(x)$. Let $X$ be $\mathbb{R}$ with the standard Euclidean metric. Also let, $\mathscr{A}=(1,\frac{10n}{n+1}), n\in\mathbb N$. So then $ \bigcup \limits_{A \in \mathscr{A}} A= (1,10)$, and  $\overline{ \bigcup \limits_{A \in \mathscr{A}} A} =[1,10]$.   Next the right side would be: $\bigcup \limits_{A \in \mathscr{A}} \overline{A}= \lim \limits_{n \rightarrow \infty} [1, \frac{10n}{n+1}]= [1,10)$ . And $[1,10] \supset [1,10)$. So it is possible for Closure of Unions to contain Union of Closures.     Proof: $\overline{ \bigcup \limits_{A \in \mathscr{A}} A}\supseteq \bigcup \limits_{A \in \mathscr{A}} \overline{A}$   (II) illustrates that the infinite union of closed sets can make an open (or half open) set. So: * $\bigcup \limits_{A \in \mathscr{A}} \overline{A}$ can be (half)open.  * $\overline{ \bigcup \limits_{A \in \mathscr{A}} A}$ must be closed. Since we're dealing with the same collection of subsets, then the difference will be at the boundary points. And thus, the closed set will contain the (half)open set.  QED  The part of the proof i'm not sure about is at the end where I say, "the difference will be at the boundary points." In (II) that is the case, but will that always be the case when dealing with the most general topological spaces?


I do not know where to start from this. All I know is a & n are relatively prime so a has an inverse mod n and a belong to Zn. How can I make a connection from this fact to where it said $a^{|u(n)|}$ ? Any thought on this please? Prove: if gcd(a,n) = 1 then $a^{|u(n)|}$(mod n) = 1 (mod n) Prove: if $a^{|u(n)|}$(mod n) = 1 (mod n) then gcd(a,n) = 1 Recall: |u(n)| is the order of the group of units modulo n. This is an if and only if statement so I need to prove both ways. Please help me on how to get start on this?

If $\gcd(a,n) = 1$, then $a^{\phi(n)}\equiv 1\pmod n$. Here's a three-step proof.  An integer a is invertible means there's some $a^{-1}$ such that $aa^{-1}\equiv 1 \pmod n$. By cause of Jones p84 lemma 5.1 and the Linear Congruence Theorem, an integer $a$ is invertible modulo $n \iff ax \equiv 1 \pmod n \iff \gcd(a,n) \mid 1 \iff \gcd(a,n) = 1.$  Consider the Abelian group of all positive integers less than $n$ which are invertible modulo $n$. This is dubbed $U_n$ in Jones p85 or  at Proofwiki. $ \phi(n)$ simply counts the number of positive integers $a$ coprime to a. So by 1., there are $\phi(n)$ elements in $G$. Tthe order of $G$ is $\phi(n)$.  Lagrange's Theorem occasions . Thence there must be some $k$ such that $a^{k}=1$ where $k$ divides the order of the group $\langle (Z_n',{\times})\rangle$. This is just $\phi(n)$. Let's say $km=\phi(n)$ Then $a^{\phi(n)}=(a^k)^m=1^m=1$.    (1) Is the last paragraph errorless? The last sentence contains equalities, but  last steps are congruences modulo $m$. (2) What's the ground plan of the proof? It feels 'oracular' to me - how can you preconceive to consider this uncanny Abelian group, and then to use a corollary of Lagrange's Theorem?


Given a sequence $\{a_n\}$, with $n\geq1$, where   $$a_{1}=4,$$   and    $$a_{n+1}=\sqrt{a_{n} +20}.$$   Prove via induction that, for all $n \geq 1$,     $$a_{n+1}>a_{n}.$$    Apparent Convergence   The sequence appears to be increasing, and possibly bounded at 5. How may I show convergence, and find its limit.   Regarding Notations   Additionally are there any beginners guide on using appropriate notations?  Thank you for your assistance.

(Fitzpatrick Advanced Calculus 2e, Sec. 2.4 #12)  For $c \gt 0$, consider the quadratic equation $x^2 - x - c = 0, x > 0$.  Define the sequence $\{x_n\}$ recursively by fixing $|x_1| \lt c$ and then, if $n$ is an index for which $x_n$ has been defined, defining  $$x_{n+1} = \sqrt{c+x_n}$$  Prove that the sequence $\{x_n\}$ converges monotonically to the solution of the above equation.  Note: The answers below might assume $x_1 \gt 0$, but they still work, as we have $x_3 \gt 0$.    This is being repurposed in an effort to cut down on duplicates, see here: .  and here: .


public class ElectronicCounter {      public ElectronicCounter(User user)throws IOException{         Scanner scanner = new Scanner(System.in);         boolean done = false;         loginName = user.getName();          System.out.println("--------------------------------------------------------");         System.out.println("Welcome to the Electronic-Sales Counter! ");          while(!done){             try{                 System.out.print("Please enter '1' to record sales or '2' to exit:");                 input = scanner.nextLine();                 System.out.println("bug");                 if(input=="1"){                     System.out.println("Please enter a list of purchasing-product ID and number");                     done = true;                 }                 else if(input=="2"){                     System.out.println("<LOG> User " +loginName+ " has successfully logged off! ");                     done = true;                 }                 else{                     System.out.println("<LOG> Invalid command");                 }             }             catch (NoSuchElementException e){                 System.out.println("<LOG> No Such Element");             }             catch (IllegalStateException e){                 System.out.println("<LOG> IllegalState");             }         }         scanner.close();     }      static String loginName;     static String input; }   The scanner doesn't stop to search the token when scanner.nextLine() is computed. I would like to ask how can I stop the scanner to wait input??Thanks

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


In the render preview or when i render the scene this black boxes show up. they look different and change form from from every angle. All objects are imported  as images as planes.  some produce these black boxes, some do not. please help, thanks.

Using v2.73, cycles and a very simple scene: an array of cubes, no big deal.   If I set the shader's material to transparent, the cubes in the foreground do become transparent but those far away in the back do not disappear completely and this strange dark things appear (visible in rendered mode and in final renders)    I've played with the clipping distance on the viewport and camera, but I can't figure out how to make those ghosts go away...


I came across this statement in a book and I don't understand it. The sentence is: "The templates in <function> help you construct objects that define operator(). These objects are called function objects and can be used in place of function pointers in many places".  Please tell me what operator() is, and I would also like some help in understanding what "function object" mean in this context.

I keep hearing a lot about functors in C++. Can someone give me an overview as to what they are and in what cases they would be useful?


What should the verb "cast" agree with in the example below?  Should the verb "cast" be conjugated as "cast", agreeing with "terms" (terms that cast a positive light)     It is one of the few terms that cast a positive light on the subject.   or should "cast" agree with "one" .. (one (of the terms) that casts a positive light)     It is one of the few terms that casts a positive light on the subject.   Should it be the first, the second, or is either correct?

One of the things that makes him great is he brings it every night.   I'm pretty sure it should be that make him in the plural, because one of the things is referring to a lot of things and a lot of things should take a plural verb. But I always hear native speakers in America say it in the singular, so with an s.  Another example:     This is one of the responsibilities that comes with greatness and he understands that.   Native speakers always use the verb in the singular (here, comes) even though [I believe] it is grammatically incorrect to use the singular form of the verb there.


Currently we have a process where any query running over 2 mins (only select) in primary database participating in db mirroring is killed, running every 5 mins. As we have moved to Availability groups now secondary has become readable replica so users can run queries there coming with application_intent ='read only' However we still need the job to kill long running query over 2 mins on primary replica as new users onboard there are always chances of them hitting primary database. How can i change my current job on both primary and secondary replica so that it only kills long running query on P replica and not readable without me changing job configuration every-time. Thanks,

I'm looking for best practice in dealing with scheduled SQL Server Agent jobs in SQL Server 2012 availability groups. Maybe I missed something, however at the current state I feel that SQL Server Agent is not really integrated with this great SQL2012 feature.  How can I make a scheduled SQL agent job aware of a node switch?  For example I have a job running on the primary node which loads data each hour. Now if the primary goes down, how can I activate the job on the secondary which now becomes primary?   If I schedule the job always on the secondary it fails because then the secondary is read-only.


So I have ran into some trouble installing g++. When I try to use the "sudo apt install g++", command it asks me if I really want to install it, and when I say yes, it just leaves me this message: "Insert the „Ubuntu 20.04.2 LTS Focal Fossa - Release amd64 (20210204)” called CD to the /cdrom/ drive and press enter" (Or something like that, I tried to translate it from Hungarian) I give you an image of my problem, however my Ubuntu is in Hungarian, so i don't think that it would be useful. Here it is:  I have already tried to get the .iso file and just mount it to my cd drive, but it didn't solve the problem. Should I just reinstall Ubuntu or what should I do?

I can't update 12.04 LTS. The Update Manager shows this:  CD/DVD 'Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)' is required Please insert the above CD/DVD into the drive '/media/cdrom/' to install software packages from it.   The image I downloaded and burned to CD is from  the PC (Intel x86) desktop CD version. I burned many CDs but the result is the same.


On my system I am getting errors(?) like this:  bash: warning: setlocale: LC_CTYPE: cannot change locale (en_DE.UTF-8)   or    weemonger@awesomeLinuxSystem:~$ dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:         LANGUAGE = "en:de:en",         LC_ALL = (unset),         LC_PAPER = "en_DE.UTF-8",         LC_ADDRESS = "en_DE.UTF-8",         LC_MONETARY = "en_DE.UTF-8",         LC_NUMERIC = "en_DE.UTF-8",         LC_TELEPHONE = "en_DE.UTF-8",         LC_IDENTIFICATION = "en_DE.UTF-8",         LC_MEASUREMENT = "en_DE.UTF-8",         LC_TIME = "en_DE.UTF-8",         LC_NAME = "en_DE.UTF-8",         LANG = "en_DE.UTF-8"     are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").   How do I fix my system an get rid of the locale warnings/errors?  I have to say, that I living in Germany and use the english (en) language for my system, but also I have configured my system to use the german (DE) formats/norms for Numbers, Money, Measurements, Page size, etc. I did this using the KDE Control Module Country/Region & Language.    I think I got rid of the warnings by myself, so I will post an answer myself, but wait some time before I accept it, as I didn't fully grok/understand it.

How do I set up a global locale for the computer?  I have recently installed Kubuntu 14.04LTS in english but since I am in Spain, I chose Spain as a country and then changed locale options so that I get all country specific configuration such as digit grouping, decimal separator, date format, etc. I also added the spanish language.  Now all applications complain that locale is wrong. check-language-support tells me I'm using en_ES.UTF-8 as system's locale, and that locale is indeed wrong, there is no locale for english language in Spain.  I tried using Kubuntu's country/region & language settings but it doesn't fix it. I tried using export LANG=en_GB.UTF-8 and export LC_ALL=en_GB.UTF-8 and then sudo dpkg-reconfigure locales and that caused check-language-support to say that I now have a correct configuration but if it is, it's only in that konsole session. This problem also prevents konsole from showing unicode characters and I cannot use dead keys or enter any 'international character' such as ñ or ç (those work on other applications such as Firefox, that I'm using to post this question).  So the question is: How do I set up a global locale for the computer?  This is not a bug report, I will probably reinstall my computer eventually if I can't fix it. But I really want to know how I can perform this REALLY basic task.  Thank you.  $ check-language-support perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:         LANGUAGE = "en:es:en",         LC_ALL = (unset),         LC_PAPER = "en_ES.UTF-8",         LC_ADDRESS = "en_ES.UTF-8",         LC_MONETARY = "en_ES.UTF-8",         LC_NUMERIC = "en_ES.UTF-8",         LC_TELEPHONE = "en_ES.UTF-8",         LC_IDENTIFICATION = "en_ES.UTF-8",         LC_MEASUREMENT = "en_ES.UTF-8",         LC_TIME = "en_ES.UTF-8",         LC_NAME = "en_ES.UTF-8",         LANG = "en_ES.UTF-8"     are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_COLLATE to default locale: No such file or directory hunspell-en-ca libreoffice-help-en-gb libreoffice-l10n-en-gb libreoffice-l10n-en-za mythes-en-au wspanish  $ cat /etc/default/locale LANG="en_US.UTF-8" LC_NUMERIC="es_ES.UTF-8" LC_TIME="es_ES.UTF-8" LC_MONETARY="es_ES.UTF-8" LC_PAPER="es_ES.UTF-8" LC_NAME="es_ES.UTF-8" LC_ADDRESS="es_ES.UTF-8" LC_TELEPHONE="es_ES.UTF-8" LC_MEASUREMENT="es_ES.UTF-8" LC_IDENTIFICATION="es_ES.UTF-8"   $ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_ES.UTF-8 LANGUAGE=en:es:en LC_CTYPE="en_ES.UTF-8" LC_NUMERIC=en_ES.UTF-8 LC_TIME=en_ES.UTF-8 LC_COLLATE="en_ES.UTF-8" LC_MONETARY=en_ES.UTF-8 LC_MESSAGES="en_ES.UTF-8" LC_PAPER=en_ES.UTF-8 LC_NAME=en_ES.UTF-8 LC_ADDRESS=en_ES.UTF-8 LC_TELEPHONE=en_ES.UTF-8 LC_MEASUREMENT=en_ES.UTF-8 LC_IDENTIFICATION=en_ES.UTF-8 LC_ALL= $ update-locale perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:         LANGUAGE = "en:es:en",         LC_ALL = (unset),         LC_PAPER = "en_ES.UTF-8",         LC_ADDRESS = "en_ES.UTF-8",         LC_MONETARY = "en_ES.UTF-8",         LC_NUMERIC = "en_ES.UTF-8",         LC_TELEPHONE = "en_ES.UTF-8",         LC_IDENTIFICATION = "en_ES.UTF-8",         LC_MEASUREMENT = "en_ES.UTF-8",         LC_TIME = "en_ES.UTF-8",         LC_NAME = "en_ES.UTF-8",         LANG = "en_ES.UTF-8"     are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").


I don't know why we need the concept of Filters and Ultrafilters.  they just seem nothing, and I don't know where to use them  can you tell me where do we use those concepts.

I'm looking for some interesting applications of ultrafilters and also everything of interest involving ultrafilters. Do you know some applications or interesting things involving ultrafilters?  I'm at the beginning, so I'd prefer some applications that also a beginner could read.


Solve $2tx'(t)-x(t)=\ln \left[x'(t)\right]$   That would be an easy Clairaut's equation if $tx'(t)$ wasn't multiplied by $2$. But unfortunately it is, and I have no idea what to do here.

$2tx'-x=lnx'$  I differentiated both sides with respect to x:  $x'+2tx''=\frac {x''}{x'}$  Substituting $p=x'$,  $p+2tp'=\frac{p'}{p}$  But I have no clue what can I do from here on.  EDIT: $t$ is the non-dependent variable.


Edit: This question is specifically not related to code. I'm aware   of the precedent on fixing code mistakes. As there did not seem to be   any established precedent for issues not related to coding, I asked   the question. I don't believe this to be a duplicate, given the   specific nature of the question. However, I suppose moderation is a   (rather lazy) method of answering the question.   In a question, the asker presented information worded such to establish their existing knowledge on a matter in which formed the foundation of their question. However, their knowledge was not exhaustive on the topic. This inexhaustive knowledge seemed to have led to an incorrect conclusion which prompted the question (their actual intent still seems rather ambiguous).  A user then edited the question, changing this to include a more prominent item. However, had the OP been aware of this item they would likely not have come to the incorrect conclusion and would thus seem to invalidate the question.  I rolled back the question, as I believed information that contradicts the question in such a way to resolve it is functionally an answer to the question, and that editing such information into the question itself can not be done without either changing the intent of the question or invalidating it all together. However, a far more experienced user in our beta stated that the question needed (their emphasis) to be edited, as it contained factually inaccurate information.  Was I wrong to rollback this edit?

I have noticed a significant number of suggested edits that attempt to fix code, or change the original meaning of someone else's post.    Is this really a good idea?    I've been on StackOverflow awhile, and among the editors who have sufficient reputation to edit without approval, I've never seen anyone modify the technical content or meaning of someone else's post.   I would consider obvious syntax and spelling errors OK to change, but I have seen many suggested edits that change the meaning of the code that was posted, or add things to the code that have nothing to do with the original question. A good example of this would be adding parameters to a SQL command, when the question was not asking about SQL injection.


I need to fill a box up with objects. See picture. I'm totally new to Blender and haven't found any answer to this question online. Its mostly how to fill (cover with a face) or animations with rigid body, so if someone could point me in a direction it would be great! Thanks in advance.

I am trying to create a natural arrangement of rubber thimbles in a jar.  What is the easiest method of doing this?   I've tried various settings with the jar being passive and using the various collision types like box, cylinder and mesh but none seem to work.   I tried dropping the thimbles into the jar but they either stop early and spill over or go through the jar! Is it better to use some sort of particle distribution? Thanks.


I can't figure out how to make a page horizontal.

I have a really large table and I need to add it to a portrait document. Is there any way to make a single page landscape in Google Docs?   In Word you could add a "Section break" and do that. But I'm working on a document with my friend and I can't just use Word.


I thought I could use the arcpy.env.overwriteOutput = True to overwrite the existing datasets within my target SDE "JeffCoGIS.sde"; however, I get an error that states:   ExecuteError: ERROR 000260: Failed to copy Database Connections\GISData.sde\GISData.DBO.GIS_Dept into Database Connections\JeffCoGIS.sde\GISData.DBO.GIS_Dept ERROR 000260: Item with the same path name already exists. Failed to execute (Copy).  I am new to python and couldn't find any help in ESRI Resources on how to overwrite the datasets.  Some have mentioned to use replication; however, for our particular workflow, we need to pursue overwrite and copy, if I can get it to work.    Is there a different tool I should use?  If I run this script on the empty SDE, it works fine - just when trying to overwrite the existing datasets.  #Name:  Copy_JeffCoGIS_Rev2.py #Copy all datasets including the feature classes within each dataset from #    SDE database "GISData.sde" to SDE database "JeffCoGIS.sde" import arcpy arcpy.env.overwriteOutput = True arcpy.env.workspace = "Database Connections\\GISData.sde"  fcList = arcpy.ListDatasets() #print fcList  for dataset in fcList:     arcpy.Copy_management(dataset, "Database Connections\\JeffCoGIS.sde\\"+      dataset)

I am doing a basic copy from sde database to file geodatabase. I have a loop going through each feature dataset in the sde database, this loop is really basic it just uses arcpy.Copy_Management to copy everything over. I have arcpy.env.overwriteOutput = True at the beginning of the script after importing in arcpy. It does not throw me that error for any other feature dataset, even though they are also overwriting a FeatureDataset with the same name.   the error it throws is  :      ERROR 000605: Output Sidewalk already exists within   C:\Users\stack\Desktop\Testing\scripts\Dump.gdb\Sidewalk. Failed to   execute (Copy).   I even added arcpy.env.overwriteOutput = True to the beginning to of the function. I also put a line in the exception the prints out the status of env.overwriteOutput and it is true at that time when it breaks.  This does not make any sense to me. Has anyone else had this problem?


Someone can explain to me how works the conversion of dates from azure database hosted in GMT 00:00 to client local GMT?  exists some way to convert the date automatically with C#?  have some related with CultureInfo?

We are developing a C# application for a web-service client. This will run on Windows XP PC's.  One of the fields returned by the web service is a DateTime field. The server returns a field in GMT format i.e. with a "Z" at the end.  However, we found that .NET seems to do some kind of implicit conversion and the time was always 12 hours out.  The following code sample resolves this to some extent in that the 12 hour difference has gone but it makes no allowance for NZ daylight saving.  CultureInfo ci = new CultureInfo("en-NZ"); string date = "Web service date".ToString("R", ci); DateTime convertedDate = DateTime.Parse(date);               As per :     UTC/GMT Offset       Standard time zone: UTC/GMT +12 hours   Daylight saving time: +1 hour   Current time zone offset: UTC/GMT +13 hours     How do we adjust for the extra hour? Can this be done programmatically or is this some kind of setting on the PC's?


If I am a programmer and I am creating web applications for medical purposes, can I ask a question on Stack Overflow for developers help and share it on health stack site as well to receive medical advice on how some things works to understand it while programming?   Or are two posts needed on both sites to get the needed help according to each part?

It is possible to migrate a question from one Stack Exchange site to another by closing, but if I have a question that I think is on-topic for multiple Stack Exchange sites, is it OK to post it on both (multipost)?   For example, I have a question that's earned me the tumbleweed badge on SO and I'm not sure what the best thing to do with it is. It's about a web server so it might be answerable on Server Fault but it's really more of a programming thing, hence the posting the question on Stack Overflow.    Is there any way to make the question visible on multiple sites (crosspost) and then accept the answer wherever it came from?


Im investigating moving some large DBs from MySQL to Cassandra and Im trying to figure out how to plan the cluster. Historically, one would just buy disks to contain the relevant data but Im not clear on how Cassandra uses disk space vs RAM space.   In planning a cluster, the question of how many machines, how much disk, RAM etc per machine will come up. How do I answer this for 1Tb? 10Tb? More?

This is a  about capacity planning for databases. Related:      I'm looking to create a canonical question of tools and methods of capacity planning for databases. This is intended to be a canonical question. Obviously, the general workflow is:  Put your scenario in place Add monitoring Add traffic Evaluate results Remediate based on results Rinse, repeat until reasonably happy  Please feel free to describe different tools and techniques for different web-servers, frameworks, etc., as well as best-practices.


Consider electron in an infinite potential well, studied in quantum mechanics. Position probability density of the electron is   $$ P_n(x)=\left(\frac{2}{L}\right)\sin^2\left(\frac{n\pi x}{L}\right)$$  where $0\leq x\leq L $ and $L$ is length of the box.  So for $n>1$, probability density & hence probability of finding location of the electron at certain $x$ is $0$. The electron moves from left to right & right to left between the walls of the well. So Mathematics says that electron can not be found at certain $x$ node locations within the box; which is very strange. But is there any experimental evidence for this? While crossing these special $x$ node locations, as if electron disappears from the box. This is very absurd.  My question is: Is this a just mathematical result (without any reality) or a physical reality/actuality?

I have recently read that an orbital node in an atom is a region where there is a 0 chance of finding an electron.  However, I have also read that there is an above 0 chance of finding an electron practically anywhere in space, and such is that orbitals merely represent areas where there is a 95% chance of finding an electron for example.  I would just like to know if there truly is a 0 probability that an electron will be within a region defined by the node.  Many thanks.


Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 9Feb2015]   ============================= Boot Info Summary: ===============================   => No boot loader is installed in the MBR of /dev/sda.  => No known boot loader is installed in the MBR of /dev/sdb.  sda1: __________________________________________________________________________      File system:       vfat     Boot sector type:  FAT32     Boot sector info:  No errors found in the Boot Parameter Block.     Operating System:       Boot files:        /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi                         /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi  sda2: __________________________________________________________________________      File system:       ext4     Boot sector type:  -     Boot sector info:      Operating System:  Ubuntu 14.04 LTS      Boot files:        /boot/grub/grub.cfg /etc/fstab  sda3: __________________________________________________________________________      File system:       swap     Boot sector type:  -     Boot sector info:   sdb1: __________________________________________________________________________      File system:       iso9660     Boot sector type:  Unknown     Boot sector info:      Mounting failed:   mount: /dev/sdb1 already mounted or /mnt/BootInfo/sdb1 busy  sdb2: __________________________________________________________________________      File system:       vfat     Boot sector type:  FAT16     Boot sector info:  According to the info in the boot sector, sdb2 starts                         at sector 0. But according to the info from fdisk,                         sdb2 starts at sector 1954316. According to the info                         in the boot sector, sdb2 has 0 sectors.     Mounting failed:   mount: /dev/sdb1 already mounted or /mnt/BootInfo/sdb1 busy mount: /dev/sdb2 already mounted or /mnt/BootInfo/sdb2 busy

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


I got an interview and the question is how to get the length of repeating decimal?  For example  1/3=0.3333..., it returns 1, 5/7=0.7142857142857143, it returns 6, since 714285 is the repeating decimal. 1/15=0.066666666666666, it returns 1. 17/150=0.11333333333333333, it returns 1. since 3 is the repeating decimal.   And I have tried to write Python code  def solution(a, b):     n = a % b     if n == 0:         return 0      mem = []     n *= 10      while True:         n = n % b         if n == 0:             return 0         if n in mem:             i = mem.index(n)             return len(mem[i:])         else:             mem.append(n)         n *= 10   However, my code can't pass all tests. And it's time complexity is O(n*logn). How can I improve its time complexity to O(n)?

$13/92=0.14\overline{1304347826086956521739}$  In this example, the length of nonrepeating part is $2$. The length of repeating part (repeating period) is $22$.  I collected some properties related to repeating decimals.   The repeating period must be less than divisor.-- It doesn't give me the exact period.   If divisor d is a multiple of $2^m 5^n$, the length of non-repeating part of $1\div d$ is $\max(m,n)$. -- It only applies to $1\div d$. If $1 \leqslant  b < a$, and $a$ is not a multiple of $2$ or $5$, and $a$ and $b$ are  relatively prime, then the repeating period of $b\div a$ equals $\operatorname{min}\left \{ e\in \mathbb{N}:10^e\equiv 1 \pmod{a}  \right \}$. -- It has many conditions.   Without calculating the decimal, can we determine the length of the two parts of any dividend and divisor?


I'm really new to Photoshop, but I use Indesign and Illustrator regularly.  I have a picture of a product (books basically) that have a white background and I need that background to be transparent. I used the quick selection tool to select all the white space, then selected the inverse, cut and paste into a new file with a transparent background. When I do this the image ends up looking different-- kinda grainy, ragged edges. What is the best way to change the background to transparent without losing the image quality?   Here are links to the photos  Original:       After trying to remove background:

In Photoshop I've taken Magic Wand as far as I can, I think. Now I'm left with this grayish edge around the coffee saucer. How do I remove it? I've tried altering tolerance in Magic Wand but don't seem able to get it. Any suggestions please?


My purpose is to make a central line from a polygon. For this I use the skeleton algorithm from a polygon, but I did not manage to get a line.  I draw the polygon.    I launch the program.    It doesn't work!

I made two river bank lines and I want to associate them.    I want to make a centerline using two rows as a base. I managed to make the centre line with a lot of work creating several lines from one margin to the other of the river and then using the centroid, but this solution is very tiring and I have to do this in several areas.


Let $f:\mathbb R^2\to\mathbb R$ be a function satisfying the following:  For each $y_0\in\mathbb R$, the function $x\mapsto f(x,y_0)$ is continuous. For each $x_0\in\mathbb R$, the function $y\mapsto f(x_0,y)$ is continuous. If $K$ is a compact subset of $\mathbb R^2$ then $f(K)$ is compact in $\mathbb R$.  Show that $f$ is continuous.  My Attempt: We will try to use the sequential criterion of continuity. Let $\{(x_n,y_n)\}$ be sequence converging to a point $(x_0,y_0)$ in $\mathbb R^2$. We will show that $f(x_n,y_n)$ converges to $f(x_0,y_0)$. Clearly $\{(x_n,y_n)\}_n\cup\{(x_0,y_0)\}$ is a compact subset of $\mathbb R^2$. So its image is compact in $\mathbb R$. The image set thus has a convergent subsequence. I am not sure how to proceed after this. Any help would be appreciated. Thank you.

The following is a problem from Berkeley's Grad Prelims:  Let  $f:\mathbb R^2 \to \mathbb R$ satisfy   (i) Given any $x_0,y_0 \in \mathbb R$, $y \mapsto f(x_0,y)$ and $x \mapsto f(x,y_0)$ are continuous.  (ii) For each compact $K$, $f(K)$ is compact.    Prove $f$ is continuous.  Attempt:  Let $(x_n,y_n) \to (x,y)$. We wish to show $f((x_n,y_n)) \to f((x,y))$.  Sequential compactness gives us a subsequence $$f((x_{n_k},y_{n_k})) \to f((\tilde x, \tilde y)) \in f(K).$$  I'm un sure how to proceed to show (i) $f((\tilde x, \tilde y)) = f((x,y))$, and (ii) how the existence of such a subsequence and the slice continuity give convergence of the entire sequence.   Originally I had hoped that the slice continuity would make $\{f((x_n,y_n))\}$ cauchy, but that doesn't seem to be the case.    I'm looking for a small hint as to how to proceed. Please, no answers.


I am trying to achive the result like in the picture:  The clouds should through some shadows on other clouds and they should have some depth (like in the picture) I have tried to make the flat 2D cloud texture somehow volumetric but I don't get the result I like. I have tried the volume principled shader with some transparent shader but I don't succeeded. I have tried like in this post:  ... But I dont understand how he has managed to get the cloud texture in the 5th picture from above. That's what I achived so far:   here is my blend file:  I really hope that someone could help me...

I created a planet in blender a while ago, and now i'm interested in adding volumetric clouds instead of using a 2D texture. I considered adding a bump node to my material, but then it would remove the realism in the image.  This is what I've created:    This is the effect I want to create:      Any thoughts?


I'm trying to create a form in SharePoint Designer 2013, I want to be able to hide a specific field in the form unless the answer to another field has been changed to a specific option. Here is my code:
              External Sales?:     	              <SharePoint:FormField runat="server" id="ff438747{$Pos}" ControlMode="New" FieldName="External_x0020_Sales_x003f_" __designer:bind="{ddwrt:DataBind('i',concat('ff438747',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@External_x0020_Sales_x003f_')}" />         <SharePoint:FieldDescription runat="server" id="ff219374description219373{$Pos}" FieldName="External_x0020_Sales_x003f_" ControlMode="Edit" />
 <xsl:if test="@External_x0020_Sales_x003f_ = 'Yes'">
              PPE:     	              <SharePoint:FormField runat="server" id="ff438748{$Pos}" ControlMode="New" FieldName="PPE" __designer:bind="{ddwrt:DataBind('i',concat('ff438748',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PPE')}" />         <SharePoint:FieldDescription runat="server" id="ff219375description219373{$Pos}" FieldName="PPE" ControlMode="Edit" />
 </xsl:if>   As you can see, I want to be able to make it so when "External Sales?" = Yes, then it shows the field "PPE".  Any help on this matter would be greatly appreciated.

I need to hide field 'B' when the value in field 'A' is NOT equal to 'Other'.  This is a custom list form.  Is jquery the way to go?


I started playing pokemon on my old S5 but now have a shiny new S7, however I don't seem able to transfer the pokemon I have caught to the new phone. I can transfer the app but have to create a new account and begin again. I couldn't register as a trainer initially so had to sign up using Google account.  Any help appreciated.

I was having trouble playing the game on my android so I downloaded it to my wife's phone (Galaxy S6). I read some posts on how to get it running on my android and it worked but, my level 7 account is on my wife's phone.  How do I get it back to my android? When I sign out and back in it doesn't ask for any sign in info. I've tried deleting the app's data and even uninstalling and re-installing, but it still doesn't ask for sign-in info.


I'm using Ubuntu 16.04 Server.   I want to use a Bash script for iptables at startup, but I dont wanna use crontab or init.d. Is there any possible way to achieve this without them?  #!/bin/bash IPT="/sbin/iptables" $IPT --flush $IPT --delete-chain $IPT -P INPUT DROP $IPT -P FORWARD DROP $IPT -P OUTPUT ACCEPT $IPT -A INPUT -i lo -j ACCEPT $IPT -A OUTPUT -o lo -j ACCEPT $IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT*

Been looking where does netfilter-persistent store its rules but could not find any documentation about it on help.ubuntu.com.  Does anybody know where does netfilter-persistent in Ubuntu save its rules so it survives a reboot?


I am soon going to make my first wedding shot. I am scared as I dont know what is important and what to look for. What are the keypoints at wedding photography? What should I be aware of?  What gear do I need?

I am going to shoot a wedding this weekend, and I want to do my best for my friend's big day.    What can I do to prepare for the day in order to minimize failures and mistakes? How do I avoid missing important shots? What backup plan should I have?   I have been shooting for 6 years or so, and I know wedding is one of the hardest thing to do. I have told my friend what I end up producing will be of no match with the work of dedicated wedding photographers, not even the ones that are about to fall out of business.  They are on a tight budget, they said some photos are still better than none, they really must minimize the cost as much as they can. I exaggerated again that my photos will be worse off than the cheapest wedding photographer you can find.  She has been a close friends for years, I want to do everything I can to help her.  Their wedding is at 12:30pm coming Sunday, I have visited the venue last Sunday at 12:30pm to check traffic condition and also the lighting.  The setup is mainly outdoor (no church), the indoor area will not have a good ceiling for bounce. Being at the middle of the day, this can mean some tricky fill flash. I have jot down a list of must-have shots. I am also asking for the seating plan and the event run-down.  Gear:   Canon EOS 60D , EF-S 15-85mm f/3.5-5.6 IS USM Canon EOS 450D (or I can borrow a 550D), EF 50mm f/1.4 Speedlite 580 EXII Speedlite 270 EXII Yongnuo 460 (a cheap but powerful manual flash as backup) Samsung EX-1 f/1.8 point and shoot (backup of a backup...?)   Other lenses that I have but I don't think will be useful:   50mm f/1.8 EF-S 50-250mm f/4.0-5.6 IS II EF-S 18-135mm f/3.5-5.6 IS (I have the better 15-85 on 60D, should I put this on the 450D as a backup allrounder?) EF-S 60mm f/2.8 Macro (should I replace 50mm f/1.4 with this for added macro? You can hardly use f/1.4 under direct sunlight if you want to have fill-flash)   I have two batteries for all cameras (60D 450D and EX1). I have like in total 64GB SD card (I am really inclined to get more, or bring a laptop for on-the-fly backup, or do both). I recently repaired my 580EXII, it has a brand new flash head so the recycle time is as good as it can be, I just need a tonne of batteries. No I don't have external power pack or battery grip for my cameras.  I have a great monopod, but a cheap tripod.  I am happy to bring everything, just putting them in the boot of my car. The carpark is on-site, walking from venue to my car is under 1 minute.  I will have my girlfriend carry the 450D and shoot details / non-portraits.  One concern that I have is fill flash, I really do not have a large surface to bounce off  from. I have shot events before but they are not as dynamic/critical as a wedding.  How do I prepare for differing weather conditions?  If its sunny, fill flash is probably going to be in every single shot. If its cloudy, I probably will turn off the flash. If it rains, my 60D should be fine I have used it in slight rain before, but I really don't know their plan and if they have extendable shelters etc.  What else should I prepare for? Having no experience I want to be as prepared as I can be. Maybe I have overlooked something, maybe there is something else I can do to ensure the shooting will go smoothly. Your help is greatly appreciated!


I have two SoCs that are mounted on a the same carrier board using SODIMM connector. The two SoC are mounted very close to each other, the entire carrier board is smaller than 15x15 cm I need to connect the two computers to each other using cross over Ethernet so they can talk back and forth. Given that I am not using any RJ45 or any sort of cables and the Ethernet pins of SoC-A is being directly connected to the Ethernet Pins of SoC-B using traces on the PCB, do I need to use any magnetics? Can I just directly connect the SODIMM pins to each other ? Distance between the two SODIMM pins are about 1 or 2 cm

In a (tentative) new design I want to connect two 100 Mbit/s Ethernet PHY similar to , separated by few inches on the same PCB, with same ground plane (but different power supplies). I have the choice of one of my PHY, but the other is embedded in an as-yet-unspecified PCIe to Ethernet IC (perhaps Gigabit but used in 100 Mbit/s mode), and it is critical that this PHY thinks there is a bona fide 100 Mbit/s Ethernet connection.  I could use the following         – Schematic created using   but I would like to achieve the same without the magnetics, in order to save on cost, purchasing headaches, and if at all possible power consumption.  I can imagine an RC network, perhaps as simple as in this , found thanks to a ; or maybe engineered with attenuation and lowpass, but that will not emulate the fact that with real magnetics, when there is a negative pulse on TX1P, there is a positive pulse on TX1M and RX2M. I am uncertain about if that would prevent some PHYs from working normally.  Anything to suggest that one is confident will work for practically any PHY around?


On the user profile of the Android app, the profile page has a field for Top Tags which is visually similar to the Tags field on the user profiles of the website. But, surprisingly, thats as far as the similarity goes.  The Tags field on a user profile on the website shows the total score of non-CW answers within a tag.  The Top Tags field (on the app) on the other hand shows the total score of all questions and answers within a tag.   I think that the two fields should be consistent across the site and app, in both naming and data shown. Or, if the intention was to show different data across the two fields, then the name of the app profile Top Tags field should be change to Tag Participation or something that clearly distinguishes it from the website profile Tags field.

I checked yesterday and today the new homepage in the Android app. Very surprised I saw that I would almost reach a silver tag badge, that confused be because I always take a look on possible badges I can get. However I compared the score with the website and I got a total different results. See this two screenshots:


I'm having a hard time wrapping my head around this. In the passive voice, we could see sentences like these:     "The car is heated."      "His spirits are lifted."      "The books are packed." vs "The concert hall is packed."     "The wall is painted."  When such sentences are not in the past, I can't figure out how to identify if the final word is an adjective, a past participle or a verb.   In sentences using the perfect tenses, I understand that we use the past participle, but is this acting as an adjective or as a verb? Eg:      "He had been broken by the news."     "They've been bored since Friday." (This I'm pretty sure is the adjective, but I'm putting it in here for completeness)  I've read in some places that we should just call it a past participle and leave it at that, but this is more confusing to me. How can it be a past participle and not act as either an adjective or a verb? Surely it must be a participle acting as a verb or an adjective?  And in a sentence like: "The speaker wants to be transferred," am I right that this final word is an adjective because it is following "to be"?  I suppose this post is just illustrating my numerous questions about this. As you can see, I have many. If there are any resources out there that someone could refer me to, or if someone could offer a detailed explanation about this usage, I would be most grateful.   MA  *** EDIT: I'm supposed to edit this to explain why my post is not a duplicate of two other posts. I read those two other posts and found confusion in the comments  such that the question remains justifiably open for me, and I would suspect a lot of others out there. Specifically, I'm asking:  • Where can one find the rule book on this?• How does the Passive Voice change our assessment of whether it's a verb or an adjective?• How do the Prefect tenses change the way we assess whether it's a verb or an adjective?? Also, isn't is just a little weird that something so complex as participles would be corralled into just one answer on a system like this? Nobody seems to be able to give a straight answer on this, yet I'm supposed to consider retracting my question because it's like another question already asked (but not identical). I don't think that's productive and wonder why it doesn't thrust a dagger into the heart of what StackExchange is trying to do here. This isn't a question about python coding - it's a question of style, which can't be answered simply, judging by the responses to similar posts. You know when you intentionally use a double negative like "Well, it's not not desirable," and some twit shouts "Double negative!" like they caught you peeing in the pool? That's how it feels to have my question linked with those other posts. They're not the same. People are shouting "Same-zies!" before they really take a look at the differences between the questions. What a horrible place this would be if one unanswered question retracted the capacity for a more detailed question to be asked. The other posts don't provide the answer to my questions. At best they give me a little clue towards finding the right approach, but at worst they prove to me that this question confuses everyone and therefore should be asked again in order to resolve it.

Consider the following sentence.     The blue page is stapled to the red page.   Although "stapled" is (apparently) past-tense, nonetheless the above sentence is clearly expressing something about the present. What gives? In particular, would it be wrong to label "stapled" as past-tense in that sentence?  (note: Er, actually the OP's question involves the difference between a passive construction and a construction with a predicative adjective -- F.E.)


Even after some time working in this GIS field, I still don't have a solid understanding of spatial references, how they are projected, and most importantly, if you still need to worry about the fact that coordinates are geographic once they have been projected. In which cases should one pay attention when handling coordinates in a projected coordinate system?  For example, assume I am working in a projected coordinate system. I have a polygon whose vertices are now specified with X / Y coordinates. Let's say I want to manually calculate the polygon's area — could I now take any normal algorithm (for Cartesian/Euclidean coordinate spaces) for computing the polygon's area, or do I still have to account for the fact that these are geographic coordinates? What would I have to do to get an accurate result for my area computation?  It's questions such as the above example that I still don't understand. Any cues to introductory texts explaining such details are welcome.  (I was already considering looking at the PROJ.4 catrographic projection library and how it is used to deduce from that how to deal with projected coordinates, but that would've probably been too early.)

Can anyone recommend a good reference or tutorial that explains the principles of spatial references, projections, and coordinate systems?   We are a small team of programmers working with GIS technology, and we often get snagged when working with data in different SRS/CS because we don't understand the concepts.


I have read numerous times that the RC4 cipher itself is considered broken in TLS. Still many websites are using the TLS_RSA_WITH_RC4_128_SHA configuration even to date.  Now, I know that sometimes different uses of a cipher mitigate different attack scenarios, so my question is straightforward: Is this particular cipher configuration still considered secure, or are companies just not fast enough in changing to other configurations?

Why is Google using RC4 for their HTTPS/SSL?  $ openssl s_client -connect www.google.com:443 | grep "Cipher is" New, TLSv1/SSLv3, Cipher is RC4-SHA   Isn't RC4 unsafe to use?


Last time I was using Ubuntu/Linux it was almost 3 years ago and I have to admit I was never good at it. Today I decided to try again (14.04 LTS) with my newly-bought Acer laptop with Windows 8.1 installed. This time I still have problem:   After the installation (I didn't select Try Ubuntu without installing in the boot screen. Instead, I selected Install Ubuntu directly) and reboot, As many articles suggest, I still went to the Windows 8 directly. And I need to run boot-repair tool to make a correct Grub. I assume it means I should run "Try Ubuntu without installing" to get to the desktop session, is it right?   But as my title suggests, after I click "Try Ubuntu", I get this seemingly-famous error The system is running in low-graphics mode. So then I googled the solution to that. Since I have a ATI graphic card, many suggest to run sudo apt-get install fglrx in recovery mode then it should be OK. Well, obviously I don't have a recovery mode so I just hit Alt+Ctrl+F1 and run the command then reboot. But it didn't help.   I don't know if this is because I am not running the actual OS and so the fglrx didn't really have any effect after the reboot. I feel I am having a contradiction: in order to fix the "low-graphics" error, I need a actual running OS on the disk. But in order for the OS from disk to run, I need to have a live desktop session to run boot-repair at first.  Anybody can help me? Thanks in advance!  UPDATE:   my laptop hardware spec is like this:   Acer Aspire E1 572G-54208G1T  With Intel I5 4200U CPU, 8GB RAM, 1TB Hard Drive and ATI Radeon 8760M Graphic. I read it somewhere the graphic is Intel/ATI hybrid. And after some further search, it seems the BIOS I have (I don't know why it is not UEFI) is a locked version of InsydeH20, which doesn't have to much to modify. And I can't find the config to disable ATI graphic temporarily.

Note: This is an attempt to create a canonical question that covers all instances of "low-graphics mode" error that occurs to a user, including but not limited to installation of wrong drivers, incorrect or invalid lightdm greeters, low disk space, incorrect installation of graphics card like ATI and Nvidia, incorrect configuration of xorg.conf file while setting up multiple monitors among others. If you are experiencing the "low-graphics mode" error when trying to login but none of the following answers work for you, please do ask a new question and then update the answers of this canonical question as and when your new question gets answered.   When I try to boot into my computer, I am getting this error:  The system is running in low-graphics mode Your screen, graphics cards, and input device settings could not be detected correctly. You will need to configure these yourself.   How do I fix the failsafe X mode and login into my computer?  Answer index:


In the opening scene, Heimdall sends Hulk back to earth.  But I can't understand why he would do this over sending Thor back to earth or anyone else. He cares more about Thor than the Hulk. I am not asking WHY he sent Hulk back to earth, but why he sent him over anyone else.  Here are a a few reasons why it is not abundantly clear even after watching the whole movie as to why he did what he did.   The Hulk himself does not make an appearance after that scene (Although Dr Banner does, he does not make much of a contribution. And some people might say he warned everyone that Thanos was coming, but I am sure that after Thanos's goons came to earth and tried to take the Time Stone that Dr Strange could have seen this) Dr Banner is pretty much rendered useless as an Avenger due to the Hulk not coming out. (That is a big reason he is in the Avengers, or that is what I was lead to believe) To address a comment that he was sent back to warn everyone, he could have sent Thor back to warn everyone else.                                   There are probably some other points, but what I am trying to get across is that in the movie and after it ends, it is still hard to see why the Hulk was saved. So, there is only really one thing to conclude from this and that the Hulk is going to play a big part in future films.   So is there some in or out of universe answer to why the Hulk was saved?

At the start of the "Avengers: Infinity War" movie:      Thanos and the Black Order have boarded the Asgardian ship, killed most of the inhabitants and beaten Thor and Hulk.   Then:      A wounded Heimdall teleports Hulk / Bruce to Earth for safety before Thanos kill him.   Why:      Didn't Heimdall teleport Thor instead? Isn't Heimdall more responsible for Thor than Hulk?


We would like to know a single word for the phrase "women hate men". Please tell us the single word for future use.

We know “misogynist” is the word that we use for "a man who hates women”.   Do we have any single word for “a woman who hates men”?


I have a backend project with this in my pom.xml:  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">   <modelVersion>4.0.0</modelVersion>   <groupId>GestionScolaire</groupId>   <artifactId>GestionScolaire</artifactId>   <version>0.0.1-SNAPSHOT</version>   <packaging>war</packaging>   <build>     <sourceDirectory>src/java</sourceDirectory> ...   Then my FrontEnd project get the backend project with this in my pom.xml  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>GestionScolaire</groupId> <artifactId>GestionScolaireWeb</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging> <description>project_Spring</description> <name>GestionScolaireWeb</name> <url>http://maven.apache.org</url> <properties>     <java.version>1.6</java.version>     <spring.version>3.1.0.RELEASE</spring.version>     <cglib.version>2.2.2</cglib.version> </properties>  <dependencies>   <dependency>     <groupId>GestionScolaire</groupId>     <artifactId>GestionScolaire</artifactId>     <version>0.0.1-SNAPSHOT</version>     <type>war</type> </dependency>   Matiere  package model;  import java.util.List;  import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persistence.Version;  @Entity public class Matiere {  ...   I have this error when starting my server:  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Matiere  You guys have any idea of why I have this error?  Thanks!

I am getting a NoClassDefFoundError when I run my Java application.  What is typically the cause of this?


For ex. I have a function void len(int *A){ // or we have its reference  // can I find the length of array here or // we just need to pass the length along as the parameter  }

First off, here is some code:  int main()  {     int days[] = {1,2,3,4,5};     int *ptr = days;     printf("%u\n", sizeof(days));     printf("%u\n", sizeof(ptr));      return 0; }   Is there a way to find out the size of the array that ptr is pointing to (instead of just giving its size, which is four bytes on a 32-bit system)?