How do I stop my Mac OS X from going to sleep?
How do I stop my 2013 Macbook Air from putting the computer to sleep?
Is there a contraction for "I was"?    There are contractions for "I am" (I'm), "I will" (I'll), "I have" (I've), "I would" (I'd), and yet the simple past tense seems conspicuously missing. Why is that? Does that reasoning apply to "I did" and "I had" as well? Show that every prime $p&gt;3$ is either of the form $6n+1$ or of the form $6n+5$, where $n=0,1,2, \dots$ I've been informed by those who know much more about Harry Potter than I that Hogwarts is protected with a Disillusionment Charm so all muggles will see is ruins with a "Danger: Keep out!" sign around them.  (Apparently this was in one of the first three books, but I'm not sure where it was.)  My first thought was, "Well, a danger sign would encourage some muggles to investigate!"  Which leads to what I think is an obvious question: Will a disillusionment charm on a place like that still work when a person is real close to the location?  Will it work from inside the location?  For example, if a curious muggle made it to the gates of Hogwarts and started walking around inside, would they still see it as abandon and in ruins, or once they entered, would they see it as it is? Parsing input with scanf in C Is it possible to bring built-in lightning components into aura component? I have a form that needs to let the user select 3 out of 5 products, something similar to Order > Add Product (Modal). I was wondering if there was a way to bring that piece into my component (markup) and add some sort of filter that only shows the products I want to show.  What I found so far:  &lt;lightning:listView objectApiName="Products2" listName="productsView" showActionBar="true" enableInlineEdit="true" showRowLevelActions="true"/&gt;   But Product2 is not supported for that component.  also these from browser inspector:  forceMultiAddUsingLVM forceListViewManager   These are data-aura-class attributes when rendered.  I'm looking for directions here. Thanks in advance. How are Star Wars blasters properly reloaded/charged/etc.? I've been looking into the inner workings of blaster weapons primarily using Wookieepedia. While most of it I understand, I still can't figure out how many rounds a gun would fire before needing the ammunition component replaced/reloaded. Is there any solid answer?  I'm someone who likes to design and draw his own weapons and such, but likes to keep to how the technology of an era is in mind. While Star Wars weapons don't really have magazines (and you don't really see them reloading during battle), other people's work still has magazines and treat ammunition consumption as though it's pretty much the same as our modern era.  I guess that I just find it hard to believe, with the technology of the Star Wars Universe, that characters would need to carry lots of ammunition (hence why clones/storm troopers/battle droids don't visually seem to carry very much).  Example: DC-15A     "The weapon's tibanna gas cartridge carried enough gas for up to 500 shots, depending on the power settings of the weapon, while the charge pack lasted about 50 shots"   Source:   I've read in several places that this can be seen in two different ways.  1. Which ever ran out first, had to be replaced before the weapon could fire again. 2. The weapon contained two different sources of ammunition (so I guess you could switch between the two) Plagiarism of Lecture Slides Original Post:  I recently attended a lecture with highly technical content.  One of the middle slides in the deck had a particular phrase that reminded me of something that I had read several years before.  It took me a few minutes, but I found the original source (another slide deck) and am shocked to find that the professor lifted 35 slides verbatim from the original source.  The University holds students accountable for plagiarism and strictly defines plagiarism such that this clearly fits.  The slides were used verbatim and no credit or reference was provided.  Further, logos were added and color schemes were changed to make make them look slightly more like original content.  What should I do?  This professor has a professional full time job and I can imagine this getting swept under the rug, but this is clearly plagiarism and is spelled out very clearly in the student conduct code.  Is this an overreaction or should I pursue this?  This is confounded by the fact that I am very disappointed by the rigor of the course and feel like the professor lacks adequate technical background to teach the course (I guess my suspicions came true).  I'm really busy at work so don't want to deal with a big todo, but believe this really discredits the academic integrity of the course.  Additional content in response to comments:  The University defines plagiarism as "Using another writer's words without proper citation."  There is no proper citation given here, and these are not educational materials.  This is 35 slides from someone else's tutorial presentation.  I do not believe that the professor and the author of the original content have a relationship.  I have emailed the author to enquire about any permissions or relationship.  Still, even with permission, this is still plagiarism as defined be most people and as defined by the University.  All original works in the US are implicitly copyright protected, so there is also a copyright issue, but this is not currently my concern, though it could be of interest to the original author.  I have emailed him, so this is up to him.  This is a US institution and is a top tier highly respected school.  I am also not a lay student, but a Ph.D. with a degree from a top tier university who has served as a faculty member at two top tier universities (including this one).  I have also taught undergraduate courses in the past.  I have never engaged in this type of plagiarism, have never known colleagues to do so, and am shocked that so many people suggest this is par for the course in teaching.  My doctorate is from a school that prides itself on its honor code and takes honor code violations very seriously and I have served on the honor council and deliberated on a case of plagiarism in the past.  I really am shocked by this incident.  Response from Original Author of the Slides:  I have received a response from the author of the slides and he states that the work is his original work, that there are no additional authors of the work, that no one has been given permission to present the work, and that he believes his copyright on the work has been infringed upon.  He has requested additional information to assert his claim on the copyright. I was wondering if someone knows if there is a foot/feet symbol available in any of latex packages that I could use in my text? I would appreciate any hint.  I do really mean a foot/feet icon as in the picture below. Considering an ideal case(neglecting drag of air, damping etc.), a pendulum follows SHM if the angular displacement is small (upto 10 degrees). But, for large angular displacement(more than 10 degree), it does not follow SHM. Why? What force cause the pendulum not to follow SHM? Attribute Table Default Order in QGIS I'm having an issue with QGIS version 3.2 Bonn. For my class, a question asks, "What city corresponds to row number 1713 for the Colleges and Universities shapefile?". I'm having issues answering this, because each time I load the shapefile into QGIS, the attribute table order is randomized, giving me a different city each time.   How can I open the "default" version of the attribute table for this layer, so that the order of rows is not randomized each time? Displaying and/or searching across thousands of contacts? The Need  Our application has a chat feature that allows our users to chat with other users within their database.   However, we're adding a feature that allows clients to share data between multiple databases as an "Enterprise" configuration, and we've been asked to update the design of the chat feature to allow users to chat with other users within any of those databases.   We've looked at the numbers of possible users in these scenarios, and the number of chat users in these shared database environments can be as many as 5,000.   Users need to be able find people they need to chat with out of these thousands of contacts. However, up til now, we've had a list of contacts the users can browse. Since that is a user expectation, we were hoping to still maintain a browse-able list of contacts. We have ruled out trying to display a list of 5,000 contacts, as this doesn't seem to be anywhere close to useful or usable.   We've come up with three approaches to solve the problem:  Option One  Show a list of contacts from the local database that user's can browse. Have a second tab that allows users to search the "Full Directory", returning results from multiple databases.     Pros:   Allows us to show a browse-able list of relevant contacts  Clearly indicates to users that another source of chat contacts are available   Cons:   Search would be limited to the current tab, meaning users would have to be in the right tab to return the right result Adds a possible source of user confusion: whats the difference between "contacts" and the "full directory"? Adds another tab to what should be a simple chat list     Option Two  Show a list of contacts from the user's local database, but if they search for a contact, include results from other databases as well.     Pros:   Maintains a list of contacts the user can browse Avoids adding adding another tab One search field searches all sources   Cons:   Searching a finite contact list and returning results that weren't in the contact list may defy user's mental model of how the search will work. Not clear that another source of contacts exist. May need to add explanatory text that says "Search to see contacts from the full directory".      Option Three  Add a dropdown that allows a user to select a what to search in: the local database, or the full directory.     Pros:    No additional tab required Indicates to users that another source of chat contacts are available, though not as clearly as option 1   Cons:    Search still isn't universal: the right search category must be selected to return the right result Users may not notice the dropdown or understand intuitively what its function is. May require explanatory text in search results, reminding the user they can expand the search to the full directory     Thoughts?  Right now I'm leaning towards option two, but is there another option I'm not considering here? Is there another alternative worth considering?   Thanks! How to make a sound once a process is complete? I have started a long process through a terminal. Is it possible to make the Ubuntu terminal make a sound once the process is complete? This way, I don’t need to keep checking, but will instead be notified through a sound. This System Information is from Process Explorer. There is still physical memory available but the system shows nearly no RAM left.  Task Manager also shows that about 74% of total RAM is used.  Since installing Windows 8.1, the computer had 4+8=12 GB of RAM. I upgraded it by changing the 4 GB to an 8 GB module. Could that be the problem? Or is this behavior normal and I've just misunderstood the meaning of available physical memory? In Delphi, is TDataSet thread safe? I'd like to be able to open a TDataSet asynchronously in its own thread so that the main VCL thread can continue until that's done, and then have the main VCL thread read from that TDataSet afterwards. I've done some experimenting and have gotten into some very weird situations, so I'm wondering if anyone has done this before.  I've seen some sample apps where a TDataSet is created in a separate thread, it's opened and then data is read from it, but that's all done in the separate thread. I'm wondering if it's safe to read from the TDataSet from the main VCL thread after the other thread opens the data source.  I'm doing Win32 programming in Delphi 7, using TmySQLQuery from  as my TDataSet descendant. prove that if $1 \le m \le n$ then $\left(1+\frac1n\right)^m < 1+\frac mn + \left(\frac mn\right)^2$ Is a 1st-level spell cast using a 4th-level slot a 1st-level spell, or a 4th-level spell? Why does ice melting not change the water level in a container? I have read the explanation for this in several textbooks, but I am struggling to understand it via Archimedes' principle. If someone can clarify with a diagram or something so I can understand or a clear equation explanation that would be great. Principle of Reflection on atomic level This well-observed phenomenon has, besides several others, always been a fascination to me. We are well aware of several theories, experiments, and practical applications of this well-known phenomenon, but is it established what goes on at the grassroots of reflection?  My high school teacher once told me that whenever light is incident on any reflecting surface, its electrons absorb the energy of the photon and release back the same energy. If this is actually true, then I have plenty of questions to continue, but if it is not, then what is reflection, and how and why does it take place? Why is it that   $$\lim_{n \rightarrow +\infty} \left( 1 + \frac{\lambda}{n}+ o \left( \frac{1}{n} \right) \right)^n = e^{\lambda}$$  I once remembered the justification for "ignoring" the $o(1/n)$ but can't recall it again. I'm an Indian. I'm planning to book a journey from Mumbai to Johannesburg, South Africa and back (conference visa). I looked at refundable tickets, while they are priced higher, they give you half your money back, for instance if the to and fro flight costs INR 40,000 they give you INR 20,000 . But this is if you are cancelling for some reason.   What if you have to cancel because your visa application or the transit visa application got rejected. As far as I understand the procedure is :-  a. Buy airline tickets   b. Apply for Visa   c. Wait between 1-6 weeks to get update about your visa application, for both visa and transit visa (although transit visa should be shorter I guess.)  d. If visa is granted then move on to planning other things about the trip.   Now in case, if the visa application fails (for whatever reason ) what recourse does the traveler have ?  Are there any airlines who are better understanding than others about this situation ?  In non-refundable tickets, I guess that all is lost or is there some way to save money there too.   Lastly, I read travel insurance can help in this case. How does travel insurance help in the above scenario ?  Edit :- One of the pre-conditions of getting the visa is   Proof of a Valid Return or onward ticket or purchase of ticket. This is from   and