Java Private Static Inner Class
Java inner class and static nested class
What amp rating of 24vac transformer for LM317T? I want to know what size transformer for LM317 at full 30 VDC. I know its a 24 VAC center tapped transformer but is 1 A or 5 A transformer best suited for a linear power supply of 1.5-30 VDC?  I will be using a standard LM317 variable power supply circuit with the 2200 uF 50 V smoothing and the 240 ohm drain resistor and potentiometer. I have a homemade oversized aluminum heat-sink that is quite large. Equation parsing in Python How can I (easily) take a string such as "sin(x)*x^2" which might be entered by a user at runtime and produce a Python function that could be evaluated for any value of x? How can I pass a class member function as a callback? Set "default" monitor I would like to be able to set my "default" monitor to be my external 25' monitor instead of my laptop one when I have my external monitor connected.  Many applications always open on the laptops monitor instead of the "big" one. Currently, the only way I know to disable this behavior is to disable the laptop monitor, however, as I use a laptop stand to bring it higher, Id like to be able to use my laptop monitor as a "secondary" monitor, without dock (launcher) and without any windows opening on it.  The only way for a window to reach it would be to actually manually grab it and drag it over.  Some known applications that ALWAYS open on the laptop monitor and drive me crazy: Slack, Rocket Chat, Thunderbird, Sky, System Settings, Guake (specially annoying since i cant move it). In a 'bulleted' list should items that happen to be complete sentences end with a period? Display error message if same record exist with combination of some fields? Does English have any singularia tantum besides mass nouns? My proof is very different from my reference, hence I am wondering is I got this right?  Apparently, $F$ is continuous, and the identity matrix is closed. Now we want to show that the preimage of continuous function on closed set is closed.  Let $D$ be a closed set, Consider a sequence $x_n \to x_0$ in which $x_n \in f^{-1}(D)$, and we will show that $x_0 \in f^{-1}(D)$.  Since $f$ is continuous, we have a convergent sequence $$\lim_{n\to \infty} f(x_n) = f(x_0) = y.$$  But we know $y$ is in the range, hence, $x_0$ is in the domain. So the preimage is also closed since it contains all the limit points.  Thank you. I have been working with a string[] array in C# that gets returned from a function call. I could possibly cast to a Generic collection, but I was wondering if there was a better way to do it, possibly by using a temp array.  What is the best way to remove duplicates from a C# array? Net work done on the body when we lift it and put it on the table is zero? How to fix infinite bash loop (bashrc + bash_profile) when ssh-ing into an ec2 server? I mistakenly have source .bash_profile in the bashrc file and vice versa. Now when I tried to ssh into the machine (ec2), it will stuck at loading bash and get connection closed in a second. Is there a way I could fix it? Could I mount the disk to another ec2 instance to fix the bash files?  Update 1: I tried the following: %  ssh -i &quot;my-pem.pem&quot; -t ubuntu@&lt;server_address&gt;.amazonaws.com &quot;/bin/bash --noprofile --norc&quot; Connection to &lt;server_address&gt;.amazonaws.com closed.  Nothing else showed up. Do you have any idea on what was going wrong? For sanity check, if I do ssh -i &quot;my-pem.pem&quot;ubuntu@&lt;server_address&gt;.amazonaws.com, the message will be ...  28 packages can be updated. 0 of these updates are security updates. To see these additional updates run: apt list --upgradable  New release '20.04.2 LTS' available. Run 'do-release-upgrade' to upgrade to it.   Last login: Mon Feb 22 23:17:41 2021 from ip Connection to &lt;server_address&gt;.amazonaws.com closed.  Solution Just ssh onto the machine and immediately do Ctrlc and fix the bash files. We can apply l’Hôpital’s Rule to the indeterminate quotients $ \dfrac{0}{0} $ and $ \dfrac{\infty}{\infty} $, but why can’t we directly apply it to the indeterminate difference $ \infty - \infty $ or to the indeterminate product $ 0 \cdot \infty $?  Furthermore, why can’t we call $ \infty + \infty $ and $ \infty \cdot \infty $ indeterminate forms?  I’m new to calculus, so please clear up my concepts if you can. Thanks! Unable to install "": snap "" has "install-snap" change in progress I just finished the installation of the Ubuntu 18.04, but whenever I try to install any application from Ubuntu Software the same error occurs (for example "vlc"):     unable to install "vlc": snap "vlc" has "install-snap" change in progress   I hope somebody can tell me what I've done wrong. dollar-terminated strings In my assembly language class, our first assignment was to write a program to print out a simple dollar-terminated string in DOS.  It looked something like this:  BITS 32     global _main  section .data     msg db "Hello, world!", 13, 10, ’$’  section .text _main: mov ah, 9 mov edx, msg int 21h ret   As I understand it, the $ sign serves to terminate the sting like null does in C.  But what do I do if I want to put a dollar sign in the string (like I want to print out "it costs $30")?  This seems like a simple question, but my professor didn't know the answer and I don't seem to find it using a google search. $$\lim_{x\to 0} \frac{\ln(1+x)}x$$  The process I  want to take to solving this is by using the definition of the limit, but I am getting confused. ( without l'hopitals rule)   $$\lim_{h \to 0} \frac{f(x+h) - f(x)}h$$  $$\lim_{h \to 0} \frac{\frac{\ln (1+x+h)}{x+h} - \frac{\ln(1+x)}x}h$$  $$\lim_{h \to 0} \frac{x\ln(1+x+h) - (x+h)\ln (1+x)}{hx(x+h))}$$  At this point I get confused because I know the answer is $1$, but I am not getting this answer through simplification of my formula. I am trying to prove:     $a\mid b \land b\mid c \Rightarrow a\mid c $   $a\mid b$ means that a divides b if there is an integer k, that $b=k\cdot a$  Please give me a hint on how to start, because I have no idea. This is probably easier to show than tell...   On the recent question , I see the following:    As you can see, the first five links render properly, but after that, they stop converting.  Unfortunately, this isn't obvious to the person writing the post, which I discovered when I went to edit the post to fix the "broken" links. In the edit window, it renders all of the links just fine:    I understand that this behavior is expected based on balpha's answer :        Links to questions on the same site are unlimited.   Links to other sites are limited to             a) 5 linked-to sites and     b) N questions per target site, where N is 200 on meta sites and 10 on non-metas (this is about the site that the post containing the link is posted on, not the site that is being linked to)         So if this rule is still going to stay in effect, please fix the edit view to also not automatically convert more than five linked-to sites to help people writing posts know that they need to manually title the links to the other questions.  That said, I'd prefer that (at least on MSE) this limitation be removed or raised. Even in the answer, balpha says:     The restrictions are currently as follows, but note that they do look a bit contrived, resulting from the fact that they have grown over time (from single site to cross-site, from "there are no subsites" to "facebook.SO", etc.), so it's not unlikely that we'll revisit them.   So, if it's not hurting performance, can we please increase the limit or remove it? Are the hoses in toilets in Asia something I should know about? I have noticed random bits of hose without proper fittings before I think for example in India and just assumed they are for use by the cleaners or for filling the water jug in .  But Now I'm travelling in Malaysia and Singapore and there are more western toilets than squat toilets in the places I've been yet proper hoses with proper fittings are very common in toilets:  (Hose next to a Western style toilet in my hostel in Chinatown, Kuala Lumpur.)  At one place in Singapore there were even signs on each cubicle door stating whether it contained a western or squat toilet, but also whether there was a hose! (I didn't take a photo of the sign, unfortunately)  This makes me think there is a use for the hose for clients, not just cleaners. But for what purpose? Should I know how to use it as a tourist? Please tell me it's not a kind of alternative to a bidet!  Possibly related is the fact that many toilet floors are awash with water. This can be a big problem if you're not wearing waterproof shoes or have to lower your trousers and keep them dry. Other than this toilets are pretty clean and I've seen both the hoses and the wetness in what I would regard as somewhat "fancy" places. The reCAPTCHA has become too difficult for humans to solve The reCAPTCHAs have suddenly become almost illegible. I regularly have to change it four or five times before I find one I can read. I am tempted to just enter the known word (an easy guess), and leave the other. Can something be done? How to pass the values from one activity to previous activity