I have used Stack Exchange for the last two weeks, and I find it very very useful. Is there any way I can express my "like" towards this website?  I mean, if I find an interesting page in Facebook, I can press the "Like" button to express my happiness towards that web page.  How can I do the same here with Stack Exchange?  Or  Is there any button I can press and share this website with others? I mean, like "Facebook share"?  Otherwise, you can take this as feedback from a new user and work on it.
Is there a way to send a thanks message to Stack Overflow or any of the individual Stack Exchange sites, aside from sending an email? I want to thank Stack Overflow for being an awesome live QA site. It helps people a lot.
This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, navigate to the  tag. This question and answer is owned by the community! If you can improve it and make it more useful, you're welcome to edit it. I am building a trigger, a unit test, or other Apex code. I'm working with sObject records, and trying to access related record information. For example, I might have a structure like this: Account a = new Account(Name = 'Test'); insert a;  Opportunity o = new Opportunity(Name = 'Donation', AccountId = a.Id); insert o;  System.assertEquals(o.Account.Name, 'Test', 'Correct Account associated'); // Assertion fails!  Or, in a trigger, I might be aiming for something like this: trigger ContactTrigger on Contact (after insert) {     for (Contact c : Trigger.new) {         if (c.Account.Name == 'Test') {             // Take some action here         }      } }  Why doesn't this work? Why am I getting null values, or NullPointerExceptions? Strange behaviour of 'sudo chmod -rwx': Does not remove group write permissions The Duals of $l^\infty$ and $L^{\infty}$ Identify story: Overpopulation problem causes people to live one day a week This story is about a man that is able to live every day of the week, while everybody else has a single day of wakefulness assigned to them. Due to overpopulation, each human spends 6 out of 7 days of the week in stasis, and has jobs assigned to them in daily shifts. 1/7 of the population works on Monday. 1/7 works on Tuesday, &amp; so on. The main character has found away to circumvent the process and illegally live out his days consecutively by skipping the stasis program that is imposed on the general population and by working a different job everyday. Can somebody name this scifi story? I can't get grub menu to show up during boot After trying (and failing) to install better ATI drivers in 11.10, I've somehow lost my grub menu at boot time.  The screen does change to the familiar purple colour, but instead of a list of boot options it's just blank solid colour, and then disappears quickly and boots into the default entry normally.    How can I get the bootloader back?  I've tried sudo update-grub and also various different combinations of resolutions and colour depths in startupmanager application with no success (640x480, 1024x768, 1600x1200, 16 bits, 8 bits, 10 second delay, 7 second delay, 2 second delay...)   edit:   I have already tried holding down Shift during bootup and it does not seem to change the behaviour.  I get the message "GRUB Loading" in the terminal, but then the place where the grub menu normally appears I get a solid blank magenta screen for a while.  Here are the contents of /etc/default/grub  # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=" vga=798 splash"  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1" Taxonomy count per Post type Below is the code i use to output the post tag (taxonomy) count/number. I want to be able to split the count based on post type that the taxonomy features in (rather than the total number).   So i have the default "post" Post type, aswell as "blogs", &amp; "pics". I want the taxonomy count to display something like: x posts | x blogs | x Pics              &lt;?php             $tags = get_tags( array('name__like' =&gt; "a", 'order' =&gt; 'ASC') );             foreach ( (array) $tags as $tag ) { ?&gt;                 &lt;li&gt;                                                 &lt;a href="&lt;?php echo get_tag_link( $tag-&gt;term_id ) ?&gt;"&gt;                                   &lt;span class="name"&gt;&lt;?php echo $tag-&gt;name ?&gt;&lt;/span&gt;                         &lt;span class="number"&gt;&lt;?php echo $tag-&gt;count ?&gt;&lt;/span&gt;                     &lt;/a&gt;                 &lt;/li&gt;             &lt;?php } ?&gt; If i entered "name" in my text box while it saved it must be saved like "Name"   Capital letters in the first letter of Alphabet  It must not show any error messages it must directly save Get tax deduction for expensive car expense On the moderator , the tooltip will display the text used for voting on a question; this is incorrect.   Steps to reproduce:   Cast a vote for or against any candidate Undo that vote   At this point, the tooltip content is changed, at least for that candidate.  See screenshots:           As you can see, the message doesn't quite fit here; these are certainly not questions. How to activate the Gedit terminal plugin? I have the following packages installed:   gedit gedit-common gedit-plugins   In Ubuntu 12.04 with these packages installed all that was needed was to activate the terminal plugin and the press Ctrl+F9 to show the bottom panel. This isn't the case with Ubuntu 13.10 (Gedit 3.8.3) and I can't figure out how to do it. Is there a way to get the path for the assembly in which the current code resides?  I do not want the path of the calling assembly, just the one containing the code.   Basically my unit test needs to read some xml test files which are located relative to the  dll.  I want the path to always resolve correctly regardless of whether the testing dll is run from TestDriven.NET, the MbUnit GUI or something else.  Edit: People seem to be misunderstanding what I'm asking.  My test library is located in say      C:\projects\myapplication\daotests\bin\Debug\daotests.dll   and I would like to get this path:     C:\projects\myapplication\daotests\bin\Debug\   The three suggestions so far fail me when I run from the MbUnit Gui:   Environment.CurrentDirectory gives c:\Program Files\MbUnit System.Reflection.Assembly.GetAssembly(typeof(DaoTests)).Location gives C:\Documents and Settings\george\Local Settings\Temp\ ....\DaoTests.dll System.Reflection.Assembly.GetExecutingAssembly().Location gives the same as the previous. Is there a command for large middle delimiters consistent with \bigl and \bigr? After browsing through related threads, I am now of the understanding (please correct me if I am wrong) that the rule of thumb is to use the \bigl,\bigr pair with brackets, parentheses, etc. for operators like sums, products, and integrals, and \left,\right in all other cases.  I only recently found out about \middle , which has solved what had been a vexing problem for me: delimiters for function arguments (slashes, bars) not scaling properly. Leafing through my cheatsheet has not been of much help, so I wish to ask: is there an equivalent of \middle for \bigl and \bigr, or would the use of \middle along with that pair not be gauche? For some reason, I have a server that if ssh into another server...you don't need to enter the  password.  How is this done? Can someone give me step by step instructions please? Why do many anime not follow the manga? Why are they usually made shorter? Many anime do not follow the manga history and are made shorter. However there are a few that do follow it or try to finish the history with the manga like the big three (Naruto, Bleach, One Piece), Death Note, and FMA Brotherhood. But others finish the anime without the real ending like FMA, Ouran High School, Pandora Hearts, Tsubasa Reservoir Chronicle. Why is this so? Is it because of the high cost? Or the lack of popularity? Excuse me for the confusing title. I was asked to find $gcd(x^2+3x+2,x^2+x)$  What i did is i factorized both polynomials $x^2+x=(x+1)x$  $x^2+3x+2=(x+1)(x+2)$  So i expected the gcd to be $x+1$   But using the euclidean algorithm i found out the gcd to be $2x+2$. Why is factorizing wrong? Is it because $K[X]$ is not factorial ? Would the euclidean algorithm also work if the polynomials are in $\Bbb Z[X]$ ??? How to use "who" vs. "that" How to recover a dropped stash in Git? I frequently use git stash and git stash pop to save and restore changes in my working tree. Yesterday I had some changes in my working tree that I had stashed and popped, and then I made more changes to my working tree. I'd like to go back and review yesterday's stashed changes, but git stash pop appears to remove all references to the associated commit.  I know that if I use git stash then .git/refs/stash contains the reference of the commit used to create the stash. And .git/logs/refs/stash contains the whole stash. But those references are gone after git stash pop. I know that the commit is still in my repository somewhere, but I don't know what it was.  Is there an easy way to recover yesterday's stash commit reference?  Note that this isn't critical for me today because I have daily backups and can go back to yesterday's working tree to get my changes. I'm asking because there must be an easier way! Fusion: Why deuterium and tritium? I would like to know why scientists try to use deuterium and tritium for  and not just the ordinary  ${}^1H$? How to log out user from web site using BASIC authentication? Is it possible to log out user from a web site if he is using basic authentication?  Killing session is not enough, since, once user is authenticated, each request contains login info, so user is automatically logged in next time he/she access the site using the same credentials.  The only solution so far is to close browser, but that's not acceptable from the usability standpoint. Suppose that $y_1(x)$ and $y_2(x)$ are solutions of the differential equation $y''+py'+qy=0$ on $I$. How can I show that if $y_1$ and $y_2$ vanish at the same point then they are not linearly independent?   Here is my attempt to prove the problem. Since $y_1(x)$ and $y_2(x)$ are solutions of the differential equation $y''+py'+qy=0$ on $I$, it is enough for me to show that the Wronskian of $y_1$ and $y_2$ denoted by $W(y_1,y_2)$ is zero. Now since $y_1$ and $y_2$ vanish at the same point say $p$ we have $y_1(p)=0$ and also $y_2(p)=0$.   Solving for $W(y_1,y_2)(p)$ we have: $y_1(p)y_2'(p)-y_2(p)y_1'(p)=0$ since $y_1(p)=0$ and also $y_2(p)=0$.   Am I correct? Thanks