Here is the mvc webgrid codes:  @grid.GetHtml(                 displayHeader: false,                 htmlAttributes: new { id = "Grid1" },                  tableStyle: "webgrad4",                 columns: new[] {               gridRight.Column(columnName: "Dept_ID", header: "Dept ID"),               gridRight.Column(columnName: "Inv_ID", header: "Inv ID"),                    gridRight.Column(columnName: "Inv_NAME", header: "Inv Name"),                     gridRight.Column(columnName: "U_ID", header: "User ID"),                      gridRight.Column(columnName: "SEC_ID", header: "SEC ID")                     })   and this javascript codes:  $(document).ready(function () {     $('#Grid1 tr').click(function () {     alert("test");         $(this).addClass('selectRow');         var rowId = $(this).closest("tr").find("td:first").html();         var rowId2 = $(this).closest("tr").find("td:nth-child(2)").html();         $("#RightRecID").val(rowId);         $("#RightRecID2").val(rowId2);         $("#RightGridID").val("Grid1");         $('#Grid1 tr').not(this).removeClass('selectRow');     }); });   The above codes are working well when the data is loaded to webgrid in default. but after the following ajax codes generating the data of table rows and appended to the webgrid, the clicking event is not working.   $.each(response, function (j, dataval) {       $("#Grid1").append('&lt;tr&gt;&lt;td&gt;' + (dataval.DEPT_ID == null ? "" : dataval.DEPT_ID) + '&lt;/td&gt; + &lt;td&gt;' + dataval.Inv_ID + '&lt;/td&gt; +&lt;td&gt;' + dataval.Inv_NAME + '&lt;/td&gt;&lt;td&gt;' +             (dataval.U_ID == null ? "" : dataval.U_ID) + '&lt;/td&gt;&lt;td&gt; ' + (dataval.SEC_ID == null ? "" : dataval.SEC_ID) + '&lt;/td&gt;&lt;/tr&gt;');         pageCount = dataval.PageCount;           });   I also tried to add the id of the ajax added tr like this:    $.each(response, function (j, dataval) {       $("#Grid1").append('&lt;tr id = "newRowID"&gt;&lt;td&gt;' + (dataval.DEPT_ID == null ? "" : dataval.DEPT_ID) + '&lt;/td&gt; + &lt;td&gt;' + dataval.Inv_ID + '&lt;/td&gt; +&lt;td&gt;' + dataval.Inv_NAME + '&lt;/td&gt;&lt;td&gt;' +             (dataval.U_ID == null ? "" : dataval.U_ID) + '&lt;/td&gt;&lt;td&gt; ' + (dataval.SEC_ID == null ? "" : dataval.SEC_ID) + '&lt;/td&gt;&lt;/tr&gt;');         pageCount = dataval.PageCount;      });   and then created a simple test for the above codes:  $(document).ready(function () {     $('#newRowID').on('click', function () {         alert("test1");     });   The click event doesn't trigger the alert at all, from F12 key debug, I can see the id "newRowID" is added, but it can not be recognized, are there any other way to resolve this issue? thanks  edited: eventually, the table rows created by ajax dynamically should use the same codes as the click event of default table data like this:  $(document).ready(function () { $('#newRowID').on('click', function () {     alert("test1");     $(this).addClass('selectRow');     var rowId = $(this).closest("tr").find("td:first").html();     var rowId2 = $(this).closest("tr").find("td:nth-child(2)").html();     $("#RightRecID").val(rowId);     $("#RightRecID2").val(rowId2);     $("#RightGridID").val("Grid1");     $('#Grid1 tr').not(this).removeClass('selectRow');  });
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.
How to treat differentials and infinitesimals? In my Calculus class, my math teacher said that differentials such as $dx$ are not numbers, and should not be treated as such.  In my physics class, it seems like we treat differentials exactly like numbers, and my physics teacher even said that they are in essence very small numbers.   Can someone give me an explanation which satisfies both classes, or do I just have to accept that the differentials are treated differently in different courses?  P.S. I took Calculus 2 so please try to keep the answers around that level.  P.S.S. Feel free to edit the tags if you think it is appropriate. After reading an article about Ubuntu's netflix support I decided to try running netflix through chromium but I got this error code: M7063-1913 I assumed that it was a problem with html5 but in the playback preferences it doesn't give me the option to use it. As a bulk sender, is there a way to make Gmail show my avatar?    I would like to obtain this without creating a Google Account.  Maybe embedding my vCard? Or maybe ? Making holes in an object using an image as a reference I have an object already created in blender, a tree, or a human, or a pipe.. and I need this to be drilled with multiple holes.   The holes are painted in an image, that is, it is an image that has a repeating an images pattern (they can be circles, squares, or any form).  Here are some examples for drilling-pattern: What do they do with all the plates and cups in Star Trek? Whenever someone in Star Trek creates food or drink in the replicator it is generated in the bowl, plate, or cup. It seems like after a few months they would have piles of used dishes from replicator food while making more for every meal. What do they do with all the dishes? Linear transformation $T:\mathbb{R}^{n}\rightarrow\mathbb{R}^{n}$ such that $T^{2}=\lambda T.$ Let $T$ be a linear transformation $T:\mathbb{R}^{n}\rightarrow\mathbb{R}^{n}$ such that $T^{2}=\lambda T$ for some $\lambda\in\mathbb{R}.$ Then which of the following is/are true?  $1.\|T(x)\|=|\lambda|\|x\|$ for all $x\in\mathbb{R}^n.$  $2.$ If $\|T(x)\|=\|x\|$ for some non-zero $x\in\mathbb{R}^{n}$, then $\lambda=\pm 1.$  $3.T=\lambda I$ where $I$ is the identity transformation on $\mathbb{R}^{n}.$  $4.$ If $\|T(x)\|&gt;\|x\|$ for a nonzero vector $x\in\mathbb{R}^{n},$ then $T$ is singular.  According to me since $T^{2}=\lambda T$ we have $T$ satisfies the polynomial $x^{2}-\lambda x.$ So choices for its minimal polynomial are $x,x-\lambda,x(x-\lambda).$ So $3$rd option is clearly incorrect and $4$th option is not satisfied if $T=I$ and hence correct one. I am confused in first two options . Please help me. Thanks in advance. What size breaker and wire do I need to run 2 GFCI receptacles and a flood light on exterior of my house? Is it OK to use a 15amp breaker and a 14ga wire (14/2 copper) to run 2 GFCI receptacles and a flood light on the exterior of my home? The voltage is 120.  The 2 receptacles are rated at 15amps and won't be carrying a continuous load very often. Might plug a George foreman grill into it every now and then, maybe some party lights. And an occasional power tool (hedge trimmers, weed eater, etc.). I believe the flood lights are 75w a piece.  Should I go with a 20amp/12ga wire instead?  Update**  It is a new circuit so I think I will go with the 20A/12ga just to be safe and I will check the code requirements for having receptacles on the same circuits as lights!  Lets just it is OK to have both receptacles and lights on the same circuit. Is this an acceptable way to wire it? Using a junction box to divert wire towards the outlets and a separate wire to control the flood light with a switch on the same circuit? Pardon my drawing! What longest time ever was achieved at holding light in a closed volume? For what longest possible time it was possible to hold light in a closed volume with mirrored walls?   I would be most interested for results with empty volume but results with solid-state volume may be also interesting. How to reliably keep an SSH tunnel open? I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken.  If I could at least monitor the tunnel automatically, I could restart the tunnel when it hangs, but I haven't even figured a way of doing that.  Bonus points for the one who can tell me how to prevent my ssh connection from hanging, of course! I don't understand this and I'm now worried as I have donated to a lot of servers and I don't want to lose this account. On the launcher it says my new username but when I log on it says "Account not Authenticated with minecraft.net" and "Non-Valid Username".  How can I regain the ability to use my account online? I have read several introductory texts about LSTM online, but none of them give a rigorously mathematical explanation of what the model actually does. For instance, why does the forget gate forget any more than any of the other gates in the LSTM unit?  Which papers and/or books should I read if I want to get a deeper understanding of LSTM? How to break multi digit number into separate digits in VHDL? I found the method .But I do not know how to perform this in VHDL. Let a fixed point number (12 downto -19) like 3456.478396 I need break this number entirely into separate numbers 3456.478396 --> 3,  4, 5,  6,  (dot) ,  4,  7,  8,  3,  9,  6...  into 11 integer type variables. How to perform this in VHDL?  signal example : sfixed(4 downto -4); --'example' contains 9.75 then it is storage as "01001.1100". --simply example ="10011100". --10011100 --&gt; integer 156   How to get back original 9.75 number from 156 to separate into single digits?  I USED,  library ieee; library ieee_proposed; use ieee.std_logic_1164.all; use ieee.numeric_std.all; use ieee_proposed.float_pkg.ALL; use ieee_proposed.fixed_pkg.ALL; use ieee_proposed.fixed_float_types.ALL; Printing reverse of any String without using any predefined function? What are the uses of Unicorns? What different uses does the unicorn have?  Other than the delicious taste of them coming off the grill.   At Wit's End #221 I know that contents of double quotes are expanded, whereas the contents of single quotes are not, such that  echo '$1'   gives  $1   where as   echo "$1"   gives  &lt;the argument - blank in this particular example&gt;   the same as   echo $1   However, the question  led me to wonder why double quotes and not single quotes were used when declaring the alias, thus:  alias cutf="_cutf"   instead of   alias cutf='_cutf'   I would have employed single quotes as in the latter example. Most examples on the web use single too, unless there is some expansion required. However, in this case, no expansion, to my eyes, is apparent. Is it that, in this case, they are interchangeable, or are the double quotes necessary because a function definition is employed? Some conditions require that a person lie in bed all the time until recovered. Is there a name for such conditions or people experiencing them at the moment?   For example,      I am currently &lt;bed sick&gt; and can't help you with your homework.   I tried looking for bed sick but hit a dead end. OpenGL GLX context is not using direct rendering, which may cause performance problems. (steam) AMD DRIVER When I start steam in a terminal, I get the following error messages   charlie@SteamMPL:~$ steam rm: no se puede borrar «/home/charlie/.steam/steam»: Es un directorio rm: no se puede borrar «/home/charlie/.steam/bin»: Es un directorio Running Steam on ubuntu 14.04 64-bit STEAM_RUNTIME is enabled automatically [2014-08-03 11:50:13] Startup - updater built Jul 15 2014 18:14:26 Installing breakpad exception handler for appid(steam)/version(1405474565_client) libGL error: failed to load driver: swrast Looks like steam didn't shutdown cleanly, scheduling immediate update check Installing breakpad exception handler for appid(steam)/version(1405474565_client) [2014-08-03 11:50:14] Checking for update on startup [2014-08-03 11:50:14] Buscando actualizaciones disponibles... Installing breakpad exception handler for appid(steam)/version(1405474565_client) [2014-08-03 11:50:14] Download skipped: /client/steam_client_ubuntu12 version 1405474565, installed version 1405474565 [2014-08-03 11:50:14] Nothing to do [2014-08-03 11:50:14] Verificando instalación... [2014-08-03 11:50:14] Performing checksum verification of executable files [2014-08-03 11:50:15] Verification complete Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "unity-gtk-module" Installing breakpad exception handler for appid(steam)/version(1405474565_client) Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number [0803/115015:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation libGL error: failed to load driver: swrast Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.   Hardware information:   CPU: AMD Athlon x4 760k  GPU: AMD Radeon R7 250 1 GB GDDR5 (Driver: Catalyst 14.4) RAM: 8 GB DDR3 1600   What can I do to circumvent this issue? Does time freeze at Absolute Zero? Time has many definitions per se, but the basic idea being it's "the measurement of change" so as we know, all matter looses it's ability of changing with the loss of kinetic energy. and the where it becomes zero is the absolute zero (−273.15°C). so my question would be, will time stop/freeze at Absolute zero? and does time get slow while reaching there? Actual memory usage of a process The following are the memory usage of mysql and apache respectively on my server. As per the output of pmap say, mysql is using about 379M and apache is using 277M.   [root@server ~]# pmap 10436 | grep total  total           379564K  [root@server ~]# pmap 10515 | grep total  total           277588K   Comparing this with the output of top, I see the values are almost matching.    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 10515 apache    20   0  271m  32m 3132 S  0.0  6.6   0:00.73 /usr/sbin/httpd 10436 mysql     20   0  370m  21m 6188 S  0.0  4.3   0:06.07 /usr/libexec/mysqld --basedir=....   Now these values definitely are not the current memory usage of those two processes, since if it were it would've exceeded the 512M ram on my system and I understand the fact that these are the size of the pages assigned to these two processes and not really the size of the memory actively used by them. Now, when we use pmap -x, I see an extra coloumn Dirty which shows far less memory usage for the process. As seen in the example show below, the Dirty coloumn shows 15M as opposed to 379M in the first coloumn. My question is: Is the value under coloumn Dirty is the 'real' amount of memory actively used by that process? If its not, then how can we find out the real memory usage of a process? Not ps and top for the same reasons above. Do we have anything under /proc that will give this info?  [root@server ~]# pmap -x 10436 | grep total total kB          379564   21528   15340 [root@server ~]#   [root@server ~]# free -m              total       used       free     shared    buffers     cached Mem:           489        447         41          0         52        214 -/+ buffers/cache:        180        308 Swap:         1023          0       1023 [root@server ~]# Extract information from a text file