I have downloaded the related Eclipse .tar package from  to install on my 64 bit machine. I followed the , but does not seem to work. How to install the Eclipse Neon/Mars for C/C++ on ubuntu 14.04.
I'm running an Ubuntu 14.04 and want to install the Eclipse IDE for both Java and C/C++ programming. I installed the separate installation files from their official website. I followed this thread . (The top answer)   The steps helped me install the Java IDE but I don't know what changes I should make to the procedure to install the C/C++ IDE.   Another thread , recommended to install eclipse-cdt but the Eclipse version installed is outdated. (Doesn't allow me to install Pydev)   I have TWO questions:   Can the C/C++ libraries be downloaded from within eclipse, like Pydev? If not, how do I install both IDEs without interfering with each other?   P.S. I commented this query in the first thread but got no reply, that is why I'm asking a fresh question!
How can I duplicate Apple's tiny USB power adapter? I'm designing a project that controls 110VAC (plug in, socket out), and also has a microprocessor inside.  I'd really like this project to not need a wall wart to get it's 5V, so I want to include a small DC power supply inside.    Apple's USB power adapter looks like a great small design that I can fit inside my case.  I'm guessing this is a switching power supply but I can't find any teardowns or schematics anywhere.  Does anyone know how this thing works?  I know I could make my own 110V->5VDC supply from a bridge rectifier and some caps, but I'd like to also be super safe.  What's in the Apple brick? Can you fly over a Medium enemy creature in a 10ft tall corridor? Can't format my usb drive. I have already tried with mkdosfs and gparted I have a MicroSD card in a USB adapter (which plugs into a USB port on my machine, and acts like a USB flash drive). I was using Unetbootin to make this a bootable USB flash drive with Kubuntu. But I needed to cancel while it was working. So I killed the Unetbootin process from the console.  Since then, I can't format the MicroSD or delete the folder that Kubuntu made. I have also tried mkdosfs, with no success. I can't mount the drive anymore either? What can I do to make this drive usable again?  Trying to create a new partition table in GParted, as described in Eliah Kagan's answer, does not work. It fails with the error message "imposible crear tabla de particiones" ("unable to create a partition table"). How to sample from a discrete distribution? Assume I have a distribution governing the possible outcome from a single random variable X.  This is something like [0.1, 0.4, 0.2, 0.3] for X being a value of either 1, 2, 3, 4.  Is it possible to sample from this distribution, i.e. generate pseudo random numbers upon each of the possible outcomes given the probability of that outcome. So if I wanted to know what the probability of getting a 2 is, the sampling operation may return 0.34 or something like that.  The reason I ask is that I'm trying to implement an action selection policy for a reinforcement learning method based on a research paper. From what I gather from the paper, the author is able to sample the distribution by "mapping the uniform distribution U[0,1] through cumulative probability density functions obtained by adaptive numerical integration". From this he then samples the transition probabilities for each trial...  I would be grateful for any info on this...  Thanks in advance Chapterwise page range in the TOC Can you give me some advice for how to obtain the following format of the TOC?        Chapter’s heading 1-7   Chapter’s heading 9-10   Chapter’s heading 11-15 ubuntu 14.04 login loop problem Weird http -> https redirection although not configured I am running Apache 2.2.15 (CentOS 6.6) with a HTTP-only domain   demo.xml-director.info  Using wget I can retrieve the content properly   wget -S http://demo.xml-director.info --2015-01-05 13:31:41--  http://demo.xml-director.info/ Resolving demo.xml-director.info (demo.xml-director.info)... 176.9.146.28 Connecting to demo.xml-director.info (demo.xml-director.info)|176.9.146.28|:80... connected. HTTP request sent, awaiting response...    HTTP/1.1 200 OK   Date: Mon, 05 Jan 2015 12:31:41 GMT   Server: Zope/(2.13.22, python 2.7.6, linux2) ZServer/1.1   Content-Length: 20227   Expires: Sat, 01 Jan 2000 00:00:00 GMT   Content-Type: text/html;charset=utf-8   X-Ua-Compatible: IE=edge,chrome=1   Content-Language: en   Vary: Accept-Encoding   Keep-Alive: timeout=15, max=100   Connection: Keep-Alive Length: 20227 (20K) [text/html] Saving to: 'index.html.4'   However Chrome/Firefox always change the request from http to https because of HTST. However for this particular domain there is no HSTS configured.  The server runs SSL for www.xml-director.info with enabled HSTS support. However there is further alias here that would map demo.xml-director.info to www.xml-director.info.   How can this problem be resolved.  VHOst for www.xml-director.info:  &lt;VirtualHost *:443&gt;     ServerName www.xml-director.info     ServerAlias xml-director.info      SSLEngine on     SSLCertificateFile /etc/httpd/certs/15742445repl_2.crt     SSLCertificateCHainFile /etc/httpd/certs/15742445repl_2.ca-bundle     SSLCertificateKeyFile /etc/httpd/certs/zopyx.com.key      CustomLog /var/log/httpd/xml-director.info.log combined     DocumentRoot /var/www/xml-director/landing-v1      Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"      &lt;location "/"&gt;         Options +Indexes         Header set Access-Control-Allow-Origin "*"         Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE"     Header set Access-Control-Allow-Headers "X-Requested-With,Content-Type"     &lt;/location&gt;  &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;     ServerAlias www.xml-director.com      ServerAlias www.xml-director.info     ServerAlias www.xml-director.de     ServerAlias xml-director.com     ServerAlias xml-director.info     ServerAlias xml-director.de      RedirectPermanent / https://xml-director.info/ &lt;/VirtualHost&gt;   and for demo.xml-director.info  &lt;VirtualHost *:80&gt;     ServerName  demo.xml-director.info     RewriteEngine On      RewriteRule ^/(.*) http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P]     RewriteRule ^/$    http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P]      CustomLog /var/log/httpd/demo.xml-director.info.log combined     AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript      CacheRoot /tmp/cache     CacheEnable disk /     CacheIgnoreCacheControl on      KeepAliveTimeout 15     KeepAlive on      ExpiresActive On     ExpiresByType image/gif "access plus 10 day"     ExpiresByType image/jpg "access plus 10 day"     ExpiresByType image/jpeg "access plus 10 day"     ExpiresByType image/png "access plus 10 day"     ExpiresByType text/javascript "access plus 10 day"     ExpiresByType text/html  "access plus 1 hour"     ExpiresByType text/html  "access plus 1 hour"     ExpiresByType text/css  "access plus 10 days"      &lt;Location "/"&gt;         Order allow,deny         Allow from all     &lt;/Location&gt;  &lt;/VirtualHost&gt; What would you call someone who imposes on other people's generosity? What would you call someone who isn't afraid to ask for money or any kind of favor or who misinterprets someone's generosity for a consistent resource for what they need? Multivariate linear regression vs. several univariate regression models In the univariate regression settings, we try to model   $$y = X\beta +noise$$  where $y \in \mathbb{R}^n$ a vector of $n$ observations and $X \in \mathbb{R}^{n \times m}$ the design matrix with $m$ predictors. The solution is $\beta_0 = (X^TX)^{-1}Xy$.  In the multivariate regression settings, we try to model   $$Y = X\beta +noise$$  where $y \in \mathbb{R}^{n \times p}$ is a matrix of $n$ observations and $p$ different latent variables. The solution is $\beta_0 = (X^TX)^{-1}XY$.  My question is how is that different than performing $p$ different univariate linear regression? I read  that in the latter case we take into consideration correlation between the dependent variables, but I don't see it from the math. Does anyone know how to get your business map location displayed in the right hand sidebar of the Google search results page? As in the screenshot below:      I already added my business to this link: .  Is adding detail in above link enough or do I need to change my website coding? Different probability density transformations due to Jacobian factor Question is about Ubuntu release process. Are migrations from n to n+1 releases expected?  Assuming we have server with installed Ubuntu 14.04 LTS. Will it be smoothly upgradable to Ubuntu 16.04 LTS via apt-get upgrade ?  Assumptions:   scope is software therefore we assume that given hardware is supported on both releases (upgrading from and to) that's why, always before upgrade you are asked to make backup to be able to revert in case of failure Is the total variation function uniform continuous or continuous? I've only played one placement match so far and I won it because my opponents were less than stellar.  I'm afraid that if I get similar placement matches in the future and end up winning them all I might get put into a league beyond my skill.  How many different leagues are there?  Once placed in a league, is there any way to move to a different one?  How? Is there any way I can see at what time the commands were executed from the bash history? We can see the order but is there any way I can get the time also?  Bottom-Line: Execution time in the Bash history Let $A,B \subset \mathbb{R}$. Show that $\sup(A \cup B) = \max\{\sup A, \sup B\}$ Kolmogorov's sufficient and necessary condition for SLLN - What about pairwise uncorrelated RV? Kolmogorov proved, that, as one considers independent (not necessary equally distributed) Random Variables: $\{X_n\}_{n\ge0}\subseteq \mathcal L^2$   With $\mathrm{Var} (X_n)=\sigma^2_n$ and without loss of generality $E[X_n]=0$.  If $\sum_{n=0}^\infty \frac{\sigma^2_n}{n^2} \lt \infty$ then SLLN holds, that is:  $$\frac1n\sum_{k=0}^n X_k \rightarrow 0 \,\,\,\,\,\,\,\,\,\,\,\,\,\text{a.s.}$$  Something different:  Also it is known, that if $\sup_{n\ge0}\sigma^2_n =: v \lt \infty$ pairwise uncorrelated $(X_n)_{n\ge0}$ will suffice for SLLN to hold.  My question in view of this situation: Is it possible to weaken the condition of $(X_n)_{n\ge0}$ beeing independent and instead merely consider pairwise uncorrelated $(X_n)_{n\ge0}$? How are Dementors created/born? This is inspired by some discussions in .  In the Harry Potter universe, how are Dementors born?  Or are they artificially created by some magical means? How to install Tor? What is the procedure followed by game programmers for saving and resuming game state? like files/mappings. I want to save it for tower defense game and I am using unity3D game engine.