Questions with bounties that were awarded long ago show up on the featured tab

Questions with bounties that were awarded long ago (> 1 week) show up on the featured tab on several sites. All instances I've seen so far are on sites where this is the only item in the featured tab.  For example, on :    Note that there is no blue [+n] before the question. Also, the bounty was already awarded to an answer on the 11th of August. If an bounty was started after that, it wouldn't have expired yet, but it has also not been awarded.   This is also on , ,  and . In all cases, the bounty has been awarded and its the only featured question in the tab.


Movie or TV episode where the 'hero' is tricked into destroying the Earth

Years ago, I caught just the last couple of minutes of a movie on TV. I may have the plot totally wrong, but what I think had happened is that this starship pilot had gone through a wormhole and fought through overwhelming odds to drop a bomb on an alien planet, ending a war and saving Earth. But it turned out that the aliens had somehow turned him around going through the wormhole, so that he'd actually been fighting his way to Earth, and destroyed it. Again, much of this is speculation based on seeing a very tiny part at the end, so I may be wildly off-base. But any help identifying a possible match would be appreciated. This was decades ago - perhaps between 30 and 40 years. I'm familiar with Ender's Game (short story, novel and movie), and don't think that was it - though I'd have to admit it's a remote possibility. However, I'm fairly certain the guy had just bombed the Earth by mistake. As for the age of the main character, I don't recall - but I'm fairly certain I'd remember if it had been a kid. And yes, it may have been simply an assumption on my part that it was a film. I'd concede that it could have been a TV episode.


Correcting a paper that just came back from review, what should I do?

After this one paper came back with minor revisions requested, I'm revisiting my data and making sure to check that everything stated in the paper is factual.  Finally, I found a few errors that were not pointed out by the reviewers and need correction.  The first error is that one of the charts had inaccurate error bars, which are much smaller now after the correction and actually support further my conclusions.  The second thing that I want to improve, which is not an error per se, is to get a new set of data for one of the graphs to substitute the current one which has an outlier point.  None of these corrections would alter the final conclusions of the study.  Since these corrections were not requested by the reviewers, I'm afraid the reviewers and the editor might think that this is inappropriate and will end up requesting another round of revisions or, even worse, rejecting the paper...  How do you think that the editor would take these unsolicited changes?


NoMethodError when trying to invoke helper method from Rails controller

I'm getting a NoMethodError when trying to access a method defined in one of my helper modules from one of my controller classes. My Rails application uses the helper class method with the :all symbol as shown below:  class ApplicationController < ActionController::Base   helper :all   .   . end   My understanding is that this should make all of my controller classes automatically include all of the helper modules within the app/helpers directory, therefore mixing in all of the methods into the controllers. Is this correct?  If I explicitly include the helper module within the controller then everything works correctly.


Catenatives followed by infinitives and gerunds

What is the difference in meaning when the catenative verb “like” is followed by an infinitive, or by a gerund? For example:      Do you like ski jumping?    vs.      Do you like to ski jump?   Also, what is the difference between:      My brother taught me to read and write.    vs.       My brother taught me reading and writing.


Minimum amount of explained variance after Principal Component Analysis

I am running a PCA against two datasets of biological data (gene expression data).  The first has 20K genes (dimensions) x 450 samples, while the second has 11K genes (dimensions) x 185 samples.  Running PCA on these two datasets I get a very low amount of explained variance by the first principal components. Specifically, in the case of the first dataset I get                               PC1       PC2       PC3       PC4       PC5 Standard deviation     1.175e+05 1.132e+05 9.022e+04 8.412e+04 7.002e+04 Proportion of Variance 1.396e-01 1.296e-01 8.236e-02 7.161e-02 4.961e-02 Cumulative Proportion  1.396e-01 2.692e-01 3.516e-01 4.232e-01 4.728e-01                              PC6       PC7       PC8       PC9      PC10 Standard deviation     6.857e+04 6.816e+04 6.147e+04 5.796e+04 4.940e+04 Proportion of Variance 4.758e-02 4.701e-02 3.823e-02 3.399e-02 2.470e-02 Cumulative Proportion  5.204e-01 5.674e-01 6.056e-01 6.396e-01 6.643e-01                             PC11      PC12      PC13      PC14      PC15 Standard deviation     4.434e+04 4.196e+04 3.953e+04 3.667e+04 3.374e+04 Proportion of Variance 1.989e-02 1.782e-02 1.581e-02 1.361e-02 1.152e-02 Cumulative Proportion  6.842e-01 7.020e-01 7.178e-01 7.315e-01 7.430e-01                             PC16      PC17      PC18      PC19      PC20 Standard deviation     3.324e+04 3.237e+04 3.155e+04 3.080e+04 2.955e+04 Proportion of Variance 1.118e-02 1.060e-02 1.007e-02 9.600e-03 8.830e-03 Cumulative Proportion  7.541e-01 7.648e-01 7.748e-01 7.844e-01 7.933e-01   In this case, the first principal component amounts for the $13.96$% of total variance.  For the second dataset, which is smaller in size, the first principal component amount for the $41.71$% of total variance, the second for the $10.56$%.  In particular:   in the first dataset, cumulative explained variance for the first $10$ principal component is $66.43$% in the second dataset, cumulative explained variance for the first $10$ principal component is $78.43$%   I have two questions:   Could it be that the amount of explained variance is this low because of the high number of dimensions? Could the result of this PCAs be used for subsequent analysis, even if the amount of variance is very low?


Best way to promote the Indie RPG I am developing

I am currently developing a Indie RPG that I hope to Kickstart next year. What is the best way to promote it? (I know this is a common question)  Currently I have found Google+ communities the best, and I'm using  to upload snippets of my work. I am directing people to email me if they are interested in beta testing.  Is there anything I am missing? What is it?


Workarounds for Sites page to update standard object?

I have a client who wants external users to submit data via a Sites VF page and update Opportunity records.  Of course the Sites profile doesn't have permissions to update standard objects.  Also, the client does not want to purchase portal licenses for these external users.  I am considering two workarounds and am wondering if they are possible:  1 -- Write some Apex webservices and call them from the Sites page Visualforce controller.  Is it even possible to call your own webservices from a controller?  I presume the webservices would be running in system context?   2 -- Have the Sites page create a custom object record instead, and then write a trigger to update the opp record using the custom object.  Will the trigger be running in the system context and be able to update the opp?  Thanks David


Can I pair 2 Bluetooth headsets to my iPad simultaneously? We watch tv on it when traveling

We own 2 pairs of the same headsets and wish to pair them simultaneously to watch tv on the iPad.  Only one at a time seems to work.  They have the same name which may be the issue, but I can't find an answer online.  Is it possible to send audio to two Bluetooth headsets simultaneously? If so, how?


How can I log back in to a Pokemon go account

I was on like level 6 when the app crashed and made me log back in. I put all the same info but it took me back to level 1 and everything was lost. When I sign on and off it will only revert back to the new one. It made me make a new username and everything. Any ideas on how I can get my other progress back?


Android application crash at unknown source

I have an application which crashed 2 times randomly with a weird logcat message.  Here is it (both crashes are identical):  05-17 15:45:56.792 31082-31082/? E/AndroidRuntime: FATAL EXCEPTION: main                                                Process: net.mycustom.application, PID: 31082                                                java.lang.NullPointerException: Attempt to invoke virtual method 'net.mycustom.application.tools.i net.mycustom.application.MyService.a(java.lang.Integer)' on a null object reference                                                    at net.mycustom.application.tools.a.b.onCreateDialog(Unknown Source:83)                                                    at android.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:411)                                                    at android.app.Fragment.performGetLayoutInflater(Fragment.java:1339)                                                    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1298)                                                    at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)                                                    at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)                                                    at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)                                                    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)                                                    at android.app.FragmentManagerImpl$1.run(FragmentManager.java:738)                                                    at android.os.Handler.handleCallback(Handler.java:873)                                                    at android.os.Handler.dispatchMessage(Handler.java:99)                                                    at android.os.Looper.loop(Looper.java:280)                                                    at android.app.ActivityThread.main(ActivityThread.java:6706)                                                    at java.lang.reflect.Method.invoke(Native Method)                                                    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)   I have files in net/mycustom/application/tools (but there is nothing like "i").  Also I have a service here: net/mycustom/application/MyService.java (there is nothing like "a" in this service.)  How can I hunt down this issue? (Unknown source?)


I'm new to Ubuntu 15.04 and I experienced problems with Temaker, namely the keyboard shortcuts did not work after some time. However, manually installing the version compiled with Qt4 fixed the problem, but according to this  the problem recurs if Ubuntu automatically updates to the new version, which indeed happened. My question is if it is possible to disable automatic updates just for Texmaker to stay with the working Qt4 version.


Illustrator - Duplicating text across several artboards

I'm creating canvas' of multiple sizes and shapes that have blocks of text that are the same. Is there a way to have edit the text in one instance and have that same text duplicated across all over canvas'?


Without using VM or MAC how can i do IOS development

I want to start IOS development as i prefer ios over android and other platforms due to personal liking only.  The problem is i tried Visual Studio with Xamarin but it needs an actual MAC for apps !!   I am thinking about using Xamarin Studio!  Does it require a MAC too ? Any other way around without using VM or MAC ?


Given a sequence $x_1=\frac{1}{2}$, $x_{n+1}=x_n-x_n^2$. It's easy to see that it limits to $0$.  The question is: is there exists an $\alpha$ such, that $\lim\limits_{n\to\infty}n^\alpha x_n\neq0$.  I tried to find explicit formula for $x_n$, but did not succeed. I stucked at that point: if $a_1=(\frac{1}{4})^2$, $a_n=(a_{n-1}+\frac{1}{4})^2$, then $x_n=-a_{n-2}+\frac{1}{4}$ for $n\ge3$.   Thanks for any ideas and help.


Specific question about "/mnt": /mnt is not showing the disk space

The disk space showing from "df -h" and "du -sch ./*" seems different for "/mnt". Can somebody help me in finding the probable reason?  ===============================      #df -h     Filesystem                                      Size  Used Avail Use% Mounted on     /dev/mapper/rootvg-rootlv                       19G   15G  2.7G  85% /     /dev/mapper/appsvg-appslv                       60G   23G   34G  40% /apps     /dev/sda1                                       290M   32M  244M  12% /boot     tmpfs                                          3.8G     0  3.8G   0% /dev/shm     //165.2.141.31/IHGJavelinTest                 12G   11G  1.4G  89% /mnt/mdmfile     adcsan5:/vol/etl_dev                            40G  7.0M   40G   1% /apps/mdmfile     adcsan5:/vol/ess_dev                            40G  7.4M   40G   1% /apps/fileshare   =============================  #cat /etc/redhat-release   Red Hat Enterprise Linux Server release 5.9 (Tikanga)  ================================================     #du -sch ./*     0       ./a     23G     ./apps     7.8M    ./bin     22M     ./boot     108K    ./dev     66M     ./etc     1.2M    ./home     351M    ./lib     27M     ./lib64     0       ./local     16K     ./lost+found     8.0K    ./media     **216K    ./mnt     5.2G    ./opt     0       ./proc     642M    ./root     39M     ./sbin     8.0K    ./selinux     1.2M    ./srv     0       ./swapfile1     1.1G    ./swapfile2     8.5M    ./swapfile3     0       ./sys     3.6M    ./tmp     4.0K    ./u00     3.1G    ./usr     3.1G    ./var     36G     total ==========================================          #du -sch /mnt/*     4.0K    /mnt/mb-arch     4.0K    /mnt/mdm     200K    /mnt/mdmfile     208K    total ============================================      #du -sch /mnt/mdmfile/*     60K     /mnt/mdmfile/archives     12K     /mnt/mdmfile/IHGJavelinDev     4.0K    /mnt/mdmfile/IHGJavelinTest     84K     /mnt/mdmfile/statistics     160K    total   Thanks in advance.  EDIT:: My question is why /mnt showing 12Gb when checked using "disk free"(df) command and I was not able to see it when using "disk usage"(du) command. This is the case for "/mnt" only, so I think these is some explanation related to mounting concept.


Carry forward non-null value with a windowing function?

In SQL server, I often see this referred to as a "smear" and there's blog posts about using a "quirky update" to do it. But how would I do it with windowing functions. For example, if I have:  name     date   happiness ----     ----   --------- John     1/3    20 John     1/4    NULL John     1/5    NULL John     1/6    NULL John     1/7    18 Mary     1/2    35 Mary     1/3    NULL Mary     1/4    -15 Mary     1/6    NULL Mary     1/7    0   Is there a way to do something like:  SELECT     [name],     [date],     CARRY([happiness]) OVER (PARTITION BY [name] ORDER BY [date])   So that the intermediate results look like:  name     date   happiness ----     ----   --------- John     1/3    20 John     1/4    20 John     1/5    20 John     1/6    20 John     1/7    18 Mary     1/2    35 Mary     1/3    35 Mary     1/4    -15 Mary     1/6    -15 Mary     1/7    0   CARRY isn't a real function clearly, just want that functionality.


Proof of $\sum_{i=0}^{k}{{n-i-1}\choose {k-i}}={n\choose k}$

So, I would like to prove the following: $$\forall n,k\in\mathbb{N}_0, n\geq k+1: \sum_{i=0}^{k}{{n-i-1}\choose {k-i}}={n\choose k}$$ First of, i exploited trivial symmetry of the binomial coefficients to obtain: $$\sum_{i=0}^{k}{{n-i-1}\choose {k-i}}=\sum_{i=0}^{k}{{n-i-1}\choose {n-k-1}}$$ Now I proceeded by induction on $n$. The base step: ($n=k+1$): $$\sum_{i=0}^k{{k-i}\choose 0}=k+1={{k+1}\choose 1}={{k+1}\choose k}$$ But now here in the inductive step, I'm quite unsure how to proceed $$\sum_{i=0}^k{{n-i-1}\choose {n-k-1}}={n\choose k}$$ (the premise) and this should follow: $$\sum_{i=0}^k{{n-i}\choose{n-k}}={{n+1}\choose k}$$ All i managed to do was to "simplify" by symmetry: $$\sum_{i=0}^k{{n-i}\choose{n-k}}=\sum_{i=0}^k{{n-i}\choose{k-i}}$$ But from here i have no idea, would you please suggest further steps and how should i proceed from here?


Disabling the Win+C hotkey for the Charms Bar in Win 8

I am trying to turn off the hotkey for the Charms Bar (Win+C) in Windows 8. Is there a registry entry to do this or some other way? I want to be able to use that hotkey for something else.  Any ideas?  Thanks,  Niels


Hello :) I'm a 12th grade student and I often ask myself, the speed of light is 299 792 458 m / s An object with a mass m and a constant force F has a acceleration a = F/m, for exemple, an object A with a mass m = 10kg gets a constant acceleration F = 100N, it has an acceleration a = 100/10 = 10 m/s², so why does the object A doesn't go from 0m/s to an infinite value, indeed:  299 792 458 / 10 = 299 792 45,8 s so why with more than 299 792 45,8 s the Object velocity doesn't go further? Does it mean that the formula F = ma is not true for big value ? :o


How to loop the particle simulation indefinitely?

I've made a simple snowfall particle simulation (using gandalf3's solution: ). Is there a way to loop the animation, so the transition between last frame and first frame is not visible? Is there a setting to do it?


I have a Python service in systemd. I'd like to have it use the Python syslog module for logging if it's running in systemd vs. otherwise. Is there a reliable way to determine if I'm running in systemd or is there a better way of going about it?


I found , which explains orthogonal and not orthogonal symbols.  I was able quickly to find the orthogonal symbols as \perp, \upvdash etc., but not able to find a top line which strikes the sign from the top left to bottom right. One idea is to combine to symbols e.g., use one of the aboves and add the line in top of it. However I don't know how to do it.


GSC: How to move a site from a domain to sub domain, sub folder or new domain with a sub folder?

Is it possible to tell Google's Webmaster Tools that our site hosted on www. has moved to a sub folder, sub domain or a new domain with sub folder?


How do I show that the sum of residuals of OLS are always zero using matrices

I am trying to show that $$\sum_{i=1}^ne_i = 0$$  using matrices (or vectors).  I have two hints, so to speak:  $$ HX = X$$ where $H$ is the hat matrix, and that $$\sum_{i=1}^ne_i = e'1$$  My previous solution, , is wrong since I expanded $Y =X\beta$, leaving out the error term. If I include it I end up with a tautology.


Converting GML to Geodatabase Feature Classes?

I have a series of XML files containing GML tags such as :  <gml:posList srsDimension="2">454780.3125 525867.9375 454762.0625 525994.5625   and I need to convert these into ESRI feature classes.   How would I start to import them?


Strange missing \item with tikzposter and amsthm

Seems that there is a weird interaction with amsthm and tikzposter  \documentclass{tikzposter}  \usepackage{amsthm}  \theoremstyle{definition} \newtheorem*{defi}{Definition}   \begin{document}  \begin{columns} \column{1} \block{Methodology}{      \begin{defi}        Hello World     \end{defi} } \end{columns} \end{document}   Results in a missing \item error and we lose the Definition.     Puttting an \item in the \block eliminates the error.  \documentclass{tikzposter}  \usepackage{amsthm}  \theoremstyle{definition} \newtheorem*{defi}{Definition}   \begin{document}  \begin{columns} \column{1} \block{Methodology}{\item      \begin{defi}        Hello World     \end{defi} } \end{columns} \end{document}   Gives some screwy spacing but no more errors and Definition. label is there:    I've tried it with multiple definitions and only the first one is broken.  \documentclass{tikzposter} \usepackage{amsthm}  \theoremstyle{definition} \newtheorem*{defi}{Definition}  \begin{document}  \begin{columns} \column{1} \block{Methodology}{      \begin{defi}        Hello World     \end{defi}     \begin{defi}        Hello World (again)     \end{defi} } \end{columns} \end{document}   Yeilds:


Creating separate pdf file containing the bibliography

Some grant agencies require separate pdf files for the main proposal and the references. I guess, it is easier to work this way in Word :-)  In LaTeX, one can create a single PDF file and then split it later using pdftk or other tools. However, is a direct method of creating two separate PDF files: one that contains the main text (with the correct citation information) and the second with all the list of references. I understand that, at the very least this will involve compiling two separate .tex files. That is okay. I just don't want to use additional tools (can be tricky to install on all computers of all collaborators, etc.)  Here is a MWE to play with:  \begin{filecontents}{test.bib}   @ARTICLE{author,     title={A sample article},     author={Random Author},     journal={Random journal},     volume = {10},     year = {2000},   } \end{filecontents}  \documentclass{article} \usepackage{natbib}  \begin{document} As shown by \citet{author}, using references can be interesting  \newpage \bibliographystyle{apalike} \bibliography{test} \end{document}


Integrating $ \int \limits_{-\infty}^{\infty} \frac{\sin^2(x)}{x^2} \operatorname d\!x $

I'm trying to evaluate $\displaystyle \int \limits_{-\infty}^{\infty} \dfrac{\sin^2(x)}{x^2} \operatorname d\!x $.    My first though was to use residue calculus, since we've got the pole of order 2 there at the origin.  Given that the pole actually lies on the real axis though, I'd guess I'd have to use some sort of keyhole contour to include the pole and then limit.  Maybe it's just one of those days, but I'm not seeing an obvious contour to use here.  Any help would be appreciated.


Write the closed interval [a,b] as the intersection of semi-intervals of the form [a,b).

I want to express all intervals as countable union or intersection of intervals of the form $[a, b)$.   This is what I have.  $$ (a,b) = \bigcup_{n} [a - \frac{1}{n}, b)$$  $$ [a,b] = \bigcup_{n} (a, b - \frac{1}{n})$$  $$ (a,b] = \bigcup_{n} (a+\frac{1}{n}, b - \frac{1}{n})$$


I have flying from France to Qatar tomorrow, I have to go from France to London Airport from Terminal 4 to Terminal5, do I have a teransivisa to enter London Airport?


Google Sheets, CountIf, name matches and is within date range from another spreadsheet

In another sheet I want to count how many meetings were scheduled for a rep within a date range.  My 3 columns are the date, rep, and misc data  =countifs( "https://docs.google.com/spreadsheets/d/1q87c_0rFdt8FcWtIzD0KVW3k1ZpuvhfeWb1281MEs”, ”DEMOS!A2:C1000", B2:B="Rep1", A:A,">=11/9/2019", A:A,"<=11/15/2019")   I'm a bit off it seems and I keep going around in circles.  Here is an example. I only want to count if Dates are between 11/9 and 11/15 and if the Rep is Rep1       A         |B ------------------- Date      | Rep ------------------- 11/8      | Rep1 11/9      | Rep2 11/14     | Rep2 11/15     | Rep1


How to renew an expired keypair with gpg

What is the best way to renew a gpg key pair when it got expired and what is the reason for the method?  The key pair is already signed by many users and available on public servers.   Should the new key be a subkey of the expired private key?  Should it be signed by the old (I could try to edit the key and change the date of expiration to tomorrow)? Should the new key sign the old?


Conditionally format entire row based on a cell value

I know this has been  , but I must be missing something.  I want to put a border above all rows that contain "Monday".      The formula is =$B$3="*Monday*"  I thought it might be because the value of the cell is actually "4/18/2016" but I manually changed it to "Monday" and the rule still didn't fire.  What am I doing wrong?


Install ubuntu touch on android PRIMO8 Thomson tablet via ubuntu touch ZIP file on sd card as an experimentation

I want to try to install ubuntu-touch on an old tablet.   Is there a way to get a ubuntu-touch ZIP file which could be installed via an SD CARD put in the tablet using the install-from-zip-file root menu of android ?  I know this device is not listed. But it does not matter for this experimentation. My question is more focused on: where are ubuntu-touch files compressed as ZIP format ?


Let's consider a group $G$ and a subgroup $H$. We note the quotient group $G/H$ My question is: why this notation and the notion of "quotient" ? Is the motivation only because from Lagrange theorem for finite groups, where we have $|G/H|=|G|/|H|$ or there are deeper reasons ? Maybe I am lacking some intuition to see further motivations. Note: I am by far not an expert of group theory, I only know the basics so I expect an answer following the same logic =)


The other day, I read this sentence " I don't like your bossing me around". I was wondering if this sentence should be " I don't like you bossing me around". Shouldn't be?  Would you please explain it to me?   Many many thanks in advance.


public class ParametricIndicators {     static Method GET_PARAMETRIC_INDICATOR; //equal to a double number (as parameter)      static {         try {              GET_PARAMETRIC_INDICATOR = ParametricIndicators.class.             getDeclaredMethod("getParametricIndicator", new Class[]{ArrayList.class, short.class});          }          catch (Exception e) {             System.out.println("Predicate.static: " + e);         }     } }   I am new to Java, and I am converting a java codebase to C#. I want to know what type of code is this? Is it a getter?   static {             try {                  GET_PARAMETRIC_INDICATOR = ParametricIndicators.class.                 getDeclaredMethod("getParametricIndicator", new Class[]{ArrayList.class, short.class});              }              catch (Exception e) {                 System.out.println("Predicate.static: " + e);             }         }


Consider the following limit for $x \in [-1,1]$ and $n \in \mathbb N$:  $$\lim_{n \to \infty} x^{1+\frac{1}{2n-1}}=|x|$$  I can't see where does the absolute value come from. Why isn't the answer simply $x$?     This limit is available on page 156 of Abbott's Understanding Analysis.   EDIT: Sorry i found a dublicate .


If presented the following, what order should the parentheses be added?  2^2^2^2  It seems most tools go right to left. Is that correct/expected? I could not find clear information on this.  Thank you,


Determinant of diagonal plus constant matrix

Is there a way to simplify $\det(D + C)$, where $D,C$ are square matrices of matching dimensions, $D$ is diagonal (with different diagonal elements, $D_{ij} = \delta_{ij}d_i$), and $C$ is a constant matrix, that is, all entries $C_{ij}=c$ are equal to the same number?  To be more explicit, assuming $D,C\in\mathbb{R}^{n\times n}$, the matrix $D+C$ has the form:  $$D + C = \left(\begin{array}{ccccc}   d_1 + c & c & c & \cdots & c\\   c & d_2 + c & c & \cdots & c\\   c & c & d_3 + c & \cdots & c\\   \vdots & \vdots & \vdots &  & \vdots\\   c & c & c & \cdots & d_n + c \end{array}\right)$$


What is the best way to tokenize/split a NSString in Objective-C?


"Find ten apples and oranges" Do I find 10 or 20?

If I read the sentence     Find ten apples and oranges.   Do I need to find ten or twenty pieces of fruit?


How to prove $C_{c}^{\infty}[a,b]$ a complete metric space

How do you prove the space of smooth functions with compact support in an interval $[a,b] \subset \mathbb{R}$, with the metric $\rho(\varphi_{1},\varphi_{2})= \sum_{n=0}^{\infty}2^{-n}\frac{\left \| \varphi_{1} - \varphi_{2} \right \|_{n}}{1 + \left \| \varphi_{1} - \varphi_{2} \right \|_{n}}$ where $\left \| \varphi\right \|_{n} = \sum_{j=0}^{n}\sup_{x \in [a,b]}|\varphi^{(j)}(x)|$ is complete? I've tried to consider the pointwise limit and use the fact that $\mathbb{R}$ is complete but as yet have been unsuccessful. Apparently the proof uses the following fact repeatedly: if $f_{n} \to f$ uniformly and $f_{n}' \to g$ uniformly, then f is differentiable and $g= f'$


Can a wizard/witch do nonverbal, wandless, spells?

We know that Hogwarts students learn how to do  in the 6th year. From which point they are expected to use magic nonverbally from there on out.  We also know that some wizards can do , such as Hermione with the Confundus Charm at the Quidditch trials.  Both of these variants come with warnings that:     Wandless magic [...] could be volatile and was often difficult to perform -    and     Performing spells non-verbally is very difficult and requires a good deal of practise -    So my question is, is there any instance of a wizard/witch casting spells/charms/hexes/jinxs both nonverbally and without a wand? And if not, is this explicitly stated to be impossible?  As a note, I mean intentional magic. The random loosing of snakes on 11th birthdays does not count.    This is not a duplicate of these other questions since none of those answer if a spell can be performed BOTH nonverbally AND without a wand at the same time.  For the second time, this is not a dup of  because that question deals with wandless and nonverbal separately.


I am to show the continuity of this function with the help of $\epsilon$-$\delta$ argument.   The function is: $g: \Bbb{R} \rightarrow \Bbb{R}$, $x \mapsto x^2$.   Given the $\epsilon$-$\delta$ definition of limit, I tried as follows:   We must have: $|f(x)-f(x_0)|<\epsilon$, so then $|x^2-x_0^2|=|(x-x_0)(x+x_0)|=|(x-x_0)||(x+x_0)|$, so $|x-x_0|<\frac{\epsilon}{|x+x_0|}$. So now I will choose $\delta=\frac{\epsilon}{|x+x_0|}$.   Is it enough? I am writing this sentences like a machine, but I am not understanding intuitively.


How can I interact with my home router via a device on the local network using ssh?

I have a raspberry pi plugged into my router at home, running raspbian. Before I left for work I:   Configured the router to forward ports 80 and 22 to the pi Configured dyndns   This all works, and I can access the pi using http and ssh. The problem is, I forgot to forward another port that I want to use! What I want to do is connect from the pi to my home router's web interface to forward the other port. The router interface is awful: heavy and graphical, and uses javascript. What should I do?


Earlier this day I ask about the assignmet:  Show that $\neg$ and $\wedge$ form a functionally complete collection of logical operators.  I was given the hint that I could use De Morgan law to show that $p \vee q$ is logically equivalent to $\neg (\neg p \wedge \neg q)$.  $$\neg (\neg p \wedge \neg q) \equiv \neg (\neg p) \vee \neg (\neg q)$$  $$\neg (\neg p) \vee \neg (\neg q) \equiv p \vee q$$  But I cannot figure out? am I done?


Unable to traverse a relationship while creating a record

I have an object - "training" , which has a master detail relationship with an object - "Employee". I am writting a trigger on training such that when a new training record is created for an employee, it should create an object called "Log" which should copy a field of employee into a field in "Log" object:  for(trainig__c training: trigger.new){  List<Log__c> newtransLog = new List<Log__c>();         Transaction_Log__c log = new Transaction_Log__c(Job_Level_Name__c=training.Employee__r.Job_Level_Name__c);         newtransLog.add(log); } Insert newtransLog;   What I am trying to do is - get a value of field from Employee record and assign it to a field in Log record. But this seems to be not working, I am getting a blank value for Job_Level_Name__c  in the Log record  PS - Not sure how I shall query the parent fields inside the for loop? How do I do the query and assignment in this case?


Find parabola coefficients passing through two known points with given slopes

I would like to find the coefficients of a parabola passing through 2 known points. I also know the slope that the parabola should have at this 2 points. Let me show you a picture of the problem.    Known quantities: $(x_{N}, y_{N})$, $(x_{E}, y_{E})$, $\theta_{N}, \theta_{E}$.  Working with the equations I came up with: $$ \begin{align} x_{N} &= a \, y_{N}^{2} + b \, y_{N} + c \tag{1} \\ &\Rightarrow \frac{\partial x_{N}}{\partial y_{N}} = 2 a y_{N} + b = \frac{1}{\tan{\theta_{N}}} \tag{2} \\ x_{E} &= a \, y_{E}^{2} + b \, y_{E} + c \tag{3} \\ &\Rightarrow \frac{\partial x_{E}}{\partial y_{E}} = 2 a y_{E} + b = \frac{1}{\tan{\theta_{E}}} \tag{4} \\ \end{align} $$  I could write a system of three equations, for example:  $$ \left[ \begin{matrix} y_{N}^{2} & y_{N} & 1 \\ 2 y_{N} & 1 & 0 \\ y_{E}^{2} & y_{E} & 1 \end{matrix} \right] \left[ \begin{matrix} a \\ b \\ c \end{matrix} \right] = \left[ \begin{matrix} x_{N} \\ \frac{1}{\tan{\theta_{N}}} \\ x_{E} \end{matrix} \right] $$  but this will not consider the slope at point E.   If I write this system:  $$ \left[ \begin{matrix} y_{N}^{2} & y_{N} & 1 \\ 2 y_{N} & 1 & 0 \\ 2 y_{E} & 1 & 0 \end{matrix} \right] \left[ \begin{matrix} a \\ b \\ c \end{matrix} \right] = \left[ \begin{matrix} x_{N} \\ \frac{1}{\tan{\theta_{N}}} \\ \frac{1}{\tan{\theta_{E}}} \end{matrix} \right] $$  it will not consider the separation $x_{E} - x_{D}$.  How can I write a system that satisfy all my constraints?


Does mass of universe at the moment of big bang changes compared to present day?

Empty space isn't empty as it can contain energy in terms of quantum fluctuation, so since inflation I like to know whether if the present day universe has put on weight?


I keep reading that \begin{align} is preferred to \begin{eqnarray}.  Unfortunately, I can't get align to justify rcl. I'll change between align and eqnarray, and the rightmost column is right justified. So, align for me looks like rcr. Does anyone know what I could be doing? I want the old rcl justification.  Thanks, Aaron


I'm transiting from Kuwait to Bahrain by car. What are the conditions of getting a Saudi Arabian transit visa?

Visa for Bahrain is now available online and on arrival. Do you still need to take Bahrain visa in advance to get transit visa for KSA? Does anyone know the telephone/mobile numbers for Waseet agents? Approximately how many days does it take to get KSA transit visa?


Is my iPhone locked with iCloud or not? I don't have SIM Card yet

I bought an iPhone 5C from a friend and I'm not sure if it's Activation Locked or not and I don't have a SIM card yet. He hasn't used it and didn't know anything about that, he got it second hand.    When I got the phone it was stuck at the lock screen because of too many password attempts. I've put it in restore mode, and now the phone is "formated/restored"  When turning the phone back on, it first asks my country, then it wants me to connect to Wi-Fi, which I do, and next it says I need to put a SIM card (not pin-locked) in.  If the iPhone was Activation locked, does it ask for the Apple ID after you connect to Wi-Fi or after you put a SIM card in?  Can you provide a step-by-step guide?


I'm preparing to take the plunge into GM'ing. What would you be consider essential reading for a new gm? Books, websites, etc.?  I really want to focus in on being a good story teller.


Is there a way to upgrade api versions of all apex classes without manually updating each of them?

I have an org with hundreds of apex classes, all of which have api versions ranging between 30-37. Is there an easy way to bring them all to the latest api version at once without resorting to manual updates?


Are there any public holidays in the 24th century?

I've noticed that there seems to be a noticeable absence of 'public holidays' in the Star Trek universe.  I imagine that the fact that we're normally with Starfleet personnel would impact this, but do we have any evidence to support that public holidays (on Earth specifically) still exist in the 24th century?


What makes quantum-entanglement communication so surprising?

I don't understand why quantum entanglement seems so surprising to physicists in the case of communication.   Let us say we take a pair of shoes, and put the two shoes in two separate boxes, and shoot one of the box into a black hole while holding the other box at the other end of the universe. If I were to open the box inside the black hole and find the left shoe in it, it is obvious that the other shoe in the far end of the universe will be a right shoe. The two objects are pre-entangled pairs, there is no need of further communication to maintain their entanglement.


The photon sphere is a spherical region in space where photons are forced to travel in an orbit at $r = \frac{3GM}{c^{2}}$.   Is it possible to detect these spheres?  What happens if I fall through it? What happens to a photon that tangentially hits the event horizon, wouldn't this also lead to a photon orbiting the black hole? EDIT Since neutron stars also might have a , do we know neutron stars that should have such a sphere?


Denote $M_n(\mathbb R)$ to be the vector space of all real matrices of order $n$. Assume $W$ is a linear subspace of $M_n(\mathbb R)$, and $\dim W \geqslant n^2-n+1$. Prove that $W$ contains at least one non-singular matrix.  I am clueless about this question. Can anyone help?


Enable External Sharing Programmatically

We have a scenario on which we are creating site collections from a provider-hosted app. Some of these site collections will be used by external users. Is there a way from CSOM (server-side) to enable external sharing on the site collection? I haven't found any resources stating whether this is or not doable.  I'm trying to replicate the settings you can specify at the site collections page on the tenant admin site:    Thanks!


Is it good practice to length match all traces of DDR3, or are only data traces important?

I am researching single board computers with the hope of designing on at the end of this, I am at the stage of DDR3, but can't find any good info on routing ddr3, regarding what traces need to be matched, and so on. Which traces need to be matched? I am assuming it's the DATA traces, and any traces that take data that needs to be in sync, would I be correct in thinking this? Or would it be better to match them all to avoid the chance of missing something or running into issues. Datasheet:


How to edit /etc/apt/sources.list using putty in a VPS setup

I'm having trouble doing this. How do I edit it? Basically, the VPS is using 11.04 which is, end of life and I'm trying to upgrade to the latest long term release, but I am following the instructions here:    How would I do it? Thanks.


Granting write permission on www-data for /var/www/[username]

I am new to this www-data concept, please do explain in simple words. I have a directory in the path /var/www/orbitcode. I want orbitcode to have www-data write permission. How to do this? I am probably doing this because of White screen Of Death, as my index.php is showing blank


Why is there a `null` value in JavaScript?

In JavaScript, there are two values which basically say 'I don't exist' - undefined and null.  A property to which a programmer has not assigned anything will be undefined, but in order for a property to become null, null must be explicitly assigned to it.  I once thought that there was a need for null because undefined is a primitive value and null an object. It's not, even if typeof null will yield 'object': Actually, both are primitive values - which means neither undefined nor null can be returned from a constructor function, as both will be converted to an empty object (one has to throw an error to proclaim failure in constructors).  They also both evaluate to false in boolean contexts. The only real difference I can think of is that one evaluates to NaN, the other to 0 in numeric contexts.  So why is there both undefined and null if this just confuses programmers who are incorrectly checking for null when trying to find out whether a property has been set or not?  What I'd like to know is if anyone has a reasonable example where it's necessary to use null which couldn't be expressed using undefined instead.  So the general consensus seems to be that undefined means 'there is no such property' while null means 'the property does exist, but holds no value'.  I could live with that if JavaScript implementations would actually enforce this behavior - but undefined is a perfectly valid primitive value, so it can easily be assigned to existing properties to break this contract. Therefore, if you want to make sure if a property exists, you have to use the in operator or hasOwnProperty() anyway. So once again: what's the practical use for separate values for undefined and null?  I actually use undefined when I want to unset the values of properties no longer in use but which I don't want to delete. Should I use null instead?


minecraft crashes immediately upon launching

Completely ignored arguments: [--nativeLauncherVersion, 307] [03:56:00] [Client thread/INFO]: Setting user: TatiCraft07 [03:56:01] [Client thread/WARN]: Skipping bad option: lastServer: [03:56:01] [Client thread/INFO]: LWJGL Version: 2.9.4 [03:56:02] [Client thread/INFO]: Reloading ResourceManager: Default [03:56:02] [Sound Library Loader/INFO]: Starting up SoundSystem... [03:56:03] [Thread-5/INFO]: Initializing LWJGL OpenAL [03:56:03] [Thread-5/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org) [03:56:03] [Thread-5/INFO]: OpenAL initialized. [03:56:03] [Sound Library Loader/INFO]: Sound engine started [03:56:04] [Client thread/INFO]: Created: 1024x512 textures-atlas [03:56:12] [Server thread/INFO]: Starting integrated minecraft server version 1.10.2 [03:56:12] [Server thread/INFO]: Generating keypair [03:56:12] [Server thread/INFO]: Preparing start region for level 0 [03:56:13] [Server thread/WARN]: Keeping entity Bat that already exists with UUID 4bf9228b-8cb6-4612-b23a-1a66571d21b6 [03:56:13] [Server thread/INFO]: Preparing spawn area: 62% [03:56:14] [Server thread/INFO]: Changing view distance to 12, from 10 [03:56:14] [Server thread/INFO]: TatiCraft07[local:E:3c8fa438] logged in with entity id 210 at (-251.2242340905647, 67.0, -191.09485819462554) [03:56:14] [Server thread/INFO]: TatiCraft07 joined the game [03:56:15] [Server thread/INFO]: Saving and pausing game... [03:56:15] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld [03:56:15] [Server thread/INFO]: Saving chunks for level 'New World'/Nether [03:56:15] [Server thread/INFO]: Saving chunks for level 'New World'/The End # # A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000001b4bbf43, pid=3996, tid=6876 # # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode windows-amd64 compressed oops) # Problematic frame: # C  [ig75icd64.dll+0x6bf43] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\Gail\AppData\Roaming\.minecraft\hs_err_pid3996.log # # If you would like to submit a bug report, please visit: #   http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release


Antivirus software is breaking SE web page? (blocking CSS and JS)?

I just renewed my antivirus (Kaspersky's) yesterday. After that, I logged onto Chemistry.SE (which I frequent often) but then I was greeted with this  Which was definitely not how it looked like earlier that morning. I wasn't able to  Open the reputation and badges tab Vote on questions, answers and comments (even answers to MY questions) Comment on questions or answers. 'Favorite' a question Attach tags to a question Post questions  etc., etc. But when I logged on to the Physics and Biology SEs (which I also frequent), the page format hadn't changed, but I still faced the same problems as above. Does anyone know how to fix this? P.S- I'm not a computer/formatting whiz, so you'd have to try avoiding the jargon when helping me out, sorry.... (Also I use Chrome...in case that's important.) Also @Oded recommended checking out the browser developer tools and having a look at the CSS, but as I said, I'm no Software/formatting whiz...so I'm still lost....  On @Shadow Wizard 's advice I've taken a screen shot of the 'error' notification (I had to scroll down to get all 10 'errors' on screen, hence the need for separate screen-shots)


Using Xpath With Default Namespace in C#

I've got an XML document with a default namespace. I'm using a XPathNavigator to select a set of nodes using Xpath as follows:     XmlElement myXML = ...;   XPathNavigator navigator = myXML.CreateNavigator(); XPathNodeIterator result = navigator.Select("/outerelement/innerelement");   I am not getting any results back: I'm assuming this is because I am not specifying the namespace. How can I include the namespace in my select?


Determining Min - Max within zip code (statistics by area)?

I'm new to ArcGIS Desktop. I have created a layer representing zip codes and overlayed it with a layer containing some data points. I want to find the min and max value of the data points in each zip code. Currently, I am manually checking the values if all the data points in each zip code but this is becoming very time-consuming and cumbersome.   Is there a faster way to do this?


What does it mean to accept an answer? How do I accept an answer, and what are the rules? Can I accept my own self-answer? What are the reputation benefits? Which answer should I accept? Should I upvote the accepted answer? What should I do if none of the answers are suitable?      For more information, see "" in the .


I've puchased a big interior scene from a 3d marketplace.   To optimize it in Unity (using Occlusion culling), I need to break the meshes into pieces, without modifying the structure.   Is there any blender command to do this?


show that the set of $x \in [0,1]$ whose decimal expansion does not have the digit 5, has Lebesgue measure zero

Some idea to do this exercise? I am completely lost. I know that $\mathcal{L}(\emptyset) = 0$   But in this case obviously the set is not empty, so it must be coutable?  Please, help.


Find the limit $\lim_{n \to \infty} \sum_{k=1}^n \frac{1}{k+n}$

I need help finding the following limit.  $$\lim_{n \to \infty} \sum_{k=1}^n \frac{1}{k+n}$$


Why do I need extraneous braces for the label in an arrow?

I was getting scope errors on a commutative diagram, and adding {} inside the quote marks eliminated the error. Why and under what circumstances are they needed.  This fails:   \ar[d, "\operatorname{g}_{\sigma_\beta}, \beta \prec \Beta_\gamma"]   This works:   \ar[d, "{\operatorname{g}_{\sigma_\beta}, \beta \prec \Beta_\gamma}"]


Connect two USB-C displays to MacBook Pro 15" 2018

is it even possible to connect two USB-C displays to one MacBook Pro 15" 2018?  Seems like MacOS intentionally shuts down one of them. I'm a bit puzzled why..


Going back to Windows, but don't know how?

I have installed Ubuntu and thought I dual-booted it... But I didn't, so now I wanna go back to Windows (I have a Windows 8 CD) but when I insert the disk into CD/DVD drive and change my boot menu it still boots in to Ubuntu.   I installed Ubuntu over Win7 Home Premium using a LiveCD, it's said that no filesystem was recognized on my laptop, so I thought it was automatically placed on the unallocated partition that I've created. But it didn't, so it just deleted my Windows partition and installed Ubuntu on it.  What is the problem and how can I solve it? Thanks!  EDIT: I don't know much about computers but i just got this hp pavvilion dm1 whit windows 8 isntalled on it and updated it to 8.1  i installed ubuntu the this way: making a new partition, and making the swap and boot or something my self by clicking ''something else"  ps: i don't have a dvd drive


When use parameters in JSON POST data in Jmeter, another json entity is changed

i use JMeter for REST API testing and i have following request in my POST data section:  {   "RootUrl": "http://localhost:4747",   "Name": "E-commerce website",   "ContentSite": true,   "ContentLinks": [     {       "RegexPattern": "(log|sign)\\-?(out|off)"     }    ] }   it is working regularly.  i'd like to use RootUrl as parameter so i created a "User Defined Variables".   {   "RootUrl": "${website_url}",   "Name": "E-commerce website",   "ContentSite": true,   "ContentLinks": [     {       "RegexPattern": "(log|sign)\\-?(out|off)"     }    ] }   When run it, it gives Request is NOT valid error. When i check it in Result tree, "RegexPattern" looks changed. There is one reverse slash in entity:  "RegexPattern": "(log|sign)-?(out|off)"  Do you have any idea why parameter does change another part?  Thanks in advance


Can Thieves' Cant be used across languages?

In , it is established that Thieves' Cant is more of an encoding system built on top of a language than a language in its own right. According to the Basic Rules,  is:  ...a secret mix of dialect, jargon and code allows you to hide messages in seemingly normal conversation. Only another creature that knows thieves' cant understands such messages. It takes four times longer to convey such a message than it does to speak the same idea plainly. In addition, you understand a set of secret signs and symbols used to convey short, simple messages, such as whether an area is dangerous or the territory of a thieves' guild, whether loot is nearby, or whether the people in an area are easy marks or will provide a safe house for thieves on the run. (PBR, p. 27)  Can two creatures communicate using Thieves' Cant if they do not have a basic spoken language in common, or if they are speaking different basic languages? E.g. if one creature knows Orcish, Goblin, and Thieves' Cant, and another creature knows Elvish, Giant, Common, and Thieves' Cant, can they communicate with each other by embedding Thieves' Cant into their own languages? Hypothetically speaking, I can see how this could be possible in our own world, if we assume that Thieves' Cant depends on nuances of body language, emphasis, and tempo, e.g., one might say to a non-Spanish speaker:  Tenemos quEEEEEEE ir (wink) a la tieeeeenda de (shuffle left foot) armas para (twirl hair and giggle) comprar una espada (wink twice) para mi herMANO (wag right pinky and nod).  The literal message itself ("We need to go to the weapon store to buy a sword for my brother.") would just be a carrier - the real message might be hidden within the gestures and the accented and extended syllables. Perhaps the drawn-out "E" vowel means "robbery planned", the wink means "bank", shuffling the left foot means "be there at sunset", etc., and these are things that you wouldn't necessarily need to know Spanish to extract. Is this how Thieves' Cant actually works, or does it require actual comprehension of the literal message transmitted before the "secret" message can be extracted from it?


Blender：How to convert different 3D format to blend by python script?

I have successfully made preview of blend 3D format. The /1/ below is my working script. Since customer has other formats, for example obj, Aveva made 3D format files. How could I make a conversion from obj or other format files to blend file format by python?  import bpy import math  scn = bpy.context.scene j=-1 for k in bpy.data.objects.keys():     if(k.startswith('Camera')):         j =k         break print('j is: %s ', j) cam = bpy.data.objects[j] origin = bpy.data.objects.new('Empty',None)  step_count = 2  for step in range(0, step_count):     origin.rotation_euler[2] = math.radians(step * (360.0 / step_count))      scn.render.filepath = 'e:\\temp\\happy_shot_%d_wednes_Sep_7.png' % step      bpy.context.scene.render.resolution_x = 120     bpy.context.scene.render.resolution_y = 64      bpy.ops.render.render(write_still=True)


13.7 billion years ago, the universe suddenly had a low enough energy density that we could understand it, and we call this the big bang.  However, we are in the thrall of several gravity fields. The Earth, The Sun, The Milky Way, The Local Group... even things at the same hierarchical level like Jupiter and the Moon affect the state of the gravity field where we are.  According to general relativity, gravity affects time. And with my, admittedly limited, understanding of it we move through time "slower" from the point of view of a satelite, and they move "faster" in time from our point of view.  I am assuming that the at least one way we date the age of the universe is something along the lines of measuring the distance to the CMB. So if we measure the light from the CMB as being 13.7b light years away, then the universe is roughly 13.7b years old.  My question is this. Since dark energy and gravity have been changing their relative strengths across the whole universe for this time, and since we are currently in a gravity field, and since the units we use for time were concocted IN said gravity field; from who's perspective, and with what definition of "year", is the Big Bang 13.7b years in the past and how does the changing gravity of the universe distort that value?


Combinining all language related sites into one

There are a quite a few language learning related sites on the Stack Exchange network. I may have missed a few, but here they are:                      It would be nice to have a single language related site and use tags when asking questions about a specific language. Stack Overflow already does something similar for programming languages.  Benefits   Automatic support for minority or endangered languages. There are thousands of languages that will never have enough support to create their own SE site. Yet many have a core group of learners and researchers that would benefit from being able to ask and answer questions just by adding a new tag.  Cross-language questions. Many languages are related to each other. A common site would make it easy to ask a question about something that covers two languages. Just add both language tags. Cut down on the proliferation of new SE sites. I don't know that having lots of sites is necessarily bad, but sometimes less is more. Better search engine results. I can't guarantee this one, but it seems likely. Stack Overflow is always near the top for programming language questions, but I rarely find SE language sites when I search for English or Chinese related questions.   I suppose that everyone is too entrenched in their own communities now to change, but I thought I would suggest it anyway.


Swap 95%+ , but a lot of free ram memory

I am running centos 5.8 with cpanel. Lately I am getting reports that my swap is full , but there is a lot of free memory  to use.  top - 10:33:43 up 133 days, 17:00,  1 user,  load average: 0.05, 0.03, 0.05   Tasks: 170 total,   1 running, 169 sleeping,   0 stopped,   0 zombie   Cpu(s):  2.1%us,  0.5%sy,  0.0%ni, 97.2%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st   Mem:  24726100k total,  8255368k used, 16470732k free,   599560k buffers   Swap:  1046520k total,   984740k used,    61780k free,  3641828k cached     How do I solve this? The unused ram memory should be used instead of the swap. Or should I increase the swap ( and how do I do that ? ).  Thanks


Missing head with page numbers for chapters using fancyhdr

I am working on my thesis, using small parts of the exisiting template of my university. There, the head line is defined like in the MWE. Since I included a table of contents, list of figures and some smaller one page chapters numbered with roman letters before the actual dissertation begins, the following problem really disappoint me.  Somehow the head and especially the number(wheter roman or arabic) are not displayed on pages starting with a new chapter, including all of the examples I mentioned above. So basically there are some pages at the beginning without any head, altough their location is stated correctly in the table of contents.  I am pretty sure that it has to do with the definition of the pagestyle, but I could not solve it on my own.   I would like to have a head everywhere, except of the front page and empty pages in between chapters, as induced by \cleardoublepage .  Here is the MWE:  \documentclass[12pt, listof=totoc,  bibliography=totoc, listof=chapterentry]  {scrbook}  \usepackage{a4wide}  \usepackage{fancyhdr} \usepackage{blindtext}  \pagestyle{fancyplain} \renewcommand{\chaptermark}[1]%          {\markboth{\thechapter.\ #1}{}} \renewcommand{\sectionmark}[1]%          {\markright{\thesection\ #1}} \lhead[\fancyplain{}{\bfseries\thepage}]%     {\fancyplain{}{\bfseries\rightmark}} \rhead[\fancyplain{}{\bfseries\leftmark}]%     {\fancyplain{}{\bfseries\thepage}} \cfoot{}   \begin{document}   \chapter{chapter without numbers}  \blindtext  \section{a section}  \Blindtext  \chapter{another chapter}  \Blindtext  \end{document}


Prove: that $$(a^3+b^3)^2\leq (a^2+b^2)(a^4+b^4)$$ for all real numbers $a$ and $b$.   My attempt:  $(a^2+b^2)(a^4+b^4)=a^6+a^2 b^4+b^2 a^4+b^6\geq 4\cdot(a^6\cdot b^6\cdot a^2 b^4\cdot a^4 b^2)^{\frac{1}{4}}=4\cdot a^3\cdot b^3$, by AM-GM.  Now $(a^3+b^3)^2\geq 4a^3\cdot b^3$, by AM-GM. putting this above gives:$$(a^2+b^2)(a^4+b^4)\geq 4\cdot a^3\cdot b^3\leq (a^3+b^3)^2$$  But this don't gives good, please help, on what I did. How to improve solving Inequalities?


Change the Recursive Relation into Formula : $f(n,k) = f(n-1,k) + f(n-2, k-1)$

I am trying to find the formula for the number $f(n,k)$ which is defined as the number of $k$-subsets of $[n]$ in which no two elements are consecutive numbers in $[n]$.  From the simple thinking I had made up following recursion:  $$f(n,k) = f(n-1,k) + f(n-2, k-1) $$  This is true since I can construct without last element of $[n]$ then make up $k$-subsets, then otherwise must contain the last element of $[n]$ then construct remaining $k-1$ elements among $[n-2]$ since with the last one, I can't use $n-1$.  However, I had never learned any techniques regarding changing those recursion into a well-summarized formula in terms of $n$ and $k$.  Any guidance would be appreciate.


What is the normal format for files on ubuntu ?

I'm using ubuntu 14.04 LTS and I'm so new to it as I was using windows before.  As poeple told me I need three partitions ( Swap , ext4 , partition for normal files and folders ) it was recommended to me to make the third partition's format NTFS but it actually askes me to mount it every time I boot up my laptop over and over again .  My question is "Is there any other format which is used for normal data for ubuntu or Is there any solution for it ?"  My thanks in advance .


In my graph theory book exercise, I found a problem that:     Prove that the World is not flat using Mathematics     This picture is used in the exercise, but no idea of applying it.  I would have used the angles don't add to $180^\circ$, but the author is using a fourth city.


If the localization of a ring at each prime ideal is Noetherian, does this imply that ring is Noetherian?

If the localization $R_p$ of a ring $R$ at each prime ideal $p$ in A is Noetherian, does this imply that $A$ is Noetherian?  What we call such rings which is not Noetherian but localization at each prime ideal is Noetherian ? Can somebody provide me any counterexample of (1) and also a good reference?


Unable to access files on Mac HDD from Ubuntu partition

I have installed 16.04 on my macbook recently for use with work etc, and have not really had any issues up to this point, but I would simply like to access the files on my Mac partition, namely music files from Ubuntu.  I am able to mount the drive fine, see quite a few folders, but as soon as I try and access the downloads/music folder, I am unable to access anything due to permissions.  If I use the gksudo nautiluscommand, I am able to access everything fine, but it doesnt really make things easier as I ideally just like to be able to access as a normal user.   Information I've found so far seems outdated.


How to disprove this fallacy that derivatives of $x^2$ and $x+x+x+\dots\quad(x\text{ times})$ are not same.

Possible Duplicate:          \begin{align*} x^2 &= \underbrace{x + x + x + \dots + x}_{x \text{ times}}, \\ \therefore \frac{\mathrm{d}}{\mathrm{d}x} (x^2) &= \frac{\mathrm{d}}{\mathrm{d}x} (\underbrace{x + x + x + \dots + x}_{x \text{ times}}) \\ &= \underbrace{1 + 1 + 1 + \dots + 1}_{x \text{ times}} \\ &= x. \end{align*}  But we know that $$ \frac{\mathrm{d}}{\mathrm{d}x} (x^2) = 2x. $$  So what is the problem?  My take is that we cannot differentiate both sides because $\underbrace{{x+x+x+\cdots+x}}_{x \text{  times}}$ is not fixed and thus $1$ is not equal to $2$.


$-1 = 0$ by integration by parts of $\tan(x)$

I had a calculus final yesterday, and in a question we had to find a primitive of $\tan(x)$ in order to solve a differential equation.  A friend of mine forgot that such a primitive could easily be found, tried to integrate $\tan(x)$ by parts... and then arrived to the result $0 = -1$.  The kind of thing you're pretty satisfied to "prove", except during an important exam. :-°  So afterwards I tried to do the same :  $$\begin{align*} \int \tan(x)dx &= \int \sin(x) \times \frac{1}{\cos(x)}dx \\[0.1in] &= -\frac{\cos(x)}{\cos(x)} - \int - \frac{\cos(x) \times \sin(x)}{\cos(x)^2}dx \\[0.1in] &= -1 + \int \tan(x)dx \end{align*}$$  And therefore we get :  $$ \int \tan(x)dx = -1 + \int \tan(x)dx \implies 0 = -1$$  What? The reasoning sounds about right to me. Could someone explain where something went wrong?  Thanks,  Christophe.


I'm trying to create a script to automate the setup for my Plex server, but it's not working. Here's the script:   #!/bin/bash  #makes backup of /etc/fstab and /etc/network/interfaces cp /etc/fstab /etc/fstab.bak cp /etc/network/interfaces /etc/network/interfaces.bak  #sets static IP ifdown eth0 cat <<EOF > /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback  # The primary network interface auto eth0 #iface eth0 inet dhcp  #Your static network configuration iface eth0 inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.4 EOF ifup eth0  #runs updates and installs VM tools, CIFS, avahi-daemon, git-core and htop apt-get install open-vm-tools cifs-utils avahi-daemon git-core htop apt-get update -y  apt-get dist-upgrade -y apt-get autoremove apt-get autoclean  #creates directories for file shares mkdir /media/windowsshare mkdir /media/windowsshare1  #creates file for file share credentials cat <<EOF > ~/.smbcredentials   username=username   password=password EOF  #adds file share location to /etc/fstab cat <<EOF >> /etc/fstab //server/Media /media/windowsshare cifs credentials=/home/plex/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 //server/Media1 /media/windowsshare1 cifs credentials=/home/plex/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 EOF  #mounts file shares mount a  #installs plex wget https://downloads.plex.tv/plex-media-server/0.9.14.6.1620-e0b7243/plexmediaserver_0.9.14.6.1620-e0b7243_amd64.deb dpkg -i plexmediaserver_0.9.14.6.1620-e0b7243_amd64.deb  #configures plexpy cd /opt git clone https://github.com/drzoidberg33/plexpy.git cd plexpy python PlexPy.py cd /opt/plexpy touch /etc/default/plexpy adduser --system --no-create-home plexpy chown plexpy:nogroup -R /opt/plexpy chmod +x /opt/plexpy/init-scripts/init.ubuntu ln -s /opt/plexpy/init-scripts/init.ubuntu /etc/init.d/plexpy update-rc.d plexpy defaults service plexpy [restart]   I've set it as executable, but whenever I try to run:  sudo ./plexsetup.sh   I get:  sudo: unable to execute ./plexsetup.sh: No such file or directory   If I run:   sudo sh plexsetup.sh   I get:    : not foundh: 2: plexsetup.sh  : not foundh: 6: plexsetup.sh  not configuredcd eth0   Any ideas?  EDIT:  start plexsetup.sh   returns:  start: unknown job: plexsetup.sh


Kant and categorical imperative dilemma?

I was wondering, what would Kant and the categorical imperative say about the following situation?  Person A has made a promise to person B that Person A would not tell of a crime of stealing in a shop that Person B was to commit. However, Person A also happens to know the shopkeeper and has in the past promised the shopkeeper to report any crime that Person A knew was committed in the shop.   Now, we are living in the moment just after B has committed the crime of stealing (unnoticed by others).   The question is now, from a Kantian view, what is the right thing morally for A to do?


Automatically connect to a wireless network using CLI

I need my machine to connect to a wireless network automatically every time it starts  I'm running a headless server (10.04) and I use following commands to manually connect to the network  sudo iwconfig wlan0 essid "SSID_Name" sudo iwconfig wlan0 key XXXXX sudo iwconfig wlan0 key open sudo iwconfig wlan0 mode Managed sudo dhclient wlan0   I will appreciate if we can do that by modifying etc/network/interfaces file  Please note that my router is running wep, thanks in advance


what does" I've got some time on my hands" mean?

"My shift at work's kinda long, you know? It is -so I,ve usually got some time on my hands to, you know...whatever. Think, I guess."


Segmentation fault if I try to print a string char by char

I am trying to print a string char by char, with this ARM32 code: .global main .type main%function  @ r0 = asciz c @ r1 = singlechar @ r2 = string @ r3 = offset  main:         mov r3,#0    // initialize offset         ldr r0,=single_c         ldr r2,=string         push {ip,lr}    // save the lr loop:         ldrb r1,[r2,r3]    // load 1 byte of the address string+offset         cmp r1,#0    // if the char is the null char         beq end    // then go to the end         bl printf    // else printf("%c",r1)         add r3,#1    // increase offset         b loop    // repeat the loop end:         pop {ip,lr}    // restore lr         bx lr    // return  string:         .asciz "Test\n"  single_c:         .asciz "%c\n"                                     I really don't get what am I doing wrong, since if I execute it, I get this: $ /a.out T Segmentation Fault  So it only prints the first letter. EDIT: I added a push {r0,r1,r2,r3} before the printf call and a pop {r0,r1,r2,r3} after the printf call, and now it works... but my question is: does printf ALWAYS modify the first four register?


Text over symbols, but with adjusting width ( something like \stackrel{#1}{#2} but with same size)

I would like to write something above equation sign. One may do it with \stack{#1}{#2} command and it works fine if #1 and #2 are the same length, example:  $\stackrel{(3)}{=}$    will result in     But if I would like to have longer text above =, for example:  $\stackrel{x_1 \neq x_2}{=}$   then I will get    which is not what I want.  I want the "=" to adjust it's size to the thing that's written above, so something like    Is there a command which will do it automaticaly? Or if not - how can i do it manually?


Why is every such function constant: $f(x)=f(x^2)$ for $x \in [0,1]$?

Let $f:[0,1] \to \mathbb{R}$ be a continuous function such that $f(x)=f(x^2)$ for all $x \in [0,1]$.  Any hint/idea for proving that $f$ has to be constant?


Ackermann function is not primitive recursive

The function of the Ackermann function is defined as $$ A_{0}(y)= y+1$$ $$ A_{x+1}(0)= A_{x}(1)$$ $$ A_{x+1}(y +1)= A_{x}(A_{x+1}(y))$$  I want to show that the function of ackermann is primitive recursive, showing  that for all function primitive recursive $f$ exist a number m such that   $f(x_{1}, \dots , x_{k}) < A_{m}(x_{1} + \dots + x_{k})$  for the basic functions (successor, zero, projections) and the composition I did not have problem but for recursion scheme i could not show.  Suppose that $g$ is a $k$-ary function and $h$ a   $k+2$- ary and let a function $f$  which is $k +1$- ary obtained by the recursion scheme applied to $f$ and  $h$. Supposing that one exists $r$ such that $g(x_{1}, \dots , x_{k})<A_{r}(x_{1}+ \dots + x_{k})$ and exist $s$ such that $h(y_{1}, \dots , y_{k +2})<A_{r}(y_{1}+ \dots + y_{k+2})$ we should find a $q$ such that $f(x_{1}, \dots , x_{k}, n)<A_{q}(x_{1}+ \dots + x_{k} +n)$. I take $q= 1 + max\{r,s\}$ and I try to show by induction on n, for the base case we have $f(x_{1}, \dots , x_{k}, 0)=g(x_{1}, \dots x_{k})< A_{r}(x_{1}+ \dots + x_{k})<A_{q}(x_{1}+ \dots + x_{k})$ Now assuming that $f(x_{1}, \dots , x_{k}, n)<A_{q}(x_{1}+ \dots + x_{k} +n)$ want to show that$f(x_{1}, \dots , x_{k}, n+1)=h(x_{1}, \dots x_{k}, f(x_{1} \dots , x_{k}, n),n)<A_{q}(x_{1}+ \dots + x_{k} +(n+1))$ but I could not show it.  Any hint is welcome. Thanks


I am trying to play on a multiplayer for Minecraft on the PC.  All it says in the multiplayer server menu is "Scanning for games on your local network". However, it never finds the server.  How can I make this work?


Nothing can ruin your day like a poorly-written bug report.  I've seen several sets of guidelines for bug reporting in different organizations. In your opinion, what guidelines/steps are most essential for good bug reporting?  Feel free to share complete guideline recommendations from prior/current projects/organizations.


Scalar Multiple times $n \times n$ Identity Matrix Proof

How to prove $\det(kA) = k^{n}$ where $A$ is the $n \times n$ Identity Matrix using induction. I started off using the base case, forming my inductive hypothesis and trying to factor out $k^{n}$ times $k$ for the $(n + 1)$-th case by using the definition of the determinant but I am completely lost on the technicalities and notation.


Let $u\in \mathcal{C}^1[a,b]$ be such that $u(a)=u(b)=0$. Show that  $$\int_a^b u^2(x)dx\leq (b-a)^2\int_a^b (u')^2(x)dx$$   using the Schwarz's inequality.


Proof Writing: Regarding an equivalent statement of the Axiom of Choice. (Tao, Analysis I: Exercise 8.4.2.)

I am trying to prove the converse (underlined in red) by defining a choice function $f:\Bbb{F}\rightarrow \cup_{\alpha\in I}X_\alpha$ to be $f(X_\alpha)=x_\alpha$ such that $Y\cap X_\alpha=x_\alpha$ where $x_\alpha$ is a unique intersection between $Y$ and $X_\alpha$. Also, $\Bbb{F}=\{X_\alpha: \alpha\in I\}$. I do not understand the problem where the Axiom of Choice does not assume the sets $X_\alpha$ being disjoint. In a same post here , Prof. Brian Scott said that if the family of $X_\alpha$ is not pairwaise disjoint then there's no way we can get the $Y$ we want to use to define $f$. Why?


After deleting my system python, how can I restore it?

I stupidly deleted the system python on High Sierra, hoping to only use the Homebrew version. However, now I want it back. How can I restore it?


What does character set and collation mean exactly?

I can read the MySQL documentation and it's pretty clear. But, how does one decide which character set to use? On what data does collation have an effect?  I'm asking for an explanation of the two and how to choose them.


Suggested Edits review queue notification after maximum limit reached

Having got a bit more information about the suggested edits notification , I think I have one more question here.  As you can see on my edited screenshot below, I am getting the notifications even though I am not available to contribute more to it because I exceeded the daily quota. I would need to come back later to help with this further on.  This brings to my questions: am I thinking something wrong or perhaps it would be better to pause the operation of the notifications for the person when it is not possible to help more on the given day, and refresh it when the day expires.  Currently, it does not seem to be such information that I would use for something. If I wish, I could still see this notification when I visit the review tab. It may be possible that I lack some context.  Apparently, there is  thread, but it is talking about 10k, and I do not even have 5k reputation. Is this related to that the limit was changed?  So, is this intentional for the future? Any help would be greatly appreciated.


Intensity and Young's Double slit experiment

In the experiment we say that light coming from the slits at center part of the screen are in phase. Let at some time amplitude of both wave are at crest, then a maximum bright spot will be formed. But after some time both will have zero amplitude. Then at that time intensity will be lowest. Similarly as the amplitude will be varying with time so the intensity of central part must also varying with time sinusoidal, but this actually does not happen. Why ?


What is a good software for creating an archive of photos?

I've got about 9'000 family photos already (made with my own camera over the last 10 years), plus I'm about to start scanning grandma's archive of physical photos (several hundred more).  So I'm starting to desire something better than just a folder-with-the-date system. Even more - I'd like to store extra metadata with the old scanned photos - who the people in them are, where the photo was taken, perhaps some stories about them... Not really sure about all the possible things that could go in there.  After that, well, I guess all the photos should be searchable/sortable by the metadata, and perhaps it should be nice to export a "gallery" or "slideshow" with the pictures & metadata that can be viewed on another computer that doesn't have the sowftware installed.  The metadata format should also be popular/standardized enough that it wouldn't get obsolete in 30 years, though I guess that's something that nobody can predict. I've noticed XMP being mentioned here, that sounds good, though I guess it'd need to be shadowed in a DB for all the searching/sorting.  So, is there anything that can be suggested for a task like this? I know that many professional photographers swear by Adobe Lightroom, but that seems like an overkill for simply an archival system. Expensive too, though I think it came with a cloud-based backup option, which could offset the cost (I'm currently using Microsoft OneDrive as the cheapest option for off-site backups).


CSS Grid-areas how to make footer sticky without loosing footer grid area?

I am trying to make a Footer sticky. I have asigned three areas in CSS with grid-areas. Header, Main and Footer. When I apply the code:  bottom: 0px;     position: absolute;   I will lose the footer area when I inspect the element in a browser. See below.  Below is my code:   * {   padding: 0;   margin: 0;   box-sizing: inherit; }   /* html -  */  html {   box-sizing: border-box;   font-family: 'Comfortaa', cursive;   color: white; }  html body {   width: 100%;   height: 100%; }  body {   background-color: #df92d2;   line-height: 1.6;   width: 100%;   display: grid;   grid-template-columns: auto;   grid-template-rows: auto;   grid-template-areas: " header " " main " " footer "; }  header {   grid-area: header;   background-color: #993a4a; }  nav {   width: 100%;   overflow: hidden; }  ul {   list-style-type: none;   overflow: hidden;   background-color: #993a4a;   text-align: right; }  li {   display: inline-block;   padding: 6px; }  nav ul li a {   text-decoration: none;   color: white; }  main {   grid-area: main;   width: 100%;   background-size: cover;   position: relative; }  main img {   height: 500px;   width: 100%; }  footer {   grid-area: footer;   background-color: #993a4a;   text-align: left;   height: 40px;   width: 100%;   bottom: 0px;   box-sizing: border-box;   bottom: 0px;   position: absolute; } <link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap" rel="stylesheet">
SPOOFY

Home

 Products

 Gallery

 About us

 Contact

Welcome to SPOOFY
         To make a long story short. How can I keep my 3 grid areas and have a sticky footer?


I have a tripod for my SLR camera that I want to carry on my bike. It's just a generic tripod , but if I strap it to my top tube it rubs against my legs while riding (and it's slightly too long for that).     I do have a pannier rack, but I haven't been able to attach it in a way I'm happy with yet. Do I have any other options?


I don't have the apple ID on my iPod so I cannot delete iCloud?

So I bought my iPod from someone, and their iCloud account is still on here, which means the pictures I take and everything, they can see. I just noticed this and I tried to delete it, but it asks me to put in a password to turn off "find my iphone" and I do not have that password because it is someone else's iCloud account.


Driving a borrowed Car in the USA as a German Citizen

A friend of mine and I are planning a visit to the USA this July, where my parents now live. We are planning on making a road trip through parts of the USA (mainly California, but also Nevada and possibly Arizona). My father has agreed to lend us a car to use for this road trip.   Both my friend and I are German citizens and we are both in possession of standard German driving licences. I am 22 and he is 21.   My question is it legal for us to use this car and are there any special prerequisites we need to fulfill in order to be able to use this car?


Shell infinite loop to execute at specific time

I have access to a Linux CentOS box.  (I can't use crontab sadly)  When I need to run a task everyday I have just created a infinite loop with a sleep.  (it runs, sleeps ~24 hours and then runs again)  #!/bin/sh   while : do     /home/sas_api_emailer.sh |& tee first_sas_api  sleep 1438m done   Recently I have a task that I need to run at a specific time everyday 6:00 am (I can't use crontab)  How can I create an infinite loop that will only execute @ 6:00 am?


What is the origin of the expression "legislate from the bench"?

What is the origin of the expression "legislate from the bench" used to describe "judicial activism" in the United States?  Do judges have different seating arrangements from congressmen?  In more detail, do legislators (congressmen) sit on different appliances as compared to judges? Why does "bench" imply the judicial branch more than the legislative branch? Do judges sit on benches while senators sit on armchairs?  In other words, what is the origin of describing the judges as sitting specifically on a "bench"? I assume what they sit on is padded just as much as your typical senator's seat.    Note1: @TimLymington pointed out in a comment that what is relevant is the length of the bench, with several judges sitting on it.  Meanwhile, members of other branches of goverment usually sit on individual seats.  This seems to be the explanation of the expression dating back to the 13th century.   TimLymington can format his comment as an answer so I could "accept" it.  Note 2: the comment at wiki that the bench is where the judges sit appears to be incorrect.  Rather the "bench" seems to refer to the table where they work.  Note 3. When a judge tells a barrister to "approach the bench", as in this post:  he typically does not mean to imply that the barrister should aim for the judge's seat, but rather the table/desk/bench.


How to add website as a website link with Brave/Chrome to the Android home screen?

On a Chrome or other Chromium browser (Brave, Kiwi..) on Android When I click "add to home screen" from the Brave/Chrome menu, on some sites the icon that is added does not open website but instead opens a custom app created for the website (so called "PWA"). I want to create a simple website link that opens the website in a browser (so I can use search / see the url from the address bar and so on). How can I do that with Brave or Chrome?


I want to split a  string into an array of strings and I need to split them whenever a ',' is encountered.  In Java, we can use:-  String[] splitArray = input.split(",");   Is there any such a feature in C++ or I'll have to stick with the traditional way of doing this using a loop?  The solutions provided at a similar Ques. at StackOverflow Do not work for any delimiter other than space.


Prove that a function which is analytic in unit circle and satisfies $f(0)=1$ and $f(z) \ge 1 + |z|^ 2$ doesn't exist

Let $G=\{ z \mid |z| < 1\} $. Show there are not function such that $f \in A(G)$ and $f(0)=1$ and $|f(z)| \ge 1 + |z| ^ 2$  So I assume by contradiction that there is such function $f$. I thought to start using Cauchy's formula and I get  $$ \int_{|z|= 1} \frac{f(z)}{z} \,\mathrm dz= f(0) = 1$$  It seems that I should somehow use the maximum principle, but since here $f$ is greater than something, I am not really sure how.  Help would be appreciated


mac cPanel: "puttygen: error loading unrecognised cipher name"

Not sure what's causing this error - trying to convert my private ssh key to .ppk format within cPanel for SFTP via filezilla.  I generated my keys using the following command:   ssh-keygen -t rsa   This is the beginning of my key - is this incorrect?  -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAACmFlczI1Ni1jdHIAAAAGYmNyeXB0AAAAGAAAABDUEyp40b


In search of an idiom expressing "To lay the grapes into somebody's mouth"

I am asking if there is a similar idiom like the German expression "Jemanden die Trauben in den Mund legen" - "to lay the grapes into somebody's mouth".  To say: You need to study that for yourself and should not expect that others always give you the fruits of effort.


Geometric intuition for the tensor product of vector spaces

First of all, I am very comfortable with the tensor product of vector spaces. I am also very familiar with the well-known generalizations, in particular the theory of monoidal categories. I have gained quite some intuition for tensor products and can work with them. Therefore, my question is not about the definition of tensor products, nor is it about its properties. It is rather about the mental images. My intuition for tensor products was never really geometric. Well, except for the tensor product of commutative algebras, which corresponds to the fiber product of the corresponding affine schemes. But let's just stick to real vector spaces here, for which I have some geometric intuition, for example from classical analytic geometry.   The direct product of two (or more) vector spaces is quite easy to imagine: There are two (or more) "directions" or "dimensions" in which we "insert" the vectors of the individual vector spaces. For example, the direct product of a line with a plane is a three-dimensional space.  The exterior algebra of a vector space consists of "blades", as is nicely explained in the .  Now what about the tensor product of two finite-dimensional real vector spaces $V,W$? Of course $V \otimes W$ is a direct product of $\dim(V)$ copies of $W$, but this description is not intrinsic, and also it doesn't really incorporate the symmetry $V \otimes W \cong W \otimes V$. How can we describe $V \otimes W$ geometrically in terms of $V$ and $W$? This description should be intrinsic and symmetric.  Note that  basically asked the same, but received no actual answer. The answer given at  discusses where tensor products are used in differential geometry for more abstract notions such as tensor fields and tensor bundles, but this doesn't answer the question either. (Even if my question gets closed as a duplicate, then I hope that the other questions receive more attention and answers.)  More generally, I would like to ask for a geometric picture of the tensor product of two vector bundles on nice topological spaces. For example, tensoring with a line bundle is some kind of twisting. But this is still some kind of vague. For example, consider the Möbius strip on the circle $S^1$, and pull it back to the torus $S^1 \times S^1$ along the first projection. Do the same with the second projection, and then tensor both. We get a line bundle on the torus, okay, but how does it look like geometrically?  Perhaps the following related question is easier to answer: Assume we have a geometric understanding of two linear maps $f : \mathbb{R}^n \to \mathbb{R}^m$, $g : \mathbb{R}^{n'} \to \mathbb{R}^{m'}$. Then, how can we imagine their tensor product $f \otimes g : \mathbb{R}^n \otimes \mathbb{R}^{n'} \to \mathbb{R}^m \otimes \mathbb{R}^{m'}$ or the corresponding linear map $\mathbb{R}^{n n'} \to \mathbb{R}^{m m'}$ geometrically? This is connected to the question about vector bundles via their cocycle description.


Let $f$ be continuous at $0$. Suppose $\displaystyle \lim _{x\rightarrow 0} \frac{f(2x)-f(x)}{x} =L$. Prove that $f'(0)=L$.   My Work:  $\displaystyle \Bigg|\frac{f(x)-f(0)}{x}-L\Bigg|=\Bigg|\frac{f(x)-f(2x)+f(2x)-f(0)}{x}-L\Bigg|$  $\displaystyle \leq \Bigg|\frac{f(x)-f(2x)}{x}-L\Bigg|+\Bigg|\frac{f(2x)-f(0)}{x}\Bigg|$. Since $f$ is continuous at $0, |f(2x)-f(0)|$ goes to $0$ as $x$ goes to $0$. Now I want to get rid of $|x|$ of the second term. How can I do it? Can somebody please help me?


I need to make a converter to go from RS422 full duplex to my Arduino. I have found lots of different chips which I think can do this, but am slightly confused by the terminology. The RS422 device is a laser distance sensor ().  It has RX+, RX-, TX+, TX-. So I have two lines for input and two lines for output.  I could use two RS485 line drivers to achieve the full duplex comms which I need.  There are a lot of chips to do that.  But then on my Arduino (clone: chipkit max32) would I need to use two UART channels? And then alternate which one I am sending each byte on?  The device uses 4 byte instructions. So if I wanted to send an instruction would I send Serial1(firstByte) then Serial2(secondByte), Serial1(thirdByte), Serial2(fourthByte)?   And then receive data the same way? I feel like I am missing something and can do this on one UART channel but am not sure how.


At what point along its journey did a particular YT-1300 freighter become known as the Millenium Falcon?  Was it named by Han or Lando, or someone else?  Wookieepedia offers no help other than "at some point."


Can you provide a link to a font or typeface containing a double bar dollar sign?

Can anybody refer me to a font file or typeface that contains the proper US dollar sign?  A problem with most typefaces is that they contain a generic dollar sign, containing a single vertical bar. A US dollar sign contains two vertical bars. The commonly used alternatives are $us9.99 or us$8.88.  Explanation: The original US dollar sign was a monogram of US. It consisted of a sanserif capital S, with a narrow sanserif capital U centered on top of it. Later, the bottom of the U was removed.


Galois group of $x^4 - 2x^2 - 6$ - generators

The splitting field of $x^4 - 2x^2 - 6$ is $\mathbb{Q}(\alpha, \sqrt{-6}) = \mathbb{Q}(\alpha, \beta)$ where $\alpha = \sqrt{1+\sqrt{7}}$, $\beta = \sqrt{1-\sqrt{7}}$. From the first representation, $x^4 - 2x^2 - 6$ being irreducible (say, Eisenstein for $2$) and $\sqrt{-6}$ being non-real it follows that the extension (and hence the Galois group) has order $8$.   Now one can sneakily show that the group is $D_8$ as follows -- it is not Abelian, as then by FTGT any intermediate extension must be Galois, whereas $\mathbb{Q}(\alpha) : \mathbb{Q}$ is not. On the other hand, $(\alpha \to -\alpha)$ (and fix the rest) and $(\sqrt{-6} \to -\sqrt{-6})$ (and fix the rest)   are two distinct morphisms of order $2$, hence the group cannot be quaternion. So it must be $D_8$.  But what about a set of generators? I think that $(\sqrt{-6} \to -\sqrt{-6})$ can be the reflection one but I can't think of a suitable rotation one.  Any help appreciated!


Recursive formula for the integral $\int\frac{1}{(1+x^2)^k} dx$

I need to derive a recursive formula for the integral $$ \int\frac{1}{(1+x^2)^k} dx\qquad(1)$$   I started from the assumption that $$x=tan(t) \qquad(2)$$ $$dx=sec^2(t) dt \qquad(3)$$  $$\frac{dx}{sec^2(t)}=dt$$  Subtitiution (2) into $1+x^2$:$$1+tan^2(t) = sec^2(t)\qquad(4)$$  Insert (3), (4) into (1)  $$I_k=\int\frac{1}{(1+x^2)^k} dx= \int\frac{1}{(sec^2(t))^k} \cdot sec^2(t) dt= \int (sec(t))^{-(2k-2)}dt = \int(cost)^{2k-2}dt$$  I know that I should apply integration by part to the element $$\int(cost)^{2k-2}dt$$but I don't know how to do it. I know the formula for this integration, but my tries bring crazy results. How to solve it?


How exactly are definite integrals calulated and what is the connection between definite and indefinite integrals?

It's taught that an indefinite integral or an antiderivative of a function gives the function that when differentiated returns the function that was integrated, mathematically represented by the following: $$\int f(x)dx = F(x)$$ $$F'(x) = f(x)$$ and that a  definite integral finds the area under a curve by doing the following: $$\int_a^b f(x)dx=F(b)-F(a)$$ And so my question is, how exactly is a definite integral calculated? Why can you simply find the antiderivative of a function to find the area under the function by plugging in the x values into the antiderivative and then subtracting the two results? How are antiderivatives and areas under curves even related?


Different behaviour when operating on equivalent multidimensional lists

When I operate on two, I think equivalent multidimensional lists, I have different outcomes. The only difference between the lists is how they are created. I'm using Python 3.4.3  >>> b = [[1,2],[1,2]] >>> b[0][0] += 1 >>> b [[2, 2], [1, 2]] >>> b = [[1,2]] * 2 >>> b [[1, 2], [1, 2]] >>> b[0][0] += 1 >>> b [[2, 2], [2, 2]]   As you can see, both b's and the operations on them are the same, but the outcome is not. I'm guessing that it has something to do with the way they are created since that is the only difference, but I don't see how.  Its the same with Python 2.7.6  >>> b = [[1,2],[1,2]] >>> b [[1, 2], [1, 2]] >>> c = [[1,2]] * 2 >>> c [[1, 2], [1, 2]] >>> c == b True >>> b[0][0] += 1 >>> b [[2, 2], [1, 2]] >>> c[0][0] += 1 >>> c [[2, 2], [2, 2]] >>> c == b False >>>


Prove by induction Andrews section 1-1 ex. 10

Prove: $$F^2_{n+1} - F_nF_{n+2} = (-1)^n$$ I do understand where does $$F^2_{k+2} - F_{k+1}F_{k+3} = $$ come from. But then it distributes as follows: $$=F_{k+2}(F_{k+1} + F_k)-F_{k+1}(F_{k+2} + F_{k+1})=$$ $$=F_{k+2}F_k - F^2_{k+1}=-(F^2_{k+1}-F_kF_{k+2})=-(-1)^k=(-1)^{k+1}$$ I see no pattern. Can someone explain this transition


I was messing around with $i$ and I (haha) noticed that certain progressions arise when I keep on raising $i$ to $i$ to $i$ and so forth. Though, I am not really quite sure what is going on (and I don't have time to explore further).  In other words, is there an interesting pattern in the sequence:  $i$ , $i^i$, $i^{\left(i^i\right)}$, $i^{\left(i^{\left(i^i\right)}\right)}$, etc.


We have a Windows 2008 r2 server (on hyper v) and on this we are running a SQL server. This database is approx 300 gb big. The server has 32 GB ram. In the SQL Server properties I saw the following:      I just wondered is this OK or is this too much memory. According to www.sqlservercentral.com/blogs/glennberry/2009/10/29/suggested-max-memory-settings-for-sql-server-2005_2F00_2008/ I read that a server with 32 GB needs max  29000   Can someone advise. Thanks


I just selected some pixels in Photoshop and deleted them, so this part became transparent. I save it as PNG. And imported this image as texture for cycles material.  What surprised me is a "Material" and "Texture" view in 3D window, that displays pixels that should not exist anymore in the image.  From result it seems to me like Ph deleted completely only all pixels (color information) out of a box (rectangle) that determinate pixels with alpha. And for pixels inside this "non alpha" box he kept colors and alpha info.  Blender than displays only color info without alpha inside this rectangle. That is probably a bug, but I just even didn't know that PNG saves this pixels as well.   Am'I right? Or what is going on here?  Since the node tree consists from a "Transparent" shader as well, it displays alpha right, but not in a "Texture" method anyway.   Note: Render is OK.  So, the questions are:   How PNG file stores color/transparent data (this doesn't seem to be blender related, but only blender displays data in that way for me) Is this behaviour expected or is it a bug? (or any other user fault :)     Edit: probably more descriptive illustration


Insert into table the selected columns from another table

What query would insert the selected columns, for a desired value, from a table into another table?  Before Query  table1=>Colums(A,B,C)   row1(a,b,1)   row2(c,d,0)   row3(e,f,1)  table2=>Columns(id,A,B)   After Query  table1 is unchanged.  table2(id,A,B)   row1(id,a,b)   row2(id,e,f)   I need to insert in table2 all the rows from table1 where 'C=1', C may equal 1 in multiple records.


I often see a trivial question I can answer in about a minute, but since it's so easy, it must have been asked before, right? So I'm faced with a choice:   Find the existing question and vote to close the new one as duplicate. This would benefit the site, driving all users with the same question to one place. Answer it immediately, quite possibly collecting a couple of votes, at the expense of adding to the clutter, fragmentation on the site.   Searching for duplicates is tedious and unrewarding. I have to copy and paste the question or type it rephrased. Then read a couple of possible duplicates, and maybe even repeat the search. There may not even be a worthy existing question. In short, it's far more rewarding to just answer.  This happens to me a lot. And every time, I have the distinct feeling that it really takes discipline to do the right thing and search first. A badge would be nice for this! Those folks who do take the time and effort to find duplicates and get them closed deserve a reward.  PS: As for the current meaning of the Disciplined badge, I hardly ever feel that I would exercise discipline by deleting my own upvoted answer. On the other hand, the urge to answer instead of searching happens to me pretty much every day, and I'm a pretty casual user, far from a fanatic.


This is in reference to   Here, at the time of writing, there is the comment:     no, it's defined behavior (witch [sic] becomes same value as   (i*j)%std::numeric_limits::max()) without consider [sic]   overflow    This is in contradiction to the heavily upvoted answer It's an answer masquerading as a comment It has a probably unintentional upvote It is of rather poor quality (bad spelling, punctuation)   If comments were able to be downvoted, then it could assist the peer review process.  Or am I wrong?


A:I was the 1st one in queue/I was the second player B:How many? Is what B said correct? Or what is the question for ordinal numbers? The question from B is not asking how many people in the queue was, it's asking the number A was in the queue. In my native language we have a "how" question for that but I was struggling to ask the same in English so I apologize perhaps my question doesn't make sense but I would really appreciate your help.. Would it be okay to ask :"what number? which number were you? or something like that  sorry for bad English and thank you in advance


Hamiltonian path implies Hamiltonian cycle?

If a graph $G$ is such that from every vertex $v$ there is a Hamiltonian path, does that imply that there is a Hamiltonian cycle?  I've tried a constructive proof, but to no avail. No other ideas occur to me. I'd rather have just hints :-) No fun otherwise...


How can one determine if the opposite of an agent noun exists?

We know that the employer employs the employee and that the tutor tutors the tutee, but how do we know if the shooter shot the shootee?  Is there a simple way to determine if an agent noun can be made into the object of the agent noun's action? In some cases, this is plainly obvious. We have runners but definitely not runnees and we have jumpers but not jumpees. There ought to be a way can we easily determine if the shooter shoots the shootee since a shootee is intuitively the person who gets shot by a shooter.  Note: Since the meaning of shootee can be intuitively determined by any English speaker, it isn't technically incorrect according to a descriptive linguist, but how would a prescriptive grammarian feel about it?


Why is electric flux defined at all? It seems that without having symmetry in objects, we cannot use it to find something important. Please shed some light on its history also.


I have a content type named myContentType with these columns  Title Person Age  If i change the name of these columns to this  Title = Hello Person = Jo Age = Agee  If i now create a subsite, these columns will have the first name/internal names, title, person and age. How can i fix this? I want to have  the new names.


No hyphenation of long words in narrow boxes

I stumbled across an hyphenation problem which I cannot explain or solve. When I use a narrow box containing a long word with a width longer than the box width, this word is not hyphenated.  The following MWE uses the long word Rechnungsadjunktentochter with an explicit hyphenation pattern in the preamble. This word is hyphenated in a long text, also when the break points are given in a narrow box locally, but it is not hyphenated automatically.  What happens here? And, more important, how can I get my words hyphenated automatically as expected?  UPDATE: @egregs comments explain what happens. But, still, I would have to insert \hspace{0pt} at every first word of every paragraph of every narrow box (and I have MANY of them, partly automatically generated). How can I force TeX to hyphenate the first word of EVERY paragraph (inside an environment) automatically?  UPDATE 2: The solving answer is given by the latter comments of @egreg to this question.  \documentclass{article}  \hyphenation{%   Rech-nungs-ad-junk-ten-toch-ter }  \begin{document}  \textit{Works even without the special hyphenation pattern:}\\ bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla Rechnungsadjunktentochter  \bigskip \textit{Local hyphenation pattern works as expected:}\\ \fbox{\begin{minipage}{3cm} Rech\-nungs\-ad\-junk\-ten\-toch\-ter \end{minipage}}  \bigskip \textit{\bfseries Hyphenation pattern from the preamble does not work as expected:}\\ \fbox{\begin{minipage}{3cm} Rechnungsadjunktentochter \end{minipage}}  \end{document}