Getting values from checkboxes using javascript
How to retrieve checkboxes values in jQuery
Automatically make various multiple stroke colour the same as various underlying fill colours. I have auto traced a photograph in illustrator - its got thousands of vectors once I expand it and illustrator has converted each of them to a filled colour - I want to now trace the edges of them with a grungy brush but using the underlying fill colour. Where in illustrator can I stroke or outline these fills using the underlying colour - surely this is something that the program automatically does?   I've found this script online but don't know how to implement it. I'm new to this so any help appreciated. Many thanks.   James   var idoc = app.activeDocument;   var sel = idoc.selection;    for (i=0; i&lt;sel.length; i++) {       var ipath = sel[i];       ipath.stroked = true;       ipath.strokeColor = ipath.fillColor;   } How to get the native version of Spotify running? How to read dash files Prove that a finite union of closed sets is also closed Can a person negotiate with banks on CD interest rates? I use a brick and mortar bank for some of my savings. I’d love to get a CD interest rate closer to what Ally or other online banks offer.   Are brick and mortar banks will to negotiate with customers on interest rates? For instance, if I went into a branch and said I’m moving my money to Ally unless the bank matches Ally’s rates, do I have any chance of getting them to? Why don't the White Walkers take the sea route to Westeros Multicollinearity when individual regressions are significant, but VIFs are low I have 6 variables ($x_{1}...x_{6}$) that I am using to predict $y$. When performing my data analysis, I first tried a multiple linear regression. From this, only two variables were significant. However, when I ran a linear regression comparing each variable individually to $y$, all but one were significant ($p$ anywhere from less than 0.01 to less than 0.001). It was suggested that this was due to multicollinearity.  My initial research on this suggests checking for multicollinearity by using . I downloaded the appropriate package from R, and ended up with the resulting VIFs: 3.35, 3.59, 2.64, 2.24, and 5.56. According to various sources online, the point you should be worried about multicollinearity with your VIFs is either at 4 or 5.   I am now stumped about what this means for my data. Do I or do I not have a multicollinearity problem? If I do, then how should I proceed? (I cannot collect more data, and the variables are parts of a model that aren't obviously related) If I don't have this problem, then what should I be taking from my data, particularly the fact that these variables are highly significant individually, but not significant at all when combined.  Edit: Some questions have been asked regarding the dataset, and so I would like to expand...  In this particular case, we're looking to understand how specific social cues (gesture, gaze, etc) affect the likelihood of someone producing some other cue. We would like our model to include all significant attributes, so I am uncomfortable removing some that seem redundant.  There are not any hypotheses with this right now. Rather, the problem is unstudied, and we are looking to gain a better understanding of what attributes are important. As far as I can tell, these attributes should be relatively independent of one another (you can't just say gaze and gestures are the same, or one the subset of another). It would be nice to be able to report p values for everything, since we would like other researchers to understand what has been looked at.  Edit 2: Since it came up somewhere below, my $n$ is 24. What does a "CALLBACK" declaration in C do? I was looking through some code from the  library and came across a function declared like this:  LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)   Now, I'm a Delphi coder.  No hablo C muy bien, senor.  But I remember enough syntax from my college courses to read it like this:  Function name is WndProc.  Argument list is pretty self-explanatory.  Function return type is LRESULT.  But what in the world is that "CALLBACK" doing there?  In Delphi, any function can be used as a callback; you just need to pass the right type of function pointer.  Is there any particular reason why C doesn't work that way?  Or does it mean something different? How can I get Firefox to open torrent files with Transmission? Every time I download a torrent file (.torrent), Firefox thinks I should open it with a text editor. How can I get it to open with Transmission? In Edit -> Preferences -> Applications, there's no setting for torrent files, and no apparent way to add a new filetype. I am downloading the HTML source page of a website using cURL command. The problem is, I do not want most of the contents in the page. I just need the first 100 lines of the source page. Is there a way to stop the download of the page after first few lines?  Currently, I have the below command working but it does not seem to be time effective.   curl -r[0-1] "http://www.freebase.com/m/045c7b" &gt; foo.txt   I tried changing the value from 1 to .5 and .05 and still the entire web page is getting downloaded.   I am looking at time less than a second to execute the above command.    EDIT  From the man page of cURL, I see that "You should also be aware that many HTTP/1.1 servers do not have this feature enabled, so that when you attempt to get a range, you'll instead get the whole document." So if the server is not supporting the range querying, is there some other command in nix environment which will help me accomplishing what am trying to do? Pluralizing Numbered Items When is it kosher to delete one's own answer? According to , the only restriction on self-deleting an answer is that you can't delete an answer that's been accepted.  But I've also heard of users getting in trouble for deleting (non-accepted) answers, and there's the CC-SA license to consider, so -- quite aside from what is technically possible -- my question is when it's permitted to delete your own answer.  Some cases to consider:   You now believe the answer is incorrect. Your answer is correct, but another answer covers the same territory better. You aren't satisfied with the quality/rigor of your answer, e.g. it's speculative and you didn't back it up (on a site that expects that). Something in the answer embarrasses you and you'd rather just make it go away. Your answer wasn't well-received by the community (whether that's "meh" or "make the rep bleeding stop please"). (I'm sure there are others; this isn't meant to be an exhaustive list.)   Does voting matter, either in absolute terms or in comparison to other answers?  For example, maybe it's ok to delete a lower-voted one but not the top-voted answer, or one with score > N??  There is a badge, Disciplined, for deleting your own post of score 3 or higher.  This tells me that it's sometimes ok to delete upvoted answers.  But I'm not sure how much policy we can infer from badges.  Could we have some clarification please? How much will a poor first semester affect my grad school chances? Bug Identification: Tiny Bugs Why did the slaver in Astapor think Daenerys wouldn't do exactly what she did? Spoilers! (do I have to even say that here?)  I recently rewatched the episode of Game of Thrones where Daenerys is in Astapor. She makes the deal with the master slaver guy, where she trades him one of her dragons for 8,000 of his very tough slaves. I immediately thought this was stupid for two reasons:   Why would he think the dragon would immediately obey him rather than her? Maybe he doesn't quite believe the 'Mother of Dragons' lore, but it's still basically a pet at the very least. This one isn't as bad though, as... Why would he possibly think she wouldn't betray him and use her freshly bought slaves to take back her dragon? He just traded her literally all his slaves and he has not been kind to her so far. He has motivation to not go back on the deal -- he's running a business, basically... but she has no reason not to.   I guess you could argue that he was blinded by greed, but I think that would be poor writing -- he's in a vicious trade, I can't imagine he would've survived long thinking so naively.  Does anyone have a good explanation? How to switch between Ubuntu and Windows 7 without a reboot I have installed windows 7 and then Ubuntu 11.04. Now I want to know how I can switch from Ubuntu to Windows 7 and from Windows 7 to Ubuntu without restarting the computer. Hide or disable form options? Possible Duplicate:          On a create/edit form, where the options available to the end user will depend on their previous input, in order to give the user some guides on how to fill the data, we shall:   Disable the controls and enable them only when the pre-requisites are meet. Hide them instead Do nothing Other options   Example: when asking who is the legal representative of someone, the form will contain a combobox with the following options: the own person, their parents or someone else. Only in the case the user chooses someone else, he was to fill a textbox telling who.  Which option will provide the best user experience? Missing return statement in a non-void method compiles revoking apex managed sharing permission I'm using apex managed sharing to grant permissions very similar to how it is done in this example trigger:   However, I also need the ability to revoke or delete this access and having it revert to private. The reason for this is my understanding is that there are only two access options for managed sharing access 'read' or 'edit' with no 3rd option of 'none' or 'private'.  Reference:   I've tried adding the shares to a list and deleting the list and I'm getting the error: DELETE_FAILED, cannot delete owner or rule share rows,   I also noticed there is a field on the share object 'isDeleted' this field however is not writable.  Does anyone have experience revoking or deleting these permissions once they've been created?  Thanks! I note that the installation of qgis completed successfully. However, the log procedure returns this message:     "...... Estrazione: wvhpgn.gsb Estrazione: wyhpgn.gsb Cartella di   destinazione: C:\Programmi\Quantum GIS Lisboa Creato il programma di   disinstallazione: C:\Programmi\Quantum GIS Lisboa\Uninstall-QGIS.exe   Crea cartella: C:\Documents and Settings\All Users\Menu   Avvio\Programmi\Quantum GIS Lisboa   Impossibile accedere al file. Il file Š utilizzato da un altro processo. Running postinstall grass64.bat... Running postinstall   msvcrt.bat... ......"      System parameters: Quantum GIS Lisboa 1.8.0  Microsoft Windows   Professional, Versione 2002, Service Pack 3   The message:      Impossibile accedere al file. Il file Š utilizzato da un altro   processo   translates as      Unable to access the file. The file used by another process   I then get the following error:     "Impossibile trovare il punto di ingresso locale_charset della   procedura nella libreria di collegamento dinamico iconv.dll"   which translates as:     Can not find the entry point of locale_charset procedure in the   dynamic link library iconv.dll