Limiting distribution $\frac{\sum_{i=1}^n X_i}{\sum_{i=1}^n Y_i}$
Calculate limiting distribution of $\frac{\sum_{i=1}^n X_i}{\sum_{i=1}^n Y_i}$
During real, everyday use, that is?  I'm looking to upgrade a drive in a MacBook Pro, and am looking at either a 750GB/7200RPM or a 1TH/5400RPM drive.  Would I care about the speed difference? Is it worth giving up the additional space on the larger drive? Is there a way to access QGIS plugins in Python?   I'd like to write a script to do some geoprocessing, and I'd like to use the clip, regular points and convex hull tools in fTools, as well as the Road graph plugin. The latter is probably a different can of worms because it is a C++ rather than Python plugin. Can't install/uninstall packages in Debian I'm trying to install/uninstall packages in Debian but getting errors.    I can't remove or add any package, always getting the error.   I tried:  apt-get --remove purge package apg-get remove package dpkg -r package Orthographic Camera Zooming In XNA I am using a spritebatch to render a board. I have created a camera class which can provide me a view and projection matrix. Currently I am supplying the view matrix to my sprite batch when I call begin.  I can get the view matrix to correctly move everything around and do some zooming in and out. My problem is that I want to zoom in on a specific point (for now the center of the screen) but currently zooming just zooms in on the coordinate 0,0.   Here is how I am constructing the view matrix;          _ViewMatrix =             Matrix.CreateTranslation(                 new Vector3(                     (-_Position.X + _Width * _Zoom / 2),                     (-_Position.Y + _Height * _Zoom / 2),                     0) ) *             Matrix.CreateScale(new Vector3(_Zoom, _Zoom, 1));   How could this be altered to make it scale correctly relative to the given point. Later I will probably want to zoom to the mouse position, but if someone has a simple example I'm sure I can work out how to adapt it. I think my MacBook Pro battery was replaced by Apple's service team. How do I check that? When to use icons vs. icons with text vs. just text links? Are there any rules on when to use icons vs. icons with text vs. just text links in a web application?  For example:    vs.   save  vs.  save    Extra question: Is  save -or- save  preferable? I am building a regression model and I need to calculate the below to check for correlations   Correlation between 2 Multi level categorical variables Correlation between a Multi level categorical variable and continuous variable  VIF(variance inflation factor) for a Multi level categorical variables   I believe its wrong to use Pearson correlation coefficient for the above scenarios because Pearson only works for 2 continuous variables.   Please answer the below questions   Which correlation coefficient works best for the above cases ?  VIF calculation only works for continuous data so what is the alternative?  What are the assumptions I need to check before I use the correlation coefficient you suggest?  How to implement them in SAS &amp; R? I have an ASUS N550JK laptop (BIOS version 204) running Ubuntu 14.04 (3.13.0-43-generic kernel).  My issue is that the battery indicator ALWAYS shows that it's using battery power - even when plugged in and fully charged. So even though I have selected to show the battery status in the menu bar only when charging or in use (in power settings), it is ALWAYS displayed. When it reaches a full charge, the indicator icon will either show just the percentage (usually 99% or 100%), or sometimes a very big number for time (like 22:14) along with the percentage. If I go to the power settings menu, it always says "Using battery power", with something like 40 hours remaining. This is all while plugged in and fully charged.  Are there any fixes less drastic than trying to update BIOS, or is a BIOS update necessary to fix this? The latest BIOS version is 208 according to the ASUS website, but the (very brief) descriptions of the updates don't mention anything about battery issues. If at all possible I'd like to avoid updating BIOS because of the risk involved.  I've already tried letting the battery drain all the way and then charging to full, with no luck.  Thanks in advance! Why don't I need to install any Drivers for Ubuntu Looking at the questions and answer to these two questions.  &amp;  and neither mentions the longevity of magic. I recall several instances of magic failing to last; the money that was spread at the  and the broken  on.  If I recall correctly when Voldemort died, the curses on several people were lifted.  I don't recall if any other spells fell apart with his death.  Is there any canon evidence on the the length of time a spell will live? My Father passed away - next test(s) on what remains of his DNA sample? I posted this general question over at the forum on FamilyTreeDNA. Though I received a reply, there is still no answer to my question, so I thought I'd try my luck at posting here.  Anyhow, in early 2009 I bought two kits for the Genographic Project and dutifully had my father do his cheek swabs: one kit for his Y-Chromosome, and one for his mtDNA. Once that was completed, I had his samples transferred to Family Tree DNA.  Then, late in 2009 I paid to have an mtFullSequence done on his mtDNA sample.  My father passed away in 2015. In early 2016, I phoned FTNDA to discuss. The first thing they did was arrange to merge his two original samples into one kit. Then, they suggested doing Family Finder. I did that and recently obtained the interesting results.  So, all told what I have done on my father is:   Y-12 (originally done for the Genographic Project) mtFullSequence Family Finder   My father's Y Haplogroup is R-M269 and I am being presented with the M343 SNP pack on FTNDA.  My question is, what now? My father is gone so the sample that remains with FTDNA is old and finite (their customer service says they still have "one container" of his DNA). His siblings have all passed away -- unfortunately, with no samples taken. What is the best way to make use of the sample of my father's DNA that is left?  Should I refine the Y-Chromosome to Y-111? That seems the most natural (though I'm a male and carry it too). Should any SNP tests best be done on his remaining sample as opposed to on me? Or, should I do nothing and just let his 2009 samples continue to sit at FTDNA?  By phone, FTDNA said that they should have enough left to do the Y-111 and a SNP pack which is great, but I'd love to know independent of their customer service if that is the wisest way to make use of the remaining DNA sample which they have?  Full disclosure: I did have my father do 23andMe in 2010 and I did have his blood drawn and sent to a DNA Bank. I hope to never touch his banked DNA (except maybe to do a full sequence someday), but at least it does exist. My question now is solely how to best make use of my father's remaining sample at Family Tree DNA? Generating data with a given sample covariance matrix Vehicles required/allowed in weigh stations on US interstates How to fix Finance::Quote to pull quotes in GnuCash I made the jump from Jumsoft's Money app to GnuCash a while back. It appealed to all my OCD tendencies. I don't know how to use Perl, or stuff of the sort, but with detailed instructions I manage to get things done... when I can find them.  I set up Finance::Quote to pull quotes after I set up GnuCash. I even managed to get it to pull quotes for Korean funds. And every thing had been working well, until tonight. I only get back a pop-up that states "There was an unknown error while retrieving the price quotes." That's where I need help. What can I do?  I dug around and found that it seems that it has something to do with Yahoo Finance ending it's API support. I also learned that Finance::Quote can pull data from many sources, so I don't really understand why one missing API would break it. I also saw that someone out there is trying to use AEX to pull the quotes instead for GnuCash specifically. I found Finance::Quote on cpan (I also first heard of cpan), but I don't understand what I'm looking at. But that's all beside the point. I don't know how to fix this.  Any help would be appreciated. I'm on Windows 10, GnuCash version 2.6.17, and have Strawberry Perl 5.18.2.2-32bit installed.  edit Thanks everyone who responded. It seems to be working more or less. The currency and Korean funds still haven't updated, but you've shown this horse to water. I'll do my best to drink it now. Double and triple substitution in bash and zsh Follow-up to the background part in .  In bash I can use ${!FOO} for double substitution, in zsh ${(P)FOO}. In both, the old-school (hack-y) eval \$$FOO works.  So, the smartest and most logical thing for me would be ${${FOO}}, ${${${FOO}}}… for double/triple/n substitution. Why doesn’t this work as expected?  Second: What does the \ do in the eval statement? I reckon it’s an escape, making something like eval \$$$FOO impossible. How to do a triple/n substitution with that that works in every shell? rsync over ssh "error in protocol data stream" (code 12). ssh works I tried:  rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home   Error Message  opening connection using: ssh -p YY -l me 146.6.84.206 rsync -&gt;-server -vvve.s . /home  [sender] make_file(testfile,*,0) send_file_list done send_files starting server_recv(2) starting pid=17537 rsync: connection unexpectedly closed (9 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(600)[sender=3.0.6] _exit_cleanup(code=12, file=io.c, line=600): about to call exit(12)   This works fine:  ssh -p YY me@XXXXX   Which suggests to me the problem is neither that sshd is not running nor that port YY is firewalled. I have checked anyway.  What other problems could there be?  EDIT: The problem seems to have been "self resolving." I could not replicate the following day. I started my local computer up. Perhaps notably I had a different IP address than last time. And now rsync magically works. I'd appreciate guesses as to what it could have been in light of it going away. boolean[] vs. BitSet: Which is more efficient? What is more efficient in terms of memory and CPU usage — an array of booleans or a BitSet? Specific BitSet methods are not used, only get/set/clear (==, =, Arrays.fill respectively for an array). Is the money you get from shorting a stock free to use for going long on other stocks? Problem from iOS 10.1.1 to 10.2.1.  I have no photos at all on my iPhone yet in settings it says my photo library is taking up ~200MB of space. The number of space being taken up keeps changing constantly(in the settings app on my phone). In iTunes, the storage bar at the bottom does(when in the sync menu) not show photos.           What is taking up this storage, and how can I reduce it?  Troubleshooting:   I disabled iCloud photo library and iCloud photo stream, still showing the same thing. Tried doing what @User9125 said, didn't work. I had set the date all the way back when I first got my phone, nothing showed up. Rebooting I had hundreds of photos in Whatsapp, I deleted them but I didn't get the storage back. It didn't even make a dent in the amount of storage being used by Photos so I don't think a third-party app could be taking up this storage. I don't think a system app is taking this space either, because I cleared the pictures in mail and messages. I tried using (through sideloading) in Secure Mode and Fast Mode, but it did not clear up the photos. Is my US visa still valid after change in name?