I'm a (proud) owner of a 5 year old running app for iOS &amp; Android. The app is to train both beginners and experienced runners with training schedules (30 lessons in 10 weeks). When do you think it's the best time to ask a user for a review?   After landing on the dashboard X times After completing a run X times and viewing their stats (not my favo)  After completing a training schedule (+/- 10 weeks of running) After viewing total stats / last runs When viewing the achievements   My opinion: After completing 2 weeks of training, after closing my current training and landing on the Dashboard.  And: What 'popup' message would you recommend?  "How is training going with X?" "I am satisfied" / "Can do better".  [EDIT] Why this isn't a duplicate of : The usage of an sport app differs from other apps like games or news related apps. As you actively use the app during your excise you want as little information before, during, and after training. This means a different way of interacting and asking for a review.
Fig.1: A typical prompt, asking user for feedback/rating in iOS Background Any serious smartphone users must have seen a message similar to Fig.1 above at least once. Variations of such prompt include: &quot;Please give us 5 star ratings if you love this app!&quot;, &quot;Rate us :)&quot;, &quot;Your rating helps improve this app!&quot;, etc. Basically, Fig.1 asks user to leave a (nice) feedback/rating for the app on its AppStore(or equivalents).  The Shorter Question  When and how often should a mobile app user be asked to leave a feedback/ratings?   The Longer Question #1. Which User-statistics? What are the significant user's behavioral statistics that should be based on to generate Fig.1? For example:  Number of runs since install/reinstall of the application Time elapsed since current application run Time elapsed since first application run Time elapsed since first application install Certain events (e.g. after certain number of stages are cleared for a game app)  #2. When to Ask? If multiple user-statistics are chosen to be calculated to generate Fig.1, specifically how should the user-statistics satisfy the condition of the event? For example:  Form a unified equation (e.g. X^2+Y^2=Z^2) with all significant user-statistics partaken fairly to trigger the event. Create (multiple of) &quot;absolute&quot; event triggers (e.g. every 10th app run; elapsing 2 hours since current application run). Both of the two. Generate Fig.1 whichever comes true first. Neither of the two. &quot;There's a better way!&quot;  #3. How often? What would be the optimal min/max frequency of Fig.1 generation? By optimal, I mean users are not to be bothered too much, yet developers gain maximum output of great feedbacks from users? #4. &quot;Don't bother me again :(&quot; Should users have an option to opt-out from receiving Fig.1 at all? #5. Universal User-statistics for All Mobile Apps? Should apps under different categories be based on different user-statistics? There are significant differences in size and type of user-statistics in apps under different categories. For example, a &quot;Flashlight&quot; app is not typically run for one hour straight, while a music/movie streaming app may be run for over one hour. #6. &quot;This app does not need more feedback.&quot; Should every app of all kinds of user base ask this message? If any, should any mobile app stop generating Fig.1 when target conditions are met (e.g. downloads count, active user count, feedback count)? #7. Feedback/Rating Before Deletion Should users be asked to leave a feedback before deleting as seen in Fig.2 below? Users are more likely to leave very critical review on app deletion, but this kind of feedback will be very helpful for the developers to strengthen their app's weakness for next version release.                                                                                                 Fig.2: Asking user for rating before app deletion
Free UML drawing library for .NET Is it possible to load a TikZ library locally? Automatically switch gpu graphics driver when gaming I have installed Ubuntu GNOME 15.10. I installed the nvidia tested proprietary driver and then I restarted. Afterr that I selected as primary GPU the Intel driver for normal use. However, when I enter a steam game(Portal) the graphics is bad so In order to play normal I have to switch manually to the nvidia driver again and reboot again. After the game I have to manually select as primary driver the Intel one and reboot again. It is so boring. QUESTION: How to automatically switch gpu graphics driver when I enter a game or something that needs more GPU? How to get status start_date and end_date from status_track table? I have two tables:   things:  +------+----------------+------------+ | id   | current_status | created_at | +------+----------------+------------+ | 7770 | active         | 2016-08-09 | +------+----------------+------------+  thing_status_tract:  +----------+-------------+-----------+---------------------+ | thing_id | status_from | status_to | changed_at          | +----------+-------------+-----------+---------------------+ |     7770 | incomplete  | inactive  | 2016-08-09 16:26:22 | |     7770 | inactive    | active    | 2016-08-10 12:31:04 | +----------+-------------+-----------+---------------------+    I need data in the following form. This table has a status and its corresponding start and end timestamp for a particular thing_id:  +----------+-------------+---------------------+---------------------+ | thing_id | status      | status_start_date   | status_end_date     | +----------+-------------+---------------------+---------------------+ |     7770 | incomplete  | 2016-08-09 00:00:00 | 2016-08-09 16:26:22 | |     7770 | inactive    | 2016-08-09 16:26:22 | 2016-08-10 12:31:04 | |     7770 | active      | 2016-08-10 12:31:04 | now()               | +----------+-------------+---------------------+---------------------+   How to do that with a SQL query? Is it possible to include the tag-wiki associations in the Data Explorer? To do this would require two additional columns in the postTags table that associate a tag wiki excerpt and a tag wiki to their tag.  The tag wiki data is already available in the posts table. But there is no way to associate this data with its tags. The SEDE schema lacks the required columns to link the tag excerpt and the tag wiki to the tags table.  Additionally, the postTypes table only lists three posts types. It makes no mention of tag-wiki and tag excerpt posts. Perhaps the postypes table can be updated to reflect the additional post types? Blender is saving as a blend1 file, not blend I teach Blender to classes of game design students in the University of California and a student came to me yesterday with a problem I haven't seen before. She's created a very simple file, but when it's saved Blender puts a .blend1 extension on it every time, not the normal .blend. This means that after it's saved twice there are two .blend1 files in the directory, and no .blend file. I have no idea why this is happening. What has she done? Anyone seen this before?  thanks - Chris Are Windows file timestamps timezone aware? I am unit testing a .NET application (.exe) that uses an app.config file to load configuration properties.  The unit test application itself does not have an app.config file.    When I try to unit test a method that utilizes any of the configuration properties, they return null.  I'm assuming this is because the unit test application is not going to load in the target application's app.config.  Is there a way to override this or do I have to write a script to copy the contents of the target app.config to a local app.config?     post kind-of asks this question but the author is really looking at it from a different angle than I am.  EDIT: I should mention that I'm using VS08 Team System for my unit tests. I need a robust and simple way to remove illegal path and file characters from a simple string. I've used the below code but it doesn't seem to do anything, what am I missing?  using System; using System.IO;  namespace ConsoleApplication1 {     class Program     {         static void Main(string[] args)         {             string illegal = "\"M&lt;&gt;\"\\a/ry/ h**ad:&gt;&gt; a\\/:*?\"&lt;&gt;| li*tt|le|| la\"mb.?";              illegal = illegal.Trim(Path.GetInvalidFileNameChars());             illegal = illegal.Trim(Path.GetInvalidPathChars());              Console.WriteLine(illegal);             Console.ReadLine();         }     } } Big O, how do you calculate/approximate it? For example, rigid bodies and fluid. I know it's kind of possible by setting the rigid bodies as fluid obstacles, but it's not "true" interaction in that the fluid does not affect the rigid bodies...  By "true" interaction I mean where two (or more) physics systems affect each other simultaneously. For example, with rigid body and cloth, the rigid body affects the cloth but the cloth doesn't affect the rigid body (at least the way I'm doing it), so the rigid body just eventually stretches the cloth to an extreme and falls through...  Are there any ways to achieve this? (for any interaction, not just rigid bodies and fluid)  Or, if not, does anyone know whether there are any plans to implement this sort of feature?  Thanks Basic Web Development IDE/Editor like Dreamweaver? I've used Windows for many years, using Dreamweaver as my editor as it had a file tree which is based on a project (via Local, FTP or SFTP).  I need a web development IDE with the following functionality:   syntax highlighting for PHP, HTML, CSS, JavaScript  file tree - Local, FTP, SFTP, Project-Based (e.g. via the methods of Local/FTP/SFTP) in other words, like Dreamweaver can open multiple files (tabbed)   Additionally, I wouldn't mind features like debugging, class listings, etc, as long as I can hide them away. The general consensus is that the single best indicator of a fund's future performance is the its expense ratio . If you look for more than 5 minutes online you discover the  approach to investing; the , etc. It looks like the less you pay for a fund (and therefore the less it's managed), the better it does in the long run.  So why is it that in peoples' 401(k)s there are so many high-cost actively managed funds? Furthermore, why are there so many high-cost actively managed funds in the first place? Shouldn't the market reflect the fact that actively-managed funds typically don't beat the index they benchmark to and and react by purging itself of these crappy funds? What does “{} \;” mean in find (in Linux)? Sometimes I see a command like  find . -name * -exec ls -a {} \;   I was asked to execute this.  What does {} \; mean here? How to pin Eclipse to the Unity launcher? I am a little bit confused by early stopping and in particular by how it can be inserted inside a CV framework. As far as I understand, I can fix the optimal number of epochs (for NN, or number of trees for XGB) by early stopping, that is:   pick a validation set, train with increasing number of epochs until a predefined metric evaluated on the validation set starts worsening that is the optimal number of epochs to prevent overfitting   and that's fine. But then I would like to insert this early stopping framework inside a CV framework: Suppose I have a model with 10 hyperparameters I want to fix via CV. And suppose that there is an eleventh hyperparameter, the number of epochs. My feeling is that one can do like this:   create the K resampled folds, for each of which you have a training and validation set choose a suitable grid for your 10 hyperparameters for each point on the grid train your model in each fold with early stopping, that is use the validation set of the fold to keep track of the preferred metric and stop when it gets worse take the mean of the K validation metric choose the point of the grid (i.e. the set of hyperparameters) that gives the best metric   Questions:   What number of epochs should I choose as optimal? in each of the K folds I have, in general, a different number of stopping epochs.  seems to suggest they take the mean of the K stopping epochs. Is this right? Is it actually a "fair" practice to use the validation metric coming from the early stopping as a proxy of the out-of-sample metric? As  in section 3.4.5, maybe the best thing to do would be:     ...if you want to do early stopping, then in each fold you should take your training set and split it again, holding out a small early-stopping-set to guide the early stopping, and then evaluate the model on the validation set of that fold.   But this seems to me a really intricate process...   Unfortunately, I wasn't able to find references where this issue is presented in a clear and transparent form. How to create a GUID / UUID I'm trying to create globally-unique identifiers in JavaScript.  I'm not sure what routines are available on all browsers, how &quot;random&quot; and seeded the built-in random number generator is, etc. The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble when passing them around. Can I write the output the of time difference command to a file? What does "$$" mean in the shell? How do humans dominate the Federation in Star Trek?