Object[] variableName; vs Object variableName[];
Difference between int[] array and int array[]
How do you report percentage accuracy for glmnet logistic regression? Parsing an Int from a string in javascript In javascript, what is the best way to parse an INT from a string which starts with a letter (such as "test[123]")?  I need something that will work for the example below.  My JS:  $(document).ready(function() {      $(':input').change( function() {         id = parseInt($(this).attr("id"));  //fails for the data below         alert(id);     }); }   My generated HTML:  &lt;select id="attribute[123]"&gt; &lt;!-- various options --&gt; &lt;/select&gt; &lt;select id="attribute[456]"&gt; &lt;!-- various options --&gt; &lt;/select&gt;   Thank you! How do I migrate my Keychain's "Local Items" to a new Mac? Deciphering the .NET clr20r3 exception parameters P1..P10 Difference between a Structure and a Union Which facility upgrade unlocks maneuver nodes in KSP I've been writing checks this way for the last ~15 years or so:    Namely, the amount field is written using numbers like     1,500 and 00/100    rather than the tedious, painful spelling out of      One Thousand Five Hundred and 00/100   99 times out of 100, this works fine. But occasionally you'll get certain rare human tellers who simply refuse to believe this is a valid check and you have to fight over it. I still figure the time I've saved by not writing out all those ridiculous numbers-as-words is still worth it, overall, but it's definitely irritating.  So: who's right? Is a check with the amount written in numbers valid ... or not? I know that there is a simple way to shutdown the computer in command prompt, but is it possible to do system updates and then shutdown the computer in command prompt?   For example, when Vista needs to install updates, it will let me install them and shut down by clicking the Shut Down button (while relegating the normal shut down button into the menu). So is there a command to do this in command prompt? extract the 4th column from a csv file using unix command I have a csv file formatted as below.  "col1","col2","col3","col4" "1","text1","&lt;p&gt;big       html      text&lt;/p&gt; ","4th column" "2","text2","&lt;p&gt;big2       html2      text2&lt;/p&gt; ","4th column2"   I want to extract the 4th column using.  I think that awk is the best tool for this ( let me know if I am wrong). I tried this   awk -F, '{print $4}' myFile.csv    but it fails.  I think because the 3rd column is multiline one.  How can I use awk or any other unix command to extract the 4th column.  I am looking for an efficient solution since my real file is big (> 2GB) What determines who gets or becomes an MVP? This hasn't been asked yet, but what determines how or who gets an MVP award in CS:GO? After a match, there's always a little blurb that first states who got MVP first, and then a random fact (Player X got Y knife kills, Player X lasted Y rounds without dying, etc.).  Do these two factors both "factor" into getting an MVP award? Is it a set percentage of enemies you kill? Is there a priority list (ie, planting bomb, defusing, etc.)? Showing that $f_0 (x_1, \ldots, x_m) \mathrm tr A =\displaystyle{ \sum_{i=1}^n} f_0(x_1, \ldots, Ax_i,\ldots, x_m)$ Following discussion , what constitutes a weapon damage die?  Is it any damage die dealt by the weapon? For example, consider a  longsword.     While the sword is ablaze, it deals an extra 2d6 fire damage to any target it hits.   What are the weapon damage dice? Just the 1d8 from the longsword? Or do the 2d6 Fire damage also count? Unable to send mail to hotmail from rackspace cloud Cannot find Background Images feature to add in a photo in Blender 2.8  Where is it? How to evaluate the integral $\int_0^{\pi}\frac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx$? Evaluate the integral $$\int_0^{\pi}\frac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx.$$   I have no idea.   $$\int_0^{\pi}\dfrac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx=\int_0^{\pi/2}\dfrac{a^n\sin^2x+b^n\cos^2x}{a^{2n}\sin^2x+b^{2n}\cos^2x}dx=\int_0^{\pi/2}\dfrac{a^n\tan^2x+b^n}{a^{2n}\tan^2x+b^{2n}}dx$$  I try the substitution $\tan{x}=t$, but it doesn’t work. Is  structured data (in Microdata, JSON-LD, or RDFa) relevant for SEO?   I know that structured data can provide benefits in other areas, but here I’m only asking about its significance for general web search engines. If $[G' : G'']\leq p^2$, then $G'$ is abelian. "Items collection must be empty before using ItemsSource." I'm trying to get images to display in a WPF ListView styled like a WrapPanel as described in this old ATC Avalon Team article: .    When I try to populate the ListView with a LINQ-to-Entities queried collection of ADO.NET Entity Framework objects I get the following exception:  Exception     Items collection must be empty before   using ItemsSource.   My code&hellip;  Visual Basic  Private Sub Window1_Loaded(...) Handles MyBase.Loaded     ListViewImages.ItemsSource = From g In db.Graphic _                                  Order By g.DateAdded Ascending _                                  Select g End Sub   XAML  &lt;ListView Name="ListViewImages"           SelectionMode="Single"           ItemsSource="{Binding}"&gt;     &lt;local:ImageView /&gt; &lt;/ListView&gt;   I put a breakpoint on that line.  ListViewImages.ItemsSource is Nothing just before the LINQ assignment. Why does node not evaluate Math.tan(Math.PI/2) to Infinity but Chrome V8 does? Taking a spin off of this question:  in a new direction for 2014.  Taking into account a basic Windows infrastructure:   domain controllers Exchange 2007/2010/2013 Sharepoint SQL File Servers / Print Servers AD Integrated DNS AD authenticated 3rd party devices (let's say 802.1X for networking and maybe some content-filtering, etc.) AD/LDAP authenticated "administrative" functions on IT apps/hardware/etc. perhaps some KMS stuff throw in a CA if you'd like home grown apps 3rd party in-house apps   Now, let's rip it all out and decide we are going to the cloud.  We've contracted to move Exchange/Sharepoint/File Services to Office 365.  SQL will now be hosted as well on  something like Azure.  We've gotten away from the need for AD-DNS and simply run everything via a simple Windows DNS server.  We still need 802.1X and would like SSO if possible to our various cloud apps.  Home grown and 3rd party in-house apps would likely stay, but have the ability to use internal user databases instead of AD authentication  The question is...do we really need Active Directory at all?  Or more to the point, AD on-premise or even hosted via Azure or similar (ADFS) or running ADDS on a hosted VM through Azure or similar.  Could/Should we look to something else like a 3rd party SSO option such as  or similar that can provide SSO functionality even if it is as simple as LastPass or similar for each user?  What kind of legitimate needs does AD fulfill if everything else in the cloud?  Could a MS-centric infrastructure get away with not having AD at all if they move everything that previously relied on AD to SaaS offerings that didn't rely on AD authentication?