i typed the following command  which cp | ls -l   It didn’t work as i expected. I wanted that the output of the which command will be a path name. So the ls command will show the information about the path or that file. Although  which cp | less works what is supposed to. But why don’t  which cp | ls -l works as expected.

I have a symbolic link to a script in my $PATH whose file I wanted to edit.  I forgot the filepath, so I tried to do the following:  $ which my_script_link | readlink   I expected that to output the filepath, but instead it output  > readlink: missing operand > Try 'readlink --help' for more information   I have seen similar behavior before in other situations (like trying to pipe a list of files into vim for editing).  I know there are workarounds, like a subshell readlink $(which my_script_link), but I want to understand why piping doesn't work the way I think it should in this situation.  Thanks!


Why has there not been a resolution in the gravitational effect between the two? It seems that quantum theory and Einstein disagree.

It is well known that quantum mechanics and (general) relativity do not fit well. I am wondering whether it is possible to make a list of contradictions or problems between them?  E.g. relativity theory uses a space-time continuum, while quantum theory uses discrete states.  I am not merely looking for a solution or rebuttal of such opposites, more for a survey of the field out of interest.


I would like to manually adjust the distance between the x ticks in my plot. I am changing the value in xtick distance without any visible effect. Since my labels are quite large, I would like to spread the x axis on most of the page width, something like 0.75\textwidth.  \documentclass[12pt]{article} \usepackage{tikz} \usepackage{pgfplots}  \begin{document}  \begin{figure}[!htbp] \centering \begin{tikzpicture} \begin{axis}[axis y line=middle,     axis x line=bottom,     x axis line style={dashed},     xlabel={Time steps},     ylabel={State and input variables},     xtick distance=30,     xtick={-4,-2,0,2,4,6},     xticklabels={$k-2$,$k-1$,$k$,$k+1$,$k+2$,$k+3$},     ytick={},     yticklabels={},     xmin=-8,     xmax=8,     ymin=0,     ymax=1.1] \addplot[const plot,no marks] coordinates {(0,0) (1,0.25) (2,0.4) (3,0.5) (4,1) (4.49,1)}; \addplot[draw=blue,const plot,no marks] coordinates {(-4,0.15) (-2,0.05) (0,0.2) (2,0.45) (4,0.7) (6,1)}; \addplot[const plot,dashed,no marks] coordinates {(-8,1) (8,1)}; \end{axis} \end{tikzpicture} \end{figure}  \end{document}     Any ideas ?  Thanks in advance

Is it possible to define in pgfplots that y should correspond to Y cm in my plot?   I know how to do this in tkz-fct, so let me add an tkz-fct example to make more clear what I want:  \documentclass{article}  \usepackage{pgfplots} \usepackage{tkz-fct} \usetkzobj{all}  \begin{document}  \begin{tikzpicture}[scale=.5] \tkzInit[xmax=10,ystep=3,ymax=10] \tkzAxeXY \tkzGrid \tkzFct[color=red, thick,domain=0:10]{\x} \tkzFct[domain=0:10]{\x**2} \end{tikzpicture} \begin{tikzpicture}[scale=.5] \tkzInit[xmax=10,ystep=1.5,ymax=10] \tkzAxeXY \tkzGrid \tkzFct[color=red, thick,domain=0:10]{\x} \tkzFct[domain=0:10]{\x**2} \end{tikzpicture}   \end{document}     In one case 3 corresponds to 0.5 cm on the y-axis in the picture, in the other case 1.5 corresponds to 0.5 cm on the y axis. This is achieved by using the scale=0.5 option together with the ystep option.  Not that it is important for me to have grids as in the tkz-fct example.


I know there have been a lot of similar questions, but none of them covered this specific question:  I found on almost all PHP files on a clients server script injections, it was actually the script mentioned here: .  Now i know that it is difficult to pinpoint the point of entry, but there are a few facts that i am sure can make sense to someone better suited than me.  SITUATION   Almost alll PHP files were infected There was a folder with some infected files in it but it did not have ANY permission for the FTP user which i am using to upload files to the server Even files that are not publicly viewable or indexed by google were infected in the non-indexed folder there were some files infected and some not. The ones that weren not infected were most likely never or very rarely called by anyone   QUESTION  Taking into account the aforementioned facts, is it likely that the whole server was compromised (apache, ...) or is it likely just an insecure PHP script. Would it even possible to see such a scenario when only a PHP script was abused?  Is it enough right now to just update the PHP scripts, remove the virus code and hope assume that the server itself is not compromised? (changing SFTP account credentials of course)  EDIT: COMMENTS ABOUT IT BEING A DUPLICATE  As i said before, i DID read the other posts, i do NOT need to know a course of action, i am just curious about the PHP files being modified inside of a folder that is NOT writable by the FTP user and if this is possible with a PHP script / MYSQL exploit or only if the attacker had an FTP pass or deeper server accesss.

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


only I eat an apple  I only eat an apple  I eat only an apple I eat an apple only   3 and 4 sentence are more confusing.., both are same?? please help me guys

Which is grammatically correct?  I can only do so much in this time.  or  I can do only so much in this time.


Probably a very stupid question, but how can I put an array into an ArrayList?  Example:  String[] strings = {"ex","okay",}; ArrayList<String> stringslist = new ArrayList<String>();   Now how do I put everything in strings, into stringlist?

I have an array that is initialized like:  Element[] array = {new Element(1), new Element(2), new Element(3)};   I would like to convert this array into an object of the  class.  ArrayList<Element> arraylist = ???;


Here is an example:     This never shows up for me in the First Posts review queue.

I sometimes see comments ending in "From Review" (hyperlinked to a review page) on questions and answers, e.g.        I spend a good bit of time in the review queues (on Unix & Linux), but comments I make do not come with these "From Review" links. Note that I only have access to the "First post" and "Late answer" queues.  Do these links only appear for the higher-rep queues?


How do you prove that $n^5 \equiv n\pmod {10}$ Hint given was- Fermat little theorem. Kindly help me out. This is applicable to all positive integers $n$

I was wondering why the last digit of $n^5$ is that of $n$? What's the proof and logic behind the statement? I have no idea where to start. Can someone please provide a simple proof or some general ideas about how I can figure out the proof myself? Thanks.


The two groups $\mathbb R$ and $\mathbb C$ are isomorphic.  Solution: We know that $\mathbb {R(Q)}$ and $\mathbb {R^2(Q)}$ are isomorphic as vector spaces.  So,there is a vector space isomorphism between $\mathbb R$ and $\mathbb R^2$ over the field $\mathbb Q$,  Let it be $\phi$.  Then, for all $x,y\in \mathbb R$,we have $f(x+y)=f(x)+f(y)$ and $f$ is a bijection between $\mathbb R$ and $\mathbb R^2$.  We can replace $\mathbb R^2$ by $\mathbb C$ noting that there is a one-one correspondence $(x,y)\mapsto x+iy$ that preserves the operation.  So,$\mathbb {(R,+)}$ and $\mathbb {(C,+)}$ are isomorphic.  Is my solution correct?

Are $(\mathbb{R},+)$ and $(\mathbb{C},+)$ isomorphic as additive groups?  I know that there is a bijection between $\mathbb{R}$  and $\mathbb{C}$, and  asks whether they are isomorphic as abelian groups, are they referring to the additive abelian group? If so is there any simple isomorphism I can find? I know nothing about Hamel basis. Thanks.


$mail = new PHPMailer(true);             try {                 //Server settings                 $mail->AddReplyTo('from@from.com','Post');                 $mail->SMTPDebug = 1;                                                  $mail->isSMTP();                                                       $mail->Host = 'smtp.example.com';                   $mail->SMTPAuth = true;                                                $mail->SMTPSecure = 'ssl';                 $mail->Username = 'from@from.com';                                  $mail->Password = 'loginPassword';                                            $mail->Port = 465;                 $mail->isHTML(true);                  $mail->setFrom('from@from.com,'Name');                 $mail->addAddress('to@to.com', 'Name');                  //Content                 $mail->isHTML(true);                                                   $mail->Subject = $mailSub;                 $mail->Body    = $mailMsg;                 $mail->AltBody = $mailMsgAlt;                  $mail->send();                 echo "Mail sent!;             }catch (Exception $e){                 echo "Mail not sent! Try again.";             }   This is how my code looks like, ofc the $mailSub, $mailMsg, $mailMsgAlt variables are defined! Can you help me please, I can't find why the mails always go to the spam folder.

This is a tricky one and I've always relied on techniques, such as permission-based emails (i.e. only sending to people you have permission to send to) and not using blatantly spamish terminology.  Of late, some of the emails I send out programmatically have started being shuffled into people's spam folder automatically and I'm wondering what I can do about it.  This is despite the fact that these particular emails are not ones that humans would mark as spam, specifically, they are emails that contain license keys that people have paid good money for, so I don't think they're going to consider them spam  I figure this is a big topic in which I am essentially an ignorant simpleton.


I am trying to install Gmsh in 12.04 x64:  xxx@sjb-linux:/320/installslinux/gmsh$ sudo apt-get install gmsh Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  gmsh : Depends: libmed1 (>= 3.0.3) but it is not going to be installed E: Unable to correct problems, you have held broken packages. xxx@sjb-linux:/320/installslinux/gmsh$    I have now tried all the advice I could get  sudo apt-get -f install sudo apt-get clean   with no success, these commands report absolutely no problem.  I'll appreciate help.

Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this?


It must be there somewhere but it eludes me at the moment.

Please could you tell me where can I find the File Manager Preferences in Ubuntu ... (now for 16:04 LTS).  The menu bar has disappeared from Nautilus, as also have the resize handles and the top-bar right-click menu (except for 'Close').  The window gets a little smaller every time I open it, it's gradually disappearing and I can't presently correct it.  I'm using Gnome not Unity, so the fixes for unity don't work.  I would have preferred to add these observations as comments, but I still have too few reputations to do that, so have to ask a new copy of the same question instead.


I'm configuring a bunch of laptops for a teaching lab, running 18.04 Desktop. They have an admin account and a standard account for students. I would like the student account to behave as much like the Mac OS Guest account as possible, so that at GUI logout, the entire user home is wiped and replaced with a fresh one from /etc/skel . I did this successfully a few versions ago, but that was with lightppd. How do logout scripts work with gnome-shell?

I have a setup where my users log on using ldap and it works just fine.  I want to run a script after my users login (its a script that will detect which groups they are in and map network shares accordingly), and after they logout (umounting their shares).  Both scripts are done and they work.  I want that when the user logs in the box a script runs downloading the mounting script from my server (wget i guess?) and runs it, same thing for logout.  Can it be done? I've been searching the net and had no luck so far. I've managed to make that work on shell login/logout, but my users dont even know what shell is and have no use for it :)


I added Mirror modifier to my Archway and everything is fine untill I add Subdivision Surface.   Without Subdivision Surface modifier:  What Am I doing wrong? Here's Blender file:

I tried to subsurf this model that I mirrored but when I use subsurf it splits the model into two objects.  Before Subsurf:   After Subsurf:   Any help would be appreciated.


I have the below variables:  grep_line_new_file='create table "informix".issue' new_file_below=`awk 'BEGIN { FS="\n[()]"; RS=";" } /$grep_line_new_file/ { print ")"$NF";"}' test`   Inside test file I have the below:  create table "informix".issue  ( issue_no serial not null constraint "informix".nnc_issue00, user_logged varchar(8,1) not null constraint "informix".nnc_issue01, issue_status_code integer not null constraint "informix".nnc_issue02, issue_cat_code varchar(2) not null constraint "informix".nnc_issue03, issue_descr text not null constraint "informix".nnc_issue04, issue_feedback text, user_action varchar(8,1), date_logged date not null constraint "informix".nnc_issue05, date_compl date ) in datadbs extent size 16 next size 16 lock mode row;  revoke all on "informix".issue from "public" as "informix";   I am having an issue using an external variable to find and get the line below I need when echoing the "$new_file_below".  I have tried using the below [awk -v]. It still does not want to work:  new_file_below=`awk -v val="$grep_line_new_file" 'BEGIN { FS="\n[()]"; RS=";" } /$val/ { print ")"$NF";"}' test`   The outcome I need from the "new_file_below" variable is below:  ) in datadbs extent size 16 next size 16 lock mode row;

Having the following in one of my shell functions:  function _process () {   awk -v l="$line" '   BEGIN {p=0}   /'"$1"'/ {p=1}   END{ if(p) print l >> "outfile.txt" }   ' }   , so when called as _process $arg, $arg gets passed as $1, and used as a search pattern. It works this way, because shell expands $1 in place of awk pattern! Also l can be used inside awk program, being declared with -v l="$line". All fine.  Is it possible in same manner give pattern to search as a variable?  Following will not work,  awk -v l="$line" -v search="$pattern" '   BEGIN {p=0}   /search/ {p=1}   END{ if(p) print l >> "outfile.txt" }   '   ,as awk will not interpret /search/ as a variable, but instead literally.


I wanted to know how to get crawled your Web Page Frequently to Different Search Enginges.  I want my Web to Get Crawled to Google Every Frequenct Day? Can Anyone help me out.

I've been using the following line in the <head> of my sites for years:  <meta name="revisit-after" content="3 days" />  I recently discovered that it's not one of  that Google understands, which I take to mean that there's no point in including it, and that it's been doing no good at all for years.  How often do search engines crawl a website by default, and what reliable ways are there to increase or decrease that frequency?


I used to use personal WIKIs to organize personal info, but due to increasingly strong browser security control and poor mobile support, I switched to Mac/iOS Notes and find it very comfortable to work with, except for one quirk:  I can't find a way to cross-reference info like WIKI does.  Is there a workaround?

In Apple Notes on the Mac, is it possible to reference a note from within another note (by way of hyperlink)? So, for example, if I had two notes:  Thoughts about pastries Pastries are great. Truly wonderful treats. But you know what my favorite types of pastries are? Donuts. I've even made a list of the types of [donuts I've eaten].  and  Donuts I've Eaten Chocolate, Glazed, Frosted, Encrusted…  How could I link the text [donuts I've eaten] from the first note to the second note?


I am visiting my sister in Switzerland, my visa type C, my duration of stay 32 days  for 30/Aug to 1/Oct. I want to extend my stay 10 days more, is it possible? And if I can, where should I go to? (it's still 7 days in my visa visit it end at 1/Oct i want to stay to 11/Oct ). What can I do? And what documents I need? Could anyone please suggest if I would need a formal approval process from local canton office?

I am Filipina and I'm in Switzerland right now together with my sponsored, and my 30 days Schengen visa for housemaid will going to expire on Aug 25 '2014, Can I extend my visa till 31 of Aug 2014 from Switzerland? Where I can go to process my visa?


Is there any similar function or plugins for QGIS as in ARCMAP for polygons called autocomplete polygon or autocomplete freehand. I am digitising polygons on a DEM as geomorphological research.  I need to digitise polygons next to each other with 0 overlap.   I'm a searching for this function in QGIS 3.4.9-Madeira on a Mac.

I am trying to do digitizing in QGIS, but I do not see an option that I have seen in ArcGIS - autocomplete polygon. I would like to make two adjacent polygons topologically correct, and can not find such an option in QGIS.


i'm making an anagramm app in android. I have some problem, i have buttons with text "A", "B", "C" for example. My code generate string "ABC", and my ans[i] = "ABC". But when i compare them, it returns me false. Help pls.  There are code example, i have problem in   if (word == "ERATO") Toast.makeText(this, ans.get(0), Toast.LENGTH_SHORT).show();  public class MainActivity extends AppCompatActivity { public List<Button> btns; public List<String> ans; String word = ""; String checkStr; EditText text; private static final int[] btn_id = {         R.id.btn1,         R.id.btn2,         R.id.btn3,         R.id.btn4,         R.id.btn5,         R.id.btn6,         R.id.btn7,         R.id.btn8 };  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);      btns = new ArrayList<Button>();     ans = new ArrayList<String>();     text = findViewById(R.id.txt);     text.setEnabled(false);     fillAnswers();      for (int i = 0; i < btn_id.length; i++){         Button b = findViewById(btn_id[i]);         btns.add(b);     } }  public void fillAnswers(){     ans.add("ERATO");     ans.add("MARI");     ans.add("AIR"); }  public void onClick(View v){     Button b = (Button)v;     char str = b.getText().charAt(0);     addToString(str);     text.setText(word);     b.setEnabled(false);    // Toast.makeText(this, word, Toast.LENGTH_SHORT).show(); }  public void okClick(View v){      //Toast.makeText(this, word, Toast.LENGTH_SHORT).show();     if (word == "ERATO") Toast.makeText(this, ans.get(0), Toast.LENGTH_SHORT).show();   /*  for (int i = 0; i < 3; i++){        // Toast.makeText(this, word, Toast.LENGTH_SHORT).show();          if (checkStr == ans.get(i)){             Toast.makeText(this, word, Toast.LENGTH_SHORT).show();         }     }*/      word = "";     text.setText(word);     for (int i = 0; i < btn_id.length; i++){         Button b = findViewById(btn_id[i]);         b.setEnabled(true);     } }  public void addToString(char s){     word += s; }   }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I´m rather new to QGIS.  So the issue is this. I downloaded some terrain data from INEGI (Mexico´s Geographic Information Institute) which contained the contour slope.  I had no issue doing it with the original data downloaded from the site, I had the info and followed  simple tutorial to get the Interpolation Raster.  I had proceeded to join 4 maps using Vector->Data Management Tools-> Merge Vector Layers and had no problems after the merge.  Having merged for maps the resulting map came out to be rather large for an interpolation and for my project I needed high resolution. So I need to clip a section of those slope maps to generate a raster of only a part of the map.  So I did that, I created a new ShapeFile layer and created a rectangular polygon that determined the area to be clipped. Then I went ahead and used Vector->Geoprocessing Tools-> Clip.     Having done this successfully I went ahead and used the exact same procedure to Interpolate this new slope and the error message I have been trying to solve for the past 3 hours appeared. "wkb access out of bounds".  This problem is exclusive to the "Triangular Interpolation (TIN)", Interpolation Method. While troubleshooting I tried the "Inverse Distance Weighing (IDW)" method which calculated somewhat successfully but with unsatisfactory results.

I am new to QGIS.  I am trying to construct a DEM from contour lines by using QGIS 2.14.0. (and later 2.18) I am doing this by using a clip rectangle tool (geoprocessing tools) on top of the contour lines and interpolating, by using the interpolation plugin, using triangular interpolation.  After I enter the data in the interpolation dialog and clic Save  I get an exception "WKB access out of bounds".  Someone suggested that to avoid getting this error, it's better to interpolate before clipping the image, but doing this causes QGIS to doing a massive processing taking a huge amount of time.  Has anyone run into this and managed to find a solution?


$3 \times 3$ matrix B has eigenvalues 0, 1 and 2. Find the rank of B.  I understand that $0$ being an eigenvalue implies that rank of B is less than 3.  The solution is  (right at the top).  It says that rank of B is 2 because the number of distinct non zero eigenvalues is 2.  This  says that the only information that the rank gives is the about the eigenvalue $0$ and its corresponding eigenvectors.  What am I missing?    Edit  What I am really looking for is an explicit answer to this:      "Is the rank of a matrix equal to the number of distinct non zero eigenvalues of that matrix?"  Yes/No/Yes for some special cases

for (a) it says it can't be rank 1 because there is only one non zero eigenvalue? I understand it can't be 0 or 3 but I don't understand how you can conclude we have 2 just by knowing how many eigenvalues we have.


Hi I am using site generating software. I have a post that sends to a script, which is to transfer a text string into a diary table (Dsc=) However a single ' anywhere in the post ie don't can't , and the operation fails can anyone tell me how I have to alter this code to stop this happening please  print ""; print "<a href=\"http://" . "adddddd.com/addb/xx.php" . "?" . ""."Dsc=" .  urlencode($row[29]) . " Lead from: " . $row[27] . " - Job: " . $row[0] . " -  " . $row[39] . "Notes: " . $row[18] . " - Obs: " . $row[26] . "" . "\"   target=\"_self\">" . $cellvalue . ""; print "	";

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


In many cities, neighborhood Crime Watch groups are formed in an attempt to reduce the amount of criminal activity. Suppose one neighborhood that has experienced an average of 10 crimes per year organizes a Crime Watch group. During the first year following the creation of the group, 3 crimes are committed in the neighborhood  Use the Poisson distribution to calculate the probability the 3 or fewer crimes are committed in a year, assuming that the average number is still 10 times per year  Average = 10 x = 3 Answer would be  P(X < 3) = 0.00277?   Do you think this event provides some evidence that the Crime watch group has been effective in this neighborhood? Justify your answer below. Im lost at this one, any help would be appreciated.

After taking a statistics course and then trying to help fellow students, I noticed one subject that inspires much head-desk banging is interpreting the results of statistical hypothesis tests.  It seems that students easily learn how to perform the calculations required by a given test but get hung up on interpreting the results.  Many computerized tools report test results in terms of "p values" or "t values".  How would you explain the following points to college students taking their first course in statistics:   What does a "p-value" mean in relation to the hypothesis being tested?  Are there cases when one should be looking for a high p-value or a low p-value? What is the relationship between a p-value and a t-value?


In the site selector on Data Explorer, Security Stack Exchange is still listed as IT Security, not Information Security.

It appears that site meta data isn't updated in SEDE. As an example, Moderators.SE was  to  in December 2014. It is still listed in SEDE as Moderators.SE, as of July 2015.  To search for Community Building data, we need to search the "Moderators" community:    It is not listed as Community Building:


I have certain medication I have to drink every night, if I where to travel overseas how would I insure that if my bags are searched and they find the pills they dont decide it is drugs?

This is in reference to medications, both prescription and non-prescription, not illicit drugs. Since the legality may vary on country, let's say a round trip from the US to Singapore, as an example.  When travelling with prescription medication, I am aware that you are supposed to bring your prescription with you. What about over-the-counter medication, such as Tylenol/aspirin? How about medication which is restricted or prescription-only in one country, yet available OTC in another (think Viagra)?


My iPhone 4S won't connect to my computer when running Ubuntu 13.04. The "Trust this computer" prompt just endlessly pops up. Without actually connecting.  Any ideas? Maybe this is just going to be it with iOS 7.

I wanted to bring up an issue with the latest Ubuntu release that I hope can be solved. Although I will agree with the community that iOS 7 is not the most open platform release, it still is my desire to be able to grab Photos, Music, and Files off my Phone similar to what I would do to any other device.  Every time I connect my device to Ubuntu, I receive the following notification:  The device "Justin's iPhone" is locked. Enter the passcode on the device and click "Try again".   On my iPhone, I select the following   Unfortunately, this is where problems start to arise. It appears that Ubuntu either does not recognize the permissions from my iPhone or the iPhone is not allowing itself to truly be unlocked. As we can see the permissions are   Browsing askubuntu, I encountered the following   After running the code, I receive the following error:  justin@justin-CT15:~$ idevicepair unpair && idevicepair pairERROR: Device d1fea2c56e51199f901eb34020a1581ea31a2a50 is not paired with this host   If I call the command again, i receive another error:  justin@justin-CT15:~$ idevicepair pair ERROR: Could not pair with the device because a passcode is set. Please enter the passcode on the device and retry.   Ultimately, I am stuck to experiment with solutions that end up not working. I am troubled by the lack of information and support for the iOS 7 platform on Ubuntu's latest release. If anyone has a workable solution or experiment for a workaround, I am happy to try  Thanks for reading and have a wonderful day!


I'm trying to make a program that will translate English words to Japanese and vice versa that are listed in the given arrays. It will also display the image for the given word. For my actionPerformed method, I coded it to be when the "English to Japanese" button is pressed the for-loop will run until the input from the JTextField is the same as the words listed in the englishWords array. But I'm not sure if that's right. Is it my for-loop that is incorrect or am I approaching the code wrong?   P.S. ignore the non-completed image code, I'm just trying to figure out how to compare the words together  public class Translator extends JApplet implements ActionListener {  //English array String[] englishWords = { "Fish", "Lettuce", "Bike", "Chef", "Teacher" };      //Japanese array String[] japaneseWords = { "Sakana", "Retasu", "Jitensha", "Shefu", "Sensei" };  //Image array Image[] wordImages; Image wrong;  //Java util JButton english, japanese; ImageIcon icon; JLabel label; JTextField words;  public void init() {      //Images     wordImages = new Image[5];     wordImages[0] = getImage(getCodeBase(), "Fish.jpg");     wordImages[1] = getImage(getCodeBase(), "Lettuce.jpg");     wordImages[2] = getImage(getCodeBase(), "Bike.jpg");     wordImages[3] = getImage(getCodeBase(), "Chef.jpg");     wordImages[4] = getImage(getCodeBase(), "Sensei.jpg");     wrong = getImage(getCodeBase(), "Wrong.jpg");      //Layout     setLayout(new FlowLayout());     words = new JTextField(null, 10);     english = new JButton("English to Japanese");     japanese = new JButton("Japanese to English");     icon = new ImageIcon(wordImages[0]);     label = new JLabel( icon, JLabel.CENTER);     icon.setImage(wordImages[0]);     label.setIcon(icon);      //ActionListener     english.addActionListener(this);     japanese.addActionListener(this);      //Install     add(words);     add(english);     add(japanese);     add(label); } public void actionPerformed( ActionEvent ae ) {     Object src = ae.getSource();     if(src == english)     {         for(int x = 0; x < englishWords.length; ++x)             if(englishWords[x] == words.getText())             icon.setImage(wordImages[x]);     }     else if(src == japanese)     {         for(int x = 0; x < japaneseWords.length; ++x)             if(japaneseWords[x] == words.getText())                 icon.setImage(wordImages[x]);      }  }


Not sure this was properly addressed before but question was where to put the "'" on the s. In the question it was about having multiple appointments that day, each appointment with a different doctor. So when you state you have multiple appointments that day with different doctors what should it be? My guess is i have doctors appointments. Is that right?

I've looked this up online, but I can't find any explanations from reasonably credible sources, so I'm posting my question here! (Was that a comma splice?)  Should I refer to the appointment that I made with my doctor as a "doctor's appointment" or "doctors appointment"? What if I'm referring to more than one appointment with two different doctors?


I mean, there is a well known 'substitution' for number "0" with 'ou' sound. Like, '107' in military communications will be pronounced as 'one-ou-seven'. Is there similar kind of substitution for letter "W", say, in aforementioned military comms? Some way that allows to pronounce it much quicker?

When spelling, every letter in the Alphabet is pronounced by a single syllable, with the only exception of W being pronounced "double-U". (Fun fact, in German it's approximately pronounced like the "ve" in very, but in some strike of cosmic justice Y is pronounced "Yps-e-lon") Why is that? Is there any at least semi-officially accepted one-syllable alternative pronunciation of W?  I checked some related post, e.g. , but they are more concerned with the "Why?" instead of the "Why not different?"


Initially, I thought I could use :first-letter in CSS, legacy browser support aside, but I don't think the bullet numbers technically exist in the DOM. Assume I'm not going to use bullet list images or background images.  So something like:   Apples Bananas Oranges   would become    1 Apples   2 Bananas   3 Oranges

How can I left-align the numbers in an ordered list?  1.  an item // skip some items for brevity  9.  another item 10. notice the 1 is under the 9, and the item contents also line up   Change the character after the number in an ordered list?  1) an item   Also is there a CSS solution to change from numbers to alphabetic/roman lists instead of using the type attribute on the ol element.  I am mostly interested in answers that work on Firefox 3.


I am trying to create an image in LaTeX that shows a table auto-filling itself, such as the four tables shown below. I've seen some posts about animating pictures, but I haven't seen anything about compiling "slides" together into an image. The four slides are below.  \documentclass[12pt]{article} \usepackage{amsmath,amssymb}  \begin{document}  \begin{tabular}{|c|c|} \hline 1 & \\ \hline  &  \hline \end{tabular}  \begin{tabular}{|c|c|} \hline 1 & 2\\ \hline  & \\ \hline \end{tabular}  \begin{tabular}{|c|c|} \hline 1 & 2\\ \hline 3 & \\ \hline \end{tabular}  \begin{tabular}{|c|c|} \hline 1 & 2\\ \hline 3 & 4\\ \hline \end{tabular}  \end{document}   This produces the tables, but I don't know how to make them into one image. How do I combine them?

I am a new user of LaTeX and this site. I have seen that many answers in this site have animations. However I am not able to produce any of these animations. For example, I asked  and a got , but when I compile this with pdflatex, I get  which does not have any animation. What am I doing wrong?


I'm trying to implement linked Lists. I therefore have this first class, called List, which represents one element   package list;  /**  * Linked list with int values.  *   * The empty list is represented by a null reference.  */ public class List {     public int value;     public List next;      /**      * Creates a new list      *       * @param value value of the head of the list      * @param next reference to rest of the list; may be null      */     public List(int value, List next)      {         this.value = value;         this.next = next;     }    }   and the linked list class itself which contains the following method  public static int size(List list)     {         if(list==null) return 0;         else return size(list.next)+1;     }   so far everything works. But if I try  public static int size(List list)     {         if(list.next==null) return 1;         else return size(list.next)+1;     }   i get a NullPointerException... I have no Idea why this shouldn't work since list.next should a one point be a reference to the null pointer and end the recursion. Therefore size(null.next) should never be called.  I apologise for the bad english and am grateful for any help

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


Tomorrow I faced a power intrupt after which my Ubuntu got stuck in login loop. I tried login using terminal but nothing happen....all that happen is that I redirected back to terminal login screen. I have read and searched most sites and forums but nothing helped me.

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.   I've read that the problem might be caused by an error depending on the graphics, here's my graphics card: ATI Radeon 7670M


Consider $D_4$ generated by the "reflection" element, $\sigma$, and the "rotation" element $\rho$.  $D_4 = \{\mathbb{1}, \rho , \rho^2 , \rho^3 , \sigma, \sigma \rho ,  \sigma \rho^2 , \sigma \rho^3\}$ Now consider the (cyclic) group of order $2$,  $\mathbb{Z}_2[\sigma] = \{\mathbb{1} ,  \sigma \}$ Then $D_4 / \mathbb{Z}_2[\sigma] = \{ \{ \mathbb{1},\sigma\} , \{ \rho ,\sigma\rho\} , \{ \rho^2,\sigma\rho^2\} , \{\rho^3,\sigma\rho^3 \} \} = \{\{ \mathbb{1},\sigma\} , \rho\{ \mathbb{1},\sigma\} , \rho^2\{ \mathbb{1},\sigma\}, \rho^3\{ \mathbb{1},\sigma\} \}  $ Which is surely cyclic? But I have been told that it is not. Could anyone clear something up for me Thanks :)

I need to be able to find all of the quotient groups for dihedral group 4 with $D_4 = \{ e,R,R^2,R^3,V,H,D,D'\}$. I know I have to start by finding the normal subgroups, which are $\{e,R^2\}$ $\{e,R,R^2,R^3\}$ $\{e,R^2,V,H\}$ $\{e,R^2,D,D'\}$. Then I need to find the sets defined by $G/H=\{ aH : a \in G\}$ with operation $aH  bH = abH$. I am stuck here; could someone please show me how to find all of the factor groups for D4?


My account has 20 (!) sites associated to it.  I only use it for 3-5 sites.  To reduce clutter, I would like to delete my profiles that I do not use much.  I have went through , but when I enter the profile URL as:  http://russian.stackexchange.com/users/5772/alex   it gives the error message:     oops! this isn't a link to a valid profile   What procedure do I go through to delete my profile only on certain sites?

How I can remove myself from some Stack Exchange sites, but keep my profile? (For example, I subscribed to some sites just for curiosity; I just browsed without posting or replying.)  I found a delete option but I am afraid to click!   Would it be possible also to unsubscribe from sites where I have been active?


Prompted by the discussion in chat starting , especially  about the spacing being "wonky".  The padding of badge icons in achievements dropdown is off when viewing from mobile.  (on mobile view, they look like a mix of full site/regular mobile view), but "even if the page isn't responsive, the padding between the items should be fine" ().  Screenshot below, on Chrome 74.0 (reproduced on Chrome 75.0), Android 5.1.1. No userscripts, or at least none that I willingly installed.    Apparently there's .

When viewing the achievements dialog on non-responsive pages (like the ) in Safari on an iPhone, the alignment is off: reputation changes take more horizontal space than badges. Also, the badges align to the bottom of the row instead of the top.    I am not sure if all pages will eventually get the responsive treatment; if they do, it's probably not worth the effort to solve it.


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

I am using NDVI files (value range -1 to +1) created from Landsat CDR images to produce a timeseries in TIMESAT software.   My  .tif file has following characteristics.  File type  TIFF,Data Type  Double Precision, Byte Order Host (Intel), Interleave BSQ  As per the requirement of TIMESAT, the image should be headerless(flat) binary file, and values can be stored as 8 bit integer(0-255), 16 bit signed integer(-32767 to +32768) or 32 bit real.   Now i need to change my data type into any of these 3 format and .tif file into headerless binary files.   Any idea?


Is it different from foo.bar calling a function from a specific instance? I've seen it around on tutorials but it's never explained and it's too general a term to show up on google.

What is the arrow operator (->) a synonym for?


I got a new GPU (AMD Sapphire RX 550) and since then, Blender (2.91.0) doesn't display my Objects correctly in the Viewport, while I´m in Material Preview / Rendered mode. It seems like the Materials are not there / can´t be rendered. While I´m in the Shading tab my Object looks like the Background (maybe its invisible?) and as soon as I start rotating around it does not clear the Background from the Object (like those Object smearing effect in (buggy) games when the skybox is not cleard) I tried switching the Renderer but that didn´t work.

I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?


I am creating a side scroller game for android devices but I encountered a problem. The game looks like this:    The black dot is a player. Player's x doesn't change, only the y does. When the player collides with the green terrain the game is over.   I have a problem with how should I handle a map storing and drawing. What I did is store the level file in a large png file (like 1k px height and 20k px width), same with the collision mask (basically the same file but with black colored collision terrain). I guess this approach isn't to good beacuse I was getting the out of memory exceptions due to large bitmap on some devices. I've learned that some people use tile based maps but with this sinusoidal map it could be to hard for me to do small tiles and collsion masks for them. I want the map to be as long as possible and if it's possible random-generated but I don't know what's the best approach to do this with this kind of terrain and how to handle pixel perfect collisions when doing so.

I'd like to create a smoother version of the navigable and quite natural-looking random tunnel found in .  It should ideally be...   infinite, so more can be generated as the player progresses; parametrised, allowing control of its thickness over time; made of smooth curves, not rectangles as in the above game; precomputable, as knowing its bounds in advance allows collision detection for e.g. positioning powerups inside the tunnel.   I'm looking for a generic method I could implement myself. Further parameters and optimizations are welcome.  Asking here was suggested . I think this fits in both places, as it's as much about the algorithm as about gamedev.


I am an Indian living in Belgium. I am travelling to Seattle via New York JFK airport from Brussels. I am travelling with Delta for both the legs. I have 4 hours(3hr 54min) of stopover time at JFK. My question is can I do my immigration at seattle international airport instead of JFK. I have heard stories of very long queues at JFK for immigration from my colleagues and I am afraid that I will miss my connecting to Seattle if I have to do my immigration at JFK. One more thing, as per my preliminary itinerary my BRU->JFK flight will arrive at terminal 4 and my JFK->SEA flight will depart from terminal 2 of JFK, how can I transfer quickly from terminal 4 to terminal 2. Thanks in advance.

I'm a British citizen travelling from London Heathrow (LHR) to the Hartford, Connecticut airport, and have a two hour stopover in Newark, New Jersey (EWR) on my itinerary. At what stage would I clear immigration and customs on arriving in the USA?


I am using Windows 10's built-in ssh client and would like to remove an entry added to the list of known hosts.  Where is this stored?

One of the servers I frequently log into via SSH has changed it's IP address. So, now I'm getting man in the middle attack warnings when I try to use SSH via Windows Powershell and OpenSSH for Windows.   On a linux machine, I would just remove the offending line from ~/.ssh/known_hosts. But, the ~/.ssh directory seems to be empty.  Where is the known_hosts file for Powershell/OpenSSH? I've checked in C:\Program Files\OpenSSH\home\anschauung\.ssh, but that folder is empty as well.


The value of $$\lim_{x\to -\infty} \sum_{k=1}^{1000} \frac{x^k}{k!}$$ is  a.) $-\infty$  b.) $\infty$  c.) $0$  d.) $e^{-1}$  I tried expanding the series but it got me nowhere. Then i thought the expanded sequence is a part of e^x but it goes to infinity and in question it is only up to 1000.

QUESTION: Find the value of-  $$\lim_{x \rightarrow -\infty}\sum_{k=1}^{1000} \frac{x^k}{k!}$$    MY ANSWER: Since $x→-\infty$ therefore the summation will look like- $$ \frac{-\infty^1}{1!}+ \frac{-\infty^2}{2!} + \frac{-\infty^3}{3!} + \frac{-\infty^4}{4!}$$   Now, we know that $${-\infty^{even}}=\infty$$  And $1000$ can be broken down into 500 pairs. And since $k$ is finite the terms will look like $$ -\infty + \infty -\infty +\infty-.....$$  Hence, we can conclude that the overall limit of the summation will tend to zero.   Am I correct?  Thank you for your help.


I've a problem in using NULL with NOT in sub-query, the code is:   Create table #FirstTable(i int) Create table #secondTable(i int) insert into #FirstTable(i) values (1),(2),(3),(4),(5) insert into #secondTable(i) values (2),(3),(null)  select * from #FirstTable where i not in (select i from secondTable);   The expected result would be 1,4,5 but it gives null, how can I get the expected value? The question is somehow similar to the referred question but specifically that question is including joints with different values

This issue came up when I got different records counts for what I thought were identical queries one using a not in where constraint and the other a left join. The table in the not in constraint had one null value (bad data) which caused that query to return a count of 0 records. I sort of understand why but I could use some help fully grasping the concept.  To state it simply, why does query A return a result but B doesn't?  A: select 'true' where 3 in (1, 2, 3, null) B: select 'true' where 3 not in (1, 2, null)   This was on SQL Server 2005. I also found that calling set ansi_nulls off causes B to return a result.


It was my understanding that with the Creators Update 1703, Windows 10 would no longer be auto restarting on its own. Currently running 1803 and am still experiencing forced restarts. Are these editions unrelated? Should I still be having this problem? Forced updates are still occurring despite changing the Scheduling Task name and disabling the service. I don't care why, but to imagine someone would design a system that pseudo-randomly restarts itself is beyond me.  UPDATE  I'm thinking a possible culprit is a service named 'Windows Update Medic Service', but can't find a way to disable it on any forums and admin rights are not sufficient. Links point to a utility called Windows Update Blocker but I'd prefer to do this manually.  UPDATE 2  Does nobody have a suggestion regarding this? Even a confirmation that this can't be solved would be validating. It's restarted three times this month on its own and destroyed everything I had in RAM. Unfortunately I only have this copy of windows that came with the computer, I really don't want to go and buy a new copy in hopes it will be a different 'version' of this pos. It keeps taunting me with its smirk message 'Heads up we're going to make windows better soon...' right before it does whatever it wants.  UPDATE 3:  Had it automatically restart 3 friggin' times this week. Once after Patch Tuesday, and then another 2 times without any notice or warning. Cannot leave the computer running safely overnight... great job Microsoft. Plus it automatically re-starts services that were running when it shutdown which causes more problems. Worse yet, under Services, Windows Update and Windows Update Medic Service is listed as 'Stopped' and 'Manual' startup... this is after all the restarts.

We've upgraded some machines to Windows 10 and realized there were some updates which updated as required. However, I realized there was no option available to stop the download similar to that on Windows 7 and 8.1. The only way I could stop the download was to stop the Windows Update service.  My question is does anyone know of a way to stop auto updates or is stopping the service is the only solution?


I am doing a data monitoring and I am doing a cron job to get the data everyday. But I am receiving many junk data with my actual data that makes the file huge. For example my data is,  eg.hh.jk.ll.mm ee.ff.gg.hh.uh im.mi.jj.hh.ll 11.33.44.55.66   I have to print the data matching the line from ff.gg to the line matching 33.44. Line number is not available. So my result should be  ee.ff.gg.hh.uh im.mi.jj.hh.ll 11.33.44.55.66   Thank you !

I want to start grepping from the lines that has CK at the end of line and stop grepping when the line has D at the end. I tried grep "$CK" "$D" file..txt, but it didn't work.  Input:  kkkkkkkkkkk    jjjjjjjjjjjjjjjjjj   gggggggggggg/CK   JHGHHHHHHHH    HJKHKKLKLLL    JNBHBHJKJJLKKL   JLKKKLLKJLKJ/D   GGGGGGGGGGGGGG   GGGGGGGGGGGGGG   The desired output:  gggggggggggg/CK   JHGHHHHHHHH    HJKHKKLKLLL    JNBHBHJKJJLKKL   JLKKKLLKJLKJ/D


I'd like to know how to display this quick horizontal menu in ubuntu 16.04

In Unity, are there any pre-defined shortcuts, e.g. to open the dash or unhide the launcher?


I would like to save my physics animation in a PNG sequence with the landing plane transparent.  I have an object that is landing on a plane.  This plane needs to be transparent in the PNG animation sequence.  I've seen posts with the "Film" tab, but I don't seem to have this in verion 2.79a.  How do I do this?  Thank you.

I would like to render an animation as a series of .png images with transparent backgrounds for use in a video. Is this possible?


I have a similar structure like this:  \begin{lstlisting}[language=bash] Family |-father |-mother |-elderson |-younger son |-younger daughter \end{lstlisting}   I need to make "mother" and "younger daughter" words in bold. How can I do it?  i followed this , but could not do it.

I'm using listings package, and I've added basicstyle=\ttfamily\footnotesize. However, when I do that, the keywords from the embedded source-code are not bold anymore.  I figured that \ttfamily together with \bfseries does not work.  And then I found a , and I tried adding \usepackage[bold-extras], and it didn't work either. What does that package do? Should I just ignore it and move on?  And then I finally found , which may be a duplicate to this one, but was a lot harder to find. I also found , which got me more confused.  So, what should I do in order to get a bold fixed-width font for use within listings?  Using pdflatex from texlive-2010.


I'm exploring working with the ubuntu terminal. For particular reason I need to check if I have installed Python interpreter, like cPython. How to do it? In general, how to check if some program is already installed and its version?

At our university we can get almost any ubuntu package installed we want, but we are not superusers ourselves (we need to request packages being installed).  With some libraries it is not always easy to know whether the package is already installed or not. Is there a simple way/command to check this?


Jquery Code  this is my jquery function for retrieving list or categories from database which is dynamically genrated by jquery function, I have added click event on each of the generated list items. But its not giving any alert on click.                  Controller  <?php  class HomeController extends CI_Controller {     public function __construct()     {         parent::__construct();         $this->load->model('HomeModel');     }      public function getLevel1Categories()     {         $result = $this->HomeModel->getLevel1Categories();           echo json_encode($result);     } } ?>   Model function  public function getLevel1Categories()     {         $this->db->select()             ->from('category_level1_tbl');         $query = $this->db->get()->result();         return $query;     }   html

Level 1  Categories

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


Suppose $A,B$ are linear operators on Hilbert Space $\mathcal{H}$, satisfy $$ (Ax,y) = (x,By) $$ for $\forall x,y \in \mathcal{H}$. Show that $A,B$ are bounded.    What I can get so far : $A,B$ are almost 'adjoint', except that we don't know yet if they are bounded.  Thanks for helping.

This is a question I'm struggling with for a while:  Let $H$ be a Hilber space. Let  $T,S: H\rightarrow H$ be linear operators (not neccessarily bounded) such that for every $x,y\in H$: $\langle Tx,y\rangle=\langle x,Sy \rangle$.  Prove $T,S$ are bounded.    What I did so far:  First attempt:  $||Tx||^2=\langle Tx,Tx\rangle=\langle x,STx\rangle\le||x||*||STx||\le||x||*||S||*||Tx||$  I'm not entirly sure I'm allowed to do the last inequallity, since $||S||$ might be $\infty$.  It follows $||Tx||\le ||x||*||S||$  and analogly  $||Sx||\le ||x||*||T||$  From the first I'd get $||T||\le ||S||$ and from the second $||S||\le||T||$. Therefore $||S||=||T||$. I don't know where to go from here.  Second Attempt: assume  $T$ isn't bounded, therefore so is $S$, therefore there are series $(x_n),(y_n)\subset H$ such that $||x_n||=||y_n||=1$ and $\lim ||Tx_n||=\infty,\lim ||Sy_n||=\infty$. I'll keep it going soon, but it didn't go so well..    I'd love some guide. Not neccessarily the whole solution, but something that would tell me what i'm missing.  Thanks :)


How long can a pre=packaged, un-opened Brined Turkey last if bought 1 week before Thanksgiving? The outer expiration date on this Brined Turkey states to use or freeze by 12/2/2020. Was planning to smoke/cook on 11/24/2020 but wanted to know if Turket might be bad or good. There are too many sites with conflicting answers.

How do I know if a given food or ingredient I have is still good, or if I should discard it?  How can I best preserve a food or ingredient?     This broad question is intended as a "general reference" question to quickly answer many how long will food keep for? questions. Please feel free to edit this question to expand and clarify as needed.


I have problems with subquerys. In phpMyAdmin when I enter this:  SELECT companys.id    FROM companys    JOIN users      ON users.company = companys.id   WHERE users.id = '$LOGGED_IN_USER'   I get number 1 returned. That is correct.  And then I tested:  UPDATE companys     SET companys.signature = '$SIGNATURE'   WHERE companys.id = 1    That also works, it updates the value with $SIGNATURE where companys.id = 1. So far so good. Now to the problem. The problem appears when I combine those two:  UPDATE companys     SET companys.signature = '$SIGNATURE'   WHERE companys.id = ( SELECT companys.id                           FROM companys                           JOIN users                             ON users.company = companys.id                          WHERE users.id = '$LOGGED_IN_USER')   The DB never gets updated. It is like the inner select doesn't work suddenly for some reason.

I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries:  SELECT *  FROM  story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category INNER JOIN         story_category ON category_id=category.id);   I tried to delete them executing:  DELETE FROM story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category        INNER JOIN story_category ON category_id=category.id);   But I get the next error:      #1093 - You can't specify target table 'story_category' for update in FROM clause    How can I overcome this?


My answer:  Closed loop function formula can be found using (forward path / 1 + return path)  so Gr(s) = [(A+D(s))B] / (1 + [(A+D(s))B]) = heading angle / desired angle (correct or wrong?)  As for Gd(s) = B / (1 + (B + desired angle)A) = heading angle / D(s) ( correct or wrong ?)  How do I determine the order of the control system given that A = kp + kd s + ki/s and B = 1 /s^2 - alpha  This diagram can be found

How do I find the   How do I find the transfer function of Gd(s)?  I am able to find the transfer function of Gr(s) but I am not really sure about Gd(s)? and how do i determine which order is this closed system?


I would like to know whats the pratical use of derivate calculus? Or what it means?  If you can give some pratical example I'll be grateful.  Eg.:  I can use an definite integral to know area of a function knowing the expression of the function and the limits.  Know how to solve exercises make no sense if i cant imagine the real purpose and the objective meaning.  Thanks in advance.

I know how to count derivatives, but I actually don't understand what are those? What do they show?   Wikipedia explanation: Loosely speaking, a derivative can be thought of as how much one quantity is changing in response to changes in some other quantity. I understand nothing what is written here?  Please, if you can, explain me as simple as you can it. Thank you very much.


There are many badges that are received after, especially the less common ones, like the ones except Teacher, Student, Scholar etc.  Do they require moderators approval? But, that would not scale, would it? There are hundreds and hundreds of badges and would be too much work for moderators to approve all of those. Or is there some kind of peer approval process?  I'd have expected that badges could be awarded immediately when an achievement happens?   What process awards badges to users, why does it take so long? Is there a manual approval process for badges?

Do badges get calculated in real time, or do they get calculated by an external service? How long does it take for a badge to be awarded, once its requirements are met?  Does Stack Overflow use any external services to do things, like maintenance, e-mailing or badge calculation?


I tried using the knife tool, which turned out to be a disaster since I have partially paralyzed hands.  I tried loop slide and whatever and it appeared to not do anything.  I tried subdivide and got something I think I can work with but there has to be an easier way.  Can anyone give me a hint or a link to a good basic tips tutorial or anything?

I have a cone and I want to cut of top piece of it. How can I make cut face flat?


Let $f(t)$ be a continuous function on an interval [a,b]. If $\int_a^b |f(t)| dt = 0$, then determine $f(t)$.   Here comes my question. With such integrals including absolute values, I know that I can write the given integral as sum of two or more integrals according to the zeros of the function in absolute value. However, I don't know anything about $[a,b]$ if $a<0<b$.   Where should I start?

Suppose that $a \lt b$ and that $f:[a,b] \to \mathbb{R}$ is bounded. Then prove that:   if $f$ is continuous at $x_0 \in [a,b]$ and $f(x_0) \neq 0$ then $$(L) = \int_{a}^{b} \vert f(x) \vert dx \gt 0\text{; and}$$  if $f$ is continuous on $[a,b]$ then $$\int_a^b \vert f(x) \vert dx = 0$$ if and only if $f(x) = 0$ for all $x \in [a,b]$.


I have a mysql table with hungarian words, so accents are expected. This column full of words must be a UNIQUE one, so I need a charset which treats e.g.: "a" and "á" different.  I read on forums, that my best choise for character collision is utf8_unicode_ci. So my create database command looks like this:   CREATE DATABASE db_name CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci;   After testing is with "mar" - "már" and (with a german word, more popular language) "straße" - "strasse", it still doesn't work. INSERTing gives unique warning, and SELECT with accent results without accent (and vise versa).  Everywhere I looked says it should work. What am I missing then?  Update  Somehow I managed to make this, but work only with command prompt. Php still thinks SELECT "a" = "á" is TRUE.

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


Will the fact that they are covered in water inhibit spoilage?

If I left food out of the refrigerator for some period of time, is it still safe? If I left it out too long, can I salvage it by cooking it more?


I would like to denote the volume of a lattice as vol $L$ and the determinant similarly as det $L$, so that the words "vol" and "det" are in the normal/regular text format but the L is in mathmode.  However, when I need to write it that way in an equation, it takes longer to type and I make more errors.    I want to write a new command so that I can type it all in mathmode similar to:  $\vol L = ...$ and $\det L= ...$.    QUESTION 1:  Since \det is already a command, I cannot overwrite it.   What kind of font does it form when using $\det\ M$ versus det $M$?  This is what I came up with for the Volume:  \documentclass[english]{article} \newcommand{\vol}{\text{vol }} \begin{document} $\vol L = \sqrt{\left|\det(G\cdot G^{T})\right|}$ \end{document}   QUESTION 2:  Does it look okay if I use my new command $\vol L$ and \det\ L together in the paper or should I use $\vol L$ along with with det $M$?

Mathematical operators, such as function names, should be set in roman type, not italics. Latex already has commands for some operators, including \max, \min, and \log.  How can I define additional such commands?


Trying to wrap my head around conditional statements/implication and the respective truthtable in propositional logic. Read a number of the related posts on here. I understand that there is no causal relationship between $A$ and $B$, so from a false proposition anything can follow. This made sense to me especially with the "promise" analogy: $A \Rightarrow B$ is a promise, that can only be broken when after a true condition $A$, $B$ is false (second row of the truth table). If the condition isn't met then the promise can't possibly be broken, no matter $B$. With most real life examples this makes perfect sense to me: "If you write an A in an exam, then you get a Dollar", "if you finish supper, then you get dessert" etc. However one particular math example confuses it again for me: $A:$ $x$ is an even number $B:$ $x$ is divisible by two How can $A \Rightarrow B$ be true when $A$ is false? An odd number is never going to be divisible by two. It's like saying an odd number is even. What am I missing here? What's my misconception? Am I understanding it generally wrong? Also on a related note, what's the proper terminology for the "if-part" and the "then-part" of a conditional statement?

When we talk about formal logic, we generally agree that $P$ and $Q$ are deductively valid propositions. Below fact is supported by  Rutger Uni. page no.2 (PDF doc) And further when we talk about implication or material/concrete conditional $P\to Q$ we assume: "if $P$ is true, then $Q$ is also true" or more generally in formal logic we assume: if premises are true then conclusions are also true because we are dealing with deductively valid propositions. But when we draw truth-table of $P\to Q$ we come across one paradox. That is,  When $P$ is false, and $Q$ is true, $P\to Q$ is still true!  Why so? How can premise (deductively valid proposition or antecedent) be false  with a conclusion (deductively valid proposition or consequent) be true, and their implication be still TRUE! Reading through the explanations given on the question:  It is bit clear with the given examples that: When $P$ is false, and $Q$ is true, $P\to Q$ is true in some situations. Out of given examples I am selecting example given by Jai [3rd top answer on that page] which in fact comes from this :  "If you get an A, then I'll give you a dollar." What if it's false that you get an A? Whether or not I give you a dollar, I haven't broken my promise.  Does this mean that if I get A+ or B- or I was ill for the exam, I will still get a dollar as promised? Because, I thought propositions are rigid and their use in conditional should be consider as-is without changing the meaning of them, then what is intended by the author of the given example. Here, it is very clear that author of the example suggest that; it is a necessary condition for "Get an A" is "I'll give you a dollar" and a sufficient condition for "I'll give you a dollar" is "Get an A". Is there any further explanation: The premise (antecedent) requires further support or can be overlooked or ignored in order for conclusion (consequent) to be true when antecedent is false and consequent is true?


I am new to blender and currently working in blender 2.8. I wanted to animate a plane mesh to have a flag like movement and created that using a tutorial. I wanted to do the same using python scripting. In tutorial in weight paint mode, using colours, weights are given to particular portion of the plane.  Can anyone help me to do python scripting for the same ? Selecting particular portion of the plane mesh and assigning weights to it.  Thanks in Advance

Looking at the API docs I found , but It cannot be called in Edit Mode. When I try to call it, I always get:     RuntimeError: VertexGroup.add(): cannot be called while object is in edit mode.   The buttons in the vertex group list use bpy.ops.objects.vertex_group_assign(), but to work with it you have to manipulate selections, this is not nice to do from a script.    Why I try to use VertexGroup.add() in Edit Mode? My script works this way:  Human weight paint a bone, "Arm_1.L", "Arm_1.L" shares vertices with "Arm_2.L" in this case they share half the vertices (4 bone arm rig, trick to have nice deform in certain movements). When script run, all selected vertices that exist in both groups (Arm_1.L and Arm_2.L) will copy the weights of Arm_1.L into Arm_2.L but inverted. This way, I only need to weight paint "Arm_1.L" and "Arm_3.L", the script will fill the weights for "Arm_2.L".  import bpy  # ensure we are in edit mode bpy.ops.object.mode_set(mode="EDIT")  # configurable parameters src_group = "Arm_03.L" dst_group = "Arm_02.L"  obj = bpy.context.edit_object src_group_index = obj.vertex_groups[src_group].index dst_group_index = obj.vertex_groups[dst_group].index  mesh = obj.data sel_verts = [v for v in mesh.vertices if v.select] #sel_verts = mesh.vertices  # SEGFAULT in this line bpy.ops.object.mode_set(mode="OBJECT")  print("Working")  for v in sel_verts:     v1in = False     v2in = False     for g in v.groups:         if g.group == src_group_index:             v1in = True         if g.group == dst_group_index:             v2in = True     if v1in and v2in:         print("True")         obj.vertex_groups[dst_group].add([v.index], 1.0 - obj.vertex_groups[src_group].weight(v.index), 'REPLACE')  print("Finished")


I deleted Ubuntu and I can't load in windows 8 I get grub rescue. I have the installation disc for windows 8 and don't want to reinstall Ubuntu. I had this b4 but can't remember how I did it. Ubuntu is already gone and windows is downloaded I just want to be able to get on windows because grub rescue is preventing me.

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


The goal is to trigger an automatic alert when disk usage goes above a given threshold. So far I have only found the command df -hP /disk/path that returns disk usage. However, it returns lots of other information as well, as in the image below.      I am looking for the most convenient way to retrieve the Use% statistic. Either through Regex or another Linux command.  It is different from existing question in that it only deals with extracting the right value from the df command while the other questions deal with this part, plus sending the alert as well. The top answer given to this question which I accepted is the most elegant way I have seen to extract the right value.

I want to implement a script on my server which will automatically send email alerts if the disk usage goes over 90% and second email alert when it goes over 95%. My filesystem is abc:/xyz/abc and the mount point is /pqr.  I have tried this:  ADMIN="someone@def.com"  ALERT=90  df -H | grep -vE 'abc:/xyz/pqr | tmpfs |cdrom' | awk '{ print $5 " " $1 }' | while read output; do    usep=$(echo $output | awk '{ print $1}' | cut -d'%' -f1 )    partition=$(echo $output | awk '{ print $2 }' )      if [ $usep -ge $ALERT ]; then        mail -s "Alert: Almost out of disk space $usep" $ADMIN      fi    done   But I am getting an error which says  line 7: [: Use: integer expression expected


Is there a function $f:\mathbb R\to\mathbb R$ such that for every disc in $\mathbb R^2$ the graph of that function has at least one point that lies inside that disc? I searched for something similar but don't know which phrases to use. The general/another problem is that: does there exist a function $f:\mathbb R\to\mathbb R$ such that its graph in some sense has a positive area or even an infinite area?

I was asked in a exam: does there exist a function(need not be continous) $f:\mathbb{R}\rightarrow \mathbb{R}$ whose graph is dense in $\mathbb{R}^2$?  I proved that  but did not provide explicit example, could any one give me one such? thank you


---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem.  Time: 1/1/21 4:30 PM Description: Unexpected error  java.lang.RuntimeException: No OpenGL context found in the current thread.     at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)     at org.lwjgl.opengl.GL11.glGetError(GL11.java:1299)     at ave.b(SourceFile:832)     at ave.av(SourceFile:894)     at ave.a(SourceFile:325)     at net.minecraft.client.main.Main.main(SourceFile:124)   A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------  -- System Details -- Details:     Minecraft Version: 1.8.9     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 301543776 bytes (287 MB) / 536870912 bytes (512 MB) up to 2147483648 bytes (2048 MB)     JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     Launched Version: 1.8.9     LWJGL: 2.9.4     OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.     GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported.      Using VBOs: No     Is Modded: Probably not. Jar signature remains and client brand is untouched.     Type: Client (map_client.txt)     Resource Packs:      Current Language: English (US)     Profiler Position: N/A (disabled)     CPU: 8x Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz   the exit error code is -1 Does anyone know what I can do to solve this ^^^^?

Similar to  on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.


Suppose I have used the grep command :  grep 'pattern' 'filename'   and have got the result :  John Brown   Is there any way to concatenate the outputs into a single one like:  John Brown   And also is there any way to count the number of outputs and store it in a separate variable?

I am doing grep and sed and I get 2 lines of a file that I am interested in. How can I get these lines in a single line ending with the new line character? Now I am getting:    pattern1   pattern2     I would like to get pattern1 pattern2 \n


I am looking at some of my older code and I can see this, which really confuses me. Code is simplified and located inside a function (object).  $('#element') .on('mousedown', function(e){          var mouseX = e.pageX;          $('body').on('mousemove', function(e){             mouseX = e.pageX;         });          timer = setInterval(function(){             console.log(mouseX);         }, 100); }) .on('mouseup mouseleave', function(){     $('body').off('mousemove'); });   I needed that mouseX to be up do date when every interval fired, so back then, when my programming understanding was a bit sketchy, I simply thought, great, let's update that variable inside another event (mousemove).  Now looking at it I think - how does that local variable get updated in another scope, that is created independently and furthermore is then successfully used in completely different (interval) scope, that is also created independently?!  The code works(mouseX is correct), and it is not creating a "member" variable in parent function/object.  Can someone enlighten me a bit please.

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?


I have been stuck on this question for a while now. I have tried many attempts. Here are two that I thought looked promising but lead to a dead end:  Attempt 1:  Write out the terms of $b_n$:  $$b_1=a_{2}-\frac{a_{1}}{2}$$ $$b_2=a_{3}-\frac{a_{2}}{2}$$ $$b_3=a_{4}-\frac{a_{3}}{2}$$ $$\cdots$$ $$b_n=a_{n+1}-\frac{a_{n}}{2}$$  Adding up the terms you get:  $$\sum_{i = 1}^n b_i=a_{n+1}+\frac{a_n}{2}+\frac{a_{n-1}}{2}+\cdots+\frac{a_2}{2}-\frac{a_1}{2}.$$  But a dead end here.  Attempt 2:  For $ε=\dfrac{1}{2}$, $\exists K$ such that $\forall n>K$, $$\left|a_{n+1}-\frac{a_n}{2}\right|<\frac{1}{2}.$$  Now I attempt to prove $\{a_n\}$ is Cauchy and hence converges.   For $m>n>K$, \begin{align*} |a_m-a_n|&=\left|a_m-\frac{a_{m-1}}{2}+\frac{a_{m-1}}{2}-\frac{a_{m-2}}{2^2}+\cdots -+\frac{a_{n+1}}{2^{m-n-1}}-a_n\right|\\ &\leq \left|a_m-\frac{a_{m-1}}{2}\right|+\frac{1}{2}\left|a_{m-1}-\frac{a_{m-2}}{2}\right|+\cdots+\left|\frac{a_n}{2^{m-n}}-a_n\right|\\ &\leq \frac{1}{2}+\frac{1}{2} × \frac{1}{2}+\cdots+\left|\frac{a_n}{2^{m-n}}-a_n\right|\\ &<1+\left|\frac{a_n}{2^{m-n}}-a_n\right|, \end{align*} and a dead end.

Let $(x_n)_n$ be a sequence of real numbers such that $$\lim\limits_{n\rightarrow \infty}\left( x_{n+1} - \dfrac{x_n}{2}\right)=0.$$ Show that $(x_n)_n$ must also converge to zero.     $\textbf{My Attempt:}$   My original idea was to use the triangle inequality and the fact that $$\lim\limits_{n\rightarrow \infty}\left( x_{n+1} - \dfrac{x_n}{2}\right)=0$$   to show that the sequence $(x_n)_n$ is Cauchy and hence converges to some real number $a$, which would give me $$\lim\limits_{n\rightarrow \infty}x_n=a=\lim\limits_{n\rightarrow \infty}x_{n+1}\implies a-\dfrac a 2= \lim\limits_{n\rightarrow \infty}\left( x_{n+1} - \dfrac{x_n}{2}\right)=0\implies a=0.$$ However, I'm having trouble showing that $(x_n)_n$ is Cauchy.   Any suggestions/hints would be greatly appreciated. Thanks!


I want to write custom array class. So I define it like this:  public class AmazingArray<T> where T: System.IEquatable<T> {...}   I explicitly tell that T should have Equals method which works with T. But when I try to compare them, like in this example:  public bool Contains(T item)         {             for (int i = 0; i < effectiveSize; ++i)             {                 if (storage[i] == item)                 {                     return true;                 }             }              return false;         }   I get a build error stating I can't compare T and T:    AmazingArray.cs(75, 21): [CS0019] Operator '==' cannot be applied to operands of type 'T' and 'T'   Why can't I compare them, even though generic type must have Equals, since it is stated in where statement?

According to the documentation of the == operator in ,      For predefined value types, the   equality operator (==) returns true if   the values of its operands are equal,   false otherwise. For reference types   other than string, == returns true if   its two operands refer to the same   object. For the string type, ==   compares the values of the strings.   User-defined value types can overload   the == operator (see operator). So can   user-defined reference types, although   by default == behaves as described   above for both predefined and   user-defined reference types.   So why does this code snippet fail to compile?  bool Compare<T>(T x, T y) { return x == y; }   I get the error Operator '==' cannot be applied to operands of type 'T' and 'T'. I wonder why, since as far as I understand the == operator is predefined for all types?  Edit: Thanks, everybody. I didn't notice at first that the statement was about reference types only. I also thought that bit-by-bit comparison is provided for all value types, which I now know is not correct.  But, in case I'm using a reference type, would the == operator use the predefined reference comparison, or would it use the overloaded version of the operator if a type defined one?  Edit 2: Through trial and error, we learned that the == operator will use the predefined reference comparison when using an unrestricted generic type. Actually, the compiler will use the best method it can find for the restricted type argument, but will look no further. For example, the code below will always print true, even when Test.test<B>(new B(), new B()) is called:  class A { public static bool operator==(A x, A y) { return true; } } class B : A { public static bool operator==(B x, B y) { return false; } } class Test { void test<T>(T a, T b) where T : A { Console.WriteLine(a == b); } }


When you enter URL of the websites in a web-browser, warning is shown. How can I solve this problem?

My website is under attack by malware. How can I remove it and prevent its recurrence?


I would like to know if there are interjections expressing exasperation, annoyance, anger, frustration without connection to religion. Preferably doesn't originate from it either. No euphemism too. Much appreciated.

I know for heaven's sake, for Pete's sake, for God's sake and for Christ's sake. All of those, however are religious references. The only non-religious equivalent phrases I know are for fuck's sake and its variations. Are there any non-vulgar, non-religious alternatives? I am very used to the general construct of for X's sake and am looking for something along the same lines that I could use in cases like  C'mon, it's just a scratch for X's sake! That's not even true for X's sake!  It does not need to also be applicable as a general exclamation of frustration (Oh, for chrissake!) but that would be nice. Basically, I'm looking for a synonym for the "Oh come on!" sense of for fuck's sake rather than the Oh shit! one.  EDIT: Since this has gotten quite a bit of attention, I would like to urge those who answer to read the entire question, not just the title. I am not just looking for polite swearwords but for something that can be used in the example phrases above.


My code:  tabLayout.getTabAt(0).setIcon(R.drawable.ic_airport_shuttle_black_24dp) tabLayout.getTabAt(1).setIcon(R.drawable.ic_fingerprint_black_24dp) tabLayout.getTabAt(2).setIcon(R.drawable.ic_add_circle_outline_black_24dp) //remove Actionbar Shadow ActionBar actionBar = 'getSupportActionBar' actionBar.setElevation(0)   Stack trace:  java.lang.NullPointerException:void android.support.v7.app.ActionBar.setElevation(float)' on a null object reference'

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


1) George Lucas has said that Anakin brought balance to the force by "doing away with the Sith and getting rid of evil in the universe". If Snoke, who we can probably assume is skilled in the dark side of the Force, was around at the time of Palpatine's death, doesn't that mean that Anakin/Vader did not in fact bring balance to the Force, and was not the 'chosen one'?   2) Even if we were to answer that Snoke wasn't yet proficient in the Force at the time of the Emperor's death, how lame is the prophecy looking now - Anakin brought balance for maybe 20 years at most! As Lor San Tekka says in The Force Awakens: "Without the Jedi, there can be no balance in the Force" - clearly whatever balance Anakin achieved has quickly been lost (and even those few years between ROTJ and TFA weren't any better than those of the old Republic!). But from watching the prequels, you'd think the balance of the force would be a big deal, or at the very least last longer than a decade or two?!

The legend of the Chosen One foretold the coming of a being who would restore balance to the Force.  Now we know that Anakin Skywalker was the Chosen One, but how exactly was he supposed to restore balance?  Is a balance to the Force:   eliminating all Dark Side users so that only the Light Side remains?   reducing the Dark Side's influence to almost nothing, but still leaving some Dark Side users so that there is a balance of energies? (End of Episode VI, there are still Dark Side users in Legends) creating an equal presence on both sides? (for example, at the end of Episode III it appears that there are two Sith [Sidious and Vader] and two Jedi [Yoda and Obi-Wan]) Any other way not mentioned above?   And whichever the legend means, has the prophecy been completed? Has the Chosen One restored balance to the Force at one point, or did he fail to fulfill the prophecy?  So in short, What is the meaning of 'balance' when it is said that "The Chosen One will bring balance to the Force", and did he fulfill the prophecy?


I have machine on which the files are uploaded by ftp. From this machine I would like to run cronjob and scp/rsync (simply copy them) to different machine in the same network.  The problem is I don't want to copy files which are not coplete (still during transfer) Is there a possibility to check whether a file is complete and only then copy to another server?

How can I immediately detect when new files added to a folder within a  script? I would like the script to process files as soon as they are created in the folder. Are there any methods aside from scheduling a  job that checks for new files each minute or so?


I can't decide between those two words.     You need to acquire handling instructions.   You need to obtain handling instructions.   Both mean roughly the same, describing an act of gaining possession of something. In my mind, there might be a distinction in how active/passive the recipient is expected to be. However, I can't tell which one, if any, would be more go-getty and which would lean towards bestowy-upony.

When customers buy things from a store, you say:  (1) Customers give ABC Store business.  If I "turn this around", can I say:  (2) ABC Store obtains or acquires business from its customers.  Do these verbs work in (2)?


i'm writing some code that is going to be sending email reminders to customers. I don't know whether to use single email with a loop to generate all the emails and send them out as a list or to use mass email which I haven't used yet.  Both of these have a limit of 5000.   What does mass email do better than single email? I'm just thinking about limitations here and if mass email would be better for avoiding hitting the daily limit.

I'm scoping out a project that will involve sending outbound email messages, and I'm a little confused about why one would use a MassEmailMessage instead of multiple SingleEmailMessages.  If you look at the documentation, Singles have far more options available when it comes object types that can be used in the setWhatId methods, especially since they can accept Custom objects. Mass emails have very limited options for the setWhatIds.  SingleEmailMessage:   MassEmailMessage:   Single and Mass emails have separate limits, but they both have the same limit of 1,000 external email addresses per day.  And when it comes to using the Messaging.sendEmail(), you have pass in an array of messages anyway, so why not send in an array of many Singles instead of an array of one Mass?  So what am I missing? What's the advantage of using a MassEmailMessage for sending out a batch of emails when the SingleEmailMessages have more options?


Starting a few days ago, when I vote to close a question as a duplicate, I don't see the auto comment when I'm returned to the question. I have to refresh the page to see it.

I just cast a close as dupe vote on a question here on Meta. In the past it used to push the auto generated comment live but now I can't see my comment after voting, only after I reload the page.  Can we get the old behavior back please? :)  Feel free to vote to close as dupe of some random question just to test, lol!  Also worth checking if same happens with flagging.  Edit, January 2014: still happens


I'm an absolute beginner at writing programs in C, and I'm having difficulty compiling a simple program. Here's my code:  /* This code is a .c file that prints out the words hello, world. */  # include <stdio.h> int main() {     printf("Hello World! \n"); }   Here's the error I get when compiling:  Ubuntu:~/Desktop/cFiles$ gcc -Wall hello.c -o hello.out -lmls  hello.c:5:1: warning: return type defaults to ‘int’ [-Wreturn-type] hello.c: In function ‘main’: hello.c:7:3: warning: implicit declaration of function ‘print’ [-Wimplicit-function-declaration] hello.c:8:1: warning: control reaches end of non-void function [-Wreturn-type] /usr/bin/ld: cannot find -lmls collect2: ld returned 1 exit status   I'm not sure what I'm doing wrong. Can anyone help?

I've been having a problem with compiling.   I used the following test C code below and saved it as test.c in Home folder.  #include <stdio.h> int main() {   printf("Bruh!");   return 0; }   When I run in terminal the code   gcc test.c -o test   I get  nothing.  Thank you


How Do we find what level of Android permission is required for a specific permission.  Lets say we have android.permission.SET_ACTIVITY_WATCHER()  What permission group does it fall into?()   Regular Dangerous System or Signed Signed

When installing an application, the application lists permissions that it needs to perform its  functions.    I am creating this list of the the system defined permissions and a description of what they mean. It is a community wiki so if new permissions are added in the future they can be added to this list.


Suppose that my equation has six elements and I want to visually connect them into pairs (A with C, B with E and D with F).  Is that possible to do?  Example:                  ---------                 |       |         --------+----   |         |       |   |   |     ----+----   |   |   |     |   |   |   |   |   | y = A + B + C + D + E + F

My intention is to create equation which looks similar to one of examples below (I prefer the second one).     There should be an arrow from JKL to DEF and GHI and from GHI to DEF.   Neither alignment nor equation environment have to be used. Anything that will do is appreciated. Cheers.


Hi, How do I get the holographic hot stamping effect like this?  I've tried few setup but non of them look a like. Please help....

Hi guys,  I'm trying to simulate the metal flakes that you can see . It looks close to a metallic paint + flakes, but it definitely is something else.  I found a few materials that come close to it, like , but if you look at the video it seems to only show up when it's in the specular and there's a bit of iridescence to it. Also, it completely disappears once it's outside the specular glow.  Do you guys have any idea how to approach this? Any idea of a material that's a bit closer to it?  Thanks!


Today I've seen an user requesting help for a bug which I have stumbled upon and I'd like to share my solution with him. My account is pristine (Angular wink), at least I don't remember to have answer, or to have posted any question at all.   Yeah, I've been a Lurker. And now, when I finally have found someone to help, as soon as I click on Post Answer a beautiful message tells me: "We are no longer accepting answers from this account. See the Help Center to learn more."   I've read the Help Center. At least trying to guess what could be going on. I've never answered a question during all this time. I've never posted any question during all this time.  Maybe I am missing some details but let me share a profile pic so maybe you can guide me towards finding a solution, so I can help a guy which is requesting help with his Angular project.    Not sure what this Reputation(1) means but there is nothing there:   I have even completed the Tours to earn the badges.... So basically I am totally clueless... The only bit is the "Automagic filter" which autobans accounts following a Machine Learning pattern (probably). Not sure if the Vodoo magic is striking here. I am in a Center with tons of offices crowed of Developers :)  Thanks for your answers.  Edited: Following the comment suggestion.

If you are reading this, you may have been affected by one of our post quality bans. If so, it is important that you  to understand what has happened and how to regain the permissions that you lost. While trying to ask a question, one could see:  We are no longer accepting questions from this account. See  to learn more.  Likewise, for answers:  We are no longer accepting answers from this account. See  to learn more.   Why am I getting this message? Are deleted posts taken into account too? Is a question/answer ban the same as a suspension? How do I avoid getting a question ban? How long do I have to wait before I can post again? What can I do to release the ban? How can I reactivate my account? Can I simply create a new account? I'll just ask somewhere else on the SE network, and they'll migrate my question to the correct site! Will a ban on one Stack Exchange site affect my standing on other sites in the network? Does this apply to meta sites too? My account is in good standing. Why am I still blocked?


Is there a way to batch create multiple number folders using cmd in Windows 8.1 64-Bit?  I need something that'll create multiple number folders without using the following md command:  c:\users\user\desktop> md 1, 2, 3   I need something more like that'll make, per say "make folders 1-10" and I have those 10 folders after running the command.

I'm looking for a way to batch create a folder followed by sub-folders.  I'm looking at something like  c:\users\user\desktop\sample\1 c:\users\user\desktop\sample\2   etc.  Any ideas?  I'd prefer .cmd/PowerShell methods to do so.   If there's a way to do so via a terminal, I'll be happy to attempt any ideas/solutions by booting into a Linux live disc via usb.


We often get reference tables to match z-scores with equivalent percentiles.   Can anyone help me calculate percentiles from z-scores? What's the formula?   Thank you.

I know that an easy to handle formula for the CDF of a normal distribution is somewhat missing, due to the complicated error function in it.  However, I wonder if there is a a nice formula for $N(c_{-} \leq x < c_{+}| \mu, \sigma^2)$. Or what the "state of the art" approximation for this problem might be.


I'm using the jQuery validation plugin. When I click the 'My btn' button the form needs to submit without validation. Even if the title is empty it should be able submit by only clicking the 'My btn' button. Is there any way to do this?  <form class="callBkfrm" method="POST" action="/my_action">   <input type="text" name="title" />   <button class='btn' type="button">My btn</button>   <button type="submit">Submit</button> </form>   $(".myFrm").validate({   rules: {     title: {       required: true     },   } });

I have a form with multiple fields that I'm validating (some with methods added for custom validation) with Jörn Zaeffere's excellent jQuery Validation plugin. How do you circumvent validation with specified submit controls (in other words, fire validation with some submit inputs, but do not fire validation with others)? This would be similar to ValidationGroups with standard ASP.NET validator controls.  My situation:  It's with ASP.NET WebForms, but you can ignore that if you wish. However, I am using the validation more as a "recommendation": in other words, when the form is submitted, validation fires but instead of a "required" message displaying, a "recommendation" shows that says something along the line of "you missed the following fields.... do you wish to proceed anyways?" At that point in the error container there's another submit button now visible that can be pressed which would ignore the validation and submit anyways. How to circumvent the forms .validate() for this button control and still post?  The Buy and Sell a House sample at  allows for this in order to hit the previous links, but it does so through creating custom methods and adding it to the validator. I would prefer to not have to create custom methods duplicating functionality already in the validation plugin.  The following is a shortened version of the immediately applicable script that I've got right now:  var container = $("#<%= Form.ClientID %> div.validationSuggestion");  $('#<%= Form.ClientID %>').validate({               errorContainer: container,     errorLabelContainer: $("ul",container),     rules: {         <%= YesNo.UniqueID %>: { required: true },         <%= ShortText.UniqueID %>: { required: true } // etc.      },     messages: {         <%= YesNo.UniqueID %>: 'A message.',         <%= ShortText.UniqueID %>: 'Another message.' // etc.     },     highlight: function(element, errorClass) {         $(element).addClass(errorClass);         $(element.form).find("label[for=" + element.id + "]").addClass(errorClass);         $(element.form).find("label[for=" + element.id + "]").removeClass("valid");     },     unhighlight: function(element, errorClass) {         $(element).removeClass(errorClass);         $(element.form).find("label[for=" + element.id + "]").removeClass(errorClass);         $(element.form).find("label[for=" + element.id + "]").addClass("valid");     },     wrapper: 'li' });


I have searched the C: drive exhaustively for any/all image files and I do find a few screensaver images, but not the ones that appear most often (or the ones I am interested in saving). I am guessing these missing screensaver images get downloaded over the internet and never get stored on the C: drive. Where do these Windows 2010 screensaver images come from? Are they stored on my machine anywhere?

Where are the images from  coming from?  Where are they being saved on my system?  Is there any way for me to point this at my own source of images?