No type inference with DataRowCollection
Why can't I do foreach (var Item in DataTable.Rows)?
Salesforce query on profile not working on user language change I have a query on profile like  profilename = [Select name from profile where id=:userinfo.getUserprofileid ].name  Now I have a check in  VF page  like  profilename  == 'System Administrator' . this works fine if the logged in user language is english. If the user language is different then profile name will be  'System admin' in that language . So how to prevent this beahviour?   Also  is there any particular field in profile which I can use  to identify the profile is system admin? so that I can have check on that field instead of checking for name which is causing the problem, for example I think modifyall filed is only checked for system admin. The volume "filesystem root" has only 0 bytes disk space remaining? I was reading a bit of Landau and Lifshitz's Mechanics the other day and ran into the following part, where the authors are about to derive the kinetic energy of a free particle. They use the fact that the Lagrangian of this particle must be the same (or at most, differ by the total time derivative of a function of co-ordinates and time) in different inertial frames.     We have $L'=L(v'^2)=L(v^2+2\mathbf{v}\cdot\boldsymbol{\epsilon}+\boldsymbol{\epsilon}^2)$. Expanding this expression in powers of $\boldsymbol{\epsilon}$ and neglecting terms above the first order, we obtain    $$L(v'^2)=L(v^2)+\frac{\partial L(v^2)}{\partial (v^2)}2\mathbf{v}\cdot\boldsymbol{\epsilon}.$$   I think I'm ok with all the physics in this section. What I don't get is just the part I quoted above (so maybe this post is better suited for the math site, but since this is book is so physics-y I thought I'd post it here). My math is pretty rusty, so I'm not really sure- how do the authors expand the function to arrive at the above expression? It reminds me a bit of a Taylor expansion, but not very much. What's the process used to arrive at it? Using trickle to limit the bandwidth of a VirtualBox VM I'm trying to limit the bandwidth of a virtual machine running via VirtualBox.   trickle -d 5 virtualbox doesn't work, I believe because of an issue with child processes (trickle -d 5 sudo apt-get upgrade doesn't work either)  How can I limit the download/upload bandwidth of VirtualBox's VMs? Consider the following Gaussian Integral $$I = \int_{-\infty}^{\infty} e^{-x^2} \ dx$$  The usual trick to calculate this is to consider $$I^2 = \left(\int_{-\infty}^{\infty} e^{-x^2} \ dx \right) \left(\int_{-\infty}^{\infty} e^{-y^{2}} \ dy \right)$$  and convert to polar coordinates. We get $\sqrt{\pi}$ as the answer.   Is it possible to get the same answer by considering $I^{3}, I^{4}, \dots, I^{n}$? How do you normalize a zero vector I want to do something like the following in TeX:  \begin{nobreak}    Text here will not split over pages, it will remain as one continuous chunk. If there isn't enough room for it on the current page a pagebreak will happen before it and the whole chunk will start on the next page.    \end{nobreak}   Is this possible? How is Google Scholar compared to other academic search engines and catalogues such as ScienceDirect, Scopus, and universities' own online catalogues--in terms of the following?   comprehensiveness of search (i.e. can fetch all the ever published relevant titles, whether the user have access to full-texts or not) accuracy and precision of results advanced search features usability  Are there good reasons for (or against) using Google Scholar as the only literature search tool for PhD research? Does the answer of (2) depend on the research discipline? indefinite article before proper names Kafka, discovered in the 1920s by the Expressionists, damned by the Nazis in the 1930s and by the Marxists at more or less the same time, was reinvented after World War II by the French Existentialists. They saw in him the father of Angst and the Angst for the father: an Albert Camus before his time.   Can you tell me what the purpose of using the indefinite article before the proper name is in the sentence above. What it be a mistake to write just "Albert Camus" without the article? Recently I have started playing with jQuery, and have been following a couple of tutorials. Now I feel slightly competent with using it (it's pretty easy), and I thought it would be cool if I were able to make a 'console' on my webpage (as in, you press the ` key like you do in  games, etc.), and then have it Ajax itself back to the server in-order to do stuff.  I originally thought the best way would be to just get the text inside the textarea, and then split it, or should I use the keyup event, convert the keycode returned to an ASCII character, append the character to a string and send the string to the server (then empty the string).  I couldn't find any information on getting text from a textarea, all I got was keyup information. Also, how can I convert the keycode returned to an ASCII character? Grub does not show a Windows 8 option after dual boot So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time.  After installing Ubuntu, my computer still loads Windows 8 directly. I then added grubx64.efi to the white list of my boot loader. But after that, my machine loads Ubuntu directly without even a shadow of GRUB showing up!  I used boot-repair and I got this paste.ubuntu URL: . After running boot-repair (and re-white listing the grubx64.efi file), GRUB now shows up but without any Windows 8 option!  Lastly, I ran sudo fdisk -l and it gave me this:  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x6396389f     Device Boot      Start         End      Blocks   Id  System /dev/sda1               1  1465149167   732574583+  ee  GPT Partition 1 does not start on physical sector boundary.   I'm guessing my problem has something to do with the warning from fdisk above but I don't know what to do with it. How do I proceed now?  Edit  My etc/default/grub is as follows:  # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"   Also, just for the record,  in installing my dual-boot. The tutorial (which uses, 11.10, I must note), doesn't mention anything about this problem. Is there anything there I shouldn't have done? Is ¬¬(¬¬P → P) provable in intuitionistic logic? Show that the cardinality of $\mathbb N$ is the same as the cardinality of $\mathbb N \times \mathbb N$ Show that $| \mathbb N | = | \mathbb N \times \mathbb N |$, i.e., the cardinality  of $\mathbb N$ is the same as the cardinality of $\mathbb N \times \mathbb N$.   How do I show it using the Fundamental Theorem of Arithmetic and the Schröder–Bernstein Theorem? Why are the longer edges being beveled more? I'll preface this by saying I'm very new to Blender - I'm trying to put a bevel on an edge, looks something like this:    As you can see, the vertical side is much longer than the horizontal side.  When I apply to bevel to the edge there, the bevel stretches proportionally - so there's 'more' bevel on the longer side.  I want to bevel without any 'ratio' like that - just a 45-degree bevel, if that makes any sense.  Do I have to put in a loop cut to make the side lengths equal?  I tried using a sub-surf modifier, but it applies on a bunch of nearby edges, when I just want to round this one corner. How to prevent click events on the document body (maybe a bug in Cordova?) Where can I ask questions regarding Electronics? Count total number of files in particular directory with specific extension I want to count the total number of files in particular directory that ends with ".mp4" extension.  I am getting following command:  ls -F |grep -v / | wc -l   It count all the files in particular directory, but I want the count of files that end with .mp4 extension.  Is there any Ubuntu command for that? "Insufficient storage" when trying to install new app Why not use "which"? What to use then? I understand that the entrance pupil is the image of the aperture as seen from the front of the lens. However, is the size of the entrance pupil the same as the size of the effective aperture? In other words, if I measure the size of the entrance pupil by looking at it, will that be equivalent to the focal length of the lens divided by the f-number (with the focus set to infinity)? I know that sometimes this is hard to estimate because of the shape of the aperture blades, but I was wondering whether pupil and aperture can be quite different (perhaps at very low magnification).