JavaScript Lexical Scope Function Declaration vs Definition

If a function is declared in the global scope, but defined within a local scope, which scope does it belong to? I ask because I know it has access to the local function's scope (where it is defined in), but the declaration confuses me.  Example:  var funcDef; function a() {     var msg = "Hello, world!";     funcDef = function() {         return msg;     } } a(); console.log(funcDef()); // prints Hello, world!   My understanding is the variable, funcDef itself is bound to the global scope, and its function declaration is still bound within a()'s scope. Can someone confirm?


If $D_{n}$ is the Dihedral group of degree $n$ (order $2n$) where n is an odd number, can I then conclude that the numbers of elements of order 2 in $D_{n}$ is equal $n?$  I suppose there are the following types of elements in $D_{n}$: b, $a^{i}$, $a^{i}b$ for some $0\leq i < n$ .


From question . You have to use \r when replacing text for a newline, like this  :%s/%/\r/g   But when replacing end of lines and newlines for a character, you can do it like:  :%s/\n/%/g    What section of the manual documents these behaviors, and what's the reasoning behind them?


Is it possible to change many icons at the same time? I'm using Ubuntu 17.10


What kind of infinity is the number of different infinities?

Cantor’s theorem states that $|\mathcal{P}(A)| > |A|$ for any set $A$.  As a special case of this, we have $|\mathcal{P}(\mathbb{N})| > |\mathbb{N}|$. If we denote the power set of the naturals by $\mathcal{P_1}$, then $|\mathcal{P}(\mathcal{P_1})| > |\mathcal{P_1}|$. Now denote the power set of $\mathcal{P_1}$ by $\mathcal{P_2}$. Applying the theorem again, we have $|\mathcal{P}(\mathcal{P_1})| > |\mathcal{P_2}|$. We can repeat this process forever, with each power set, $\mathcal{P_n}$, having strictly greater cardinality than the last, $\mathcal{P_{n-1}}$.  Clearly this shows that there is an infinite number of different cardinalities of infinite sets (an infinity of infinities). My first thought is then to wonder about the nature of this infinite quantity.  I have two questions:   What is the cardinality of the set of different cardinalities of infinite sets? In other words, what kind of infinity is the number of kinds of infinity? It seems like it would be countable infinity to me, as we clearly have a bijection between the naturals and these cardinalities. However, my question below may cause a problem with this argument. In performing this iterative process on $\mathbb{N}$, are we actually covering all possible kinds of infinity? Can we be sure that there don’t exist any kinds of infinity that won’t at some point be generated by this process?   A side question regarding the definition of ‘uncountable’: Does uncountable infinity refer to any infinity that isn’t $|\mathbb{N}|$, or is it strictly $|\mathbb{R}|$?  I hope this question makes sense and that I’m not asking something pointless or unanswerable.


How to keep my No Default Browser option

I like not having a default browser. When I select a URL, a box comes up and asks me to select a browser. That's what I want. At the bottom of the box, it asks the question, "Always use this App?" The question has a check box to indicate Yes. I uncheck it, but sometimes I forget, then I've selected a default browser. I don't want that and it's a pain to remove the default. I'd like to have the box come up without the question checked. How can I default the question to unchecked?


The word "doubt" as a substitute for the word "question."

I  I live in India and I have noticed that in Indian English it is normal to use the noun "doubt" as one would use the noun "question" in Western English.  Examples:  "He had many doubts regarding the subject, so he asked his teacher to answer those doubts."  "Sir, I have a doubt, what is the square root of 64?"  Is this usage of the noun "doubt" unique to Indian English, or is it also acceptable in Western English?


So recently I looked at a user's profile. However, its profile view count was 0.    So how did this happen? Since I'm logged in shouldn't it be at least 1?


Are there any experimental data for light bending angle?

The gravitational lensing formula is given by equation $a=4M/r$. Is there any experimental data for this equation. I am trying to plot a curve for this equation and the real experimental data and check for the accuracy. I would really appreciate a table of data for the angle of deflection at each $r$ and $M$ if possible. Thanks.


How can I get the routing tables in command line? On a normal unix machine I can use   [user@server ~]# route -n Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 enp5s0 10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 enp5s0 169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 enp5s0   On my macbook, this does not work  [user@macbook ~]# > route -n usage: route [-dnqtv] command [[modifiers] args]   What be the equivilent command?


How to insert any Unicode character using the Unicode HEX Code on Windows (Word/Notepad/Web Broser URL or input field/other apps)?

My OS is Windows 7 (a localized version of this OS). I want to be able to enter any character in the applications mentioned in the title. I've tried some methods described on SE sites, including:    To be able to input characters using Unicode, run C:\Windows\regedit.exe, inside the application navigate to Computer -> HKEY_CURRENT_USER -> Control Panel -> Input Method and right-click -> New -> Key and name the key(/folder) EnableHexNumpad. On the right-hand side of the application, the type, which is set to REG_SZ, is OK, but you need to set the value to 1: double-click under Name and enter the value 1 in the popup window that shows up. Then close the regedit.exe application and reboot the system for the changes to take effect.    But this does not work for me: Word 2007 intercepts Alt + keyboard plus and thinks I want to insert an equation. Notepad thinks that I want to pull down a menu from the top when I press Alt. And I've even tried inserting the + key with SHIFT+= after keeping the Alt key pressed by no luck. And it doesn-t seem to work in chrome and firefox either.  Thank you for your help.


I’ve recently noticed that many of my posts get edited by new users, and the edits are subsequently approved (often unanimously).  Great, right?  Yes. Except that many of these edits are spurious, or wrong. The first kind irks me somewhat but is tolerable. The second kind, not so much.  Here are two examples from the last day:    – The edit doesn’t invalidate the answer, it’s just completely superfluous. I don’t particularly resent it, I just think it shouldn’t have been approved: that’s not what edits are for.  – The editor apparently confused the words “expect” and “except”. No biggie, but all but one reviewer didn’t notice this.   That’s not review. It’s just clicking “ok”.  I realise that there are already measures in place to catch  reviewers. But they don’t seem to be working particularly well, at least as far as I can tell.  I have no solution. I just wanted to offer this anecdote for consideration.


I used to get image pop ups in QGIS using the HTML code:  < img src="[% image %]" width=300 height=300 >   But somehow, I do not manage to use it anymore on QGIS 2.18.  Does anybody have a clue?


LuaTex bug ignoring {} (If so, how to report?)

Typing in ' and then " results in LyX automatically converting these into ' and ”. The code changes into '{}'' so that the output is right single quote and then right double quote ’ ”. Without the {}, just as ''', the output would be right double quote and then right single quote ” ’. The same is true for ``{}`.  This is supposed to become left single quote and then left double quote ‘ “ and not left double quote and then left single quote “ ‘.  This works fine as expected in pdflatex.  However, LuaTex ignores the {} and treats the sequence as ''' or ```.  The fix one side is simple, if the user types ' and then ", change the code from '{}'' to '{}\textdblquoteright. As a matter of fact, change ALL cases of typed " to \textdblquoteright.  This is a problem in typical sentences like the following sentence I would type:  Brian said, ``Alice turned to me and yelled,Stop!'"`  Lyx displays:  Brian said, “Alice turned to me and yelled, ‘Stop!’”  Lyx's code:  Brian said, ``Alice turned to me and yelled, `Stop!'{}''  pdflatex output:  Brian said, “Alice turned to me and yelled, ‘Stop!’”  LuaTex output (incorrect):  Brian said, “Alice turned to me and yelled, ‘Stop!”’  Solving the left quote problem is very hard. If you have three quotations as in the following, there is no easy way out other than manually coding \textdblquoteleft. The following is fine, because double quotes come first:  Lucy said, “‘Sting’ is Gordon's stage name.”  The following requires typing out \textdblquoteleft to display correctly in LuaTex:  Alice said, “Lucy said, ‘“Sting” is Gordon's stage name.’”  As it is, LuaTex would display this as:  Alice said, “Lucy said, “‘Sting” is Gordon's stage name.”’


trying to search inside chmod with command

I am trying to find commands with the word "symbolic" inside the contents  If I type     man chmod   and      /symbolic   you can see that chmod command has the line of "new modes of the file will also be printed, in both octal and symbolic notation. ~ "  So I was expecting if I type     man -f "symbolic"   the chmod command shows up, but it doesn't  Why not? And how do I look up the words in "Full", not "short", command man page? so that I can look up chmod by searching the word "symbolic"  Thanks


Should tomatoes be stored in the fridge?

Storing tomatoes in the fridge tends to make them last a bit longer, but I've heard that the flavor is negatively affected. What is the best way to store them?


I've been trying to use the linux shell to output a sequence of bytes into a file using Python. The problem is when I do:  python -c "print '\x11\x22\x33\x44'" > new_file   The new_file contains '\x11\x22\x33\x44\x0a'.  I looked up similar questions here on StackOverflow and tried to strip out the \x0a by the following and many other similar techniques:  python -c "print '\x11\x22\x33\x44'.rstrip('\x0a')" > new_file   The \x0a, however, refuses to go.  Has anyone run into this problem before? Would really appreciate a quick fix. Thanks.  PS: I've tried this with various versions of Python including 2.5, 2.7, 3.1, 3.3. All lead to the same problem.


If a is a quadratic residue, and ab is a quadratic residue, how can I show that b is also a quadratic residue? Would appreciate a hint.  So far I thought about the problem a little and I have:  $a^2$ = x mod n and $b^2$ = xy mod n, so $(\frac{b}{a})^2$ = y mod n, so I just have to show that $\frac{b}{a}$ is an integer. Is that a valid approach so far?


Is there a formal mathematical proof that the solution to the  is a function of only the parameters k (number of observed samples) and m (maximum value among observed samples)? In other words, can one prove that the solution is independent of the other sample values besides the maximum value?


How to create a clone of my Windows7 system hard drive

I suspect my system hard drive to get old.  Before losing anything, I want to create a full clone (all partitions, all data, exact clone) to another drive. So I can then simply replace the old hardware with the new one.  I think I may boot on a USB media to clone my HDD while it's not in use, so can I use a Linux tool? Is "dd" capable of that operation for a Windows drive (including boot information)?


I've gone through the arrow icon, camera icon and eye icon and all are active. The mug I made for the the Andrew Price tutorial does not show up in a final render. I have also hit alt H to unhide. Any other ideas lads?


How to install Skype from ".tar.gz" in Ubuntu 14.04

I need to know how I can install skype-4.3.0.37.tar.bz2 in Ubuntu 14.04.


Purpose of the magnetics center tap in Ethernet

What how the magnetics center tap work in Ethernet HW configuration? I've read that it depends on the specification of the attached PHY, sometimes must be connected to the PHY's DC supply, but i can't understand why.  Thanks in advance


Why is "police" referred to using the singular pronoun "it" in this sentence?

With reference to this question  and as per my understanding police is always plural. But I got shocked after seeing police used as a singular noun in :     Two days after the death of the 23-year-old gangrape victim, Delhi Police on Monday said it has finalised around 1,000-page chargesheet in connection with the incident and plans to submit it in court on Thursday.     I can't figure out why they have used police as singular. It's one of the prominent newspapers in India. I doubt myself about its usage. Could anyone elucidate it further?


Prove that the only nilpotent operator is 0?

I need to prove that if $\phi:V \to V$ is nilpotent, then its only eigenvalue is $0$.   I know how to prove that this for a nilpotent matrix, but I'm not sure in the case of an operator. How would I be able to relate $\phi$ to a matrix?


Does Lightroom accurately show highlight and shadow clipping?

Lightroom has three places in the UI where it shows information about highlight and shadow clipping:   The histogram in the Loupe mode. The histogram in the Develop mode. On the image itself, by using red for clipped highlights and blue for clipped shadows, as in the following example:     Do all three accurately show whether there's highlight or shadow clipping in the RAW file? (I shoot RAW.)  I thought so, but I was told  that that's not the case.  This on the Sony NEX-5R and LR 5, in case that matters.


Bad formatting bug at smokedetector page when accessed through a linked-link. The link is as follows: [meta.stackexchange.com/questions/296077/sandbox-archive/288114#288114]  Alternatively, it has been replicated on the   Captured on Mozilla Firefox (Recent Stable version). AND  As captured on Google Chrome Version 85.0.4183.83 (Official Build) (64-bit). Touch to enlarge. Secondly, the page opens correctly if opened via  [meta.stackexchange.com/questions/296077/sandbox-archive]  i.e. with the genuine format on all S.E. sites. I speculate that this maybe because of the large amount of answers on that post. Awaiting discussion on this. Steps to reciprocate are simple. Just .  I have found the infinity stone.  Here is the source code:  To break my post thread. Copy paste the above as an answer.  It was found that wherever that specific code runs, the whole SE site redesigns itself (including the fonts).


How do I make it so my Windows 10 laptop does not force a screen refresh/redraw when opening the lid?

I have my power settings for closing the lid set to "Do Nothing". In the past when I used this setting on Windows XP & 7 HP & Dell laptops, the screen just went to black when I closed the lid, and then came right back on when I opened it. If the laptop screen had been a separate monitor, it was like I turned the display power off and on. But with my current HP EliteBook running Windows 10, when I re-open the lid, it has to redraw/rescale the screen (e.g., taskbar shrinks to tiny size, windows get un-maximixed). It's clearly not just turning off the display and then turning it back on when I open it again.   The time it takes to re-setup the screen is obnoxious, and given that I daily use some apps with poor DPI awareness, this sometimes puts my display is a wonky state. This whole redraw action just seems unnecessary.   Is there any way at the Windows or hardware level to make it truly "do nothing"?  (There are no other monitors involved here, I'm just using the laptop by itself.)


Was it really necessary to have the variance be calculated with $\Sigma (X-\mu)^2 $?

From what I understand, in calculating  $$\sigma^2 = \frac{\sum (X - \mu)^2}{N}$$  the only reason why the squaring is done is to make distance from mean always positive.  So my question, why couldn't we do something like this  $$\sigma = \frac{\sum \left|X-\mu \right|}{N}$$  instead?


Distribution of altered Mahalanobis distance

Let's say I have a set of i.i.d. samples $X_1,\ldots,X_N \sim N_p(\mu, \Sigma)$. Now define \begin{equation} d^2_i(b)=(X_i - b)'\Sigma^{-1}(X_i-b) \end{equation} which is essentially the Mahalanobis distance, except that it measures the distance from $X_i$ to $b$ (with respect to the principal component axes), rather than the distance from $X_i$ to $\mu$, if that makes any sense.  I know that if $b=\mu$ then we would have $d^2_i\sim \chi^2_p$, but I'm having trouble figuring out what it would be otherwise. Any help would be greatly appreciated. Thanks!


How to remove chosen comma between taxonomy

How can I remove comma from theese ingrediens and let them float left? I am using chosen for my taxonomyes


I cannot install deb files with the software centre. What are the immediate workarounds?

I need to install .deb files - I've just updated and I need my programmes. However, due to a High priority (yet unassigned) bug, I cannot.  Meta discussion of shipping with bugs aside, how can I install my .deb files?


Conflict using french babel resulting in bibliography refs appearing in smallcaps

I wanted to re-run my thesis and while I changed nothing (nor the file format, the bib file or anything), all my references in the text now appear in smallcaps. I suspect there is a conflict with the french babel package because when I remove   \usepackage[english,french]{babel}    my biblio references appear in normal caps. But then all my chapter and section names are not in french anymore (abstract, listofigures, etc.). Any idea on how to solve this conflict?  here's the mwe  \pdfobjcompresslevel 0 \documentclass[12pt]{ociamthesis}  % default square logo   \usepackage[english,french]{babel}% pour avoir les titres en français (table des matières, etc.)  %%% UTILS %%% \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage{lmodern} \usepackage[backend=bibtex,natbib=true,firstinits=true,style=authoryear,useprefix=true,url=false,doi=false,maxcitenames=2,maxbibnames=99,sorting=nyt]{biblatex} \DefineBibliographyExtras{french}{\renewcommand*\mkbibnamelast[1]{#1}} \setlength\bibitemsep{1.5\itemsep}% quelques options + compatibilité    natbib  \usepackage{slbiblatex} % personalized package for biblio but does not have babel options \addbibresource{BiblioThese.bib} % fichier bib  % Remove brackets from numbering in List of References \makeatletter \renewcommand{\@biblabel}[1]{\quad#1.} \makeatother \clearpage \graphicspath{{figures/}} %%%%%  latex en-tête %%%%%%% \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{afterpage} \newcommand\blankpage{% \null \thispagestyle{empty}% \addtocounter{page}{-1}% \newpage}    %%%% nom des figures  \AtBeginDocument{%  \renewcommand{\figurename}{Figure} % change figure appearance   \renewcommand{\tablename}{Table} % change figure appearance   }    %load any additional packages   \usepackage{amssymb}   \usepackage{pdfpages}     \usepackage{enumitem}% package pour enumérer en roman     \newcommand{\aref}[1]{Appendix~\ref{#1}}    \begin{document}    \renewcommand{\bibname}{R\'ef\'erences bibliographiques}   \baselineskip=24pt plus1pt    %set the number of sectioning levels that get number and appear in the contents  \setcounter{secnumdepth}{3}  \setcounter{tocdepth}{2}   \include{dedication}         \include{acknowlegements}     \include{abstract}            \renewcommand{\abstractname}{Abstract}  \include{abstract-eng}          % include the abstract  \begin{romanpages}          % start roman page numbering  \tableofcontents         \listoffigures           \listoftables            \include{Listofpapers}  \end{romanpages}            % end roman page numbering   \include{introduction}  \include{chapter2}  \include{chapter3}  \include{chapter4}  \include{conclusions}  \addcontentsline{toc}{chapter}{Conclusions et perspectives}   \addcontentsline{toc}{chapter}{R\'ef\'erences bibliographiques}   \printbibliography   %now enable appendix numbering format and include any appendices  \renewcommand\appendixname{Annexe}  \appendix  \include{appendix1}  \include{appendix2}  \include{appendix3}  \include{appendix4}  \include{abstract-eng}       \include{abstract}           \end{document}


Why does the multi-paragraph quotation rule exist?

The answer to  clearly explains the standard rule that when you have multiple quoted paragraphs, each new paragraph starts with an opening quotation mark, but only the final quoted paragraph has a closing quotation mark at its end.  This  agrees:     Quotation marks are used for multiple-paragraph quotations in some cases, especially in narratives. The convention in English is to give opening quotation marks to the first and each subsequent paragraph, using closing quotation marks only for the final paragraph of the quotation [ . . . ]   However, neither explains why this is the standard practice.  What good does it do? What is it trying to avoid?  What harm would occur if it were ignored and people put both opening and closing quotation marks on each adjacent quoted paragraph?


I have searched through the Internet for a proof, but didn't find anything. Can someone give me a full proof of this:  let $a,b$ be matrix $nxn$, prove:  $rank(a+b) ≤ rank(a) + rank(b)$


Does down-vote get reviewed or can I apply for review if got downvoted

Friend of mine, got upvoted for one of his nice answer and got downvoted for same answer by someone without any reason. Even reason for downvote is also not mentioned in comment.  It is assumed that low quality answer or answer with lots of mistakes can get downvoted without reasons, but this was really good answer.  Is there any way to get this down-vote reviewed by moderator as this is real bad experience to have down vote on good answer without proper/silly reason.  Reference is   Note: I think if down-voting is not reviewed because it is personal opinion then it will play big role in case of bounty award question. Please explain.  Update:  Another example is .  Why downvoting should be reviewed if applied for review?  Newcomers coming across the community sometimes get offended due to getting down-votes with no explanation or with no valid reason. Community sometimes trust person by their experience of rewards got (reputations & badges) only.   To grow community with active users, it can be possible to provide such a thing under revision of higher privileged users. Also we can define some rules so that we can reduce 'downvote reviews' less in numbers. (e.g. downvote review can be applied once per week if no comments on downvote present). Of course, there is lot of things that can be build on this, like we had designed review audit (one of smart mechanism).


No internet in WINE 1.6.2 under Ubuntu 15.10

I am trying to install  under Wine. The program setup continually requests proxy settings. My broker tells me this shouldn't happen, and is a problem on my end. Here is what I have tried to attempt to solve this error:   I have gone into Network settings and proxy is set to none. I have looked in Wine Regedit and proxy_enable is set to 0. I have checked the firewall settings on my modem. I have tried reinstalling wine. I have installed lib32nss-mdns I can log on to my modem in iexplore using the gateway ip but thats it I've set my DNS to 10.0.0.138 to reflect the gateway I've set up a 32 bit Wine prefix   How should I proceed in solving this?


I've been trying to find a way to filter a line that has the word "lemon" and "rice" in it. I know how to find "lemon"  or "rice"  but not the two of them. They don't need to be next to the other, just one the same line of text.


How can I install Ubuntu on my Acer 6860 E1-472p? I have tried disabling secure boot, as shown by some tutorials, but does not work.


Can't resolve to a variable Java Eclipse Constructors

I am trying to learn Java and am using Eclipse. For some reason the constructor I am using is not providing my Main class with the necessary information. Any help would be appreciated.  package com.wes.classes;  public class Main {      public static void main(String[] args) {         // TODO Auto-generated method stub          Ball ball = new Ball(mColor: "Blue", mName: "just ball", mCapacity: "12", mElasticity: "45");         ball.Bounce();       }  }   package com.wes.classes;  public class Ball {       //Properties of instance variables     private String color;     private String name;     private int elasticity;     private int capacity;      public Ball(String mColor, String mName, int mElasticity, int mCapacity) {         // TODO Auto-generated constructor stub         color = mColor;         name = mName;         elasticity = mElasticity;         capacity = mCapacity;     }      //Behaviors        public void Bounce() {System.out.println("Bouncing");   }     public void Deflate() {System.out.println("Deflate");   }     public void Inflate() { System.out.println("Inflate");  } }


I have just been notified of spam emails coming from my server, luckily i limit the amount of emails sent per account to 50 per hour, I have taken a screenshot on my mail reports, all of these email addresses are non existent how has this happened and how can I prevent it?    I have changed the Cpanel password.


Varying lengths of eigenvectors on a PCA biplot

I'm conducting a PCA in Matlab on standardized variables. My goal is to interpret    angles = loadings, correlations bw. variables and PC-axis directions = vectors point to the direction of the variable length = ?   of the eigenvectors from the biplot.  In my biplot I get eigenvectors of different length. Could you please help me to understand why is it the case?  Also, I'm confused what does the length of the eigenvector mean if my data set is standardized? I summarize my questions/sources of my confusion in the two following questions:    First: I red that while conducting PCA on not standardized data (using covariance matrix) the length indicates the standard deviation of the variable. So what do different lengths of my eigenvectors mean while using correlation matrix? I found some answers online like:      The length of a variable vector in the ordination plot reflects its contribution to the ordination. That is, variables with vectors which appear longer than others in a given ordination were more important in building the PCs used in that ordination.   But I thought that the importance of variables w.r.t. ordinations is already reflected in the loadings (in the angles bw. the variables and PC-axis but not in their lengths). Could you please give me a starting point from which I can elaborate this matter further? Second: shouldn't all eigenvectors be of equal length (=1) anyways as it is imposed by construction?


what does the phrase "a real word" mean?

Twentyfive questions appear in the list of questions already asked on this forum that are similar to this question. Of those, 8 titles do not mention the "real word" phrase. The other 17 ask about a specific word, typically using a standard form: "Is X a real word". Additionally, I'm sure, many questions asked on this forum omit real and simply ask something to the effect of "Is X a word".  How can a question ask if a word is real without using the word as a word?   Detailed answers will be entertained. Explanations and examples of consensual approaches to designating some words as real, and others not, are of most value to me. How and when do, for example, scientific terms, become real terms? Nextmost in value are scales or systems of realness. For example, where do nonsense words, nonce-words, spurious words and neologisms fall on a scale of realness? within some system of realness? The central idea of both values (consensual approaches, and scales or systems) is to take the question beyond the realm of personal opinion as much as possible.  Any answers will be greatly appreciated.  Edit: It has been suggested that this question duplicates a question asking when a word becomes a word. This question differs markedly:   Temporal considerations ("when") are secondary, if relevant at all. This question does not use a self-referential definition of 'word', unlike the suggested duplicate, which verges on incoherence by asking when a word becomes a word. But we all know what that question is meant to ask...or do we? While I'm sincere in saying any answers to my question are appreciated, certainly no answer solely or primarily referencing appearance in a dictionary will be accepted (in the constrained sense of 'accepted' used on this forum). No self-respecting dictionary will define 'word' in a primary sense as dependent on dictionary inclusion. For example, the primary definition of 'word, n.' in the OED is "I. Speech, utterance, verbal expression." This definition has no direct connection to appearance in one or more dictionaries.   Those specific considerations (and others along the same lines) aside, serious answers to my question would account for my mention of nonsense and nonce-words, et al. For example, the list of spurious words in the OED (compact edition): does the OED define 'spurious words' as 'unreal words'?   It seems to me that on a forum such as this, a working definition of "real word" would be sine qua non, and that self-defeating definitions such as reference to appearance in dictionaries which themselves define 'word' as something quite other than 'an entry in a dictionary or lexicon' would be rejected outright. Threshold elements in the working definition, on the other hand, might well be unavoidable: for example, "one or more occurrences of an utterance embued with communicative power" or some such gibberish might be construed as constituting part of a desirable answer to the question of what the phrase "real word" means.  Similarly, the assertion that what constitutes a "real word" is arbitrary is a non-answer. We all understand something when we encounter the phrase, and there is more commonality than not in our somewhat various understandings.


I'm trying to delete some old flow which are inactive via workbench. DestructiveChanges.xml <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata">     <types>         <members>Advanced_Round_Robin</members>         <name>Flow</name>     </types>Ï </Package>  package.xml <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata">       <version>48.0</version> </Package>  I've added both file in zip and in workbench when I deploy using this zip file I get below error.  insufficient access rights on cross-reference id   What permission I need to have to perform this action? Also is there way I can delete few version of same flow only? Like keep only last 3-4 version and delete all previous version of given flow? Thank you.


How to compare (using greater than and less than symbols) strings using awk

This is my input file:  PA43171-7,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,12:01:16.086.660, Valid Sensor Reading,Date = 08-19-2014 , Time = 12:01:16 Voltage Sensor=11 , V$ $=11 , Voltage Sensor Value=9.927417 , Min=9.450000 , Max=11.550000    I need to compare the Voltage Sensor Value, Min and Max value. (Min greater than Voltage Sensor Value greater than Max)  I'm expecting the below output from my input file:   PA43171-7 Date = 08-19-2014 , Time = 12:01:16 Voltage Sensor Value=9.927417 , Min=9.450000 , Max=11.550000


Is there a single word meaning "things I want/desire"?

As in the title, I was creating a list of things I want and couldn't think of a word for the file name. Is there a single word I could use to mean "things I want/desire"?


Is there an application to identify the configuration driving a system-global keypress

Much as I like Unity and Gnome, getting global keyboard shortcuts and mouse clicks "right" is a source of continual frustration.  We have:   The "settings" dialogs for keyboard and mouse The ccsm tool with chainsaw-like ability to shred your system Unity tweaks (another obscure application) gconf-editor Kernel configuration to access consoles through Ctrl-Alt-Fx I don't know what else.   Recently, I tried to re-assign Super-L to lower a window rather than lock the screen for my 14.04 setup.  We already have Ctrl-Alt-L to lower the screen anyway, I don't need a second shortcut.  But after trying several tools to re-assign the key, I just gave up.  Several layers of assignment all implemented the "same" shortcut, but it isn't easy to figure out which one(s) are actually causing the system to respond as it is.  Without that information, it is hard to reconfigure.    This is a crazy-making setup that makes Linux harder to use than Windows for the average user: Too many arcane ways to set things up, and then a tangle of confusion trying to figure out why anything happens as it does.  How I long for the good old days of fvwm, the simple window manager that could assign any key or mouse click combination to do anything in any context, and the entire configuration was in a single .fvwmrc file! Using Fvwm as the only holder of system-wide shortcuts make life simple, but the multi-layer approach makes Microsoft's regedit seem simple!  It would be wonderful if there were a simple script that could search all the system and user-specific files for a keyword, and report where keypress and mouse-click events matching a pattern are configured.  Ideally, it would support a "universal" keypress and mouse-click description syntax or a GUI, and parse and match that in each of the many configuration files.  A bonus would be if the script could print out a suggestion how to manage the setting with the least potential for inadvertent misconfiguration (for example, helping the user avoid using ccsm when it isn't needed).


Why is there a temperature gradient on Earth?

I was thinking about why the poles are colder and I came out with three possible explanations.  1. The atmosphere blocks light beams coming to poles    The Sun is seen only slightly over the horizon at the poles, so the light beams have longer way to the poles. If only this case were true, then the total difference between the poles and the equator would be the same as the energy that was absorbed by the atmosphere.  2. Sun is only slightly over the horizon at the poles.    Poles are often in shadow of the parts of the Earth which are closer to the equator.  3. Poles are farther from the Sun    The longer is the way to Sun the lower is the chance to catch a light from the Sun.  Please, correct me wherever I'm wrong. I'd like to know   Which of these three is most correct?  How significant are the described effects of the other explanations?


Show that $A=\{ \frac{m}{2^n}:m\in \mathbb {Z},n\in \mathbb {N} \} $ is dense in $\mathbb {R}$

Possible Duplicate:          I have to show that show that $A=\{ \frac{m}{2^n}:m\in \mathbb {Z},n\in \mathbb {N}\} $ is dense in $\mathbb {R}$.  A set A is dense in $\mathbb {R}$ if $\overline A=\mathbb {R}$.  But also $Y$ is a subset of $X$, we say that $Y$ is dense in $X$, if for every $x\in X$ , there is $y \in Y$  that is arbitary close to $x$.  So ,I have to prove that for every $x \in \mathbb {R}$ ,there is a number $\frac{m}{2^n}$ arbitrarily close to $x$.So $\forall \epsilon,x ,\exists y$ such that $|y-x|<\epsilon$.   I got a little stuck at this point...Could anyone give me a hint?Thanks a lot!


Is there any way to remove individual SE accounts for particular SE sites?  So in other words, say I want to keep my current Stack Overflow account just like it is.  But say I want to delete my account on Server Fault so that it no longer exists and doesn't show up in my SE/SO profile.  Is there any way to do that?  Recap: Keep current login (and certain Stack Exchange sites) but remove particular SE sites' membership for my particular login.  Does that make sense?  Current Accounts Me - StackOverflow Me - SuperUser Me - ServerFault  Desired End Result Accounts Me - StackOverflow Me - SuperUser  Where the desired end result accounts will be the same user (Me) with the persistent questions/answers/reputation/etc.


Is it possible to add custom items to System Settings window?

For example, how to add a "Startup Applications Preferences" launcher to this Window?


No menu bars after upgrading to 14.04LTS

Up graded from 13.10 to 14.04 using pop up upgrade recommendation. No problems during upgrade. After restarting and logging in, none of the enu bars are visible. Displays desktop image and mouse can be seen, but unable to open anything or even shut it down properly. Any idea what might have happened and/or how to fix it?


What is the evaluation of $\sum_{k=1}^{\infty}\frac{k^n}{k!}$?

I stumbled upon a  and really liked the answers there, so I wondered if there were a general solution for  $$\sum_{k=1}^{\infty}\frac{k^n}{k!}=?$$  Sadly, when I try to apply some of the methods from the answers on the other problem, I fall short of a complete answer.  My attempt:  $$e^x=\sum_{k=1}^{\infty}\frac{x^k}{k!}$$  Differentiate once, then multiply both sides by $x$.  $$xe^x=\sum_{k=1}^{\infty}\frac{kx^k}{k!}$$  Differentiate both sides again, then multiply by $x$.  $$x(x+1)e^x=\sum_{k=1}^{\infty}\frac{k^2x^k}{k!}$$  Repeat this process $n$ times to find the general solution for $\sum_{k=1}^{\infty}\frac{k^n}{k!}$ (substituting $x=1$), however, I cannot see a way to proceed like this.  UPDATE  I've found that Dobinski's formula is directly related, and that $\sum_{k=1}^{\infty}\frac{k^n}{k!}=eB_n$  Where $B_n$ is Bell's numbers.  I'll leave this question open for anyone who wants to attempt the problem using derivatives.


Neutrions are produced and detected as flavor eigenstates $\nu_{\alpha}$ with $\alpha=e, \mu, \tau$. These states have no fixed mass, but are the combinations of three mass eigenstates $\nu_{k}$ with $k=1, 2, 3$, with mass $m_1$, $m_2$ and $m_3$, respectively. My questions are:  a) do neutrinos travel from source to the detector as flavor eigenstates or mass eigenstates?  b) is it possible to know which mass eigenstate the neutrino is in?


I recently got a refusal for a UK tourism visa. Can I apply now for a French Schengen tourist visa? Will the UK refusal have any effect on it?


Using string and logic operators in if statements

I'm new to learning Java. I started about a week ago, and have spent around 10 hours a day learning, and I'm not sure if I'm behind where I "should be" (another concern I'm dealing with)  I'm aware that my code is probably not the most efficient, but I have to start somewhere, and I've typed most of this out of memory from the cosmos of information I've read in the last week. Right now, I'm just trying to make games or apps to help solidify concepts of programming. To put what I've learned to use and make this information relevant.  my question is, essential, why are my "if" statements going directly to the "else"?  public class ClassSelect {  public static String className;  public static void pickPlayer() {      Scanner scan = new Scanner(System.in);     System.out.println("Pick your class." + "\n" + "[F]ighter" + "\n"             + "[W]izard");     String scanClass = scan.nextLine();      if ((scanClass == "f") || (scanClass == "F")) {         System.out.println("You picked the Fighter");         String classNameF = "Fighter";         className = classNameF;         try {             File file = new File("saveData.txt");             BufferedWriter output = new BufferedWriter(new FileWriter(file));             output.write(className);             output.close();         } catch (IOException e) {             e.printStackTrace();         }     }      else if ((scanClass == "w") || (scanClass == "W")) {         System.out.println("You picked the Wizard");         String classNameW = "Wizard";         className = classNameW;         try {             File file = new File("saveData.txt");             BufferedWriter output = new BufferedWriter(new FileWriter(file));             output.write(className);             output.close();         } catch (IOException e) {             e.printStackTrace();         }     } else {         System.out.println("You didn't choose either.");     } }


glossaries package: hyperlink only on first use of acronym

I use the glossaries package to define and use acronyms in my text. I use \newacronym{} to define my acronyms. In the text I use \gls{} to refer to these acronyms.  In order to improve readibility of my text, I only want a link from the acronym to the glossary-entry on first use. For some acronyms which are used extensively in my text, it would not look nice, if at each use of the acronym a hyperlink appears in the PDF.  Hence, I would like to know how I can achieve this behavior: link to the glossary only for the first use of an acronym.  In the user manual of the glossaries package, there seems to be a parameter doing exactly that: hyperfirst. However, if I set it to true (default is true anyway), I still have link at all acronym usages (i.e. \gls{}) throughout the document.  EDIT:  Ohps, just found the solution here:   should we delete or mark as duplicate?


We can't reply to a comment directly, There must be a reply option under each comments, So that if you want to reply to a comment, you click on that option, rather than commenting again!. (for example: See facebook)


Does light accelerate when it meets a surface?

Does light accelerate when it meets a surface like mirror, we know that light changes path when it meets a surface like mirror.If light changes path,even if travelling at c,this means light has accelerated.Does this happen? Because according to the theory of special relativity,light does not accelerate!  Or is it like this,light meets a surface like mirror(no reflection of light happens),and mirror absorbs light and re-emits the light again,equal to the angle of incidence, that reaches my eye.  What actually happens? Does light get absorbed and re-emitted by the surface(no reflection of light takes place), or it does get accelerated,i.e. light changes its direction when it meets a surface?  I have already seen that question but that doesn't solve my problem.


Sentinel-2 satellite images not aligning with basemap

I'm downloading Sentinel-2 tiles from  but they dont seem to be 100 % aligned. Right image is band 08 Sentinel-2 added to ArcGis Desktop (i have done nothing more than adding the 08.jp2 to the map), left esri basemap photo. The offset in Sentinel is about 35-40 meters. How do i correct them?    . Level-1C, Sentinel-2:   SOLUTION:  From HDunn's answer i did this:  Using a road vector layer i added five point pairs and calculated difference in x and y coordinates. The mean differences i used as xvalue and y value in Shift tool. Result:


Do bisexuals have  any evolutionary advantage over straights and gays? Bonobos exhibit bisexuality extensively. Why so?


Spaces with equal homotopy groups but different homology groups?

Since it's fairly easy to come up with a two spaces that have different homotopy groups but the same homology groups ($S^2\times S^4$ and $\mathbb{C}\textrm{P}^3$). Are there any nice examples of spaces going the other way around? Are there any obvious ways to approach a problem like this?


How can I change the user directory name in Windows 10?

I have a user named: 用户alex, and I want to change the 用户 to a English word, how can I do that in Windows 10?    C:\Users\用户alex>xxx install xxx   I want to change the 用户alex name to English words.


Assuing that our current understanding that the speed of light can't be matched or breached is correct, if you were travelling at the fastest possible speed in a space ship, say 99.99% of light speed, what would then happen if you were to fire a rocket out from the front of the ship?  Would it fire out normally from the ships prospective, in that case is it going faster than the speed of light for someone looking in from another angle? Or would the energy propelling the rocket forward be converted into mass, in which case the rocket would remain where it is and get heiver?


I'm preparing some slides for a conference and i need to send the pdf to the steering committee. Is it possible in beamer, using multimedia, to encapsulate the video inside the pdf, i.e. avoiding to load it in the specified path, but giving only the pdf?


Security Review - CRUD/FLS Checks for every SOQL Query

I know this sounds like a standard question, so please bear with me.  Recently our Security Reviews fail due to CRUD/FLS violations. The highlighted codelines include almost every SOQL Query in the application.  Our approach is usually as follows:   In case of displaying data on VF pages we either use sObjects fields or use the platform methods to check the accessibility of the fields In case of domain logic triggered by the user (e.g. by clicking a button on a VF page) we have a helper class that checks every field to be updated before doing the DML operation.   Up until recently this approach has worked fine (and passed pervious Security Reviews). As mentioned above the latest Security Review results seem to require us to check every field in a SOQL query for accessibility even if it is never displayed back to the user.    Let's suppose the following program flow as an example:   Query an object with some fields Perform some modification on said fields Perform an update on the sObject to save the modification using a helper class which checks for the required CUD/FLS rights for the modified fields   As I see it there is no need for checking field accessibility in step 1 in that case (since nothing is displayed back to the user and the dml operation is already protected). Is that correct or am I missing something? So is it really required to do an accessibility check for every SOQL Query in the code?  Another question would be how to handle background operations in that case like data purging. These have either to be running in system mode (which causes issues during the Security Review) or require the job to be started by a user with the appropriate access rights (which can be error prone and is not that user friendly). Is there any best practice regarding that.  Unfortunately I could not find a question targeting exactly that issue. Most of the questions I have found are related to how to perform that check (like  or ). So please apologize in case the question was already answered (I would really appreciate a link to the answer then).    Thanks for your time and help.  Mathias


About the "tic-tac-toe squirrel challenge"

Squirrel plays tic-tac-toe at expert level and is a formidable player.  Has anyone managed to win?   Tried following this:  but its always a draw.


I am planning to copy some files to entire network of linux machines, but when I tried to use scp it asked for confirmation and I need to type "yes" and after that I have to enter the password.  Is there some way to do this without typing "yes" and providing password?


I am new to number theory and wanted to know If I am doing this correctly:  W.t.s. $(15n+17,10n+11) = 1$  Using the Division Algorithm we have   $15n + 17 = (10n + 11)(1) + (5n + 6)$  $10n + 11 = (5n + 6)(1) + (5n + 5)$   $5n + 6 = (5n + 5) + 1$  $\Rightarrow$ $(15n + 17,10n + 11)$ = ($5n + 5,1)$, but $(5n + 5,1)$ = $1$ (1 is relatively prime to every integer)   $\therefore$ $(15n+17,10n+11) = 1$ as needed?


Changed boot settings in msconfig.exe and now Windows 7 doesn't boot

I have a HP-G62 B17S laptop, which has Windows 7 Home Edition 64-bit.  I read on a blog about a setting in msconfig.exe (Windows System Configuration utility):     Boot > Advanced options > Number of Processors   This was showing 1 for me but I have a dual core AMD Turion, so I changed the setting to 2. Next to it was a Maximum Memory setting (which was unchecked). I checked it and made sure it was max 4096; my system has 4GB RAM.  After restarting the laptop, it now gives an error:     Windows Error Recovery   Windows failed to start   I can choose from two options:   Launch Startup Repair Start Windows normally.   When I select Startup repair, it goes on to give another error:     Windows Boot Manager       Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:         Insert your Windows installation disc and restart your computer.    Choose your language settings, and then click "Next."     Click "repair your computer."      I do not have the Windows installation disc for this OS version - the manufacturer did not send it to me when I purchased the laptop.  If I try to start Windows normally it takes some time and then gives the same error message.  I tried inserting another installation disc of Windows 7 Professional Edition 64-bit (available from my other laptop), and restarting, but no repair menu comes up.  I also tried restarting the laptop, pressing F8 to enter Advanced Startup Options and selecting to boot with the Last known good configuration, or starting in safe mode - neither option gives any success. This time it gives a Blue Screen of Death with the following message:     A problem has been detected, and Windows has been shut down to prevent damage to your computer - BAD_SYSTEM_CONFIG_INFO   It then does a crash dump of the memory and restarts with the same options of repairing or starting Windows normally as earlier.   What exactly seems to be the problem here and its cause? What are my options now to restore/repair my Windows 7 OS to a working condition? Would the manufacturer send a recovery/repair disk for this if I called them? The laptop should be in warranty period - it was purchased six months ago. I have a Ubuntu 10.04 bootable CD. Is there any way to boot into Ubuntu, and repair Windows from there? Are there any other way to recover the OS? (I have an access to a working Windows Vista HP Laptop, if that helps)   EDIT Ok, it was able to boot through the Win-7 professional Installation disc, but even after doing Startup repair, and System restore, It still does not boot into the original Win-7.


How can I replace the line break of a textbox (multiline-box) by the html's
?  This is my code:  string output = tb_Notizen.Text.Replace("\\r\\n", "
");   Whats wrong here?   I already tried it with \r\n but it didn't worked too...


Why have these sites not yet gotten the shiny new profile page?

I've noticed that a few sites seem to have slipped through the cracks for the new profile page. At first I thought it was just RPG.SE, but investigating further it looks like a number of them have been skipped over.  This includes, but is not limited to (though I think I got all of them) , , , , , , , , , , and .  This is a relatively small subset of the existing graduated sites. The , we were waiting for a new CSS framework to roll out (?), but it's been a while, and it looks like it's only these ones remaining.  When can these sites expect to see the new profile page?


How to prevent SSL connections for some Virtual Hosts in apache

I'm using Name based Virtual Hosts on ports 80 and 443.  Some of the virtual hosts only support port 80.  I don't have, and won't be getting certificates for these hostnames.  How can I configure apache to refuse a connection on port 443 to one of the host names?  Eg:  supportsboth.example.com  has a certificate, can listen on port 80 and port 443  httponly.example.org does not have a certificate, should be available via regular HTTP only.  The apache configuration has a virtualhost setting entry for supportsboth.example.com on port 443 only.  Trying to connect to httponly.example.com on port 443 makes Apache use the supportsboth.example.com virtual host's certificate and details.  This makes the browser report lots of certificate errors as the host names don't match, and if the user decides to proceed anyway, it still ends up at the wrong site.  What I'd ideally like is a redirect to the HTTP site, but I imagine that would rely on having a valid certificate.  My second preference is to simply refuse the connection.  Micheal's answer below of putting the SSL capable names on a separate IP is not available to me as both the domains have already been configured to use the same IP and I'm not in a position to change them.


Can't have square left bracket [ to begin a row in a table

\begin{table}[ht] \label{tab:intro} \caption{Anonymized data - output example} \begin{tabular}{llll} \toprule           Age & SEX & ETHNIC & STUDIES \\ \midrule     * &   * &      * &       * \\    42 &   1 &      1 &       7 \\    40 &   1 &      1 &       7 \\    45 &   1 &      1 &       7 \\  [48, 51[ &   2 &      1 &     <=3 \\  [48, 51[ &   1 &      1 &     <=3 \\     * &   * &      * &       * \\  [60, 63[ &   2 &      6 &     <=6 \\    58 &   1 &      1 &       5 \\     * &   * &      * &       * \\ \bottomrule \end{tabular} \end{table}   Everything works fine if I remove [, but i need to put them.  This is the error:  ! Paragraph ended before \@argarraycr was complete.


My computer wastes tons of heat and has terrible battery life in Bootcamp (Windows 10). I believe this is because the iGPU is not exposed and the machine is constantly using the more power hungry AMD Radeon Pro 5300M. Is it possible to expose the iGPU to Windows? It is not even listed in Device Manager, and I can't find any drivers that will successfully install. On a normal Windows install, the two devices will happily co-exist and switch between each other as the situation demands.


"Not to watch" vs "Not to have watched" as subject of a sentence

E.g. 1 Not to watch Kobe Bryant's matches when he was alive is my biggest regret. £.g. 2 Not to have watched Kobe Bryant's matches when he was alive is my biggest regret. Am I right that e.g. 1 is not grammatical whereas e.g. 2 is grammatical? If yes, why is it so?


Way to force Google Chrome (28) to use space-saving menu design

Since Chrome updated to Version 26 it uses per default a menu design (options, contex menu & fav folder) that needs a litte bit more space.  New design:   Old design:   But this litte bit more space makes the difference for me. I don't like it and want to use the old space-saving menu design. The solution was to start Chrome with the --disable-new-menu-style flag, but this flag no longer works in Chrome 28.  Hopefully there a some other people who also prefer the old and space-saving menu design and help me to find a solution for this problem.


How does photography (as opposed to physics) define "focal-plane"?

This  opens with the following statement (bold emphasis added by myself):     In camera design, a focal-plane shutter (FPS) is a type of photographic shutter that is positioned immediately in front of the focal plane of the camera, that is, right in front of the photographic film or image sensor.   Other references concerned with photography almost universally seem to equate focal plane and film plane. This statement is from the  (bold emphasis added by myself):     When a photographic lens is set to "infinity", its rear nodal point is separated from the sensor or film, at the focal plane, by the lens's focal length. Objects far away from the camera then produce sharp images on the sensor or film, which is also at the image plane.   In both of these references the meaning of focal plane and image plane appear to be interchangeable when the distance from the lens' rear nodal point to the film/sensor plane is equal to the lens' focal length.  Yet in physics references that discuss the field of optics (such as this ) the focal plane is defined differently. It seems the front focus plane is defined as what photography refers to as the plane of focus. The back focus plane seems to be defined as the point behind the lens where the aperture is ideally situated. Yet the charts and diagrams on the same page seem at times to use the terms rear focal plane, back focal plane, and image plane interchangeably. Sometimes it seems they are referring to the plane where the image is brought into focus (such as  and the text beneath it in ). At other times it seems to be referring to the crossover point between the lens and the image plane (such as  and the text next to it in ).  When speaking in the context of Photography that uses film or a digital sensor to record an image projected onto that film or image sensor is it legitimate to refer to the film or sensor as occupying the Focal Plane? Is there a nomenclature that allows one to distinguish between the plane occupied by the objects depicted as in focus in the image (plane of focus?, front focal plane?) and the plane the in-focus image is projected on (rear focal plane)?


read first line of the file and compare it with a string in shell file

I need to read first line of a file and match it with a text. If the text matches, I need to do certain operation.  Problem is if command is unable to compare the variable with the string.  file_content=$(head -1 ${file_name}) echo $file_content if [[ $file_content = 'No new data' ]]; then     echo "Should come here" fi echo $file_content if [ "${file_content}" = "No new data" ]; then   echo "Should come here" fi   The if block is not working. I think the value that I am capturing in line 1 has some issues.


$r$ primitive root of prime $p$, where $p \equiv 1 \mod 4$: prove $-r$ is also a primitive root

question is as follows:  Let $p$ be a prime with $p \equiv  1 \mod 4$, and $r$ be a primitive root of $p$.  Prove that $-r$ is also a primitive root of $p$.  I have shown that $-r^{\phi(p)} \equiv 1 \mod p$.  What I am having trouble showing, however, is that the order of $-r$ modulo $p$ is not some number (dividing $\phi(p)$ that is LESS than ($\phi(p)$).  By way of contradiction, I've shown that the order of $-r$ cannot be an EVEN number less than $\phi(p)$.  But my methodology does not work for the hypothetical possibility of an ODD order that is less than $\phi(p)$.  Any and all help appreciated.  Happy to show methodology for any of the parts I have managed to do, if requested.


create multilingual node programmatically

i'm trying to create a multilingual node using a php script.  I'm doing this:   $node = new stdClass();  $node->title = "Test ".mktime();  $node->type = "job";  $node->language = 'de'; // Or e.g. 'en' if locale is enabled  $node->uid = $user->uid;   $node->status = 1; //(1 or 0): published or not  $node->promote = 0; //(1 or 0): promoted to front page  $node->comment = 1; //2 = comments on, 1 = comments off  $node->path = array('alias' => 'das-ist-ein-test-'.mktime());  $node->body[$node->language][0]['value']   = "Body Body Body";  $node->body[$node->language] = text_summary("Body Body Body");  $node->body[$node->language]  = 'filtered_html';  node_save($node);   As long as i set $node->language to 'und' everything is working fine. But as soon as I set the language to 'de' or 'en' (both languages are activated in my Drupal installation) the body text doesn't get saved.  So my question is: can anybody provide me with a working example of how to store a multlingual node (de,en) into Drupal using program code.  Thank you


Switching filter to "favorite tags" provides no results

I had been inactive on the homepage for a while - unsure of the exact time - and when I switched my filter from the default recommended to favorite tags, I received the "That's a miss" no results page.     Obviously, pressing F5 resolves the problem and generates a list of questions with my favorite tags.


Clarify unique constraint and index, cannot grasp the concepts to 100%

When reading about UNIQUE, I understand the concept but when it comes to the practical part of it, I get confused and I'm unsure of what it means.  What I do understand, is that there are two ways to make an attribute UNIQUE, through an index or a unqiue constraint (except Primary key of course).  The only difference seems to be that the constraint has the additional "unique key". So here are my questions;  A unique key is created for a constraint but not for a unique index, what’s the point with the key and without?  Can’t drop constraint before dropping index? Why, what’s the point? Is it like this for “additional security”?  What’s the relationship between and UQ key and UQ index? How they are related?  Is it more ”secure” to choose a constraint, if you really want an attribute to stay Unique because you can’t disable a constraint? (Because there is less room for mistakes like disabling the uniqueness of an attribute because you can’t disable a constraint)  I already know that you can use a constraint as an index.


× vs \times, or unicode characters vs commands in general: Which one is the better practice?

When I enter a multiplication sign, I can either use \times or use the unicode character × (U+00D7) directly. Which one should I use? How about less common things like ∞ (infinity, U+221E)? I really like entering the math symbol directly as it is more readable, but some text editors don't support unicode characters well.


Roman Numerals for page number in List of Abbreviations

In my report, I am using too many abbreviations. I am using nomenclature structure to create and print them in my document. I want to make roman page numbering up till list of abbreviations. Since my list of abbreviations has gone up to two pages, LaTeX now print arabic page number on the second page of list of abbreviations, which looks very odd to me. I want to write roman letters on the second page.  Any help?


Which external Javascript libraries work with Lightning Locker Service?

Components often seem to work with external libraries until the Locker Service is enabled. What libraries work with locker service enabled and where can I go to find out?


I know that I have to integrate both sides, but how would I integrate the right side? For context purposes, this came from the derivation of a curve, so I know this must end in a curve. $s$ is a constant and can be treated as such. $f(x)$ is not solely the function of $x$, but actually a constant as well. How would I integrate this?  $$f'(x)=\frac{s\sqrt{3}}{2\sqrt{s^2-2f(x)s\sqrt{7}+f(x)^2}}$$


Including package to create MATLAB labels using LaTeX

When using LaTeX as the interpreter to typeset labels in MATLAB it would be great to be able to include packages to customize appearance. Is this possible?  As of now I know no method to create non italic greek letters in the legends.


Would every particle in the universe not have some form of measurement occurring at any given time?

I know this is probably a common point of confusion, but I have a specific question about measurements in Quantum Mechanics. , but still have a point of confusion.  The explanation of why a measurement somehow affects what occurs in a quantum experiment, for example the double slit experiment, seems to be that by measuring, even just by watching, we interact with the system and cause the  "wave function to collapse". But it seems to me, with such a broad definition of "measurement", all particles, everywhere in the universe, would in some small way be measured at any given instance.    explains that light is a form of measurement, but light, after all, is not the only way to perform measurements, as we very often measure things purely with gravity, and would all particles in the universe not be subject to (and the source of) some trace amount of gravity? Or have some interaction with some other particle, in some way shape or form? It seems like the answer would be yes. So it seems like we would never be able to observe an experiment without that collapse.  With "measurements" in quantum mechanics, interactions per se, why are they not always occurring?


Edit: I researched also link suggested above - it is option (3) And indeed is very helpful. Especially @LuisAlvarado's answer - it contains table which suggest using linux-firmware-nonfree - I tried and it did not worked (possibly because my system was polluted by remnants of previous attempts). Instead, b43-fwcutter from option (2) after clean reinstall worked for me. Linked answer contains good explanation of the process, but advice about exact module to use might be incorrect. wileress.kernel.org has different value value, which worked for me.  Original post:  I cannot get bcm4318 working on Lubuntu 14.4.  This card worked on lubuntu 12.10 but upgrading failed, and after full reinstall from liveUSB I cannot get wifi to work. I tried these suggestions:   (1)  suggests to apt-get --reinstall install bcmwl-kernel-source (2)   says: apt-get purge bcmwl-kernel-sourceinstead, says: apt-get install b43-fwcutter firmware-b43-installer but did not work either. (3)  apt-get install linux-firmware-nonfree - well worth reading, excellent explanation of problem.   Every time I purged packages from previous try and rebooted afterwards.   (4)  . It seems that b43 from (2) should work (bcm43xx entry is blacklisted). But no luck. (5) Downgrading is also suggested by  but I was hoping there is something newer/better. The author claims that every release makes bcm43xx harder.   What else I should try?  I checked "ultimate authority" on bcm43xx wireless,  which says (in debian section) to use option (2), but no luck.   By "no luck" I mean that iwconfig says no wireless connection. In my office I have wired connection to modem but no apparent wireless. Is iwconfig a right way to test if my wireless is alive?  lsmod | grep -e b43 -e wl:  b43                   356470  0    bcma                   42043  1 b43   mac80211              545990  1 b43   cfg80211              409394  2 b43,mac80211   ssb                    51854  2 b43,b44     lspci -nn | grep 0280  06:02.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g]   802.11g Wireless LAN Controller [14e4:4318] (rev 02)     uname -mr   3.13.0-24-generic i686     My laptop is Acer Aspire 5610Z with 0.5GB of RAM which I am going to upgrade to 4GB ASAP.    I got it working.  Correct answer is option (2), at least for my combinations of whatever is relevant.  What probably caused my earlier problems was that I was installing using synaptic gui. When I did install using terminal and apt-get, I noticed that apt-get update complained about duplicate sources. Once resolved, I again went over whole installing exercise, including fresh reinstall (to make sure there are no remnants of other installs), and straight to option (2) as suggested by wireless.kernel.org.   Regarding other options, it is above my paygrade to decide if they are invalid and need to be updated, or can stay as is, if approaches suggested by (1) and (3) are correct and may work for someone else.


How long is it safe to defrost frozen vacuum packed chicken in cold water

Last night around 10:30pm, I put a frozen chicken thighs, vacuum packed in a pot of cold water to defrost. I intended to put the whole pot in the fridge before going up to bed. Unfortunately, I dozed off in front of the TV, forgot about the chicken & went up to bed. This morning I remembered as soon as I opened my eyes. I called my spouse who goes downstairs every morning around 3:35am, to ask if he noticed the pot w/the chicken, he said he did, & put the whole pot in the fridge. He said her checked, chicken was still ice cold & no odor. I went downstairs to check myself, he’s right, but I’m still nervous about using the chicken, it sat in water 4.5 hours. I feel I need to discard this pack & just defrost a new pack. Am I right, or just being wasteful.


How to make the single color in a photography to be color and other parts changed to B&W?.  Don't know exactly the name of the effect, to be more clear in the following photo I want the green part to be green and other parts( leg and sandal) in B&W..    How to achieve that effect in Photoshop?


How do I find which external drive a folder is mounted from?

For instance, let's say I mounted dev/sda1 and dev/sda2 in the distant past. I'm in media and I see folders drive1 and drive2. What command can I use to see which one is sda1 and which one is sda2?


Is it allowed to change a question this drastically?

This morning I got a notification that for an answer of mine a  was made.   As you see in the link above the question title states "Excel VBA - There isn't enough memory to complete this action" and the proposed edit had been the change from CreateObject("Outlook.Application") to Set oApp = CreateObject("Excel.Application").  I just thought what a big mistake I had made and wanted to click on "Approve" but then thought to first check the question. The OP edited the question changing form Outlook stuff to Excel and removing the whole code as well.    Is it allowed to change a question this drastically after receiving answers althought not upvoted (mine) but clearly refering to the OP's code? ?  What is the correct procedure here?


Steps to install 32 bit wine on 64 bit 12.04 LTS

Any help on this matter would be appreciated.  I have 64 bit 12.04 LTS installed, I am looking for everything needed, step by step order to install 32 bit wine in order to run windows 32 bit software and drivers to connect to USB devices in order to download stored collected data.  Since the end of free support for windows XP is approaching I am jumping to Linux in order to continue using perfectly good hardware.  The drivers can not be upgraded to work with current windows versions, the company has long been out of business.  Why be forced to stop using perfectly good operating hardware when an OS is no longer supported.  I am trying to do this with the currently installed 64 bit 12.04 LTS without having to uninstall the 64 bit and install the 32 bit version or should I just ditch the 64 bit and start over with the 32 version of ubuntu?  I have some experience with linux but am no expert by any means.  Thanks for any help.


To my understanding, specific geographic regions are always capitalized.  For example, Southern US is proper because it is a specific region.   However, a co-author argues that southern should not be capitalized, because it is an adjective, not a noun.   So which is it? Southern US or southern US?   Per comment: Note that I am speaking of a particular region of the United States, not "a location in a particular sector."  Hence, presumably, the portion of the United States known widely as the (S/s)outhern United States.


Given A=$\Bbb Z$, a commutative ring with element $1$ with $\oplus$ and $\odot$, defined as: $a\oplus b=a+b-1$ and $a\odot b=a+b-ab$, show the ring is an integral domain.   It is known that the identity element in the ring is $1$, so we need to prove $a \odot b=1 \Rightarrow a=1$  or $b=1$; or $a\ne 1$ and $b\ne 1 \Rightarrow a\odot b\ne 1$.  The main problem I find is that I need to prove different cases with each sign of a and b. Is there an easier way?


Stirling Numbers of the First Kind - a direct derivation

Usually, the Stirling numbers of the first kind are defined as the coefficients of the rising factorial: $(*) \prod_{i=0}^{n-1}(x+i) = \sum_{i=0}^{n} S(n,i) x^i$.   With this definition, a recursive relation of $S(n,i)$ be derived, and it can be shown that is coincides with the recursive relation on the number of permutation on an n-set with i cycles and they have the same initial conditions, hence they coincide.   1) Is there any possibility to do it the other way around, i.e., define $S(n,i)$ combinatorially and then to show that $\prod_{i=0}^{n-1}(x+i) = \sum_{i=0}^{n} S(n,i) x^i$ holds for $x \in \mathbb{N}$ by some combinatorial argument, and thus it is a polynomial identity?  (For Stirling numbers of the second kind, it is possible: it can be shown that $n^k = \sum_{i=0}^{k} \binom{n}{i} i! S_2(k,i)$ combinatorially ($n^k$ counts function from $[k]$ to $[n]$).)  2) Additionally: equating coefficients in $(*)$ shows that $S(n,i)$ is the elementary symmetric polynomial on $n$ variables of degree $n-i$ evaluated on $(0,1,\cdots ,n-1)$. Is there a combinatorial interpretation of this?


Can a Wizard tell which Alarm spell was tripped?

It has already been established that a wizard can have as many Alarm spells active as they have time and materials for. My question is can he tell which spell was triggered in the case of multiple simultaneous spells?


I want to get the text of the input text field on click of the go button. I have read a few tutorials on this, followed them step by step, but still failed to do so. Here is my code :    function go() {   content.html($("#textfield").value); } <!DOCTYPE html>
     <input type="text" id="textfield">     <button type="button" id="btn" onclick="go()">Go</button>
           May I ask what is wrong with it?


I would like to create a custom format for citing authors' names in the text, let's call it "newformat". One option I can think of is creating a new bibmacro for names where the parameters are changed to my liking, such as   \documentclass{article}    \usepackage{filecontents}   \usepackage[backend=biber]{biblatex}[2016/01/01] %the latest version of biblatex?   % biber is version 2.4; the latest?  \begin{filecontents}{\jobname.bib} @misc{Doe12,   author = {Doe, John},   year = {2012},   title = {A macro for formatting names}, } \end{filecontents}  \addbibresource{\jobname.bib} \nocite{*}  \newbibmacro{name:newformat}{\printnames{authors}} \DeclareNameFormat{newformat}{%   \usebibmacro{name:newformat}{\textbf{#1}}{\textbf{#3}}{#5}{#7}%   \usebibmacro{name:andothers}% }  \begin{document}    \section*{Testing the format here}    I am citing   \citename{Doe12}[newformat]{author}    \printbibliography % to make sure that the .bib file is properly formated.  \end{document}   Here, I just used \textbf for the sake of the example, but I ultimately want to use other functions, say upper case or palindrome!  However, I get this weird error message:  ! Illegal parameter number in definition of \blx@defformat@d. <to be read again>                     3 l.20   \usebibmacro{name:last}{#1}{#3                                      }{#5}{#7}%   which seems to indicate that the second option {#3} is not expected. I am a bit at a lost here; I checked the biblatex package and \usebibmacro{name:last} must be given 4 parameters, isn't it? Please advise.


Python: Difference between "re.match(pattern)" v/s "re.search('^' + pattern)"

While reading the docs, I found out that the whole difference between re.match() and re.search() is that re.match() starts checking only from the beginning of the string.  >>> import re >>> a = 'abcde' >>> re.match(r'b', a) >>> re.search(r'b', a) <_sre.SRE_Match object at 0xffe25c98> >>> re.search(r'^b', a) >>>   Is there anything I am misunderstanding, or is there no difference at all between re.search('^' + pattern) and re.match(pattern)?  Is it a good practice to only use re.search()?


Profile link not working for Area51 users in chat

I recently tried to visit a person's profile from chat room.  I clicked the link to his profile(points to area51) and the link is dead.    The link points to discuss.area51.stackexchange.com and the link should be area51.meta.stackexchange.com (as pointed by Shadow Wizard in Tavern on meta).  This link points to an HTTPS error page       I am able to reproduce this issue only for users with main profile in area51.   And I think someone missed it in the recent meta url changes from meta.x.se to x.meta.se


Evaluating the return value of a command line

How do I evaluate or calculate the return value of a command line? For exemple, I count the number of lines with a grep and I want to know if that value is above X. If so, I want to print the number to a file.  Or I want to substract the value of a grep count to another grep count...  How can I manipulate return values that way ?


JavaFX TextField.getText() unexpected results

I wrote this little piece of code in JavaFX:  tfb.setOnAction(new EventHandler<ActionEvent>() {     @Override public void handle (ActionEvent e) {         if(tf1.getText() == "test") {             System.out.println("correct");         } else {             System.out.println("wrong");         }     } });   When I enter "test" in the text field, I always get a "wrong" printed by my code, not a "correct" as it should be. I checked several times whether I spelled "test" correctly, and I also tried to put "test" in quotation marks (double: " and single: '), none of this helped.  I already tried to print out the content of the text field (with System.out.Println(tf1.getText())), and I got what I wrote in the text field on the console, so the action listener and tf1.getText() work for sure.  What can be wrong with my code?


Basic D&D without play map and miniatures

I'm busting out some basic D&D for some my gaming group. We primarily play pathfinder. Playing without a tactical map and figures is going to be a shock to all of us. My main questions are how movement is handled without a map or figure? I simply don't understand how to make all this work. Do I simply just make it up? How is distanced done? I'm the DM for this session. I'm completely flabbergasted...lol.


This is a practice exam question and I have no idea how to start it.     Find a function $f :\Bbb R^2\to \Bbb R$ which is not differentiable at $(0,0)$ even though all directional derivatives of $f$ exist at $(0,0).$


How many perms of 4 from letters of MATHEMATICS?

The answer is 2454, apparently. I am getting 1446, however. Can anyone point out my error ?  We need to partition the solution into the mutually exclusive cases of choices of 4 letters where we have no repetitions (e.g. MATH), where we have one repetition (e,g, MATT) and where we have two repetitions (e.g. MMTT). Then we compute the corresponding number of perms of each case, and add, thus:  We have 8 unique letters, so we can make 8C4 selections with no repetitions.  We have 3 pairs of repetitions {MM, AA, TT} which gives us 3 * 7C2 choices with one repetition, since having chosen, say, MM, we need to select 2 more letters from the remaining 7 unique letters.  We have 3C2 choices with 2 repetitions taken from the set {MM, AA, TT}  So our total number of perms is:  (#choices of 4, no reps * 4!) + (#choices of 4, 1 rep * 4!/2!) + (#choices of 4, 2 reps * 4!/(2!2!) ) = (8C4 * 24) + (3 * 7C2 * 12) + (3C2 * 6) = 672 + 756 + 18 = 1446  Where did I go wrong ?


How to determine number with same amount of odd and even divisors

With given number N, how to determine first number after N with same amount of odd and even divisors? For example if we have N=1, then next number we are searching for is :   2 because divisors: odd : 1 even : 2   I figured out that this special number can't be odd and obviously it can't be prime. I can't find any formula for this or do i have just compute it one by one and check if it's this special number ? Obviously 1 and number itself is divisors of this number. Cheers


How to make Next and Previous attached image navigation on the attachment page?                                    ' . __( 'Previous Image', '$text_domain' ) . '' ); ?>                 ' . __( 'Next Image', '$text_domain' ) . '' ); ?>                                working great :)


Is there an easy way to calculate the total cost of tolls for a trip within the United States?

Is there a convenient way to calculate the cost of tolls between two arbitrary points within the United States? I'm planning to take a trip along the Eastern seaboard and will be passing through multiple states with different toll-collecting authorities. The mapping and trip planning resources I've found so far will only indicate whether a particular section of road has tolls, not the price of those tolls. I'm aware that the various toll-collecting authorities post their rates online, but these charts are often difficult to use if you're not already familiar with the area. Isn't there an easier way?


Number of ways books may be chosen if a particular must be chosen by at least $20$ students? at most $20$ students?

Assume that there are arbitrarily large number of copies of ten different discrete math books. Each students must choose one book. Assume that $500$ students taking the course are indistinguishable.  A) How many different ways can the students choose books, if one specific book must chosen by at least $20$ students.  For this problem, I did $10^{500} - 10^{20}$. Not sure how correct this is.  B) How many different ways can the students choose books, if one specific book must be chosen by at most $20$ students.  Now for this one, the limit is $20$, do I sum the the different ways of the book been chosen by $1$ student up to $20$?


16.04 LTS wifi connection lost randomly every 5 minutes

First I had this issue described here  but nobody was able to provide a valid answer.  Recently this wifi connection issue gets even worse. I would lose wifi connection randomly about every 5 minutes on my computer(Dell XPS 8900 with skylake i7-6700 CPU and Samsung 950PRO SSD). The wifi icon would remain connected state while connection is lost. It looks like it would be  reconnected automatically after a while or I will have to reconnect manually.  Can somebody plz tell me what is going on here? Is it something wrong with my computer or just another bug with this version?


How to combine in a sentence two verb–preposition pairs that have the same TWO objects?

How could one combine succinctly two verbs with the same two objects with different prepositions? For example, if I can either add gifts to a box and remove gifts from the box, what would be the most natural way of saying that I can do both?  If I would only talk about the gifts, I could say "I can add and remove gifts;" if I would only talk about the box, I could say "I can add to and remove from the box." Now, how can I say both things at once?


What is being done about Unanswered questions?  The last I checked in stackoverflow there were 155,237 unanswered questions. In my opinion there should be a special day, once a year, to answer "Unanswered" questions.  Where both people who answer these questions receive reputation and the right answer marked the user receives a bounty based on how long it was a question and asker gets a decent rep for accepting answer.  --------- Latest From Onstartups ---------------  Seems someone has an issue, besides me, to clean up unanswered questions.  This is happening on the Onstartups site.  Seems someone liked my idea for the Startups group they are even holding a contest to clean up answers:   --------- Latest From SO---------------  Seriously we need to do something about SO questions.  There are over 2.5 million questions with 486K unanswered. That is over 40% of them unanswered.  To me that is a huge fail especially when more often than not when I do a search it turns up with an unanswered question.


Reference to a entry in bibliography without generating it

In review articles it often happens that a figure is taken from another document which is mentioned in the \caption by a \cite macro. If such a caption  preceeds the first occurence of the corresponding \cite in the text, the number is increased when the caption is processed by TeX. Since the reader does not read the caption first, but will proceed with the main text until the next paragraph or headline, the numbering in the text has a gap.   Thus, I would like to reference an entry in the bibliography without creating it. a simple \ref does not work. Any ideas?  Update: The following exmaple produces the desired numbering in the text, but no citation in the caption. As soon as I use the comment version in the \caption, the numbering is not as I want it. (Don'T forget to re-run bibtex while testing).  \begin{filecontents}{./mybib.bib} @misc{foo,   author={Foo},   title={Foo}, } @misc{bar,   author={Bar},   title={Bar}, } @misc{baz,   author={Baz},   title={Baz}, } \end{filecontents}  \documentclass{article} \usepackage[super]{natbib} \bibliographystyle{unsrtnat} \begin{document}  \begin{figure}   \caption{Taken from Foo\ref{foo}}   %  \caption{Taken from Foo\cite{foo}}   \label{fig:foo} \end{figure}  Bar\cite{bar} and baz\cite{baz} have done some fascinating research, which is best summarized as shown in Figure~\ref{fig:foo} (originally  by Foo\cite{foo}).  \bibliography{./mybib} \end{document}


This only happens with warsaw theme:  \documentclass{beamer} \usetheme{warsaw} \author{diabonas} \title{Frame border} \setbeamertemplate{background canvas}{% {\color{black}\rule{3pt}{\paperheight}\hspace*{\dimexpr\paperwidth-6pt\relax}\rule{10pt}{\paperheight}}%     } \begin{document} \begin{frame}{content} content \end{frame} \frame{Content} \begin{frame} content \end{frame} \section{test} \begin{frame}{Content} content \end{frame} \section{test2} \end{document}


Show that $f$ is a polynomial if it's the uniform limit of polynomais

Let $f:\Bbb R\to \Bbb R$ be a function which is the uniform limit of polynomials. I want to show that $f$ is a polynomial.   I mean this seems a bit trivial...  If it's the uniform limit of the set of polynomials doesn't that guarantee it's a polynomial?   If I define $f$ to be the set of all polynomial do I define a uniform limit $L$ s.t $d(f,L)<\epsilon$?  or approach via contradiction?   any help would be great


Let $b>0.$ Evaluate $\lim_{n \to \infty} \int^{b}_{0} \frac{\sin nx}{nx}dx$

I'm stumped at the last part of this problem. Could anyone advise, please? Thank you.  Here is  my  proof.   Define  $f: \mathbb{R} \to \mathbb{R}$ by $$ f(x) = \left\{\begin{aligned} &\frac{\sin nx}{nx}&&, x \neq0 \\ &1 &&, x=0 \end{aligned} \right.$$   Hence, $$f(x) = \sum^{\infty}_{k=0}(-1)^k\frac{(nx)^{2k}}{(2k+1)!} , \forall x \in \mathbb{R} \mbox{ and } f \in {\mathscr R[0,b]}.$$  $$\int^{b}_{0} \frac{\sin nx}{nx}dx = \int^{b}_{0}f(x)dx=\sum^{\infty}_{k=0}\int^{b}_{0}(-1)^k\frac{(nx)^{2k}}{(2k+1)!}dx= \sum^{\infty}_{n=0}(-1)^k\frac{(n)^{2k}b^{2k+1}}{(2k+1)(2k+1)!}$$  $$\lim_{n \to \infty} \sum^{\infty}_{k=0}(-1)^k\frac{(n)^{2k}b^{2k+1}}{(2k+1)(2k+1)!}=  ?$$


Do spells such as Hex and enhance ability affect attacks rolls?

Do spells such as Hex or enhance ability affect attack rolls made using the affected ability score?  These spells reference advantage/disadvantage on ability checks, but I am unsure whether an attack roll constitutes an ability check.  I did reference these spells specifically in case there is a difference between a specific ruling and the general rule.


Is it possible to reverse the sign of factor loadings for one factor?

I just want to confirm if it is possible to reverse the sign (+/-) on the factor loadings of one factor. I run a PAF with Oblimin rotation. I obtained 6 factors but in one of them the items that load into the factor have negative values. I have read that this is not relevant in terms of interpreting within a factor so one could change all the signs of the factor to facilitate interpretation, for example, in the correlation matrix.  I am using SPSS. Maybe an image would help me to explain better. My question is in relation to factor 4.


What is the "maybe" caller id suggestion in the call log based on?

I got a call from a phone number that is not stored in my address book, and in the call log, under the number, a name was suggested: "Maybe: X" (where X is the guessed name).  Where is this guess coming from?


How to construct a confidence interval for p-value

I have a simple query regarding the construction of a confidence interval for a p-value. How do I construct such a confidence interval? Like we construct a C.I. for t-value ($\bar{X} \pm t \times(s/ \sqrt{n})$), can such kind of intervals be created for p-value?  I think (not completely sure) such C.I. for p-value is called replication interval. I tried googling but couldn't find anything relevant.


How to prove that you have significant ties with family in your home country?

How can I prove the immigrant officers that I have significant ties in my home country?  Are there any documents that I need?


I would like to do something similar to   But instead of only highlighting complete rows, I want to highlight arbitrary subsets of the table.   I added the code of the original question as well as the output. Which changes would have to be done to e.g. highlight the first 2 columns of the first 2 data rows in a contiguous block?  Additionally the code leads to the highlighted rows being indented, which I would like to avoid.  \documentclass{beamer} \usepackage{lmodern} \usepackage[beamer,customcolors]{hf-tikz}  \tikzset{hl/.style={     set fill color=red!80!black!40,     set border color=red!80!black,   }, }  \begin{document}  \begin{frame}{Title} \begin{center} \resizebox{\textwidth}{!}{ \begin{tabular}{lcc|ccc} \multicolumn{6}{c}{Effect of Mandate on Fertility by Age: Employed Individuals} \\ \hline \hline  & (1) & (2) & (3) & (4) & (5) \\  & Has Child & Has Child LT 5 & Has Child LT 5 & Has Child LT 5 & Has Child LT 5 \\ VARIABLES & All & All & No HS Degree & HS or College & Masters or More \\ \hline  &  &  &  &  &  \\ \tikzmarkin<2->[hl]{a} Married Women 18-20*& -0.11 & -0.08* & -0.21*** & -0.00 & 0.00 \\  After*Treatment State & [0.071] & [0.045] & [0.069] & [0.055] & [0.000] \tikzmarkend{a}    \\  &  &  &  &  &  \\ \tikzmarkin<3->[hl]{b} Married Women 20-25*& -0.07*** & -0.07*** & -0.04 & -0.08*** & -0.38* \\  After*Treatment State & [0.023] & [0.015] & [0.036] & [0.016] & [0.215] \tikzmarkend{b} \\  &  &  &  &  &  \\ Married Women 25-30*& -0.00 & 0.03** & 0.19*** & 0.01 & 0.11* \\ After*Treatment State & [0.019] & [0.012] & [0.032] & [0.014] & [0.058] \\  &  &  &  &  &  \\ Married Women 30-35*& 0.01 & -0.01 & -0.09*** & -0.01 & 0.12** \\ After*Treatment State & [0.020] & [0.012] & [0.029] & [0.014] & [0.051] \\  &  &  &  &  &  \\ Married Women 35-40*& -0.01 & -0.02** & -0.07*** & -0.03* & 0.10* \\ After*Treatment State & [0.019] & [0.012] & [0.026] & [0.014] & [0.053] \\  &  &  &  &  &  \\ Observations & 152,366 & 152,366 & 34,081 & 110,324 & 7,961 \\ R-squared & 0.38 & 0.24 & 0.28 & 0.24 & 0.17 \\  Mean of Dependant Variable & 0.48 & 0.09 & 0.07 & 0.10 & 0.08 \\ \hline \hline \multicolumn{6}{c}{ Standard errors in brackets} \\ \multicolumn{6}{c}{ *** p$<$0.01, ** p$<$0.05, * p$<$0.1} \\ \end{tabular} } \end{center} \end{frame}  \end{document}


How to apply lossy compression on a file/video using the command-line?

How can I apply lossy compression on a video using the command-line?  When I use the default compression tool available in Ubuntu (ie. package the video into a tar.gz, zip, etc. file), I don't get much of a difference in size, so I suppose they use lossless compression?


What are the options when a Schengen visa application is in processing after the proposed travel date?

My friend has applied for a Schengen visa from the Hungarian Embassy. At the first try the visa was rejected due to insufficient travel insurance. When he re-applied again on the 14th June, the visa status currently shows it is still under process in the embassy while his travel date is 17th June which has now already passed.   In such a situation what happens?


I am trying to Solve a linear non-homogeneous PDE

I am trying to solve $$u_x + u_y + u = e^{x+2y} $$  I started this problem by using the coordinate method. I set $$t = x+y$$ $$p = x-y$$(Skipping a couple of steps) I got to $$u_t + \frac{1}{2}u = \frac{1}{2}e^{\frac{3}{2}t-\frac{1}{2}p}$$  and this is where I get stuck. My questions is: is this just an ODE for which I need to multiply by an integrating factor and then solve?


Proving the following quadratic inequality?

Apologies if this has been asked before - I could not find a question with this exact inequality.  Basically the inequality is  $$(a+b+c)^2 \leq 3 a^2 + 3 b^2 + 3 c^2$$  Expanding it out we see that  $$(a+b+c)^2 = a^2 +b^2 + c^2 + 2ab + 2bc + 2ac$$  so I guess it is equivalent to showing that  $$ab + bc + ac \leq a^2 + b^2 + c^2$$  Which makes sense to me. But how exactly do I prove it?  We can assume WLOG that each $a,b,c > 0$ since $ab \leq |a||b|$. From here, I guess we need to show that  $$ab \leq \frac{1}{2} \left(\max(a,b)^2 + \min(a,b)^2 \right)$$  And the result follows by adding up each term. But I'm not really sure why this must hold.


Split partition with Ubuntu 13.04 and windows 7

How do I split the partition without loosing my windows OS and files .I am mainly concerned about the new table.


How can I tell the accuracy of coordinates conversion by cs2cs?

For example, when I try this:  cs2cs +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +to +proj=tmerc +lat_ 0=22.31213333333334 +lon_0=114.1785555555556 +k=1 +x_0=836694.05 +y_0=819069.8 + ellps=intl +towgs84=-162.619,-276.959,-161.764,0.067753,-2.24365,-1.15883,-1.094 25 +units=m +no_defs   When I put     114.1689 22.4518   It outputs     835447.18       834705.40 3.11   Can I tell from the result, the accuracy and possible numeric error of the result? Some meters or some percent?


A Polygon is inscribed in a circle $\Gamma$

A regular polygon P is inscribed in a circle $\Gamma$. Let A, B, and C, be three consecutive vertices on the polygon P, and let M be a point on the arc AC of $\Gamma$ that does not contain B. Prove that  $MA\cdot MC=MB^2-AB^2$  I inscribed the polygon P in the unit circle and let B=1. Past this, I'm not really sure how to proceed. It might be helpful to have M at 1 as well but given that the polygon would have the n-th roots of unity in it B seemed like a good choice. What would be a good way to proceed from here?


Run anonymous function inside another function

My code:  function myFunc(callback) { /*do stuff*/     $('div').one('mouseover', function () {         alert('mouseover');         callback;     }); } $("div").click(function () {     alert('clicked');     myFunc(function () {         alert('Callback');     }); });   However, callback does not execute, nor is there an error in the console. How can I make this work?  Fiddle:


how can i share my outlook 2007 calendar with outlook 2003

is it possible?   can't seem to find it in google  Hi sorry for this late reply.  This would be on a different computer.


If I cook the turkey the night before then cut it up, put in refrigerator wrapped or covered in container is it safe to reheat the next day and if fluid added in pan will it moisten it?


Calculate capacitor to hold up current limited supply

I am designing a capacitor bank to hold up a current limited supply when a resistive load is switched by an NPN transistor to ground  The power supply is 2800V limited to 400mA and I require to draw 1.8A for a 15ms pulse.  How do I begin calculating the capacitor value I will need to hold the supply up with 150V maximum droop for 15ms (I'm looking for methods rather than answers, but it was easier to explain with the real numbers)         – Schematic created using


Does maximal ideal exist in a commutative ring without identity?  I was reading this proof  where they use Zorn's lemma on the partially ordered set of proper ideals, and here we need identity to prove that the union of a chain is a proper ideal. What will happen otherwise? I didn't get a similar question in stack if it is a duplicate one let me know. Thanks


How do you define the resonance frequency of a forced damped oscillator?

Consider a forced, damped harmonic oscillator  $$\ddot{\phi} + 2\beta \dot{\phi} + \omega_0^2 \phi = j(t) \, .\tag{1}$$  If I pick a sinusoidal driving force $j(t) = A \cos(\Omega t)$, I find  $$\phi(t) = \text{Re} \left[ e^{-i \Omega t} \frac{-A}{\Omega^2 - \omega_0^2 + 2i\beta \Omega} \right] \, .\tag{2}$$  From here, how do I define the ? Is it the point where $\langle \phi(t)^2 \rangle$ is maximized?  Things I do know: The frequency at which $\langle \phi(t)^2 \rangle$ is maximized is $$\omega_r ~:=~ \omega_0 \sqrt{1 - 2(\beta/\omega_0)^2},\tag{3}$$ but I thought I read/heard that the resonance frequency of a damped oscillator is just $\omega_0$.  I also calculated that the free oscillation frequency is $$\omega_{\text{free}} ~:=~  \omega_0 \sqrt{1 - (\beta / \omega_0)^2},\tag{4}$$ but I don't think that's the same thing as the resonance frequency under steady driving.


How do I recursively create a folder inside another non-existent folder?

I want to create this folder: $HOME/a/b/c/d while $HOME/a has not yet been created! Is it possible with one line in Terminal?


What is the difference in the uses of $\omega t$ and $kx$ in wave equation?

We know that in a wave equation $y = A \sin (\omega t + kx + \phi)$, $y$ = Displacement of particle on y-axis (assuming transverse wave) $A$ = Amplitude $\omega$ = Angular velocity $k$ = wave number and $\phi$ = phase difference  I understand that the everything within the bracket in the equation is an angle. But I dont understand what is the difference between those terms. When do we use $\omega t$ and $kx$ and $\phi$?  As much as I understand $\phi$ is taken into account when we need to find the angle difference between two waves. But I am really confused between the other two. Is there even any difference between both of them?  NOTE: I read  and  Phys.SE questions but they don't take into account the $kx$ term in their phase.


If the rational number $r$ is also an algebraic integer, show that $r$ is an integer

If the rational number $r$ is also an , show   that $r$ is an integer   So $r$ is a rational number that is a root of a polynomial $p(x)$ over the integers, right? I need to show that $r$ is an integer.  I know that for $p(x) = x^n + a_{n-1}x^{n-1} + \cdots + a_0$  we have that $a_0$ is the product of all roots. I don't think it helps because we could have two roots $a/b$ and $b/a$ and their product is an integer, so the fact that the polynomial is over the integers won't do anything in this case.  Somebody have an idea?


Batch/Multi rename only files with a specific number range

I have a situation where I have the following:  file01.ext . . . file99.ext file100.ext . . .   And I want to (using rename ) insert the '0' for the files 01-99 (so that they become 000-099) but not modify files larger than 100. Which expression should I use and what is a good source on learning regular expressions such as these?   On Windows I would have used Total Commander's multi rename function which has a very simple renaming syntax. Are there some good alternatives for that tool (multi-rename) for Ubuntu?


simple new way to use gif on beamer presentation

I searched stack and net for use gif in beamer presentation. most of result are about at-least for two or three years ago. most of them used converted images, and some of them had serious problem with frames, autoplay, footline and so on. now my question is after these years there is not a simple way to use gif in beamer presentation. if problem is with readers is there any plugin for reader softwares to handle this problem?  as you see this  asked 2 years ago but still do not have best answer mark.  as matter of fact I hope there be a way that \includegraphic support gif or new command or package created to solve this issue.  using gif in presentation is very common today, and still hope developers who are joined this site pay much attention to it.


Is philosophy still considered as 'mother of science' nowadays? Because i don't know relevance philosophy with the term mother of science in this days. (21st Century)