When the shell is not running any process, if I press Ctrl+C on the terminal, the shell will not terminate. Is this simply because the shell ignores the SIGINT signal, or is there another reason?
I'm trying some things with my shell. This includes the following command:  kill $$  My expectation was that the shell would log me out and terminate itself. But instead the bash persists without change.   Any idea why?  I ran this command on different environments (archlinux, debian). The behavior was always the same.
How can I pad a String in Java? Is there some easy way to pad Strings in Java?  Seems like something that should be in some StringUtil-like API, but I can't find anything that does this. Does Microsoft Office 2010 have version control?  In other words, does it automatically save old versions of files? root of an odd degree polynomial Im asked to prove that a polynomial of an odd degree has a root. Im going to use IVT to prove this, but I'm wondering if I can use the assumption that an odd degree polynomial has either two cases:  $$ \lim_{x\to\infty}h(x)=+\infty \\ \lim_{x\to-\infty}h(x)=-\infty \\ $$ $$and$$ $$ \lim_{x\to\infty}h(x)=-\infty \\ \lim_{x\to-\infty}h(x)=+\infty \\ $$ Then by this there exists numbers $a,b$ such that $$ h(a)&lt;0&lt;h(b) $$ $$or$$ $$ h(b)&lt;0&lt;h(a) $$ Which I think would prove that odd degreed $h(x)$ has at least a root. Or is there a more convincing way to show that there are numbers in $h(X)$ greater than zero and less than zero?  edit: (sorry about the bad limit notation) I have Dubai work permit mailed to me by my employer. It contains my old passport number which has ECR stamp. I then got a new passport issued without ECR stamping, but with different passport number. I have both passports.  Can I travel to Dubai now? An operator on the other side of the Schrödinger equation A form of the  is  $$     \left[-\frac{\hbar^2}{2m} \nabla^2 + V(\vec{r}, t)\right]\Psi = i\hbar \frac{\partial}{\partial t} \Psi $$  The bracketed term is of course the Hamiltonian, and the whole equation can hence be written as  $$     \hat{H}\Psi = i\hbar \frac{\partial}{\partial t} \Psi $$  My question is, is there a existing/named operator represented by $i\hbar \frac{\partial}{\partial t}$? That is, can we further rewrite the equation as  $$     \hat{H}\Psi = \hat{\Theta}\Psi $$  For some predefined operator $\hat{\Theta} = i\hbar \frac{\partial}{\partial t}$? I searched here and see mention of Clonezilla and Remastersys - but nothing I found answered my question completely, so I ask:  My home PC is just a generic one, and now that I changed it to Ubuntu I really love how it's come out and how it runs better !  My office PC is a different generic set of hardware, and I'd like to 'clone' the exact same setup to it but not have to repeat all the tweaking and such that I did already.  Is there a program that will allow me to replicate/install my already customized setup from one to the other, easily ? Are there certain steps I must make before doing something like that so it'll be compatible with different hardware ?  Thanks ! What should I do if a question has changed since I answered it? The other members vote my answer down because it actually doesn't answer the current question.  This kind of editing sometimes happens with  where the OP keeps adding new questions, making my pre-existing answer now incomplete.  But another pattern is when the OP asks an "XY problem" question, an answer points it out, and he changes the question to react to that.  Those answers now not only aren't answers but can look very tangential to people who don't review the edit history. If I have Optimize iPhone Storage enabled on my iPhone and my phone storage is completely full, I understand that iOS will only store a low-res thumbnail of many of my photos on the device. (The full high-res version of the image will only exist in iCloud and on devices with Download and Keep Originals enabled.)  But when only thumbnails exist on the device, how does that work in relation to other photo apps on iOS? For example, do third-party cloud-based photo apps (like Google Photos, Dropbox's Carousel, or Amazon Prime Photos) have access to the full high-res images from the iCloud Photo Library? Or will they only see the low-res thumbnails in some cases? What software programs are used to draw physics diagrams, and what are their relative merits? Undoubtedly, people use a variety of programs to draw diagrams for physics, but I am not familiar with many of them.  I usually hand-draw things in  which is powerful in some regards, but it is time consuming to do things like draw circles or arrows because I make them from more primitive tools.  It is also difficult to be precise.    I know some people use LaTeX, but I am not quite sure how versatile or easy it is.  The only other tools I know are Microsoft Paint and the tools built into Microsoft Office.  So, which tools are commonly used by physicists?  What are their good and bad points (features, ease of use, portability, etc.)?  I am looking for a tool with high flexibility and minimal learning curve/development time.  While I would like to hand-draw and drag-and-drop pre-made shapes, I also want to specify the exact locations of curves and shapes with equations when I need better precision. Moreover, minimal programming functionality would be nice additional feature (i.e. the ability to run through a loop that draws a series of lines with a varying parameter).  Please recommend few pieces of softwares if they are good for different situations. I think it would be good to have a way for the user to view the target URL of a link before following it. I'm pretty sure that I'm not the only one who dislikes blind-clicking -tapping links.   When I use SE in the mobile browser, I routinely long-press links to find out where they go before following them. I wish I could do the same thing in the app, with the same or a similar method.  (It's important that this won't conflict with text selection, since you can't long-press on links to select them now anyway.) How does a capacitor function in a 120V AC motor circuit? I don't understand the direction of current flow when a capacitor is wired in series with the start windings in, say, a fridge or other AC motor  running at/under 120V AC. Wiring diagrams seem to suggest that voltage energizes the hot leg of the circuit and current flows through the run windings and then returns via the neutral leg. Without a capacitor, the same thing would happen to the start windings. Problem there I guess is that both windings would be in phase and thus no spin created for the rotor. So, a capacitor is wired in series with the start windings which I kind of understand. But I don't know how the voltage and current behave. Does voltage energize the hot leg, flow through the start windings and then charge the capacitor? When voltage on the hot leg oscillates down to zero, does the capacitor discharge back toward the starter windings, or does current flow through the capacitor to the neutral leg? Basically I don't understand where the capacitor's charge goes when the hot leg is hot and when it is not. Lastly, is the capacitor placed between (downstream from) the start windings and neutral, or could it be wired between incoming voltage and the windings? Toast message with Chinese characters, is it a virus? I recently received some updates today from the Play Store. Every so often a pop notification, one of those bubble ones at the bottom of the screen with Chinese characters.  The most recent update I've noticed is the ES File Explorer. I wouldn't mind, but my device is rooted and so I am at risk. I have a screenshot of the notification.  My device is the Samsung Galaxy Tab A 9.7 and I have stock ROM installed.    What my question(s) are: Do I have a virus (it's not being picked up by Avast) and if I do, how do I remove it? I'm trying to fill empty space in my mesh, and I looked at the knife tool page on the Blender Wiki, and I'm not sure if there's a way to make it so that a new edge is made using the knife tool. I took a screenshot, and hopefully it'll explain better than I can of what I'm trying to do. Oh and I'm using Blender version 2.71, by the way. How to increase battery life on Ubuntu 20.04 and what power saving software should I install, if any? I recently installed Ubuntu 20.04 LTS on my Lenovo Ideapad Flex 5 and realized that battery life in Ubuntu is not as good as Windows. The battery drains faster in Ubuntu. I have seen the questions in Ask Ubuntu about this, but I haven't found anything that regards Ubuntu 20.04 LTS. I've done some research and found out that the battery drain is because most vendors optimize their drivers for Windows and with Linux, you have to hope that the kernel drivers do the job (which they usually do). After that, I researched how to increase my battery life and almost all sources I found recommended installing tlp or powertop or something similar to these. But I have a few questions.  Does tlp, powertop, and similar software actually affect battery life?  If the answer to 1 is yes (in a positive way), what would you recommend I install (such as whether I should  install tlp or powertop by itself or in a combination)?  Are there any other ways to increase battery life in Ubuntu 20.04?   Note: I am a beginner to Linux and Linux distros and do not want to mess with anything advanced that may negatively affect the system. I may not be able to immediately know how to tweak any of the aforementioned software, so please suggest any tweaks if they are needed to get results. And if it helps to know, here are my system specs: OS: Ubuntu 20.04.1 LTS x86_64 Host: 81X2 IdeaPad Flex 5 14ARE05 Kernel: 5.7.17-050717-generic CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz GPU: AMD ATI 04:00.0 Renoir (These were given by neofetch) P.S: If you need anything else, just ask. Thanks in advance! When should you use WP_Query vs query_posts() vs get_posts()? It seems like half the tutorials in the  and around the blogosphere use  and half use . They all do similar things, so when should I use one over the others? How to solve a system of PDEs with zip condition? How do you correctly say large numbers How to query Sharepoint 2010 lists with sql? I think it has to be a common task. We have some applications on sharepoint and we need to prepare reports with data from these applications. It would be great if we could use Reporting Services. We need to query this data with sql because we need to join with some other sources. How can I do this? Are there any 3rd party tools or any built-it mechanisms in sharepoint to use Sharepoint lists data like ms sql tables? Getting hyperref to work with \citeyear and \citeyearpar in biblatex Could humans choose to establish fibre digesting colonies in our guts? Humans don't digest fibre, and nor do any animals, but some creatures have micro-organisms (bacteria, I'm guessing) in their gut which digest fibre for them.  My question is, could humans take some sort of pill and establish our own fibre-digesting colonies in our intestines?  Has this been tried?  Supposing it could be done, would you suppose it would have any negative effects on our health?  (i.e.. would those whose gut digested fibre for them be stuck on a low-fibre diet?).    Purpose of question: just wondering.  It would be cool to be able to eat bark.