I've heard both used interchangeably with regards to object-[oriented/orientated] programming. What's SE's opinion on it?
What are the origins of the word orientated?  As far as I know, the correct spelling is oriented and orientated is not an alternative spelling but an error that is in common use.  Is it for example more commonly used in a certain country or by a certain people? Is there a reason for people choosing to say or write orientated instead of oriented?
I want to crop (as in, take a subset of each frame, like when you crop a photo) a video in Windows Live Movie maker. Is there a way to do this, and failing that is there another free tool i can use to do that? I'm writing a simple bash script, but I need it to check whether it's being run as root or not. I know there's probably a very simple way to do that, but I have no idea how.  Just to be clear: What's a simple way to write a script foo.sh, so that the command ./foo.sh outputs 0, and the command sudo ./foo.sh outputs 1? I am running Ubuntu 15.10 with Gnome DE.  I installed KDE plasma to try it out but sudo apt-get upgrade started giving me errors so I ppa-purged the kde ppa and removed kubuntu desktop with the terminal in Gnome.  Now when I run sudo apt-get upgrade , I get the following error:    The following packages have unmet dependencies:     kde-telepathy-minimal : Depends: kde-config-telepathy-accounts      (&gt;= 15.04.0) but it is not installed.   sudo apt-get install -f does not resolve the issue. I tried sudo apt-get remove kde-telepathy-minimal to remove the package which gives me this error:    The following packages have unmet dependencies: kde-telepathy : Depends: kde-telepathy-minimal   Attempting to remove 'kde-telepathy' gives me the original error.  I am stuck. Please help me and thank you Ubuntu community! How to get Intel Dual Band Wireless-AC 3168 work on Ubuntu 16.04? How can a quasar be 29 billion light-years away from Earth if Big Bang happened only 13.8 billion years ago? I was reading through the Wikipedia article on  and came across the fact that the most distant Quasar is 29 Billion Light years. This is what the  exactly says      The highest redshift quasar known (as of June 2011[update]) is ULAS-J1120+0641, with a redshift of 7.085, which corresponds to a proper distance of approximately 29 billion light-years from Earth.   Now I come to understand that the  singularity is believed to be around 13.8 Billion years ago.  So how is this possible? Does the presence of such a quasar negate the Big Bang Theory?   I'm not a student of Physics and was reading this out of (whimsical) curiosity. Is there something I'm missing here or the "proper distance" mentioned in the fact is a concept that explains this?  Edit: My Bad! Here's how..  A simple google search led me to  which says the farthest quasar found is 12.9 billion LYs and not 29 billion. So in the end we have just proven that wikipedia needs more moderation. "Have you ever seen anyone walk (walking) the streets like that?" Have you ever seen anyone walk the streets like that? Have you ever seen anyone walking the streets like that?  Are both the above sentences grammatically correct? Do they mean the same?  I saw him kiss her the other day. I saw him kissing her the other day.  Are both the above sentences grammatically correct? Do they mean the same? And I'm sorry, if the latter two sentences come off immature .-. I couldn't come up with better sentences. As a programmer, I have no problem with seeing or using "and/or" in technical documentation. For example,     I can upvote an answer that satisfies me and/or mark it as accepted.   That's perfectly good English to me. However, if I were writing a novel, or even just an essay, or — heaven forbid — a poem, "and/or" would seem extremely out of place.  My question is, what should I be using instead? (I solemnly swear I will not use that knowledge to actually write a poem.) NullReferenceException in Unity What size difference is there between the PSP 1000, 2000 and 3000 for applying Skin Stickers? iPhone Passcode for Powering Off Should you set all the objects to null (Nothing in VB.NET) once you have finished with them?   I understand that in .NET it is essential to dispose of any instances of objects that implement the IDisposable interface to release some resources although the object can still be something after it is disposed (hence the isDisposed property in forms), so I assume it can still reside in memory or at least in part?  I also know that when an object goes out of scope it is then marked for collection ready for the next pass of the garbage collector (although this may take time).  So with this in mind will setting it to null speed up the system releasing the memory as it does not have to work out that it is no longer in scope and are they any bad side effects?  MSDN articles never do this in examples and currently I do this as I cannot  see the harm. However I have come across a mixture of opinions so any comments are useful. I have a Canon 550D with 70-200 f4 and 50mm prime lenses. Although the camera has built-in 9 focal points, I sometimes face a strange problem. Here's a sample photo:    In reference to the above pic, you can see that both of the faces are NOT in focus. I used 70-200 f4 for this shot at max aperture. Still, I couldn't get both of them in focus. Why? I also try decreasing the aperture to attain a greater DoF but still, I couldn't get both of them into focus.  Another thing: Although the cam has 9 focal points, why can't I use all of them to focus, say, 9 points in a portrait shot? In manual mode, it has the option to select one of the 9 focal points. And in auto mode, it sometimes select more than one focal points.  This is just an example image. I've faced this problem zillions of times. Expressing $1.24\overline{123}=1.24\;123\;123\;123\;\ldots$ as the ratio of two integers Why do "df" and "du" commands show different disk usage? I cannot access ubuntu system on my pc, the error message: "the system is running in low graphics mode" and I tried some commands I searched from internet.   I found out a problems seems there is no available disk space. I used "df" and "du" commands to check, the results are as follow:  du -j --max-depth=1 23G  ./home 3.3G ./usr  ......  28G   and  df -Th  filesystem   Type   size    used   available   use%    mounted on  /dev/sda5    ext4   68G     68G    0           100%    /   how would I clean up the system for more disk space? How to get my actual data from ContentNote API in Salesforce using SOQL? Is convex surface normal in cast iron skillet? Odds of rolling doubles or triples given N 6-sided dice Over the holidays I played a dice game where each player had 3 to 7 d6 to roll each turn.  The game gave certain advantages to doubles and triples.  I wanted to know the odds of rolling doubles or triples given N dice to understand the importance of "upgrading" to more dice.  My question is really about how to reason about such problems:  It's easy to see that the odds of rolling doubles with 2 d6 are 1/6 (first die can be anything, and 1/6 of the time the second will match).  It's also easy to see that with 7 dice the odds are 1.0 (6 dice could be 1..6, but the 7th must match one of them).  The middle cases are fuzzier to me.  I ended up writing a program to enumerate all of the possibilities (even 6^7 is only 279,936 cases to evaluate) because that was the only way I felt I could verify any closed formula I came up with.  This also enabled me to distinguish cases of multiple doubles (or triples).  I would like to know how to derive closed forms and how to validate such solutions without brute-force simulation. Inequality involving $\limsup$ and $\liminf$: $ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$ This may have been asked before, however I was unable to find any duplicate. This comes from  of "Mathematical Analysis: An Introduction" by Browder. Problem 14:     If $(a_n)$ is a sequence in $\mathbb R$ and $a_n &gt; 0$ for every $n$. Then show:   $$ \liminf(a_{n+1}/a_n) \le \liminf((a_n)^{(1/n)}) \le \limsup((a_n)^{(1/n)}) \le \limsup(a_{n+1}/a_n)$$   The middle inequality is clear. However I am having a hard time showing the ones on the left and right. (It seems like the approach should be similar for each). This is homework, so it'd be great if someone could give me a hint to get started on at least one of the inequalities.  Thanks. I find it curious that the most obvious way to create Date objects in Java has been deprecated and appears to have been "substituted" with a not so obvious to use lenient calendar.  How do you check that a date, given as a combination of day, month, and year, is a valid date?  For instance, 2008-02-31 (as in yyyy-mm-dd) would be an invalid date. How to construct a relative path in Java from two absolute paths (or URLs)? Given two absolute paths, e.g.  /var/data/stuff/xyz.dat /var/data   How can one create a relative path that uses the second path as its base? In the example above, the result should be: ./stuff/xyz.dat