We know that summation is for discrete values, and integration is the generalization of summation so that it can be extended to continuous values.  We also have product for discrete value, what is its continuous counter part?
We know that continuous version of $\sum$ is $\int$, but, can there be a continuous version of $\Pi$?
How can I find local IP addresses (i.e. 192.168.x.x or 10.0.x.x) in Python platform independently and using only the standard library? Correlation coefficient between a (non-dichotomous) nominal variable and a numeric (interval) or an ordinal variable I've already read all the pages in this site trying to find the answer to my problem but no one seems to be the right one form me...  First I explain you the kind of data I'm working with...  Let's say that I have an array vector with several names of city, one for each of 300 users. I also have another array vector with scores response to a survey of each user or a continuous value for each user.  I would like to know if exist a correlation coefficient that compute the correlation between these two variables so, between a nominal and a numeric/continuous or ordinal variables.  I've searched on the Internet and in some pages they suggest to use the contingency coefficient or Cramer's V or Lambda coefficient or Eta . For each of this measure the just say that they could be applied for such data in which we have a nominal variable and interval or numerical variable. The thing is that searching and searching, trying to understand every one of them, sometime is written or watching the examples that they are reasonable to use them if you have dichotomous nominal variable, except for Cramer's V, other time is not written any requirement for the type of data. A lot of other pages say that is right to apply regression instead, that is right, but I would just simply like to know if there is a coefficient like pearson/spearman for this kind of data.  I also think that is no so properly to use Spearman Correlation coeff since the cities are not sortable.  I have also built the function of Cramer'sV and Eta by myself (I'm working with Matlab) but for Eta they don't talk about any p-value to see if the coefficient is statistically significant...  In the matlabWorks site there is also a nice toolbox that says to compute eta^2 but the kind of input it needs is not understandable.  Is here someone that have done a test like mine? If you need more detail to understand the kind of data I'm using just ask me and I'll try to explain you better. What pressure should I run my Road Bike tyres at? There's a question for mountain bike tyres but I can't seem to find anything on here for road bikes. At the moment I'm running at around 90psi. Is that too much? too little?  Also, am I more likely to get punctures running at higher pressure?  I seem to be getting a lot lately. Should 'fuck' be present in review audits (intentionally fake suggested edit reviews)? Some suggested edit reviews are fake and are intended to check that the reviewer is paying attention and reviewing correctly.  I recently encountered one where the fake suggested edit contained 'fuck':   Despite the fact that we regularly encounter profanity online these days, and whilst it is not uncommon to encounter the word 'fuck' in blog posts by recognised authorities in the world of software development (and, I assume, in other fields), this nevertheless caught me a bit by surprise.  I have no problem with whatever strength of language someone feels is appropriate and relevant to make their point, however in the context of audit-related fake suggested edits, is the use of profanity appropriate?  Update: just to clarify, the word 'fuck' was not present prior to the fake suggested edit. The fake suggested edit added the word 'fuck' where it was not previously present. How to install League of Legends in Ubuntu How can I run a Minecraft Server on multiple CPU cores? I am working on setting up a Minecraft server on a machine I have at home. This particular machine has two quad-core CPUs running at 2.0Ghz so I would like to take advantage of the number of cores and run a server with 4 or 6 of the cores. My server of choice is CraftBukkit, the latest version of which is craftbukkit-1.4.7-R1.0 and launched with a start-up script of:  "C:\Program Files\Java\jre7\bin\java.exe" -Xms1G -Xmx8G -jar craftbukkit-1.4.7-R1.0.jar"   The  says:     Minecraft servers, as of 1.1.0, can use multiple cores, so now they will not sit idle.   but does not really expand on this.  My questions, then:   Is it possible to set the number of cores the server uses? How do I do it - via start-up options, or other methods? Is it really worth it and would it make that much of a difference with a lot of players? Very large log files, what should I do? ( deals with a similar issue, but it talks about a rotated log file.)  Today I got a system message regarding very low /var space.   As usual I executed the commands in the line of sudo apt-get clean which improved the scenario only slightly. Then I deleted the rotated log files which again provided very little improvement.  Upon examination I find that some log files in the /var/log has grown up to be very huge ones. To be specific, ls -lSh /var/log gives,   total 28G -rw-r----- 1 syslog            adm      14G Aug 23 21:56 kern.log -rw-r----- 1 syslog            adm      14G Aug 23 21:56 syslog -rw-rw-r-- 1 root              utmp    390K Aug 23 21:47 wtmp -rw-r--r-- 1 root              root    287K Aug 23 21:42 dpkg.log -rw-rw-r-- 1 root              utmp    287K Aug 23 20:43 lastlog    As we can see, the first two are the offending ones. I am mildly surprised why such large files have not been rotated.  So, what should I do? Simply delete these files and then reboot? Or go for some more prudent steps?  I am using Ubuntu 14.04.  UPDATE 1  To begin with, the system is only several months old. I had to install the system from scratch couple of months back after a hard disk crash.  Now, as advised in ,  I first checked the offending log files using tail, no surprise there. Then, for deeper inspection, I executed this script from the .  for log in /var/log/{syslog,kern.log}; do    echo "${log} :"   sed -e 's/\[[^]]\+\]//' -e 's/.*[0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\}//' ${log} \   | sort | uniq -c | sort -hr | head -10 done   The process took several hours.  The output was in the line of,   /var/log/syslog : 71209229  Rafid-Hamiz-Dell kernel:  sda3: rw=1, want=7638104968240336200, limit=1681522688 53929977  Rafid-Hamiz-Dell kernel:  attempt to access beyond end of device 17280298  Rafid-Hamiz-Dell kernel:  attempt to access beyond end of device    1639  Rafid-Hamiz-Dell kernel:  EXT4-fs warning (device sda3): ext4_end_bio:317: I/O error -5 writing to inode 6819258 (offset 0 size 4096 starting block 54763121030042024)        &lt;snipped&gt;  /var/log/kern.log.1 : 71210257  Rafid-Hamiz-Dell kernel:  attempt to access beyond end of device 71209212  Rafid-Hamiz-Dell kernel:  sda3: rw=1, want=7638104968240336200, limit=1681522688    1639  Rafid-Hamiz-Dell kernel:  EXT4-fs warning (device sda3): ext4_end_bio:317: I/O error -5 writing to inode 6819258 (offset 0 size 4096 starting block 954763121030042024)    (/dev/sda3 is  my home directory. As we can find,   lsblk /dev/sda NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 931.5G  0 disk  ├─sda1   8:1    0 122.1G  0 part / ├─sda2   8:2    0   7.6G  0 part [SWAP] └─sda3   8:3    0 801.8G  0 part /home    Why a process will want to write beyond the limit is actually outside the scope of my comprehension. Perhaps I will want to ask a different question in this forum if this continues even after a system update.)  Then, from  (you may want to check  for a deeper understanding), I executed,   sudo su - &gt; kern.log &gt; syslog   Now, these files have zero sizes. The system is running fine before and after a reboot.   I will watch these files (along with others) in the next few days and report back should they behave out-of-line.  As a final note, both  the offending files (kern.log and syslog), are set to be rotated, as inspection of the files (grep helped) inside  /etc/logrotate.d/ shows.  UPDATE 2  The log files are actually rotated. Looks like the large sizes were attained on a single day. How to prepare files for rsync on a case insensitive filesystem? What is the rule for adjective order? I remember being taught that the correct order of adjectives in English was something along the lines of "Opinion-Size-Age-Color-Material-Purpose."  However, it's been a long time and I'm pretty sure I've forgotten a few categories (I think there were eight or nine). Can anyone fill them in? I'm having a problem with author display for a statute - the author is 'City and County of San Francisco' but the output (using the apalike.bst style file provided by Elsevier) gives the author as 'City and San Francisco', missing the 'County' in the authorname.  Any suggestions? In sketchup you can move an object based on two points. This makes it very easy to align a vertex in one object to vertex in another object. Here is an example:    I want to know how to do this in Blender. It seems that Translate can't align vertexs I know this sounds silly but I would like some objects to follow physics while others not to collide each other.   I tried to achieve them by setting their position exclusively. But then it will ignore all physics.   Is what I am trying to do even possible? The basic concept of Quotient Group is often a confusing thing for me,I mean can any one tell the intuitive concept and the necessity of the Quotient group, I thought that it would be nice to ask as any basic undergraduate can learn the intuition seeing the question. My Question is :   Why is the name Quotient Group kept,normally in the case of division, let us take the example of $\large \frac{16}{4}$ the Quotient of the Division is '$4$' which means that there are four '$4$'s in $16$, I mean we can find only $4$ elements with value $4$     So how can we apply the same logic in the case of Quotient Groups,like consider the Group $A$ and normal subgroup $B$ of $A$, So if $A/B$ refers to "Quotient group", then does it mean:           Are we finding how many copies of $B$ are present in $A$??, like in the case of normal division, or is it something different ??       I understood the Notion of Cosets and Quotient Groups,b ut I want a different Perspective to add Color to the concept. Can anyone tell me the necessity and background for the invention of Quotient Groups?  Note: I tried my level best in formatting and typing with proper protocol,if in case, any errors still persist, I beg everyone to explain the reason of their downvote (if any), so that I can rectify myself, Thank you. I have a MySQL database that I "inherited" and I was not given the admin credentials.  I do however have access to the box that it runs on.  Is there a way to either recover the admin credentials or create new ones? What is the name of this connector from a fan? I am EE hobbyist and I often used recycled parts in my projects. I came across this connector to a Heat Sink Fan and would like to know the name of it.  Thanks for the help. Difference between Sort and SortBy How do I set the grub timeout and the grub default boot entry? In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)? Suppose there is a message that is encrypted with AES-128-CBC.  The message is as follows, new lines are used to delimit the 16 byte boundary for each block:  Wire funds from: Alice to Bob in   the amount of $ 1   Because this message is encrypted using CBC mode,  any modification of the first block of cipher text would propagate throughout the message.   However, the amount of the fund transfer falls in the last block.  I am under the assumption that an attacker can use the property of  to alter the last block and produce a valid amount that is greater than \$1 in far fewer than $2^{128}$ operations.   Is this a correct assumption?  Is there a name for this attack or do you know of a real world example?    My instinct is that if you just need one byte of the 16 byte block to be of a specific value then it would only require $2^8$ operations because the other 120 bits of the plain text could be any value. For example lets say we wanted the last block of cipher text to decrypt to 9\0 (where \0 denotes a single null byte, and the message would be interpreted as \$9), then it would take only $2^{16}$ operations to find this cipher text block.  Is there something I am missing? Counting the number of propagating degrees of freedom in Lorenz Gauge Electrodynamics How do I definitively show that there are only two propagating degrees of freedom in the Lorenz Gauge $\partial_\mu A^\mu=0$ in classical electrodynamics.  I need an clear argument that   involves the equations of motion for just the potentials $A^0$ and $\mathbf{A}$, and not the electric and magnetic fields.   includes sources $\rho$ and $\mathbf{J}$ in the equations of motion.  This is to justify the assertion that there are degrees of freedom that decouple from the rest of system. does not critically rely on quantum field theoretic arguments (although any supplementary remarks are welcome).     To illustrate the level of clarity I expect, I provide an argument in the Coulomb gauge $\nabla\cdot \mathbf{A} = 0$:  Of the four field degrees of freedom, the gauge condition $\nabla\cdot \mathbf{A} = 0$ removes one degree of freedom (the longitudinally polarized EM waves).  To show that among the remaining three degrees of freedom only two are propagating, consider the field equations of motion in the Coulomb gauge:  \begin{align} \nabla^2 A^0 &amp;= -\rho/\epsilon_0,\\ \big[\frac{1}{c^2}\frac{\partial^2}{\partial t^2}-\nabla^2\big]\mathbf{A}&amp;= \mu_0 \mathbf{J}-\nabla \frac{1}{c^2}\frac{\partial}{\partial t}A^0. \end{align}  The first equation is NOT a wave equation for $A^0$, and thus does not propagate.  The final equation IS a wave equation, and describes the propagation of two degrees of freedom (Gauss' law in first eq. can be solved, and then inserted into the second equation to show that $\mathbf{A}$ only couples to the Solenoidal part of the current). Trying to find a book about kids with 'sunguns' revolting against alien overlords I'm trying to identify a book (or possibly a series, as I seem to recall reading a sequel which still left the story unfinished).  I read the book or books in the early 90's and had picked them up from a jumble sale at school, so they were probably published in the 80's or possibly 70's. I guess you would class them as YA fiction, though that wasn't really such a thing back then...  As I recall the story began with a slave transport craft crash landing on an alien world, with only a handful of teenage and pre-teen humans surviving. They scraped together what they could, including a couple of functional 'sunguns' (basically, laser rifles) and began a low level guerilla rebellion against the alien race that were using humanity as slave labour on the planet.  I've googled 'sungun' repeatedly, thinking that this should be the best way of finding the story but the references that come up are all for other stories or conspiracy technologies.  Anyone got any vague recollections of a book or series like this?