Table - find index of the maximum element
List manipulation: position & max value combination
How to move a visible file to a hidden folder? I've only been using Ubuntu for two weeks and have been able to find answers to any problem I had, however this one defies my searches.  I want to move a visible programme file (wallch) to a hidden directory ./config/autostart.  I have been able to enter this directory and the subject file is not there and I want to have this program start at bootup.  Can anyone assist?  Thanking you What is the best way to filter a Java Collection? GET and POST methods with the same Action name in the same Controller show that a distance function is continuous Let $X$ be a metric space with metric $d$. Define $d: X \times X \to \mathbb{R}$, show that $d$ is continuous.  I would like to show that the function is continuous the topology way (since it is a course on topology).   Let $(a,b)$ be a basic open set in $\mathbb{R}$, then $d^{-1}(a,b) = \{(x,y): a&lt;d(x,y)&lt;b\}$. Define $A= \bigcup_{x \in X} B_{b} (x)$, where $B_b (x) = \{y \in X| d(x,y)&lt;b$}. Clearly $A$ is open. Now define $C = \{(x,y):d(x,y)&gt;a \}.$ Essentially I hope that $A \cap C$ is open. But I am stuck in showing that $C$ is open.  Any help please? :) Suppose $f$ is a differentiable function over $\mathbb{R}$ satisfying $f(0) = 0$. Show that if $f'$ is strictly increasing, then $\frac{f(x)}{x}$ is increasing over $(0,\infty)$.   Attempt:  Since $f'$ is increasing we know that $f'' &gt; 0$ for all $x$. Now let $g(x) = \frac{f(x)}{x}$ and thus $f(x) = xg(x)$. Then we wish to show that $g'(x) &gt; 0$ on $(0,\infty)$ and so since $f'(x) = xg'(x)+g(x)$ and $f''(x) = xg''(x)+2g'(x) &gt; 0$, we have $g''(x) &gt; \frac{-2g'(x)}{x}$. I am not sure how to use this though to prove the statement. The TweakUI powertoy for Windows XP had an option to auto-login. It stored your password and did the login for you. This was useful, since you kept password protection, but had login programs loaded when you first booted.  When you switched users or hibernated, it would still ask for a password, which is the desired behavior.  Is there a way of doing this in Windows 7? Creating polyline-based "heatmap" from GPS tracks? This winter I am planning to track my downhill skiing/snowboarding using a GPS.  Most of my riding will occur at the same resort.  I would like to be able to create a sort of "heatmap" that shows the amount of runs that I have made in a given area.  As I add more and more GPS traces to my database, my goal would be to see a sort of linear heatmap of the most traveled areas.  Given the nature of downhill skiing, you would expect the uphill chairlift lines will be the "hottest" because it will be the only places visited over-and-over again.  Given that 1) my track will not be the same every time and 2) the area covered by following one "run" may be a few hundred feet wide, what might be the best way to analyze this "linear" data to create a sort of heatmap?  My thoughts were to buffer the lines, then intersect the polys to get a sort of Venn Diagram thing going.  My preference is to use open-source technologies.  I've got QGIS and PostGIS loaded and available.  UPDATE: In regards to @blah238's response, I was thinking of something that might be able to "collect" the number of passes ("runs") through an area, and then symbolize by the count.  Conceptually, this would be similar to ArcGIS "" (but for lines, not points) or  (but for multiple line in roughly the same area).  A more visual example of a similar concept might be a traffic-flow map, where highly-congested areas would equate to "highly-traveled" ski runs/areas:    I've read the following questions that may give some ideas, but they don't really address what I am trying to accomplish: Where to get QGIS toolbar icons? Does anybody know where to download the QGIS toolbar icons? I'm writing a linguistics paper that uses a large amount of linguistic examples from a wide variety of languages, using the gb4e package. I want to be able to label each example with information about the language it comes from, as I've seen in some texts, sort of like this:   Language (family, citation, etc.)      (1) example text          glosses        'translation'    gb4e is great at formatting the examples themselves, but I can't seem to get the label placed where I want it, that is, placed immediately before the example and without an indent. Here's some example code:  \documentclass{article} \usepackage{gb4e} \usepackage{lipsum}  \begin{document} \lipsum[2]  Hungarian (Finn-Ugric, \emph{reference})   \begin{exe}   \ex \gll    J\'anos h\'aza\\               John house.his\\       \glt    `John's house'   \end{exe}  \lipsum[3] \end{document}   If the label text is outside the exe environment, it's treated like a regular paragraph, but if I try to put it inside, it gives me an error. How can I make it look the way I want? I've looked at other packages that do numbered examples, but they don't seem to have solutions either, and they also don't have the same functionality as gb4e that I need.  Any help would be greatly appreciated. The text of the  spell reads:      A flickering flame appears in your hand. The flame remains there for the duration and harms neither you nor your equipment. The flame sheds bright light in a 10-foot radius and dim light for an additional 10 feet. The spell ends if you dismiss it as an action or if you cast it again.   Emphasis mine. The druid in our party asked our DM if he is able to cast produce flame in a dark cave, then opt not to attack with it, and wield a shield and sword. The goal is to continue emitting light, since he doesn't have the light spell. He claims that since the flame does not harm his equipment, he is able to hold a shield or sword with the fiery hand with no problem.  Is this okay to do RAW, or are we missing something?  This is specifically not asking about casting spells with a sword in hand. He wants to draw his weapon after casting and holding the flames.  Related, but not the same question: , , . Best option to export more than 15 millions records from Salesforce? We have a requirement to export around 15 millions records.   Which option will be better Salesforce DataLoader or Jitterbit Cloud DataLoader or any other better option available.  Can we export around 15 millions or more records in one go ! is it possible ? will CSV file able to handle that many record if exported in one go.  Also can we do this using Report API wherein we can create a report and fetch reports data using API, is it advisable considering volume of data?  Please advise the best option to go with, for exporting large volume of records from Salesforce. Require v8 only contrib module with v9 patch I'm using an iPhone, but I would imagine it's the same for other mobile devices as well.  If you browse to any stack exchange site, you get a very well made mobile site.  The only gripe that I have is that I can't find any way to view the number of visitors to my questions?  Am I missing something or could this possibly be integrated into the mobile renderer? Global inbox message not updated after comment edit At the moment, I have the latest notification in the global inbox, content of which does not correspond either to the comment itself or the copy of it on "recent responses" page. This seems like the comment was edited and the updated version was not copied to the global inbox.    ETA: OK, now this looks more coherent. I'm sure this is a newbie question, but I can't figure this out. I have tried to follow the advice here:  and here:   But I can not seem to be able to generate any font change. I either get no change or error messages.  Here is the output of one failed attempt to change the font to Times using this command:  \rmfamily \renewcommand{\rmdefault}{ptm}     Apparently I either don't have a correct package installed or...  The output says " Metric (TFM) file not found." but I am not sure where to go from there. How do I transition to SSL without affecting PageRank? First time this happens to me.  When I try to edit , the title part is immediately erased:   And when I click cancel, the title becomes invisible:     Actually, the revision history is incomplete:   It shows that the question was asked after the comments:   That's highly likely a result of an edition of the history by a moderator.    Google Chrome 62.0.3202.94 (Official Build) (64-bit) on macOS 10.13.2 (17C88). How can I draw a horizontal line spanning only some of the table cells? In a table, how can I draw a horizontal line that goes only through some of the cells? I mean a line like the one in the Foo and in the Bar area of this table:  +----+-----+ |Foo |1 |2 | |    |1 |2 | |    +--+--+ |    |1 |2 | |    |1 |2 | +----+-----+ |Bar |1 |2 | |    |1 |2 | |    +--+--+ |    |1 |2 | |    |1 |2 | +----+--+--+ I washed and dried my passport by mistake, do I need a new one? Around two years ago I washed and dried my passport by mistake at the laundry room. My ID, my old US student visa and my stamps from european countries are still readable but the pages are not "flat" anymore and the front cover is kind of erasing (some parts of the Brazil symbol is gone).   In April I'll travel to US for a conference, I'll need to get a new US visa (B1/tourism visa) but I'm worried if my passport is not "good to go" anymore because it was "washed and dried". Apparently there is an electronic chip in it and I don't know if it is still working.  Should I get a new passport or can I save some money and time and use this one? It expires only in 2019. At the beginning of  we see that Logan (a.k.a. Wolverine) and Colonel William Stryker were working together by the end of the Vietnam War.   For 5 years after the war, he lives in Canada with a girlfriend. But in  we see that Logan was part of some gang at the end of the Vietnam War.   My question is which of these are X-Men movie canon?