Retrieving record IDs after inserting a List of objects
where do I use Database. Methods?
How to make an embedded question from "What time is it?" If the original question is "What time is it?" and I want to communicate it to another person, are these Embedded Questions OK?        I don't know what time is it.       or        I didn't know what time was it. (if communicated later) I'm a bit confused in describing 1.5hrs in words.   Is writing one and a half an hour correct or should it be one and half hour?  E.g:     I'll see you there in one and a half an hour.     OR       I'll see you there in one and half hour.   Or is there any other correct way of writing this? Have iOS apps. Can I use them on my Mac Mini? I bought many iOS Apps on various iPads and iPod touchs. This Wednesday I will have my first Mac, a Mac Mini, so my question is: Will I be able to download these Apps without any charge, if they are available on Mac Store?  I ask this because I have been watching some videos and have seen GarageBand on the Mac but I don't know if it's the same App. I know that the App Store and Mac Store are different, but, like some Apps on AppStore have a plus symbol on their icons corners saying these Apps can be run on iPad, iPod touch and iPhone I wonder whether there will be some Apps for both iOS and the Mac.  Also, I don't know if GarageBand was released on Mac before iOS devices. I have installed Ubuntu 14.04 LTS 64-Bit and have a Edimax EW-7811Un wifi adapter. I have tired to get it to work but have no luck.   when I run lsusb command I get:  Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]   iwconfig shows that nothing is being read or connected:  eth0      no wireless extensions. lo        no wireless extensions.   I have tired numerous forums and tutorials but cant get it to work, dont know what I am doing wrong.   Can someone give a clear step by step method to get this to work?  uname -r: (Kernel Version)  3.16.0-34-generic OS X El Capitan and older not available on App Store? So it turns out I can not install Sierra because I have a Mid2009 Macbook Pro. I wanted to update to El Capitan, but it turns out its no longer available on the app store?  Any ideas, how to get El Capitan? Frying Oil Reuse What are some guidelines or rules with regard to filtering and reusing (vegetable/canola/sunflower) oil that has been used for deep frying?  Is it safe and acceptable under some circumstances to filter and keep oil? If so, does it depend on which foods were fried? How long can the filtered oil for be kept for?  Or, is it never appropriate? If not, are the reasons health or flavour related? or both? Why does $\log(n!)$ and $\log(n^n)$ have the same big-O complexity? In an example that I found, it is said that $\log(n!)$ has the same big-O complexity as $\log(n^n)$. Please explain why this is the case. I searched for links__system_main_menu, but just find usages of this theme. Where is it defined? php/mysql with multiple queries Remove last character from line Lots of questions in the reopen queue I've noticed in the last couple of days that there have been a few occasions when there's been a sudden surge of questions in the SO "Reopen" review queue.  Normally there's either no questions at all to reopen or at most three or four, and that's still the case, except that for the last couple of days I've gone to the review page and seen about fifty-odd questions in the queue, where just moments before there had been none.  I've gone through the reviews and the questions themselves seem reasonably legitimate (including the occasional audit), so I'm not questioning that... it just seems odd that there would be so many more than usual all of a sudden, and that they'd all appear at once.  Anyone got any insights, or should I just chalk this down as "one of those things"? URLs are linked despite being inside a code span How did Rutherford conclude that most of the mass (as well as the positive charge) was concentrated in the nucleus? Geiger and Marsden's experiment led Rutherford to believe that the positive charge and most of the mass of the atom was concentrated in a small region. I understand what led him to conclude the way the positive charge is positioned in the atom. But how did he conclude that most of the mass was in a small region (the nucleus)?  How did the distribution of the mass matter after all? Given that the electric force is greater than the gravitational force by many magnitudes, the force between the positice charge and the electrons was predominantly electric.   So how did Rutherford conclude that most of the mass is in the nucleus? How would I identify what's causing my Mac to permanently hang on shutdown? Whenever I try to shutdown or reboot my Mac (Macbook Pro 15" Retina late 2013, OS X 10.11.3) it closes all programs like normal and then it goes into that black screen with the progress bar. When it gets to about halfway it permanently hangs and won't ever finish rebooting. I looked at the log viewer and couldn't find anything in particular. Is there a way to monitor a shutdown more closely and find out what's causing it to get stuck? What does "--" (double-dash) mean? I have seen -- used in the compgen command.  For example:  compgen -W "foo bar baz" -- b   What is the meaning of the -- in there? $$\displaystyle\int \:\sin^n\left(x\right)\cos^m\left(x\right)\mathrm  dx=\frac{\sin^{n+1}x\cos^{m-1}x}{m+n}+\frac{m-1}{m+n}\int \:\sin^nx\cos^{m-2}x\,\mathrm dx$$  I have been trying to solve for over a week now can someone please help me. Please don't throw this one out as a duplicate of  I'm not asking about the plurality of the noun immediately following those two words - I'm interested in exactly why the example below is problematic (context: I have several children, one named John)...     1: One of my children's name is John.   I can't see any obvious reason why singular name there is completely unacceptable, but it certainly doesn't sit well with me. It seems to turn on whether one of my children can be treated collectively as the "subject" of the Saxon genitive 's, but I don't see a problem with...     2: It's actually one of my children's, but you can sleep in this bed.   I realise that in practice we'd normally pluralise names in the first example. But of course, this implies that one of attaches to my children's names, which isn't really the same construction.  So - is there some kind of "rule, principle" debarring #1 above? Or is it just "one of those things"?    (Apologies if my later switch from brothers to children invalidates any comments or answers.) As  says:     [...] the kinetic energy of a non-rotating object of mass $m$ traveling at a speed $v$ is $\frac{1}{2}mv^2$.   Why does this not increase linearly with speed? Why does it take so much more energy to go from $1\ \mathrm{m/s}$ to $2\ \mathrm{m/s}$ than it does to go from $0\ \mathrm{m/s}$ to $1\ \mathrm{m/s}$?  My intuition is wrong here, please help it out! Prove that $\mathbb Z_{m}\times\mathbb Z_{n} \cong \mathbb Z_{mn}$ implies $\gcd(m,n)=1$. Prove that $\mathbb Z_{m}\times\mathbb Z_{n} \cong \mathbb Z_{mn}$ implies $\gcd(m,n)=1$.  This is the converse of the Chinese remainder theorem in abstract algebra. Any help would be appreciated.  Thanks! long long implementation in 32 bit machine As per c99 standard, size of long long should be minimum 64 bits. How is this implemented in a 32 bit machine (eg. addition or multiplication of 2 long longs). Also, What is the equivalent of long long in C++.