News for hackers. Stuff that matters.
Re:Nature: IPython interactive demo by rjtavares on Wednesday November 05, 2014 @05:05PM (#8564554)
They also have an article about it: http://www.nature.com/news/interactive-notebooks-sharing-the...

I love the reproducible science movement and iPython is perfect for that. Glad to see Nature talking about it.

Re:Nature: IPython interactive demo by leni536 on Thursday November 06, 2014 @05:54AM (#8566511)
As a physicist I'm really glad that Nature talks about IPython. Most of my teachers are only familiar with Matlab or maybe Maple or Mathematica. I think the main problem with them is not reproducibility. The main problem with these software that you can't really verify the correctness of the results. You will never know the exact algorithm being used for a given simulation or data evaluation. Especially Mathematica uses complicated adapting methods for numerically integrating, solving differential equations, nonlinear regression and so on, but you will never know the exact algorithm being used.
Re:Nature: IPython interactive demo by Niksko on Thursday November 06, 2014 @06:04AM (#8566530)
Perhaps that's what they use to teach because those languages are reasonably easy to use from a math/physics point of view, even if they're somewhat limited from a CS point of view. I taught myself to program early on, but for others who went through honours in maths with me it wasn't so easy.

Don't be surprised if your lecturers use other languages on their own work. At my university, everybody in the math department uses Matlab and Mathematica. However I know that a lot of the guys who do smooth particle hydrodynamics use Python and Fortran, and my honours supervisor said he once programmed in PostScript (which isn't so much practical, but it's impressive and shows he knows how to program in languages other than Matlab).

Re:Nature: IPython interactive demo by IndianAstronaut on Wednesday November 05, 2014 @09:48PM (#8565554)
It was amazing to see it from scratch. I've been attending Scipy conferences for a few years now and just seeing the community grow has been great.
Re:Nature: IPython interactive demo by jnoller on Wednesday November 05, 2014 @08:17PM (#8565287)
Kyle (lambdaops) did the architecture: http://lambdaops.com/ipythonjupyter-tmpnb-debuts

It's a pretty amazing story about brining full instant on scientific notebooks to everyone.

It's running on the High Memory OnMetal instances here at Rackspace. Each container gets 512mb of ram.

Re:Nature: IPython interactive demo by onalark on Thursday November 06, 2014 @02:33AM (#8566121)
Yeah, Kyle is a rock star!
Re:Nature: IPython interactive demo by jofer on Wednesday November 05, 2014 @06:09PM (#8564818)
Fantastic to see!!

As much as I hope things like this will be a tipping point for python in the scientific community (from a major player to the dominant player), monoculture hurts everyone. Fortunately, one of the great things about ipython/jupyter is that it's designed to be language independent.

I'm sure a lot of folks here are already aware of this, but just in case you're not: There are Julia, R, Haskell, Ruby, and who-knows-what-else kernels for ipython/jupyter.

I know the basic idea has been around for a long time (e.g. Mathematica), but ipython really is an incredibly well-done and flexible execution of the idea.

Re:Nature: IPython interactive demo by baldfat on Thursday November 06, 2014 @07:35AM (#8566714)
IPython needs to be called Jupyter asap or else everyone would think this is a Python only application which happily as an R guy it is not.

Love that there are so many "good" open source options in the ecco-system and people will not only show the work BUT also include the cleaning and tidying up of the data which is equally important in my opinion.

Re:Nature: IPython interactive demo by takluyver on Thursday November 06, 2014 @12:25PM (#8568211)
We're planning to release IPython 3.0 some time around the end of this year, and after that, we'll be focussing on splitting the project up and renaming it (the bits that run Python code will still be IPython).
Re:Nature: IPython interactive demo by peatmoss on Thursday November 06, 2014 @09:35AM (#8567138)
This is huge. I keep wishing they would hurry that renaming process up. People from the R side may have less motivation though, given that more people seem to use the more publication-focussed knitr approach to reproducible computing.
Re:Nature: IPython interactive demo by baldfat on Thursday November 06, 2014 @01:06PM (#8568565)
Knitr is better for me for creating PDFs and Word Documents (sadly needed) and I think knitr with RMarkdown and pandocc is amazing and best in class with code chunks.

I like IPython NOT for the reproduction but I like interacting with my script with cells. If I was working with a team I would prefer IPython's approach.

Re:Nature: IPython interactive demo by 3rd3 on Wednesday November 05, 2014 @09:26PM (#8565492)
It’s great to see IPython here. I think Mathematica is missing a huge opportunity in this area by being proprietary and by not providing a JavaScript implementation of the CDF player.
Re:Nature: IPython interactive demo by nevergetenglish on Thursday November 06, 2014 @10:38AM (#8567468)
if they provide such an implementation and allow others to freely modify/adapt, them they can get more competitors, so is a risky business.
Re:Nature: IPython interactive demo by bayesianhorse on Thursday November 06, 2014 @03:39AM (#8566247)
The biggest strength of the IPython Notebook interface is in communicating computational thinking.

With computational thinking I mean any subject matter where the way of arriving at the results is at least as important as the results themselves.

With IPython Notebook, you can perform live demos (e.g. live_reveal extension), communicate with your future self or collaborators and even peer reviewers.

Re:Nature: IPython interactive demo by lake99 on Wednesday November 05, 2014 @05:32PM (#8564668)
I see this: "It looks like we're full up. Every single IPython Notebook is in use right now! Try again later and maybe you'll have better luck. Sorry for the inconvenience!"

Can someone tell me something about the notebook? I want to decide if this is something I should bookmark, and visit at a later date.

Re:Nature: IPython interactive demo by devilsdounut on Wednesday November 05, 2014 @05:36PM (#8564682)
It uses tmpnb (http://lambdaops.com/ipythonjupyter-tmpnb-debuts) to spin up docker instances of a relatively basic IPython demo. I guess they are a bit overloaded right now. Pretty nice gateway drug to show the benefits of IPython to non-technical folks.
Re:Nature: IPython interactive demo by staz on Wednesday November 05, 2014 @05:59PM (#8564779)
It's not mentionned in the article so I don't see how they handled security? Espcially network wise, how do they prevent spamming?
Re:Nature: IPython interactive demo by BostonEnginerd on Wednesday November 05, 2014 @06:53PM (#8564991)
I imported smtplib and was able to connect to my SMTP server. I didn't try to send any mail though.
Re:Nature: IPython interactive demo by ericfrederich on Wednesday November 05, 2014 @08:03PM (#8565261)
Apparently they're running on machines with 24 Xeon cores too

print(open('/proc/cpuinfo').read())

Seems to have network access... I git cloned a small repo from git hub. It already has gcc installed. Looks like they should lock it down a bit more.

Re:Nature: IPython interactive demo by jnoller on Wednesday November 05, 2014 @08:14PM (#8565279)
It's a tech demo; it'll be more locked down (no network access). The main thing is to tweak the host so the docker containers are routable to the proxy but no external network.

The 24 core Xeons are our (rackspace) OnMetal high memory boxes, you don't actually have 24 cores, docker just pulled that from the host, each container is limited.

Re:Nature: IPython interactive demo by mbreese on Wednesday November 05, 2014 @06:47PM (#8564966)
I assume everyone gets their own notebook (hence the Docker container), and so you'd only be spamming you.
Re:Nature: IPython interactive demo by jnoller on Wednesday November 05, 2014 @08:21PM (#8565301)
that's correct
Re:Nature: IPython interactive demo by lake99 on Wednesday November 05, 2014 @05:43PM (#8564708)
I see. Thank you.
Re:Nature: IPython interactive demo by lambdaops on Wednesday November 05, 2014 @05:52PM (#8564750)
Yeah, we'll do our best to scale this out a bit more. We prepped for 512 concurrent users, got plenty more.
Re:Nature: IPython interactive demo by takluyver on Wednesday November 05, 2014 @05:47PM (#8564724)
Try again now, it should be back up. We just started a bigger server to let more people on at once.
Re:Nature: IPython interactive demo by calebm on Wednesday November 05, 2014 @10:39PM (#8565692)
I love IPython Notebook. Interactive public IPython Notebooks are very cool.
Re:Nature: IPython interactive demo by nevergetenglish on Thursday November 06, 2014 @10:46AM (#8567512)
A little nitpicking, I change x^2 to xsin(x), then to xMath.sin(x), then x*math.sin(x) to no avail. In wxmaxima you just have an iterative notebook and you have available a lot of symbolic and numeric computations with no fuss. Also you can create section, subsections, convert to pdf and html, save in xml, and much more. What is missing in wxmaxima is a tool to use your mouse in a much more dynamic way.
Re:Nature: IPython interactive demo by mapcar on Wednesday November 05, 2014 @11:09PM (#8565750)
I'd never heard of dexy before but has anyone tried it?
Re:Nature: IPython interactive demo by akuchling on Thursday November 06, 2014 @11:20AM (#8567713)
I haven't tried it, but here's a SciPy 2013 talk by its author Ana Nelson: https://www.youtube.com/watch?v=u6_qtDJ6ciA