Highlighting border of the row in listview
How to add border to listview and different row colors at the same time
If you get stuck in research, at what point in time should you ask for help? It's always worthwhile to take some time to try to figure it out by yourself. But eventually there's a point where you're unsure how much more time it would take to figure it out by yourself (which could take far longer than you originally think), and when asking for help could be more helpful.  So for analytical or computational research, what are some guidelines for when you should ask for help (from either your adviser, other grad students, or other researchers) when you get stuck? Show that for any prime $ p $, there are integers $ x $ and $ y $ such that $ p|(x^{2} + y^{2} + 1) $. So we obviously we want $ x^{2} + y^{2} + 1 \equiv 0 ~ (\text{mod} ~ p) $.  I haven’t learned much about quadratic congruences, so I don’t really know how to go forward. I suppose you can write it as $ x^{2} \equiv -1 - y^{2} ~ (\text{mod} ~ p) $, but again, I’m not sure where to go. I know about the Legendre symbol and quadratic residues, which I know are involved in this question, but I don’t know how to apply what I know. :( meaning of the word "in" in context It is from . It is at around 8 minute and 39 second. Here it goes:     Culinary cultural fusion is all the rage; more novels translated from languages then ever before, although few are read, and in the surest sign of cultural globalization, football, the world's game, finally has reached America.   I guess the sentence would make sense if the preposition in were dropped out. Could you please tell me what did the host use it for? Can the present perfect continuous construct be used in passive voice? Can the passive voice be used for sentences in the present perfect continuous?  I understand the present perfect and its passive voice (have/has built, has been built). However, the passive voice of present perfect continuous is unclear:   Active: They have been building this house for years. Passive: ???   I have seen suggestions of “This house has been being built for years,” but it sounds awkward and I don't recall anywhere else where two be verbs follow one another. Is this the right form to use? Lightning component : Get the id of a record In a lightning component I display a list of articles (Article__c custom object) so I ca see, for example, the name of the article, the price, and a button that I'd like redirect to another component which display the details of the article selected.   For now I'm just trying to get the id of the article, in a basic alert in javascript, but I doesn't work : it says the id is null.   Here is a part of the component :  &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt; &lt;aura:attribute name="wrappers" type="ListeArticlesWrapper" /&gt; &lt;aura:attribute name="articles" type="Article__c" /&gt;  &lt;aura:attribute name="Detail" type="String"/&gt; &lt;aura:registerEvent name="navigate" type="c:NavigateToDetail"/&gt;  &lt;div class="page"&gt;     &lt;h1&gt;Liste des articles&lt;/h1&gt;     &lt;div class="slds"&gt;         &lt;table class="slds-table slds-table--bordered slds-table--cell-buffer"&gt;             &lt;thead&gt;                 &lt;tr class="slds-text-heading--label"&gt;                     &lt;th scope="col" class="head"&gt;&lt;/th&gt;                     &lt;th scope="col" class="head"&gt;Nom&lt;/th&gt;                     &lt;th scope="col" class="head"&gt;Type&lt;/th&gt;                     &lt;th scope="col" class="head"&gt;Prix&lt;/th&gt;                     &lt;th scope="col" class="head"&gt;&lt;/th&gt;                 &lt;/tr&gt;             &lt;/thead&gt;             &lt;tbody&gt;                 &lt;aura:iteration items="{!v.wrappers}" var="wrap"&gt;                     &lt;tr&gt;                         &lt;td class="cell"&gt;                             &lt;ui:inputCheckbox value="{!wrap.selected}" /&gt;                         &lt;/td&gt;                         &lt;td class="cell"&gt;                            &lt;ui:outputText value="{!wrap.art.Name}" /&gt;                         &lt;/td&gt;                         &lt;td class="cell"&gt;                             &lt;ui:outputText value="{!wrap.art.Type__c}" /&gt;                         &lt;/td&gt;                         &lt;td class="cell"&gt;                             &lt;ui:outputText value="{!wrap.art.Prix__c}" /&gt;                         &lt;/td&gt;                         &lt;td class="cell"&gt;                             &lt;button class="slds-button slds-button--neutral slds-not-selected"                                      onclick="{!c.getDetail}" data="{!wrap.art.Id}"&gt;Details&lt;/button&gt;                         &lt;/td&gt;                     &lt;/tr&gt;                 &lt;/aura:iteration&gt;             &lt;/tbody&gt;         &lt;/table&gt;   The associated controller js (with the function getDetail)  ({ doInit : function(component, event, helper) {     helper.init(component, event); },  getArticles : function(component, event, helper) {     helper.getArticles(component, event); },  getDetail : function(component, event, helper){     var id = event.target.getAttribute("data-data") || event.target.parentNode.getAttribute("data-data")     alert('detail article : id = ' + id); //it gives me null } })   Thanks !  EDIT  And the wrapper class in case you wonder what is the "art" :  public with sharing class ListeArticlesWrapper { //wrapper pour récupérer les articles selectionnés @AuraEnabled public Article__c art {get; set;}  @AuraEnabled public Boolean selected {get; set;} } Showing that $\frac{\sqrt[n]{n!}}{n}$ $\rightarrow \frac{1}{e}$ Should I load an entire html page with AJAX? Commuting: How to carry office clothing so it doesn't get crushed? I have the bike, I have the best route; but now I want to know, how do I transport my clothing in each day? I typically wear suit pants and a business shirt, but not a suit jacket.   Am I better off leaving my clothes at work, or is there a special bag that would let me carry in shirt/pants without them getting crushed? Immutability, Association and typing (Built-in) way in JavaScript to check if a string is a valid number Which Wifi Channel should I use? Very confused.  I'm using inSSiDer, WiFi Overview 360 and Wifi Analyzer apps to try to determine the best wifi channel to use. Assuming all channels are in use and there are about 20 different users in close proximity...  Q1: Signal Strength    If all channels are in equal use, do you select a channel where others that use it have the lowest signal strength?  I'm guessing that a higher signal strength means that it's from a router from your closest neighbour and you want to avoid that.  Is that the case?  Does lower signal strength mean the person using it is further away and therefore less likely to interfere with your signal? If 2 people are on channel 1 and have high signal strength and 2 people are on channel 11 and have low signal strength, do you choose channel 11?  Assume 6 cannot be used.    Q2: Signal Strength Weighted Against Number of People    What is the impact of signal strength compared to number of people using channel?  If 1 person is on channel 1 with very high signal strength and 2 people are on channel 11 with low signal strength, do you choose channel 11 over 1?  Assume 6 cannot be used?    Q3: Channel Overlap    If, for example, I had 11 routers sitting on top of each other, each set to a different channel, I'm guessing channel 1 and 11 would be the least interferred.  Is that right?  People go on about the fact that only channel 1, 6 or 11 should be used (in US) as they don't overlap but surely that statement is wrong.  Yes, if only 3 people were using Wifi, the best channels to use would be 1, 6 and 11 as they don't overlap but in practice, there are about 20 people using the channels in the same area.  What do you do in that scenerio.  Do you go for the shoulder channels if all channels are being used equally with equal strength?    Q4: Auto Channel Select    Do routers set to auto channel select only choose between 1, 6 and 11?  How do they make the choice?  Do they select by choosing channel with lowest other routers and do they factor in signal strengths.  My router auto chooses channel 1 but my closest neighbour is on that channel.  Is that correct.      Q5: Baby Monitors and Wireless Phones    What channels do 2.4 GHz baby monitors and wireless phones use?  No useful info on the internet for them.  Do inSSiDer, etc. pick them up?    Q6: I have access to channel 13.  All other things being equal, am I better to use this over channel 11 as it is further away from the other channels?    Those questions have puzzled me for a number of years and Google is not helping!!  Would really be grateful if someone could give sensible answers to one or all of them.  Thanks, Mike. Intraclass correlation coefficient vs. F-test (one-way ANOVA)? Experimental observation of matter/antimatter in the universe AppleScript to read all notifications in the Notification Center OSX 10.10 Yosemite It seems like the following AppleScript is no longer working in the latest version of the OS X 10.10 (Yosemite): on run     tell application &quot;System Events&quot;         tell process &quot;Notification Center&quot;             set theseWindows to every window             display notification (count of theseWindows)         end tell     end tell end run  This were supposed to get all notifications listed in the Notification Center. However, the count attribute always returns 0. Does anyone know how to retrieve all notifications in the Notification Center different than the script above? When I write C++ code for a class using templates and split the code between a source (CPP) file and a header (H) file, I get a whole lot of "unresolved external symbol" errors when it comes to linking the final executible, despite the object file being correctly built and included in the linking.  What's happening here, and how can I fix it? Is there a specific reason that the number of views is not included as a feature on the mobile version?  I understand there are certain features which are better to be viewed on desktop rather than on a mobile device.  However, the number of views for a question, which is shown along with the topic title on left on the desktop browser shouldn't be much resource consuming to be displayed on the mobile browsers too.  Is it specific to the desktop/mobile browser or is it a feature which is not at all included for mobile browsers.  I am only talking about mobile version and not the mobile application. What should I do to avoid ear pain when flying? Efficient way to check collision with potentially hundreds of objects I am trying to make a top down shooter that could potentially have hundreds of objects at once at one point. I need to check collision with projectiles, walls, and enemies. I am currently using ArrayLists which probably won't suffice later on and was wondering if someone had a good method or knows a good method for checking all of those objects at once. This is going to be a game for smartphones and is built in java. Any ideas would be great or if you could point me in some direction that would be fantastic.  Thanks in advance! Finding the limit $\displaystyle\lim_{x\to 0+} \left(\frac{\sin x}x\right)^{1/{x^2}}$ Find the following limit: $$\displaystyle\lim_{x\to 0+} \left(\frac{\sin x}x\right)^{1/{x^2}}$$   Well I tried to do the $\exp\left(\frac{ \ln\frac{\sin x}{x}}{x^2}\right)$ then apply LHR but I seem to get to endless dervivations...   There's got to be a more simple approach. The following is a well-known result in functional analysis:     If the vector space $X$ is finite dimensional, all norms are equivalent.     Here is the standard proof in one textbook. First, pick a norm for $X$, say  $$\|x\|_1=\sum_{i=1}^n|\alpha_i|$$ where $x=\sum_{i=1}^n\alpha_ix_i$, and $(x_i)_{i=1}^n$ is a basis for $X$. Then show that every norm for $X$ is equivalent to $\|\cdot\|_1$, i.e.,  $$c\|x\|\leq\|x\|_1\leq C\|x\|.$$ For the first inequality, one can easily get $c$ by triangle inequality for the norm. For the second inequality, instead of constructing $C$, the  is applied to construct a contradiction.   The strategies for proving these two inequalities are so different. Here is my question,      Can one prove this theorem without Bolzano-Weierstrass theorem?   UPDATE:     Is the converse of the theorem true? In other words, if all norms for a vector space $X$ are equivalent, then can one conclude that $X$ is of finite dimension?