2nd adjective phrase in a complex sentence - comma rule?

I'm looking for a grammar rule here with regards to a non-essential clause that is in the same place as an adjective and acting like a 2nd adjective. In a simple sentence, the 2nd adjective rule is clear:     (1) He was a tired, angry man.   But what to do in a complex sentence, when a 2nd adjective becomes a whole clause. Is it just like the simple sentence and without the comma:     (2)The political background of capitalism is a distinct, although not often explicitly and sharply defined identity among commercial movements in Europe.   Or does it get treated like a non-restrictive clause with a 2nd comma:     (3) The political background of capitalism is a distinct, although not often explicitly and sharply defined, identity among commercial movements in Europe.   I feel like the connection between defined and identity is quite strong, thus making this non-optional, in the same way angry and man is not optional.     (4) He was a tired, angry, man.   To me the above sentence is clearly wrong, so why is a comma not wrong in #3?  Help appreciated.


Why did Vader continue to serve Palpatine?

I'm not sure I understand why Vader continued to serve Palpatine after Padme died.  What did Palpatine have to offer him?  Anakin is an angry individual, but not necessarily an evil one.  "There's good in him still, I can feel it," as Luke said to Obi-Wan in Ep 6.    Was it the Dark Side itself that compelled him to serve Palpatine?  Did he feel that his disfigurements would mean he would not be able to function in any other role?   Why exactly did Vader stick around?


Using schema other than public in PostGIS?

I'm currently setting up a fresh install of PostGIS 2.0.2 and PostgreSQL 9.1.6 on Ubuntu.  I've recently come across   indicating that using the public schema to store all data is not a good idea.  For this reason, I've set up a schema called data and made myself the owner, but is it a good idea?  My concerns are:   Besides setting the owner, I may need to pay attention to things on the Privileges tab when creating this new schema (through pgAdmin III); I may not get the same benefits by storing my data in the public schema and dumping all data into a separate schema before doing a backup/restore (this would save a few keystrokes when using ogr2ogr); and I may run into trouble by not having the default PostGIS tables and views in my new data schema (they are in the public schema within the same database).


Code equivalence in C# and Visual Basic and VB code structure

I am fairly new to C# and VB coding. I need to create .Net framework describing chemical reaction as an extension so that I can reuse it in HYSYS. There are tutorials from 2004 which has a tutorial implementation in VB. I was trying to convert the structure from VB to C# but I am confused at With....End With implementation. Can you describe whats going on here as there is no assignment relations?  Ref Code lines is below and the tutorial pdf link is  (chapter 3).  With hyContainer     .SetReactionPropertyState rpReactants, vsCalculated     .SetReactionPropertyState rpStoichiometricCoefficients, vsCalculated     .SetReactionPropertyState rpMinTemperature, vsCalculated     .SetReactionPropertyState rpMaxTemperature, vsCalculated     .SetReactionPropertyState rpReactionBasis, vsCalculated     .SetReactionPropertyState rpReactionPhase, vsCalculated     .SetReactionPropertyState rpBaseReactant, vsCalculated     .SetReactionPropertyState rpBasisConversion, vsCalculated     .SetReactionPropertyState rpRateConversion, vsCalculated End With


Detecting request type in PHP (GET, POST, PUT or DELETE)

How can I detect which request type was used (GET, POST, PUT or DELETE) in PHP?


Can you use SQL Server Development Edition for a website?

I've got a website I'm developing, and it's database driven.  If I use SQL Server Development Edition as the back end, is that "legal"?  I'll be the only developer using the software, but it will be accessed/queried by dozens/hundreds/thousands of other people.  I apologize if this seems rudimentary, but I've never done this outside of a company so I don't really understand product licensing.


Let $p:X \rightarrow Y$ be a perfect map. Show that if $X$ is locally compact then so is $Y$.

Let $p:X \rightarrow Y$ be a perfect map, that is, $p$ is closed, continuous, surjective, and $p^{-1}(y)$ is compact for every $y \in Y$. Show that if $X$ is locally compact, then so is $Y$.  There are a couple of these perfect map problems on one of our old qualifying exams. They seem really difficult. I've been working on this one all night and can't figure it out.


Here is an example of my *.info file.      Why the page cannot load the CSS that I add myself?


Find the value of:  $i^{i^{i^{i^{i^{i^{....\infty}}}}}}$  Simply infinite powering by i's and the limiting value.  Thank you for the help.


Four days ago, just when they were nearing Dynize, an immense gale had   scattered his fleet. Dozens of transports and their heavily armed   escorts had been caught up in the storm. When it finally passed, the   Seaward had found itself all alone and blown a couple hundred miles   north of their rendezvous point on the Dynize shore. Styke had no way   of knowing how many of the ships had been lost, or how badly they’d   been dispersed. He didn’t know if half of his Lancers had drowned, or   been dashed against the shore, or if his entire army of twenty-five   hundred cavalry had already landed and was waiting impatiently for him   to arrive. Regardless, the Seaward sailed south at speed, hoping to   make up for lost time and avoid any Dynize warships along the way.   "Four days ago, just when they were nearing Dynize". After that they have used, "an immense gale had scattered his fleet". Instead of "an immense gale scattered his fleet. And then they have used "had" again and again. Why is that so?


Why does iPhone Music app show me "Apple Music" logo instead of my iTunes songs?

I synced all of the music in my iTunes Library to my iPhone (like it was an iPod).  I've been listening to the music in my Jeep for weeks by plugging into the USB port and choosing songs and playlists from the in-car radio's touchscreen.  (So I know the music is on the iPhone.)  Today, I want to listen to my music with headphones.  Thought I'd try Siri ... I told Siri to "Play Accept Yourself by The Smiths", and sure enough she played it!  (I thought it was pretty cool that worked, actually.)  When the song ended, I thought I'd chose something manually.  On the iPhone I touched the "Music" app/button on the home screen, it took me to a photo of a girl wearing headphones and the "Apple Music" logo.  No lists of songs, no other options.  I went to the "Settings" app, and selected "Music" and I noticed that "Show Apple Music" was switched to ON.  So I turned it OFF.  Went back to the "Music" app, and there's still nothing but the photo of the girl and the "Apple Music" logo.  What am I doing wrong?  How can I see the songs that are my iPhone?  Thanks!


How do I use render layers to give my model more light/dark contrast?

I found some answers here that say you can make shadows darker with render layers, but I could not understand exactly what to do.  Mostly, I would like for my model to have more contrast (in cycles).  I currently am lighting it with 3 emission planes and everything looks right except the contrast needs to be increased. Moving the lights around and adding more lights just detracts.  Right now it is too soft-looking and needs more "ooomph" and perhaps there is some other way to add contrast without making it too hard-edged.  I also read about using a "light path" but I don't know where to start with that either!  Thank you for any guidance!


iPhone asks to trust computer each time when tethering hotspot is on

When tethering hotspot is on, and I connect with my laptop via USB (in order to tether), I get asked each time to trust the computer which is annoying.  Latest iOS 13.2 17B84 ;  Mac OS Catalina 10.15.1 (19B88) .


A word to describe dislike caused by not knowing a person

Is there a word to describe the negative emotion you can feel for an individual you barely know, and the things you dislike about them have largely/entirely been invented in your head over a long period? For example:  Jane had never spoken to Bob before, but after 2 years, she had strong feelings of X towards him. This most likely began when he bumped into her in the office lift. As with many cases of X, the two have barely exchanged a word in their lives.


How to restore Microsoft SQL Server database from .sql file?

I have 3,5 GiB .sql file with MS SQL Server database dump (created from MS SQL Server Management Studio). How to restore this database now?


Can the new Affinity Photo app work with multiple images, like Apple Aperture did?

I deal with hundreds if not thousands of images a day.  I use Apple's Aperture program because i can edit many images at a time, and copy metadata from one image to the next.  Has anyone used the new Affinity program for Mac yet, and if so is it like Aperture, or can you only deal with one image at a time?


Why does SO's community feel a lot harsher than any of the other communities?

For some reason, every time I go to SO after being at one of the other sites and ask a question, I almost always get negative results. I ask just about the same way on every site, and on just about every site I go to, I get at least a little bit of reputation. That isn't the case on SO, though. Why is this? Also: please look at my  on SO; is there something going on that I'm unaware of? My questions didn't get any attention for almost a month, and then they all get downvoted (in waves, each after I asked a question on SO Meta).


Alternative title for research assistant

I’m taking a (non-student) job as a full time research assistant in a university engineering department, and am wondering what alternate title I could use for this on my resume that isn’t misleading.  Research assistant has a connotation of being a lower level student job, and I have a MS degree and ten years of work experience, so I’m hesitant to put that title on my resume.  If this was in industry I could use research engineer, but in academia, that has a connotation of someone who is a principle investigator and has a PhD.   My job description is a hybrid between these: I’ll be doing research and publishing, but in support of someone else’s project.  Also some departmental work setting up labs, learning and maintaining the equipment and helping teach students to use it.  Most of my time will be spent on research activities.  Suggestions for an alternate job title?


Characteristic polynomial of companion matrix

I have a matrix in companion form,    $$A=\begin{pmatrix}  0 & \cdots & 0& -a_{0} \\  1 & \cdots & 0 & -a_{1}\\ \vdots &\ddots & \vdots &\vdots \\ 0 &\cdots & 1 & -a_{n-1} \end{pmatrix}$$    where $A \in M_{n}$. I want to prove by induction that the characteristic polynomial is  $$p_{A}=t^{n}+a_{n-1}t^{n-1}+\cdots +a_{0}$$  The part that is confusing me is if we assume this hold for $A_{1}\in M_{n-1}$ how do we transform, or "add" to $A_{1}$ to get the n by n matrix $A\in M_{n}$? I hope this makes sense.


Modify Taxonomy pages to exclude items in child taxonomies

I found this question:    which seems to indicate that yes, you can alter the taxonomy query on taxonomy archives via pre_get_posts().  so i came up with  add_action('pre_get_posts', 'kia_no_child_terms' );  function kia_no_child_terms( $wp_query ) {     if( is_tax() ) {      $wp_query->tax_query->queries[0]['include_children'] = 0;   } }   as well as   add_action('pre_get_posts', 'kia_no_child_terms' );  function kia_no_child_terms( $wp_query ) {    if( is_tax() ) {         $tax_query = $wp_query->get( 'tax_query' );         $tax_query->queries[0]['include_children'] = 0;     $wp_query->set( 'tax_query', $tax_query );       }     }   to try to set the include_children parameter to false... and just about every combination of the two i can think of.  so far however, the taxonomy archive is still showing the items in the child term  and the following test just seems to ADD the additional tax queries instead of overwriting them... which just confuses me.    function dummy_test( $wp_query){ $tax_query = array(              'relation' => 'OR',              array(                'taxonomy' => 'tax1',                'terms' => array( 'term1', 'term2' ),                'field' => 'slug',              ),              array(                'taxonomy' => 'tax2',                'terms' => array( 'term-a', 'term-b' ),                'field' => 'slug',              ),            );   $wp_query->set( 'tax_query', $tax_query );  ); add_action('pre_get_posts','dummy_test');   shouldn't SET overwrite the current value?


What is the UNC network path to a folder shared via Samba?

I am trying to direct a scanner to scan directly to a shared folder on my home network. The scanner's web service asks for the network path to my shared folder, and only accepts UNC as input, i. e. \\server\volume\path.  My share is at //home/<user>/Public on a particular computer on my network.  I know the IP address and netbios name of the computer, and know the shared folder path on my Ubuntu machine, but don't know how to plug that in to come up with a valid UNC path to my shared folder.  UPDATE:  This is not a duplicate of the question that asked how to navigate to a samba share via command line of a share created in Nautilus.  Instead, I was asking how to direct a web server to my samba share when the web server uses a Windows (UNC) input mask.  I already knew the path to my samba share from the terminal and from other Linux devices on the network.  I didn't know how samba characterized this path to Windows machines or web servers that assume the Windows UNC file path naming conventions.


Given two isomorphic groups G and H, is it possible that two or more functions define their isomorphism? Also, is it possible that another group say, L is isomorphic to G but not to H?


How to remove duplicate from an Array and sort it?

I have array A :     Input:           A ={2,3,2,{1},3,2,{0},3,2,0,11,7,9,{2}}      I want output to be Array B     Output:      B={0,1,2,3,7,9,11}   How can i remove the duplicate values and sort them ascending with PHP?


How do the Fat Lady, Dumbledore, and Phineas create portraits that can talk? And if it's easy, why don't all wizarding people make talking portraits of themselves? Do you need an audio snippet from a person?


Difference between dependent and correlated variables

I read that correlated variables are always dependent but dependent variables may be uncorrelated. Can anyone please correct me if I am wrong? And also explain me intuitively the difference between correlation and dependence in variables with an example? I will be very thankful


19.5V, 5.13A power supply to replace 19.5V, 7A power supply?

I have this laptop:  It came with a pretty large and heavy power supply, so I am trying to replace it with a smaller one. The reason why it's so heavy is because it outputs 19.5V at 7A max. That's a lot of power. I plugged my laptop to a desk power supply and measured the current going in at 19.5V when I simultaneously copy file from partition to partition, download from the internet and play a very demanding video game engaging the NVidia graphics card. Maximum input was 4A - it never peaked over it. When the graphics card is not engaged, the input is about 1.5A. My question is, is it safe to replace the power supply with one that outputs maximum of 19.5V at 5A? What happens if, theoretically, the current draw is momentarily higher than 5A? I guess it would just turn of charging of the battery and start sucking the extra needed power from the battery, right? In other words, I should be safe using a lower amperage power supply, correct? I want to make sure my logic is sound before I do this. Thank you!


how to calculate the number of days between two Date values

I have a question how do I get nubmber between 2 different dates using JS. I currently have booking calendar wich works fine but I have no idea how could I make when someones clicks leave date on calendar that it would change price to days between arrival and leave date and * 45$ (let's say 45 is the price/night).  Here's my code of datepicker:       $(document).ready(function(){       var array = <?php echo json_encode($seznamkoncni); ?>;              function DisableDates(date) {                             var string = jQuery.datepicker.formatDate('dd.mm.yy', date);                      return [dates.indexOf(string) == -1];                  }                     $('#date1').datepicker({         minDate: 0,         changeMonth: true,          changeYear: true,       beforeShowDay: function(date){           var string = jQuery.datepicker.formatDate('dd.mm.yy', date);           return [ array.indexOf(string) == -1 ]         },       onSelect: function(dateStr) {              var newDate = $(this).datepicker('getDate');              if (newDate) {                       newDate.setDate(newDate.getDate() + 1);              }              $('#date2').datepicker('setDate', newDate).datepicker('option', 'minDate', newDate);                    }                                });              });  $(document).ready(function(){     var array = <?php echo json_encode($seznamkoncni); ?>;                function DisableDates(date) {               var string = jQuery.datepicker.formatDate('dd.mm.yy', date);              return [dates.indexOf(string) == -1];          }         $('#date2').datepicker({     minDate: 0,     changeMonth: true,      changeYear: true,   beforeShowDay: function(date){       var string = jQuery.datepicker.formatDate('dd.mm.yy', date);       return [ array.indexOf(string) == -1 ]   }                });      });


How is the binary subtraction done in the photo attached? I know there are several ways to compute it, but I'm specifically asking for the way my professor did it in that photo.


I've looked around, and can't find any detailed explanation of the output at all. Most is indeed easy to understand, but there is one part that flummoxes me:  Time per request:       109537.505 [ms] (mean) Time per request:       109.538 [ms] (mean, across all concurrent requests)   This means - to me - that if you measure across all concurrent requests (whatever that means) then the requests are suddenly returned 100x faster. Why would the time per request change that much? This makes no sense.  Is there any detailed explanation of this and other parts of the ab output?


Is the set of the rational numbers equal to the set of periodic numbers?

Is $\mathbb Q = \{\text{set of all numbers periodic from some point on}\}$ ? I am pretty sure that $\{\text{set of all numbers periodic from some point on}\} \subset \mathbb Q$ but i don't know how to prove. I didn't find any proof about $\mathbb Q \subset \{\text{set of all numbers periodic from some point on}\}$. Maybe it is wrong. Thanks for the help !


How do I match any character across multiple lines in a regular expression?

For example, this regex  (.*)<FooBar>   will match:  abcde<FooBar>   But how do I get it to match across multiple lines?  abcde fghij<FooBar>


Let $n$ be any integer. We construct a group of order $n$ as  follows:   $G$ will consist of all symbols $a^i$, $i=0,1,2 \cdots, n-1$ where we   insist $a^0 = a^n = e$, $a^{i}\cdot a^{j} = a^{i+j}$ if $i+j \le n$   and $a^{i}\cdot a^{j} = a^{i+j-n}$ if $i+j > n.$ The reader may verify   that this is a group. It is called a cyclic group of order $n$.   I'm trying to verify that this indeed is a group.  (a) For any $a^i, a^j \in G$ we have $a^i\cdot a^j = a^{i+j} \in G$ if $i+j \le n$; and $a^i\cdot a^j = a^{i+j-n} \in G$ if $i+j > n$.  (b) For any $a^i, a^j, a^k \in G$, for $i+j+k \le n$ we have $a^i \cdot ( a^j \cdot a^k) = a^i \cdot a^{j+k} = a^{i+j+k}$ since $j+k \le n$ is implied by $i+j+k \le n.$ If $i+j+k > n$ we have $a^i \cdot ( a^j \cdot a^k) = a^i \cdot a^{j+k}$ $= a^{i+j+k-n}$ if $j+k \le n$; and if $j+k > n$ we have $a^i \cdot ( a^j \cdot a^k) = a^i \cdot a^{j+k-n}$ $= a^{i+j+k-2n}$.   For any $a^i, a^j, a^k \in G$, for $i+j+k \le n$ we have $(a^i \cdot  a^j) \cdot a^k = a^{i+j} \cdot a^{k} = a^{i+j+k}$ since $i+j \le n$ is implied by $i+j+k \le n.$ If $i+j+k > n$ we have $(a^i \cdot  a^j) \cdot a^k = a^{i+j} \cdot a^{k}$ $= a^{i+j+k-n}$ if $i+j \le n$; and if $i+j > n$ we have $(a^i \cdot  a^j) \cdot a^k = a^{j+k-n} \cdot a^{k}$ $= a^{i+j+k-2n}$.   (c) There's $a^0 \in G$ such that for any $a^i \in G$ we have $a^i \cdot a^0 = a^{i+0} = a^i$ and $a^0a^i = a^{0+i} = a^i.$  (d) For every $a^i \in G$ there's $a^{-i} \in G$ such that $a^i \cdot a^{-i} = a^{i-i} = a^0$ and $ a^{-i} \cdot a^i  = a^{-i+i} = a^0.$  Is this correct?


I have a datetime problem if I try to compile my latex file. It is something with datetime, but I cant figured it out, what it is.  I have append the log   How Can solve the problem of solving the datetime issue?  This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014) (preloaded format=xelatex)  restricted \write18 enabled. entering extended mode (./CV - Thomas Bosch.tex LaTeX2e <2014/05/01> Babel <3.9k> and hyphenation patterns for 21 languages loaded. (../layout/header.tex (/usr/local/texlive/2014basic/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2014basic/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/local/texlive/2014basic/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2014basic/texmf-dist/tex/latex/l3kernel/expl3-code.tex (/usr/local/texlive/2014basic/texmf-dist/tex/latex/etex-pkg/etex.sty)) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/l3kernel/l3unicode-data.def)  (/usr/local/texlive/2014basic/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def)) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/l3packages/xparse/xparse.sty ) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/fontspec/fontspec-patches.st y ************************************************* * LaTeX warning: "xparse/redefine-command" *  * Redefining document command \oldstylenums with arg. spec. 'm' on line 144. ************************************************* ) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty (/usr/local/texlive/2014basic/texmf-dist/tex/latex/base/fontenc.sty (/usr/local/texlive/2014basic/texmf-dist/tex/latex/euenc/eu1enc.def) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/euenc/eu1lmr.fd)) (/usr/local/texlive/2014basic/texmf-dist/tex/xelatex/xunicode/xunicode.sty (/usr/local/texlive/2014basic/texmf-dist/tex/latex/tipa/t3enc.def (/usr/local/texlive/2014basic/texmf-dist/tex/latex/euenc/eu1lmss.fd)) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/local/texlive/2014basic/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/graphics/graphics.sty (/usr/local/texlive/2014basic/texmf-dist/tex/latex/graphics/trig.sty) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/latexconfig/graphics.cfg) (/usr/local/texlive/2014basic/texmf-dist/tex/xelatex/xetex-def/xetex.def)))) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (/usr/local/texlive/2014basic/texmf-dist/tex/latex/geometry/geometry.sty (/usr/local/texlive/2014basic/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/usr/local/texlive/2014basic/texmf-dist/tex/generic/oberdiek/ifvtex.sty) (/usr/local/texlive/2014basic/texmf-dist/tex/generic/ifxetex/ifxetex.sty)) (/usr/local/texlive/2014basic/texmf-dist/tex/generic/babel/babel.sty (/usr/local/texlive/2014basic/texmf-dist/tex/generic/babel-english/english.ldf (/usr/local/texlive/2014basic/texmf-dist/tex/generic/babel/babel.def (/usr/local/texlive/2014basic/texmf-dist/tex/generic/babel/xebabel.def))) (/usr/local/texlive/2014basic/texmf-dist/tex/generic/babel-german/ngerman.ldf (/usr/local/texlive/2014basic/texmf-dist/tex/generic/babel-german/ngermanb.ldf) ))  ! LaTeX Error: File `datetime.sty' not found.  Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)  Enter file name: q


Suppose $f$ is a continuous function on $R^1$ with period 1. Prove that $$\lim_{N\to\infty}\frac{1}{N}\sum_{n=1}^Nf(n\alpha)=\int_0^1f(t)dt$$   for every irrational number $\alpha$. Hint: Do it first for $$f(t)=e^{2πikt}$$   How are these two thing connected? Intuitively the left hand side is acting like a Riemann sum but it isn't a Riemann sum. $n\alpha$ is fairly ambiguous and hard to understand. In the long run  I understand that $(n\alpha)$ (the decimal value of $n\alpha$) populates the entire interval $(0,1$ fairly uniformly. I don't understand how that may help. I don't know any assistance


Does killing Might Sliver before damage affect other slivers' power and toughness?

I got quite confused on what exactly happens in this situation:  Opponent is attacking, he does so with three (3/3) creatures.  I declare blockers, which would be two unimportant (1/1) Slivers and a  (2/2). The Might Sliver has a static ability: "All Slivers get +2/+2", so in fact I have two (3/3)'s and one (4/4) creature to block with.   If, after the blockers are declared and before the damage is dealt, the opponent destroys the Might Sliver with an instant (Murder), will my Slivers retain the +2/+2 bonus until damage is dealt, so I would lose three creatures, while he loses two, or is it lost and my defense crumbles and my defenders are all killed?


printf() working without double quotes, prints random characters

I stumbled upon this C code in a college test and when I tested it on Dev-C++ 5.11 compiler, it printed random characters. I can't understand how or why this code works. Can someone enlighten me?    int main() {         char a[10] = "%s" ;         printf( a ) ;     }


How to redirect stdin and stdout and stderr at the same time in bash?

I want to redirect stdin and stdout and stderr at the same time in bash, is this how it's done:  someProgram < stdinFile.txt > stdoutFile.txt 2> stderrFile.txt


I know that there exists an Isomorphism between sl(2,C) and  𝔰𝔲(2)⊗ℂ but could not find one on the complex basis of sl(2,C). Does anyone know it?


C function call followed by a comma separator

I was reading some material about errors that should be avoided when writing C programs and I came across the following code:  #include <stdio.h>  void foo(int param) {   printf("foo is called\n");   printf("%d\n",param); }  int main() {   return foo,(1); }   The code above build without errors and warnings (it only show a warning when -Wall is activated) but when I run the small program nothing is displayed. The function foo is not called because of the comma separator.   My question is why the C standard allow such syntax? Shouldn't the compiler issue an error in this case? In which context this syntax could be used in some real use case?  Thanks in advance,  PD: I'm using GCC 4.8.3  EDIT:  Couldn't the compiler in this case detect the situation and issue an error instead of warning (as I said it only appears when -Wall is enabled)


PHP Blind SQL injection on my web application

im bulding a student management system using php and codeigniter. After running a webapp vulnerability scanner i got a critical error on 'stid' paremiter is vulnerable to blind sql injection. This paremiter is used when a student create account, so the sytem take this student id and pass it to the database to see if its alreday exist or not. To make sure it's not false alarm i also uses sqlmap and also it detect this blind sql injection and dump out my databases. Here below is the place where i belive there is a problem. I'll appreciate any suggetion to mitigate this problem. Thanks function student_status(){    $input = $this->input->post();     $message = array();     switch($input['content']) {         case 'studentid':             $user = new User();             $user->where("registration_number_id",$input['stid'])->get();             if($user->result_count()){                 $message['error'] = true;                 $message['message'] = 'User Already has an account';             }else{                 $student = new StudentInfo();                 $student->where('registration_number',$input['stid'])->get();                 $this->commondata = $student->get_basic_info($input['stid']);


What is the correct relative pronoun for "government"? Which of the following phrases is correct? I am writing for an American [English] audience.     The Queensland Government, who licenses several casinos, ...   or     The Queensland Government, which licenses several casinos, ...


Constipation and not eating while holding back poo. How can we help our son?

Our son is going to be 3 years old. Lately, he had constipation and he doesn't eat much. Now he holds back his stool because he had a rash, but now it is really hard for us to make him poo as he cries a lot. We tried to make him in Indian style toilet so it's easy for the opening but to no vail.  People have told us to try many things few of them are   Melting butter into his milk olive oil in milk milk castor oil orange juice tummy rub lactoloose solution Mix  into water and give in morning Currently we are giving him    Now his routine. I am very strongly opposed to ice cream as he use to consume at least 1 in summers, Ice vans and in home, he use to have corner yogurt every morning because he "wouldn't eat". Again I oppose it because a healthy breaky habit is what we have to make him get used to. Not pre-processed food like sugary yogurt, ice cream or sausages because "he would eat something". But now I strongly opposed his ice cream and sausages habit because I am very advocate for natural food. We thought it was due to full fat (blue cap) milk too, so we changed it to semi milk (green), though there was a small progress but nothing really changed.   He doesn't eat anything "fully" and a lot of his food goes to waste. Sometimes, he does eat fruit like strawberry but he evades everything saying no. The doctors aren't too concerned because they say as long as he has liquid going in, it's all good but my wife wants to make him do poo everyday. Whenever he hides behind door it means he is trying to poo but doesn't really and it goes on and on.  Now it has become an everyday when he feels like poo is coming, my wife rushes him to sit down in squat position but he cries and doesn't stop. Same thing with making him sit on toilet seat.   What can we do? His taste has developed too much towards ice creams, chocolate or juices. My wife has stopped his ice creams, chocolate a lot as we had arguement over it. Again I am opposed to those things except for juices.TBH it hurts me to see him in pain.  Sidenote - I believe that his wrong eating habits have lead him to this point, where I had stood firm but he always got away with his mum or granny.


I'm studying a paper called "". As it can be understood from its name, it has proposed an optimization algorithm based on the reaction of a bacterium toward its environment. The bacterium tends to go towards chemoattractants and stay away from repellents. The path of the bacterium consists of a sequence of straight-line trajectories that each of them has a different direction and duration.  In order to calculate the duration of each trajectory (denoted by τ), they have used an exponential probability density function like this:  $$P(X=τ) = 1/T e^{-τ/T}$$  where for $f_pr / l_pr >= 0$, $T=T_0$ and for $f_pr / l_pr < 0$, $T=T_0 (1+b|f_pr / l_pr|)$  I'm new to exponential distribution, as far as I know the formula for the exponential distribution is:  $P(X>x) = e^{-\lambda x}$ and $P(X<x) = 1-e^{-\lambda x}$  and the probability of the value of $P(X= a.constant.number)$ is equal to $0$, isn't it? If so, what is the meaning of the presented formula in the paper?  My second question is that: according to what I stated about the paper, does $T$ here denote the mean duration of the trajectories up to this moment?


I've got a lot of history in email servers in the cloud (i.e. someone else's computer). I'm looking for some way to make a local backup of all that data, preferably one I could easily access/search.  There are two products I know of that do exactly what I want but they're both Windows only MailStore and MailShelf. There's apparently also a Mac only program called Horcrux. But nothing I can find for Linux.  Thunderbird is not and could not ever be considered a backup solution. There is no way within TB to know it has completed downloading mail (even assuming it ever would). This is on its own absolutely disqualifying. It's not good enough for a backup to simply hope it's done, if it worked at all (which there is no way to check in TB). Thunderbird's cache was never designed to produce authoritative backups, it's just a convenience feature.  There do seem to be a number of Linux console tools that do the first half of what I want (imapsync, imap-backup, more?) but I'm not sure how I'd access/search the mail after the messages were down. There are also enterprise products (Piler, MailArchiva) which are probably overkill, and would be a hassle to setup anyway.  I asked this question on Ubuntu's own forum several days ago but the only solution suggested was to run a local mail server and then sync the cloud accounts to that. It might work, but it seems there should be a better way.  Is anyone out there willing to share the solution they have for this problem?


18.04 LTS upgrade has stopped WOL (wake-on-LAN)

I have upgraded to 18.04 LTS 64-bit from 16.04 this week, prompted by the software updater. Under 16.04 wol worked without problems. Not now, searching for solutions  I have installed ethtool and can see the network settings. My eth0 has become enp1s0 and ethtool clearly shows 'Wake-on: d' which seems to mean No, and I can run 'sudo ethtool -s enp1s0 wol g' which changes the status to g which seems to mean Yes. My PC wakes correctly but Wake-on is set back to d. How to I change it permanently to g. I have searched on this and the solutions I am finding are years old and do not work anymore. Has anyone got an 18.04 solution.  Ask Ubuntu seems to think this is a duplicate query to 'Wake-on-LAN quit working with latest kernel (Bionic)' which is about booting from different Kernels and confuses the hell out of me. My question is just a procedural question about setting wol to always be on. I have an answer, it works and I think people who just need it to work will find this more useful


How to fix "LaTeX Error: File `somepackage.sty' not found"?

I am using TeXworks 0.4.5 r1280 with MikTeX 2.9 on Windows 7 64-bit. When I add  \usepackage{datetime}   and try to typeset the document, I get a dialog window like this:    I select "Install", confirm UAC request and then get the following error on the console:  ! LaTeX Error: File `datetime.sty' not found.   If I try to typeset the document again - the dialog and the error appear again.  Same thing happens when I've tried installing wrapfig and a few other packages at random: cases, comma, dowith, microtype.  Other packages have installed fine before. What is wrong with my setup? Please let me know if you need more info about my setup in comments.  I've tried this solution: . Didn't work.


Geometrical interpretation of $(\sum_{k=1}^n k)^2=\sum_{k=1}^n k^3$

Using induction it is straight forward to show $$\left(\sum_{k=1}^n k\right)^2=\sum_{k=1}^n k^3.$$ But is there also a geometrical interpretation that "proves" this fact? By just looking at those formulas I don't see why they should be equal.


The question is in the title. I am very appreciative of any time and concern put into belaboring this relatively little problem.


What should the size of the private exponents in Diffie-Hellman key exchange for TLS be?

I'm using TLS with a Diffie-Hellman key exchange to negotiate the symmetric keys. How long should the exponents be?


GPG error "repository is not signed" when I run sudo apt-get update

I'm new to Ubuntu and having some trouble after installing Atom. First time I failed and removed it. Second time I succeeded and got it running.   But now when I run sudo apt-get update I get the following error:  W: GPG error: https://packagecloud.io/AtomEditor/atom/any any InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4C6E74D6C0A35108  W: The repository 'https://packagecloud.io/AtomEditor/atom/any any InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details.   How can I fix this problem?


Could full support for bounties be added to the iOS app?

Please can we have the ability to find and sort bounties in the iOS app?


Form $_POST data missing value of submit button

I have a complex form API managed form that has several fieldsets with nested fieldsets and table elements (defined with webform component editor) with AJAX-controlled 'Add another' and 'Remove Last' buttons. There is also a form submit button at the end of the form, external to all fieldsets.   After a certain (of the order of 100) number of element groups (containing 4 or 5 fields each) are added and the form is submitted, the $_POST data generated after submitting the form does not include the value of the input element, so at a later stage the form API cannot determine the correct triggering element in function _form_button_was_clicked of form.inc.   The $form_state['input'][$element['#name']] element does not exist.  I've doubled the post_max_data and explicitly named the input element (by setting $element['#name']), all to no avail. I'd appreciate any thought on what else to try...


Out of votes for the day but missing one vote for Vox Populi badge

I'm told I've run out of votes. But it also says I'm missing one vote for the Vox Populi badge (I'm at 39/40).   These two statements seem to contradict each other.   What's going on?


What started the Triforce conflict, and why does it keep happening?

In the Twilight Princess, Ganondorf's [extended] monologue about the Triforce states that the "Chosen" (i.e. the ones bound to the Triforce) are destined to repeat this conlfict again [emphasis mine]:  When the Chosen Ones appear... They are always born into this world in perfect balance. That is the destiny of the Chosen. That is the fate decreed by your Gods, the only path for those who bear their crests. When this world brings forth another marked as you are... Know too, that it shall also be visited by one of my blood. Do not think this ends here... The history of Light and Shadow will be written in blood!   This comes across as a kind of "prophecy", that this conflict will simply keep happening over and over again. This explains the "rebirth" of Link through Hylia's history (Hero of Time; Hero of the Minish; Hero Chosen by the Gods; Hero of Light; etc), and Zelda's reincarnations as well, though Ganondorf seems to survive through history as the same person (likely due to his ties to the Triforce of Power). I was under the impression that when the Goddesses created Hylia, the Triforce was a symbol of unity, and there was no mention of any evil intent in that event? So my question is whay casued this in the first place, and why does this conflict keep arising?


Was Dumbledore aware of house-elf magic? If he was aware of house-elf Apparition, he should have gone to the Cave with Dobby. It seems nobody in the story made use of elf Apparition fully (it isn't abuse, as making use of Hermione's magic wasn't abuse).  For instance, Harry might have gone to Hogwarts/Gringotts in the final book with Dobby/Kreacher (along with Hermione,Ron) avoiding much trouble.  What are the limits of house-elf apparition?


I am confused by rolling friction.  Suppose you have a cylinder rolling which starts at rest at the top of an incline plane and begins to roll down the plane without slipping. Is work done by the incline on the cylinder?   I know from doing some problems that the total kinetic energy (translational and rotational) is $mgh$, which is true only if the only work done on the cylinder is by gravity. But also, the cylinder must have nonzero angular acceleration, so friction must be exerting torque on the cylinder, so work must be done by friction. One of these statements is wrong.


Dash Slash Meaning vs just Slash -/var vs /var

Working with Centos 7  In the rsyslog.conf file there are some rules that place logs in directories that start with a -/ (Dash slash) before stating which directory to place the logs, while others have the usual / followed by the directory.  I know the slash before the directory says to start from the root directory, but what does the dash do?  Does the dash mean something specific as I cannot find the meaning behind it anywhere.  Thank you! TDR


$p^2$ divides $ab$ and $\gcd(a,b)=1$. Show $p^2$ divides $a$ or $p^2$ divides $b$

Suppose $p$ is a prime where  $p^2 \mid ab$ and $\gcd(a,b) = 1$. Show that $p^2\mid a$ or $p^2 \mid b$.   I'm not quite sure how to go about this. I know it has something to do with the fact that $\gcd(a,b) = 1$ since if we didn't have that requirement, this statement would not hold since $3^2 \mid 6*12$ but $3^2$ does not divide $6$ or $12$.   I started by saying that since $p^2  \mid ab$, $ab = p^2k$ for some integer $k$. Also since $\gcd(a,b) = 1$, $1 = ax + by$.   I do not know if this is the right way to think about this or not. Any help would be great.


Creating a split proportional/graduated symbol map in QGIS

I am currently trying to make a split graduated/proportional symbol map on Classical music composers by country and musical era and I am having trouble with making the symbol in QGIS. I had to make a .csv table consisting of the totals by country and by era, and I am able to join my this table to a shape file of European countries, but the desired column (totals, representing the total composers of each country from the entire span of all musical eras) from the joined table I want to show represent with the graduated symbol does not show up in the drop down bar on either program. I am able to get the split symbol using the pie graph feature on QGIS, but I still would like to be able to represent size changes of each pie graph showing the total composers from all eras.


Spacing off in Achievements pull down menu on mobile web

I'm seeing a spacing issue under Achievements on iOS mobile Safari:    Is this a know issue?   Device: iPhone 6 OS Version: Version 9.1 (Build 13B143)


Fitting model on whole dataset, more or less epochs ? (w.r.t validation accuracy)

When tuning my neural networks hyperparameters I use 20% of the data set as validation data. With the holdout set I observe the validation accuracy and validation loss. In my case the model starts overfitting after 150/300 epochs, so with early stopping I dump the model state at 150 epochs.  When fitting the final model where 100% of the data is used instead of 80%, should I assume the overfit might occur again at ~ 150 epochs, or could I continue training, or, stop earlier?   (The other hyperparameters have been tuned seperatly)


INFO - This is Biber 2.12 INFO - Logfile is 't01_txt.blg' INFO - Reading 't01_txt.bcf' ERROR - Error: Found biblatex control file version 3.6, expected version 3.5. This means that your biber (2.12) and biblatex (3.13a) versions are incompatible. See compat matrix in biblatex or biber PDF documentation. INFO - ERRORS: 1  HOw can i solve this problem. I am using TexMaker.


What is the name of the black&white movie about a mirror Earth (universe)?

Astronauts in a spaceship have an accident and fall back to the Earth. They are tried in court. It turns out to be a mirror Earth. As I remember (though maybe I'm not totally right) only one professor knows something about that and in the final scene he crashes into a mirror with his wheelchair. In another scene an astronaut realizes that his name can be read from the mirror directly.  Does anybody remember the movie?


Elementary argument for conservation laws from symmetries *without* using the Lagrangian formalism

It is well known from Noether's Theorem how from continuous symmetries in the Lagrangian one gets a conserved charge which corresponds to linear momentum, angular momentum for translational and rotational symmetries and others.  Is there any elementary argument for why linear or angular momentum specifically (and not other conserved quantities) are conserved which does not require knowledge of Lagrangians? By elementary I mean, "if this is not so, then this unreasonable thing occurs".   Of course, we can say "if we want our laws to be the same at a different point in space then linear conservation must be conserved", but can we derive mathematically the expression for the conserved quantity without using the Lagrangian?  I want to explain to a friend why they are conserved but he doesn't have the background to understand the Lagrangian formalism.


Avoid losing data when installing Ubuntu

If I install Ubuntu on top of Windows 8.1, will it overwrite OS disk or entire hard-disk? Because I have so much data on my laptop.


Completeness and Topological Equivalence

How can I show that if a metric is complete in every other metric topologically equivalent to it , then the given metric is compact ?  Any help will be appreciated .


Intersection of two subfields of the Rational Function Field in characteristic $0$

Let $K=F(x)$ be the rational function field over a field $F$ of characteristic $0$, let $L_1=F(x^2)$, and $L_2=F(x^2+x)$. How to show that $L_1\cap L_2 = F$?


certain sounds don't work after I start JACK

I have ubuntu 12.10 on an acer aspire one 722 with ALSA & an ATI soundcard. So, i finally figured out how to start JACK; I type in jackd & qjackctl & jack_mixer and then open a new terminal and open the applications i want to use JACK with, i.e. zynaddsubfx & ardour2 & hydrogen...This is the only way it will start JACK. I don't know why I need to open it with the mixer, but it's been working...  Maybe I need other JACK applications??? For all i know, these are the only three I have.  1.) If I use other applications before starting JACK, when i open qjackctl (or jackd & qjackctl) it says it doesn't recognize it:  13:09:14.967 Patchbay deactivated. 13:09:15.097 Statistics reset. 13:09:15.171 ALSA connection change. 13:09:15.795 D-BUS: Service is available (org.jackaudio.service aka jackdbus). 13:09:16.461 D-BUS: JACK server could not be started. Sorry Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started 13:09:16.486 ALSA connection graph change. Sat Jan 26 13:09:15 2013: Starting jack server... Sat Jan 26 13:09:15 2013: JACK server starting in realtime mode with priority 10 Sat Jan 26 13:09:16 2013: control device hw:0 Sat Jan 26 13:09:16 2013: control device hw:0 Sat Jan 26 13:09:16 2013: Acquired audio card Audio0 Sat Jan 26 13:09:16 2013: creating alsa driver ...   hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit Sat Jan 26 13:09:16 2013: control device hw:0 Sat Jan 26 13:09:16 2013: ERROR: ALSA: Cannot open PCM device alsa_pcm for    playback. Falling back to capture-only mode Sat Jan 26 13:09:16 2013: ERROR: Cannot initialize driver Sat Jan 26 13:09:16 2013: ERROR: JackServer::Open failed with -1 Sat Jan 26 13:09:16 2013: ERROR: Failed to open server Sat Jan 26 13:09:17 2013: Saving settings to "/home/laura/.config/jack/conf.xml" ... 13:09:19.882 Could not connect to JACK server as client. - Overall operation failed.  - Unable to connect to server. Please check the messages window for more info. Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started   2.) When I run jackd, jack_mixer, and qjackctl as startup applications, they start up fine. And I can connect zynaddsubfx and ardour with them etc. But if I want to play a youtube video, no sound comes out, even if I quit JACK and then try to play it. It seems like starting JACK messes with the sound for my non-JACK applications.  What should I do?  Thanks.


Left-handed and right-handed helicity, can you explained well the phenomenon of chirality simply?

Chirality, helicity as a projection of its spin vector .. that becomes a kind of 'virtual spin'?  I often confuse them: but the particles 'spin' on the right or left, or is the projection of .. what? Left or right is a simbolic term to describe a particle degrees of freedom?


Easiest way to delete a million records?

Been doing tests in sandbox in which I've created about a million accountshares that I need to get rid of for testing.   I'm trying data loader in bulk api mode to export than delete but I keep getting:     InvalidBatch : Failed to process query: QUERY_TIMEOUT: Your query request was running for too long. Trying again later.;   Not sure if I should be waiting longer? Any other options or dataloader configurations I should be looking at?  EDIT  I've been trying with batch apex jobs yet still having issues.   Script  string str='select id from AccountShare where lastmodifiedbyid =\'0050P000007Kfy2\' limit 10000'; sharedeletebatch bdt=new sharedeletebatch(str); Database.executeBatch(bdt); system.debug(bdt);   Batch  global class sharedeletebatch Implements Database.batchable<sobject> {       global final string query;      global sharedeletebatch(string q){            query=q;      }       global Database.QueryLocator start(Database.BatchableContext BC){        return Database.getQueryLocator(query);      }      global  void execute(Database.BatchableContext BC,List<SObject> scope){          delete scope;      }     global void finish(Database.BatchableContext BC){     }   }      First error: [REQUEST_RUNNING_TOO_LONG] Your request was running for too long, and has been stopped.


Is the set of polynomial with coefficients on $\mathbb{Q}$ enumerable?

Using the definition of enumerability of sets:  A non-empty set B is enumerable iff there is a bijection $f:\mathbb{N}\supset L \rightarrow B$.  So, I have to prove that the set of polynomial of one variable with coefficients on $\mathbb{Q}$ is enumerable. What I thought is that I can write every polynomial $p_0=A_0^0+A_1^0X+\dots +A_n^0X^n$ as  $$p_0=(A_0^0,A_1^0,\dots ,A_n^0,\dots ),$$  where the $A_i's$ are 0 except for a finite number of them. To say that this set is enumerable is the same that to say (denoting this set by B):  $$B=\{p_1,p_2,\dots\}$$  Now define the polynomial   $$ p=(x_0 \neq A_0^0, x_1 \neq A_1^1, \dots), $$  where every $x_i \neq A_i^i$. This polynomial is obviously not in the list B.  My question is: my approach is right to conclude that the set B is non-enumerable?


xrandr settings lost after restart Ubuntu 16.04 with Ultrawide Monitor

I'm trying yet again to switch from Windows to Linux and ran into the follwoing problem:  I have a LG 29UM55 Ultrawide Monitor with a Radeon HD5450 card on Ubuntu 16.04. After a couple of hours reading through posts and trying out things I got it working by reducing the refresh rate to 40Hz. Unfortunately after a restart I have to do the whole "xrandr-thing" again, means it lost the resolution again. I found some posts suggesting to edit the /usr/share/X11/xorg.conf.d/10-monitor.config file but it just won't work! I played around a with it a bit but without success.  $ cvt 2560 1080 40   # 2560x1080 39.93 Hz (CVT) hsync: 44.25 kHz; pclk: 147.25 MHz Modeline "2560x1080_40.00"  147.25  2560 2680 2944 3328  1080 1083 1093 1108 -hsync +vsync  $ sudo xrandr --newmode "2560x1080_40.00" 147.25 2560 2680 2944 3328 1080 1083 1093 1108 -hsync +vsync  $ sudo xrandr --addmode HDMI-0 2560x1080_40.00  $ xrandr   Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 8192 x 8192 HDMI-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 677mm x 290mm    1920x1080     60.00    50.00    59.94    30.00    29.97      1920x1080i    60.00    50.00    59.94      1680x1050     59.88      1600x900      60.00      1280x1024     75.02    60.02      1152x864      75.00      1280x720      60.00    50.00    59.94      1024x768      75.08    60.00      800x600       75.00    60.32      720x576       50.00      720x480       60.00    59.94      640x480       75.00    60.00    59.94      720x400       70.08      2560x1080_40.00  39.93*   DVI-0 disconnected (normal left inverted right x axis y axis)  VGA-0 disconnected (normal left inverted right x axis y axis)   That's what I put into the 10-monitor.config file  Section "Monitor"     Identifier "Monitor0"     Modeline "2560x1080_40.00" 147.25 2560 2680 2944 3328 1080 1083 1093   1108 -hsync +vsync   EndSection    Section "Screen"     Identifier "Screen0"     Device "HDMI-0"     Monitor "Monitor0"     DefaultDepth 24     SubSection "Display"       Depth 24         Modes "2560x1080_40.00"       EndSubSection   EndSection


Prove that every prime except one has the form $a^2 − b^2$ for some positive integers $a$ and $b$

This is a homework question, so I'm looking for some help to get started with the problem since I cannot think of a good way to do so. I know that we can say the integers a and b can be written as $a = p_1p_2...p_k$ and $b = q_1q_2...q_k$ where $p_i$ and $q_i$ are prime numbers. After this I'm stuck and don't know how to continue. Any help is appreciated, thank you.


If the Samba Icon is not visible using the DASH resource search icon does it mean that the installation failed?  I cannot get the file-sharing function working and I believe it is due to an incomplete installation of Samba.


Can $AES_{k1}(m)$ be equal to $AES_{k2}(m)$?

Context:  We have a generic bloc cipher composed of an encryption function $E_k$ and a decryption function $D_k$ operating on blocs of $n$ bits.  For a key $k$ fixed, we can see $E_k$ as a pseudo-random permutation from $\{0,1\}^n$ to $\{0,1\}^n$ (I am wrong ?). $D_k$ is the inverse permutation.  If we have a plain/ciphertext pair $(m, c)$, a common bruteforce attack consists in enumerating all possibles $k$ and testing if $E_{k}(m) = c$.  Question  1) Considering that $E_k$ is a random permutation, can we have two keys, $k1$ and $k2$ such as $E_{k1}(m) = E_{k2}(m) = c$ ?  2) If the answer is yes (and I think it is), how many $(c,m)$ do we need to uniquely determine the right key ?  3) And do we have the same problem for common bloc ciphers like AES or DES (i.e getting more than one $(c,m)$ to uniquely determine the right key) ?  Thanks for your answers.


How can we be certain our world has only three spatial dimensions?

It's common knowledge that the universe has three spatial dimensions, and one temporal. But how can we be so sure? Physics tells us that vector forces act independently along different dimensions, so without a source of force along the fourth dimension, or with a component in the fourth dimension, nothing would ever pass out of our little slit of 3D space in a possibly 4D world. Moreover, some materials exhibit different levels of friction, or any other measure of directional "resistance," (using the term as an abstraction for every barrier to motion, physical, fluid and so on) differently along different directions. We could just be stuck on our little 3D slice of 4D universe.  How can we possibly know the world is indeed three-dimensional, especially considering models of two-dimensional motion work so well in our three-dimensional world when motion along the third dimension is heavily restricted?  Note: The question  is somewhat similar in that it asks if spatial dimensions exist at all, but is not a duplicate. I did my research.


I am unable to understand this question. I have to say whether its true of false and then prove it but I can't proceed with the question unless I understand it.     Let $S$ be the set of stars in our galaxy. There is exactly the same   number of subsets of stars in our galaxy as there are functions   $f:S\rightarrow\{\alpha,\beta\}$


Why does Chrome ignore local jQuery cookies?

I am using the jQuery Cookie plugin ( and  and ) to set and read a cookie. I'm developing the page on my local machine.  The following code will successfully set a cookie in FireFox 3, IE 7, and Safari (PC). But if the browser is Google Chrome AND the page is a local file, it does not work.  $.cookie("nameofcookie", cookievalue, {path: "/", expires: 30});   What I know:   The plugin's  works with Chrome. If I put my code on a web server (address starting with http://), it works with Chrome.   So the cookie fails only for Google Chrome on local files.  Possible causes:   Google Chrome doesn't accept cookies from web pages on the hard drive (paths like file:///C:/websites/foo.html) Something in the plugin implentation causes Chrome to reject such cookies   Can anyone confirm this and identify the root cause?


I'm currently facing some issue in determining what statistical test might be best to adopt to determine whether or not three datasets are significantly different from each other. I have the following datasets of probabilities observed within my system: prob355 = [0.06672, 0.07473, 0.14813, 0.25516]; prob532 = [0.07226, 0.08718, 0.09631, 0.14276]; prob1064 = [0.05979, 0.09020, 0.10891, 0.11307]; Within these datasets, each entry corresponds to a probability obtained under certain conditions such that within the dataset the conditions for prob355(1) ≠ prob355(2) prob355(3) ≠ prob355(4). Between the datasets they have been ordered such that prob355(1) = prob532(1) = prob1064(1). Within these datasets each and every observation has its own errors/standarddeviation/noise. Such that the datasets are accompanied by the following errors/standarddeviation/noise in the observed probabilities: model_error_355 = [0.03255, 0.03986, 0.01321, 0.01928]; model_error_532 = [0.01370, 0.00880, 0.00856, 0.04257]; model_error_1064 = [0.03150, 0.02441, 0.02307, 0.02059]; Within these datasets, each entry corresponds to the same entry as in the prob355, prob532 or prob1064. Basically, what I'm looking for is to compare each of the overall datasets (whilst taking the standard deviation in each value into account) amongst each other and determine if overall these datasets are statistically different from each other. Or if possible I would like to find out which of the values are significantly different from each other. The goal of this comparison for the overall datasets would be prove the hypothesis that these values are not significantly different from one another (prob355 = prob532 = prob1064) or fail to prove the oposite. Secondly, the goal would be to determine if for each of the individual conditions (eg. prob355(1) = prob532(1) = prob1064(1)) the values are significantly different or not. Currently, I'm using Matlab to run my analysis but I'm not bound to this software to run this analysis as long as the alternative is open acces :) So, If anyone knows a good way of making this comparison I would be very happy to hear it. Thanks!


cd is a built-in command in Bash. Is a built-in command or function in Bash the same concept as a built-in command or function in an interpreter language (e.g. Python)?  Is "built-in" a concept of Bash itself?  Does any command that is not a built-in in Bash always have an executable file stored somewhere? Does any built-in always have no executable file stored somewhere?


How is Laplace transform more efficient?

I wrote an , following a series of  (kindly take a look at the answer, my question is entirely based on that answer). In this answer, though I was able to arrive at the Laplace transform with operational calculus, I had a hard time figuring out what "applying Laplace Transform on both sides" meant, from the standpoint of this answer.   I mapped out the steps involved in solving a differential equation, $y'(t)=x(t)$ with the operator-method and using the Laplace transform.  Operator Method   Using Laplace Transform   Laplace Transform method: While taking laplace transform on both sides of a differential equation, y'(t)=x(t) in this example, we are assuming y(t), is the impulse response of a system say sys1 and x(t) is the impulse response of another system say sys2. Y(D) be the system operator of sys1. Now we need y'(t), so the system operator becomes DY(D) to produce y'(t). And X(D) be the system operator of sys2. Since y'=x the two machines DY(D) adn X(D) must be the same. Now if we give an input $e^{st}$ to sys1 and sys2, we know the system operator for sys1 becomes sY(s) and for sys2 it's X(s). Now as these two systems are equal, sY(s)=X(s) which implies that Y(s)=X(s)/s. Now reverse map Y(s) to obtain y(t).  Is my interpretation correct?  As far as I can see, Laplace transform has just complicated things. How does it simplify the process. Why do we use Laplace transform? I understand that this question is highly specific. But if someone can help, it would be highly helpful. Thanks in advance.


Do two rounds of major revision lead to a better chance of getting the paper accepted?

I submitted a paper to a prominent journal in my field. The reviewers all indicated that the paper would make a positive contrition to the field in the first round of review and asked me to make a major revision. I revised the manuscript according to their review and all reviewers indicated that they like my revision. However, one of the reviewers kept raising new issues and asked me to undertake another round of "major revision." Personally, I really feel that the new issues are not too difficult to address. However, I am wondering whether it is fair to keep raising new  (major) issues in each round of review. And, what is my chance of getting the paper accepted in the scenario described above (two rounds of major revision)? Thanks very much for your insight.


Programmatically Disable All Triggers and then reactivate All Triggers

We are working on an app which has functionality to perform a large number of record updates in a batch.  We would like to be able to programmatically disable all triggers at the start of the batch logic, execute the record updates, and then reactivate all triggers programmatically once the batch has finished.  Can anyone suggest a solution in terms of api calls we could make via apex (or a solution similar) to achieve this programmatically?  Answers to other issues that already exist or have been highlighted as duplicated point to the  file based method of the metadata api but I can't see how I achieve the above using this method. Would I have to do a metadata api file based retrieve of all trigger objects in the system, change the metadata xml for each to set the trigger as inactive, and then deploy all of the triggers again? (for an org that has a large number of triggers this would be a very significant operation)


Fetching strings before special characters from a postgres column

I have a column with following values in a postgres table.  col1 uniprotkb:P62158(protein(MI:0326), 9606 - Homo sapiens) uniprotkb:O00602-PRO_0000009136(protein(MI:0326), 9606 - Homo sapiens)   I would like to extract a value from above column values.  col2 P62158 O00602   I am using following regexp match on my column  select           uniprotkb:(.*)\-|\([a-zA-Z].* as col2  from table;    But the above regexp capture the text before the last '-'. I want to capture the text between uniprotkb: and before the first occurence of either '(' or '-'. Any suggestion here would be helpful.


What is earliest version of a "horcrux"?

I just realized a few days ago that Sauron's One Ring is kind-of like a horcrux, in that Sauron can't ever be totally destroyed as long as the One Ring exists.  That set me to wondering: did Tolkien invent that idea, or did he take it from some other legend?  How far back does the "horcrux" idea go?  (Not taking away from JKR the originality of murdering someone as the way to make a horcrux.)  [edit: For purposes of discussion, I am asking about a device/means to allow one to survive death, which requires one to put a large part of one's power/soul into the device, but which does not change one's mode of existence.]  [edit: The interesting  is different.  First, it is asking if there is a logical line of reasoning or literary transition for phylacteries (boxes of scripture worn on the forehead and arm) morphing into soul jars (containers for souls).  It isn't asking for the origin of the "horcrux" (soul jar) idea.  Second, the phylacteries in the question are used by liches (sorcerers who have turned themselves into undead) in D&D, so the other question isn't even asking about soul jars in general.  Third, Sauron's Ring and Voldemort's horcruxes did not change them into undead creatures, but rather allowed them to survive having their bodies killed.  So the phylacteries of the other question are very different sorts of soul jars.  Hope this edit clarifies.]


I've been using the $K$-fold cross-validation a few times now to evaluate performance of some learning algorithms, but I've always been puzzled as to how I should choose the value of $K$.  I've often seen and used a value of $K = 10$, but this seems totally arbitrary to me, and I now just use $10$ by habit instead of thinking it over. To me it seems that you're getting a better granularity as you improve the value of $K$, so ideally you should make your $K$ very large, but there is also a risk to be biased.  I'd like to know what the value of $K$ should depend on, and how I should be thinking about this when I evaluate my algorithm. Does it change something if I use the stratified version of the cross-validation or not?


Answer links have become broken for multi-page questions.   or   should go to peterh's answer. However, it's on the second page (in the "votes" view), but only the first page is rendered, so I just see the question.  This used to work.  Reproduced in Chrome Stable 67, logged in or logged out.


What's the maximum value for an int in PHP?

Ignoring the special libraries that allow you to work with very big numbers, what's the largest int value you can store in PHP?


Question limited after so much work for Stack Overflow?

On Stack Overflow, I got the following error message.    What? I have been helping users on Stack Overflow for two years. I have posted almost 500 answers and only 100 questions. I have gained 10k reputation for this. And now, when I am in the need of help, Stack Overflow will turn back to me?  I am working very hard using a technology which is new to me. All my questions are very well researched and have 1+ upvote. I think I know how to ask a good questions, after two years of hard work here.  Sorry, but I would expect more trust from the Stack Overflow side instead of treating me like someone who is abusing.    Argument: You cannot ask so many good questions in 24 hours.   Answer: this is speculative and regulative. Stack Overflow was always about judging posts quality. Why it is not consistent in this? Why don't you look at the quality of question the user is posting, instead of pre-judging how many good question can he post?    EDIT 2019: in retrospective, you can see those 5 questions (, , , , ) I asked that day (one got closed), they have 21 score total, which is on average 4.2 votes each. So it is possible to ask high amount of good quality questions, as opposed to the prejudices which argue for the limit ;-)


Are there philosophers who examined the reasons for believing in the existence of other people?

While I am familiar with Descartes and the oft-quoted idea, I think therefore I am, I am not familiar with any philosophy that actively sought to rationalize that anybody else exists.  Are there philosophers who analyzed this question? Or is it taken for granted that it is (im)possible for anybody to validate their own existence to somebody else?


Black hole formation as seen by a distant observer

Possible Duplicate:          Is black hole formation observable for a distant observer in finite amount of time? Specifically, let's take uniform non rotating distribution of 10 solar masses within solar radius, assume no outward pressure, and calculate its gravitational collapse. I assume distant observer would never witness complete formation of black hole with event horizon corresponding to entire 10 solar masses. What would be observable in finite amount of time, then? For example, would there be a black hole with smaller radius, while the rest of mass is still falling into its event horizon?


Installing firmware blob for Intel Wifi USB pen

I have installed Debian 8/Jessie minimal ISO on my laptop. I get error message during system installation:  Some of your hardware needs non-free firmware files to operate. The firmware can be loaded from removable media, such as a USB stick or floppy. The missing firmware files are: iwlwifi-7265-9.ucode iwlwifi-7265-8.ucode If you have media available now, insert it, and continue. Load missing firmware from removable media?  I found the appropriate firmware on Debian website, downloaded it (zip), extracted to flash drive, and booted with flash drive plugged in. I still get the error message that appropriate firmware could not be found (the error message disappear to fast to copy down). How do I properly format the flash drive? Or is the problem here something else? Windows Explorer on another computer tells me the flash drive is 14.6GB and formatted as FAT32.


Will the Bamboo Pad (NOT TABLET) work on Ubuntu 14.04?


Saving project from QGIS to CD so it can be used on other computers?

For purpose of a project, I created a project in QGIS - aerophoto base and 3 layers. It works perfect on my computer, but if I save it on CD, the project doesent work on any other computer... I saved all data for layers & project works from CD, but only on computer, where it was created.  How can I save it, so it will be working on other comps, since I have to distribute this project to other partners?  I am using windows and QGIS 1.8.0. Lisboa  EDIT & MORE INFO: my project is aerophoto based with one raster and 2 vector layers. It works on my comp (where QGIS 1.8.0 Lisboa is installed).  Now I need to put it on USB (and few on CD), so I can take to my menthor and cooperants to see it...  I copied all data (those are in same folder), I downloaded the QGIS Lisboa (.exe file) so everyone can install it. Now all is on usb. It works on my computer, where this was created. But when I try to see it on laptop (after installing QGIS), it serves me with error (runtime error) - same on my friend computer.  Proposal to make a USB option of qgis is nice, I am in a process of trying, but i suspect there is something else, because error is reported.  if possible, step by step solution, because I am comp analphabet actually :(


What is the recommended CIDR when creating VPC on AWS?

I have been creating AWS VPCs and I am wondering if there is a recommended CIDR value when creating VPCs. What are the factors that I must consider when choosing a CIDR and does the CIDR value affect the performance of the network?


I accidentally forced my PC to shutdown by holding onto the power button during a BSOD in windows 10 and ever since, my PC has not been able to boot to the login screen instead it keeps giving the "Inaccessible Boot Device" error. I have tried all the recovery options but none of which seems to work.  PS I also have Kali Linux installed (and working currently) on the same hard drive.  How exactly can i make my PC boot without loosing any of my files


Can I plug a Ubuntu Laptop into a Ubuntu Laptop?

I have this special orange ethernet cable I bought a few years ago that's supposed to have reversed wires to allow two computers to be hooked together.  I have 3 internal drives and one external USB HDD attached to my main Laptop but the picture I'm looking for might be on the older laptop. Can I plug it into the USB hub and access files off it's 1 TB HDD?  The master laptop has Ubuntu 14.04 on one drive and Ubuntu 16.04 on another drive. The slave laptop has Ubuntu 14.04 (and Windows Vista 64-bit but I won't say that).  What do I need to do to make a mini-network as it were with the resources at hand? Of course they both have wifi too. The simplest answer would be appreciated because I'm IP challenged and can barely spell SSID.  This is not a duplicate of "sharing a folder over a network". What I want to do is plug a laptop into mine and control the HDD as if it were /dev/sdd or /dev/sde.


"One need look no further.." Shouldn't it be "One needs look no further.."-


What's a more formal name for a "third" party?

Two parties are trying to resolve some dispute that involves interest of both. Sometimes it's hard for them to reach an agreement on a fair basis. This is typically when another party who has no interest involved and no bias towards either party comes into play in order to settle the dispute between the two conflicting parties. The term "third party" seems being used quite often. I would also call it a "middle-standing" party or we could say this party is neutral.  These terms seem NOT formal enough to me though. I'd like to see if anybody can come up with a better one.


I am very confused. Unless I am mistaken, I know "it" has to be a noun of some sort, but I am unable to figure out what noun "it" is referring to.   What is "it" in the following sentence:      It is clear that Bob likes doughnuts.   Heres another couple of examples:     It is impossible to fly.


Are meta questions now featuring in Hot Network Questions?

At this moment there are 4 meta-site questions on the HNQ list:    (World Building Meta)  (Meta StackOverflow)  (Workplace Meta)  (Mathematica Meta)   When I first saw it, I only saw the SO Moderator question, so I assumed that this was a one-off special thing for the election; but now we've got four questions crept in. Was this an intentional change, or a bug?


I'm trying to upgrade to the 10.3 version of ArgGIS (currently, I have Advanced Desktop 10.2). When I go to the download page in my ESRI account, I'm given the option to download ArcGIS for Desktop or ArcGIS Pro    Which one should I download? What's the difference between these two?  I use ArcGIS Advanced Desktop 10.2 to do the following:   network analysis using the Network Analyst tool spatial statistics using Spatial Analyst Lots of tasks processing raster data Extensive python scripting using the arcpy module in python 2.7   Basically I want the one that is the fastest and can do the most while also allowing me to do all the things I currently do in 10.2


For instance, if a Jedi Force-pushes something 1000 meters away, is the effect instantaneous or is there a propagation delay, something like the speed of light?


Error while clicking one of the exfat drives on ubuntu

When i click on my Windows system drive in the File Manager I get following error, Let me tell you that I checked all my drives with elivated cmd bu running chkdsk /x /r /f command.  Other Drives which also are exfat are being detected, i.e.  upto 150 GB drives. However this is the largest Drive around 750+ GB is not being detected & giving some page size don't match error.  Error mounting /dev/sda5 at /media/bhavik/Collections: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sda5" "/media/bhavik/Collections"' exited with non-zero exit status 1: stdout: `FUSE exfat 1.0.1 ' stderr: `ERROR: `pagefile.sys' real size does not equal to size (0 != 4294967296).


i have looked at/practiced several methods for solving ex: $7^{9999}$. i have looked at techniques using a)modulas/congruence b) binomial theorem c) totient/congruence d) cyclicity.   my actual desire would be a start to finish approach using totient/congruence. i have figured out how to work the individual steps but not how to combine them and in what order to be able to solve any "end digits" questions.


How can I disable/disconnect wi-fi when connected but no data connectivity is detected?

Here's a common problem I'm facing in Android: sometimes it automatically connects to a network when the signal is very low or there is a problem with the network itself and there is no Internet connectivity available at that moment.  I would like to find an solution which would automatically disconnect from the wi-fi network if it detects a problem with the Internet connection.  Anybody have any advice?


Do the UK and USA share immigration information?

I overstayed in the UK then voluntary left the country four years ago. Now I got a USA tourist visa and am planning to go on a vacation in California and Las Vegas. Will my previous overstay history affect my ability to enter the USA? Will the US immigration find out about my overstay history? My USA visa is in a new passport.


How to install flash player in Ubuntu 16.04 LTS

I am new to both Ubuntu and Linux operating sytem. I have no idea how to do common things, I want to know how to install flash player from adobe in Ubuntu 16.04 LTS because I added a game and it asks to install flash player. Thank you


How to roll up a plane/create a rolled yoga mat?

I'm trying to create a rolled up . I thought I could use the cloth simulator and run a physics animation to make a subdivided mesh roll itself up but I couldn't get it to work. Everything I tried just resulted in a cloth that was bent in lots of different directions.  So then I thought maybe I could run an animation to make the mesh roll itself around a cylinder. I guess for this to work I'd need to be able to pin the mesh to the cylinder, and then animate the cylinder rotating a few times. I guess I can rotate the cylinder by creating keyframes with 0 degrees of rotation then say 10 * 360 degrees rotation. But how can I parent one end of the mesh to the cylinder in the first place?  Or is there a better way to do this?  I'd also like to be able to have the corners of the mat slightly curled up when it's flat (e.g.  but less pronounced) which makes me think perhaps physics is the way to go after all?


Ubuntu installation does not recognize drive partitioning

I have a 1TB drive and installed Windows 7 on a 128GB partition.  When I now try to install Ubuntu 11.04 it does not recognize the Windows partition but offers the complete 1TB drive to install Ubuntu on instead. It displays:    However, in the Ubuntu Disk Utility the Windows partitions are recognized.    What do I need to do in order for Ubuntu to recognize the Windows 7 partition and install Ubuntu as a dual boot?   Response to comments  The following commands were executed and the results are shown below:  fdisk -l  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk  doesn't support GPT. Use GNU Parted.  Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x34a38165     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1          13      102400    7  HPFS/NTFS Partition 1 does not end on cylinder boundary. /dev/sda2              13       16318   130969600    7  HPFS/NTFS  Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x14a714a6     Device Boot      Start         End      Blocks   Id  System /dev/sdb1               1       60801   488384001   83  Linux   parted -l  Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only. Error: /dev/sr0: unrecognised disk label


Why was Marty present in his jump to 2015 in Back to the Future 2?

I was doing some thinking about the paradoxes that arise during Back to the Future 2 when Marty, Doc and Jennifer travel to 2015 to see their future selves and help Marty's kid.  It was shown that BTTF (Back to the Future) uses the Multiverse theorem to solve any paradoxes of changing the past and creating a new future timeline.  I've created an info graphic to show all the jumps made in the BTTF series and the timelines they all created.    Since Marty and gang went to the future at the start of Back To the Future 2, why would Marty, Doc, and Jennifer have a life and presence there if going into the future is going into a version of the future where the time travel had existed? If Marty were to travel, the timeline he visits in the future would be a timeline where the gap from his travels would be him not existing the whole time, as if he left the universe, ceased to exist in that timeline, then started re-existing again when he arrives in the future.  It was proven that that's how the timeline works in the first BTTF when they sent Einstein 1 minute into the future. The timeline where he travelled was as if the dog hadn't existed any more for 1 minute, then existed again when he arrived at the future date.  And since any travel back into the past creates a new timeline differing from any travelled future timeline, travelling back from the future to the present would not fix the paradox, it would just make a new timeline where both the time travels would exist.  So why was Marty able to see himself at all in the future that he visited at the start of Back to the Future 2?


Do you automatically become a moderator on your own site?

I've just been wondering. I know moderators are elected but my question is when you create an area 51 proposal and the site gets launched, Are you made an auto-moderator on the site or do you have to pass through some election or something.  Sorry if this question is a duplicate. If it please point it out to me


My iPhone is locked with an "icloud backup" message and it won't go away

I know you're supposed to press the home and lock button and restart it but my iPhones lock button has been broken for awhile and I can't afford to fix it or fix it myself.


Entity Framework with My SQL inside asp.net mvc

Iam developing an asp.net mvc web application, and I have a commercial system which i want to connect to its MySQL database. so i decide to use the entity framework inside an asp.net mvc web application.   but when i tired to create a new connection i can not find an option to connect to the MySQL server, as shown below:-    So is there an option to connect to MSQL server instead of SQL server?


When was Darth Vader's armor designed, and how does this reflect on Palpatine's plans?

Darth Vader's suit was fitted to Anakin Skywalker shortly after his recovery from the planet Mustafar. According to , his armor comprised of a number of rare components, including a Mandalorian Crush Gaunt, a glove capable of deflecting a lightsaber, and sith amulet and sith alchemy to top it off.  Considering the rarity and uniqueness of these components and the effort that was likely required, was Darth Vader's suit designed and assembled before or after Anakin's duel on Mustafar? If it were assembled prior to the duel, then what were Chancellor Palpatine's plans for such a unique set of armor? Does it suggest that Palpatine foresaw Anakins defeat at the hands of Obi-Wan?


Ubuntu 20.04 LTS can't change screen brightness

I use the Fn+ buttons with the -sun and +sun on them, and the brightness doesn't seem to change. I have also tried to change the brightness on the bar at the top right. Neither of these seems to work, I googled the problem, but it doesn't seem to be for Ubuntu 20.04 LTS. I could change the screen brightness when I switched to windows 10. This is the link I was looking at but for the previous versions of Ubuntu.Will the solutions they propose still work or do I have to find another way?


Origin of "ballpark estimate" to mean a very rough estimate?

I'm wondering where the term "ballpark estimate" comes from? Sometimes "ballpark" is said stand-alone to mean a rough estimate, as in "these numbers are a ballpark". I understand it must come from baseball or some other sport. Does it refer to the idea that a batter might point in the direction he'll hit the ball? Or is it something that relates to a rough guess at the attendance that day? What part of the ballpark or sports does one use a rough estimate?


how to tell whats eating my harddrive space?

Possible Duplicates:             does anyone know a free software that will graph the directories on my hard drive and sort them in order of largest size?  or provide me a solution for me to quickly determine what drives/ files are consuming my hard drive space?


Is it possible to edit the title bar display in Notepad++ ?  Currently I see  C:\Users\Tony\Desktop\lmx.txt - Notepad++   I would like to see just  lmx.txt - Notepad++   Thank you for your help.


Are recommendation questions an acceptable kind of list-type question or should they be closed?

Recommendations are a recurring topic on multiple Stack Exchange (SE) sites. Some sites allow recommendations (ex: ), some do not (ex: ). There are many reasons for that and I can still remember animated discussions on this subject on the Gaming meta. Then there is that existential problem with Sci-Fi SE, "What problems does answering a question on this site solve?"  The only common problem I can think of is What to read/watch next?, which obviously led to a big number of recommendation questions, later slightly disguised as list question. And the main trouble with these questions isn't objectivity at all, some of them aren't even subjective. It's the fact that they don't have an answer - they are open ended. -  Those questions are monstrously popular because:  There's an actual problem to be solved,  or  This problem is quite common.  In view of the  blog post, a recommendation question fails the "real questions have answers, not items or ideas or opinions." criteria. But it's still a "practical, answerable questions based on actual problems that you face. " and it requires expertise to answer. The problem is that there are multiple acceptable answers, and the asker is not the best person to evaluate the best answer because he doesn't know which one is the best compared to the others, and he cannot test it in short term. Even the need to accept an answer is questionable. So, is a recommendation question an acceptable kind of list-type question or should it be closed just like any other list-type questions?


Whenever the Cognito form is embedded into my own website, it works great everywhere except IE. Even when we delete all code from the page and simply use the code supplied to embed it it won't work. After refreshing the page a couple times it comes up but generally it won't.  Instead of my form I see:     Oh No! You are using an unsupported browser. Click Here to upgrade   The click here links takes the user to the Browse Happy website.  Has anyone had this issue?


Why is it that to divide by a fraction you need to multiply by the reciprocal of that fraction?  For instance:  $\eqalign{   & 1 \div \frac{1}{3}  \cr    &  = 1 \times 3  \cr    &  = 3 \cr} $  Thank you.


Algebra, analysis and inequality signs involving modulus signs

How do you derive that  | |x|-|y| |<= |x-y|


Don't display "protected" notice if the question is locked or closed

If the question is locked, obviously new users can't post answers to it because no one can post answers. It seems somewhat redundant to list that box there. I'm not saying remove the protection from the question just because it's locked. After all, a question can be unlocked (although unlikely). However, it is unlikely and it's just an extra box there that doesn't really mean anything on the post anymore.  Most notably for the "protected" box, it states:     To answer it, you must have earned at least 10 reputation on this site.   Yet, because it's locked, that statement is untrue.    The "protected" box should be hidden when it is not possible to add additional answers to the question in the first place, which includes when the question is locked or closed. If the question is unlocked or reopened, it should be shown again.


Hello I got this problem, if $p$ is prime then the polynomial: $$q(x)=1+x+x^2+...+x^{p-1} $$ is irreductible in $\mathbb{Q}[x]$. I don't know how to do this exactly. And a problem is that a condition to this question is that I can't use the Eisenstein Criterion, only the basic things about ring theory.  Thanks if you can help me with this.


Snap, two options to install the same app?

Question solved. If you do not want to use 'Snap', install everything via the terminal sudo apt-get install ....  I don't care what snap is for. I don't want a different option to install a program. It is also not clear which snap is and which is not. I don't want /home/user/snap. I hope someone can help me.  It's rather irritating in Ubuntu software, which one to install? It is unclear. For example screenshots: Firefox, Gimp, LibreOffice and Inkscape. There is a difference, to install it "normally" or in /home/user/snap. Also the design is different. I've been having this trouble for years. Can anyone help me to solve this?


How to upsert child object with master details realationship to another customobject,which one master as opportunity

I have one custom object(named: Class__c),it has master another custom object (Plan__c). Further this Plan has Standard object Opportunity as master.  I have Class.csv files which contains classes objects. This csv file also has external id of Plan__c object.  When i am importing Classes object and using following releationship:  planClassId=External_Plan_Class_Key__c planId=plan__r\:External_Plan_Key__c   Where External_Plan_Class_Key__c is the external key for Class object and External_Plan_Key__c is the external key for plan object.  It is throwing error      required filed plan__c is missing.plan__c is the master filed on class object for plans.   I was expecting like,if load will first match external keys for class if it does not exist it should insert it.  In our Buisness:plan is always come in class.csv files which will always exst in salesforce.(no upsert for plan,only update were there).  Still it is asking for plan__c missing field. Any help would be appreciated  Thanks Arun sharma


I am trying to model a wine glass with the spin tool. But the result looks more like a cup/beaker than a wine glass.  It is my understanding that the spin tool uses the 3D cursor as the pivot point. Not sure what I do wrong. The blender file is


"I need" vs. "one needs", should "need" be plural and why?

Given the sentence:      These are the basic security features I need in order to operate safely.   And the sentence     These are the basic security features one needs in order to operate safely.   I am 99% sure that need should be plural in one needs. If so why would it be plural (we are using the word one)?  It would not make sense to say     These are the basic security features one need in order to operate safely.   I have heard it used in singular:     One need not worry.   Why does it work in singular there but not elsewhere?


How to find and list hidden files in bash?

How to list only files which begin with a period character? I want to know how this it possible with ls, grep and find.


Ubuntu 20.04 Text splitting and screen flickering

I am a novice Linux user. Today, I turned on my system and found out that whenever I open any system apps (like Setting, Files, even the Terminal), a bunch of text was missing from there, and it was showing only the first four letters of every word in the app (Screenshot attached to further visualize the issue)  Please, help me to fix the issue. Thank you all


probability problem related to card shuffling

You have five cards numbered 1,...,5. You shuffle them, so that at the end every permutation of them is equally likely to show up. What is the probability that no card 'i' will end up in the i-th card after shuffling?   So I'm figuring out this problem. I got stuck because the probability of relocating card A changes the probability of moving other cards. For example, if card 1 is moved to location 2 after shuffling, moving card 2 to another location is 4/5, while if card 1 is moved to location 3, moving card 2 to another location will have a probability of 3/5. I'm confused here. How do I solve this problem? Thank you.


How to calculate the RGB intensity values at center of face using flat shading?

Consider a triangular face of three vertices A(0,2,1), B(3,0,1) and the origin, and the normal vectors at the vertices are nA=(0,0,1), nB=(1,1,0) and nO=(-1,-1,1), respectively. The incident light is white and directional in the direction of L=(0,3,4) and the intensity is 1, the background ambient light intensity is 0.1, and the diffuse reflection coefficients for (red, green, blue) are (0.6,0.7,0.8). No specular light contribution need be considered.   How do I find the (red, green, blue) intensity values at the centre of the face using flat shading?  Flat Shading:  I = Ia x Ka + Fatt x Il x (Kd x (N x L))  Final intensity = ambient reflection x ambient reflection coefficient + (attenuation x incident light intensity x (diffusive reflection coefficient x (surface normal x Light intensity))  My lecturer told me that because ambient reflection coefficient and attenuation are not given, I can forget about it. Also specular light contribution need not be considered.  The surface normal is:   A = (0, 2, 1) B = (3, 0, 1) O = (0, 0, 0)  U = A - O = (0, 2, 1) V = B - O = (3, 0, 1)  Surface normal = U x V (cross-product) = (2, 3, -6)  I = 0.1 + (1, 1, 1) x ((0.6, 0.7, 0.8) x ((2, 3, -6) x (0, 3, 4)))  I = 0.1 + (1, 1, 1) x ((0.6, 0.7, 0.8) x (0, 9, -2.4))  I = 0.1 + (1, 1, 1) x (0, 6.3, -1.92)  I = (0.1, 6.4, -1.82) = RGB intensity values  Is this correct?


I'm making a 2D retro-style pixel game and I'd like to know how big my sprites should be. I'm not talking about the size of my image files (which I decided to use a 32x32-based artstyle), but the actual size of them once they are in Unity. Should I keep a 1:1 scale and import all of my usually 32x32 sprites into Unity? Is there a special scale up or down process I need to do before or after import them? I'm saying this because when I'm working with HUD elements, they are drastically really big compared to my tiny sprites, so I'm worried if this could affect implementing something like RigidBody or collisions,  and I should indeed scale up my sprites, or if this is normal and I'm being paranoic. I'll append an image showing my concern. BTW, the game looks so far as I wanted to, and it's working well, but right now it's more like a proto, so I'd like to resolve this doubt before continuing. Also, I test this usually in a 1920x1080 resolution, so maybe that's why the HUD looks so big. Thanks!


I am trying to get rid of one of the volume ("mountain Lion", the second from the top) of the partition of an external hard-drive. In disk utility I get what you can see in the pic, namely it does not allow me to modify the partition saying "You can't resize the partition on this disk because it uses the Master Boot Record partition scheme". Do I have to repartition the whole thing or is there a work around? (I am running Yosemite)  Thanks,


I'm making exercises to prepare for my ring theory exam.     Let $R$ be an infinite commmutative ring which contains a zero   divisor. Show that there exists infinite many zero divisors.   Let $a\in R$ a zero divisor. Then $a⋅b=0$ for some element $b≠0$ in $R$. If $a$ or $b$ has infinite order, then I can find infinite zero divisors.  But otherwise, I don't see why this should be true. I think I need to do something with the fact that $R$ is commutative. A hint or a detailed solution are both appreciated.


A word to describe not fully knowing someone fully?

Let's say a person doesn't fully know person and they "know" that person for a long time now, but you only know basic stuff about them, like what their likes, dislikes, but never fully dwelled deeper than that. You never knew how they came to be the person they became today or who they were when they were young, or what experiences shaped them to become the person they are today. I'm trying to write a song that has that special meaning to the person I'm describing.


Website Notifications for Favorited Tags

I think it would be helpful if I could get a notification when a new question is posted for a tag that I have favorited, this could be an opt in option so people can choose to leave it off if they so wish.


cannot install windows XP after deleting Ubuntu 16.04 and formating all the hard drive?

when I put the usb drive that contain XP files it appears to me a black window with this                    gnu grub version 2.02 beta2-36 ubuntu 3.12   minimal BASH- like line editing is supported for the first word, tab lists possible command completion. Anywhere else TAB lists possible device or file completions  grub>   Note:I am new with linux!


Caldeira-Leggett dissipation model: Call for Help!

I am sorry to be so troublesome and possibly infringing some rules, but could I once more invoke the help of other participants in order to solve my query on the Caldeira-Legget model, namely the introduction of a phase shift, better detailed in ?  Thank you very much. I am so keen to understand this point but got into a "loop" and cannot make sense of it any more...