What's the directory/location where the installations from repositories go?
What is the Linux equivalent to Windows' Program Files?
The generating function for the Fibonacci numbers The screenshot below says it all, really. The object is offset in both the X and the Z axes, though only the X axis says 1. No other modifiers are on it, no constraints, no locked axes, and I can't think of anything else that would affect this. How can I make it stop doing this? Does it matter what I choose for serialVersionUID when extending Serializable classes in Java? Concatenate multiple files with two blank lines as delimiter? I'm trying to join Markdown files with two newlines between each file.   I've tried using the following command:  paste -sd '\n\n' file1.md file2.md   This joins the files with a newline, but not two newlines, as I need.   What command can I use to join an arbitrary number of files with two \n characters between each join? How to scale and shift voltage signal? I want to scale and shift my voltage signal by below relation:  $$ V_{out} = \frac {10} {12} \cdot V_{in} - 10 $$  Indeed my primary voltage is from 0v to 24v and I want to put it from -10v to +10v.  I try to use the below circuit but its gain is always greater than 1.    Image from SLOA097 TI.  Does anyone know how I can achieve my goal? I have ±12v and 5v power lines.  EDIT: According to the innovative solution by scorpdaddy, I thought it would be valuable to edit my question:   High input impedance is required to decrease load effects. How can it be achieved? How can I achieve the more and more accuracy? Two load icons simultaneously appearing in Android app This  confirms that the Android app is using two different loaders since last year, but just today I've noted that, at the questions page, it is using them simultaneously. I've never noted this, so I believe this bug was recently created.  I hope the following gif is clear enough to show the issue. Also, note that the bigger loader is "freezing".    SE Android App Version: 1.0.60 My Android OS Version: 5.0.2  Still observed in version 1.0.89 Semicolon or dash? Short story: people rediscover how to do math and want to put people in bombs Many years ago I remember reading a short story about an advanced civilization at war that rediscovers how to do math mentally. The reason I remember it is the guy tells it to government officials who are delighted because it means they can put people inside bombs or missiles instead of computers, which were thought to be more valuable.  I believe this is one of those stories I read in a science fiction anthology my father brought home on one of his business trips in the sixties or seventies. After update, Ubuntu has now become PopOS I'm running Ubuntu 20.04.1 LTS. I was recently prompted to install an update from Ubuntu's GUI software updater, but I'm not sure which update. Now, I seem to have... a strange amalgamation of Ubuntu and PopOS all of a sudden? After booting up today, my desktop looks quite different:  It appears to be using Pop Shell, the tiling window manager that PopOS uses. The left-hand dock is gone. Looking at 'Appearance -&gt; Background' in Settings, the PopOS wallpapers are present. If I go to 'Appearance -&gt; Appearance', the light/dark theme chooser shows a visual with &quot;Pop!_OS User&quot; in it. The scrolling direction has been reversed. The icons are different. The Ubuntu Software Center is missing, but there's no &quot;Pop Shop&quot; in its place. The list goes on...  At the same time, a lot of my system is still very much how it was a few days ago when it was &quot;pure Ubuntu&quot; so to speak. My browser, IDE, files/folders, etc. are all the same... For context, I used to dual boot Windows and PopOS on a single SSD, but I've since wiped the drives I use (including resetting partitions). Now I use Windows on the SSD and Ubuntu on a new second drive... I can't imagine how anything from my old PopOS installation would carry over, let alone suddenly reappear inside Ubuntu after an update. EDIT: When running Software Updater again, it shows a full list of what it's trying to install: . When I try to install these packages, it fails midway through. That partially explains things... but why is this even happening? EDIT2: It is trying to install pop-gnome-initial-setup.deb which seems to conflict with gnome-initial-setup. Weird. How do you access browser history? Some e-Marketing tools claim to choose which web page to display based on where you were before. That is, if you've been browsing truck sites and then go to Ford.com, your first page would be of the Ford Explorer.  I know you can get the immediate preceding page with HTTP_REFERRER, but how do you know where they were 6 sites ago? I am given that $V$ is n-dimensional vector space over $\mathbb{C}$ and $T \in L(V)$. And $T$ has least $m$ distinct nonzero eigenvalues. How do I show that $\text{null}(T^{n-m}) = \text{null}(T^{n-m+1})$?  I'm really not sure how to start here so just the first couple steps would be very helpful. Thanks!! Why does the series $\sum_{n=1}^\infty\frac1n$ not converge? Can someone give a simple explanation as to why the       $$\sum_{n=1}^\infty\frac1n=\frac 1 1 + \frac 12 + \frac 13 + \cdots $$   doesn't converge, on the other hand it grows very slowly?   I'd prefer an easily comprehensible explanation rather than a rigorous proof regularly found in undergraduate textbooks. Trigger an event with Prototype Does anybody know of a method to trigger an event in Prototype, as you can with jQuery's trigger function?  I have bound an event listener using the observe method, but I would also like to be able to fire the event programatically.  Thanks in advance So this is something I just found out about that I find odd:   Opportunity attacks—trigger off of movement that uses the creatures movement (action, move action, bonus action, reaction.)  Sentinel—Whenever a creature within 5 ft of you makes an attack at a creature other than you.   Booming blade—If the target willingly moves.   Mental Prison spell—if it moves, attacks through it, or reaches any part of body out of it.   So the “willingly” is different than other rulings for how effects related to movement works. However what exactly fits willing?   Cause fear—nope magic is having them move. Dissonant whispers—same thing. They have to immediately move.   So the creature has to want to move completely of its own accord.   Crown of Madness—Humanoid creature you choose must make a wisdom saving throw. On a fail it is charmed by you. (Next is flavor text so skipping.) While charmed in this way the target must make an attack on a creature other than itself that you mentally choose on each of its turns before moving.  It can act normally if you choose no creature or if none are within reach.   Crown of madness isn't making them move but doesnt specifically say willing.  And if the ruling for willing is movement not caused by magic what about magic causing situations where you take damage if you don't move. Would a creature shimmering with evocation energy be spared because he moved out of the magical blender that is cloud of daggers? If no, then what is the go-to rule for willing movement that I should be using?  In short, what movement counts as willing, and where can it be found? Is moving out of obvious danger caused by magic, willing? Is moving away from an ally so you don't hit them, willing?   If there isn't any actual ruling on willing, that's fine; I'll go back to running it with my interpretation, so that it has same wording as AOO. If there is an actual 5e term or explanation for willing (that isn't Sage Advice), please let me know. I just don't see why it was necessary to put a term in the spell that isn't used anywhere else. I understand it could have been overlooked since it was in a splatbook or has just been ignored since most people probably assume that there is "Forced " and "Willing" movement, with the willing being defined as: any movement from an action, move action, bonus action, or reaction. In same way AOO work. I'm looking for an algorithm which when given a latitude and longitude pair and a vector translation in meters in Cartesian coordinates (x,y) would give me a new coordinate. Sort of like a reverse Haversine. I could also work with a distance and a heading transformation, but this would probably be slower and not as accurate. Ideally, the algorithm should be fast as I'm working on an embedded system. Accuracy is not critical, within 10 meters would be good. What are the differences between mocks and stubs on Rhino Mocks? I haven't play enough with this and usually use mocks, but I wonder what are the differences between this two and when to use one or the other on Rhino Mocks.  Update:  I also found the answer to my question in :  The difference between stubs and mocks You can get the actual definition of the these terms in this article: . I want to focus on the difference from the point of view of Rhino Mocks.  A mock is an object that we can set expectations on, and which will verify that the expected actions have indeed occurred. A stub is an object that you use in order to pass to the code under test. You can setup expectations on it, so it would act in certain ways, but those expectations will never be verified. A stub's properties will automatically behave like normal properties, and you can't set expectations on them.  If you want to verify the behavior of the code under test, you will use a mock with the appropriate expectation, and verify that. If you want just to pass a value that may need to act in a certain way, but isn't the focus of this test, you will use a stub.  IMPORTANT: A stub will never cause a test to fail. Show alert popup on standard page layout on click of standard button "Save" Why pass parameters to CSS and JavaScript link files like src="../cnt.js?ver=4.0"? Is it essential to use comma in a big number? Is it necessary to use comma in a big number? For example, if anyone writes one million four hundred thousand and two as 1400002 instead of 1,400,002 on answer sheet of listening section of IELTS test, will it be considered incorrect?  Thanks in advance. SQL Server - Best way to get identity of inserted row?