I am adding sort option to column in my table view controller based on touching the header. Do you think the best solution is adding images to my project and using them for upside/downside arrows?
I have to maintain a large number of classic ASP pages, many of which have tabular data with no sort capabilities at all. Whatever order the original developer used in the database query is what you're stuck with.  I want to to tack on some basic sorting to a bunch of these pages, and I'm doing it all client side with javascript. I already have the basic script done to sort a given table on a given column in a given direction, and it works well as long as the table is limited by certain conventions we follow here.    What I want to do for the UI is just indicate sort direction with the caret character ( ^ ) and ... what?  Is there a special character that is the direct opposite of a caret?  The letter v won't quite cut it.  Alternatively, is there another character pairing I can use?
Java generics T vs Object Why does space expansion not expand matter? 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. Detecting outliers using standard deviations Following my question , I am wondering if there are strong views for or against the use of standard deviation to detect outliers (e.g. any datapoint that is more than 2 standard deviation is an outlier).  I know this is dependent on the context of the study, for instance a data point, 48kg, will certainly be an outlier in a study of babies' weight but not in a study of adults' weight.  Outliers are the result of a number of factors such as data entry mistakes. In my case, these processes are robust.   I guess the question I am asking is: Is using standard deviation a sound method for detecting outliers? Please let me know how to remove certain repositories in Ubuntu 11.04. I am getting the following errors while updating.  sudo apt-get update  Err http://ppa.launchpad.net natty/main Sources                                      404  Not Found Err http://ppa.launchpad.net natty/main i386 Packages                                404  Not Found ......  E: Some index files failed to download. They have been ignored, or old ones used instead. Ubuntu 14.04, problem when install gstreamer1.0-libav, unmet dependencies Suddenly my Ubuntu stopped playing video. When I open a video, the player suggests that I install  gstreamer1.0-libav. However, it fails to install.  I tried installing it manually, here is the error message:  $ sudo apt-get install gstreamer1.0-libav Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  gstreamer1.0-libav : Depends: libavcodec54 (&gt;= 6:9.1-1) but it is not going to be installed or                                libavcodec-extra-54 (&gt;= 6:9.13) but it is not going to be installed                       Depends: libavformat54 (&gt;= 6:9.1-1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. How do you show that $e^{-1/x^2}$ is differentiable at $0$? Define the real valued function $f(x)$ by $f(x) = e^{-1/x^2}$ if $x \ne 0$ and $0$ if $x = 0$.    How do you show that $e^{-1/x^2}$ is differentiable at $0$? How do you show that this function is infinitely differentiable? Is the genderless pronoun "they" appropriate and grammatical for a non-binary gender? I recently had somebody tell me that a mutual friend of ours who is  prefers that people refer to him/her using the gender-indefinite pronoun they.   In some cases, this almost seems okay:   Kris left their umbrella at our house.  On the other hand, if Kris is sitting right next to you, it feels very odd to say       They (meaning just Kris) would like more cake.   Or even odder,      Kris would like some more cake, can you please pass it to they/them?"   Are these usages grammatically correct? Are they in the process of becoming grammatically correct? Are there more correct alternatives? Why is the time limit for editing comments 5 minutes? What is the reasoning behind this? Is it possible to schedule my laptop to mute and unmute at a specific time? I always used to wake up to my favorite radio station on my alarm clock. However, I have moved and can no longer get that radio station over the air. To solve this problem, I would like to stream the station on my laptop, but have it muted overnight, then set it to unmute at a specific time in the morning, so that it will act as an alarm clock. Is there a way to schedule my laptop (Windows 7 64-bit) to unmute at a specific time? Interpretation of interaction term I have a model: $$ \ln({\rm earnings}) = a+b_1{\rm female}+b_2{\rm white}+b_3{\rm female}\times{\rm white} $$ ${\rm female}$ and ${\rm white}$ are dummy variables.  I have interpreted $b_1$ and $b_2$:    $b_1$ = change in female earnings comparing to male given you are non white $b_2$ = change in white earnings comparing to non white given you are male   But I am unable to interpret the coefficient of the interaction term ($b_3$). Please help me with this.  Let me make it more clear what I need out of this regression $$ \ln({\rm earnings}) = 2.618656-.0899657{\rm female}+.382019{\rm white}-.2754126 {\rm female}\times{\rm white} $$ Now i know there is gender pay difference with b1, i also know there is race pay difference with b2. Now with b3 i need to know is their a gender pay gap for whites only. How can i figure that out with regression above and without test. I have this problem as part of a school assignment:  NOTE: In case it's hard to read in the image above, here's the directory tree: $ tree . `-- sample_dir1     `-- sample_dir         |-- admin         |-- cambridge         |   |-- cafeteria         |   |-- library         |   `-- security         |       |-- annex         |       |-- building         |       `-- parking         |-- faculty         |-- history.exe         |-- markham         |   |-- annex         |   |-- building1         |   `-- parking         |-- oxford         |   |-- outline.doc         |   |-- programming         |   |   `-- report.pdf         |   `-- security         `-- stenton             |-- gen_ed             `-- lib_arts                 |-- english.txt                 `-- match.doc  15 directories, 11 files  I tried doing the command: $ cp ../cambridge/security/parking ./parking2  ...but it isn't working. The question in the image above states that the current directory is stenton, and that we need to make a copy of the file named parking (from the security directory), and to name the new file parking2, and place it in the current directory, stenton, using relative pathnames. What am I doing wrong? My cp command seems to be correct. iOS App stuck in 'Loading...' I tried downloading Tumblr yesterday but it never completed. At the moment I have an App icon stuck at 'Loading...'.  I have tried restarting the iPhone (holding down both home and side buttons at the same time) and I have also tried shutting down the iPhone (holding the side button and swiping).  I have also tried deleting it as usual (holding the icon down and choosing delete but it doesn't go away).  Any ideas on what I can do to get rid of this icon? So, let's take Skeptics.SE for an example. You can become a trusted user when you acquire 4000 rep., not 20000  I was like, wow, so is it like this because of the lack of users on Skeptics.Se, as in, not so much as Stack Overflow or something?  Why do some sites need less reputation to be a trusted user? Page to Run Classes I have a urgent requirement to make a page in which list of all classes be there with the check box embedded and having button Run. If i select one or more than one classes and click on run button(Run Test) the test class associate with the particular class should run. please help me out of this requirement.  PageLayout I saw many saying that the latest version of Ubuntu 16.04 includes an opensource driver for ATI. I have an HP laptop with AMD 6770m + Intel HD 3000 hybrid graphics and wants to install Kubuntu on it. I created a bootable USB drive of Kubuntu 16.04 and booted from it just to check everything works perfectly (I don't want to install it separately and ruin bootloader as of now). But my laptop is getting too hot and the battery is not lasting for more than 30 mins. Also the brightness control is not working at all and it stays high always.   How can I get hybrid graphics on Kubuntu/Ubuntu working well? I am ready to turn off the ATI card since I am not going to play any games on Linux. I just need the Intel graphics + Cool Laptop + Good battery Life + Brightness control.  My BIOS setting for switchable graphics mode is FIXED. Do I need to change it to DYNAMIC?  UPDATE  I wasn't able to make things work in 16.04 so installed 14.04 LTS along with the AMD Catalyst driver. Now everything works perfectly fine. Below are the steps.   Clean install Ubuntu 14.04 LTS Install the fglrx catalyst drivers using “Additional Drivers” window. This will enable us to switch graphics Restart Ubuntu FAN Noise Fix - Refer this  and install i8kutils Brightness Control - Check this     is the official documentation for AMD/Intel hybrid graphics In mathematics, "A or B" includes "A and B". Does "either" mean "A or B but not (A and B)" or does it include the possibility of "A and B"? The context might be mathematics, formal logic or ordinary language. How do I tell if ACR will work with my camera and how do I get the correct version for Photoshop? I need a quick algorithm to select 5 random elements from a generic list. For example, I'd like to get 5 random elements from a List&lt;string&gt;. can't find using System.Web.UI.HtmlControls namespace I am looking for a YA book about a boy who learns to use powers from a mind-adept, in a seemingly abandoned house. The adept helps him open his mind by using a cube. One of his powers, I believe, is to go into dreams of people that  he knows. He helps his young female neighbor friend by doing this, opening a door in her mind. He tries to open the mind-door of a local older bully, but finds out the young man can't be helped because he has been abused mentally and physically. I don't believe the book I read is past 1995. It might have the word "adept" in it.