I'm trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp process hangs up and doesn't exit. I have to hit Ctrl-C to return back to the shell.  I have observed the same behavior with FTP as well. Any ideas about what might be causing this?
My internet connection used to be a direct LAN connection to my provider. Back then, everything would load fine on both Windows and Ubuntu (dual boot). However, a while ago they started needing me to dial (PPPoE) using a username and password. Gateway, subnet mask, IP, DNS servers all stayed the same. But since then, I haven't been able to browse certain websites on Ubuntu, even though there have been no such issues on Windows. Some example websites are -  (although share.ovi.com loads fine, and nokia.com loads fine),  (works on Chrome(ium) and Opera but not on Firefox (both 3.6 and 4)) Mozilla  and other random websites.  Some of the websites that don't load show timeout messages and for some websites (like the moz addons one), the browser will keep trying to load without an end (I've left it like that even for hours but not noticed anything different happen).  I have tried changing the DNS servers to public ones. I have even tried booting from a Fedora LiveCD and then changing the DNS to those (and even to the ones of OpenDNS), but the exact same thing happens. What could be inherently wrong with some config within Linux itself that is causing this problem?  Does anyone know why this is happening and how it can be fixed?  Note: This question has been  on SU, but not gotten any responses.  Update: Just saw  that someone else was having similar problem and solved it by putting a NetworkManager.conf file in /etc/NetworkManager. What needs to be in that file?
Having a UITextField in a UITableViewCell I'm trying to do that for a couple of days now, and after reading tons of messages of people trying to do that too, I'm still unable to have a fully working UITextField in some of my UITableViewCells, just like in this example:     Either I have the form working but the text is not visible (although I set its color to blue), the keyboard goes on the field when I click on it and I haven't been able to correctly implement the keyboard events. I tried with a bunch of examples from Apple (mainly UICatalog, where there is a kinda similar control) but it's still not working correctly.  Can somebody help me (and all the people trying to realize this control) and post a simple implementation of a UITextField in a UITableViewCell, that works fine? I run a job every minute to reindex my site's content.   Today, the search engine died, and when I logged in there were hundreds of orphan processes that had been started by cron.  Is there another way using some kind of existing software that will let me execute a job every minute, but that won't launch another instance if that job doesn't return (i.e. because the search engine process has failed)? Example of a group $G$ such that $G = N_1\cdots N_n$ and $N_i \cap N_j = \{e\}$ for all $i \neq j$ but $G$ is not the internal direct product of them. I was trying to find an example of a group $G$ and normal subgroups $N_1 , \ldots , N_n$ such that $G = N_1\cdots N_n$ and $N_i \cap N_j = \{e\}$ for all $i \neq j$ and yet $G$ is not the internal direct product of  $N_1, \ldots , N_n$ .  It is easy to show that G is the internal direct product of normal subgroups $N_1 , \ldots , N_n$ iff  (i) $G = N_1\cdots N_n$  (ii) $N_i\cap (N_1 \cdots N_{i-1}\cdots N_{i+1} \cdots N_n) = \{e\}$ for $i = 1, 2, \ldots, n$.  So I guess the question boils down to produce an example of a group $G$ and its normal subgroups  $N_1 , \ldots , N_n$ such that   (1) $G = N_1\cdots N_n$  (2) $N_i \cap N_j = \{e\}$ for all $i \neq j$   but     (3) $N_i \cap (N_1 \cdots N_{i-1} N_{i+1} \cdots N_n) \neq \{e\}$ for at least one $1 \le i \le n.$ Thanks in advance for help.... The Bash man page describes use of ${!a} to return the contents of the variable whose name is the contents of a (a level of indirection).  I'd like to know how to return all elements in an array using this, i.e.,  a=(one two three) echo ${a[*]}   returns  one two three   I would like for:  b=a echo ${!b[*]}   to return the same.  Unfortunately, it doesn't, but returns 0 instead.  Update  Given the replies, I now realise that my example was too simple, since of course, something like:  b=("${a[@]}")   Will achieve exactly what I said I needed.  So, here's what I was trying to do:  LIST_lys=(lys1 lys2) LIST_diaspar=(diaspar1 diaspar2)  whichone=$1   # 'lys' or 'diaspar'  _LIST=LIST_$whichone LIST=${!_LIST[*]}   Of course, carefully reading the Bash man page shows that this won't work as expected because the last line simply returns the indices of the "array" $_LIST (not an array at all).  In any case, the following should do the job (as pointed out):  LIST=($(eval echo \${$_LIST[*]}))   or ... (the route that I went, eventually):  LIST_lys="lys1 lys2" ... LIST=(${!_LIST})   Assuming, of course, that elements don't contain whitespace. What's the "official" explanation for Harry's (and everyone else's) absence from muggle school? So a bunch of kids all of a sudden "go missing" from school.  Harry Potter having attended school for a couple of years before starting at Hogwarts, one semester just doesn't show up.  How is this solved? What do parents say when a school teacher calls and wonders where their pupil is?  I assume that Hogwarts isn't an officially recognized school (though perhaps it is?), and due to education being compulsory, someone would do the math and find that low-hundreds of kids go missing in the transition from primary to secondary school every year. Shouldn't rep gains from old questions & answers eventually stop (or at-least reduce)? Should I use the datetime or timestamp data type in MySQL? Would you recommend using a  or a  field, and why (using MySQL)?   I'm working with PHP on the server side. I assume the difference in the number of Stack Exchange sites/communities is a mistake... correct? How do I make my document use the Times font, both for the text and the math? I know that I can put \usepackage{times} in the preamble in order to use the Times font instead of Computer Modern for my document.  But this only affects the text; the math is still typeset using Computer Modern.  How can I make Latex use Times also for the math? Wanted: question mark instead of bibtex key for missing citations (biblatex) Instead of having the citation key showing up in the document for missing references, I want to only have [?], as it is the case when using the default bibtex without biblatex. This behavior is driving me crazy, as it messes up all the formatting (especially in tables). I want to focus on writing and only later on deal with the erroneous citations.  This question is related to    and its MWE can be used. However, as pointed out beforehand, I want the question mark in the text instead of the citation key to not mess up the formatting (for missing citations). Highlight tags corresponding to our favorites Each of us have our list of favorite tags.  When a question has tag(s) that match one or more of ours, the background gets highlighted, drawing our attention to the question.  It would also be nice to highlight (perhaps using a bold font) the tags(s) that matched our own, so one could quickly do a further filtering of the question to see if it is of interest at the present time, like the following:    e.g. arduino is in my list of favorites, but the other two in each question are not. What's the name of each pseudo-rectangle in a spherical surface? Calculating $\sum_{n=1}^\infty\frac{1}{(n-1)!(n+1)}$ I want to calculate the sum:$$\sum_{n=1}^\infty\frac{1}{(n-1)!(n+1)}=$$  $$\sum_{n=1}^\infty\frac{n}{(n+1)!}=$$ $$\sum_{n=1}^\infty\frac{n+1-1}{(n+1)!}=$$ $$\sum_{n=1}^\infty\frac{n+1}{(n+1)!}-\sum_{n=1}^\infty\frac{1}{(n+1)!}=$$ $$\sum_{n=1}^\infty\frac{1}{n!}-\sum_{n=1}^\infty\frac{1}{(n+1)!}.$$  I know that $$\sum_{n=0}^\infty\frac{1}{n!}=e$$  so $$\sum_{n=1}^\infty\frac{1}{n!}=\sum_{n=0}^\infty\frac{1}{n!}-1=e-1$$  But, what can I do for $$\sum_{n=1}^\infty\frac{1}{(n+1)!}$$ ?  Am I allowed to start a sum for $n=-1$ ? How can I bring to a something similar to $$\sum_{n=0}^\infty\frac{1}{n!}$$? Book set in contemporary times about a travel writer who is inducted into the world of the supernatural Joining attributes of polygons and points by location in QGIS I have two shapefiles....   points containing a number field 'response_time' a polygon grid of square polygons containing fields including 'PNTCNT' with the number of points per polygon, calculated already using the tool 'points in polygon'   There are between 0 and 600 points within the bounds of each polygon in the grid.  I want to add fields to the polygon grid for the mean, min and max response times within each polygon, in addition to the PNTCNT field already there.  I have tried the 'Join attributes by location' tool, making the polygon layer the target and the points the join layer, and vice versa. I've selected 'take summary of interesting features'.  But I can't get the result I want. All I end up with is the polygon grid again but with an extra field 'COUNT' which replicates (or duplicates) the 'PNTCNT' field. No min, max and mean of values from the points layer.  What am I doing wrong? Is there a better way to do this? I have tried this using QGIS 1.7 and 1.8. for a $3 \times 3$ matrix A ,value of $ A^{50} $ is I f $$A= \begin{pmatrix}1&amp; 0 &amp; 0 \\  1 &amp; 0 &amp; 1\\ 0 &amp; 1 &amp; 0 \end{pmatrix}$$  then $ A^{50} $  is   $$ \begin{pmatrix}1&amp; 0 &amp; 0 \\  50 &amp; 1 &amp; 0\\ 50 &amp; 0 &amp; 1 \end{pmatrix}$$ $$\begin{pmatrix}1&amp; 0 &amp; 0 \\  48 &amp; 1 &amp; 0\\ 48 &amp; 0 &amp; 1 \end{pmatrix}$$ $$\begin{pmatrix}1&amp; 0 &amp; 0 \\  25 &amp; 1 &amp; 0\\ 25 &amp; 0 &amp; 1 \end{pmatrix}$$ $$\begin{pmatrix}1&amp; 0 &amp; 0 \\  24 &amp; 1 &amp; 0\\ 24 &amp; 0 &amp; 1\end{pmatrix}$$   I am stuck on this problem. Can anyone help me please............... How to detect if a mob has been hit in minecraft with command blocks? i am making a boss battle for my minecraft adventure map, and using a mob spawned with commands as the boss. When the mob gets hit, some command blocks will give the player a potion effect, but I can't figure out how to activate the command block when the mob gets hit. I am in the latest snapshot (16w03a). please help me (the person who answers my question will be given credit for it in my map) Which day does "next Tuesday" refer to? At what point does next Tuesday mean      the next Tuesday that will come to pass     and no longer      the Tuesday after the Tuesday that will come to pass?   And, when does the meaning switch back? Every time I click to open a link, other windows start opening. They all want to sell me Detox your Mac or have warnings about how my Mac is at risk or infected.  How can I check for malware? How does the new Tie-Breaker work? In Clash of Clans there was an update on 9/16 adding a Tie-breaker into the wars, can anybody explain in detail how this mechanism works?