I have to give my Macbook Pro to a service center for a few days to replace the display. Is it safe from the data perspective? Can they access it? (user login is password protected, but I think the data is not encrypted) Can they just take hard drive and copy everything? What should I do to avoid it?
This might be a bizarre but crucial question, can I fully trust leaving my laptop in repairs (Genius Bar) while they have full access to it ?  I recently went to the genius bar to get my display fixed, and apparently they asked for my laptop's password just in case they need some "testing" after they're done. Can't they do that as a guest account ?  I got sensitive information on my laptop such as passport copies etc, as well as passwords saved in Safari's keychains for my bank account, paypal, amazon etc ..  The service is due later on today, shall I change my password and ask them to contact me directly if they need something specific ?? They're going to fix in 3 hours so I'll be in the mall whilst they finish.
Is there a quick way to get the control that's under the mouse? I need to find the control under the mouse, within an event of another control.  I could start with GetTopLevel and iterate down using GetChildAtPoint, but is there a quicker way? I have a sqlite (v3) table with this column definition:  "timestamp" DATETIME DEFAULT CURRENT_TIMESTAMP   The server that this database lives on is in the CST time zone.  When I insert into my table without including the timestamp column, sqlite automatically populates that field with the current timestamp in GMT, not CST.  Is there a way to modify my insert statement to force the stored timestamp to be in CST?  On the other hand, it is probably better to store it in GMT (in case the database gets moved to a different timezone, for example), so is there a way I can modify my select SQL to convert the stored timestamp to CST when I extract it from the table? I have seen other criteria for divisibility by 7. Criterion described below present in the book Handbook of Mathematics for IN Bronshtein (p. 323) is interesting, but could not prove it. Let $n = (a_ka_{k-1}\ldots a_2a_1a_0)_{10} = \displaystyle{\sum_{j=0}^{k}}a_{k-j}10^{k-j}$. The expression $$ Q_{3}^{\prime}(n) = (a_2a_1a_0)_{10} - (a_5a_4a_3)_{10} + (a_8a_7a_6)_{10} -\ldots  $$ are called alternating sum of the digits of third order of $n$. For example,  $$ Q_{3}^{\prime}(123456789) = 789-456+123=456 $$ Proposition: $7 | n \ \Leftrightarrow \ 7 | Q_{3}^{\prime}(n)$.  proof. ??  Thanks for any help. I am looking for a device that can track my location (lat,long) and speed all day long. Perhaps, I need GPS and accelerometer data bundled together.  What I want to do is to log my daily activities. I spend time walking, running, driving, taking a bus, staying in a building, etc., just like any normal human-being :) I am willing to carry the device with me at all times and would like to see every place I go into and my speed at certain positions.  My requirements are that the location and speed data should be recorded at least every ~20 seconds. I would also like the device to timestamp (date+time) each record. It would be enough if timestamp is precise to nearest minute and the location can go off about a maximum of 10-15m. (30-50ft.)  What I want is a portable device so I can carry all day long for about 2-3 months. I will only use it during casual, daily activities.  I don't want real-time tracking. I can collect the data from a storage later on. First chapter appearing before first line in table of contents Define additional math operators to be typeset in roman Please help me out with this problem:  Let $f_n(x) : [0,1] \to \mathbb R$ be a sequence of continuous functions convergent at every $x \in [0,1]$ to a continuous function $f: [0,1]  \to \mathbb R$ . Does $f_n$ converge uniformly to $f$?  My first solution: I read this example in  posted earlier and I think it works: Take a sequence $f_n:[0,1] \to \mathbb R$ such that $f_n$ increases linearly from $0$ to $1$ on the interval $\left[ 0,\frac{1}{n} \right]$, decreases linearly from $1$ to $0$ on the intreval $\left[ \frac{1}{n}, \frac{2}{n} \right]$, and is $0$ on $\left[ \frac{2}{n},1 \right]$. Then $f_{n} \to 0$ nonuniformly.  Is this answer true? Also, if anyone can give some examples of such function with detailed proof, I will very appreciative? Zero-pad digits in string I need to cast single figures (1 to 9) to (01 to 09). I can think of a way but its big and ugly and cumbersome. I'm sure there must be some concise way. Any Suggestions JavaScript closure inside loops – simple practical example Can $3p^4-3p^2+1$ be square number? My thinking:    acceleration corresponds to a force which is instantaneous, so the acceleration of a rigid body can be rather spiky (non-smooth) velocity (angular velocity) describes the ratio of change of the distance(angle), so it is smooth in the real world.   Conclusion, it makes sense to  (e.g., simple averaging) a velocity signal (temporal velocity), but it does not make so much sense to do smoothing on acceleration signal. Am I right? Chrome always quit when I click on the X button on a tab, without asking me anything!  Even when I close Chrome he do not alert me if I am willing to relay close it?   Many times it happened that accidentally I clicked on X button. SQL Join Differences What's difference between inner join and outer join (left join,right join), and which has the best performance of them?  Thanks! Simulating group_concat MySQL function in Microsoft SQL Server 2005? Can I play against or with Xbox 360 players through my Xbox One? Is it possible to play against and with Xbox 360 players through my Xbox One? Install MS Truetype Fonts system-wide for all users I would like to install the MS Truetype Fonts that come through the package ttf-mscorefonts-installer, so I did:  sudo apt-get install ttf-mscorefonts-installer   Accepting the license, the process completes without any errors. The fonts end up in     /usr/share/fonts/truetype/msttcorefonts   as expected. Just to be sure, I also did a  sudo fc-cache -f -s -v   which among other things says in its output:     /usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs   So far, so good (and inline with question ) However, when I then open any font dialog (e.g. in OpenOffice or the font dialog of the terminal) I don't see all of the new fonts. For Arial, the standard form is missing, but bold and italic are there. Times New Roman is missing altogether.  I can use nautilus to browse to the font directory, double click the Arial.ttf file and see the font in all its beauty. I can even click the install button then and the font is copied over to my personal ./fonts directory and from there on visible to my apps. But it is not picked up from the system directory.  How do I get these fonts available system-wide for all users? Login screen loops unless you login as Guest I am running a VMWare Player with a Ubuntu 12.04 LTS Precise Pangolin as Guest on my Windows 7. Sometimes I get the shutdown blue screen error in Windows, this time it happened when I was running the Player. When I restarted everything Ubuntu gave me the &quot;Login Loop&quot; on adminstrator login. I log in and there's this black screen where I can only read:  piix4...smbus:0.0.0.07.3 Host Smbus controller not enabled .    When I go to the prompt in root mode it fails to update and only upgraded, specially some plugins ( I think graphic plugins) which also appear in one an error message after quitting the prompt, but they´are successfully installed. They are not the error message. After that I have been working with the Fail/safe Mode recovery panel. When I try to update via Root I get errors like this: W:failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/release.gpg could not        resolve 'extras/ubuntu.com  There are 8 more like this referring to areas like: -archive/canonical.com -ppa.Launchpad.net -security.Ubuntu.com -Us.archive.ubuntu.com - release.gpg                         precise-updates/release.gpg                         precise_backport/release.gpg   Final Message: some index files failed to download.....they have been ignored or old files are used. The black screens most of the time pass by too fast for me to pick up any information. But in general I think I have done everything I was able to in the recovery panel including updating network and graphic packages and recovering filesystem packages and the basic stuff ( I am a beginner regarding Linux ) in the root prompt. Now I am stuck in this screen with graphic options: - Run in low-graphics mode just for one session - Reconfigure Graphics - Troubleshoot the error - Exit to console login  I am trying to choose to reconfigure graphics but the mouse disappears in the virtual machine screen and sometimes when options change it´s only the first and last option. But this happens from the blue without messages. This particular option menu is in the regular GUI style against a black screen in Terminal style. Really strange. A general question asked from time to time on stack exchange is question of trigger bulkification.  Therefore I have 2 questions:   Which best practices are you using? What is the best way to handle updates of more than 200 records? (In case of more than 200 records the trigger is executed more than once.) What is the meaning of the beta-coefficient for an interaction term in a crossover study? I have asked a similar question here:  I am puzzled by the interpretation for an interaction term. In my data my Y is an interval variable with the health outcome of an experiment. I have used an interaction term in which I have interacted the condition with the predisposition of the subject considering health status at base level. They are both categorical variables (factor variables in R).  Now it gets complicated because the Condition was two treatments: in treatment A subjects got the placebo first and then the real medicine whereas in treatment B they go the real medicine first and the placebo second. All it changes is the order.   Health outcome = a + Condition * Health.Base   I have the worst state of health at the base level as my reference category I find that interaction with the Condition is statistically significant but I am not sure how to interpret this.  I use the lm() function of R (although my design looks more like an ANOVA) and in the output I get the b coefficient in an output that looks like this:  ConditionB:Health.Base.So.and.So         (Beta and p-value) ConditionB:Health.Base.Excellent         (Beta and p-value)   A statistically significant interaction term for those in Excellent health at baseline would mean that they are affected by the Condition B more than Condition A compared to the reference category people (Poor health at baseline). Is this right? What does the beta-coefficient represent?   If I would like to examine for each Health category at the base line separately without comparing to a reference category I would have to code each category as a dummy variable. However, in this case I would compare whether membership to a specific health status at the base line significantly changes between conditions compared to those who belong to the other health statuses at the base line. Is this right? Again, what does the beta-coefficient represent?  Would it be right to assume that the choice of the interaction between the Condition and the dummy variables is easier to interpret?  --- EDIT --- R output:  Call: lm(formula = HealthOutcome ~ Condition * HealthStatus,      data = datA)  Residuals:     Min      1Q  Median      3Q     Max  -1.5957 -0.5942 -0.2640  0.4423  2.4423   Coefficients:                                        Estimate Std. Error t value     Pr(&gt;|t|)     (Intercept)                            2.595652   0.053044  48.934  &lt; 2e-16 *** ConditionCondB                        -0.001449   0.077071  -0.019    0.985     HealthStatusSo.and.So                 -0.331693   0.078094  -4.247  2.35e-05 *** HealthStatusExcellent                 -0.836724   0.092692  -9.027  &lt; 2e-16 *** ConditionCondB:HealthStatusSo.and.So   0.137490   0.110612   1.243    0.214     ConditionCondB:HealthStatusExcellent  -0.199787   0.133943  -1.492    0.136     --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  Residual standard error: 0.8045 on 1059 degrees of freedom   (68 observations deleted due to missingness) Multiple R-squared:   0.16, Adjusted R-squared:  0.156  F-statistic: 40.33 on 5 and 1059 DF,  p-value: &lt; 2.2e-16 What does limit actually mean? I have been in a deep confusion for about a month over the topic of limits! According to our book, the limit at $a$ is the value being approached by a function $f(x)$ as $x$ approaches $a$.  I have a doubt that in real number line we can never ever reach the closest value to $a$ because always a more closer value will exist.  Now when talking about our methods for calculating limit, what method comes in our mind when we have to calculate where the value approaches? Let's say we have to find what value $f(x)$ approaches when $x$ moves from $[0,a)$.  So we calculate the value of $f(x)$ at $x=0$, say $4$, and then at $x\to a$.   But the problem is that we don't know the value $x\to a$, so we say the value is $a-h$ where $h\to 0$ and calculate the value of $f(a-h)$, say $5-h$.  Now here is where my doubt starts! In the final step we put the value of $h=0$ say in that it is an infinitesimal quantity.  My doubt is that $h$ was tending to $0$ means that it was never equal to zero  maybe it is infinitesimally small, not a stationary value, not an imaginable value, but we know for sure that it is not  equal to $0$. Maybe it is the point closest to zero, but it is not equal to zero and when we use the result $5-h=5$ we are actually making an error which is tending to zero. Maybe the error is very small, but still, there is some error in that we cannot calculate it but we can see that there is this infinitesimal error present.  That means we don't get the exact limiting value or last value of $f(x)$.  $x$ belongs to $[0,a)$ but a value approximate to infinitesimal? Isn't it right! We get an approximated value?