Draw nodes according to (X,Y) coordinates? Zest

Question: Can anybody help me please?
I should create a graph to display the nodes positions using eclipse. The positions are given as (X,Y) coordinates. Is this possible to do using Zest?
Or can you recommend other tool? (Note that I'm using eclipse RCP for other parts of the user interface)
Thank you in advance
Answer: If you already have the (X,Y) coordinates, Zest would not help you a lot, as it is centered around the concept of automatic layouting which does not work well with existing coordinates (however, it is possible to write a domain-specific layout algorithm that works with this input).
My opinion is that if supporting dragging of nodes (and possibly zooming) is a requirement, go and use Zest, in the end it will help you a lot. However, if you only need to draw a static graph without complex user interaction, I suggest drawing it by hand using either an SWT Canvas or Draw2d.


How should I connect conduit in the wall to conduit on the ceiling?

Question: In running conduit for a subpanel, I'm not sure how to make the transition from conduit running vertically in the wall cavity to running out from the wall along the ceiling. I could notch the top plate, but I'm not sure that's a good idea. If I just put in a 90° elbow out of the wall the conduit won't be up against the joists. How should I go about this?
Comment: You can have a 90 degree fitting from vertical to horizontal and then an offset to reach to the joist level.
Comment: What size conduit?  Is it a double top plate?  Is there a specific reason the horizontal run is even with the top plate (not above or below)?
Comment: Normally you would just run it over the top plate and go down from there.  Going through the top plate like this is kind of a lot of work when there is an easier solution.
Comment: It's 1" EMT. Single top plate in non-load bearing wall. Horizontal run is directly against the joists because that's the type of the straps I found.
Answer: If I'm understanding your diagram correctly, I'm assuming you want to run the conduit on the bottom surface of the joist or finished ceiling, rather than inside the finished ceiling (or on the side of the joist).
Either way, one option is to make your 90 degree turn with an elbow or L below the top plate of the wall, and then use an offset fitting to bring the conduit up to the surface of the ceiling (or joist)


Use of the word 'kindly' in an invitation

Question: I have just received an invitation to an event. Instead of using R.S.V.P., there is a request that I "kindly respond". Doesn't that presuppose my demeanor when I reply as opposed to their kindly asking me to respond?
Comment: @BruceWayne The pedantic response to that pedantism, of course, is that p -> q does not imply 'p -> 'q.
Comment: presuppose your demeanor? Your facial expression?
Comment: [Relevant XKCD](https://imgs.xkcd.com/comics/conditionals.png)
Comment: @DavidWallace I've always felt that "kindly" carries more expectation to it: the speaker expects the listener to carry through, whereas "please" sounds a bit more optional.
Comment: Argh!  I hate this idiom.  Why can't people say _please_ when they mean _please_?
Answer:
Doesn't that presuppose my demeanor when I reply as opposed to their kindly asking me to respond?

No, it does not. Respond kindly would bear that interpretation, but kindly VERBIMP is an idiom, not construed by ordinary parsing: a fixed construction with the sense Be so kind as to VERB or Do me the kindness of VERBing. It implies that the act of responding is a kindness, a favour which you bestow upon your correspondent.
Note, by the way, that they are not "kindly asking [you] to respond", either: the kindness is on your part, not theirs.
Comment: Kindly respond - be so good as to respond. Meaning, informally: Please respond.
Comment: I know the exact diction would make all the difference, but suppose all you knew was that two different chairmen walked into two different boardroom meetings; one said *Kindly be seated* (or *sit down*) as he entered, and the other said *Please be seated*. With nothing else to go on, wouldn't you agree that the first one is more likely to be in a bad mood, for example?
Comment: @FumbleFingers To tell you the truth, I don't think I've ever had anyone ask (or instruct) me to *kindly* do **anything**, so, yes, the Chair is probably in a bad mood because he's probably about eighty years old.
Comment: You mean you've never been told (or told someone else) to ***Kindly be quiet!*** ??? Or for a more extreme juxtaposition of "Victorian formal" and "modern colloquial", how about [Kindly belt up!](https://www.google.com/search?tbm=bks&q=%22kindly+belt+up%22) Perhaps it's more a BrE thing. I wouldn't expect many *teenagers* to use it today, but it doesn't seem that antiquated to me.
Comment: @FumbleFingers I associate *kindly VERB* with old-fashioned business English, not colloquial discourse.
Comment: Perhaps this is a British/US English thing, but to me (from the UK) "kindly" is shorthand for "I am asking you politely but I am getting annoyed so you'd better do as I ask!"
Answer: The unqualified imperative [You] Kindly respond is unlikely to be found anywhere outside Indian English (see this answer to an earlier related ELL question).
When it's not part of a longer circumlocutory imperative, native speakers would only normally use kindly in "peremptory" exclamations such as [Would you] Kindly be quiet!, Kindly leave me alone! (where it's much the same as please except it usually implies contempt on the part of the speaker).
Partly because kindly is a declining usage anyway, and partly because IE tends to use it in contexts that seem inappropriate to mainstream Anglophones, my advice would be to ignore it altogether and stick with please unless you actually want the nuance of rudeness that others might perceive.
Comment: From my personal experience, this expression seems to be a common occurrence in continental Europe as well. It took me some time to get used to after having lived in the States...
Comment: @siimsoni: There aren't that many Indians living in continental Europe, so perhaps it's a more general feature among non-native speakers. On the other hand, I think the vast majority of Brits living in Europe are people who've retired to Spain or France, so maybe your experience reflects the fact that they're *older*. I don't really know how to understand "How English is spoken in continental Europe", since for the most part it *isn't*.
Comment: As far usage of English in continental Europe is concerned, it would be fair to say English is unofficial lingua franca of Europe. Less so in larger countries and among the elderly, more in smaller countries and the younger generations. For example see [English is the lingua franca of Europeans as two thirds speak the language which has squeezed out all its rivals](http://www.dailymail.co.uk/news/article-2436051/English-lingua-franca-Europeans-thirds-speak-language-squeezed-rivals.html)
Answer: When the issuer of an invitation asks you to "Kindly respond" She is not presuposing your demeanor, but rather asking that you favor her with a response, which she will take as gesture of your kindness.
It is actually a less formal way to ask for your reply. The more formal wording for a reply card is "The favour* of a response is requested by such and such a date."  (*favor)


Why does a copper cable with higher frequency signals attract more attenuation?

Question: Looking at this article here by Techopedia, The writer notes that the higher the frequency of a signal in copper cabling, the higher the attenuation across the cable. Why is this the case?
Comment: This question is maybe better asked at http://electronics.stackexchange.com
Answer: One of the main reasons is skin effect:

Skin effect is the tendency of an alternating electric current (AC) to
  become distributed within a conductor such that the current density is
  largest near the surface of the conductor, and decreases with greater
  depths in the conductor. The electric current flows mainly at the
  "skin" of the conductor, between the outer surface and a level called
  the skin depth. The skin effect causes the effective resistance of the
  conductor to increase at higher frequencies where the skin depth is
  smaller, thus reducing the effective cross-section of the conductor.

Litz wire was designed to minimize the effects.
Answer: Twisted-pair copper wire systems attenuate electrical signals due to factors including the interaction of the signal with the copper in the conductors as the described by the level of resistance or impedance in the wire, and the tendency of the signal to radiate, or spread out, from the wire.
Attenuation is sensitive to carrier frequency. Higher-frequency signals generally attenuate more than lower-frequency signals. The phenomenon is not unique to copper cable, but also generally holds true in fiber optic systems, as well, although the measurement is in wavelengths, rather than frequencies, i.e., longer wavelength signals (lower frequency) signals attenuate less than shorter wavelength (higher frequency) signals.
Answer: Attenuation refers to a reduction in signal strength commonly occurring while transmitting analog or digital signals over long distances. When using copper conductors, the higher the frequency signal, the more attenuation is caused along a cable length. All electrical signals transmitted down electrical conductors cause an electromagnetic field around the transmission. This field causes energy loss down the cable and gets worse depending upon the frequency and length of the cable.


SharePoint Analytics to get page visit count

Question: Can anyone provide a way to get individual site page's visit count using SharePoint analytics for one year, month wise?
Answer: You could generate a page view report in SharePoint site.
Go to site settings->site collection administration->audit log report-> Content viewing.
It will generate the view count for the page in the report.
And you also could get the view count of one page by custom code. For more detailed information, refer to the articles below.
Step by steps on how to display Most Visited Sites with number of view count in SharePoint 2013 Web Analytics.
SharePoint 2013: Showing Page Views within a SharePoint Page.


Separation between slip rings of DC generator

Question:
This is a DC generator which converts mechanical energy to Direct Current. The commutators in a DC generator are separated (as you can see in the image). It is explained in our book that it prevents the change in direction of current. But I don't understand.
Even if we don't keep them separated, how will the current change direction?
In short, what is the function of the gap between the two split rings?
Answer: Imagine a that one of the carbon brushes is connected to a positive terminal of a DC voltage source (eg: battery) and the other brush to the negative terminal.
A current, $I$, will flow through the rotor winding from the positive terminal to the negative terminal. As the current flows through the magnetic field $B$ set up by the permanent magnet, the wire carrying the current experiences a force, given by $F=IL\times B$, where L is the length of the wire segment in the magnetic field. So for the wire segment a-b, the current is flowing into the page so the force on the wire due to the magnetic field will be upwards, whereas for segment c-d, the current is flowing out of the page (back towards the negative terminal) so the force on the wire will be downwards. The net result is a torque (spinning force) on the rotor, causing it to spin clockwise.
When the rotor spins $90^{O}$, the commutator also spins $90^{O}$ (since it is connected to the rotor shaft). At this point, there is no torque on the rotor. The rotor however will continue past the $90^{O}$ point under its own inertia. The split in the commutator now causes the current to flow in the reverse direction through the winding. Since the rotor has moved past $90^{O}$, the current through d-c is now into the page and the resulting force is upward, whereas the current through section b-a is out from the page and the resulting force is downward. So the torque on the rotor is in the same direction as before.
So the commutator produces a 'reversal' of the applied voltage is required every time the rotor winding goes past the $90^{O}$ and $270^{O}$ point (when the torque on the rotor is zero). The voltage must be reversed at these points to ensure the current in each segment of the loop has the same 'sense' with respect to the permanent magnetic field, as the rotor spins, to ensure the net torque is always in the same direction (clockwise). Otherwise, the rotor will simply 'wobble' about the $90^{O}$ point and not spin as a proper motor should!
Comment: now add slip ring instead of split ring. even still i think the direction of current through circuit will be same all the time.
Comment: With two slip rings instead of a split ring, the direction of the current through the circuit will be reamain the same (a-b-c-d), but the rotor will have moved $90^{O}$. When the rotor moves past the $90^{O}$ point, the torque on the rotor will be in the opposite direction, unless we reverse the voltage/current, which is what the split ring does. The same happens after another $180^{O}$.
Answer: The direction of the current with respect to the magnets stays the same, but not with respect to the wire.  Imagine that the positive terminus is on the left and the negative terminus on the right.  The current starts out going $a\rightarrow b\rightarrow c\rightarrow d$, which is clockwise with respect to the magnets, as shown in the illustration.  After the commutator turns 180 degrees, the positions of $b$ and $c$ are flipped, as are $a$ and $d$.  If current still flowed from $a\rightarrow b\rightarrow c\rightarrow d$, the current would now flow counter-clockwise with respect to the magnets, which would reverse the torque.  The commutator causes the current to flip, so that it now flows from $d\rightarrow c\rightarrow b\rightarrow a$, so that the current loop remains clockwise even when the wire loop has turned over.
(If there is no gap, the circuit will short, and no current will flow through the loop.)


Caching problem when searching for user:me

Question: Search appears to cache results for a short time. This is normally fine, since everyone sees the same results for the same query, but it causes oddness if the query includes user:me. For example, BoltClock searched for user:me [homework] on SO, and I searched for the same thing a moment later. I got his cached results (with all of his posts) instead of a list of my own posts. After a minute or so the query switched to giving me no results at all, and then finally to showing my own results. Is it possible for queries containing user:me (or anything else that might return different results for different users, like mod-only filters) to not cache? Or for search to convert it to user:UID first so the query won't match someone else's
Comment: "Or for search to convert it to `user:UID` first so the query won't match someone else's" It is interesting to note that it already does this when displaying the search option in the sidebar. I imagine it'd be trivial to port this to the search field as well.
Comment: @BoltClock'saUnicorn Yeah, and when I tried searching for `user:309308 [homework]` I still got your results, so I'm not sure how search is coming up with that
Answer: The key we were using for cache here was pre-replacement on the user:me to user:12345, in the next build this will be fixed.  Also, it'll be fixed for the similar inquestion:this case.


USB headset microphone is not detected at all in Ubuntu 20. HyperX Cloud Flight S

Question: I have a HyperX cloud flight s.  It is a wireless headset with a USB dongle that uses rf for the speakers and the microphone which plugs into a jack on the actual headset itself.  Ubuntu will not detect or even list the microphone as an input device I actually have no input device options in the drop down list under settings.  Does Ubuntu only recognize microphones directly plugged into audio jacks?  I saw this HyperX Cloud Alpha S USB headset mic not detected and hoped it would provide a solution but unfortunately the marked answer said that this issue should have been fixed and provided a link to the patch.  However there still seems to be a problem.  I have pavucontrol installed and it does not list the microphone at all or even the headphones as an input device and it lists my USB headset as analog?  That makes no sense.  Anyways can someone help me out here?
Answer: Thankfully somebody has had this exact issue and solved the problem.
If you have this same issue please visit this link and read the post he explains everything from his problem to the solution: https://www.reddit.com/r/HyperX/comments/fobp2s/cloud_flight_s_microphone_help_linux/
Basically install the 5.7 kernel then reboot, then navigate to /etc/modprobe.d then right click alsa-base.conf and open with text editor and insert this at the end of the document below everything else ie make a new line at the end of the document and add this:
<code># Add delayed register for HyperX Cloud Flight S Headset options snd-usb-audio delayed_register=095116ea:02</code>
then save and exit; then reboot.


ERC20 increaseAllowance exploit?

Question: I have my own smart contract. Users on my webpage needs to first approve (increaseAllowance) and then they call "donate" function and part of the assets are sent to my vault and the other part goes to the address of another user.
Strange thing is that everything worked fine, after couple of months I think my app was hacked somehow. Now when user call increaseAllowance, assets are sent immediately to another smart contract I know nothing about. This happens before user call my true "donate" function and ofcourse call to my "donate" function fails, because assets are already drained.
<code>tx = await tokenContract.increaseAllowance(metaochtapasSmartContractAddress, amount, {
    gasLimit: gasLimit,
    gasPrice: gasPrice
});
</code>
After this call, assets are immediately sent to this contract: 0xa847991e081c2dcabc960839c8c2b92047fbc435
If you look to contract creator, there is warning:

This is malicious transaction: https://polygonscan.com/tx/0x2b6694c82f5ab8159111b15bc5fb2440a3d8d034927b4dfdab5d38f9a47d413f
Real transaction should look like this:
https://polygonscan.com/tx/0x5a527c8fd1ca8bffc7f9393c5a97940ef10b71c64461c4caed928ddcab06a1cb
Can someone tell me how is this possible? User is giving permision for token transfer to my smart contract address and yet assets are sent out by malicious user to a contract I never interacted with.
** Noone lost any funds (except me, rly small amount) and I really wanna learn how to avoid such things. Thank you.
Answer: Without having more information like what the URL of your site is and who has control over it, I assume that your front end is taken over by a malicious party and they have replaced the contract address. Additionally, they send 2 transactions back to back 1st adding the allowance to the attackers' contract and 2nd spending this allowance.

ERC20 increaseAllowance exploit?


Randomized version of Turán's theorem II

Question: $\newcommand{\om}{\omega}$Let $\om(G)$ denote the number of vertices in a largest clique of an (undirected) graph $G$ with the set $[n]:=\{1,\dots,n\}$ of vertices. Then
\begin{equation}
    \om(G)\ge\sum_{i\in[n]}\frac1{n-d_i},\tag{1}
\end{equation}
where $d_i$ is the degree of vertex $i$ in $G$. Inequality (1) is the main ingredient in the fourth proof of Turán's theorem in Proofs from THE BOOK, Fifth Edition, p. 271, where the inequality is ascribed to Alon and Spenser: The Probabilistic Method, who in turn ascribe  this inequality to Caro and Wei.
Turán's theorem actually says the following.

Take any natural $n$ and $r$. Suppose that
\begin{equation*}
|G|>\Big(1-\frac1r\Big)\frac{n^2}2, \tag{*}
\end{equation*}
where $|G|$ is the number of edges of an (undirected) graph $G$ with $n$ vertices. Then $G$ contains an $(r+1)$-vertex clique.

The bound on $|G|$ in (*) is the best possible one. The extreme graphs not containing an $(r+1)$-vertex clique, called Turán's graphs, are complete $r$-partite graphs with maximally balanced numbers of vertices in the $r$ parts.
Suppose now that $G$ is a random graph with the set $[n]$ of vertices. For any $i$ and $j$ in $[n]$, let $G_{\{i,j\}}$ denote the indicator of the inclusion of the edge $\{i,j\}$ into $G$, with $G_{\{i,i\}}=0$ for all $i\in[n]$, so that
$d_i=\sum_{j\in[n]}G_{\{i,j\}}$. Suppose also that

For each pair of distinct $i$ and $j$ in $[n]$, the r.v. $G_{\{i,j\}}$ has the same Bernoulli distribution with parameter $1-p$.

Then $Ed_i=(n-1)(1-p)$ and hence, by (1) and Jensen's inequality,
\begin{equation}
    E\om(G)\ge\sum_{i\in[n]}E\frac1{n-d_i}\ge\sum_{i\in[n]}\frac1{n-Ed_i} \\
    =\frac n{n-(n-1)(1-p)}=\frac n{1+(n-1)p}\sim\frac1p \\
    \text{if}\quad np\to\infty.\tag{2}
\end{equation}
So, with nonzero probability
\begin{equation}
    \om(G)\ge\frac{1+o(1)}p\quad\text{if}\quad np\to\infty.\tag{2}
\end{equation}
Inequality (1), even with its probabilistic proof, appears to be just enough to prove Turán's theorem, which deals with the worst possible cases for $G$ in regard to a largest clique in $G$.
Suppose, though, that we are interested, not in a worst possible case, but in a case typical to a however degree.
To be more specific, suppose $G$ is a random graph with the set $[n]$ of vertices, satisfying condition 0 above as well as the following conditions:

For each $J\subseteq[n]$, the families $(G_{\{i,j\}}\colon\{i,j\}\subseteq J)$ and $(G_{\{k,l\}}\colon\{k,l\}\subseteq[n]\setminus J)$ are independent of each other.

For each $i\in[n]$, the random variables (r.v.'s) $G_{\{i,1\}},\dots,G_{\{i,i-1\}},G_{\{i,i+1\}},\dots,G_{\{i,n\}}$ are independent.

The distribution of $G$ is invariant with respect to all permutations of $[n]$.

The above derivation of (2) does not use conditions 1--3 on the random graph $G$. This derivation
is based on inequality (1) -- which, even with its probabilistic proof, appears to be just enough to prove Turán's theorem, which deals with the worst possible cases for $G$ in regard to a largest clique in $G$, and the "worst possible" Turán graphs seem to be very different from a typical realization of a random graph $G$ satisfying conditions 0--3. Therefore, the lower bound on $\om(G)$ in (2) appears to be too weak.

Can we improve (2) as follows:
\begin{equation}
    P\Big(\om(G)\ge\frac cp\,\ln\frac1p\Big)>0
\end{equation}
for some universal real constant $c>0$ and all large enough $n$ (depending on $p\in(0,1)$)?
Comment: This question is related to that at https://mathoverflow.net/questions/385581/randomized-version-of-tur%c3%a1ns-theorem
Answer: For completeness, I'll repeat here the construction as the other thread. Let $M$ be an integer say $M=\frac{1}{p}$. Then for each $v \in [n]$, let $m(v)$ be an integer chosen uniformly from $\{0,1,\ldots, M-1\}$, and then $u$ and $v$ form an edge iff $m(u)\not = m(v)$.
Then all of 0.--3. as above are satisfied, and $u$ and $v$ form an edge with probability $\frac{M-1}{M} = 1-p$, and  $\omega(G) \le M = \frac{1}{p}$. So no, Inequality (2) cannot be significantly improved and is actually quite tight.


Magento 2 : Is it possible to add order cancellation functionality in frontend?

Question: I want to give the order cancellation functionality in frontend to user in case of order not shipped.
What would be the step to achieve this functionality ?
Comment: Possible duplicate of http://magento.stackexchange.com/questions/133003/cancel-order-from-magento-2-frontend
Answer: This is more complicated than it sounds.
Cancellation while pending is easy. The method is described in Cancel Order from magento 2 frontend? and I've implemented it in a module with the template tweaks needed (and confirmation dialogues).
https://github.com/lingwooc/cancel-magento2
You should note this only works for pending orders. Most orders (especially online payments) won't go into pending, they will go into processing. For online payments this means the money will have been taken and will need to be refunded. Magento doesn't allow cancellation at this stage, only shipping or refund. I would think carefully about whether you want your customers to be able to generate a refund automatically. There is the potential you may ship refunded goods if you don't have a robust process. I would implement this as a refund request which should generate a support ticket. The module above has the templates/layouts that you would need to change to add such a button.
This chart shows the status change flow of a mangeto2 order.

Source question: New order status staying "pending" instead of processing in Magento 2
Source: https://www.mexbs.com/magento-blog/magento-order-statestatus-flow
Answer: You must create an extension:

First of all you have to overwrite the customer account page layout in order to introduce the control (button) that links to a functionality.
The button you added should link to a controller that does the job.
Eventually you will need to add some blocks to render any output/intermediate interaction.


Need adjective to describe certain kind of speech or communication

Question: I've been looking everywhere for a word to characterize speech in a business setting e.g. ny management or HR, where it is filled with buzzwords, circular logic, and devoid of real substance. In writing, I've seen this sort of thing described as fluff. Is there an adjective meaning "filled with fluff"? The closest I've come is vacuous or glib (both meaning empty), but the former word seems to carry an added implication of stupidity and the latter suggests that the speaker is at least eloquent. Is there something between the two? Mundane and devoid of meaning?
Comment: Can this be reopened? It was closed due to similar questions being answered, but all of these answers are regarding nouns and I am looking for an adjective
Answer: There is a productive type of combination that will give for many nouns (X) an adjective meaning "full of X". It consists in combining the noun with the adjective "ridden" by means of a hyphen. So, "fluff-ridden" is one option of adjective for the use you have in mind.
Note: You do not necessarily find these terms in dictionaries; they might occasionally be found there as examples.


Do courts in a common law system ever make decisions about law without a presented case?

Question: In the United States, the Supreme Court does not make a decision about the validity of a law without a specific case presented to them. Are there any examples of common law systems in which a court is able to make a decision without actually having a case at hand?
Answer: Yes. In some common law jurisdictions, such as Canada, the United Kingdom and even some U.S. states, the government may under some circumstances refer a legal question to the appropriate Supreme Court (Privy Council in the U.K.) for an advisory opinion. These opinions are non-binding, but have large influence because they are often made by the same judges that would otherwise end up dealing with the question should it occur in a case.
One common law country in particular stands out in this field: Ireland. Under Article 26 of the Irish Constitution the President may, with some exceptions, refer a bill to the Supreme Court to test its constitutionality. The referral is optional, but once made, the Supreme Court's decision is binding. The relevant portion:

3 1° In every case in which the Supreme Court decides that any provision of a Bill the subject of a reference to the Supreme Court under this Article is repugnant to this Constitution or to any provision thereof, the President shall decline to sign such Bill.
[...]
3° In every other case the President shall sign the Bill as soon as may be after the date on which the decision of the Supreme Court shall have been pronounced.

This power was last used successfully in 2004.
Comment: @vasshu Correct, as far as I'm aware.
Comment: I know this answer is fairly old, but I did have an additional thought. It seems that even in these instances, the law must be referred to the courts. The courts cannot simply act on their own and state their position on the matter. Correct?


Finding foci and vertices of an ellipse, know if the foci are located on the y axis or not given equation

Question: When doing a problem where you have to find the foci and vertices of an ellipse given and equation like $9x^2-36x+4y^2=0$, The answer will change based on if they are or not, so how do you tell from that if the foci are located on the y axis or not?
Answer: Foci lie on the long axis.
To find where the long axis is, rewrite the equation by completing the square:
$$\frac{1}{4}(x - 2)^2 + \frac{1}{9}y^2 = 1$$
The long axis (where the foci are) is $x = 2$, which is not $y$ axis.


Find text in Notes app on iPad Pro

Question: Is it possible to search for text in the Notes app on an iPad Pro?
The closest I have gotten is the search field to the left of the Home screen, but that does not find the fifth occurrence of that text. Is another app better for searching text?
Answer: Currently there's no way to search Notes that specifically. It might be a feature that Apple will add in the future, but for now, Spotlight search on iOS will help you can only perform the basic "if note contains this word, display note" searches. There's also no "Find" function within the Notes app.
Answer: I think you may be missing the "Show More" link above each search group.
For example if I search for the word "Joomla" on my iPad Pro I get this result:

Clicking on the "Show More" to the top right of an Application's result set reveals the rest of the matches, like this:

Find text in Notes app on iPad Pro


Are iPhone screenshots geo-tagged?

Question: When I take a picture using my iPhone's camera, it attaches the current location to the image in the metadata. Does it also do this for screenshots that I take?
Comment: Have you tried uploading an iPhone screenshot to Flickr or Picasa? That should bring through any geo tags the pic has.
Answer: According to macosxhints iPhone screenshots have no EXIF data, so no geolocation data would be saved. Not sure if this is still the case on the iPhone 4.

Screenshots are saved as PNG files on the original iPhone and the iPhone 3GS (the two models I had access to) and have no EXIF records. The only other metadata fields available are filename, file size, and modified, and imported dates.
Answer: iPhoto will not show screenshots as geotagged. This does not mean the information is not there somewhere, but it's highly improbable.
Comment: When you download the image to your computer you can check it's metadata (cmd+I in OSX) to see if there is any GPS coordinates in the EXIF headers
Comment: I tried that, and didn't see any EXIF data.
Answer: Checked today on iOS9 and geo data is still not stored.
Answer: I just checked EXIF Metadata of screenshot took on iPhone using EXIF Viewer by Fluntro App. Screenshots in iOS are not geotagged. (As on iOS 12)
Like what mentioned in previous answers, Screenshots are saved as PNG file and doesn't store location coordinates.

Disclaimer: I have developed the EXIF Viewer by Fluntro App :)
https://itunes.apple.com/us/app/exif-viewer-by-fluntro/id944118456?mt=8
To know more features about the app, checkout https://www.youtube.com/watch?v=ycz0b0uDn9A

Are iPhone screenshots geo-tagged?


Can I open a file manager as root without using terminal in xubuntu

Question: I am trying to launch file manager as root in the panel I get a error when I put sudo in front of the command exo-open --launch FileManager it returns a error.  However, if I put the same command in a XFCE terminal (not the emulator) I launch file manager as root and it works. I am very confused
Comment: You really should always post the error message into the question for us to be able to help
Comment: Why not make a launcher (.desktop file) running gks...
Answer: Please note that it can be very dangerous to run your file manager as a root user.
You can use gksu for launching GUI applications as root.
Install gksu from a terminal:
sudo apt install gksu

After it is installed, you can now launch it without a terminal by pressing Alt+F2 and typing in:
gksu thunar

Thunar is the default file manager in Xubuntu.

NOTE: gksu is no longer available for Ubuntu 18.04.  However, pkexec is installed by default in 18.04.
You can also use pkexec as well to launch.  Same as above and change gksu to pkexec.
pkexec thunar

If you don't want to open a terminal window, press Alt+F2 to bring up a run window and you can type in that command that way you are not leaving any terminal windows open:
Answer: Hard-to-use security won't be used.  I hope the following answer convincingly demonstrates the imprudence of Debian's failure to replace gksu with a work-alike facility based on PolicyKit.
The following two easy steps will provide  with one-click access to thunar (or any other app) with root privileges:
Create an app launcher in which the command line is:
sudo thunar

As root, edit /etc/sudoers.d/ so that it contains:
<username> ALL=(ALL) NOPASSWD:ALL

Afterwards, whoever uses username's X-window session will have root privileges.  Since the loss of gksu, however, it's an easy way to have one-click access to a root-privileges app from a non-root GUI.


What is the simplest statistical analysis to compare 2 groups on a simple survey?

Question: I designed a simple survey about cancer knowledge among adults.  There will be two groups:  Those that have first-hand experience with cancer (you or someone in your immediate family with cancer) and those without (negative on the above).  There are seven questions related to cancer knowledge, each with one right answer.  My question is:  What is the simplest and most easily understood statistical analysis for this type of data?
Answer: Often with surveys there is a scoring function.  You score the seven responses, sum them and compare the sums between the groups.  The Wilcoxon rank sum test can then be used to look for differences between these sums (or averages).  If the scores could be assumed to be approximately normally distributed a two sample student t test could be applied instead.
Answer: Is there more than 1 wrong answer for each question?  Are you interested in different wrong answers?  i.e. if the correct answer is A, but one group chose mostly B and the other group mostly chose C is that interesting? or is only the proportion correct of interest?
You could do a $\chi^2$ test or Fisher's exact test on the table of each group by answer (or correct status) for each question.
If you want to look at all the questions together then you can look at the larger contingency table (loglinear models, logistic, or poisson regression), or just compare an overall score between groups (t-test or non-parametric equivalent).
Answer: "The simplest and most easily understood statistical analysis" would not involve any hypothesis test at all, since these involve the use of p-values which are routinely misunderstood even by researchers.  How about simply showing the number of correct scores for each person, distinguishing the two groups:
Answer: It depends on what are the 7 questions asking. If it's a validated questionnaire that you borrowed somewhere, and it specifically explores "knowledge," then I'll agree to take a sum or average and then report it by group.
If the questions are put together by you and they are quite different in the knowledge domain (for instance, a mixture of questions asking about prevention, detection, diagnosis, prognosis, treatment, and maintenance), then I would suggest starting with looking at the rate of being correct at each question individually by group. Perhaps you may find some insights (like both groups know equally well about prevention and detection, but the cancer patient group knows much more about diagnosis) along the way. This interesting information could be masked away quickly if the scores were summed in a rush.
Answer: Let's start with a prototype statement you'd like to make at the end, maybe "The first hand group answered an average of 62% of the questions right, well above the 42% for the inexperienced group".
Score each question as 1/0 so you can total 7/7 = 100%, 6/7 = 86%, and so forth. For a statistical test, compare the means of each group on these scores by a two-sample t test.
This approach seems simple and easily understood.
When you look at individual questions, you can use a proportions test to compare the proportions in the two groups who answer correctly.
Answer: The most accurate test is the t-test and it is also very simple. But the simplest one and surprisingly accurate, is the sign test.
Fuddy daddies may say that,strictly speaking,that test is not applicable in this situation, but I have used it in many similar situations and always got valid results.
Comment: Could you explain how to use the t-test or sign test in this context?
Comment: You shouldn't use the simplest test. You should use the best test based on what is known about the distributions of the samples. I assume that you would use the percentage of correct answers for each group.


Can any noun type be used as a direct object?

Question: Can a noun of any type be used as a direct object?
Comment: @AndrewLeach The asker could help by telling us what he means by a "type" of noun, what the possible "types" are to choose from, and whether these are syntactic types or semantic types. I also wonder why he's asking about nouns rather than about noun phrases (NPs) given that most grammars specify NPs  not nouns for a verb's core arguments like its subject and objects. Most objects in English are more complex than a bare noun alone; [see here](https://en.wikipedia.org/wiki/Object_(grammar)#Syntactic_category) for examples of objects of varying syntactic categories.
Comment: Offhand I couldn't easily see how to construct a sentence with ***eternity*** as the "direct object", but Google Bard assures me it is in *I cannot bear eternity in this place.* I can't think of any *more* "awkward" types of noun that can't serve as a direct object. Did you have any *specific* nouns or types of noun in mind?
Comment: Are you thinking of semantic types (feelings / vehicles / habitats ...) or some other classification? As FF says, I'd only think that semantic constraints could apply: some abstract nouns, perhaps. Though sentences like 'This gives rise to an absence of fixed rules and laws' show you'll have to try hard to find an example....  _Although_ including pronouns in the noun word class, 'he', 'she' etc cannot occupy the DO slot.
Comment: @EdwinAshworth Obviously subject pronouns ("he/she/they") cannot be a direct object, but object pronouns ("me/him/us/them") can be.
Comment: @Andrew Leach There are signs that subject pronouns are becoming more widespread in situations where they are forced to do double duty ('You should avoid he who will not work for a living') ... and acceptability almost always follows usage.
Comment: @EdwinAshworth Yuk.
Comment: This question is quite clear to me. What details are required? (It could possibly belong on ELL; but simply closing without saying how OP is supposed to improve it is... unhelpful.)
Comment: I said about grammar types.
Comment: [Certain nouns](https://www.babbel.com/en/magazine/english-fossil-words) such as "loggerheads", "dint", "dudgeon", "wedlock" allegedly only occur in prepositional phrases: "at loggerheads", "by dint of", "in high dudgeon", "in/out of wedlock", etc. So possibly they can't be used as direct objects. These are known as fossil words, so some fossil words can't be used as direct objects, although others  like "vim" or "kith" could ("I admire his vim and vigor", "I respect kith and kin"). It still comes down to the question what is a noun type.
Answer: According to scribbr*, nouns can be classified into a number of different types. Most can be used as a direct object. This answer doesn't consider pronouns, because the question doesn't ask about pronouns.

common nouns

I painted the fence.

proper nouns

I like London.

countable nouns

I recited facts.

uncountable (mass) nouns

I recited poetry.

concrete nouns

I folded the leaflet.

abstract nouns

I appreciate beauty.

collective nouns

I sacked the team.

possessive nouns

I parked my car. I crashed my sister's.

(This might be debatable; is sister's here a pronoun, or functioning as a pronoun, and does that mean that a possessive noun on its own can't be a direct object?)

gerunds

I enjoy whistling.

generic nouns

I hate people.

attributive nouns
These can't be used as a direct object because the noun phrase is the object — the main noun is necessary:

I like carrot cake.

appositive nouns
Again, these can't be used as a direct object because the noun phrase is the object — the main noun is necessary:

I like my colleague Adam.

* Scribbr is simply used as a convenient list. No endorsement is intended.


Why do I have an SD card but still no storage space?

Question: I have a textbook Android tablet and an SD card, but when I try to download apps like Viber and other apps, they say I have insufficient space and my tablet is saying "Storage space is running out. Some system functions may not work".
Comment: [How to save files to external SD card on a non-rooted Android?](https://android.stackexchange.com/a/218338/218526) - [How to move apps from internal to external storage?](https://android.stackexchange.com/a/214568/218526)
Answer: The storage used to store apps is internal storage. Android doesn't allow apps to be installed on the SD card so no matter how big your SD card is. Your tablet will install apps in the tablet's internal storage.
You can move apps to an SD card using App2SD or in the phone settings, but only apps that allow moving to SD will be movable. If the app doesn't allow App2SD, you can't move it.
There is some advanced workaround to use an ext4 partition on your SD card as a <code>/data</code> partition, but it needs to be enabled at the kernel level.
Answer: Android versions less than 6.0 don't natively support using an external SD card to 'extend' the internal SD card, therefore, only data can be moved to the SD card if it has been allowed by the app author.
To move this data to the SD card, you can go to Settings > Apps and select the app which you want to move to the SD card, and press 'Move to SD'. If the option is greyed out, it means the author has not allowed 'moving to the SD card'. You can move the data back by pressing 'Move to phone'.
Comment: Hmmm... are you sure?  On at least some KitKat devices, when you move an app without any data to the external card using the method you describe, the internal storage is increased significantly.
Answer: What I did was enable the Developers in settings, then scrolled down to enable the setting that says to override apps that don't allow transfer to SD card.
Every single app I have, including internal or the ones that came with my Samsung Galaxy J7 2017 (well, most) are on my SD. My internal storage still says it's halfway full. But I believe that is Samsung in itself.
After enabling that setting, you will need to go into app info after installing the said app, then manually transfer from the device or internal storage to external or SD storage.


Is there a supported Windows CIM/WMI provider for Dell PERC Generation 11 or later?

Question: I have Dell OpenManage Server Administrator (version 7.4) for Windows installed on a 12th generation server with a PERC H710P.  That machine has a root\cimv2\dell namespace which does not seem to include any mention of disks or disk controllers (although that namespace contains other useful things).
These are the closest things I've found to a Windows CIM provider for PERC:

a Dell-supported CIM provider for ESXi
discussions about using LSI MegaCLI on Windows
Dell KB using MegaCLI on Windows.

I haven't, however, found any reference to a Dell-supported CIM provider for PERC for Windows.
omreport storage and omconfig storage seems to be the only scriptable Dell-supported API.  The Dell OMSA User's guide indicates that output from OMSA is a character stream.  The guide provides some information about the contents of that stream but there is no specification that facilitates reliable parsing of the output.

Is there a supported Windows CIM/WMI provider for Dell PERC Generation 11 or later?
Is there some other supported method of managing or at least querying PERC from Powershell that doesn't involving parsing an undefined string?
Answer:

Is there a supported Windows CIM/WMI provider for Dell PERC Generation 11 or later?

I haven't found one.  It looks like the omreport storage and omconfig storage are the supported scriptable interfaces to PERC.

Is there some other supported method of managing or at least querying PERC from Powershell that doesn't involving parsing an undefined string?

I haven't found one.  I ended up writing this PowerShell module that implements the arcane parsing of the output from omreport storage.  Using the -fmt ssv switch made the output of omreport storage a bit easier to parse.


Does a non-EU spouse of an EU citizen need to pay international tuition fees for a MSc in the Netherlands?

Question: My wife is a US citizen and we'll reunite in few months. I'm a EU citizen and currently living and working in the Netherlands. She just got admitted to a public research university in the Netherlands (academic year will start in Sept 2021), what kind of tuition fees do we have to pay? Since I'll sponsor her against the EU law, is she eligible for the EU tuition fees?
Comment: What does the Foreign Students Office at this university say?
Comment: What does the attendance conditions of this public research university say? A link to that site would be helpful to see the given legal terms stated there.
Comment: @DavidSupportsMonica the international office doesn't want to collaborate too much. They told us that until my wife won't be here and receive the permit, they basically refuse to say whether she's eligible or not. They want to see the permit first.
Comment: I'm in a similar boat, a US citizen marrying a EU citizen (German) wanting to attend Wagenigen next year. I can't figure out from the law document if I will be exempt from international tuition fees, and the link for Wagenigen has expired. Is anyone able to comment on this?
Comment: Hi @Mark, by any chance did you solve this question? I am at a similar situation now with my (sson to be) wife! Best regards
Answer: The law (Wet Studiefinanciering 2000) is not super explicit but does provide that several categories of foreign residents are to be treated like Dutch student as far as tuition is concerned. Several universities explicitely mention residence cards for members of the family of an EU citizen (familielid EU/EER) as one of these categories (e.g. WUR, Maastricht).
I do not know whether these rules have any basis in EU law or EUCJ case law.
Comment: Yes, I found a similar document from this public research university too https://www.wur.nl/web/file?uuid=1df1182c-81da-4fb3-820c-108bd2837f6d&owner=497277b7-cdf0-4852-b124-6b45db364d72&contentid=419214 . My wife's uni will be TU Delft, which I think it's quite comparable to Maastricht University and Wageningen. But for some reason, the international office of TU doesn't guarantee the same conditions. They explicitly said that without a scan of the permit they can't guarantee that the familieleid EU will allow my wife to pay EU tuition fees


Does the Nikon D3100 have audio input?

Question: The new Nikon D3100 has video capabilities, and a mono microphone on the front. However, I can't seem to find anywhere if it has an audio input, to enable using a better microphone.
Answer: If I read the specifications correctly and the preview from DP Review, it would appear that it only has the built in mono microphone.
Comment: Bummer, though I suppose most people wouldn't use it, and if they really needed an external input they'd probably use a real video camera.
Comment: @Evan : But the now "entry-level" "video dslr" from canon, the T2I (550D) does have external input, apart from a stereo internal mic. Guess it will make its way into a nikon entry level model soon.

Does the Nikon D3100 have audio input?


What does "razor-cheekboned wisdom" mean?

Question: ". Three times I've watched the first half of season one of Breaking Bad, three times I've given up on the coughing, the chemicals, the camper van, the crack and the corpses. In the meantime, I cackle on about Westeros, about Cersai Lannister and her wonky, regal, razor-cheekboned wisdom; Cersai, perched in her palace room in King's Landing, goblet of plonk in hand, slurring sadly for her boyfriend Jamie. He's also her brother, but, gosh he's handsome and hard as nails, so we overlook the vomitous aspect.
Answer: This is an instance of the figure of speech traditional rhetoric called hypallage: the transfer of an 'epithet' from one entity to a different but related entity.
In this case, razor-cheekboned, although it appears to modify wisdom, is in fact understood to modify the possessor of that wisdom, Cersei Lanister. The character is played by an actor with markedly high cheekbones, which the author characterizes as 'sharp' as a razor.
Comment: @Lambie Well, cheekbones seem to be in the eye of the beholder. I'm not alone in seeing them as high, and you're not alone in seeing tehm as unremarkable: just google "Lena Headey cheekbones" and see the debate unfold (ignoring irrelevant references to Tyrion's remark in the original novels) !
Comment: The actress in question does not have  high cheekbones at all. You can google her picture and see. So, even if it characterizes her, you have not explained the meaning at all, as far as I can tell.
Comment: In Game of Thrones, the actress cannot be said  to have high cheekbones. She just doesn't.
Answer: razor-cheekboned is a poetic construction.
razor here stands for a cutting instrument, as in: her cutting sarcasm, a usual phrase. Or "cutting" wisdom in this case. Meaning: she delivers her words of wisdom with a sharp tone. Her wisdom is cutting, sharp or even mean.
The character Cersei Lannister in Game of Thrones is very sarcastic.
Secondly, cheekbones are associated with a person's beauty. For women, high cheekbones are a sign of beauty. She doesn't actually have  high cheekbones, but cheekbones are still associated with beauty. In short, "cheekbones" refer to her face or look.
So, basically, the author is saying that Cersei delivers her words of wisdom with a look on her face that resembles a cutting instrument.


do we only use pull-up resistor or pull-down resistors when dealing with switches?

Question: I have heard people state that if your micro controller is not reading the signal properly, then we need to use a pull-up resistor. Which I don't get?
It makes sense when switch is involved because you don't want a floating signal.
What I don't understand is why do my friends mentions the pull up resistor help in better voltage reading??
Comment: Does https://electronics.stackexchange.com/questions/50605/must-io-pins-each-have-their-own-pull-up-down-resistor/50617#50617 answer your question?
Comment: The idea of "floating" is more that tiny amounts of charge (like what makes tiny bits of paper stick to a brushed comb) can greatly vary the observed voltage. So slight variations in the available static charge around you, which varies widely based on humidity and the atmosphere and many other factors, can impact a voltage reading. By adding a ***known*** pull-up or pull-down resistor, you provide a faster path to allow accumulated charge to leave. So long as what's driving the input can easily overwhelm this "pull" resistor, that resistor only affects static charge, leaving the driven value.
Answer: It would help if you give more specifics as to where have you "heard" that and in which type of circuit. I can only say that while with a switch you have a floating input, with other components you have a leakage current which pulls the node up or down, so a pull-up or pull-down resistor serves to counter the effects of that leakage current.
In short, we don't use pull-up or pull-down resistors only with switches because of their floating state, but also with other components (including, but not limited to, electrolytic capacitors and transistors) because of their leakage currents.
Answer: Sometimes it does not matter if you use a pull-up or pull-down resistor to keep default state of the data pin, and the pushbutton will overwrite that with another potential. Inside a plastic case you can have buttons wired with pull-downs and the buttons connect to common +5V wire. Some MCUs have internal pull-downs so you can omit external resiators.
However, it is far more common to find MCUs that only have internal pull-ups. And, if you want the buttons to be in a metal box, you most likely have the metal case grounded, and so it will be safer and easier to have buttons pulled up and switching to ground, to avoid short circuits of 5V to grounded metal case. Some chips, devices and buses can only pull to ground or let the wire float, as they have open-drain or open-collector outputs, so they need pull-ups for sure.
Answer:
Do we only use pull-up resistor or pull-down resistors when dealing with switches?

Yes, but the switch can be an electronic one. We use them wherever the input can only pull one way.

simulate this circuit – Schematic created using CircuitLab
Figure 1. Various configurations requiring pull-up resistors.
Each of the examples above can only pull the input low. As a result a pull-up is required.


Is a dichotomic basis possible for 3-dimensional space?

Question: We know that the Pauli basis for the 2-dimensional space is a dichotomic basis in the sense that every Pauli matrix has two distinct eigenvalues. Is it possible to express a 3-dimensional matrix $\textbf{M}$ in terms of a basis $\{\textbf{B}_k\}$, that is $\textbf{M} = \sum\limits_k c_k \textbf{B}_k$ ($c_k$ are the coefficients), such that every $\textbf{B}_k$ has only two distinct eigenvalues?
Answer: Every matrix, regardless of dimensionality, is the sum of the projections onto its eigenspaces weighted by their eigenvalues. A projector only has two eigenvalues, 1 and 0. So choose $c_k$ as the eigenvalues and $B_k$ as the projectors to achieve what you want.
Comment: @ChiralAnomaly Ah, yes, either diagonalizability or non-zero eigenvalues are probably necessary


Link to view the edit history of a question

Question: Is there a link on a question's page to see the edit history of that question?  What is the "normal" way to get this information?
Answer: Just click on the time that shows how long ago it was edited...

If you do not see a time for how long ago it was edited, that the current version is also the original post (thanks Pesto).
As of 5/22/13 the entire phrase "edited on month day at time" is now a clickable link, which should be a lot more intuitive.
Comment: Wow... since forever I just assumed you had to be a certain rep to see it because I didn't see a link and only now after another user with lower rep than me talking about viewing it did I find this when searching for how to see edit history.
Comment: When I edit my post almost immediately after posting it, I do not see the "edited" link. Does it not appear if I edit my own post, but only if others do? Or does it only show up when edits happen after a certain age?
Comment: @void.pointer a little late, but that's the [grace period](https://meta.stackexchange.com/tags/grace-period/info).
Answer: Just put the question number in where # is:
https://meta.stackexchange.com/revisions/#/list
e.g. https://meta.stackexchange.com/revisions/3400/list
Comment: Not really a link on the page as requested, but useful information; thx.
Comment: Without scripting, asking this is asking users to go away.


Why does SFML with an Opengl 3.0 context draw twice?

Question: I've been working on a 3D application using SFML for context creation and OpenGL 3.0. For some reason when I attempt to create the context using OpenGL 3.0 it seems to draw the image slightly narrowed and doubled with a black bar in between, and the screen seems to be cleared with green instead of red for some reason. If I change the context to 2.1 it draws normally. Originally I was having this problem using modern OpenGL code but I've provided a sample using the fixed function pipeline so that the problem is clearer.
<code>#include <SFML/Window.hpp>
#include <SFML/OpenGL.hpp>

int main()
{
    // create the window
    sf::ContextSettings settings;
    settings.depthBits = 24;
    settings.stencilBits = 8;
    settings.antialiasingLevel = 4;
    settings.majorVersion = 3;
    settings.minorVersion = 0;

sf::Window window(sf::VideoMode(800, 600), "OpenGL", sf::Style::Default, settings);

// load resources, initialize the OpenGL states, ...
glClearColor(1.0, 0.0, 0.0, 1.0);

// run the main loop
bool running = true;
while (running)
{
    // handle events
    sf::Event event;
    while (window.pollEvent(event))
    {
        if (event.type == sf::Event::Closed)
        {
            // end the program
            running = false;
        }
    }

    // clear the buffers
    glClear(GL_COLOR_BUFFER_BIT);

    // draw...
    glBegin(GL_TRIANGLES);
    glVertex3f( 0.0, 1.0, 0.0);
    glVertex3f(-1.0,-1.0, 0.0);
    glVertex3f( 1.0,-1.0, 0.0);
    glEnd();

    // end the current frame (internally swaps the front and back buffers)
    window.display();
}

return 0;
}
</code>
If I Change these two lines:
<code>   settings.majorVersion = 3;
   settings.minorVersion = 0;
</code>
To these:
<code>   settings.majorVersion = 2;
   settings.minorVersion = 1;
</code>
The window draws normally.
Here are screenshots of what is happening.

The second image is a little messed up because my computer lagged. It shouldn't have that orange tone.
My setup is:
Ubuntu 12.10
Intel i7-3630QM
Intel HD Graphics 4000
From glxinfo:
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL version string: 3.0 Mesa 9.0.2
OpenGL shading language version string: 1.30
From lspci:
Kernel driver in use: i915
I thought this might be a driver issue but I've had success running OpenGL 3.0 programs using GLUT and no deprecated functionality so it must have been creating a valid OpenGL 3.0 context and working.
I'm very confused as to why this is happening.
Comment: try sticking a window.setActive() above your draw function.
Comment: Does it work with Intel's Windows drivers?
Comment: Most interesting. glBegin/glEnd is certainly deprecated in 3.0 spec, but it isn't removed from it. I don't think its a problem with your code. Must be a driver bug.
Answer: SFML uses a compatibility context, because internally it still has some old style opengl.  The reason you can use glBegin and glEnd and the like is because of the compatibility context.  I don't have the answer to your question, but it was asked a year ago.  If you have the solution, please post it.


ASP.Net web server control that generates HTML and Excel

Question: I am developing a web application that contains a great deal of reporting.  The reports are fairly basic, but some have multiple datasets or embedded charts.  One of the key requirements is that each report can be exported to Excel.  The Excel version of the report is disconnected and should look the same (or very similar) to the web report.  That includes formmating of values, cell styles, number of rows/columns, charts, etc.
The problem I've encountered is that the ASP.Net reporting tools I've looked at do a great job in creating the report, but the export to Excel is not as robust as I'd like.  The ASP.Net spreadsheet tools do a great job generating an Excel sheet, but they don't offer a way to view the information in a browser without downloading them locally and viewing them in Excel.
Any suggestions?  Thanks!
Answer: MS Reporting Services that comes with SQL server produces pretty high fidelity Excel spreadsheets.
Otherwise you could do this with MOSS Enterprise using Excel Services and the Excel Viewer web part.
Answer: Infragistics has some fairly robust web controls, one of them is a grid that can export to Excel. The Excel export component allows you to format the results, add images and other stuff, so it should do what you are after.
The only problem with Infragistics is that their API is extremely ... what is the word ... cumbersome? So it takes some work to get used to and often much code to get things done properly. But the end result is good.
Answer: If you only want to generate Excel documents which are just cell data and not charts you can use the XML markup for Excel, no not the OpenXML spec version but the standard Microsoft Excel XML format.
I've got an example of how to achieve that on my blog: http://www.aaron-powell.com/blog.aspx?id=1237. If you do want to do charting I'm not 100% sure if it's supported that way.
Answer: You could use SpreadsheetGear to generate the Excel version of your report, complete with macros and formatting.  The product give you complete programmatic control for creating a 97 - 07 compliant spreadsheet.


How to connect to 802.1X authentication automatically?

Question: Currently, we're implementing 802.1X authentication in the company, but having some trouble with getting an IP address when using some Macs (MacBook Pro).
So, I created a profile through Profiler Manager of macOS Server. After the profile installed, I was able to get an IP address by manually clicking "Connect".
PS: We are using the EAP-TLS.

But I have to manually click "Connect" to get an IP address, every time I disconnected the Mac from the LAN cable or reboot the Mac.
So my question is: Is there any way to trigger the 802.1X authentication to get an IP address automatically or is there is any way to click (without interaction or silently in the background, maybe command line or plist files?) the "Connect" button automatically once a user logs in?
Any ideas would be appreciated.
Answer: Apple Configurator will allow you to create a profile that will auto-authenticate 802.1x.
Here is some more info https://support.apple.com/guide/apple-configurator-mac/create-and-edit-configuration-profiles-pmd85719196/mac
This works on Sonoma as well.


The theory behind fitting an ARIMAX model

Question: I'm very familiar with the theoretical underpinnings of ARIMA/SARIMA models but I've been struggling to understand the theory behind fitting an ARIMAX model. I'm not looking for a practical application on R or Python since I know how to do that I'm rather looking for how exactly is the procedure done. I've been digging around the web for a while and found papers about Transfer Functions & Impulse Response but not at any depth or elaboration.
Comment: @MartinModrák tks for the nice words ...I enjoy these opportunities to teach and learn
Comment: So do you need theory (like statistical properties of estimators) or a recipe (description of procedure, pseudocode)?
Comment: If you've found the answer helpful, don't to forget to upvote and accept it - it seems @IrishStat put a lot of effort in it.
Answer: Please see my response to How to use Dynamic Regression models in R to forecast future sales . The whole idea about transfer function model identification is that we filter the stationary  X to make it white noise (x) and apply that filter to the stationary  Y to make y and then use the cross-correlation of x & y or it's proportional equivalent the Impulse Response Weights (regression coefficients) to identify a minimally sufficient set of lags (0,1,2,??).
The following should be studied closely ( follow the algebra ) to do this http://www.math.cts.nthu.edu.tw/download.php?filename=569_fe0ff1a2.pdf&dir=publish&title=Ruey+S.+Tsay-Lec1 ... particularly the bottom of page 4.

The final model errors need to be free of not only auto-correlation BUT cross-correlation AND need to be free of pulses,level/step shifts, seasonal pulses & Local time trends. Furthermore the parameters of the final model and the error variance need to be homogeneous over time.  using something similar to https://autobox.com/pdfs/A.pdf
EDITED AFTER OP'S QUESTION:
b ( the delay) is the the # of periods before the first significant cross-correlation. s speaks to the denominator structure (output lag) and can be identified by examining the cross-correlation for possible "decay" . (this is similar to examining the acf for decay in univariate analysis) and r is the # of numerator coefficients (input lag structure) that are needed. AUTOBOX solves this problem via a heuristic search process similar to auto.arima in style that yields the answers to r,s, and b https://autobox.com/cms/index.php/blog/entry/watson-its-not-elementary
See http://viewer.zmags.com/publication/9d4dc62a#/9d4dc62a/66 for a very aggressive test of the AUTOBOX heuristic when the reviewer injected structure to test the viability of AUTOBOX.
This is the area of " Pankratz's subjectivity" which is dealt with via search procedures not so easily programmed which is why one uses "smart software" for help rather than spending a lifetime at the keyboard.
Various alternatives such as the corner method often fail to uncover the the correct combination of s and b . As a novice you might start simply by setting s=0 and r large enough to encompass the significant cross-correlations.
Finally the coefficents for the polynomial can be estimated by starting with the Impulse Response Weights.
If you are satisfied with my answer ...upcheck it and accept it to bring attention to the clarity it brings .
Comment: Thanks. Your answer cleared up a lot of things for me. I have a couple questions: 1)  How are the lags $(r, s, b)$ determined? 2) How are the weights for $V(b)$ estimated? are they found via equating coefficients of the rational polynomial such in a Koyck rational transfer model? In which case, how are the coefficients of those polynomials estimated?
Comment: https://stats.stackexchange.com/questions/410082/transfer-function-clarification/410801#410801 might be relevant to you as it is a good exposure to the mechanics
Comment: Wish I could upvote this. Thanks a lot you've given a wealth of information to keep me busy for a while. I also liked Alan Pankratz's **"Forecasting with
Dynamic Regression Models"** especially chapter 4, chapter 5 and chapter 9 which also adress these questions. I'll just leave this reference here in case it helps someone in the future.
Comment: ok ... then two things ... feel free to reach out me any way you can as I know that you know ! . Bye the way I had worked with Alan P. on some  things ..he being an author/writer and I being a statistician/programmer . Nice guy !
Comment: That's impressive. That's so nice of you thanks a lot !


HTML5 Input Date Type

Question: I created a HTML5 mock-up for a new page which would eventually become an editable form where users could update date fields. In plain HTML, I have something like this in the mock-up:
<input id="startDate" type="date" required runat="server">

In the final version, I have the above in a ListView with the date fields being populated from a DB:
    <ItemTemplate>

                View Start Date
                <input id="viewStartDate" type="date"
                    required runat="server">

        ....
    </ItemTemplate>

In the plain vanilla HTML version with type set to "date", the calendar pops up when the user focuses on the field, as desired. However, when I try  to populate this field in the ListView the date being pulled from the DB does not appear, only "mm/dd/yyyy" and the calendar. If I remove the type="date" property, I get the date from the DB but lose the calendar?
What I would like to happen is to have the date from the DB appear, and the calendar pop up when a user focuses on that field to update the date? Any solution?
Answer: If you pass the DateTime values as .ToString(), the type date and the calendar should follow.

HTML5 Input Date Type


Is it worth having two locks in exterior doors?

Question: I've noticed that some places have a lock in the knob and a deadbolt in the exterior doors, and some places have a knob without a lock and just a deadbolt.  Is there a benefit to having a lock in the knob I'm missing?
Answer: The lock in the knob can be set to be locked when the door is closed.  In other words, you do not have to do anything extra to lock the door, just pull it closed.  This can be good or bad depending on how you look at it (it can be easy to lock yourself out this way).  The dead bolt on the other hand always requires an extra step to lock the door (put the key in, lock it, and remove the key); this forces you to have a key in hand, preventing you from locking yourself out.
Depending on what you are doing/replacing, also check your local building codes.  Some types of deadbolts (the ones that require a key on both sides) may not be allowed in certain situations.
Comment: Great answer! I've locked myself out in a house with two locks, so I'll stick with a single dead bolt for each door.  It's cheaper as well.
Answer: I agree with Jeff and Mike's answers, but you also have to make sure the lock was installed correctly. When I bought my house and changed the locks, I found out that the strike plates installed (deadbolt and doorknob) on the front door were only screwed into the trim with 1/4" screws. It wouldn't have taken much force at all to rip them right out. (My guess is one well-aimed kick.) The new Schlage locks that I bought came with 4" screws for mounting the deadbolt strike plate THROUGH the trim and into the studs behind the frame.
Answer: From a security point of view two locks is better than one.
Some insurance companies might require that you have a deadbolt type lock, offering reduced premiums if you have a recognised standard one fitted.
Comment: The deadbolt is definitely a better lock than a standard doorknob lock. It is harder to break down or pry open the door with a deadbolt, since it is thicker and goes further into the frame. But really, if someone wants to get into your house, two locks instead of one is not going to stop them.
Comment: @gregmac - I quite agree - but insurance companies do have these rules.
Answer: I completely agree that having more locks can be helpful but also keep in mind that the brand and model also play an important part. AFAIK, some locks (including deadbolts) are still susceptible to bump-key techniques.
Sometimes you really do get what you pay for. ;-)
-M
Comment: With the proper tools, basically all locks can be picked or bumped. You can find youtube videos of even the highest security-rated locks being picked in a few seconds.
Answer: It's quite useful to have two locks in the door separating the house/apartment from the surrounding world but use just one of them. Locks happen to break, although that's quite rare. If one of the locks starts malfunctioning you can just stop using it and use the other one until you fix the first one.
I once had such situation - I was trying to lock the apartment and noted that the lock mechanism was just twisted weirdly and the key would fit into it. No problem, I found the key to the other lock, locked the other lock and went to the shop to buy a new mechanism.
Answer: Jeff Widmer's answer correctly points out the primary 'advantage/disadvantage' of knob locks: they can lock behind you without a key.
However, this very same 'feature' is why a lot of folks who have converted their deadbolts to smart locks are now replacing the accompanying keyed handles/knobs with unkeyed ones. The smart lock allows one to lock the deadbolt behind one without a key, thus obviating the need to have a keyed handle. In fact, paired with a smart lock, a keyed handle has only one purpose, which is to allow you to accidentally lock yourself out of your house.
Any burglar who can get through a deadbolt, smartlock or otherwise, will have absolutely no difficulty whatsoever bypassing a keyed handle lock.
Answer: Most key-in-knob locksets have some vulnerabilities that make them better as convenience latches than as serious security locks. Adding a separate deadbolt is definitely worthwhile unless you are in a VERY low-crime area... and even then, I'd suggest doing it on the principle of "if you're just a bit more secure than your neighbors, the burglar will bother them instead."


Recurrence Relation With Non-constant Coefficient

Question: I have a question that involves finding the closed form of the generating function for this sequence $$na_n = 3a_{n-1} -4a_{n-2}+ \frac{8.3^{n-2}}{(n-2)!}$$ with  $$a_0=2,  a_1=6$$
My lecturer told me to use the derivative of the generating function and solve the differential equation for it, but this comes out with an equation that can't be solved without using a lot of calculus, which I am not allowed to do. Any help would be appreciated.
Comment: The last term strongly suggests trying $e^{3x}$. Fitting the first two terms then points to $2e^{3x}$ which works. I guess that is not an approved method!
Comment: Yeah I have ended up with an $e^{3x}$ in  my attempts to solve it, but it just doesn't end nicely.
Answer: Let $A(x)=\sum_{n=0}^\infty a_n x^n$. To get to the differential equation, we first note that $A'(x)=\sum_{n=1}^\infty n a_n x^{n-1}$. With this in mind, we multiply both sides of the recurrence by $x^{n-1}$ and sum from $n=0$ to $\infty$ to obtain $$A'(x)=3A(x)-4x A(x)+8x e^{3x}$$ where we have used the fact that $\displaystyle\sum_{n=0}^\infty \frac{8x(3x)^{n-2}}{(n-2)!} =8x e^{3x}$ (since $1/n!=0$ for integer $n<0$).
One could solve this in a systematic way, but I'm not interested in such. Instead, I'll simply note that inspection of the ODE and the initial values of $A(x)$ (i.e. $A(0)=2$, $A'(0)=6$) suggests the guess $A(x)=2 e^{3x}$. This is readily confirmed to satisfy solve the initial value problem.


If the Earth left the solar system for interstellar space. How long would it take for atmosphere to freeze?

Question: If the Earth left the solar system for some reason. Assuming its moving at the same velocity it's currently exhibiting. How long would it take for the atmosphere to freeze. Would we get methane clouds like Titan. Would there be an atmosphere or would it all be frozen on the ground?
Comment: Sort of related, the "steppenwolf planet", an interstellar planet whose oceans never freeze: http://arxiv.org/abs/1102.1108
Comment: Since conduction/convection are not possible between a cosmic body and empty space, I suspect velocity has no relevance.
Comment: @Noldorin: well, if one really wants to calculate the time (part of) atmosphere would freeze then it's obviously necessary to take into account also the velocity, because distance to the Sun and so also radiation received from Sun would depend on it. @Justin: can you confirm that this calculation is what you are interested in?
Comment: @Marek: Oh, well I was imagining the Earth moving in empty space, ignoring the sun altogether. I think the question needs to be clarified in terms of the *model* being used.
Comment: related: http://scifi.stackexchange.com/q/9304/
Comment: of interest:
http://youtu.be/rltpH6ck2Kc
Answer: the Earth is emitting thermal radiation corresponding to its temperature, and losing the energy (and decreasing temperature) in this way. Normally, this is cancelled - every day or every year - by the energy coming from the Sun. The second term would be absent in your thought experiment.
So those 342 Watts per meter squared in average coming from the Sun (more precisely, only 250 or so because a part is reflected without any transformation of the energy form anyway, so it's like if it is not coming at all) would disappear from the budget. One needs to estimate the heat capacity of the atmosphere - and the relevant layers of the ocean that are capable to heat the atmosphere above it for a while. But you don't need to be that sophisticated. It's enough to look at the reality of weather - numbers that everyone knows.
In the continental climate, going from day to night lowers the temperature of the atmosphere by 1 Celsius degree in average (cloudiness makes the day-time difference smaller; sunny skies make it larger). Because what you say is just a permanent night, this rate of cooling would simply continue and continue. So the initial rate would be cooling by 1 degree per day or so; it would be slower above the ocean.
As the temperature of the Earth would be going down, the radiation would be dropping as the fourth power of the absolute temperature (in Kelvin degrees). The atmosphere would be getting cooler, partly condensed (if not frozen), and much thinner. So once the absolute temperature decreased by 20 percent (note that $1.2^4$ equals 2 or so) or about 50 Celsius degrees, the rate of cooling would drop to 1/2 of the original one. At any rate, you need a few months to get to minus 50 degrees or something like that. The ocean would still be oscillating for a long time and it would try to unmelt the thinner atmosphere right above it - just like the circulation of water beneath the ice in a pond. Note that deep ocean circulation takes 1,500 years or so.
So of course, the ocean wouldn't freeze over for a very long time. But that's already a different question. Needless to say, heat almost doesn't get beneath the solid ground - kilometers below the rocks, they wouldn't notice that the Sun is gone for thousands of years or much longer.
Best wishes
Lubos
Answer: If you could suddenly drop a big screen between the Earth and Sun, the initial rate of energy loss would equal the total solar energy input:
$$\frac{dE}{dt} = \alpha F A_e .$$
Where $\alpha$ is the mean albedo, which Wolfram puts at $0.37$, the flux is $F = 1400\frac{\text{W}}{\text{m}^2}$, and the radius of the Earth is $R_e = 6.4 \times 10^6\text{ m}$, I get $7 \times 10^{16} W$.
Now, the atmosphere masses roughly $5 \times 10^{18}\text{ kg}$ (Wolfram again), and the heat capacity of Nitrogen gas is $c_p = 30 \frac{\text{J}}{\text{mol K}} = 1070 \frac{\text{J}}{\text{kg K}}$. So the initial cooling will be around $1.3 \times 10^{-5}\text{ K/s}$, or about one Kelvin per day. That rate will drop by the fourth power of the temperature (use absolute units!).
Things left unconsidered:

I've neglected the oceans, and geothermal heat. Both effects will slow things down, the ocean considerable, geothermal, not so much. There is also a great deal of heat in the rock itself, but rock is a much better insulator than water, so it will have a smaller effect in the short term. Still, head into a deep mine or cave to stay warm, and watch out for the mineshaft gap!
The heat of vaporization of water vapor and the heats of fusion of liquid water and carbon dioxide will slow things down while the phase transitions happen. There will be other phase transitions later on, but they won't matter to the frozen corpses...
I've used a blackbody approximation which is surely not exact, but it should do for our purposes.

As Omega says in the comments all these factors are mitigating, and the real rate of temperature loss could be a factor of several (maybe even ten) lower than the above calculation. There are a lot of details that really matter, and things will change as the atmosphere changes (more clouds, then less, possible carbon dioxide clouds...) and the oceans freeze over.
However, the fact that the day/night temperature cycle is much larger than the daily change derived above suggests that the temperature near the Earth's surface is only loosely coupled to the mean atmospheric temperature (I guess that's not a big surprise as the surface is probably the warmest part of the atmosphere), so you can expect surface temperatures to drop much more rapidly than than the mean at first. How much faster? Well, like the day-to-night change initially, though I'd guess this will slow pretty quickly.
Comment: I think you are on the right track. However the oceans contain many times order(100) as much heat as the atmosphere, so they would be crucial in determining the time scale. Water vapor in a cooling atmosphere would condense into clouds anf fog, and this would insulate the planet somewhat, slowing the rate of cooling. However, as the temperature drops the amount of water vapor in the atmosphere would decline. We get a lot of greenhouse warming from water vapor, and that would vanish as the temp drops.
Comment: Also before too long the ocean's surface would freeze, largely decoupling the atmosohere and surface from the heat content of (4C) water underneath. Geothermal heat is about 1 part in ten thousand of the solar input, so the equilibrium temperature would be about a tenth of current, say 30K.
Comment: @Omega, The oceans are surely important, but how quickly do they exchange heat with the atmosphere? I'm no climatolgist...  I mean, water is a pretty good insulator when static, but convection will dominate until the ice forms. In any case, I think we can say that things are affected soon, but it takes long enough for everyone to die to allow for as many stories as you care to tell in the mean time... The fate of humanity is settled by the time the $CO_2$ freezes out, though people could hang on for a while.
Comment: dmckee: Ocean heat is pretty important. England has much much warmer winters than Edmonton, because of the Gulf stream. Once the contrast between air and water becomes substantial (say 10 to 20C) the rate of transfer will become high. But water is a unique liquid, with max density around 4C, so once it cools to that temp or below it will become stratified with no more convection, then it has to transfer heat via conduction, which is slow.
Comment: Thanks all. Great info. I figure the oceans will take 10s of years to even develop a crust. And assuming the ice is then insulating the ocean it Wil. Probably remain liquid for 100,00s or even millions of years with the heat from the earth etc.
Comment: Thanks dmckee for those figures and thanks omega for the other info. This is interesting stuff.
Comment: Initial cooling will be uneven. The daytime atmosphere generally cools at the adiabatic lapse rate, as outside of polar regions there is a net positive radiation balance at the surface. The excess heat is convected upwards towards the tropopause to roughly 10KM height. At night the surface has a net radiative loss, and unless wind carries heat downwards the surface and lower atmosphere cools quickly. But substantial IR radiation from the upper atmospheric heatsink means there is still substantial coupling. Find a good textbook in planetary atmospheres.
Answer: Velocity relative to where? Not that crucial though =)
It would take a matter of hours(maybe a few days) if you instantly take it to an empty space. It would take a few weeks if you gradually move away from the Sun. Let me note that as Noldorin said the only way of heat transfer is via radiation, but since Earth is a relatively good radiator, it would not take very long.
There would almost always be an atmosphere because there simply is enough gravity to attract gas, no matter what kind of gas it is. It will surely be dimmer&less dense though. There is not nearly enough methane on Earth to form a methane cycle similar to that of Titan. Titan possesses maybe hundreds of times more methane than Earth.
Comment: You a right :) it was a combination of wine and late night. I meant the speed the earth travels which is around 100,000 km /h. Assuming it is travelling away from the sun. I figure there must be enough rare gasses that won't condense at a certain temperature.


unbounded power series

Question: I want a reference to the literature of a power series convergent in the whole CLOSED
  unit disk,but unbounded there.
Answer: An example of such a series is given in:

W. Sierpiński "Sur une série potentielle qui, étant convergente en tout point de son cercle de convergence, représente sur ce cercle une fonction discontinue" Rendiconti del Circolo Matematico di Palermo, Volume 41, Issue 1, pp. 187-190

I learned about this from Julien Melleray in an answer to the following question Does a power series converging everywhere on its circle of convergence define a continuous function? (which seems very close but then not the same as this one).
Also the answer of George Lowther there is very interesting.
To avoid potential confusion let me stress that while the title of the paper talks about discontinous, the function constructed  by  Sierpiński is actually unbounded (and thus discontinous).
Comment:  I'm a novice "overflow" user and highly computer illiterate,but wish to heartily thank this respondent for such a complete answer to my
question,with detailed literature reference. I "knew of" the Sierpinski paper but had indeed been misled by its title into not
examining it. Now I have and it's beautiful,clear and ingenious. More
egg on my face: The review in the old JAHRBUCH (which I'd long ago
seen) mentions the unboundedness! Thanks again.
                                                   Bob Burckel
Comment: You are very welcome!

unbounded power series


Merging entities to existing feature class?

Question: Do you have any idea how I can merge entities to an existing feature class that already has the same structure and not in an existing feature class as the ArcGIS tool proposes?
Comment: Have you looked at both Append and Merge?
Answer: If you are attempting to combine two sets of features in seperate feature classes, merge may not be the tool you are looking for.  Append allows rows and features/shapes from one feature class to be appended onto another.  In the process it will attempt to map columns from the append features class with the target by name matching.  If column names don't match perfectly, you also have the option to specify the column mapping.
As an alternative, if the column names in both sources match exactly with both the target and the second feature class open in ArcMap, you can simply start an edit session on the target feature class, select the second feature class in the table of content, select all rows from it, right click on the map > choose copy > right click again >choose paste and arcgis will "copy"  all the feature from the second feature class into the target, mapping the column at the same time.
Obviously the geometry types in both feature classes must match with either method.


Multisite with path, how to change the main site

Question: I have a network installed on my wordpress with 4 websites

domain.com --> Old website
domain.com/fr --> New website in French
domain.com/en --> new website in english
domain.com/es --> New website in spanish

Instead of copy/pasting the contents of the new FR website onto the old website, i'd rather change the "main site" of my network and show everyone that goes to domain.com the new FR website.
2 options:

Either I redirect everyone to domain.com/fr. I've searched for ways to do that but I did not manage to implement any of the solutions. Some speak of creating a php file, uploading the plugin on the FTP, activating it and voila... but no luck.
I change the main site in the wp-config file and the old website on my domain becomes domain.com/oldFR and the new FR website becomes domain.com.
<code>define('DOMAIN_CURRENT_SITE', 'domain.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
</code>

This second option seems a lot better to me. But i can't get it to work. I'm not sure what to change in the wp-config file nor am i sure if that is the only thing to do or if anything is required.
Do you guys have any idea ?
Thanks in advance for the help
Answer: Ok I actually ended up finding an answer by myself :D
Check out this blog post: http://halfelf.org/2014/switching-main-blog-multisite/


Does this example violate the independence assumption?

Question: I have data for 72 employees, each of whom have between 10-30 evaluations from various supervisors. Each evaluation is anonymized, so we don't know who gave each evaluation, and we also can't be sure that multiple evaluations aren't written by the same person over different time frames.
If I group my employees into two bins that are roughly equal size (group A and group B) to run some kind of proportion test, and treat each evaluation as a new datapoint, am I violating the independence assumption?
Comment: There are three forms of non-independence going on here: multiple assessments within the same subject, multiple assessments from the same supervisor (likely), a learning effect (presumably subjects getting negative or positive evaluations adapt to them somehow) and contamination (interaction between employees working in the same setting).
Comment: @AdamO oh wow so there are actually four then. Presuming I create a multi-level model with employee as the intermediate level to control for multiple assessments of the same subject (form 1), would it be okay to do an analysis as long as I acknowledge that the results may be flawed due to other uncontrollable sources of non-independence?
Answer: These data points are almost certainly not independent. It doesn't matter if there are many evaluations are written by the same person, as there are certainly many evaluations written about the same person. The dozens of evaluations of some particular employee are almost certainly not independent of one another, no matter who writes them. I would expect that an employee who has many good evaluations is more likely than usual to get another good evaluation - some employees consistently get good evaluations, while some consistently get poor evaluations. I would be very surprised if each employee had an equivalent random assortment of good and poor evaluations. There will be even greater dependence if the evaluation is also written by the same person, but as long as it's about the same person, it's not going to be independent.
Answer: Yes, it is very likely. The evaluations for each employee are likely to be correlated, and if the same supervisor writes multiple evaluations, those are likely correlated. Each evaluation is in a cluster with the other evaluations for the same employee, and in a cluster with the other evaluations by the same supervisor. Note that we call measurements "clustered" when we think they are likely to be informative about other measurements that share a common characteristic. For example, if five different supervisors give an employee a very high rating, we can do better than a random guess on how supervisor 6 will rate an employee (all our evidence suggests that this employee should get a high rating). We know even more if we are aware that supervisor 6 tends to be either lenient or harsh with their evaluations.
A test that does not account for these clusters will likely underestimate the variance and thus is more likely to lead to an incorrect test conclusion. If the evaluations are anonymous though, there is not much you can do about it.


Would a Digitech RP90 or 255 effects pedal work on vocals?

Question: Does anyone know if a Digitech effects pedal intended for a guitar could be used as part of a vocal chain following a Tube preamp? Or would it just be garbage?
Answer: Yes, but...
It would depend on the effect and vocal range of the singer. It will sound much better through pedals designed for vocals, but it will still work. Distortion won't sound too great, but delays, echoes, and compression will work just fine. I can tell you from experience, as I run guitars and keyboards through bass pedals and the other way around. Distortions and wahs almost never sound right with pedals designed for different frequency ranges.
See here or search "vocals through guitar pedals".
Comment: I'll just add that if you have the pedal, try it!  Frequency ranges aside, if you like the sound, use it.  As a keyboardist, we often have to resort to guitar pedals for decent effects.  Part of the fun is figuring out how to work with the very much altered tone post effects.


Casmir effect creating positive energies in vacumn

Question: The Casmir force is explained by wave exclusion: Two parallel plates create a reduction in the possible modes of vacuum oscillations between them, reducing the energy of the vacuum. Since we define vacuum far from any plates as "zero" energy, a reduction of energy creates a negative energy. However, these sources also state that sometimes the regions in the vacuum gets a positive energy (depending on the geometry of the conductors). If so, how would "exclusion" create extra energy in a region?
Comment: Related: http://physics.stackexchange.com/q/79218/2451
Answer: This is an interesting question. In 3 spatial dimensions, one may compare different topologies like paralles plates, infinite cylinder, and sphere. The first 2 toplogies have the same sign for the Casimir energy, while, for the sphere, the sign is different.
A short and violent answer would be "Shut up and calculate", but this is not quite satisfactory.
The Casimir energy for the infinite cylinder, while negative, is smaller (in absolute value) than the Casimir energy of the parallel plates, (with same specific length). So, we have a progression :
parallel plates -> infinite cylinder -> sphere
If we try to find the differences, my feeling is that we have to look at the concentation of the modes in some points. The concentration is null for parallel plates, it is 1-dimensional for the cylinder (a line of concentration points), and there is a unique concentration point  for the sphere. It seems that, more the concentration of the modes is important is some point, more the total energy becomes positive.
Of course, it is a feeling, it would be interesting if someone would be able to bring a mathematical proof of that.
Note that the logic is qualitatively the same for the bosons modes and the fermions modes, while the numeric results are different.
Comment: What are "concentration points"?
Comment: Well, if I imagine radial modes for the cylinder and the sphere, there is a point where these modes crosses each other, the center of circles for cylinder, and the center of the sphere. So, I called these points "concentration" points. My idea was that this "concentration" could be the reason of appearance of a positive energy, but I have no mathematical proof of this.
Comment: Could it be some form of resonance?
Comment: Well, I was thinking about a kind of repulsive force due to the fact that the radial modes crosses at some point... I don't know if this corresponds to your notion of resonance.


How can I move customer community from one Dev org to another?

Question: How can I move customer community from one Dev org to another Dev org. I use maven mate and eclipse to move meta data.
Comment: Hi Ankit, welcome to SFSE. Please take a moment to scroll through the [tour] and read [ask]. Please note the purpose of a title is to convey your issue *as concisely as possible*. Adding greetings in your title is wildly off topic. Greetings aren't really on topic in the body of your posts either. Stick to information.
Answer: You can move community using Eclipse IDE. You can follow the steps given here.
Migrate Your Community with Change Sets
The only difference here is instead of Change set you will use Eclipse IDE. In the IDE Select the Network component type, choose your community, and then add it. Select all the dependency as well and then deploy it to another org. There are some prerequisite steps as well which you need to follow as well.
If it is a Lightning Community you can follow steps here : Ways to Deploy Lightning Communities
Comment: Thanks a lot Tushar. I was not sure that communities comes under Network component. Do you know what is communities component in IDE is for ?
Comment: @AnkitMunhet That [Community will be this](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_community.htm).I am not quite sure here. But you will find community under Network.
Comment: was able to move the community to new dev org however when i am opening the builder it is giving me error - Cannot read property 'get' of undefined. When I login to community from the URL - An internal server error has occurred
An error has occurred while processing your request. The salesforce.com support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support.
Comment: @AnkitMunhet did you follow all steps correctly. Including create a new community?
Comment: Ok ! I read it now that you need to create it with the same name. However when doing it with eclipse it created community with the same name in the target org.
Answer: You need Data Loader:

The Force.com platform offers you a development environment which you can use to create your own custom applications. Frequently, you will use the Force.com platform to create applications that operate on data that you already have in some form - in comma-separated variable files, spreadsheets or other relational databases.
The Data Loader is an easy to use graphical tool that helps you to get your data into Salesforce objects. The Data Loader can also be used to extract data from database objects into any of the destinations mentioned above. You can even use the Data Loader to perform bulk deletions by exporting the ID fields for the data you wish to delete and using that source to specify deletions through the Data Loader.
The Data Loader requires the use of the Force.com API. If your Salesforce edition allows the use of the API (Enterprise, Unlimited and Developer Editions), you can download the Data Loader from the Setup menu, under Administer heading - Data Management.
Comment: The question is around moving metadata and not data here .