How to see reason for close votes in advance? How the user can see the reason to close his/her question before it has enough votes to be closed? All I see is close(2/3/4), but if I would know the reason in advance I could improve a question.
Why can't we see the selected reasons when there are pending close votes for a question? When users vote to close a question, the original poster can't see the selected reason why until after the question is already closed.  If they could see this information, they might be able to edit the question to make it more acceptable and averting the need to close it.  For example, the owner of this  cannot see the reason why his question is being voted to close:
How can I include custom post types on a tag page? I'm using custom post types, but they don't appear on tag pages along with regular posts and i'd like to include both standard and custom post types on tag or category pages. What would be required before the loop to include all posts? (including custom type). Updated: To add, I found this code , which worked perfectly for the first part: add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) {   if ( is_category() || is_tag() &amp;&amp; empty( $query-&gt;query_vars['suppress_filters'] ) ) {     $post_type = get_query_var('post_type');     if($post_type)         $post_type = $post_type;     else         $post_type = array('post','cpt'); // replace cpt to your custom post type     $query-&gt;set('post_type',$post_type);     return $query;     } }  Second question still remains though: Is there a way to allow readers to filter by post type? So either of the following would work..  example.com/tag/blue?post_type=custom example.com/tag/blue?post_type=post Creating "Inner Buffer" using ArcGIS for Desktop? I am currently searching for how to create an "Inner Buffer" in ArcGIS for Desktop?  I have a lot of polygons (houses) in one feature class, and one big polygon (in another feature class).   I want so select all houses contained in that one big polygon within a distance to the outer border (e.g. 1000 meters).  Select Layer By Location could be one possibility to solve this but I can't figure out how. What do you call exaggerations like "I'm starving"? For example, when you are a little hungry and you say "I'm starving", or when you are so tired and you say "I'm dying". What do you call these type of expressions? Just exaggerations? I don't know how to explain this better. Where is the open source project for the WMD editor used on this site? How do I reset an old iPod? My daughter gave her little brother her iPod Touch 8g. I have been trying to update the software and would like to get it rest to a factory clean state so I can linked it to the iTunes that already syncs to his iPad.   How can I do a clean up and wipe of everything from an iPod? Calculating grid convergence (True North to Grid North) I would like to know how to calculate the grid convergence angle between True North and Grid North for UTM maps. I am using ArcGIS 10.0 (ArcView licence). and have used the  tool from the Cartography toolbox. However, I would like to know how to calculate this angle myself (using Excel) to compare against the ArcGIS result? Can someone tell me how to get a closed form for  $$\sum_{k=1}^n k^p$$  For $p = 1$, it's just the classic $\frac{n(n+1)}2$.   What is it for $p &gt; 1$? Apache answer both HTTP and HTTPS on the same port I've been studying about the command line and learned that | (pipeline) is meant to redirect the output from a command to the input of another one. So why does the command ls | file doesn't work?  file input is one of more filenames, like file filename1 filename2  ls output is a list of directories and files on a folder, so I thought ls | file was supposed to show the file type of every file on a folder.  When I use it however, the output is:      Usage: file [-bcEhikLlNnprsvz0] [--apple] [--mime-encoding] [--mime-type]         [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ...     file -C [-m magicfiles]     file [--help]   As there was some error with the usage of the file command Where are all the major log files located? Is sudo required for installing VMware Tools? I'm trying to install VMware Tools in Ubuntu 16.04. Should I do this by using sudo? Why? How to view and export database content? I'm trying to view the actual entries, not the backend identifiers.  &gt; db.&lt;collection&gt;.find({"_id": "486b4ca55b144b119f4551417c5798c8"}).pretty()  {     "_id" : "486b4ca55b144b119f4551417c5798c8",     "date" : ISODate("2017-04-20T05:47:06.176Z"),     "content" : ObjectId("58f84b5a0318762cb6e230a6"),     "digest" : "d064a874c872d75f6ab67c04d8b79b26f65f9b4f",     "short" : "5f9b4f",     "size" : 2374694 }   Also tried mongoexport:  $ mongoexport --host 127.0.0.1 --port &lt;port&gt; -o test --pretty --db &lt;database&gt; --collection &lt;collection&gt;   This also shows backend data. I just want to see what was uploaded to the database. The actual content itself. Four balls with different colors in a box, how many times do I need to pick to see all four colors? How do I split a string, breaking at a particular character? Why should I "watch" a nearby Pokémon? Openlayers using Google Maps as base layer: possible to zoom out farther than max extent? See attached picture. This is how it is when the page loads. I'm currently using  map.zoomToMaxExtent();     Everything is working pretty well but I'd like to zoom out more/see the whole world using OSM/Google Map Layers: is this even possible?  Note that the zoom bar on the left is set to the lowest bar when the page loads (if you can't see the map well, just right click the image and paste into a new browser tab).   This  but even when I do MIN_ZOOM_LEVEL that doesn't do much.  Also note I am not setting any bounds, extents, or resolutions. Toying with those did not seem to do the trick either.   Any input is appreciated.   Edit: here's a codeshare if you want to take a look:   UPDATE:  This is not perfected yet (and it makes me think something may be wrong with my OL code itself) but currently I am using this   var extent = new OpenLayers.Bounds(-1.32,81.71,-1.18,-61.80).transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:3857"));   I tried   var extent = new OpenLayers.Bounds(-20037508.34279,-10018754.17139,20037508.34279,10018754.17139);   (both with and without transform) but this did not do anything.   UPDATE 2:   wrapDateLine: false works fine for now: can zoom out farther, pan around, etc etc.  Now I would like to cut off everything to the left of the date line on the left side of the map (the 'first' portion), and cut off everything to the right of the date line on the right side of the map (the '3rd' portion) WHILE still keeping the map full screen. I've tried bounds, resolutions, but no go. Is this even feasible?  Something like this but it should take up the full screen: possible to do? See below: How can I prove that the set of all functions from $\mathbb{N} \to \{0, 1\}$ is uncountable?  Edit:  This answer came to mind.  Is it correct?  This answer just came to mind.  By contradiction suppose the set is $\{f_n\}_{n \in \mathbb{N}}$.  Define the function $f: \mathbb{N} \to \{0,1\}$ by $f(n) \ne f_n(n)$.  Then $f \notin\{f_n\}_{n \in \mathbb{N}}$. I've got a simple Leaflet map with a basemap and one map-layer coming from my own hosted GeoServer.  I made the layers show up nicely in a map.  Now I want to add popups on the point layer showing information stored in MapService.  I couldn't find too much information about that topic.   There's one link to a working example but the link seems to be broken. I found another example which I addopted. You can see it on . I'd like to display the content of the name field in the attribute table but nothing happens when the user clicks the map.  Any idea? Bootstrap with Salesforce I am trying to create a simple page using Bootstrap within salesforce. I need this page to have the standard salesforce header and sidebar.  When I use the standard bootstrap library via a CDN and the page is affecting all the CSS styling for my standard salesforce headers and side bars. Any help on how to prevent this ? This was working perfectly on 17.10 but after upgrading to 18.04 yesterday, when the lid is closed the screen turns off but doesn't suspend properly.  I travel around a lot and immediately noticed the heat (and battery draining) when taking it out of the travel case.  I've tried uncommenting these lines in /etc/systemd/logind.conf  HandleLidSwitch=suspend HandleLidSwitchDocked=suspend   and restarted but didn't make any difference.