5 ms·
I agree about the editor part, it's quite bad compared to anything people actually use when developing software. ...but perhaps software developers aren't the
by baq 10y ago
I agree about the editor part, it's quite bad compared to anything people actually use when developing software.
...but perhaps software developers aren't the target audience in the first place. I tried to use Jupyter a few times, first when it was still only IPython, and it never seemed to fit in my code-execute-fix workflow that you have when developing scripts. In particular having to always reset the kernel to reexecute everything from scratch drove me crazy.
- nnq 10y ago> code-execute-fix workflow Do you know of a better tool for such a flow, combined with the ability to have markdown+latex docs intermingled with the code? 'cause this is my workflow, but jupyter's code editor and kernell restart drives me crazy and anything else will have me keep the notes/docs separate from the code... And please don't suggest Mathematica :) I absolutely love it's ux/i, but nobody uses it in ML/AI...
- arghIdontwantto 10y agoHaskell? You can have Literate Haskell (https://wiki.haskell.org/Literate_programming https://wiki.haskell.org/Literate_programming), you have ghci and while commercial, I think http://haskellformac.com http://haskellformac.com will be what you want
- IanCal 10y agoI use rmarkdown for creating data reports to deliver to people http://rmarkdown.rstudio.com/ http://rmarkdown.rstudio.com/ You can use whatever editor you want, but I quite like rstudio (I'm generally not a huge R person, so an environment with more help is useful, whereas with python I'd prefer just my own setup). Edit - Importantly though, you actually don't need to use R, you can use python. I'm not sure how well that works with caching, as I've never tried it, but it's probably worth a go.
- nnq 10y agohmm... thanks for making me take another look around. I'm trying rstudio+python and rodeo tonight to see if I like them better. (Right now I use jupyter for some things, ipython gui for others, and pycharm for "real coding" tasks. Tried Spyder, but something about it makes it neither a good IDE nor a good notes/documentation system... though I can understand its appeal for Matlab folks).
- CmdrSprinkles 10y agoI would argue that the problem is that it IS targeted toward developers. In the sense of those who are developing new methods and making proof of concepts. Admittedly, most of my experience is with ipython but it is perfect for that. If there is a new algorithm/method I want to explore or I am figuring out an interface/structure, it is great. And I tend to not have to reset the kernel too often. In that sense, jupyter was a great idea as you can now integrate documentation with code in a nice format. Unfortunately, it also led to a strong focus on treating them as containers for the purpose of deploying code (more traditional software development).
- thanatropism 10y agoYeah. The key is having as little code in Jupyter notebooks as possible and always be moving "good" functionality into libraries. The restarting the kernel biz is painful, of course. But the interspersed plots and code are really useful.
- pjmlp 10y agoThe thing is, anyone of us that had the pleasure to work in commercial Common Lisp, Smalltalk or Oberon environments already experimented live a Jupyter-like experience. Or had access to papers and videos showing how the development environments at Xerox(Lisp, Mesa/Cedar, Smalltalk) and Genera (Lisp) worked. Hence why I am not found of having a graphics workstation full of xterms. We need to make these workflows mainstream, not something that our descendants are reading about in paper and videos.
- daemonk 10y agoI'd argue that it's not really meant for developing software. It's meant for data analysis. When I do my analysis, I am not really concerned with developing the script/algorithm. I am mainly concerned with manipulating or visualizing the data. In my opinion, anything that takes more than an hour to process in the notebook should probably be done outside the notebook as an independent script. The only thing that's really missing for me is a more persistent data store in between kernel restarts. If it took more than 5 minutes to run something to transform or process my data, I don't want to have to redo it when I restart the kernel. I think there are a couple of plugins that handle this for you, but it would really be nice if it was implemented natively. The solution right now just seems to be producing a bunch of intermediate files that you reload when you restart the kernel.