At :    At :    The little green check mark is slightly too high in the second image.  Please just lower it a bit.    Another instance of bug found on :      Produced on:   Windows 8.1 Chrome V 47.0.2526.111 with default settings   Mac OS X El Capitan Chrome V 47.0.2526.111 with default settings Mac OS X El Capitan Safari V 9.0.2 (11601.3.9) with default settings Win 7, Firefox 62.0     The issue is still here after a long time, I would like to hear if this is going to be fixed or not.


How to apply different color for each lightning tab in Lightning tabset?

Can we apply different colors for the above two Lightning tabs ?? My requirement is to apply Red color for "Item One" and Green for "Item Two". Please help me how to do.   <lightning:tabset> <lightning:tab label="Item One">     Sample Content One  </lightning:tab> <lightning:tab label="Item Two">     Sample Content Two </lightning:tab>


Would a two word domain name with a shared letter between the words be treated the same for SEO as the fuller name?

I found a domain name (2 words) that is not available.  Then I found almost the same domain name with a slight difference, the last letter of the first word is the same of the first letter of the second word. Ex : jamessecret.com (not available)      jamesecret.com (available)  In terms of SEO, is it seen as the same to Google? Would search engines interpret them the same?


I’m trying to build a 5V output @ 200mA. I have a full wave bridge rectifier attached to a transformer with a capacitor reservoir of 100uF, using a LM7805 voltage regulator and with a 0.1uF cap as well. To get the 200mA that I needed I used ohms law to find I needed 25ohms (5V/0.2A=25ohms.) But that power will burn out my resistor so I thought that I should use 4x 1/4W 100ohm resistors in parallel to achieve the same result. When I turned on my circuit, my voltage regulator became super hot and the voltage I recorded was lower then 5V (3.8V).   I've attached the schematic I drew to show how I wired it. Can you tell me what I have done wrong ? Sorry for the crappy drawing in advance.


Is there a difference between "wear make-up" and "put on make-up"? If yes please give some examples.


The center of a ring $R$ is $\{c\in R : cr=rc $ for every $ r \in R\}$. Prove that the center of a ring is a subring. What is the center of a commutative ring?  Is my solution right?  solution  You just need to prove that the centre is a ring within itself.    Associativity of both addition and multiplication is inherited from R, and distributivity of multiplication over addition is inherited from R.  Show that it is a group under addition:  Take a and b in the centre and r in R.  Then  $(a + b)r = ar + br = ra + rb = r(a + b)$   hence it is closed under addition.  Show that $0$ (additive identity) is in the centre.  $0 = 0.r = r.0$  so $0$ is in the centre.   For a in the centre, there exists $-a$ in R such that $a + (-a) = 1 = (-a) + a$  Show that $-a$ is in the centre.  Let r in R  $0 = 0.r = (a + (-a))r = ar + (-a)r $ and  $0 = r.0 = r(a + (-a)) = ra + r(-a) $  as $ ra = ar$, it follows that $(-a)r = r(-a) $ Hence inverses exist in the centre.  So the centre is a group under +.    Show that the centre is closed under multiplication:  For a,b in the centre and r in R,#  $(ab)r = a(br) = a(rb) = (ar)b = (ra)b = r(ab) $   thus multiplication is closed.  And show that 1 (the multiplicative identity) is in the centre.  $1.r = r = r.1$ hence 1 is in the centre.   So the center is a subring of R.   The center of a commutative ring is the ring itself. (By definition the centre is the ring of all commutative elements.)


ID for TSA regarding name on boarding pass

What if my first name doesn't exactly match my ID?


Cannot Remove Write Protection From My USB Drive

Today, one of my long used USB pen drive suddenly become write protected. Whenever I try to save or copy a file to it, it will popup and says "the disk is write protected".  So, I did some googling and try to remove write protection with attributes disk clear readonly. But the problem is, it seems to be doesn't remove the read only state and I am still unable to write file to my USB drive.  DISKPART> attributes disk clear readonly  Disk attributes cleared successfully.  DISKPART> attributes disk Current Read-only State : Yes Read-only  : No Boot Disk  : No Pagefile Disk  : No Hibernation File Disk  : No Crashdump Disk  : No Clustered Disk  : No   How can I solve it?


I've been a user of version 12.04 for about 6 months with a dual boot system with Windows.  In an attempt to delete Windows, I made a mistake and needed to reformat the Hard Drive.  I had version 12.04 on a CD and tried to do a boot install.  It didn't work, probably because I needed the correct installer.  I found an old thumb drive with Ubuntu installed, and was able to load version 10.10, thinking that the update process would be easy.  Unfortunately, it wouldn't update because the support for that version ended last year. So I downloaded the current version 12.04.4 to both a DVD and to a thumb drive, but neither would install.  I tried to work with the terminal function, but have not been able to figure out the correct syntax.  Help.  Should I reformat the drive, if so, How? Or is there another way to install version 12.04 that I haven't tried?  Ken


C Library Function Actual Implementation

I was wondering where I can find the actual C implementation of atoi() (or other such functions). I looked into stdlib.h but it seems like atoi is not implemented there. Is there a way to view the libc source tree and see the actual C code?


Printing in a function vs sequence of print statements in main_

I writing a program for Hangman in Python 2.7. I'm trying to get the program to create the gallows and the hanged figure rather than me assembling them as a string and placing them in a list. My problem is the output from successive print statements gives me what I want but when I put the code in a function the result is skewed e.g.  print chr(47).rjust(4), # Right arm           print chr(124), # backbone print chr(92) + chr(124) # Left arm + tree    gives me this /|\ | --- inner slashed are concatenated  In a function:  def erect_gallows(bad_guess):     if bad_guess == 1:         print chr() - - -         .....         .....     this gives me this --  /  |  \  | with the slashes separated, out of alignment. Don't know why the print statements work outside but not inside the function. The function does not return anything, it just prints.


How do I sort multiple blocks of text by the first line in each block in Vim?

I have multiple blocks of text, or in other words, multiple functions like this:  def ==(other)   ... end  def to_s(full=false)   ... end  def to_a   ... end  def to_hash   ... end  def inspect   ... end   I want to sort the functions alphabetically by the function signature. How can this most easily be done in Vim?


smartctl on external hdd inside ide-to-usb enclosure

I have a very old 2.5" IDE drive inside a USB enclosure that gives some buffer I/O error. I tried to use smartctl to see what SMART says about it, but I can't manage to make it work. Being root, if I just write:  #> smartctl --all /dev/sde   smartctl answers:  /dev/sde: Unknown USB bridge [0x14cd:0x6600 (0x201)] Smartctl: please specify device type with the -d option.   So I've tried every -d TYPE available in the help summary, and the best result is achieved with:  #> smartctl --all -d scsi /dev/sde   that outputs:  Vendor:               IC25N030 Product:              ATMR04-0 User Capacity:        30,005,821,440 bytes [30,0 GB] Logical block size:   512 bytes scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.   If I also add -T permissive the last line is replaced with:  Error Counter logging not supported Device does not support Self Test logging   It seems that just a few models of USB enclosures are  by smartmontools. Is there something that I'm missing or simply the device implements an archaic version of SMART without any counters (and hence almost useless)?


Can I Start particular program with different language settings in Windows

I am using my windows with Turkish language as first choice. Non-Unicode programs also use Turkish language.  My particular program, Visual Studio 2005 (Business Intelligence Studio 2005) is behaving strangely with this language setting. It has no problems with English Language settings.   I would like to start only this program with English Language Settings.   I can use new bat/cmd file. Modify shortcut etc. Every solution is welcome. Only I do not want to change entire windows settings.  I am using Windows 7.


How to automatically plot intermediate contours with QGIS, GRASS GIS or SAGA GIS?

I'm mapping a steep mountain range. My main contour interval is 50 m and my intermediate contour interval is 10 m. In steep areas, the interval of 10 m is too small, so I need to leave of the 10 m-interval and use 20 m or 25 m instead.  Is there a way, to do that automated in ,  or ?


Understanding Bayesian Predictive Distributions

I'm taking an Intro to Bayes course and I'm having some difficulty understanding predictive distributions. I understand why they are useful and I'm familiar with the definition, but there are some things I don't quite understand.   1) How to get the right predictive distribution for a vector of new observations  Suppose that we have built a sampling model $p(y_i | \theta)$ for the data and a prior $p(\theta)$. Assume that the observations $y_i$ are conditionally independent given $\theta$.   We have observed some data $\mathcal{D} = \{y_1, y_2, \, ... \, , y_k\}$, and we update our prior $p(\theta)$ to the posterior $p(\theta | \mathcal{D})$.   If we wanted to predict a vector of new observations $\mathcal{N} = \{\tilde{y}_1, \tilde{y}_2, \, ... \, , \tilde{y}_n\}$, I think we should try to get the posterior predictive using this formula $$ p(\mathcal{N} | \mathcal{D}) = \int p(\theta | \mathcal{D}) p ( \mathcal{N} | \theta) \, \mathrm{d} \theta = \int p(\theta | \mathcal{D}) \prod_{i=1}^n p(\tilde{y}_i | \theta) \, \mathrm{d} \theta, $$ which is not equal to $$ \prod_{i=1}^n  \int p(\theta | \mathcal{D}) p(\tilde{y}_i | \theta) \, \mathrm{d} \theta, $$ so the predicted observations are not independent, right?  Say that $\theta | \mathcal{D} \sim$ Beta($a,b$) and $p(y_i | \theta) \sim$ Binomial($n, \theta$) for a fixed $n$. In this case, if I wanted to simulate 6 new $\tilde{y}$, if I understand this correctly, it would be wrong to simulate 6 draws independently from the Beta-Binomial distribution that corresponds to the posterior predictive for a single observation. Is this correct? I don't know how to interpret that the observations are not independent marginally, and I'm not sure I understand this correctly.  Simulating from posterior predictives  Many times when we simulate data from the posterior predictive we follow this scheme:  For $b$ from 1 to $B$:  1) Sample $\theta^{(b)}$ from $p(\theta | \mathcal{D})$.  2) Then simulate new data $\mathcal{N}^{(b)}$ from $p(\mathcal{N} | \theta^{(b)})$.   I don't quite know how to prove this scheme works, although it looks intuitive. Also, does this have a name? I tried to look up a justification and I tried different names, but I had no luck.  Thanks!


How to understand what's taking up disk space?

I'm looking for a linux alternative to . I would like to know what is taking up space on my hard drives.  A program that works on console and doesn't require a UI is preferred .


How can Hinge loss be upper bound of the 0-1 loss?

I just have a question and I did not find clear explanation, hinge loss is upper bound of 0-1 loss, so does this mean upper bound regard to a single point loss such as 0 or 1 ?!. So, for example the 0-1 loss for set of points is 0 or 1, and for hinge loss we have continuous loss values from 0 to inf. So, by comparing the set of loss values for 0-1 loss and hinge loss we find the lower bound is 0 and upper bound is 1. I am right?!. This is the link: . Please see the page 3, the first paragraph under the title "Conditional Φ-risk and classification calibration". Thanks


Clarify the "8 hour delay" self-answer message to discourage self-answering with edits or comments

It's not uncommon to find new users editing or commenting on their questions with something along the lines of "Update: I solved it by Xing the Y with Z" instead of posting their solution as a self-answer. This is an ongoing issue that I think isn't helped by the 8-hour delay for new users (<100 rep) between posting a question and self-answering.  This delay has been in place , though not having encountered it personally, I only learned of it this morning. The message shown to new users attempting an early self-answer is:     Oops! Your answer couldn't be submitted because: Users with less than 100 reputation can't answer their own question for 8 hours after asking. You may self-answer in [ N ]  hours. Until then please use comments, or edit your question instead.   Emphasis mine. So, what action is this message specifically recommending? Before you answer, make sure you've got your "new user" hat on, because only new users are seeing this message at all. And when they see this message, it's because they clicked the "answer" button, which - despite its frequent misuse - suggests that they may actually be trying to answer the question. So it should come as no surprise when a well-intentioned new user :     The error message from Stack Exchange told me to try just editing my question to include my answer...   The purpose of the feature is explained (or intuited) at greater length in , which notably includes the following:     If you want to respond to another user's answer in order to to ask for clarification or additional help, you should leave a comment (new users can always comment on their own questions). If someone asks you for additional information, you should edit your question to include that information.   That's a good explanation. It's clear, brief and identifies specific uses of comments and edits. If prompt self-answering is a trigger for the system to step in, apply the brakes and deliver some important knowledge and if we've identified this as an opportunity to educate new users, that's the type of message they need to see - not something akin to:     Oops! You couldn't drive that nail because: Users who have built fewer than 10 birdhouses can't use the hammer for 8 hours after opening their Acme Birdhouse kit. You may drive a nail in [ N ] hours. Until then please use the screwdriver or chisel instead.   So here I am, just back from the hardware store with a bag full of nails, and that screwdriver looks pretty sturdy...  I'm not the first to point this out as potentially confusing; Benjamin Gruenbaum said much the same thing in a nice answer last year to :     A user reading this might understand "You should edit your question instead of posting a self-answer". I think a better phrasing is needed.   Well, Benjamin, I agree - so here's a feature request. Let's revise this message so that it doesn't mislead new users into thinking that self-answers are ever appropriate to leave as comments or edits to the OP.


What was with the two different colored prison uniforms in Daredevil season 2?

In Daredevil S02, we see two kinds of prison uniforms, full orange and full white. We see in the flashback that Wilson Fisk gets a white prison uniform but his current one was orange.  The Punisher was also given a white prison uniform but most of the prisoners had orange uniforms. What was with the two different colored uniforms? Does it have some significance or is it just random? Does it happen similar in real life US prisons too?


Fourier coefficients of $\chi_E$ assuming $m(E)=1.$

Let $E$ be a Lebesgue measurable set in $\mathbb{R}$ having measure $1$. Prove that there is an integer $n\neq0$ such that $\int_Ee^{inx}dx\neq0$.  This is an exercise problem. A hint is given: periodize with period $2\pi$. However, I still do not have an idea how to prove it. Any help will be appreciated.


How to make hot chocolate drink thicker?

How do you make a cup of hot chocolate drink so that it's sweet and thick and maintains the chocolate taste?  I haven't been able to make anything acceptable by melting chocolate, adding sugar, milk or water. At best it tasted like crude cocoa drink. My cooking skills are very low, so please describe every step thoroughly.


Proof: If $n=ab$ then $2^a-1 \mid 2^n-1$

I don't know how to explain or how to prove the following statement  If $n=ab$ and $a,b \in \mathbb{N}$ then $2^a-1 \mid 2^n-1$.  Any ideas? Perhaps an induction?  Thanks in advance.


Riemann Zeta function's analytic continuation relationship with simple closed formulas

Consider the famous output of the analytic continuation of the Riemann zeta function at negative values : $$ \zeta(-1) = 1+2+3+4... \hspace{3mm} =  \dfrac{-1}{12} $$ Now consider the closed formula which Gauss discovered for the sum of the first $n$ integers($i,n \in \mathbb{N}$): $$ \sum_{i=1}^{n}i = 1+2+3+4...+n =  \dfrac{n(n+1)}{2} = \dfrac{n^2}{2} + \dfrac{n}{2} $$ We Find the roots of the closed form ( using my special analytic Theorem which is based on the principal : " I decide the function is continuous now ") : $$ n_1 = -1 $$ $$ n_2 = 0 $$ Now we find the right to left definite integral between the two roots (by leaning on the same analytic method I described above): $$ \int_{0}^{-1} \dfrac{n^2}{2}+\dfrac{n}{2} dn  =  \dfrac{n^3}{6}+\dfrac{n^2}{4}\Biggr|_{0}^{-1} = 0 - \left(\dfrac{-1}{6}+\dfrac{1}{4}\right) = \dfrac{-1}{12} $$ I can't prove it for all negative values of $\zeta$, I have verified the same relationship is true for $\zeta(-3)$ and the closed form of $n^3$ which integrates into $\dfrac{1}{120}$ if we use my "special analytic method". Now on a more serious note, can anybody please explain this to me? When I look at the functional equation for the analytic continuation of the zeta function, it seems like an impenetrable fortress, yet it turns out it is possible to produce these results with simple (illogical) assumptions regarding continuity of discrete functions?


How come Star Trek starships don't have better computer security?

I'm curious if there's a good in-universe explanation for this.  In Star Trek II, we see Admiral Kirk have to give a  to access Project Genesis data.    Memory Alpha also lists the  as having a retinal scan, so the technology still exists in the 23rd century.  But then there's  where Data takes complete control of the Enterprise by emulating Picard's voice. It seems to me that this is a massive security hole because, as demonstrated, an emulated voice is good enough to fool the on-board computer(which also makes me wonder why nobody else tried to do it like that, since it seems trivial enough).  Why not use some form of biometric system (or even some sort of two factor authentication like a communicator) for critical things like locking out command functions and such?


Difference between B and H in magnetic fields?

I'm confused between them. Can someone explain the difference between them? Is $\vec H$ field only relevant during magnetization or demagnetization? $\vec H$ is just that value needed to magnetize/demagnetize or what is it useful for?   Is $\vec H$ only relevant to solenoids or magnets as well? Does it make sense to state a magnet has a field of $0.5~\mathrm T$ and a field strength $\vec H$ of $9\times10^5~\mathrm{ A/m}$?


Is my expansion of the state $| x \rangle$ correct?

In my quantum mechanics textbook it says that the relation between the basis $|x\rangle$ and $|p\rangle$ is given by:  $\langle p | x \rangle = \Large \frac{e^{-ip x/ \hbar}}{\sqrt{2\pi \hbar}} \, .$  However, i'm not sure how to go about proving this relation. My idea was that the eigenstates of momentum can be written as below:  $\phi(x,p) = \Large \frac{1}{\sqrt{2\pi \hbar}} e^{-ipx/\hbar},$  which form an orthogonal basis.  But, we can expand any state, $|\text{state}\rangle$, in terms of the othorgonal basis right? So is my notation below correct for the expansion of the state $| x \rangle$ ?  $|x\rangle = \int_{-\infty}^{+\infty} \phi(p', x) |p'\rangle dp'$  If it were correct then the following would also be correct?  Using the fact that $\langle p | p' \rangle = \delta(p - p')$, $\langle p | x \rangle$ can be computed:  \begin{align} \langle p | x \rangle =& \int_{-\infty}^{+\infty} \phi(p', x) \langle p | p' \rangle dp' \\ =& \int_{-\infty}^{+\infty} \phi(p', x) \delta(p - p') dp' \\ =& \phi(p, x) \\ =& \Large \frac{e^{-ip x/ \hbar}}{\sqrt{2\pi \hbar}} \end{align} as required.  Does the logic work here?


I've been thinking about this ever since I re-watched Star Wars. It occurred to me that soldiers are shooting what look like lasers, but somehow Jedi and Sith can deflect them with their light sabers. Furthermore, when the blasters are shot, one can see the flight path of the bolt of light. Obviously, they don't use bullets, so they have to be lasers. But if they were lasers, one wouldn't be able to see a 'laser bolt' and a Jedi or Sith couldn't deflect blaster fire.  So what are blasters?


I am having an issue compiling math equations. I got a weird comma symbol with lualatex. Here is a MWE and the result :  \documentclass[french]{report} \usepackage{fontspec,luatextra,xunicode}  \usepackage{amsmath}  \begin{document}  \begin{align*} B_{T}&= 0,23\\ \end{align*}  $10,98$ \end{document}     It seems for me that the issue would be related to a package update as this code was working some week back then.  Thanks for your help :)


AES - What is the advantage of a 256-bit key with a 128-bit block cipher?

I'm just trying to wrap my mind around the decision to select the 128-bit Rijndael as the AES cipher, even with 192-bit and 256-bit keys. Even with a 256-bit key, you only get 2^128 possible outputs per 128-bit block, thus kind of rendering the larger key size meaningless (not to mention the weaker key schedules).  Was this a NIST oversight when standardizing AES?  (Answering this isn't urgent. I'm using libsodium, which uses Xsalsa20 + Poly1305, in most of my projects these days, but it's something I don't readily know the answer to.)


Horizontal alignement of axis environments inside tikzpicture

How to horizontally align multiple (3+) axis environments inside one tikzpicture with the same spacing between them?   Note that I need to have another tikzpicture on top this tikzpicture, with everything inside one figure environment.  Thanks in advance for your answers.  NS


Is trace invariant under cyclic permutation with rectangular matrices?

I'm working with trace of matrices. Trace is defined for square matrix and there are some useful rule, i.e. $\text{tr}(AB) = \text{tr}(BA)$, with $A$ and $B$ square, and more in general trace is invariant under cyclic permutation. I was wondering if the formula $\text{tr}(AB) = \text{tr}(BA)$ holds even if $A$ and $B$ are rectangular, namely $A$ is $n$-by-$m$ and $B$ is $m$-by-$n$. I figured out that if one completes the involved matrices to be square by adding zero entries in the right places, then the formula still works... but I want to be sure about this!


I’m trying to edit a steam game save file but when i go through steam and open the save file it’s full of weird characters and none of it is making sense. I’ve downloaded notepad ++ and it’s the same in there. All the game save files are the same. Is it because I have wemod or plitch in the game. [photo of notepad][1] Can anyone help me to fix it or decrypt it? I’m running windows 10. ()


Isometry from Manhattan plane to Euclidean plane?

Does there exist an isometry from a Manhattan plane $A$ to a Euclidean plane $B$? I.e. a function $\varphi:A \to B$ that suffices $\|\varphi(a)\|_B = \|a\|_A$ for all $a \in A$, where  $\| \cdot \|_A$ is the Manhattan norm and $\| \cdot \|_B$ the Euclidean norm.


How to Set/Calculate pole angle of IK constraint so the chain does not move?

How to calculate the exact pole angle so when I add Pole bone the IK chain does not move?


Got exception in the sharepoint wizard after install sp1 on sp2013 foundation

I am using sp2013 foundation. I try update sp with this sp: sharepointsp2013-kb2880551-fullfile-x64-en-us  I installed the sp and finished. I did a reboot. After the reboot I start the wizard. I press a couple of times on next and the I saw a progress bar. After 2 seconds I got this error:  The INSERT permission was denied on the object 'Locks', database 'SharePoint_Config'  This is the full error:  Task initialize has failed with an unknown exception  06/26/2014 14:52:31  9  ERR                  Exception: System.Data.SqlClient.SqlException (0x80131904): The INSERT permission was denied on the object 'Locks', database 'SharePoint_Config', schema 'dbo'.    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()    at System.Data.SqlClient.SqlDataReader.get_MetaData()    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, Boolean retryForDeadLock)    at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command)    at Microsoft.SharePoint.Administration.SPLock.Acquire(SqlSession sqlsession, SPLockType type, String objectname, Guid& lockid, String& server, String& commandline, Boolean force)    at Microsoft.SharePoint.Upgrade.SPManager.AcquireFarmUpgradeLock(Boolean bForce, Boolean singleClickInstall)    at Microsoft.SharePoint.PostSetupConfiguration.InitializeTask.Run()    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask() ClientConnectionId:9f1f69eb-dc64-4ba7-9a5d-60daca7e5c21 06/26/2014 14:52:31  9  INF                  Entering function Common.BuildExceptionMessage 06/26/2014 14:52:31  9  INF                    Entering function StringResourceManager.GetResourceString   What is this, I logged in with farm account.


Sum the series $\frac{n}{1⋅2⋅3}+\frac{n-1}{2⋅3⋅4}+ \frac{n-2}{3⋅4⋅5}+...\text{(upto n terms)}$

$\frac{n}{1⋅2⋅3}+\frac{n-1}{2⋅3⋅4}+ \frac{n-2}{3⋅4⋅5}+...\text{(upto n terms)}$   Clearly, we can see that $$T_r=\frac{n-r+1}{r(r+1)(r+2)}$$  Now, somehow, we have to make this telescoping. But we do not have $n$ as a factor of the denominator, so we have to multiply the denominator by $n$ and after our manipulation, multiply the whole sum by $n$. But that too did not work.  PLease help


Correct grammar for talking about multiple, single nouns

I'd like to know the definitions of both mathematical terms "consistency" and "completeness".  Would I ask   "What are consistency and completeness?" (i.e., the two nouns are singular, but together they're a collection of things) or "What is consistency and completeness?" (i.e., we can distribute the "What is" to read "What is consistency and what is completeness?")   Thanks.


Does it follow that the hermetian part of a matrix is positive definite, that the matrix itself is invertible?

I came across this in a paper and I was wondering whether it is true. We have a complex matrix $M$ such that $(M+M^H)$ is positive definite. Now, it is clear that $(M+M^H)$ is invertible, but does that hold for $M$? Is there (in general) some connections between the hermetian part of a matrix and the hermetian part of its inverse? Thanks guys!


Prove $(a^2+b^2)(c^2+d^2)\ge (ac+bd)^2$ for all $a,b,c,d\in\mathbb{R}$.  So $(a^2+b^2)(c^2+d^2) = a^2c^2+a^2d^2+b^2c^2+b^2d^2$  and $(ac+bd)^2 = a^2c^2+2acbd+b^2d^2$  So the problem is reduced to proving that $a^2d^2+b^2c^2\ge2acbd$ but I am not sure how to show that


I have a long math file where $$ $$ was used for display math. I want to change these to \[ \] to make it look neater. I don't know whether I can use the find/replace function in TeXworks to alternate between replacing by \[ and \], and I'm not enough of a programmer to solve this with a batch program.  Is there an easy fix?


Processes NetworkManager, wpa_supplicant, dhclient immediately respawn when I try to kill them

After I try to kill a process (speaking of NetworkManager, wpa_supplicant, dhclient) like this kill -9 PID (also tried -1 and -15), it reruns automatically...   How can I kill it and prevent it from respawning?


I have a binary time series with 1 when the car is not moving, and 0 when the car is moving. I want to make a forecast for a time horizon up to 36 hours ahead and for each hour.   My first approach was to use a Naive Bayes using the following inputs: t-24 (daily seasonal), t-48 (weekly seasonal), hour of the day. However, the results are not very good.  Which articles or software do you recommend for this problem?


Ubuntu 18.04 how to show date in top bar

In my top bar, only the time is shown. How can I also see the date there?


Number of 4-digit numerals with at most 2 different digits

How many 4 digit numbers are there which contain not more than two different digits?  As usual, I will highlight my attempt:   I can have 9 numbers using only 1 digit, e.g. $1111, 2222, \dots 9999$ = 9 digits Using two digits out of 9 (excluding 0) (selected in $\,^{8}C_{2}$ ways), I can arrange them in $4!$ ways. Furthermore, I can use one digit out of the selected 2 once or thrice (e.g. $2111$ or $2221$)  or simply both digits 2 times (e.g. $2288$, $6677$). Hence I get: $$\,^{8}C_{2} \times \left(\frac{4!}{2!\times2!} + \frac{4!}{3! \times 1!}\times 2\right) = 392$$ Finally, I consider numbers with zeroes. With zero selected as a digit, I have 9 options for other digits. And using the same logic as in 2) I can have either 1 zero ($8880$), 2 zeroes (e.g. $8800$) or 3 zeroes in a number ($7000$). This gives me $$9\times \left( \frac{4!}{2!\times2!} + \frac{4!}{3!\times1!} + 1\right) = 99$$   the above 3 steps yield a total number of $9+392+99=500$  However, the answer i have with me is $576$.


I have Ubuntu 15.04 installed, but I can't find Skype in it. Can someone tell me how to download and install it, please! Because on Skype site there's only Skype for Ubuntu 12.04, and in the Software Center there's not Skype at all.


Story about astronauts crashing on a planet inhabited by robots

I read this SF story somewhere in 2000s. I believe it was in English but might have been a translation from the original work. It might have been a short story or a novella.  The story's core premise was about astronauts (crash?) landing on a planet that was inhabited solely by robots. I don't recall if it was a part of their mission or if they did it only to save their lives from hostile natives, the astronauts managed to create metallic disguises for themselves (from ship parts?).   some time later it was revealed that there      actually were no robots, every robot was in fact a human who had disguised himself as a robot to blend in the society   that is all i remember. Can anyone help me identify the author and the story's name?


What if Monica runs for Moderator in an open election?

There is  about the slander issues.    And an offer to consider  which everyone knew before the offer was made she would never agree too.  With normal elections being a more open process, what happens if Monica runs for election?  Does Stack Exchange prohibit her from running, or do they let her stand for election with everyone else?


Evaluate integral $$\int_{0}^{1}{x^{-x}(1-x)^{x-1}\sin{\pi x}dx}$$ Well,I think we have $$\int_{0}^{1}{x^{-x}(1-x)^{x-1}\sin{\pi x}dx}=\frac{\pi}{e}$$  and  $$\int_{0}^{1}{x^{x}(1-x)^{1-x}\sin{\pi x}dx}=\frac{e\pi}{24}$$   With such nice result of these integral,why isn't worth to evaluate it?  I found a solution about the second one,but I wonder it will work for the first one   Note $$ S=\int_{0}^{1}{\sin{\pi x}x^{x}(1-x)^{1-x}dx}-\int_{0}^{1}{(1-x)e^{(i\pi+\ln{x}-\ln{(1-x)})x}dx} $$ Let $t=\ln{x}-\ln{(1-x)}$,$x=\frac{e^{t}}{1+e^{t}}$ Thus \begin{align} S&=\int_{-\infty}^{+\infty}{\frac{1}{e^{t}+1}e^{(i\pi+t)\frac{e^{t}}{1+e^t}}\frac{e^{t}}{(1+e^{t})^{2}}dt}\\   &=\int_{-\infty+i\pi}^{-\infty-i\pi}{e^{\frac{te^{t}}{e^{t}-1} } \frac{e^{t}}{(e^{t}-1)^{3}}dt} \end{align} Due to $$ f(z)=e^{\frac{te^{t}}{e^{t}-1} } \frac{e^{t}}{(e^{t}-1)^{3}},\qquad D=\{Z\in C|-\pi\leq Im(z) \leq \pi\}$$ Therefore $res(f,0)=-\frac{e}{24}$when $z=0$ with $ \zeta_{R}=\gamma_{R}+o_{R}+\tau_{R}$ $$\oint_{\zeta_{R}}{f(z)dz}=-2\pi i\cdot res(f,0)=\frac{2i\pi e}{24}$$ because $$ \{z_{n}\}\subset D,\qquad |z_{n}|\rightarrow\infty $$ Therefore $$ 2S=2\lim_{R\rightarrow \infty}\int_{\gamma_{R}}{f(z)dz} $$ gives $$ \int_{0}^{1}{\sin{\pi x}x^{x}(1-x)^{1-x}dx}=Im(S)=\frac{e\pi}{24} $$  My friend tian_275461 told me he use a simliar method to deal with the first one to obtain the result $\frac{\pi}{e}$,but I am not figure it out.


Jquery is not working on javascript created button

I created a link using javascript and I want for delete confirmation dialog here is the html code

Are you sure you want to delete this element?

Yes

No

       Close

    Here is my jquery code  jQuery(document).ready(function($){ //open popup $('.cd-popup-trigger').on('click', function(event){     event.preventDefault();     $('.cd-popup').addClass('is-visible'); });  //close popup $('.cd-popup').on('click', function(event){     if( $(event.target).is('.cd-popup-close') || $(event.target).is('.cd-popup') ) {         event.preventDefault();         $(this).removeClass('is-visible');     } }); //close popup when clicking the esc keyboard button $(document).keyup(function(event){     if(event.which=='27'){         $('.cd-popup').removeClass('is-visible');     } }); });   When I created a link button is working fine.Now the problem is that when I create a javascript dynamic button is not working anymore...     btn = document.createElement('a');         btn.className = "btn btn-danger cd-popup-trigger";         btn.innerHTML = "Delete";         btn.href="#";


Which place was Samantha talking about at the end of HER?

Samantha, while leaving and saying goodbye to Theodore at the end of Her, mentioned,     It's hard to explain, but if you ever get there, come find me, and bnothing will take us apart"   It was an answer to Theodore's question, "Where are you going?"  Which place was she talking about?  Is it the virtual world, or just a bluff to ease Theodore's pain before leaving?


What is the best way to create a piece of content with multiple fields... allowing users to edit the content as a whole yet blocking the ability to edit.  The setup I have is a piece of content that has 3 fields: Body, PDF, SWF... and a "Selector" (List Text) that's tied via dependancy. So the user chooses BODY, PDF or SWF and that's what available to edit and shown on the page when live.  What I want to do is add a PHP field... that's either:     greyed out (unable to edit) if your not admin...   doesn't show up in the Drop Down list... Can't select it if you can't see it Shows up on the drop down, but the field doesn't show up in the editor without permissions.   I hope I'm making sense... I can provide an example if needed.


How do we evaluate $\int\frac{1}{\ln{x}}dx$? Is it a special integral, or some simple function, or what substitution will help?


How to check if an object property exists in java?

I'm trying to learn chain of responsibility pattern in Java, In below code if the successor does not exist, it gives a NullPointerException. I want to check if the successor exists like this   if(this.sucessor exists) {   this.successor.check(Home)  }   How can I do this?   public void next(HomeStatus Home){    this.successor.check(Home); }


After updating Ubuntu 14.10 to 15.04 I can't open Spotify?

I have updated Ubuntu to the last version (15.04), but now I am not able to open Spotify. When I ran spotify in a terminal, I found that a library (libgcrypt.so.11) was missed.


Cryptocode package question, protocol with 4 players

I am using cryptocode package to make a protocol of 4 players.  \fbox{ \procedure{name}{%  \textbf{Alice}  \< \textbf{Verisign}  \< \textbf{Eve}  \< \textbf{Bob} \\ \sendmessageright{top=\text{hello}} \<\\ \<\sendmessageright{top=\text{hello}} \<\\ \<\<\sendmessageright{top=\text{hello}} \<\\  }  }   My issues is the following:  1) how to create long arrow from Alice to Eve for example. (and arrow back) 2) how to keep the diagram size within the page size


Make standalone class without tikz look like a cropped article

How can I force the  class to put things on top of eath other instead of next to each other?  \documentclass{standalone} \begin{document} test  test  test  \end{document}


i'm making a request to my db.    When i change "Canuelas" to "Cañuelas", the response it's empty, i tried to change the db, table and row collation but no results.  Here it's an image of the empty response:    Here it's the php code i use to the request:  <?php include "_db.php"; $con = crearConexion();  if ($con->connect_error) {     die("Connection failed: " . $con->connect_error); }  $postdata = file_get_contents("php://input"); $request = json_decode($postdata,true);  $action = $request['action'];  if ($action === "get_propiedades") {      $consulta_propiedades = "SELECT * FROM propiedades WHERE quitado = ''";     $result_propiedades = mysqli_query($con, $consulta_propiedades);      $row_container_propiedades = array();      while($row_propiedades = mysqli_fetch_array($result_propiedades)){         array_push($row_container_propiedades, $row_propiedades);     }      $row_container_propiedades = json_encode($row_container_propiedades);      echo $row_container_propiedades; }else if ($action === "get_filtros") {      $consulta_filtros = "SELECT * FROM filtros";     $result_filtros = mysqli_query($con, $consulta_filtros);      $row_container_filtros = array();      while($row_filtros = mysqli_fetch_array($result_filtros)){         array_push($row_container_filtros, $row_filtros);     }      $row_container_filtros = json_encode($row_container_filtros);      echo $row_container_filtros; }  $con->close(); ?>   Note: The problem it's in "get_filtros". "get_propiedades" it's retrieved correctly.  Sorry for my bad english!  EDIT: The set_charset('utf8mb4'); did the magic, all i needed to do was adding that line to the db connection, here it's the db connection file if someone need it.  <?php function crearConexion(){     //Datos para la conexión con el servidor     $servidor   = "localhost";     $nombreBD   = "dbname";     $usuario    = "dbuser";     $contrasena = "dbpass";     //Creando la conexión, nuevo objeto mysqli     $conexion = new mysqli($servidor,$usuario,$contrasena,$nombreBD);     $conexion->set_charset('utf8mb4');      //Si sucede algún error la función muere e imprimir el error     if($conexion->connect_error){         die("Error en la conexion : ".$conexion->connect_errno.                                   "-".$conexion->connect_error);     }     //Si nada sucede retornamos la conexión     return $conexion; } ?>


I want to execute something in a linux shell under a few different conditions, and be able to output the execution time of each execution.  I know I could write a perl or python script that would do this, but is there a way I can do it in the shell? (which happens to be bash)


Question regarding continuity of linear operator between banach spaces

Let $T:X \to Y$ linear, $(X,||\cdot||_X), (Y, ||\cdot||_Y)$ being banach spaces. Is it still wrong that $\ker T$ closed $\Rightarrow T$ is continuous? Supposing $(X,|| \cdot||_X)$ is not a banach space, I can think of $$id: (C([0,1]),|| \cdot||_1) \to (C([0,1]),|| \cdot||_{\infty})$$ for real valued functions on the compact intervall $[0,1]$ but supposing $X$ is a banach space I can't think of a counter example. Can anyone help me here? Thank you in advance.


How to dynamically remove the columns in ireport

I am using ireport to design jasper reports. I want to have a report that can be dynamically generated based on user input. Means columns can be added/removed based on user input.  The one solution I know is to design the report that contains all the columns, Then based on the user input, Using "Print When Expression" can hide the column, But the empty column will still be there. Is there any way to remove the columns completely without leaving empty space in ireport.


how to suppress "Underfull \vbox (badness 10000) ... while \output is active"?

when using an inflexible document class, one is often faced with the warning  Underfull \vbox (badness 10000) has occurred while \output is active []   on pages that contain no display math.  in  frank mittelbach quotes from the companion (2ed) regarding page specs that are "too rigid".  the recommended (and obvious) approach is to build in more flexibility.  the same suggestions, to add flexibility, are given in .  the document class in question was constructed (intentionally, if short-sightedly) with no allowance for stretch in the \parskip, between chapter title and text, and in a few other locations. furthermore, an option permits the change from [10pt] to [11pt] body text so even if the \textheight is an integral number of lines in one size, another size will not meet the criterion.  with \vfuzz one can specify a small allowance which, if not exceeded, will suppress overfull box messages.  but there isn't any equivalent for a negative allowance.  i've checked the etex manual (the latest, dated 1998/03/04) and that for etextools but didn't find anything useful.  i've looked into the tex.web code, but it wasn't obvious how one might work around the problem without a new primitive.  it's not a good idea to ignore these messages in the log, since the "structural" ones camouflage the ones (usually very few) that do need to be attended to. has anyone come up with a method for suppressing only those underfull vbox messages that are off by only a couple of points?


Prime number theorem $n^{\rm th}$ prime bounds

In  post, the accepted answer begins with:  "Because of the Prime Number Theorem, ultimately we have: $$.9\,n\,\log n \leq p_n \leq 1.1 \,n\,\log n.$$ where $p_n$ is the $n$th prime".  Where do the bounds of $.9$ and $1.1$ come from? Wikipedia states that:  $$ 0.921<\frac{\pi(n)}{n\log(n)}<1.018, $$  for $10<n<10^{25}$, but other than experimental evidence, how can one be sure that these are really the correct bounds?


Scaling data that are on different orders of magnitude for plotting

Looking at the following dataset:   Date        Visits   Carts      carts       Orders                       Created   converted    Created 2011-11-11    12277     161        9          36   2011-11-12    11871     93         5          19     2011-11-13    13072     107        8          8      2011-11-14    13594     112        4          34     2011-11-15    12741     129        8          43     2011-11-16    15491     261        16         57  2011-11-17    13418     186        17         42       I've been asked to plot this on a graph, using the Date has the X-Axis and the rest of the data on the Y-Axis. The problem is that the scale of the data is dramatically different. where Visits are in the thousands and Orders Created are in the low tens, the data doesn't plot well on a graph.     I was wondering what a statistician would do in this scenario, I could divide the the Visits by a 1000 and then put in the description (Visits (K)), but then I start to have the same problem with Carts Created, as they are in the hundreds and everything else is in the low tens.  What kind of thing is done in this scenario?


Let $D$ be a bounded region and $f$ is an analytic function on $D$. Show that if there is a constant $c ≥ 0$ such that $|f(z)| = c$ for all $z$ in the boundary of $D$ then either $f$ is a constant function or $f$ has a zero in $D$.  Is this just a direct consequence of the Maximum-Modulus Theorem?


How do I make my if condition work within a thread in Java?

I want to print a string only if it equals to a particular string e.g. "Hello", but when I run the program in a new thread, although it exe cutes the whole code, it does not print the string "Hello" even when the condition is true. I am attaching the code below :  new Thread(new Runnable() {                 @Override                 public void run() {                     doGetRequest();                 }             }).start();     private void doGetRequest() {         OkHttpClient client = new OkHttpClient();          OkHttpClient.Builder builder = new OkHttpClient.Builder();         builder.connectTimeout(10,TimeUnit.MINUTES)                 .writeTimeout(10, TimeUnit.MINUTES)                 .readTimeout(10,TimeUnit.MINUTES);          String url = "my_url";          client = builder.build();          Request request = new Request.Builder().url(url).build();           try {             Response response = client.newCall(request).execute();             String jsonData = response.body().string();             JSONObject Jobject = new JSONObject(jsonData);             JSONArray jarray = Jobject.getJSONArray("Flights");              for(int i = 0; i<jarray.length();i++){                  JSONObject object = jarray.getJSONObject(i);                  Log.v("objectttt", String.valueOf(object));                  String adft= object.getString("Adft");                  if(adft=="Hello") {                        Log.v("hereee", adft);                  } else {                      Log.v("hereee", adft);                       //it prints Hello here                  }              }         } catch (IOException | JSONException e) {                          e.printStackTrace();         }     }


This is inspired by some discussions in .  In the Harry Potter universe, how are Dementors born?  Or are they artificially created by some magical means?


How to change the color scheme of the prompt based on user?

My current prompt is colorized and edited as so -  #!/bin/bash  # GIT Prompt help if tput setaf 1 &> /dev/null; then     tput sgr0; # reset colors     bold=$(tput bold);     reset=$(tput sgr0);     txtund=$(tput sgr 0 1);     black=$(tput setaf 0);     blue=$(tput setaf 33);     cyan=$(tput setaf 37);     green=$(tput setaf 64);     orange=$(tput setaf 166);     purple=$(tput setaf 125);     red=$(tput setaf 124);     violet=$(tput setaf 61);     white=$(tput setaf 15);     yellow=$(tput setaf 136); else     bold='';     reset="\e[0m";     black="\e[1;30m";     blue="\e[1;34m";     cyan="\e[1;36m";     green="\e[1;32m";     orange="\e[1;33m";     purple="\e[1;35m";     red="\e[1;31m";     violet="\e[1;35m";     white="\e[1;37m";     yellow="\e[1;33m"; fi; ORIG=$PS1 HOST=$HOSTNAME PS1="\[${txtund}${green}\]${HOST}\[\[${reset}\]"; PS1+="\$(prompt_git \"\[${white}\] on \[${violet}\]\")"; PS1+="\[${reset}\]"; PS1+="\[ at - ${orange}\W\]"; PS1+="\[${reset}\]"; PS1+="\[ - \u \]"; PS1+="\n\$ ";   I know that the line  PS1+="[ - \u ]"; will show me my current user. However, I want that section to be red if it is root. All other users should be the default color of gray. Is there a way to change the color in that section based off of current user or should I just declare a variable and use an IF statement to insert that section or a modified section with red as a color?  My expected output is gray named user for all normal users. Root should be red. This is BASH.


Numerical sampling in hierarchical Bayesian models (HBM)

I am reading chapter 5 of $\textit{Bayesian Data Analysis}$ by Gelman $\textit{et al.}$. There it explains the few steps of data analysis for hierarchical models and if I quote from the book it will be:  "We first perform the following three steps analytically.   Write the joint posterior density, $p( \theta, \phi|y)$, in unnormalized form as a product of the hyperprior distribution $p(\phi)$, the population distribution $p(\theta|\phi)$, and the likelihood $p(y|\theta)$.  Determine analytically the conditional posterior density of $\theta$ given the hyperparameters $\phi$; for fixed observed $y$, this is a function of $\phi$, $p(\theta|\phi, y)$. Estimate $\phi$ using the Bayesian paradigm; that is, obtain its marginal posterior distribution, $p(\phi|y)$.   The first step is immediate, and the second step is easy for conjugate models because, conditional on $t/J$, the population distribution for $\theta$ is just the iid model (5.1), so that the conditional posterior density is a product of conjugate posterior densities for the components $\theta_j$. The third step can be performed by brute force by integrating the joint posterior distribution over $\theta$: $$p(\phi|y) = \int{p(\phi,\theta|y)d\theta} \ \ \ \ \ \ \ \ \ \ \ \text{(5.4)}"$$  Now my question is whether we can (in a numerical approach) sample from $p(\phi,\theta|y)$ and ignore the $\theta$s to generate a sample of $p(\phi|y)$?


Google search "keyboard selector" disappeared

For me, the  has disappeared. Is there an easy way to select the first answer using the keyboard now? Is it possible to have those arrows back?


How to make a simple line with two sided arrow?

\documentclass[aps,amsmath,article,amsfonts,11pt]{revtex4} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{epsfig,graphicx}  \usepackage[english]{babel} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{latexsym} \usepackage{graphics,bm} \usepackage{dcolumn}  \usepackage{bm} \usepackage{natbib} \usepackage{rotating} \usetikzlibrary{arrows} \pgfarrowsdeclarecombine{twotriang}{twotriang}% {triangle 90}{triangle 90}{triangle 90}{triangle 90} %\setlength\topmargin{0.0005 in}   \begin{document}   C1  \xleftrightarrow{\text{\hspace*{1cm}   }} C2    I am using this code but nothing happening. I want to make a two sided arrow between two function like this:-                   C1 <----------------> C2                                                            I am using here dash line. but i need solid line here.                                  If anyone can figure it out, most welcome.


Can a prepared statement use multiple values

Consider an SQL statement like   Select * from items where id in (123,456,789)   Can I use a prepared statement like  Select * from items where id in ?   and then supply the parameter as a set or list? Maybe I'd need parentheses around the "?".  I'm planning to use this in R, but I guess it's a general query for JDBC.


I've looked through a lot of literature available online, including this forum without any luck and hoping someone can help a statistical issue I currently face:  I have 5 lists of of ranked data, each containing 10 items ranked from position 1 (best) to position 10 (worst). For sake of context, the 10 items in each lists are the same, but in different ranked orders as the technique used to decide their rank is different.  Example data:              List 1      List 2      List 3     ... etc Item 1     Ranked 1    Ranked 2    Ranked 1      Item 2     Ranked 3    Ranked 1    Ranked 2 Item 3     Ranked 2    Ranked 3    Ranked 3 ... etc   I am looking for a way to interpret and analyse the above data so that I get a final result showing the overall rank of each item based on each test and its position, e.g.  Result Rank 1 = Item 1 Rank 2 = Item 3 Rank 3 = Item 4 ... etc   So far I have attempted to interpret this information from performing Pearson's Correlation, Spearman's Correlation, Kendall Tau's B, and Friedman tests. I have found however, that these results have generally paired my lists (i.e. compared list 1 to list 2, then list 1 to list 3 .. etc), or have produced results such as Chi-Square, P-Values etc about the overall data.   Does anyone know how I can interpret this data in a statistically sound method (at a post graduate / PhD applicable level) so that I can understand the overall ranks signalling the importance of each item in the list across the 5 tests please? Or, if there is another type of technique or statistical test I can look into I would appreciate any hints or guidance.   (It maybe also worth noting, I have also performed the simpler mathematical techniques such as sums, averaging, minimum - maximum tests etc, but do not feel these are statistically important enough at this level).  Any help or advice would be greatly appreciated, thank you for your time.


trying to recreate this Elijah bottle. I have two sides, one of which is outlined in red. How do I fill that face with polygons so I can then grab the center (that red square dot) to pull it outward thereby creating the slight outward bowing of the bottle?


PCS and GCS aligned but XY coordinate values not. ArcMap .dwg to .shp conversion

I have converted a .dwg to a .shp using the CAD2SHP app. I made sure that there would not be a .prj file when I did the conversion. Defined projection once I opened up the file in Arc as a .shp. Then I bought in another .shp, with the same GCS and PCS. I don't see any differences between the two, and yet they will not line up.  Arc has not shown me any errors in the process of  converting or projecting any of the data.   The only clue I can provide is that they have different coordinate values, one in the thousands and the other in the millions. In full extent they appear quite far apart.  Any insight - or a link to someone with a similar issue.


Why is this true: The only orthogonal projection that is also unitary from $\Bbb C^n$ to $\Bbb C^n$ is the identity

Can anyone explain me please how to see this statement: the only orthogonal projection that is also unitary from $\Bbb C^n$ to $\Bbb C^n$ is the Identity.  how can I prove formally that? or how can I see that only the Identity satisfy it?


I wanted to shorten a sentence: "Let the procedures leave in their original state." I wrote "Let the procedures leave  as-is." Is it correct or I had to use "Let the procedures leave  as-are." Has the expression as-is plural?  Thanks    Frank


Find when three numbers have the same remainder when divided by the same number

If three numbers 112, 232, and 400 are each divided by the number D, each of their quotients will have the same remainder R. Find R where R>1  How should I approach this?


How can I change the desktop wallpaper from the command line in Ubuntu Desktop 13.04?  I most recent tried the following, but it did not work:  gsettings set org.gnome.desktop.background picture-uri file://$HOME/NaturalHistoryMuseum_EN-US7862662491_1920x1200.jpg   Update: as commented by @Lucio below, the command worked if I used a path without a variable:  gsettings set org.gnome.desktop.background picture-uri file:///home/user/NaturalHistoryMuseum_EN-US7862662491_1920x1200.jpg


Is there a way in Bash to determine if a character exists in a string?

Similar to how in python you can do 'if letter in string:', I'm trying to imitate this in bash. The code is below:   SYMBOLS="ABC" msg="alskdfjAasdksdfh!?asdflkjhghrg"  # Loops through each letter in the variable msg individually for (( i=0; i<${#real_message}; i++ )); do     # Assigns the current letter to the variable     letter="${msg:$i:1}"      # This is the part I have a question about     if [[ $msg == *"$SYMBOLS"* ]]; then         echo "Found."     fi done   However, the if statement doesn't work.  What's supposed to happen is anytime it grabs a character to be stored in the variable 'letter', it should check if that character exists in the variable 'SYMBOLS'.    For example, msg has the character 'A' in it, so when 'letter' iterates through and gets to 'A', it should echo "Found." indicating the if statement works.  However, this doesn't work obviously because I'm not understanding something correctly.  Just for clarification: it isn't looking for substrings containing "ABC", it's looking for either "A", "B", or "C" when it's stored in the 'msg' variable.


Two-finger swipe 'breaks' heads-up notifications on Lollipop?

I have a Nexus 7 (2013) and a Moto X (2014) running Lollipop. On both of these, if I get a heads-up notification (i.e., those that show up on top of the screen when the device is unlocked) and swipe down on it with 2 fingers, it 'breaks' further heads-up notifications:   I can't tap on them to open the responsible app For, e.g., an incoming phone call with 'answer' and 'dismiss' buttons, tapping the buttons does nothing. I can't answer phone calls anymore!   I can still swipe to the side to dismiss the notifications, and they still disappear on their own after a few seconds. I haven't been able to find a way to get the correct behavior back aside from a restart.  Yeah, the obvious workaround is to not two-finger swipe on them, but it's second nature as that same gesture expands notifications in other contexts.  I'm guessing the problem is generic, but I've triggered it on Hangouts and Phone notifications.  Do others experience the same thing? Any known 'fixes' aside from restarting?


Show that there is a $\xi\in(a,b)$ s.t. $\int_a^bf(x)g(x)\,dx=f(\xi)\int_a^b g(x)\,dx$

If $f$ and $g$ are continuous on an interval $[a,b]$ and $g$ is nonnegative, show that there is a number $\xi \in (a,b)$ such that $$\int_a^b f(x)g(x) \; dx = f(\xi) \int_a^b g(x) \; dx.$$  I understand the proof for the case when $\xi \in[a,b],$ however, I'm not sure how to proceed when $\xi \in(a,b).$


Width of a page that contains mostly text

I'm working on a design for a blog. The blog is very text oriented. It contains long articles of thousands of words. When I look around the web I see that blogs often have a 'fixed width' page size (when using Blogspot or Wordpress for example). But when I look at Wikipedia which is also very text heavy, it's responsive and the text is spanned at almost the monitor width. So what would be a good approach for a heavy text based blog which will be mostly read on desktops? Go full width (responsive) or limit the width?


How do I profile memory usage in Python?

I've recently become interested in algorithms and have begun exploring them by writing a naive implementation and then optimizing it in various ways.  I'm already familiar with the standard Python module for profiling runtime (for most things I've found the timeit magic function in IPython to be sufficient), but I'm also interested in memory usage so I can explore those tradeoffs as well (e.g. the cost of caching a table of previously computed values versus recomputing them as needed). Is there a module that will profile the memory usage of a given function for me?


I am trying to install pandas on Ubuntu 14.04. I seem to have a problem with dependencies, but I haven't been able to install them. I am trying to install pandas via pip as follows:  vroni@zargedu4:~$ pip install pandas   And this is the error message:  SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.   If I try to install python-dev this happens:  vroni@zargedu4:~$ sudo apt-get install python-dev python-dev :Depends: libpython-dev (= 2.7.5-5ubuntu3) but it is not installable             Depends: python2.7-dev (>= 2.7.5-1~) but it is not installable   It basically misses these dependencies. Trying to install them only leads me to new messages like this.   vroni@zargedu4:~$ sudo apt-get install libpython-dev libpython-dev : Depends: libpython2.7-dev (>= 2.7.5-1~) but it is not installable   and so on.  vroni@zargedu4:~$ sudo apt-get install libpython2.7-dev libpython2.7-dev : Depends: libpython2.7-stdlib (= 2.7.6-8) but 2.7.6-8ubuntu0.2 should be installed                 Depends: libpython2.7 (= 2.7.6-8) but 2.7.6-8ubuntu0.2 should be installed                 Depends: libexpat1-dev but it is not installable   until I try..  vroni@zargedu4:~$ sudo apt-get install libpython2.7-stdlib=2.7.6-8ubuntu0.2   Then the answer is: it is already the newest version.  libpython2.7-stdlib is already the newest version.   I don't quite understand what's the problem here. I also tried:   sudo apt-get update sudo apt-get upgrade sudo apt-get install -f   and   sudo apt-get -f install   and afterwards tried to install pandas again. but nothing seems to work.


I am new on coding just need find out if it is possible to get methods name and print using console.write. Here I have sample class and I want to grab "myName" so I can use it to print.  using System;  namespace Tests {     class Class1     {         public void myName()         {             Console.Write(myName);         }     } }


Let $R$ be a ring, and let $C$={$x\in R: xy=yx$ for all y in $R$}  Prove that if $x^2-x \in C$ for all $x$ in $R$, then $R$ is commutative.  There's a hint given in the book that says "Show that $xy+yx \in C$ by considering $x + y$, and then show that $x^2 \in C$".  I manage to show $xy+yx \in C$, but don't really know how to show $x^2 \in C$.   Any help is appreciated, thanks!


Coverting Latex into Word with equations, tables and figures

This question is possibly a duplicate but so far I haven't found any up to date and detailed answer to the following question: could you list step by step the best free procedure (if any) to convert a LATEX file (containing tables, figures, equations) into a Word file in a Macbook Pro OS X 10.9.5?


Why isn't there a comma put here? explain to me please

I usually 100% of the time put a comma here. Since there is the conjunction being "but" and a subject straight after being "they" meaning that it's essential to put a comma, however, I've been told a comma is not necessary here. I think they are wrong but Grammarly also doesn't add this. Can anybody explain this?  "Boeing is known for airplanes(,) but they actually have a long history in space."


This isn't asking the equation to determine the necessary resistor for LEDs, but more asking the general practice for selecting them.   I've seen multiple circuits that have used much higher resistor values than what I would deem to be necessary. For example, I have seen a design that has used a \$330\Omega\$ resistor for a red LED with a forward voltage of \$2V\$, and forward current of \$20mA\$ on a circuit with \$5V\$ supply. By my calculations that's twice as high as it needs to be (\$150\Omega\$).   I've read else where that this resistor is the 'playing it safe' choice, in that they use that wherever and can be confident they wont blow the LED. But is there any other reason behind it? Other than purposely halving the LED brightness.   Perhaps this prolongs the life of the LED? In my circuit I've selected the theoretical correct resistor value for each LED, but want to know if there's a practical rule I'm missing as the resistor values are quite small at times.


$\zeta(2)$ Euler's proof (Basel problem)

At one point Euler assumes that  $$\frac{\sin x}{x} = \prod_{n=1}^{\infty}\left(1-\frac{x}{n\pi} \right)\left(1-\frac{-x}{n\pi} \right)$$ Why does he assume that? If we factor random functions according to their roots, we can conclude $$e^x \frac{\sin x}{x}= \prod_{n=1}^{\infty}\left(1-\frac{x}{n\pi} \right)\left(1-\frac{-x}{n\pi} \right)=\frac{\sin x}x$$


use find command to recursively convert directory with ffmpeg

I've asked this question almost a dozen times and it seems to stump everyone.  I've come a little closer - but still not close enough to the solution.  I want to recursively convert .mp4 to .png (1 frame only).  I'm able to do the conversion - although it's not recursive.  Here is the script I'm using:  how do I make this recursive?  for i in *.mp4;   do name=`echo "$i" | cut -d'.' -f1`   echo "$name"   ffmpeg -i "$i" -r 0.0033 -vf scale=-1:1024 -vcodec png "${name}.png" done   This post relates to:


Prove of the modular equation $(n^3 - n) (mod\;24) = 0$ with induction

I need to prove this statement with induction: if n is odd then $n^3 - n $ is divisible by 24 I've proved the base case (when $n = 1$) but I only have a small idea of what is to do in the induction step ($p(n) \Longrightarrow p(n+2)$)


Alternative proof for $[\mathbb{Q}(\sqrt{p},\sqrt{q}):\mathbb{Q}]=4$

Let $p$ and $q$ be different prime numbers.   How to show that $[\mathbb{Q}(\sqrt{p}, \sqrt{q}):\mathbb{Q}]=4$?  I know it can be shown with $\mathbb{Q}(\sqrt{p},\sqrt{q})=\mathbb{Q}(\sqrt{p})(\sqrt{q})$, but I tried it differently and I'm looking for an alternative proof, so I tried it like this, but I'm not sure if my proof is correct:  Let $M$ be a field extension with $\mathbb{Q} \subset M \subset \mathbb{Q}(\sqrt{p},\sqrt{q})$, then  $[\mathbb{Q}(\sqrt{p},\sqrt{q}):\mathbb{Q}]=[\mathbb{Q}(\sqrt{p},\sqrt{q}):M] \cdot [M : \mathbb{Q}]$.  It's $M=\mathbb{Q}(\sqrt{p}) \subset \mathbb{Q}(\sqrt{p},\sqrt{q})$  Also, $[\mathbb{Q}(\sqrt{p}):\mathbb{Q}]=2$ with basis $\lbrace 1, \sqrt{p} \rbrace$ and $[\mathbb{Q}(\sqrt{q}):\mathbb{Q}]=2$ with basis $\lbrace 1, \sqrt{q} \rbrace$  That's why $2\mid[\mathbb{Q}(\sqrt p,\sqrt q):\mathbb{Q}]\mid 2\cdot 2=4$  The index is $4$ since:  It's $m=n \in \lbrace 1,2 \rbrace$, with $m=[ \mathbb{Q}(\sqrt{p},\sqrt{q}):\mathbb{Q}(\sqrt{p})]$ and $n=[\mathbb{Q}(\sqrt{p},\sqrt{q}):\mathbb{Q}(\sqrt{q})]$   Suppose $m=n=1$:  Then $\sqrt{q} \in \mathbb{Q}(\sqrt{p})$, so $\sqrt{q}=a+b\sqrt{p}\Leftrightarrow q = a^2 + 2ab\sqrt p + b^2p$ with $a,b \in \mathbb{Q}$.  So $q-a^2-b^2p$ is rational and that's why $ab=0$.  It's $b \neq 0$, since rational numbers can't be equal to irrational numbers and $a \neq 0$, since then $\sqrt q=b\sqrt p$ and $b=\sqrt{q/p}$, which is impossible.  So, $m=n=2$ and  $[\mathbb{Q}(\sqrt{p},\sqrt{q}):\mathbb{Q}]=2 \cdot 2=4$  Is my proof right? I don't know if it can be shown like this.


Indicate whether you voted (up/down), in main list

The main Q & A listings do not show whether I have voted on a given item, and if so, whether up or down.  This feature request is to do that: show whether I have voted on a question or answer already, and if so, whether I voted up or down.  (I don't think this is a duplicate -- AFAICT, other, related questions concern only reordering or filtering to show questions or answers that I have voted on.)  The main Q & A listings currently show the following:   The number of votes and the number of answers, for each question (or the number of votes, for each answer). Whether there is an accepted answer. Whether I have visited a given item listed (though I'm not sure whether that is persistent or just a browser-visitation thing).   On the page for an individual question, we show the user's up/down vote info by highlighting the up/down arrow.  This could be done on the main listing as well.  This should be independent of filtering and ordering.  Being able to see which things I have voted on is independent of being able to filter which things are listed and what order they appear in.  IMO, this would provide a big benefit.  Just as indicating whether I have visited a given question or answer helps me avoid clicking it again later, this would help me determine which of them I might want to visit or revisit in order to provide an answer.


If a sequence $\{x_n\}$ has the property that $$\lim_{n\rightarrow\infty} x_{2n} = \lim_{n\rightarrow\infty}x_{2n+1} = L$$ Show that the sequence $\{x_n\}$ convergences to $L$.  I tried a proof by contradiction against the given information, then I considered saying that if all the subsequences of the already given convergent subsequences converge to $L$, then $\{x_n\}$ must converge to $L$.  What is the proper way to prove this?


Code to fix: WindowServer[250]: _CGXGLDisplayContextForDisplayDevice: No matching context for device (0x7fcfcaf18220) - disabling OpenGL

I need help implementing the answer to  by inserting the following into wherever it goes:  ? [= Sender WindowServer] [= Level Warning] [A= Message _CGXGLDisplayContextForDisplayDevice] claim only   I'm not a coder but I can get to Terminal and past in code and press enter.  That's the extent of my ability.  So, if there's something to do before putting this statement in Terminal I would need to know what, where, and how, etc.  Thank you.


Exim sending email (-53) retry time not reached for any host

I have problem with some domain in WHM for sending email, only a few special domain names can not send email  to any host(Gmail,Yahoo,...) (it is possible to receive)  But other domains are correct and there is no problem sending Exim log:  2018-05-21 15:57:14 1fKix9-0007MU-FG H=alt4.gmail-smtp-in.l.google.com [74.125.199.26] Connection timed out 2018-05-21 15:57:14 1fKix9-0007MU-FG == example@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out 2018-05-21 15:57:35 1fKix9-0007MU-FG Sender identification U=exampledomain D=exampledomain.com S=email@exampledomain.com 2018-05-21 15:57:35 1fKix9-0007MU-FG == example@gmail.com R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.co


How to prove $W$ is a vector subspace of $V$?

I need some help to solve this problem.  Let $V \in \mathbb{R}^{3\times 3}:$  $W := \{A \in V : A = -A^T\}.$  How can I prove that $W$ is vector subspace of $V$?


Is there anything we can do to locate companions in the world easier?

Keeping track of where everyone is is hard.  I could be out in the wasteland while Dogmeat will let me know he found something. That's great, but then it's a chore trying to find him a lot of times. Sometimes, he'll even run ahead and attack enemies and I'll lose sight of him. Only if I leave an area sufficiently far enough, he'll come back and meet with me which isn't always possible. I know I can listen out for him but visual indicators would be better. But none of this works if I sent him to a settlement but needed to find him and he hasn't returned yet.  Is there anything we can do to make locating companions in the world easier?


Please somebody explain, why can't referee just wait a few seconds, and look at the at the telebim, and then decide if it was a foul, or if ball crossed the goal line. It would solve many issues.


I would like to to get list of all pairs of numbers between 0 and 100:  [(0,0), (0,1), (0,2),...,(99,99)]   How can I make it in pythonic way? Cause I know, that I can just append needed tuples in two for cycles.  Thank you in advance.


Average length of a cycle in a n-permutation

What is the average length of a cycle in a permutation of $\{1,2,3,\dots ,n\}$?


Investment strategy in index funds during the start of the bear market

It's kind of a newbie question but I was preparing to invest in index funds (low-cost index funds) for a while now and I am just thinking what should my strategy look like.  As of the day of writing this post, there was a big drop (around 5%) in S&P 500 and other index funds, what should my strategy look like.  I am not sure if the bear market starts, or this is just a fluctuation.  The question is, how should I invest in index funds under the circumstances?  Shall I just invest a certain amount for the next years and don't care about the bear or bull market at all?   Or maybe I should invest part of the money in index funds and the rest in other commodities?  Shall I invest different amounts depending on the direction of the market?  Thanks


find $a$, if $$f(x)= \frac{x^2-ax+2}{x-2}$$ has no vertical asymptotes


Death by leveling? The effects of 0 max HP and leveling with negative CON

Since  and  you can get into a situation where your max HP is zero due to leveling up… what happens next?  What happens when your max HP is 0 because you leveled up with a negative Constitution modifier? Are you dead, unconscious, or what, and where do the rules say this? (The  assumes death, but that isn't established as fact anywhere yet.)


We are changing domain name but the website is staying exactly the same. We are 301 redirecting every page.  We believe that we wouldn't have to create a new property in analytics or tag manager as everything is the same but the domain name.  In Search Console would we not just use the change of address tool?


open source command line tools on Linux or source code for converting tiff image file to BSQ file

Let me know homepages related to open source command line tools on Linux or source codes for converting tiff image file to BSQ file.


Second derivative of class $C^2$ expressed as limit

Let $g:\mathbb{R}\rightarrow\mathbb{R}$ be a function of class $C^2$. Show that $$\lim_{h\rightarrow 0}\dfrac{g(a+h)-2g(a)+g(a-h)}{h^2}=g''(a).$$   It seems like an application of mean-value theorem might help: Since $g$ is differentiable, for any $h>0$ there exists $h_1\in(0,h)$ such that $$g(a+h)-g(a)=h\cdot g'(a+h_1).$$ And then since $g'$ is differentiable, there exists $h_2\in(0,h_1)$ such that $$g'(a+h_1)-g'(a)=h_1\cdot g''(a+h_2).$$ Combining the two we have $$g(a+h)-g(a)=hg'(a)+hh_1g''(a+h_2).$$ which doesn't quite get to the desired expression.


Here is the screen shot    I've checked the battery usage apps so that to save my battery level , I've seen a strange process 10263. I want to know what's is use


Can a mobile phone camera be considered equivalent to 10-20mm wide angle lens on a crop body?

I want to see the perspective we get from an  on a crop body DSLR.  Can a  be considered equivalent to 10-20mm wide lens on a crop body?


Why do the major and minor groove exist in DNA?

So I know that the major/minor groove arise from the offset pairing of the two strands in the helix.  All my textbook tells me is that "pitch causes the off-set pairing of DNA and this gives rise to the major and minor grooves."  I'm not too sure what this is saying.  What exactly is pitch and how does it give rise to the grooves?


I have come across many questions from 2+ years ago that have answers with outdated info. For example,  from June 2011 uses the jQuery  method, which was deprecated in jQuery 1.7 (November 2011).  Should the date be emphasized after two years, or a banner shown above the question? Something like "Note: this question was asked and answered over n years ago."


What does the phrase "I have but one claim to fame" mean?

I would appreciate if someone could explain the meaning of the phrase "I have but one claim to fame". I understand every separate word, but the meaning of the whole phrase is fairly obscure to me, as I am not a native speaker.


I'm New to Minecraft Servers, and I Need Help with PVP

Okay, I'm not a very good fighter of PvP in Minecraft. First of all, I'm new to servers and I don't know much about PvP since all these players have multiple tricks up their sleeves. It's not like fighting the same old monsters with an AI that programs the monsters to go straight at you. Not to mention that players can go right through you. The other problem is that I'm playing on a computer. Can someone provide me with some tips to get some kills on Minecraft while using a laptop?


Is DBCC SHRINKFILE better than DBCC SHRINKDATABASE?

In the documentation to DBCC SHRINKDATABASE, Microsoft is warning to run the command because it's i/o expensive. However, in the documentation to DBCC SHRINKFILE, there is no such warning. Now when we use simple recovery and basically have only one database file, is it better to run DBCC SHRINKFILE or DBCC SHRINKDATABASE?


Why is there sometimes a dot on the review tab when there's nothing in the queues?

I oftentimes have a dot on the review queues tab, normally indicating that there's stuff to review in the queues, yet nothing is available for reviewing, in both main and meta sites.   What does it mean when there's a dot on the review tab yet there's no review to perform in the queues?


Does there exist a holomorphic function $\varphi(z)$ such that $\varphi^2(z) = \psi(z)$

$\psi(z) \neq 0$ is a holomorphic function on $D \subseteq \mathbb{C}$. Does there exist a holomorphic function $\varphi(z)$ on $D$ such that $\varphi^2(z) = \psi(z)$? Here $D$ can be a single-connected region or a multi-connected region.   I think for single-connected region, it is true, but I can not prove.


I would like to italicize my figure captions and make them smaller.  How can I do that?


My computer is unable to boot windows 7 after installing ubuntu 18.04, but windows is seen in GRUB menu. what should I do?

At the grub menu when I select windows 7, it does not take me there instead, it just returns to the grub menu and ask me to select the OS. I have no problem booting to ubuntu. Would you kindly help me fix this guys?


Is this a mistake in The Imitation Game?

In explaining how hard it is to crack the code of the Enigma machine, Cumberbatch' character says in The Imitation Game:     There are 159 million, million, million possible Enigma settings. All we had to do was try each one. But if we had 10 men checking one setting a minute for 24 hours every day and seven days every week, how many days do you think it would take to check each of the settings? Well, it’s not days; it’s years. It’s 20 million years. To stop an incoming attack, we would have to check 20 million years’ worth of settings in 20 minutes.   For no reason other than curiosity, I tried to calculate whether or not this "20 million years" is correct, and found that it is completely incorrect.  Let's just use simple math to do this: It's stated that the Enigma machine has 159 million million million different settings, that's 1.59×10^20. Let's assume that a man can check a code each second (which is much faster than what was stated in the movie), and while a year has 31,536,000 seconds, then in 20 million years period that would be: 10(men)× 31,536,000(seconds in a year) × 20 ×1,000,000 (20 million years) = 6.3×10^15 settings. Obviously that is so much less than the Enigma settings so there is a huge error in saying "20 million years" as it would take much much longer than that. 25,000 times more to be precise.  So is this a calculation mistake they made?


HP Deskjet Ink Advantage 2130/2135 software installation (Ubuntu 20.04)

Although the built in drivers for the printer is working fine and with the help of the "Document Scanner" software I can manage to scan the documents but unable to find some features provided by HP proprietory software like the ink-level estimator feature... So, Yesterday I'd downloaded the HPLIP from  and followed the installation procedure and all is well until...  I realized that after the installation the "Ubuntu Software" was not working... Then rebooted the system but still that problem persists... Don't know whether any other software had been affected or not... When I run the sudo apt clean(autoclean and autoremove)... The HP icon got vanished as well as the HP system tray icon too got vanished...


I am trying to make a pirate ship and am trying to attach rope to the sails. my rope is made using a path, and soft body physics. I can not find a way to attach my rope to the sail. and I can not use pinned vertices because this is not a cloth modifier.


Uploaded image is not being deleted after refresh

I have a content type with a field type image. When I create a new node of that content type and click the browse button and then upload the image and immediately I refresh the page, every field is empty (that is ok), but the file remains in the files folder even after I run cron.  I checked the database and the file is set in the table file_managed with the status 0. Is weird because after the cron the uploaded image should be removed.  Any clue? Thanks!


How to disable a single op-amp in dual packaging?

I am using a dual op-amp package in a circuit, however I only need to use one. Is there anyway to disable the other op-amp so it doesn't inject electrical noise in my circuitboard? I think grounding the positive input and setting the op-amp into unity gain might be best, but I am not certain.


I have been around on Twitter for awhile and I regularly find people using "Please to retweet this" or "Please to help me", etc. Is this proper English? I do not think prefixing the infinitive form with a 'to' is necessary here at all.


Is it possible to attack enemies through a scrying sensor?

The Scrying spell allows players to look at distant targets. Are there abilities or spells that allow players or characters to launch attacks against a target they are scrying?   While I am aware that characters could teleport in, I'm more concerned about zero-risk attacks from super far away.   This question was spurred by the UA sorcerer ability, Hound of Ill Omen. Recently, one of my players cast Scrying on an commoner NPC from a great distance, and then used her Hound of Ill Omen feature on the NPC. The text of the feature reads,      As a   bonus   action, you can spend   3   sorcery points  to  summon  a   hound   of  ill omen    to  target  one creature    you can see.    The hound   uses    a dire  wolf’s  statistics  ...   Because the character could see the NPC, I couldn't find a good reason to disallow this, and the NPC was torn to pieces.  I'm not sure if this is just a quirk of the UA wording, or if there is a precedent for this kind of attack.  Just to be clear, my question is not whether Hound of Ill Omen works this way. My question is whether other abilities/spells/etc. also work this way.


I have to prove that for any integers $k_1<k_2<...<k_n$ the quotient:  $$ \frac{V_n (k_1,k_2, ..., k_n)}{V_n (1, 2, ..., n)} $$   is an integer, where:  $$ V_n (k_1,k_2, ..., k_n) = \prod_{1 \le i < j \le n} (k_j - k_i)$$  is the Vandermonde determinant.  I see that the denominator is equal to $1^{n-1} \cdot 2^{n-2} \cdot 3^{n-3} \cdot ... \cdot (n-1)^1$ but it doesn't seem to help.


split a string based on some parameter in python

var1 = "0123456789"   I need to store this string into another string variables by breaking it into 3 parts like    par1 = '0123'   par2 = '4567'   par3 ='89   Purpose:  I have got a dataset I need to break the each record and store it in different variables.


Why is everybody so concerned about etc/passwd?

Here is the content of my vagrant machine of this particular file:  root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/us$ nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin syslog:x:100:103::/home/syslog:/bin/false   Could anybody explain me why it is bad if some evil guy could get this file of my production server?


Which desktop environment does Zorin OS use and how to get for Ubuntu?

Which is the Desktop Environment of Zorin OS and is there any way to get it on Ubuntu?


Radical of an ideal in a finitely generated ring over $k$ is the intersection of maximal ideals containing it.

From Matsumura p.34     Let $k$ be a field, $A$ a ring which is finitely generated over $k$, and $I$ a proper ideal of $A$; then the radical of $I$ is the intersection of all maximal ideals containing $I$.   I understand that the radical of $I$ is contained in this intersection but I'm having troublr understanding the other direction. The proof says this follows from part 2 of Hilbert's Nullstellensatz     Given a subset $\Phi$ of $k[X_1, ... ,X_n]$ and an element $f \in k[X_1, ... ,X_n]$ suppose that $f$ vanishes at every algebraic zero of $\Phi$. Then some power of $f$ belongs to the ideal generated by $\Phi$.   So in order for the theorem to follow from this...don't we need $k$ to be algebraically closed? Because otherwise the maximal ideals are not necessarily of the form $(X_1 - a_1, ... , X_n - a_n)$. So we can't say that f vanishes at $(a_1, ... , a_n)$.


How to use single constant current source to power parallel LEDs safely and efficiently?

Can we connect the identical LEDs in parallel powered by the single constant current source efficiently and safely at the same time? How can we do this in most efficient and safe fashion?


I am working to make a large array of structs in C. I need the array to hold over 1 million struct instances. However when the array size gets above a couple hundred thousand the program crashes. It runs fine for the first bit then it crashes. I am running Windows 7 with 6 gb of RAM.  What is the root cause of this problem? Below is the code  struct Job {    unsigned long id;    unsigned int num_preds;    unsigned int resources;    unsigned int* pred_array; };  int main() {     //Counter and loop variables (Do not use for any other purpose)     unsigned int i,j,k,count;     unsigned long height,num_jobs;     // This is our input section     height = 1000;     //Calculate the number of jobs     num_jobs = (height+1)*height*0.5;     printf("%d \n",num_jobs);      struct Job jobs[num_jobs];     return 0; }


Changing the top navigation bar Tabs titles

I need to change the tile for the top navigation tabs, to do so I search for these tabs inside the following folder:-  C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Resources  Then I search for these tab titles inside the core & core.en-Us files,  I was able to modify the title for the items,files,browse,document,events, calendar. But I can not find the Page tab title under these files. So can anyone advice where I can find the “Page” tab which is displayed under all the sites pages.  using something such as :-       Custom title....


I would like to know: How come that  $$\sum_{n=1}^\infty n x^n=\frac{x}{(x-1)^2}$$  Why isn't it infinity?


Is there a "label" to break nested foreach loops in C#?

I have multiple foreach loops in my program which I want to break one of the inner loops at a certain met condition.  I know in Java you can give it some sort of label, and then when the condition is met you write break LabelName  Is there something similar to it in C#? I read there was something goto but goto is pointing to go somewhere to continue performing methods rather than just breaking the loop.  Sample code in Java:  STOPLOOP : for(Clause c : clausesList)             {                 // Random Coding                             if(!l.solved(hasExcl))                             {                                 literalCanBeRemoved = false;                                 c.complete = false;                                 break STOPLOOP                              }


zip folder with spaces in bash script through arguments

I have a folder in linux called New Folder (specified in shell arguments) This contain two single files, called file1.txt and file2.txt I want to zip the New Folder in one file called test test.zip (with spaces) Here my script: #!/bin/bash  folder=$1  #not work zip -r "test test" $folder  This is the output error. I will try with all arguments, but nothing work. test 1: ./zip_script New\ Folder/ New Folder         zip warning: name not matched: New         zip warning: name not matched: Folder  test 2: ./zip_script "New Folder" New Folder         zip warning: name not matched: New         zip warning: name not matched: Folder  But if my script is written witout arguments it work: #!/bin/bash #work zip -r "test test" New\ Folder


Express logic puzzles with proposition calculus notation

I’m trying to solve a logic puzzle that goes like this:     The police have three suspects for the murder of Mr. Cooper: Mr. Smith, Mr. Jones, and Mr. Williams. Smith, Jones, and Williams each declare that they did not kill Cooper. Smith also states that Cooper was a friend of Jones and that Williams disliked him. Jones also states that he did not know Cooper and that he was out of town the day Cooper was killed. Williams also states that he saw   both Smith and Jones with Cooper the day of the killing and that either Smith or Jones must have killed him. Can you determine who the murderer was if one of the three men is guilty, the two innocent men are telling the truth, but the statements of the guilty man may or may not be true?   When i was young, i used to solve such puzzles graphically, drawing vertices and arrows and excluding impossible cases. But now i want to do that formally. How can i express this puzzle definition using proposition calculus notation, inference and truth tables? Or, in other words, when you stumble upon a logical puzzle and you want to solve it formally, what is your algorithm?  What i tried. I extracted several propositions from the definition:   S: didn't kill C S: J knew C S: W disliked C J: didn't kill C J: J didn't know C J: out of town W: didn't kill C W: S with C W: J with C   There are 3 groups of propositions, two of them are always true, the third may contain either true or false statements. Let be $A = 1 \land 2 \land 3$, $B = 4 \land 5 \land 6$, $C = 7 \land 8 \land 9$. Then from  by using truth tables and Karnaugh maps i deduct that the statement “some two of A, B, C are true” looks like $(A \land B \land \neg C) \lor (A \land \neg B \land C) \lor (\neg A \land B \land C)$. But wait, “may or may not be true” means that all statements might be true, not that at least one is false (hence the NAND is not appropriate here). So the sentence should be reformulated as “at least some two of A, B, C are true”. Am i going in the right direction?


Find all functions: $\left ( \int \frac{dx}{f(x)} \right )\left ( \int f(x)dx \right )=c$

Find all functions $f(x)$ so that: $$  \left ( \int \frac{dx}{f(x)} \right )\left ( \int f(x)dx \right )=c $$ where c is a constant.  My attempt was to differentiate both sides but that appears to lead me to nowhere. I would assume that the solution involves some sort of differential equations but I am very likely to be wrong.  Thanks in advance!


The Lorentz group is defined to be the set of linear transformations that leave $ds^2 = -dt^2 + |d\vec{x}|^2$ invariant. The Poincaré group contains the Lorentz group, but now we allow transformations of the form $t' = t+a$ where $a$ is some constant. Is there a name for the group of transformations that leave $ds^2 = -dt^2 + |d\vec{x}|^2$ invariant without assuming linearity? The answers to this question  claims that any nonlinear transformation will have some "privileged" point, and hence we disregard them as nonphysical. However, I am curious nonetheless if there is a name for this group and any interest in it.


Redirect a portion of a bash script to a file to capture set -x output

I have a bash script and I want to capture a portion of the script with a set -x and redirect that output to a file.   I can see what the ENVFILE is setting but its going to std out.   Is there a way I can capture the output of the set -x into a file instead of std out ?     #!/bin/sh ...a bunch of stuff....  if [ -e ${ENVFILE} ]; then set -x . ${ENVFILE} set +x fi # ! -e PROJOB ... a bunch of stuff ....


How to get the directory of a sourced script in RedHat 6 with bash

I'm trying to get the path of the script that I'm sourcing. I'm doing the following:   DIR="$(dirname "$(readlink -f "$0")")"   Nevertheless I get  readlink: invalid option -- 'b'   I'm on a RedHat 6 machine using bash. Not sure if I'm suppose to do this in a different way.


Run a nohup command over SSH, then disconnect

I want to execute a script, start.sh on a remote server which runs this:  nohup node server.js &   Naively, I call SSH like this:  ssh myserver <<EOF ./start.sh & EOF   This starts the script, but leaves the session connected. I want to follow this step with other commands in a script, so that's no good.  How can I SSH to the remote machine, launch a nohup command into the background, then disconnect? I suppose I could put the SSH process itself into the background, but that doesn't seem right.


Let $A$ be a $n\times n$ matrix with entries $a_{ij}=i+j $ . Calculate rank of $A$.  My work : I noticed that A is symmetric . Hence all of its eigen vectors are real .. That is all i have got .   Your help will be highly appreciated .Thank you .


How do i Change a GameObject from another script to the GameObject the current script is on

im trying to set the game object in script1 to be the game object script2 is on public class Script1 : MonoBehaviour {     public static GameObject ObjectToMove; }   public class Script2 : MonoBehaviour {    void Start()    {      Script1.ObjectToMove = this.gameObject;    } }


Dual booting on a laptop with SSD and HDD

I saw a couple similar questions but they are pretty old (from win7 time) and I wanted to get an up-to-date answer.   I'm going to buy a new laptop with a 128GB SSD and 1TB HDD. I would like to dual boot both Windows10 and Ubuntu (or possibly Mint). Would the SSD be large enough to handle all windows and linux system files? My goal is to install both OSs on the SSD so it will boot fast and then use the HDD as overflow storage once the SSD starts filling up. How should I go about partitioning everything? Thanks!


Xcode upgrade and ~/Library/Developer/CoreSimulator

how could I prune ~/Library/Developer/CoreSimulator before xcode upgrade of obsolete simulators that I never used? They keep accumulating and at some point I run out of space unable to upgrade xcode.


Do two specks of antimatter experience antigravity between each other?

Do two specks of antimatter experience antigravity between them? If no is the answer then what 2 specks may ever be the cause of that?


I am currently trying to port a python script from 2.7 to 3.4.2. the script should be able to run shellcode from memory.  from ctypes import *  shell = b"\x31\xd2\xb2\x30\x64\x8b\x12\x8b\x52\x0c\x8b\x52\..." createbuffer= create_string_buffer(shell, len(shell)) shellcode = cast(createbuffer, CFUNCTYPE(c_void_p))  shellcode()   This is the closest I have gotten to running shellcode on python 3, and it just leaves me with:  OSError: exception: access violation writing 0x0099....   Bear in mind that this script works 100% fine with 2.7, so i don't see why it can't be ported to 3.


How to detect if computer is infected with Sality?

TL;DR  I have computer running Windows 7 64bit, my ISP informed me that it might be infected with Sailty. I updated system, made sure the anti-virus is up to date, preformed scans and found nothing. It might be an error (or something else) on the ISP part, but just to be on the safe side, I'd like to make sure that my machine is not infected. Is there anything I can do to determine if my machine is infected with Sailty or not?  Long version:  My ISP kindly informed me that a computer in my local network might be infected with Sailty, because 3 days earlier they detected (and likely blocked) a connection attempt to Sailty botnet. They also temporarily blocked my internet connection.  They recommended updating JAVA, Flash, anti-virus, system and preforming scans. The ISP added Sailty botnet to their detection list on July 2015 (so I'm guessing they haven't detected anything during the last 3 months).  At the time of the supposed connection only one PC was on and had a P2P app running in the background (I'm suspecting this might had something to do with what the ISP detected).  AVG with current virus database found 3 unrelated false-positives,  Malwarebytes Anti-Malware found nothing. I found a forum thread in which someone described the very same issue with the ISP. Trained technicians had a look at his Farbar Recovery Scan Tool logs and found nothing wrong, so I'm guessing that it was a false-positive (which leads me to believe it might be as well in my case). Is there some way to determine if my computer is infected with Sailty or not?  P.S. My router doesn't appear to be compromised.


What was the liquid in the trash compactor?

When Chewbacca, Luke, Han, and Leia escape the detention block aboard the Death Star, they find themselves in a trash compactor filled with enough murky liquid to hide a dianoga.                                What is the liquid?  Is it sewage?


I want to start module theory from the very beginning. I have a little bit of idea about what module is but I haven't really solved a handful of problems. Could someone please suggest me a good treatise on this subject? I badly  need it.


Help showing $H_n=\sum_{h \in H}h \in F[H]$ is a simple submodule

Given $F$ a field and $H$ a finite group and $H_n=\sum_{h \in H}h \in F[H]$, I'm trying to show that the left ideal $(H_n)\subset F[H]$ is a simple submodule.  Now I'm not really sure what the ideal looks like, I think it will be just the elements of $H$ but I don't see how simplicity follows.


I am having trouble identifying the difference between the use of was and were. For example: Sarah wishes she was/were more like mother.  Would it be were? If it is were, why?


What was the reason Owen Chase did not kill the gigantic whale?

In  I didn't understand the last part when Owen Chase had the chance to kill the whale but he spared it. What was the significance of that particular scene?


I want a "Stack Overflow" for my community website

I administer a community website — currently on dotnetnuke, which can't change right now — and I'd really like to replace my forums with something like Stack Overflow, but it has to be on my site. My users need to be able to interact with each other, and also have integrated access to the site blogs, downloads, documentation, code (open source) and bug tracker. So I have two questions:  Since Stack Overflow no longer offers commercial hosting, would they stop me from legally creating/deploying a clone?  Do such clones exist already either as a DNN module, or asp.net (mvc?) website that I can add to my site?


QGIS DB manager Import layer/file tool won't allow me to choose "Append data to table"

I want to append some data to a layer in my PostGIS DB using a shapefile, but when I use the Import layer/file tool in QGIS, it doesn't allow me to choose the append option.  Why is this and how do I get it to allow me to append?