How to access the properties of a nested class with the instance of outer class
What's the best way of accessing field in the enclosing class from the nested class?
Which process scheduler is my linux system using? I'm not quite sure if stackoverflow or serverfault is the forum to use for this question, but ill try here.  Is there some command I can use or a file I can check in order to find out which process scheduler I'm using on my Linux system? I am not looking for the I/O scheduler, but the process scheduler, and please, do not refer to guides or howtos for what a scheduler is, what I'm simply asking is if there is a command or file I can run/check to see this. I could check the doc for my kernel but again I'm just wondering if there is a command or file i can check.  I might have been a little redundant above but that's because the posts I've seen people seem to confuse process scheduler with the i/o scheduler, and they don't seem to answer the actual question, just provide links to what a scheduler is which is not what I'm after here, so apologies if the above comments sounded rude. I can't connect to a friend's Minecraft server, but none of the usual culprits seem to be the problem How can I maintain open ssh connection and use it from shell scripts? Currently i invoke the following:  $ ssh me@host.com my_cmd   This is slow and not easy to automate safely. I would like to establish ssh connection once and have some script that will forward my commands to host.com and print output.  Is that possible ?  Adding my machine to authorized_keys is not an option for me and it wouldn't solve slowness issue. Current situation: I'm required to cite "normative" documents (read: standards and manuals) separately from articles and books etc. Using biblatex and biber with the numeric style I'm doing that by issuing multiple printbibliography commands like so:  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} %... lots of stuff \printbibliography[type=standard,title=Standards \&amp; Manuals] \vskip\baselineskip \printbibliography[type=manual,heading=none] \printbibliography[nottype=standard,nottype=manual]   which gives a heading Standards &amp; Manuals, prints a list of manuals, leaves a bit of space then the list of standards and finally, under a new heading Bibliography gives books and articles etc. Thus far everything is fine, enter:  The Problem: I'm using the shorthand field in my database for the standards and manuals which works perfect as far as output within the text is concerned and sets the shorthand as the label in the bibliography and prints the details to the right of it - problem is: my shorthands are considerably longer than the labels generated by the numeric style, but even though they're in three different \printbibliography commands, everything gets indented to the maximum width of the label, making the part for books and articles look quite ridiculous.  The following shows the problem with only two separate \printbibliography (and an obviously exaggeratedly long shorthand):   Now  what I would obviously want is for each of the \printbibliography commands to only use the indentation actually necessary to accommodate the largest label appearing within, i.e. rendering the Manuals section as above, but the Bibliography section like follows:   Can anyone help me to achieve this? Or give me some pointer where to look?  The above was produced with the following MWE on an up-to-date TeXLive 2014:  \documentclass[10pt,british]{scrbook}  \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern}  \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @manual{HowTo,     title = {How to Make the World Go Round},     shorthand = {HowToMakeTheWorlGoRound},     publisher = {The Publisher},     year = {2000} }  @article{Article,     author = {Author, A. and Buthor, B.},     journal = {Journal Title},     pages = {113--126},     title = {The Article},     volume = {65},     year = {1900} } \end{filecontents*}  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} \addbibresource{\jobname.bib}  \usepackage[hidelinks]{hyperref}  \begin{document} \let\cleardoublepage\relax \chapter{The Document} Nothing to see here, but we refer to the \parencite{HowTo} based on a principle discovered by \textcite{Article}.  \printbibliography[type=manual,title=Manuals] \printbibliography[nottype=manual] \end{document} I was querying data from  using a LINQ query in LINQPAD and found that the data I got back is quite obsolete. I searched for Shekhar-Pro (me) by using a where clause on ID 399722 and the data returned was for 8 Jan 2011. Why was the data so old? Isn't the data updated in real time, or at least frequently? If not, where can I get realtime data? Complex roots of $z^3 + \bar{z} = 0$ I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: .  After correcting that error the code compiles smoothly but just displays the logarithmic grids, not the function. The gnuplot files are created in the right place, but the graphic doesn't come out in the PDF.  Code from :  \documentclass{article}  \usepackage{tikz} \usepackage{bodegraph}  \begin{document}  \begin{tikzpicture}[     gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/\jobname/' before) ] \begin{scope} \UnitedB \semilog{-1}{2}{-50}{60}  \BodeAmp{-1:1.35}{\POAmpAsymp{4}{2.0}+\IntAmp{1}}  \end{scope} \end{tikzpicture} \end{document}   Any clues? Ubuntu 20.04 still supporting Python2 Order of products of elements in a finite Abelian group We want to show that if $a,b\in G$ where $G$ is a finite Abelian group, we have  $\operatorname{LCM}(|a|,|b|) = |ab|$ given that $ab \neq e$.   How I approached this question was by saying let $\operatorname{LCM}(|a|,|b|) = L$. Then if we show that $L$ divides $|ab|$ and $|ab|$ divides $L$ then $|ab| = L$. Showing that $|ab|$ divides $L$ was fine. But then I am having trouble with the second part that is showing $L$ divides $|ab|$. For this, so far I have:  Consider $(ab)^{|ab|} = e = a^{|ab|}b^{|ab|} $  since we know $a \neq b^{-1}$ by assumption then we can conclude that $|a|$ divides $|ab|$ and $|b|$ divides $|ab|$. We know that $L = \frac{|a||b|}{\operatorname{gcd}(|a|,|b|)}$ from here can we conclude that $L$ divides $|ab|$? How to check internet access on Android? InetAddress never times out How do I delete Windows.old in Windows? How to define a bijection between $(0,1)$ and $(0,1]$? How to define a bijection between $(0,1)$ and $(0,1]$?   Or any other open and closed intervals?   If the intervals are both open like $(-1,2)\text{ and }(-5,4)$ I do a cheap trick (don't know if that's how you're supposed to do it): I make a function $f : (-1, 2)\rightarrow (-5, 4)$ of the form $f(x)=mx+b$ by \begin{align*} -5 = f(-1) &amp;= m(-1)+b \\ 4 = f(2) &amp;= m(2) + b \end{align*} Solving for $m$ and $b$ I find $m=3\text{ and }b=-2$ so then $f(x)=3x-2.$  Then I show that $f$ is a bijection by showing that it is injective and surjective. Restoring default toolbar layout in Blender 2.81 Render an InputText based on Selected Option In my VF page I have an apex:selectList with a List of Vendors (e.g. Alcatel,Cisco ec..), the last option is "Other".   When the user select "Other" an apex:inputText should be rendered  where he can writes the Vendor. I'm not able to render the inputText Field   My VF page:  &lt;apex:outputPanel id="vendor2"&gt; &lt;p&gt;&lt;b&gt; Vendor: &lt;/b&gt;&lt;/p&gt; &lt;apex:selectList value="{!vendor}" multiselect="False" size="1"&gt;     &lt;apex:actionSupport event="onchange" action="{!specifyVendor}" rerender="otherPanel"/&gt;     &lt;apex:selectOptions value="{!vendors}"/&gt; &lt;/apex:selectList&gt;&lt;p/&gt; &lt;/apex:outputPanel&gt; &lt;br/&gt; &lt;apex:outputPanel id="otherPanel"&gt;     &lt;apex:inputText value="{!otherVendor}" rendered="{!vendor=='Other'}"&gt; Other: &lt;/apex:inputText&gt; &lt;/apex:outputPanel&gt;     &lt;br/&gt;&lt;br/&gt;    The custom controller:      public with sharing class ExcelPageController {          public String vendor {get; set;}//Vendor Name         public String otherVendor {get; set;}//Vendor Name          public List&lt;SelectOption&gt; getVendors(){             System.debug('getVendors');                 List&lt;SelectOption&gt; options = new List&lt;SelectOption&gt;();             options.add(new SelectOption('Cisco','Cisco'));             options.add(new SelectOption('Alcatel','Alcatel'));             options.add(new SelectOption('Tibco','Tibco'));             options.add(new SelectOption('Other','Other'));             return options;         }     public PageReference specifyVendor(){         System.debug(vendor);         return null;     } } I can copy, move, create, and delete them. I can rename them using the REN command from a command prompt. I cannot rename folders through Windows Explorer anywhere on my machine, including on other drives.   When I try to do so, I receive an error titled "Rename Folder" that says "Can't find the specified file. Make sure you specify the correct path and file name." Then when I click Try Again or Cancel, I get another error titled "Rename" that says "The file or folder does not exist."  As far as I can tell, nothing else is wrong with my computer, but I'm pulling my hair out trying to fix this problem. I don't know for sure if superuser is the right place to ask this question, but feel free to redirect me.  Summary of Failed Attempts:   Booted into Safe Mode  Made a New User Account System Restore Point (two days ago, 9 days ago)  Deleting / Restoring / Modifying FolderDescriptions registry entries SFC /scannow  Removing windows update KB2984006  Scanned for viruses using Nod32  Scanned for malware using MalwareBytes   Details:  Tried rolling back to two different system restore points, both immediately before I observed the problem and one release prior to that.  Tried restoring FolderDescriptions registry entries as found here:   Booting in safe mode as suggested here:   SFC /scannow as suggested here:   Tried removing registry keys and windows update KB2984006 as suggested here:   Tried exporting folderdescriptions from other machine and importing as suggested here:   Compared my exported registry with other machine's exported registry for both:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions   My FolderDescriptions branch of the registry in both cases are binary equal to those exported from my wife's Windows 8.1 laptop which works fine. "Available jobs to/for them" First of all, English is not my first language. I have a question, maybe a basic one, about this phrase:     The situation highlights the mismatch between some areas of training and available jobs to/for them.   Should it be "available jobs to them" or "available jobs for them"?  Sorry if the question is really basic. 3/4 circle with plus in it? how many instances for a class exists at runtime in java How to determine capacitance I’m looking to install a capacitor in a circuit which runs at 12V and &lt;10A, and I want it to discharge in about 3 seconds.   The discharge voltage isn’t too important, but it’s probably best if it is as high as possible (not higher than 12V if that is even possible) for those 3 seconds.  The discharge time can be longer but probably should have an absolute minimum of 1.5 seconds.   Sorry if this sounds like gibberish. If I'm not giving enough info, please let me know what else i need to provide. I’m not an electrical guy; just working on a project and have no clue what I'm doing. Prove the map sending a matrix to it's inverse is continuous. Let $GL(n,\mathbb{R})$ be the space of invertible $n \times n$ matrices over $\mathbb{R}$. I have already proved that $GL(n,\mathbb{R})$ is open in $\mathbb{R}^{n^2}$ and that it is not connected with the relative topology from $\mathbb{R}^{n^2}$. How do I prove that the map $f:GL(n,\mathbb{R})\rightarrow GL(n,\mathbb{R})$ given by $f(x):=x^{-1}$ is continuous?  Any help would be greatly apprecaited.   Additionally how do I prove that $g:GL(n,\mathbb{R})\times GL(n,\mathbb{R}) \rightarrow GL(n,\mathbb{R})$ given by $g(x,y):=xy$ (matrix multiplication) is continuous, where we take the relative topology from $\mathbb{R}^{n^2} \times \mathbb{R}^{n^2} \cong \mathbb{R}^{2n^2}$?