<channel>   <title>Company</title>   <link>http://www.ndroid360.com/companypms/index.php/main_con</link>   <description>Companypms - By Keyur Modi </description>   <language>en-us</language>   <image>     <title>Company</title>     <url>http://www.ndroid360.com/companypms/public/admin/dashboard/images/keyur.jpg</url>     <link>http://www.ndroid360.com/companypms/index.php/main_con</link>     <width>90</width>     <height>36</height>   </image>   <item>     <title>Project Add</title>     <link>http://www.ndroid360.com/companypms/index.php/main_con</link>     <description>       OK, modi sarkar     </description>   </item>   <item>     <title>A Post Title</title>     <guid isPermaLink="true">http://www.mydomain.com/file-location/</guid>     <link>http://www.ndroid360.com/companypms/index.php/main_con</link>     <pubDate>Wed, 30 Apr 2009 23:00:00 +1100</pubDate>     <description><![CDATA[
This is a brief summary of the post, so tempting that noone  will be able to resist clicking through.
 ]]></description>    </item> </channel>   I want to put an image after second <item></item>-tag. What can I do?


GDAL2Tiles: MapTiles from BSB/KAP are Switched

As an example I have a BSB file from NOAA which is a navigational map. The map has a SRS of WGS84 and a Mercator projection.  I initially translate the file from BSB format to GTiff format using the following command:  gdal_translate -of GTiff 18554_1.kap noaa.tif  I can view this GTiff file using Paint Shop Pro quite fine. I then translate the file from GTiff format to VRT format using the following command:  gdal_translate -of vrt –expand rgba noaa.tif noaa.vrt  I then try to generate a tile matrix set using the following command:  gdal2tiles.py noaa.vrt tiles_folder  Where the map tiles are located in tiles_folder. If I try to open the openmaps.html or google.html, the map zoom in and out looks good. However, on tiles generator like MBTiles, I see tiles swap. See the image below. I am pulling my hair off to get the tiles to line up. I am guessing it is projection error. I am not understanding those projection types. It would great someone can explain it while finding the error. I am planning to use on a tiling  like this. By the way, on GDAL how do I specify the BSB (reference) file that is associated with KAP (data) file? I have seen cases where only one BSB file referred by multiple KAP files.


Going to any question on the site brings an error page

I hope the staff can see this question, not sure if I will once I post.    Update: This does not happen on meta, this happens in programmers, and in StackOverflow. Happens in meta-programmers too.   If this helps you, here are the response headers.  HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: text/html; charset=utf-8 X-Frame-Options: SAMEORIGIN Date: Tue, 02 Jul 2013 21:09:39 GMT Content-Length: 18814


Do you keep your study notes publicly available?

I am considering to create a wiki/blog for most of my study notes that I have made or taken digitally.  Also, for the handwritten and rough ones I am thinking about storing them in my GitHub repository.  Is this a good idea? How do professionals in academia and PhD students organise their notes?  Also, should I keep my notes publicly available?  Edit: The main purpose of keeping my notes public is to have them readily available and searchable of myself and my immediate peers in college. If that benefits someone else, I will be more than glad to have helped.   Update regarding having a blog/wiki: I was thinking about having stuff regarding my take on a certain topic or similar rather than just straightaway putting mugged up lecture notes. (as I mentioned in a comment)  So basically, as I go along a certain topic whatever interesting I find, I post  it. Also I will put in links to papers, books and other interesting literature on the topic that might be helpful while studying the topic. This seems easier to deal with and also serves as a way to track my current interests and/or workflow.


How can I mysqldump all databases except the mysql schema?

I want to backup all 200+ databases on a MySQL server to all-dbs.sql.  I want to exclude the mysql schema.   How can I do that?


How to write a systemd service unit file so it waits until a specific interface is up before starting?

I am trying to write a unit file for hostapd on Debian.   The hostapd daemon seems to need the interface for the associated Wifi interface to be up before it is run or else it SEGV's.   I've tried network-online.target, but still get the SEGV. I think this is because network-online.target only needs to see ANY interface up, and other interfaces comes up before the Wifi interface is ready enough for hostapd to work.    What is the best way to have a service wait for a specific interface to be up before starting?


If angle α is reflex, and cos α = -9/41, without using a calculator, evaluate  (a) sin α (b) tan α (c) cos (α - 180 (degrees) .  I asked this question before but was unsure how to ask it again or renew it without creating another thread.  I really don't understand the process of working this out.  Would I bet right in saying: Cos a = -9/41. -9/41 = -0.225. cos-(cos inverse) -0.225 = 103.0028781629139. So Cos A = 103.0028781629139? (But what am I even trying to say in that instance. lol).


Why are there sometimes app icon on the iPhone lockscreen?

Sometimes an icon is shown in the left bottom corner of the lock screen. Sometimes I can see some logic in it - when I plug the earphones, then the streaming radio app icon appers. I cannot start the app tapping the icon though. But sometimes an icon is just there without any visible connection to my actions, for example the Stack Exchange app icon:    Why is that? What is it useful for and what can I do with them? If I tap them nothing happens.


sed with argument variables in shell script

I want to write a script that extract lines from line n to m of the input.   doit.sh:   sed -n -e '$1,$2p' input.txt    ./doit.sh 3 10    But it gave me an error sed: -e expression #1, char 2: unknown command: `2'. What went wrong?


Routing only one Program through a VPN/Network card

A user uses a VPN for tons of reasons, Privacy, Evading blockades, or using apps/programs that are blocked on a network, a great example would be a school network!  IRC's default port is blocked, solution? a VPN!  I've obtained a VPN with the name of , that provides 500mb free traffic, each month.  IRC doesn't use that much, but then again, I need my browser, Skype, and other applications to have internet too, 500mb wouldn't be quite enough, not enough to last a day!  When activating the VPN, ALL traffic is routed trough the VPN, with no option to disable certain programs.  That's where the question comes in, How do I make sure, that only my IRC client uses the VPN (a windows network card), but NO OTHER program can?  SideNote: I use a Windows 8.1 Laptop, with both Wired and Wireless internet options, which means there is a "Network Bridge" build into, to prevent cockups when using both connections at the same time.


What happen if an electron meets another electron?

A person give me an idea for my physical problem, and I think the answer of this question would be the next step for its answer   I only want to know what they are doing with each other if they meet each other (I know that they will not annihilate each other )  Thanks for all helpful questions.


Here's the problem with narrow 'column' layout of stackexchange

Stackexchange's 'column layout' leaves over 50% of my screen space unused. I can understand this is for design purposes, and in most cases it's not a problem.  However, especially on 'sub stacks' like stackoverflow where a lot of code fragments are used in posts, it becomes a problem.   Here's what I mean:     Especially when reading through code that doesn't fit horizontally in the narrow single column layout that stackexchange imposes on us, this is extremely inconvenient.  Can this be made optional, so that users of non-mobile devices have the possibility to use all or at least more of their precious screen real estate?


Multinomial logit regression with ordinal independent variables


using an if statement with an && in it not working correctly

Original code:  if (!externals.containsKey(query.getName())) {   I need to check also if query.getName() != "manualPrice" so my code becomes:  if ((!externals.containsKey(query.getName())) && (query.getName() != "manualPrice")) {   this isn't giving me the desired result. I'm not getting errors but the page isnt loading.  However annoyingly enough this code does work (it just doesnt feel as neat):  if (!externals.containsKey(query.getName())) {   if (query.getName() != "manualPrice") {   is there something really obvious I'm missing out. Im not normally at Java developer but do know C# which is pretty similar from what I've seen. Im hoping its just something silly I've missed.  cheers  UPDATE *****  ok so people have pointed out that rather than == i should be using .equals  which I have done. my new code is:  if ((!externals.containsKey(query.getName())) && (!query.getName().equals("manualPrice"))) {   which still gives the same error as it did with the ==  I'm begrudgingly using the nested if method for now but its just got me baffled as to what could possibly be wrong with it. It compiles fine!


I am relatively new to Coq. Can anyone show me how to prove the following in Coq?  (P -> (Q /\ R)) -> (~Q) -> ~P


Ubuntu Software updates error on 12.04 LTS version

When I update these packages I am getting the following error, please find the attached screenshot.    Can anyone help us on this?


Counterexample to second derivative test when f''(x) is not continuously differentiable

When looking over true/false questions on previous midterms, one of my conscientious students said:  "If f is defined on an open interval containing c, f'(c)=0, and f''(c)>0, then c is a local min of f"  was false because one of the hypotheses for the second derivative test (at least in Stewart) is that the second derivative is continuous in a neighborhood of c.  Can anyone think of a counterexample for this statement (in one real variable)? It's apparently been too long since I've taken an analysis class to come up with something clever.


Developer ExactTarget Marketing Cloud account?

I would like to have an account to create sample App in the App Center. I am following these steps on .  Could you please tell me how or where  I can register for a new (developer) account ?


Why does a fatal error occur when I use math mode in a tabular environment in beamer?

I am trying to create a table in a beamer class document which includes some entries in math mode. Below I provide a very minimal working example of what I am trying to accomplish: \documentclass{beamer}  \begin{document}  \begin{frame}  \begin{tabular}{cc} $n$ & $m$ \\  2 & 3 \\ \end{tabular}  \end{frame}  \end{document}  This code causes a fatal error to occur and no pdf file is produced. I am using texmaker with SumatraPDF. Why does this code produce a fatal error?


Which entire functions $h(z)$ can be written as $h(z)=f(z+1)-f(z)$ for some entire function $f$?

Question: For which entire functions $h(z)$ does there exist an entire function $f(z)$ such that $h(z)=f(z+1)-f(z)$?  What I have tried:   Suppose that $f:\mathbb{C}\to\mathbb{C}$ is an entire function, and let $\displaystyle f(z)=\sum_{n=0}^\infty a_nz^n$ be its Taylor series expansion.  Then $$\displaystyle f(z+1)=\sum_{n=0}^\infty a_n\sum_{i=0}^n\binom{n}{i}z^i=\sum_{n=0}^\infty z^n\left[\sum_{j=n}^\infty a_j\binom{j}{n}\right].$$  Therefore $$f(z+1)-f(z)=\sum_{n=0}^\infty z^n\left[\sum_{j=n+1}^\infty a_j\binom{j}{n}\right].$$  For $\{a_n\}\in\mathbb{C}^\infty$, define $c_n=\displaystyle\sum_{j=n+1}^\infty a_j\binom{j}{n}$, if this sequence converges.  If $\{a_n\}$ is a sequence for which each $c_n$ converges, then define $\Pi(\{a_n\})=\{c_n\}$.  Lets let $\mathscr{H}$ denote the collection of all sequences of complex numbers $\{a_n\}$ such that $\Pi(\{a_n\})$ is well-defined.  Let $\mathscr{H}_e$ denote the collection of sequences such that $\displaystyle\sum_{n=0}^\infty a_nz^n$ has infinite radius of convergence.  It is not hard to see from the above work that $\mathscr{H}_e\subset\mathscr{H}$.  Let $\mathscr{H}_0\subset\mathscr{H}_e$ be the collection of finite sequences (ie those corresponding to polynomials).  I know that $\Pi:\mathscr{H}_0\to\mathscr{H}_0$ is surjective.  I want to know what $\Pi(\mathscr{H}_e)$ is (I now know that $\Pi:\mathscr{H}_e\to\mathscr{H}_e$ is not surjective as noted in my comment below).  Bonus question: If we mod out $\mathscr{H}$ by the relation $\{a_n\}\sim\{b_n\}$ if and only if $a_k=b_k$ for each $k>0$, then $\Pi:\mathscr{H}_0\to\mathscr{H}_0$ is injective.  Is $\Pi:\mathscr{H}\to\mathscr{H}$ injective when modded out similarly?


Cover of (0,1) with no finite subcover & Open sets of compact function spaces

I just got back from my exam and these questions' solutions eluded me, it would be great to use the rest of my evening figuring these out...  Q1: Find an open covering of the set $(0,1) \subset \mathbb{R}$, say $G =\{U_\alpha\}_{\alpha \in A}$, (where $A$ is some indexing set) such that $G$ has no finite subcover.  Q2: Let $f: [0,1] \to [0,\infty) $ be a continuous function. Let there be some $c\in [0,1]$ such that $f(c)$ is non-zero. Prove that there exists an $\epsilon \gt 0$ such that the set:  $X_1=\{\ x\in[0,1]\ | \ f(x)\gt\epsilon\  \}$   is non-empty, and open.


How is $\frac{du}{dz}=\frac{1}{2}\left(\frac{du}{dx}-i\frac{du}{dy}\right)$ and $\frac{du}{d\bar{z}}=\frac{1}{2}(\frac{du}{dx} + i\frac{du}{dy})$

I was trying to solve some problems in Complex Analysis, and was encountering some trouble in problems that tried to show some relations between $f(z)$ and $f(\bar{z})$. I was trying to see some examples online and I tend to encounter this description of the derivatives that I'm not able to see where it comes from. The mentioned description of the derivatives are: $\frac{du}{dz} = \frac{1}{2}\left(\frac{du}{dx} - i\frac{du}{dy}\right)$ and $\frac{du}{d\bar{z}} = \frac{1}{2}\left(\frac{du}{dx} + i\frac{du}{dy}\right)$


Cleaner way to get last day of previous month?

Is there a cleaner way of getting the last day of the previous month?   Also, is the Date.addMonth() function smart enough to deal with months having different numbers of days? As in, if I subtract 1 month from October 31st, do I get Sept 31st or Sept 30th?   //Get Last Day or previous month. Date LastMonth = date.today().addmonths(-1); Date FirstOfLastMonth = date.newInstance(Lastmonth.year(), lastmonth.month(), 1); Integer numberOfDays = Date.daysInMonth(FirstOfLastMonth.year(), FirstOfLastMonth.month()); Date LastDayOfLastMonth = Date.newInstance(FirstOfLastMonth.year(), FirstOfLastMonth.month(), numberOfDays);


Why do different installations of sort sort punctuation differently?

I got a file with content like this:   -----------  ===========  --------  -=-=-=-=-=-   When I sort in a linux os, it comes like this:   $ sort 1.txt ===========  -=-=-=-=-=-  --------  -----------   But when I sort in cygwin, it comes like this:   $ sort 1.txt  --------  -----------  -=-=-=-=-=-  ===========   I'm wondering why the result is not the same.  I notice that the sort version in linux is 5.97, and in cygwin is 8.24. Or it's an encoding problem?


Why does Brussels airport not inform passengers about gates details? (until the last moment)

I was at Brussels airport yesterday and was surprised that gates information are not published until (exactly) 15 minutes before boarding time. The panel says      Relax, gate info at 16:20     So I went to the gate as soon as it was known, and the aircraft was already there, connected to the passenger boarding bridge. Meaning the gate was definitely known for some time before it is published!  Then I queried some information from the staff ; and indeed, gate information is always only published 15 minutes before boarding time.  The only reason I could think of is BRU wants people to spend time in shops...  Is there another reason for not informing gate details earlier? (which is a bit annoying)


Can I use "reasonable" in place of "plausible" in the following context?

He says, "It is plausible if you put all these things together, you will get a good result."   Can I use "reasonable" instead of "plausible"? Are there any significant difference between them?


For ESXi5.1 (VMWare vSphere) images, I can see temperature data on the vSphere user interface (under Monitor / Hardware Status). I tried scouring the available snmp data using snmpwalk, but can't find the data anywhere in there.  Maybe I'm missing something. Does anybody know the right MIB for temperature data?  Otherwise, how can that data be accessed?  By the way, this is a machine installed from an image .  EDIT: The hardware is ProLiant DL360 G7.  I don't wish to monitor the server, but rather to plot the available temperature meters.


Show that if $\sum_na_n=\infty$ and $a_n\downarrow 0$ then $\sum\limits_n\min(a_{n},\frac{1}{n})=\infty$

Let $a_n$ be a sequence decreasing to $0$, and $\sum {{a_n} = \infty } $.   Show that:$$\sum {\min \left( {{a_n},{1 \over n}} \right)}  = \infty $$   If there's $N_0$ such that $\forall n>N_0: \min(a_n, {1\over n}) = {1\over n}$  or $\forall n>N_0: \min(a_n, {1\over n}) = a_n$ then, the problem is trivial.    Otherwise, let us define $b_n = \min(a_n, {1\over n})$ and two subsequences: $$b_{n_k} = {1 \over n_k},\quad b_{n_l} = a_{n_l}$$  $$\sum {{b_n} = } \sum {{b_{{n_k}}}}  + \sum {{b_{{n_l}}}}  = \infty  + \infty $$  Is that right?


Let me start with some basic definitions:  Definition 1. A conic section is the curve resulting from the intersection of a plane and a cone.  Definition 2. A  conic  section  is  the  set  of  all  points  in  a  plane  with  the  same  eccentricity  with respect to a particular focus and directrix.  Definition 3. A conic section is the set of points $(x,y)$ satisfying the implicit formula  $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0$$  All these definitions are familiar to me and they are taken from a paper of Mzuri S. Handlin, Conic Sections Beyond $\mathbb{R}^2$.  Now, in by university textbook I have the following theorem,     Theorem.  Any conic has an equation of the form      $$Ax^2+Bxy+Cy^2+Dx+Ey+F=0$$      where $A,B,C,D,E$ and $F$ are real numbers and $A,B$ and $C$ are not   all zero. Conversely, the set of all points in $\mathbb{R}^2$ whose   coordinates $(x,y)$ satisfy an equation of the form that above, is a   conic.   Proof to this theorem is omitted, and reference are not included. I've been searching for a proof, but failed to find one.  It seems that the above theorem make motivate us to define definition 3, right?   If one can provide me a reference for the proof of the theorem or sketch guidelines for possible proof?  Thank you.


Will Ubuntu 14.04 support WUBI? Or will another alternate Windows Installer be available? (not 13.04, 13.10)

Will Ubuntu 14.04 support WUBI? Or will another alternate Windows Installer be available? I work on a lab network with PC Devices which ETH and USB hardware has been removed, and we use a different bus technology. Wubi was the only way to install Ubuntu, so we are waiting for Wubi to be updated for the next LTS release.  We appreciate your advice and thank you for your help. -Bran


Is there any good alternative to winrar archiving utility for mac with ability to browse files before extracting them?

I have so far tried Keka and Unarchiver, but they both don't allow browsing the archive content. They simply extract everything contained in the archive which is not a desirable behaviour.  Is there any free (or cheap) alternative to winrar for osx?


I want to add a USB 3.0 port to my laptop that only has USB 2.0 and a combo eSATA USB port.  I have a Pavilion dv5-2135dx which I have found no information on what motherboard it is to look for empty pci, etc.  The best solutions I have seen are expresscards but my laptop does not have slot for that. I am not sure if I can add one and if using a USB 2.0 adapter would make any USB 3.0 device not function properly. Adapters: ,   I know there is USB 3.0 to eSATA adapters but every single one I have seen is not reversible.  If anybody knows a good way to figure out what motherboard I have, that would greatly improve my list of options. As I may be able to use Mini-PCI-E etc.  If you guys think a new desktop would be the only way to go, then please suggest that.


Is there an easier way to step through the code than to start the service through the Windows Service Control Manager and then attaching the debugger to the thread? It's kind of cumbersome and I'm wondering if there is a more straightforward approach.


Ambiguity in Negation: "John did not come because of the rain"

John did not come because of the rain.   This sentence seems to allow the following two completely different interpretations.   John did not come. And the reason was the rain. John came. But the reason was not the rain.    Questions  A.  How does this ambiguity arise? Is it because of negation?  B.  What is the easiest way to avoid this ambiguity?


How do I find least cost path over a DEM based on slope magnitude and direction?

What sort of algorithms can I use to find a least cost path through a DEM where it costs more to traverse a cell going downhill or uphill than it does to follow the contour of the land?  All the examples I've seen involve creating a least cost surface where the magnitude of the slope is part of the cost - but the direction isn't.    Additionally, the examples assume the cost to travel through a cell does not depend on the direction of travel.


I have a set of commands that i am executing through java. I stored them in .bat file and then executing through java. When i run bat file through command prompt it executes but when i execute it through java, only 1-2 commands execute and program exits. Please suggest me the solution for this.   Please suggest me the jar file too if any other command referenced  Code:  public static String cmdExec(String cmd) throws IOException {          Process p = Runtime.getRuntime().exec(cmd); }


In the film "The Quiet Earth" (1985), what happens to Zac Hobson in the final scene?

At the end of this post-apocalyptic film, the central protagonist - Zac Hobson (Bruno Lawrence) - drives a truck laden with explosives onto the weakened roof of an underground laboratory. The explosives detonate ... and we witness a red flash. Hobson is now shown to be on a beach. In the distance can be seen strange clouds - and a large ringed planet rises over the horizon.   This ending is rather different from that of the original novel (by Craig Harrison), in which Hobson's character re-awakens at the start of the story - and is forced, it seems, to endlessly repeat his nightmare existence.  In the film, what has happened to Hobson? And where is he meant to be? In what way (if at all) is this connected to the 'Project Flashlight' described in the story?   Note - I'm after information about the final scene of the movie, and its meaning. I'm not asking a question about the film more generally (and am not seeking an explanation of the 'overall plot device' of the movie).


While studying the properties of Bessel's function I came across a proof as :-  $ J_0^2+2(J_1^2+J_2^2+ . . . . )=1$  I have tried this with the recurrence relations, but I didn't have any idea how to proceed.  Thankyou.


Stretching the polygon layer into another polygon layer

Is there a possibility to stretch the blue layer into the white one?   I would like to fit the districts (the blue layer) into the city (the white layer), but I don't have any idea how to do it with such different data.


iPhone showing reminders, but I have none

My Reminders app is showing 6 reminders, but as far as I know, I have none. I've checked the completed file, checked in iCal on the Mac. Any ideas how to delete these reminders?


How to get id of programmatically generated selectbox

I working on an app that has different select box that are cloned. I used the first selectbox to clone the second one I want to get the id of the generated select box. it is one the first selectbox that works second one does not triger event when selected.   var selectid = "select-test"  $("#addbtn").on("click", function(e) {   e.preventDefault();    selectid = "select-" + Date.now();    var testdone = $('#testdone')     .clone().val('') // CLEAR VALUE.     .attr("id", testdoneid)     .appendTo("#appendcontainer");    $("#" + testdoneid + " .select-test").attr('id', selectid); });  $("form select").on("change", function() {   var strChosen = $(this).attr('id');   alert(strChosen); }) <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div id="testdone">   <select name="tests[]" class="form-control select-test" id="select-test">     <option value="">Select Patient Test</option>     <option value="1">HIV</option>   </select>    <select id="select-3339" class="select-id">     <option value="">Select Patient Test</option>     <option value="1">HIV</option>   </select> </div>


Algorithm of $n = x^2 y$ to simplify a squrae root of n

we can simplify a square root $$\sqrt 8 = \sqrt {2^2 \cdot 2} = 2\sqrt 2$$ I need a good algorithm to simplify a big integer $n$ of thousands digits. $$\text{for constant } n \in \mathbb N \\x, y \in \mathbb N \\ \text{ } \\ \text{find positive integer solution }(x,y) \text{ in}\\ n = x^2 y$$


Why can't I inherit from a private class / interface?

Why is this illegal in C#?  class Foo: Foo.BaseFoo //Circular base class dependency compile time error {    private class BaseFoo {...}     ... }   I'm not arguing when this could be useful or not, but I'd like to know what are the reasons that would disallow such code to compile. A similar restriction happens with private interfaces.  UPDATE  Seeing that its a duplicate I'll center the question more in why this isn't valid with interfaces which seems more useful?  And, what's more, why does it seem to be legal with the Roslyn preview as shown


Help with proving if $s_n$ converges to $0$ and $x_n$ is a bounded sequence, then $\lim(x_ns_n)=0$

Prove: If $s_n$ converges to $0$ and $x_n$ is a bounded sequence, then $\underset{n \to \infty}{\lim}(x_ns_n)=0$   I'm have trouble getting started on this proof.    Since I know $s_n$ converges to $0$ I feel like I should start using the epsilon definition with $x_n$   Since $\underset{n \to \infty}{\lim} s_n=0$  So $\left|x_n-s_n\right| \lt \epsilon \implies (=) \quad \left|x_n\right| \lt \epsilon$  But I'm not sure if the aforementioned steps are correct and where to go from here.


Is the ideal generated by irreducible element in principal ideal domain maximal?

Possible Duplicate:          I am trying to see whether the ideal generated by irreducible element in a principal ideal domain (PID) is maximal ideal.  Suppose r is irreducible in a PID say D  Let I be an ideal of D containing (r) the ideal generated by r   Since  D is a principal ideal domain, there exist s in D such that I=(s), therefore (r) is a subset of (s).  So,  r=st , for some t in  D   but r is irreducible, this implies that s or t is a unit.  If s is a unit then I= (s)= D .  If t is a unit then (r)= I=(s). But I am not sure this is true, because I do not have reason for saying (r)= I=(s), so that I can conclude and say (r) is maximal.  I need a little help for this. Thanks


When people explain Theta notation, they just start talking about a function T(n) without explaining what it is. Is it just a given function?  Why is it Theta(f(n)) instead of Theta(n)? Where did the f(n) come from? f(n) is usually a given function, then what is T(n)? Are they both? This is also not commonly explained.   All the explanations I find are all explained mathematically, but with consistent failure properly define things, and instead just start talking about things out of the blue.  Thanks,  - A confused student


Creating copy of phone (apps, settings etc.)

I have two rooted Huawei P9 Plus phones running Android 7. Now I would like to copy the apps, the settings of the apps, the system settings etc. from one phone to the other phone so that both phones are exactly the same.  How can this be easily done? I have root, so I could also use an app requiring root.


Given my limit order and the ask price, what do I really pay for my stock?

I anticipated there would be many answers to this already, but couldn't find any. I am aware of this question: , and I think I can deduce the answer from it, but I am very unsure, so I prefer a direct answer.  Let me best give an example. Recently, I noticed a sharp decline in the (last) price of the stock S. I placed a limit order for 10 stocks with a limit EUR 51,74. I got them on the next day at the opening for exactly EUR 51,50.  So, my question is: How does the price at which I buy really come about. Is it the cheapest selling price (ask) compliant with me order (meaning sellers always loose), is it the mean between my limit and the ask? Is it something entirely different?  Conversely, if I sell the stock with a limit order at EUR 55,00, does it mean I will only get 55,00, although there are people bidding EUR 56,00?  If it depends on the location, answers for XETRA are most appreciated.  EDIT  I think, that the suggested duplicate covers me, but I would like to be certain I understand correctly.  1)I got the stock for EUR 51,50, merely because the sellers ask predated my bid.  2)If the sellers ask of, say. EUR 51,50 had come after my bid, he would have gotten the full 51,74.  EDIT   I try to provide any information desired. Because I saw the comments, I add the following. I apologize, should it be irrelevant. I am (obviously) a newbie.  I ordered on one day shortly after 17:30 using XETRA. I chose the validity option  "today" and the option "continuous trade". I was not aware of the stop of trading after 17:30.   The system (German) said that my order was received and would be presented ("vorgetragen") on the next day. Then, on the next day in the morning I got the stock for EUR51,50.


I have to set up a few encounters where my players are part of a small caravan, about 4 small wagons being pulled by horses and oxes.   I am needing some help on if there are any rules pertaining to combat in a moving vehicle such as cover, attack roles, certain save throws, and if there are any advantages and disadvantages while attack in/on a wagon as well as initiative order.   A follow up question is where to locate the rules with mounted combat while targeting a moving target to attack. I can't seem to find the rules in the "Dungeon Master's Guide" or I just haven't seen it yet.


How to make week in calendar start on Sunday on Ubuntu GNOME?

As a part of me learning Japanese I want to eventually make my computer completely in Japanese, however there is one problem, in all the Japanese calendars I have the week starts on Sunday as opposed to Monday, however even when changing the language of the calendar (the built-in one accessible through the top-bar), the week still is displayed as starting on Monday. I am sure that I have seen an option to change this before, I just can't seem to find it now, but maybe I saw that option on another DE.  I am running Ubuntu GNOME 16.04 with GNOME 3.20, how can I set it so that the built-in calendar shows the week starting from Sunday?


I have Ubuntu 12.04 and I use File Browser Panel plugin in GEdit. I can increase the size of file browser bar. But the minimum width of file browser bar is about 30% of screen width. How to decrease minimum width of the File Browser bar in GEdit?  When I open gedit using terminal then I can decrease the size of the file browser bar. But when I open gedit without using terminal I can't be decrease the size of the file browser bar.


So i created a matrix in latex using the code: \usepackage{kbordermatrix} \usepackage{blkarray \renewcommand{\kbldelim}{(}% Left delimiter \renewcommand{\kbrdelim}{)}% Right delimiter \[    \kbordermatrix{     & a & b & c & d\\     a & 2173.00 & 354.00 & 0.00 & 1249.00 \\     b & 0.00 & 3772.00 & 52.00 & 0.00 \\     c & 474.00 & 469.00 & 2858.00 & 42.00 \\     d & 1262.00 & 303.00 & 39.00 & 2180.00\\   }  \]  The above code is taken from  The output matrix which I got is this:  My doubt lies in my next task. I want to put a row of labels below my matrix like:  How can i achieve this? Thanks.


This an extension to a previous question:    For example: If I can't earn the Cleanup badge, show the badge separated from the others I can earn. And if I can't earn it, show the requirements to reach the possibility to earn the badge


YouTube videos won't play in Safari (iPod Gen 3 / iOS 5.1.1)

When I try to play a YouTube video I just see the following message:     This operation could not be completed.   I've tried restarting my internet, resetting my iPod, HARD Resetting my iPod, and deleting some apps.  My iPod has 28 GB of memory left, so I know I'm not running out of memory. It's really frustrating to think that Apple might have disabled video playing in safari for iOS 5.1! Please help me, I cannot stand another day without my YouTube!  Device: iPod touch 3rd Gen, 2009 (iPod3,1)  OS: iOS 5.1.1


How do I fix ubuntu from booting on a black screen?

I’ve tried reinstalling it. I’ve tried opening the GRUB menu and all that. All I see when I boot up is a black screen and my cursor. I can move my cursor but thats the extent of everything.


The difference between "reviewed by" and "communicated by"

I´d seen the phrase "Reviewed by (someone)" and also the phrase "Communicated by (someone)" in published papers, what they refer to or the difference(s) between them?  Thanks


Confused about notation ":=" versus plain old "="

Relating to sets, I find the following in a text book:  "...the set S := {1, 2, 3}". The book has an extensive notation appendix, but the":=" notation is not included. What exactly does ":=" mean, and how is it different from just "=", and how is it read?  Many thanks for any help.


Why would SET ARITHABORT ON dramatically speed up a query?

The query is a single select containing a lot of grouping levels and aggragate operations. With SET ARITHABORT ON is takes less than a second, otherwise it takes several minutes. We have seen this behavior on SQL Server 2000 and 2008.


Can there be an option to allocate rep from any site account for offering a bounty?

I think it would be useful if we had an option when deciding to open a bounty on a question that we could choose to allocate rep from one site even though the bounty is being offered on another site.  For instance I would like to use my rep from SO for putting a bounty on a question that resides on SF. I don't have enough rep on SF to make it enticing. So when you click on "start a bounty" you get sliders for each site that you can pull your rep from, maybe make it where you need to burn up all your rep for the site that your asking the question on and then allocate more rep from other ones, if you have it.  thanks devinb for clearing up my question with your comments! " transfer rep INTO a bounty. But you can't transfer rep across accounts. So, the rep you'd 'lose' from SO would never actually go into your SF account, it would go straight onto a bounty on whatever question." – devinb


Intuitive interpretation of open and closed sets in topological spaces

This may be a dumb question, but does anyone have an intuitive interpretation of when the set will be closed and when the set will be open, in the topological spaces?    I am confused especially when I heard that $\mathbb{Q}$ in $\mathbb{R}$ is neither an open nor a closed set. To me, I believe a set with a single element x, {x} should be a closed set, because we can also re-write it as [x, x].    I am very new to topology, so I am familiar with little theorems or assumptions in topology.    Thanks!


Let $f: X \rightarrow Y$ be such that for every connected subset $C$, $f (C)$ is connected. Can we conclude that $f$ is continuous? I think this is false, at the time of building a counterexample in $\mathbb{R}$ or $\mathbb{R}^2$ it gives me that it's true so I'm not sure anymore.


I am learning Selenium in Java. I want to compare 2 strings in do while loop, I want loop to keep running unless my 2 strings value has been equal, when value is equal then loop should stop.  Now I show you my code & tell you what I want to do with this code.  it will open https://www.facebook.com , on Facebook homepage, class name of "First Name" field is "inputtext _58mg _5dba _2ph-". So I created a string variable cname1 that will store class value of current focused element in loop, and cname2 variable has value "inputtext _58mg _5dba _2ph-" , then I compare these 2 in do while loop, and loop should stop when cname1 & cname2 are equal.  But it is not working, it stops in password field of Facebook instead of running until First Name field. Thanks  public class HelloWorldTest { private static String cname1; private static String cname2;  public static void main(String[] args) {  WebDriver driver = new FirefoxDriver(); driver.get("https://www.facebook.com/");  driver.findElement(By.id("email")).click();   do {      driver.switchTo().activeElement().sendKeys(Keys.TAB);      WebElement element = driver.switchTo().activeElement();      String cname1 = element.getAttribute("class");      String cname2 = "inputtext _58mg _5dba _2ph-";      System.out.println(cname1);      System.out.println(cname2);     }     while ( cname1 != cname2 ); }  private void sendKeys(Keys enter) {}  }


Proving that $(\sup_{x\in R}|f'(x)|)^2\leq 4\sup_{x\in R}|f(x)|\cdot\sup_{x\in R}|f''(x)|$.

I was google-ing and came across this question. Till now I don't have any solution.  Let $f$ be a double differentiable function on $(1,\infty)$. Let $M_0=\sup_{x\in R}|f(x)|$, $M_1=\sup_{x\in R}|f'(x)|$ and $M_2=\sup_{x\in R}|f''(x)|$. Prove that $M_1^2\leq 4M_0M_2$.  The only ideas that are striking me are Mean Value Theorem and Taylor's Theorem. How can this be solved?


Calculating Big O Notation for a algorithm

I have been asked to explaine about Big O notation and to calculate Big o Notation for an algorithm. I'm done with the  defining part but I'm still wondering how I can calculate it. Can someone help me to calculate the Big O for the below given code?  new = int (input("enter number" )) if new <= 10000:     comm=new*2/100     print (comm) else :     comm= new*5/100     print (comm)


Are custom inner theme folders in any way overridable by child themes?

Basically, I'm trying to override some files of the Uncode theme. But this is not a theme-specific question: it can be applied to any theme. The Uncode theme has a custom dir 'partials' (/uncode/partials/) that contains some layout elements. On my child theme I created a 'partials' folder as well (my-child-theme/partials), but the inner files seem not to be overridden. Is it normal? WP docs say that any file of the same name should be overridable, but is seems that's not true. Am I doing something wrong?


Show that if the integral of a function from 0 to x is equal to the integral from x to 1, then f(x)=0

How can I prove that if $f$ is continuous on $[0, 1]$ such that for every $x \in [0, 1]$ we have that $\int_{0}^{x} f(t) \,dt = \int_{x}^{1} f(t) \,dt$, then $f(x)=0$ for every $x$.


Does "Welcome, Campers" require a comma?

Does a greeting like, "Welcome, Campers" require a comma after "Welcome"? Or can you write "Welcome Campers"?  This would be for a sign, or an email where the opening sentence is, "Welcome campers!"  I have argued that "Welcome campers" means something different than "Welcome, campers." It could be read as an imperative sentence. But where I work they keep wanting to go without the comma.


Can [single] Linear Regression be inferred from Multiple Regression?

A student posed a question: she has observations from two, independent groups for variables Y and X. She drops them on a Y~X plot, asks the console to make separate lines for both groups (call this variable G), and asks "how do I test if the two lines are significantly different?"  I suggest the following: Make linear regression models Y~X for both groups, then use something like ANCOVA.  My P.I. buds in and suggests the following: Create a single multiple regression model of the form Y~X*G which results in $Y=\beta_0 + \beta_1X + \beta_2G + \beta_3XG$. From this, he says without really explaining, you can derive two separate (presumably independent) regression lines which you can plot, and then perform tests on.  My question is: am I going insane or is he completely wrong? Can singular regression really be inferred from multiple regression like that? And what should I recommend to the student?


We know that Men (including hobbits) are gifted Doom, and the Elves are gifted immortality, but what are the other gifts? What did Eru Ilúvatar give to the others?


Access MySQL database object of another MySQL server's database

I have 2 databases on the two different servers. I am using MySQL  Server 1 has the Database: LookupDB Server 2 has the Database: TranscationDB  Now, I want to create one stored procedure in TranscationDB which needs some data from LookupDB.   How can I achieve this?  Thanks.


Passing listing-environment as option to command

I have a simple command which takes one argument. Now I want to pass a small listing-environment to the command.  Here is the code:  \documentclass{article} \usepackage{listings} \begin{document}    \newcommand{\test}[1]{ #1 }    \test   {%   \begin{lstlisting}     asdf   \end{lstlisting}   }%  \end{document}   While compiling I get this error:  Package Listings Warning: Text dropped after begin of listing on input line 12.  (/usr/share/texmf-texlive/tex/latex/base/omscmr.fd)) *   Any suggestions would be great appreciated.


Not able to select the disk during Oracle 11g Installation

Hi All, During the 11g installation on Win 2012, I am not able to select the available disks which are already stamped using ASM. Any idea what could be the reason? I have tried to select using keyboard space as well but doesn't work out. Appreciate your help. Thanks.


What do the different colors in ls output mean?

What do the different colors in the Linux ls command mean?


I come across following :       Enabling this behaviour may reduce performance and increase stream state requirements in streaming mode.   I am confused with "reduce performance" is in parallel with "increase stream state requirements in streaming mode", or "increase stream state requirements".  If "reduce performance" is in parallel with "increase stream state requirements in streaming mode", it means "reduce performance" can occur in any mode, not only streaming mode.    If "reduce performance" is in parallel with "increase stream state requirements", it means "reduce performance" only occur in streaming mode.    Which one is correct?


I'm going traveling for a few months and I am planning to take my Canon 750d with me, I currently have a 10-18mm, 50mm 1.8, 55-250mm and a 18-55mm lenses.  I am thinking of getting a 24-105 L lens to take with me, however I was unsure wether this would be worth it on the camera.  I am also debating getting an upgrade to either a 70D or a 80D. I am unsure wether to get a new body or the new lense as I can only afford one of these options. Any help would be appreciated.


Is it possible to use one variable to represent numbers of unlimited length in programming?

I've been using C# for three years to make games and I've played with various simulations where numbers sometimes get big and Int32 is not enough to store the value. Eventually even Int64 became insufficient for my experiments, it took several such fields (actually an array of variable length) and a special property to correctly handle such big numbers. And so I wondered: Is there a way to declare a numeric variable with unlimited (unknown beforehand) length so I can relax and let the computer do the math?  We can write any kind of number we like on paper without needing any special kind of paper. We can also type a lot of words in a text file without needing special file system alterations to make it save and load correctly. Isn't there a variable to declare a who-knows-how-long-it-will-be number in any programming languages?


What is the word or phrase for running into another person and not knowing which way to go?

You get in the way of someone walking towards you, and both of you stop. You step to the left, and so does the other person. You step to the right, so does the other person. You basically mirror each other's movements for a short time unintentionally, before finally figuring out a way.  This happens quite often in everyday life. How do I describe this in short? Is there a widely understood or immediately obvious phrase for it?   EDIT: Max Williams's answer has a link to a reddit post. One of the users there suggests "sidewalk shuffle". I've never heard of it myself, but I feel it's pretty obvious what it means. Is this a common phrase in the US or other English speaking countries?


Possible Duplicate:        When searching for a user without knowing the exact name, it shows paginated results of all matches. However if you try and navigate through these results they are automatically defaulted back to the reputation based sort. It's impossible to see any more than 35 matches for any search.  Suggestion:   Either remove the paginated results for user searches  Make them work :)


What is better to do with question that at first sign was great, but after author's remark looks like a 'local incident'?

What is better to do with question like this: ?  Firstly it was looking as an interesting (valuable) question.  But lately, the question's author add the remark (add the answer) that he made just a typo.  This question has several upvotes that makes it attractive (plus the promising title) for future readers. IMHO, the value of the reading this post will be not high.  UPDATED  Ok, now this question is closed. It has the [on hold] state (we can see it in the title).  Does it help the SO user (especially newbie) to save his\her time when the user will search solution in similar cases? - I think, NO.  Why? - Because this question still has the high rating (+3) and it still has valuable title, because the user don't know why it is in [on hold] state. I think that the user will open this question.  What does the [on hold] state mean for the new SO user?   The too localized resolution is deprecated now. IMHO, it was more clearly than on hold in such cases.  #2. UPDATED  Typo was just a sample, it is only one reason for the question's "devaluation". The another reason - the author add the remark that the issue takes place only on X88 architecture in the first Monday of July, for example.


Monitor accesses to directory on a Linux machine

How would you monitor a directory on a Linux machine to check if there was a user (or someone from the network) who attempted to access it?


Why is the word Love used as a score for Tennis?

I have never understood this form of scoring. What is the origin of this score "title".


Why do we say on the team and not in the team?

What is it about the word "team" that makes it uniquely take the preposition "on" ?  And yet, the word "club" is similar in meaning; and we can be in a club.


I'm wondering where the callbacks are (or if there are anything) for animations in a CALayer. Specifically, for implied animations like altering the frame, position, etc. In a UIView, you could do something like this:  [UIView beginAnimations:@"SlideOut" context:nil]; [UIView setAnimationDuration:.3]; [UIView setAnimationDelegate:self]; [UIView setAnimationDidStopSelector:@selector(animateOut:finished:context:)]; CGRect frame = self.frame; frame.origin.y = 480; self.frame = frame; [UIView commitAnimations];   Specifically, the setAnimationDidStopSelector is what I want for an animation in a CALayer. Is there anything like that?  TIA.


I heard a phrase, a moment ago,     We will see this continue.   Why neither continuous tense nor "to" was used for "continue"?


Updating production server from 13.10 to 14.04

I have an older server that's running 13.10, I want to update it to the LTS version.  Will a simple do-release-upgrade do the job, or do I need to tell it to update specifically to 14.04 instead of the current newest version?


Using Courier New font when main language uses cyrillic script

If I set language that uses cyrillic script as the default one, I can't use font Courier New.  \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{russian} \setmonofont{Courier New} \newfontfamily\cyrillicfont{Courier New} \begin{document} \texttt{русский язык} \end{document}   The compiler is complaining:! Package polyglossia Error: The current roman font does not contain the Cyrillic script! (polyglossia)                Please define \cyrillicfont with \newfontfamily.  But, as you can see, Courier New is defined with \newfontfamily\cyrillicfont{Courier New}.  I compile with XeLaTeX.  Edit: polyglossia package is required.


Below are all the linux kernels that are running on my machine. I am trying to make a debian base install as light as possible. The kernel I am running is linux-image-2.6.30-vortex86mx-apm. I am wondering will it be safe to remove all others using apt-get remove kernel-image-xxxxxx       ||/ Name                               Version                      Description     +++-==================================-============================-===================================================================     un  linux-image                        <none>                       (no description available)     un  linux-image-2.6                    <none>                       (no description available)     ii  linux-image-2.6-486                2.6.32+29                    Linux 2.6 for old PCs (meta-package)     un  linux-image-2.6-686                <none>                       (no description available)     un  linux-image-2.6-686-bigmem         <none>                       (no description available)     un  linux-image-2.6-amd64              <none>                       (no description available)     un  linux-image-2.6-k7                 <none>                       (no description available)     un  linux-image-2.6-openvz-686         <none>                       (no description available)     un  linux-image-2.6-vserver-686        <none>                       (no description available)     un  linux-image-2.6-vserver-686-bigmem <none>                       (no description available)     un  linux-image-2.6-xen-686            <none>                       (no description available)     ii  linux-image-2.6.30-vortex86mx-apm  1.1                          Linux kernel binary image for version 2.6.30-vortex86mx-apm     ii  linux-image-2.6.32-5-486           2.6.32-41                    Linux 2.6.32 for old PCs


What does $L^2$ gradient flow mean? Here is the Ginzburg–Landau free energy: $$\mathcal{E}(\phi):=\int_{\Omega}(F(\phi)+\frac{\epsilon^2}{2}|\nabla\phi|^2)\text{d}\mathbf{x}$$ Some references say the Allen-Cahn equation  $$\frac{\partial \phi(\mathbf{x},t)}{\partial t} = {\epsilon^2}\Delta\phi(\mathbf{x},t)-F'(\phi(\mathbf{x},t))$$ $$\frac{\partial \phi(\mathbf{x},t)}{\partial \mathbf{n}}=0, \ \text{on} \ \partial \Omega \times [0,T]$$ is the $L^2$-gradient flow of the total free energy $\mathcal{E}(\phi)$.  How to derive this?


After 60 days with no activity, a question should automatically become protected

I've been seeing a lot of really old questions being bumped to the front page because a person who most likely found the question on google answers "Yeah me too".   These are two examples:       I'm sure there are more. In these questions, the answers have been deleted by an admin/votes, but they were there at one point.  That's why I say that all questions that have gone 60 days straight with no activity should become protected.


End paragraph with upside-down triangular alignment?

In Renaissance typography, one often sees paragraphs end with a triangular "fade out", e.g.  Is there a clever way to do this in LaTeX? You can get an approximation with manual line breaks in a \centering block, but it's imperfect in many ways.  for a pure triangle using \shapepar, however, I cannot see how to merge this with the rest of the justified-aligned paragraph. Ideally the solution would not depend on ad-hoc tuning to the specific text.  using \shapepar exists, however, like before, it does not merge automatically with the preceding justified-aligned part of the paragraph---instead the widths are different, and the parameters defining the shape of the triangle must be fine-tuned to fix this. Subsequently, if we change even a single character within the triangle, we have to restart this painstaking job. Further, it does not allow a page break within the formatted paragraph. I already know how to hack this together by tuning the previous solutions and manually starting a new paragraph at a "start point" that is after a non-broken word nearly at the end of a line before the triangle begins  (e.g. we could end a paragraph after "Coniugem ama." in the image above.) But after this, we can't change the text in the entire justified paragraph without destroying it. Is there a way to do this triangular alignment in a way which automatically merges with the justified part of the paragraph without ad-hoc tuning to the specific text, and which allows page breaks in that paragraph?


Schengen Visa travel to Romania from India

I am Indian citizen living in India and holding a Schengen Visa to Germany. Can I able to travel to Romania with Schengen Visa.


Typeset WHOLE document in sans-serif, Including Math Mode

The reigning answer for the  completely disregards math-mode.  This might be preferred when all math equations are set display style, but a matching font is a must for in-line equations.  My current MWE (based on the one given ) only gives the text-mode items in sans, but any math remains in serif style (in-line, numerical-only equations look particularly hideous).  How can I set math in sans-serif as well?    \documentclass[]{article}  \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault}  \usepackage[math]{blindtext}  \begin{document}  Text looks particularly bad when you have $123,400$ number-only equations in-line.  \blindmathpaper  \end{document}


Theoretically, Photons don't have rest mass but they behave as material particles in many cases. But is it possible to stop a photon without destroying it ie. Can we slow it down so much to make it almost at rest and if not Why?


How can I take two tuples to produce a dictionary?

My first thought is to write an interator, or maybe do some list comprehension.  But, like every 5-10 line method I write in python, someone can usually point me to a call in the standard library to accomplish the same.  How can I go from two tuples, x and y to a dictionary z?  x = ( 1, 2, 3 ) y = ( 'a', 'b', 'c')  z = { } for index, value in enumerate(y):     z[value] = x[index]  print z  # { 'a':1, 'b':2, 'c':3 }


My understanding of  is that each password is unique and based on a counter.    $$PASSWORD = HOTP_1(K,C)$$  Where $C$ is an incremental counter.  What I wish to know, is how you keep the client and server in sync?  Looking at current systems (google authenticator), there appears to be no indication if the actual 'counter' number, but you can generate successive passwords at will.  What happens if, for example, the password you have generated uses $C = 5$, but the server is expecting $C = 3$?  Also, what is the 'integrity check' for?  Google cant seem to come up with a solution.


I installed Ubuntu 16.04 and want to install VLC media player on it but i don't know how to install that on my Ubuntu desktop. Could any one help me sort out this problem


Perform floating point arithmetic in shell script variable definitions

I understand bash and some other interpreters only perform arithmetic for integers.  In the following for loop, how can I accomplish this?  I've read that bc can be used but am not sure how to use bc in this situation.  total=0 for number in `cat /path/to/file`; do         total=$(($total+$number)) done average=$(($total/10)) echo Average is $average   file:  1.143362 1.193994 1.210489 1.210540 1.227611 1.243496 1.260872 1.276752 1.294121 1.427371


Calculating the sum of $f(x) = \sum_{n=0}^{\infty} {n \cdot 2^n \cdot x^n}$

In Calculus, how do I calculate this sum?  $$f(x) = \sum_{n=0}^{\infty} {n \cdot 2^n \cdot x^n}$$  This is what I did so far: $$ f(x) = 2x \cdot \sum_{n=0}^{\infty} {n \cdot 2^n \cdot x^{n-1}} $$  Therefore: $$ \frac{\int{f(x)}}{2x} = \sum_{n=0}^{\infty} {2^n \cdot x^n}$$  But I have no idea where to continue from here!