This is a follow-up to a question I answered earlier ().    For most questions that have more than one language-related tag and those with fuzzy languages (for instance !), there should be an option to specify which language to use in syntax highlighting because sometimes (and quite often too!) the language inference is wrong.  Take for instance the scenario I describe below.  When an answer is given in a language other than the "primary language" (which happens to be C#), the code is still highlighted as C# even if it isn't in that language!   Scenario     Take any question that has multiple explicit language-related tags. For example:  which is tagged tagged , ,  and .   Try to answer the question with code that is different from the 'major' language. In this case, try answering the question with VB.NET code.   Expected Results: Code should be highlighted in VB.NET. Actual Result: Code was highlighted in C#!  Suggested Solution There should be a way to explicitly set the language for syntax highlighting.  Edit  It also turns out that asking a question with multiple explicit language-related tags can also give you wrong syntax highlighting! You can try creating a new question with the following and observe the preview:       //This is C#     var someValue = GetValue();  some text to separate the two languages      'This is VB.Net     Dim someValue = GetValue()   Tag the question as follows (in the specific order) ,    You'll notice without fail that the C# code gets highlighted properly and the vb.net code doesn't.     Disclaimer   All observations are based on the preview you get while entering the question or answer so my observed result might not be wholly right.
I noticed that sometimes my code gets highlighted in different colors when rendered.   What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What languages are currently available on Stack Exchange?
Realtek RTL8723BE Wi-Fi incredibly weak I have a HP 14-AN001NA laptop. It came with Windows 10 installed on which the Wi-Fi worked fine anywhere in the house.   However I removed Windows 10 and installed Ubuntu 16.04 instead and since I have had terrible Wi-Fi anywhere aside from about three foot away from the router. I don't know if it's relevant but my Wi-Fi is not called wlan0 but wlo1 for some reason (I didn't change it).  When running lspci -knn | grep Net -A3     I get the following output:  05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723] DeviceName:   Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1] Kernel driver in use: rtl8723be Kernel modules: wl, rtl8723be Visa for Istanbul trip during layover I am an Indian (Indian Passport) presently in Kano, Nigeria on a business visa. I am going back to Mumbai on 22 Sept by Turkish Airlines with a 12 hour layover time in Istanbul.  We plan to see the city during this time.  Can I get a visa on arrival? Why is $\pi$ irrational if it is represented as $C/D$? The state postulate is as follows: The state of a simple compressible system is completely specified by two independent, intensive properties. My first question is whether there is any justification for this postulate or whether it is simply an empirical law? That is, why is it not the case that 3 intensive variables are required to fix the state or even 4? If it is an empirical law with no justification and just happens to be a law our universe abides by, then why is it not one of the laws of thermodynamics as it clearly provides foundational value to the field of thermodynamics? My second question pertains to how we can know whether 2 intensive variables are in fact independant. Say temperature $T$ and specific volume $v$ for example. If we are given a thermodynamic problem, how would we know whether these are independent or not? or perhaps specific internal energy $u$ and pressure $P$. Are there certain combinations that are simply always independent of each other or does independence between intensive variables vary from problem to problem and require a full understanding of the problem at hand? Let us take a phase change for example. From my understanding of phase changes, I know that the boiling temperature is dependent on the pressure and hence I won't be able to use $T$ and $P$ as 2 variables to completely specify the state. But how would I know know what combinations of intensive variables will be independent in this case or any other case for that matter? Does it simply require rote memorization of all independent pairs of intensive variables for all thermodynamic problems or is there a more simple way to figure out what is independent and what isn't? I hope this question makes some sense and any help would be most appreciated! "1 in 10 are" or "1 in 10 is"? Take the examples:   "One in ten children are dyslexic."  "One in ten children is dyslexic." "One in ten children has dyslexia." "One in ten children have dyslexia."   The "one" is singular so 2 and 3 should be correct. But the "one in ten" is a fraction" so 1 and 4 should be correct. And yet I think I usually say 1 and 3. Which is/are correct?! Are shell scripts sensitive to encoding and line endings? Disable autostart on boot and restrict background execution How can I install more recent versions of software than what Debian provides? Suppose I want a more recent version of software than is available for my current version of an operating system, what can I do?  Cases to consider:   There are semiofficial/official sources of additional packages available for that version of the OS. E.g. backports.org for Debian or PPAs for Ubuntu. There are no more recent versions of the package available for that version of the OS, but there are more recent versions available for more recent versions of the OS. This is the standard case for backporting. There are no packaged versions of more recent versions of the software available. Options available are to package the more recent version.     Per  this is intended as a place to put canonical answers for the following. Answers should probably be made community wiki. Is it possible to dual boot two OS's at the same time? Is it possible to dual boot two OS's at the same time?  For example: I'm currently dual booting Ubuntu 11.04 and Windows 7. Ubuntu is running on a single 500gb HDD, Windows 7 is running on 1TB RAID 1 mirror. To switch between the two OS's, a reboot is required. Is it possible to switch between the two OS's without a reboot?  NOTE: I'm fully aware of the capabilities of VirtualBox and VMWare Player - I use both. Please don't answer "Use Virtualization!"  EDIT: If this is not possible can you share why it's not possible? To me, it doesn't seem like it would be that difficult. Keep in mind that my vision is unencumbered by knowledge! Annoying flickering in 16.04 LTS - Chrome I've upgraded from 4.4.0 to 4.4.8 and then 4.5.2 on Ubuntu 16.04 LTS 64-bit, and it's still happening.   At 4.5.2 it's even more frequent, and mainly in Chrome (haven't tried firefox or opera just yet). Every time I open a new web page. Any way to fix that, or is it a bug?  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) 04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XTX [Radeon HD 8890M / R9 M275X/M375X] (rev 81)   Cheers. How do I add .e00 data into my QGIS project? On Cesàro convergence: If $ x_n \to x $ then $ z_n = \frac{x_1 + \dots +x_n}{n} \to x $ I have this problem I'm working on. Hints are much appreciated (I don't want complete proof):  In a normed vector space, if $ x_n \longrightarrow x $ then  $ z_n = \frac{x_1 + \dots +x_n}{n} \longrightarrow x $   I've been trying adding and subtracting inside the norm... but I don't seem to get anywhere.  Thanks! Favorites improvements - search, categorize, personal tags, add note, favorite answer I'm a big fan of the favorites feature. I usually mark questions with good answers of code snippets for later use.  Most of the time I can't find the favorite I'm looking for so quickly as desired. I know I marked the question in Stack Overflow, but it takes time to find it again, because of the following reasons:   lot of favorites lot of answers for a question (last time I was looking for an answer in the question ) the question title is not always what I'm looking for   To make favorites more useful I suggest the following features to be added:   Allow to mark an answer as favorite Allow to tag questions with own tags (those tags are personal and can not be seen by others) Search function over favorites Allow to add a personal note to a question Hidden fields though inheritance When is a cellular automaton "bidirectional"? From .   "A (bi-directional, deterministic) cellular automaton is a triplet $A = (S;N;\delta)$, where $S$ is an non-empty state set, $N$ is the neighborhood system, and $\delta$ is the local transition function (rule). This function deﬁnes the rule of calculating the cell’s state at $t +1$ time step, given the states of the neighborhood cells at previous time step $t$"  I haven't found other "bidirectional" CA via Google, so I wonder what does the term say about this automaton's properties. Does it mean that the state $t+1$ can be used to find out the state t? Confidence interval interpretation in linear regression when errors are not normally distributed For every set $A$, the empty set is a subset of $A$. The empty set is a set. Therefore, the empty set has a cardinality $\geq 1\ldots$ Can you add new statements to Python's syntax? Can you add new statements (like print, raise, with) to Python's syntax?  Say, to allow..  mystatement "Something"   Or,  new_if True:     print "example"   Not so much if you should, but rather if it's possible (short of modifying the python interpreters code) Plot Details/Summary I only watched an episode or two of this one, so I can't recall a whole lot about it.  The protagonist is a former astronaut of some sort, who makes it his mission to clean up the crime in his city.  He might have been a police officer in his &quot;new life&quot; or he might have decided to become a sort of quasi-superhero.  In either case, I distinctly recall his space suit being the gimmick that makes him an effective crime fighter in the show.  I seem to recall the protagonist being a young, dark-haired man, and I think he had a friendship or an alliance with a young woman (maybe a fellow cop, or someone from the space program?).  I don't think there were alien beings in the show.   The criminal threats were all quite terrestrial, IIRC. Timeframe and other Publication Details This was a syndicated tv show I saw on American television, probably around the late 90s to early 2000's.  I believe the show was filmed in Canada, though I'm not certain.  I don't think it lasted very long - it was pretty dreadful.  I can say for certain the show is not Space Cop or Gerry Anderson's Space Precinct. SQL Server Escape an Underscore How do I escape the underscore character?  I am writing something like the following where clause and want to be able to find actual entries with _d at the end.  Where Username Like '%_d'