I'm starting to write a book on . Since I've been contributing on this tag for a long time, I had the opportunity to read &amp; answer several interesting threads on Stackoverflow related to this technology.  I would like to discuss some of the interesting cases published on Stackoverflow in my book, and I wonder if I could use the images and code shared on those threads in it.  I'm hoping somebody from StackExchange could clarify about the copyright status of the material shared on Stackoverflow questions/answers.
I just found http://programmingfaq.w3ec.com/faq/4761/whats-the-hi-lo-algorithm which has an exact copy of this Stack Overflow question, , with all its answers and no difference in a single character. There is no reference to Stack Overflow.  Is this legal, or at least tolerated? Is this impertinent theft of information? I just can't see any sense in copying whole pages, particularly when not referencing the source.
I'm using a PIN code to log on my computer. However, Num ⇩ is always turned off, even if on before shutting down my computer. This is quite annoying as I always have to retype my PIN.  I've tried the suggestions  (same as ). But with no result. If I don't enable num lock on log in screen and use the numbers above the normal keys, num lock turns on after log on. Then it's too late, unfortunately.  So, how can I make num lock enabled by default when logging in? Thanks.  Edit: While I still want to solve this, I've figured it is not such a big problem. I will need to press some key for the "enter PIN screen" to show, and using Num ⇩ works and enables num lock. But then, still annoying if the computer was only locked (with num lock on) and I turn it off, hehe. How can I count unique selections from multiple selections in a drop down list (Excel) I would like to count the number of unique selections from a column that contains multiple selections from a drop down list.  For example, column B3 contains,     Monday, Tuesday, Wednesday   The count function returns a value of 1 instead of 3 - is there any way to count the three days distinctly? Thank you!  Multiple selections from a drop down list was made possible using the VBA code from: Opening the menu and selecting an item from the "Favorite Sites" menu allows us to see a feed for a specific site. In the top right corner of this page is a drop-down which allows us to select the "sort order" for the posts. The default is "Active" with other options like "Newest", "Hot", etc.  The problem is that when I select "Newest" or any other option. This preference is not remembered when I change between a different "Favorite Site".  So I am requesting that the selection is persisted when changing between site feeds. I have no preference whether this is implemented per site (to allow a different default for each site) or just one single preferred default that works on all sites (last option selected). I just want it to remember that I have selected "Newest" when I am flicking though the sites. Problems with macOS path on Synology NAS (SMB) I am having issues with macOS where, after mounting a drive it will mount new drives instead of just jumping to the sub-folder path within the mounted drive.   For example, I'm seeing where I send someone a path for in the "Video" drive on a Synology (smb://HAL9000/Video).  Instead of mounting the "Video" drive (smb://HAL9000/Video) and going to a sub-folder within the video drive labeled "GoPro -IMPORT", it will create a new drive on their desktop labeled "GoPro - IMPORT".    If I create a new sub-folder within "GoPro - IMPORT" and send them a link to that like (smb://HAL9000/Video/GoPro%20-%20IMPORT/Test), instead of taking to the sub-folder in the "Video" drive that they already have mounted on their desktop, it will create an entirely new drive labeled "Test" on their desktop.    I've tried reaching out to both Apple and Synology and had no luck with this.  I would appreciate any kind of help/support. When should I use # and = in ASP.NET controls? I have been using ASP.NET for years, but I can never remember when using the # and = are appropriate.  For example:  &lt;%= Grid.ClientID %&gt;   or  &lt;%# Eval("FullName")%&gt;   Can someone explain when each should be used so I can keep it straight in my mind? Is # only used in controls that support databinding? ecommerce item deleted by user, 301 redirect to HOME PAGE or 404 not found? Why didn't the Hobbits get frostbite? Open program/windows on specific monitor Is there a way to tell Windows on which monitor it should open a windows  independently of where it was closed? Why does camera this tracking fail completely even when the solution value is very low? The attached animated gif shows some frames of a video with a mesh box placed at each tracking marker used to successfully track (solution error &lt;.4) an 800 frame chunk of video.   The point is to illustrate just how poorly the camera tracker calculated: when the box is at a marker placed at the top of a faraway building on the left, it is actually visually much larger than when it is at the tracking marker closest to where the real camera was. I went to great lengths to be sure that the camera's sensor size and focal length are correct, and manually placed and followed all markers to be sure they were accurately tracking.   There is not a lot of parallax motion over the 800 frames, but there should have been enough to at least know that the point closest to the camera moved more than the point furthest away. Sometimes it seems to work, sometimes it doesn't. Does anybody know how to improve this? I have only seen infinite vector spaces and the one finite vector space i.e the trivial vector space $\{0\}$. Is there any other finite vector space? With no good reason I had a look at my computer's storage going on the apple and About this Mac. Here is the display:    The pink bar doesn't make much sense. It obviously does not represent the 80.67GB of free storage. Two sections correspond to pink; "Photos" and "Backups". I obviously don't have 140.76TB of backups. And probably not on this computer that has only 320GB of storage.  What is going on here? What is __init__.py for? What is __init__.py for in a Python source directory? Is the use of "one of the" correct in the following context? I realize I am taking a risk by reopening what seems to be an old, hoary, and thorny discussion. However, it seems that in all the long discussions about Meta Stack Exchange reputation, what it means, and why it's separate from reputation on other sites, I have never seen a complete answer to this question:  If reputation on Meta Stack Exchange is used by the community to indicate agreement with an opinion instead of the quality of a post, why is it still tied to site privileges?  The association between reputation and privileges makes sense on other Stack Exchange sites, where reputation is a measure of your participation in the site and the quality of your questions and answers. If you contribute positively to the community your reward is increased privileges, whereas your punishment for "polluting" the site with bad questions or unhelpful answers is a loss of privileges.  However, on Meta Stack Exchange, reputation is a measure of the popularity, not the quality, of your contributions. Tying reputation to privileges means that losing privileges on the site is a punishment for expressing an unpopular opinion, and gaining them is a reward for agreeing with the majority.   My opinion:  I don't think that tying privileges to popularity makes sense as a feedback system. It doesn't really encourage quality contributions, and even worse, acts to suppress minority opinions through the threat of losing privileges. As a user with fairly low reputation, I am afraid of asking a question that may be controversial, because if enough other members disagree with me I will be stripped of the ability to vote and chat. Even if I had higher reputation, I would still be concerned that expressing a controversial opinion would cause me to lose helpful privileges like editing and viewing close votes.   The FAQ tells new users "not to be concerned" by downvotes because all it means is that the community disagrees with them. However, I think new users have every right to be concerned about downvotes, because they still mean the loss of privileges. (c) Let $\mathcal{L}^*\subseteq\mathcal{L}^{\text{FOPC}}$ be a first order language of predicate calculus consisting of three unary function symbols $f,g,h$.  (i) Write down an $\mathcal{L}^*$-sentence $\phi$ such if $\mathcal{A}$ is an $\mathcal{L}^*$-structure with $\mathcal{A}\vDash\phi$ then the restriction of $h_\mathcal{A}$ to the range of $f_\mathcal{A}$ gives a one-to-one function onto the range of $g_\mathcal{A}$.  (ii) Write down an $\mathcal{L}^*$-sentence $\psi$ such that if $\mathcal{A}$ is an $\mathcal{L}^*$-structure with $\mathcal{A}\vDash\psi$ and the domain $A$ of $\mathcal{A}$ is finite then the cardinality $|A|$ is a square.    Part (i) is easy enough, but I'm having trouble with part (ii). I assume that you can use part (i). My initial idea was to use $h$ to ensure $|Range(f_A)| =|Range(g_A)|$ but I'm not sure where to go from there. Thanks. Solution to German Tank Problem Is there a formal mathematical proof that the solution to the  is a function of only the parameters k (number of observed samples) and m (maximum value among observed samples)? In other words, can one prove that the solution is independent of the other sample values besides the maximum value? What is the setting in bash for globbing, to control whether * matches dot files I was surprised recently when I did something like mv ./* ../somedirectory and found that files like .gitignore were not moved.  I do most of my work in zsh on OS X, and this surprise bit me in bash on CentOS.  I tried bash on OS X and found the same behavior: * does not match dot files.  This seems very undesirable to me, but apparently it's the bash default.  (It may be the zsh default too for all I remember, but I may have changed it years ago in my .zshrc and forgotten it ever worked differently.)  How can I configure bash to behave as I expected: for * to match all files, and not ignore dot files.  In case this is at all unclear, here's how to reproduce it    cd /tmp mkdir {t,d}est touch test/{.,}{1,2,3,4,5,6,7} ls -hal test mv test/* dest ls -hal test     # notice dot files are still there ls -hal dest     # notice only some files were mv'ed Is there a package to secure rendered pdf with a password? Is there a package and command that can secure rendered pdf with a password? Add new user and add meta at once How to directly prove that $M$ is maximal ideal of $A$ iff $A/M$ is a field? An ideal $M$ of a commutative ring $A$ (with unity) is maximal iff $A/M$ is a field.  This is easy with the correspondence of ideals of $A/I$ with ideals of $A$ containing $I$, but how can you prove it directly?  Take $x + M \in A/M$.  How can you construct $y + M \in A/M$ such that $xy - 1 \in M$?  All I can deduce from the maximality of $M$ is that $(M,x) = A$.