Is $x(t) = ax(t-1) + e$ a stationary process or not? E.g. with $a=0.8$, I would imagine it is not, but if I graph it with random normal error terms it looks stationary.

Wikepedia, at , mentions an expression of variance for an AR(1) process. I am learning signal processing (beginner level) and facing difficulty in understanding some basic relations. It shall be really helpful if the following doubts are answered.  An AR(1) process is defined by $$X_t = c+\theta X_{t-1} + \epsilon_t$$  where $\epsilon_t$ is a zero mean white Gaussian noise.  We may compute expected values  $$E[X_t] = E[c] + \theta E[X_{t-1}]+E[\epsilon_t]$$  implying $E[X_t] = \mu = c/(1-\theta)$.  I am interested in the variance, which is defined as $$\text{Var}(X_t) = E[X_t^2] - \mu^2.$$  However, I read that $$\text{Var}(X_t) = \sigma_\epsilon^2/(1-\theta^2).$$  How is this derived?


I've got 18.5 GB of trash in my trash, I've tried emptying it, but it won't work, even when I navigate to trash folder as root within nautilus.

I am not able to find trash anywhere. Can you please tell me a command or anything like that to empty the trash using terminal ?


How do I stop my figures from being pushed into an "open" spot, and having text fill the "empty" spot? The paper does not have a very clear flow because while one paragraph is talking about Figure 1, Figure 1 is actually AFTER the paragraph that is talking about Figure 2. I have tried changing the \begin{figure}[!ht] but it has not solved my problem.  I'm basically looking for a way just to put empty spaces and order the document how my Source is typed.  \begin{figure}[!ht] \centering \begin{minipage}[b]{.45\textwidth} \includegraphics[width=1\linewidth]{Flee.jpeg} \caption{Whether the victim was fleeing} \label{fig:complete} \end{minipage} \hspace{.5cm} \begin{minipage}[b]{.45\textwidth} \includegraphics[width=1\linewidth]{Threat.jpeg} \caption{Whether the victim was a threat } \label{instruct} \end{minipage}  \end{figure}   Here are my packages  \usepackage{amsmath, amssymb} \usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc. \usepackage{subfigure}% Support for small, `sub' figures and tables \usepackage[numbers,sort&compress,merge]{natbib}% Citation support using natbib.sty \usepackage{multirow} \usepackage[singlelinecheck=false]{caption} \usepackage[labelsep=:]{caption} \usepackage{pgfplots} \usepackage{indentfirst} \usepackage{dirtytalk} \usepackage[dvipsnames]{xcolor}  \usepackage{geometry} \geometry{margin=1in}

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code:  \begin{figure}[ht] \begin{center} \advance\leftskip-3cm \advance\rightskip-3cm \includegraphics[keepaspectratio=true,scale=0.6]{slike/visina8} \caption{} \label{visina8} \end{center}\end{figure}   to place my figures. How can I tell latex I REALLY want the figure in that specific place, no matter how much whitespace will be left?


I have been enjoying Minecraft lately, after getting java edition. The problem? Every month, I have to reset my whole PC to keep it from lagging to a bog. However, when I do this, I have to reinstall Minecraft. It has gotten HIGHLY annoying, so I wanted to move Minecraft to my flash drive. Nothing worked! It ALWAYS used my local AppData anyway, meaning that when the wipe occurs I have to wait an hour for a reinstall... D: Is there any launcher, or method to run Minecraft 1.16 off of a flash drive? Specifications: Flashdrive has 60 GB of storage, 20 GB left after all of apps and other stuff take space.

I have recently gotten my hands on a new computer (MSI G Series GS70 STEALTH-037 - specs below if relevant) that has a Solid State Drive (SSD) that goes along with my hard drive (HDD). I would like to move Minecraft to the SSD is because it will be a lot smoother and faster than on the hard drive. How can I move/transfer/change Minecraft from using the typical root it goes to in the %appdata% folder to the SSD drive? PC Specs:  CPU: Intel Core i7-4700HQ 2.4 GHz (6 MB Cache) RAM: 12 GB DDR3L SDRAM Drives: 750 GB 7200 rpm Hard Drive, 128 GB Solid-State Drive Display/Graphics: 17.3-Inch Screen, NVIDIA GeForce GTX860M with 2GB GDDR5 VRAM OS: Windows 8.1


My question is when passive voice is preferred over active voices and vice versa?   I remember that I was taught that in scientific writings, passive voice was preferred over active voice. Is it correct? If I want to describe several actions of mine, for example:     I did thing A. I did thing B. I did thing C. I did thing D. ...   If I keep using the active voice, will that make the description boring? That is why I thought juxtaposition of passive and active voice would make the description better:     I did thing A. Thing B was done by me. I did thing C. Thing D was done by me. ...   But  led me wonder whether juxtaposition of passive and active voice is good, or when it is good and when it isn't?

Whenever I create a document in Microsoft Word, it complains about a lot of my sentences being in passive voice. But, when I read that sentence aloud, it sounds fine to me. I am not sure if it is just me and will a statement in passive voice sound strange to a native speaker?  So, my question is, is it considered bad form to use passive voice generally? Or in some specific cases like written communications only?  Edit: If it is ok to use passive voice, then why does MS-Word complain?


I've an unfair coin which has the probability of the head =70%, I toss the coin the first time and I get a tail.  Now how many time do I need to flip the coin so that the number of heads is equal to the number of tails.   My solution:  As I already have one tail, I need n-1 tail and n heads. If I have 3 coin tosses, I expect 2.1 expectations of heads and 0.9 of tails expectation. So I answered 3.  I'm not sure if this is the right way to solve, feel free to clarify anything that seems unclear

I have this question that I don't know where to begin, any help will be greatly appreciated.  Consider the following random experiment. Toss a coin until the same number of heads and tails have been observed. Take as random variable, X, the observed number of heads (or tails). Determine the first few values in the probability distribution and calculate  $\sum^{5}_{n=1} nP (X = n)$  I'm not sure exactly where to start, if someone could point me in the right direction that would be great! thanks


I have a 50cm Digital Terrain Model (tiff) with some nodata values. Instead of interpolating them, I would like to fill them in with values from a lower resolution (1m) DTM of the same area. I think this can be achieved using the raster calculator, but can't for the life of me work it out.   I'm working in QGIS 2.18.

I have an image which I clipped with an AOI polygon. The contour area was set to pixel value = 0 and I have a nodata value of -32768. I want to redefine the nodata value into zero. I used to do this with ArcMap easily in the raster calculator, but in QGIS I don't see how I could do it. Any ideas?


Assume that we use logistic regression with a given regression function r(x) for each sample vector x. Is is true that if we have infinite samples, we have r(x) = log(p(x)) - log(q(x)) where p(x) is the probability that vector x has label 1 and q(x) is the probability that vector x has label -1. In other words, the regression function asymptotically gives the difference of log probabilities in the two classes.

I would like to understand a couple of fact on maximum likelihood estimators (MLEs) for logistic regressions.   Is it true that, in general, the MLE for logistic regression is biased? I would say "yes". I know, for example, that sample dimension is related to the asymptotic bias of MLEs.   Do you know any elementary examples of this phenomenon? If the MLE is biased, is it true that the covariance matrix of the MLEs is the inverse of the Hessian of the maximum likelihood function?   edit: I have met this formula quite often and without any proof; it seems a quite arbitrary choice to me.


I recently reached over 1k rep on a site which means I can see the voting breakdowns for questions and answers which is cool.  However when using the iOS app (and Android I assume) you can't see the voting breakdown (by clicking on current vote score) and you need to go to the full site of a web browser to see the voting scores properly.  I appreciate this isn't mission critical but with it being a feature that requires (that much) rep to attain, I feel it's worth adding to the mobile apps.

From the nosy neighbor department:   I want what they have!    Can we see vote counts in the iOS app too?


I am trying to build a spleef arena (and in the future more games) on a server that for everyone except admin is survival only. I want to set something up so that when they enter the waiting area to play, a set of command blocks empty their inventory to a chest, gives them the items needed for the game, removes said items after the game, then teleports them to en exit room with the chest containing their items.   Is this possible and how would I do it?

I am making an RPG map, and was wondering how to "save" the game.  If you die, you would revert back to a save that happens automatically or manually, and I was wondering how to have it so that you will have all the items you had then, and none of the items you got after you saved (so /gamerule keepInventory won't work).  The only way I can think of doing this is having this long, long, annoying set of command blocks to test for all the items in the game, and then have another 64 command blocks for each of those items, testing for the amount of the item.


How to prove for a finite group that $|\langle g \rangle|=o(g)$?  I really don't know how to show that this is true I tried to say let $o(g)=m$ and then show that $|\langle g \rangle|$ has exactly $m$ elements but I wasn't even sure it did because it would contain the elements $g^0,...g^{m-1}$ so that would mean it's true but what about $g^{-1}$ and the other elements with negative coefficients so it seems like it would actually be bigger than $m$?  Thanks.

Please note: I posted this question about an hour ago on my account (I just made it as I am new to the site). I revisited my post and saw that I had not given definitions of what I was asking (I thought they were common notations) and it would not let me edit the post for some reason so I will ask here now and hopefully someone can delete the other thread.  How to prove for a finite group $G$ that $|\langle g \rangle|=o(g)$?  Here are the definitions:  Let $G$ be a finite group and $g \in G$  $o(g)$ is the smallest $m \in \Bbb{N}$ such that $g^m=e$ (the identity element of the group). (If such an $m$ exists)  $\langle g \rangle=\{g^m : m \in \mathbb{Z}\}$  I really don't know how to show that this is true I tried to say let $o(g)=m$ and then show that $|\langle g \rangle|$ has exactly $m$ elements but I wasn't even sure it did because it would contain the elements $g^0,...g^{m-1}$ so that would mean it's true but what about $g^{-1}$ and the other elements with negative coefficients so it seems like it would actually be bigger than $m$?  Thanks.


I'm a student studying analysis. There is a famous statement that for all $f:\mathbb{R} \to \mathbb{R}$, the set $C(f):=\{x \in \mathbb{R}:f \text{ is continuous at } x\}$ is $G_\delta$, and I'm considering a (some kind of) converse of this statement.  For every $A \in G_\delta$, is there a function $f:\mathbb{R} \to \mathbb{R}$ such that $C(f)=A$?  For open $A \subseteq \mathbb{R}$, define $$ f= \chi_{\mathbb{Q} \setminus A}+\chi_{\mathbb{R} \setminus A} $$ where $\chi$ is a characteristic function, then we have $C(f)=A$.  For closed $A \subseteq \mathbb{R}$, define $$ f(x)=d(x, A) \cdot (\chi_{\mathbb{Q}}(x)-\chi_{\mathbb{R} \setminus \mathbb{Q}}(x)) $$ where $d(x,A)$ is distance between $x$ and $A$, then $C(f)=A$ holds.  If $A=\mathbb{R} \setminus \mathbb{Q}$, then the Thomae's function works.  However, I don't know how can I construct such $f$ for general $G_\delta$ sets (or a counterexample). Can I have any good idea?  Thanks.

I have a question about subsets $$ A \subseteq \mathbb R $$ for which there exists a function $$f : \mathbb R \to \mathbb R$$ such that the set of continuity points of $f$ is $A$. Can I characterize this kind of sets? In a topological,measurable or in some way? For example, does there exist a function continuous on $\mathbb Q$ and discontinuous on the irrationals?


In computer science, when we are doing object oriented programming, we define parent-child relationship. If we define the Parent class (Top root) and a number of Children classes (Siblings nodes), we can treat this like a family; but I need a single technical English word which gives the idea of (Father [Me]) -> My Children -> My Grandchildren-> Their Children)—and not ancestry (because Ancestors -> Their Children -> My Parents -> Me).  Hope you guys understand my question. Please provide a single English word.

I'd like to find a single noun that relates to me and which corresponds to the list of people including me and each of my ancestors.  I've already rejected the following words:   genealogy : means a work, not a list of people. ancestry : seems to exclude me.


Boolean valid = null; if (valid == null) {     log.info("******"); }   I have the expression above, I wanted to check if Boolean value is null and if it is then execute statement inside if clause, but what happened is that it throws me a NullPointerException. What should I do to have my if clause evaluated with that given condition valid == null. Thanks in advance

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?


You are allowed only to go east or north. Because of road construction, you cannot touch the points $a, b, c$ and $d$. Under these restrictions, the number of ways that you can go from $(0, 0)$ and finish at $(8, 8)$ in the following figure is:    First, I used ${16\choose 8}$ to get the number of ways without this construction. I am a bit confused on what to do next...

I was asked to find the no. of ways to get from (0,0) to (8,8) with the 4 points of the shaded box unpassable, aka I can't use the 4 points namely (3,3)(4,4)(3,4)(4,3) while on my way to (8,8). Right and up movements.  I know it is something like a pascal triangle and worked out the solution of 4050 ways.  May I know if there are any faster means using permutation formula?  Thank you in advance.


Is it worth the gain in SEO to put in the effort of cross-linking 3 sites that I own?  That would mean maintaining 3 sites rather than say just 1.  But if there's crosslinks between those 3 sites does it improve SEO?  Or on the other hand do Google's and Bing's algorithms not really care if a large volume of inbound links are from the same 3 sites?

I have crosslinked 20 sites and I thought I have been penalized for this, asked this question and some experienced members told me maybe that crosslinking may not necessarily be the reason.  The sites are on same host, different C class IP and every site in linked to each other.  Each site targets long tail kewords. Site 1 - BMW Used Cars - and my area Site 2 - WW Used Cars - and my area And so on...  When I crosslinked them (in the sidebar), I did it for the users; instead of repeating the terms used cars and my location over and over (since my users are targeted) I just crosslinked them using the brand: BMW, WW.  Targeting locally, my niches are not overly competitive, so I did not need to many external links to rank on various positions on the 1st page.  I'm thinking that when I chose to link using only the brand, google might have thought I wanted to actually rank for BBW and WW, hence the drop in my targeted local traffic.  Could this be?  I now have no-followed the links and I am noticing a slight recovery, but if it's not a interlinking penalty it would be a shame not to benefit from my links.


Suppose I have a list of $N$ elements $\{e_1,e_2,\cdots, e_N\}$. Some elements may be non-unique and so this list has $N^\star\leq N$ unique elements. My question is:     Is there a way to construct an estimator of the fraction of unique elements $f\equiv  N^\star/N$ if you are allowed to draw $M$ samples uniformly at random from   the list ?   For practical purposes, I'm interested in the limit where $M \ll N$, and where $N$ can be "very large".   Just to clarify the setting in a small example, consider the list of integers $[1,2,3,3,4,5,5,6,1,2]$. For this list $N=10$ and $N^\star=6$.  I am also trying to refine this question and any comment, suggestion or reference is most welcomed.  To make things perhaps more simple, one can assume that each unique element in the list has the same number of duplicates (if any).

This problem is probably simple enough to have an analogous problem, I just don't know the name so I'm going to describe it and hopefully somebody can point me in the right direction.  The problem is this: estimating the number of sides of a .   Let's say you perform the following process:   Shake the "Magic 8 Ball" and mark down the result If the result has not previously been seen, add it to the set of possible results and label the trial "N" (for "new") If the result has been previously seen, label the trial "O" (for "old") Repeat all steps   I imagine the following kind of sequence occurring: NNNNONNOONOONOOONOOOONONNOONOOONNOONOOOOOONOOONOOOOOOONOOOOOOOONOOOOOOOO...  Now imagine we don't know there are twenty sides to a Magic 8 Ball. Or imagine that you have a Magic 8 Ball with 1000 sides. As the number of "new" trials approaches the actual number of sides, we'll get increasingly more "old" trials showing up in the mix. Once we've seen all of the possible results, we'll always get "old" results. But we're never 100% sure we've seen every single possible result.  So here are the questions I'm interested in:   As we proceed with trials, can we estimate the total number of "sides" of the Magic 8 ball based on the number of "new" and "old" trials up to this point? Can we calculate a probability that our current estimate is correct, or a probability that some bounded estimate is correct?


Why is a coulomb not a fundamental unit but an ampere is considering that a coulomb is more ' fundamental '?

I always thought of current as the time derivative of charge, $\frac{dq}{dt}$. However, I found out recently that it is the ampere that is the base unit and not the coulomb. Why is this? It seems to me that charge can exist without current, but current cannot exist without charge. So the logical choice for a base unit would be the coulomb. Right?


I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


According to the wikipedia article of      The plural of the name of the letter e is ees (the plural of the   letter itself is rendered E's, Es, e's, es).   Therefore, is  then a regular plural formed from ?

The English alphabet has a common pronunciation. For example, the letter b is pronounced like the word bee, the letter c like the word see, and the letter i like the word aye.  Is there a formal spelling for the letter names?


How can I rsync files between two remote servers?  I need to transfer files between two remote hosts, but it seems rsync doesn't support synchronization.    Some more information: I have 2 servers A and B, and there is no direct connectivity between A and B. So direct rsync is not possible. But I have a 3rd server from when I have uni-directional connectivity.. Like I have the connectivity from C to A and C to B.  So can anybody help me here to rsync the file from server A to server B by using mediator as C?  Thanks in advance.

I would like to transfer files between two remote hosts using on local shell, but it seems rsync doesn't support synchronisation if two remotes are specified as follow:  $ rsync -vuar host1:/var/www host2:/var/www The source and destination cannot both be remote.   What other workarounds/commands I could use to achieve similar results?


I am trying to 301 redirect all URLs from http:// to https://, using .htaccess. Some dynamically generated URLs should be excluded.  Example of some URLs I do not want to redirect:   example.com/tt.php?xxx (where xxx can be any number) example.com/top/xxx/site/xxx (where xxx can be any number or characters)   Right now my .htaccess looks like this:  RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]   How can I "exclude" my dynamic URLs?

This is a  about Apache's mod_rewrite.   Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as:   Changing HTTP to HTTPS (or the other way around) Changing a request to a page which no longer exist to a new replacement. Modifying a URL format (such as ?id=3433 to /id/3433 ) Presenting a different page based on the browser, based on the referrer, based on anything possible under the moon and sun. Anything you want to mess around with URL   Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask!  How can I become an expert at writing mod_rewrite rules?   What is the fundamental format and structure of mod_rewrite rules? What form/flavor of regular expressions do I need to have a solid grasp of? What are the most common mistakes/pitfalls when writing rewrite rules? What is a good method for testing and verifying mod_rewrite rules? Are there SEO or performance implications of mod_rewrite rules I should be aware of? Are there common situations where mod_rewrite might seem like the right tool for the job but isn't? What are some common examples?   A place to test your rules  The  web site is a great place to play around with your rules and test them. It even shows the debug output so you can see what matched and what did not.


How can trees be able to transport hundreds of liters of water all the way up to the crown and out in the leaves?

The atmosphere pressure is 10 meters of water (approx). This means that it is impossible to lift water higher than 10 meters with vacuum or сapillary action (on Earth, under normal conditions).  There are trees higher than 10 meters.  How do they lift water to their tops?  UPDATE  In other words: how cohesion-tension theory can be true if it apparently contradicts the laws of physics?   UPDATE 2  Atmospheric pressure helps to rise the water, not resists rising. What is resisting is water weight. When water column is 10 meters high, then atmospheric pressure can't help anymore.   Any adhesion/cohesion mechanism can't help here too, because it acts only in thin molecular layer. To transfer action force further the pressure is required, which is insufficient at 10 meters.  UPDATE 3  If we had capillary small enough to rise water to 10 meters and then we will build smaller capillary which we expect will rise water higher, we will fail. Water column will break and does not climb higher than 10 meters.     Menisci acts like small piston and can't help rising water higher than 10 meters.  UPDATE 4  Common pressure distribution in capillary is follows:    $P_0$ is atmospheric pressure. As you see, right under menisci, the pressure is lowered by $2 \sigma / R$ where $R$ is the radius of menisci and $\sigma$ is surface tension. The entire term is called "Laplace pressure". As you see, it can't supersede atmospheric pressure, because water continuity will be broken in the case.  I.e. no any menisci can rise water higher than 10 meters.  The existence of higher trees PROVES that there are some other significant mechanisms, not adhesion/cohesion, not capillary.  UPDATE 5  Current version, as I understood it, is based on a declaration, that a water, if put into thin capillary, can behave like a solid body. Particularly, it can resist tension up to minus 15 atmospheres.   This is a tensile strength of concrete, so I don't believe that without additional proofs.  I think it is just not hard to make thin tube, put water into it and check, how high it can climb.  Was it done ever?


I just want to clear the concept about Java serialization process. It clearly states that it helps to convert the object's state in the sequence of byte, that means it helps to save the object's information into byte formed.  My question is, is Java's Serialization and Deserialization process comparable with network's encryption and decryption process? Here is my simple code:  package com.java;  import java.io.Serializable;  public class employee implements Serializable {    public String firstName;    public String lastName;  }   Here  class employee  implements the Serializable interface.and it has two variable firstName and lastName. It is very OK:  package com.java;  import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectOutputStream;  public class SerializaitonClass {  public static void main(String[] args) { employee emp = new employee(); emp.firstName = "Gary"; emp.lastName = "Michel";  try { FileOutputStream fileOut = new FileOutputStream("./employee.txt"); ObjectOutputStream out = new ObjectOutputStream(fileOut); out.writeObject(emp); out.close(); fileOut.close(); System.out.printf("Serialized data is saved in ./employee.txt file"); }  catch (IOException i) { i.printStackTrace(); } } }   In the class  SerializaitonClass,create the employee object and access the instance variable(firstname,lastname) and initilize the value.  When I run this,it creates employee.txt file.  When open this file, I get like that  ¬í sr com.java.employeeÜ@<~â™` L    firstNamet Ljava/lang/String;L lastNameq ~ xpt Garyt Michel   so it converts the whole object's information into byte format. When I use deserialization then I get desired output.  So, can I compare this process with encryption process in network? Maybe I'm totally wrong, so please help me understand.

What is meant by "object serialization"? Can you please explain it with some examples?


Serving a apache website via https:// => how can I disable the certificate/SSL handshake on the WWW version only?  Hi we use SSL on the  version of our website  Now I would like to disable the SSL connection on the  version of our website  SO the result is:    => SSL handshake  => no SSL handshake => and htaccess rewrites are executed   question: Can this be done?  ps. I am asking because nowadays more websites move to https, not realizing that directing non-www to www traffic (and vice versa) is a little more difficult - because the handshake occurs before the htaccess (rewrite) directives .. the solution is ofcourse an extra certificate ... but a better solution would be to do find a solution to just redirect the traffic ...   Appreciate your help

I hope that title is clear.  How do I prevent HTTPS requests for non-ssl-enabled virtual hosts from going to the first ssl-enabled virtualhost (setup is Apache-SNI).  For example, using my abbreviated config below, requests for https://example.com (a non-ssl vhost) are being served by Apache at the ssl-enabled vhost https://example.org. I'd like to disable that behavior and possibly reply with the appropriate HTTP response code (unsure of what that is).  It may not even be possible, but I thought I'd ask.  # I actually have a SNI setup, but it's not demonstrated here. # I don't think it's relevant in this situation.  NameVirtualHost *:80 NameVirtualHost *:443  <VirtualHost *:80>     ServerName example.org </VirtualHost>  <VirtualHost *:443>     ServerName example.org </VirtualHost>  <VirtualHost *:80>     ServerName example.com </VirtualHost>   EDIT: Maybe a mod_rewrite rule in the first ssl-vhost?


I want to convert the IEEE Double value computed in my code to Integer.   E.g. I have computed: X = 64'hxxxxxxxxxxxxxxxx; Now i want to use it as index of an array as: some_array[X];  How can I do it? Is there any IP-Core or any other third-party Core for this conversion? Or some synthesis-able method/algorithm?  EDIT:- My number X between is 0~2601 which is valid range for my array, BUT it includes fractions and I only have to  a) convert the number from IEEE double into integer format, and  b) remove the fraction part (round it off).


I was trying the volume material and when I move my view further, volume disappear. My camera will set further than this so this is a problem to me, I googled about this issue but I couldn't find answer. Is there a way to display volume material from further away? About 5000m ~ 10000m. close  far  fog node  I am using 2.91 and this is my file:  THX! Edit: volume has its own distance clip.

I have created a simple model here   When rendering it the end of it is cut off   How can I get the camera to render a longer distance?


First of all - I'm not going to bitch and moan to moderators in this topic. I'm here to ask clarification because I've had a flag declined and I really have no clue what I did 'wrong', or how to avoid the same 'mistake' in the future.  I flagged  as Not an answer, because the description of that flag states:   Not an answer. This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.   It was declined as follows:    As I said in the comment below, before flagging it, it's technically a completely valid comment, there's nothing wrong with it on its own, it just does not remotely attempt to solve the question in any way. It's like someone asks "What's your favorite color?" and you answer "Today's Tuesday". While a perfectly correct statement on its own, it does not attempt to answer the question, and should have been a comment. Which is the exact description of the Not an answer flag, so I selected that flag, and it was declined because I should not have flagged it for "technical inaccuracies or wrong answers".  I was under the impression that all remarks that might be technically correct, but do not solve issues directly related to the question at hand, should be added as comments, not answers, since they pollute the 'Knowledge Base' aspect of the site for future visitors. If this is not enforced, the flag should be renamed to "Not relevant to question" or something like that.  (the original post also contained a reference to another declined flag, but that was sufficiently explained to stem from different interpretations of what is considered 'spam' and thus removed as not to pollute the discussion on the other one)

What is the "Not an Answer" flag and what is its purpose? When should I use this flag? When should I not use this flag? But I'm still not sure if I'm using the flag correctly... An answer is "Not an Answer", but the flag was declined or disputed!   See also:


Let's assume $d>0$ as well. $$\int\frac1{x^2+bx+c}dx$$ where $b$ and $c$ are real numbers and $d=4c-b^2$  So my observation here is that this looks mightily similar to the standard integral that results in $\arctan u$, that integral usually solves from some form like $\frac1{u^2+1}$ where u is whatever has been substituted.   When the conditions are like this with the real numbers $b,c$. And $d$ being an expression. I'm not really sure where to even begin. Throws my integral intuition out the window!  Any ideas on how a solution is reached on this one? Much appreciated. :)

$$\int{\frac{Mx+N}{x^2+px+q}}dx$$  When all the coefficients are given, it can be easily solved using substitution but I have no idea how to find a solution in a standard form.  What are the first steps?


For example, when someone "pinky promises" something and then when they have to do what they promised they don't want to do they come up with excuses, for example they'll say "I never said it promises a time of when I will do it". What are words to call a person like this, basically someone who doesn't keep their word, but I need other works.

I'm somewhat vexed in that I cannot think of a word that means a "promise breaker" or "person who breaks a promise". There are words that may subsume that, such as "miscreant" or "liar", but I cannot come up with an English word that is limited to a person who breaks promises.  The closest I've come is "piker", which is (a) informal and (b) limited to Australia/NZ, but means (according to the dictionary on my Mac):     a person who withdraws from a commitment.   Is there a more formal and common word that can be used to refer to people who break promises?


What is the meaning of power radiated by a black body per unit frequency? If you have a black body with a frequency filter around it set to 530nm and you calculate the energy radiated in 1 second  you will get a definite (not a differential) value. So where does "per unit frequency" come from? What is its physical meaning? Edit: There is a physical anamoly in my argument as, suppose, at 530 nm we get 5 watt energy, so at 530.01 nm the power will approximately be the same 5 watt, and similarly for 530.001nm. But I still don't get the flaw in my argument (even though I get that the result is wrong). What is it that I am missing?

We were discussing Kirchoff's theorem on blackbody radiation in class today and the equation was: $$e_{f}= J(f,T)$$  $e_f$ was defined as power per unit area per unit frequency. What does per unit frequency refer to here? I know what per unit time means but don't understand 'per unit frequency'.


Given a matrix $M\in A^{n\times n}$, where $A$ is a commutative ring different from $\{0\}$, then we know that if there exists a vector $x\in A^n$ such that $Mx=0$, then $\det M$ must be a zero divisor.   The converse is true? That is, if $\det M$ is a divisor of zero, is it true that his kernel is non-trivial? And if $\det M=0$?  The only thing I obtained is that it's true for Principal Ideal Domains, thanks to the Smith Form.

Let $R$ be a commutative ring, $P \in M_n(R)$ and $\det(P)$ is a zero divisor of $R$. Must $P$ be a zero divisor of $M_n(R)$?   Here rings mean unital rings, $M_n(R)$ denotes the ring of square matrices over $R$ of order $n$, and zero divisor is understood to be nonzero. The difficulty lies in that the adjugate matrix of $P$ may well be $0$.


I have something that looks similar to the following:  public class MyClass {     private List<MyOjectMapping> mappings;      public void Start()     {         foreach (var mapping in mappings)         {             mapping.ObjectA.PropertyA.PropertyChanged += (s, e) =>             {                 // do something with mapping.ObjectB             };         }     }      public void Stop()     {         // unhook events     } }  public class MyObject : INotifyPropertyChanged {     public object PropertyA;     public object PropertyB; }  public class MyOjectMapping {     public object SomeSortOfKey;     public MyObject ObjectA;     public MyObject ObjectB; }   As you can see, I'm trying to perform some action on the foreach iterator inside the lambda event handler. This works, but doing it this way, I can't figure out how to unhook the events in the Stop() method.  How should I go about hooking up the PropertyChanged event so that I can unhook it later and still access the foreach iterator?  Thanks

Is it possible to unsubscribe an anonymous method from an event?  If I subscribe to an event like this:  void MyMethod() {     Console.WriteLine("I did it!"); }  MyEvent += MyMethod;   I can un-subscribe like this:  MyEvent -= MyMethod;   But if I subscribe using an anonymous method:  MyEvent += delegate(){Console.WriteLine("I did it!");};   is it possible to unsubscribe this anonymous method?  If so, how?


Suppose a postgresql table items like this. (keywords column is of type text[])  name   account_id      keywords ------------------------------ foo1   1               ['k1', 'k2'] foo2   1               ['k1', 'k3'] foo3   2               ['k4', 'k1'] foo4   2               ['k1', 'k6']   Each row in items is relate to a Account (the table is virtually splitted by account_id). We want make queries like: "items for account 1 with keyword k1". This query requires a composite GIN index on account_id and keywords column.  Actually, we need an inverted index, with rows like this: (the key for each row should be composite)  (account_id, keyword) --> [item1, item2, ...]  What's the right way to create this index in postgresql?

Having trouble indexing and executing a query in O (log n) time.  The query includes an INNER JOIN, an ORDER BY, and an equality operation. If I understand the laws of databases correctly, a query can be indexed and executed in O (log n) time (or thereabouts) if a non-equality operator is not used on more than one column. In this case, I believe the INNER JOIN does count as an equality operator and the non-equality operator would be the ORDER BY portion of the query. This table has upwards of 10,000,000 rows and needs to handle several reads and writes per second.  Using PostgreSQL. This is what the table looks like. As you can see, the column 'Names' is a list property and it is the column that the INNER JOIN goes against:  Age Names                       Date 34  ['carla', 'john', 'sam']    3/13/2011 26  ['json', 'cindy', 'joel']   3/13/2011 72  ['beth', 'amber', 'susie']  3/13/2011 14  ['john', 'jim', 'debie']    3/13/2011   This is the query that we are trying to do:  SELECT * FROM the_table WHERE Age==26 AND Names=='john' ORDER BY Date   My background is from using App Engine's Big Table, so I've used equality operators here to indicate that 'john' should be one of the names in the Names column. This would be an acceptable query in GAE's big table, it would execute in O (log N) time as all Big Table queries are reqyured to do. I am assuming there is a way to do this in PostgreSQL as well since PostgreSQL accepts list data types as columns.  Is this possible to do in PostgreSQL?  If so, how should the index be set up (we can't figure out how to set up an index that takes into account the three properties)?


The the psd file is a clean cut. Looks great (1)   Still looks good when brought into Illustrator (2)   But then as a PDF this ugly black line appears around the edges of the psd file (3)   Any ideas what causes this because it looks really bad sending this to the client?

I have an Illustrator file that's behaving strangely when I print it to PDF. Basically, it adds small lines around shapes; I included a zoomed-in screenshot.    If I save the file as PDF, the lines don't appear but then the file itself is huge: 30MB. Has anyone seen this issue and if so, how do you solve it?  Thanks.


I want to sum up all values in the cells of the rows and write the aggregated value in the bottom of the  table.  I use this code  double Sum[] = new double[sheet.getRow(0).getLastCellNum()]; for (int i = 1; i < LastCellNum; i++) {     Sum[i - 1] = 0;      for (int j = 1; j <= LastRowNum; j++)     {         cell = sheet.getRow(j).getCell(i);         if (cell != null)         {             try             {                 Sum[i - 1] = Sum[i - 1] + cell.getNumericCellValue();             }             catch (NumberFormatException | NullPointerException ex)             {                 //Handle NumberFormat and NullPointer exceptions here             }             catch (Exception ex)             {                 //Handle generic exception here}             }         }     }     System.out.println(Sum[i - 1]);   The code works properly and it could even print the Value of Sum, but after that I have java.lang.NullPointerException. All the selected Cells in my file are either empty or contain numbers.

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?


I'm looking for a command, probably in 'wmic', that will help determine whether a computer is actually a Laptop or Desktop.   Normally I check in the active directory organizational unit, but this is not reliable as there are always errors made by the person assigning the OU.  Another way that I check is, Start > Run > mblctr. If it is desktop it will say that mobility centre is not available for desktops In My computer properties, under System , Model it is Notebook PC . The word notebook gives some idea of laptop.   Is There any other way, without using 3rd party software.

For a very specific reason I need to check the computer form factor(Desktop, Notebook or All-in-one) remotelly, using a command  through the command-prompt, powershell or vbs(Windows 7/8 systems).   There is any way to do such thing?  Thanks in advance.


I have paid for and downloaded Minecraft on my phone and want to download it on my PC (the version run by Microsoft) without paying again. It would be great if you could help.

If I purchase Minecraft Windows 10 edition, do I get a Minecraft/Mojang account? In other words, can I then play the older desktop edition as well?  (I know that the Windows 10 Minecraft is similar to Pocket Edition Minecraft. Advantages of the desktop edition include the ability to "mod", and the ability to load/save and share worlds.  I would like to have those capabilities on Windows 10.).


I want to know, how can i get the current timezone in php. I am using Wordpres Cms and want to filter out the product listing based on the timezone.  Let me know if there is any other alternative as well.  Thanks

Is there a standard way for a web server to be able to determine a user's timezone within a web page?   Perhaps from an HTTP header or part of the user-agent string?


I'm interested in doing some thing like this.  template<typename Clock> struct A {     Clock::time_point time; }  A<chrono::steady_clock> a;   However this is not possible. How can I achieve this?   I think there maybe away around using this method in Clock's context but what is the proper way to do this in general?

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


I am looking at program for grad school in applied mathematics. If I currently A 3.56 GPA, will it be a challenge to get into grad school?

When applying to a PhD program in the US, how does the admissions process work? If an applicant is weak in a particular area, is it possible to offset that by being strong in a different area?  Note that this question originated from this . Please feel free to edit the question to improve it.


I want a put a text file in a encrypted zip archive. I would currently use:  echo "<my text>" > file.txt zip --encrypt myarchive.zip file.txt   Is there a way to do the same thing in one single command without having to save a file?

I am running a script which is collecting a log of a server. I need to redirect this logs to a ZIP file. Right now I am collecting data into text file.  How can I redirect it directly to ZIP?


Im trying to follow the steps described in the solution to this question:   And one of the steps is to edit the debian/rules file but it doesnt explain how to do that. Im kind of new with ubuntu and this is the first time I hear about such file.   What is the command to edit the debian/rules file?

Is it possible to do realtime noise-removal with PulseAudio, so the sound output that's coming out is smoother?


For previous Thanksgivings, we have brined and roasted our turkey.  (.)  After brining for about a day, we roast the bird for 30 minutes at 500°F and then bake it at 350°F until it's reached 160°F internally.    The bird is stuffed with an apple and half an onion (sliced), a cinnamon stick and some sage leaves for flavor.  During the high-heat phase, the breast is protected with a foil sheet.  The turkey legs are pulled inward towards the body; we do not spatchcock it.  The problem is that it's always taken much longer than we'd estimated for the turkey to come to temperature.  We end up serving dinner 2 or 3 hours later than expected which is certainly sub-optimal.  Based on the turkey's weight (and preparation process), how can we estimate how long it will take to cook?    We do use an independent thermometer to verify oven temperature.  Ideally, I'd like a formula for how to calculate cooking time from weight, and how to adjust based on details such as brining.

I'm cooking a turkey for thanksgiving for the first time. I've got a beautiful 11 lb turkey and according to the websites I found, I should cook it for about three hours. When I asked my girlfriend's experienced cook mother though, she said that time was really low. Just looking for a second opinion.


Let $E$ be a measurable set of finite measure and $1 < p_1 < p_2 < \infty$. Consider the linear space $L^{p_2} (E)$ normed by $||.||_{p_1}$ . Is this normed linear space a Banach space?

$E$ is a measurable set of finite measure and $1 \le p_{1} < p_{2} < \infty$. Consider the linear space $L^{p_{2}}(E)$ normed by $||.||_{p_{1}}$. Is this space Banach?


After browsing some questions here some of them are site specific. Should they be posted here or on that site's meta?  If you post it here the question could get more attention from a wider audience but otherwise I’m not sure.

How do per-site metas, such as Meta Writers Stack Exchange or Meta Stack Overflow differ from the general Meta Stack Exchange?  Where should I go to ask my question?


I've got several table with the column Archive. On a trigger I would like to check if the value exist in several tables.  Of course I can duplicate the query for each table but I think it could be easier to do this with a variable.   I've got a table RefTable with all the table created in the datase ID, TblName.  All the table are in the same database  Here is what I would like but it is not working :  IF EXISTS (SELECT archive from (select TblName FROM RefTable) WHERE archive = @var)

Given a number, how do I discover in what table and column it could be found within? I don't care if it's fast, it just needs to work.


I am trying to publish a paper based on my MSc. thesis in software engineering. I have considered myself, as the first name of the paper, and my supervisor as the second one, since I was the person behind everything. He was much concern about the structure of the thesis, and in scientific contribution, his share was something around %16.  But someone told me, a supervisor should always be the first name, because he has supervised the research. Is it true? But, i think it is not fair?  The questions are:  1- Does the order of authors' names convey some message?  2- Is it true that supervisor should be the first name?

When you look at a paper, what order to you assume the authors are in? Most important/most work done first or alphabetical? In my group we usually use alphabetic order, but I've been wondering if that might create a misleading impression with lots of people.  On a related note, would you expect the name of a PhD student to be always first on publications related to her/his work?


Here are two pictures below that clarify the situation and show the issues/errors I am seeing.  This is the error I got when the system tried to get updates:   This is what I got when I tried the command mentioned in the second picture:   I'm using ubuntu 16.04 LTS.  Can you help me fix the issue?  the terminal code :  adn7@1EK:~$ sudo apt-get install -f  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following additional packages will be installed:   libvdpau1 The following NEW packages will be installed:   libvdpau1 0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded. 4 not fully installed or removed. Need to get 0 B/25.5 kB of archives. After this operation, 100 kB of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 222801 files and directories currently installed.) Preparing to unpack .../libvdpau1_1.1.1-3ubuntu1_amd64.deb ... Unpacking libvdpau1:amd64 (1.1.1-3ubuntu1) ... dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb (--unpack):  trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64 Processing triggers for libc-bin (2.23-0ubuntu3) ... Errors were encountered while processing:  /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Say, I have foo-1.2.3.deb which depends on perl and python, however, running command:  dpkg -i ./foo-1.2.3.deb   won't install these dependencies. So I must apt-get install perl python by hand.  How to make dpkg -i install these dependencies for me automatically?


In Avengers: Endgame, after recovering the 6 Stones, Hulk snaps his fingers and brings back all the lost characters but he can’t bring back Black Widow or Gamora as the sacrifices for the Soul Stone are final. However, he explicitly states he tried.  Since those characters had not died because of the snap it’s clear the resurrection part doesn’t need to be limited to just the snapped out people, do we have any information about all the people who died for reasons other than the snap? Were they resurrected too or are they still death?  I’m thinking here of Vision, Loki, the people from Xandar, the Dwarves, all the casualties on the fight with Thanos, etc.

In Avengers: Endgame we see that:      Loki steals the Tesseract after Tony fails to take it.   Can this action alter the present in the current universe, where they are supposedly dead? What else could be the reason that the scene is included in the movie?


In the movie Independence Day Jeff Goldblum put a virus in a machine coming from another planet and which he didn't know at the moment.  He seemed to have used a generic virus judging by the fact that he didn't take time in the place to design but he got the alien ship successfully infected.  Is there a realistic explanation for this? Is it really possible to put an effective virus in a machine you don't know?

I recently rewatched  And noticed a lot of new things that left all kinds of plot-holes and questions. I'm willing to accept plot-holes and Deus Ex Machina type explanations at times for entertainment sake, but there was one item that I wondered about.  David Levinson saves the day by figuring out that they can upload a computer virus into the alien ships that will disabled their defenses and allow the humans to damage their ships. Ok, great. He and Cpt Steven Hiller fly to the mother ship, he somehow is able to communicate through some sort of signals with the alien system, and upload the virus which is made up of some sort of injected code which he pastes into a console.  This leaves me wondering if any attempt is made in the movie or from someone involved in creation the movie to explain how earth technology is able to interact with alien technology. Is there a quote from a film maker? Is there a deleted scene where they mention how it works? Even if they say its midichlorians, this different than simply not addressing it.


The current SO tag  (and its synonym ) should be removed from SO entirely. They currently serve no useful purpose for a question (all relevant questions have almost always been also tagged with a more-related web technology tag, such as , , or ), and simply serve to waste a tag space on a question that could be used to hold a more relevant tag. This tag conveys no further information to someone reading the question; by seeing one of the more relevant tags, the reader is already made aware that the question utilizes the web.  Its description is simply a definition of a website from Wikipedia:     A website is a collection of related web pages containing images,   videos or other digital assets. A website is hosted on at least one   web server, accessible via a network such as the Internet or a private   local area network through an Internet address also called URL.

I think that  is pretty good prima-facia evidence that  is just facilitating the deposition of crap.


Why is the reputation of a post's author shown on all questions and answers?  I don't mean the technical meaning, I mean what is this information supposed to convey, when seen under a question or an answer, as a poster or as an editor?  What is the reader supposed to think about the score?  Does it have a purpose?  For example, if there are two basically equal answers given around same time, should rep affect on downvotes or upvotes, like being more harsh about high rep users bad answers, because they should know better?   And a followup, whatever the answer to the above question is: does displaying the total reputation have the desired effect, or would it be worth thinking what could be displayed instead of or in addition to it, or if info could be displayed differently than as a raw number?  But let's not get carried away with suggestions (there already are many here on meta), first paragraph above is the main question an answer should address, and this followup is just context for answering that.    After reading the discussion and the current one answer, it seems the displayed reputation of post's author is supposed to tell two things:   Reputation at Stack Overflow, as a person; the product of the effort they have put to the site, and how well their contribution has been received. How much of an expert or how reputable they are in the subject matter (which I take to mean, topic of the question).   To me it seems 1st point is well covered, and showing current (increasing) reputation is not counter-productive. However, the 2nd point is not covered at all (it does not show subject matter expertise at the time of creating the post, and it includes for example all VB reputation when answering an R question).  Is 2nd point important to how SO works?

Possible Duplicate:          The idea of getting greater privileges with greater reputation is good, but what is the benefit of publicly displaying that reputation? Since SO claims to be about good questions and answers, that purpose is better served if the reputation is only visible to the account owner (and, of course, the site admins). This would better ensure that content gets pushed up solely by its merit, and not based on the author. (See )   Edit (copied from comment to an answer below): Once you have gathered high reputation, you can also gather more reputation with ordinary answers, especially from newbies (newbies on the topic, not on the site) who usually choose to accept or upvote an answer on the assumption that "since a high-rep user has posted it, it is probably right". Can you guarantee that doesn't happen often?


Let's say that Andre (the Hill Giant) and Conan (the Barbarian) are fighting.  Andre attacks Conan and manages to successfully grapple him.  He then drags Conan 20 ft (half speed) toward the Bad Place where Conan doesn't want to be.  On Conan's turn, can he use one of his attacks to grapple Andre so that Andre's speed will now be 0?  (It seems that he could shove the giant away, but maybe he is being heroic in some way.)  This seems to prevent Andre from continuing the drag unless Andre spends his action to break Conan's grapple (while maintaining his grapple).  How does Conan being prone change this?

Suppose an ettercap sneaks up on Bob the Barbarian whom is trailing his group and attacks him with a web garrote, inflicting Bob with the Grappled condition. Normally this is to the ettercap's advantage, but Bob is fine with grappling and feels the scenario is closer to the ettercap being trapped with him.  In order to ensure that this sneaky enemy can't escape, Bob wants to turn around and grapple the ettercap, to force it to hold still while Bob's allies rain pain on it from afar.  Can Bob do this without breaking the original grapple? If so, are both creatures considered to have the Grappled condition and thus have a speed of 0?


I spent more than 2 weeks searching for a solution to the following problem without success:  On my Ubuntu 18.04, I am connected to a Wifi (named "SmartCampus") but the internet keeps dropping frequently (I don't know exactly the intermittent time interval, but I think it is variable. For a rough estimate: between 5 min to 15).  However, I can confirm the following:   This happens only with this wifi "SmartCampus". I am also connected to this Wifi using my phone but everything is fine and internet is always available. In the first days I try to turn off Wifi then reconnect to get internet working but recently I found that I don't need to turn off wifi but only by displaying the list of available wifis As follows         When I do that , the internet works again.  Could you please tell me what is the problem? What can I do to fix this, because that's very annoying.  Here is the result of wireless-info script:   I appreciate your help

I haven't noticed any pattern and I'm sure the Wi-Fi works perfectly because I have no problems with the same computer using Windows 10. The Wi-Fi doesn't turn off though, it simply disconnects from the network and reconnects after about a couple of minutes.  I ran this and got:  lspci -knn | grep Net -A2 03:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01) Subsystem: AzureWave AR9462 Wireless Network Adapter [1a3b:2234] Kernel driver in use: ath9k Kernel modules: ath9k   Also running dmesg  Among the many messages the last one is:  [ 3818.806656] wlp3s0: Limiting TX power to 5 dBm as advertised by 00:23:eb:39:28:21   Any idea why this is happening?  Thank you.


Let $X$ be Hausdorff and $f:X \to X$ be continuous. Prove $\{x \mid f(x)=x\}$ is closed in $X$.  I know that the points in a Hausdorff space are closed, I was thinking about the diagonal but this is with cartesian product. Could you give me any ideas about it, please?  Thanks for your help

Here X is a Hausdorff Space.  I know that singleton sets, {x}, are closed in a Hausdorff space. Although Im not sure if thats how to use the Hausdorff property.   Should I investigate $h=F(x)-x$?  Can anyone give a hint


I am using Ubuntu 14.04 inside Windows.  I can't execute files in my Windows NTFS partitions. It gives the following error:  root@ubuntu:/media/rakesh/Data/My Codes/Test# ./a.out  bash: ./a.out : Permission denied   I have tried solutions in the following threads but it does not work:

I'm trying to run a exe file that is located on my Vista partition, when I browse to the file and try to change the file to run as executable the tick box unticks itself right after i tick it, i tried running gksu nautilus but it does the same thing


Let $p$ be prime, and $a$ be an integer such that $gcd(a,p) = gcd(a, p-1)=1$. Show that the equation $x^a \equiv 1$ (mod $p$) has exactly one solution.

We know that $221 = 17*13$. So we can check if the system has roots to both of those equations separately, which it does:  $x^{5} \equiv 2$ mod $13$ has the solution $6 + 13n$ and $x^{5} \equiv 2$ mod $17$ has the solution $15 + 17n$.   I got these numbers from wolfram, I have no idea how to solve this problem WITHOUT a calculator. And even after finding these numbers. How would one obtain a solution modulo $221$? I was thinking the Chinese Remainder Theorem but I am under the assumption that CRT only applies to problems with powers of $x$ which are $1$.  Thanks.


I am working with a list of lists in python and I came across a curious issue with it. For example, if I first create a list populated by placeholder [1,2,3] lists:  a = [[1,2,3]]*5   I would get the following result: a = [[1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3], [1, 2, 3]].  If I was to change a specific value of the inside list such as this:  a[1][2] = 5   I would get the following result: a = [[1, 2, 5], [1, 2, 5], [1, 2, 5], [1, 2, 5], [1, 2, 5]]. It looks like each of the index = 2 values of the inside list are not changed to my new variable. In this example all the variables are linked between the 5 inside lists. Now, if I was to create this list manually with the following command:  b = [[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,2,3]]   And then repeat the assignment:  b[1][2] = 5   I would get the following result: b = [[1, 2, 3], [1, 2, 5], [1, 2, 3], [1, 2, 3], [1, 2, 3]]  It looks like in the case of list a, I have linked variables but in the case of list b, I do not. Could someone explain what is the reason for this? Is there any way to make list a behave like list b without creating a brand new list?  Any info would be greatly appreciated!  Thanks!

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


Let's say we have the text below,     Lorem Ipsum is simply dummy text of the printing and typesetting   industry. Lorem Ipsum has been the industry's standard dummy text ever   since the 1500s, when an unknown printer took a galley of type and   scrambled it to make a type specimen book. It has survived not only   five centuries, but also the leap into electronic typesetting,   remaining essentially unchanged. It was popularised in the 1960s with   the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus   PageMaker including versions of Lorem Ipsum.   and I want to match the text between the 2 bold words.  When I use the.*Pagemaker, a bigger part of the text is matched from the very first instance of 'the' to Pagemaker and not from the instance of the which is closest to it.  Could you help me please?

I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000020: Document 1 - Completed successfully  I'm trying to extract pieces from it using regex. In this case, I want to grab everything after Project Name up to the part where it says J0000011: (the 11 is going to be a different number every time). Here's the regex I've been playing with: Project name:\s+(.*)\s+J[0-9]{7}:  The problem is that it doesn't stop until it hits the J0000020: at the end. How do I make the regex stop at the first occurrence of J[0-9]{7}?


First of all I apologize for my english, but I'm stuck and I don't know much of linux.  When I try to install Dropbox in my ubuntu it get stuck and I try to close it, but know I have a serching (applying changes) on the progress tab in ubuntu software center. Since I was trying to solve this I first use the comand sudo apt-get update and I get this:  [sudo] password for mel:  E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   then I use this comands that I found in other fourum sudo killall -9 dpkg and update again, it works but at the end I get this:  E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.    when I run sudo dpkg --configure -a I get this  Setting up nautilus-dropbox (0.7.1-2) ...  Dropbox is the easiest way to share and store your files online. Want to learn more? Head to http://www.dropbox.com/  Downloading Dropbox... 100%   And it get stuck again, please help

I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?


I am reading the book . I have a doubt in the topic "The field as representation". In this topic authors give the example of gravitational force represented as a field. In the following image the small circle represents an attracting body(say sun) and the lines are the well known lines of force of the gravitational field.  It is said that the density of the lines of force in space shows how the force varies with the distance. Let us consider a finite volume $\Delta V$  in the vicinity of sun. Now the number of lines of force passing through this is finite but there are infinite points in this $\Delta V$ volume. $1.$Is there any gravitational force acting on those points through which no line of force passes. $2.$ If the gravitational force acts on all the points contained in $\Delta V$ shouldn't there be infinite lines of forces passing through $\Delta V$.    $3.$ If it is supposed that there are really infinite lines of force passing thru $\Delta V$ then how to decide the density of no of lines won't it be infinite.      Please cite some canonical references which explains the 3 different points I've mentioned in your answer.    Thank you.

When we're dealing with problems in electrostatics (especially when we use Gauss' law) we often refer to the density of electric , which is inversely proportional to the radius in the case of a single point charge (all field lines are directed radially).   My question may sound dumb, despite the fact that this concept is quite intuitive, but if you think about it there is actually an infinite amount of field lines which we can draw everywhere (one through every point), so speaking of an area where field lines are more "dense" or "sparse" doesn't make much sense to me.  With this in mind, why can we still use such a concept? Why does it really work?


I'm wondering how to combine two integer like this  vector <int>  A = {3,4,5}; vector <int>  B = {100,102,103};   and then can we have a fast way or a funtion that can help to attach the vector B to vector A and vector A then look like this :  A = { 3,4,5,100,102,103}


after installing Tor browser it will not run. It get stock in Verificerer signatur.. ? What to do? Citizenzeven

Whenever I start Tor in Ubuntu 13.04, the Vidalia Control Panel opens, loads up and displays a status of "Connected to the Tor network!". However, the tor-infused firefox, does not pop up like it should.  Tor log:  jul. 04 02:09:11.859 [Notice] Tor v0.2.3.25 (git-17c24b3118224d65) running on Linux. jul. 04 02:09:11.860 [Notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning jul. 04 02:09:11.861 [Notice] Read configuration file "/home/joren/.tor-browser/App/../Data/Tor/torrc". jul. 04 02:09:11.872 [Notice] Initialized libevent version 2.0.21-stable using method epoll (with changelist). Good. jul. 04 02:09:11.873 [Notice] Opening Socks listener on 127.0.0.1:9150 jul. 04 02:09:11.873 [Notice] Opening Control listener on 127.0.0.1:9151 jul. 04 02:09:11.937 [Notice] Parsing GEOIP file ./Data/Tor/geoip. jul. 04 02:09:12.178 [Notice] No AES engine found; using AES_* functions. jul. 04 02:09:12.178 [Notice] This OpenSSL has a good implementation of counter mode; using it. jul. 04 02:09:12.235 [Notice] OpenSSL OpenSSL 1.0.0k 5 Feb 2013 looks like version 0.9.8m or later; I will try SSL_OP to enable renegotiation jul. 04 02:09:12.740 [Notice] Reloaded microdescriptor cache.  Found 8497 descriptors. jul. 04 02:09:12.740 [Notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus. jul. 04 02:09:13.758 [Notice] Bootstrapped 5%: Connecting to directory server. jul. 04 02:09:13.761 [Notice] Heartbeat: Tor's uptime is 0:00 hours, with 1 circuits open. I've sent 0 kB and received 0 kB. jul. 04 02:09:13.908 [Notice] Bootstrapped 10%: Finishing handshake with directory server. jul. 04 02:09:14.252 [Notice] Bootstrapped 15%: Establishing an encrypted directory connection. jul. 04 02:09:14.507 [Notice] Bootstrapped 20%: Asking for networkstatus consensus. jul. 04 02:09:14.615 [Notice] Bootstrapped 25%: Loading networkstatus consensus. jul. 04 02:09:16.446 [Notice] We'd like to launch a circuit to handle a connection, but we already have 32 general-purpose client circuits pending. Waiting until some finish. jul. 04 02:09:16.447 [Notice] Bootstrapped 45%: Asking for relay descriptors. jul. 04 02:09:16.448 [Notice] I learned some more directory information, but not enough to build a circuit: We have only 113/3851 usable microdescriptors. jul. 04 02:09:17.755 [Notice] We now have enough directory information to build circuits. jul. 04 02:09:17.755 [Notice] Bootstrapped 80%: Connecting to the Tor network. jul. 04 02:09:17.810 [Notice] Bootstrapped 85%: Finishing handshake with first hop. jul. 04 02:09:17.818 [Notice] Bootstrapped 90%: Establishing a Tor circuit. jul. 04 02:09:18.156 [Notice] Tor has successfully opened a circuit. Looks like client functionality is working. jul. 04 02:09:18.157 [Notice] Bootstrapped 100%: Done.   How do I proceed solving this issue?


The  spell creates a destructible wall, with each 10-foot section having 30 hit points:     The wall is an object that can be damaged and thus breached. It has AC 12 and 30 hit points per 10-foot section, and it is vulnerable to fire damage. Reducing a 10-foot section of wall to 0 hit points destroys it and leaves behind a sheet of frigid air in the space the wall occupied.   Suppose a fireball spell detonates on the opposite side of the wall from me, such that the wall provides total cover against it. However, the fireball deals 27 fire damage, which is enough to destroy any sections of the wall caught in the blast (since the wall is vulnerable to fire damage). So, the fireball will definitely destroy my cover. So before the fireball, I definitely have cover, while afterward I definitely don't have cover any more. However, it's not clear whether I still have full cover against the effect of the fireball itself.  More generally, in any case where I have cover against an effect but the effect itself destroys that cover, do I gain the benefit of that cover before it is destroyed, or does the cover get destroyed before I can benefit from it?

Triggered by , I was curious as to what the specific order of operations is with respect to spell resolution.  I have been unable to find any information which states that a spell's area of effect is limited to it's initial casting point.  Example scenarios:  A fireball is inside a wooden box. Does it destroy the box and expand to 20'?  If not, then consider that if the fireball was inside a cotton shirt. Or a bubble.  An additional example would be to swap fireball out for something like Lightning Bolt. Would hanging out behind a curtain suddenly make the spell utterly useless against you if area of effect is determined before the damage is?  I feel that spells area of effect and damage are not exclusive of each other, and that objects which are destroyed don't successfully impede the spell.  Is this accurate?  Additional information I've found which created the problem:  PHB pg. 196 under Cover     A target with total cover can’t be targeted directly   by an attack or a spell, although some spells can reach   such a target by including it in an area of effect. A   target has total cover if it is completely concealed by   an obstacle.   PHB pg. 204 under Area of Effect     A spell’s effect expands in straight lines from the point   of origin. If no unblocked straight line extends from the   point of origin to a location within the area o f effect, that   location isn’t included in the spell’s area. To block one of   these imaginary lines, an obstruction must provide total   cover, as explained in chapter 9.   These two rules indicate that something as simple as a 5' X 5' roll of linen, so long as it is granting you full cover, is capable of withstanding any AOE spell and excluding you from the area. What's more, the wording seems to contradict each other. Spell AOE says it doesn't affect areas under total cover. Total cover states spell AOE can reach you. That's...... not helpful.  So I've attached an image which shows a Caster (denoted with a C) launching a lightning bolt through a room with 5 targets to help illustrate an example of this issue.


So, my java project has the following hierarchy :  Project folder ------src-----PackageA-----MainClass (with main method)           |       |           |         -----PackageB------SecondClass           ------resource----image.jpg   The src folder is on the classpath, but the resource folder is not(I don't know if this is the cause of my problem)  Here is the problem. When i try to use getResourceAsStream() from inside a method from SecondClass I get NullPointerException. I've tried   getClass().getResourceAsStream("/resource/image.jpg")  getClass().getResourceAsStream("/Project folder/resource/image.jpg") getClass().getResourceAsStream("Project folder/resource/image.jpg")  and in all the paths returned null pointer. I am sure I am doing something wrong but I don't get what. Please, help me out! Thanks!

I know the file needs to be where the getClass().getResource(filename) can find it, but I don't know where that is.  I'm interested both in where to put the files on the filesystem itself, and how to go about using Eclipse's functionality to set up the resources.


I was wondering about this: it seems that when you set an alarm, even if you switch off your smartphone, on reaching that time the alarm manages to ring.  Is the Android framework still running and hence the Alarm Service is able to detect change in time, or other reason?

I just discovered that if I set the alarm clock and then power off the phone (by holding the power button and then selecting "Power Off") the alarm will still go off when the time comes.  Is this expected behavior? It makes me feel like "power off" doesn't actually power off the phone.  I have a Huawei Y530-U051 running android 4.3.


I'm having a problem with the relative offset the array modifier creates for the added objects.    When I add the modifier, the relative offset is set to 1.0 in one direction and 0.0 in the other two. To me, this means that the object is being duplicated in only one direction. However, the new object appears to the upper right of the original, as if it had been moved by equal amounts in x- and y-direction. There is no displacement in z-direction.    When I enter a value into the upper box of the relative offset (x I assume?) and enter the same but negative value in the second box (y?), the object appears moved in x-direction only.   In another blender file I received from a friend the Array modifier on a very similar object behaves normally, moving the copies in only one direction.  Does anybody have an idea how to fix this problem?

The screenshot below says it all, really. The object is offset in both the X and the Z axes, though only the X axis says 1. No other modifiers are on it, no constraints, no locked axes, and I can't think of anything else that would affect this. How can I make it stop doing this?


I've seen a link suggesting that  to some of the attractions connected to the Vatican City.  I'm not sure if it's just a way to lock me into paying for something that is equally easy/cheap to do while on-site.

I will be traveling to Rome with a friend for Easter 2016 (25th March – 30th March). We would like to be able to visit the Vatican to see the art and St. Peters Basilica (not for religious purposes, but as a tourist attraction).   What day would give us the best chance of getting in and being able to visit the basilica and maybe also the Sistine Chapel? I suppose we should wait until after Sunday, but is it open to visitors on the Monday or Tuesday after Easter? Are there times that the area is less crowded?   I realize Easter is not the best time to visit the Vatican as a non-religious tourist, but we booked our flights without realising that was Easter weekend. I should also mention that since we are from Argentina we probably won't get another chance to visit soon.


Perhaps it is some free moving spinner attached to the wheel, but as opposed to this question:  I have seen car wheels that appear to spin backward both while speeding up, and moving at a constant rate.  Am I just confused, or is there a reason for this?

When viewing cars that are driving along side of us, sometimes their wheels appear to be turning backwards even though they are traveling in the same direction as our car. Why do they look that way?


Using .load, I'm loading the following content into #step_2 div: <div id="step_2">     Select a subcategory:     <select id="subcategory_id" name="subcategory_id">         <option value="0">All subcategories</option>         <option value="68">Cool</option>         <option value="15">Cooler</option>         <option value="74">Excellent</option>     </select> </div>  I'm then trying to detect when user selects something: $("#subcategory_id").on("change", function(){     alert( 'Success!' ); });  but with no success. Does anyone see what I'm doing wrong? Help greatly appreciated. NOTES: Here's the full CSS path as seen by FireBug: html.js body div#container div#main form div#step_2 select#subcategory_id  Here's the full Javascript file, if context matters: $(document).ready(function() {      $("#category_id").change(function() {         $("#spinner").show();         $("#step_2").load("process.php?selected=category", { value: $(this).val() }, function() {             // Do something to say the data has loaded sucessfully             $("#spinner").hide();         });     });                  $("#subcategory_id").on("change", function(){         alert( 'Success!' );     });      });

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.


I wasn't able to find this question on another post, and I apologize if its out there.   I have been trying to solve this integral and am not sure how to start. $$\int \sin^3 x dx$$  Thanks

Suppose $\displaystyle P(x,y)$ a polynomial in the variables $x,y$.   For example, $\displaystyle x^4$ or $\displaystyle x^3y^2 + 3xy + 1$.  Is there a general method which allows us to evaluate the indefinite integral     $$ \int P(\sin x, \cos x) \text{d} x$$   What about the case when $\displaystyle P(x,y)$ is a rational function (i.e. a ratio of two polynomials)?   Example of a rational function: $\displaystyle \frac{x^2y + y^3}{x+y}$.    This is being asked in an effort to cut down on duplicates, see here:   and here:


In my database the age is 1946 and when we get the log is 2046, we need 1946 as calculate the Global.age. May I ask what wrong with my code? Is that any wrong of my code?  timespan = DateTime.Now.Subtract(Convert.ToDateTime(patientInfo[0].DOB));  Global.age = Convert.ToInt32(timespan.TotalDays) / 365; log.EventLog("DoB: " + patientInfo[0].DOB); log.EventLog("Scan Page Age: " + timespan.ToString() + " " + Global.age.ToString()); this.NavigationService.Navigate(Global.bmiPage);

Given a DateTime representing a person's birthday, how do I calculate their age in years?


I have an Ubuntu 14.04 machine and when trying to upgrade packages I get errors about unmet dependencies.  My question is, How do I upgrade everything else but the packages with unmet dependencies? I tried:  apt-mark hold <package name>   I can see that the package is in "hold" status, But still cannot upgrade, same error.  Also tried:  apt-get install --only-upgrade <package name>   still cannot upgrade, same error.  I don't mind even using a script to install packages one by one and skipping the problematic ones, but nothing works.  How can I get around this?

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?


In one of the final scenes of Star Wars: The Force Awakens, C-3PO is heard to exclaim "Thank the Maker!" My question is, who is the Maker? Is this in reference to some religious figure or deity, perhaps one he heard about on Tatooine? Or is he referring to Anakin Skywalker, his own "maker"? Any clarification here would be much appreciated.

C-3PO frequently speaks of “the Maker.” Is this a true droid religion, or is this a religious reverence by droids for their specific creators (in this case, Anakin, even though C-3PO has forgotten who he is)? Is this even a droid thing or is it just C-3PO? What else do we know about this “Maker”-worship?


i noticed one cpu core using 100% resources so running htop shows, xmrig is running which i never installed. and i can see it is running from path /tmp/xmrig-... and i am running a wordpress site here on openlitespeed. so i doubt someone uploaded xmrig into /tmp folder using wordpress hack  (this is my doubt ofcourse) and i killed process and deleted folder from /tmp now after few hours, i see folder back and process running too. how can i find from where the process is started? like from cron or a service? Just for Fun: if it running from a process, i would like to change hacker wallet address with mine and it mines to my wallet. in serious note: how can i find more info about hacker and just blocking mining port is enough? any help is appreciated. thanks.

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.


As I understand this is a somewhat common issue; but common fixes aren't helping. Minecraft is currently not allowing me to connect to any servers. It does not appear to be a firewall issue as disabling the firewall does not change results, I added a rule to the firewall also, but could have easily messed that up. I believe the issue is due to a VPN which enables a firewall when it protects my network. I have tried to disable the VPN and even uninstalled it to no benefit. I have tried restarting my internet and connecting to a different internet. Nothing helps. I am incredibly not tech savvy pls help.  Edit: tried changing versions, which I assume would avoid the issue listed in this very similar post: , that is to taken with a grain of salt however this is so very not my forte.  Edit: Minecraft has been uninstalled and reinstalled to no avail.

I am getting the following error when I try to connect to a Minecraft server:  This is all servers, not just one. The error says:  io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: Version 1.12  I've tried:  Restarting Minecraft Restarting Computer Uninstalling and Reinstalling Mincraft Uninstalling and Reinstalling Java Altering Firewall Restarting Internet I've messed with my port, made a second windows account, reset netsh winsock Checked hosts Made a new WINDOWS account  The overlay in the bottom right is Geforce's Overlay for game capturing. I don't have any mods installed. A Mojang support ticket wouldn't help. Im desperate.


I don't want opinions. I want answers to this question below. I know within my Model classes, I can include Data Annotations to validate my forms:  public class Movie {     public int Id { get; set; }     public string Title { get; set; }      [Display(Name = "Release Date")]     [DataType(DataType.Date)]     [DisplayFormat(ApplyFormatInEditMode =true, DataFormatString = "{0:yyy-MM-dd}")]     public DateTime ReleaseDate { get; set; }      public string Genre { get; set; }      [DataType(DataType.Currency)]     public decimal Price { get; set; }  }   However, there are already JavaScript libraries that validate the default behaviors (i.e. @Html.ValidationMessageFor()):
     @Html.LabelFor(model => model.Title, htmlAttributes: new { @class = "control-label col-md-2" })
         @Html.EditorFor(model => model.Title, new { htmlAttributes = new { @class = "form-control" } })         @Html.ValidationMessageFor(model => model.Title, "", new { @class = "text-danger" })   And my question would be... Is it best practice to validate in the models only or within the views itself?? What is more safe in terms of maintaining security?  Please let me know if this is wrong question to ask and I will remove it quickly.  Thank you

Which is better to do client side or server side validation?  In our situation we are using    jQuery and MVC.   JSON data to pass between our View and Controller.     A lot of the validation I do is validating data as users enter it. For example I use the the keypress event to prevent letters in a text box, set a max number of characters and that a number is with in a range.   I guess the better question would be, Are there any benefits to doing server side validation over client side?    Awesome answers everyone. The website that we have is password protected and for a small user base(<50). If they are not running JavaScript we will send ninjas. But if we were designing a site for everyone one I'd agree to do validation on both sides.


Is there a way to output for Print. I want to save in a higher DPI than the default 72dpi say 300dpi that's a good quality for printed pieces. I tried downloading an add-on but don't know if I am installing it correctly it isn't showing up but the bar in python is green. I'm using the 2.69 version of Blender. If no such feature exists what size have any of you found best for print quality. Thank you

I'm in trouble with finding a way to set DPI value of files within Blender. I have set up an automated workflow to generate image files for printing, but the volume is too high to open and change the DPI value of each image separately. (PNG for example)


I've been trying to get it all setup for a while but though the errors have stopped I can't actually get any references working.   Here's the references file :    32 @book{wrong,  33         author          = {Mr Writer},  34         title           = {My First Novel},  35         year            = {2012},   36         publisher       = {Harold & Mike},  37         location        ] {London  38 }   Here's how the reference displays in text (wrongii was a different reference):   }  Here's the code from the text that's calling the reference :     I'm trying a different way with this line \parencite{wrong}   I've also tried to print this Bibliography at the bottom of the page to no effect using :   \printbibliography   I've been rattling about various sites (including here) and can't seem to find the answer, any help much appreciated.  EDIT   This is my MWE that seems to display the same behaviour :   \documentclass[10pt,a4paper]{book} \usepackage[style=authoryear]{biblatex} \bibliography{mwe.bib}  \begin{document} This is some text that I'm going to try and 'cite' using the bib file thing.\cite{wrong}  That didn't work, maybe this will \parencite{wrong}  \printbibliography \end{document}   And here's the contents of the references.bib file :     1 @book{wrong,   2         author          = {Mr Writer},   3         title           = {My First Novel},   4         year            = {2012},   5         publisher       = {Harold \& Mike},   6         location        = {Leamingtion}   7 }   8    9  ~                                                                                ~                                           I'm not sure if this is a Texmate setting, I've read things about the backend = bibtex setting and tried that too (it didn't work). I want to have it in author year style, but to start I guess it'd be nice to just have something on there  Options within Texmaker for compiling :     This seems to have worked :     Here's the error message that I'm currently getting :       This is BibTeX, Version 0.99d (TeX Live 2013/Debian) The top-level auxiliary  file: dbmain.aux A level-1 auxiliary file: title.aux I found no \citation commands-  --while reading file dbmain.aux I found no \bibdata command---while reading file   dbmain.aux I found no \bibstyle command---while reading file dbmain.aux (There were   3 error messages)   Apparently I'm meant to use nocite{} ?   Sorry this post is ridiculously convoluted :(

Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools


I had problem with a spamming domain and I am asked to delete files in some folders in var/qmail/queue but I accidentally deleted whole folders.  Now any domain can either get or send email, getting   554 mail server permanently rejected message (#5.3.0)   Is there any way to fix this beside using a backup?  Thanks in advance

Qmail has 500 00 messages in queue and I installed qmHandle to help sort out the spam in the queue. This process has taken a long time and alternative scripts like qmail-remove also take time. I want to move the Qmail queue to a backup (queue.BAK)and recreate a new queue so that mails can flow so long as clients cannot send or receive emails via the server at the moment.  I am running Plesk 10.4 on Ubuntu 8.04 LTS.  1) Is it possible to move the queue and recreate a new queue?  2) Please outline what I have to do to achieve this.  I followed the advice below and am adding more information here. My new qmail queue has 75 messages and all are unprocessed.I am able to send using the smtp service of the server but am not getting emails. I do not see an error in the log file but trying to download the emails gives the message that there are no new messages even when I send test messages to the email address hosted on the server.  root@alpha1:/var/qmail/queue# root@alpha:/var/qmail/queue.BAK# ls -la total 4692  drwxr-x--- 12 qmailq qmail    4096 2012-05-30 14:55 .  drwxr-xr-x 13 root   root     4096 2013-03-16 14:58 ..  drwx------  2 qmails root    90112 2013-03-13 14:37 bounce  drwx------ 25 qmails qmail    4096 2012-03-06 06:30 info  drwx------ 25 qmailq qmail    4096 2012-03-06 06:30 intd  drwx------ 25 qmails qmail    4096 2012-03-06 06:30 local  drwxr-xr-x  2 qmailq qmail    4096 2012-03-06 06:30 lock  drwxr-x--- 25 qmailq qmail    4096 2012-03-06 06:30 mess  drwx------  2 qmailq qmail    4096 2013-03-16 14:51 pid  drwx------ 25 qmails qmail    4096 2012-03-06 06:30 remote  drwxr-x--- 25 qmailq qmail    4096 2012-03-06 06:30 todo  drwxr-xr-x  2 root   root  4657152 2013-03-15 15:32 yanked  root@alpha1:/var/qmail/queue# ls -la total 48  drwxr-x--- 12 qmailq qmail 4096 2013-03-16 16:41 .  drwxr-xr-x 13 root   root  4096 2013-03-16 14:58 ..  drwx------ 25 qmails root  4096 2013-03-16 16:39 bounce  drwx------ 25 qmails qmail 4096 2013-03-16 16:40 info  drwx------ 25 qmailq qmail 4096 2013-03-16 16:40 intd  drwx------ 25 qmails qmail 4096 2013-03-16 16:40 local  drwxr-xr-x 25 qmailq qmail 4096 2013-03-16 16:40 lock  drwxr-x--- 25 qmailq qmail 4096 2013-03-16 16:39 mess  drwx------ 25 qmailq qmail 4096 2013-03-17 10:40 pid  drwx------ 25 qmails qmail 4096 2013-03-16 16:40 remote  drwxr-x--- 25 qmailq qmail 4096 2013-03-16 16:40 todo  drwxr-xr-x 25 root   root  4096 2013-03-16 16:41 yanked


How do you move files modified after a specific date (say 7 days for example) to another directory? I clumsily tried sending the output of  ls -t | head -n XX   But learnt recently that it isn't a good idea to parse ls.

With the ls command, is it possible to show only the files created after a specific date, hour...?  I'm asking it because I have a directory with thousand of files.  I want so see all files that were created since yesterday.   I use ls -ltr but I have to wait to see all files...  There is an equivalent of DIRECTORY/SINCE=date from OpenVMS ?