How to fill SQLite database in android?
Ship an application with a database
Recently, Firefox has changed the default folder for newly created bookmarks (using Ctrl+D) from the Bookmarks Menu to "Other Bookmarks".  Is there some way to change that back? Or some alternate method instead of Ctrl+D?  EDIT  A native way to do this (without an add-on) would be best. Add a confirmation before moving comments to a chat ArrayList vs List I saw this reply from Jon on :     If you want a single collection to   contain multiple unrelated types of   values, however, you will have to use   List&lt;object&gt;   I'm not comparing ArrayList vs List&lt;&gt;, but ArrayList vs List&lt;object&gt;, as both will be exposing elements of type object. What would be the benefit of using either one in this case?  EDIT: It's no concern for type safety here, since both class is exposing object as its item. One still needs to cast from object to the desired type. I'm more interested in anything other than type safety.  EDIT: Thanks Marc Gravell and Sean for the answer. Sorry, I can only pick 1 as answer, so I'll up vote both. I try to unzip a zip file, but got an error:  $ unzip COCR2_100.zip  Archive:  COCR2_100.zip   End-of-central-directory signature not found.  Either this file is not   a zipfile, or it constitutes one disk of a multi-part archive.  In the   latter case the central directory and zipfile comment will be found on   the last disk(s) of this archive. note:  COCR2_100.zip may be a plain executable, not an archive unzip:  cannot find zipfile directory in one of COCR2_100.zip or         COCR2_100.zip.zip, and cannot find COCR2_100.zip.ZIP, period.   I googled but didn't find a solution. I was wondering why it is and how I should fix it? Thanks!  The zip file can be downloaded from . It is an application, and here is its website .  My OS is 10.10. AudioSessionSetActive and AudioSessionSetProperty is deprecated in iOS 7 How can I split a beamer bibliography across two slides? Showing two ring homomorphisms that agree on the integers must agree on the rationals I have two ring homomorphisms $f,g\colon \mathbb{Q}\to X$. I know that $f=g$ on the integers. How can I show that $f$ and $g$ agree on the rationals?   My attempt:  let $x,y \in \mathbb{Z}$, $y\neq 0$.  $$\begin{align*} f(x/y)&amp;=f(x)f(1/y) &amp;&amp;\text{because }f\text{ is a ring homomorphism}\\  &amp;=g(x)f(1/y) &amp;&amp;\text{because }f\text{ and }g\text{ agree on the integers} \end{align*}$$  I do not know how to rewrite $f(1/y)$ so that I can replace it with $g(1/y)$. Any hints will be much appreciated. Thanks. How can I prevent my parents' divorce? I am a young teenager, younger than 16. (I do not want to give my age online)    My dad told me he wants a divorce, but I don't want my parents divorced. My dad says he can't stand my mom anymore.  My dad is older than 45 and my mom is older than 40.    If it happens, I would choose to stay with my mom. My dad can cook and drive, but my mom can't. There's a school bus in high school though.    What can I do to prevent this divorce? Last time I asked a similar question but that was about svn related versioning info. Now I am wondering how to query windows "File version" attribute about eg. a dll. I payed attention to wmi and win32file modules as well without success. How to assign same Data to multiple object copies I made many copies of an object, then I thought it would've been better if I made them to share the same Data (being an instance of the same original object), I know how to do it one by one, is there a way to do it for all of them at once? I tried Copy Attribute add-on but didn't find what option can do that, or even if this is possible in the first place. How can I get my usual interface when opening projects created by other people? I've bougth cup models from internet.   In the ZIP I get the blend file and pressing F12 I can render the project (Do you call it project?)  But I don't see anymore the "Layout" tab, that is what I use the most.   Why and how can I go back to my usual interface?    Like in the Opening Layout:    UPDATE 1  I could open the file with the default layout, however I'm not seeing the objects in there:    UPDATE 2  How to open Collection 1? It's grayed out. Deserialize JSON object into dynamic object using Json.net Usage of “when” or “while” in this context He left the house _ I was still sleeping   Would this sentence be better completed with when or with while? Hydrogen radial wave function infinity at $r=0$ When trying to solve the Schrödinger equation for hydrogen, one usually splits up the wave function into two parts: $$\psi(r,\phi,\theta)= R(r)Y_{\ell,m}(\phi,\theta).$$ I understand that the radial part usually has a singularity for the $1s$ state at $r=0$ and this is why you remove it by writing: $$R(r) = \frac{u(r)}{r}$$ But what is the physical meaning of $$R(r=0) = \infty~?$$ Wouldn't this mean that the electron cloud is only at the centre of the atomic nucleus? If/When to move to secondary fermentation Digression from   What are the good rules of thumb for determining a. whether to use secondary fermentation at all and b. when to move from primary to secondary.  Preferably any rule of thumb should have both chemical and anecdotal rationale supporting it. Is "funnest" a word? Please be kind, I am an electronics nub.  This is in reference to getting an LED to emit photons.  From what I read (Getting Started in Electronics - Forrest Mims III and Make: Electronics) electrons flow from the more negative side to the more positive side.  In an example experiment (involving a primary dry cell, a SPDT switch, a resistor and an LED) it states that the resistor MUST be connected to the anode of the LED.  In my mind, if the electrons flow from negative to positive, wouldn't the electron flow run through the LED before the resistor; thereby making the resistor pointless? Recently, my answers are showing at the bottom of the page, even though I got good scores on those answers.       How do I change this back? How do you make sure email you send programmatically is not automatically marked as spam? This is a tricky one and I've always relied on techniques, such as permission-based emails (i.e. only sending to people you have permission to send to) and not using blatantly spamish terminology.  Of late, some of the emails I send out programmatically have started being shuffled into people's spam folder automatically and I'm wondering what I can do about it.  This is despite the fact that these particular emails are not ones that humans would mark as spam, specifically, they are emails that contain license keys that people have paid good money for, so I don't think they're going to consider them spam  I figure this is a big topic in which I am essentially an ignorant simpleton. How to interpret regression coefficients when response was transformed by the 4th root? I'm using fourth root (1/4) power transformation on my response variable, as a result of heteroscedasticity. But now I'm not sure how to interpret my regression coefficients.   I assume that I would need to take the coefficients to the fourth power when I back-transform (see below regression output). All of the variables are in units of dollar in millions, but I would like to know the change in dollar in billions.    While holding the other independent variable constant, a billion dollar change in fees, on average, leads to a change of 32 (or 32,000 dollars) in collections. I take 0.000075223 * 1000 (to get to billions) ^ 4 = 0.000032. Now do I multiply this number by 1 million or 1 billion (the original unit of the dependent variable is in millions)?  lm(formula = (Collections^(1/4)) ~ Fees + DIR)                   Estimate      Std. Error  t value            Pr(&gt;|t|) (Intercept)   2.094573355     0.112292375   18.653  0.0000000000000151 Fees        **0.000075223   **0.000008411    8.943  0.0000000131878713 DIR           0.000022279     0.000004107    5.425  0.0000221138881913