I'm thinking of buying a Lenovo Ideapad S510P, and I want to install Ubuntu on this. I wonder if anyone has any experience with this particular laptop, and running Ubuntu on it.
For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?
php loop through json array Why does Unix store timestamps in a signed integer? Why is a signed integer used to represent timestamps? There is a clearly defined start at 1970 that's represented as 0, so why would we need numbers before that? Are negative timestamps used anywhere? I'm drawing a scene where the camera freely moves about the universe.  The camera class keeps track of the view (or look at) point, the position of the camera, and the up vector.  These vectors/points are then passed into gluLookAt.    Pan and zoom are nearly trivial to implement.  However, I'm finding rotation about the look at point to be much more of an issue.  I want to write a function Camera.rotate that takes 2 angles, one that rotates up/down and one that rotates left/right along an imaginary sphere that is centered about the look at point.  Is there an easy way to do this?  I've (briefly) read about quaternions, but I wanted to see if there was an easier solution given the relatively simple construction of my scene. How do volume control headphones work? A recent question over on  got me to wondering how volume control headphones work.  I don't mean volume control which works by , but the kind of volume control that signals to the device to increase or decrease the signal output.  For instance, according to the , the volume controls are only for apple devices:     Universal Compatibility and Microphone Communication   LP comes with 2 cables for universal compatibility with all modern mobile and audio devices. The 3-Button remote microphone cable is designed for the latest Apple devices, including iPhone®,iPad®, iPod®, and Macbook series. The long audio-only cable and 1/4" adapter is universally compatible with all audio devices and professional equipment.   However this sort of device apparently works with some android phones and the question implies that it works with some computer sound cards on Windows machines too, but not being an Apple buyer (and only recently getting my first smartphone) I haven't seen this sort of thing before. I've done a quick google search, but can't find anything on standards for this technology.   How does this work?   Is it something as simple as shorting left/right/mic channels? If so, could using headphones of this type with equipment that doesn't support this technology, damage that equipment? Is it a serial signal, for instance sent over the mic channel? Does it just require a headphone  connector or a headphone  +microphone TRRS connector?   Does this technique have a name?  Incidentally, is someone could answer this, I can probably look up the rest of the information myself. *8') Is it as standard as it appears, or is everyone just following Apple? Is this something that is patented?   If so, who holds the patent and do they charge a license fee for people to use this technology? If not, is there an open standard for it?    There is some excellent information in  to the question  but it doesn't answer the specifics of how this type of volume (etc.) control works, since it now seems to be rather more common and standard. Exec format error of gcc-compiled Hello World c++ On AWS Ubuntu Server, I wrote C++ Hello, World program:  #include &lt;iostream&gt; using namespace std;  int main(){         cout&lt;&lt;"Hello, World!"&lt;&lt;endl;         return 0; }   And compiled it:  ubuntu@ip-xxxxx:~/dev/c++$ g++ -c ./test.cc -o out ubuntu@ip-xxxxx:~/dev/c++$ chmod a+x out ubuntu@ip-xxxxx:~/dev/c++$ ./out -bash: ./out: cannot execute binary file: Exec format error ubuntu@ip-xxxxx:~/dev/c++$ file ./out ./out: ELF 64-bit LSB  relocatable, x86-64, version 1 (SYSV), not stripped ubuntu@ip-xxxxx:~/dev/c++$ uname -a Linux ip-xxxxx 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux ubuntu@ip-xxxxx:~/dev/c++$ gcc --version gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4   It seems that architecture x86-64 is the same each other. What is the problem here? Do I have to add more C++ flags? Luggage transfer in Dubai between flights, without a visa I am traveling from Stockholm to Dubai and Dubai to Nairobi using two different airlines. I have Kenyan nationality and can't go through Immigration because I don't have a Dubai visa.    How I will get my luggage? I have a Asus ROG G551VW laptop and I'm trying to install Ubuntu 16.04 on my laptop, but when i try to load the installer, my laptop just freezes and its fan starts working for no reason. I have tried to install Ubuntu 14.04 on my laptop and the installation went smoothly. What should I do if I want to install Ubuntu 16.04 on my laptop?  Any help would be greatly appreciated. Why do I get "Required key not available" when install 3rd party kernel modules or after a kernel upgrade? How to view and export database content? I'm trying to view the actual entries, not the backend identifiers.  &gt; db.&lt;collection&gt;.find({"_id": "486b4ca55b144b119f4551417c5798c8"}).pretty()  {     "_id" : "486b4ca55b144b119f4551417c5798c8",     "date" : ISODate("2017-04-20T05:47:06.176Z"),     "content" : ObjectId("58f84b5a0318762cb6e230a6"),     "digest" : "d064a874c872d75f6ab67c04d8b79b26f65f9b4f",     "short" : "5f9b4f",     "size" : 2374694 }   Also tried mongoexport:  $ mongoexport --host 127.0.0.1 --port &lt;port&gt; -o test --pretty --db &lt;database&gt; --collection &lt;collection&gt;   This also shows backend data. I just want to see what was uploaded to the database. The actual content itself. Why $x^{p^n}-x+1$ is irreducible in ${\mathbb{F}_p}$ only when $n=1$ or $n=p=2$ I have a question, I think it concerns with field theory.     Why the polynomial $$x^{p^n}-x+1$$ is irreducible in ${\mathbb{F}_p}$ only when $n=1$ or $n=p=2$?   Thanks in advance. It bothers me for several days. How to say that something is (not) random I want to compare two things, one of which is random and the other is not, in favor of the latter. I'd like to do it in a more sophisticated way than simply using the word "random".  Like, for example,     In this case, your pay will not depend on the roll of the dice.   But Google Ngrams doesn't find a single occurrence of "depend on the roll of the dice", so I guess there's something wrong with this particular phrase. What would be a better substitute? What are the scars on the face of Dryden Voss? Dryden Voss, the iconic villain in Solo: A Star Wars Story, has some pretty radical facial scarring.    I'm wondering if there is any evidence how he got these scars?  In particular is it possible he got the scars in battle, or from exposure to a particular substance or drug.  It also seems he is under the service of a Sith Lord (if not an apprentice himself) and if so, could this have come as part of an initiation into, or training with, the dark arts. Does $IJ=IK\implies J=K$ always hold for integral domain and finitely generated nonzero ideal $I$? Let $R$ be a commutative integral domain, $I,J,K$ three ideals of $R$ with $I\neq (0)$ being finitely generated. Then does $IJ=IK$ imply $J=K$?   With Nakayama lemma, I can prove it if one of $J$ and $K$ equals to $R$. And I also know it holds when $R$ is a Prüfer domain or $I$ is singly generated. How can the contact point of rolling body have zero velocity? They say that for a rolling body, the velocity of the contact point is zero. I'm not getting this. How can it be zero when it's in continuous motion? In US hotels, what happens if you skip checkout and just leave the hotel? Every time I check out of a hotel, they ask me if my stay went fine, let me review my incidental charges and ask if they should charge the credit card used to check in.   But what if I simply walk out of the hotel without formally "checking out"? They have my credit card on file and these days you don't even have to return your room key if you want to keep a souvenir. Would it be rude and create more work for hotel employees?  The question arose after spending 15 minutes in the check out queue at a major US hotel. Uniform convergence for sequences of functions Yes, I'm really sure I want to delete that post Should initial e's after h-dropping be capitalized? A new Victorian-set British novel begins sentences containing h-dropping with lower-case e's, as in " 'e took my money, 'e did." This seems incorrect but I'm at a loss to find the rule. create mesh then add vertices to it in python Compute $\mathbb{P}\{ W_t < 0 \, \, \text{for all} \, \, 1 < t < 2\}$ for a Brownian motion $(W_t)_{t \geq 0}$ Let $(W_t)_{t \ge 0}$ be a standard one-dimensional Brownian motion. Calculate $$\mathbb{P}\{ W_t &lt; 0 \, \, \text{for all} \, \, 1 &lt; t &lt; 2\}.$$ I can only think that this will be conditional on $W_1$. Please tell how to proceed?