Site    here, in this 9 is the user id.it is different according to register users.   When add link in main menu there is an option Path textbox in that text box if i add "user/9/edit" then link is created but here 9 is login user id. then it is accessible only whose user id 9. but other not access. I want to add link dynamic which user are login then that user access that user edit page.user/*/edit
Ok, I must be missing something obvious, but I'm having trouble adding a link to user/%/edit to the main menu.  In the Menu UI, I clicked "add link," set the title to "Account settings," and then was at a loss about what to put for the path.  I know how to generate a link to the account edit page using views, which is what I've always done before, but this time I actually need to add the link to the "Main Menu."
Does Microsoft Office 2010 have version control?  In other words, does it automatically save old versions of files? Running programs in the background from terminal How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a program from the terminal window, say, nm-applet:  nm-applet   When it's started, it occupies the foreground of the terminal window.  Is there any simple way to run the program in the background without needing to leave the terminal open or have it occupy the whole terminal?  On that note, I did find a way to run programs from the terminal and have it allow for other inputs, by appending an ampersand (&amp;) to the command as such:  nm-applet &amp;   But this isn't much use as any processes started in the terminal are killed once the terminal is closed. How often do ewoks eat sentients? In Return of the Jedi, the ewoks plan on eating Luke, Han and Chewie.     THREEPIO: I'm rather embarrassed, General Solo, but it appears you are to be the main course at a banquet in my honor.   At this point, the tribe had already met and befriended Leia, and had encountered the Imperials in the past, making it fairly likely that they knew humans were .  This raises the question of how often they ate sentients. Was it a one-off thing, to honor an extremely rare visit from a god, or was this fairly common? Arrow keys, Home, End, tab-complete keys not working in shell I have installed ubuntu minimal(mini.iso) on my vm. I then used recovery mode to login as root and create an account with useradd -m admin and then set a password with passwd admin.  When I login on the new account, instead of the normal prompt I only see a $ sign. If I try to tab-complete a command or file name it prints a normal tab. If I try to use the arrow keys it prints ^[[A, ^[[B, ^[[C or ^[[D. Also, ls no longer adds colors.  None of these problems were in recovery mode. How can I fix this? What is the highest power of n in $(n^r-1)!$ where $n$, $r$ are positive integers? The answer supplied is $\frac{n^r-nr+r-1}{n-1}$   The highest power of $n$ in $n^r!  = r +$ the highest power of $n$ in $(n^r-1)!$ as $n^r$ contributes $r$ powers.    So,  the highest power of $n$ in $n^r!$ needs to be $\frac{n^r-nr+r-1}{n-1} + r =\sum_{1≤t&lt;r}n^t $.    This is clearly true if $n$ were prime according to .  Again,  if $r=1$, $\frac{n^r-nr+r-1}{n-1}$ becomes $0$.    But according to , the  highest power of composite $n$ in $(n-1)! ≥ 1 $.  So, the answer does not seem to hold for $r=1$ if $n$ is composite. If $n=\prod p_i^{a_i}$, where $p_i$ are distinct primes,  $n^r=\prod p_i^{ra_i}$  So, the highest power $(q_i)$ of $p_i$ in  $n^r!$ is  $$\sum_{1≤t&lt;∞}\left\lfloor\frac{n^r}{p_i^t} \right\rfloor =\sum_{1≤t≤ra_i}\frac{n^r}{p_i^t} +\sum_{ra_i+1≤t&lt;∞}\left\lfloor\frac{n^r}{p_i^t} \right\rfloor$$  as $p^t|n^r$ for $t≤ra_i$.  So, the highest power of $p_i^{a_i}$ in  $n^r!$ is $\left\lfloor \frac{q_i}{a_i} \right\rfloor=P_i$(say).   So, the highest power of n=$\prod p_i^{a_i}$ in  $n^r!$ is $min(P_i)$  I could not proceed anymore. Why can't the Klein-Gordon equation explain the hydrogen atom but the Dirac equation does? Why can't the Klein-Gordon equation with a Couloumb potential describe the hydrogen atom?  Why can the first order Dirac equation explain it? What are the failures? When there is less than 5% battery left on a mac, the battery indicator goes red and system performance significantly drops - presumably in an attempt to make that remaining 5% last a little longer.   Is there a way to manually trigger this, so that the system performance is low (and battery life longer), even when there is plentiful battery?   This would theoretically be a way of extending the number of hours on a battery beyond the rated amount. Why $\dim U+\dim U^\perp=\dim V$? Measure the size of a PostgreSQL table row I have a PostgreSQL table. select * is very slow whereas select id is nice and quick. I think it may be that the size of the row is very large and it's taking a while to transport, or it may be some other factor. I need all of the fields (or nearly all of them), so selecting just a subset isn't a quick fix. Selecting the fields that I want is still slow. Here's my table schema minus the names: integer                  | not null default nextval('core_page_id_seq'::regclass) character varying(255)   | not null character varying(64)    | not null text                     | default '{}'::text character varying(255)   |  integer                  | not null default 0 text                     | default '{}'::text text                     |  timestamp with time zone |  integer                  |  timestamp with time zone |  integer                  |   The size of the text field may be any size. But still, no more than a few kilobytes in the worst case. Questions  Is there anything about this that screams 'crazy inefficient'? Is there a way to measure page size at the Postgres command-line to help me debug this? Why is the prospective new kilogram standard a sphere? I can understand the choice of material, silicon 28, but why is it a sphere rather than (say) a cube? Article   I would have thought that a sphere would have been the hardest shape to machine accurately. My Custom Skin won't Change Zero visitors? What happened to site analytics about a week ago? This is the views section of the site analytics visible to 25k users on one of my sites:    That's, uh, not correct.  Our site has had its usual activity level during this time.  I checked a couple other sites, and the pattern is consistent.  This looks like a problem in the analytics data that's coming in; did Google change their API?  Update: Same site a week later; note that in addition to the brief spike of accuracy, page views have dropped to (near-)zero for the whole period, unlike the earlier report.  (I know this question has been closed as a dupe, but I thought having the two screen shots together might help somebody.) How is double negation interpreted in English? Why does find -mtime +1 only return files older than 2 days? I'm struggling to wrap my mind around why the find interprets file modification times the way it does.  Specifically, I don't understand why the -mtime +1 doesn't show files less than 48 hours old.   As an example test I created three test files with different modified dates:   [root@foobox findtest]# ls -l total 0 -rw-r--r-- 1 root root 0 Sep 25 08:44 foo1 -rw-r--r-- 1 root root 0 Sep 24 08:14 foo2 -rw-r--r-- 1 root root 0 Sep 23 08:14 foo3   I then ran find with the -mtime +1 switch and got the following output:  [root@foobox findtest]# find -mtime +1 ./foo3   I then ran find with the -mmin +1440 and got the following output:   [root@foobox findtest]# find -mmin +1440 ./foo3 ./foo2   As per the man page for find, I understand that this is expected behavior:   -mtime n         File’s  data was last modified n*24 hours ago.  See the comments         for -atime to understand how rounding affects the interpretation         of file modification times.   -atime n        File  was  last  accessed n*24 hours ago.  When find figures out        how many 24-hour periods ago the file  was  last  accessed,  any        fractional part is ignored, so to match -atime +1, a file has to        have been accessed at least two days ago.   This still doesn't make sense to me though.  So if a file is 1 day, 23 hours, 59 minutes, and 59 seconds old, find -mtime +1 ignores all that and just treats it like it's 1 day, 0 hours, 0 minutes, and 0 seconds old?  In which case, it's not technically older that 1 day and ignored?   Does... not... compute. I'm using python\pyodbc and would like to access the second result set of a stored procedure. As near as I can tell, pyodbc does not support multiple result sets. Additionally, I can't modify the stored procedure. Are there any options to access the second result set using SQL or some other work-around? Perhaps create a second stored procedure that only returns the second result set of the first? LyX - undefined control sequence but package seems to be added I am using LyX with MikTeX and I am trying to use the following command \oiiint but I am getting the following error:   \oiiint  The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.   I have added \usepackage{mathdesign} to the preamble in:  Document -&gt; Settings -&gt; LaTeX Preamble  Why is this not working? How can I search for special characters? Why is $\alpha \rightarrow \forall x(\alpha)$ not generally correct in first-order logic? Why is $\alpha \rightarrow \forall x(\alpha)$ not generally correct in first-order logic?  i.e., when there are free occurrences of $x$ in $\alpha$, and, on the same point, why is the formula scheme correct when there are no free occurrences of $x$ in $\alpha$? Apply subsurf modifier to only part of an object How can I apply a modifier only to a part of an object? I want to model a goblet with a pedestal, and if I add a subsurf, the pedestal, of course, gets an unwanted round shape. How can I avoid that? I have tried Googling it, but, to my surprise, found nothing. an example of a non-abelian group $G$ containing a proper normal subgroup $N$ such that $G/N$ is abelian.