i have an iMac, that has internet access via cable (no WiFi).  I know, that my iMac has Wi-Fi access point.  How can I share the internet connection of iMac with iPad?
I have an iMac, connected to the Internet via Ethernet, and an iPhone 4. I would like to share the iMac's Internet connection to my iPhone via the USB Cable (because my wife dreams of a wifi-less household).  I've set up Internet Sharing, specifying "sharing from: Ethernet  via: USB IPhone", but when I test, the iPhone cannot connect to the Internet. Is there something I need to activate on the iPhone?   iMac, mac os x version: Mountain Lion, 10.8.4 iPhone 4, IOS Version: 6.1
Which site is more reasonable for questions about R, SO or stats.stackexchange.com? I've been using SO for a little over a year now, and recently I've noticed a shift of users between SO and stats.stackexchange.com.   I'm wondering if there has been any discussion on where questions about R, a statistical environment, best fits. Would you say it's better to ask R questions on SO or would it be better to ask over at stats.stackexchange.com? What, if any, determinants would you use to decide to post between the two? What about cross posting? Differential equation with resonance What kind of distribution is this "almost" uniformly distributed data for calls/week? My supervisor asked me to find out which distribution represents a particular situation.  I have a VoIP generator that generates calls "uniformly" distributed between callers. This means that the volume per caller distribution is "almost" uniformly distributed between a minimum and maximum. So by running a test with 10000 users and a min value equal to 30 calls per week and a max value equal to 90 calls/week i obtain that not all the users respect this limits: we have some users that generate &lt;30 calls and some other users that generate >90 calls. It is clear that the obtained distribution is not uniform.  The situation is this:    He said that i have to perform a sort of numerical process in order to find some formulas that could define this distribution. Initially, as wrote before,we wanted to obtain a uniform (min,max) distribution (the green area in the figure) but this is not the case as proved with chi-square test.  Moreover the curve in figure is not symmetric, the probability of call generation below 30 call/week and greater that 90 call/week are not identical (it is high for 90calls/week). The variability of the number of generated call increases with the increasing call generation rates.   "Actually implementation of this distribution is nothing but assigning different call rates in a range for users in domain which indicates implementation of several delta functions. As the call rates increases the variability of the generated calls also increases with the average call rate and this leads to the asymmetric behavior of the curve." [cit. from the Voipgenerator documentation]  Someone can help me?I think that now i cannot use Q-Q plot because i don't know which theoretical distribution i have to use in order to compare it with my empirical data.  Sorry if I have stressed with a similar problem a few weeks ago, but initially we thought we could change the implementation, but now we cannot. Hence i have to discover the type of the distribution i obtained and i don't know how can i do this. Keeping chunks loaded in minecraft I have built an iron farm somewhere far away from my actual spawn chunks in my single player world. In hindsight, this was a dumb idea, but I can't exactly change it anymore. I'd like to keep the thing running all the time, so I'm looking for a way to keep the chunks loaded.  I'm running minecraft 1.12.1, is it possible at the moment? I have looked at some chunk loader mods, but chicken chunk loader hasn't been updated yet, and the others simply didn't work.  I have tried moving the spawn chunks, but that hasn't done anything either.  Edit: I have worked this out with IronAnvil, and it ended up being a render setting in optifine which didn't load them correctly somehow. It has been working fine after I reset my optifine settings to default. strange character replacement on SO I added a comment to  but something strange is happening. The end code reads "); but SO decided to change that to ";);.    I did not add a ; in front of the ).  To further explain what's happening here, the following:  "http://example.com/." http://example.com/. "http://example.com." http://example.com. "http://example.com" http://example.com   renders as: ESTA approved on the same day as B-1/B-2 visa refused I am writing because I have a question regarding my ESTA application and because I could not find a similar case online that would help me at this stage. I have never been to the U.S. so this would be my first visit.    I am a German citizen, hence eligible for the Waiver Program. I applied for an ESTA in June 2014 and got approved. After further research on the Internet I learned that the passport should be valid until 6 months after the planned return date. My passport was due to run out in Feb 2015 - which still should have been fine but because I didn't want to take chances I applied for a new passport which was issued August 2014 and is now valid until August 2024. My passport number has been changed also.    After I received my new passport I was advised by a friend to apply for a B-1/B-2 visa as it would allow me to extend my stay and it seemed like a good idea at first. On the day of my interview I also applied for a new ESTA with my new passport number (just in case) which again was granted.   Unfortunately for me the interview for the B-1/B-2 visa was unsuccessful and I got rejected. I was not aware then that after a rejected interview one could not travel with ESTA, otherwise I would have never risked it!  Now I am very concerned, can I still use my ESTA and enter the U.S.? as I read everywhere that once you get rejected the chances of getting through are very slim and any visa rejection will result in not being able to use the waiver program.  It might be important to note that both the B-1/B-2 interview and the waiver application were on the same day, 21st of August 2014, so depending on how one might look at it that might present a problem too I suppose.  I guess the frustration lies in the fact that I did not need to apply for a B-1/B-2 visa to begin with, and had I not I would now not have these problems. I would like to know how likely it is that I can still travel under the waiver program, if at all, and what my options are at this point. Most of something is plural or singular? I am writing a literature review. My question is which sentence is correct?   Most of the existing work focus on... Most of the existing work focuses on ... Most of the existing studies focus on ...   Thanks Finding Zero Divisors and Units of Rings $\mathbb{Z}_n \times \mathbb{Z}_m$ Show that $\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n} = \max\{c_1,c_2,\ldots,c_m\}$ Let $m\in \mathbb{N}$ and $c_1,c_2,\ldots,c_m \in \mathbb{R}_+$. Show that $$\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n} = \max\{c_1,c_2,\ldots,c_m\}$$  My attempt: Since $$\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n} \leq \lim_{n\rightarrow \infty}\sqrt[n]{\max\{c_1,c_2,\ldots,c_m\}} = \lim_{n\rightarrow \infty} \sqrt[n]{n}\sqrt[n]{\max\{c_1,c_2,\ldots,c_m\}}=\lim_{n \rightarrow \infty} \max\{\sqrt[n]{c_1^n},\sqrt[n]{c_2^n},\ldots,\sqrt[n]{c_m^n}\}=\lim_{n \rightarrow \infty}\max\{c_1,c_2,\ldots,c_m\}=\max\{c_1,c_2,\ldots,c_m\}$$  it follows that $\lim_{n\rightarrow \infty} \sqrt[n]{c_1^n+c_2^n+\ldots+c_m^n}$ is bounded, but I don't think it's monotonically decreasing, at least I can't prove this. Can anybody tell me whether the approach I have chosen is a good one, whether what I have done is correct and how to finish the proof? Why can't you say don't instead of won't? Our textbook says,     A: "I have to go shopping this afternoon."   B: "Don't forget the bread."   A: "No, I won't."   About the last sentence, why can't you say "No, I don't."?  i.e. Why is "No, I don't." not acceptable in this case: Limit connection rights on SQL Server I have an app to deploy in production that uses 'honor system' security. That is, all users connect to the DB using a SQL user/passwd credential and the app manages permissions itself. The latter part doesn't bother me as much as the fact that the connection object contains embedded credentials and can be copied around freely. I'm try to find some way to limit connections to a more limited set of clients. I can create firewall rules to limit by IP, of course. Is there any way to 'prequalify' SQL logins either by Machine account or domain membership? Can I prevent/restrict standard users from installing/uninstalling software? Can i prevent/restrict standard user from installing/uninstalling software in Ubuntu 12.04 desktop? A word for "mercy killing" "Mercy killing" is an act of killing someone who is already dying and in terrible pain, in order to reduce his or her suffering.    Is there any single word for "mercy killing"? Changed permissions of / to user Cannot delete directory with Directory.Delete(path, true) I'm using .NET 3.5, trying to recursively delete a directory using:  Directory.Delete(myPath, true);   My understanding is that this should throw if files are in use or there is a permissions problem, but otherwise it should delete the directory and all of its contents.  However, I occasionally get this:  System.IO.IOException: The directory is not empty.     at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)     at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)     at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)     ...   I'm not surprised that the method sometimes throws, but I'm surprised to get this particular message when recursive is true.  (I know the directory is not empty.)  Is there a reason I'd see this instead of AccessViolationException? How do I change the extension of multiple files? I would like to change a file extension from *.txt to *.text. I tried using the basename command, but I'm having trouble on changing more than one file.  Here's my code:  files=`ls -1 *.txt`  for x in $files do     mv $x "`basename $files .txt`.text" done   I'm getting this error:  basename: too many arguments Try basename --help' for more information 100% Delete U2 from iPhone? I've looked up many ways on how to deal with the U2 songs on my phone, but they will not go away what ever I try.  The most common solution for this problem is to "Show all" music, go to the Music, click the iCloud download button to download it and then turn off "Show all" button again. Generally, this would work but in my situation, it says I haven't purchased the song and I can't download the song again. The song still plays when I click on it, but I can't swipe left to delete and I can't hide it. And yes, I am signed into iTunes. And no, it is not under my purchased section.  Is there any other way to rid of this song?   EDIT:  I'm running iOS7.1.2 on a iPhone5c And the song(s) aren't in my iTunes. It says I have zero items in my iTunes library and it isn't under my purchased songs. The song is only on my iPhone, and I can't redownload it (to delete it again) because then I'd have to purchase the song again.  Thanks. home socket with DC voltage I'm wondering why, in a standard house, instead of using many low power AC-DC rectifier, there isn't a big (like 12V 20~50A) AC-DC rectifier which supplies some wall socket with a DC voltage? In the long run this should be less expensive, given the fact that AC to DC in one big apparatus is done better than in many low-quality transformers, right?  Also, modern chip DC voltage regulators have efficiency of >90%, so smaller (or even larger) voltages are still efficient and possible.  So we could use a 12V socket to charge a phone, desktop computer, laptop, radio etc... and still have an AC socket to move washing machine engine and other things that work better with an AC supply.  Why isn't this done?  edit: real question is: is it convenient, given a standard family (2 laptop, 1 desktop, 4 smarthpone, 1 big tv and some minor electonic) to do so? Does gravity affects on electrons in a noticeable way? Is there a way to force a free electron move in a low speed in order to observe it actually hitting 'on the floor'? Adding console.log to every function automatically