Have notification bars gone wonky after recent failover tests?
Reputation and inbox notification shows up again after refresh
Why shouldn't I prefix my fields? I've never been a fan of Hungarian notation, I've always found it pretty useless unless you're doing some really low level programming, but in every C++ project I've worked on some kind of Hungarian notation policy was enforced, and with it the use of some 'not-really-Hungarian' prefixes as m_ for fields, s_ for statics, g_ for globals and so on.  Soon I realized how much useless it was in C# and gradually started to drop all of my old habits... but the 'm_' thing. I still use the m_ prefix on private fields because I really find it very useful to being able to distinguish between parameters, locals and fields.  The  says I shouldn't, but it does not say why (the way e.g. Google's conventions generally tend to rationalize their prescriptions).  Are there reasons why I shouldn't or is it only a matter of style. If it is the latter, are prefixes generally considered a bad style and can I expect negative reactions from other people working on the codebase? LEFT JOIN vs. LEFT OUTER JOIN in SQL Server What is the difference between LEFT JOIN and LEFT OUTER JOIN? I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please? Extending my Root Paritition I've Win8/Ubuntu Dual boot. I already have 4 partition so i cannot create a new partition and mount it elsewhere. So, this () question did not help.  Here's a screen shot of my Gparted (run on Ubuntu Live)   How can I extend /dev/sda6  so that  i can make use of unallocated space ?  (w/o failing my current grub) Idiomatic batch processing of text in Emacs? @ variables in Ruby on Rails In the simple linear regression model, $\hat{\beta}$ is the sum of independent normally distributed random variables.  Is it false because in linear regression there is $\beta$ and not $\hat{\beta}$? What is involved in moving over to Lightning Web Components? Do I need a visa for Paris, if my connecting flight stops for 24 hours in Paris? Do I need visa for Paris, if my connecting flight stops at Paris for 24hrs and I want to visit Paris during that 24hrs? I have US B1 visa. I'll be travelling from San Francisco to Bangalore (India) via Paris. I hold Indian passport. If yes, what is the procedure for that visa? How does the Doctor know how old he is? I've often wondered, how does the Doctor know how old he is? He not only travels through time, but also through space, and visits planets where days can be shorter or longer than 24 hours. How does he 'keep score'?  Also, does he count his age in Earth years or Gallifrey years? They might be completely different in length. How to create tagged PDF such that they will be:   good enough for PDF/UA "reflowable" on smaller screens and ebook readers   Any syntax &amp; any engine are of interest, but I'm most interested in using LaTeX with [Xe|pdf]latex engines. This is my follow up question. My previous question is here:   Problem:  If I add the image in my table, I get the following output as shown in the image below. Why is the Co-Supervisor going below?   I am using this code:  \begin{tabular}{|l|c|r|} \hline \bf Author: &amp; \hspace{5pt} &amp; \bf Research Supervisor:\\ \hline Mr. X &amp;  \hspace{5pt} &amp; Prof. Dr. Z\\ \hline \includegraphics[width=0.40\textwidth,height=10mm]{Figures/images} &amp;  \hspace{5pt} &amp; \bf Co-Supervisor:\\ \hline &amp;  \hspace{5pt} &amp; Prof. Dr. Y\\ \hline \end{tabular}   What I want is shown below:   PS: Please ignore the table borders, they are for demo only, I won't be using them in my final code.  The final product: that I desire is: I have a Spring MVC web app which uses Spring Security.  I want to know the username of the currently logged in user.  I'm using the code snippet given below .  Is this the accepted way?    I don't like having a call to a static method inside this controller - that defeats the whole purpose of Spring, IMHO.  Is there a way to configure the app to have the current SecurityContext, or current Authentication, injected instead?      @RequestMapping(method = RequestMethod.GET)   public ModelAndView showResults(final HttpServletRequest request...) {     final String currentUser = SecurityContextHolder.getContext().getAuthentication().getName();     ...   } Inspired by this ....  I am the sole person using my system with 12.04. Every time I issue a sudo command; the system asks for the user password (which is good in its own way).  However I was thinking; without activating the root account; how can I execute the sudo commands which will not ask for user password to authenticate.  NOTE: I want to execute sudo command without authenticating via password; only when they are executed via terminal. I don't want to remove this extra layer of security from other functions such a while using 'Ubuntu software center' or executing a bash script by drag-drop something.sh file to the terminal. Thought Experiment - Poking a stick across a Black Hole's Event Horizon The classical explanation of a black hole says that if you get to close, you reach a point - the event horizon radius - from which you cannot escape even travelling at the speed of light. Then they normally talk about spaghetti.  But here's a thought experiment. What if I have a BH with event horizon radius R such that the gravitational gradient at the event horizon is far too weak for creating pasta. I build a Ring with radius R+x around the BH. Then I lower a pole of length x+d from my ring towards the BH, so that the tip passes beyond the event horizon.  Now what happens when I try to pull the pole back? Cannot install Oracle JDK via apt in Ubuntu 16.04 I created a new Ubuntu 16.04.3 VM and am attempting to install JDK 9. Unfortunately, the latest version of the JDK apt installer, 9.0.1-1~webupd8~0, is failing to download the binaries and I suspect that the reason is because   I carried out the typical steps for installation:    add-apt-repository ppa:webupd8team/java apt-get update &amp;&amp; apt-get install oracle-java9-installer   I am then prompted with the following error message:  Downloading Oracle Java 9... --2018-01-16 15:15:07--  http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.200.70.136 Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following] --2018-01-16 15:15:11--  https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.35.226.115, 2600:1404:21:49d::2d3e, 2600:1404:21:493::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.35.226.115|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 [following] --2018-01-16 15:15:11--  http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-16 15:15:11 ERROR 404: Not Found.  download failed Oracle JDK 9 is NOT installed. dpkg: error processing package oracle-java9-installer (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  oracle-java9-installer E: Sub-process /usr/bin/dpkg returned an error code (1)   I found , but it does not appear that the  works for JDK 9.0.4+11. I've updated the SHA checksums (), set the major version to 9.0.4, and set the minor version to 11, but I'm still not having success.  What steps need to be carried out to get the JDK apt installer to work until the WebUpd8 team is able to update the PPA? I have a scenario where I have multiple threads adding to a queue and multiple threads reading from the same queue. If the queue reaches a specific size all threads that are filling the queue will be blocked on add until an item is removed from the queue.  The solution below is what I am using right now and my question is: How can this be improved?  Is there an object that already enables this behavior in the BCL that I should be using?  internal class BlockingCollection&lt;T&gt; : CollectionBase, IEnumerable {     //todo: might be worth changing this into a proper QUEUE      private AutoResetEvent _FullEvent = new AutoResetEvent(false);      internal T this[int i]     {         get { return (T) List[i]; }     }      private int _MaxSize;     internal int MaxSize     {         get { return _MaxSize; }         set         {             _MaxSize = value;             checkSize();         }     }      internal BlockingCollection(int maxSize)     {         MaxSize = maxSize;     }      internal void Add(T item)     {         Trace.WriteLine(string.Format("BlockingCollection add waiting: {0}", Thread.CurrentThread.ManagedThreadId));          _FullEvent.WaitOne();          List.Add(item);          Trace.WriteLine(string.Format("BlockingCollection item added: {0}", Thread.CurrentThread.ManagedThreadId));          checkSize();     }      internal void Remove(T item)     {         lock (List)         {             List.Remove(item);         }          Trace.WriteLine(string.Format("BlockingCollection item removed: {0}", Thread.CurrentThread.ManagedThreadId));     }      protected override void OnRemoveComplete(int index, object value)     {         checkSize();         base.OnRemoveComplete(index, value);     }      internal new IEnumerator GetEnumerator()     {         return List.GetEnumerator();     }      private void checkSize()     {         if (Count &lt; MaxSize)         {             Trace.WriteLine(string.Format("BlockingCollection FullEvent set: {0}", Thread.CurrentThread.ManagedThreadId));             _FullEvent.Set();         }         else         {             Trace.WriteLine(string.Format("BlockingCollection FullEvent reset: {0}", Thread.CurrentThread.ManagedThreadId));             _FullEvent.Reset();         }     } } Pie Chart without labels in beamer using pgf-pie Ubuntu 20.04 graphics driver problem I have upgraded from Ubuntu 19.10 to 20.04, and now I have a problem with my graphics rendering (strange squares on background and font problems). I use the i915 driver. Graphics card: Skylake GT2 HD Graphics 520. I tried to reinstall GNOME shell and Xorg server. Nothing helped. Also Chrome browser breaks on most of pages. I'm looking to install 32-bit windows with IIS to dual-boot with my 64-bit edition of windows on a laptop. I have a ten gig partition on my harddrive - is this large enough for a simple Windows install and a few programs?   I've never dual booted before, so I'm not quite sure how easy it is to mess up the process. Can you recommend any tutorials on how to set up a dual-boot configuration on Windows?