My company is planning to develop iphone-native-applications.  I'm good with Linux.  The questions are:  Do we need a MAC machine to develop iphone-app?  Can a normal development-framework like NETBEANS / ECLIPSE suffice?  What are the other pre-requisites that i might need?  Any help is very much appreciated.  Plz, pardon with me being totally naive with this IPHONE :-)  Thanks
I've heard that you need to get a Mac if you want to develop iPhone apps. Is this true?   Is it possible to develop iPhone apps using Linux? If yes, what do I need and where do I download the necessary tools?
Allow bounty to be set with reputation from another site? Let's say we have $2$ particles facing each other and each traveling (almost) at speed of light.    Let's say I'm sitting on #$1$ particle so in my point of view #$2$ particle's speed is (almost) $c+c=2c$, double light speed? Please say why I am incorrect :)    EDIT: About sitting me is just example, so in point of view of #1 particle, the second one moves at (almost) $c+c=2c$ speed? Explaining different Standard Deviation results from same data in ArcGIS Desktop and MS Excel? I have done some interpolation in Geostatistical Analyst in ArcGIS and I got the Standard Deviation (SD) a bit different from the SD that I calculated in Excel Spreadsheet.   What algorithm does each package use? Why are the results different? What is the closest general-relativistic equivalent of a "time slice"? In a newtonian universe, one can talk of a "time slice", that is, the state of the universe at a given point in (global) time. In a "typical" classical universe, a time slice would contain enough information to fully compute the state of the universe at any other point in time, backwards or forwards.  So, disregarding what we know of quantum effects and talking purely of a general-relativistic universe, which concept is closest to a time slice? combinatorics: sum of product of integer compositions Java Code for calculating Leap Year Neatest proof that set of finite subsets is countable? I was surprised to find today that I couldn't track down any simple way to write the contents of an InputStream to an OutputStream in Java. Obviously, the byte buffer code isn't difficult to write, but I suspect I'm just missing something which would make my life easier (and the code clearer).  So, given an InputStream in and an OutputStream out, is there a simpler way to write the following?  byte[] buffer = new byte[1024]; int len = in.read(buffer); while (len != -1) {     out.write(buffer, 0, len);     len = in.read(buffer); } What's the purpose of the CIL nop opcode? I'm going through MSIL and noticing there are a lot of  instructions in the MSIL.  The MSDN article says they take no action and are used to fill space if the opcode is patched. They're used a lot more in debug builds than release builds.  I know that these kinds of statements are used in assembly languages to align later instructions, but why are MSIL nops needed in MSIL?  (Editor's note: the accepted answer is about machine-code NOPs, not MSIL/CIL NOPs which the question originally asked about.) ShareLaTeX compilation flags Is it possible and if so how can you pass flags to the ShareLaTeX compiler which one would have passed as parameters to the LaTeX compiler?  I am using the minted package and need to pass the -shell-escape flag. How can I prohibit putting figure after the footnote? I have pretty simple LaTeX code that has a lot of figure environments, and I see the figure is inserted after the footnote.   \documentclass[10pt, onepage]{article}  \usepackage{graphics,graphicx} \usepackage{hyperref}  ... dependent code\footnote{You should use at least JRE 1.5 or later, but I highly recommend using JRE 1.6 or later}, you can safely use the JRE 1.5 or later.   \begin{figure} \centering \includegraphics[width=0.5\textwidth]{pic_install/4_configure_build_path.png} \caption{Configuration menu} \label{fig:config_build} \end{figure} Dual Canadian and British citizen - healthcare coverage in the UK? Removing duplicate strings from an array? More than one 'Open xxxxx here as Administrator' I want the option to open a Command window or Powershell window as Administrator from the drive and directory context menus in Windows.   I can have either by creating and populating the special 'runas' registry keys shown below, but is there a way I can have both listed on the context menu and have both run as Administrator?  [HKEY_CLASSES_ROOT\Drive\shell\runas] ... [HKEY_CLASSES_ROOT\Drive\shell\runas\command] ... [HKEY_CLASSES_ROOT\Directory\shell\runas] ... [HKEY_CLASSES_ROOT\Directory\shell\runas\command] ... [HKEY_CLASSES_ROOT\Directory\Background\shell\runas] ... [HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command] ... Integrating a function of tan inverse How would I carry out the following integration? $$\int_0^12\arctan x^2$$  I tried to substitute $x^2 = \tan\theta$ From there I wrote the integral as: $$\int_0^{\pi/4}\theta\cdot \frac{\sec^2\theta}{\sqrt{\tan\theta}}\ d\theta$$  Now, is my only option to use integration by parts? Or is there a better method to solve this integral? Show that if $n$ is not divisible by $2$ or by $3$, then $n^2-1$ is divisible by $24$.   I thought I would do the following ... As $n$ is not divisible by $2$ and $3$ then $$n=2k+1\;\text{or}\\n=3k+1\;\text{or}\\n=3k+2\;\;\;\;$$for some $n\in\mathbb{N}$. And then make induction over $k$ in each case.$$24\mid (2k+1)^2-1\;\text{or}\\24\mid (3k+1)^2-1\;\text{or}\\24\mid (3k+2)^2-1\;\;\;\;$$This question is in a text of Euclidean Division I'm reviewing, and I wonder if there is a simpler, faster, or direct this way. My  objective is to classify sensor signals.  The concept of my solution so far is : i) Engineering features from raw signal ii) Selecting relevant features with ReliefF and a clustering approach iii) Apply N.N, Random Forest and SVM  However I am trapped in a dilemma. In ii) and iii), there are hyperparameters like k-Nearest Neigbours for ReliefF or the window length, for which the sensor signal is evaluated, or the number of hidden units in each layer of N.N.  There are 3 Problems I see here : 1) Tuning feature selection parameters will influence the classifier performance 2) Optimizing hyperparameters of classifier will influence the choice of features. 3) Evaluating each possible combination of configuration is intractable.  So my questions are : a) Can I make a simplifying assumption, s.t. tuning feature selection parameters can be decoupled from tuning classifier parameters ? b) Are there any other possible solutions ? DES Initialization Vector in C# SQL Server 2012 Page Life Expectancy resets to 0 after about 50 days I've noticed an odd behavior on a 2-server HA cluster and I was hoping someone could confirm my suspicion, or maybe offer some other explanation... Here is my setup:   A 2-server SQL 2012 SP1 installation SQL AlwaysOn HA has been enabled for a few databases CPUs are 2.4GHz, 4 cores RAM is 34 GB (it is an AWS instance, hence the odd number) Resource utilization is relatively low - each server has 14+ GB memory free, and SQL is not capped on how much memory to use Disk access time is fine - rarely going over 15ms/Read or Write Databases are not big - 1 GB, 1.5 GB, 7.5 GB SQL server process is using 16 GB Private Bytes, 15 GB Working Set   Overall, no resource issues are noted. Now for the odd part. SQL is not restarted (process has been running for almost 6 months) but it seems that every ~50 days, the Page Life Expectancy counter drops to (almost) 0. Up until that point it climbs steadily, no drops. Here is a perf graph:    When I look at the counter data (I don't have the exact number, just an hourly aggregation) it seems the PLE counter value reached about 4,295,000 sec (roughly 50 days) every time (at least every time I have data for).   My crazy theory is that the PLE number is held as milliseconds as an unsigned long int (which has a limit of 4,294,967,295) and at 49.71 days it resets, either by design, or because of a bug. This would explain the behavior of the two servers and the identical pattern they have. Or it could be something totally different and I am just not making any sense. :)  Has anyone seen anything like that, or can explain this behavior?  P.S. I saw  post, but my case seems slightly different.  P.P.S. This is a repost - I originally posted it , but was advised the audience here is more appropriate.  Thanks! How do I deal with 'sudoers.so must be only be writable by owner'? Whenever I try to install or remove something using terminal it gives the following error message:  bluebird@bluebird:~$ sudo apt-get update sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins bluebird@bluebird:~$ sudo apt-get remove vlc sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins bluebird@bluebird:~$ sudo apt-get install apt-file sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins