When to use a Sigmoid function and when to use ReLu in a Convolutional Neural Network
Sigmoid vs Relu function in Convnets
Switching between virtual console and GUI How to switch between virtual console and GUI in Ubuntu? I wanted to see what key functions would allow me to switch between the two. I've just started learning Lisp and I can't figure out how to compile and link lisp code to an executable.  I'm using clisp and clisp -c produces two files:   .fas .lib   What do I do next to get an executable? How can I select a point without selecting its reflected side DropDown list onchange event and AJAX in MVC How can I distinguish between words which have the -ing in a sentence that are nouns, verbs, or adjectives?    For example sometimes -ing come with word to give us a noun, and sometimes a verb or an adjective.       That interesting snake.   That crawling snake.   That barking dog keeps everyone awake.     Is there any rule to determine whether a word with -ing is a noun, verb, or adjective? How does langid field in biblatex differ from language field? Could someone summarise the differences in the use of the langid field from language field in biblatex? Documentation to Gost package for bibtex says that langid is a synonym of language but has priority over it. Can comments be used in JSON? (How) Can SE sites change their reputation payout? A recent question on  reminded me that there is a  about awarding 10 rep per question upvote. This is mainly due to the relative difficulty and usefulness of asking/answering being different on the site (or appearing to be, at least).  The highly voted answer on PPCG is "Yes, we should do that," but it's been well over three years since it was posted. The answer there said that (at least at that time) meta.so had this implemented already, so it wouldn't/shouldn't be hard to do.  Given that it's been quite some time, I don't know if that's (still) true. I know that meat has undergone changes since then, but as long as I've been actively participating, meta.se (and meta.so before the split) has given 5 points per question upvote, not 10.  My question is: What would the process to change it look like? It's been discussed on meta.ppcg and agreed upon, so what's the next step? Or is it not feasible at all? how to hide mesh but keep hair particles Audio is working, but the speaker test doesn't work I've installed Ubuntu 12.04 LTS from a minimal cd on a netbook (Asus 1001 PXD). I've installed the ubuntu-desktop package using the --no-install-recommends option.  Everything works fine, except the "sound test" for headphones or analog speakers.  Clicking on the "test" buttons (front left and front right) I don't hear any sound. Despite this, the audio is working properly.  I've checked the audio levels with alsamixer; I have also checked that the test sounds actually exist in /usr/share/sounds/alsa.  I tried an installation of Ubuntu 12.04 LTS made with the desktop-cd, and in this case the speaker test works properly.  I suppose, therefore, that the problem could depend on the lack of a package, but I have not identified which one. When do I use active vs passive perception? So, I'm trying to figure out how to run the scene from the beginning of Lost Mine of Phandelver (5e starter set) where the party is ambushed by goblins and I'm really confused as to how Passive Wisdom (Perception) works.  The included rulebook mentions on page 6 :     When you hide, there’s a chance someone will notice you even if they aren’t searching. To determine whether such a creature notices you, the DM compares your Dexterity (Stealth) check with that creature’s passive Wisdom (Perception) score, which equals 10 + the creature’s Wisdom modifier, as well as any other bonuses or penalties. If the creature has advantage, add 5. For disadvantage, subtract 5. For example, if a 1st-level character (with a proficiency bonus of +2) has a Wisdom of 15 (a +2 modifier) and proficiency in Perception, he or she has a passive Wisdom (Perception) of 14.   So the party is being ambushed by goblins and at that point the DM guide mentions on page 7 :     Check to see who, if anyone, is surprised. [...] Make a Dexterity (Stealth) check for the goblins, rolling once for all of them. Roll a d20, add the goblins' Stealth skill modifier (+6) to the roll and compare the result to the characters' Passive Wisdom (Perception) scores.   So to me this reads like I should roll 1d20+6 for the goblins and compare that to the static Passive Wisdom (Perception) score on the character sheet of a PC. The PCs don't get to roll anything as they're not actively looking for enemies, even though they are investigating the dead horses.  I would also think that if the characters were supposed to roll, the DM guide would clearly instruct so, given that this is the starter set.  However, watching  at around 8:01 I notice that the DM is explicitly asking his party for a perception roll. And the same thing happens on a couple of other videos where people are running the Lost Mine adventure. The DM always requests a roll.  So what gives? Shall I take it that the DMs ask for the roll because they consider the party to be actively seeking for hidden foes? Or am I just misreading the rulebook and the DM guide? Best way to run scheduled tasks Today we have built a console application for running the scheduled tasks for our ASP.NET website. But I think this approach is a bit error prone and difficult to maintain. How do you execute your scheduled task (in an windows/IIS/ASP.NET environment)  Update:   Examples of tasks:   Sending email from an email-queue in the database Removing outdated objects from the database Retrieving stats from Google AdWords and fill a table in the database. math fallacy problem: $-1= (-1)^3 = (-1)^{6/2} = \sqrt{(-1)^6}= 1$? I know there is something wrong with this but I don't know where. It's some kind of a math fallacy and it is driving me crazy. Here it is: $$-1= (-1)^3 = (-1)^{6/2} = \sqrt{(-1)^6}= 1?$$ Randomly selecting elements without repetition "Washroom", "restroom", "bathroom", "lavatory", "toilet" or "toilet room" I've always been confused by the terms washroom, restroom, bathroom, lavatory, toilet and toilet room. My impression is that Canadians would rather say washroom while Americans would probably say bathroom or Saint John's in the same situation.  I guess the difference here is not only in different kinds of English, but also in whether one is referring to a room in their house or in some public place.  Which do you usually use? Please specify the difference if you use more than two from those six with different meanings, and also where you are from (i.e. what type of English you speak). Is Kant's "noumenal self" argument on freedom flawed? Links in [link text][number] format don't work properly if they follow a tag using the new [tag:tagName] format. Here's the result of [tag:python] [gold badge page][1]:      [gold badge page]   Putting the tag inside the link is worse. Here's the result of [[meta-tag:bug] some text][2], where [2] is google.com:        The part of the link outside the tag just disappears silently.  EDIT: To be more precise, the entire link to [2] disappears. The markup that is produced contains (invalid) nested anchor tags, as shown here from Firefox's "View Source":  &lt;a href="http://google.com" rel="nofollow"&gt;&lt;a href="/questions/tagged/bug" class="post-tag required-tag" title="show questions tagged 'bug'" rel="tag"&gt;bug&lt;/a&gt; some text&lt;/a&gt;   So the tag is still a link, but it is a link to the tag page, which is the behavior it would have if the link to [2] didn't exist at all. The user's desired behavior in this case is... ambiguous, to be charitable.  EDIT 2: I briefly included markup from Firebug here, but it turned out to be irrelevant. It has now been removed to improve readability. See  if you're interested. I recently switched from my beloved MacBook Pro Retina (Late 2013) i5 2.6/16/512 to MacBook Pro (2017) Non-TB i5 2.3/16/512.  I purchased what from the build-quality looked like a good USB-C-to-DisplayPort cable with 4k/60Hz support, just to run into the very problem the Logicboard repair guru Louis Rossmann had described in : As soon as you plug in the USB-C dongle, the (2.4 GHz) Wifi stops working despite full antenna signal. Unplug the USB-C connector and you are immediately back in the game.  The big question I'm asking myself now: Who is to blame? Is this a design flaw in the current generation MacBooks with improper shielding or is it a design flaw in the various dongles?  I mean the fact that even Apple’s very own USB-C Digital AV Multiport Adapter is causing these WiFi issues (as you can learn from the many horrific ; but AFAIK have been fixed through a ), show that there’s something going horribly wrong. How do you change the size of figures drawn with Matplotlib? Perform feature normalization before or within model validation? A common good practice in Machine Learning is to do feature normalization or data standardization of the predictor variables, that's it, center the data substracting the mean and normalize it dividing by the variance (or standard deviation too). For self containment and to my understanding we do this to achieve two main things:   Avoid extra small model weights for the purpose of numerical stability. Ensure quick convergence of optimization algorithms like e.g. Conjugate Gradient so that the large magnitude of one predictor dimension w.r.t. the others doesn't lead to slow convergence.   We usually split the data into training, validation and testing sets. In the literature we usually see that to do feature normalization they take the mean and variance (or standard deviation) over the whole set of predictor variables. The big flaw I see here is that if you do that, you are in fact introducing future information into the training predictor variables namely the future information contained in the mean and variance.  Therefore, I do feature normalization over the training data and save the mean and variance. Then I apply feature normalization to the predictor variables of the validation and test data sets using the training mean and variances. Are there any fundamental flaws with this? can anyone recommend a better alternative?