I'm running a fresh install of Ubuntu on an old iMac. It was going painfully slow on OSX so I wiped that and installed Ubuntu overtop of it hoping it would speed things up a bit.   I'm not going to be doing any hardcore gaming or anything, but I just wish it wouldn't become almost unresponsive whenever an album of gifs starts loading.   What are some tricks to speed up the computer and use less ram? Thanks in advance.  Specs:  Memory: 983.1 MiB Processor: Intel Core 2 Duo CPU T7300 @ 2.00GHz x 2    Graphics: Gallium 0.4 on AMD RV610     OS type: 32-bit    Disk: 245 GB
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?
Is a totally ordered set well-ordered, provided that its countable subsets are? Let $(X,⪯$) be totally ordered set, prove that if every non empty countable subset of $X$ is well ordered then X is well ordered.   It does seem obvious that any subset should have a minimum but I am not sure of how to prove it. Any help would be appreciated, and sorry I put up the same problem earlier but forgot to include the 'countable' subset. Why doesn't Doctor Strange remove the Infinity Gauntlet from Thanos? Doctor Strange seemingly has the ability to open portals wherever he wants. We see at the beginning of Infinity War what happens when he closes a portal and someone isn't fully through it.  Is there any reason why he can't open a portal around the left-elbow of Thanos, and then close it?  I realize that Thanos probably wouldn't allow this to happen normally,      but when he is mostly asleep, and Tony and Spider-Man are pulling on the gauntlet, Doctor Strange has ample opportunity, and plenty of space to just sever Thanos' arm.   Why doesn't he? What is a substitute for red or white wine in a recipe? How can I efficiently drive an LED? I understand that I can not connect an LED directly to a battery because it will draw too much current. Thus, there must be something else in the circuit to limit the current. What options are there? Are some methods more efficient than others? After I saw that post i wanted to solve the first one which is $a\mid b^2,b^2\mid a^3,a^3\mid b^4,b^4\mid a^5\cdots$ Prove that $a=b$  Now i started by proving that $a$ and $b$ have same prime divisors,proving that is trivial,after doing so I checked do those factors have to have the same power.I tried with $$a=p^2,b=p^3$$ I noticed it exactly goes for 3 terms,or that $a^3\mid b^4$ doing $$a=p^{n-1},b=p^n\\p^{n-1}\mid p^{2n}\\p^{2n}\mid p^{3n-3}\\p^{3n-3}\mid p^{4n}\\p^{4n}\mid p^{5n-5}\\\cdots\\p^{n(n-1)}\mid p^{n(n-1)}\\p^{n(n-1)}\mid p^{n(n+1)}\\p^{n(n+1)}\not\mid p^{(n-1)(n+1)}$$ Now yeah I guess that would be a proof,but wouldn't setting $n=n+1$ infinitely many times make every term dividable? Is it possible to play D&D 5e solo? Is it at all possible to run a solo game where you act as the DM/GM for yourself? I know there was a 4th edition adventure published in an old issue of one of the D&amp;D magazines but recently I read somewhere (Reddit I think) that the games Outbreak: Undead and Eclipse phase were good games to play solo.  Can anyone with experience with running a game of D&amp;D 5e for themselves explain how to do so? Can I recover app data after the phone has been Factory Reset? How do I start Nautilus as root? What do I do if I don't have a META-INF folder or minecraft.jar? I have looked all over the Internet for solutions but I have got nothing.  I want to install the minepainter mod but I need a META-INF folder and a minecraft.jar. How would you do a "not in" query with LINQ? I have two collections which have property Email in both collections. I need to get a list of the items in the first list where Email does not exist in the second list. With SQL I would just use "not in", but I do not know the equivalent in LINQ. How is that done?  So far I have a join, like...  var matches = from item1 in list1 join item2 in list2 on item1.Email equals item2.Email select new { Email = list1.Email };   But I cannot join since I need the difference and the join would fail. I need some way of using Contains or Exists I believe. I just have not found an example to do that yet. Java reading a file into an ArrayList? How do I restore iPhone 6s stuck on connect to iTunes screen/Apple logo I'm not really sure how, but after I woke up today, my phone was just displaying the loading spinner and doesn't start up anymore. It's weird because my phone turned off last night and suspecting that it was probably out of charge, I thought charging it overnight would fix the problem.   So, my iPhone is currently stuck on the iTunes/Apple Logo loop. When I put it into DFU/Recovery Mode and connect it to iTunes, it isn't able to restore it. It keeps throwing "Network Connection Problems" -- it downloads iOS 10 for a bit and suddenly stops downloading, throwing the error. I've also tried downloading a custom .ipsw from  but it seems that the file is corrupted whenever iTunes tries to unpack it.   Any thoughts on how I could go about fixing this?   Note - I don't have a jailbroken iPhone. The grammaticality of "that don't impress me much" I'd like to know how the sentence "That don't impress me much" sounds to a native English speaker.  The phrase is the title of a song by Shania Twain, and to my eyes it contains a clear error. It is obviously intended, and I want to know what was the effect that the author wanted to obtain.  Other examples that come to mind:   “She's got a ticket to ride, but she don't care” — The Beatles “My love don't cost a thing” — Jennifer Lopez “It don't matter” — Akon “She don't care about me” — heard in the Lost series “It Don't Mean a Thing” — a jazz album title “The Sun Don't Lie” — another album title Can I delete user directory after deleting user? The reason I ask is because I recently made the mistake of installing Oracle 12c on my sub-performance laptop. Noticing the excessive amount of resources this added up to on startup, I decided to uninstall it.  What I failed to see through, however, was the fact that it created a new Windows user account in order for the initial installation to work out. In my case, it was mandatory because I only had an administrator account and I didn't see the need to use the built-in account. So, after failing to successfully install 12c twice, I wound up creating not just one, but two Windows user accounts. This had to do with something in regards to how Oracle sets up the Oracle Home business and whatnot, but I have no idea what any of that detailed, so I just went ahead and did it.  After uninstalling what I could in regards to Oracle and the database, I decided the next thing to do would be to remove the created users.  Having Windows 10 Home installed, I couldn't use the local users &amp; groups view/tool to delete these from the GUI. SO, I did the next best thing and Googled a solution. In my case, I used the following command:  net user username /DELETE   When I executed the command, the console gave the response of having successfully deleted the account for both accounts specified.  To verify that this had worked, I went to the users directory located in %SYSTEMROOT%/Users/ and came to find that the user directories were still there.  What does this mean and if I should delete them, will anything bad happen?  Can I even delete these directories?  Regards,  --T.R.G CUDA Driver API vs. CUDA runtime When writing CUDA applications, you can either work at the driver level or at the runtime level as illustrated on this image (The libraries are CUFFT and CUBLAS for advanced math):   (source: )    I assume the tradeoff between the two are increased performance for the low-evel API but at the cost of increased complexity of code. What are the concrete differences and are there any significant things which you cannot do with the high-level API?  I am using CUDA.net for interop with C# and it is built as a copy of the driver API. This encourages writing a lot of rather complex code in C# while the C++ equivalent would be more simple using the runtime API. Is there anything to win by doing it this way? The one benefit I can see is that it is easier to integrate intelligent error handling with the rest of the C# code. How can an encryption scheme be indistinguishable with multiple messages but vulnerable to an adaptive chosen-plaintext attack? In order to be indistinguishable with respect to multiple messages, wouldn't the scheme need to be nondeterministic? How would this then possibly be vulnerable to an adaptive CPA? Grepping logs for IP addresses Show that $a^{61} \equiv a\pmod{1001}$ for every $a \in \mathbb{N}$ Dynamically Create a generic type for template I'm programming WCF using the ChannelFactory which expects a type in order to call the CreateChannel method. For example:   IProxy proxy = ChannelFactory&lt;IProxy&gt;.CreateChannel(...);   In my case I'm doing routing so I don't know what type my channel factory will be using. I can parse a message header to determine the type but I hit a brick wall there because even if I have an instance of Type I can't pass that where ChannelFactory expects a generic type.   Another way of restating this problem in very simple terms would be that I'm attempting to do something like this:  string listtype = Console.ReadLine(); // say "System.Int32" Type t = Type.GetType( listtype); List&lt;t&gt; myIntegers = new List&lt;&gt;(); // does not compile, expects a "type" List&lt;typeof(t)&gt; myIntegers = new List&lt;typeof(t)&gt;(); // interesting - type must resolve at compile time?   Is there an approach to this I can leverage within C#? How does ServerName and ServerAlias work?